@ui5/webcomponents 1.10.0 → 1.10.2
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/.dev-server-port +1 -0
- package/CHANGELOG.md +101 -0
- package/dist/Avatar.d.ts +2 -2
- package/dist/Badge.d.ts +3 -3
- package/dist/Breadcrumbs.d.ts +5 -5
- package/dist/Breadcrumbs.js +1 -1
- package/dist/BusyIndicator.d.ts +136 -0
- package/dist/BusyIndicator.js +126 -208
- package/dist/BusyIndicator.js.map +1 -0
- package/dist/Button.d.ts +3 -3
- package/dist/Calendar.d.ts +3 -3
- package/dist/Calendar.js +1 -1
- package/dist/CalendarHeader.d.ts +2 -2
- package/dist/Card.d.ts +3 -3
- package/dist/Card.js +1 -1
- package/dist/CardHeader.d.ts +2 -2
- package/dist/Carousel.d.ts +318 -0
- package/dist/Carousel.js +446 -642
- package/dist/Carousel.js.map +1 -0
- package/dist/CheckBox.d.ts +3 -3
- package/dist/ColorPalette.d.ts +5 -5
- package/dist/ColorPalette.js +1 -1
- package/dist/ColorPaletteItem.d.ts +2 -2
- package/dist/ColorPalettePopover.d.ts +2 -2
- package/dist/ColorPicker.d.ts +2 -2
- package/dist/ComboBox.js +2 -2
- package/dist/CustomListItem.d.ts +1 -1
- package/dist/DatePicker.d.ts +2 -2
- package/dist/DateTimePicker.d.ts +1 -1
- package/dist/DayPicker.d.ts +2 -2
- package/dist/Dialog.d.ts +4 -5
- package/dist/FileUploader.d.ts +4 -4
- package/dist/GroupHeaderListItem.d.ts +1 -1
- package/dist/Icon.d.ts +2 -2
- package/dist/Input.d.ts +5 -5
- package/dist/Input.js +1 -1
- package/dist/Label.d.ts +2 -2
- package/dist/Link.d.ts +2 -2
- package/dist/List.d.ts +4 -3
- package/dist/List.js +1 -1
- package/dist/ListItem.d.ts +1 -1
- package/dist/Menu.d.ts +3 -3
- package/dist/Menu.js +1 -1
- package/dist/MessageStrip.d.ts +2 -2
- package/dist/MonthPicker.d.ts +2 -2
- package/dist/MultiComboBox.js +6 -2
- package/dist/MultiInput.js +1 -1
- package/dist/Panel.d.ts +2 -2
- package/dist/Popover.d.ts +1 -1
- package/dist/Popup.d.ts +3 -3
- package/dist/ProgressIndicator.d.ts +2 -2
- package/dist/RangeSlider.d.ts +1 -1
- package/dist/ResponsivePopover.d.ts +1 -1
- package/dist/SegmentedButton.js +1 -1
- package/dist/Select.js +1 -1
- package/dist/Slider.d.ts +1 -1
- package/dist/SplitButton.d.ts +2 -2
- package/dist/StandardListItem.d.ts +2 -2
- package/dist/StepInput.d.ts +2 -2
- package/dist/SuggestionListItem.d.ts +1 -1
- package/dist/Switch.d.ts +2 -2
- package/dist/TabContainer.js +1 -2
- package/dist/Table.d.ts +6 -4
- package/dist/Table.js +1 -1
- package/dist/TableCell.d.ts +2 -2
- package/dist/TableColumn.d.ts +2 -2
- package/dist/TableGroupRow.d.ts +2 -2
- package/dist/TableRow.d.ts +2 -2
- package/dist/TimePickerBase.d.ts +4 -4
- package/dist/TimeSelection.d.ts +2 -2
- package/dist/Title.d.ts +2 -2
- package/dist/Tree.js +1 -1
- package/dist/WheelSlider.d.ts +2 -2
- package/dist/YearPicker.d.ts +2 -2
- package/dist/api.json +1 -1
- package/dist/generated/templates/CarouselTemplate.lit.js +2 -2
- package/global.d.ts +2 -2
- package/package.json +7 -7
- package/src/Badge.ts +1 -1
- package/src/Breadcrumbs.ts +1 -1
- package/src/{BusyIndicator.js → BusyIndicator.ts} +95 -100
- package/src/Calendar.ts +1 -1
- package/src/Card.ts +1 -1
- package/src/Carousel.hbs +3 -3
- package/src/{Carousel.js → Carousel.ts} +242 -234
- package/src/CheckBox.ts +1 -1
- package/src/ColorPalette.ts +1 -1
- package/src/ComboBox.js +2 -2
- package/src/Dialog.ts +2 -2
- package/src/Input.ts +1 -1
- package/src/List.ts +1 -1
- package/src/ListItem.ts +1 -1
- package/src/Menu.ts +1 -1
- package/src/MultiComboBox.js +6 -2
- package/src/MultiInput.js +1 -1
- package/src/SegmentedButton.js +1 -1
- package/src/Select.js +1 -1
- package/src/TabContainer.js +1 -2
- package/src/Table.ts +1 -1
- package/src/Tree.hbs +1 -1
- package/src/Tree.js +1 -1
package/dist/BusyIndicator.js
CHANGED
|
@@ -1,105 +1,26 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var BusyIndicator_1;
|
|
1
8
|
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
9
|
+
import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js";
|
|
10
|
+
import languageAware from "@ui5/webcomponents-base/dist/decorators/languageAware.js";
|
|
11
|
+
import property from "@ui5/webcomponents-base/dist/decorators/property.js";
|
|
2
12
|
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
13
|
import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
|
4
14
|
import { isTabNext } from "@ui5/webcomponents-base/dist/Keys.js";
|
|
5
15
|
import Integer from "@ui5/webcomponents-base/dist/types/Integer.js";
|
|
6
16
|
import BusyIndicatorSize from "./types/BusyIndicatorSize.js";
|
|
7
17
|
import Label from "./Label.js";
|
|
8
|
-
|
|
9
18
|
// Template
|
|
10
19
|
import BusyIndicatorTemplate from "./generated/templates/BusyIndicatorTemplate.lit.js";
|
|
11
|
-
|
|
20
|
+
// @ts-ignore
|
|
12
21
|
import { BUSY_INDICATOR_TITLE } from "./generated/i18n/i18n-defaults.js";
|
|
13
|
-
|
|
14
22
|
// Styles
|
|
15
23
|
import busyIndicatorCss from "./generated/themes/BusyIndicator.css.js";
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
const metadata = {
|
|
21
|
-
tag: "ui5-busy-indicator",
|
|
22
|
-
languageAware: true,
|
|
23
|
-
slots: /** @lends sap.ui.webc.main.BusyIndicator.prototype */ {
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Determines the content over which the component will appear.
|
|
27
|
-
*
|
|
28
|
-
* @type {Node[]}
|
|
29
|
-
* @slot
|
|
30
|
-
* @public
|
|
31
|
-
*/
|
|
32
|
-
"default": {
|
|
33
|
-
type: Node,
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
properties: /** @lends sap.ui.webc.main.BusyIndicator.prototype */ {
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Defines text to be displayed below the component. It can be used to inform the user of the current operation.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @public
|
|
42
|
-
* @defaultvalue ""
|
|
43
|
-
* @since 1.0.0-rc.7
|
|
44
|
-
*/
|
|
45
|
-
text: {
|
|
46
|
-
type: String,
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Defines the size of the component.
|
|
51
|
-
*
|
|
52
|
-
* <br><br>
|
|
53
|
-
* <b>Note:</b>
|
|
54
|
-
*
|
|
55
|
-
* <ul>
|
|
56
|
-
* <li><code>Small</code></li>
|
|
57
|
-
* <li><code>Medium</code></li>
|
|
58
|
-
* <li><code>Large</code></li>
|
|
59
|
-
* </ul>
|
|
60
|
-
*
|
|
61
|
-
* @type {sap.ui.webc.main.types.BusyIndicatorSize}
|
|
62
|
-
* @defaultvalue "Medium"
|
|
63
|
-
* @public
|
|
64
|
-
*/
|
|
65
|
-
size: {
|
|
66
|
-
type: BusyIndicatorSize,
|
|
67
|
-
defaultValue: BusyIndicatorSize.Medium,
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Defines if the busy indicator is visible on the screen. By default it is not.
|
|
72
|
-
*
|
|
73
|
-
* @type {boolean}
|
|
74
|
-
* @defaultvalue false
|
|
75
|
-
* @public
|
|
76
|
-
*/
|
|
77
|
-
active: {
|
|
78
|
-
type: Boolean,
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Defines the delay in milliseconds, after which the busy indicator will be visible on the screen.
|
|
83
|
-
*
|
|
84
|
-
* @type {sap.ui.webc.base.types.Integer}
|
|
85
|
-
* @defaultValue 1000
|
|
86
|
-
* @public
|
|
87
|
-
*/
|
|
88
|
-
delay: {
|
|
89
|
-
type: Integer,
|
|
90
|
-
defaultValue: 1000,
|
|
91
|
-
},
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Defines if the component is currently in busy state.
|
|
95
|
-
* @private
|
|
96
|
-
*/
|
|
97
|
-
_isBusy: {
|
|
98
|
-
type: Boolean,
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
};
|
|
102
|
-
|
|
103
24
|
/**
|
|
104
25
|
* @class
|
|
105
26
|
*
|
|
@@ -143,123 +64,120 @@ const metadata = {
|
|
|
143
64
|
* @public
|
|
144
65
|
* @since 0.12.0
|
|
145
66
|
*/
|
|
146
|
-
class BusyIndicator extends UI5Element {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
|
|
67
|
+
let BusyIndicator = BusyIndicator_1 = class BusyIndicator extends UI5Element {
|
|
68
|
+
constructor() {
|
|
69
|
+
super();
|
|
70
|
+
this._keydownHandler = this._handleKeydown.bind(this);
|
|
71
|
+
this._preventEventHandler = this._preventEvent.bind(this);
|
|
72
|
+
}
|
|
73
|
+
onEnterDOM() {
|
|
74
|
+
this.addEventListener("keydown", this._keydownHandler, {
|
|
75
|
+
capture: true,
|
|
76
|
+
});
|
|
77
|
+
this.addEventListener("keyup", this._preventEventHandler, {
|
|
78
|
+
capture: true,
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
onExitDOM() {
|
|
82
|
+
if (this._busyTimeoutId) {
|
|
83
|
+
clearTimeout(this._busyTimeoutId);
|
|
84
|
+
delete this._busyTimeoutId;
|
|
85
|
+
}
|
|
86
|
+
this.removeEventListener("keydown", this._keydownHandler, true);
|
|
87
|
+
this.removeEventListener("keyup", this._preventEventHandler, true);
|
|
88
|
+
}
|
|
89
|
+
static get styles() {
|
|
90
|
+
return busyIndicatorCss;
|
|
91
|
+
}
|
|
92
|
+
static get render() {
|
|
93
|
+
return litRender;
|
|
94
|
+
}
|
|
95
|
+
static get template() {
|
|
96
|
+
return BusyIndicatorTemplate;
|
|
97
|
+
}
|
|
98
|
+
static get dependencies() {
|
|
99
|
+
return [Label];
|
|
100
|
+
}
|
|
101
|
+
static async onDefine() {
|
|
102
|
+
BusyIndicator_1.i18nBundle = await getI18nBundle("@ui5/webcomponents");
|
|
103
|
+
}
|
|
104
|
+
get ariaTitle() {
|
|
105
|
+
return BusyIndicator_1.i18nBundle.getText(BUSY_INDICATOR_TITLE);
|
|
106
|
+
}
|
|
107
|
+
get labelId() {
|
|
108
|
+
return this.text ? `${this._id}-label` : undefined;
|
|
109
|
+
}
|
|
110
|
+
get classes() {
|
|
111
|
+
return {
|
|
112
|
+
root: {
|
|
113
|
+
"ui5-busy-indicator-root": true,
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
onBeforeRendering() {
|
|
118
|
+
if (this.active) {
|
|
119
|
+
if (!this._isBusy && !this._busyTimeoutId) {
|
|
120
|
+
this._busyTimeoutId = setTimeout(() => {
|
|
121
|
+
delete this._busyTimeoutId;
|
|
122
|
+
this._isBusy = true;
|
|
123
|
+
}, Math.max(0, this.delay));
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
if (this._busyTimeoutId) {
|
|
128
|
+
clearTimeout(this._busyTimeoutId);
|
|
129
|
+
delete this._busyTimeoutId;
|
|
130
|
+
}
|
|
131
|
+
this._isBusy = false;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
_handleKeydown(e) {
|
|
135
|
+
if (!this._isBusy) {
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
e.stopImmediatePropagation();
|
|
139
|
+
// move the focus to the last element in this DOM and let TAB continue to the next focusable element
|
|
140
|
+
if (isTabNext(e)) {
|
|
141
|
+
this.focusForward = true;
|
|
142
|
+
this.shadowRoot.querySelector("[data-ui5-focus-redirect]").focus();
|
|
143
|
+
this.focusForward = false;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
_preventEvent(e) {
|
|
147
|
+
if (this._isBusy) {
|
|
148
|
+
e.stopImmediatePropagation();
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Moves the focus to busy area when coming with SHIFT + TAB
|
|
153
|
+
*/
|
|
154
|
+
_redirectFocus(e) {
|
|
155
|
+
if (this.focusForward) {
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
e.preventDefault();
|
|
159
|
+
this.shadowRoot.querySelector(".ui5-busy-indicator-busy-area").focus();
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
__decorate([
|
|
163
|
+
property()
|
|
164
|
+
], BusyIndicator.prototype, "text", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
property({ type: BusyIndicatorSize, defaultValue: BusyIndicatorSize.Medium })
|
|
167
|
+
], BusyIndicator.prototype, "size", void 0);
|
|
168
|
+
__decorate([
|
|
169
|
+
property({ type: Boolean })
|
|
170
|
+
], BusyIndicator.prototype, "active", void 0);
|
|
171
|
+
__decorate([
|
|
172
|
+
property({ validator: Integer, defaultValue: 1000 })
|
|
173
|
+
], BusyIndicator.prototype, "delay", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
property({ type: Boolean })
|
|
176
|
+
], BusyIndicator.prototype, "_isBusy", void 0);
|
|
177
|
+
BusyIndicator = BusyIndicator_1 = __decorate([
|
|
178
|
+
customElement("ui5-busy-indicator"),
|
|
179
|
+
languageAware
|
|
180
|
+
], BusyIndicator);
|
|
263
181
|
BusyIndicator.define();
|
|
264
|
-
|
|
265
182
|
export default BusyIndicator;
|
|
183
|
+
//# sourceMappingURL=BusyIndicator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusyIndicator.js","sourceRoot":"","sources":["../src/BusyIndicator.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAG3E,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,OAAO,MAAM,+CAA+C,CAAC;AAEpE,OAAO,iBAAiB,MAAM,8BAA8B,CAAC;AAC7D,OAAO,KAAK,MAAM,YAAY,CAAC;AAE/B,WAAW;AACX,OAAO,qBAAqB,MAAM,oDAAoD,CAAC;AAEvF,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAEzE,SAAS;AACT,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAGH,IAAM,aAAa,qBAAnB,MAAM,aAAc,SAAQ,UAAU;IA6ErC;QACC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,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ACH,cAAc,CAAC,CAAa;QAC3B,IAAI,IAAI,CAAC,YAAY,EAAE;YACtB,OAAO;SACP;QAED,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,UAAW,CAAC,aAAa,CAAc,+BAA+B,CAAE,CAAC,KAAK,EAAE,CAAC;IACvF,CAAC;CACD,CAAA;AAjLA;IADC,QAAQ,EAAE;2CACG;AAoBd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,YAAY,EAAE,iBAAiB,CAAC,MAAM,EAAE,CAAC;2CACrD;AAWzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;6CACX;AAWjB;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;4CACtC;AAOf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;8CACV;AA3Db,aAAa;IAFlB,aAAa,CAAC,oBAAoB,CAAC;IACnC,aAAa;GACR,aAAa,CA2LlB;AAED,aAAa,CAAC,MAAM,EAAE,CAAC;AAEvB,eAAe,aAAa,CAAC"}
|
package/dist/Button.d.ts
CHANGED
|
@@ -228,9 +228,9 @@ declare class Button extends UI5Element implements IFormElement {
|
|
|
228
228
|
text: Array<Node>;
|
|
229
229
|
_deactivate: () => void;
|
|
230
230
|
_ontouchstart: PassiveEventListenerObject;
|
|
231
|
-
static get styles(): import("@ui5/webcomponents-base/
|
|
231
|
+
static get styles(): import("@ui5/webcomponents-base/dist/types.js").StyleData;
|
|
232
232
|
static get render(): (templateResult: object, container: HTMLElement | DocumentFragment, styleStrOrHrefsArr: string | string[] | undefined, forStaticArea: boolean, options: import("lit-html").RenderOptions) => void;
|
|
233
|
-
static get template(): import("@ui5/webcomponents-base/
|
|
233
|
+
static get template(): import("@ui5/webcomponents-base/dist/renderer/executeTemplate.js").TemplateFunction;
|
|
234
234
|
static get dependencies(): (typeof Icon)[];
|
|
235
235
|
static i18nBundle: I18nBundle;
|
|
236
236
|
constructor();
|
|
@@ -245,7 +245,7 @@ declare class Button extends UI5Element implements IFormElement {
|
|
|
245
245
|
_onfocusout(): void;
|
|
246
246
|
_onfocusin(e: FocusEvent): void;
|
|
247
247
|
get hasButtonType(): boolean;
|
|
248
|
-
get iconRole(): "presentation" | "
|
|
248
|
+
get iconRole(): "presentation" | "" | "img";
|
|
249
249
|
get isIconOnly(): boolean;
|
|
250
250
|
static typeTextMappings(): Record<string, I18nText>;
|
|
251
251
|
get buttonTypeText(): string;
|
package/dist/Calendar.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ type CalendarChangeEventDetail = {
|
|
|
133
133
|
* @alias sap.ui.webc.main.Calendar
|
|
134
134
|
* @extends sap.ui.webc.main.CalendarPart
|
|
135
135
|
* @tagname ui5-calendar
|
|
136
|
-
* @appenddocs CalendarDate
|
|
136
|
+
* @appenddocs sap.ui.webc.main.CalendarDate
|
|
137
137
|
* @public
|
|
138
138
|
* @since 1.0.0-rc.11
|
|
139
139
|
*/
|
|
@@ -184,8 +184,8 @@ declare class Calendar extends CalendarPart {
|
|
|
184
184
|
* @public
|
|
185
185
|
*/
|
|
186
186
|
dates: Array<CalendarDateComponentT>;
|
|
187
|
-
static get template(): import("@ui5/webcomponents-base/
|
|
188
|
-
static get styles(): import("@ui5/webcomponents-base/
|
|
187
|
+
static get template(): import("@ui5/webcomponents-base/dist/renderer/executeTemplate.js").TemplateFunction;
|
|
188
|
+
static get styles(): import("@ui5/webcomponents-base/dist/types.js").StyleData;
|
|
189
189
|
/**
|
|
190
190
|
* @private
|
|
191
191
|
*/
|
package/dist/Calendar.js
CHANGED
|
@@ -140,7 +140,7 @@ import calendarCSS from "./generated/themes/Calendar.css.js";
|
|
|
140
140
|
* @alias sap.ui.webc.main.Calendar
|
|
141
141
|
* @extends sap.ui.webc.main.CalendarPart
|
|
142
142
|
* @tagname ui5-calendar
|
|
143
|
-
* @appenddocs CalendarDate
|
|
143
|
+
* @appenddocs sap.ui.webc.main.CalendarDate
|
|
144
144
|
* @public
|
|
145
145
|
* @since 1.0.0-rc.11
|
|
146
146
|
*/
|
package/dist/CalendarHeader.d.ts
CHANGED
|
@@ -55,8 +55,8 @@ declare class CalendarHeader extends UI5Element {
|
|
|
55
55
|
_secondYearButtonText?: string;
|
|
56
56
|
static i18nBundle: I18nBundle;
|
|
57
57
|
static get render(): (templateResult: object, container: HTMLElement | DocumentFragment, styleStrOrHrefsArr: string | string[] | undefined, forStaticArea: boolean, options: import("lit-html").RenderOptions) => void;
|
|
58
|
-
static get template(): import("@ui5/webcomponents-base/
|
|
59
|
-
static get styles(): import("@ui5/webcomponents-base/
|
|
58
|
+
static get template(): import("@ui5/webcomponents-base/dist/renderer/executeTemplate.js").TemplateFunction;
|
|
59
|
+
static get styles(): import("@ui5/webcomponents-base/dist/types.js").StyleData;
|
|
60
60
|
static get dependencies(): (typeof Icon)[];
|
|
61
61
|
static onDefine(): Promise<void>;
|
|
62
62
|
constructor();
|
package/dist/Card.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ import Icon from "./Icon.js";
|
|
|
28
28
|
* @extends sap.ui.webc.base.UI5Element
|
|
29
29
|
* @tagname ui5-card
|
|
30
30
|
* @public
|
|
31
|
-
* @appenddocs CardHeader
|
|
31
|
+
* @appenddocs sap.ui.webc.main.CardHeader
|
|
32
32
|
*/
|
|
33
33
|
declare class Card extends UI5Element {
|
|
34
34
|
/**
|
|
@@ -74,8 +74,8 @@ declare class Card extends UI5Element {
|
|
|
74
74
|
header: Array<HTMLElement>;
|
|
75
75
|
static i18nBundle: I18nBundle;
|
|
76
76
|
static get render(): (templateResult: object, container: HTMLElement | DocumentFragment, styleStrOrHrefsArr: string | string[] | undefined, forStaticArea: boolean, options: import("lit-html").RenderOptions) => void;
|
|
77
|
-
static get template(): import("@ui5/webcomponents-base/
|
|
78
|
-
static get styles(): import("@ui5/webcomponents-base/
|
|
77
|
+
static get template(): import("@ui5/webcomponents-base/dist/renderer/executeTemplate.js").TemplateFunction;
|
|
78
|
+
static get styles(): import("@ui5/webcomponents-base/dist/types.js").StyleData;
|
|
79
79
|
get classes(): {
|
|
80
80
|
root: {
|
|
81
81
|
"ui5-card-root": boolean;
|
package/dist/Card.js
CHANGED
|
@@ -47,7 +47,7 @@ import cardCss from "./generated/themes/Card.css.js";
|
|
|
47
47
|
* @extends sap.ui.webc.base.UI5Element
|
|
48
48
|
* @tagname ui5-card
|
|
49
49
|
* @public
|
|
50
|
-
* @appenddocs CardHeader
|
|
50
|
+
* @appenddocs sap.ui.webc.main.CardHeader
|
|
51
51
|
*/
|
|
52
52
|
let Card = Card_1 = class Card extends UI5Element {
|
|
53
53
|
static get render() {
|
package/dist/CardHeader.d.ts
CHANGED
|
@@ -96,8 +96,8 @@ declare class CardHeader extends UI5Element {
|
|
|
96
96
|
action: Array<HTMLElement>;
|
|
97
97
|
static i18nBundle: I18nBundle;
|
|
98
98
|
static get render(): (templateResult: object, container: HTMLElement | DocumentFragment, styleStrOrHrefsArr: string | string[] | undefined, forStaticArea: boolean, options: import("lit-html").RenderOptions) => void;
|
|
99
|
-
static get template(): import("@ui5/webcomponents-base/
|
|
100
|
-
static get styles(): import("@ui5/webcomponents-base/
|
|
99
|
+
static get template(): import("@ui5/webcomponents-base/dist/renderer/executeTemplate.js").TemplateFunction;
|
|
100
|
+
static get styles(): import("@ui5/webcomponents-base/dist/types.js").StyleData;
|
|
101
101
|
get classes(): {
|
|
102
102
|
root: {
|
|
103
103
|
"ui5-card-header": boolean;
|