/*!
 * OpenUI5
 * (c) Copyright 2009-2026 SAP SE or an SAP affiliate company.
 * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
 */
sap.ui.define(['sap/uxap/BlockBase', "sap/ui/documentation/sdk/model/formatter"],
	function (BlockBase, formatter) {
		"use strict";

		var BlockBlue = BlockBase.extend("sap.ui.documentation.sdk.blocks.IndexEntry", {
			metadata: {
				views: {
					Collapsed: {
						viewName: "sap.ui.documentation.sdk.blocks.IndexEntry",
						type: "XML"
					},
					Expanded: {
						viewName: "sap.ui.documentation.sdk.blocks.IndexEntry",
						type: "XML"
					}
				}
			},
			formatText: function() {
				return formatter.formatIndexByVersionEntry.apply(formatter, arguments);
			}
		});

		return BlockBlue;

	});
