package.dist.generated.json-imports.Themes.js.map Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webcomponents Show documentation
Show all versions of webcomponents Show documentation
UI5 Web Components: webcomponents.main
The newest version!
{"version":3,"file":"Themes.js","sourceRoot":"","sources":["../../../src/generated/json-imports/Themes.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,OAAO,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AAExG,MAAM,mBAAmB,GAAG,KAAK,EAAE,SAAS,EAAE,EAAE;IAC/C,QAAQ,SAAS,EAAE;QAClB,KAAK,aAAa,CAAC,CAAC,OAAO,CAAC,MAAM,MAAM,CAAC,yEAAyE,CAAA,yDAAyD,CAAC,CAAC,CAAC,OAAO,CAAC;QACtL,KAAK,kBAAkB,CAAC,CAAC,OAAO,CAAC,MAAM,MAAM,CAAC,8EAA8E,CAAA,8DAA8D,CAAC,CAAC,CAAC,OAAO,CAAC;QACrM,KAAK,iBAAiB,CAAC,CAAC,OAAO,CAAC,MAAM,MAAM,CAAC,6EAA6E,CAAA,6DAA6D,CAAC,CAAC,CAAC,OAAO,CAAC;QAClM,KAAK,iBAAiB,CAAC,CAAC,OAAO,CAAC,MAAM,MAAM,CAAC,6EAA6E,CAAA,6DAA6D,CAAC,CAAC,CAAC,OAAO,CAAC;QAClM,KAAK,aAAa,CAAC,CAAC,OAAO,CAAC,MAAM,MAAM,CAAC,yEAAyE,CAAA,yDAAyD,CAAC,CAAC,CAAC,OAAO,CAAC;QACtL,KAAK,kBAAkB,CAAC,CAAC,OAAO,CAAC,MAAM,MAAM,CAAC,8EAA8E,CAAA,8DAA8D,CAAC,CAAC,CAAC,OAAO,CAAC;QACrM,KAAK,sBAAsB,CAAC,CAAC,OAAO,CAAC,MAAM,MAAM,CAAC,kFAAkF,CAAA,kEAAkE,CAAC,CAAC,CAAC,OAAO,CAAC;QACjN,KAAK,iBAAiB,CAAC,CAAC,OAAO,CAAC,MAAM,MAAM,CAAC,6EAA6E,C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/Themes.js\";\n\nconst loadThemeProperties = async (themeName) => {\n\tswitch (themeName) {\n\t\tcase \"sap_fiori_3\": return (await import(/* webpackChunkName: \"ui5-webcomponents-sap-fiori_3-parameters-bundle\" */\"../assets/themes/sap_fiori_3/parameters-bundle.css.json\")).default;\n\t\tcase \"sap_fiori_3_dark\": return (await import(/* webpackChunkName: \"ui5-webcomponents-sap-fiori_3_dark-parameters-bundle\" */\"../assets/themes/sap_fiori_3_dark/parameters-bundle.css.json\")).default;\n\t\tcase \"sap_fiori_3_hcb\": return (await import(/* webpackChunkName: \"ui5-webcomponents-sap-fiori_3_hcb-parameters-bundle\" */\"../assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json\")).default;\n\t\tcase \"sap_fiori_3_hcw\": return (await import(/* webpackChunkName: \"ui5-webcomponents-sap-fiori_3_hcw-parameters-bundle\" */\"../assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json\")).default;\n\t\tcase \"sap_horizon\": return (await import(/* webpackChunkName: \"ui5-webcomponents-sap-horizon-parameters-bundle\" */\"../assets/themes/sap_horizon/parameters-bundle.css.json\")).default;\n\t\tcase \"sap_horizon_dark\": return (await import(/* webpackChunkName: \"ui5-webcomponents-sap-horizon_dark-parameters-bundle\" */\"../assets/themes/sap_horizon_dark/parameters-bundle.css.json\")).default;\n\t\tcase \"sap_horizon_dark_exp\": return (await import(/* webpackChunkName: \"ui5-webcomponents-sap-horizon_dark_exp-parameters-bundle\" */\"../assets/themes/sap_horizon_dark_exp/parameters-bundle.css.json\")).default;\n\t\tcase \"sap_horizon_exp\": return (await import(/* webpackChunkName: \"ui5-webcomponents-sap-horizon_exp-parameters-bundle\" */\"../assets/themes/sap_horizon_exp/parameters-bundle.css.json\")).default;\n\t\tcase \"sap_horizon_hcb\": return (await import(/* webpackChunkName: \"ui5-webcomponents-sap-horizon_hcb-parameters-bundle\" */\"../assets/themes/sap_horizon_hcb/parameters-bundle.css.json\")).default;\n\t\tcase \"sap_horizon_hcb_exp\": return (await import(/* webpackChunkName: \"ui5-webcomponents-sap-horizon_hcb_exp-parameters-bundle\" */\"../assets/themes/sap_horizon_hcb_exp/parameters-bundle.css.json\")).default;\n\t\tcase \"sap_horizon_hcw\": return (await import(/* webpackChunkName: \"ui5-webcomponents-sap-horizon_hcw-parameters-bundle\" */\"../assets/themes/sap_horizon_hcw/parameters-bundle.css.json\")).default;\n\t\tcase \"sap_horizon_hcw_exp\": return (await import(/* webpackChunkName: \"ui5-webcomponents-sap-horizon_hcw_exp-parameters-bundle\" */\"../assets/themes/sap_horizon_hcw_exp/parameters-bundle.css.json\")).default;\n\t\tdefault: throw \"unknown theme\"\n\t}\n};\n\nconst loadAndCheck = async (themeName) => {\n\tconst data = await loadThemeProperties(themeName);\n\tif (typeof data === \"string\" && data.endsWith(\".json\")) {\n\t\tthrow new Error(`[themes] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build. Check the \"Assets\" documentation for more information.`);\n\t}\n\treturn data;\n};\n\n[\"sap_fiori_3\", \"sap_fiori_3_dark\", \"sap_fiori_3_hcb\", \"sap_fiori_3_hcw\", \"sap_horizon\", \"sap_horizon_dark\", \"sap_horizon_dark_exp\", \"sap_horizon_exp\", \"sap_horizon_hcb\", \"sap_horizon_hcb_exp\", \"sap_horizon_hcw\", \"sap_horizon_hcw_exp\"]\n .forEach(themeName => registerThemePropertiesLoader(\"@ui5/webcomponents\", themeName, loadAndCheck));\n"]}