-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
library.js
4175 lines (3642 loc) · 108 KB
/
library.js
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
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*!
* ${copyright}
*/
/**
* Initialization Code and shared classes of library sap.m.
*/
sap.ui.define(['jquery.sap.global', 'sap/ui/Device', 'sap/ui/base/DataType',
'sap/ui/core/library', // library dependency
'jquery.sap.mobile', // referenced here in case the Core decides to throw it out - shall always be available when using the mobile lib.
'./Support'], // referenced here to enable the Support feature
function(jQuery, Device, DataType, CoreLibrary) {
"use strict";
/**
* The main UI5 control library, with responsive controls that can be used in touch devices as well as desktop browsers.
*
* @namespace
* @name sap.m
* @author SAP SE
* @version ${version}
* @public
*/
// delegate further initialization of this library to the Core
sap.ui.getCore().initLibrary({
name : "sap.m",
version: "${version}",
dependencies : ["sap.ui.core"],
designtime: "sap/m/designtime/library.designtime",
types: [
"sap.m.BackgroundDesign",
"sap.m.BarDesign",
"sap.m.ButtonType",
"sap.m.CarouselArrowsAlign",
"sap.m.DateTimeInputType",
"sap.m.DialogType",
"sap.m.DeviationIndicator",
"sap.m.DraftIndicatorState",
"sap.m.FacetFilterListDataType",
"sap.m.FacetFilterType",
"sap.m.FlexAlignItems",
"sap.m.FlexAlignSelf",
"sap.m.FlexDirection",
"sap.m.FlexWrap",
"sap.m.FlexJustifyContent",
"sap.m.FlexRendertype",
"sap.m.FrameType",
"sap.m.GenericTileMode",
"sap.m.GenericTileScope",
"sap.m.HeaderLevel",
"sap.m.IBarHTMLTag",
"sap.m.IconTabFilterDesign",
"sap.m.ImageMode",
"sap.m.Size",
"sap.m.ValueColor",
"sap.m.ValueCSSColor",
"sap.m.InputType",
"sap.m.LabelDesign",
"sap.m.LinkConversion",
"sap.m.ListGrowingDirection",
"sap.m.ListHeaderDesign",
"sap.m.ListKeyboardMode",
"sap.m.ListMode",
"sap.m.ListSeparators",
"sap.m.ListType",
"sap.m.LoadState",
"sap.m.MenuButtonMode",
"sap.m.OverflowToolbarPriority",
"sap.m.P13nPanelType",
"sap.m.PageBackgroundDesign",
"sap.m.PanelAccessibleRole",
"sap.m.PlacementType",
"sap.m.PopinDisplay",
"sap.m.PopinLayout",
"sap.m.QuickViewGroupElementType",
"sap.m.RatingIndicatorVisualMode",
"sap.m.ScreenSize",
"sap.m.SelectionDetailsActionLevel",
"sap.m.SelectListKeyboardNavigationMode",
"sap.m.SelectType",
"sap.m.SplitAppMode",
"sap.m.StandardTileType",
"sap.m.StringFilterOperator",
"sap.m.SwipeDirection",
"sap.m.SwitchType",
"sap.m.ToolbarDesign",
"sap.m.VerticalPlacementType",
"sap.m.semantic.SemanticRuleSetType"
],
interfaces: [
"sap.m.IBar",
"sap.m.IBreadcrumbs",
"sap.m.IconTab",
"sap.m.IScale",
"sap.m.semantic.IGroup",
"sap.m.semantic.IFilter",
"sap.m.semantic.ISort",
"sap.m.ObjectHeaderContainer",
"sap.m.IOverflowToolbarContent"
],
controls: [
"sap.m.ActionListItem",
"sap.m.ActionSelect",
"sap.m.ActionSheet",
"sap.m.App",
"sap.m.Bar",
"sap.m.BusyDialog",
"sap.m.BusyIndicator",
"sap.m.Button",
"sap.m.Breadcrumbs",
"sap.m.Carousel",
"sap.m.CheckBox",
"sap.m.ColumnListItem",
"sap.m.ComboBox",
"sap.m.ComboBoxTextField",
"sap.m.ComboBoxBase",
"sap.m.CustomListItem",
"sap.m.CustomTile",
"sap.m.CustomTreeItem",
"sap.m.ColumnHeader",
"sap.m.DatePicker",
"sap.m.DateRangeSelection",
"sap.m.DateTimeField",
"sap.m.DateTimeInput",
"sap.m.DateTimePicker",
"sap.m.Dialog",
"sap.m.DisplayListItem",
"sap.m.DraftIndicator",
"sap.m.FacetFilter",
"sap.m.FacetFilterItem",
"sap.m.FacetFilterList",
"sap.m.FeedContent",
"sap.m.FeedInput",
"sap.m.FeedListItem",
"sap.m.FlexBox",
"sap.m.FormattedText",
"sap.m.GenericTile",
"sap.m.GroupHeaderListItem",
"sap.m.GrowingList",
"sap.m.HBox",
"sap.m.HeaderContainer",
"sap.m.IconTabBar",
"sap.m.IconTabBarSelectList",
"sap.m.IconTabHeader",
"sap.m.Image",
"sap.m.ImageContent",
"sap.m.Input",
"sap.m.InputBase",
"sap.m.InputListItem",
"sap.m.Label",
"sap.m.LightBox",
"sap.m.Link",
"sap.m.List",
"sap.m.ListBase",
"sap.m.ListItemBase",
"sap.m.MaskInput",
"sap.m.Menu",
"sap.m.MenuButton",
"sap.m.MessagePage",
"sap.m.MessagePopover",
"sap.m.MessageView",
"sap.m.MessageStrip",
"sap.m.MultiComboBox",
"sap.m.MultiEditField",
"sap.m.MultiInput",
"sap.m.NavContainer",
"sap.m.NewsContent",
"sap.m.NumericContent",
"sap.m.NotificationListBase",
"sap.m.NotificationListItem",
"sap.m.NotificationListGroup",
"sap.m.PagingButton",
"sap.m.PlanningCalendarLegend",
"sap.m.ObjectAttribute",
"sap.m.ObjectHeader",
"sap.m.ObjectIdentifier",
"sap.m.ObjectListItem",
"sap.m.ObjectMarker",
"sap.m.ObjectNumber",
"sap.m.ObjectStatus",
"sap.m.OverflowToolbar",
"sap.m.OverflowToolbarButton",
"sap.m.OverflowToolbarToggleButton",
"sap.m.P13nColumnsPanel",
"sap.m.P13nSelectionPanel",
"sap.m.P13nDimMeasurePanel",
"sap.m.P13nConditionPanel",
"sap.m.P13nDialog",
"sap.m.P13nFilterPanel",
"sap.m.P13nPanel",
"sap.m.P13nSortPanel",
"sap.m.Page",
"sap.m.Panel",
"sap.m.PDFViewer",
"sap.m.PlanningCalendar",
"sap.m.Popover",
"sap.m.ProgressIndicator",
"sap.m.PullToRefresh",
"sap.m.QuickView",
"sap.m.QuickViewCard",
"sap.m.QuickViewPage",
"sap.m.RadioButton",
"sap.m.RadioButtonGroup",
"sap.m.RangeSlider",
"sap.m.RatingIndicator",
"sap.m.ResponsivePopover",
"sap.m.ScrollContainer",
"sap.m.SearchField",
"sap.m.SegmentedButton",
"sap.m.Select",
"sap.m.SelectDialog",
"sap.m.SelectList",
"sap.m.SelectionDetails",
"sap.m.Shell",
"sap.m.Slider",
"sap.m.SlideTile",
"sap.m.StepInput",
"sap.m.SplitApp",
"sap.m.SplitContainer",
"sap.m.StandardListItem",
"sap.m.StandardTreeItem",
"sap.m.StandardTile",
"sap.m.Switch",
"sap.m.Table",
"sap.m.TableSelectDialog",
"sap.m.TabContainer",
"sap.m.TabStrip",
"sap.m.Text",
"sap.m.TextArea",
"sap.m.Tile",
"sap.m.TileContainer",
"sap.m.TileContent",
"sap.m.TimePicker",
"sap.m.TimePickerSliders",
"sap.m.Title",
"sap.m.ToggleButton",
"sap.m.Token",
"sap.m.Tokenizer",
"sap.m.Toolbar",
"sap.m.ToolbarSpacer",
"sap.m.ToolbarSeparator",
"sap.m.Tree",
"sap.m.TreeItemBase",
"sap.m.UploadCollection",
"sap.m.UploadCollectionToolbarPlaceholder",
"sap.m.VBox",
"sap.m.ViewSettingsDialog",
"sap.m.ViewSettingsPopover",
"sap.m.semantic.DetailPage",
"sap.m.semantic.SemanticPage",
"sap.m.semantic.ShareMenuPage",
"sap.m.semantic.FullscreenPage",
"sap.m.semantic.MasterPage",
"sap.m.Wizard",
"sap.m.WizardStep"
],
elements: [
"sap.m.Column",
"sap.m.FlexItemData",
"sap.m.FeedListItemAction",
"sap.m.IconTabFilter",
"sap.m.IconTabSeparator",
"sap.m.LightBoxItem",
"sap.m.OverflowToolbarLayoutData",
"sap.m.MaskInputRule",
"sap.m.MenuItem",
"sap.m.MessageItem",
"sap.m.MessagePopoverItem",
"sap.m.PageAccessibleLandmarkInfo",
"sap.m.P13nFilterItem",
"sap.m.P13nItem",
"sap.m.PlanningCalendarRow",
"sap.m.PlanningCalendarView",
"sap.m.P13nColumnsItem",
"sap.m.P13nDimMeasureItem",
"sap.m.P13nSortItem",
"sap.m.QuickViewGroup",
"sap.m.QuickViewGroupElement",
"sap.m.ResponsiveScale",
"sap.m.SegmentedButtonItem",
"sap.m.SelectionDetailsItem",
"sap.m.SelectionDetailsItemLine",
"sap.m.SuggestionItem",
"sap.m.TabContainerItem",
"sap.m.TabStripItem",
"sap.m.ToolbarLayoutData",
"sap.m.UploadCollectionItem",
"sap.m.UploadCollectionParameter",
"sap.m.ViewSettingsCustomItem",
"sap.m.ViewSettingsCustomTab",
"sap.m.ViewSettingsFilterItem",
"sap.m.ViewSettingsItem",
"sap.m.semantic.SemanticButton",
"sap.m.semantic.SemanticSelect",
"sap.m.semantic.AddAction",
"sap.m.semantic.CancelAction",
"sap.m.semantic.DeleteAction",
"sap.m.semantic.DiscussInJamAction",
"sap.m.semantic.EditAction",
"sap.m.semantic.FavoriteAction",
"sap.m.semantic.FilterAction",
"sap.m.semantic.FilterSelect",
"sap.m.semantic.FlagAction",
"sap.m.semantic.ForwardAction",
"sap.m.semantic.GroupAction",
"sap.m.semantic.GroupSelect",
"sap.m.semantic.MainAction",
"sap.m.semantic.MessagesIndicator",
"sap.m.semantic.MultiSelectAction",
"sap.m.semantic.NegativeAction",
"sap.m.semantic.OpenInAction",
"sap.m.semantic.PositiveAction",
"sap.m.semantic.PrintAction",
"sap.m.semantic.SaveAction",
"sap.m.semantic.SendEmailAction",
"sap.m.semantic.SendMessageAction",
"sap.m.semantic.ShareInJamAction",
"sap.m.semantic.SortAction",
"sap.m.semantic.SortSelect"
],
extensions: {
flChangeHandlers: {
"sap.m.ActionSheet": {
"moveControls": "default"
},
"sap.m.Bar": "sap/m/flexibility/Bar",
"sap.m.Button": "sap/m/flexibility/Button",
"sap.m.CheckBox": "sap/m/flexibility/CheckBox",
"sap.m.ColumnListItem": {
"hideControl": "default",
"unhideControl": "default"
},
"sap.m.CustomListItem": {
"hideControl": "default",
"unhideControl": "default",
"moveControls": "default"
},
"sap.m.DatePicker": {
"hideControl": "default",
"unhideControl": "default"
},
"sap.m.Dialog": "sap/m/flexibility/Dialog",
"sap.m.FlexBox": {
"hideControl": "default",
"unhideControl": "default",
"moveControls": "default"
},
"sap.m.HBox": {
"hideControl": "default",
"unhideControl": "default",
"moveControls": "default"
},
"sap.m.IconTabBar": {
"moveControls": "default"
},
"sap.m.IconTabFilter": "sap/m/flexibility/IconTabFilter",
"sap.m.Image": {
"hideControl": "default",
"unhideControl": "default"
},
"sap.m.Input": {
"hideControl": "default",
"unhideControl": "default"
},
"sap.m.InputBase": {
"hideControl": "default",
"unhideControl": "default"
},
"sap.m.InputListItem": "sap/m/flexibility/InputListItem",
"sap.m.Label": "sap/m/flexibility/Label",
"sap.m.MultiInput": {
"hideControl": "default",
"unhideControl": "default"
},
"sap.m.ListItemBase": {
"hideControl": "default",
"unhideControl": "default"
},
"sap.m.Link": {
"hideControl": "default",
"unhideControl": "default"
},
"sap.m.List": {
"hideControl": "default",
"unhideControl": "default",
"moveControls": "default"
},
"sap.m.ListBase": {
"hideControl": "default",
"unhideControl": "default",
"moveControls": "default"
},
"sap.m.MaskInput": {
"hideControl": "default",
"unhideControl": "default"
},
"sap.m.MenuButton": "sap/m/flexibility/MenuButton",
"sap.m.OverflowToolbar":"sap/m/flexibility/OverflowToolbar",
"sap.m.Page": "sap/m/flexibility/Page",
"sap.m.Panel": "sap/m/flexibility/Panel",
"sap.m.Popover": "sap/m/flexibility/Popover",
"sap.m.RadioButton": "sap/m/flexibility/RadioButton",
"sap.m.RatingIndicator": {
"hideControl": "default",
"unhideControl": "default"
},
"sap.m.RangeSlider": {
"hideControl": "default",
"unhideControl": "default"
},
"sap.m.ScrollContainer": {
"hideControl": "default",
"moveControls": "default",
"unhideControl": "default"
},
"sap.m.Slider": {
"hideControl": "default",
"unhideControl": "default"
},
"sap.m.StandardListItem":"sap/m/flexibility/StandardListItem",
"sap.m.Table": "sap/m/flexibility/Table",
"sap.m.Column": {
"hideControl": "default",
"unhideControl": "default"
},
"sap.m.Text": "sap/m/flexibility/Text",
"sap.m.Title": "sap/m/flexibility/Title",
"sap.m.Toolbar": "sap/m/flexibility/Toolbar",
"sap.m.VBox": {
"hideControl": "default",
"unhideControl": "default",
"moveControls": "default"
}
}
}
});
/**
* Available Background Design.
*
* @enum {string}
* @public
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.BackgroundDesign = {
/**
* A solid background color dependent on the theme.
* @public
*/
Solid : "Solid",
/**
* Transparent background.
* @public
*/
Transparent : "Transparent",
/**
* A translucent background depending on the opacity value of the theme.
* @public
*/
Translucent : "Translucent"
};
/**
* Types of the Bar design.
*
* @enum {string}
* @public
* @since 1.20
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.BarDesign = {
/**
* The Bar can be inserted into other controls and if the design is "Auto" then it inherits the design from parent control.
* @public
*/
Auto : "Auto",
/**
* The bar will be styled like a header of the page.
* @public
*/
Header : "Header",
/**
* The bar will be styled like a subheader of the page.
* @public
*/
SubHeader : "SubHeader",
/**
* The bar will be styled like a footer of the page.
* @public
*/
Footer : "Footer"
};
/**
* Different types for a button (predefined types).
*
* @enum {string}
* @public
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.ButtonType = {
/**
* default type (no special styling)
* @public
*/
Default : "Default",
/**
* back type (back navigation button for header)
* @public
*/
Back : "Back",
/**
* accept type (green button)
* @public
*/
Accept : "Accept",
/**
* reject style (red button)
* @public
*/
Reject : "Reject",
/**
* transparent type
* @public
*/
Transparent : "Transparent",
/**
* ghost type
* @public
*/
Ghost : "Ghost",
/**
* up type (up navigation button for header)
* @public
*/
Up : "Up",
/**
* Unstyled type (no styling)
* @public
*/
Unstyled : "Unstyled",
/**
* emphasized type
* @public
*/
Emphasized : "Emphasized"
};
/**
* Carousel arrows align.
*
* @enum {string}
* @public
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.CarouselArrowsPlacement = {
/**
* Carousel arrows are placed on the sides of the current Carousel page.
* @public
*/
Content : "Content",
/**
* Carousel arrows are placed on the sides of the page indicator of the Carousel.
* @public
*/
PageIndicator : "PageIndicator"
};
/**
* A list of the default built-in views in a {@link sap.m.PlanningCalendar}, described by their keys.
*
* @enum {string}
* @public
* @since 1.50
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.PlanningCalendarBuiltInView = {
/**
* Represents the key of the built-in view, in which the intervals have the size of one hour.
*/
Hour : "Hour",
/**
* Represents the key of the built-in view, in which the intervals have the size of one day.
*/
Day : "Day",
/**
* Represents the key of the built-in view, in which the intervals have the size of one month.
*/
Month : "Month",
/**
* Represents the key of the built-in view, in which the intervals have the size of one day
* where 7 days are displayed, starting with the first day of the week.
*/
Week : "Week",
/**
* Represents the key of the built-in view, in which the intervals have the size of one day
* where 31 days are displayed, starting with the first day of the month.
*/
OneMonth : "One Month"
};
/**
* A subset of DateTimeInput types that fit to a simple API returning one string.
*
* @enum {string}
* @public
* @deprecated Since version 1.32.8. Instead, use dedicated <code>sap.m.DatePicker</code> and/or <code>sap.m.TimePicker</code> controls.
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.DateTimeInputType = {
/**
* An input control for specifying a date value. The user can select a month, day of the month, and year.
* @public
* @deprecated Since version 1.22.0. Instead, use dedicated <code>sap.m.DatePicker</code> control.
*/
Date : "Date",
/**
* An input control for specifying a date and time value. The user can select a month, day of the month, year, and time of day.
* @public
* @deprecated Since version 1.32.8. Instead, use dedicated <code>sap.m.DatePicker</code> and <code>sap.m.TimePicker</code> controls.
*/
DateTime : "DateTime",
/**
* An input control for specifying a time value. The user can select the hour, minute, and optionally AM or PM.
* @public
* @deprecated Since version 1.32.8. Instead, use dedicated <code>sap.m.TimePicker</code> control.
*/
Time : "Time"
};
/**
* Enum for the type of {@link sap.m.Dialog} control.
*
* @enum {string}
* @public
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.DialogType = {
/**
* This is the default value for Dialog type. Stardard dialog in iOS has a header on the top and the left, right buttons are put inside the header. In android, the left, right buttons are put to the bottom of the Dialog.
* @public
*/
Standard : "Standard",
/**
* Dialog with type Message looks the same as the Stardard Dialog in Android. And it puts the left, right buttons to the bottom of the Dialog in iOS.
* @public
*/
Message : "Message"
};
/**
* Enum of the available deviation markers for the NumericContent control.
*
* @enum {string}
* @public
* @since 1.34
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.DeviationIndicator = {
/**
* The actual value is more than the target value.
* @public
*/
Up : "Up",
/**
* The actual value is less than the target value.
* @public
*/
Down : "Down",
/**
* No value.
* @public
*/
None : "None"
};
/**
* Enum for the state of {@link sap.m.DraftIndicator} control.
*
* @enum {string}
* @public
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.DraftIndicatorState = {
/**
* This is the default value for DraftIndicatorState type. This state has no visual information displayed.
* @public
*/
Clear: "Clear",
/**
* Indicates that the draft currently is being saved
* @public
*/
Saving: "Saving",
/**
* Indicates that the draft is already saved
* @public
*/
Saved: "Saved"
};
/**
* FacetFilterList data types.
*
* @enum {string}
* @public
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.FacetFilterListDataType = {
/**
* An input control for specifying a date value. The user can select a month, day of the month, and year.
* @public
*/
Date : "Date",
/**
* An input control for specifying a date and time value. The user can select a month, day of the month, year, and time of day.
* @public
*/
DateTime : "DateTime",
/**
* An input control for specifying a time value. The user can select the hour, minute, and optionally AM or PM.
* @public
*/
Time : "Time",
/**
* >An input control for specifying an Integer value
* @public
*/
Integer : "Integer",
/**
* >An input control for specifying a Float value
* @public
*/
Float : "Float",
/**
* >An input control for specifying a String value
* @public
*/
String : "String",
/**
* >An input control for specifying a Boolean value
* @public
*/
Boolean : "Boolean"
};
/**
* Used by the FacetFilter control to adapt its design according to type.
*
*
* @enum {string}
* @public
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.FacetFilterType = {
/**
* Forces FacetFilter to display facet lists as a row of buttons, one button per facet. The FacetFilter will automatically adapt to the Light type when it detects smart phone sized displays.
* @public
*/
Simple : "Simple",
/**
* Forces FacetFilter to display in light mode.
* @public
*/
Light : "Light"
};
/**
* Available options for the layout of all elements along the cross axis of the flexbox layout.
*
* @enum {string}
* @public
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.FlexAlignItems = {
/**
* The cross-start margin edges of the flex items are placed flush with the cross-start edge of the line.
* @public
*/
Start : "Start",
/**
* The cross-start margin edges of the flex items are placed flush with the cross-end edge of the line.
* @public
*/
End : "End",
/**
* The flex item's margin boxes are centered in the cross axis within the line.
* @public
*/
Center : "Center",
/**
* If the flex item's inline axes are the same as the cross axis, this value is identical to "Start". Otherwise, it participates in baseline alignment: all participating box items on the line are aligned such that their baselines align, and the item with the largest distance between its baseline and its cross-start margin edge is placed flush against the cross-start edge of the line.
* @public
*/
Baseline : "Baseline",
/**
* Make the cross size of the item's margin boxes as close to the same size as the line as possible.
* @public
*/
Stretch : "Stretch",
/**
* Inherits the value from its parent.
* @public
*/
Inherit : "Inherit"
};
/**
* Available options for the layout of individual elements along the cross axis of the flexbox layout overriding the default alignment.
*
* @enum {string}
* @public
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.FlexAlignSelf = {
/**
* Takes up the value of alignItems from the parent FlexBox
* @public
*/
Auto : "Auto",
/**
* The cross-start margin edges of the flex item is placed flush with the cross-start edge of the line.
* @public
*/
Start : "Start",
/**
* The cross-start margin edges of the flex item is placed flush with the cross-end edge of the line.
* @public
*/
End : "End",
/**
* The flex item's margin box is centered in the cross axis within the line.
* @public
*/
Center : "Center",
/**
* If the flex item's inline axis is the same as the cross axis, this value is identical to "Start". Otherwise, it participates in baseline alignment: all participating box items on the line are aligned such that their baselines align, and the item with the largest distance between its baseline and its cross-start margin edge is placed flush against the cross-start edge of the line.
* @public
*/
Baseline : "Baseline",
/**
* Make the cross size of the item's margin box as close to the same size as the line as possible.
* @public
*/
Stretch : "Stretch",
/**
* Inherits the value from its parent.
* @public
*/
Inherit : "Inherit"
};
/**
* Available directions for flex layouts.
*
* @enum {string}
* @public
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.FlexDirection = {
/**
* Flex items are laid out along the direction of the inline axis (text direction).
* @public
*/
Row : "Row",
/**
* Flex items are laid out along the direction of the block axis (usually top to bottom).
* @public
*/
Column : "Column",
/**
* Flex items are laid out along the reverse direction of the inline axis (against the text direction).
* @public
*/
RowReverse : "RowReverse",
/**
* Flex items are laid out along the reverse direction of the block axis (usually bottom to top).
* @public
*/
ColumnReverse : "ColumnReverse",
/**
* Inherits the value from its parent.
* @public
*/
Inherit : "Inherit"
};
/**
* Available options for the layout of elements along the main axis of the flexbox layout.
*
* @enum {string}
* @public
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
*/
sap.m.FlexJustifyContent = {
/**
* Flex items are packed toward the start of the line.
* @public
*/
Start : "Start",
/**
* Flex items are packed toward the end of the line.
* @public
*/
End : "End",
/**
* Flex items are packed toward the center of the line.
* @public
*/
Center : "Center",