<commit_before>/*!
 * ${copyright}
 */
sap.ui.define([
	"sap/base/util/restricted/_merge"
], function (
	_merge
) {
	"use strict";

	/**
	* Generate a customized configuration object for card actions.
	* @param {object} oCustomConfig - Object with the desired configuration customizations to be applied to the generated config.
	* @param {string} oCustomConfig.path - Action binding path
	* @param {string[]} [oCustomConfig.tags] - Property tags
	* @param {string|boolean} [oCustomConfig.visible] - Visibility condition expression
	* @param {number} [oCustomConfig.maxItems] - Maximum amount of actions
	* @returns {object} Card action configuration object
	* @function
	* @experimental
	* @private
	*/

	return function (oCustomConfig) {
		return _merge({}, {
			"label": "{i18n>CARD_EDITOR.ACTIONS}",
			"type": "array",
			"itemLabel": "{i18n>CARD_EDITOR.ACTION}",
			"addItemLabel": "{i18n>CARD_EDITOR.ACTION}",
			"template": {
				"enabled": {
					"label": "{i18n>CARD_EDITOR.ACTION.ENABLED}",
					"type": "boolean",
					"defaultValue": true,
					"path": "enabled"
				},
				"type": {
					"label": "{i18n>CARD_EDITOR.ACTION.TYPE}",
					"type": "enum",
					"enum": ["Navigation"],
					"path": "type",
					"visible": "{= !!${enabled}}"
				},
				"service": {
					"label": "{i18n>CARD_EDITOR.ACTION.SERVICE}",
					"type": "string",
					"path": "service",<commit_msg>[INTERNAL] sap.ui.integration: Action type as label<commit_after>/*!
 * ${copyright}
 */
sap.ui.define([
	"sap/base/util/restricted/_merge"
], function (
	_merge
) {
	"use strict";

	/**
	* Generate a customized configuration object for card actions.
	* @param {object} oCustomConfig - Object with the desired configuration customizations to be applied to the generated config.
	* @param {string} oCustomConfig.path - Action binding path
	* @param {string[]} [oCustomConfig.tags] - Property tags
	* @param {string|boolean} [oCustomConfig.visible] - Visibility condition expression
	* @param {number} [oCustomConfig.maxItems] - Maximum amount of actions
	* @returns {object} Card action configuration object
	* @function
	* @experimental
	* @private
	*/

	return function (oCustomConfig) {
		return _merge({}, {
			"label": "{i18n>CARD_EDITOR.ACTIONS}",
			"type": "array",
			"itemLabel": "{type}",
			"addItemLabel": "{i18n>CARD_EDITOR.ACTION}",
			"template": {
				"enabled": {
					"label": "{i18n>CARD_EDITOR.ACTION.ENABLED}",
					"type": "boolean",
					"defaultValue": true,
					"path": "enabled"
				},
				"type": {
					"label": "{i18n>CARD_EDITOR.ACTION.TYPE}",
					"type": "enum",
					"enum": ["Navigation"],
					"path": "type",
					"visible": "{= !!${enabled}}"
				},
				"service": {
					"label": "{i18n>CARD_EDITOR.ACTION.SERVICE}",
					"type": "string",
					"path": "service",
{'fraction_non_alphanumeric': 0.1755834829443447, 'fraction_numerical': 0.007899461400359067, 'mean_word_length': 3.845217391304348, 'pattern_counts': {'":': 40, '<': 3, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4446856', 'n_tokens_mistral': 1086, 'n_tokens_neox': 920, 'n_words': 216}