@ui5/webcomponents 1.9.3 → 1.9.5
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 +19 -0
- package/LICENSE.txt +201 -0
- package/dist/AvatarGroup.js +2 -19
- package/dist/assets/test/pages/72override.html.dda35518.css +1 -0
- package/dist/assets/test/pages/AnimanitionOff.html.b7566ecc.css +1 -0
- package/dist/assets/test/pages/Avatar.html.62cc0573.css +1 -0
- package/dist/assets/test/pages/AvatarGroup.html.20647fe1.css +1 -0
- package/dist/assets/test/pages/Badge.html.bcc1c9a3.css +1 -0
- package/dist/assets/test/pages/Breadcrumbs.html.5753069f.css +1 -0
- package/dist/assets/test/pages/BusyIndicator.html.ce95c23c.css +1 -0
- package/dist/assets/test/pages/Button.html.957848f0.css +1 -0
- package/dist/assets/test/pages/Calendar.html.9ff42e30.css +1 -0
- package/dist/assets/test/pages/Card.html.8c5e4756.css +1 -0
- package/dist/assets/test/pages/Carousel.html.fcdd32a7.css +1 -0
- package/dist/assets/test/pages/CheckBox.html.08ae630d.css +1 -0
- package/dist/assets/test/pages/ColorPalette.html.8c4c4ca3.css +1 -0
- package/dist/assets/test/pages/ColorPalettePopover.html.727f90e2.css +1 -0
- package/dist/assets/test/pages/ColorPicker.html.cc0c0d29.css +1 -0
- package/dist/assets/test/pages/ComboBox.html.14fbc3aa.css +1 -0
- package/dist/assets/test/pages/ComboBox.html.9e0c6210.js +1 -0
- package/dist/assets/test/pages/Components.html.b41617c5.css +1 -0
- package/dist/assets/test/pages/CoreControls.html.dabd050c.css +1 -0
- package/dist/assets/test/pages/CoreControls_exp.html.46ab2dc9.css +1 -0
- package/dist/assets/test/pages/CustomCSS.html.4d6e9b1f.css +1 -0
- package/dist/assets/test/pages/DatePicker.html.e667d0b8.css +1 -0
- package/dist/assets/test/pages/DatePicker_test_page.html.882ab55e.css +1 -0
- package/dist/assets/test/pages/DateRangePicker.html.1b5072fd.css +1 -0
- package/dist/assets/test/pages/DateTimePicker.html.eff0e2e0.css +1 -0
- package/dist/assets/test/pages/DayPicker.html.5700622a.css +1 -0
- package/dist/assets/test/pages/Dialog.html.329cb1dc.css +1 -0
- package/dist/assets/test/pages/DialogLifecycle.html.e4ac6ba2.css +1 -0
- package/dist/assets/test/pages/DialogSemantic.html.f61ec13d.css +1 -0
- package/dist/assets/test/pages/DurationPicker.html.92ecf486.css +1 -0
- package/dist/assets/test/pages/Eventing.html.cd934528.css +1 -0
- package/dist/assets/test/pages/FileUploader.html.30b8cbbd.css +1 -0
- package/dist/assets/test/pages/FormSupport.html.4e02207b.css +1 -0
- package/dist/assets/test/pages/HCB.html.d458990b.css +1 -0
- package/dist/assets/test/pages/Icon.html.37ed8a16.js +1 -0
- package/dist/assets/test/pages/Icon.html.be3b1acc.css +1 -0
- package/dist/assets/test/pages/Input.html.85ce57b4.css +1 -0
- package/dist/assets/test/pages/Input_quickview.html.86df3de3.css +1 -0
- package/dist/assets/test/pages/InputsAlignment.html.5c5593c2.css +1 -0
- package/dist/assets/test/pages/ItemNavigation.html.f5758aae.css +1 -0
- package/dist/assets/test/pages/Kitchen.html.d0d90fc6.css +1 -0
- package/dist/assets/test/pages/Kitchen.openui5.html.910e3d52.css +1 -0
- package/dist/assets/test/pages/Label.html.e994dc8e.css +1 -0
- package/dist/assets/test/pages/Label.html.eeaddd05.js +4 -0
- package/dist/assets/test/pages/Link.html.d4c480d9.css +1 -0
- package/dist/assets/test/pages/List.html.65a3c4b3.css +1 -0
- package/dist/assets/test/pages/ListGrowing_Button.html.49bbaf80.css +1 -0
- package/dist/assets/test/pages/ListGrowing_Scroll.html.841dd1ed.css +1 -0
- package/dist/assets/test/pages/List_keyboard_support.html.a7297baf.css +1 -0
- package/dist/assets/test/pages/List_test_page.html.356d4e16.css +1 -0
- package/dist/assets/test/pages/LitKeyFunction.html.f3f9d649.css +1 -0
- package/dist/assets/test/pages/MemoryLeak.html.35d77e5e.css +1 -0
- package/dist/assets/test/pages/Menu.html.a758a26d.css +1 -0
- package/dist/assets/test/pages/MessagePage.html.30ffc162.css +1 -0
- package/dist/assets/test/pages/MessageStrip.html.8c2c85d5.css +1 -0
- package/dist/assets/test/pages/MultiComboBox.html.f06e18eb.css +1 -0
- package/dist/assets/test/pages/MultiInput.html.1c75cdc2.css +1 -0
- package/dist/assets/test/pages/MultiInput_Suggestions.html.79cd0348.css +1 -0
- package/dist/assets/test/pages/OpenUI5.html.cf1daa05.css +1 -0
- package/dist/assets/test/pages/Panel.html.399730d1.css +1 -0
- package/dist/assets/test/pages/Popover.html.87315ecf.css +1 -0
- package/dist/assets/test/pages/PopoverArrowBounds.html.c1e5feb1.css +1 -0
- package/dist/assets/test/pages/Popups.html.38b5aa5e.js +1 -0
- package/dist/assets/test/pages/Popups.html.bb021765.css +1 -0
- package/dist/assets/test/pages/ProgressIndicator.html.d61b0c53.css +1 -0
- package/dist/assets/test/pages/RTL.html.dbeca857.css +1 -0
- package/dist/assets/test/pages/RadioButton.html.ccfd1850.css +1 -0
- package/dist/assets/test/pages/RangeSlider.html.437a9174.css +1 -0
- package/dist/assets/test/pages/RatingIndicator.html.737cd73b.css +1 -0
- package/dist/assets/test/pages/ResizeHandler.html.ed7c5d20.css +1 -0
- package/dist/assets/test/pages/ResponsivePopover.html.6f67ae07.css +1 -0
- package/dist/assets/test/pages/SegmentedButton.html.8678479b.css +1 -0
- package/dist/assets/test/pages/Select.html.9c98a470.css +1 -0
- package/dist/assets/test/pages/Simple.html.8f2ddb30.css +1 -0
- package/dist/assets/test/pages/Slider.html.8ea10965.css +1 -0
- package/dist/assets/test/pages/SplitButton.html.5c992973.css +1 -0
- package/dist/assets/test/pages/StepInput.html.f22c112d.css +1 -0
- package/dist/assets/test/pages/Switch.html.a4f3262f.css +1 -0
- package/dist/assets/test/pages/TabContainer.html.7f2ade15.css +1 -0
- package/dist/assets/test/pages/Table-perf-pure.html.fce52e4b.css +1 -0
- package/dist/assets/test/pages/Table-perf.html.88634378.css +1 -0
- package/dist/assets/test/pages/Table.html.c43386f4.css +1 -0
- package/dist/assets/test/pages/Table2.html.aca0c111.css +1 -0
- package/dist/assets/test/pages/TableAllPopin.html.ad586de4.css +1 -0
- package/dist/assets/test/pages/TableCustomStyling.html.a85167d6.css +1 -0
- package/dist/assets/test/pages/TableGrouping.html.602ae2ad.css +1 -0
- package/dist/assets/test/pages/TableGrowingWithButton.html.5a39b2bf.css +1 -0
- package/dist/assets/test/pages/TableGrowingWithScroll.html.8ef93d31.css +1 -0
- package/dist/assets/test/pages/TableSelection.html.dba2d678.css +1 -0
- package/dist/assets/test/pages/TextArea.html.f8e10fd6.css +1 -0
- package/dist/assets/test/pages/TimePicker.html.9a4bb300.css +1 -0
- package/dist/assets/test/pages/TimeSelection.html.8ad57759.css +1 -0
- package/dist/assets/test/pages/Title.html.7bb51811.css +1 -0
- package/dist/assets/test/pages/Toast.html.47a93be2.css +1 -0
- package/dist/assets/test/pages/ToggleButton.html.3b7dbb8c.css +1 -0
- package/dist/assets/test/pages/Tree.html.74fe2a1d.css +1 -0
- package/dist/assets/test/pages/WheelSlider_Test_Page.html.8a9a5e49.css +1 -0
- package/dist/assets/test/pages/form.html.f0f82118.css +1 -0
- package/dist/assets/test/pages/i18n-defaultLang.html.b9d79c6b.css +1 -0
- package/dist/assets/test/pages/i18n-demo.html.c6751b5c.css +1 -0
- package/dist/test/pages/72override.html +33 -0
- package/dist/test/pages/AnimanitionOff.html +52 -0
- package/dist/test/pages/Avatar.html +265 -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 +255 -0
- package/dist/test/pages/Button.html +267 -0
- package/dist/test/pages/Calendar.html +96 -0
- package/dist/test/pages/Card.html +347 -0
- package/dist/test/pages/Carousel.html +574 -0
- package/dist/test/pages/CheckBox.html +76 -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 +279 -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 +193 -0
- package/dist/test/pages/DatePicker_test_page.html +97 -0
- package/dist/test/pages/DateRangePicker.html +64 -0
- package/dist/test/pages/DateTimePicker.html +190 -0
- package/dist/test/pages/DayPicker.html +37 -0
- package/dist/test/pages/Dialog.html +667 -0
- package/dist/test/pages/DialogLifecycle.html +62 -0
- package/dist/test/pages/DialogSemantic.html +59 -0
- package/dist/test/pages/DurationPicker.html +76 -0
- package/dist/test/pages/Eventing.html +33 -0
- package/dist/test/pages/FileUploader.html +138 -0
- package/dist/test/pages/FormSupport.html +59 -0
- package/dist/test/pages/HCB.html +45 -0
- package/dist/test/pages/Icon.html +257 -0
- package/dist/test/pages/Icon_custom.html +26 -0
- package/dist/test/pages/Input.html +722 -0
- package/dist/test/pages/InputFieldMinWidth.html +72 -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 +638 -0
- package/dist/test/pages/Kitchen.openui5.html +570 -0
- package/dist/test/pages/Label.html +161 -0
- package/dist/test/pages/Link.html +201 -0
- package/dist/test/pages/List.html +432 -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 +132 -0
- package/dist/test/pages/List_test_page.html +334 -0
- package/dist/test/pages/LitKeyFunction.html +40 -0
- package/dist/test/pages/MemoryLeak.html +78 -0
- package/dist/test/pages/Menu.html +79 -0
- package/dist/test/pages/MessagePage.html +39 -0
- package/dist/test/pages/MessageStrip.html +55 -0
- package/dist/test/pages/MultiComboBox.html +446 -0
- package/dist/test/pages/MultiInput.html +409 -0
- package/dist/test/pages/MultiInput_Suggestions.html +161 -0
- package/dist/test/pages/OpenUI5.html +83 -0
- package/dist/test/pages/Panel.html +227 -0
- package/dist/test/pages/Popover.html +614 -0
- package/dist/test/pages/PopoverArrowBounds.html +54 -0
- package/dist/test/pages/Popups.html +133 -0
- package/dist/test/pages/ProgressIndicator.html +151 -0
- package/dist/test/pages/RTL.html +118 -0
- package/dist/test/pages/RadioButton.html +201 -0
- package/dist/test/pages/RangeSlider.html +69 -0
- package/dist/test/pages/RatingIndicator.html +97 -0
- package/dist/test/pages/ResizeHandler.html +74 -0
- package/dist/test/pages/ResponsivePopover.html +204 -0
- package/dist/test/pages/SegmentedButton.html +116 -0
- package/dist/test/pages/Select.html +240 -0
- package/dist/test/pages/Simple.html +34 -0
- package/dist/test/pages/Slider.html +79 -0
- package/dist/test/pages/SplitButton.html +100 -0
- package/dist/test/pages/StepInput.html +164 -0
- package/dist/test/pages/Switch.html +88 -0
- package/dist/test/pages/TabContainer.html +876 -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 +205 -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/TextArea.html +212 -0
- package/dist/test/pages/TimePicker.html +81 -0
- package/dist/test/pages/TimeSelection.html +31 -0
- package/dist/test/pages/Title.html +37 -0
- package/dist/test/pages/Toast.html +111 -0
- package/dist/test/pages/ToggleButton.html +69 -0
- package/dist/test/pages/Tree.html +294 -0
- package/dist/test/pages/WheelSlider_Test_Page.html +26 -0
- package/dist/test/pages/base/DOMObserver.html +20 -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/AvatarGroup.js +2 -19
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>Color Palette</title>
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
7
|
+
|
|
8
|
+
<script data-ui5-config type="application/json">
|
|
9
|
+
{
|
|
10
|
+
"rtl": false
|
|
11
|
+
}
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
<script type="module" crossorigin src="/assets/bundle.common.9d78332e.js"></script>
|
|
20
|
+
<link rel="stylesheet" href="/assets/test/pages/ColorPalette.html.8c4c4ca3.css">
|
|
21
|
+
</head>
|
|
22
|
+
|
|
23
|
+
<body class="colorpalette1auto">
|
|
24
|
+
|
|
25
|
+
</body>
|
|
26
|
+
<ui5-color-palette id="cp1">
|
|
27
|
+
<ui5-color-palette-item value="darkblue"></ui5-color-palette-item>
|
|
28
|
+
<ui5-color-palette-item value="pink"></ui5-color-palette-item>
|
|
29
|
+
<ui5-color-palette-item value="#444444"></ui5-color-palette-item>
|
|
30
|
+
<ui5-color-palette-item value="rgb(0,200,0)"></ui5-color-palette-item>
|
|
31
|
+
<ui5-color-palette-item value="green"></ui5-color-palette-item>
|
|
32
|
+
<ui5-color-palette-item value="darkred"></ui5-color-palette-item>
|
|
33
|
+
<ui5-color-palette-item value="yellow"></ui5-color-palette-item>
|
|
34
|
+
<ui5-color-palette-item value="blue"></ui5-color-palette-item>
|
|
35
|
+
<ui5-color-palette-item value="cyan"></ui5-color-palette-item>
|
|
36
|
+
<ui5-color-palette-item value="orange"></ui5-color-palette-item>
|
|
37
|
+
<ui5-color-palette-item value="#5480e7"></ui5-color-palette-item>
|
|
38
|
+
<ui5-color-palette-item value="#ff6699"></ui5-color-palette-item>
|
|
39
|
+
</ui5-color-palette>
|
|
40
|
+
<br/>
|
|
41
|
+
<br/>
|
|
42
|
+
<br/>
|
|
43
|
+
<br/>
|
|
44
|
+
<br/>
|
|
45
|
+
<br/>
|
|
46
|
+
<br/>
|
|
47
|
+
<ui5-input id="itemClickResult" value="Nothing selected"></ui5-input>
|
|
48
|
+
<br>
|
|
49
|
+
<ui5-button id="colorPaletteBtn" >Open ColorPalette</ui5-button>
|
|
50
|
+
<ui5-responsive-popover id="respPopover">
|
|
51
|
+
<div id="respPopoverHeader" slot="header">
|
|
52
|
+
<ui5-title>Color Palette Popover</ui5-title>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<ui5-color-palette id="cp2">
|
|
56
|
+
<ui5-color-palette-item value="darkblue"></ui5-color-palette-item>
|
|
57
|
+
<ui5-color-palette-item value="pink"></ui5-color-palette-item>
|
|
58
|
+
<ui5-color-palette-item value="#444444"></ui5-color-palette-item>
|
|
59
|
+
<ui5-color-palette-item value="rgb(0,200,0)"></ui5-color-palette-item>
|
|
60
|
+
<ui5-color-palette-item value="green"></ui5-color-palette-item>
|
|
61
|
+
<ui5-color-palette-item value="darkred"></ui5-color-palette-item>
|
|
62
|
+
<ui5-color-palette-item value="yellow"></ui5-color-palette-item>
|
|
63
|
+
<ui5-color-palette-item value="blue"></ui5-color-palette-item>
|
|
64
|
+
<ui5-color-palette-item value="cyan"></ui5-color-palette-item>
|
|
65
|
+
<ui5-color-palette-item value="orange"></ui5-color-palette-item>
|
|
66
|
+
<ui5-color-palette-item value="#5480e7"></ui5-color-palette-item>
|
|
67
|
+
<ui5-color-palette-item value="#ff6699"></ui5-color-palette-item>
|
|
68
|
+
<ui5-color-palette-item value="invalidColor"></ui5-color-palette-item>
|
|
69
|
+
<ui5-color-palette-item value="gray"></ui5-color-palette-item>
|
|
70
|
+
<ui5-color-palette-item value="white"></ui5-color-palette-item>
|
|
71
|
+
<ui5-color-palette-item value="cyan"></ui5-color-palette-item>
|
|
72
|
+
</ui5-color-palette>
|
|
73
|
+
|
|
74
|
+
<div slot="footer" class="popover-footer">
|
|
75
|
+
<ui5-button id="btnClose" design="Emphasized">Close</ui5-button>
|
|
76
|
+
</div>
|
|
77
|
+
</ui5-responsive-popover>
|
|
78
|
+
|
|
79
|
+
<br/>
|
|
80
|
+
<br/>
|
|
81
|
+
<br/>
|
|
82
|
+
|
|
83
|
+
<ui5-color-palette id="cp3" show-more-colors show-recent-colors>
|
|
84
|
+
<ui5-color-palette-item value="darkblue"></ui5-color-palette-item>
|
|
85
|
+
<ui5-color-palette-item value="pink"></ui5-color-palette-item>
|
|
86
|
+
<ui5-color-palette-item value="#444444"></ui5-color-palette-item>
|
|
87
|
+
<ui5-color-palette-item value="rgb(0,200,0)"></ui5-color-palette-item>
|
|
88
|
+
<ui5-color-palette-item value="green"></ui5-color-palette-item>
|
|
89
|
+
<ui5-color-palette-item value="darkred"></ui5-color-palette-item>
|
|
90
|
+
<ui5-color-palette-item value="yellow"></ui5-color-palette-item>
|
|
91
|
+
<ui5-color-palette-item value="blue"></ui5-color-palette-item>
|
|
92
|
+
<ui5-color-palette-item value="cyan"></ui5-color-palette-item>
|
|
93
|
+
<ui5-color-palette-item value="orange"></ui5-color-palette-item>
|
|
94
|
+
<ui5-color-palette-item value="#5480e7"></ui5-color-palette-item>
|
|
95
|
+
<ui5-color-palette-item value="#ff6699"></ui5-color-palette-item>
|
|
96
|
+
</ui5-color-palette>
|
|
97
|
+
|
|
98
|
+
<ui5-color-palette id="cp4" show-more-colors show-recent-colors>
|
|
99
|
+
<ui5-color-palette-item value="pink"></ui5-color-palette-item>
|
|
100
|
+
<ui5-color-palette-item value="darkblue"></ui5-color-palette-item>
|
|
101
|
+
<ui5-color-palette-item value="#444444"></ui5-color-palette-item>
|
|
102
|
+
<ui5-color-palette-item value="rgb(0,200,0)"></ui5-color-palette-item>
|
|
103
|
+
<ui5-color-palette-item value="green"></ui5-color-palette-item>
|
|
104
|
+
<ui5-color-palette-item value="darkred"></ui5-color-palette-item>
|
|
105
|
+
<ui5-color-palette-item value="yellow"></ui5-color-palette-item>
|
|
106
|
+
<ui5-color-palette-item value="blue"></ui5-color-palette-item>
|
|
107
|
+
<ui5-color-palette-item value="cyan"></ui5-color-palette-item>
|
|
108
|
+
<ui5-color-palette-item value="orange"></ui5-color-palette-item>
|
|
109
|
+
<ui5-color-palette-item value="#5480e7"></ui5-color-palette-item>
|
|
110
|
+
<ui5-color-palette-item value="#ff6699"></ui5-color-palette-item>
|
|
111
|
+
</ui5-color-palette>
|
|
112
|
+
|
|
113
|
+
<script>
|
|
114
|
+
cp1.addEventListener("item-click", function(event) {
|
|
115
|
+
itemClickResult.value = event.detail.color;
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
colorPaletteBtn.addEventListener("click", function(event) {
|
|
119
|
+
respPopover.showAt(colorPaletteBtn);
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
btnClose.addEventListener("click", function(event) {
|
|
123
|
+
respPopover.close();
|
|
124
|
+
});
|
|
125
|
+
</script>
|
|
126
|
+
</html>
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>Color Palette Popover</title>
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
7
|
+
|
|
8
|
+
<script data-ui5-config type="application/json">
|
|
9
|
+
{
|
|
10
|
+
"rtl": false
|
|
11
|
+
}
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
<script type="module" crossorigin src="/assets/bundle.common.9d78332e.js"></script>
|
|
20
|
+
<link rel="stylesheet" href="/assets/test/pages/ColorPalettePopover.html.727f90e2.css">
|
|
21
|
+
</head>
|
|
22
|
+
|
|
23
|
+
<body class="colorpalettepopover1auto">
|
|
24
|
+
|
|
25
|
+
</body>
|
|
26
|
+
<ui5-button id="colorPaletteBtn" >Open ColorPalettePopover</ui5-button>
|
|
27
|
+
<ui5-color-palette-popover id="colorPalettePopover" show-recent-colors show-more-colors show-default-color default-color="green">
|
|
28
|
+
<ui5-color-palette-item value="pink"></ui5-color-palette-item>
|
|
29
|
+
<ui5-color-palette-item value="darkblue"></ui5-color-palette-item>
|
|
30
|
+
<ui5-color-palette-item value="#444444"></ui5-color-palette-item>
|
|
31
|
+
<ui5-color-palette-item value="rgb(0,200,0)"></ui5-color-palette-item>
|
|
32
|
+
<ui5-color-palette-item value="green"></ui5-color-palette-item>
|
|
33
|
+
<ui5-color-palette-item value="darkred"></ui5-color-palette-item>
|
|
34
|
+
<ui5-color-palette-item value="yellow"></ui5-color-palette-item>
|
|
35
|
+
<ui5-color-palette-item value="blue"></ui5-color-palette-item>
|
|
36
|
+
<ui5-color-palette-item value="cyan"></ui5-color-palette-item>
|
|
37
|
+
<ui5-color-palette-item value="orange"></ui5-color-palette-item>
|
|
38
|
+
<ui5-color-palette-item value="#5480e7"></ui5-color-palette-item>
|
|
39
|
+
<ui5-color-palette-item value="#ff6699"></ui5-color-palette-item>
|
|
40
|
+
</ui5-color-palette-popover>
|
|
41
|
+
|
|
42
|
+
<ui5-button id="colorPaletteBtn1" >Open ColorPalettePopover</ui5-button>
|
|
43
|
+
<ui5-color-palette-popover id="colorPalettePopover1" show-more-colors show-default-color default-color="green">
|
|
44
|
+
<ui5-color-palette-item value="pink"></ui5-color-palette-item>
|
|
45
|
+
<ui5-color-palette-item value="darkblue"></ui5-color-palette-item>
|
|
46
|
+
<ui5-color-palette-item value="#444444"></ui5-color-palette-item>
|
|
47
|
+
<ui5-color-palette-item value="rgb(0,200,0)"></ui5-color-palette-item>
|
|
48
|
+
<ui5-color-palette-item value="green"></ui5-color-palette-item>
|
|
49
|
+
<ui5-color-palette-item value="darkred"></ui5-color-palette-item>
|
|
50
|
+
<ui5-color-palette-item value="yellow"></ui5-color-palette-item>
|
|
51
|
+
<ui5-color-palette-item value="blue"></ui5-color-palette-item>
|
|
52
|
+
<ui5-color-palette-item value="cyan"></ui5-color-palette-item>
|
|
53
|
+
<ui5-color-palette-item value="orange"></ui5-color-palette-item>
|
|
54
|
+
<ui5-color-palette-item value="#5480e7"></ui5-color-palette-item>
|
|
55
|
+
<ui5-color-palette-item value="#ff6699"></ui5-color-palette-item>
|
|
56
|
+
</ui5-color-palette-popover>
|
|
57
|
+
|
|
58
|
+
<ui5-button id="colorPaletteBtn2" >Open ColorPalettePopover</ui5-button>
|
|
59
|
+
<ui5-color-palette-popover id="colorPalettePopover2" show-recent-colors show-default-color default-color="green">
|
|
60
|
+
<ui5-color-palette-item value="pink"></ui5-color-palette-item>
|
|
61
|
+
<ui5-color-palette-item value="darkblue"></ui5-color-palette-item>
|
|
62
|
+
<ui5-color-palette-item value="#444444"></ui5-color-palette-item>
|
|
63
|
+
<ui5-color-palette-item value="rgb(0,200,0)"></ui5-color-palette-item>
|
|
64
|
+
<ui5-color-palette-item value="green"></ui5-color-palette-item>
|
|
65
|
+
<ui5-color-palette-item value="darkred"></ui5-color-palette-item>
|
|
66
|
+
<ui5-color-palette-item value="yellow"></ui5-color-palette-item>
|
|
67
|
+
<ui5-color-palette-item value="blue"></ui5-color-palette-item>
|
|
68
|
+
<ui5-color-palette-item value="cyan"></ui5-color-palette-item>
|
|
69
|
+
<ui5-color-palette-item value="orange"></ui5-color-palette-item>
|
|
70
|
+
<ui5-color-palette-item value="#5480e7"></ui5-color-palette-item>
|
|
71
|
+
<ui5-color-palette-item value="#ff6699"></ui5-color-palette-item>
|
|
72
|
+
</ui5-color-palette-popover>
|
|
73
|
+
|
|
74
|
+
<ui5-button id="colorPaletteBtn3" >Open ColorPalettePopover</ui5-button>
|
|
75
|
+
<ui5-color-palette-popover id="colorPalettePopover3" show-recent-colors show-more-colors>
|
|
76
|
+
<ui5-color-palette-item value="pink"></ui5-color-palette-item>
|
|
77
|
+
<ui5-color-palette-item value="darkblue"></ui5-color-palette-item>
|
|
78
|
+
<ui5-color-palette-item value="#444444"></ui5-color-palette-item>
|
|
79
|
+
<ui5-color-palette-item value="rgb(0,200,0)"></ui5-color-palette-item>
|
|
80
|
+
<ui5-color-palette-item value="green"></ui5-color-palette-item>
|
|
81
|
+
<ui5-color-palette-item value="darkred"></ui5-color-palette-item>
|
|
82
|
+
<ui5-color-palette-item value="yellow"></ui5-color-palette-item>
|
|
83
|
+
<ui5-color-palette-item value="blue"></ui5-color-palette-item>
|
|
84
|
+
<ui5-color-palette-item value="cyan"></ui5-color-palette-item>
|
|
85
|
+
<ui5-color-palette-item value="orange"></ui5-color-palette-item>
|
|
86
|
+
<ui5-color-palette-item value="#5480e7"></ui5-color-palette-item>
|
|
87
|
+
<ui5-color-palette-item value="#ff6699"></ui5-color-palette-item>
|
|
88
|
+
</ui5-color-palette-popover>
|
|
89
|
+
|
|
90
|
+
<ui5-button id="colorPaletteBtn4" >Open ColorPalettePopover</ui5-button>
|
|
91
|
+
<ui5-color-palette-popover id="colorPalettePopover4">
|
|
92
|
+
<ui5-color-palette-item value="pink"></ui5-color-palette-item>
|
|
93
|
+
<ui5-color-palette-item value="darkblue"></ui5-color-palette-item>
|
|
94
|
+
<ui5-color-palette-item value="#444444"></ui5-color-palette-item>
|
|
95
|
+
<ui5-color-palette-item value="rgb(0,200,0)"></ui5-color-palette-item>
|
|
96
|
+
<ui5-color-palette-item value="green"></ui5-color-palette-item>
|
|
97
|
+
<ui5-color-palette-item value="darkred"></ui5-color-palette-item>
|
|
98
|
+
<ui5-color-palette-item value="yellow"></ui5-color-palette-item>
|
|
99
|
+
<ui5-color-palette-item value="blue"></ui5-color-palette-item>
|
|
100
|
+
<ui5-color-palette-item value="cyan"></ui5-color-palette-item>
|
|
101
|
+
<ui5-color-palette-item value="orange"></ui5-color-palette-item>
|
|
102
|
+
<ui5-color-palette-item value="#5480e7"></ui5-color-palette-item>
|
|
103
|
+
<ui5-color-palette-item value="#ff6699"></ui5-color-palette-item>
|
|
104
|
+
</ui5-color-palette-popover>
|
|
105
|
+
|
|
106
|
+
<ui5-button id="colorPaletteBtn5" >Open ColorPalettePopover</ui5-button>
|
|
107
|
+
<ui5-color-palette-popover id="colorPalettePopover5" show-recent-colors show-default-color default-color="green">
|
|
108
|
+
<ui5-color-palette-item value="pink"></ui5-color-palette-item>
|
|
109
|
+
<ui5-color-palette-item value="darkblue"></ui5-color-palette-item>
|
|
110
|
+
<ui5-color-palette-item value="#444444"></ui5-color-palette-item>
|
|
111
|
+
<ui5-color-palette-item value="rgb(0,200,0)"></ui5-color-palette-item>
|
|
112
|
+
<ui5-color-palette-item value="green"></ui5-color-palette-item>
|
|
113
|
+
<ui5-color-palette-item value="darkred"></ui5-color-palette-item>
|
|
114
|
+
<ui5-color-palette-item value="yellow"></ui5-color-palette-item>
|
|
115
|
+
<ui5-color-palette-item value="blue"></ui5-color-palette-item>
|
|
116
|
+
<ui5-color-palette-item value="cyan"></ui5-color-palette-item>
|
|
117
|
+
<ui5-color-palette-item value="orange"></ui5-color-palette-item>
|
|
118
|
+
<ui5-color-palette-item value="#5480e7"></ui5-color-palette-item>
|
|
119
|
+
<ui5-color-palette-item value="#ff6699"></ui5-color-palette-item>
|
|
120
|
+
</ui5-color-palette-popover>
|
|
121
|
+
<script>
|
|
122
|
+
colorPaletteBtn.addEventListener("click", function(event) {
|
|
123
|
+
colorPalettePopover.showAt(this);
|
|
124
|
+
});
|
|
125
|
+
colorPaletteBtn1.addEventListener("click", function(event) {
|
|
126
|
+
colorPalettePopover1.showAt(this);
|
|
127
|
+
});
|
|
128
|
+
colorPaletteBtn2.addEventListener("click", function(event) {
|
|
129
|
+
colorPalettePopover2.showAt(this);
|
|
130
|
+
});
|
|
131
|
+
colorPaletteBtn3.addEventListener("click", function(event) {
|
|
132
|
+
colorPalettePopover3.showAt(this);
|
|
133
|
+
});
|
|
134
|
+
colorPaletteBtn4.addEventListener("click", function(event) {
|
|
135
|
+
colorPalettePopover4.showAt(this);
|
|
136
|
+
});
|
|
137
|
+
colorPaletteBtn5.addEventListener("click", function(event) {
|
|
138
|
+
colorPalettePopover5.showAt(this);
|
|
139
|
+
});
|
|
140
|
+
</script>
|
|
141
|
+
</html>
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
|
|
7
|
+
<title>ColorPicker Playground</title>
|
|
8
|
+
|
|
9
|
+
<script>
|
|
10
|
+
// delete Document.prototype.adoptedStyleSheets;
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<script data-ui5-config type="application/json">
|
|
14
|
+
{
|
|
15
|
+
"language": "EN"
|
|
16
|
+
}
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<script type="module" crossorigin src="/assets/bundle.common.9d78332e.js"></script>
|
|
25
|
+
<link rel="stylesheet" href="/assets/test/pages/ColorPicker.html.cc0c0d29.css">
|
|
26
|
+
</head>
|
|
27
|
+
<body class="colorpicker1auto">
|
|
28
|
+
|
|
29
|
+
<ui5-color-picker id="cp1"></ui5-color-picker>
|
|
30
|
+
<ui5-step-input id="changeEventCounter" value="0"></ui5-step-input>
|
|
31
|
+
|
|
32
|
+
<br>
|
|
33
|
+
<br>
|
|
34
|
+
<br>
|
|
35
|
+
<br>
|
|
36
|
+
<br>
|
|
37
|
+
<br>
|
|
38
|
+
<br>
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
<ui5-color-picker id="change-event"></ui5-color-picker>
|
|
42
|
+
|
|
43
|
+
<ui5-input id="color-input"></ui5-input>
|
|
44
|
+
|
|
45
|
+
<br>
|
|
46
|
+
<br>
|
|
47
|
+
|
|
48
|
+
<ui5-color-picker id="cp3"></ui5-color-picker>
|
|
49
|
+
|
|
50
|
+
<script>
|
|
51
|
+
var colorPicker = document.querySelector("#change-event"),
|
|
52
|
+
colorLabel = document.querySelector("#color-input"),
|
|
53
|
+
colorPicker1 = document.getElementById("cp1"),
|
|
54
|
+
stepInput = document.getElementById("changeEventCounter");
|
|
55
|
+
|
|
56
|
+
colorPicker.addEventListener("ui5-change", function(event) {
|
|
57
|
+
colorLabel.value = event.target.color;
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
colorPicker1.addEventListener("ui5-change", function(event) {
|
|
61
|
+
stepInput.value += 1;
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
</script>
|
|
65
|
+
</body>
|
|
66
|
+
</html>
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
<html>
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<meta charset="UTF-8">
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
8
|
+
<title>ComboBox test page</title>
|
|
9
|
+
<script>
|
|
10
|
+
// delete Document.prototype.adoptedStyleSheets
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<script data-ui5-config type="application/json">
|
|
14
|
+
{
|
|
15
|
+
"rtl": false
|
|
16
|
+
}
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
<script type="module" crossorigin src="/assets/test/pages/ComboBox.html.9e0c6210.js"></script>
|
|
24
|
+
<link rel="modulepreload" href="/assets/bundle.common.9d78332e.js">
|
|
25
|
+
<link rel="stylesheet" href="/assets/test/pages/ComboBox.html.14fbc3aa.css">
|
|
26
|
+
</head>
|
|
27
|
+
|
|
28
|
+
<body class="combobox1auto">
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class="demo-section">
|
|
33
|
+
<ui5-label id="countryLabel">Select country: </ui5-label>
|
|
34
|
+
<ui5-combobox id="combo" class="combobox2auto" value="Bulgaria" accessible-name-ref="countryLabel">
|
|
35
|
+
<ui5-cb-item text="Algeria"></ui5-cb-item>
|
|
36
|
+
<ui5-cb-item text="Argentina"></ui5-cb-item>
|
|
37
|
+
<ui5-cb-item text="Australia"></ui5-cb-item>
|
|
38
|
+
<ui5-cb-item text="Austria"></ui5-cb-item>
|
|
39
|
+
<ui5-cb-item text="Bahrain"></ui5-cb-item>
|
|
40
|
+
<ui5-cb-item text="Belgium"></ui5-cb-item>
|
|
41
|
+
<ui5-cb-item text="Very long text that makes popover wider than the ComboBox"></ui5-cb-item>
|
|
42
|
+
<ui5-cb-item text="Brazil"></ui5-cb-item>
|
|
43
|
+
<ui5-cb-item text="Bulgaria"></ui5-cb-item>
|
|
44
|
+
<ui5-cb-item text="Canada"></ui5-cb-item>
|
|
45
|
+
<ui5-cb-item text="Chile"></ui5-cb-item>
|
|
46
|
+
</ui5-combobox>
|
|
47
|
+
<ui5-button id="combo-focus">Focus ComboBox</ui5-button>
|
|
48
|
+
<ui5-button id="value-set-btn">Set value</ui5-button>
|
|
49
|
+
|
|
50
|
+
<ui5-combobox id="combo2" class="combobox2auto" accessible-name="Select destination:">
|
|
51
|
+
<ui5-cb-item text="Algeria"></ui5-cb-item>
|
|
52
|
+
<ui5-cb-item text="Argentina"></ui5-cb-item>
|
|
53
|
+
<ui5-cb-item text="Australia"></ui5-cb-item>
|
|
54
|
+
<ui5-cb-item text="Austria"></ui5-cb-item>
|
|
55
|
+
<ui5-cb-item text="Bahrain"></ui5-cb-item>
|
|
56
|
+
<ui5-cb-item text="Belgium"></ui5-cb-item>
|
|
57
|
+
<ui5-cb-item text="Bosnia and Herzegovina"></ui5-cb-item>
|
|
58
|
+
<ui5-cb-item text="Brazil"></ui5-cb-item>
|
|
59
|
+
<ui5-cb-item text="Bulgaria"></ui5-cb-item>
|
|
60
|
+
<ui5-cb-item text="Canada"></ui5-cb-item>
|
|
61
|
+
<ui5-cb-item text="Chile"></ui5-cb-item>
|
|
62
|
+
</ui5-combobox>
|
|
63
|
+
|
|
64
|
+
<ui5-combobox id="" class="combobox2auto" disabled value="disabled"></ui5-combobox>
|
|
65
|
+
<ui5-combobox id="placeholder_test" class="combobox2auto" placeholder="Hello World"></ui5-combobox>
|
|
66
|
+
<ui5-combobox id="" class="combobox2auto" readonly value="readonly"></ui5-combobox>
|
|
67
|
+
<ui5-combobox id="" class="combobox2auto" required value="required"></ui5-combobox>
|
|
68
|
+
<ui5-combobox id="value-state-error" class="combobox2auto" value-state="Error">
|
|
69
|
+
<ui5-cb-item text="Algeria"></ui5-cb-item>
|
|
70
|
+
<ui5-cb-item text="Argentina"></ui5-cb-item>
|
|
71
|
+
<ui5-cb-item text="Australia"></ui5-cb-item>
|
|
72
|
+
<ui5-cb-item text="Austria"></ui5-cb-item>
|
|
73
|
+
<ui5-cb-item text="Bahrain"></ui5-cb-item>
|
|
74
|
+
<ui5-cb-item text="Belgium"></ui5-cb-item>
|
|
75
|
+
<ui5-cb-item text="Bosnia and Herzegovina"></ui5-cb-item>
|
|
76
|
+
<div slot="valueStateMessage">Custom error value state message with a <a href="#">Link</a>.</div>
|
|
77
|
+
<div slot="valueStateMessage">Additionl custom error value state message with a <a href="#">Link</a>. Extra long text used as an error message. Extra long text used as an error message - 2. Extra long text used as an error message - 3.</div>
|
|
78
|
+
</ui5-combobox>
|
|
79
|
+
<ui5-combobox id="vs-warning-default" class="combobox2auto" value-state="Warning">
|
|
80
|
+
<ui5-cb-item text="Algeria"></ui5-cb-item>
|
|
81
|
+
<ui5-cb-item text="Argentina"></ui5-cb-item>
|
|
82
|
+
<ui5-cb-item text="Australia"></ui5-cb-item>
|
|
83
|
+
<ui5-cb-item text="Austria"></ui5-cb-item>
|
|
84
|
+
<ui5-cb-item text="Bahrain"></ui5-cb-item>
|
|
85
|
+
<ui5-cb-item text="Belgium"></ui5-cb-item>
|
|
86
|
+
</ui5-combobox>
|
|
87
|
+
<ui5-combobox id="vs-information-default" class="combobox2auto" value-state="Information"></ui5-combobox>
|
|
88
|
+
<ui5-combobox id="vs-success-default" class="combobox2auto" value-state="Success"></ui5-combobox>
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
<div class="demo-section">
|
|
92
|
+
<ui5-label id="combo-vs-grouping-label">Items with grouping and value state:</ui5-label>
|
|
93
|
+
|
|
94
|
+
<ui5-combobox id="value-state-grouping" value-state="Warning">
|
|
95
|
+
<ui5-cb-group-item text="A"></ui5-cb-group-item>
|
|
96
|
+
<ui5-cb-item text="Argentina"></ui5-cb-item>
|
|
97
|
+
<ui5-cb-item text="Australia"></ui5-cb-item>
|
|
98
|
+
<ui5-cb-item text="Austria"></ui5-cb-item>
|
|
99
|
+
<ui5-cb-group-item text="B"></ui5-cb-group-item>
|
|
100
|
+
<ui5-cb-item text="Bahrain"></ui5-cb-item>
|
|
101
|
+
<ui5-cb-item text="Belgium"></ui5-cb-item>
|
|
102
|
+
<ui5-cb-item text="Brazil"></ui5-cb-item>
|
|
103
|
+
<ui5-cb-group-item text="C"></ui5-cb-group-item>
|
|
104
|
+
<ui5-cb-item text="Canada"></ui5-cb-item>
|
|
105
|
+
<ui5-cb-item text="Chile"></ui5-cb-item>
|
|
106
|
+
</ui5-combobox>
|
|
107
|
+
</div>
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
<div class="demo-section">
|
|
111
|
+
<ui5-label id="combo-grouping-label">Items with grouping:</ui5-label>
|
|
112
|
+
<ui5-combobox filter="StartsWith" id="combo-grouping" class="combobox2auto" aria-label="Select destination:">
|
|
113
|
+
<ui5-cb-group-item text="A"></ui5-cb-group-item>
|
|
114
|
+
<ui5-cb-item text="Algeria"></ui5-cb-item>
|
|
115
|
+
<ui5-cb-item text="Argentina"></ui5-cb-item>
|
|
116
|
+
<ui5-cb-item text="Australia"></ui5-cb-item>
|
|
117
|
+
<ui5-cb-item text="Austria"></ui5-cb-item>
|
|
118
|
+
|
|
119
|
+
<ui5-cb-group-item text="Donut"></ui5-cb-group-item>
|
|
120
|
+
<ui5-cb-item text="Bahrain"></ui5-cb-item>
|
|
121
|
+
<ui5-cb-item text="Belgium"></ui5-cb-item>
|
|
122
|
+
<ui5-cb-item text="Bosnia and Herzegovina"></ui5-cb-item>
|
|
123
|
+
<ui5-cb-item text="Brazil"></ui5-cb-item>
|
|
124
|
+
|
|
125
|
+
<ui5-cb-group-item text="C"></ui5-cb-group-item>
|
|
126
|
+
<ui5-cb-item text="Canada"></ui5-cb-item>
|
|
127
|
+
<ui5-cb-item text="Chile"></ui5-cb-item>
|
|
128
|
+
|
|
129
|
+
<ui5-cb-group-item text="Random Group Item Text"></ui5-cb-group-item>
|
|
130
|
+
<ui5-cb-item text="Zimbabve"></ui5-cb-item>
|
|
131
|
+
<ui5-cb-item text="Albania"></ui5-cb-item>
|
|
132
|
+
<ui5-cb-item text="Madagascar"></ui5-cb-item>
|
|
133
|
+
</ui5-combobox>
|
|
134
|
+
</div>
|
|
135
|
+
|
|
136
|
+
<div class="demo-section">
|
|
137
|
+
<ui5-label id="combo-additional-text">Items with additional text:</ui5-label>
|
|
138
|
+
<ui5-combobox id="combobox-two-column-layout" class="combobox2auto" value="Bulgaria" aria-labelledby="countryLabel">
|
|
139
|
+
<ui5-cb-item text="Algeria" additional-text="DZ"></ui5-cb-item>
|
|
140
|
+
<ui5-cb-item text="Argentina" additional-text="AR"></ui5-cb-item>
|
|
141
|
+
<ui5-cb-item text="Australia" additional-text="AU"></ui5-cb-item>
|
|
142
|
+
<ui5-cb-item text="Austria" additional-text="AT"></ui5-cb-item>
|
|
143
|
+
<ui5-cb-item text="Bahrain" additional-text="BH"></ui5-cb-item>
|
|
144
|
+
<ui5-cb-item text="Belgium" additional-text="BE"></ui5-cb-item>
|
|
145
|
+
<ui5-cb-item text="Brazil" additional-text="BR"></ui5-cb-item>
|
|
146
|
+
<ui5-cb-item text="Bulgaria" additional-text="BG"></ui5-cb-item>
|
|
147
|
+
<ui5-cb-item text="Canada" additional-text="CA"></ui5-cb-item>
|
|
148
|
+
<ui5-cb-item text="Chile" additional-text="CL"></ui5-cb-item>
|
|
149
|
+
</ui5-combobox>
|
|
150
|
+
</div>
|
|
151
|
+
|
|
152
|
+
<div class="demo-section">
|
|
153
|
+
<span id="change-event-result"></span>
|
|
154
|
+
<br />
|
|
155
|
+
<span id="selection-change-event-result"></span>
|
|
156
|
+
|
|
157
|
+
</div>
|
|
158
|
+
|
|
159
|
+
<div class="demo-section">
|
|
160
|
+
<span>Lazy Loading - example does not work on IE11</span>
|
|
161
|
+
|
|
162
|
+
<br />
|
|
163
|
+
<br />
|
|
164
|
+
|
|
165
|
+
<ui5-combobox id="lazy" class="combobox2auto"></ui5-combobox>
|
|
166
|
+
</div>
|
|
167
|
+
|
|
168
|
+
<div class="demo-section">
|
|
169
|
+
<span>Change event testing</span>
|
|
170
|
+
|
|
171
|
+
<ui5-combobox id="change-cb" class="combobox2auto">
|
|
172
|
+
<ui5-cb-item text="Argentina"></ui5-cb-item>
|
|
173
|
+
<ui5-cb-item text="Bulgaria"></ui5-cb-item>
|
|
174
|
+
<ui5-cb-item text="Canada"></ui5-cb-item>
|
|
175
|
+
<ui5-cb-item text="Germany"></ui5-cb-item>
|
|
176
|
+
</ui5-combobox>
|
|
177
|
+
|
|
178
|
+
<br>
|
|
179
|
+
|
|
180
|
+
Changed value: <span id="change-placeholder"></span><br>
|
|
181
|
+
Change call count: <span id="change-count">0</span><br>
|
|
182
|
+
</div>
|
|
183
|
+
|
|
184
|
+
<div class="demo-section">
|
|
185
|
+
<span>Input event testing</span>
|
|
186
|
+
|
|
187
|
+
<ui5-combobox id="input-cb" class="combobox2auto">
|
|
188
|
+
<ui5-cb-item text="Argentina"></ui5-cb-item>
|
|
189
|
+
<ui5-cb-item text="Germany"></ui5-cb-item>
|
|
190
|
+
</ui5-combobox>
|
|
191
|
+
|
|
192
|
+
<br>
|
|
193
|
+
|
|
194
|
+
Input value: <span id="input-placeholder"></span><br>
|
|
195
|
+
Input call count: <span id="input-count">0</span><br>
|
|
196
|
+
</div>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
<br>
|
|
200
|
+
<br>
|
|
201
|
+
|
|
202
|
+
<div class="demo-section">
|
|
203
|
+
<span>Contains filter</span>
|
|
204
|
+
|
|
205
|
+
<ui5-combobox class="combobox2auto" filter="Contains" id="contains-cb">
|
|
206
|
+
<ui5-cb-item text="Argentina"></ui5-cb-item>
|
|
207
|
+
<ui5-cb-item text="Bulgaria"></ui5-cb-item>
|
|
208
|
+
<ui5-cb-item text="Canada"></ui5-cb-item>
|
|
209
|
+
<ui5-cb-item text="Germany"></ui5-cb-item>
|
|
210
|
+
</ui5-combobox>
|
|
211
|
+
</div>
|
|
212
|
+
|
|
213
|
+
<div class="demo-section">
|
|
214
|
+
<span>StartsWith filter</span>
|
|
215
|
+
|
|
216
|
+
<ui5-combobox class="combobox2auto" filter="StartsWith" id="startswith-cb">
|
|
217
|
+
<ui5-cb-item text="Argentina"></ui5-cb-item>
|
|
218
|
+
<ui5-cb-item text="United States of America"></ui5-cb-item>
|
|
219
|
+
<ui5-cb-item text="Canada"></ui5-cb-item>
|
|
220
|
+
<ui5-cb-item text="Germany"></ui5-cb-item>
|
|
221
|
+
</ui5-combobox>
|
|
222
|
+
</div>
|
|
223
|
+
|
|
224
|
+
<section class="ui5-content-density-compact">
|
|
225
|
+
<h3>ComboBox in Compact</h3>
|
|
226
|
+
<div>
|
|
227
|
+
<ui5-combobox>
|
|
228
|
+
<ui5-cb-item text="Argentina"></ui5-cb-item>
|
|
229
|
+
<ui5-cb-item text="United States of America"></ui5-cb-item>
|
|
230
|
+
<ui5-cb-item text="Canada"></ui5-cb-item>
|
|
231
|
+
<ui5-cb-item text="Germany"></ui5-cb-item>
|
|
232
|
+
</ui5-combobox>
|
|
233
|
+
</div>
|
|
234
|
+
</section>
|
|
235
|
+
|
|
236
|
+
<div class="demo-section">
|
|
237
|
+
<span>Readonly ComboBox with value state</span>
|
|
238
|
+
|
|
239
|
+
<ui5-combobox class="combobox" readonly value-state="Error" id="readonly-value-state-cb">
|
|
240
|
+
<ui5-cb-item text="Argentina"></ui5-cb-item>
|
|
241
|
+
<ui5-cb-item text="United States of America"></ui5-cb-item>
|
|
242
|
+
<ui5-cb-item text="Canada"></ui5-cb-item>
|
|
243
|
+
<ui5-cb-item text="Germany"></ui5-cb-item>
|
|
244
|
+
</ui5-combobox>
|
|
245
|
+
</div>
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
<script>
|
|
250
|
+
document.getElementById("combo").addEventListener("ui5-change", function(event) {
|
|
251
|
+
document.getElementById("change-event-result").innerHTML = event.target.value;
|
|
252
|
+
});
|
|
253
|
+
|
|
254
|
+
document.getElementById("combo").addEventListener("ui5-selection-change", function(event) {
|
|
255
|
+
document.getElementById("selection-change-event-result").innerHTML = event.detail.item.text;
|
|
256
|
+
});
|
|
257
|
+
|
|
258
|
+
document.getElementById("change-cb").addEventListener("ui5-change", function(event) {
|
|
259
|
+
document.getElementById("change-placeholder").innerHTML = event.target.value;
|
|
260
|
+
document.getElementById("change-count").innerHTML = parseInt(document.getElementById("change-count").innerHTML) + 1;
|
|
261
|
+
});
|
|
262
|
+
|
|
263
|
+
document.getElementById("input-cb").addEventListener("ui5-input", function(event) {
|
|
264
|
+
document.getElementById("input-placeholder").innerHTML = event.target.value;
|
|
265
|
+
document.getElementById("input-count").innerHTML = parseInt(document.getElementById("input-count").innerHTML) + 1;
|
|
266
|
+
});
|
|
267
|
+
|
|
268
|
+
document.getElementById("value-set-btn").addEventListener("click", function (event) {
|
|
269
|
+
document.getElementById("combo").value = "new value";
|
|
270
|
+
});
|
|
271
|
+
|
|
272
|
+
document.getElementById("combo-focus").addEventListener("click", function () {
|
|
273
|
+
document.getElementById("combo").focus();
|
|
274
|
+
});
|
|
275
|
+
</script>
|
|
276
|
+
|
|
277
|
+
</body>
|
|
278
|
+
|
|
279
|
+
</html>
|