@ui5/webcomponents-base 2.16.0 → 2.17.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/.tsbuildinfobuild +1 -1
- package/dist/asset-registries/Illustrations.d.ts +133 -8
- package/dist/asset-registries/Illustrations.js +82 -1
- package/dist/asset-registries/Illustrations.js.map +1 -1
- package/dist/custom-elements-internal.json +105 -105
- package/dist/custom-elements.json +105 -105
- package/dist/generated/VersionInfo.js +4 -4
- package/dist/generated/VersionInfo.js.map +1 -1
- package/dist/prod/asset-registries/Illustrations.js +1 -1
- package/dist/prod/asset-registries/Illustrations.js.map +3 -3
- package/dist/prod/generated/VersionInfo.js +1 -1
- package/dist/prod/generated/VersionInfo.js.map +2 -2
- package/package.json +3 -3
|
@@ -986,6 +986,111 @@
|
|
|
986
986
|
}
|
|
987
987
|
]
|
|
988
988
|
},
|
|
989
|
+
{
|
|
990
|
+
"kind": "javascript-module",
|
|
991
|
+
"path": "dist/animations/AnimationQueue.js",
|
|
992
|
+
"declarations": [],
|
|
993
|
+
"exports": [
|
|
994
|
+
{
|
|
995
|
+
"kind": "js",
|
|
996
|
+
"name": "default",
|
|
997
|
+
"declaration": {
|
|
998
|
+
"name": "AnimationQueue",
|
|
999
|
+
"module": "dist/animations/AnimationQueue.js"
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
]
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"kind": "javascript-module",
|
|
1006
|
+
"path": "dist/animations/animate.js",
|
|
1007
|
+
"declarations": [],
|
|
1008
|
+
"exports": [
|
|
1009
|
+
{
|
|
1010
|
+
"kind": "js",
|
|
1011
|
+
"name": "default",
|
|
1012
|
+
"declaration": {
|
|
1013
|
+
"name": "animate",
|
|
1014
|
+
"module": "dist/animations/animate.js"
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
]
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"kind": "javascript-module",
|
|
1021
|
+
"path": "dist/animations/scroll.js",
|
|
1022
|
+
"declarations": [],
|
|
1023
|
+
"exports": [
|
|
1024
|
+
{
|
|
1025
|
+
"kind": "js",
|
|
1026
|
+
"name": "default",
|
|
1027
|
+
"declaration": {
|
|
1028
|
+
"name": "scroll",
|
|
1029
|
+
"module": "dist/animations/scroll.js"
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
]
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"kind": "javascript-module",
|
|
1036
|
+
"path": "dist/animations/slideDown.js",
|
|
1037
|
+
"declarations": [],
|
|
1038
|
+
"exports": [
|
|
1039
|
+
{
|
|
1040
|
+
"kind": "js",
|
|
1041
|
+
"name": "default",
|
|
1042
|
+
"declaration": {
|
|
1043
|
+
"name": "slideDown",
|
|
1044
|
+
"module": "dist/animations/slideDown.js"
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
]
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"kind": "javascript-module",
|
|
1051
|
+
"path": "dist/animations/slideUp.js",
|
|
1052
|
+
"declarations": [],
|
|
1053
|
+
"exports": [
|
|
1054
|
+
{
|
|
1055
|
+
"kind": "js",
|
|
1056
|
+
"name": "default",
|
|
1057
|
+
"declaration": {
|
|
1058
|
+
"name": "slideUp",
|
|
1059
|
+
"module": "dist/animations/slideUp.js"
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
]
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"kind": "javascript-module",
|
|
1066
|
+
"path": "dist/asset-registries/Icons.js",
|
|
1067
|
+
"declarations": [],
|
|
1068
|
+
"exports": []
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"kind": "javascript-module",
|
|
1072
|
+
"path": "dist/asset-registries/Illustrations.js",
|
|
1073
|
+
"declarations": [],
|
|
1074
|
+
"exports": []
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
"kind": "javascript-module",
|
|
1078
|
+
"path": "dist/asset-registries/LocaleData.js",
|
|
1079
|
+
"declarations": [],
|
|
1080
|
+
"exports": []
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"kind": "javascript-module",
|
|
1084
|
+
"path": "dist/asset-registries/Themes.js",
|
|
1085
|
+
"declarations": [],
|
|
1086
|
+
"exports": []
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"kind": "javascript-module",
|
|
1090
|
+
"path": "dist/asset-registries/i18n.js",
|
|
1091
|
+
"declarations": [],
|
|
1092
|
+
"exports": []
|
|
1093
|
+
},
|
|
989
1094
|
{
|
|
990
1095
|
"kind": "javascript-module",
|
|
991
1096
|
"path": "dist/config/AnimationMode.js",
|
|
@@ -1208,111 +1313,6 @@
|
|
|
1208
1313
|
}
|
|
1209
1314
|
]
|
|
1210
1315
|
},
|
|
1211
|
-
{
|
|
1212
|
-
"kind": "javascript-module",
|
|
1213
|
-
"path": "dist/animations/AnimationQueue.js",
|
|
1214
|
-
"declarations": [],
|
|
1215
|
-
"exports": [
|
|
1216
|
-
{
|
|
1217
|
-
"kind": "js",
|
|
1218
|
-
"name": "default",
|
|
1219
|
-
"declaration": {
|
|
1220
|
-
"name": "AnimationQueue",
|
|
1221
|
-
"module": "dist/animations/AnimationQueue.js"
|
|
1222
|
-
}
|
|
1223
|
-
}
|
|
1224
|
-
]
|
|
1225
|
-
},
|
|
1226
|
-
{
|
|
1227
|
-
"kind": "javascript-module",
|
|
1228
|
-
"path": "dist/animations/animate.js",
|
|
1229
|
-
"declarations": [],
|
|
1230
|
-
"exports": [
|
|
1231
|
-
{
|
|
1232
|
-
"kind": "js",
|
|
1233
|
-
"name": "default",
|
|
1234
|
-
"declaration": {
|
|
1235
|
-
"name": "animate",
|
|
1236
|
-
"module": "dist/animations/animate.js"
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
]
|
|
1240
|
-
},
|
|
1241
|
-
{
|
|
1242
|
-
"kind": "javascript-module",
|
|
1243
|
-
"path": "dist/animations/scroll.js",
|
|
1244
|
-
"declarations": [],
|
|
1245
|
-
"exports": [
|
|
1246
|
-
{
|
|
1247
|
-
"kind": "js",
|
|
1248
|
-
"name": "default",
|
|
1249
|
-
"declaration": {
|
|
1250
|
-
"name": "scroll",
|
|
1251
|
-
"module": "dist/animations/scroll.js"
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
]
|
|
1255
|
-
},
|
|
1256
|
-
{
|
|
1257
|
-
"kind": "javascript-module",
|
|
1258
|
-
"path": "dist/animations/slideDown.js",
|
|
1259
|
-
"declarations": [],
|
|
1260
|
-
"exports": [
|
|
1261
|
-
{
|
|
1262
|
-
"kind": "js",
|
|
1263
|
-
"name": "default",
|
|
1264
|
-
"declaration": {
|
|
1265
|
-
"name": "slideDown",
|
|
1266
|
-
"module": "dist/animations/slideDown.js"
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
]
|
|
1270
|
-
},
|
|
1271
|
-
{
|
|
1272
|
-
"kind": "javascript-module",
|
|
1273
|
-
"path": "dist/animations/slideUp.js",
|
|
1274
|
-
"declarations": [],
|
|
1275
|
-
"exports": [
|
|
1276
|
-
{
|
|
1277
|
-
"kind": "js",
|
|
1278
|
-
"name": "default",
|
|
1279
|
-
"declaration": {
|
|
1280
|
-
"name": "slideUp",
|
|
1281
|
-
"module": "dist/animations/slideUp.js"
|
|
1282
|
-
}
|
|
1283
|
-
}
|
|
1284
|
-
]
|
|
1285
|
-
},
|
|
1286
|
-
{
|
|
1287
|
-
"kind": "javascript-module",
|
|
1288
|
-
"path": "dist/asset-registries/Icons.js",
|
|
1289
|
-
"declarations": [],
|
|
1290
|
-
"exports": []
|
|
1291
|
-
},
|
|
1292
|
-
{
|
|
1293
|
-
"kind": "javascript-module",
|
|
1294
|
-
"path": "dist/asset-registries/Illustrations.js",
|
|
1295
|
-
"declarations": [],
|
|
1296
|
-
"exports": []
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
"kind": "javascript-module",
|
|
1300
|
-
"path": "dist/asset-registries/LocaleData.js",
|
|
1301
|
-
"declarations": [],
|
|
1302
|
-
"exports": []
|
|
1303
|
-
},
|
|
1304
|
-
{
|
|
1305
|
-
"kind": "javascript-module",
|
|
1306
|
-
"path": "dist/asset-registries/Themes.js",
|
|
1307
|
-
"declarations": [],
|
|
1308
|
-
"exports": []
|
|
1309
|
-
},
|
|
1310
|
-
{
|
|
1311
|
-
"kind": "javascript-module",
|
|
1312
|
-
"path": "dist/asset-registries/i18n.js",
|
|
1313
|
-
"declarations": [],
|
|
1314
|
-
"exports": []
|
|
1315
|
-
},
|
|
1316
1316
|
{
|
|
1317
1317
|
"kind": "javascript-module",
|
|
1318
1318
|
"path": "dist/delegate/ItemNavigation.js",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const VersionInfo = {
|
|
2
|
-
version: "2.
|
|
2
|
+
version: "2.17.0-rc.0",
|
|
3
3
|
major: 2,
|
|
4
|
-
minor:
|
|
4
|
+
minor: 17,
|
|
5
5
|
patch: 0,
|
|
6
|
-
suffix: "",
|
|
6
|
+
suffix: "-rc.0",
|
|
7
7
|
isNext: false,
|
|
8
|
-
buildTime:
|
|
8
|
+
buildTime: 1762450078,
|
|
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,aAAa;IACtB,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,OAAO;IACf,MAAM,EAAE,KAAK;IACb,SAAS,EAAE,UAAU;CACrB,CAAC;AACF,eAAe,WAAW,CAAC","sourcesContent":["const VersionInfo = {\n\tversion: \"2.17.0-rc.0\",\n\tmajor: 2,\n\tminor: 17,\n\tpatch: 0,\n\tsuffix: \"-rc.0\",\n\tisNext: false,\n\tbuildTime: 1762450078,\n};\nexport default VersionInfo;"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";import
|
|
1
|
+
"use strict";import u from"../getSharedResource.js";import{getTheme as g}from"../config/Theme.js";const c=new Map([["sap_horizon","V5"],["sap_horizon_dark","V5"],["sap_horizon_hcb","V5/HC"],["sap_horizon_hcw","V5/HC"]]),o="V4",l=new Map,n=u("SVGIllustration.registry",new Map),a=u("SVGIllustration.promises",new Map),m=()=>{const e=g();return c.has(e)?c.get(e):o},p=e=>{let t=m();const[s,r]=e.split("/");let i=`${s}/${t}/${r}`;return!l.has(i)&&t!==o&&(t=o,i=`${s}/${t}/${r}`),{registryKey:i,collection:t}},I=(e,t)=>{const s=t.collection||o;n.set(`${t.set}/${s}/${e}`,{dialogTemplate:t.dialogTemplate,sceneTemplate:t.sceneTemplate,spotTemplate:t.spotTemplate,dotTemplate:t.dotTemplate,title:t.title,subtitle:t.subtitle})},f=(e,t)=>{const s=t.collection||o;n.set(`${t.set}/${s}/${e}`,{dialogSvg:t.dialogSvg,sceneSvg:t.sceneSvg,spotSvg:t.spotSvg,dotSvg:t.dotSvg,title:t.title,subtitle:t.subtitle})},y=(e,t)=>{l.set(e,t)},T=e=>{const{registryKey:t}=p(e);if(!a.has(t)){if(!l.has(t)){const r=e.startsWith("fiori/")?e.replace("fiori/",""):e;throw new Error(`No loader registered for the ${e} illustration. Probably you forgot to import the "@ui5/webcomponents-fiori/dist/illustrations/${r}.js" module. Or you can import the "@ui5/webcomponents-fiori/dist/illustrations/AllIllustrations.js" module that will make all illustrations available, but fetch only the ones used.`)}const s=l.get(t);a.set(t,s(t))}return a.get(t)},h=e=>{const{registryKey:t}=p(e);return n.get(t)},d=async e=>{const{registryKey:t}=p(e);return await T(e),n.get(t)};export{h as getIllustrationDataSync,I as registerIllustration,f as unsafeRegisterIllustration,y as registerIllustrationLoader,d as getIllustrationData};
|
|
2
2
|
//# sourceMappingURL=Illustrations.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/asset-registries/Illustrations.ts"],
|
|
4
|
-
"sourcesContent": ["import getSharedResource from \"../getSharedResource.js\";\nimport type { I18nText } from \"../i18nBundle.js\";\nimport { getTheme } from \"../config/Theme.js\";\n\ntype IllustrationLoader = (illustrationName: string) => Promise<
|
|
5
|
-
"mappings": "aAAA,OAAOA,MAAuB,0BAE9B,OAAS,YAAAC,MAAgB,
|
|
6
|
-
"names": ["getSharedResource", "getTheme", "IllustrationCollections", "FALLBACK_COLLECTION", "loaders", "registry", "illustrationPromises", "getCollection", "theme", "processName", "name", "collection", "set", "illustrationName", "registryKey", "registerIllustration", "data", "registerIllustrationLoader", "loader", "_loadIllustrationOnce", "illustrationPath", "loadIllustrations", "getIllustrationDataSync", "getIllustrationData"]
|
|
4
|
+
"sourcesContent": ["import getSharedResource from \"../getSharedResource.js\";\nimport type { I18nText } from \"../i18nBundle.js\";\nimport { getTheme } from \"../config/Theme.js\";\nimport type { TemplateFunction } from \"../renderer/executeTemplate.js\";\n\n/**\n * Loader function for lazy-loading illustration data.\n */\ntype IllustrationLoader = (illustrationName: string) => Promise<UnsafeIllustrationData>;\n\n/**\n * Database properties shared by all illustration types.\n */\ntype IllustrationDatabase = {\n\t/** The illustration title text (supports i18n) */\n\ttitle: I18nText,\n\t/** The illustration subtitle text (supports i18n) */\n\tsubtitle: I18nText,\n};\n\n/**\n * Illustration properties using template functions (recommended).\n *\n * @public\n */\ntype IllustrationProperties = IllustrationDatabase & {\n\t/** Template function for the medium variant (M breakpoint, \u2264 681px) */\n\tdialogTemplate?: TemplateFunction,\n\t/** Template function for the large variant (L breakpoint, > 681px) */\n\tsceneTemplate?: TemplateFunction,\n\t/** Template function for the small variant (S breakpoint, \u2264 360px) */\n\tspotTemplate?: TemplateFunction,\n\t/** Template function for the extra small variant (XS breakpoint, \u2264 260px) */\n\tdotTemplate?: TemplateFunction,\n};\n\n/**\n * Illustration properties using raw SVG strings (unsafe).\n *\n * @public\n */\ntype UnsafeIllustrationProperties = IllustrationDatabase & {\n\t/** SVG content for the medium variant (M breakpoint, \u2264 681px) */\n\tdialogSvg: string,\n\t/** SVG content for the large variant (L breakpoint, > 681px) */\n\tsceneSvg: string,\n\t/** SVG content for the small variant (S breakpoint, \u2264 360px) */\n\tspotSvg: string,\n\t/** SVG content for the extra small variant (XS breakpoint, \u2264 260px) */\n\tdotSvg: string,\n};\n\n/**\n * Complete illustration data for registration (recommended).\n *\n * @public\n */\ntype IllustrationData = IllustrationProperties & {\n\t/** The illustration set identifier (e.g., \"custom\") */\n\tset: string,\n\t/** Collection identifier (defaults to \"V4\") */\n\tcollection?: string,\n};\n\n/**\n * Complete unsafe illustration data for registration.\n *\n * @public\n */\ntype UnsafeIllustrationData = UnsafeIllustrationProperties & {\n\t/** The illustration set identifier (e.g., \"custom\") */\n\tset: string,\n\t/** Collection identifier (defaults to \"V4\") */\n\tcollection?: string,\n};\n\nconst IllustrationCollections = new Map([\n\t[\"sap_horizon\", \"V5\"],\n\t[\"sap_horizon_dark\", \"V5\"],\n\t[\"sap_horizon_hcb\", \"V5/HC\"],\n\t[\"sap_horizon_hcw\", \"V5/HC\"],\n]);\n\nconst FALLBACK_COLLECTION = \"V4\";\n\nconst loaders = new Map<string, IllustrationLoader>();\nconst registry = getSharedResource<Map<string, IllustrationProperties | UnsafeIllustrationProperties>>(\"SVGIllustration.registry\", new Map());\nconst illustrationPromises = getSharedResource<Map<string, Promise<UnsafeIllustrationData>>>(\"SVGIllustration.promises\", new Map());\n\nconst getCollection = () => {\n\tconst theme = getTheme();\n\n\tif (IllustrationCollections.has(theme)) {\n\t\treturn IllustrationCollections.get(theme);\n\t}\n\n\treturn FALLBACK_COLLECTION;\n};\n\n/**\n * Processes the name of the illustration\n * The name is used to generate the registry key and the loader key\n * The registry key is used to store and get the illustration data from the registry\n * The loader key is used to store and get the illustration loader from the loaders map\n * The function generates the correct registry key and loader key based on whether an loader exists for the illustration\n * If there is no loader registered for the collection, it falls back to the default collection\n */\nconst processName = (name: string) => {\n\tlet collection = getCollection();\n\tconst [set, illustrationName] = name.split(\"/\");\n\tlet registryKey = `${set}/${collection}/${illustrationName}`;\n\n\tif (!loaders.has(registryKey) && collection !== FALLBACK_COLLECTION) {\n\t\tcollection = FALLBACK_COLLECTION;\n\t\tregistryKey = `${set}/${collection}/${illustrationName}`;\n\t}\n\n\treturn {\n\t\tregistryKey,\n\t\tcollection,\n\t};\n};\n\n/**\n * Registers a custom illustration in the global registry using template functions.\n *\n * This is the recommended way to register illustrations as it accepts template functions\n * instead of raw SVG strings, preventing XSS vulnerabilities.\n *\n * @param name - The name of the illustration (without set prefix)\n * @param data - The illustration data (see {@link IllustrationData})\n *\n * @public\n * @since 2.17.0\n * @example\n * ```js\n * import { registerIllustration } from \"@ui5/webcomponents-base/dist/asset-registries/Illustrations.js\";\n *\n * registerIllustration(\"EmptyCart\", {\n * sceneTemplate: (component) => <svg>...</svg>,\n * dialogTemplate: (component) => <svg>...</svg>,\n * spotTemplate: (component) => <svg>...</svg>,\n * dotTemplate: (component) => <svg>...</svg>,\n * title: \"Your cart is empty\",\n * subtitle: \"Add items to get started\",\n * set: \"custom\"\n * });\n * ```\n */\nconst registerIllustration = (name: string, data: IllustrationData) => {\n\tconst collection = data.collection || FALLBACK_COLLECTION;\n\tregistry.set(`${data.set}/${collection}/${name}`, {\n\t\tdialogTemplate: data.dialogTemplate,\n\t\tsceneTemplate: data.sceneTemplate,\n\t\tspotTemplate: data.spotTemplate,\n\t\tdotTemplate: data.dotTemplate,\n\t\ttitle: data.title,\n\t\tsubtitle: data.subtitle,\n\t});\n};\n\n/**\n * Registers a custom illustration in the global registry.\n *\n * <b>Note:</b> This method is unsafe as it allows the SVG content to be passed as raw strings\n * through the `dialogSvg`, `sceneSvg`, `spotSvg`, and `dotSvg` properties of the `data`.\n * Ensure that the SVG content is properly validated.\n * Improperly sanitized SVG strings can lead to security vulnerabilities such as XSS (Cross-Site Scripting).\n *\n * @param name - The name of the illustration (without set prefix)\n * @param data - The illustration data (see {@link UnsafeIllustrationData})\n *\n * @public\n * @since 2.17.0\n * @example\n * ```js\n * import { unsafeRegisterIllustration } from \"@ui5/webcomponents-base/dist/asset-registries/Illustrations.js\";\n *\n * unsafeRegisterIllustration(\"EmptyCart\", {\n * sceneSvg: \"<svg>...</svg>\",\n * dialogSvg: \"<svg>...</svg>\",\n * spotSvg: \"<svg>...</svg>\",\n * dotSvg: \"<svg>...</svg>\",\n * title: \"Your cart is empty\",\n * subtitle: \"Add items to get started\",\n * set: \"custom\"\n * });\n * ```\n */\nconst unsafeRegisterIllustration = (name: string, data: UnsafeIllustrationData) => {\n\tconst collection = data.collection || FALLBACK_COLLECTION;\n\tregistry.set(`${data.set}/${collection}/${name}`, {\n\t\tdialogSvg: data.dialogSvg,\n\t\tsceneSvg: data.sceneSvg,\n\t\tspotSvg: data.spotSvg,\n\t\tdotSvg: data.dotSvg,\n\t\ttitle: data.title,\n\t\tsubtitle: data.subtitle,\n\t});\n};\n\nconst registerIllustrationLoader = (illustrationName: string, loader: IllustrationLoader) => {\n\tloaders.set(illustrationName, loader);\n};\n\nconst _loadIllustrationOnce = (illustrationName: string) => {\n\tconst { registryKey } = processName(illustrationName);\n\tif (!illustrationPromises.has(registryKey)) {\n\t\tif (!loaders.has(registryKey)) {\n\t\t\tconst illustrationPath = illustrationName.startsWith(\"fiori/\") ? illustrationName.replace(\"fiori/\", \"\") : illustrationName;\n\t\t\tthrow new Error(`No loader registered for the ${illustrationName} illustration. Probably you forgot to import the \"@ui5/webcomponents-fiori/dist/illustrations/${illustrationPath}.js\" module. Or you can import the \"@ui5/webcomponents-fiori/dist/illustrations/AllIllustrations.js\" module that will make all illustrations available, but fetch only the ones used.`);\n\t\t}\n\n\t\tconst loadIllustrations = loaders.get(registryKey)!;\n\t\tillustrationPromises.set(registryKey, loadIllustrations(registryKey));\n\t}\n\treturn illustrationPromises.get(registryKey);\n};\n\n/**\n * Synchronously retrieves illustration data from the registry.\n *\n * @param illustrationName - The illustration identifier in format \"set/name\"\n * @returns The illustration properties or undefined if not available\n *\n * @public\n */\nconst getIllustrationDataSync = (illustrationName: string) => {\n\tconst { registryKey } = processName(illustrationName);\n\treturn registry.get(registryKey);\n};\n\n/**\n * Asynchronously retrieves illustration data, loading it if necessary.\n *\n * @param illustrationName - The illustration identifier in format \"set/name\"\n * @returns Promise resolving to illustration properties or undefined\n *\n * @public\n */\nconst getIllustrationData = async (illustrationName: string) => {\n\tconst { registryKey } = processName(illustrationName);\n\n\tawait _loadIllustrationOnce(illustrationName);\n\treturn registry.get(registryKey);\n};\n\nexport {\n\tgetIllustrationDataSync,\n\tregisterIllustration,\n\tunsafeRegisterIllustration,\n\tregisterIllustrationLoader,\n\tgetIllustrationData,\n};\n\nexport type {\n\tIllustrationData,\n\tUnsafeIllustrationData,\n\tIllustrationProperties,\n\tUnsafeIllustrationProperties,\n};\n"],
|
|
5
|
+
"mappings": "aAAA,OAAOA,MAAuB,0BAE9B,OAAS,YAAAC,MAAgB,qBA0EzB,MAAMC,EAA0B,IAAI,IAAI,CACvC,CAAC,cAAe,IAAI,EACpB,CAAC,mBAAoB,IAAI,EACzB,CAAC,kBAAmB,OAAO,EAC3B,CAAC,kBAAmB,OAAO,CAC5B,CAAC,EAEKC,EAAsB,KAEtBC,EAAU,IAAI,IACdC,EAAWL,EAAsF,2BAA4B,IAAI,GAAK,EACtIM,EAAuBN,EAAgE,2BAA4B,IAAI,GAAK,EAE5HO,EAAgB,IAAM,CAC3B,MAAMC,EAAQP,EAAS,EAEvB,OAAIC,EAAwB,IAAIM,CAAK,EAC7BN,EAAwB,IAAIM,CAAK,EAGlCL,CACR,EAUMM,EAAeC,GAAiB,CACrC,IAAIC,EAAaJ,EAAc,EAC/B,KAAM,CAACK,EAAKC,CAAgB,EAAIH,EAAK,MAAM,GAAG,EAC9C,IAAII,EAAc,GAAGF,CAAG,IAAID,CAAU,IAAIE,CAAgB,GAE1D,MAAI,CAACT,EAAQ,IAAIU,CAAW,GAAKH,IAAeR,IAC/CQ,EAAaR,EACbW,EAAc,GAAGF,CAAG,IAAID,CAAU,IAAIE,CAAgB,IAGhD,CACN,YAAAC,EACA,WAAAH,CACD,CACD,EA4BMI,EAAuB,CAACL,EAAcM,IAA2B,CACtE,MAAML,EAAaK,EAAK,YAAcb,EACtCE,EAAS,IAAI,GAAGW,EAAK,GAAG,IAAIL,CAAU,IAAID,CAAI,GAAI,CACjD,eAAgBM,EAAK,eACrB,cAAeA,EAAK,cACpB,aAAcA,EAAK,aACnB,YAAaA,EAAK,YAClB,MAAOA,EAAK,MACZ,SAAUA,EAAK,QAChB,CAAC,CACF,EA8BMC,EAA6B,CAACP,EAAcM,IAAiC,CAClF,MAAML,EAAaK,EAAK,YAAcb,EACtCE,EAAS,IAAI,GAAGW,EAAK,GAAG,IAAIL,CAAU,IAAID,CAAI,GAAI,CACjD,UAAWM,EAAK,UAChB,SAAUA,EAAK,SACf,QAASA,EAAK,QACd,OAAQA,EAAK,OACb,MAAOA,EAAK,MACZ,SAAUA,EAAK,QAChB,CAAC,CACF,EAEME,EAA6B,CAACL,EAA0BM,IAA+B,CAC5Ff,EAAQ,IAAIS,EAAkBM,CAAM,CACrC,EAEMC,EAAyBP,GAA6B,CAC3D,KAAM,CAAE,YAAAC,CAAY,EAAIL,EAAYI,CAAgB,EACpD,GAAI,CAACP,EAAqB,IAAIQ,CAAW,EAAG,CAC3C,GAAI,CAACV,EAAQ,IAAIU,CAAW,EAAG,CAC9B,MAAMO,EAAmBR,EAAiB,WAAW,QAAQ,EAAIA,EAAiB,QAAQ,SAAU,EAAE,EAAIA,EAC1G,MAAM,IAAI,MAAM,gCAAgCA,CAAgB,iGAAiGQ,CAAgB,uLAAuL,CACzW,CAEA,MAAMC,EAAoBlB,EAAQ,IAAIU,CAAW,EACjDR,EAAqB,IAAIQ,EAAaQ,EAAkBR,CAAW,CAAC,CACrE,CACA,OAAOR,EAAqB,IAAIQ,CAAW,CAC5C,EAUMS,EAA2BV,GAA6B,CAC7D,KAAM,CAAE,YAAAC,CAAY,EAAIL,EAAYI,CAAgB,EACpD,OAAOR,EAAS,IAAIS,CAAW,CAChC,EAUMU,EAAsB,MAAOX,GAA6B,CAC/D,KAAM,CAAE,YAAAC,CAAY,EAAIL,EAAYI,CAAgB,EAEpD,aAAMO,EAAsBP,CAAgB,EACrCR,EAAS,IAAIS,CAAW,CAChC,EAEA,OACCS,KAAA,wBACAR,KAAA,qBACAE,KAAA,2BACAC,KAAA,2BACAM,KAAA",
|
|
6
|
+
"names": ["getSharedResource", "getTheme", "IllustrationCollections", "FALLBACK_COLLECTION", "loaders", "registry", "illustrationPromises", "getCollection", "theme", "processName", "name", "collection", "set", "illustrationName", "registryKey", "registerIllustration", "data", "unsafeRegisterIllustration", "registerIllustrationLoader", "loader", "_loadIllustrationOnce", "illustrationPath", "loadIllustrations", "getIllustrationDataSync", "getIllustrationData"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e={version:"2.
|
|
1
|
+
"use strict";const e={version:"2.17.0-rc.0",major:2,minor:17,patch:0,suffix:"-rc.0",isNext:!1,buildTime:1762450078};export default e;
|
|
2
2
|
//# sourceMappingURL=VersionInfo.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/generated/VersionInfo.ts"],
|
|
4
|
-
"sourcesContent": ["const VersionInfo = {\n\tversion: \"2.
|
|
5
|
-
"mappings": "aAAA,MAAMA,EAAc,CACnB,QAAS,
|
|
4
|
+
"sourcesContent": ["const VersionInfo = {\n\tversion: \"2.17.0-rc.0\",\n\tmajor: 2,\n\tminor: 17,\n\tpatch: 0,\n\tsuffix: \"-rc.0\",\n\tisNext: false,\n\tbuildTime: 1762450078,\n};\nexport default VersionInfo;"],
|
|
5
|
+
"mappings": "aAAA,MAAMA,EAAc,CACnB,QAAS,cACT,MAAO,EACP,MAAO,GACP,MAAO,EACP,OAAQ,QACR,OAAQ,GACR,UAAW,UACZ,EACA,eAAeA",
|
|
6
6
|
"names": ["VersionInfo"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-base",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.17.0-rc.0",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.base",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@openui5/sap.ui.core": "1.120.17",
|
|
65
65
|
"@sap-theming/theming-base-content": "11.29.3",
|
|
66
66
|
"@ui5/cypress-internal": "0.1.0",
|
|
67
|
-
"@ui5/webcomponents-tools": "2.
|
|
67
|
+
"@ui5/webcomponents-tools": "2.17.0-rc.0",
|
|
68
68
|
"chokidar-cli": "^3.0.0",
|
|
69
69
|
"clean-css": "^5.2.2",
|
|
70
70
|
"cypress": "^15.3.0",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"vite": "5.4.21"
|
|
79
79
|
},
|
|
80
80
|
"customElements": "dist/custom-elements.json",
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "72216c34fa3b5ecbad90836884677ca5d4edef7d"
|
|
82
82
|
}
|