@openui5/types 1.144.0 → 1.146.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/sap.f.d.ts +73 -526
- package/types/sap.m.d.ts +350 -29
- package/types/sap.tnt.d.ts +27 -26
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +1181 -478
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +9 -1
- package/types/sap.ui.integration.d.ts +65 -266
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +379 -51
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +7 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +74 -3
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uxap.d.ts +18 -8
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -279,7 +279,7 @@ declare namespace sap {
|
|
|
279
279
|
"sap/ui/thirdparty/qunit-2": undefined;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
// For Library Version: 1.
|
|
282
|
+
// For Library Version: 1.146.0
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -5531,211 +5531,418 @@ declare module "sap/ui/events/ControlEvents" {
|
|
|
5531
5531
|
|
|
5532
5532
|
declare module "sap/ui/events/KeyCodes" {
|
|
5533
5533
|
/**
|
|
5534
|
+
* KeyCodes enumeration.
|
|
5535
|
+
*
|
|
5534
5536
|
* @since 1.58
|
|
5535
5537
|
*/
|
|
5536
5538
|
enum KeyCodes {
|
|
5539
|
+
/**
|
|
5540
|
+
* Letter A key
|
|
5541
|
+
*/
|
|
5537
5542
|
A = "65",
|
|
5538
|
-
|
|
5543
|
+
/**
|
|
5544
|
+
* Alt key
|
|
5545
|
+
*/
|
|
5539
5546
|
ALT = "18",
|
|
5540
|
-
|
|
5547
|
+
/**
|
|
5548
|
+
* Down arrow key
|
|
5549
|
+
*/
|
|
5541
5550
|
ARROW_DOWN = "40",
|
|
5542
|
-
|
|
5551
|
+
/**
|
|
5552
|
+
* Left arrow key
|
|
5553
|
+
*/
|
|
5543
5554
|
ARROW_LEFT = "37",
|
|
5544
|
-
|
|
5555
|
+
/**
|
|
5556
|
+
* Right arrow key
|
|
5557
|
+
*/
|
|
5545
5558
|
ARROW_RIGHT = "39",
|
|
5546
|
-
|
|
5559
|
+
/**
|
|
5560
|
+
* Up arrow key
|
|
5561
|
+
*/
|
|
5547
5562
|
ARROW_UP = "38",
|
|
5548
|
-
|
|
5563
|
+
/**
|
|
5564
|
+
* Letter B key
|
|
5565
|
+
*/
|
|
5549
5566
|
B = "66",
|
|
5550
|
-
|
|
5567
|
+
/**
|
|
5568
|
+
* Backslash (\) key
|
|
5569
|
+
*/
|
|
5551
5570
|
BACKSLASH = "226",
|
|
5552
|
-
|
|
5571
|
+
/**
|
|
5572
|
+
* Backspace key
|
|
5573
|
+
*/
|
|
5553
5574
|
BACKSPACE = "8",
|
|
5554
|
-
|
|
5575
|
+
/**
|
|
5576
|
+
* Pause/Break key
|
|
5577
|
+
*/
|
|
5555
5578
|
BREAK = "19",
|
|
5556
|
-
|
|
5579
|
+
/**
|
|
5580
|
+
* Letter C key
|
|
5581
|
+
*/
|
|
5557
5582
|
C = "67",
|
|
5558
|
-
|
|
5583
|
+
/**
|
|
5584
|
+
* Caps Lock key
|
|
5585
|
+
*/
|
|
5559
5586
|
CAPS_LOCK = "20",
|
|
5560
|
-
|
|
5587
|
+
/**
|
|
5588
|
+
* Comma (,) key
|
|
5589
|
+
*/
|
|
5561
5590
|
COMMA = "188",
|
|
5562
|
-
|
|
5591
|
+
/**
|
|
5592
|
+
* Context menu key
|
|
5593
|
+
*/
|
|
5563
5594
|
CONTEXT_MENU = "93",
|
|
5564
|
-
|
|
5595
|
+
/**
|
|
5596
|
+
* Control key
|
|
5597
|
+
*/
|
|
5565
5598
|
CONTROL = "17",
|
|
5566
|
-
|
|
5599
|
+
/**
|
|
5600
|
+
* Letter D key
|
|
5601
|
+
*/
|
|
5567
5602
|
D = "68",
|
|
5568
|
-
|
|
5603
|
+
/**
|
|
5604
|
+
* Delete key
|
|
5605
|
+
*/
|
|
5569
5606
|
DELETE = "46",
|
|
5570
|
-
|
|
5607
|
+
/**
|
|
5608
|
+
* Digit 0 key
|
|
5609
|
+
*/
|
|
5571
5610
|
DIGIT_0 = "48",
|
|
5572
|
-
|
|
5611
|
+
/**
|
|
5612
|
+
* Digit 1 key
|
|
5613
|
+
*/
|
|
5573
5614
|
DIGIT_1 = "49",
|
|
5574
|
-
|
|
5615
|
+
/**
|
|
5616
|
+
* Digit 2 key
|
|
5617
|
+
*/
|
|
5575
5618
|
DIGIT_2 = "50",
|
|
5576
|
-
|
|
5619
|
+
/**
|
|
5620
|
+
* Digit 3 key
|
|
5621
|
+
*/
|
|
5577
5622
|
DIGIT_3 = "51",
|
|
5578
|
-
|
|
5623
|
+
/**
|
|
5624
|
+
* Digit 4 key
|
|
5625
|
+
*/
|
|
5579
5626
|
DIGIT_4 = "52",
|
|
5580
|
-
|
|
5627
|
+
/**
|
|
5628
|
+
* Digit 5 key
|
|
5629
|
+
*/
|
|
5581
5630
|
DIGIT_5 = "53",
|
|
5582
|
-
|
|
5631
|
+
/**
|
|
5632
|
+
* Digit 6 key
|
|
5633
|
+
*/
|
|
5583
5634
|
DIGIT_6 = "54",
|
|
5584
|
-
|
|
5635
|
+
/**
|
|
5636
|
+
* Digit 7 key
|
|
5637
|
+
*/
|
|
5585
5638
|
DIGIT_7 = "55",
|
|
5586
|
-
|
|
5639
|
+
/**
|
|
5640
|
+
* Digit 8 key
|
|
5641
|
+
*/
|
|
5587
5642
|
DIGIT_8 = "56",
|
|
5588
|
-
|
|
5643
|
+
/**
|
|
5644
|
+
* Digit 9 key
|
|
5645
|
+
*/
|
|
5589
5646
|
DIGIT_9 = "57",
|
|
5590
|
-
|
|
5647
|
+
/**
|
|
5648
|
+
* Dot/period (.) key
|
|
5649
|
+
*/
|
|
5591
5650
|
DOT = "190",
|
|
5592
|
-
|
|
5651
|
+
/**
|
|
5652
|
+
* Letter E key
|
|
5653
|
+
*/
|
|
5593
5654
|
E = "69",
|
|
5594
|
-
|
|
5655
|
+
/**
|
|
5656
|
+
* End key
|
|
5657
|
+
*/
|
|
5595
5658
|
END = "35",
|
|
5596
|
-
|
|
5659
|
+
/**
|
|
5660
|
+
* Enter key
|
|
5661
|
+
*/
|
|
5597
5662
|
ENTER = "13",
|
|
5598
|
-
|
|
5663
|
+
/**
|
|
5664
|
+
* Equals (=) key
|
|
5665
|
+
*/
|
|
5599
5666
|
EQUALS = "221",
|
|
5600
|
-
|
|
5667
|
+
/**
|
|
5668
|
+
* Escape key
|
|
5669
|
+
*/
|
|
5601
5670
|
ESCAPE = "27",
|
|
5602
|
-
|
|
5671
|
+
/**
|
|
5672
|
+
* Letter F key
|
|
5673
|
+
*/
|
|
5603
5674
|
F = "70",
|
|
5604
|
-
|
|
5675
|
+
/**
|
|
5676
|
+
* F1 function key
|
|
5677
|
+
*/
|
|
5605
5678
|
F1 = "112",
|
|
5606
|
-
|
|
5679
|
+
/**
|
|
5680
|
+
* F10 function key
|
|
5681
|
+
*/
|
|
5607
5682
|
F10 = "121",
|
|
5608
|
-
|
|
5683
|
+
/**
|
|
5684
|
+
* F11 function key
|
|
5685
|
+
*/
|
|
5609
5686
|
F11 = "122",
|
|
5610
|
-
|
|
5687
|
+
/**
|
|
5688
|
+
* F12 function key
|
|
5689
|
+
*/
|
|
5611
5690
|
F12 = "123",
|
|
5612
|
-
|
|
5691
|
+
/**
|
|
5692
|
+
* F2 function key
|
|
5693
|
+
*/
|
|
5613
5694
|
F2 = "113",
|
|
5614
|
-
|
|
5695
|
+
/**
|
|
5696
|
+
* F3 function key
|
|
5697
|
+
*/
|
|
5615
5698
|
F3 = "114",
|
|
5616
|
-
|
|
5699
|
+
/**
|
|
5700
|
+
* F4 function key
|
|
5701
|
+
*/
|
|
5617
5702
|
F4 = "115",
|
|
5618
|
-
|
|
5703
|
+
/**
|
|
5704
|
+
* F5 function key
|
|
5705
|
+
*/
|
|
5619
5706
|
F5 = "116",
|
|
5620
|
-
|
|
5707
|
+
/**
|
|
5708
|
+
* F6 function key
|
|
5709
|
+
*/
|
|
5621
5710
|
F6 = "117",
|
|
5622
|
-
|
|
5711
|
+
/**
|
|
5712
|
+
* F7 function key
|
|
5713
|
+
*/
|
|
5623
5714
|
F7 = "118",
|
|
5624
|
-
|
|
5715
|
+
/**
|
|
5716
|
+
* F8 function key
|
|
5717
|
+
*/
|
|
5625
5718
|
F8 = "119",
|
|
5626
|
-
|
|
5719
|
+
/**
|
|
5720
|
+
* F9 function key
|
|
5721
|
+
*/
|
|
5627
5722
|
F9 = "120",
|
|
5628
|
-
|
|
5723
|
+
/**
|
|
5724
|
+
* Letter G key
|
|
5725
|
+
*/
|
|
5629
5726
|
G = "71",
|
|
5630
|
-
|
|
5727
|
+
/**
|
|
5728
|
+
* Grave accent (`) key
|
|
5729
|
+
*/
|
|
5631
5730
|
GREAT_ACCENT = "220",
|
|
5632
|
-
|
|
5731
|
+
/**
|
|
5732
|
+
* Letter H key
|
|
5733
|
+
*/
|
|
5633
5734
|
H = "72",
|
|
5634
|
-
|
|
5735
|
+
/**
|
|
5736
|
+
* Home key
|
|
5737
|
+
*/
|
|
5635
5738
|
HOME = "36",
|
|
5636
|
-
|
|
5739
|
+
/**
|
|
5740
|
+
* Letter I key
|
|
5741
|
+
*/
|
|
5637
5742
|
I = "73",
|
|
5638
|
-
|
|
5743
|
+
/**
|
|
5744
|
+
* Insert key
|
|
5745
|
+
*/
|
|
5639
5746
|
INSERT = "45",
|
|
5640
|
-
|
|
5747
|
+
/**
|
|
5748
|
+
* Letter J key
|
|
5749
|
+
*/
|
|
5641
5750
|
J = "74",
|
|
5642
|
-
|
|
5751
|
+
/**
|
|
5752
|
+
* Letter K key
|
|
5753
|
+
*/
|
|
5643
5754
|
K = "75",
|
|
5644
|
-
|
|
5755
|
+
/**
|
|
5756
|
+
* Letter L key
|
|
5757
|
+
*/
|
|
5645
5758
|
L = "76",
|
|
5646
|
-
|
|
5759
|
+
/**
|
|
5760
|
+
* Letter M key
|
|
5761
|
+
*/
|
|
5647
5762
|
M = "77",
|
|
5648
|
-
|
|
5763
|
+
/**
|
|
5764
|
+
* Minus (-) key
|
|
5765
|
+
*/
|
|
5649
5766
|
MINUS = "219",
|
|
5650
|
-
|
|
5767
|
+
/**
|
|
5768
|
+
* Letter N key
|
|
5769
|
+
*/
|
|
5651
5770
|
N = "78",
|
|
5652
|
-
|
|
5771
|
+
/**
|
|
5772
|
+
* Num Lock key
|
|
5773
|
+
*/
|
|
5653
5774
|
NUM_LOCK = "144",
|
|
5654
|
-
|
|
5775
|
+
/**
|
|
5776
|
+
* Numpad 0 key
|
|
5777
|
+
*/
|
|
5655
5778
|
NUMPAD_0 = "96",
|
|
5656
|
-
|
|
5779
|
+
/**
|
|
5780
|
+
* Numpad 1 key
|
|
5781
|
+
*/
|
|
5657
5782
|
NUMPAD_1 = "97",
|
|
5658
|
-
|
|
5783
|
+
/**
|
|
5784
|
+
* Numpad 2 key
|
|
5785
|
+
*/
|
|
5659
5786
|
NUMPAD_2 = "98",
|
|
5660
|
-
|
|
5787
|
+
/**
|
|
5788
|
+
* Numpad 3 key
|
|
5789
|
+
*/
|
|
5661
5790
|
NUMPAD_3 = "99",
|
|
5662
|
-
|
|
5791
|
+
/**
|
|
5792
|
+
* Numpad 4 key
|
|
5793
|
+
*/
|
|
5663
5794
|
NUMPAD_4 = "100",
|
|
5664
|
-
|
|
5795
|
+
/**
|
|
5796
|
+
* Numpad 5 key
|
|
5797
|
+
*/
|
|
5665
5798
|
NUMPAD_5 = "101",
|
|
5666
|
-
|
|
5799
|
+
/**
|
|
5800
|
+
* Numpad 6 key
|
|
5801
|
+
*/
|
|
5667
5802
|
NUMPAD_6 = "102",
|
|
5668
|
-
|
|
5803
|
+
/**
|
|
5804
|
+
* Numpad 7 key
|
|
5805
|
+
*/
|
|
5669
5806
|
NUMPAD_7 = "103",
|
|
5670
|
-
|
|
5807
|
+
/**
|
|
5808
|
+
* Numpad 8 key
|
|
5809
|
+
*/
|
|
5671
5810
|
NUMPAD_8 = "104",
|
|
5672
|
-
|
|
5811
|
+
/**
|
|
5812
|
+
* Numpad 9 key
|
|
5813
|
+
*/
|
|
5673
5814
|
NUMPAD_9 = "105",
|
|
5674
|
-
|
|
5815
|
+
/**
|
|
5816
|
+
* Numpad asterisk (*) key
|
|
5817
|
+
*/
|
|
5675
5818
|
NUMPAD_ASTERISK = "106",
|
|
5676
|
-
|
|
5819
|
+
/**
|
|
5820
|
+
* Numpad comma/decimal (.) key
|
|
5821
|
+
*/
|
|
5677
5822
|
NUMPAD_COMMA = "110",
|
|
5678
|
-
|
|
5823
|
+
/**
|
|
5824
|
+
* Numpad minus (-) key
|
|
5825
|
+
*/
|
|
5679
5826
|
NUMPAD_MINUS = "109",
|
|
5680
|
-
|
|
5827
|
+
/**
|
|
5828
|
+
* Numpad plus (+) key
|
|
5829
|
+
*/
|
|
5681
5830
|
NUMPAD_PLUS = "107",
|
|
5682
|
-
|
|
5831
|
+
/**
|
|
5832
|
+
* Numpad slash (/) key
|
|
5833
|
+
*/
|
|
5683
5834
|
NUMPAD_SLASH = "111",
|
|
5684
|
-
|
|
5835
|
+
/**
|
|
5836
|
+
* Letter O key
|
|
5837
|
+
*/
|
|
5685
5838
|
O = "79",
|
|
5686
|
-
|
|
5839
|
+
/**
|
|
5840
|
+
* Open bracket ([) key
|
|
5841
|
+
*/
|
|
5687
5842
|
OPEN_BRACKET = "186",
|
|
5688
|
-
|
|
5843
|
+
/**
|
|
5844
|
+
* Letter P key
|
|
5845
|
+
*/
|
|
5689
5846
|
P = "80",
|
|
5690
|
-
|
|
5847
|
+
/**
|
|
5848
|
+
* Page Down key
|
|
5849
|
+
*/
|
|
5691
5850
|
PAGE_DOWN = "34",
|
|
5692
|
-
|
|
5851
|
+
/**
|
|
5852
|
+
* Page Up key
|
|
5853
|
+
*/
|
|
5693
5854
|
PAGE_UP = "33",
|
|
5694
|
-
|
|
5855
|
+
/**
|
|
5856
|
+
* Pipe (|) key
|
|
5857
|
+
*/
|
|
5695
5858
|
PIPE = "191",
|
|
5696
|
-
|
|
5859
|
+
/**
|
|
5860
|
+
* Plus (+) key
|
|
5861
|
+
*/
|
|
5697
5862
|
PLUS = "187",
|
|
5698
|
-
|
|
5863
|
+
/**
|
|
5864
|
+
* Print Screen key
|
|
5865
|
+
*/
|
|
5699
5866
|
PRINT = "44",
|
|
5700
|
-
|
|
5867
|
+
/**
|
|
5868
|
+
* Letter Q key
|
|
5869
|
+
*/
|
|
5701
5870
|
Q = "81",
|
|
5702
|
-
|
|
5871
|
+
/**
|
|
5872
|
+
* Letter R key
|
|
5873
|
+
*/
|
|
5703
5874
|
R = "82",
|
|
5704
|
-
|
|
5875
|
+
/**
|
|
5876
|
+
* Letter S key
|
|
5877
|
+
*/
|
|
5705
5878
|
S = "83",
|
|
5706
|
-
|
|
5879
|
+
/**
|
|
5880
|
+
* Scroll Lock key
|
|
5881
|
+
*/
|
|
5707
5882
|
SCROLL_LOCK = "145",
|
|
5708
|
-
|
|
5883
|
+
/**
|
|
5884
|
+
* Semicolon (;) key
|
|
5885
|
+
*/
|
|
5709
5886
|
SEMICOLON = "192",
|
|
5710
|
-
|
|
5887
|
+
/**
|
|
5888
|
+
* Shift key
|
|
5889
|
+
*/
|
|
5711
5890
|
SHIFT = "16",
|
|
5712
|
-
|
|
5891
|
+
/**
|
|
5892
|
+
* Single quote (') key
|
|
5893
|
+
*/
|
|
5713
5894
|
SINGLE_QUOTE = "222",
|
|
5714
|
-
|
|
5895
|
+
/**
|
|
5896
|
+
* Slash (/) key
|
|
5897
|
+
*/
|
|
5715
5898
|
SLASH = "189",
|
|
5716
|
-
|
|
5899
|
+
/**
|
|
5900
|
+
* Sleep key
|
|
5901
|
+
*/
|
|
5717
5902
|
SLEEP = "95",
|
|
5718
|
-
|
|
5903
|
+
/**
|
|
5904
|
+
* Space bar key
|
|
5905
|
+
*/
|
|
5719
5906
|
SPACE = "32",
|
|
5720
|
-
|
|
5907
|
+
/**
|
|
5908
|
+
* Letter T key
|
|
5909
|
+
*/
|
|
5721
5910
|
T = "84",
|
|
5722
|
-
|
|
5911
|
+
/**
|
|
5912
|
+
* Tab key
|
|
5913
|
+
*/
|
|
5723
5914
|
TAB = "9",
|
|
5724
|
-
|
|
5915
|
+
/**
|
|
5916
|
+
* Turn off key
|
|
5917
|
+
*/
|
|
5725
5918
|
TURN_OFF = "94",
|
|
5726
|
-
|
|
5919
|
+
/**
|
|
5920
|
+
* Letter U key
|
|
5921
|
+
*/
|
|
5727
5922
|
U = "85",
|
|
5728
|
-
|
|
5923
|
+
/**
|
|
5924
|
+
* Letter V key
|
|
5925
|
+
*/
|
|
5729
5926
|
V = "86",
|
|
5730
|
-
|
|
5927
|
+
/**
|
|
5928
|
+
* Letter W key
|
|
5929
|
+
*/
|
|
5731
5930
|
W = "87",
|
|
5732
|
-
|
|
5931
|
+
/**
|
|
5932
|
+
* Windows key (or Meta key on Mac)
|
|
5933
|
+
*/
|
|
5733
5934
|
WINDOWS = "91",
|
|
5734
|
-
|
|
5935
|
+
/**
|
|
5936
|
+
* Letter X key
|
|
5937
|
+
*/
|
|
5735
5938
|
X = "88",
|
|
5736
|
-
|
|
5939
|
+
/**
|
|
5940
|
+
* Letter Y key
|
|
5941
|
+
*/
|
|
5737
5942
|
Y = "89",
|
|
5738
|
-
|
|
5943
|
+
/**
|
|
5944
|
+
* Letter Z key
|
|
5945
|
+
*/
|
|
5739
5946
|
Z = "90",
|
|
5740
5947
|
}
|
|
5741
5948
|
export default KeyCodes;
|
|
@@ -5795,6 +6002,24 @@ declare module "sap/ui/model/FilterProcessor" {
|
|
|
5795
6002
|
* @since 1.71
|
|
5796
6003
|
*/
|
|
5797
6004
|
interface FilterProcessor {
|
|
6005
|
+
/**
|
|
6006
|
+
* Combines control filters and application filters using AND and returns the resulting filter
|
|
6007
|
+
*
|
|
6008
|
+
* @since 1.146.0
|
|
6009
|
+
*
|
|
6010
|
+
* @returns A single filter containing all filters of the arrays combined or `undefined` if no filters are
|
|
6011
|
+
* given
|
|
6012
|
+
*/
|
|
6013
|
+
combineFilters(
|
|
6014
|
+
/**
|
|
6015
|
+
* The control filters
|
|
6016
|
+
*/
|
|
6017
|
+
aFilters?: Filter[],
|
|
6018
|
+
/**
|
|
6019
|
+
* The application filters
|
|
6020
|
+
*/
|
|
6021
|
+
aApplicationFilters?: Filter[]
|
|
6022
|
+
): Filter | undefined;
|
|
5798
6023
|
/**
|
|
5799
6024
|
* Groups filters according to their path and combines filters on the same path using "OR" and filters on
|
|
5800
6025
|
* different paths using "AND", all multi-filters contained are ANDed.
|
|
@@ -6787,7 +7012,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
6787
7012
|
*/
|
|
6788
7013
|
adjustDeepPath?: Function;
|
|
6789
7014
|
/**
|
|
6790
|
-
* ID of the
|
|
7015
|
+
* ID of the change set that this request belongs to
|
|
6791
7016
|
*/
|
|
6792
7017
|
changeSetId?: string;
|
|
6793
7018
|
/**
|
|
@@ -6810,7 +7035,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
6810
7035
|
* - the HTTP method used for the function import is "POST",
|
|
6811
7036
|
* - the function import returns a single entity,
|
|
6812
7037
|
* - the back-end service must support the "Content-ID" header,
|
|
6813
|
-
* - the back end must allow GET requests relative to this content ID outside the
|
|
7038
|
+
* - the back end must allow GET requests relative to this content ID outside the change set within the
|
|
6814
7039
|
* `$batch` request. The success and error callback functions are called only once, even if there
|
|
6815
7040
|
* are two requests in the `$batch` related to a single call of {@link #callFunction}.
|
|
6816
7041
|
* - If both requests succeed, the success callback is called with the merged data of the POST and the
|
|
@@ -6929,7 +7154,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
6929
7154
|
*/
|
|
6930
7155
|
groupId?: string;
|
|
6931
7156
|
/**
|
|
6932
|
-
* ID of the
|
|
7157
|
+
* ID of the change set that this request should belong to
|
|
6933
7158
|
*/
|
|
6934
7159
|
changeSetId?: string;
|
|
6935
7160
|
/**
|
|
@@ -7021,7 +7246,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7021
7246
|
* The parameter `expand` is supported since 1.78.0. If this parameter is set, the given navigation properties
|
|
7022
7247
|
* are expanded automatically with the same $batch request in which the POST request for the creation is
|
|
7023
7248
|
* contained. Ensure that the batch mode is used and the back-end service supports GET requests relative
|
|
7024
|
-
* to a content ID outside the
|
|
7249
|
+
* to a content ID outside the change set. The success and error callback functions are called only once,
|
|
7025
7250
|
* even if there are two requests in the `$batch` related to a single call of {@link #createEntry}:
|
|
7026
7251
|
*
|
|
7027
7252
|
* - a POST request for creating an entity,
|
|
@@ -7067,7 +7292,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7067
7292
|
*/
|
|
7068
7293
|
batchGroupId?: string;
|
|
7069
7294
|
/**
|
|
7070
|
-
* The ID of the
|
|
7295
|
+
* The ID of the change set that this request should belong to
|
|
7071
7296
|
*/
|
|
7072
7297
|
changeSetId?: string;
|
|
7073
7298
|
/**
|
|
@@ -7090,7 +7315,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7090
7315
|
* GET request. **Note:** The following prerequisites must be fulfilled:
|
|
7091
7316
|
* - batch mode must be enabled; see constructor parameter `useBatch`,
|
|
7092
7317
|
* - the back-end service must support the "Content-ID" header,
|
|
7093
|
-
* - the back end must allow GET requests relative to this content ID outside the
|
|
7318
|
+
* - the back end must allow GET requests relative to this content ID outside the change set within the
|
|
7094
7319
|
* `$batch` request.
|
|
7095
7320
|
*/
|
|
7096
7321
|
expand?: string;
|
|
@@ -8053,7 +8278,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
8053
8278
|
*/
|
|
8054
8279
|
groupId?: string;
|
|
8055
8280
|
/**
|
|
8056
|
-
* ID of the
|
|
8281
|
+
* ID of the change set that this request should belong to
|
|
8057
8282
|
*/
|
|
8058
8283
|
changeSetId?: string;
|
|
8059
8284
|
/**
|
|
@@ -8416,7 +8641,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
8416
8641
|
*/
|
|
8417
8642
|
groupId?: string;
|
|
8418
8643
|
/**
|
|
8419
|
-
* ID of the
|
|
8644
|
+
* ID of the change set that this request should belong to
|
|
8420
8645
|
*/
|
|
8421
8646
|
changeSetId?: string;
|
|
8422
8647
|
/**
|
|
@@ -10234,14 +10459,15 @@ declare module "sap/ui/test/starter/config" {
|
|
|
10234
10459
|
*/
|
|
10235
10460
|
export type CoverageConfiguration = {
|
|
10236
10461
|
/**
|
|
10237
|
-
*
|
|
10238
|
-
* Default is null
|
|
10462
|
+
* A single module or package name, or a list of such names, that should be instrumented. If not given,
|
|
10463
|
+
* all modules are instrumented. Default is null
|
|
10239
10464
|
*/
|
|
10240
|
-
only?: string[];
|
|
10465
|
+
only?: string | string[];
|
|
10241
10466
|
/**
|
|
10242
|
-
*
|
|
10467
|
+
* A single module or package name, or a list of such names, that never should be instrumented. Default
|
|
10468
|
+
* is null
|
|
10243
10469
|
*/
|
|
10244
|
-
never?: string[];
|
|
10470
|
+
never?: string | string[];
|
|
10245
10471
|
|
|
10246
10472
|
branchTracking?: boolean;
|
|
10247
10473
|
/**
|
|
@@ -11309,7 +11535,7 @@ declare module "sap/ui/app/Application" {
|
|
|
11309
11535
|
* Returns the application root component.
|
|
11310
11536
|
*
|
|
11311
11537
|
* @since 1.13.1
|
|
11312
|
-
* @deprecated As of version 1.14.
|
|
11538
|
+
* @deprecated As of version 1.14. superseded by {@link sap.ui.core.Component}.
|
|
11313
11539
|
*
|
|
11314
11540
|
* @returns The root component
|
|
11315
11541
|
*/
|
|
@@ -12391,8 +12617,8 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
12391
12617
|
* ```
|
|
12392
12618
|
*
|
|
12393
12619
|
*
|
|
12394
|
-
* Note that when setting string values, any curly braces in those values need to be escaped,
|
|
12395
|
-
* not interpreted as binding expressions. Use {@link #escapeSettingsValue} to do so.
|
|
12620
|
+
* Note that when setting string values, any curly braces and backslashes in those values need to be escaped,
|
|
12621
|
+
* so they are not interpreted as binding expressions. Use {@link #escapeSettingsValue} to do so.
|
|
12396
12622
|
*
|
|
12397
12623
|
* **Note:** As of version 1.120, providing aggregation content via an object literal is deprecated, in
|
|
12398
12624
|
* case the object's type is given via the property 'Type' as a string, or is derived via the defined type
|
|
@@ -12513,8 +12739,8 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
12513
12739
|
* ```
|
|
12514
12740
|
*
|
|
12515
12741
|
*
|
|
12516
|
-
* Note that when setting string values, any curly braces in those values need to be escaped,
|
|
12517
|
-
* not interpreted as binding expressions. Use {@link #escapeSettingsValue} to do so.
|
|
12742
|
+
* Note that when setting string values, any curly braces and backslashes in those values need to be escaped,
|
|
12743
|
+
* so they are not interpreted as binding expressions. Use {@link #escapeSettingsValue} to do so.
|
|
12518
12744
|
*
|
|
12519
12745
|
* **Note:** As of version 1.120, providing aggregation content via an object literal is deprecated, in
|
|
12520
12746
|
* case the object's type is given via the property 'Type' as a string, or is derived via the defined type
|
|
@@ -12578,17 +12804,46 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
12578
12804
|
);
|
|
12579
12805
|
|
|
12580
12806
|
/**
|
|
12581
|
-
* Escapes the given value so it can be used in the constructor's settings object.
|
|
12582
|
-
*
|
|
12807
|
+
* Escapes the given value so it can be used in the constructor's settings object.
|
|
12808
|
+
*
|
|
12809
|
+
* Use this method when passing static string values that might contain binding syntax characters. Without
|
|
12810
|
+
* escaping, curly braces in strings would be misinterpreted as data binding expressions.
|
|
12811
|
+
*
|
|
12812
|
+
* **Characters that are escaped:**
|
|
12813
|
+
* - `{` (opening curly brace) - binding expression start
|
|
12814
|
+
* - `}` (closing curly brace) - binding expression end
|
|
12815
|
+
* - `\` (backslash) - escape character itself
|
|
12816
|
+
*
|
|
12817
|
+
* Each of the above characters is prefixed with a backslash, e.g. `{foo}` becomes `\{foo\}`.
|
|
12818
|
+
*
|
|
12819
|
+
* **When to use:**
|
|
12820
|
+
* - Static string values containing curly braces that should be displayed literally
|
|
12821
|
+
* - Rendering escaped backslashes (e.g. expecting `\\\\` to result in `\\`)
|
|
12822
|
+
* - User input or external data used as property values in constructors
|
|
12823
|
+
* - JSON content that should not be parsed as bindings
|
|
12824
|
+
*
|
|
12825
|
+
* Example usage:
|
|
12826
|
+
* ```javascript
|
|
12827
|
+
*
|
|
12828
|
+
* new MyControl({
|
|
12829
|
+
* // Without escaping: "{info}" would be interpreted as a binding to the path "info"
|
|
12830
|
+
* // With escaping: displays the literal text "{info}"
|
|
12831
|
+
* text: ManagedObject.escapeSettingsValue("{info}")
|
|
12832
|
+
* });
|
|
12833
|
+
* ```
|
|
12834
|
+
*
|
|
12835
|
+
*
|
|
12836
|
+
* **Note:** This is only needed when setting values via the constructor or {@link #applySettings}. Setter
|
|
12837
|
+
* method calls, e.g. `setText("{info}")` do not interpret binding syntax and thus do not require escaping.
|
|
12583
12838
|
*
|
|
12584
12839
|
* @since 1.52
|
|
12585
12840
|
*
|
|
12586
|
-
* @returns The
|
|
12587
|
-
* (or unchanged, if not of type string)
|
|
12841
|
+
* @returns The escaped string value, or the original value if not a string
|
|
12588
12842
|
*/
|
|
12589
12843
|
static escapeSettingsValue(
|
|
12590
12844
|
/**
|
|
12591
|
-
* Value to escape; only
|
|
12845
|
+
* Value to escape; only strings are escaped, other types (e.g. objects) are returned through unchanged.
|
|
12846
|
+
* Strings nested in objects must be escaped individually.
|
|
12592
12847
|
*/
|
|
12593
12848
|
vValue: any
|
|
12594
12849
|
): any;
|
|
@@ -13263,9 +13518,18 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
13263
13518
|
* Destroys (all) the managed object(s) in the aggregation named `sAggregationName` and empties the aggregation.
|
|
13264
13519
|
* If the aggregation did contain any object, this ManagedObject is marked as changed.
|
|
13265
13520
|
*
|
|
13521
|
+
* **Note:** Destroying an aggregation by calling this method (or indirectly via `destroyXYZ`) does
|
|
13522
|
+
* not call the named aggregation mutators (`setXYZ` for a 0..1 aggregation, `removeXYZ` for
|
|
13523
|
+
* a 0..n aggregation) for the aggregated children. Controls that implement side effects in those methods
|
|
13524
|
+
* therefore must also implement similar side effects in their `destroyXYZ` method.
|
|
13525
|
+
*
|
|
13526
|
+
* While this is understood as inconvenient, it was decided (February 2026, after a thorough investigation),
|
|
13527
|
+
* not to change it. Too many existing controls depend on the current behavior, and, even worse, would have
|
|
13528
|
+
* severe problems with a changed behavior.
|
|
13529
|
+
*
|
|
13266
13530
|
* **Note:** This method is a low-level API as described in the class documentation.
|
|
13267
13531
|
* Applications or frameworks must not use this method to generically destroy all objects in an aggregation.
|
|
13268
|
-
* Use the concrete method destroyXYZ for aggregation 'XYZ' instead.
|
|
13532
|
+
* Use the concrete method `destroyXYZ` for aggregation 'XYZ' instead.
|
|
13269
13533
|
*
|
|
13270
13534
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13271
13535
|
*
|
|
@@ -14506,13 +14770,20 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
14506
14770
|
*/
|
|
14507
14771
|
length?: int;
|
|
14508
14772
|
/**
|
|
14509
|
-
* The initial sort order
|
|
14773
|
+
* The initial sort order
|
|
14510
14774
|
*/
|
|
14511
14775
|
sorter?: Sorter | Sorter[];
|
|
14512
14776
|
/**
|
|
14513
|
-
* The predefined filters for this aggregation
|
|
14777
|
+
* The predefined {@link sap.ui.model.FilterType.Application application filters} for this aggregation where
|
|
14778
|
+
* filter values are constants.
|
|
14514
14779
|
*/
|
|
14515
14780
|
filters?: Filter | Filter[];
|
|
14781
|
+
/**
|
|
14782
|
+
* The predefined {@link sap.ui.model.FilterType.ApplicationBound bound application filters} for this aggregation.
|
|
14783
|
+
* Filter values support binding expressions. The aggregation updates its filters whenever a filter value
|
|
14784
|
+
* changes through data binding. Supported since 1.146.0.
|
|
14785
|
+
*/
|
|
14786
|
+
boundFilters?: Filter | Filter[];
|
|
14516
14787
|
/**
|
|
14517
14788
|
* Name of the key property or a function getting the context as only parameter to calculate a key for entries.
|
|
14518
14789
|
* This can be used to improve update behaviour in models, where a key is not already available.
|
|
@@ -18506,56 +18777,56 @@ declare module "sap/ui/core/CommandExecution" {
|
|
|
18506
18777
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
18507
18778
|
|
|
18508
18779
|
/**
|
|
18780
|
+
* The CommandExecution registers a shortcut when it is added to the dependent aggregation of a control.
|
|
18781
|
+
* The shortcut information is retrieved from the owner components manifest (`/sap.ui5/commands/<command>`).
|
|
18782
|
+
*
|
|
18783
|
+
* You can use a CommandExecution instead of an event handler in XMLViews by using `cmd:` plus the command
|
|
18784
|
+
* name.
|
|
18785
|
+
*
|
|
18786
|
+
* Example for `sap.m.Button`:
|
|
18787
|
+
*
|
|
18788
|
+
*
|
|
18789
|
+
* ```javascript
|
|
18790
|
+
*
|
|
18791
|
+
* <Button press="cmd:MyCommand" />
|
|
18792
|
+
* ```
|
|
18793
|
+
*
|
|
18794
|
+
*
|
|
18795
|
+
* When the press event is fired, the CommandExecution will be triggered and the `execute` event is fired.
|
|
18796
|
+
*
|
|
18797
|
+
* When using commands, the component will create a model named `$cmd`. The model data provides the enabled
|
|
18798
|
+
* and visible state of all CommandExecutions. With that, action-triggering controls (e.g. a button) can
|
|
18799
|
+
* be bound to the enable/visible property of the CommandExecution to centrally control their state.
|
|
18800
|
+
*
|
|
18801
|
+
* **Note: The usage of the `$cmd` model is restricted to `sap.suite.ui.generic`**
|
|
18802
|
+
*
|
|
18803
|
+
* When binding a button's enabled state to this model, it follows the enabled state of the CommandExecution.
|
|
18804
|
+
* The binding path must be relative like `myCommand/enabled`:
|
|
18805
|
+
*
|
|
18806
|
+
*
|
|
18807
|
+
* ```javascript
|
|
18808
|
+
*
|
|
18809
|
+
* <Button press="cmd:MyCommand" enabled="$cmd>MyCommand/enabled" />
|
|
18810
|
+
* ```
|
|
18811
|
+
*
|
|
18812
|
+
*
|
|
18813
|
+
* A CommandExecution can have three states:
|
|
18814
|
+
* - the CommandExecution is visible and enabled. If the configured shortcut is executed, the configured
|
|
18815
|
+
* event handler of this CommandExecution is called
|
|
18816
|
+
* - the CommandExecution is visible but not enabled. If the configured shortcut is executed, neither
|
|
18817
|
+
* the configured event handler of this CommandExecution nor any event handler configured on CommandExecutions
|
|
18818
|
+
* in the ancestor chain is called
|
|
18819
|
+
* - the CommandExecution is not visible. If the configured shortcut is executed, the configured event
|
|
18820
|
+
* handler of this CommandExecution is not called, but the event is propagated to its parent, which can
|
|
18821
|
+
* then handle the event by a configured CommandExecution or propagate the event to its parent, until no
|
|
18822
|
+
* parent exits anymore and the browser can handle the executed shortcut
|
|
18823
|
+
*
|
|
18509
18824
|
* @since 1.70
|
|
18510
18825
|
*/
|
|
18511
18826
|
export default class CommandExecution extends UI5Element {
|
|
18512
18827
|
/**
|
|
18513
18828
|
* Creates and initializes a new CommandExecution.
|
|
18514
18829
|
*
|
|
18515
|
-
* The CommandExecution registers a shortcut when it is added to the dependent aggregation of a control.
|
|
18516
|
-
* The shortcut information is retrieved from the owner components manifest (`/sap.ui5/commands/<command>`).
|
|
18517
|
-
*
|
|
18518
|
-
* You can use a CommandExecution instead of an event handler in XMLViews by using `cmd:` plus the command
|
|
18519
|
-
* name.
|
|
18520
|
-
*
|
|
18521
|
-
* Example for `sap.m.Button`:
|
|
18522
|
-
*
|
|
18523
|
-
*
|
|
18524
|
-
* ```javascript
|
|
18525
|
-
*
|
|
18526
|
-
* <Button press="cmd:MyCommand" />
|
|
18527
|
-
* ```
|
|
18528
|
-
*
|
|
18529
|
-
*
|
|
18530
|
-
* When the press event is fired, the CommandExecution will be triggered and the `execute` event is fired.
|
|
18531
|
-
*
|
|
18532
|
-
* When using commands, the component will create a model named `$cmd`. The model data provides the enabled
|
|
18533
|
-
* and visible state of all CommandExecutions. With that, action-triggering controls (e.g. a button) can
|
|
18534
|
-
* be bound to the enable/visible property of the CommandExecution to centrally control their state.
|
|
18535
|
-
*
|
|
18536
|
-
* **Note: The usage of the `$cmd` model is restricted to `sap.suite.ui.generic`**
|
|
18537
|
-
*
|
|
18538
|
-
* When binding a button's enabled state to this model, it follows the enabled state of the CommandExecution.
|
|
18539
|
-
* The binding path must be relative like `myCommand/enabled`:
|
|
18540
|
-
*
|
|
18541
|
-
*
|
|
18542
|
-
* ```javascript
|
|
18543
|
-
*
|
|
18544
|
-
* <Button press="cmd:MyCommand" enabled="$cmd>MyCommand/enabled" />
|
|
18545
|
-
* ```
|
|
18546
|
-
*
|
|
18547
|
-
*
|
|
18548
|
-
* A CommandExecution can have three states:
|
|
18549
|
-
* - the CommandExecution is visible and enabled. If the configured shortcut is executed, the configured
|
|
18550
|
-
* event handler of this CommandExecution is called
|
|
18551
|
-
* - the CommandExecution is visible but not enabled. If the configured shortcut is executed, neither
|
|
18552
|
-
* the configured event handler of this CommandExecution nor any event handler configured on CommandExecutions
|
|
18553
|
-
* in the ancestor chain is called
|
|
18554
|
-
* - the CommandExecution is not visible. If the configured shortcut is executed, the configured event
|
|
18555
|
-
* handler of this CommandExecution is not called, but the event is propagated to its parent, which can
|
|
18556
|
-
* then handle the event by a configured CommandExecution or propagate the event to its parent, until no
|
|
18557
|
-
* parent exits anymore and the browser can handle the executed shortcut
|
|
18558
|
-
*
|
|
18559
18830
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
18560
18831
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
18561
18832
|
* of the syntax of the settings object.
|
|
@@ -20616,7 +20887,7 @@ declare module "sap/ui/core/ComponentMetadata" {
|
|
|
20616
20887
|
*
|
|
20617
20888
|
* The configuration above can be accessed via `sample.Component.getMetadata().getCustomEntry("my.custom.config")`.
|
|
20618
20889
|
*
|
|
20619
|
-
* @deprecated As of version 1.27.1.
|
|
20890
|
+
* @deprecated As of version 1.27.1. without replacement.
|
|
20620
20891
|
*
|
|
20621
20892
|
* @returns custom Component configuration with the specified key.
|
|
20622
20893
|
*/
|
|
@@ -24530,24 +24801,24 @@ declare module "sap/ui/core/Core" {
|
|
|
24530
24801
|
* ```
|
|
24531
24802
|
*
|
|
24532
24803
|
*
|
|
24533
|
-
* If parts of the theme are at different locations (e.g. because you provide a standard theme like "
|
|
24804
|
+
* If parts of the theme are at different locations (e.g. because you provide a standard theme like "sap_horizon"
|
|
24534
24805
|
* for a custom control library and this self-made part of the standard theme is at a different location
|
|
24535
24806
|
* than the UI5 resources), you can also specify for which control libraries the setting should be used,
|
|
24536
24807
|
* by giving an array with the names of the respective control libraries as second parameter:
|
|
24537
24808
|
* ```javascript
|
|
24538
24809
|
*
|
|
24539
|
-
* sap.ui.getCore().setThemeRoot("
|
|
24810
|
+
* sap.ui.getCore().setThemeRoot("sap_horizon", ["my.own.library"], "https://mythemeserver.com/allThemes");
|
|
24540
24811
|
* ```
|
|
24541
24812
|
*
|
|
24542
24813
|
*
|
|
24543
|
-
* This will cause the
|
|
24814
|
+
* This will cause the Horizon theme to be loaded from the UI5 location for all standard libraries. Resources
|
|
24544
24815
|
* for styling the `my.own.library` controls will be loaded from the configured location:
|
|
24545
24816
|
* ```javascript
|
|
24546
24817
|
*
|
|
24547
|
-
* https://sdk.openui5.org/resources/sap/ui/core/themes/
|
|
24548
|
-
* https://sdk.openui5.org/resources/sap/ui/layout/themes/
|
|
24549
|
-
* https://sdk.openui5.org/resources/sap/m/themes/
|
|
24550
|
-
* https://mythemeserver.com/allThemes/my/own/library/themes/
|
|
24818
|
+
* https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/library.css
|
|
24819
|
+
* https://sdk.openui5.org/resources/sap/ui/layout/themes/sap_horizon/library.css
|
|
24820
|
+
* https://sdk.openui5.org/resources/sap/m/themes/sap_horizon/library.css
|
|
24821
|
+
* https://mythemeserver.com/allThemes/my/own/library/themes/sap_horizon/library.css
|
|
24551
24822
|
* ```
|
|
24552
24823
|
*
|
|
24553
24824
|
*
|
|
@@ -24601,24 +24872,24 @@ declare module "sap/ui/core/Core" {
|
|
|
24601
24872
|
* ```
|
|
24602
24873
|
*
|
|
24603
24874
|
*
|
|
24604
|
-
* If parts of the theme are at different locations (e.g. because you provide a standard theme like "
|
|
24875
|
+
* If parts of the theme are at different locations (e.g. because you provide a standard theme like "sap_horizon"
|
|
24605
24876
|
* for a custom control library and this self-made part of the standard theme is at a different location
|
|
24606
24877
|
* than the UI5 resources), you can also specify for which control libraries the setting should be used,
|
|
24607
24878
|
* by giving an array with the names of the respective control libraries as second parameter:
|
|
24608
24879
|
* ```javascript
|
|
24609
24880
|
*
|
|
24610
|
-
* sap.ui.getCore().setThemeRoot("
|
|
24881
|
+
* sap.ui.getCore().setThemeRoot("sap_horizon", ["my.own.library"], "https://mythemeserver.com/allThemes");
|
|
24611
24882
|
* ```
|
|
24612
24883
|
*
|
|
24613
24884
|
*
|
|
24614
|
-
* This will cause the
|
|
24885
|
+
* This will cause the Horizon theme to be loaded from the UI5 location for all standard libraries. Resources
|
|
24615
24886
|
* for styling the `my.own.library` controls will be loaded from the configured location:
|
|
24616
24887
|
* ```javascript
|
|
24617
24888
|
*
|
|
24618
|
-
* https://sdk.openui5.org/resources/sap/ui/core/themes/
|
|
24619
|
-
* https://sdk.openui5.org/resources/sap/ui/layout/themes/
|
|
24620
|
-
* https://sdk.openui5.org/resources/sap/m/themes/
|
|
24621
|
-
* https://mythemeserver.com/allThemes/my/own/library/themes/
|
|
24889
|
+
* https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/library.css
|
|
24890
|
+
* https://sdk.openui5.org/resources/sap/ui/layout/themes/sap_horizon/library.css
|
|
24891
|
+
* https://sdk.openui5.org/resources/sap/m/themes/sap_horizon/library.css
|
|
24892
|
+
* https://mythemeserver.com/allThemes/my/own/library/themes/sap_horizon/library.css
|
|
24622
24893
|
* ```
|
|
24623
24894
|
*
|
|
24624
24895
|
*
|
|
@@ -27772,7 +28043,7 @@ declare module "sap/ui/core/Element" {
|
|
|
27772
28043
|
/**
|
|
27773
28044
|
* The dependent to add; if empty, nothing is inserted
|
|
27774
28045
|
*/
|
|
27775
|
-
oDependent:
|
|
28046
|
+
oDependent: ManagedObject
|
|
27776
28047
|
): this;
|
|
27777
28048
|
/**
|
|
27778
28049
|
* Adds some dragDropConfig to the aggregation {@link #getDragDropConfig dragDropConfig}.
|
|
@@ -28156,11 +28427,11 @@ declare module "sap/ui/core/Element" {
|
|
|
28156
28427
|
* Gets content of aggregation {@link #getDependents dependents}.
|
|
28157
28428
|
*
|
|
28158
28429
|
* Dependents are not rendered, but their databinding context and lifecycle are bound to the aggregating
|
|
28159
|
-
*
|
|
28430
|
+
* ManagedObject.
|
|
28160
28431
|
*
|
|
28161
28432
|
* @since 1.19
|
|
28162
28433
|
*/
|
|
28163
|
-
getDependents():
|
|
28434
|
+
getDependents(): ManagedObject[];
|
|
28164
28435
|
/**
|
|
28165
28436
|
* Returns the best suitable DOM Element that represents this UI5 Element. By default the DOM Element with
|
|
28166
28437
|
* the same ID as this Element is returned. Subclasses should override this method if the lookup via id
|
|
@@ -28333,8 +28604,8 @@ declare module "sap/ui/core/Element" {
|
|
|
28333
28604
|
oCustomData: CustomData
|
|
28334
28605
|
): int;
|
|
28335
28606
|
/**
|
|
28336
|
-
* Checks for the provided `sap.ui.
|
|
28337
|
-
* returns its index if found or -1 otherwise.
|
|
28607
|
+
* Checks for the provided `sap.ui.base.ManagedObject` in the aggregation {@link #getDependents dependents}.
|
|
28608
|
+
* and returns its index if found or -1 otherwise.
|
|
28338
28609
|
*
|
|
28339
28610
|
* @since 1.19
|
|
28340
28611
|
*
|
|
@@ -28344,7 +28615,7 @@ declare module "sap/ui/core/Element" {
|
|
|
28344
28615
|
/**
|
|
28345
28616
|
* The dependent whose index is looked for
|
|
28346
28617
|
*/
|
|
28347
|
-
oDependent:
|
|
28618
|
+
oDependent: ManagedObject
|
|
28348
28619
|
): int;
|
|
28349
28620
|
/**
|
|
28350
28621
|
* Checks for the provided `sap.ui.core.dnd.DragDropBase` in the aggregation {@link #getDragDropConfig dragDropConfig}.
|
|
@@ -28408,7 +28679,7 @@ declare module "sap/ui/core/Element" {
|
|
|
28408
28679
|
/**
|
|
28409
28680
|
* The dependent to insert; if empty, nothing is inserted
|
|
28410
28681
|
*/
|
|
28411
|
-
oDependent:
|
|
28682
|
+
oDependent: ManagedObject,
|
|
28412
28683
|
/**
|
|
28413
28684
|
* The `0`-based index the dependent should be inserted at; for a negative value of `iIndex`, the dependent
|
|
28414
28685
|
* is inserted at position 0; for a value greater than the current size of the aggregation, the dependent
|
|
@@ -28547,7 +28818,7 @@ declare module "sap/ui/core/Element" {
|
|
|
28547
28818
|
*
|
|
28548
28819
|
* @returns An array of the removed elements (might be empty)
|
|
28549
28820
|
*/
|
|
28550
|
-
removeAllDependents():
|
|
28821
|
+
removeAllDependents(): ManagedObject[];
|
|
28551
28822
|
/**
|
|
28552
28823
|
* Removes all the controls from the aggregation {@link #getDragDropConfig dragDropConfig}.
|
|
28553
28824
|
*
|
|
@@ -28581,8 +28852,8 @@ declare module "sap/ui/core/Element" {
|
|
|
28581
28852
|
/**
|
|
28582
28853
|
* The dependent to remove or its index or id
|
|
28583
28854
|
*/
|
|
28584
|
-
vDependent: int | string |
|
|
28585
|
-
):
|
|
28855
|
+
vDependent: int | string | ManagedObject
|
|
28856
|
+
): ManagedObject | null;
|
|
28586
28857
|
/**
|
|
28587
28858
|
* Removes a dragDropConfig from the aggregation {@link #getDragDropConfig dragDropConfig}.
|
|
28588
28859
|
*
|
|
@@ -28885,13 +29156,13 @@ declare module "sap/ui/core/Element" {
|
|
|
28885
29156
|
|
|
28886
29157
|
/**
|
|
28887
29158
|
* Dependents are not rendered, but their databinding context and lifecycle are bound to the aggregating
|
|
28888
|
-
*
|
|
29159
|
+
* ManagedObject.
|
|
28889
29160
|
*
|
|
28890
29161
|
* @since 1.19
|
|
28891
29162
|
*/
|
|
28892
29163
|
dependents?:
|
|
28893
|
-
|
|
|
28894
|
-
|
|
|
29164
|
+
| ManagedObject[]
|
|
29165
|
+
| ManagedObject
|
|
28895
29166
|
| AggregationBindingInfo
|
|
28896
29167
|
| `{${string}}`;
|
|
28897
29168
|
|
|
@@ -31431,6 +31702,8 @@ declare module "sap/ui/core/Fragment" {
|
|
|
31431
31702
|
/**
|
|
31432
31703
|
* Gets current value of property {@link #getType type}.
|
|
31433
31704
|
*
|
|
31705
|
+
* The Fragment type.
|
|
31706
|
+
*
|
|
31434
31707
|
*
|
|
31435
31708
|
* @returns Value of property `type`
|
|
31436
31709
|
*/
|
|
@@ -31438,6 +31711,8 @@ declare module "sap/ui/core/Fragment" {
|
|
|
31438
31711
|
/**
|
|
31439
31712
|
* Sets a new value for property {@link #getType type}.
|
|
31440
31713
|
*
|
|
31714
|
+
* The Fragment type.
|
|
31715
|
+
*
|
|
31441
31716
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
31442
31717
|
*
|
|
31443
31718
|
*
|
|
@@ -31454,6 +31729,9 @@ declare module "sap/ui/core/Fragment" {
|
|
|
31454
31729
|
* Describes the settings that can be provided to the Fragment constructor.
|
|
31455
31730
|
*/
|
|
31456
31731
|
export interface $FragmentSettings extends $ManagedObjectSettings {
|
|
31732
|
+
/**
|
|
31733
|
+
* The Fragment type.
|
|
31734
|
+
*/
|
|
31457
31735
|
type?: string | PropertyBindingInfo;
|
|
31458
31736
|
|
|
31459
31737
|
fragmentName?: string;
|
|
@@ -34235,8 +34513,9 @@ declare module "sap/ui/core/Lib" {
|
|
|
34235
34513
|
* is e.g. useful when an application merges the CSS for multiple libraries and already loaded the resulting
|
|
34236
34514
|
* stylesheet.
|
|
34237
34515
|
*
|
|
34238
|
-
*
|
|
34239
|
-
*
|
|
34516
|
+
*
|
|
34517
|
+
* - If a list of library `dependencies` is specified in the info object, those libraries will be loaded
|
|
34518
|
+
* synchronously if they haven't been loaded yet.
|
|
34240
34519
|
*
|
|
34241
34520
|
* **Note:** Dependencies between libraries have to be modeled consistently in several places:
|
|
34242
34521
|
* - Both eager and lazy dependencies have to be modelled in the `.library` file.
|
|
@@ -34267,10 +34546,72 @@ declare module "sap/ui/core/Lib" {
|
|
|
34267
34546
|
* Library API-Version 2:
|
|
34268
34547
|
*
|
|
34269
34548
|
* The Library API Version 2 has been introduced to avoid access to the global namespace when retrieving
|
|
34270
|
-
* enum types. With Library API Version 2 a library must declare its enum types via {@link
|
|
34549
|
+
* enum types. With Library API Version 2 a library must declare its enum types via {@link sap.ui.base.DataType.registerEnum }
|
|
34550
|
+
* as described in the "Defining Enums" section below.
|
|
34551
|
+
*
|
|
34552
|
+
* Library API version 2 is defined as a number (int) in the library's `init()` call:
|
|
34553
|
+
* ```javascript
|
|
34554
|
+
*
|
|
34555
|
+
* var thisLib = Library.init({
|
|
34556
|
+
* apiVersion: 2,
|
|
34557
|
+
* name: "my.library",
|
|
34558
|
+
* ...
|
|
34559
|
+
* });
|
|
34560
|
+
* ```
|
|
34561
|
+
*
|
|
34562
|
+
*
|
|
34563
|
+
* **Important:** The object returned by `Library.init()` should be used as the return value of the `library.js`
|
|
34564
|
+
* module.
|
|
34565
|
+
*
|
|
34566
|
+
* **Defining Enums**
|
|
34567
|
+
*
|
|
34568
|
+
* Enums that are exposed through a library (not as separate modules) should be defined as properties on
|
|
34569
|
+
* the object returned by `Library.init()`. Each enum must be registered via {@link sap.ui.base.DataType.registerEnum }
|
|
34570
|
+
* to make it available to the framework.
|
|
34571
|
+
*
|
|
34572
|
+
* Example for a simple enum definition:
|
|
34573
|
+
* ```javascript
|
|
34574
|
+
*
|
|
34575
|
+
* // The return value "thisLib" will be used to expose enums
|
|
34576
|
+
* var thisLib = Library.init({
|
|
34577
|
+
* apiVersion: 2,
|
|
34578
|
+
* name: "my.library",
|
|
34579
|
+
* ...
|
|
34580
|
+
* });
|
|
34581
|
+
*
|
|
34582
|
+
* // Note that enum keys and values must match
|
|
34583
|
+
* thisLib.MyEnumType = {
|
|
34584
|
+
* Small: "Small",
|
|
34585
|
+
* Medium: "Medium",
|
|
34586
|
+
* Large: "Large"
|
|
34587
|
+
* };
|
|
34588
|
+
*
|
|
34589
|
+
* // make sure to register the enum and make it know to the framework for later type checks
|
|
34590
|
+
* DataType.registerEnum("my.library.MyEnumType", thisLib.MyEnumType);
|
|
34591
|
+
* ```
|
|
34592
|
+
*
|
|
34271
34593
|
*
|
|
34594
|
+
* **Special case: enums in nested namespaces**
|
|
34272
34595
|
*
|
|
34273
|
-
*
|
|
34596
|
+
* Ensure to create the namespace first and then define the enum:
|
|
34597
|
+
*
|
|
34598
|
+
*
|
|
34599
|
+
* ```javascript
|
|
34600
|
+
*
|
|
34601
|
+
* thisLib.cards = thisLib.cards || {};
|
|
34602
|
+
*
|
|
34603
|
+
* thisLib.cards.HeaderPosition = {
|
|
34604
|
+
* Top: "Top",
|
|
34605
|
+
* Bottom: "Bottom"
|
|
34606
|
+
* };
|
|
34607
|
+
*
|
|
34608
|
+
* DataType.registerEnum("my.library.cards.HeaderPosition", thisLib.cards.HeaderPosition);
|
|
34609
|
+
* ```
|
|
34610
|
+
*
|
|
34611
|
+
*
|
|
34612
|
+
*
|
|
34613
|
+
* @returns Returns an object with the exports of the library (enums, helpers, ...). This object should
|
|
34614
|
+
* be used as the return value of the `library.js` module from which `Library.init` is called.
|
|
34274
34615
|
*/
|
|
34275
34616
|
static init(
|
|
34276
34617
|
/**
|
|
@@ -38701,15 +39042,15 @@ declare module "sap/ui/core/mvc/View" {
|
|
|
38701
39042
|
*/
|
|
38702
39043
|
sViewType: string,
|
|
38703
39044
|
/**
|
|
38704
|
-
*
|
|
38705
|
-
*
|
|
38706
|
-
*
|
|
39045
|
+
* Deprecated as of version 1.145, because this parameter is only applicable to sync views and is no longer
|
|
39046
|
+
* used. Declares if the vPreprocessor ensures safe sync processing. This means the preprocessor will be
|
|
39047
|
+
* executed also for sync views. Please be aware that any kind of async processing (like Promises, XHR,
|
|
39048
|
+
* etc) may break the view initialization and lead to unexpected results.
|
|
38707
39049
|
*/
|
|
38708
39050
|
bSyncSupport: boolean,
|
|
38709
39051
|
/**
|
|
38710
39052
|
* on-demand preprocessor which enables developers to quickly activate the preprocessor for a view, by setting
|
|
38711
|
-
* `preprocessors : { xml }`, for example.
|
|
38712
|
-
* only be one on-demand preprocessor per content type.
|
|
39053
|
+
* `preprocessors : { xml }`, for example. There can only be one on-demand preprocessor per content type.
|
|
38713
39054
|
*/
|
|
38714
39055
|
bOnDemand?: boolean,
|
|
38715
39056
|
/**
|
|
@@ -39709,7 +40050,8 @@ declare module "sap/ui/core/mvc/ViewType" {
|
|
|
39709
40050
|
/**
|
|
39710
40051
|
* JS View
|
|
39711
40052
|
*
|
|
39712
|
-
* @deprecated As of version 1.90.
|
|
40053
|
+
* @deprecated As of version 1.90. Consider using {@link sap.ui.core.mvx.XMLView XMLViews} or "typed views"
|
|
40054
|
+
* (view classes written in JavaScript) instead.
|
|
39713
40055
|
*/
|
|
39714
40056
|
JS = "JS",
|
|
39715
40057
|
/**
|
|
@@ -39722,7 +40064,8 @@ declare module "sap/ui/core/mvc/ViewType" {
|
|
|
39722
40064
|
/**
|
|
39723
40065
|
* Template View
|
|
39724
40066
|
*
|
|
39725
|
-
* @deprecated As of version 1.56.
|
|
40067
|
+
* @deprecated As of version 1.56. Consider using {@link sap.ui.core.mvx.XMLView XMLViews} or "typed views"
|
|
40068
|
+
* (view classes written in JavaScript) instead.
|
|
39726
40069
|
*/
|
|
39727
40070
|
Template = "Template",
|
|
39728
40071
|
/**
|
|
@@ -39962,9 +40305,10 @@ declare module "sap/ui/core/mvc/XMLView" {
|
|
|
39962
40305
|
*/
|
|
39963
40306
|
sViewType: string,
|
|
39964
40307
|
/**
|
|
39965
|
-
*
|
|
39966
|
-
*
|
|
39967
|
-
*
|
|
40308
|
+
* Deprecated as of version 1.145, because this parameter is only applicable to sync views and is no longer
|
|
40309
|
+
* used. Declares if the vPreprocessor ensures safe sync processing. This means the preprocessor will be
|
|
40310
|
+
* executed also for sync views. Please be aware that any kind of async processing (like Promises, XHR,
|
|
40311
|
+
* etc) may break the view initialization and lead to unexpected results.
|
|
39968
40312
|
*/
|
|
39969
40313
|
bSyncSupport: boolean,
|
|
39970
40314
|
/**
|
|
@@ -40007,9 +40351,10 @@ declare module "sap/ui/core/mvc/XMLView" {
|
|
|
40007
40351
|
| string
|
|
40008
40352
|
| ((p1: Object, p2: Preprocessor.ViewInfo, p3: object) => void),
|
|
40009
40353
|
/**
|
|
40010
|
-
*
|
|
40011
|
-
*
|
|
40012
|
-
*
|
|
40354
|
+
* Deprecated as of version 1.145, because this parameter is only applicable to sync views and is no longer
|
|
40355
|
+
* used. Declares if the vPreprocessor ensures safe sync processing. This means the preprocessor will be
|
|
40356
|
+
* executed also for sync views. Please be aware that any kind of async processing (like Promises, XHR,
|
|
40357
|
+
* etc) may break the view initialization and lead to unexpected results.
|
|
40013
40358
|
*/
|
|
40014
40359
|
bSyncSupport: boolean,
|
|
40015
40360
|
/**
|
|
@@ -40363,6 +40708,9 @@ declare module "sap/ui/core/Popup" {
|
|
|
40363
40708
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
40364
40709
|
* otherwise it will be bound to this `sap.ui.core.Popup` itself.
|
|
40365
40710
|
*
|
|
40711
|
+
* Fired when the popup has completely closed (after any animation).
|
|
40712
|
+
*
|
|
40713
|
+
* @since 1.2
|
|
40366
40714
|
*
|
|
40367
40715
|
* @returns Reference to `this` in order to allow method chaining
|
|
40368
40716
|
*/
|
|
@@ -40387,6 +40735,9 @@ declare module "sap/ui/core/Popup" {
|
|
|
40387
40735
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
40388
40736
|
* otherwise it will be bound to this `sap.ui.core.Popup` itself.
|
|
40389
40737
|
*
|
|
40738
|
+
* Fired when the popup has completely closed (after any animation).
|
|
40739
|
+
*
|
|
40740
|
+
* @since 1.2
|
|
40390
40741
|
*
|
|
40391
40742
|
* @returns Reference to `this` in order to allow method chaining
|
|
40392
40743
|
*/
|
|
@@ -40406,6 +40757,9 @@ declare module "sap/ui/core/Popup" {
|
|
|
40406
40757
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
40407
40758
|
* otherwise it will be bound to this `sap.ui.core.Popup` itself.
|
|
40408
40759
|
*
|
|
40760
|
+
* Fired when the popup has completely opened (after any animation).
|
|
40761
|
+
*
|
|
40762
|
+
* @since 1.2
|
|
40409
40763
|
*
|
|
40410
40764
|
* @returns Reference to `this` in order to allow method chaining
|
|
40411
40765
|
*/
|
|
@@ -40430,6 +40784,9 @@ declare module "sap/ui/core/Popup" {
|
|
|
40430
40784
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
40431
40785
|
* otherwise it will be bound to this `sap.ui.core.Popup` itself.
|
|
40432
40786
|
*
|
|
40787
|
+
* Fired when the popup has completely opened (after any animation).
|
|
40788
|
+
*
|
|
40789
|
+
* @since 1.2
|
|
40433
40790
|
*
|
|
40434
40791
|
* @returns Reference to `this` in order to allow method chaining
|
|
40435
40792
|
*/
|
|
@@ -40467,6 +40824,7 @@ declare module "sap/ui/core/Popup" {
|
|
|
40467
40824
|
*
|
|
40468
40825
|
* The passed function and listener object must match the ones used for event registration.
|
|
40469
40826
|
*
|
|
40827
|
+
* @since 1.2
|
|
40470
40828
|
*
|
|
40471
40829
|
* @returns Reference to `this` in order to allow method chaining
|
|
40472
40830
|
*/
|
|
@@ -40485,6 +40843,7 @@ declare module "sap/ui/core/Popup" {
|
|
|
40485
40843
|
*
|
|
40486
40844
|
* The passed function and listener object must match the ones used for event registration.
|
|
40487
40845
|
*
|
|
40846
|
+
* @since 1.2
|
|
40488
40847
|
*
|
|
40489
40848
|
* @returns Reference to `this` in order to allow method chaining
|
|
40490
40849
|
*/
|
|
@@ -40506,6 +40865,7 @@ declare module "sap/ui/core/Popup" {
|
|
|
40506
40865
|
/**
|
|
40507
40866
|
* Fires event {@link #event:closed closed} to attached listeners.
|
|
40508
40867
|
*
|
|
40868
|
+
* @since 1.2
|
|
40509
40869
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
40510
40870
|
*
|
|
40511
40871
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -40519,6 +40879,7 @@ declare module "sap/ui/core/Popup" {
|
|
|
40519
40879
|
/**
|
|
40520
40880
|
* Fires event {@link #event:opened opened} to attached listeners.
|
|
40521
40881
|
*
|
|
40882
|
+
* @since 1.2
|
|
40522
40883
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
40523
40884
|
*
|
|
40524
40885
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -40874,34 +41235,65 @@ declare module "sap/ui/core/Popup" {
|
|
|
40874
41235
|
* This enum is part of the 'sap/ui/core/Popup' module export and must be accessed by the property 'Dock'.
|
|
40875
41236
|
*/
|
|
40876
41237
|
enum Dock {
|
|
41238
|
+
/**
|
|
41239
|
+
* Docks the popup at the begin of the reference element, at the bottom.
|
|
41240
|
+
*/
|
|
40877
41241
|
BeginBottom = "BeginBottom",
|
|
40878
|
-
|
|
41242
|
+
/**
|
|
41243
|
+
* Docks the popup at the begin of the reference element, vertically centered.
|
|
41244
|
+
*/
|
|
40879
41245
|
BeginCenter = "BeginCenter",
|
|
40880
|
-
|
|
41246
|
+
/**
|
|
41247
|
+
* Docks the popup at the begin of the reference element, at the top.
|
|
41248
|
+
*/
|
|
40881
41249
|
BeginTop = "BeginTop",
|
|
40882
|
-
|
|
41250
|
+
/**
|
|
41251
|
+
* Docks the popup horizontally centered to the reference element, at the bottom.
|
|
41252
|
+
*/
|
|
40883
41253
|
CenterBottom = "CenterBottom",
|
|
40884
|
-
|
|
41254
|
+
/**
|
|
41255
|
+
* Docks the popup horizontally and vertically centered to the reference element.
|
|
41256
|
+
*/
|
|
40885
41257
|
CenterCenter = "CenterCenter",
|
|
40886
|
-
|
|
41258
|
+
/**
|
|
41259
|
+
* Docks the popup horizontally centered to the reference element, at the top.
|
|
41260
|
+
*/
|
|
40887
41261
|
CenterTop = "CenterTop",
|
|
40888
|
-
|
|
41262
|
+
/**
|
|
41263
|
+
* Docks the popup at the end of the reference element, at the bottom.
|
|
41264
|
+
*/
|
|
40889
41265
|
EndBottom = "EndBottom",
|
|
40890
|
-
|
|
41266
|
+
/**
|
|
41267
|
+
* Docks the popup at the end of the reference element, vertically centered.
|
|
41268
|
+
*/
|
|
40891
41269
|
EndCenter = "EndCenter",
|
|
40892
|
-
|
|
41270
|
+
/**
|
|
41271
|
+
* Docks the popup at the end of the reference element, at the top.
|
|
41272
|
+
*/
|
|
40893
41273
|
EndTop = "EndTop",
|
|
40894
|
-
|
|
41274
|
+
/**
|
|
41275
|
+
* Docks the popup at the left side of the reference element, at the bottom.
|
|
41276
|
+
*/
|
|
40895
41277
|
LeftBottom = "LeftBottom",
|
|
40896
|
-
|
|
41278
|
+
/**
|
|
41279
|
+
* Docks the popup at the left side of the reference element, vertically centered.
|
|
41280
|
+
*/
|
|
40897
41281
|
LeftCenter = "LeftCenter",
|
|
40898
|
-
|
|
41282
|
+
/**
|
|
41283
|
+
* Docks the popup at the left side of the reference element, at the top.
|
|
41284
|
+
*/
|
|
40899
41285
|
LeftTop = "LeftTop",
|
|
40900
|
-
|
|
41286
|
+
/**
|
|
41287
|
+
* Docks the popup at the right side of the reference element, at the bottom.
|
|
41288
|
+
*/
|
|
40901
41289
|
RightBottom = "RightBottom",
|
|
40902
|
-
|
|
41290
|
+
/**
|
|
41291
|
+
* Docks the popup at the right side of the reference element, vertically centered.
|
|
41292
|
+
*/
|
|
40903
41293
|
RightCenter = "RightCenter",
|
|
40904
|
-
|
|
41294
|
+
/**
|
|
41295
|
+
* Docks the popup at the right side of the reference element, at the top.
|
|
41296
|
+
*/
|
|
40905
41297
|
RightTop = "RightTop",
|
|
40906
41298
|
}
|
|
40907
41299
|
|
|
@@ -40924,8 +41316,18 @@ declare module "sap/ui/core/Popup" {
|
|
|
40924
41316
|
* Describes the settings that can be provided to the Popup constructor.
|
|
40925
41317
|
*/
|
|
40926
41318
|
export interface $PopupSettings extends $ManagedObjectSettings {
|
|
41319
|
+
/**
|
|
41320
|
+
* Fired when the popup has completely opened (after any animation).
|
|
41321
|
+
*
|
|
41322
|
+
* @since 1.2
|
|
41323
|
+
*/
|
|
40927
41324
|
opened?: (oEvent: Event) => void;
|
|
40928
41325
|
|
|
41326
|
+
/**
|
|
41327
|
+
* Fired when the popup has completely closed (after any animation).
|
|
41328
|
+
*
|
|
41329
|
+
* @since 1.2
|
|
41330
|
+
*/
|
|
40929
41331
|
closed?: (oEvent: Event) => void;
|
|
40930
41332
|
}
|
|
40931
41333
|
|
|
@@ -43188,34 +43590,6 @@ declare module "sap/ui/core/routing/Target" {
|
|
|
43188
43590
|
* @returns Metadata object describing this class
|
|
43189
43591
|
*/
|
|
43190
43592
|
static getMetadata(): Metadata;
|
|
43191
|
-
/**
|
|
43192
|
-
* This function is called between the target view is loaded and the view is added to the container.
|
|
43193
|
-
*
|
|
43194
|
-
* This function can be used for applying modification on the view or the container to make the rerendering
|
|
43195
|
-
* occur together with the later aggregation change.
|
|
43196
|
-
*
|
|
43197
|
-
* @since 1.46.1
|
|
43198
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
43199
|
-
*/
|
|
43200
|
-
_beforePlacingViewIntoContainer(
|
|
43201
|
-
/**
|
|
43202
|
-
* the object containing the arguments
|
|
43203
|
-
*/
|
|
43204
|
-
mArguments: {
|
|
43205
|
-
/**
|
|
43206
|
-
* the container where the view will be added
|
|
43207
|
-
*/
|
|
43208
|
-
container: Control;
|
|
43209
|
-
/**
|
|
43210
|
-
* the view which will be added to the container
|
|
43211
|
-
*/
|
|
43212
|
-
view: Control;
|
|
43213
|
-
/**
|
|
43214
|
-
* the data passed from {@link sap.ui.core.routing.Target#display} method
|
|
43215
|
-
*/
|
|
43216
|
-
data?: object;
|
|
43217
|
-
}
|
|
43218
|
-
): void;
|
|
43219
43593
|
/**
|
|
43220
43594
|
* Attaches event handler `fnFunction` to the {@link #event:display display} event of this `sap.ui.core.routing.Target`.
|
|
43221
43595
|
*
|
|
@@ -43259,6 +43633,37 @@ declare module "sap/ui/core/routing/Target" {
|
|
|
43259
43633
|
*/
|
|
43260
43634
|
oListener?: object
|
|
43261
43635
|
): this;
|
|
43636
|
+
/**
|
|
43637
|
+
* This function is called between the target view is loaded and the view is added to the container.
|
|
43638
|
+
*
|
|
43639
|
+
* This function can be used for applying modification on the view or the container to make the rerendering
|
|
43640
|
+
* occur together with the later aggregation change.
|
|
43641
|
+
*
|
|
43642
|
+
* **Note:** This function was previously named `_beforePlacingViewIntoContainer` (with a leading underscore)
|
|
43643
|
+
* and has been renamed to be protected instead of private.
|
|
43644
|
+
*
|
|
43645
|
+
* @since 1.46.1
|
|
43646
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
43647
|
+
*/
|
|
43648
|
+
beforePlacingViewIntoContainer(
|
|
43649
|
+
/**
|
|
43650
|
+
* the object containing the arguments
|
|
43651
|
+
*/
|
|
43652
|
+
mArguments: {
|
|
43653
|
+
/**
|
|
43654
|
+
* the container where the view will be added
|
|
43655
|
+
*/
|
|
43656
|
+
container: Control;
|
|
43657
|
+
/**
|
|
43658
|
+
* the view which will be added to the container
|
|
43659
|
+
*/
|
|
43660
|
+
view: Control;
|
|
43661
|
+
/**
|
|
43662
|
+
* the data passed from {@link sap.ui.core.routing.Target#display} method
|
|
43663
|
+
*/
|
|
43664
|
+
data?: object;
|
|
43665
|
+
}
|
|
43666
|
+
): void;
|
|
43262
43667
|
/**
|
|
43263
43668
|
* Destroys the target, will be called by {@link sap.m.routing.Targets} don't call this directly.
|
|
43264
43669
|
*
|
|
@@ -46924,8 +47329,6 @@ declare module "sap/ui/core/support/RuleEngineOpaExtension" {
|
|
|
46924
47329
|
}
|
|
46925
47330
|
|
|
46926
47331
|
declare module "sap/ui/core/theming/Parameters" {
|
|
46927
|
-
import UI5Element from "sap/ui/core/Element";
|
|
46928
|
-
|
|
46929
47332
|
/**
|
|
46930
47333
|
* A helper used for (read-only) access to CSS parameters at runtime.
|
|
46931
47334
|
*/
|
|
@@ -46962,7 +47365,7 @@ declare module "sap/ui/core/theming/Parameters" {
|
|
|
46962
47365
|
get(
|
|
46963
47366
|
/**
|
|
46964
47367
|
* the (array with) CSS parameter name(s) or an object containing the (array with) CSS parameter name(s),
|
|
46965
|
-
*
|
|
47368
|
+
* and a callback for async retrieval of parameters.
|
|
46966
47369
|
*/
|
|
46967
47370
|
vName:
|
|
46968
47371
|
| string
|
|
@@ -46972,22 +47375,12 @@ declare module "sap/ui/core/theming/Parameters" {
|
|
|
46972
47375
|
* the (array with) CSS parameter name(s)
|
|
46973
47376
|
*/
|
|
46974
47377
|
name: string | string[];
|
|
46975
|
-
/**
|
|
46976
|
-
* Element / control instance to take into account when looking for a parameter value. This can make a difference
|
|
46977
|
-
* when a parameter value is overridden in a theme scope set via a CSS class.
|
|
46978
|
-
*/
|
|
46979
|
-
scopeElement?: UI5Element;
|
|
46980
47378
|
/**
|
|
46981
47379
|
* If given, the callback is only executed in case there are still parameters pending and one or more of
|
|
46982
47380
|
* the requested parameters is missing.
|
|
46983
47381
|
*/
|
|
46984
47382
|
callback?: (p1: Value) => void;
|
|
46985
|
-
}
|
|
46986
|
-
/**
|
|
46987
|
-
* Element / control instance to take into account when looking for a parameter value. This can make a difference
|
|
46988
|
-
* when a parameter value is overridden in a theme scope set via a CSS class.
|
|
46989
|
-
*/
|
|
46990
|
-
oElement?: UI5Element
|
|
47383
|
+
}
|
|
46991
47384
|
): Value;
|
|
46992
47385
|
/**
|
|
46993
47386
|
* Resets the CSS parameters which finally will reload the parameters the next time they are queried via
|
|
@@ -51755,16 +52148,29 @@ declare module "sap/ui/core/util/MockServer" {
|
|
|
51755
52148
|
* 'HTTPMETHOD'.
|
|
51756
52149
|
*/
|
|
51757
52150
|
enum HTTPMETHOD {
|
|
52151
|
+
/**
|
|
52152
|
+
* HTTP DELETE method.
|
|
52153
|
+
*/
|
|
51758
52154
|
DELETE = "DELETE",
|
|
51759
|
-
|
|
52155
|
+
/**
|
|
52156
|
+
* HTTP GET method.
|
|
52157
|
+
*/
|
|
51760
52158
|
GET = "GET",
|
|
51761
|
-
|
|
52159
|
+
/**
|
|
52160
|
+
* HTTP MERGE method.
|
|
52161
|
+
*/
|
|
51762
52162
|
MERGE = "MERGE",
|
|
51763
|
-
|
|
52163
|
+
/**
|
|
52164
|
+
* HTTP PATCH method.
|
|
52165
|
+
*/
|
|
51764
52166
|
PATCH = "PATCH",
|
|
51765
|
-
|
|
52167
|
+
/**
|
|
52168
|
+
* HTTP POST method.
|
|
52169
|
+
*/
|
|
51766
52170
|
POST = "POST",
|
|
51767
|
-
|
|
52171
|
+
/**
|
|
52172
|
+
* HTTP PUT method.
|
|
52173
|
+
*/
|
|
51768
52174
|
PUT = "PUT",
|
|
51769
52175
|
}
|
|
51770
52176
|
|
|
@@ -54011,7 +54417,7 @@ declare module "sap/ui/Device" {
|
|
|
54011
54417
|
* have the possibility to customize the user agent, and to explicitly add this information.
|
|
54012
54418
|
*
|
|
54013
54419
|
* @since 1.31.0
|
|
54014
|
-
* @deprecated As of version 1.98.
|
|
54420
|
+
* @deprecated As of version 1.98. without replacement, refer to the above note.
|
|
54015
54421
|
*/
|
|
54016
54422
|
export const webview: boolean;
|
|
54017
54423
|
|
|
@@ -58183,7 +58589,9 @@ declare module "sap/ui/model/ClientListBinding" {
|
|
|
58183
58589
|
aFilters?: Filter[] | Filter,
|
|
58184
58590
|
/**
|
|
58185
58591
|
* The type of the filter to replace; if no type is given, all filters previously configured with type {@link sap.ui.model.FilterType.Application }
|
|
58186
|
-
* are cleared, and the given filters are used as filters of type {@link sap.ui.model.FilterType.Control}
|
|
58592
|
+
* are cleared, and the given filters are used as filters of type {@link sap.ui.model.FilterType.Control}.
|
|
58593
|
+
* Since 1.146.0, you may use {@link sap.ui.model.FilterType.ApplicationBound} to set bound application
|
|
58594
|
+
* filters.
|
|
58187
58595
|
*/
|
|
58188
58596
|
sFilterType?: FilterType | keyof typeof FilterType
|
|
58189
58597
|
): this;
|
|
@@ -58228,6 +58636,8 @@ declare module "sap/ui/model/ClientModel" {
|
|
|
58228
58636
|
|
|
58229
58637
|
import Context from "sap/ui/model/Context";
|
|
58230
58638
|
|
|
58639
|
+
import ClientContextBinding from "sap/ui/model/ClientContextBinding";
|
|
58640
|
+
|
|
58231
58641
|
import PropertyBinding from "sap/ui/model/PropertyBinding";
|
|
58232
58642
|
|
|
58233
58643
|
import Metadata from "sap/ui/base/Metadata";
|
|
@@ -58277,6 +58687,26 @@ declare module "sap/ui/model/ClientModel" {
|
|
|
58277
58687
|
* @returns Metadata object describing this class
|
|
58278
58688
|
*/
|
|
58279
58689
|
static getMetadata(): Metadata;
|
|
58690
|
+
/**
|
|
58691
|
+
* Creates a `sap.ui.model.ClientContextBinding`.
|
|
58692
|
+
*
|
|
58693
|
+
*
|
|
58694
|
+
* @returns The newly created `ClientContextBinding`
|
|
58695
|
+
*/
|
|
58696
|
+
bindContext(
|
|
58697
|
+
/**
|
|
58698
|
+
* The path pointing to the property that should be bound
|
|
58699
|
+
*/
|
|
58700
|
+
sPath: string,
|
|
58701
|
+
/**
|
|
58702
|
+
* The context object for this databinding
|
|
58703
|
+
*/
|
|
58704
|
+
oContext?: Context,
|
|
58705
|
+
/**
|
|
58706
|
+
* Additional model-specific parameters
|
|
58707
|
+
*/
|
|
58708
|
+
mParameters?: object
|
|
58709
|
+
): ClientContextBinding;
|
|
58280
58710
|
/**
|
|
58281
58711
|
* Creates a new property binding for this model.
|
|
58282
58712
|
* See:
|
|
@@ -58301,14 +58731,14 @@ declare module "sap/ui/model/ClientModel" {
|
|
|
58301
58731
|
*/
|
|
58302
58732
|
mParameters?: {
|
|
58303
58733
|
/**
|
|
58304
|
-
* Whether this binding
|
|
58305
|
-
* composite types like {@link sap.ui.model.type.Currency} automatically ignore model messages
|
|
58306
|
-
* of their parts depending on their format options
|
|
58307
|
-
* the automatism of the type.
|
|
58734
|
+
* Whether this binding ignores model messages instead of propagating them to the control. Supported since
|
|
58735
|
+
* 1.119.0. Some composite types like {@link sap.ui.model.type.Currency} automatically ignore model messages
|
|
58736
|
+
* for some of their parts, depending on their format options. Setting this parameter to `true` or `false`
|
|
58737
|
+
* overrules the automatism of the type.
|
|
58308
58738
|
*
|
|
58309
|
-
*
|
|
58310
|
-
* of decimals, but the currency code is not displayed in the attached control. In
|
|
58311
|
-
* the currency code
|
|
58739
|
+
* **Example:** A binding for a currency code is used in a composite binding for rendering the proper number
|
|
58740
|
+
* of decimals, but the currency code itself is not displayed in the attached control. In this case, messages
|
|
58741
|
+
* for the currency code aren't displayed at that control, only messages for the amount.
|
|
58312
58742
|
*/
|
|
58313
58743
|
ignoreMessages?: boolean;
|
|
58314
58744
|
}
|
|
@@ -58560,7 +58990,9 @@ declare module "sap/ui/model/ClientTreeBinding" {
|
|
|
58560
58990
|
aFilters?: Filter[] | Filter,
|
|
58561
58991
|
/**
|
|
58562
58992
|
* The type of the filter to replace; if no type is given, all filters previously configured with type {@link sap.ui.model.FilterType.Application }
|
|
58563
|
-
* are cleared, and the given filters are used as filters of type {@link sap.ui.model.FilterType.Control}
|
|
58993
|
+
* are cleared, and the given filters are used as filters of type {@link sap.ui.model.FilterType.Control}.
|
|
58994
|
+
* Since 1.146.0, you may use {@link sap.ui.model.FilterType.ApplicationBound} to set bound application
|
|
58995
|
+
* filters.
|
|
58564
58996
|
*/
|
|
58565
58997
|
sFilterType?: FilterType | keyof typeof FilterType
|
|
58566
58998
|
): this;
|
|
@@ -60240,9 +60672,20 @@ declare module "sap/ui/model/FilterType" {
|
|
|
60240
60672
|
*/
|
|
60241
60673
|
enum FilterType {
|
|
60242
60674
|
/**
|
|
60243
|
-
* Filters which are provided by the application.
|
|
60675
|
+
* Filters which are provided by the application and have constant values. Filters defined via the property
|
|
60676
|
+
* `filters` in {@link sap.ui.base.ManagedObject.AggregationBindingInfo} have this type. Filters of this
|
|
60677
|
+
* type are called "unbound application filters".
|
|
60244
60678
|
*/
|
|
60245
60679
|
Application = "Application",
|
|
60680
|
+
/**
|
|
60681
|
+
* Filters provided by the application that may have values which are binding expressions. Filters defined
|
|
60682
|
+
* via the property `boundFilters` in {@link sap.ui.base.ManagedObject.AggregationBindingInfo} have this
|
|
60683
|
+
* type. Filters of this type are called "bound application filters". When a filter value changes through
|
|
60684
|
+
* data binding, the aggregation binding that uses this filter is filtered automatically.
|
|
60685
|
+
*
|
|
60686
|
+
* @since 1.146.0
|
|
60687
|
+
*/
|
|
60688
|
+
ApplicationBound = "ApplicationBound",
|
|
60246
60689
|
/**
|
|
60247
60690
|
* Filters which are set by a control itself.
|
|
60248
60691
|
*
|
|
@@ -60278,66 +60721,36 @@ declare module "sap/ui/model/FormatException" {
|
|
|
60278
60721
|
declare module "sap/ui/model/json/JSONListBinding" {
|
|
60279
60722
|
import ClientListBinding from "sap/ui/model/ClientListBinding";
|
|
60280
60723
|
|
|
60281
|
-
import JSONModel from "sap/ui/model/json/JSONModel";
|
|
60282
|
-
|
|
60283
|
-
import Context from "sap/ui/model/Context";
|
|
60284
|
-
|
|
60285
|
-
import Sorter from "sap/ui/model/Sorter";
|
|
60286
|
-
|
|
60287
|
-
import Filter from "sap/ui/model/Filter";
|
|
60288
|
-
|
|
60289
60724
|
/**
|
|
60290
|
-
* List binding implementation for JSON
|
|
60725
|
+
* List binding implementation for JSON model.
|
|
60291
60726
|
*
|
|
60292
60727
|
* @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
60293
60728
|
*/
|
|
60294
60729
|
export default class JSONListBinding extends ClientListBinding {
|
|
60295
60730
|
/**
|
|
60296
|
-
* Creates a new JSONListBinding.
|
|
60297
|
-
*
|
|
60298
|
-
* This constructor should only be called by subclasses or model implementations, not by application or
|
|
60299
|
-
* control code. Such code should use {@link sap.ui.model.json.JSONModel#bindList JSONModel#bindList} on
|
|
60300
|
-
* the corresponding model instance instead.
|
|
60301
|
-
*
|
|
60302
60731
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
60303
60732
|
*/
|
|
60304
|
-
protected constructor(
|
|
60305
|
-
/**
|
|
60306
|
-
* Model instance that this binding is created for and that it belongs to
|
|
60307
|
-
*/
|
|
60308
|
-
oModel: JSONModel,
|
|
60309
|
-
/**
|
|
60310
|
-
* Binding path to be used for this binding
|
|
60311
|
-
*/
|
|
60312
|
-
sPath: string,
|
|
60313
|
-
/**
|
|
60314
|
-
* Binding context relative to which a relative binding path will be resolved
|
|
60315
|
-
*/
|
|
60316
|
-
oContext: Context,
|
|
60317
|
-
/**
|
|
60318
|
-
* The sorters used initially; call {@link #sort} to replace them
|
|
60319
|
-
*/
|
|
60320
|
-
aSorters?: Sorter[] | Sorter,
|
|
60321
|
-
/**
|
|
60322
|
-
* The filters to be used initially with type {@link sap.ui.model.FilterType.Application}; call {@link #filter }
|
|
60323
|
-
* to replace them
|
|
60324
|
-
*/
|
|
60325
|
-
aFilters?: Filter[] | Filter,
|
|
60326
|
-
/**
|
|
60327
|
-
* Map of optional parameters as defined by subclasses; this class does not introduce any own parameters
|
|
60328
|
-
*/
|
|
60329
|
-
mParameters?: object
|
|
60330
|
-
);
|
|
60733
|
+
protected constructor();
|
|
60331
60734
|
}
|
|
60332
60735
|
}
|
|
60333
60736
|
|
|
60334
60737
|
declare module "sap/ui/model/json/JSONModel" {
|
|
60335
60738
|
import ClientModel from "sap/ui/model/ClientModel";
|
|
60336
60739
|
|
|
60337
|
-
import Metadata from "sap/ui/base/Metadata";
|
|
60338
|
-
|
|
60339
60740
|
import Context from "sap/ui/model/Context";
|
|
60340
60741
|
|
|
60742
|
+
import Sorter from "sap/ui/model/Sorter";
|
|
60743
|
+
|
|
60744
|
+
import Filter from "sap/ui/model/Filter";
|
|
60745
|
+
|
|
60746
|
+
import JSONListBinding from "sap/ui/model/json/JSONListBinding";
|
|
60747
|
+
|
|
60748
|
+
import JSONPropertyBinding from "sap/ui/model/json/JSONPropertyBinding";
|
|
60749
|
+
|
|
60750
|
+
import JSONTreeBinding from "sap/ui/model/json/JSONTreeBinding";
|
|
60751
|
+
|
|
60752
|
+
import Metadata from "sap/ui/base/Metadata";
|
|
60753
|
+
|
|
60341
60754
|
/**
|
|
60342
60755
|
* Model implementation for the JSON format.
|
|
60343
60756
|
*
|
|
@@ -60398,6 +60811,145 @@ declare module "sap/ui/model/json/JSONModel" {
|
|
|
60398
60811
|
* @returns Metadata object describing this class
|
|
60399
60812
|
*/
|
|
60400
60813
|
static getMetadata(): Metadata;
|
|
60814
|
+
/**
|
|
60815
|
+
* Returns the value of the property for the given `sPath` and `oContext`.
|
|
60816
|
+
*
|
|
60817
|
+
* @deprecated As of version 1.145.0. use {@link #getProperty} instead
|
|
60818
|
+
*
|
|
60819
|
+
* @returns The value for the given `sPath` and `oContext`. If the property path derived from the given
|
|
60820
|
+
* `sPath` and `oContext` is absolute (starts with a "/") but does not lead to a property in the data structure,
|
|
60821
|
+
* `undefined` is returned. If the property `sPath` is not absolute, `null` is returned.
|
|
60822
|
+
*/
|
|
60823
|
+
static getObject(
|
|
60824
|
+
/**
|
|
60825
|
+
* The path to the object you want to read
|
|
60826
|
+
*/
|
|
60827
|
+
sPath: string,
|
|
60828
|
+
/**
|
|
60829
|
+
* The context that resolves the path
|
|
60830
|
+
*/
|
|
60831
|
+
oContext?: Context
|
|
60832
|
+
): any | null | undefined;
|
|
60833
|
+
/**
|
|
60834
|
+
* Returns the original value for the property with the given `sPath` and `oContext`.
|
|
60835
|
+
*
|
|
60836
|
+
* @deprecated As of version 1.145.0. use {@link #getProperty} instead
|
|
60837
|
+
*
|
|
60838
|
+
* @returns The value of the property for the given `sPath` and `oContext`. If the property path derived
|
|
60839
|
+
* from the given `sPath` and `oContext` is absolute (starts with a "/") but does not lead to a property
|
|
60840
|
+
* in the data structure, `undefined` is returned. If the property `sPath` is not absolute, `null` is returned.
|
|
60841
|
+
*/
|
|
60842
|
+
static getOriginalProperty(
|
|
60843
|
+
/**
|
|
60844
|
+
* The path/name of the property
|
|
60845
|
+
*/
|
|
60846
|
+
sPath: string,
|
|
60847
|
+
/**
|
|
60848
|
+
* Context for accessing the property value
|
|
60849
|
+
*/
|
|
60850
|
+
oContext?: Context
|
|
60851
|
+
): any | null | undefined;
|
|
60852
|
+
/**
|
|
60853
|
+
* Creates a new {@link sap.ui.model.json.JSONListBinding}.
|
|
60854
|
+
*
|
|
60855
|
+
*
|
|
60856
|
+
* @returns The newly created JSONListBinding
|
|
60857
|
+
*/
|
|
60858
|
+
bindList(
|
|
60859
|
+
/**
|
|
60860
|
+
* The path to the list or array to bind
|
|
60861
|
+
*/
|
|
60862
|
+
sPath: string,
|
|
60863
|
+
/**
|
|
60864
|
+
* The context for the binding. This is mandatory when a relative binding path is provided.
|
|
60865
|
+
*/
|
|
60866
|
+
oContext?: Context,
|
|
60867
|
+
/**
|
|
60868
|
+
* The sorters used initially. To replace them, call {@link sap.ui.model.ListBinding#sort}.
|
|
60869
|
+
*/
|
|
60870
|
+
aSorters?: Sorter[] | Sorter,
|
|
60871
|
+
/**
|
|
60872
|
+
* The filters initially used with type {@link sap.ui.model.FilterType.Application}. To replace them, call
|
|
60873
|
+
* {@link sap.ui.model.ListBinding#filter}.
|
|
60874
|
+
*/
|
|
60875
|
+
aFilters?: Filter[] | Filter,
|
|
60876
|
+
/**
|
|
60877
|
+
* Map of optional parameters as defined by subclasses. This class does not introduce any own parameters.
|
|
60878
|
+
*/
|
|
60879
|
+
mParameters?: Record<string, any>
|
|
60880
|
+
): JSONListBinding;
|
|
60881
|
+
/**
|
|
60882
|
+
* Creates a new {@link sap.ui.model.json.JSONPropertyBinding}.
|
|
60883
|
+
*
|
|
60884
|
+
*
|
|
60885
|
+
* @returns The newly created JSONPropertyBinding
|
|
60886
|
+
*/
|
|
60887
|
+
bindProperty(
|
|
60888
|
+
/**
|
|
60889
|
+
* The path to the property to bind
|
|
60890
|
+
*/
|
|
60891
|
+
sPath: string,
|
|
60892
|
+
/**
|
|
60893
|
+
* The context for the binding. This is mandatory when a relative binding path is provided.
|
|
60894
|
+
*/
|
|
60895
|
+
oContext?: Context,
|
|
60896
|
+
/**
|
|
60897
|
+
* Additional model-specific parameters
|
|
60898
|
+
*/
|
|
60899
|
+
mParameters?: {
|
|
60900
|
+
/**
|
|
60901
|
+
* Whether this binding ignores model messages instead of propagating them to the control. Supported since
|
|
60902
|
+
* 1.119.0. Some composite types like {@link sap.ui.model.type.Currency} automatically ignore model messages
|
|
60903
|
+
* for some of their parts, depending on their format options. Setting this parameter to `true` or `false`
|
|
60904
|
+
* overrules the automatism of the type.
|
|
60905
|
+
*
|
|
60906
|
+
* **Example:** A binding for a currency code is used in a composite binding for rendering the proper number
|
|
60907
|
+
* of decimals, but the currency code itself is not displayed in the attached control. In this case, messages
|
|
60908
|
+
* for the currency code aren't displayed at that control, only messages for the amount.
|
|
60909
|
+
*/
|
|
60910
|
+
ignoreMessages?: boolean;
|
|
60911
|
+
}
|
|
60912
|
+
): JSONPropertyBinding;
|
|
60913
|
+
/**
|
|
60914
|
+
* Creates a new {@link sap.ui.model.json.JSONTreeBinding}. The bound data can contain JSON objects and
|
|
60915
|
+
* arrays. Both are used to build the tree structure.
|
|
60916
|
+
*
|
|
60917
|
+
*
|
|
60918
|
+
* @returns The newly created JSONTreeBinding
|
|
60919
|
+
*/
|
|
60920
|
+
bindTree(
|
|
60921
|
+
/**
|
|
60922
|
+
* The path pointing to the tree or array that is bound
|
|
60923
|
+
*/
|
|
60924
|
+
sPath: string,
|
|
60925
|
+
/**
|
|
60926
|
+
* The context for the binding. This is mandatory when a relative binding path is provided.
|
|
60927
|
+
*/
|
|
60928
|
+
oContext?: Context,
|
|
60929
|
+
/**
|
|
60930
|
+
* The filters initially used with type {@link sap.ui.model.FilterType.Application}. To replace them, call
|
|
60931
|
+
* {@link sap.ui.model.TreeBinding#filter}.
|
|
60932
|
+
*/
|
|
60933
|
+
aFilters?: Filter[] | Filter,
|
|
60934
|
+
/**
|
|
60935
|
+
* Additional model-specific parameters
|
|
60936
|
+
*/
|
|
60937
|
+
mParameters?: {
|
|
60938
|
+
/**
|
|
60939
|
+
* Keys of arrays to be used for building the tree structure. If not specified, all arrays and objects in
|
|
60940
|
+
* the bound data are used. Note: For arrays nested within other arrays with different names, add both array
|
|
60941
|
+
* names to `arrayNames`. To include a nested array in the hierarchy, you must list the names of all containing
|
|
60942
|
+
* arrays. If an array name is missing from the list, its child arrays are also excluded from the hierarchy,
|
|
60943
|
+
* even if you add them to `arrayNames`. If this parameter is set, all other objects and arrays in the bound
|
|
60944
|
+
* data are ignored.
|
|
60945
|
+
*/
|
|
60946
|
+
arrayNames?: string[];
|
|
60947
|
+
},
|
|
60948
|
+
/**
|
|
60949
|
+
* The sorters used initially. To replace them, call {@link sap.ui.model.TreeBinding#sort}.
|
|
60950
|
+
*/
|
|
60951
|
+
aSorters?: Sorter[] | Sorter
|
|
60952
|
+
): JSONTreeBinding;
|
|
60401
60953
|
/**
|
|
60402
60954
|
* Returns a Promise of the current data-loading state. Every currently running {@link sap.ui.model.json.JSONModel#loadData }
|
|
60403
60955
|
* call is respected by the returned Promise. This also includes a potential loadData call from the JSONModel's
|
|
@@ -60417,7 +60969,7 @@ declare module "sap/ui/model/json/JSONModel" {
|
|
|
60417
60969
|
*/
|
|
60418
60970
|
getJSON(): string;
|
|
60419
60971
|
/**
|
|
60420
|
-
* Returns the value for the
|
|
60972
|
+
* Returns the value for the given `sPath` and `oContext`.
|
|
60421
60973
|
*
|
|
60422
60974
|
*
|
|
60423
60975
|
* @returns The value of the property. If the property is not found, `null` or `undefined` is returned.
|
|
@@ -60799,45 +61351,18 @@ declare module "sap/ui/model/json/TypedJSONContext" {
|
|
|
60799
61351
|
declare module "sap/ui/model/json/JSONPropertyBinding" {
|
|
60800
61352
|
import ClientPropertyBinding from "sap/ui/model/ClientPropertyBinding";
|
|
60801
61353
|
|
|
60802
|
-
import JSONModel from "sap/ui/model/json/JSONModel";
|
|
60803
|
-
|
|
60804
|
-
import Context from "sap/ui/model/Context";
|
|
60805
|
-
|
|
60806
61354
|
import Metadata from "sap/ui/base/Metadata";
|
|
60807
61355
|
|
|
60808
61356
|
/**
|
|
60809
|
-
* Property binding implementation for JSON
|
|
61357
|
+
* Property binding implementation for JSON model.
|
|
60810
61358
|
*
|
|
60811
61359
|
* @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
60812
61360
|
*/
|
|
60813
61361
|
export default class JSONPropertyBinding extends ClientPropertyBinding {
|
|
60814
61362
|
/**
|
|
60815
|
-
* Creates a new JSONListBinding.
|
|
60816
|
-
*
|
|
60817
|
-
* This constructor should only be called by subclasses or model implementations, not by application or
|
|
60818
|
-
* control code. Such code should use {@link sap.ui.model.json.JSONModel#bindProperty JSONModel#bindProperty }
|
|
60819
|
-
* on the corresponding model instance instead.
|
|
60820
|
-
*
|
|
60821
61363
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
60822
61364
|
*/
|
|
60823
|
-
protected constructor(
|
|
60824
|
-
/**
|
|
60825
|
-
* Model instance that this binding is created for and that it belongs to
|
|
60826
|
-
*/
|
|
60827
|
-
oModel: JSONModel,
|
|
60828
|
-
/**
|
|
60829
|
-
* Binding path to be used for this binding
|
|
60830
|
-
*/
|
|
60831
|
-
sPath: string,
|
|
60832
|
-
/**
|
|
60833
|
-
* Binding context relative to which a relative binding path will be resolved
|
|
60834
|
-
*/
|
|
60835
|
-
oContext: Context,
|
|
60836
|
-
/**
|
|
60837
|
-
* Map of optional parameters as defined by subclasses; this class does not introduce any own parameters
|
|
60838
|
-
*/
|
|
60839
|
-
mParameters?: object
|
|
60840
|
-
);
|
|
61365
|
+
protected constructor();
|
|
60841
61366
|
|
|
60842
61367
|
/**
|
|
60843
61368
|
* Creates a new subclass of class sap.ui.model.json.JSONPropertyBinding with name `sClassName` and enriches
|
|
@@ -60878,66 +61403,16 @@ declare module "sap/ui/model/json/JSONPropertyBinding" {
|
|
|
60878
61403
|
declare module "sap/ui/model/json/JSONTreeBinding" {
|
|
60879
61404
|
import ClientTreeBinding from "sap/ui/model/ClientTreeBinding";
|
|
60880
61405
|
|
|
60881
|
-
import JSONModel from "sap/ui/model/json/JSONModel";
|
|
60882
|
-
|
|
60883
|
-
import Filter from "sap/ui/model/Filter";
|
|
60884
|
-
|
|
60885
|
-
import Sorter from "sap/ui/model/Sorter";
|
|
60886
|
-
|
|
60887
61406
|
/**
|
|
60888
|
-
* Tree binding implementation for JSON
|
|
60889
|
-
*
|
|
60890
|
-
* The bound data can contain JSON objects and arrays. Both will be used to build the tree structure. You
|
|
60891
|
-
* can optionally define a set of arrays to be used for the tree structure in the parameter `arrayNames`.
|
|
60892
|
-
* If this parameter is set, all other objects and arrays will be ignored.
|
|
61407
|
+
* Tree binding implementation for JSON model. See {@link sap.ui.model.json.JSONModel#bindTree}
|
|
60893
61408
|
*
|
|
60894
61409
|
* @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
60895
61410
|
*/
|
|
60896
61411
|
export default class JSONTreeBinding extends ClientTreeBinding {
|
|
60897
61412
|
/**
|
|
60898
|
-
* Creates a new JSONListBinding.
|
|
60899
|
-
*
|
|
60900
|
-
* This constructor should only be called by subclasses or model implementations, not by application or
|
|
60901
|
-
* control code. Such code should use {@link sap.ui.model.json.JSONModel#bindTree JSONModel#bindTree} on
|
|
60902
|
-
* the corresponding model instance instead.
|
|
60903
|
-
*
|
|
60904
61413
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
60905
61414
|
*/
|
|
60906
|
-
protected constructor(
|
|
60907
|
-
/**
|
|
60908
|
-
* Model instance that this binding is created for and that it belongs to
|
|
60909
|
-
*/
|
|
60910
|
-
oModel: JSONModel,
|
|
60911
|
-
/**
|
|
60912
|
-
* Path pointing to the tree or array that should be bound
|
|
60913
|
-
*/
|
|
60914
|
-
sPath: string,
|
|
60915
|
-
/**
|
|
60916
|
-
* Context object for this binding, mandatory when a relative binding path is given
|
|
60917
|
-
*/
|
|
60918
|
-
oContext?: object,
|
|
60919
|
-
/**
|
|
60920
|
-
* The filters to be used initially with type {@link sap.ui.model.FilterType.Application}; call {@link #filter }
|
|
60921
|
-
* to replace them
|
|
60922
|
-
*/
|
|
60923
|
-
aFilters?: Filter[] | Filter,
|
|
60924
|
-
/**
|
|
60925
|
-
* Additional model-specific parameters
|
|
60926
|
-
*/
|
|
60927
|
-
mParameters?: {
|
|
60928
|
-
/**
|
|
60929
|
-
* Keys of arrays to be used for building the tree structure. If not specified, all arrays and objects in
|
|
60930
|
-
* the bound data will be used. Note that for arrays nested inside differently named arrays, you need to
|
|
60931
|
-
* add both to `arrayNames`. You always have to add the complete parent chain. If any array is ignored,
|
|
60932
|
-
* its child arrays will be ignored as well even if they have been added to `arrayNames`.
|
|
60933
|
-
*/
|
|
60934
|
-
arrayNames?: string[];
|
|
60935
|
-
},
|
|
60936
|
-
/**
|
|
60937
|
-
* The sorters used initially; call {@link #sort} to replace them
|
|
60938
|
-
*/
|
|
60939
|
-
aSorters?: Sorter[] | Sorter
|
|
60940
|
-
);
|
|
61415
|
+
protected constructor();
|
|
60941
61416
|
}
|
|
60942
61417
|
}
|
|
60943
61418
|
|
|
@@ -61068,6 +61543,26 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
61068
61543
|
*/
|
|
61069
61544
|
oListener?: object
|
|
61070
61545
|
): void;
|
|
61546
|
+
/**
|
|
61547
|
+
* Computes the binding's application filters by replacing application filters of the given type with the
|
|
61548
|
+
* given new filters. Subclasses call this method from their filter method implementation.
|
|
61549
|
+
*
|
|
61550
|
+
* @since 1.146.0
|
|
61551
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
61552
|
+
*
|
|
61553
|
+
* @returns The new application filters
|
|
61554
|
+
*/
|
|
61555
|
+
computeApplicationFilters(
|
|
61556
|
+
/**
|
|
61557
|
+
* The new filters for the given filter type
|
|
61558
|
+
*/
|
|
61559
|
+
vFilter?: Filter[] | Filter,
|
|
61560
|
+
/**
|
|
61561
|
+
* The type of the application filters to replace
|
|
61562
|
+
*/
|
|
61563
|
+
sFilterType?: /* was: sap.ui.model.FilterType.Application */
|
|
61564
|
+
any | /* was: sap.ui.model.FilterType.ApplicationBound */ any
|
|
61565
|
+
): Filter[] | Filter | undefined;
|
|
61071
61566
|
/**
|
|
61072
61567
|
* Detaches event handler `fnFunction` from the {@link #event:filter filter} event of this `sap.ui.model.ListBinding`.
|
|
61073
61568
|
*
|
|
@@ -61180,7 +61675,9 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
61180
61675
|
*/
|
|
61181
61676
|
aFilters?: Filter[] | Filter,
|
|
61182
61677
|
/**
|
|
61183
|
-
* The type of
|
|
61678
|
+
* The type of filter to replace. If no type is specified, the behavior depends on the model implementation.
|
|
61679
|
+
* Since 1.146.0, you can use `sap.ui.model.FilterType.ApplicationBound` to replace bound application filters
|
|
61680
|
+
* if the model implementation supports it.
|
|
61184
61681
|
*/
|
|
61185
61682
|
sFilterType?: FilterType | keyof typeof FilterType
|
|
61186
61683
|
): this;
|
|
@@ -62224,16 +62721,19 @@ declare module "sap/ui/model/Model" {
|
|
|
62224
62721
|
*/
|
|
62225
62722
|
getMetaModel(): MetaModel | undefined;
|
|
62226
62723
|
/**
|
|
62724
|
+
* Returns the value of the property for the given `sPath` and `oContext`.
|
|
62227
62725
|
*
|
|
62228
|
-
*
|
|
62726
|
+
*
|
|
62727
|
+
* @returns The the value of the property for the given path/context or `undefined` if data could not be
|
|
62728
|
+
* found
|
|
62229
62729
|
*/
|
|
62230
62730
|
getObject(
|
|
62231
62731
|
/**
|
|
62232
|
-
*
|
|
62732
|
+
* The path to the object you want to read
|
|
62233
62733
|
*/
|
|
62234
62734
|
sPath: string,
|
|
62235
62735
|
/**
|
|
62236
|
-
*
|
|
62736
|
+
* The context that resolves the path
|
|
62237
62737
|
*/
|
|
62238
62738
|
oContext?: Context,
|
|
62239
62739
|
/**
|
|
@@ -62247,29 +62747,31 @@ declare module "sap/ui/model/Model" {
|
|
|
62247
62747
|
* The original value is the value that was last responded by a server if using a server model implementation.
|
|
62248
62748
|
*
|
|
62249
62749
|
*
|
|
62250
|
-
* @returns
|
|
62750
|
+
* @returns The value of the property
|
|
62251
62751
|
*/
|
|
62252
62752
|
getOriginalProperty(
|
|
62253
62753
|
/**
|
|
62254
|
-
*
|
|
62754
|
+
* The path/name of the property
|
|
62255
62755
|
*/
|
|
62256
62756
|
sPath: string,
|
|
62257
62757
|
/**
|
|
62258
|
-
* Context
|
|
62758
|
+
* Context for accessing the property value
|
|
62259
62759
|
*/
|
|
62260
62760
|
oContext?: Context
|
|
62261
62761
|
): any;
|
|
62262
62762
|
/**
|
|
62763
|
+
* Returns the value of the property for the given `sPath` and `oContext`.
|
|
62263
62764
|
*
|
|
62264
|
-
*
|
|
62765
|
+
*
|
|
62766
|
+
* @returns The value of the addressed property
|
|
62265
62767
|
*/
|
|
62266
62768
|
getProperty(
|
|
62267
62769
|
/**
|
|
62268
|
-
* The path to
|
|
62770
|
+
* The path to the attribute value you want to read
|
|
62269
62771
|
*/
|
|
62270
62772
|
sPath: string,
|
|
62271
62773
|
/**
|
|
62272
|
-
* The context
|
|
62774
|
+
* The context that resolves the path
|
|
62273
62775
|
*/
|
|
62274
62776
|
oContext?: Context
|
|
62275
62777
|
): any;
|
|
@@ -65580,7 +66082,7 @@ declare module "sap/ui/model/odata/ODataModel" {
|
|
|
65580
66082
|
/**
|
|
65581
66083
|
* Appends the change batch operations to the end of the batch stack. Only `PUTPOST` or `DELETE`
|
|
65582
66084
|
* batch operations should be included in the specified array. The operations in the array will be included
|
|
65583
|
-
* in a single
|
|
66085
|
+
* in a single change set. To embed change operations in different change sets call this method with the
|
|
65584
66086
|
* corresponding change operations again. If an illegal batch operation is added to the change set nothing
|
|
65585
66087
|
* will be performed and false will be returned.
|
|
65586
66088
|
*
|
|
@@ -70500,8 +71002,8 @@ declare module "sap/ui/model/odata/v2/Context" {
|
|
|
70500
71002
|
*/
|
|
70501
71003
|
groupId?: string;
|
|
70502
71004
|
/**
|
|
70503
|
-
* ID of the
|
|
70504
|
-
*
|
|
71005
|
+
* ID of the change set that this request should belong to. If not provided, the `changeSetId` defined for
|
|
71006
|
+
* the type of the entity to be deleted is used.
|
|
70505
71007
|
*/
|
|
70506
71008
|
changeSetId?: string;
|
|
70507
71009
|
/**
|
|
@@ -71578,7 +72080,7 @@ declare module "sap/ui/model/odata/v2/ODataListBinding" {
|
|
|
71578
72080
|
*/
|
|
71579
72081
|
mParameters?: {
|
|
71580
72082
|
/**
|
|
71581
|
-
* The ID of the
|
|
72083
|
+
* The ID of the change set that this request should belong to
|
|
71582
72084
|
*/
|
|
71583
72085
|
changeSetId?: string;
|
|
71584
72086
|
/**
|
|
@@ -72818,7 +73320,7 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
72818
73320
|
* (for example due to a filter), and the group ID must not have {@link sap.ui.model.odata.v4.SubmitMode.API}.
|
|
72819
73321
|
* Such a deletion is not a pending change.
|
|
72820
73322
|
*
|
|
72821
|
-
* When using data aggregation without
|
|
73323
|
+
* When using data aggregation without `groupLevels`, single entities can be deleted (@experimental as of
|
|
72822
73324
|
* version 1.144.0, see {@link #isAggregated}). The same restrictions as for a recursive hierarchy apply.
|
|
72823
73325
|
* See:
|
|
72824
73326
|
* #hasPendingChanges
|
|
@@ -72861,12 +73363,15 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
72861
73363
|
bDoNotRequestCount?: boolean
|
|
72862
73364
|
): Promise<void>;
|
|
72863
73365
|
/**
|
|
73366
|
+
* Note: You may want to call {@link #delete} instead in order to delete the OData entity on the server
|
|
73367
|
+
* side.
|
|
73368
|
+
*
|
|
72864
73369
|
* Destroys this context, that is, it removes this context from all dependent bindings and drops references
|
|
72865
73370
|
* to {@link #getBinding binding} and {@link #getModel model}, so that the context cannot be used anymore;
|
|
72866
73371
|
* it keeps path and index for debugging purposes. A destroyed context can be recognized by calling {@link #getBinding},
|
|
72867
73372
|
* which returns `undefined`.
|
|
72868
73373
|
*
|
|
72869
|
-
* **BEWARE
|
|
73374
|
+
* **BEWARE: Do not call this function!** The lifetime of an OData V4 context is completely controlled by
|
|
72870
73375
|
* its binding.
|
|
72871
73376
|
* See:
|
|
72872
73377
|
* sap.ui.base.Object#destroy
|
|
@@ -73200,6 +73705,10 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
73200
73705
|
* Refreshes the single entity represented by this context. Use {@link #requestRefresh} if you want to wait
|
|
73201
73706
|
* for the refresh.
|
|
73202
73707
|
*
|
|
73708
|
+
* When using data aggregation without `groupLevels` and without `"grandTotal like 1.84"` (see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}),
|
|
73709
|
+
* single entities (see {@link #isAggregated}) can be refreshed and the grand total is updated accordingly
|
|
73710
|
+
* (@experimental as of version 1.145.0).
|
|
73711
|
+
*
|
|
73203
73712
|
* @since 1.53.0
|
|
73204
73713
|
*/
|
|
73205
73714
|
refresh(
|
|
@@ -73333,7 +73842,7 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
73333
73842
|
*/
|
|
73334
73843
|
sGroupId?: string,
|
|
73335
73844
|
/**
|
|
73336
|
-
* Allows to remove the context
|
|
73845
|
+
* Allows to remove the context, see {@link #refresh} for details
|
|
73337
73846
|
*/
|
|
73338
73847
|
bAllowRemoval?: boolean
|
|
73339
73848
|
): Promise<void>;
|
|
@@ -73369,6 +73878,12 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
73369
73878
|
* 'dataRequested', can instead be done before calling {@link #requestSideEffects}. 'dataReceived',
|
|
73370
73879
|
* can instead be done once the `oPromise` returned by {@link #requestSideEffects} fulfills or rejects (using
|
|
73371
73880
|
* `oPromise.then(function () {...}, function () {...})`).
|
|
73881
|
+
*
|
|
73882
|
+
* Since 1.109.0, this context can also represent a node in a recursive hierarchy (see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}).
|
|
73883
|
+
*
|
|
73884
|
+
* When using data aggregation but no recursive hierarchy, and without `groupLevels` or `"grandTotal like
|
|
73885
|
+
* 1.84"` (see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}), this context can also represent
|
|
73886
|
+
* a single entity (see {@link #isAggregated}, @experimental as of version 1.146.0).
|
|
73372
73887
|
* See:
|
|
73373
73888
|
* sap.ui.model.odata.v4.ODataContextBinding#getBoundContext
|
|
73374
73889
|
* sap.ui.model.odata.v4.ODataContextBinding#invoke
|
|
@@ -73377,8 +73892,8 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
73377
73892
|
*
|
|
73378
73893
|
* @since 1.61.0
|
|
73379
73894
|
*
|
|
73380
|
-
* @returns A promise which is resolved without a defined result, or rejected with an error if
|
|
73381
|
-
*
|
|
73895
|
+
* @returns A promise which is resolved without a defined result, or rejected with an error if the side
|
|
73896
|
+
* effects fail to load. Use it to set fields affected by side effects to read-only before {@link #requestSideEffects }
|
|
73382
73897
|
* and make them editable again when the promise resolves; in the error handler, you can repeat the loading
|
|
73383
73898
|
* of side effects.
|
|
73384
73899
|
* The promise is rejected if the call wants to refresh a whole list binding (via header context or an
|
|
@@ -73398,8 +73913,11 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
73398
73913
|
*
|
|
73399
73914
|
* Since 1.82.0, absolute paths are supported. Absolute paths must start with the entity container (example
|
|
73400
73915
|
* "/com.sap.gateway.default.iwbep.tea_busi.v0001.Container/TEAMS") of the service. All (navigation) properties
|
|
73401
|
-
* in the complete model matching such an absolute path are updated. Since 1.
|
|
73402
|
-
*
|
|
73916
|
+
* in the complete model matching such an absolute path are updated. Since 1.146.0, {@link sap.ui.model.odata.v4.ODataModel#requestSideEffects }
|
|
73917
|
+
* can be used as well.
|
|
73918
|
+
*
|
|
73919
|
+
* Since 1.85.0, "14.3.11 Expression edm:String" is accepted as well. Since 1.145.0, you can use `null`
|
|
73920
|
+
* values (and `{$Null : null}`) as synonyms for empty navigation property paths.
|
|
73403
73921
|
*
|
|
73404
73922
|
* Since 1.108.8, a property path matching the "com.sap.vocabularies.Common.v1.Messages" annotation of a
|
|
73405
73923
|
* list binding's entity type is treated specially for a row context of a list binding: It is loaded even
|
|
@@ -73410,8 +73928,8 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
73410
73928
|
NavigationPropertyPathExpression | PropertyPathExpression | string
|
|
73411
73929
|
>,
|
|
73412
73930
|
/**
|
|
73413
|
-
* The group ID to be used (since 1.69.0)
|
|
73414
|
-
*
|
|
73931
|
+
* The group ID to be used (since 1.69.0). If not specified, the {@link #getUpdateGroupId update group ID }
|
|
73932
|
+
* for the context's binding is used. If a different group ID is specified, make sure that {@link #requestSideEffects }
|
|
73415
73933
|
* is called after the corresponding updates have been successfully processed by the server and that there
|
|
73416
73934
|
* are no pending changes for the affected properties.
|
|
73417
73935
|
*/
|
|
@@ -73448,9 +73966,10 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
73448
73966
|
* Note: This can be used for single entities in a data aggregation scenario (@experimental as of version
|
|
73449
73967
|
* 1.144.0), see {@link #isAggregated}. Such a kept-alive context
|
|
73450
73968
|
* can be used as a binding context, can be used for updating data (see {@link #setProperty}),
|
|
73451
|
-
*
|
|
73452
|
-
*
|
|
73453
|
-
* Other APIs are not
|
|
73969
|
+
* can be refreshed (see {@link #refresh} and {@link #requestRefresh}), is refreshed when its list
|
|
73970
|
+
* binding's {@link sap.ui.model.odata.v4.ODataListBinding#refresh}) is called, and is refreshed when
|
|
73971
|
+
* {@link #requestSideEffects}) is called on its list binding's header context. Other APIs are not
|
|
73972
|
+
* supported.
|
|
73454
73973
|
* See:
|
|
73455
73974
|
* #isKeepAlive
|
|
73456
73975
|
*
|
|
@@ -73997,6 +74516,7 @@ declare module "sap/ui/model/odata/v4/ODataContextBinding" {
|
|
|
73997
74516
|
* Method not supported
|
|
73998
74517
|
*
|
|
73999
74518
|
* @since 1.37.0
|
|
74519
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
74000
74520
|
*/
|
|
74001
74521
|
isInitial(): boolean;
|
|
74002
74522
|
/**
|
|
@@ -74538,6 +75058,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
74538
75058
|
* is set to `undefined`. The created context always knows its {@link sap.ui.model.odata.v4.Context#getPath path},
|
|
74539
75059
|
* which can be used for {@link #getKeepAliveContext}.
|
|
74540
75060
|
*
|
|
75061
|
+
* When using data aggregation without `groupLevels` and without `"grandTotal like 1.84"` (see {@link #setAggregation}),
|
|
75062
|
+
* single entities can be created (@experimental as of version 1.146.0, see {@link sap.ui.model.odata.v4.Context#isAggregated}).
|
|
75063
|
+
*
|
|
74541
75064
|
* @since 1.43.0
|
|
74542
75065
|
*
|
|
74543
75066
|
* @returns The context object for the created entity; its method {@link sap.ui.model.odata.v4.Context#created }
|
|
@@ -74742,7 +75265,8 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
74742
75265
|
*/
|
|
74743
75266
|
vFilters?: Filter | Filter[],
|
|
74744
75267
|
/**
|
|
74745
|
-
* The filter type to be used
|
|
75268
|
+
* The filter type to be used. Since 1.146.0, you may use {@link sap.ui.model.FilterType.ApplicationBound }
|
|
75269
|
+
* to replace bound application filters.
|
|
74746
75270
|
*/
|
|
74747
75271
|
sFilterType?: FilterType | keyof typeof FilterType
|
|
74748
75272
|
): this;
|
|
@@ -74869,8 +75393,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
74869
75393
|
* sap.ui.model.ListBinding#getDistinctValues
|
|
74870
75394
|
*
|
|
74871
75395
|
* @since 1.37.0
|
|
75396
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
74872
75397
|
*/
|
|
74873
|
-
getDistinctValues(
|
|
75398
|
+
getDistinctValues(): any[];
|
|
74874
75399
|
/**
|
|
74875
75400
|
* Returns a URL by which the complete content of the list can be downloaded in JSON format. The request
|
|
74876
75401
|
* delivers all entities considering the binding's query options (such as filters or sorters). Returns `null`
|
|
@@ -75053,6 +75578,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
75053
75578
|
* Method not supported
|
|
75054
75579
|
*
|
|
75055
75580
|
* @since 1.37.0
|
|
75581
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
75056
75582
|
*/
|
|
75057
75583
|
isInitial(): boolean;
|
|
75058
75584
|
/**
|
|
@@ -75248,10 +75774,10 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
75248
75774
|
*/
|
|
75249
75775
|
aggregate?: object;
|
|
75250
75776
|
/**
|
|
75251
|
-
* Whether created nodes are shown in place at the position specified by the service (since 1.130.0)
|
|
75252
|
-
* the value `true` is allowed. Otherwise, created nodes are
|
|
75253
|
-
* of their parent or as the first roots, but not in their
|
|
75254
|
-
* the current sort order.
|
|
75777
|
+
* Whether created nodes are shown in place at the position specified by the service (since 1.130.0), supported
|
|
75778
|
+
* only if a `hierarchyQualifier` is given; only the value `true` is allowed. Otherwise, created nodes are
|
|
75779
|
+
* displayed out of place as the first children of their parent or as the first roots, but not in their
|
|
75780
|
+
* usual position as defined by the service and the current sort order.
|
|
75255
75781
|
*/
|
|
75256
75782
|
createInPlace?: boolean;
|
|
75257
75783
|
/**
|
|
@@ -75857,18 +76383,9 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
75857
76383
|
* sap.ui.model.Model#bindTree
|
|
75858
76384
|
*
|
|
75859
76385
|
* @since 1.37.0
|
|
76386
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
75860
76387
|
*/
|
|
75861
|
-
bindTree(
|
|
75862
|
-
_sPath: string,
|
|
75863
|
-
|
|
75864
|
-
_oContext?: Context,
|
|
75865
|
-
|
|
75866
|
-
_aFilters?: Filter[],
|
|
75867
|
-
|
|
75868
|
-
_mParameters?: object,
|
|
75869
|
-
|
|
75870
|
-
_aSorters?: Sorter[]
|
|
75871
|
-
): TreeBinding;
|
|
76388
|
+
bindTree(): TreeBinding;
|
|
75872
76389
|
/**
|
|
75873
76390
|
* Returns a snapshot of each $metadata or annotation file loaded so far, combined into a single "JSON"
|
|
75874
76391
|
* object according to the streamlined OData V4 Metadata JSON Format.
|
|
@@ -75968,6 +76485,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
75968
76485
|
* Method not supported
|
|
75969
76486
|
*
|
|
75970
76487
|
* @since 1.37.0
|
|
76488
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
75971
76489
|
*/
|
|
75972
76490
|
getOriginalProperty(): void;
|
|
75973
76491
|
/**
|
|
@@ -76035,6 +76553,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
76035
76553
|
* sap.ui.model.Model#refresh
|
|
76036
76554
|
*
|
|
76037
76555
|
* @since 1.37.0
|
|
76556
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
76038
76557
|
*/
|
|
76039
76558
|
refresh(): void;
|
|
76040
76559
|
/**
|
|
@@ -76079,7 +76598,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
76079
76598
|
|
|
76080
76599
|
Text: string;
|
|
76081
76600
|
|
|
76082
|
-
UnitSpecificScale:
|
|
76601
|
+
UnitSpecificScale: number;
|
|
76083
76602
|
}
|
|
76084
76603
|
> | null>;
|
|
76085
76604
|
/**
|
|
@@ -76383,7 +76902,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
76383
76902
|
|
|
76384
76903
|
Text: string;
|
|
76385
76904
|
|
|
76386
|
-
UnitSpecificScale:
|
|
76905
|
+
UnitSpecificScale: number;
|
|
76387
76906
|
}
|
|
76388
76907
|
> | null>;
|
|
76389
76908
|
/**
|
|
@@ -76459,6 +76978,7 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
76459
76978
|
* Method not supported
|
|
76460
76979
|
*
|
|
76461
76980
|
* @since 1.37.0
|
|
76981
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
76462
76982
|
*/
|
|
76463
76983
|
setLegacySyntax(): void;
|
|
76464
76984
|
/**
|
|
@@ -76517,7 +77037,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
76517
77037
|
*
|
|
76518
77038
|
* Every resource path (relative to the service root URL, no query options) according to "4 Resource Path" in specification "OData Version 4.01. Part 2: URL Conventions" is a valid data
|
|
76519
77039
|
* binding path within this model if a leading slash is added; for example "/" + "SalesOrderList('A%2FB%26C')"
|
|
76520
|
-
* to access an entity instance with key "A/B&C". Note that appropriate
|
|
77040
|
+
* to access an entity instance with key "A/B&C". Note that appropriate URL encoding is necessary, see the
|
|
76521
77041
|
* example of {@link sap.ui.model.odata.v4.ODataUtils.formatLiteral}. "4.5.1 Addressing Actions" needs an
|
|
76522
77042
|
* operation binding, see {@link sap.ui.model.odata.v4.ODataContextBinding}.
|
|
76523
77043
|
*
|
|
@@ -77083,18 +77603,9 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77083
77603
|
* sap.ui.model.Model#bindTree
|
|
77084
77604
|
*
|
|
77085
77605
|
* @since 1.37.0
|
|
77606
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77086
77607
|
*/
|
|
77087
|
-
bindTree(
|
|
77088
|
-
_sPath: string,
|
|
77089
|
-
|
|
77090
|
-
_oContext?: Context1,
|
|
77091
|
-
|
|
77092
|
-
_aFilters?: Filter[],
|
|
77093
|
-
|
|
77094
|
-
_mParameters?: object,
|
|
77095
|
-
|
|
77096
|
-
_aSorters?: Sorter[]
|
|
77097
|
-
): TreeBinding;
|
|
77608
|
+
bindTree(): TreeBinding;
|
|
77098
77609
|
/**
|
|
77099
77610
|
* Changes the HTTP headers used for data and metadata requests sent by this model.
|
|
77100
77611
|
*
|
|
@@ -77211,6 +77722,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77211
77722
|
* Method not supported
|
|
77212
77723
|
*
|
|
77213
77724
|
* @since 1.37.0
|
|
77725
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77214
77726
|
*/
|
|
77215
77727
|
destroyBindingContext(): void;
|
|
77216
77728
|
/**
|
|
@@ -77357,7 +77869,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77357
77869
|
*
|
|
77358
77870
|
* @since 1.107.0
|
|
77359
77871
|
*
|
|
77360
|
-
* @returns The proper
|
|
77872
|
+
* @returns The proper URL-encoded key predicate, for example "(Sector='A%2FB%26C',ID='42')" or "('42')",
|
|
77361
77873
|
* or `undefined` if at least one key property is undefined.
|
|
77362
77874
|
*/
|
|
77363
77875
|
getKeyPredicate(
|
|
@@ -77400,6 +77912,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77400
77912
|
* Method not supported
|
|
77401
77913
|
*
|
|
77402
77914
|
* @since 1.37.0
|
|
77915
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77403
77916
|
*/
|
|
77404
77917
|
getObject(): void;
|
|
77405
77918
|
/**
|
|
@@ -77414,6 +77927,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77414
77927
|
* Method not supported
|
|
77415
77928
|
*
|
|
77416
77929
|
* @since 1.37.0
|
|
77930
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77417
77931
|
*/
|
|
77418
77932
|
getOriginalProperty(): void;
|
|
77419
77933
|
/**
|
|
@@ -77422,6 +77936,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77422
77936
|
* sap.ui.model.Model#getProperty
|
|
77423
77937
|
*
|
|
77424
77938
|
* @since 1.37.0
|
|
77939
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77425
77940
|
*/
|
|
77426
77941
|
getProperty(): void;
|
|
77427
77942
|
/**
|
|
@@ -77516,7 +78031,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77516
78031
|
*
|
|
77517
78032
|
* @since 1.107.0
|
|
77518
78033
|
*
|
|
77519
|
-
* @returns A promise that gets resolved with the proper
|
|
78034
|
+
* @returns A promise that gets resolved with the proper URL-encoded key predicate, for example "(Sector='A%2FB%26C',ID='42')"
|
|
77520
78035
|
* or "('42')", or `undefined` if at least one key property is undefined. It gets rejected if the metadata
|
|
77521
78036
|
* cannot be fetched, or in case the entity has no key properties according to the metadata.
|
|
77522
78037
|
*/
|
|
@@ -77530,6 +78045,25 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77530
78045
|
*/
|
|
77531
78046
|
oEntity: object
|
|
77532
78047
|
): Promise<string | undefined>;
|
|
78048
|
+
/**
|
|
78049
|
+
* Loads side effects for the given absolute paths on all affected bindings. For more information about
|
|
78050
|
+
* side effects in general, see {@link sap.ui.model.odata.v4.Context#requestSideEffects}.
|
|
78051
|
+
*
|
|
78052
|
+
* @since 1.146.0
|
|
78053
|
+
*
|
|
78054
|
+
* @returns A promise which is resolved without a defined result, or rejected with an error if the side
|
|
78055
|
+
* effects fail to load.
|
|
78056
|
+
*/
|
|
78057
|
+
requestSideEffects(
|
|
78058
|
+
/**
|
|
78059
|
+
* The absolute paths for which to request side effects, for example "/SalesOrderList/SO_2_SOITEM/Note".
|
|
78060
|
+
*/
|
|
78061
|
+
aAbsolutePaths: string[],
|
|
78062
|
+
/**
|
|
78063
|
+
* The group ID to be used. If not specified, the {@link #getUpdateGroupId update group ID} is used.
|
|
78064
|
+
*/
|
|
78065
|
+
sGroupId?: string
|
|
78066
|
+
): Promise<void>;
|
|
77533
78067
|
/**
|
|
77534
78068
|
* Resets all property changes, created entities, and entity deletions associated with the given group ID
|
|
77535
78069
|
* which have not been successfully submitted via {@link #submitBatch}. Resets also invalid user input for
|
|
@@ -77575,6 +78109,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77575
78109
|
* Method not supported
|
|
77576
78110
|
*
|
|
77577
78111
|
* @since 1.37.0
|
|
78112
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77578
78113
|
*/
|
|
77579
78114
|
setLegacySyntax(): void;
|
|
77580
78115
|
/**
|
|
@@ -77594,7 +78129,7 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77594
78129
|
/**
|
|
77595
78130
|
* A "Retry-After" handler
|
|
77596
78131
|
*/
|
|
77597
|
-
fnRetryAfter: (p1: Error) => Promise<
|
|
78132
|
+
fnRetryAfter: (p1: Error) => Promise<void>
|
|
77598
78133
|
): void;
|
|
77599
78134
|
/**
|
|
77600
78135
|
* Submits the requests associated with the given group ID in one batch request. Requests from subsequent
|
|
@@ -77676,12 +78211,16 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77676
78211
|
|
|
77677
78212
|
/**
|
|
77678
78213
|
* Parameters of the ODataModel#parseError event.
|
|
78214
|
+
*
|
|
78215
|
+
* @deprecated As of version 1.37.0. this event is not supported
|
|
77679
78216
|
*/
|
|
77680
78217
|
export interface ODataModel$ParseErrorEventParameters
|
|
77681
78218
|
extends Model$ParseErrorEventParameters {}
|
|
77682
78219
|
|
|
77683
78220
|
/**
|
|
77684
78221
|
* Event object of the ODataModel#parseError event.
|
|
78222
|
+
*
|
|
78223
|
+
* @deprecated As of version 1.37.0. this event is not supported
|
|
77685
78224
|
*/
|
|
77686
78225
|
export type ODataModel$ParseErrorEvent = Event<
|
|
77687
78226
|
ODataModel$ParseErrorEventParameters,
|
|
@@ -77715,12 +78254,16 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77715
78254
|
|
|
77716
78255
|
/**
|
|
77717
78256
|
* Parameters of the ODataModel#requestCompleted event.
|
|
78257
|
+
*
|
|
78258
|
+
* @deprecated As of version 1.37.0. this event is not supported
|
|
77718
78259
|
*/
|
|
77719
78260
|
export interface ODataModel$RequestCompletedEventParameters
|
|
77720
78261
|
extends Model$RequestCompletedEventParameters {}
|
|
77721
78262
|
|
|
77722
78263
|
/**
|
|
77723
78264
|
* Event object of the ODataModel#requestCompleted event.
|
|
78265
|
+
*
|
|
78266
|
+
* @deprecated As of version 1.37.0. this event is not supported
|
|
77724
78267
|
*/
|
|
77725
78268
|
export type ODataModel$RequestCompletedEvent = Event<
|
|
77726
78269
|
ODataModel$RequestCompletedEventParameters,
|
|
@@ -77729,12 +78272,16 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77729
78272
|
|
|
77730
78273
|
/**
|
|
77731
78274
|
* Parameters of the ODataModel#requestFailed event.
|
|
78275
|
+
*
|
|
78276
|
+
* @deprecated As of version 1.37.0. this event is not supported
|
|
77732
78277
|
*/
|
|
77733
78278
|
export interface ODataModel$RequestFailedEventParameters
|
|
77734
78279
|
extends Model$RequestFailedEventParameters {}
|
|
77735
78280
|
|
|
77736
78281
|
/**
|
|
77737
78282
|
* Event object of the ODataModel#requestFailed event.
|
|
78283
|
+
*
|
|
78284
|
+
* @deprecated As of version 1.37.0. this event is not supported
|
|
77738
78285
|
*/
|
|
77739
78286
|
export type ODataModel$RequestFailedEvent = Event<
|
|
77740
78287
|
ODataModel$RequestFailedEventParameters,
|
|
@@ -77743,12 +78290,16 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
77743
78290
|
|
|
77744
78291
|
/**
|
|
77745
78292
|
* Parameters of the ODataModel#requestSent event.
|
|
78293
|
+
*
|
|
78294
|
+
* @deprecated As of version 1.37.0. this event is not supported
|
|
77746
78295
|
*/
|
|
77747
78296
|
export interface ODataModel$RequestSentEventParameters
|
|
77748
78297
|
extends Model$RequestSentEventParameters {}
|
|
77749
78298
|
|
|
77750
78299
|
/**
|
|
77751
78300
|
* Event object of the ODataModel#requestSent event.
|
|
78301
|
+
*
|
|
78302
|
+
* @deprecated As of version 1.37.0. this event is not supported
|
|
77752
78303
|
*/
|
|
77753
78304
|
export type ODataModel$RequestSentEvent = Event<
|
|
77754
78305
|
ODataModel$RequestSentEventParameters,
|
|
@@ -77950,6 +78501,7 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
|
|
|
77950
78501
|
* Method not supported
|
|
77951
78502
|
*
|
|
77952
78503
|
* @since 1.37.0
|
|
78504
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
77953
78505
|
*/
|
|
77954
78506
|
isInitial(): boolean;
|
|
77955
78507
|
/**
|
|
@@ -78052,6 +78604,7 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
|
|
|
78052
78604
|
* sap.ui.model.Binding#resume
|
|
78053
78605
|
*
|
|
78054
78606
|
* @since 1.37.0
|
|
78607
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
78055
78608
|
*/
|
|
78056
78609
|
resume(): void;
|
|
78057
78610
|
/**
|
|
@@ -78116,6 +78669,7 @@ declare module "sap/ui/model/odata/v4/ODataPropertyBinding" {
|
|
|
78116
78669
|
* sap.ui.model.Binding#suspend
|
|
78117
78670
|
*
|
|
78118
78671
|
* @since 1.37.0
|
|
78672
|
+
* @deprecated As of version 1.37.0. calling this method is not supported
|
|
78119
78673
|
*/
|
|
78120
78674
|
suspend(): void;
|
|
78121
78675
|
/**
|
|
@@ -79669,6 +80223,26 @@ declare module "sap/ui/model/TreeBinding" {
|
|
|
79669
80223
|
*/
|
|
79670
80224
|
oListener?: object
|
|
79671
80225
|
): void;
|
|
80226
|
+
/**
|
|
80227
|
+
* Computes the binding's application filters by replacing application filters of the given type with the
|
|
80228
|
+
* given new filters. Subclasses call this method from their filter method implementation.
|
|
80229
|
+
*
|
|
80230
|
+
* @since 1.146.0
|
|
80231
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
80232
|
+
*
|
|
80233
|
+
* @returns The new application filters
|
|
80234
|
+
*/
|
|
80235
|
+
computeApplicationFilters(
|
|
80236
|
+
/**
|
|
80237
|
+
* The new filters for the given filter type
|
|
80238
|
+
*/
|
|
80239
|
+
vFilter?: Filter[] | Filter,
|
|
80240
|
+
/**
|
|
80241
|
+
* The type of the application filters to replace
|
|
80242
|
+
*/
|
|
80243
|
+
sFilterType?: /* was: sap.ui.model.FilterType.Application */
|
|
80244
|
+
any | /* was: sap.ui.model.FilterType.ApplicationBound */ any
|
|
80245
|
+
): Filter[] | Filter | undefined;
|
|
79672
80246
|
/**
|
|
79673
80247
|
* Detaches event handler `fnFunction` from the {@link #event:_filter _filter} event of this `sap.ui.model.TreeBinding`.
|
|
79674
80248
|
*
|
|
@@ -79698,7 +80272,9 @@ declare module "sap/ui/model/TreeBinding" {
|
|
|
79698
80272
|
*/
|
|
79699
80273
|
aFilters?: Filter[] | Filter,
|
|
79700
80274
|
/**
|
|
79701
|
-
* The type of
|
|
80275
|
+
* The type of filter to replace. If no type is specified, the behavior depends on the model implementation.
|
|
80276
|
+
* Since 1.146.0, you can use `sap.ui.model.FilterType.ApplicationBound` to set bound application filters
|
|
80277
|
+
* if the model implementation supports it.
|
|
79702
80278
|
*/
|
|
79703
80279
|
sFilterType?: FilterType | keyof typeof FilterType
|
|
79704
80280
|
): void;
|
|
@@ -82075,8 +82651,12 @@ declare module "sap/ui/test/actions/EnterText" {
|
|
|
82075
82651
|
/**
|
|
82076
82652
|
* Gets current value of property {@link #getKeepFocus keepFocus}.
|
|
82077
82653
|
*
|
|
82654
|
+
* If it is set to `true`, the input will remain focused after text is entered. Use this for inputs with
|
|
82655
|
+
* a suggestion list that you want to keep open.
|
|
82656
|
+
*
|
|
82078
82657
|
* Default value is `false`.
|
|
82079
82658
|
*
|
|
82659
|
+
* @since 1.67
|
|
82080
82660
|
*
|
|
82081
82661
|
* @returns Value of property `keepFocus`
|
|
82082
82662
|
*/
|
|
@@ -82084,8 +82664,13 @@ declare module "sap/ui/test/actions/EnterText" {
|
|
|
82084
82664
|
/**
|
|
82085
82665
|
* Gets current value of property {@link #getPressEnterKey pressEnterKey}.
|
|
82086
82666
|
*
|
|
82667
|
+
* If it is set to `true`, an ENTER key will be entered after the text. Use this for inputs that shouldn't
|
|
82668
|
+
* lose the focus after a text is entered. (e.g. inputs in a sap.m.Popover shouldn't be focused out, as
|
|
82669
|
+
* this will make the popover close in FF and IE11)
|
|
82670
|
+
*
|
|
82087
82671
|
* Default value is `false`.
|
|
82088
82672
|
*
|
|
82673
|
+
* @since 1.76
|
|
82089
82674
|
*
|
|
82090
82675
|
* @returns Value of property `pressEnterKey`
|
|
82091
82676
|
*/
|
|
@@ -82125,10 +82710,14 @@ declare module "sap/ui/test/actions/EnterText" {
|
|
|
82125
82710
|
/**
|
|
82126
82711
|
* Sets a new value for property {@link #getKeepFocus keepFocus}.
|
|
82127
82712
|
*
|
|
82713
|
+
* If it is set to `true`, the input will remain focused after text is entered. Use this for inputs with
|
|
82714
|
+
* a suggestion list that you want to keep open.
|
|
82715
|
+
*
|
|
82128
82716
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
82129
82717
|
*
|
|
82130
82718
|
* Default value is `false`.
|
|
82131
82719
|
*
|
|
82720
|
+
* @since 1.67
|
|
82132
82721
|
*
|
|
82133
82722
|
* @returns Reference to `this` in order to allow method chaining
|
|
82134
82723
|
*/
|
|
@@ -82141,10 +82730,15 @@ declare module "sap/ui/test/actions/EnterText" {
|
|
|
82141
82730
|
/**
|
|
82142
82731
|
* Sets a new value for property {@link #getPressEnterKey pressEnterKey}.
|
|
82143
82732
|
*
|
|
82733
|
+
* If it is set to `true`, an ENTER key will be entered after the text. Use this for inputs that shouldn't
|
|
82734
|
+
* lose the focus after a text is entered. (e.g. inputs in a sap.m.Popover shouldn't be focused out, as
|
|
82735
|
+
* this will make the popover close in FF and IE11)
|
|
82736
|
+
*
|
|
82144
82737
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
82145
82738
|
*
|
|
82146
82739
|
* Default value is `false`.
|
|
82147
82740
|
*
|
|
82741
|
+
* @since 1.76
|
|
82148
82742
|
*
|
|
82149
82743
|
* @returns Reference to `this` in order to allow method chaining
|
|
82150
82744
|
*/
|
|
@@ -82192,8 +82786,21 @@ declare module "sap/ui/test/actions/EnterText" {
|
|
|
82192
82786
|
*/
|
|
82193
82787
|
clearTextFirst?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
82194
82788
|
|
|
82789
|
+
/**
|
|
82790
|
+
* If it is set to `true`, the input will remain focused after text is entered. Use this for inputs with
|
|
82791
|
+
* a suggestion list that you want to keep open.
|
|
82792
|
+
*
|
|
82793
|
+
* @since 1.67
|
|
82794
|
+
*/
|
|
82195
82795
|
keepFocus?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
82196
82796
|
|
|
82797
|
+
/**
|
|
82798
|
+
* If it is set to `true`, an ENTER key will be entered after the text. Use this for inputs that shouldn't
|
|
82799
|
+
* lose the focus after a text is entered. (e.g. inputs in a sap.m.Popover shouldn't be focused out, as
|
|
82800
|
+
* this will make the popover close in FF and IE11)
|
|
82801
|
+
*
|
|
82802
|
+
* @since 1.76
|
|
82803
|
+
*/
|
|
82197
82804
|
pressEnterKey?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
82198
82805
|
}
|
|
82199
82806
|
}
|
|
@@ -82309,7 +82916,8 @@ declare module "sap/ui/test/actions/Press" {
|
|
|
82309
82916
|
static getMetadata(): ManagedObjectMetadata;
|
|
82310
82917
|
/**
|
|
82311
82918
|
* Sets focus on given control and triggers a 'tap' event on it (which is internally translated into a 'press'
|
|
82312
|
-
* event).
|
|
82919
|
+
* event). If `keyDown` or `keyUp` is set to `true`, dispatches the corresponding keyboard event instead
|
|
82920
|
+
* of mouse events. Logs an error if control is not visible (i.e. has no dom representation)
|
|
82313
82921
|
*/
|
|
82314
82922
|
executeOn(
|
|
82315
82923
|
/**
|
|
@@ -82337,6 +82945,28 @@ declare module "sap/ui/test/actions/Press" {
|
|
|
82337
82945
|
* @returns Value of property `ctrlKey`
|
|
82338
82946
|
*/
|
|
82339
82947
|
getCtrlKey(): boolean;
|
|
82948
|
+
/**
|
|
82949
|
+
* Gets current value of property {@link #getKeyDown keyDown}.
|
|
82950
|
+
*
|
|
82951
|
+
* If it is set to `true`, a `keydown` keyboard event will be dispatched instead of mouse events. The modifier
|
|
82952
|
+
* keys (shiftKey, altKey, ctrlKey) will be applied to the keyboard event if set.
|
|
82953
|
+
*
|
|
82954
|
+
* @since 1.146
|
|
82955
|
+
*
|
|
82956
|
+
* @returns Value of property `keyDown`
|
|
82957
|
+
*/
|
|
82958
|
+
getKeyDown(): boolean;
|
|
82959
|
+
/**
|
|
82960
|
+
* Gets current value of property {@link #getKeyUp keyUp}.
|
|
82961
|
+
*
|
|
82962
|
+
* If it is set to `true`, a `keyup` keyboard event will be dispatched instead of mouse events. The modifier
|
|
82963
|
+
* keys (shiftKey, altKey, ctrlKey) will be applied to the keyboard event if set.
|
|
82964
|
+
*
|
|
82965
|
+
* @since 1.146
|
|
82966
|
+
*
|
|
82967
|
+
* @returns Value of property `keyUp`
|
|
82968
|
+
*/
|
|
82969
|
+
getKeyUp(): boolean;
|
|
82340
82970
|
/**
|
|
82341
82971
|
* Gets current value of property {@link #getShiftKey shiftKey}.
|
|
82342
82972
|
*
|
|
@@ -82403,6 +83033,42 @@ declare module "sap/ui/test/actions/Press" {
|
|
|
82403
83033
|
*/
|
|
82404
83034
|
bCtrlKey: boolean
|
|
82405
83035
|
): this;
|
|
83036
|
+
/**
|
|
83037
|
+
* Sets a new value for property {@link #getKeyDown keyDown}.
|
|
83038
|
+
*
|
|
83039
|
+
* If it is set to `true`, a `keydown` keyboard event will be dispatched instead of mouse events. The modifier
|
|
83040
|
+
* keys (shiftKey, altKey, ctrlKey) will be applied to the keyboard event if set.
|
|
83041
|
+
*
|
|
83042
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
83043
|
+
*
|
|
83044
|
+
* @since 1.146
|
|
83045
|
+
*
|
|
83046
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
83047
|
+
*/
|
|
83048
|
+
setKeyDown(
|
|
83049
|
+
/**
|
|
83050
|
+
* New value for property `keyDown`
|
|
83051
|
+
*/
|
|
83052
|
+
bKeyDown: boolean
|
|
83053
|
+
): this;
|
|
83054
|
+
/**
|
|
83055
|
+
* Sets a new value for property {@link #getKeyUp keyUp}.
|
|
83056
|
+
*
|
|
83057
|
+
* If it is set to `true`, a `keyup` keyboard event will be dispatched instead of mouse events. The modifier
|
|
83058
|
+
* keys (shiftKey, altKey, ctrlKey) will be applied to the keyboard event if set.
|
|
83059
|
+
*
|
|
83060
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
83061
|
+
*
|
|
83062
|
+
* @since 1.146
|
|
83063
|
+
*
|
|
83064
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
83065
|
+
*/
|
|
83066
|
+
setKeyUp(
|
|
83067
|
+
/**
|
|
83068
|
+
* New value for property `keyUp`
|
|
83069
|
+
*/
|
|
83070
|
+
bKeyUp: boolean
|
|
83071
|
+
): this;
|
|
82406
83072
|
/**
|
|
82407
83073
|
* Sets a new value for property {@link #getShiftKey shiftKey}.
|
|
82408
83074
|
*
|
|
@@ -82497,6 +83163,22 @@ declare module "sap/ui/test/actions/Press" {
|
|
|
82497
83163
|
* @since 1.98
|
|
82498
83164
|
*/
|
|
82499
83165
|
yPercentage?: float | PropertyBindingInfo | `{${string}}`;
|
|
83166
|
+
|
|
83167
|
+
/**
|
|
83168
|
+
* If it is set to `true`, a `keydown` keyboard event will be dispatched instead of mouse events. The modifier
|
|
83169
|
+
* keys (shiftKey, altKey, ctrlKey) will be applied to the keyboard event if set.
|
|
83170
|
+
*
|
|
83171
|
+
* @since 1.146
|
|
83172
|
+
*/
|
|
83173
|
+
keyDown?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
83174
|
+
|
|
83175
|
+
/**
|
|
83176
|
+
* If it is set to `true`, a `keyup` keyboard event will be dispatched instead of mouse events. The modifier
|
|
83177
|
+
* keys (shiftKey, altKey, ctrlKey) will be applied to the keyboard event if set.
|
|
83178
|
+
*
|
|
83179
|
+
* @since 1.146
|
|
83180
|
+
*/
|
|
83181
|
+
keyUp?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
82500
83182
|
}
|
|
82501
83183
|
}
|
|
82502
83184
|
|
|
@@ -82580,6 +83262,8 @@ declare module "sap/ui/test/actions/Scroll" {
|
|
|
82580
83262
|
/**
|
|
82581
83263
|
* Gets current value of property {@link #getX x}.
|
|
82582
83264
|
*
|
|
83265
|
+
* The x scroll position.
|
|
83266
|
+
*
|
|
82583
83267
|
* Default value is `0`.
|
|
82584
83268
|
*
|
|
82585
83269
|
*
|
|
@@ -82589,6 +83273,8 @@ declare module "sap/ui/test/actions/Scroll" {
|
|
|
82589
83273
|
/**
|
|
82590
83274
|
* Gets current value of property {@link #getY y}.
|
|
82591
83275
|
*
|
|
83276
|
+
* The y scroll position.
|
|
83277
|
+
*
|
|
82592
83278
|
* Default value is `0`.
|
|
82593
83279
|
*
|
|
82594
83280
|
*
|
|
@@ -82598,6 +83284,8 @@ declare module "sap/ui/test/actions/Scroll" {
|
|
|
82598
83284
|
/**
|
|
82599
83285
|
* Sets a new value for property {@link #getX x}.
|
|
82600
83286
|
*
|
|
83287
|
+
* The x scroll position.
|
|
83288
|
+
*
|
|
82601
83289
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
82602
83290
|
*
|
|
82603
83291
|
* Default value is `0`.
|
|
@@ -82614,6 +83302,8 @@ declare module "sap/ui/test/actions/Scroll" {
|
|
|
82614
83302
|
/**
|
|
82615
83303
|
* Sets a new value for property {@link #getY y}.
|
|
82616
83304
|
*
|
|
83305
|
+
* The y scroll position.
|
|
83306
|
+
*
|
|
82617
83307
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
82618
83308
|
*
|
|
82619
83309
|
* Default value is `0`.
|
|
@@ -82632,8 +83322,14 @@ declare module "sap/ui/test/actions/Scroll" {
|
|
|
82632
83322
|
* Describes the settings that can be provided to the Scroll constructor.
|
|
82633
83323
|
*/
|
|
82634
83324
|
export interface $ScrollSettings extends $ActionSettings {
|
|
83325
|
+
/**
|
|
83326
|
+
* The x scroll position.
|
|
83327
|
+
*/
|
|
82635
83328
|
x?: int | PropertyBindingInfo | `{${string}}`;
|
|
82636
83329
|
|
|
83330
|
+
/**
|
|
83331
|
+
* The y scroll position.
|
|
83332
|
+
*/
|
|
82637
83333
|
y?: int | PropertyBindingInfo | `{${string}}`;
|
|
82638
83334
|
}
|
|
82639
83335
|
}
|
|
@@ -86589,8 +87285,13 @@ declare module "sap/ui/test/RecordReplay" {
|
|
|
86589
87285
|
* 'InteractionType'.
|
|
86590
87286
|
*/
|
|
86591
87287
|
enum InteractionType {
|
|
87288
|
+
/**
|
|
87289
|
+
* "EnterText" interaction type.
|
|
87290
|
+
*/
|
|
86592
87291
|
EnterText = "ENTER_TEXT",
|
|
86593
|
-
|
|
87292
|
+
/**
|
|
87293
|
+
* "Press" Interaction type.
|
|
87294
|
+
*/
|
|
86594
87295
|
Press = "PRESS",
|
|
86595
87296
|
}
|
|
86596
87297
|
}
|
|
@@ -89857,6 +90558,8 @@ declare namespace sap {
|
|
|
89857
90558
|
|
|
89858
90559
|
"sap/ui/dom/denormalizeScrollLeftRTL": undefined;
|
|
89859
90560
|
|
|
90561
|
+
"sap/ui/dom/detectTextSelection": undefined;
|
|
90562
|
+
|
|
89860
90563
|
"sap/ui/dom/getOwnerWindow": undefined;
|
|
89861
90564
|
|
|
89862
90565
|
"sap/ui/dom/getScrollbarSize": undefined;
|