{"version":3,"file":"property-action-base.controller-DoDWw2x7.js","sources":["../../../src/packages/core/property-action/components/property-action/property-action-base.controller.ts"],"sourcesContent":["import type { UmbPropertyActionArgs } from './types.js';\nimport type { UmbPropertyAction } from './property-action.interface.js';\nimport { UmbActionBase } from '@umbraco-cms/backoffice/action';\n\n/**\n * Base class for an property action.\n * @abstract\n * @class UmbPropertyActionBase\n * @augments {UmbActionBase}\n * @implements {UmbPropertyAction}\n */\nexport abstract class UmbPropertyActionBase\n\textends UmbActionBase>\n\timplements UmbPropertyAction\n{\n\t/**\n\t * By specifying the href, the action will act as a link.\n\t * The `execute` method will not be called.\n\t * @abstract\n\t * @returns {string | undefined}\n\t */\n\tpublic getHref(): Promise {\n\t\treturn Promise.resolve(undefined);\n\t}\n\n\t/**\n\t * By specifying the `execute` method, the action will act as a button.\n\t * @abstract\n\t * @returns {Promise}\n\t */\n\tpublic execute(): Promise {\n\t\treturn Promise.resolve();\n\t}\n}\n"],"names":["UmbPropertyActionBase","UmbActionBase"],"mappings":";AAWO,MAAeA,UACbC,EAET;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOQ,UAAuC;AACtC,WAAA,QAAQ,QAAQ,MAAS;AAAA,EACjC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOO,UAAyB;AAC/B,WAAO,QAAQ;EAChB;AACD;"}