Socket
Socket
Sign inDemoInstall

@ui5/webcomponents-base

Package Overview
Dependencies
Maintainers
5
Versions
482
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/webcomponents-base - npm Package Compare versions

Comparing version 1.21.0 to 1.22.0-rc.0

dist/custom-elements.json

2

dist/decorators/customElement.d.ts

@@ -11,3 +11,3 @@ import type UI5Element from "../UI5Element.js";

*/
declare const customElement: (tagNameOrComponentSettings: string | {
declare const customElement: (tagNameOrComponentSettings?: string | {
tag?: string;

@@ -14,0 +14,0 @@ renderer?: Renderer;

@@ -7,3 +7,3 @@ /**

*/
const customElement = (tagNameOrComponentSettings) => {
const customElement = (tagNameOrComponentSettings = {}) => {
return (target) => {

@@ -10,0 +10,0 @@ if (!Object.prototype.hasOwnProperty.call(target, "metadata")) {

@@ -10,13 +10,11 @@ type ResizeObserverCallback = () => Promise<void> | void;

/**
* @static
* @public
* @param {*} element UI5 Web Component or DOM Element to be observed
* @param {*} callback Callback to be executed
* @param element UI5 Web Component or DOM Element to be observed
* @param callback Callback to be executed
*/
static register(element: HTMLElement, callback: ResizeObserverCallback): void;
/**
* @static
* @public
* @param {*} element UI5 Web Component or DOM Element to be unobserved
* @param {*} callback Callback to be removed
* @param element UI5 Web Component or DOM Element to be unobserved
* @param callback Callback to be removed
*/

@@ -23,0 +21,0 @@ static deregister(element: HTMLElement, callback: ResizeObserverCallback): void;

@@ -50,6 +50,5 @@ import { instanceOfUI5Element } from "../UI5Element.js";

/**
* @static
* @public
* @param {*} element UI5 Web Component or DOM Element to be observed
* @param {*} callback Callback to be executed
* @param element UI5 Web Component or DOM Element to be observed
* @param callback Callback to be executed
*/

@@ -69,6 +68,5 @@ static register(element, callback) {

/**
* @static
* @public
* @param {*} element UI5 Web Component or DOM Element to be unobserved
* @param {*} callback Callback to be removed
* @param element UI5 Web Component or DOM Element to be unobserved
* @param callback Callback to be removed
*/

@@ -75,0 +73,0 @@ static deregister(element, callback) {

const VersionInfo = {
version: "1.21.0-rc.5",
version: "1.21.0",
major: 1,
minor: 21,
patch: 0,
suffix: "-rc.5",
suffix: "",
isNext: false,
buildTime: 1704467438,
buildTime: 1704960349,
};
export default VersionInfo;
//# sourceMappingURL=VersionInfo.js.map

@@ -18,5 +18,4 @@ import { registerI18nLoader } from "./asset-registries/i18n.js";

* @public
* @param {Object|String} textObj key/defaultText pair or just the key
* @param textObj key/defaultText pair or just the key
* @param params Values for the placeholders
* @returns {string}
*/

@@ -30,3 +29,2 @@ getText(textObj: I18nText | string, ...params: Array<number | string>): string;

* @param packageName
* @returns { Promise<I18nBundle> }
*/

@@ -33,0 +31,0 @@ declare const getI18nBundle: (packageName: string) => Promise<I18nBundle>;

@@ -17,5 +17,4 @@ import { registerI18nLoader, fetchI18nBundle, getI18nBundleData } from "./asset-registries/i18n.js";

* @public
* @param {Object|String} textObj key/defaultText pair or just the key
* @param textObj key/defaultText pair or just the key
* @param params Values for the placeholders
* @returns {string}
*/

@@ -43,3 +42,2 @@ getText(textObj, ...params) {

* @param packageName
* @returns { I18nBundle }
*/

@@ -59,3 +57,2 @@ const getI18nBundleSync = (packageName) => {

* @param packageName
* @returns { Promise<I18nBundle> }
*/

@@ -62,0 +59,0 @@ const getI18nBundle = async (packageName) => {

@@ -5,4 +5,2 @@ type Range = Map<string, Array<number>>;

*
* @namespace
* @name MediaRange.RANGESETS
* @public

@@ -22,3 +20,2 @@ */

*
* @name MediaRange.RANGESETS.RANGE_4STEPS
* @public

@@ -30,5 +27,2 @@ */

* API for screen width changes.
*
* @namespace
* @name MediaRange
*/

@@ -35,0 +29,0 @@ declare const MediaRange: {

@@ -10,4 +10,2 @@ const mediaRanges = new Map();

*
* @namespace
* @name MediaRange.RANGESETS
* @public

@@ -28,3 +26,2 @@ */

*
* @name MediaRange.RANGESETS.RANGE_4STEPS
* @public

@@ -50,6 +47,5 @@ */

*
* @param {string} name The name of the range set to be initialized.
* @param name The name of the range set to be initialized.
* The name must be a valid id and consist only of letters and numeric digits.
* @param {Range} [range] The given range set.
* @name MediaRange.initRangeSet
* @param range The given range set.
*/

@@ -65,9 +61,6 @@ const initRangeSet = (name, range) => {

*
* @param {string} name The name of the range set. The range set must be initialized beforehand ({@link MediaRange.initRangeSet})
* @param {number} [width] An optional width, based on which the range should be determined;
* @param name The name of the range set. The range set must be initialized beforehand ({@link MediaRange.initRangeSet})
* @param [width] An optional width, based on which the range should be determined;
* If <code>width</code> is not provided, the window size will be used.
* @returns {string} The name of the current active interval of the range set.
*
* @name MediaRange.getCurrentRange
* @function
* @returns The name of the current active interval of the range set.
* @public

@@ -91,5 +84,2 @@ */

* API for screen width changes.
*
* @namespace
* @name MediaRange
*/

@@ -96,0 +86,0 @@ const MediaRange = {

import "./StaticArea.js";
import type UI5Element from "./UI5Element.js";
/**
*
* @class
* @author SAP SE
* @private

@@ -14,3 +12,3 @@ */

/**
* @param {UI5Element} ownerElement the UI5Element instance that owns this static area item
* @param ownerElement the UI5Element instance that owns this static area item
*/

@@ -31,4 +29,4 @@ setOwnerElement(ownerElement: UI5Element): void;

/**
* Returns reference to the DOM element where the current fragment is added.
* @protected
* Returns reference to the DOM element where the current fragment is added.
*/

@@ -35,0 +33,0 @@ getDomRef(): Promise<ShadowRoot | null>;

@@ -10,5 +10,3 @@ import "./StaticArea.js";

/**
*
* @class
* @author SAP SE
* @private

@@ -23,3 +21,3 @@ */

/**
* @param {UI5Element} ownerElement the UI5Element instance that owns this static area item
* @param ownerElement the UI5Element instance that owns this static area item
*/

@@ -77,4 +75,4 @@ setOwnerElement(ownerElement) {

/**
* Returns reference to the DOM element where the current fragment is added.
* @protected
* Returns reference to the DOM element where the current fragment is added.
*/

@@ -81,0 +79,0 @@ async getDomRef() {

/**
* Different types of AnimationMode.
*
* @readonly
* @enum {string}
* @public
* @author SAP SE
* @alias sap.ui.webc.base.types.AnimationMode
*/

@@ -13,3 +9,2 @@ declare enum AnimationMode {

* @public
* @type {Full}
*/

@@ -19,3 +14,2 @@ Full = "full",

* @public
* @type {Basic}
*/

@@ -25,3 +19,2 @@ Basic = "basic",

* @public
* @type {Minimal}
*/

@@ -31,3 +24,2 @@ Minimal = "minimal",

* @public
* @type {None}
*/

@@ -34,0 +26,0 @@ None = "none"

/**
* Different types of AnimationMode.
*
* @readonly
* @enum {string}
* @public
* @author SAP SE
* @alias sap.ui.webc.base.types.AnimationMode
*/

@@ -14,3 +10,2 @@ var AnimationMode;

* @public
* @type {Full}
*/

@@ -20,3 +15,2 @@ AnimationMode["Full"] = "full";

* @public
* @type {Basic}
*/

@@ -26,3 +20,2 @@ AnimationMode["Basic"] = "basic";

* @public
* @type {Minimal}
*/

@@ -32,3 +25,2 @@ AnimationMode["Minimal"] = "minimal";

* @public
* @type {None}
*/

@@ -35,0 +27,0 @@ AnimationMode["None"] = "none";

/**
* Different calendar types.
*
* @readonly
* @enum {string}
* @public
* @author SAP SE
* @alias sap.ui.webc.base.types.CalendarType
*/

@@ -13,3 +9,2 @@ declare enum CalendarType {

* @public
* @type {Gregorian}
*/

@@ -19,3 +14,2 @@ Gregorian = "Gregorian",

* @public
* @type {Islamic}
*/

@@ -25,3 +19,2 @@ Islamic = "Islamic",

* @public
* @type {Japanese}
*/

@@ -31,3 +24,2 @@ Japanese = "Japanese",

* @public
* @type {Buddhist}
*/

@@ -37,3 +29,2 @@ Buddhist = "Buddhist",

* @public
* @type {Persian}
*/

@@ -40,0 +31,0 @@ Persian = "Persian"

/**
* Different calendar types.
*
* @readonly
* @enum {string}
* @public
* @author SAP SE
* @alias sap.ui.webc.base.types.CalendarType
*/

@@ -14,3 +10,2 @@ var CalendarType;

* @public
* @type {Gregorian}
*/

@@ -20,3 +15,2 @@ CalendarType["Gregorian"] = "Gregorian";

* @public
* @type {Islamic}
*/

@@ -26,3 +20,2 @@ CalendarType["Islamic"] = "Islamic";

* @public
* @type {Japanese}
*/

@@ -32,3 +25,2 @@ CalendarType["Japanese"] = "Japanese";

* @public
* @type {Buddhist}
*/

@@ -38,3 +30,2 @@ CalendarType["Buddhist"] = "Buddhist";

* @public
* @type {Persian}
*/

@@ -41,0 +32,0 @@ CalendarType["Persian"] = "Persian";

@@ -6,6 +6,2 @@ import DataType from "./DataType.js";

*
* @extends sap.ui.webc.base.types.DataType
* @constructor
* @author SAP SE
* @alias sap.ui.webc.base.types.CSSColor
* @public

@@ -12,0 +8,0 @@ */

@@ -6,6 +6,2 @@ import DataType from "./DataType.js";

*
* @extends sap.ui.webc.base.types.DataType
* @constructor
* @author SAP SE
* @alias sap.ui.webc.base.types.CSSColor
* @public

@@ -12,0 +8,0 @@ */

@@ -6,6 +6,2 @@ import DataType from "./DataType.js";

*
* @extends sap.ui.webc.base.types.DataType
* @constructor
* @author SAP SE
* @alias sap.ui.webc.base.types.CSSSize
* @public

@@ -12,0 +8,0 @@ */

@@ -6,6 +6,2 @@ import DataType from "./DataType.js";

*
* @extends sap.ui.webc.base.types.DataType
* @constructor
* @author SAP SE
* @alias sap.ui.webc.base.types.CSSSize
* @public

@@ -12,0 +8,0 @@ */

import { PropertyValue } from "../UI5ElementMetadata.js";
/**
* @class
* Base class for all data types.
*
* @class
* @constructor
* @author SAP SE
* @alias sap.ui.webc.base.types.DataType
* @public

@@ -15,4 +12,2 @@ */

* @public
* @abstract
* @returns {Boolean}
*/

@@ -19,0 +14,0 @@ static isValid(value: any): boolean;

/**
* @class
* Base class for all data types.
*
* @class
* @constructor
* @author SAP SE
* @alias sap.ui.webc.base.types.DataType
* @public

@@ -14,4 +11,2 @@ */

* @public
* @abstract
* @returns {Boolean}
*/

@@ -18,0 +13,0 @@ // eslint-disable-next-line

@@ -7,6 +7,2 @@ import DataType from "./DataType.js";

*
* @constructor
* @extends sap.ui.webc.base.types.DataType
* @author SAP SE
* @alias sap.ui.webc.base.types.DOMReference
* @public

@@ -13,0 +9,0 @@ */

@@ -7,6 +7,2 @@ import DataType from "./DataType.js";

*
* @constructor
* @extends sap.ui.webc.base.types.DataType
* @author SAP SE
* @alias sap.ui.webc.base.types.DOMReference
* @public

@@ -13,0 +9,0 @@ */

@@ -8,5 +8,2 @@ import { PropertyValue } from "../UI5ElementMetadata.js";

* @constructor
* @extends sap.ui.webc.base.types.DataType
* @author SAP SE
* @alias sap.ui.webc.base.types.Float
* @public

@@ -13,0 +10,0 @@ */

@@ -7,5 +7,2 @@ import DataType from "./DataType.js";

* @constructor
* @extends sap.ui.webc.base.types.DataType
* @author SAP SE
* @alias sap.ui.webc.base.types.Float
* @public

@@ -12,0 +9,0 @@ */

@@ -8,5 +8,2 @@ import { PropertyValue } from "../UI5ElementMetadata.js";

* @constructor
* @extends sap.ui.webc.base.types.DataType
* @author SAP SE
* @alias sap.ui.webc.base.types.Integer
* @public

@@ -13,0 +10,0 @@ */

@@ -7,5 +7,2 @@ import DataType from "./DataType.js";

* @constructor
* @extends sap.ui.webc.base.types.DataType
* @author SAP SE
* @alias sap.ui.webc.base.types.Integer
* @public

@@ -12,0 +9,0 @@ */

/**
* Enumeration for different mode behaviors of the InvisibleMessage.
*
* @readonly
* @enum {string}
* @public
* @author SAP SE
* @alias sap.ui.webc.base.types.InvisibleMessageMode
*/

@@ -15,3 +11,2 @@ declare const InvisibleMessageMode: {

* @public
* @type {Polite}
*/

@@ -22,3 +17,2 @@ readonly Polite: "Polite";

* @public
* @type {Assertive}
*/

@@ -25,0 +19,0 @@ readonly Assertive: "Assertive";

/**
* Enumeration for different mode behaviors of the InvisibleMessage.
*
* @readonly
* @enum {string}
* @public
* @author SAP SE
* @alias sap.ui.webc.base.types.InvisibleMessageMode
*/

@@ -15,3 +11,2 @@ const InvisibleMessageMode = {

* @public
* @type {Polite}
*/

@@ -22,3 +17,2 @@ Polite: "Polite",

* @public
* @type {Assertive}
*/

@@ -25,0 +19,0 @@ Assertive: "Assertive",

/**
* Different behavior for ItemNavigation.
*
* @readonly
* @enum {string}
* @public
* @author SAP SE
* @alias sap.ui.webc.base.types.ItemNavigationBehavior
*/

@@ -14,3 +10,2 @@ declare enum ItemNavigationBehavior {

* @public
* @type {Static}
*/

@@ -21,3 +16,2 @@ Static = "Static",

* @public
* @type {Cyclic}
*/

@@ -24,0 +18,0 @@ Cyclic = "Cyclic"

/**
* Different behavior for ItemNavigation.
*
* @readonly
* @enum {string}
* @public
* @author SAP SE
* @alias sap.ui.webc.base.types.ItemNavigationBehavior
*/

@@ -15,3 +11,2 @@ var ItemNavigationBehavior;

* @public
* @type {Static}
*/

@@ -22,3 +17,2 @@ ItemNavigationBehavior["Static"] = "Static";

* @public
* @type {Cyclic}
*/

@@ -25,0 +19,0 @@ ItemNavigationBehavior["Cyclic"] = "Cyclic";

/**
* Different navigation modes for ItemNavigation.
*
* @readonly
* @enum {string}
* @public
* @author SAP SE
* @alias sap.ui.webc.base.types.NavigationMode
*/

@@ -13,3 +9,2 @@ declare enum NavigationMode {

* @public
* @type {Auto}
*/

@@ -19,3 +14,2 @@ Auto = "Auto",

* @public
* @type {Vertical}
*/

@@ -25,3 +19,2 @@ Vertical = "Vertical",

* @public
* @type {Horizontal}
*/

@@ -31,3 +24,2 @@ Horizontal = "Horizontal",

* @public
* @type {Paging}
*/

@@ -34,0 +26,0 @@ Paging = "Paging"

/**
* Different navigation modes for ItemNavigation.
*
* @readonly
* @enum {string}
* @public
* @author SAP SE
* @alias sap.ui.webc.base.types.NavigationMode
*/

@@ -14,3 +10,2 @@ var NavigationMode;

* @public
* @type {Auto}
*/

@@ -20,3 +15,2 @@ NavigationMode["Auto"] = "Auto";

* @public
* @type {Vertical}
*/

@@ -26,3 +20,2 @@ NavigationMode["Vertical"] = "Vertical";

* @public
* @type {Horizontal}
*/

@@ -32,3 +25,2 @@ NavigationMode["Horizontal"] = "Horizontal";

* @public
* @type {Paging}
*/

@@ -35,0 +27,0 @@ NavigationMode["Paging"] = "Paging";

/**
* Different types of ValueStates.
*
* @readonly
* @enum {string}
* @public
* @author SAP SE
* @alias sap.ui.webc.base.types.ValueState
*/
declare enum ValueState {
/**
*
* @public
* @type {None}
*/
None = "None",
/**
*
* @public
* @type {Success}
*/
Success = "Success",
/**
*
* @public
* @type {Warning}
*/
Warning = "Warning",
/**
*
* @public
* @type {Error}
*/
Error = "Error",
/**
*
* @public
* @type {Information}
*/

@@ -40,0 +26,0 @@ Information = "Information"

/**
* Different types of ValueStates.
*
* @readonly
* @enum {string}
* @public
* @author SAP SE
* @alias sap.ui.webc.base.types.ValueState
*/

@@ -13,29 +9,19 @@ var ValueState;

/**
*
* @public
* @type {None}
*/
ValueState["None"] = "None";
/**
*
* @public
* @type {Success}
*/
ValueState["Success"] = "Success";
/**
*
* @public
* @type {Warning}
*/
ValueState["Warning"] = "Warning";
/**
*
* @public
* @type {Error}
*/
ValueState["Error"] = "Error";
/**
*
* @public
* @type {Information}
*/

@@ -42,0 +28,0 @@ ValueState["Information"] = "Information";

@@ -29,8 +29,5 @@ import UI5ElementMetadata, { Slot, SlotValue, State, PropertyValue, Metadata } from "./UI5ElementMetadata.js";

/**
* @class
* Base class for all UI5 Web Components
*
* @class
* @constructor
* @author SAP SE
* @alias sap.ui.webc.base.UI5Element
* @extends HTMLElement

@@ -129,3 +126,3 @@ * @public

*
* @param {InvalidationInfo} callback
* @param callback
* @public

@@ -137,3 +134,3 @@ */

*
* @param {InvalidationInfo} callback
* @param callback
* @public

@@ -145,4 +142,4 @@ */

*
* @param {sting} slotName the slot in which a child was invalidated
* @param { ChangeInfo } childChangeInfo the changeInfo object for the child in the given slot
* @param slotName the slot in which a child was invalidated
* @param childChangeInfo the changeInfo object for the child in the given slot
* @private

@@ -172,6 +169,5 @@ */

* @param slotName the name of the slot, where the child is
* @returns {ChildChangeListener}
* @private
*/
_getChildChangeListener(slotName: string): ChildChangeListener | undefined;
_getChildChangeListener(slotName: string): ChildChangeListener;
/**

@@ -181,3 +177,2 @@ * Returns a singleton slotchange event listener that invalidates the component due to changes in the given slot

* @param slotName the name of the slot, where the slot element (whose slotchange event we're listening to) is
* @returns {SlotChangeListener}
* @private

@@ -266,3 +261,3 @@ */

* Set the focus to the element, returned by "getFocusDomRef()" (marked by "data-sap-focus-ref")
* @param {FocusOptions} focusOptions additional options for the focus
* @param focusOptions additional options for the focus
* @public

@@ -278,3 +273,3 @@ */

* @param bubbles - true, if the event bubbles
* @returns {boolean} false, if the event was cancelled (preventDefault called), true otherwise
* @returns false, if the event was cancelled (preventDefault called), true otherwise
*/

@@ -288,7 +283,7 @@ fireEvent<T>(name: string, data?: T, cancelable?: boolean, bubbles?: boolean): boolean;

*/
getSlottedNodes<T = Node>(slotName: string): T[];
getSlottedNodes<T = Node>(slotName: string): Array<T>;
/**
* Attach a callback that will be executed whenever the component's state is finalized
*
* @param {} callback
* @param callback
* @public

@@ -300,3 +295,3 @@ */

*
* @param {} callback
* @param callback
* @public

@@ -310,3 +305,3 @@ */

* @public
* @returns {String|undefined}
* @default undefined
*/

@@ -316,4 +311,4 @@ get effectiveDir(): string | undefined;

* Used to duck-type UI5 elements without using instanceof
* @returns {boolean}
* @public
* @default true
*/

@@ -371,7 +366,5 @@ get isUI5Element(): boolean;

*/
static getUniqueDependencies(this: typeof UI5Element): (typeof UI5Element)[];
static getUniqueDependencies(this: typeof UI5Element): Array<typeof UI5Element>;
/**
* Returns a promise that resolves whenever all dependencies for this UI5 Web Component have resolved
*
* @returns {Promise}
*/

@@ -383,3 +376,2 @@ static whenDependenciesDefined(): Promise<Array<typeof UI5Element>>;

* @protected
* @returns {Promise<void>}
*/

@@ -390,3 +382,2 @@ static onDefine(): Promise<void>;

* @public
* @returns {Promise<UI5Element>}
*/

@@ -398,3 +389,2 @@ static define(): Promise<typeof UI5Element>;

* @public
* @returns {UI5ElementMetadata}
*/

@@ -405,3 +395,2 @@ static getMetadata(): UI5ElementMetadata;

* Always use duck-typing to cover all runtimes on the page.
* @returns {boolean}
*/

@@ -408,0 +397,0 @@ declare const instanceOfUI5Element: (object: any) => object is UI5Element;

@@ -42,8 +42,5 @@ import merge from "./thirdparty/merge.js";

/**
* @class
* Base class for all UI5 Web Components
*
* @class
* @constructor
* @author SAP SE
* @alias sap.ui.webc.base.UI5Element
* @extends HTMLElement

@@ -323,3 +320,3 @@ * @public

*
* @param {InvalidationInfo} callback
* @param callback
* @public

@@ -333,3 +330,3 @@ */

*
* @param {InvalidationInfo} callback
* @param callback
* @public

@@ -343,4 +340,4 @@ */

*
* @param {sting} slotName the slot in which a child was invalidated
* @param { ChangeInfo } childChangeInfo the changeInfo object for the child in the given slot
* @param slotName the slot in which a child was invalidated
* @param childChangeInfo the changeInfo object for the child in the given slot
* @private

@@ -455,3 +452,2 @@ */

* @param slotName the name of the slot, where the child is
* @returns {ChildChangeListener}
* @private

@@ -469,3 +465,2 @@ */

* @param slotName the name of the slot, where the slot element (whose slotchange event we're listening to) is
* @returns {SlotChangeListener}
* @private

@@ -646,3 +641,3 @@ */

* Set the focus to the element, returned by "getFocusDomRef()" (marked by "data-sap-focus-ref")
* @param {FocusOptions} focusOptions additional options for the focus
* @param focusOptions additional options for the focus
* @public

@@ -664,3 +659,3 @@ */

* @param bubbles - true, if the event bubbles
* @returns {boolean} false, if the event was cancelled (preventDefault called), true otherwise
* @returns false, if the event was cancelled (preventDefault called), true otherwise
*/

@@ -709,3 +704,3 @@ fireEvent(name, data, cancelable = false, bubbles = true) {

*
* @param {} callback
* @param callback
* @public

@@ -719,3 +714,3 @@ */

*
* @param {} callback
* @param callback
* @public

@@ -731,3 +726,3 @@ */

* @public
* @returns {String|undefined}
* @default undefined
*/

@@ -740,4 +735,4 @@ get effectiveDir() {

* Used to duck-type UI5 elements without using instanceof
* @returns {boolean}
* @public
* @default true
*/

@@ -921,4 +916,2 @@ get isUI5Element() {

* Returns a promise that resolves whenever all dependencies for this UI5 Web Component have resolved
*
* @returns {Promise}
*/

@@ -932,3 +925,2 @@ static whenDependenciesDefined() {

* @protected
* @returns {Promise<void>}
*/

@@ -941,3 +933,2 @@ static async onDefine() {

* @public
* @returns {Promise<UI5Element>}
*/

@@ -968,3 +959,2 @@ static async define() {

* @public
* @returns {UI5ElementMetadata}
*/

@@ -993,3 +983,2 @@ static getMetadata() {

* Always use duck-typing to cover all runtimes on the page.
* @returns {boolean}
*/

@@ -996,0 +985,0 @@ const instanceOfUI5Element = (object) => {

@@ -37,3 +37,2 @@ import DataType from "./types/DataType.js";

/**
*
* @class

@@ -58,3 +57,3 @@ * @public

* <b>Note:</b> Only intended for use by UI5Element.js
* @pubic
* @public
*/

@@ -76,3 +75,2 @@ static validateSlotValue(value: Node, slotData: Slot): Node;

* @param propName
* @returns {boolean}
*/

@@ -83,14 +81,11 @@ hasAttribute(propName: string): boolean;

* @public
* @returns {string[]}
*/
getPropertiesList(): string[];
getPropertiesList(): Array<string>;
/**
* Returns an array with the attributes of the UI5 Element (in kebab-case)
* @public
* @returns {string[]}
*/
getAttributesList(): string[];
getAttributesList(): Array<string>;
/**
* Determines whether this UI5 Element has a default slot of type Node, therefore can slot text
* @returns {boolean}
*/

@@ -135,3 +130,2 @@ canSlotText(): boolean;

* Determines whether this UI5 Element has any translatable texts (needs to be invalidated upon language change)
* @returns {boolean}
*/

@@ -141,3 +135,2 @@ isLanguageAware(): boolean;

* Determines whether this UI5 Element has any theme dependant carachteristics.
* @returns {boolean}
*/

@@ -152,3 +145,2 @@ isThemeAware(): boolean;

* @param name the name of the property/slot that changed
* @returns {boolean}
*/

@@ -155,0 +147,0 @@ shouldInvalidateOnChildChange(slotName: string, type: "property" | "slot", name: string): boolean;

@@ -5,3 +5,2 @@ import { camelToKebabCase } from "./util/StringHelper.js";

/**
*
* @class

@@ -72,3 +71,3 @@ * @public

* <b>Note:</b> Only intended for use by UI5Element.js
* @pubic
* @public
*/

@@ -104,3 +103,2 @@ static validateSlotValue(value, slotData) {

* @param propName
* @returns {boolean}
*/

@@ -114,3 +112,2 @@ hasAttribute(propName) {

* @public
* @returns {string[]}
*/

@@ -123,3 +120,2 @@ getPropertiesList() {

* @public
* @returns {string[]}
*/

@@ -131,3 +127,2 @@ getAttributesList() {

* Determines whether this UI5 Element has a default slot of type Node, therefore can slot text
* @returns {boolean}
*/

@@ -197,3 +192,2 @@ canSlotText() {

* Determines whether this UI5 Element has any translatable texts (needs to be invalidated upon language change)
* @returns {boolean}
*/

@@ -205,3 +199,2 @@ isLanguageAware() {

* Determines whether this UI5 Element has any theme dependant carachteristics.
* @returns {boolean}
*/

@@ -218,3 +211,2 @@ isThemeAware() {

* @param name the name of the property/slot that changed
* @returns {boolean}
*/

@@ -221,0 +213,0 @@ shouldInvalidateOnChildChange(slotName, type, name) {

@@ -49,5 +49,5 @@ import type UI5Element from "../UI5Element.js";

_upgradeAllProperties(): void;
_getChildChangeListener(slotName: string): ((param: import("../UI5Element.js").ChangeInfo & {
_getChildChangeListener(slotName: string): (param: import("../UI5Element.js").ChangeInfo & {
target: UI5Element;
}) => void) | undefined;
}) => void;
_getSlotChangeListener(slotName: string): (this: HTMLSlotElement, ev: Event) => void;

@@ -54,0 +54,0 @@ _attachSlotChange(child: HTMLSlotElement, slotName: string): void;

{
"name": "@ui5/webcomponents-base",
"version": "1.21.0",
"version": "1.22.0-rc.0",
"description": "UI5 Web Components: webcomponents.base",

@@ -43,3 +43,3 @@ "author": "SAP SE (https://www.sap.com)",

"@openui5/sap.ui.core": "1.116.0",
"@ui5/webcomponents-tools": "1.21.0",
"@ui5/webcomponents-tools": "1.22.0-rc.0",
"chromedriver": "119.0.1",

@@ -54,3 +54,3 @@ "clean-css": "^5.2.2",

},
"gitHead": "cddf8ba1cf0e587fe084872c8fc2f2b598ffebbc"
"gitHead": "4cf0711a7e7a57b5b31453e8286f0a50ab4cb8d0"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc