@ui5/webcomponents-base 0.0.0-41ab6cd28 → 0.0.0-4237771ff

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 (124) hide show
  1. package/CHANGELOG.md +394 -0
  2. package/README.md +2 -1
  3. package/dist/.tsbuildinfo +1 -0
  4. package/dist/AssetRegistry.d.ts +2 -2
  5. package/dist/AssetRegistry.js +2 -2
  6. package/dist/AssetRegistry.js.map +1 -1
  7. package/dist/Boot.js +1 -1
  8. package/dist/Boot.js.map +1 -1
  9. package/dist/CustomElementsScope.d.ts +4 -4
  10. package/dist/CustomElementsScope.js +2 -2
  11. package/dist/CustomElementsScope.js.map +1 -1
  12. package/dist/CustomElementsScopeUtils.d.ts +8 -1
  13. package/dist/CustomElementsScopeUtils.js +13 -1
  14. package/dist/CustomElementsScopeUtils.js.map +1 -1
  15. package/dist/Device.d.ts +2 -1
  16. package/dist/Device.js +10 -1
  17. package/dist/Device.js.map +1 -1
  18. package/dist/FontFace.js +1 -1
  19. package/dist/FontFace.js.map +1 -1
  20. package/dist/InitialConfiguration.d.ts +2 -1
  21. package/dist/InitialConfiguration.js +7 -2
  22. package/dist/InitialConfiguration.js.map +1 -1
  23. package/dist/Keys.d.ts +5 -1
  24. package/dist/Keys.js +109 -106
  25. package/dist/Keys.js.map +1 -1
  26. package/dist/ManagedStyles.d.ts +5 -4
  27. package/dist/ManagedStyles.js +92 -23
  28. package/dist/ManagedStyles.js.map +1 -1
  29. package/dist/StaticAreaItem.d.ts +1 -0
  30. package/dist/StaticAreaItem.js +7 -7
  31. package/dist/StaticAreaItem.js.map +1 -1
  32. package/dist/UI5Element.d.ts +16 -2
  33. package/dist/UI5Element.js +31 -15
  34. package/dist/UI5Element.js.map +1 -1
  35. package/dist/UI5ElementMetadata.d.ts +1 -0
  36. package/dist/UI5ElementMetadata.js +2 -2
  37. package/dist/UI5ElementMetadata.js.map +1 -1
  38. package/dist/api.json +1 -1
  39. package/dist/asset-registries/Icons.d.ts +4 -3
  40. package/dist/asset-registries/Icons.js +28 -17
  41. package/dist/asset-registries/Icons.js.map +1 -1
  42. package/dist/asset-registries/Illustrations.d.ts +1 -0
  43. package/dist/asset-registries/Illustrations.js +57 -19
  44. package/dist/asset-registries/Illustrations.js.map +1 -1
  45. package/dist/asset-registries/Themes.d.ts +4 -3
  46. package/dist/asset-registries/Themes.js +26 -10
  47. package/dist/asset-registries/Themes.js.map +1 -1
  48. package/dist/asset-registries/i18n.js +2 -1
  49. package/dist/asset-registries/i18n.js.map +1 -1
  50. package/dist/{assets-meta → asset-registries/util}/IconCollectionsAlias.d.ts +1 -2
  51. package/dist/{assets-meta → asset-registries/util}/IconCollectionsAlias.js +1 -2
  52. package/dist/asset-registries/util/IconCollectionsAlias.js.map +1 -0
  53. package/dist/asset-registries/util/IconCollectionsByTheme.d.ts +20 -0
  54. package/dist/asset-registries/util/IconCollectionsByTheme.js +42 -0
  55. package/dist/asset-registries/util/IconCollectionsByTheme.js.map +1 -0
  56. package/dist/asset-registries/util/getIconCollectionByTheme.d.ts +13 -0
  57. package/dist/asset-registries/util/getIconCollectionByTheme.js +29 -0
  58. package/dist/asset-registries/util/getIconCollectionByTheme.js.map +1 -0
  59. package/dist/config/CalendarType.d.ts +8 -1
  60. package/dist/config/CalendarType.js +18 -2
  61. package/dist/config/CalendarType.js.map +1 -1
  62. package/dist/config/Icons.d.ts +2 -17
  63. package/dist/config/Icons.js +1 -60
  64. package/dist/config/Icons.js.map +1 -1
  65. package/dist/connectToComponent.d.ts +9 -0
  66. package/dist/connectToComponent.js +59 -0
  67. package/dist/connectToComponent.js.map +1 -0
  68. package/dist/css/FontFace.css +47 -17
  69. package/dist/delegate/ItemNavigation.d.ts +1 -0
  70. package/dist/delegate/ItemNavigation.js +4 -5
  71. package/dist/delegate/ItemNavigation.js.map +1 -1
  72. package/dist/delegate/ScrollEnablement.js +2 -2
  73. package/dist/delegate/ScrollEnablement.js.map +1 -1
  74. package/dist/features/OpenUI5Enablement.d.ts +1 -1
  75. package/dist/features/OpenUI5Support.d.ts +13 -3
  76. package/dist/features/OpenUI5Support.js +89 -33
  77. package/dist/features/OpenUI5Support.js.map +1 -1
  78. package/dist/generated/AssetParameters.d.ts +6 -0
  79. package/dist/generated/AssetParameters.js +3 -10
  80. package/dist/generated/AssetParameters.js.map +1 -0
  81. package/dist/generated/VersionInfo.d.ts +10 -0
  82. package/dist/generated/VersionInfo.js +9 -8
  83. package/dist/generated/VersionInfo.js.map +1 -0
  84. package/dist/generated/css/FontFace.css.js +1 -1
  85. package/dist/generated/css/FontFace.css.js.map +1 -1
  86. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.d.ts +1 -1
  87. package/dist/i18nBundle.d.ts +1 -1
  88. package/dist/i18nBundle.js.map +1 -1
  89. package/dist/renderer/LitRenderer.d.ts +2 -2
  90. package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +111 -96
  91. package/dist/theming/applyTheme.js +5 -5
  92. package/dist/theming/applyTheme.js.map +1 -1
  93. package/dist/types/CSSSize.d.ts +15 -0
  94. package/dist/types/CSSSize.js +18 -0
  95. package/dist/types/CSSSize.js.map +1 -0
  96. package/dist/types/InvisibleMessageMode.d.ts +5 -4
  97. package/dist/types/InvisibleMessageMode.js +4 -5
  98. package/dist/types/InvisibleMessageMode.js.map +1 -1
  99. package/dist/updateShadowRoot.js +2 -1
  100. package/dist/updateShadowRoot.js.map +1 -1
  101. package/dist/util/ColorConversion.js +200 -195
  102. package/dist/util/ColorConversion.js.map +1 -1
  103. package/dist/util/InvisibleMessage.d.ts +1 -1
  104. package/dist/util/InvisibleMessage.js.map +1 -1
  105. package/dist/util/PopupUtils.js +1 -1
  106. package/dist/util/PopupUtils.js.map +1 -1
  107. package/dist/util/getClassCopy.d.ts +47 -31
  108. package/dist/util/getParentElement.d.ts +2 -0
  109. package/dist/util/getParentElement.js +5 -0
  110. package/dist/util/getParentElement.js.map +1 -0
  111. package/dist/util/isElementContainingBlock.d.ts +2 -0
  112. package/dist/util/isElementContainingBlock.js +11 -0
  113. package/dist/util/isElementContainingBlock.js.map +1 -0
  114. package/index.js +3 -3
  115. package/lib/generate-asset-parameters/index.js +2 -2
  116. package/lib/generate-version-info/index.js +2 -2
  117. package/package-scripts.cjs +6 -7
  118. package/package.json +8 -5
  119. package/src/css/FontFace.css +47 -17
  120. package/tsconfig.json +3 -0
  121. package/dist/assets/Boot.34b7cea0.css +0 -1
  122. package/dist/assets/Boot.e98db706.js +0 -9
  123. package/dist/assets/bundle.esm.027ecc55.js +0 -50
  124. package/dist/assets-meta/IconCollectionsAlias.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"PopupUtils.js","sourceRoot":"","sources":["../../src/util/PopupUtils.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AAOrD,MAAM,cAAc,GAAG,iBAAiB,CAAiB,gBAAgB,EAAE,EAAE,aAAa,EAAE,GAAG,EAAE,CAAC,CAAC;AAEnG,MAAM,iBAAiB,GAAG,GAAG,EAAE;IAC9B,MAAM,OAAO,GAAG,gBAAgB,EAAiB,CAAC;IAClD,OAAO,CAAC,OAAO,IAAI,OAAO,OAAO,CAAC,KAAK,KAAK,UAAU,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC;AAC1E,CAAC,CAAC;AAEF,MAAM,0BAA0B,GAAG,CAAC,IAAiB,EAAE,EAAE;IACxD,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAC;IAE/B,IAAI,EAAE,EAAE;QACP,OAAO,qBAAqB,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;KACvC;IAED,OAAO,KAAK,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAAC,MAAmB,EAAE,KAAkB,EAAW,EAAE;IAClF,IAAI,WAAW,GAA4B,MAAM,CAAC;IAElD,IAAI,WAAW,CAAC,UAAU,EAAE;QAC3B,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,QAAQ,CAAuB,CAAC;QACnF,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,KAAK,OAAO,CAAC,CAAC;QAE1D,IAAI,CAAC,WAAW,EAAE;YACjB,OAAO,KAAK,CAAC;SACb;KACD;IAED,IAAI,WAAW,KAAK,KAAK,EAAE;QAC1B,OAAO,IAAI,CAAC;KACZ;IAED,MAAM,UAAU,GAAG,WAAW,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC,CAAE,WAA+B,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC;IAE9H,IAAI,UAAU,EAAE;QACf,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAgB,EAAE,KAAK,CAAC,CAAC,CAAC;KACxF;IAED,OAAO,KAAK,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,CAAS,EAAE,CAAS,EAAE,IAAa,EAAE,EAAE;IAC7D,OAAO,CAAC,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK;WACpC,CAAC,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC;AACvC,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,CAA0B,EAAE,IAAa,EAAE,EAAE;IACnE,IAAI,CAAC,CAAC;IACN,IAAI,CAAC,CAAC;IAEN,IAAI,CAAC,YAAY,UAAU,EAAE;QAC5B,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC;QACd,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC;KACd;SAAM;QACN,MAAM,KAAK,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAC3B,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC;QAClB,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC;KAClB;IAED,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC;AAClC,CAAC,CAAC;AAMF,SAAS,eAAe,CAAC,MAAW;IACnC,OAAO,cAAc,IAAI,MAAM,IAAI,OAAO,IAAI,MAAM,CAAC;AACtD,CAAC;AAED,MAAM,oBAAoB,GAAG,CAAC,EAAe,EAAe,EAAE;IAC7D,MAAM,MAAM,GAAG,EAAE,CAAC,aAAa,IAAI,CAAC,EAAE,CAAC,WAAW,IAAK,EAAE,CAAC,WAAW,EAAiB,CAAC,IAAI,CAAC,CAAC;IAE7F,IAAI,MAAM,IAAI,CAAC,CAAC,eAAe,CAAC,MAAM,CAAC,IAAI,MAAM,KAAK,QAAQ,CAAC,eAAe,CAAC,CAAC,EAAE;QACjF,OAAO,MAAqB,CAAC;KAC7B;IAED,OAAO,oBAAoB,CAAC,MAAqB,CAAC,CAAC;AACpD,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,GAAG,EAAE;IAC1B,MAAM,cAAc,GAAG,UAAU,CAAwB,gBAAgB,CAAC,CAAC;IAC3E,IAAI,cAAc,IAAI,cAAc,CAAC,QAAQ,EAAE,EAAE,EAAE,oDAAoD;QACtG,OAAO,cAAc,CAAC,aAAa,EAAE,CAAC;KACtC;IAED,cAAc,CAAC,aAAa,IAAI,CAAC,CAAC;IAClC,OAAO,cAAc,CAAC,aAAa,CAAC;AACrC,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,GAAG,EAAE;IAC7B,OAAO,cAAc,CAAC,aAAa,CAAC;AACrC,CAAC,CAAC;AAEF,OAAO,EACN,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,gBAAgB,EAChB,0BAA0B,GAC1B,CAAC","sourcesContent":["import getSharedResource from \"../getSharedResource.js\";\nimport { getFeature } from \"../FeaturesRegistry.js\";\nimport getActiveElement from \"./getActiveElement.js\";\nimport type OpenUI5Support from \"../features/OpenUI5Support.js\";\n\ntype PopupUtilsData = {\n\tcurrentZIndex: number\n};\n\nconst popupUtilsData = getSharedResource<PopupUtilsData>(\"PopupUtilsData\", { currentZIndex: 100 });\n\nconst getFocusedElement = () => {\n\tconst element = getActiveElement() as HTMLElement;\n\treturn (element && typeof element.focus === \"function\") ? element : null;\n};\n\nconst isFocusedElementWithinNode = (node: HTMLElement) => {\n\tconst fe = getFocusedElement();\n\n\tif (fe) {\n\t\treturn isNodeContainedWithin(node, fe);\n\t}\n\n\treturn false;\n};\n\nconst isNodeContainedWithin = (parent: HTMLElement, child: HTMLElement): boolean => {\n\tlet currentNode: HTMLElement | undefined = parent;\n\n\tif (currentNode.shadowRoot) {\n\t\tconst children = Array.from(currentNode.shadowRoot.children) as Array<HTMLElement>;\n\t\tcurrentNode = children.find(n => n.localName !== \"style\");\n\n\t\tif (!currentNode) {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tif (currentNode === child) {\n\t\treturn true;\n\t}\n\n\tconst childNodes = currentNode.localName === \"slot\" ? (currentNode as HTMLSlotElement).assignedNodes() : currentNode.children;\n\n\tif (childNodes) {\n\t\treturn Array.from(childNodes).some(n => isNodeContainedWithin(n as HTMLElement, child));\n\t}\n\n\treturn false;\n};\n\nconst isPointInRect = (x: number, y: number, rect: DOMRect) => {\n\treturn x >= rect.left && x <= rect.right\n\t\t&& y >= rect.top && y <= rect.bottom;\n};\n\nconst isClickInRect = (e: MouseEvent | TouchEvent, rect: DOMRect) => {\n\tlet x;\n\tlet y;\n\n\tif (e instanceof MouseEvent) {\n\t\tx = e.clientX;\n\t\ty = e.clientY;\n\t} else {\n\t\tconst touch = e.touches[0];\n\t\tx = touch.clientX;\n\t\ty = touch.clientY;\n\t}\n\n\treturn isPointInRect(x, y, rect);\n};\n\ninterface PopupInterface { // Refactor: replace with Popup.js\n\t_show: () => void,\n\topen: boolean,\n}\nfunction instanceOfPopup(object: any): object is PopupInterface {\n\treturn \"isUI5Element\" in object && \"_show\" in object;\n}\n\nconst getClosedPopupParent = (el: HTMLElement): HTMLElement => {\n\tconst parent = el.parentElement || (el.getRootNode && (el.getRootNode() as ShadowRoot).host);\n\n\tif (parent && ((instanceOfPopup(parent) || parent === document.documentElement))) {\n\t\treturn parent as HTMLElement;\n\t}\n\n\treturn getClosedPopupParent(parent as HTMLElement);\n};\n\nconst getNextZIndex = () => {\n\tconst openUI5Support = getFeature<typeof OpenUI5Support>(\"OpenUI5Support\");\n\tif (openUI5Support && openUI5Support.isLoaded()) { // use OpenUI5 for getting z-index values, if loaded\n\t\treturn openUI5Support.getNextZIndex();\n\t}\n\n\tpopupUtilsData.currentZIndex += 2;\n\treturn popupUtilsData.currentZIndex;\n};\n\nconst getCurrentZIndex = () => {\n\treturn popupUtilsData.currentZIndex;\n};\n\nexport {\n\tgetFocusedElement,\n\tisClickInRect,\n\tgetClosedPopupParent,\n\tgetNextZIndex,\n\tgetCurrentZIndex,\n\tisFocusedElementWithinNode,\n};\n"]}
