@ui5/webcomponents 1.15.1 → 1.16.0-rc.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/CHANGELOG.md +11 -0
- package/LICENSE.txt +201 -0
- package/dist/ProgressIndicator.d.ts +10 -0
- package/dist/ProgressIndicator.js +3 -0
- package/dist/ProgressIndicator.js.map +1 -1
- package/dist/api.json +1 -1
- package/dist/assets/test/pages/ComboBox.html.b1886e2d.js +1 -0
- package/dist/assets/test/pages/Icon.html.5c84a641.js +1 -0
- package/dist/assets/test/pages/Label.html.89122b02.js +4 -0
- package/dist/assets/test/pages/Popups.html.ef68fcd5.js +1 -0
- package/dist/custom-elements.json +1 -1
- package/dist/generated/templates/ProgressIndicatorTemplate.lit.js +1 -1
- package/dist/generated/templates/ProgressIndicatorTemplate.lit.js.map +1 -1
- package/dist/test/pages/72override.html +33 -0
- package/dist/test/pages/AnimanitionOff.html +52 -0
- package/dist/test/pages/Avatar.html +264 -0
- package/dist/test/pages/AvatarGroup.html +376 -0
- package/dist/test/pages/Badge.html +75 -0
- package/dist/test/pages/Breadcrumbs.html +239 -0
- package/dist/test/pages/BusyIndicator.html +278 -0
- package/dist/test/pages/Button.html +280 -0
- package/dist/test/pages/Calendar.html +103 -0
- package/dist/test/pages/Card.html +348 -0
- package/dist/test/pages/Carousel.html +613 -0
- package/dist/test/pages/CheckBox.html +90 -0
- package/dist/test/pages/ColorPalette.html +126 -0
- package/dist/test/pages/ColorPalettePopover.html +141 -0
- package/dist/test/pages/ColorPicker.html +66 -0
- package/dist/test/pages/ComboBox.html +302 -0
- package/dist/test/pages/Components.html +106 -0
- package/dist/test/pages/CoreControls.html +203 -0
- package/dist/test/pages/CoreControls_exp.html +203 -0
- package/dist/test/pages/CustomCSS.html +55 -0
- package/dist/test/pages/DatePicker.html +211 -0
- package/dist/test/pages/DatePicker_test_page.html +109 -0
- package/dist/test/pages/DateRangePicker.html +67 -0
- package/dist/test/pages/DateTimePicker.html +199 -0
- package/dist/test/pages/DateTimePicker_Timezone.html +72 -0
- package/dist/test/pages/DayPicker.html +37 -0
- package/dist/test/pages/Dialog.html +813 -0
- package/dist/test/pages/DialogLifecycle.html +62 -0
- package/dist/test/pages/DialogSemantic.html +58 -0
- package/dist/test/pages/Eventing.html +33 -0
- package/dist/test/pages/F6Test1.html +42 -0
- package/dist/test/pages/F6Test2.html +42 -0
- package/dist/test/pages/F6Test3.html +39 -0
- package/dist/test/pages/F6Test4.html +46 -0
- package/dist/test/pages/F6Test5.html +42 -0
- package/dist/test/pages/F6Test6.html +39 -0
- package/dist/test/pages/F6Test7.html +36 -0
- package/dist/test/pages/FileUploader.html +138 -0
- package/dist/test/pages/FontFace.html +21 -0
- package/dist/test/pages/FormComponents.html +76 -0
- package/dist/test/pages/FormSupport.html +59 -0
- package/dist/test/pages/HCB.html +45 -0
- package/dist/test/pages/Icon.html +278 -0
- package/dist/test/pages/Icon_and_theming.html +67 -0
- package/dist/test/pages/Icon_custom.html +26 -0
- package/dist/test/pages/Input.html +731 -0
- package/dist/test/pages/InputFieldLabels.html +355 -0
- package/dist/test/pages/InputFieldMinWidth.html +230 -0
- package/dist/test/pages/InputIcons.html +80 -0
- package/dist/test/pages/Input_quickview.html +204 -0
- package/dist/test/pages/InputsAlignment.html +131 -0
- package/dist/test/pages/InputsLazyLoading.html +244 -0
- package/dist/test/pages/ItemNavigation.html +94 -0
- package/dist/test/pages/Kitchen.html +637 -0
- package/dist/test/pages/Kitchen.openui5.html +571 -0
- package/dist/test/pages/Label.html +192 -0
- package/dist/test/pages/Link.html +201 -0
- package/dist/test/pages/List.html +465 -0
- package/dist/test/pages/ListGrowing_Button.html +64 -0
- package/dist/test/pages/ListGrowing_Scroll.html +93 -0
- package/dist/test/pages/List_keyboard_support.html +130 -0
- package/dist/test/pages/List_test_page.html +413 -0
- package/dist/test/pages/LitKeyFunction.html +40 -0
- package/dist/test/pages/MemoryLeak.html +78 -0
- package/dist/test/pages/Menu.html +161 -0
- package/dist/test/pages/MessagePage.html +39 -0
- package/dist/test/pages/MessageStrip.html +55 -0
- package/dist/test/pages/MultiComboBox.html +500 -0
- package/dist/test/pages/MultiInput.html +485 -0
- package/dist/test/pages/MultiInput_Suggestions.html +161 -0
- package/dist/test/pages/OpenUI5-second.html +60 -0
- package/dist/test/pages/OpenUI5.html +104 -0
- package/dist/test/pages/OpenUI5Nightly.html +83 -0
- package/dist/test/pages/Panel.html +226 -0
- package/dist/test/pages/Popover.html +658 -0
- package/dist/test/pages/PopoverArrowBounds.html +52 -0
- package/dist/test/pages/Popups.html +131 -0
- package/dist/test/pages/ProgressIndicator.html +154 -0
- package/dist/test/pages/RTL.html +118 -0
- package/dist/test/pages/RadioButton.html +201 -0
- package/dist/test/pages/RangeSlider.html +96 -0
- package/dist/test/pages/RatingIndicator.html +117 -0
- package/dist/test/pages/ResizeHandler.html +74 -0
- package/dist/test/pages/ResponsivePopover.html +267 -0
- package/dist/test/pages/SegmentedButton.html +151 -0
- package/dist/test/pages/Select.html +272 -0
- package/dist/test/pages/Simple.html +25 -0
- package/dist/test/pages/Slider.html +79 -0
- package/dist/test/pages/SplitButton.html +127 -0
- package/dist/test/pages/StepInput.html +189 -0
- package/dist/test/pages/Switch.html +97 -0
- package/dist/test/pages/TabContainer.html +904 -0
- package/dist/test/pages/Table-perf-pure.html +73 -0
- package/dist/test/pages/Table-perf.html +76 -0
- package/dist/test/pages/Table.html +2808 -0
- package/dist/test/pages/Table2.html +53 -0
- package/dist/test/pages/TableAllPopin.html +228 -0
- package/dist/test/pages/TableCustomStyling.html +89 -0
- package/dist/test/pages/TableGrouping.html +109 -0
- package/dist/test/pages/TableGrowingWithButton.html +805 -0
- package/dist/test/pages/TableGrowingWithScroll.html +801 -0
- package/dist/test/pages/TableSelection.html +445 -0
- package/dist/test/pages/Test.html +15 -0
- package/dist/test/pages/TextArea.html +222 -0
- package/dist/test/pages/TimePicker.html +89 -0
- package/dist/test/pages/TimePickerClock.html +90 -0
- package/dist/test/pages/TimeSelection.html +31 -0
- package/dist/test/pages/TimeSelectionClocks.html +64 -0
- package/dist/test/pages/Title.html +60 -0
- package/dist/test/pages/Toast.html +111 -0
- package/dist/test/pages/ToggleButton.html +71 -0
- package/dist/test/pages/Tokenizer.html +91 -0
- package/dist/test/pages/Tree.html +307 -0
- package/dist/test/pages/TreeDynamic.html +56 -0
- package/dist/test/pages/WheelSlider_Test_Page.html +26 -0
- package/dist/test/pages/base/AriaLabelHelper.html +334 -0
- package/dist/test/pages/base/DOMObserver.html +20 -0
- package/dist/test/pages/base/IconCollection.html +23 -0
- package/dist/test/pages/base/IconCollectionInCustomTheme.html +25 -0
- package/dist/test/pages/base/IgnoreCustomElements.html +26 -0
- package/dist/test/pages/base/InvisibleMessage.html +44 -0
- package/dist/test/pages/form.html +123 -0
- package/dist/test/pages/i18n-defaultLang.html +31 -0
- package/dist/test/pages/i18n-demo.html +79 -0
- package/package.json +9 -8
- package/src/ProgressIndicator.hbs +1 -0
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
6
|
+
<title>StepInput test page</title>
|
|
7
|
+
|
|
8
|
+
<script>
|
|
9
|
+
// delete Document.prototype.adoptedStyleSheets;
|
|
10
|
+
</script>
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
<script data-id="sap-ui-config" type="application/json">
|
|
17
|
+
{
|
|
18
|
+
"rtl": false,
|
|
19
|
+
"formatSettings": {
|
|
20
|
+
"firstDayOfWeek": 0
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
<script type="module" crossorigin src="/assets/bundle.common.cd5b5590.js"></script>
|
|
27
|
+
<link rel="stylesheet" href="/assets/StepInput.5c7e8966.css">
|
|
28
|
+
</head>
|
|
29
|
+
<body class="stepinput1auto">
|
|
30
|
+
|
|
31
|
+
<h3> StepInput</h3>
|
|
32
|
+
<ui5-label id="myLabelChange">Event [change] :: N/A</ui5-label><br/>
|
|
33
|
+
|
|
34
|
+
<div>
|
|
35
|
+
<h3>StepInput in Cozy</h3>
|
|
36
|
+
<ui5-step-input id="stepInputCozy"
|
|
37
|
+
placeholder="Enter number"
|
|
38
|
+
class="stepinput2auto"
|
|
39
|
+
></ui5-step-input>
|
|
40
|
+
</div>
|
|
41
|
+
|
|
42
|
+
<div class="sapUiSizeCompact">
|
|
43
|
+
<h3>StepInput in Compact</h3>
|
|
44
|
+
<ui5-step-input id="stepInputCompact"
|
|
45
|
+
placeholder="Enter number"
|
|
46
|
+
class="stepinput2auto"
|
|
47
|
+
></ui5-step-input>
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
<div>
|
|
51
|
+
<h3>StepInput in with min=0, max=10 and step=1</h3>
|
|
52
|
+
<ui5-step-input id="stepInputMinMax"
|
|
53
|
+
placeholder="Enter number"
|
|
54
|
+
min="0"
|
|
55
|
+
max="10"
|
|
56
|
+
step="1"
|
|
57
|
+
class="stepinput2auto"
|
|
58
|
+
>
|
|
59
|
+
<div slot="valueStateMessage" class="stepinput3auto">Wrong Value</div>
|
|
60
|
+
</ui5-step-input>
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
<div>
|
|
64
|
+
<h3>StepInput in with min=0, max=10, step=0.05 and valuePrecision=2</h3>
|
|
65
|
+
<ui5-step-input id="stepInputPrecision"
|
|
66
|
+
placeholder="Enter number"
|
|
67
|
+
min="0"
|
|
68
|
+
max="10"
|
|
69
|
+
step="0.05"
|
|
70
|
+
value-precision="2"
|
|
71
|
+
class="stepinput4auto"
|
|
72
|
+
>
|
|
73
|
+
<div slot="valueStateMessage" class="stepinput3auto">Wrong Value</div>
|
|
74
|
+
</ui5-step-input>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<div>
|
|
78
|
+
<h3>Disabled StepInput</h3>
|
|
79
|
+
<ui5-step-input id="stepInputDisabled"
|
|
80
|
+
placeholder="Enter number"
|
|
81
|
+
class="stepinput2auto"
|
|
82
|
+
disabled
|
|
83
|
+
></ui5-step-input>
|
|
84
|
+
</div>
|
|
85
|
+
|
|
86
|
+
<div>
|
|
87
|
+
<h3>Readonly StepInput</h3>
|
|
88
|
+
<ui5-step-input id="stepInputReadOnly"
|
|
89
|
+
placeholder="Enter number"
|
|
90
|
+
class="stepinput2auto"
|
|
91
|
+
readonly
|
|
92
|
+
></ui5-step-input>
|
|
93
|
+
</div>
|
|
94
|
+
|
|
95
|
+
<div>
|
|
96
|
+
<h3>StepInput with valueState=None</h3>
|
|
97
|
+
<ui5-step-input id="stepInputNone"
|
|
98
|
+
placeholder="Enter number"
|
|
99
|
+
value-state="None"
|
|
100
|
+
class="stepinput2auto"
|
|
101
|
+
></ui5-step-input>
|
|
102
|
+
</div>
|
|
103
|
+
|
|
104
|
+
<div>
|
|
105
|
+
<h3>StepInput with valueState=Success</h3>
|
|
106
|
+
<ui5-step-input id="stepInputSuccess"
|
|
107
|
+
placeholder="Enter number"
|
|
108
|
+
value-state="Success"
|
|
109
|
+
class="stepinput2auto"
|
|
110
|
+
></ui5-step-input>
|
|
111
|
+
</div>
|
|
112
|
+
|
|
113
|
+
<div>
|
|
114
|
+
<h3>StepInput with valueState=Information</h3>
|
|
115
|
+
<ui5-step-input id="stepInputInformation"
|
|
116
|
+
placeholder="Enter number"
|
|
117
|
+
value-state="Information"
|
|
118
|
+
class="stepinput2auto"
|
|
119
|
+
></ui5-step-input>
|
|
120
|
+
</div>
|
|
121
|
+
|
|
122
|
+
<div>
|
|
123
|
+
<h3>StepInput with valueState=Warning</h3>
|
|
124
|
+
<ui5-step-input id="stepInputWarning"
|
|
125
|
+
placeholder="Enter number"
|
|
126
|
+
value-state="Warning"
|
|
127
|
+
class="stepinput2auto"
|
|
128
|
+
></ui5-step-input>
|
|
129
|
+
</div>
|
|
130
|
+
|
|
131
|
+
<div>
|
|
132
|
+
<h3>StepInput with valueState=Error</h3>
|
|
133
|
+
<ui5-step-input id="stepInputError"
|
|
134
|
+
placeholder="Enter number"
|
|
135
|
+
value-state="Error"
|
|
136
|
+
class="stepinput2auto"
|
|
137
|
+
></ui5-step-input>
|
|
138
|
+
</div>
|
|
139
|
+
|
|
140
|
+
<div>
|
|
141
|
+
<h3>StepInput change event test</h3>
|
|
142
|
+
<ui5-step-input id="stepInputChange1"
|
|
143
|
+
class="stepinput2auto"
|
|
144
|
+
value="1"
|
|
145
|
+
min="1"
|
|
146
|
+
step="1000"
|
|
147
|
+
></ui5-step-input>
|
|
148
|
+
<ui5-step-input id="stepInputChange2"
|
|
149
|
+
class="stepinput2auto"
|
|
150
|
+
value="1000"
|
|
151
|
+
min="1"
|
|
152
|
+
step="1000"
|
|
153
|
+
></ui5-step-input>
|
|
154
|
+
</div>
|
|
155
|
+
|
|
156
|
+
<h3> 'change' event result</h3>
|
|
157
|
+
<ui5-input id="changeResult"></ui5-input>
|
|
158
|
+
|
|
159
|
+
<script>
|
|
160
|
+
var labelChange = document.getElementById('myLabelChange');
|
|
161
|
+
var siCozy = document.getElementById('stepInputCozy');
|
|
162
|
+
var siCompact = document.getElementById('stepInputCompact');
|
|
163
|
+
var siMinMax = document.getElementById('stepInputMinMax');
|
|
164
|
+
var siPrecision = document.getElementById('stepInputPrecision');
|
|
165
|
+
var changeResult = document.getElementById('changeResult');
|
|
166
|
+
var changeCount = 0;
|
|
167
|
+
var displayChange = function (event) {
|
|
168
|
+
labelChange.innerHTML = "Event [change] :: [" + event.target.id + " ] :: " + event.detail.value;
|
|
169
|
+
changeCount++;
|
|
170
|
+
changeResult.value = changeCount;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
siCozy.addEventListener('ui5-change', displayChange);
|
|
174
|
+
siCompact.addEventListener('ui5-change', displayChange);
|
|
175
|
+
siMinMax.addEventListener('ui5-change', displayChange);
|
|
176
|
+
siPrecision.addEventListener('ui5-change', displayChange);
|
|
177
|
+
|
|
178
|
+
stepInputChange1.addEventListener('ui5-change', function(e) {
|
|
179
|
+
const val = Number.parseInt(e.target.value, 10);
|
|
180
|
+
stepInputChange2.value = val + 999;
|
|
181
|
+
displayChange(e);
|
|
182
|
+
});
|
|
183
|
+
|
|
184
|
+
stepInputChange2.addEventListener('ui5-change', displayChange);
|
|
185
|
+
|
|
186
|
+
</script>
|
|
187
|
+
|
|
188
|
+
</body>
|
|
189
|
+
</html>
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
|
|
7
|
+
<title>ui5-switch</title>
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
<script>// delete Document.prototype.adoptedStyleSheets</script>
|
|
14
|
+
<script type="module" crossorigin src="/assets/bundle.common.cd5b5590.js"></script>
|
|
15
|
+
<link rel="stylesheet" href="/assets/Switch.ab07b3d6.css">
|
|
16
|
+
</head>
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
<body class="switch1auto">
|
|
20
|
+
<h3>Default Switch</h3>
|
|
21
|
+
<div class="switch2auto">
|
|
22
|
+
<ui5-switch class="switch3auto" text-on="On" text-off="Off"></ui5-switch>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<div class="switch2auto">
|
|
26
|
+
<ui5-switch id="switchTooltip" tooltip="Use GPS location" class="switch3auto" text-on="Yes" text-off="No"></ui5-switch>
|
|
27
|
+
<ui5-switch id="switchAccName" accessible-name="Geographical location" class="switch3auto" text-on="Yes" text-off="No"></ui5-switch>
|
|
28
|
+
<ui5-label id="descriptionText">Use GPS location</ui5-label>
|
|
29
|
+
<ui5-switch id="switchAccNameRef" accessible-name-ref="descriptionText" class="switch3auto" text-on="Yes" text-off="No"></ui5-switch>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<h3>No Label</h3>
|
|
33
|
+
<div class="switch2auto">
|
|
34
|
+
<ui5-switch id="noLabel"></ui5-switch>
|
|
35
|
+
<ui5-switch checked></ui5-switch>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<h3>Default Switch</h3>
|
|
39
|
+
<div class="switch2auto">
|
|
40
|
+
<ui5-switch id="sw" text-on="On" text-off="Off"></ui5-switch>
|
|
41
|
+
<ui5-switch id="sw2" checked text-on="Yes" text-off="No"></ui5-switch>
|
|
42
|
+
<ui5-switch disabled text-on="On" text-off="Off"></ui5-switch>
|
|
43
|
+
<ui5-switch checked disabled text-on="Yes" text-off="No"></ui5-switch>
|
|
44
|
+
</div>
|
|
45
|
+
<ui5-label id="lbl"></ui5-label>
|
|
46
|
+
|
|
47
|
+
<h3>Change prevented Switch</h3>
|
|
48
|
+
<div class="switch2auto">
|
|
49
|
+
<ui5-switch id="switchprevented" text-on="On" text-off="Off"></ui5-switch>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<h3>Graphical Switch</h3>
|
|
53
|
+
<div class="switch2auto">
|
|
54
|
+
<ui5-switch design="Graphical" text-on="On" text-off="Off"></ui5-switch>
|
|
55
|
+
<ui5-switch design="Graphical" checked text-on="Yes" text-off="No"></ui5-switch>
|
|
56
|
+
<ui5-switch design="Graphical" text-on="On" text-off="Off" disabled></ui5-switch>
|
|
57
|
+
<ui5-switch design="Graphical" checked text-on="Yes" text-off="No" disabled></ui5-switch>
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
<h3>Custom Switch</h3>
|
|
61
|
+
<div class="switch2auto">
|
|
62
|
+
<ui5-switch text-on="Accept" text-off="Reject" class="switch4auto"></ui5-switch>
|
|
63
|
+
<ui5-switch checked text-on="Turned On" text-off="Turned Off" class="switch5auto"></ui5-switch>
|
|
64
|
+
<ui5-switch text-on="Enabled" text-off="disabled" class="switch6auto"></ui5-switch>
|
|
65
|
+
<ui5-switch checked text-on="Allowed" text-off="Prohibitted" class="switch7auto"></ui5-switch>
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
<h3>Switch styled with shadow parts</h3>
|
|
69
|
+
<div class="switch2auto">
|
|
70
|
+
<ui5-switch id="styled1" text-on="On" text-off="Off"></ui5-switch>
|
|
71
|
+
<ui5-switch class="styled2" checked text-on="Yes" text-off="No"></ui5-switch>
|
|
72
|
+
</div>
|
|
73
|
+
|
|
74
|
+
<ui5-input id="field"></ui5-input>
|
|
75
|
+
|
|
76
|
+
<h3>sap_horizon</h3>
|
|
77
|
+
<div class="switch2auto">
|
|
78
|
+
<ui5-switch disabled></ui5-switch>
|
|
79
|
+
<ui5-switch disabled checked></ui5-switch>
|
|
80
|
+
<ui5-switch></ui5-switch>
|
|
81
|
+
<ui5-switch checked></ui5-switch>
|
|
82
|
+
</div>
|
|
83
|
+
</body>
|
|
84
|
+
|
|
85
|
+
<script>
|
|
86
|
+
var counter = 0;
|
|
87
|
+
|
|
88
|
+
sw.addEventListener("ui5-change", function(e) {
|
|
89
|
+
lbl.innerHTML = e.target.checked + " : " + (++counter);
|
|
90
|
+
field.value = counter;
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
switchprevented.addEventListener("ui5-change", function(e) {
|
|
94
|
+
e.preventDefault();
|
|
95
|
+
});
|
|
96
|
+
</script>
|
|
97
|
+
</html>
|