@sapui5/ts-types 1.120.43 → 1.120.44
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.chart.d.ts +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.core.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +1 -1
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.gantt.d.ts +1 -1
- package/types/sap.insights.d.ts +115 -1
- package/types/sap.m.d.ts +1 -1
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +1 -1
- package/types/sap.ui.core.d.ts +1 -1
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +1 -1
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- 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 +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +553 -2
- package/types/sap.ui.vk.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.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +1 -1
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
package/package.json
CHANGED
package/types/sap.chart.d.ts
CHANGED
package/types/sap.f.d.ts
CHANGED
package/types/sap.fe.core.d.ts
CHANGED
package/types/sap.fe.macros.d.ts
CHANGED
package/types/sap.fe.test.d.ts
CHANGED
package/types/sap.fe.tools.d.ts
CHANGED
package/types/sap.gantt.d.ts
CHANGED
package/types/sap.insights.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.120.
|
|
1
|
+
// For Library Version: 1.120.25
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -46,6 +46,118 @@ declare namespace sap {
|
|
|
46
46
|
description: string;
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
+
|
|
50
|
+
namespace channels {
|
|
51
|
+
/**
|
|
52
|
+
* Interface required for classes that would like to provide context using the `sap.insights.channels.ContextChannel`.
|
|
53
|
+
*
|
|
54
|
+
* @since 1.120
|
|
55
|
+
*/
|
|
56
|
+
interface IContextProvider {
|
|
57
|
+
__implements__sap_insights_channels_IContextProvider: boolean;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Getter of the current context as promise.
|
|
61
|
+
*
|
|
62
|
+
* @since 1.120
|
|
63
|
+
*
|
|
64
|
+
* @returns returns a promise of the context
|
|
65
|
+
*/
|
|
66
|
+
getContext(): Promise<object>;
|
|
67
|
+
/**
|
|
68
|
+
* Get the unique identifier of the context provider (e.g. app id)
|
|
69
|
+
*
|
|
70
|
+
* @since 1.120
|
|
71
|
+
*
|
|
72
|
+
* @returns unique id of the context provider
|
|
73
|
+
*/
|
|
74
|
+
getId(): string;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @since 1.120
|
|
79
|
+
*/
|
|
80
|
+
class ContextChannel extends sap.ui.base.Object {
|
|
81
|
+
/**
|
|
82
|
+
* Provides a communication between card providers and consumers in FLP and included iframes.
|
|
83
|
+
*/
|
|
84
|
+
constructor();
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Creates a new subclass of class sap.insights.channels.ContextChannel with name `sClassName` and enriches
|
|
88
|
+
* it with the information contained in `oClassInfo`.
|
|
89
|
+
*
|
|
90
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @returns Created class / constructor function
|
|
94
|
+
*/
|
|
95
|
+
static extend<T extends Record<string, unknown>>(
|
|
96
|
+
/**
|
|
97
|
+
* Name of the class being created
|
|
98
|
+
*/
|
|
99
|
+
sClassName: string,
|
|
100
|
+
/**
|
|
101
|
+
* Object literal with information about the class
|
|
102
|
+
*/
|
|
103
|
+
oClassInfo?: sap.ClassInfo<T, sap.insights.channels.ContextChannel>,
|
|
104
|
+
/**
|
|
105
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
106
|
+
* used by this class
|
|
107
|
+
*/
|
|
108
|
+
FNMetaImpl?: Function
|
|
109
|
+
): Function;
|
|
110
|
+
/**
|
|
111
|
+
* Returns a metadata object for class sap.insights.channels.ContextChannel.
|
|
112
|
+
*
|
|
113
|
+
*
|
|
114
|
+
* @returns Metadata object describing this class
|
|
115
|
+
*/
|
|
116
|
+
static getMetadata(): sap.ui.base.Metadata;
|
|
117
|
+
/**
|
|
118
|
+
* Get the context from the active provider.
|
|
119
|
+
*
|
|
120
|
+
* @since 1.120
|
|
121
|
+
*
|
|
122
|
+
* @returns .
|
|
123
|
+
*/
|
|
124
|
+
getContext(): Promise<object>;
|
|
125
|
+
/**
|
|
126
|
+
* Initialize the ContextChannel either with the FLP message broker or an internal implementation for iframes.
|
|
127
|
+
*
|
|
128
|
+
* @since 1.120
|
|
129
|
+
*
|
|
130
|
+
* @returns .
|
|
131
|
+
*/
|
|
132
|
+
init(): Promise<void>;
|
|
133
|
+
/**
|
|
134
|
+
* Register a card provider with a unique id. The provider will be notified if new consumers get registered.
|
|
135
|
+
*
|
|
136
|
+
* @since 1.120
|
|
137
|
+
*
|
|
138
|
+
* @returns .
|
|
139
|
+
*/
|
|
140
|
+
registerProvider(
|
|
141
|
+
/**
|
|
142
|
+
* Object implementing the TBD interface
|
|
143
|
+
*/
|
|
144
|
+
provider: sap.insights.channels.IContextProvider
|
|
145
|
+
): Promise<void>;
|
|
146
|
+
/**
|
|
147
|
+
* Unregister a previously registered consumer or provider.
|
|
148
|
+
*
|
|
149
|
+
* @since 1.120
|
|
150
|
+
*
|
|
151
|
+
* @returns .
|
|
152
|
+
*/
|
|
153
|
+
unregisterProvider(
|
|
154
|
+
/**
|
|
155
|
+
* Object implementing the TBD interface
|
|
156
|
+
*/
|
|
157
|
+
provider: sap.insights.channels.IContextProvider
|
|
158
|
+
): Promise<void>;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
49
161
|
/**
|
|
50
162
|
* Public (experimental) interface of the sap.insights.CardHelperService
|
|
51
163
|
*
|
|
@@ -469,6 +581,8 @@ declare namespace sap {
|
|
|
469
581
|
|
|
470
582
|
"sap/insights/CardsChannel": undefined;
|
|
471
583
|
|
|
584
|
+
"sap/insights/channels/ContextChannel": undefined;
|
|
585
|
+
|
|
472
586
|
"sap/insights/library": undefined;
|
|
473
587
|
|
|
474
588
|
"sap/insights/ManageCards": undefined;
|
package/types/sap.m.d.ts
CHANGED
package/types/sap.makit.d.ts
CHANGED
package/types/sap.me.d.ts
CHANGED
package/types/sap.ndc.d.ts
CHANGED
package/types/sap.ovp.d.ts
CHANGED
package/types/sap.sac.df.d.ts
CHANGED
package/types/sap.tnt.d.ts
CHANGED
package/types/sap.ui.comp.d.ts
CHANGED
package/types/sap.ui.core.d.ts
CHANGED
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.export.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
package/types/sap.ui.layout.d.ts
CHANGED
package/types/sap.ui.mdc.d.ts
CHANGED
package/types/sap.ui.rta.d.ts
CHANGED
package/types/sap.ui.suite.d.ts
CHANGED
package/types/sap.ui.table.d.ts
CHANGED
package/types/sap.ui.ux3.d.ts
CHANGED