This repository has been archived by the owner on Feb 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlowdefy.yaml
684 lines (662 loc) · 18.8 KB
/
lowdefy.yaml
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
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
version: "3.1.1"
global:
style_blue_block: |
{
"color": "white",
"background": "#0480ff",
"border": "2px solid #04b0ff",
"borderRadius": 3,
"lineHeight": 2,
"height": 32,
"textAlign": "center"
}
style_red_block: |
{
"color": "white",
"background": "#af4448",
"border": "2px solid #e57373",
"borderRadius": 3,
"lineHeight": 2,
"height": 32,
"textAlign": "center"
}
style_green_block: |
{
"color": "white",
"background": "#048f8f",
"border": "2px solid #04bfbf",
"borderRadius": 3,
"lineHeight": 2,
"height": 32,
"textAlign": "center"
}
style_purple_block: |
{
"color": "white",
"background": "#883997",
"border": "2px solid #ba68c8",
"borderRadius": 3,
"lineHeight": 2,
"height": 32,
"textAlign": "center"
}
all_icons:
_ref: blocks/all_icons.yaml
settings_input_layout:
span: 23
sm:
span: 23
connections:
- id: feedback_mongodb
type: MongoDBCollection
properties:
databaseUri:
_secret: feedback_mongodb
collection: feedback
read: true
write: true
menus:
- id: default
links:
- id: introduction
type: MenuLink
pageId: introduction
properties:
title: Introduction
icon: CoffeeOutlined
- id: tutorial
type: MenuGroup
properties:
title: Tutorial
icon: RocketOutlined
links:
- id: tutorial-setup
type: MenuLink
pageId: tutorial-setup
properties:
title: Deploy your app
- id: tutorial-editing-page
type: MenuLink
pageId: tutorial-editing-page
properties:
title: Editing a page
- id: tutorial-development-server
type: MenuLink
pageId: tutorial-development-server
properties:
title: Development server
- id: tutorial-create-page
type: MenuLink
pageId: tutorial-create-page
properties:
title: Creating a page
- id: tutorial-add-blocks
type: MenuLink
pageId: tutorial-add-blocks
properties:
title: Making a booking form
- id: tutorial-actions-operators
type: MenuLink
pageId: tutorial-actions-operators
properties:
title: Interactive pages
- id: tutorial-requests
type: MenuLink
pageId: tutorial-requests
properties:
title: Saving data
- id: start
type: MenuGroup
properties:
title: Getting Started
icon: RocketOutlined
links:
- id: introduction
type: MenuLink
pageId: introduction
properties:
title: Introduction
- id: alpha-start
type: MenuLink
pageId: alpha-starter
properties:
title: Quick Start
- id: quick-start
type: MenuLink
pageId: quick-start
properties:
title: Quick Start
- id: how-it-works
type: MenuLink
pageId: how-it-works
properties:
title: How It Works
- id: concepts
type: MenuGroup
properties:
title: Concepts
icon: BulbOutlined
links:
- id: layout
type: MenuLink
pageId: layout
properties:
title: Layout
# - id: lowdefy-file
# type: MenuLink
# pageId: lowdefy-file
# properties:
# title: Lowdefy Configuration File
# - id: references
# type: MenuLink
# pageId: references
# properties:
# title: References
# # - id: groups
# # type: MenuLink
# # pageId: groups
# # properties:
# # title: Groups and Roles
# - id: pages
# type: MenuLink
# pageId: pages
# properties:
# title: Pages
# - id: blocks
# type: MenuLink
# pageId: blocks
# properties:
# title: Blocks
# - id: state
# type: MenuLink
# pageId: state
# properties:
# title: State
# - id: connections
# type: MenuLink
# pageId: connections
# properties:
# title: Connections
# - id: requests-mutations
# type: MenuLink
# pageId: requests-mutations
# properties:
# title: Requests and Mutations
- id: blocks_input
type: MenuGroup
properties:
title: Input Blocks
icon: FormOutlined
links:
- id: AutoComplete
type: MenuLink
pageId: AutoComplete
- id: ButtonSelector
type: MenuLink
pageId: ButtonSelector
- id: CheckboxSelector
type: MenuLink
pageId: CheckboxSelector
- id: CodeEditor
type: MenuLink
pageId: CodeEditor
- id: ColorSelector
type: MenuLink
pageId: ColorSelector
- id: DateRangeSelector
type: MenuLink
pageId: DateRangeSelector
- id: DateSelector
type: MenuLink
pageId: DateSelector
- id: DateTimeSelector
type: MenuLink
pageId: DateTimeSelector
- id: MonthSelector
type: MenuLink
pageId: MonthSelector
- id: MultipleSelector
type: MenuLink
pageId: MultipleSelector
- id: NumberInput
type: MenuLink
pageId: NumberInput
- id: RadioSelector
type: MenuLink
pageId: RadioSelector
- id: RatingSlider
type: MenuLink
pageId: RatingSlider
- id: Selector
type: MenuLink
pageId: Selector
- id: Switch
type: MenuLink
pageId: Switch
- id: TextArea
type: MenuLink
pageId: TextArea
- id: TextInput
type: MenuLink
pageId: TextInput
- id: WeekSelector
type: MenuLink
pageId: WeekSelector
- id: blocks_display
type: MenuGroup
properties:
title: Display Blocks
icon: PictureOutlined
links:
- id: AgGrid
type: MenuLink
pageId: AgGrid
- id: Alert
type: MenuLink
pageId: Alert
- id: AmCharts4XY
type: MenuLink
pageId: AmCharts4XY
- id: Anchor
type: MenuLink
pageId: Anchor
- id: Avatar
type: MenuLink
pageId: Avatar
- id: Breadcrumb
type: MenuLink
pageId: Breadcrumb
- id: Button
type: MenuLink
pageId: Button
- id: Descriptions
type: MenuLink
pageId: Descriptions
- id: Divider
type: MenuLink
pageId: Divider
- id: Html
type: MenuLink
pageId: Html
- id: Icon
type: MenuLink
pageId: Icon
- id: Markdown
type: MenuLink
pageId: Markdown
- id: Menu
type: MenuLink
pageId: Menu
- id: Message
type: MenuLink
pageId: Message
- id: Notification
type: MenuLink
pageId: Notification
- id: Paragraph
type: MenuLink
pageId: Paragraph
- id: Progress
type: MenuLink
pageId: Progress
- id: Skeleton
type: MenuLink
pageId: Skeleton
- id: Statistic
type: MenuLink
pageId: Statistic
- id: Title
type: MenuLink
pageId: Title
- id: blocks_container
type: MenuGroup
properties:
title: Container Blocks
icon: ContainerOutlined
links:
- id: Affix
type: MenuLink
pageId: Affix
- id: Badge
type: MenuLink
pageId: Badge
- id: Box
type: MenuLink
pageId: Box
- id: Card
type: MenuLink
pageId: Card
- id: Collapse
type: MenuLink
pageId: Collapse
- id: ConfirmModal
type: MenuLink
pageId: ConfirmModal
# - id: Content
# type: MenuLink
# pageId: Content
- id: Drawer
type: MenuLink
pageId: Drawer
# - id: Footer
# type: MenuLink
# pageId: Footer
# - id: Header
# type: MenuLink
# pageId: Header
# - id: Layout
# type: MenuLink
# pageId: Layout
- id: Modal
type: MenuLink
pageId: Modal
- id: Result
type: MenuLink
pageId: Result
# - id: Sider
# type: MenuLink
# pageId: Sider
- id: Tabs
type: MenuLink
pageId: Tabs
- id: blocks_context
type: MenuGroup
properties:
title: Context Blocks
icon: GroupOutlined
links:
- id: Context
type: MenuLink
pageId: Context
- id: PageHCF
type: MenuLink
pageId: PageHCF
- id: PageHCSF
type: MenuLink
pageId: PageHCSF
- id: PageHeaderMenu
type: MenuLink
pageId: PageHeaderMenu
- id: PageHSCF
type: MenuLink
pageId: PageHSCF
- id: PageSHCF
type: MenuLink
pageId: PageSHCF
- id: PageSiderMenu
type: MenuLink
pageId: PageSiderMenu
- id: blocks_list
type: MenuGroup
properties:
title: List Blocks
icon: UnorderedListOutlined
links:
- id: ControlledList
type: MenuLink
pageId: ControlledList
properties:
title: ControlledList
- id: List
type: MenuLink
pageId: List
properties:
title: List
- id: Timeline
type: MenuLink
pageId: Timeline
properties:
title: Timeline
- id: connections
type: MenuGroup
properties:
title: Connections
icon: ApiOutlined
links:
- id: AWSS3
type: MenuLink
pageId: AWSS3
properties:
title: AWS S3
- id: AxiosHttp
type: MenuLink
pageId: AxiosHttp
properties:
title: Axios HTTP
- id: MongoDB
type: MenuLink
pageId: MongoDB
- id: actions
type: MenuGroup
properties:
title: Actions
icon: ThunderboltOutlined
links:
- id: CallMethod
type: MenuLink
pageId: CallMethod
- id: Fetch
type: MenuLink
pageId: Fetch
- id: Link
type: MenuLink
pageId: Link
- id: Login
type: MenuLink
pageId: LoginAction # pageId can't be Login since this redirects to login page
properties:
title: Login
- id: Logout
type: MenuLink
pageId: Logout
- id: MessageAction
type: MenuLink
pageId: MessageAction # Clash with Message block
properties:
title: Message
- id: Mutate
type: MenuLink
pageId: Mutate
- id: NotificationAction
type: MenuLink
pageId: NotificationAction # Clash with Notification block
properties:
title: Notification
- id: Reset
type: MenuLink
pageId: Reset
- id: ScrollTo
type: MenuLink
pageId: ScrollTo
- id: SetGlobal
type: MenuLink
pageId: SetGlobal
- id: SetState
type: MenuLink
pageId: SetState
- id: Validate
type: MenuLink
pageId: Validate
- id: operators
type: MenuGroup
properties:
title: Operators
icon: ToolOutlined
links:
- id: _and
type: MenuLink
pageId: _and
# - id: _date
# type: MenuLink
# pageId: _date
- id: _eq
type: MenuLink
pageId: _eq
- id: _get
type: MenuLink
pageId: _get
- id: _if
type: MenuLink
pageId: _if
- id: _mql_aggregate
type: MenuLink
pageId: _mql_aggregate
- id: _mql_expr
type: MenuLink
pageId: _mql_expr
- id: _mql_test
type: MenuLink
pageId: _mql_test
- id: _not
type: MenuLink
pageId: _not
- id: _nunjucks
type: MenuLink
pageId: _nunjucks
- id: _or
type: MenuLink
pageId: _or
- id: _regex
type: MenuLink
pageId: _regex
- id: _request
type: MenuLink
pageId: _request
- id: _state
type: MenuLink
pageId: _state
- id: _type
type: MenuLink
pageId: _type
- id: _user
type: MenuLink
pageId: _user
- id: feedback
type: MenuLink
pageId: feedback
properties:
title: Feedback
icon: FormOutlined
pages:
- id: new
type: Context
- _ref: start/introduction.yaml
- _ref: tutorial/tutorial-setup.yaml
- _ref: tutorial/tutorial-editing-page.yaml
- _ref: tutorial/tutorial-development-server.yaml
- _ref: tutorial/tutorial-create-page.yaml
- _ref: tutorial/tutorial-create-page-config.yaml
- _ref: tutorial/tutorial-add-blocks.yaml
- _ref: tutorial/tutorial-add-blocks-config.yaml
- _ref: tutorial/tutorial-actions-operators.yaml
- _ref: tutorial/tutorial-actions-operators-config.yaml
- _ref: tutorial/tutorial-requests.yaml
# - _ref: start/quick-start.yaml
# - _ref: start/alpha-starter.yaml
# - _ref: start/how-it-works.yaml
# - _ref: concepts/blocks.yaml
# - _ref: concepts/connections.yaml
# - _ref: concepts/groups.yaml
# - _ref: concepts/layout.yaml
# - _ref: concepts/lowdefy-file.yaml
# - _ref: concepts/operators.yaml
# - _ref: concepts/pages.yaml
# - _ref: concepts/references.yaml
# - _ref: concepts/requests-mutations.yaml
# - _ref: concepts/state.yaml
- _ref: blocks/input/AutoComplete.yaml
- _ref: blocks/input/CheckboxSelector.yaml
# - _ref: blocks/input/CodeEditor.yaml
- _ref: blocks/input/ColorSelector.yaml
- _ref: blocks/input/DateSelector.yaml
- _ref: blocks/input/DateRangeSelector.yaml
- _ref: blocks/input/DateTimeSelector.yaml
- _ref: blocks/input/MonthSelector.yaml
- _ref: blocks/input/MultipleSelector.yaml
- _ref: blocks/input/NumberInput.yaml
- _ref: blocks/input/ButtonSelector.yaml
- _ref: blocks/input/RadioSelector.yaml
- _ref: blocks/input/Selector.yaml
- _ref: blocks/input/RatingSlider.yaml
- _ref: blocks/input/Switch.yaml
- _ref: blocks/input/TextArea.yaml
- _ref: blocks/input/TextInput.yaml
- _ref: blocks/input/WeekSelector.yaml
# - _ref: blocks/display/AgGrid.yaml
# - _ref: blocks/display/Alert.yaml
# - _ref: blocks/display/AmCharts4XY.yaml
# - _ref: blocks/display/Anchor.yaml
# - _ref: blocks/display/Avatar.yaml
# - _ref: blocks/display/Breadcrumb.yaml
# - _ref: blocks/display/Button.yaml
# - _ref: blocks/display/Descriptions.yaml
# - _ref: blocks/display/Divider.yaml
# - _ref: blocks/display/Html.yaml
# - _ref: blocks/display/Icon.yaml
# - _ref: blocks/display/Markdown.yaml
# - _ref: blocks/display/Menu.yaml
# - _ref: blocks/display/Message.yaml
# - _ref: blocks/display/Notification.yaml
# - _ref: blocks/display/Paragraph.yaml
# - _ref: blocks/display/Progress.yaml
# - _ref: blocks/display/Skeleton.yaml
# - _ref: blocks/display/Statistic.yaml
# - _ref: blocks/display/Title.yaml
# - _ref: blocks/container/Affix.yaml
# - _ref: blocks/container/Badge.yaml
# - _ref: blocks/container/Box.yaml
# - _ref: blocks/container/Card.yaml
# - _ref: blocks/container/Collapse.yaml
# - _ref: blocks/container/ConfirmModal.yaml
# # - _ref: blocks/container/Content.yaml
# - _ref: blocks/container/Drawer.yaml
# # - _ref: blocks/container/Footer.yaml
# # - _ref: blocks/container/Header.yaml
# # - _ref: blocks/container/Layout.yaml
# - _ref: blocks/container/Modal.yaml
# - _ref: blocks/container/Result.yaml
# # - _ref: blocks/container/Sider.yaml
# - _ref: blocks/container/Tabs.yaml
# - _ref: blocks/list/ControlledList.yaml
# - _ref: blocks/list/List.yaml
# - _ref: blocks/list/Timeline.yaml
# - _ref: blocks/context/Context.yaml
# - _ref: blocks/context/PageHCF.yaml
# - _ref: blocks/context/PageHCSF.yaml
# - _ref: blocks/context/PageHeaderMenu.yaml
# - _ref: blocks/context/PageHSCF.yaml
# - _ref: blocks/context/PageSHCF.yaml
# - _ref: blocks/context/PageSiderMenu.yaml
# - _ref: connections/AWSS3.yaml
# - _ref: connections/AxiosHttp.yaml
# - _ref: connections/MongoDB.yaml
# - _ref: actions/CallMethod.yaml
# - _ref: actions/Fetch.yaml
# - _ref: actions/Link.yaml
# - _ref: actions/Login.yaml
# - _ref: actions/Logout.yaml
# - _ref: actions/Message.yaml
# - _ref: actions/Mutate.yaml
# - _ref: actions/Notification.yaml
# - _ref: actions/Reset.yaml
# - _ref: actions/ScrollTo.yaml
# - _ref: actions/SetGlobal.yaml
# - _ref: actions/SetState.yaml
# - _ref: actions/Validate.yaml
# - _ref: operators/_and.yaml
# - _ref: operators/_date.yaml
# - _ref: operators/_eq.yaml
# - _ref: operators/_get.yaml
# - _ref: operators/_if.yaml
# - _ref: operators/_mql_aggregate.yaml
# - _ref: operators/_mql_test.yaml
# - _ref: operators/_mql_expr.yaml
# - _ref: operators/_not.yaml
# - _ref: operators/_nunjucks.yaml
# - _ref: operators/_or.yaml
# - _ref: operators/_regex.yaml
# - _ref: operators/_request.yaml
# - _ref: operators/_state.yaml
# - _ref: operators/_type.yaml
# - _ref: operators/_user.yaml
- _ref: feedback.yaml