@ui5/webcomponents-base 2.7.0-rc.2 → 2.7.1
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/cypress/specs/{Accessor.cy.ts → Accessor.cy.tsx} +4 -4
- package/cypress/specs/{ConfigurationScript.cy.ts → ConfigurationScript.cy.tsx} +2 -1
- package/cypress/specs/{ConfigurationURL.cy.ts → ConfigurationURL.cy.tsx} +7 -7
- package/cypress/specs/{CustomMount.cy.ts → CustomMount.cy.tsx} +2 -2
- package/cypress/specs/{CustomTheme.cy.ts → CustomTheme.cy.tsx} +2 -2
- package/cypress/specs/{UI5ElementInvalidation.cy.ts → UI5ElementInvalidation.cy.tsx} +55 -10
- package/cypress/specs/{UI5ElementLifecycle.cy.ts → UI5ElementLifecycle.cy.tsx} +4 -4
- package/cypress/specs/{UI5ElementListenForChildPropChanges.cy.ts → UI5ElementListenForChildPropChanges.cy.tsx} +32 -11
- package/cypress/specs/{UI5ElementMetadataExt.cy.ts → UI5ElementMetadataExt.cy.tsx} +3 -3
- package/cypress/specs/{UI5ElementPropertyValidation.cy.ts → UI5ElementPropertyValidation.cy.tsx} +2 -2
- package/cypress/specs/{UI5ElementPropsAndAttrs.cy.ts → UI5ElementPropsAndAttrs.cy.tsx} +8 -8
- package/cypress/specs/{UI5ElementShadowDOM.cy.ts → UI5ElementShadowDOM.cy.tsx} +4 -4
- package/cypress/specs/{UI5ElementSlots.cy.ts → UI5ElementSlots.cy.tsx} +47 -27
- package/cypress/specs/{WithComplexTemplate.cy.ts → WithComplexTemplate.cy.tsx} +2 -2
- package/cypress/tsconfig.json +2 -0
- package/dist/.tsbuildinfobuild +1 -1
- package/dist/custom-elements-internal.json +135 -135
- package/dist/custom-elements.json +135 -135
- package/dist/features/patchPopup.js +10 -1
- package/dist/features/patchPopup.js.map +1 -1
- package/dist/generated/VersionInfo.js +4 -4
- package/dist/generated/VersionInfo.js.map +1 -1
- package/dist/prod/features/patchPopup.js +1 -1
- package/dist/prod/features/patchPopup.js.map +3 -3
- package/dist/prod/generated/VersionInfo.js +1 -1
- package/dist/prod/generated/VersionInfo.js.map +2 -2
- package/dist/prod/ssr-dom-shim.js +1 -1
- package/dist/prod/ssr-dom-shim.js.map +3 -3
- package/dist/ssr-dom-shim.js +5 -1
- package/dist/ssr-dom-shim.js.map +1 -1
- package/package.json +3 -3
- /package/cypress/specs/{Boot.cy.ts → Boot.cy.tsx} +0 -0
- /package/cypress/specs/{ConfigurationChange.cy.ts → ConfigurationChange.cy.tsx} +0 -0
- /package/cypress/specs/{EventProvider.cy.ts → EventProvider.cy.tsx} +0 -0
- /package/cypress/specs/{SystemDOMElements.cy.ts → SystemDOMElements.cy.tsx} +0 -0
- /package/cypress/specs/{Theming.cy.ts → Theming.cy.tsx} +0 -0
|
@@ -194,141 +194,6 @@
|
|
|
194
194
|
}
|
|
195
195
|
]
|
|
196
196
|
},
|
|
197
|
-
{
|
|
198
|
-
"kind": "javascript-module",
|
|
199
|
-
"path": "dist/decorators/bound.js",
|
|
200
|
-
"declarations": [],
|
|
201
|
-
"exports": [
|
|
202
|
-
{
|
|
203
|
-
"kind": "js",
|
|
204
|
-
"name": "default",
|
|
205
|
-
"declaration": {
|
|
206
|
-
"name": "bound",
|
|
207
|
-
"module": "dist/decorators/bound.js"
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
]
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"kind": "javascript-module",
|
|
214
|
-
"path": "dist/decorators/customElement.js",
|
|
215
|
-
"declarations": [],
|
|
216
|
-
"exports": [
|
|
217
|
-
{
|
|
218
|
-
"kind": "js",
|
|
219
|
-
"name": "default",
|
|
220
|
-
"declaration": {
|
|
221
|
-
"name": "customElement",
|
|
222
|
-
"module": "dist/decorators/customElement.js"
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
]
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"kind": "javascript-module",
|
|
229
|
-
"path": "dist/decorators/event-strict.js",
|
|
230
|
-
"declarations": [],
|
|
231
|
-
"exports": [
|
|
232
|
-
{
|
|
233
|
-
"kind": "js",
|
|
234
|
-
"name": "default",
|
|
235
|
-
"declaration": {
|
|
236
|
-
"name": "event",
|
|
237
|
-
"module": "dist/decorators/event-strict.js"
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
]
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"kind": "javascript-module",
|
|
244
|
-
"path": "dist/decorators/event.js",
|
|
245
|
-
"declarations": [],
|
|
246
|
-
"exports": [
|
|
247
|
-
{
|
|
248
|
-
"kind": "js",
|
|
249
|
-
"name": "default",
|
|
250
|
-
"declaration": {
|
|
251
|
-
"name": "event",
|
|
252
|
-
"module": "dist/decorators/event.js"
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
]
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"kind": "javascript-module",
|
|
259
|
-
"path": "dist/decorators/i18n.js",
|
|
260
|
-
"declarations": [],
|
|
261
|
-
"exports": [
|
|
262
|
-
{
|
|
263
|
-
"kind": "js",
|
|
264
|
-
"name": "default",
|
|
265
|
-
"declaration": {
|
|
266
|
-
"name": "i18n",
|
|
267
|
-
"module": "dist/decorators/i18n.js"
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
]
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"kind": "javascript-module",
|
|
274
|
-
"path": "dist/decorators/property.js",
|
|
275
|
-
"declarations": [],
|
|
276
|
-
"exports": [
|
|
277
|
-
{
|
|
278
|
-
"kind": "js",
|
|
279
|
-
"name": "default",
|
|
280
|
-
"declaration": {
|
|
281
|
-
"name": "property",
|
|
282
|
-
"module": "dist/decorators/property.js"
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
]
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"kind": "javascript-module",
|
|
289
|
-
"path": "dist/decorators/query.js",
|
|
290
|
-
"declarations": [],
|
|
291
|
-
"exports": [
|
|
292
|
-
{
|
|
293
|
-
"kind": "js",
|
|
294
|
-
"name": "default",
|
|
295
|
-
"declaration": {
|
|
296
|
-
"name": "query",
|
|
297
|
-
"module": "dist/decorators/query.js"
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
]
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"kind": "javascript-module",
|
|
304
|
-
"path": "dist/decorators/queryAll.js",
|
|
305
|
-
"declarations": [],
|
|
306
|
-
"exports": [
|
|
307
|
-
{
|
|
308
|
-
"kind": "js",
|
|
309
|
-
"name": "default",
|
|
310
|
-
"declaration": {
|
|
311
|
-
"name": "queryAll",
|
|
312
|
-
"module": "dist/decorators/queryAll.js"
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
]
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"kind": "javascript-module",
|
|
319
|
-
"path": "dist/decorators/slot.js",
|
|
320
|
-
"declarations": [],
|
|
321
|
-
"exports": [
|
|
322
|
-
{
|
|
323
|
-
"kind": "js",
|
|
324
|
-
"name": "default",
|
|
325
|
-
"declaration": {
|
|
326
|
-
"name": "slot",
|
|
327
|
-
"module": "dist/decorators/slot.js"
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
]
|
|
331
|
-
},
|
|
332
197
|
{
|
|
333
198
|
"kind": "javascript-module",
|
|
334
199
|
"path": "dist/delegate/ItemNavigation.js",
|
|
@@ -1784,6 +1649,141 @@
|
|
|
1784
1649
|
}
|
|
1785
1650
|
]
|
|
1786
1651
|
},
|
|
1652
|
+
{
|
|
1653
|
+
"kind": "javascript-module",
|
|
1654
|
+
"path": "dist/decorators/bound.js",
|
|
1655
|
+
"declarations": [],
|
|
1656
|
+
"exports": [
|
|
1657
|
+
{
|
|
1658
|
+
"kind": "js",
|
|
1659
|
+
"name": "default",
|
|
1660
|
+
"declaration": {
|
|
1661
|
+
"name": "bound",
|
|
1662
|
+
"module": "dist/decorators/bound.js"
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
]
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"kind": "javascript-module",
|
|
1669
|
+
"path": "dist/decorators/customElement.js",
|
|
1670
|
+
"declarations": [],
|
|
1671
|
+
"exports": [
|
|
1672
|
+
{
|
|
1673
|
+
"kind": "js",
|
|
1674
|
+
"name": "default",
|
|
1675
|
+
"declaration": {
|
|
1676
|
+
"name": "customElement",
|
|
1677
|
+
"module": "dist/decorators/customElement.js"
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
]
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"kind": "javascript-module",
|
|
1684
|
+
"path": "dist/decorators/event-strict.js",
|
|
1685
|
+
"declarations": [],
|
|
1686
|
+
"exports": [
|
|
1687
|
+
{
|
|
1688
|
+
"kind": "js",
|
|
1689
|
+
"name": "default",
|
|
1690
|
+
"declaration": {
|
|
1691
|
+
"name": "event",
|
|
1692
|
+
"module": "dist/decorators/event-strict.js"
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
]
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
"kind": "javascript-module",
|
|
1699
|
+
"path": "dist/decorators/event.js",
|
|
1700
|
+
"declarations": [],
|
|
1701
|
+
"exports": [
|
|
1702
|
+
{
|
|
1703
|
+
"kind": "js",
|
|
1704
|
+
"name": "default",
|
|
1705
|
+
"declaration": {
|
|
1706
|
+
"name": "event",
|
|
1707
|
+
"module": "dist/decorators/event.js"
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
]
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
"kind": "javascript-module",
|
|
1714
|
+
"path": "dist/decorators/i18n.js",
|
|
1715
|
+
"declarations": [],
|
|
1716
|
+
"exports": [
|
|
1717
|
+
{
|
|
1718
|
+
"kind": "js",
|
|
1719
|
+
"name": "default",
|
|
1720
|
+
"declaration": {
|
|
1721
|
+
"name": "i18n",
|
|
1722
|
+
"module": "dist/decorators/i18n.js"
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
]
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"kind": "javascript-module",
|
|
1729
|
+
"path": "dist/decorators/property.js",
|
|
1730
|
+
"declarations": [],
|
|
1731
|
+
"exports": [
|
|
1732
|
+
{
|
|
1733
|
+
"kind": "js",
|
|
1734
|
+
"name": "default",
|
|
1735
|
+
"declaration": {
|
|
1736
|
+
"name": "property",
|
|
1737
|
+
"module": "dist/decorators/property.js"
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
]
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"kind": "javascript-module",
|
|
1744
|
+
"path": "dist/decorators/query.js",
|
|
1745
|
+
"declarations": [],
|
|
1746
|
+
"exports": [
|
|
1747
|
+
{
|
|
1748
|
+
"kind": "js",
|
|
1749
|
+
"name": "default",
|
|
1750
|
+
"declaration": {
|
|
1751
|
+
"name": "query",
|
|
1752
|
+
"module": "dist/decorators/query.js"
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
]
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
"kind": "javascript-module",
|
|
1759
|
+
"path": "dist/decorators/queryAll.js",
|
|
1760
|
+
"declarations": [],
|
|
1761
|
+
"exports": [
|
|
1762
|
+
{
|
|
1763
|
+
"kind": "js",
|
|
1764
|
+
"name": "default",
|
|
1765
|
+
"declaration": {
|
|
1766
|
+
"name": "queryAll",
|
|
1767
|
+
"module": "dist/decorators/queryAll.js"
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
]
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
"kind": "javascript-module",
|
|
1774
|
+
"path": "dist/decorators/slot.js",
|
|
1775
|
+
"declarations": [],
|
|
1776
|
+
"exports": [
|
|
1777
|
+
{
|
|
1778
|
+
"kind": "js",
|
|
1779
|
+
"name": "default",
|
|
1780
|
+
"declaration": {
|
|
1781
|
+
"name": "slot",
|
|
1782
|
+
"module": "dist/decorators/slot.js"
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
]
|
|
1786
|
+
},
|
|
1787
1787
|
{
|
|
1788
1788
|
"kind": "javascript-module",
|
|
1789
1789
|
"path": "dist/AssetRegistry.js",
|
|
@@ -194,141 +194,6 @@
|
|
|
194
194
|
}
|
|
195
195
|
]
|
|
196
196
|
},
|
|
197
|
-
{
|
|
198
|
-
"kind": "javascript-module",
|
|
199
|
-
"path": "dist/decorators/bound.js",
|
|
200
|
-
"declarations": [],
|
|
201
|
-
"exports": [
|
|
202
|
-
{
|
|
203
|
-
"kind": "js",
|
|
204
|
-
"name": "default",
|
|
205
|
-
"declaration": {
|
|
206
|
-
"name": "bound",
|
|
207
|
-
"module": "dist/decorators/bound.js"
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
]
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"kind": "javascript-module",
|
|
214
|
-
"path": "dist/decorators/customElement.js",
|
|
215
|
-
"declarations": [],
|
|
216
|
-
"exports": [
|
|
217
|
-
{
|
|
218
|
-
"kind": "js",
|
|
219
|
-
"name": "default",
|
|
220
|
-
"declaration": {
|
|
221
|
-
"name": "customElement",
|
|
222
|
-
"module": "dist/decorators/customElement.js"
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
]
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"kind": "javascript-module",
|
|
229
|
-
"path": "dist/decorators/event-strict.js",
|
|
230
|
-
"declarations": [],
|
|
231
|
-
"exports": [
|
|
232
|
-
{
|
|
233
|
-
"kind": "js",
|
|
234
|
-
"name": "default",
|
|
235
|
-
"declaration": {
|
|
236
|
-
"name": "event",
|
|
237
|
-
"module": "dist/decorators/event-strict.js"
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
]
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"kind": "javascript-module",
|
|
244
|
-
"path": "dist/decorators/event.js",
|
|
245
|
-
"declarations": [],
|
|
246
|
-
"exports": [
|
|
247
|
-
{
|
|
248
|
-
"kind": "js",
|
|
249
|
-
"name": "default",
|
|
250
|
-
"declaration": {
|
|
251
|
-
"name": "event",
|
|
252
|
-
"module": "dist/decorators/event.js"
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
]
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"kind": "javascript-module",
|
|
259
|
-
"path": "dist/decorators/i18n.js",
|
|
260
|
-
"declarations": [],
|
|
261
|
-
"exports": [
|
|
262
|
-
{
|
|
263
|
-
"kind": "js",
|
|
264
|
-
"name": "default",
|
|
265
|
-
"declaration": {
|
|
266
|
-
"name": "i18n",
|
|
267
|
-
"module": "dist/decorators/i18n.js"
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
]
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"kind": "javascript-module",
|
|
274
|
-
"path": "dist/decorators/property.js",
|
|
275
|
-
"declarations": [],
|
|
276
|
-
"exports": [
|
|
277
|
-
{
|
|
278
|
-
"kind": "js",
|
|
279
|
-
"name": "default",
|
|
280
|
-
"declaration": {
|
|
281
|
-
"name": "property",
|
|
282
|
-
"module": "dist/decorators/property.js"
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
]
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"kind": "javascript-module",
|
|
289
|
-
"path": "dist/decorators/query.js",
|
|
290
|
-
"declarations": [],
|
|
291
|
-
"exports": [
|
|
292
|
-
{
|
|
293
|
-
"kind": "js",
|
|
294
|
-
"name": "default",
|
|
295
|
-
"declaration": {
|
|
296
|
-
"name": "query",
|
|
297
|
-
"module": "dist/decorators/query.js"
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
]
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"kind": "javascript-module",
|
|
304
|
-
"path": "dist/decorators/queryAll.js",
|
|
305
|
-
"declarations": [],
|
|
306
|
-
"exports": [
|
|
307
|
-
{
|
|
308
|
-
"kind": "js",
|
|
309
|
-
"name": "default",
|
|
310
|
-
"declaration": {
|
|
311
|
-
"name": "queryAll",
|
|
312
|
-
"module": "dist/decorators/queryAll.js"
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
]
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"kind": "javascript-module",
|
|
319
|
-
"path": "dist/decorators/slot.js",
|
|
320
|
-
"declarations": [],
|
|
321
|
-
"exports": [
|
|
322
|
-
{
|
|
323
|
-
"kind": "js",
|
|
324
|
-
"name": "default",
|
|
325
|
-
"declaration": {
|
|
326
|
-
"name": "slot",
|
|
327
|
-
"module": "dist/decorators/slot.js"
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
]
|
|
331
|
-
},
|
|
332
197
|
{
|
|
333
198
|
"kind": "javascript-module",
|
|
334
199
|
"path": "dist/delegate/ItemNavigation.js",
|
|
@@ -1536,6 +1401,141 @@
|
|
|
1536
1401
|
}
|
|
1537
1402
|
]
|
|
1538
1403
|
},
|
|
1404
|
+
{
|
|
1405
|
+
"kind": "javascript-module",
|
|
1406
|
+
"path": "dist/decorators/bound.js",
|
|
1407
|
+
"declarations": [],
|
|
1408
|
+
"exports": [
|
|
1409
|
+
{
|
|
1410
|
+
"kind": "js",
|
|
1411
|
+
"name": "default",
|
|
1412
|
+
"declaration": {
|
|
1413
|
+
"name": "bound",
|
|
1414
|
+
"module": "dist/decorators/bound.js"
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
]
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"kind": "javascript-module",
|
|
1421
|
+
"path": "dist/decorators/customElement.js",
|
|
1422
|
+
"declarations": [],
|
|
1423
|
+
"exports": [
|
|
1424
|
+
{
|
|
1425
|
+
"kind": "js",
|
|
1426
|
+
"name": "default",
|
|
1427
|
+
"declaration": {
|
|
1428
|
+
"name": "customElement",
|
|
1429
|
+
"module": "dist/decorators/customElement.js"
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
]
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
"kind": "javascript-module",
|
|
1436
|
+
"path": "dist/decorators/event-strict.js",
|
|
1437
|
+
"declarations": [],
|
|
1438
|
+
"exports": [
|
|
1439
|
+
{
|
|
1440
|
+
"kind": "js",
|
|
1441
|
+
"name": "default",
|
|
1442
|
+
"declaration": {
|
|
1443
|
+
"name": "event",
|
|
1444
|
+
"module": "dist/decorators/event-strict.js"
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
]
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
"kind": "javascript-module",
|
|
1451
|
+
"path": "dist/decorators/event.js",
|
|
1452
|
+
"declarations": [],
|
|
1453
|
+
"exports": [
|
|
1454
|
+
{
|
|
1455
|
+
"kind": "js",
|
|
1456
|
+
"name": "default",
|
|
1457
|
+
"declaration": {
|
|
1458
|
+
"name": "event",
|
|
1459
|
+
"module": "dist/decorators/event.js"
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
]
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"kind": "javascript-module",
|
|
1466
|
+
"path": "dist/decorators/i18n.js",
|
|
1467
|
+
"declarations": [],
|
|
1468
|
+
"exports": [
|
|
1469
|
+
{
|
|
1470
|
+
"kind": "js",
|
|
1471
|
+
"name": "default",
|
|
1472
|
+
"declaration": {
|
|
1473
|
+
"name": "i18n",
|
|
1474
|
+
"module": "dist/decorators/i18n.js"
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
]
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"kind": "javascript-module",
|
|
1481
|
+
"path": "dist/decorators/property.js",
|
|
1482
|
+
"declarations": [],
|
|
1483
|
+
"exports": [
|
|
1484
|
+
{
|
|
1485
|
+
"kind": "js",
|
|
1486
|
+
"name": "default",
|
|
1487
|
+
"declaration": {
|
|
1488
|
+
"name": "property",
|
|
1489
|
+
"module": "dist/decorators/property.js"
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
]
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"kind": "javascript-module",
|
|
1496
|
+
"path": "dist/decorators/query.js",
|
|
1497
|
+
"declarations": [],
|
|
1498
|
+
"exports": [
|
|
1499
|
+
{
|
|
1500
|
+
"kind": "js",
|
|
1501
|
+
"name": "default",
|
|
1502
|
+
"declaration": {
|
|
1503
|
+
"name": "query",
|
|
1504
|
+
"module": "dist/decorators/query.js"
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
]
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"kind": "javascript-module",
|
|
1511
|
+
"path": "dist/decorators/queryAll.js",
|
|
1512
|
+
"declarations": [],
|
|
1513
|
+
"exports": [
|
|
1514
|
+
{
|
|
1515
|
+
"kind": "js",
|
|
1516
|
+
"name": "default",
|
|
1517
|
+
"declaration": {
|
|
1518
|
+
"name": "queryAll",
|
|
1519
|
+
"module": "dist/decorators/queryAll.js"
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
]
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"kind": "javascript-module",
|
|
1526
|
+
"path": "dist/decorators/slot.js",
|
|
1527
|
+
"declarations": [],
|
|
1528
|
+
"exports": [
|
|
1529
|
+
{
|
|
1530
|
+
"kind": "js",
|
|
1531
|
+
"name": "default",
|
|
1532
|
+
"declaration": {
|
|
1533
|
+
"name": "slot",
|
|
1534
|
+
"module": "dist/decorators/slot.js"
|
|
1535
|
+
}
|
|
1536
|
+
}
|
|
1537
|
+
]
|
|
1538
|
+
},
|
|
1539
1539
|
{
|
|
1540
1540
|
"kind": "javascript-module",
|
|
1541
1541
|
"path": "dist/AssetRegistry.js",
|
|
@@ -8,11 +8,20 @@ const closeNativePopover = (domRef) => {
|
|
|
8
8
|
domRef.removeAttribute("popover");
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
|
+
const isNativePopoverOpen = (root = document) => {
|
|
12
|
+
if (root.querySelector(":popover-open")) {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
return Array.from(root.querySelectorAll("*")).some(element => {
|
|
16
|
+
const shadowRoot = element.shadowRoot;
|
|
17
|
+
return shadowRoot && isNativePopoverOpen(shadowRoot);
|
|
18
|
+
});
|
|
19
|
+
};
|
|
11
20
|
const patchOpen = (Popup) => {
|
|
12
21
|
const origOpen = Popup.prototype.open;
|
|
13
22
|
Popup.prototype.open = function open(...args) {
|
|
14
23
|
origOpen.apply(this, args); // call open first to initiate opening
|
|
15
|
-
const topLayerAlreadyInUse =
|
|
24
|
+
const topLayerAlreadyInUse = isNativePopoverOpen();
|
|
16
25
|
const openingInitiated = ["OPENING", "OPEN"].includes(this.getOpenState());
|
|
17
26
|
if (openingInitiated && topLayerAlreadyInUse) {
|
|
18
27
|
const element = this.getContent();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patchPopup.js","sourceRoot":"","sources":["../../src/features/patchPopup.ts"],"names":[],"mappings":"AAgBA,MAAM,iBAAiB,GAAG,CAAC,MAAmB,EAAE,EAAE;IACjD,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;IACzC,MAAM,CAAC,WAAW,EAAE,CAAC;AACtB,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,MAAmB,EAAE,EAAE;IAClD,IAAI,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,EAAE,CAAC;QACpC,MAAM,CAAC,WAAW,EAAE,CAAC;QACrB,MAAM,CAAC,eAAe,CAAC,SAAS,CAA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,\n}\n\n// The lifecycle of Popup.js is open -> _opened -> close -> _closed, we're interested in the first (open) and last (_closed)\ntype OpenUI5Popup = {\n\tprototype: {\n\t\topen: (...args: any[]) => void,\n\t\t_closed: (...args: any[]) => void,\n\t\tgetOpenState: () => \"CLOSED\" | \"CLOSING\" | \"OPEN\" | \"OPENING\",\n\t\tgetContent: () => Control | HTMLElement | null, // this is the OpenUI5 Element/Control instance that opens the Popup (usually sap.m.Popover/sap.m.Dialog)\n\t\tonFocusEvent: (e: FocusEvent) => void,\n\t}\n};\n\nconst openNativePopover = (domRef: HTMLElement) => {\n\tdomRef.setAttribute(\"popover\", \"manual\");\n\tdomRef.showPopover();\n};\n\nconst closeNativePopover = (domRef: HTMLElement) => {\n\tif (domRef.hasAttribute(\"popover\")) {\n\t\tdomRef.hidePopover();\n\t\tdomRef.removeAttribute(\"popover\");\n\t}\n};\n\nconst isNativePopoverOpen = (root: Document | ShadowRoot = document): boolean => {\n\tif (root.querySelector(\":popover-open\")) {\n\t\treturn true;\n\t}\n\n\treturn Array.from(root.querySelectorAll(\"*\")).some(element => {\n\t\tconst shadowRoot = element.shadowRoot;\n\t\treturn shadowRoot && isNativePopoverOpen(shadowRoot);\n\t});\n};\n\nconst patchOpen = (Popup: OpenUI5Popup) => {\n\tconst origOpen = Popup.prototype.open;\n\tPopup.prototype.open = function open(...args: any[]) {\n\t\torigOpen.apply(this, args); // call open first to initiate opening\n\t\tconst topLayerAlreadyInUse = isNativePopoverOpen();\n\t\tconst openingInitiated = [\"OPENING\", \"OPEN\"].includes(this.getOpenState());\n\t\tif (openingInitiated && topLayerAlreadyInUse) {\n\t\t\tconst element = this.getContent();\n\t\t\tif (element) {\n\t\t\t\tconst domRef = element instanceof HTMLElement ? element : element?.getDomRef();\n\t\t\t\tif (domRef) {\n\t\t\t\t\topenNativePopover(domRef);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n};\n\nconst patchClosed = (Popup: OpenUI5Popup) => {\n\tconst _origClosed = Popup.prototype._closed;\n\tPopup.prototype._closed = function _closed(...args: any[]) {\n\t\tconst element = this.getContent();\n\t\tconst domRef = element instanceof HTMLElement ? element : element?.getDomRef();\n\t\t_origClosed.apply(this, args); // only then call _close\n\t\tif (domRef) {\n\t\t\tcloseNativePopover(domRef); // unset the popover attribute and close the native popover, but only if still in DOM\n\t\t}\n\t};\n};\n\nconst patchFocusEvent = (Popup: OpenUI5Popup) => {\n\tconst origFocusEvent = Popup.prototype.onFocusEvent;\n\tPopup.prototype.onFocusEvent = function onFocusEvent(e: FocusEvent) {\n\t\tconst isTypeFocus = e.type === \"focus\" || e.type === \"activate\";\n\t\tconst target = e.target as HTMLElement;\n\t\tif (!isTypeFocus || !target.closest(\"[ui5-popover],[ui5-responsive-popover],[ui5-dialog]\")) {\n\t\t\torigFocusEvent.call(this, e);\n\t\t}\n\t};\n};\n\nconst createGlobalStyles = () => {\n\tconst stylesheet = new CSSStyleSheet();\n\tstylesheet.replaceSync(`.sapMPopup-CTX:popover-open { inset: unset; }`);\n\tdocument.adoptedStyleSheets = [...document.adoptedStyleSheets, stylesheet];\n};\n\nconst patchPopup = (Popup: OpenUI5Popup) => {\n\tpatchOpen(Popup); // Popup.prototype.open\n\tpatchClosed(Popup); // Popup.prototype._closed\n\tcreateGlobalStyles(); // Ensures correct popover positioning by OpenUI5 (otherwise 0,0 is the center of the screen)\n\tpatchFocusEvent(Popup);// Popup.prototype.onFocusEvent\n};\n\nexport default patchPopup;\nexport type { OpenUI5Popup };\n"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const VersionInfo = {
|
|
2
|
-
version: "2.7.
|
|
2
|
+
version: "2.7.1",
|
|
3
3
|
major: 2,
|
|
4
4
|
minor: 7,
|
|
5
|
-
patch:
|
|
6
|
-
suffix: "
|
|
5
|
+
patch: 1,
|
|
6
|
+
suffix: "",
|
|
7
7
|
isNext: false,
|
|
8
|
-
buildTime:
|
|
8
|
+
buildTime: 1738925749,
|
|
9
9
|
};
|
|
10
10
|
export default VersionInfo;
|
|
11
11
|
//# sourceMappingURL=VersionInfo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VersionInfo.js","sourceRoot":"","sources":["../../src/generated/VersionInfo.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG;IACnB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"VersionInfo.js","sourceRoot":"","sources":["../../src/generated/VersionInfo.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG;IACnB,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,EAAE;IACV,MAAM,EAAE,KAAK;IACb,SAAS,EAAE,UAAU;CACrB,CAAC;AACF,eAAe,WAAW,CAAC","sourcesContent":["const VersionInfo = {\n\tversion: \"2.7.1\",\n\tmajor: 2,\n\tminor: 7,\n\tpatch: 1,\n\tsuffix: \"\",\n\tisNext: false,\n\tbuildTime: 1738925749,\n};\nexport default VersionInfo;"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const a=e=>{e.setAttribute("popover","manual"),e.showPopover()},l=e=>{e.hasAttribute("popover")&&(e.hidePopover(),e.removeAttribute("popover"))},i=(e=document)=>e.querySelector(":popover-open")?!0:Array.from(e.querySelectorAll("*")).some(o=>{const p=o.shadowRoot;return p&&i(p)}),u=e=>{const o=e.prototype.open;e.prototype.open=function(...t){o.apply(this,t);const n=i();if(["OPENING","OPEN"].includes(this.getOpenState())&&n){const c=this.getContent();if(c){const r=c instanceof HTMLElement?c:c?.getDomRef();r&&a(r)}}}},y=e=>{const o=e.prototype._closed;e.prototype._closed=function(...t){const n=this.getContent(),s=n instanceof HTMLElement?n:n?.getDomRef();o.apply(this,t),s&&l(s)}},v=e=>{const o=e.prototype.onFocusEvent;e.prototype.onFocusEvent=function(t){const n=t.type==="focus"||t.type==="activate",s=t.target;(!n||!s.closest("[ui5-popover],[ui5-responsive-popover],[ui5-dialog]"))&&o.call(this,t)}},d=()=>{const e=new CSSStyleSheet;e.replaceSync(".sapMPopup-CTX:popover-open { inset: unset; }"),document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]},h=e=>{u(e),y(e),d(),v(e)};export default h;
|
|
2
2
|
//# sourceMappingURL=patchPopup.js.map
|