1
+ {"version":3,"file":"PopupUtils.js","sourceRoot":"","sources":["../../src/util/PopupUtils.ts"],"names":[],"mappings":"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","sourcesContent":["import getSharedResource from \"../getSharedResource.js\";\nimport { getFeature } from \"../FeaturesRegistry.js\";\nimport getActiveElement from \"./getActiveElement.js\";\nimport type OpenUI5Support from \"../features/OpenUI5Support.js\";\n\ntype PopupUtilsData = {\n\tcurrentZIndex: number\n};\n\nconst popupUtilsData = getSharedResource<PopupUtilsData>(\"PopupUtilsData\", { currentZIndex: 100 });\n\nconst getFocusedElement = () => {\n\tconst element = getActiveElement() as HTMLElement;\n\treturn (element && typeof element.focus === \"function\") ? element : null;\n};\n\nconst isFocusedElementWithinNode = (node: HTMLElement) => {\n\tconst fe = getFocusedElement();\n\n\tif (fe) {\n\t\treturn isNodeContainedWithin(node, fe);\n\t}\n\n\treturn false;\n};\n\nconst isNodeContainedWithin = (parent: HTMLElement, child: HTMLElement): boolean => {\n\tlet currentNode: HTMLElement | undefined = parent;\n\n\tif (currentNode.shadowRoot) {\n\t\tconst children = Array.from(currentNode.shadowRoot.children) as Array<HTMLElement>;\n\t\tcurrentNode = children.find(n => n.localName !== \"style\");\n\n\t\tif (!currentNode) {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tif (currentNode === child) {\n\t\treturn true;\n\t}\n\n\tconst childNodes = currentNode.localName === \"slot\" ? (currentNode as HTMLSlotElement).assignedNodes() : currentNode.children;\n\n\tif (childNodes) {\n\t\treturn Array.from(childNodes).some(n => isNodeContainedWithin(n as HTMLElement, child));\n\t}\n\n\treturn false;\n};\n\nconst isPointInRect = (x: number, y: number, rect: DOMRect) => {\n\treturn x >= rect.left && x <= rect.right\n\t\t&& y >= rect.top && y <= rect.bottom;\n};\n\nconst isClickInRect = (e: MouseEvent | TouchEvent, rect: DOMRect) => {\n\tlet x;\n\tlet y;\n\n\tif (e instanceof MouseEvent) {\n\t\tx = e.clientX;\n\t\ty = e.clientY;\n\t} else {\n\t\tconst touch = e.touches[0];\n\t\tx = touch.clientX;\n\t\ty = touch.clientY;\n\t}\n\n\treturn isPointInRect(x, y, rect);\n};\n\ninterface PopupInterface { // Refactor: replace with Popup.js\n\t_show: () => void,\n\topen: boolean,\n}\nfunction instanceOfPopup(object: any): object is PopupInterface {\n\treturn \"isUI5Element\" in object && \"_show\" in object;\n}\n\nconst getClosedPopupParent = (el: HTMLElement): HTMLElement => {\n\tconst parent = el.parentElement || (el.getRootNode && (el.getRootNode() as ShadowRoot).host);\n\n\tif (parent && ((instanceOfPopup(parent) || parent === document.documentElement))) {\n\t\treturn parent as HTMLElement;\n\t}\n\n\treturn getClosedPopupParent(parent as HTMLElement);\n};\n\nconst getNextZIndex = () => {\n\tconst openUI5Support = getFeature<typeof OpenUI5Support>(\"OpenUI5Support\");\n\tif (openUI5Support && openUI5Support.isOpenUI5Detected()) { // use OpenUI5 for getting z-index values, if loaded\n\t\treturn openUI5Support.getNextZIndex();\n\t}\n\n\tpopupUtilsData.currentZIndex += 2;\n\treturn popupUtilsData.currentZIndex;\n};\n\nconst getCurrentZIndex = () => {\n\treturn popupUtilsData.currentZIndex;\n};\n\nexport {\n\tgetFocusedElement,\n\tisClickInRect,\n\tgetClosedPopupParent,\n\tgetNextZIndex,\n\tgetCurrentZIndex,\n\tisFocusedElementWithinNode,\n};\n"]}
@@ -4,9 +4,10 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
4
4
  __id?: string | undefined;
