{"translation-revision-date":"2024-05-24T16:29:07+00:00","generator":"WP-CLI\/2.12.0","source":"src\/Launch\/components\/QuestionIcon\/Icons\/newsmode.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"en","plural-forms":"nplurals=2; plural=(n != 1);"},"Newsmode Icon":["Newsmode simgesi"]}}}import { Dialog } from '@elementor/app-ui';
import { Context as TemplatesContext } from '../context/templates';

export default function DialogDelete( props ) {
	const { deleteTemplate, findTemplateItemInState } = React.useContext( TemplatesContext );

	const closeDialog = ( shouldUpdate ) => {
		props.setId( null );

		if ( shouldUpdate ) {
			deleteTemplate( props.id );
		}
	};

	if ( ! props.id ) {
		return '';
	}

	const template = findTemplateItemInState( props.id );
	return (
		<Dialog
			title={ __( 'Move Item To Trash', 'elementor-pro' ) }
			text={ __( 'Are you sure you want to move this item to trash:', 'elementor-pro' ) + ` "${ template.title }"` }
			onSubmit={ () => closeDialog( true ) }
			approveButtonText={ __( 'Move to Trash', 'elementor-pro' ) }
			approveButtonOnClick={ () => closeDialog( true ) }
			approveButtonColor="danger"
			dismissButtonText={ __( 'Cancel', 'elementor-pro' ) }
			dismissButtonOnClick={ () => closeDialog() }
			onClose={ () => closeDialog() }
		/>
	);
}

DialogDelete.propTypes = {
	id: PropTypes.number,
	setId: PropTypes.func.isRequired,
};
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//www.sagraphicslk.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://www.sagraphicslk.com/post-sitemap.xml</loc>
		<lastmod>2026-06-17T18:20:26+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.sagraphicslk.com/page-sitemap.xml</loc>
		<lastmod>2026-07-11T13:38:17+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.sagraphicslk.com/category-sitemap.xml</loc>
		<lastmod>2026-06-17T18:20:26+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->