@ui5/webcomponents 1.10.1 → 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.
Files changed (205) hide show
  1. package/.dev-server-port +1 -0
  2. package/package.json +8 -9
  3. package/LICENSE.txt +0 -201
  4. package/dist/assets/test/pages/72override.html.dda35518.css +0 -1
  5. package/dist/assets/test/pages/AnimanitionOff.html.b7566ecc.css +0 -1
  6. package/dist/assets/test/pages/Avatar.html.62cc0573.css +0 -1
  7. package/dist/assets/test/pages/AvatarGroup.html.20647fe1.css +0 -1
  8. package/dist/assets/test/pages/Badge.html.bcc1c9a3.css +0 -1
  9. package/dist/assets/test/pages/Breadcrumbs.html.5753069f.css +0 -1
  10. package/dist/assets/test/pages/BusyIndicator.html.ce95c23c.css +0 -1
  11. package/dist/assets/test/pages/Button.html.957848f0.css +0 -1
  12. package/dist/assets/test/pages/Calendar.html.9ff42e30.css +0 -1
  13. package/dist/assets/test/pages/Card.html.8c5e4756.css +0 -1
  14. package/dist/assets/test/pages/Carousel.html.fcdd32a7.css +0 -1
  15. package/dist/assets/test/pages/CheckBox.html.08ae630d.css +0 -1
  16. package/dist/assets/test/pages/ColorPalette.html.8c4c4ca3.css +0 -1
  17. package/dist/assets/test/pages/ColorPalettePopover.html.727f90e2.css +0 -1
  18. package/dist/assets/test/pages/ColorPicker.html.cc0c0d29.css +0 -1
  19. package/dist/assets/test/pages/ComboBox.html.14fbc3aa.css +0 -1
  20. package/dist/assets/test/pages/ComboBox.html.c091a8e7.js +0 -1
  21. package/dist/assets/test/pages/Components.html.b41617c5.css +0 -1
  22. package/dist/assets/test/pages/CoreControls.html.dabd050c.css +0 -1
  23. package/dist/assets/test/pages/CoreControls_exp.html.46ab2dc9.css +0 -1
  24. package/dist/assets/test/pages/CustomCSS.html.4d6e9b1f.css +0 -1
  25. package/dist/assets/test/pages/DatePicker.html.e667d0b8.css +0 -1
  26. package/dist/assets/test/pages/DatePicker_test_page.html.882ab55e.css +0 -1
  27. package/dist/assets/test/pages/DateRangePicker.html.1b5072fd.css +0 -1
  28. package/dist/assets/test/pages/DateTimePicker.html.eff0e2e0.css +0 -1
  29. package/dist/assets/test/pages/DayPicker.html.5700622a.css +0 -1
  30. package/dist/assets/test/pages/Dialog.html.329cb1dc.css +0 -1
  31. package/dist/assets/test/pages/DialogLifecycle.html.e4ac6ba2.css +0 -1
  32. package/dist/assets/test/pages/DialogSemantic.html.f61ec13d.css +0 -1
  33. package/dist/assets/test/pages/DurationPicker.html.92ecf486.css +0 -1
  34. package/dist/assets/test/pages/Eventing.html.cd934528.css +0 -1
  35. package/dist/assets/test/pages/FileUploader.html.30b8cbbd.css +0 -1
  36. package/dist/assets/test/pages/FormSupport.html.4e02207b.css +0 -1
  37. package/dist/assets/test/pages/HCB.html.d458990b.css +0 -1
  38. package/dist/assets/test/pages/Icon.html.5f0fd46d.js +0 -1
  39. package/dist/assets/test/pages/Icon.html.be3b1acc.css +0 -1
  40. package/dist/assets/test/pages/Input.html.85ce57b4.css +0 -1
  41. package/dist/assets/test/pages/Input_quickview.html.86df3de3.css +0 -1
  42. package/dist/assets/test/pages/InputsAlignment.html.5c5593c2.css +0 -1
  43. package/dist/assets/test/pages/ItemNavigation.html.f5758aae.css +0 -1
  44. package/dist/assets/test/pages/Kitchen.html.d0d90fc6.css +0 -1
  45. package/dist/assets/test/pages/Kitchen.openui5.html.910e3d52.css +0 -1
  46. package/dist/assets/test/pages/Label.html.26cf5a3e.js +0 -4
  47. package/dist/assets/test/pages/Label.html.e994dc8e.css +0 -1
  48. package/dist/assets/test/pages/Link.html.d4c480d9.css +0 -1
  49. package/dist/assets/test/pages/List.html.65a3c4b3.css +0 -1
  50. package/dist/assets/test/pages/ListGrowing_Button.html.49bbaf80.css +0 -1
  51. package/dist/assets/test/pages/ListGrowing_Scroll.html.841dd1ed.css +0 -1
  52. package/dist/assets/test/pages/List_keyboard_support.html.a7297baf.css +0 -1
  53. package/dist/assets/test/pages/List_test_page.html.356d4e16.css +0 -1
  54. package/dist/assets/test/pages/LitKeyFunction.html.f3f9d649.css +0 -1
  55. package/dist/assets/test/pages/MemoryLeak.html.35d77e5e.css +0 -1
  56. package/dist/assets/test/pages/Menu.html.a758a26d.css +0 -1
  57. package/dist/assets/test/pages/MessagePage.html.30ffc162.css +0 -1
  58. package/dist/assets/test/pages/MessageStrip.html.8c2c85d5.css +0 -1
  59. package/dist/assets/test/pages/MultiComboBox.html.9ede2c74.css +0 -1
  60. package/dist/assets/test/pages/MultiInput.html.1c75cdc2.css +0 -1
  61. package/dist/assets/test/pages/MultiInput_Suggestions.html.79cd0348.css +0 -1
  62. package/dist/assets/test/pages/OpenUI5.html.cf1daa05.css +0 -1
  63. package/dist/assets/test/pages/Panel.html.399730d1.css +0 -1
  64. package/dist/assets/test/pages/Popover.html.6d4f19ad.css +0 -1
  65. package/dist/assets/test/pages/PopoverArrowBounds.html.c1e5feb1.css +0 -1
  66. package/dist/assets/test/pages/Popups.html.0d7c434f.js +0 -1
  67. package/dist/assets/test/pages/Popups.html.bb021765.css +0 -1
  68. package/dist/assets/test/pages/ProgressIndicator.html.d61b0c53.css +0 -1
  69. package/dist/assets/test/pages/RTL.html.dbeca857.css +0 -1
  70. package/dist/assets/test/pages/RadioButton.html.ccfd1850.css +0 -1
  71. package/dist/assets/test/pages/RangeSlider.html.437a9174.css +0 -1
  72. package/dist/assets/test/pages/RatingIndicator.html.737cd73b.css +0 -1
  73. package/dist/assets/test/pages/ResizeHandler.html.ed7c5d20.css +0 -1
  74. package/dist/assets/test/pages/ResponsivePopover.html.6f67ae07.css +0 -1
  75. package/dist/assets/test/pages/SegmentedButton.html.8678479b.css +0 -1
  76. package/dist/assets/test/pages/Select.html.9c98a470.css +0 -1
  77. package/dist/assets/test/pages/Simple.html.8f2ddb30.css +0 -1
  78. package/dist/assets/test/pages/Slider.html.8ea10965.css +0 -1
  79. package/dist/assets/test/pages/SplitButton.html.5c992973.css +0 -1
  80. package/dist/assets/test/pages/StepInput.html.f22c112d.css +0 -1
  81. package/dist/assets/test/pages/Switch.html.a4f3262f.css +0 -1
  82. package/dist/assets/test/pages/TabContainer.html.7f2ade15.css +0 -1
  83. package/dist/assets/test/pages/Table-perf-pure.html.fce52e4b.css +0 -1
  84. package/dist/assets/test/pages/Table-perf.html.88634378.css +0 -1
  85. package/dist/assets/test/pages/Table.html.c43386f4.css +0 -1
  86. package/dist/assets/test/pages/Table2.html.aca0c111.css +0 -1
  87. package/dist/assets/test/pages/TableAllPopin.html.ad586de4.css +0 -1
  88. package/dist/assets/test/pages/TableCustomStyling.html.a85167d6.css +0 -1
  89. package/dist/assets/test/pages/TableGrouping.html.602ae2ad.css +0 -1
  90. package/dist/assets/test/pages/TableGrowingWithButton.html.5a39b2bf.css +0 -1
  91. package/dist/assets/test/pages/TableGrowingWithScroll.html.8ef93d31.css +0 -1
  92. package/dist/assets/test/pages/TableSelection.html.dba2d678.css +0 -1
  93. package/dist/assets/test/pages/TextArea.html.f8e10fd6.css +0 -1
  94. package/dist/assets/test/pages/TimePicker.html.9a4bb300.css +0 -1
  95. package/dist/assets/test/pages/TimeSelection.html.8ad57759.css +0 -1
  96. package/dist/assets/test/pages/Title.html.7bb51811.css +0 -1
  97. package/dist/assets/test/pages/Toast.html.47a93be2.css +0 -1
  98. package/dist/assets/test/pages/ToggleButton.html.3b7dbb8c.css +0 -1
  99. package/dist/assets/test/pages/Tree.html.74fe2a1d.css +0 -1
  100. package/dist/assets/test/pages/WheelSlider_Test_Page.html.8a9a5e49.css +0 -1
  101. package/dist/assets/test/pages/form.html.f0f82118.css +0 -1
  102. package/dist/assets/test/pages/i18n-defaultLang.html.b9d79c6b.css +0 -1
  103. package/dist/assets/test/pages/i18n-demo.html.c6751b5c.css +0 -1
  104. package/dist/test/pages/72override.html +0 -33
  105. package/dist/test/pages/AnimanitionOff.html +0 -52
  106. package/dist/test/pages/Avatar.html +0 -265
  107. package/dist/test/pages/AvatarGroup.html +0 -376
  108. package/dist/test/pages/Badge.html +0 -75
  109. package/dist/test/pages/Breadcrumbs.html +0 -239
  110. package/dist/test/pages/BusyIndicator.html +0 -255
  111. package/dist/test/pages/Button.html +0 -267
  112. package/dist/test/pages/Calendar.html +0 -96
  113. package/dist/test/pages/Card.html +0 -347
  114. package/dist/test/pages/Carousel.html +0 -584
  115. package/dist/test/pages/CheckBox.html +0 -76
  116. package/dist/test/pages/ColorPalette.html +0 -126
  117. package/dist/test/pages/ColorPalettePopover.html +0 -141
  118. package/dist/test/pages/ColorPicker.html +0 -66
  119. package/dist/test/pages/ComboBox.html +0 -279
  120. package/dist/test/pages/Components.html +0 -106
  121. package/dist/test/pages/CoreControls.html +0 -203
  122. package/dist/test/pages/CoreControls_exp.html +0 -203
  123. package/dist/test/pages/CustomCSS.html +0 -55
  124. package/dist/test/pages/DatePicker.html +0 -193
  125. package/dist/test/pages/DatePicker_test_page.html +0 -97
  126. package/dist/test/pages/DateRangePicker.html +0 -64
  127. package/dist/test/pages/DateTimePicker.html +0 -190
  128. package/dist/test/pages/DayPicker.html +0 -37
  129. package/dist/test/pages/Dialog.html +0 -706
  130. package/dist/test/pages/DialogLifecycle.html +0 -62
  131. package/dist/test/pages/DialogSemantic.html +0 -58
  132. package/dist/test/pages/DurationPicker.html +0 -76
  133. package/dist/test/pages/Eventing.html +0 -33
  134. package/dist/test/pages/FileUploader.html +0 -138
  135. package/dist/test/pages/FormSupport.html +0 -59
  136. package/dist/test/pages/HCB.html +0 -45
  137. package/dist/test/pages/Icon.html +0 -269
  138. package/dist/test/pages/Icon_custom.html +0 -26
  139. package/dist/test/pages/Input.html +0 -722
  140. package/dist/test/pages/InputFieldMinWidth.html +0 -158
  141. package/dist/test/pages/InputIcons.html +0 -80
  142. package/dist/test/pages/Input_quickview.html +0 -204
  143. package/dist/test/pages/InputsAlignment.html +0 -131
  144. package/dist/test/pages/InputsLazyLoading.html +0 -244
  145. package/dist/test/pages/ItemNavigation.html +0 -94
  146. package/dist/test/pages/Kitchen.html +0 -638
  147. package/dist/test/pages/Kitchen.openui5.html +0 -570
  148. package/dist/test/pages/Label.html +0 -161
  149. package/dist/test/pages/Link.html +0 -201
  150. package/dist/test/pages/List.html +0 -465
  151. package/dist/test/pages/ListGrowing_Button.html +0 -64
  152. package/dist/test/pages/ListGrowing_Scroll.html +0 -93
  153. package/dist/test/pages/List_keyboard_support.html +0 -130
  154. package/dist/test/pages/List_test_page.html +0 -356
  155. package/dist/test/pages/LitKeyFunction.html +0 -40
  156. package/dist/test/pages/MemoryLeak.html +0 -78
  157. package/dist/test/pages/Menu.html +0 -145
  158. package/dist/test/pages/MessagePage.html +0 -39
  159. package/dist/test/pages/MessageStrip.html +0 -55
  160. package/dist/test/pages/MultiComboBox.html +0 -477
  161. package/dist/test/pages/MultiInput.html +0 -409
  162. package/dist/test/pages/MultiInput_Suggestions.html +0 -161
  163. package/dist/test/pages/OpenUI5.html +0 -83
  164. package/dist/test/pages/Panel.html +0 -226
  165. package/dist/test/pages/Popover.html +0 -586
  166. package/dist/test/pages/PopoverArrowBounds.html +0 -52
  167. package/dist/test/pages/Popups.html +0 -131
  168. package/dist/test/pages/ProgressIndicator.html +0 -151
  169. package/dist/test/pages/RTL.html +0 -118
  170. package/dist/test/pages/RadioButton.html +0 -201
  171. package/dist/test/pages/RangeSlider.html +0 -85
  172. package/dist/test/pages/RatingIndicator.html +0 -97
  173. package/dist/test/pages/ResizeHandler.html +0 -74
  174. package/dist/test/pages/ResponsivePopover.html +0 -244
  175. package/dist/test/pages/SegmentedButton.html +0 -116
  176. package/dist/test/pages/Select.html +0 -240
  177. package/dist/test/pages/Simple.html +0 -25
  178. package/dist/test/pages/Slider.html +0 -79
  179. package/dist/test/pages/SplitButton.html +0 -100
  180. package/dist/test/pages/StepInput.html +0 -164
  181. package/dist/test/pages/Switch.html +0 -88
  182. package/dist/test/pages/TabContainer.html +0 -904
  183. package/dist/test/pages/Table-perf-pure.html +0 -73
  184. package/dist/test/pages/Table-perf.html +0 -76
  185. package/dist/test/pages/Table.html +0 -2808
  186. package/dist/test/pages/Table2.html +0 -53
  187. package/dist/test/pages/TableAllPopin.html +0 -228
  188. package/dist/test/pages/TableCustomStyling.html +0 -89
  189. package/dist/test/pages/TableGrouping.html +0 -109
  190. package/dist/test/pages/TableGrowingWithButton.html +0 -805
  191. package/dist/test/pages/TableGrowingWithScroll.html +0 -801
  192. package/dist/test/pages/TableSelection.html +0 -445
  193. package/dist/test/pages/TextArea.html +0 -222
  194. package/dist/test/pages/TimePicker.html +0 -81
  195. package/dist/test/pages/TimeSelection.html +0 -31
  196. package/dist/test/pages/Title.html +0 -37
  197. package/dist/test/pages/Toast.html +0 -111
  198. package/dist/test/pages/ToggleButton.html +0 -69
  199. package/dist/test/pages/Tree.html +0 -294
  200. package/dist/test/pages/WheelSlider_Test_Page.html +0 -26
  201. package/dist/test/pages/base/DOMObserver.html +0 -20
  202. package/dist/test/pages/base/InvisibleMessage.html +0 -44
  203. package/dist/test/pages/form.html +0 -123
  204. package/dist/test/pages/i18n-defaultLang.html +0 -31
  205. package/dist/test/pages/i18n-demo.html +0 -79
