/*!
 * OpenUI5
 * (c) Copyright 2025 SAP SE or an SAP affiliate company.
 * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
 */
sap.ui.define([
	"sap/ui/rta/command/FlexCommand"
], function(
	FlexCommand
) {
	"use strict";

	/**
	 * Resize command
	 *
	 * @class
	 * @extends sap.ui.rta.command.FlexCommand
	 * @author SAP SE
	 * @version 1.136.9
	 * @constructor
	 * @private
	 * @since 1.101
	 * @alias sap.ui.rta.command.Resize
	 */
	var Resize = FlexCommand.extend("sap.ui.rta.command.Resize", {
		metadata: {
			library: "sap.ui.rta",
			properties: {
				// Generic structure is required as some implementations (e.g. Tables) create changes like in Settings action
				content: {
					type: "any"
				},
				changeType: {
					type: "string",
					defaultValue: "resize"
				}
			},
			associations: {},
			events: {}
		}
	});

	return Resize;
});