UNPKG

@openui5/sap.m

Version:

OpenUI5 UI Library sap.m

51 lines (46 loc) 1.52 kB
/*! * OpenUI5 * (c) Copyright 2026 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides enumeration sap.m.p13n.ProcessingStrategy sap.ui.define(["sap/ui/base/DataType"], (DataType) => { "use strict"; /** * Defines the delta types of the <code>sap.m.p13n.p13n.Engine</code>. * * @enum {string} * @private * @ui5-restricted sap.m.p13n * @since 1.108 * @alias sap.m.p13n.enums.ProcessingStrategy */ const ProcessingStrategy = { /** * The delta will only calculate changes that will be added in addition to the existing state * * @private * @ui5-restricted sap.m.p13n */ Add: false, /** * The delta will calculate changes and include state that has been added and removed * <b>Note</b>: For example for array based state, entries added/removed will be respected. * For example for object/path based state, the diff will not include paths that have not been explicitly provided. * * @private * @ui5-restricted sap.m.p13n */ PartialReplace: true, /** * The delta will be calculated as complete/absolute state difference, in case the new state does not * provide a path to an existing state, this is going to be removed in addition to the PartialReplace processing strategy. * * @private * @ui5-restricted sap.m.p13n */ FullReplace: "FullReplace" }; DataType.registerEnum("sap.m.p13n.enums.ProcessingStrategy", ProcessingStrategy); return ProcessingStrategy; });