@@ -1,239 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
-
4
- <head>
5
- <meta charset="utf-8">
6
-
7
- <title>Breadcrumbs</title>
8
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
9
- <meta charset="utf-8">
10
-
11
- <script>// delete Document.prototype.adoptedStyleSheets;</script>
12
-
13
- <script data-ui5-config type="application/json">
14
- {
15
- "language": "EN"
16
- }
17
- </script>
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
- <script type="module" crossorigin src="/assets/bundle.common.33be618c.js"></script>
26
- <link rel="stylesheet" href="/assets/test/pages/Breadcrumbs.html.5753069f.css">
27
- </head>
28
-
29
- <body class="breadcrumbs1auto">
30
-
31
- <ui5-toggle-button id="myBtn">turn lights</ui5-toggle-button>
32
- <div class="breadcrumbs2auto"><label for="size">Resize last container: </label>
33
- <div class="breadcrumbs3auto">
34
-
35
- <ui5-button id="extendSizeBtn"
36
- class="breadcrumbs4auto"
37
- icon="slim-arrow-up" ></ui5-button>
38
-
39
- <ui5-button id="shrinkSizeBtn"
40
- class="breadcrumbs4auto"
41
- icon="slim-arrow-down"></ui5-button>
42
- </div>
43
-
44
- </div>
45
- <div class="breadcrumbs2auto">
46
- <label for="size">Resize last link: </label>
47
- <div class="breadcrumbs5auto">
48
-
49
- <ui5-button id="extendLinkTextBtn"
50
- class="breadcrumbs4auto"
51
- icon="slim-arrow-up"></ui5-button>
52
-
53
- <ui5-button id="shortenLinkTextBtn"
54
- class="breadcrumbs4auto"
55
- icon="slim-arrow-down"></ui5-button>
56
- </div>
57
- </div>
58
-
59
- <h2>Breadcrumbs with current location</h2>
60
-
61
- <ui5-breadcrumbs id="breadcrumbs2">
62
- <ui5-breadcrumbs-item href="https://www.sap.com">Link1 </ui5-breadcrumbs-item>
63
- <ui5-breadcrumbs-item href="https://www.sap.com" target="_blank">Link2</ui5-breadcrumbs-item>
64
- <ui5-breadcrumbs-item href="#">Link3</ui5-breadcrumbs-item>
65
- <ui5-breadcrumbs-item href="#">Link4</ui5-breadcrumbs-item>
66
- <ui5-breadcrumbs-item href="#">Link5</ui5-breadcrumbs-item>
67
- <ui5-breadcrumbs-item href="#">Link6</ui5-breadcrumbs-item>
68
- <ui5-breadcrumbs-item href="#">Link7</ui5-breadcrumbs-item>
69
- <ui5-breadcrumbs-item>Location</ui5-breadcrumbs-item>
70
- </ui5-breadcrumbs>
71
-
72
- <h2>Breadcrumbs with no current location</h2>
73
-
74
- <ui5-breadcrumbs id="breadcrumbs3" design="NoCurrentPage">
75
- <ui5-breadcrumbs-item href="https://www.sap.com">Link1 </ui5-breadcrumbs-item>
76
- <ui5-breadcrumbs-item href="https://www.sap.com" target="_blank">Link2</ui5-breadcrumbs-item>
77
- <ui5-breadcrumbs-item href="#">Link3</ui5-breadcrumbs-item>
78
- <ui5-breadcrumbs-item href="#">Link4</ui5-breadcrumbs-item>
79
- <ui5-breadcrumbs-item href="#">Link5</ui5-breadcrumbs-item>
80
- <ui5-breadcrumbs-item href="#">Link6</ui5-breadcrumbs-item>
81
- <ui5-breadcrumbs-item href="#">Link7</ui5-breadcrumbs-item>
82
- </ui5-breadcrumbs>
83
-
84
- <h2>Breadcrumbs with specific separator style</h2>
85
- <ui5-select id="selectSeparator">
86
- <ui5-option>Slash</ui5-option>
87
- <ui5-option>BackSlash</ui5-option>
88
- <ui5-option>DoubleBackSlash</ui5-option>
89
- <ui5-option>DoubleGreaterThan</ui5-option>
90
- <ui5-option>DoubleSlash</ui5-option>
91
- <ui5-option>GreaterThan</ui5-option>
92
- </ui5-select>
93
- <div class="breadcrumbs7auto">
94
- <ui5-breadcrumbs id="breadcrumbs4">
95
- <ui5-breadcrumbs-item href="#">Link1 </ui5-breadcrumbs-item>
96
- <ui5-breadcrumbs-item href="#">Link2</ui5-breadcrumbs-item>
97
- <ui5-breadcrumbs-item href="#">Link3</ui5-breadcrumbs-item>
98
- <ui5-breadcrumbs-item href="#">Location</ui5-breadcrumbs-item>
99
- </ui5-breadcrumbs>
100
- </div>
101
-
102
- <div class="breadcrumbs8auto">
103
-
104
- <h2>Breadcrumb items with accessible name</h2>
105
-
106
- <ui5-breadcrumbs id="breadcrumbsWithAccName" design="NoCurrentPage">
107
- <ui5-breadcrumbs-item href="#" id="firstItemWithACCName" accessible-name="first link acc name">
108
- Link1
109
- </ui5-breadcrumbs-item>
110
- <ui5-breadcrumbs-item href="#">Link2</ui5-breadcrumbs-item>
111
- <ui5-breadcrumbs-item href="#">Link3</ui5-breadcrumbs-item>
112
- <ui5-breadcrumbs-item href="#">Link4</ui5-breadcrumbs-item>
113
- <ui5-breadcrumbs-item href="#" id="lastItemWithACCName" accessible-name="last link acc name">
114
- Link5
115
- </ui5-breadcrumbs-item>
116
- </ui5-breadcrumbs>
117
- </div>
118
-
119
- <div id="wrapper" class="breadcrumbs9auto">
120
-
121
- <h2>Breadcrumbs with overflowing links</h2>
122
-
123
- <ui5-breadcrumbs id="breadcrumbs1">
124
- <ui5-breadcrumbs-item href="https://www.sap.com" target="_blank">Link1 </ui5-breadcrumbs-item>
125
- <ui5-breadcrumbs-item href="https://www.sap.com" target="_blank">Link2</ui5-breadcrumbs-item>
126
- <ui5-breadcrumbs-item href="#">Link3</ui5-breadcrumbs-item>
127
- <ui5-breadcrumbs-item href="#">Link4</ui5-breadcrumbs-item>
128
- <ui5-breadcrumbs-item href="#">Link5</ui5-breadcrumbs-item>
129
- <ui5-breadcrumbs-item href="#">Link6</ui5-breadcrumbs-item>
130
- <ui5-breadcrumbs-item id="item7" href="#">aaaaa</ui5-breadcrumbs-item>
131
- <ui5-breadcrumbs-item>Location</ui5-breadcrumbs-item>
132
- </ui5-breadcrumbs>
133
- </div>
134
-
135
- <div class="breadcrumbs9auto">
136
-
137
- <h2>Breadcrumbs with links and preventDefault</h2>
138
-
139
- <ui5-breadcrumbs id="breadcrumbsPreventDefault" separator-class="Slash">
140
- <ui5-breadcrumbs-item href="#shouldnotbehere">Link1 </ui5-breadcrumbs-item>
141
- <ui5-breadcrumbs-item href="..">Link2</ui5-breadcrumbs-item>
142
- <ui5-breadcrumbs-item href="#shouldnotbehere">Link3</ui5-breadcrumbs-item>
143
- <ui5-breadcrumbs-item href="#shouldnotbehere">Link4</ui5-breadcrumbs-item>
144
- <ui5-breadcrumbs-item>Location</ui5-breadcrumbs-item>
145
- </ui5-breadcrumbs>
146
- </div>
147
-
148
- <div class="breadcrumbs9auto">
149
- <h2>Empty Breadcrumbs</h2>
150
- <ui5-breadcrumbs></ui5-breadcrumbs>
151
- </div>
152
-
153
- <div class="breadcrumbs9auto">
154
- <h2>Empty Breadcrumbs with Location only</h2>
155
- <ui5-breadcrumbs id="breadcrumbsWithSingleItem">
156
- <ui5-breadcrumbs-item>Location</ui5-breadcrumbs-item>
157
- </ui5-breadcrumbs>
158
- </div>
159
-
160
- Last pressed link: <span id="result"></span>
161
-
162
-
163
- <script>
164
- // HCB button
165
- var btn = document.getElementById('myBtn');
166
- btn.addEventListener("click", function(event) {
167
- var hcb = event.target.pressed;
168
- var styles = hcb ? "background:#333;color:palegoldenrod;" : "background:#fff;color:#333;";
169
- var theme = hcb ? "sap_belize_hcb" : "sap_fiori_3";
170
-
171
- document.body.setAttribute("style", styles);
172
- var Conf = window["sap-ui-webcomponents-bundle"].configuration;
173
- Conf.setTheme(theme);
174
- });
175
-
176
- // log events
177
- breadcrumbs1.addEventListener("ui5-item-click", (event) => {result.innerText = event.detail.item.innerText});
178
-
179
- var breadcrumbsPreventDefault = document.querySelector("#breadcrumbsPreventDefault");
180
- breadcrumbsPreventDefault.addEventListener("ui5-item-click", (event) => {
181
- let keyText ='';
182
-
183
- if(event.detail.ctrlKey) {
184
- keyText += 'CTRL:';
185
- }
186
- if(event.detail.altKey) {
187
- keyText += 'ALT:';
188
- }
189
- if(event.detail.shiftKey) {
190
- keyText += 'SHIFT:';
191
- }
192
- if(event.detail.metaKey) {
193
- keyText += 'META:';
194
- }
195
- event.preventDefault();
196
- result.innerText = keyText + event.detail.item.innerText;
197
- });
198
-
199
- extendSizeBtn.addEventListener("click", () => resizeContainer(true));
200
- shrinkSizeBtn.addEventListener("click", () => resizeContainer());
201
-
202
- extendLinkTextBtn.addEventListener("click", () => updateLinkContent(true));
203
- shortenLinkTextBtn.addEventListener("click", () => updateLinkContent());
204
-
205
- // resize breadcrumbs container
206
- function resizeContainer(extendSize) {
207
- let wrapperWidth = wrapper.clientWidth,
208
- step = 50,
209
- amount = extendSize ? step: -step,
210
- newWidth = Math.max(wrapperWidth + amount, 0);
211
- wrapper.style.width = newWidth + "px";
212
- }
213
-
214
- // cause resize of the breadcrumbs last link
215
- function updateLinkContent(extendSize) {
216
- let link = item7,
217
- step = 5,
218
- content = link.innerText,
219
- newContent;
220
-
221
- if (extendSize) {
222
- newContent = content + new Array(step + 1).join( "a" );
223
- } else {
224
- newContent = content.substring(step);
225
- }
226
-
227
- link.innerText = newContent;
228
- }
229
-
230
- selectSeparator.addEventListener("ui5-change", function(e) {
231
- let separator = e.detail.selectedOption.textContent;
232
- breadcrumbs4.setAttribute("separator-style", separator);
233
- });
234
-
235
- </script>
236
-
237
- </body>
238
-
239
- </html>
@@ -1,255 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
-
4
- <head>
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
6
- <meta charset="utf-8">
7
-
8
- <title>Busy Indicator</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
-
24
- <script type="module" crossorigin src="/assets/bundle.common.33be618c.js"></script>
25
- <link rel="stylesheet" href="/assets/test/pages/BusyIndicator.html.ce95c23c.css">
26
- </head>
27
-
28
- <body class="busyindicator1auto">
29
- <ui5-title>Large ui5-busy-indicator</ui5-title>
30
- <ui5-busy-indicator active size="Large"></ui5-busy-indicator>
31
- <br/>
32
- <br/>
33
-
34
- <ui5-title>Default Medium ui5-busy-indicator</ui5-title>
35
- <ui5-busy-indicator size="Medium" active id="indicator1"></ui5-busy-indicator>
36
-
37
- <br />
38
- <br />
39
- <ui5-busy-indicator size="Medium" active id="indicator2"></ui5-busy-indicator>
40
-
41
- <ui5-title>ui5-busy-indicator with text</ui5-title>
42
-
43
- <br />
44
- <br />
45
- <ui5-busy-indicator active text="Loading" class="busyindicator2auto"></ui5-busy-indicator>
46
-
47
- <br />
48
- <br />
49
-
50
- <div>
51
- <ui5-button id="beforeIndicatorWithBtn">focus stop before</ui5-button>
52
- <ui5-busy-indicator id="indicatorWithBtn" size="Medium" active>
53
- <ui5-button>Hello World</ui5-button>
54
- </ui5-busy-indicator>
55
- <ui5-button id="afterIndicatorWithBtn" >focus stop after</ui5-button>
56
- </div>
57
-
58
- <br />
59
- <br />
60
- <ui5-busy-indicator size="Medium" active text="Loading">
61
- <ui5-checkbox text="Hello World"></ui5-checkbox>
62
- </ui5-busy-indicator>
63
-
64
- <br />
65
- <br />
66
-
67
- <ui5-button id="fetch-btn" class="busyindicator3auto">Fetch List Data</ui5-button>
68
- <br>
69
- <br>
70
- <ui5-busy-indicator id="busy-container" class="busyindicator4auto" size="Medium" text="Loading">
71
- <ui5-list id="fetch-list" no-data-text="No Data" header-text="Available Items" class="busyindicator5auto"></ui5-list>
72
- </ui5-busy-indicator>
73
-
74
-
75
- <br>
76
- <br>
77
- <br>
78
- <br>
79
-
80
- <ui5-busy-indicator size="Medium" active class="busyindicator6auto">
81
- <ui5-list class="busyindicator7auto">
82
- <ui5-li>Item 1</ui5-li>
83
- <ui5-li>Item 2</ui5-li>
84
- <ui5-li>Item 3</ui5-li>
85
- </ui5-list>
86
- </ui5-busy-indicator>
87
-
88
- <ui5-busy-indicator size="Medium" active class="busyindicator6auto" text="Custom loading text">
89
- <ui5-list class="busyindicator7auto">
90
- <ui5-li>Item 1</ui5-li>
91
- <ui5-li>Item 2</ui5-li>
92
- <ui5-li>Item 3</ui5-li>
93
- </ui5-list>
94
- </ui5-busy-indicator>
95
-
96
- <br>
97
- <br>
98
- <br>
99
-
100
- <span>Medium (default) </span>
101
- <br>
102
- <br>
103
-
104
- <ui5-busy-indicator active></ui5-busy-indicator>
105
- <br>
106
- <br>
107
- <span>Small </span>
108
-
109
- <br>
110
- <br>
111
- <ui5-busy-indicator size="Small" active></ui5-busy-indicator>
112
- <br>
113
- <br>
114
- <span>Medium </span>
115
-
116
- <br>
117
- <br>
118
- <ui5-busy-indicator size="Medium" active></ui5-busy-indicator>
119
- <br>
120
- <br>
121
- <span>Large </span>
122
-
123
- <br>
124
- <br>
125
- <ui5-busy-indicator size="Large" active></ui5-busy-indicator>
126
- <br>
127
- <br>
128
-
129
- <ui5-busy-indicator id="busy-tree" class="busyindicator8auto" delay="0">
130
- <ui5-tree id="treeDynamic">
131
- <div slot="header">
132
- <ui5-title>Dynamic tree</ui5-title>
133
- </div>
134
-
135
- <ui5-tree-item text="Has no children at all"></ui5-tree-item>
136
-
137
- <ui5-tree-item text="Has preloaded children">
138
- <ui5-tree-item text="Child 1"></ui5-tree-item>
139
- <ui5-tree-item text="Child 2"></ui5-tree-item>
140
- </ui5-tree-item>
141
-
142
- <ui5-tree-item id="dynamicNode" text="Has children, but not yet loaded" has-children></ui5-tree-item>
143
- </ui5-tree>
144
- </ui5-busy-indicator>
145
-
146
- <ui5-input value="0" id="tree-input"></ui5-input>
147
-
148
- <br>
149
- <br>
150
-
151
- <ui5-button id="open-dialog-inactive-indicator">Open Dialog with Inactive Indicator</ui5-button>
152
- <ui5-dialog id="dialog-inactive-indicator">
153
- <div slot="header">Dialog with focus issue</div>
154
- <div>
155
- <div>Buttons are wrapped in busy indicator, which is inactive.</div>
156
- <ui5-busy-indicator>
157
- <ui5-button id="dialog-inactive-indicator-focused-button">button 1</ui5-button>
158
- <ui5-button>button 2</ui5-button>
159
- <ui5-button>button 3</ui5-button>
160
- </ui5-busy-indicator>
161
- </div>
162
- </ui5-dialog>
163
-
164
- <ui5-button id="open-dialog-active-indicator">Open Dialog with Active Indicator</ui5-button>
165
- <ui5-dialog id="dialog-active-indicator">
166
- <div slot="header">Dialog with focus issue</div>
167
- <div>
168
- <div>Buttons are wrapped in busy indicator, which is active.</div>
169
- <ui5-busy-indicator active>
170
- <ui5-button>button 1</ui5-button>
171
- <ui5-button>button 2</ui5-button>
172
- <ui5-button>button 3</ui5-button>
173
- </ui5-busy-indicator>
174
- </div>
175
- </ui5-dialog>
176
-
177
- <br>
178
- <br>
179
- <span>Indicator with delay</span>
180
- <div></div>
181
- <ui5-button id="open-dialog-delayed-indicator">Open dialog</ui5-button>
182
- <ui5-dialog id="dialog-delayed-indicator">
183
- <ui5-busy-indicator id="dialog-delayed-indicator-indicator" delay="5000" >
184
- <span>Will become busy after 5 seconds</span>
185
- <span>Shouldn't attempt to focus the busy indicator</span>
186
- </ui5-busy-indicator>
187
- <ui5-button id="dialog-delayed-indicator-focus-stop">focus stop</ui5-button>
188
- </ui5-dialog>
189
-
190
- <script>
191
- document.getElementById("fetch-btn").addEventListener("click", function(event) {
192
- var busyIndicator = document.getElementById("busy-container");
193
- var list = document.getElementById("fetch-list");
194
- busyIndicator.setAttribute("active", "");
195
-
196
- setTimeout(function() {
197
- var elements = ["UI5", "Web", "Components"].forEach(function(title) {
198
- var el = document.createElement("ui5-li");
199
- el.textContent = title;
200
-
201
- list.appendChild(el);
202
- });
203
-
204
- list.noDataText = "";
205
- busyIndicator.removeAttribute("active");
206
- }, 2000);
207
- });
208
-
209
- var dynamicTree = document.getElementById("treeDynamic");
210
- var busyIndicator = document.getElementById("busy-tree");
211
- var input = document.getElementById("tree-input");
212
- var inputValue = 0;
213
-
214
- dynamicTree.addEventListener("ui5-itemToggle", function(event) {
215
- var item = event.detail.item; // get the node that is toggled
216
- console.log(item);
217
- // Only for the dynamic node, only when it's empty
218
- if (item.id === "dynamicNode" && item.children.length === 0) {
219
- busyIndicator.active = true;
220
- event.preventDefault(); // do not let the toggle button switch yet
221
- setTimeout(function() {
222
- var newItem = document.createElement("ui5-tree-item"); // Fetching from db....
223
- newItem.text = "Node fetched from DB after 2 sec";
224
- item.appendChild(newItem);
225
- item.toggle(); // now manually switch
226
- busyIndicator.active = false;
227
- }, 2000);
228
- }
229
- });
230
-
231
- dynamicTree.addEventListener("ui5-itemClick", function(event) {
232
- var item = event.detail.item; // get the node that is toggled
233
-
234
- // Only for the dynamic node, only when it's empty
235
- if (item.id === "dynamicNode") {
236
- input.value = ++inputValue;
237
- }
238
- });
239
-
240
- document.getElementById("open-dialog-inactive-indicator").addEventListener("click", function () {
241
- document.getElementById("dialog-inactive-indicator").show();
242
- });
243
-
244
- document.getElementById("open-dialog-active-indicator").addEventListener("click", function () {
245
- document.getElementById("dialog-active-indicator").show();
246
- });
247
-
248
- document.getElementById("open-dialog-delayed-indicator").addEventListener("click", function () {
249
- document.getElementById("dialog-delayed-indicator-indicator").active = true;
250
- document.getElementById("dialog-delayed-indicator").show();
251
- });
252
- </script>
253
- </body>
254
-
255
- </html>