5
5
  _suppressInvalidation: boolean;
6
6
  _changedState: import("../UI5Element.js").ChangeInfo[];
7
- _eventProvider: import("../EventProvider.js").default<import("../UI5Element.js").ChangeInfo & {
7
+ _invalidationEventProvider: import("../EventProvider.js").default<import("../UI5Element.js").ChangeInfo & {
8
8
  target: UI5Element;
9
9
  }, void>;
10
+ _componentStateFinalizedEventProvider: import("../EventProvider.js").default<void, void>;
10
11
  _inDOM: boolean;
11
12
  _fullyConnected: boolean;
12
13
  _childChangeListeners: Map<string, (param: import("../UI5Element.js").ChangeInfo & {
@@ -18,7 +19,6 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
18
19
  };
19
20
  _doNotSyncAttributes: Set<string>;
20
21
  _state: import("../UI5ElementMetadata.js").State;
21
- _onComponentStateFinalized?: (() => void) | undefined;
22
22
  _getRealDomRef?: (() => HTMLElement) | undefined;
23
23
  staticAreaItem?: import("../StaticAreaItem.js").default | undefined;
24
24
  readonly _id: string;
@@ -66,6 +66,8 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
66
66
  fireEvent<T>(name: string, data?: T | undefined, cancelable?: boolean, bubbles?: boolean): boolean;
67
67
  _fireEvent<T_1>(name: string, data?: T_1 | undefined, cancelable?: boolean, bubbles?: boolean): boolean;
68
68
  getSlottedNodes<T_2 = Node>(slotName: string): T_2[];
69
+ attachComponentStateFinalized(callback: () => void): void;
70
+ detachComponentStateFinalized(callback: () => void): void;
69
71
  readonly effectiveDir: string | undefined;
70
72
  readonly isUI5Element: boolean;
71
73
  readonly classes: import("../types.js").ClassMap;
@@ -85,11 +87,15 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
85
87
  readonly offsetTop: number;
86
88
  readonly offsetWidth: number;
87
89
  outerText: string;
90
+ popover: string | null;
88
91
  spellcheck: boolean;
89
92
  title: string;
90
93
  translate: boolean;
91
94
  attachInternals(): ElementInternals;
92
95
  click(): void;
96
+ hidePopover(): void;
97
+ showPopover(): void;
98
+ togglePopover(force?: boolean | undefined): void;
93
99
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
94
100
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
95
101
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
@@ -118,9 +124,12 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
118
124
  slot: string;
119
125
  readonly tagName: string;
120
126
  attachShadow(init: ShadowRootInit): ShadowRoot;
127
+ checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
121
128
  closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
122
129
  closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
130
+ closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
123
131
  closest<E extends Element = Element>(selectors: string): E | null;
132
+ computedStyleMap(): StylePropertyMapReadOnly;
124
133
  getAttribute(qualifiedName: string): string | null;
125
134
  getAttributeNS(namespace: string | null, localName: string): string | null;
126
135
  getAttributeNames(): string[];
@@ -129,11 +138,14 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
129
138
  getBoundingClientRect(): DOMRect;
130
139
  getClientRects(): DOMRectList;
131
140
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
132
- getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
133
- getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
141
+ getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
142
+ getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
143
+ getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
144
+ getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
134
145
  getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
135
146
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
136
147
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
148
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
137
149
  getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
138
150
  hasAttribute(qualifiedName: string): boolean;
139
151
  hasAttributeNS(namespace: string | null, localName: string): boolean;
@@ -191,24 +203,24 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
191
203
  normalize(): void;
192
204
  removeChild<T_5 extends Node>(child: T_5): T_5;
193
205
  replaceChild<T_6 extends Node>(node: Node, child: T_6): T_6;
194
- readonly ATTRIBUTE_NODE: number;
195
- readonly CDATA_SECTION_NODE: number;
196
- readonly COMMENT_NODE: number;
197
- readonly DOCUMENT_FRAGMENT_NODE: number;
198
- readonly DOCUMENT_NODE: number;
199
- readonly DOCUMENT_POSITION_CONTAINED_BY: number;
200
- readonly DOCUMENT_POSITION_CONTAINS: number;
201
- readonly DOCUMENT_POSITION_DISCONNECTED: number;
202
- readonly DOCUMENT_POSITION_FOLLOWING: number;
203
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
204
- readonly DOCUMENT_POSITION_PRECEDING: number;
205
- readonly DOCUMENT_TYPE_NODE: number;
206
- readonly ELEMENT_NODE: number;
207
- readonly ENTITY_NODE: number;
208
- readonly ENTITY_REFERENCE_NODE: number;
209
- readonly NOTATION_NODE: number;
210
- readonly PROCESSING_INSTRUCTION_NODE: number;
211
- readonly TEXT_NODE: number;
206
+ readonly ELEMENT_NODE: 1;
207
+ readonly ATTRIBUTE_NODE: 2;
208
+ readonly TEXT_NODE: 3;
209
+ readonly CDATA_SECTION_NODE: 4;
210
+ readonly ENTITY_REFERENCE_NODE: 5;
211
+ readonly ENTITY_NODE: 6;
212
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
213
+ readonly COMMENT_NODE: 8;
214
+ readonly DOCUMENT_NODE: 9;
215
+ readonly DOCUMENT_TYPE_NODE: 10;
216
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
217
+ readonly NOTATION_NODE: 12;
218
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
219
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
220
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
221
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
222
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
223
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
212
224
  dispatchEvent(event: Event): boolean;
213
225
  ariaAtomic: string | null;
214
226
  ariaAutoComplete: string | null;
@@ -216,7 +228,6 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
216
228
  ariaChecked: string | null;
217
229
  ariaColCount: string | null;
218
230
  ariaColIndex: string | null;
219
- ariaColIndexText: string | null;
220
231
  ariaColSpan: string | null;
221
232
  ariaCurrent: string | null;
222
233
  ariaDisabled: string | null;
@@ -240,7 +251,6 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
240
251
  ariaRoleDescription: string | null;
241
252
  ariaRowCount: string | null;
242
253
  ariaRowIndex: string | null;
243
- ariaRowIndexText: string | null;
244
254
  ariaRowSpan: string | null;
245
255
  ariaSelected: string | null;
246
256
  ariaSetSize: string | null;
@@ -265,17 +275,19 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
265
275
  readonly lastElementChild: Element | null;
266
276
  append(...nodes: (string | Node)[]): void;
267
277
  prepend(...nodes: (string | Node)[]): void;
268
- querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6] | null;
269
- querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7] | null;
278
+ querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
279
+ querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
280
+ querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
281
+ querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
270
282
  querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
271
- querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
272
- querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
283
+ querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
284
+ querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
285
+ querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
286
+ querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
273
287
  querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
274
288
  replaceChildren(...nodes: (string | Node)[]): void;
275
289
  readonly assignedSlot: HTMLSlotElement | null;
276
- oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
277
- oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
278
- onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
290
+ readonly attributeStyleMap: StylePropertyMap;
279
291
  readonly style: CSSStyleDeclaration;
280
292
  contentEditable: string;
281
293
  enterKeyHint: string;
@@ -296,7 +308,9 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
296
308
  onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
297
309
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
310
  oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
311
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
299
312
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
313
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
300
314
  ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
301
315
  ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
302
316
  ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
@@ -329,6 +343,7 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
329
343
  onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
330
344
  onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
331
345
  onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
346
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
332
347
  onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
333
348
  onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
349
  onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -345,6 +360,7 @@ declare const getClassCopy: (klass: typeof UI5Element, constructorCallback: () =
345
360
  onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
346
361
  onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
347
362
  onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
363
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
348
364
  onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
349
365
  onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
350
366
  onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -0,0 +1,2 @@
1
+ declare const getParentElement: (el: HTMLElement) => HTMLElement;
2
+ export default getParentElement;
@@ -0,0 +1,5 @@
1
+ const getParentElement = (el) => {
2
+ return (el.parentElement ? el.parentNode : el.parentNode.host);
3
+ };
4
+ export default getParentElement;
5
+ //# sourceMappingURL=getParentElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getParentElement.js","sourceRoot":"","sources":["../../src/util/getParentElement.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG,CAAC,EAAe,EAAE,EAAE;IAC5C,OAAO,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAE,EAAE,CAAC,UAAyB,CAAC,IAAI,CAAgB,CAAC;AAC/F,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC","sourcesContent":["const getParentElement = (el: HTMLElement) => {\n\treturn (el.parentElement ? el.parentNode : (el.parentNode as ShadowRoot).host) as HTMLElement;\n};\n\nexport default getParentElement;\n"]}
@@ -0,0 +1,2 @@
1
+ declare const isElementContainingBlock: (el: HTMLElement) => boolean | "";
2
+ export default isElementContainingBlock;
@@ -0,0 +1,11 @@
1
+ const isElementContainingBlock = (el) => {
2
+ const computedStyle = getComputedStyle(el);
3
+ return ["size", "inline-size"].indexOf(computedStyle.containerType) > -1
4
+ || ["transform", "perspective"].indexOf(computedStyle.willChange) > -1
5
+ || ["layout", "paint", "strict", "content"].indexOf(computedStyle.contain) > -1
6
+ || (computedStyle.transform && computedStyle.transform !== "none")
7
+ || (computedStyle.perspective && computedStyle.perspective !== "none")
8
+ || (computedStyle.backdropFilter && computedStyle.backdropFilter !== "none");
9
+ };
10
+ export default isElementContainingBlock;
11
+ //# sourceMappingURL=isElementContainingBlock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isElementContainingBlock.js","sourceRoot":"","sources":["../../src/util/isElementContainingBlock.ts"],"names":[],"mappings":"AAAA,MAAM,wBAAwB,GAAG,CAAC,EAAe,EAAE,EAAE;IACpD,MAAM,aAAa,GAAG,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAE3C,OAAO,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;WACrE,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;WACnE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;WAC5E,CAAC,aAAa,CAAC,SAAS,IAAI,aAAa,CAAC,SAAS,KAAK,MAAM,CAAC;WAC/D,CAAC,aAAa,CAAC,WAAW,IAAI,aAAa,CAAC,WAAW,KAAK,MAAM,CAAC;WACnE,CAAC,aAAa,CAAC,cAAc,IAAI,aAAa,CAAC,cAAc,KAAK,MAAM,CAAC,CAAC;AAC9E,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC","sourcesContent":["const isElementContainingBlock = (el: HTMLElement) => {\n\tconst computedStyle = getComputedStyle(el);\n\n\treturn [\"size\", \"inline-size\"].indexOf(computedStyle.containerType) > -1\n\t|| [\"transform\", \"perspective\"].indexOf(computedStyle.willChange) > -1\n\t|| [\"layout\", \"paint\", \"strict\", \"content\"].indexOf(computedStyle.contain) > -1\n\t|| (computedStyle.transform && computedStyle.transform !== \"none\")\n\t|| (computedStyle.perspective && computedStyle.perspective !== \"none\")\n\t|| (computedStyle.backdropFilter && computedStyle.backdropFilter !== \"none\");\n};\n\nexport default isElementContainingBlock;\n"]}
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // animations/
2
2
  import scroll from "./dist/animations/scroll.js";
3
3
  import slideDown from "./dist/animations/slideDown.js";
4
- import slideUp from "./dist/animations/slideup.js";
4
+ import slideUp from "./dist/animations/slideUp.js";
5
5
 
6
6
  // config/
7
7
  import { getAnimationMode, setAnimationMode } from "./dist/config/AnimationMode.js";
@@ -10,9 +10,9 @@ import { getFirstDayOfWeek, getLegacyDateCalendarCustomizing } from "./dist/conf
10
10
  import {
11
11
  setDefaultIconCollection,
12
12
  getDefaultIconCollection,
13
- getEffectiveIconCollection,
14
- RegisteredIconCollection,
15
13
  } from "./dist/config/Icons.js";
14
+ import { RegisteredIconCollection } from "./dist/asset-registries/util/IconCollectionsByTheme.js";
15
+ import getEffectiveIconCollection from "./dist/asset-registries/util/getIconCollectionsByTheme.js";
16
16
  import {
17
17
  getLanguage,
18
18
  setLanguage,
@@ -18,8 +18,8 @@ export {
18
18
  };`;
19
19
 
20
20
  const generate = async () => {
21
- await fs.mkdir("dist/generated/", { recursive: true });
22
- return fs.writeFile("dist/generated/AssetParameters.js", fileContent);
21
+ await fs.mkdir("src/generated/", { recursive: true });
22
+ return fs.writeFile("src/generated/AssetParameters.ts", fileContent);
23
23
  }
24
24
 
25
25
  generate().then(() => {
@@ -23,8 +23,8 @@ const generate = async () => {
23
23
  };
24
24
  export default VersionInfo;`;
25
25
 
26
- await fs.mkdir("dist/generated/", { recursive: true });
27
- await fs.writeFile("dist/generated/VersionInfo.js", fileContent);
26
+ await fs.mkdir("src/generated/", { recursive: true });
27
+ await fs.writeFile("src/generated/VersionInfo.ts", fileContent);
28
28
  }
29
29
 
30
30
  generate().then(() => {
@@ -15,8 +15,9 @@ const viteConfig = `-c "${require.resolve("@ui5/webcomponents-tools/components-p
15
15
  const scripts = {
16
16
  clean: "rimraf jsdoc-dist && rimraf src/generated && rimraf dist && rimraf .port",
17
17
  lint: `eslint .`,
18
- prepare: "cross-env UI5_TS=true nps clean integrate copy generateAssetParameters generateVersionInfo generateStyles generateTemplates typescript generateAPI",
19
- typescript: "tsc",
18
+ generate: "cross-env UI5_TS=true nps clean integrate copy generateAssetParameters generateVersionInfo generateStyles generateTemplates",
19
+ prepare: "cross-env UI5_TS=true nps clean integrate copy generateAssetParameters generateVersionInfo generateStyles generateTemplates typescript",
20
+ typescript: "tsc -b",
20
21
  integrate: {
21
22
  default: "nps integrate.copy-used-modules integrate.replace-amd integrate.amd-to-es6 integrate.esm-abs-to-rel integrate.third-party",
22
23
  "copy-used-modules": `node "${copyUsedModules}" ./used-modules.txt dist/`,
@@ -30,7 +31,7 @@ const scripts = {
30
31
  },
31
32
  },
32
33
  build: {
33
- default: `nps prepare lint build.bundle`,
34
+ default: `nps prepare`,
34
35
  bundle: `vite build ${viteConfig}`,
35
36
  },
36
37
  copy: {
@@ -49,14 +50,12 @@ const scripts = {
49
50
  cleanup: "rimraf jsdoc-dist/"
50
51
  },
51
52
  watch: {
52
- default: 'concurrently "nps watch.src" "nps watch.styles" "nps watch.typescript"',
53
- withBundle: 'concurrently "nps watch.src" "nps watch.bundle" "nps watch.styles" "nps watch.typescript"',
53
+ default: 'concurrently "nps watch.src" "nps watch.styles"',
54
+ withBundle: 'concurrently "nps watch.src" "nps watch.bundle" "nps watch.styles"',
54
55
  src: 'nps "copy.src --watch --skip-initial-copy"',
55
- typescript: 'tsc --watch',
56
56
  bundle: `node ${LIB}/dev-server/dev-server.js ${viteConfig}`,
57
57
  styles: 'chokidar "src/css/*.css" -c "nps generateStyles"'
58
58
  },
59
- start: "nps prepare watch.withBundle",
60
59
  test: {
61
60
  default: 'concurrently "nps test.wdio" "nps test.ssr" "nps test.ssr2"',
62
61
  ssr: `mocha test/ssr`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-base",
3
- "version": "0.0.0-41ab6cd28",
3
+ "version": "0.0.0-4237771ff",
4
4
  "description": "UI5 Web Components: webcomponents.base",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -28,17 +28,20 @@
28
28
  "lint": "nps lint",
29
29
  "start": "nps start",
30
30
  "build": "nps build",
31
+ "generate": "nps generate",
32
+ "generateAPI": "nps generateAPI",
33
+ "bundle": "nps build.bundle",
31
34
  "test": "nps test",
32
- "prepublishOnly": "npm run clean && npm run build"
35
+ "prepublishOnly": "tsc"
33
36
  },
34
37
  "dependencies": {
35
38
  "lit-html": "^2.0.1"
36
39
  },
37
40
  "devDependencies": {
38
41
  "@buxlabs/amd-to-es6": "0.16.1",
39
- "@openui5/sap.ui.core": "1.112.0",
40
- "@ui5/webcomponents-tools": "0.0.0-41ab6cd28",
41
- "chromedriver": "112.0.0",
42
+ "@openui5/sap.ui.core": "1.116.0",
43
+ "@ui5/webcomponents-tools": "0.0.0-4237771ff",
44
+ "chromedriver": "119.0.1",
42
45
  "clean-css": "^5.2.2",
43
46
  "copy-and-watch": "^0.1.5",
44
47
  "cross-env": "^7.0.3",
@@ -2,65 +2,95 @@
2
2
  font-family: "72";
3
3
  font-style: normal;
4
4
  font-weight: 400;
5
- src: local("72"),
6
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2");
5
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2"), local("72");
6
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
7
7
  }
8
8
 
9
9
  @font-face {
10
10
  font-family: "72full";
11
11
  font-style: normal;
12
12
  font-weight: 400;
13
- src: local('72-full'),
14
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular-full.woff2?ui5-webcomponents) format("woff2");
15
-
13
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Regular-full.woff2?ui5-webcomponents) format("woff2"), local('72-full');
16
14
  }
17
15
 
18
16
  @font-face {
19
17
  font-family: "72";
20
18
  font-style: normal;
21
19
  font-weight: 700;
22
- src: local('72-Bold'),
23
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2");
20
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"), local('72-Bold');
21
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
24
22
  }
25
23
 
26
24
  @font-face {
27
25
  font-family: "72full";
28
26
  font-style: normal;
29
27
  font-weight: 700;
30
- src: local('72-Bold-full'),
31
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2");
28
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2");
32
29
  }
33
30
 
34
31
  @font-face {
35
32
  font-family: '72-Bold';
36
33
  font-style: normal;
37
- src: local('72-Bold'),
38
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2");
34
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"), local('72-Bold');
35
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
39
36
  }
40
37
 
41
38
  @font-face {
42
39
  font-family: '72-Boldfull';
43
40
  font-style: normal;
44
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2");
41
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2");
45
42
  }
46
43
 
47
44
  @font-face {
48
45
  font-family: '72-Light';
49
46
  font-style: normal;
50
- src: local('72-Light'),
51
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Light.woff2?ui5-webcomponents) format("woff2");
47
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Light.woff2?ui5-webcomponents) format("woff2"), local('72-Light');
48
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
52
49
  }
53
50
 
54
51
  @font-face {
55
52
  font-family: '72-Lightfull';
56
53
  font-style: normal;
57
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Light-full.woff2?ui5-webcomponents) format("woff2");
54
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Light-full.woff2?ui5-webcomponents) format("woff2");
55
+ }
56
+
57
+ @font-face {
58
+ font-family: '72Mono';
59
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Regular.woff2?ui5-webcomponents) format('woff2'), local('72Mono');
60
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
61
+ }
62
+
63
+ @font-face {
64
+ font-family: '72Monofull';
65
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Regular-full.woff2?ui5-webcomponents) format('woff2');
66
+ }
67
+
68
+ @font-face {
69
+ font-family: '72Mono-Bold';
70
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Bold.woff2?ui5-webcomponents) format('woff2'), local('72Mono-Bold');
71
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
72
+ }
73
+
74
+ @font-face {
75
+ font-family: '72Mono-Boldfull';
76
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Bold-full.woff2?ui5-webcomponents) format('woff2');
58
77
  }
59
78
 
60
79
  @font-face {
61
80
  font-family: "72Black";
62
81
  font-style: bold;
63
82
  font-weight: 900;
64
- src: local('72Black'),
65
- url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black.woff2?ui5-webcomponents) format("woff2");
83
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black.woff2?ui5-webcomponents) format("woff2"), local('72Black');
84
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
66
85
  }
86
+
87
+ @font-face {
88
+ font-family: '72Blackfull';
89
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black-full.woff2?ui5-webcomponents) format('woff2');
90
+ }
91
+
92
+ @font-face {
93
+ font-family: "72-SemiboldDuplex";
94
+ src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-SemiboldDuplex.woff2?ui5-webcomponents) format("woff2"), local('72-SemiboldDuplex');
95
+ unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
96
+ }
package/tsconfig.json CHANGED
@@ -10,5 +10,8 @@
10
10
  "inlineSources": true,
11
11
  "strict": true,
12
12
  "moduleResolution": "node",
13
+ "composite": true,
14
+ "rootDir": "src",
15
+ "tsBuildInfoFile": "dist/.tsbuildinfo",
13
16
  },
14
17
  }
@@ -1 +0,0 @@
1
- .content{color:var(--customCol);background-color:var(--customBg)}
@@ -1,9 +0,0 @@
1
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerpolicy&&(o.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?o.credentials="include":r.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();const v={themes:{default:"sap_fiori_3",all:["sap_fiori_3","sap_fiori_3_dark","sap_belize","sap_belize_hcb","sap_belize_hcw","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_horizon","sap_horizon_dark","sap_horizon_hcb","sap_horizon_hcw","sap_horizon_exp"]},languages:{default:"en",all:["ar","bg","ca","cs","cy","da","de","el","en","en_GB","en_US_sappsd","en_US_saprigi","en_US_saptrc","es","es_MX","et","fi","fr","fr_CA","hi","hr","hu","in","it","iw","ja","kk","ko","lt","lv","ms","nl","no","pl","pt_PT","pt","ro","ru","sh","sk","sl","sv","th","tr","uk","vi","zh_CN","zh_TW"]},locales:{default:"en",all:["ar","ar_EG","ar_SA","bg","ca","cs","da","de","de_AT","de_CH","el","el_CY","en","en_AU","en_GB","en_HK","en_IE","en_IN","en_NZ","en_PG","en_SG","en_ZA","es","es_AR","es_BO","es_CL","es_CO","es_MX","es_PE","es_UY","es_VE","et","fa","fi","fr","fr_BE","fr_CA","fr_CH","fr_LU","he","hi","hr","hu","id","it","it_CH","ja","kk","ko","lt","lv","ms","nb","nl","nl_BE","pl","pt","pt_PT","ro","ru","ru_UA","sk","sl","sr","sr_Latn","sv","th","tr","uk","vi","zh_CN","zh_HK","zh_SG","zh_TW"]}},I=v.themes.default,ot=v.themes.all,F=v.languages.default,u=v.locales.default,le=v.locales.all,at=()=>{const e=navigator.languages,t=()=>navigator.language;return e&&e[0]||t()||F};var $e={},Ce=$e.hasOwnProperty,it=$e.toString,Re=Ce.toString,ct=Re.call(Object),fe=function(e){var t,n;return!e||it.call(e)!=="[object Object]"?!1:(t=Object.getPrototypeOf(e),t?(n=Ce.call(t,"constructor")&&t.constructor,typeof n=="function"&&Re.call(n)===ct):!0)},ut=Object.create(null),Oe=function(e,t,n,s){var r,o,a,c,$,p,f=arguments[2]||{},W=3,st=arguments.length,ue=arguments[0]||!1,rt=arguments[1]?void 0:ut;for(typeof f!="object"&&typeof f!="function"&&(f={});W<st;W++)if(($=arguments[W])!=null)for(c in $)r=f[c],a=$[c],!(c==="__proto__"||f===a)&&(ue&&a&&(fe(a)||(o=Array.isArray(a)))?(o?(o=!1,p=r&&Array.isArray(r)?r:[]):p=r&&fe(r)?r:{},f[c]=Oe(ue,arguments[1],p,a)):a!==rt&&(f[c]=a));return f};const Ue=function(e,t){return Oe(!0,!1,...arguments)},Ie=new Map,Zn=(e,t)=>{Ie.set(e,t)},w=e=>Ie.get(e),lt=e=>{const t=document.querySelector(`META[name="${e}"]`);return t&&t.getAttribute("content")},ft=e=>{const t=lt("sap-allowedThemeOrigins");return t&&t.split(",").some(n=>n==="*"||e===n.trim())},dt=(e,t)=>{const n=new URL(e).pathname;return new URL(n,t).toString()},Me=e=>{let t;try{if(e.startsWith(".")||e.startsWith("/"))t=new URL(e,window.location.href).toString();else{const n=new URL(e),s=n.origin;s&&ft(s)?t=n.toString():t=dt(n.toString(),window.location.href)}return t.endsWith("/")||(t=`${t}/`),`${t}UI5/`}catch{}};var Q;(function(e){e.Full="full",e.Basic="basic",e.Minimal="minimal",e.None="none"})(Q||(Q={}));const ht=Q;let de=!1,i={animationMode:ht.Full,theme:I,themeRoot:void 0,rtl:void 0,language:void 0,timezone:void 0,calendarType:void 0,noConflict:!1,formatSettings:{},fetchDefaultLanguage:!1};const Hn=()=>(l(),i.animationMode),pt=()=>(l(),i.theme),gt=()=>(l(),i.themeRoot),qn=()=>(l(),i.rtl),mt=()=>(l(),i.language),yt=()=>(l(),i.fetchDefaultLanguage),Gn=()=>(l(),i.noConflict),Kn=()=>(l(),i.calendarType),Jn=()=>(l(),i.formatSettings),M=new Map;M.set("true",!0);M.set("false",!1);const wt=()=>{const e=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");let t;if(e){try{t=JSON.parse(e.innerHTML)}catch{console.warn("Incorrect data-sap-ui-config format. Please use JSON")}t&&(i=Ue(i,t))}},St=()=>{const e=new URLSearchParams(window.location.search);e.forEach((t,n)=>{const s=n.split("sap-").length;s===0||s===n.split("sap-ui-").length||he(n,t,"sap")}),e.forEach((t,n)=>{!n.startsWith("sap-ui")||he(n,t,"sap-ui")})},_t=e=>{const t=e.split("@")[1];return Me(t)},bt=(e,t)=>e==="theme"&&t.includes("@")?t.split("@")[0]:t,he=(e,t,n)=>{const s=t.toLowerCase(),r=e.split(`${n}-`)[1];M.has(t)&&(t=M.get(s)),r==="theme"?(i.theme=bt(r,t),t&&t.includes("@")&&(i.themeRoot=_t(t))):i[r]=t},Tt=()=>{const e=w("OpenUI5Support");if(!e||!e.isLoaded())return;const t=e.getConfigurationSettingsObject();i=Ue(i,t)},l=()=>{typeof document>"u"||de||(wt(),St(),Tt(),de=!0)};class L{constructor(){this._eventRegistry=new Map}attachEvent(t,n){const s=this._eventRegistry,r=s.get(t);if(!Array.isArray(r)){s.set(t,[n]);return}r.includes(n)||r.push(n)}detachEvent(t,n){const s=this._eventRegistry,r=s.get(t);if(!r)return;const o=r.indexOf(n);o!==-1&&r.splice(o,1),r.length===0&&s.delete(t)}fireEvent(t,n){const r=this._eventRegistry.get(t);return r?r.map(o=>o.call(this,n)):[]}fireEventAsync(t,n){return Promise.all(this.fireEvent(t,n))}isHandlerAttached(t,n){const r=this._eventRegistry.get(t);return r?r.includes(n):!1}hasListeners(t){return!!this._eventRegistry.get(t)}}const ke=new L,De="languageChange",Be=e=>{ke.attachEvent(De,e)},At=e=>ke.fireEventAsync(De,e),pe=10;class vt{constructor(){this.list=[],this.lookup=new Set}add(t){this.lookup.has(t)||(this.list.push(t),this.lookup.add(t))}remove(t){!this.lookup.has(t)||(this.list=this.list.filter(n=>n!==t),this.lookup.delete(t))}shift(){const t=this.list.shift();if(t)return this.lookup.delete(t),t}isEmpty(){return this.list.length===0}isAdded(t){return this.lookup.has(t)}process(t){let n;const s=new Map;for(n=this.shift();n;){const r=s.get(n)||0;if(r>pe)throw new Error(`Web component processed too many times this task, max allowed is: ${pe}`);t(n),s.set(n,r+1),n=this.shift()}}}const Lt=(e,t=document.body,n)=>{let s=document.querySelector(e);return s||(s=n?n():document.createElement(e),t.insertBefore(s,t.firstChild))},Et=()=>{const e=document.createElement("meta");return e.setAttribute("name","ui5-shared-resources"),e.setAttribute("content",""),e},Pt=()=>typeof document>"u"?null:Lt('meta[name="ui5-shared-resources"]',document.head,Et),j=(e,t)=>{const n=e.split(".");let s=Pt();if(!s)return t;for(let r=0;r<n.length;r++){const o=n[r],a=r===n.length-1;Object.prototype.hasOwnProperty.call(s,o)||(s[o]=a?t:{}),s=s[o]}return s},$t={version:"0.0.0-41ab6cd28",major:0,minor:0,patch:0,suffix:"-41ab6cd28",isNext:!0,buildTime:1686145966};let O,Ct="";const Z=new Map,T=j("Runtimes",[]),Rt=()=>{if(O===void 0){O=T.length;const e=$t;T.push({...e,alias:Ct,description:`Runtime ${O} - ver ${e.version}`})}},E=()=>O,Ot=(e,t)=>{const n=`${e},${t}`;if(Z.has(n))return Z.get(n);const s=T[e],r=T[t];if(!s||!r)throw new Error("Invalid runtime index supplied");if(s.isNext||r.isNext)return s.buildTime-r.buildTime;const o=s.major-r.major;if(o)return o;const a=s.minor-r.minor;if(a)return a;const c=s.patch-r.patch;if(c)return c;const p=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"}).compare(s.suffix,r.suffix);return Z.set(n,p),p},Ut=()=>T,xe=j("Tags",new Map),se=new Set;let h=new Map,H;const Fe=-1,Xn=e=>{se.add(e),xe.set(e,E())},Yn=e=>se.has(e),It=()=>[...se.values()],Qn=e=>{let t=xe.get(e);t===void 0&&(t=Fe),h.has(t)||h.set(t,new Set),h.get(t).add(e),H||(H=setTimeout(()=>{Mt(),h=new Map,H=void 0},1e3))},Mt=()=>{const e=Ut(),t=E(),n=e[t];let s="Multiple UI5 Web Components instances detected.";e.length>1&&(s=`${s}
2
- Loading order (versions before 1.1.0 not listed): ${e.map(r=>`
3
- ${r.description}`).join("")}`),[...h.keys()].forEach(r=>{let o,a;r===Fe?(o=1,a={description:"Older unknown runtime"}):(o=Ot(t,r),a=e[r]);let c;o>0?c="an older":o<0?c="a newer":c="the same",s=`${s}
4
-
5
- "${n.description}" failed to define ${h.get(r).size} tag(s) as they were defined by a runtime of ${c} version "${a.description}": ${[...h.get(r)].sort().join(", ")}.`,o>0?s=`${s}
6
- WARNING! If your code uses features of the above web components, unavailable in ${a.description}, it might not work as expected!`:s=`${s}
7
- Since the above web components were defined by the same or newer version runtime, they should be compatible with your code.`}),s=`${s}
8
-
9
- To prevent other runtimes from defining tags that you use, consider using scoping or have third-party libraries use scoping: https://github.com/SAP/ui5-webcomponents/blob/main/docs/2-advanced/03-scoping.md.`,console.warn(s)},je=new Set,es=e=>{je.add(e)},kt=e=>je.has(e),re=new Set,Dt=new L,S=new vt;let g,U,q,C;const Bt=async e=>{S.add(e),await Ft()},xt=e=>{Dt.fireEvent("beforeComponentRender",e),re.add(e),e._render()},ts=e=>{S.remove(e),re.delete(e)},Ft=async()=>{C||(C=new Promise(e=>{window.requestAnimationFrame(()=>{S.process(xt),C=null,e(),q||(q=setTimeout(()=>{q=void 0,S.isEmpty()&&Nt()},200))})})),await C},jt=()=>g||(g=new Promise(e=>{U=e,window.requestAnimationFrame(()=>{S.isEmpty()&&(g=void 0,e())})}),g),zt=()=>{const e=It().map(t=>customElements.whenDefined(t));return Promise.all(e)},Vt=async()=>{await zt(),await jt()},Nt=()=>{!S.isEmpty()||U&&(U(),U=void 0,g=void 0)},ze=async e=>{re.forEach(t=>{const n=t.constructor,s=n.getMetadata().getTag(),r=kt(n),o=n.getMetadata().isLanguageAware(),a=n.getMetadata().isThemeAware();(!e||e.tag===s||e.rtlAware&&r||e.languageAware&&o||e.themeAware&&a)&&Bt(t)}),await Vt()};let _,ee;const Wt=()=>(_===void 0&&(_=mt()),_),ns=async e=>{_!==e&&(_=e,await At(e),await ze({languageAware:!0}))},Zt=e=>{ee=e},Ht=()=>(ee===void 0&&Zt(yt()),ee),qt=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;class Ve{constructor(t){const n=qt.exec(t.replace(/_/g,"-"));if(n===null)throw new Error(`The given language ${t} does not adhere to BCP-47.`);this.sLocaleId=t,this.sLanguage=n[1]||F,this.sScript=n[2]||"",this.sRegion=n[3]||"",this.sVariant=n[4]&&n[4].slice(1)||null,this.sExtension=n[5]&&n[5].slice(1)||null,this.sPrivateUse=n[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,s=>s.toUpperCase())),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())}getLanguage(){return this.sLanguage}getScript(){return this.sScript}getRegion(){return this.sRegion}getVariant(){return this.sVariant}getVariantSubtags(){return this.sVariant?this.sVariant.split("-"):[]}getExtension(){return this.sExtension}getExtensionSubtags(){return this.sExtension?this.sExtension.slice(2).split("-"):[]}getPrivateUse(){return this.sPrivateUse}getPrivateUseSubtags(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]}hasPrivateUseSubtag(t){return this.getPrivateUseSubtags().indexOf(t)>=0}toString(){const t=[this.sLanguage];return this.sScript&&t.push(this.sScript),this.sRegion&&t.push(this.sRegion),this.sVariant&&t.push(this.sVariant),this.sExtension&&t.push(this.sExtension),this.sPrivateUse&&t.push(this.sPrivateUse),t.join("-")}}const G=new Map,Ne=e=>(G.has(e)||G.set(e,new Ve(e)),G.get(e)),ge=e=>{try{if(e&&typeof e=="string")return Ne(e)}catch{}return new Ve(u)},te=e=>{if(e)return ge(e);const t=Wt();return t?Ne(t):ge(at())},Gt=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,me=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,Kt={he:"iw",yi:"ji",nb:"no",sr:"sh"},Jt=e=>{let t;if(!e)return u;if(typeof e=="string"&&(t=Gt.exec(e.replace(/_/g,"-")))){let n=t[1].toLowerCase(),s=t[3]?t[3].toUpperCase():void 0;const r=t[2]?t[2].toLowerCase():void 0,o=t[4]?t[4].slice(1):void 0,a=t[6];return n=Kt[n]||n,a&&(t=me.exec(a))||o&&(t=me.exec(o))?`en_US_${t[1].toLowerCase()}`:(n==="zh"&&!s&&(r==="hans"?s="CN":r==="hant"&&(s="TW")),n+(s?"_"+s+(o?"_"+o.replace("-","_"):""):""))}return u},Xt=e=>{if(!e)return u;if(e==="zh_HK")return"zh_TW";const t=e.lastIndexOf("_");return t>=0?e.slice(0,t):e!==u?u:""},ye=new Set,we=new Set,oe=new Map,K=new Map,ae=new Map,ss=(e,t,n)=>{const s=`${e}/${t}`;ae.set(s,n)},Se=(e,t)=>{oe.set(e,t)},rs=e=>oe.get(e),We=(e,t)=>{const n=`${e}/${t}`;return ae.has(n)},Yt=(e,t)=>{const n=`${e}/${t}`,s=ae.get(n);return s&&!K.get(n)&&K.set(n,s(t)),K.get(n)},Qt=e=>{ye.has(e)||(console.warn(`[${e}]: Message bundle assets are not configured. Falling back to English texts.`,` Add \`import "${e}/dist/Assets.js"\` in your bundle and make sure your build tool supports dynamic imports and JSON imports. See section "Assets" in the documentation for more information.`),ye.add(e))},_e=(e,t)=>t!==F&&!We(e,t),en=async e=>{const t=te().getLanguage(),n=te().getRegion();let s=t+(n?`-${n}`:"");if(_e(e,s))for(s=Jt(s);_e(e,s);)s=Xt(s);const r=Ht();if(s===F&&!r){Se(e,null);return}if(!We(e,s)){Qt(e);return}try{const o=await Yt(e,s);Se(e,o)}catch(o){const a=o;we.has(a.message)||(we.add(a.message),console.error(a.message))}};Be(e=>{const t=[...oe.keys()];return Promise.all(t.map(en))});const tn=new Map,k=new Map,J=new Map,be=new Set;let Te=!1;const nn={iw:"he",ji:"yi",in:"id"},Ae=e=>{Te||(console.warn(`[LocaleData] Supported locale "${e}" not configured, import the "Assets.js" module from the webcomponents package you are using.`),Te=!0)},sn=(e,t,n)=>{e=e&&nn[e]||e,e==="no"&&(e="nb"),e==="zh"&&!t&&(n==="Hans"?t="CN":n==="Hant"&&(t="TW")),(e==="sh"||e==="sr"&&n==="Latn")&&(e="sr",t="Latn");let s=`${e}_${t}`;return le.includes(s)||(s=e,le.includes(s))?k.has(s)?s:(Ae(s),u):u},ve=(e,t)=>{tn.set(e,t)},rn=e=>{if(!J.get(e)){const t=k.get(e);if(!t)throw new Error(`CLDR data for locale ${e} is not loaded!`);J.set(e,t(e))}return J.get(e)},on=async(e,t,n)=>{const s=sn(e,t,n),r=w("OpenUI5Support");if(r){const o=r.getLocaleDataObject();if(o){ve(s,o);return}}try{const o=await rn(s);ve(s,o)}catch(o){const a=o;be.has(a.message)||(be.add(a.message),console.error(a.message))}},an=(e,t)=>{k.set(e,t)};an("en",async()=>(await fetch("https://sdk.openui5.org/1.103.0/resources/sap/ui/core/cldr/en.json")).json());Be(()=>{const e=te();return on(e.getLanguage(),e.getRegion(),e.getScript())});const Ze=new L,He="themeRegistered",cn=e=>{Ze.attachEvent(He,e)},un=e=>Ze.fireEvent(He,e),qe=new Map,Ge=new Map,Ke=new Set,D=new Set,os=(e,t,n)=>{Ge.set(`${e}/${t}`,n),Ke.add(e),D.add(t),un(t)},Je=async(e,t)=>{const n=qe.get(`${e}_${t}`);if(n!==void 0)return n;if(!D.has(t)){const s=[...D.values()].join(", ");return console.warn(`You have requested a non-registered theme ${t} - falling back to ${I}. Registered themes are: ${s}`),Le(e,I)}return Le(e,t)},Le=async(e,t)=>{const n=Ge.get(`${e}/${t}`);if(!n){console.error(`Theme [${t}] not registered for package [${e}]`);return}let s;try{s=await n(t)}catch(o){console.error(e,o.message);return}const r=s._||s;return qe.set(`${e}_${t}`,r),r},Xe=()=>Ke,ln=e=>D.has(e);var B;(function(e){e["SAP-icons"]="SAP-icons-v4",e.horizon="SAP-icons-v5",e["SAP-icons-TNT"]="tnt",e.BusinessSuiteInAppSymbols="business-suite"})(B||(B={}));const Ye=e=>B[e]?B[e]:e,fn=(e,t)=>{const n=document.createElement("style");return n.type="text/css",t&&Object.entries(t).forEach(s=>n.setAttribute(...s)),n.textContent=e,document.head.appendChild(n),n},dn=(e,t)=>{const n=document.createElement("link");return n.type="text/css",n.rel="stylesheet",t&&Object.entries(t).forEach(s=>n.setAttribute(...s)),n.href=e,document.head.appendChild(n),new Promise(s=>{n.addEventListener("load",s),n.addEventListener("error",s)})},z=(e,t)=>t?`${e}|${t}`:e,V=(e,t,n="")=>{let s=typeof e=="string"?e:e.content;if(s.includes("[_ui5host]")&&(s=s.replaceAll("[_ui5host]",`[_ui5rt${E()}]`)),document.adoptedStyleSheets){const r=new CSSStyleSheet;r.replaceSync(s),r._ui5StyleId=z(t,n),document.adoptedStyleSheets=[...document.adoptedStyleSheets,r]}else{const r={};r[t]=n,fn(s,r)}},hn=(e,t,n="")=>{let s=typeof e=="string"?e:e.content;if(s.includes("[_ui5host]")&&(s=s.replaceAll("[_ui5host]",`[_ui5rt${E()}]`)),document.adoptedStyleSheets){const r=document.adoptedStyleSheets.find(o=>o._ui5StyleId===z(t,n));r&&r.replaceSync(s||"")}else{const r=document.querySelector(`head>style[${t}="${n}"]`);r&&(r.textContent=s||"")}},N=(e,t="")=>document.adoptedStyleSheets?!!document.adoptedStyleSheets.find(n=>n._ui5StyleId===z(e,t)):!!document.querySelector(`head>style[${e}="${t}"]`),pn=(e,t="")=>{var n;if(document.adoptedStyleSheets)document.adoptedStyleSheets=document.adoptedStyleSheets.filter(s=>s._ui5StyleId!==z(e,t));else{const s=document.querySelector(`head > style[${e}="${t}"]`);(n=s==null?void 0:s.parentElement)==null||n.removeChild(s)}},Qe=(e,t,n="")=>{N(t,n)?hn(e,t,n):V(e,t,n)},m=new Set,gn=()=>{let e=document.querySelector(".sapThemeMetaData-Base-baseLib")||document.querySelector(".sapThemeMetaData-UI5-sap-ui-core");if(e)return getComputedStyle(e).backgroundImage;e=document.createElement("span"),e.style.display="none",e.classList.add("sapThemeMetaData-Base-baseLib"),document.body.appendChild(e);let t=getComputedStyle(e).backgroundImage;return t==="none"&&(e.classList.add("sapThemeMetaData-UI5-sap-ui-core"),t=getComputedStyle(e).backgroundImage),document.body.removeChild(e),t},mn=e=>{const t=/\(["']?data:text\/plain;utf-8,(.*?)['"]?\)$/i.exec(e);if(t&&t.length>=2){let n=t[1];if(n=n.replace(/\\"/g,'"'),n.charAt(0)!=="{"&&n.charAt(n.length-1)!=="}")try{n=decodeURIComponent(n)}catch{m.has("decode")||(console.warn("Malformed theme metadata string, unable to decodeURIComponent"),m.add("decode"));return}try{return JSON.parse(n)}catch{m.has("parse")||(console.warn("Malformed theme metadata string, unable to parse JSON"),m.add("parse"))}}},yn=e=>{let t,n;try{t=e.Path.match(/\.([^.]+)\.css_variables$/)[1],n=e.Extends[0]}catch{m.has("object")||(console.warn("Malformed theme metadata Object",e),m.add("object"));return}return{themeName:t,baseThemeName:n}},ne=()=>{const e=gn();if(!e||e==="none")return;const t=mn(e);if(t)return yn(t)},wn=new L,Sn="themeLoaded",_n=e=>wn.fireEvent(Sn,e);let b;const et=()=>(b===void 0&&(b=gt()),b),as=e=>{if(b!==e){if(b=e,!Me(e)){console.warn(`The ${e} is not valid. Check the allowed origins as suggested in the "setThemeRoot" description.`);return}return tt(P())}},bn=e=>`${et()}Base/baseLib/${e}/css_variables.css`,tt=async e=>{const t=document.querySelector(`[sap-ui-webcomponents-theme="${e}"]`);t&&document.head.removeChild(t),await dn(bn(e),{"sap-ui-webcomponents-theme":e})},A="@ui5/webcomponents-theming",Tn=()=>Xe().has(A),An=async e=>{if(!Tn())return;const t=await Je(A,e);t&&Qe(t,"data-ui5-theme-properties",A)},vn=()=>{pn("data-ui5-theme-properties",A)},Ln=async e=>{const n=[...Xe()].map(async s=>{if(s===A)return;const r=await Je(s,e);r&&Qe(r,`data-ui5-component-properties-${E()}`,s)});return Promise.all(n)},En=async e=>{var s;const t=ne();if(t)return t;const n=w("OpenUI5Support");if(n){if(n.cssVariablesLoaded())return{themeName:(s=n.getConfigurationSettingsObject())==null?void 0:s.theme,baseThemeName:""}}else if(et())return await tt(e),ne()},ie=async e=>{const t=await En(e);!t||e!==t.themeName?await An(e):vn();const n=ln(e)?e:t&&t.baseThemeName;await Ln(n||I),_n(e)};let y;const P=()=>(y===void 0&&(y=pt()),y),is=async e=>{y!==e&&(y=e,await ie(y),await ze({themeAware:!0}))},Pn=()=>{var t,n;const e=P();return $n(e)?!e.startsWith("sap_horizon"):!((n=(t=ne())==null?void 0:t.baseThemeName)!=null&&n.startsWith("sap_horizon"))},$n=e=>ot.includes(e),Cn=new Map;var d;(function(e){e.SAPIconsV4="SAP-icons-v4",e.SAPIconsV5="SAP-icons-v5",e.SAPIconsTNTV2="tnt-v2",e.SAPIconsTNTV3="tnt-v3",e.SAPBSIconsV1="business-suite-v1",e.SAPBSIconsV2="business-suite-v2"})(d||(d={}));const Rn=e=>{const t=P(),n=Cn.get(t);return!e&&n?Ye(n):On(e)},On=e=>{const t=Pn();return e?e==="tnt"?t?d.SAPIconsTNTV2:d.SAPIconsTNTV3:e==="business-suite"?t?d.SAPBSIconsV1:d.SAPBSIconsV2:e:t?d.SAPIconsV4:d.SAPIconsV5},Ee=new Map,x=j("SVGIcons.registry",new Map),X=j("SVGIcons.promises",new Map),Pe="ICON_NOT_FOUND",Un=async e=>{if(!X.has(e)){if(!Ee.has(e))throw new Error(`No loader registered for the ${e} icons collection. Probably you forgot to import the "AllIcons.js" module for the respective package.`);const t=Ee.get(e);X.set(e,t(e))}return X.get(e)},In=e=>{Object.keys(e.data).forEach(t=>{const n=e.data[t];Mn(t,{pathData:n.path||n.paths,ltr:n.ltr,accData:n.acc,collection:e.collection,packageName:e.packageName})})},Mn=(e,t)=>{const n=`${t.collection}/${e}`;x.set(n,{pathData:t.pathData,ltr:t.ltr,accData:t.accData,packageName:t.packageName,customTemplate:t.customTemplate,viewBox:t.viewBox,collection:t.collection})},kn=e=>{e.startsWith("sap-icon://")&&(e=e.replace("sap-icon://",""));let t;[e,t]=e.split("/").reverse(),e=e.replace("icon-",""),t&&(t=Ye(t)),t=Rn(t);const n=`${t}/${e}`;return{name:e,collection:t,registryKey:n}},Y=async e=>{const{collection:t,registryKey:n}=kn(e);let s=Pe;try{s=await Un(t)}catch(r){console.error(r.message)}return s===Pe?s:(x.has(n)||In(s),x.get(n))},cs=async()=>(await Y("edit"),await Y("tnt/arrow"),await Y("business-suite/3d"),Array.from(x.keys())),Dn=()=>new Promise(e=>{document.body?e():document.addEventListener("DOMContentLoaded",()=>{e()})}),Bn={packageName:"@ui5/webcomponents-base",fileName:"FontFace.css",content:`@font-face{font-family:"72";font-style:normal;font-weight:400;src:local("72"),url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:"72full";font-style:normal;font-weight:400;src:local('72-full'),url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular-full.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:"72";font-style:normal;font-weight:700;src:local('72-Bold'),url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:"72full";font-style:normal;font-weight:700;src:local('72-Bold-full'),url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:'72-Bold';font-style:normal;src:local('72-Bold'),url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:'72-Boldfull';font-style:normal;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:'72-Light';font-style:normal;src:local('72-Light'),url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Light.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:'72-Lightfull';font-style:normal;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Light-full.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:"72Black";font-style:bold;font-weight:900;src:local('72Black'),url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black.woff2?ui5-webcomponents) format("woff2")}`},xn={packageName:"@ui5/webcomponents-base",fileName:"OverrideFontFace.css",content:"@font-face{font-family:'72override';unicode-range:U+0102-0103,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EB7,U+1EB8-1EC7,U+1EC8-1ECB,U+1ECC-1EE3,U+1EE4-1EF1,U+1EF4-1EF7;src:local('Arial'),local('Helvetica'),local('sans-serif')}"},Fn=()=>{const e=w("OpenUI5Support");(!e||!e.isLoaded())&&jn(),zn()},jn=()=>{N("data-ui5-font-face")||V(Bn,"data-ui5-font-face")},zn=()=>{N("data-ui5-font-face-override")||V(xn,"data-ui5-font-face-override")},Vn={packageName:"@ui5/webcomponents-base",fileName:"SystemCSSVars.css",content:":root{--_ui5_content_density:cozy}.sapUiSizeCompact,.ui5-content-density-compact,[data-ui5-compact-size]{--_ui5_content_density:compact}[dir=rtl]{--_ui5_dir:rtl}[dir=ltr]{--_ui5_dir:ltr}"},Nn=()=>{N("data-ui5-system-css-vars")||V(Vn,"data-ui5-system-css-vars")};let ce=!1,R;const nt=new L,us=e=>{if(!ce){nt.attachEvent("boot",e);return}e()},ls=async()=>{if(R!==void 0)return R;const e=async t=>{if(typeof document>"u"){t();return}cn(Wn),Rt();const n=w("OpenUI5Support"),s=n?n.isLoaded():!1,r=w("F6Navigation");n&&await n.init(),r&&!s&&r.init(),await Dn(),await ie(P()),n&&n.attachListeners(),Fn(),Nn(),t(),ce=!0,await nt.fireEventAsync("boot")};return R=new Promise(e),R},Wn=e=>{const t=P();ce&&e===t&&ie(t)};export{Jn as A,ns as B,P as C,et as D,L as E,as as F,ss as G,us as H,cs as _,j as a,ze as b,w as c,qn as d,Wt as e,en as f,rs as g,at as h,E as i,Vt as j,Gn as k,xt as l,ts as m,es as n,Lt as o,ls as p,Yn as q,Zn as r,is as s,Qn as t,Xn as u,Ue as v,Bt as w,os as x,Hn as y,Kn as z};