Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import WebComponent from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/WebComponent";
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
// Styles
import spacerBelize from "./themes/sap_belize/ToolbarSpacer.less";
import spacerBelizeHcb from "./themes/sap_belize_hcb/ToolbarSpacer.less";
import spacerFiori3 from "./themes/sap_fiori_3/ToolbarSpacer.less";
ShadowDOM.registerStyle("sap_belize", "ToolbarSpacer.css", spacerBelize);
ShadowDOM.registerStyle("sap_belize_hcb", "ToolbarSpacer.css", spacerBelizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "ToolbarSpacer.css", spacerFiori3);
/**
* @public
*/
const metadata = {
tag: "ui5-toolbar-spacer",
noShadowDOM: true,
properties: /** @lends sap.ui.webcomponents.main.ToolbarSpacer.prototype */ {
},
};
/**
* @class
*
* <h3 class="comment-api-title">Overview</h3>
import belize from "./themes/sap_belize/Toolbar.less";
import belizeHcb from "./themes/sap_belize_hcb/Toolbar.less";
import fiori3 from "./themes/sap_fiori_3/Toolbar.less";
// Styles
import spacerBelize from "./themes/sap_belize/ToolbarSpacer.less";
import spacerBelizeHcb from "./themes/sap_belize_hcb/ToolbarSpacer.less";
import spacerFiori3 from "./themes/sap_fiori_3/ToolbarSpacer.less";
ShadowDOM.registerStyle("sap_belize", "ToolbarSpacer.css", belize);
ShadowDOM.registerStyle("sap_belize_hcb", "ToolbarSpacer.css", belizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "ToolbarSpacer.css", fiori3);
ShadowDOM.registerStyle("sap_belize", "Toolbar.css", spacerBelize);
ShadowDOM.registerStyle("sap_belize_hcb", "Toolbar.css", spacerBelizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "Toolbar.css", spacerFiori3);
/**
* @public
*/
const metadata = {
tag: "ui5-toolbar",
styleUrl: [
"Toolbar.css",
"ToolbarSpacer.css",
],
defaultSlot: "content",
slots: /** @lends sap.ui.webcomponents.main.Toolbar.prototype */ {
/**
* Defines the content of the <code>ui5-toolbar</code>.
*
// Styles
import belize from "./themes/sap_belize/Toolbar.less";
import belizeHcb from "./themes/sap_belize_hcb/Toolbar.less";
import fiori3 from "./themes/sap_fiori_3/Toolbar.less";
// Styles
import spacerBelize from "./themes/sap_belize/ToolbarSpacer.less";
import spacerBelizeHcb from "./themes/sap_belize_hcb/ToolbarSpacer.less";
import spacerFiori3 from "./themes/sap_fiori_3/ToolbarSpacer.less";
ShadowDOM.registerStyle("sap_belize", "ToolbarSpacer.css", belize);
ShadowDOM.registerStyle("sap_belize_hcb", "ToolbarSpacer.css", belizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "ToolbarSpacer.css", fiori3);
ShadowDOM.registerStyle("sap_belize", "Toolbar.css", spacerBelize);
ShadowDOM.registerStyle("sap_belize_hcb", "Toolbar.css", spacerBelizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "Toolbar.css", spacerFiori3);
/**
* @public
*/
const metadata = {
tag: "ui5-toolbar",
styleUrl: [
"Toolbar.css",
"ToolbarSpacer.css",
],
defaultSlot: "content",
slots: /** @lends sap.ui.webcomponents.main.Toolbar.prototype */ {
/**
// Template
import ToolbarRenderer from "./build/compiled/ToolbarRenderer.lit";
import ToolbarTemplateContext from "./ToolbarTemplateContext";
// Styles
import belize from "./themes/sap_belize/Toolbar.less";
import belizeHcb from "./themes/sap_belize_hcb/Toolbar.less";
import fiori3 from "./themes/sap_fiori_3/Toolbar.less";
// Styles
import spacerBelize from "./themes/sap_belize/ToolbarSpacer.less";
import spacerBelizeHcb from "./themes/sap_belize_hcb/ToolbarSpacer.less";
import spacerFiori3 from "./themes/sap_fiori_3/ToolbarSpacer.less";
ShadowDOM.registerStyle("sap_belize", "ToolbarSpacer.css", belize);
ShadowDOM.registerStyle("sap_belize_hcb", "ToolbarSpacer.css", belizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "ToolbarSpacer.css", fiori3);
ShadowDOM.registerStyle("sap_belize", "Toolbar.css", spacerBelize);
ShadowDOM.registerStyle("sap_belize_hcb", "Toolbar.css", spacerBelizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "Toolbar.css", spacerFiori3);
/**
* @public
*/
const metadata = {
tag: "ui5-toolbar",
styleUrl: [
"Toolbar.css",
"ToolbarSpacer.css",
],
// Styles
import belize from "./themes/sap_belize/Toolbar.less";
import belizeHcb from "./themes/sap_belize_hcb/Toolbar.less";
import fiori3 from "./themes/sap_fiori_3/Toolbar.less";
// Styles
import spacerBelize from "./themes/sap_belize/ToolbarSpacer.less";
import spacerBelizeHcb from "./themes/sap_belize_hcb/ToolbarSpacer.less";
import spacerFiori3 from "./themes/sap_fiori_3/ToolbarSpacer.less";
ShadowDOM.registerStyle("sap_belize", "ToolbarSpacer.css", belize);
ShadowDOM.registerStyle("sap_belize_hcb", "ToolbarSpacer.css", belizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "ToolbarSpacer.css", fiori3);
ShadowDOM.registerStyle("sap_belize", "Toolbar.css", spacerBelize);
ShadowDOM.registerStyle("sap_belize_hcb", "Toolbar.css", spacerBelizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "Toolbar.css", spacerFiori3);
/**
* @public
*/
const metadata = {
tag: "ui5-toolbar",
styleUrl: [
"Toolbar.css",
"ToolbarSpacer.css",
],
defaultSlot: "content",
slots: /** @lends sap.ui.webcomponents.main.Toolbar.prototype */ {
/**
* Defines the content of the <code>ui5-toolbar</code>.
import WebComponent from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/WebComponent";
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
// Styles
import spacerBelize from "./themes/sap_belize/ToolbarSpacer.less";
import spacerBelizeHcb from "./themes/sap_belize_hcb/ToolbarSpacer.less";
import spacerFiori3 from "./themes/sap_fiori_3/ToolbarSpacer.less";
ShadowDOM.registerStyle("sap_belize", "ToolbarSpacer.css", spacerBelize);
ShadowDOM.registerStyle("sap_belize_hcb", "ToolbarSpacer.css", spacerBelizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "ToolbarSpacer.css", spacerFiori3);
/**
* @public
*/
const metadata = {
tag: "ui5-toolbar-spacer",
noShadowDOM: true,
properties: /** @lends sap.ui.webcomponents.main.ToolbarSpacer.prototype */ {
},
};
/**
* @class
*
// Template
import ToolbarRenderer from "./build/compiled/ToolbarRenderer.lit";
import ToolbarTemplateContext from "./ToolbarTemplateContext";
// Styles
import belize from "./themes/sap_belize/Toolbar.less";
import belizeHcb from "./themes/sap_belize_hcb/Toolbar.less";
import fiori3 from "./themes/sap_fiori_3/Toolbar.less";
// Styles
import spacerBelize from "./themes/sap_belize/ToolbarSpacer.less";
import spacerBelizeHcb from "./themes/sap_belize_hcb/ToolbarSpacer.less";
import spacerFiori3 from "./themes/sap_fiori_3/ToolbarSpacer.less";
ShadowDOM.registerStyle("sap_belize", "ToolbarSpacer.css", belize);
ShadowDOM.registerStyle("sap_belize_hcb", "ToolbarSpacer.css", belizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "ToolbarSpacer.css", fiori3);
ShadowDOM.registerStyle("sap_belize", "Toolbar.css", spacerBelize);
ShadowDOM.registerStyle("sap_belize_hcb", "Toolbar.css", spacerBelizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "Toolbar.css", spacerFiori3);
/**
* @public
*/
const metadata = {
tag: "ui5-toolbar",
styleUrl: [
"Toolbar.css",
"ToolbarSpacer.css",
],
defaultSlot: "content",
import WebComponent from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/WebComponent";
import Bootstrap from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/Bootstrap";
import ShadowDOM from "@ui5/webcomponents-base/src/sap/ui/webcomponents/base/compatibility/ShadowDOM";
// Styles
import spacerBelize from "./themes/sap_belize/ToolbarSpacer.less";
import spacerBelizeHcb from "./themes/sap_belize_hcb/ToolbarSpacer.less";
import spacerFiori3 from "./themes/sap_fiori_3/ToolbarSpacer.less";
ShadowDOM.registerStyle("sap_belize", "ToolbarSpacer.css", spacerBelize);
ShadowDOM.registerStyle("sap_belize_hcb", "ToolbarSpacer.css", spacerBelizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "ToolbarSpacer.css", spacerFiori3);
/**
* @public
*/
const metadata = {
tag: "ui5-toolbar-spacer",
noShadowDOM: true,
properties: /** @lends sap.ui.webcomponents.main.ToolbarSpacer.prototype */ {
},
};
/**
* @class
import ToolbarRenderer from "./build/compiled/ToolbarRenderer.lit";
import ToolbarTemplateContext from "./ToolbarTemplateContext";
// Styles
import belize from "./themes/sap_belize/Toolbar.less";
import belizeHcb from "./themes/sap_belize_hcb/Toolbar.less";
import fiori3 from "./themes/sap_fiori_3/Toolbar.less";
// Styles
import spacerBelize from "./themes/sap_belize/ToolbarSpacer.less";
import spacerBelizeHcb from "./themes/sap_belize_hcb/ToolbarSpacer.less";
import spacerFiori3 from "./themes/sap_fiori_3/ToolbarSpacer.less";
ShadowDOM.registerStyle("sap_belize", "ToolbarSpacer.css", belize);
ShadowDOM.registerStyle("sap_belize_hcb", "ToolbarSpacer.css", belizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "ToolbarSpacer.css", fiori3);
ShadowDOM.registerStyle("sap_belize", "Toolbar.css", spacerBelize);
ShadowDOM.registerStyle("sap_belize_hcb", "Toolbar.css", spacerBelizeHcb);
ShadowDOM.registerStyle("sap_fiori_3", "Toolbar.css", spacerFiori3);
/**
* @public
*/
const metadata = {
tag: "ui5-toolbar",
styleUrl: [
"Toolbar.css",
"ToolbarSpacer.css",
],
defaultSlot: "content",
slots: /** @lends sap.ui.webcomponents.main.Toolbar.prototype */ {