(key: string, value: string, paramType: string)
| 183 | }; |
| 184 | |
| 185 | const applyURLParam = (key: string, value: string, paramType: string) => { |
| 186 | const lowerCaseValue = value.toLowerCase(); |
| 187 | const param = key.split(`${paramType}-`)[1]; |
| 188 | |
| 189 | if (booleanMapping.has(value)) { |
| 190 | value = booleanMapping.get(lowerCaseValue); |
| 191 | } |
| 192 | |
| 193 | if (param === "theme") { |
| 194 | initialConfig.theme = normalizeThemeParamValue(param, value); |
| 195 | |
| 196 | if (value && value.includes("@")) { |
| 197 | initialConfig.themeRoot = normalizeThemeRootParamValue(value); |
| 198 | } |
| 199 | } else { |
| 200 | initialConfig[param] = value; |
| 201 | } |
| 202 | }; |
| 203 | |
| 204 | const applyOpenUI5Configuration = () => { |
| 205 | const openUI5Support = getFeature<typeof OpenUI5Support>("OpenUI5Support"); |
no test coverage detected
searching dependent graphs…