UNPKG

@progress/kendo-react-data-tools

Version:

Includes React Pager & React Filter component, an intuitive interface to create complex filter descriptions. KendoReact Data Tools package

9 lines (8 loc) 1.24 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./common.js");class r{constructor(i){this.copyHandler=e=>{this.clipboardEvent(t.ClipboardActionType.copy,e)},this.cutHandler=e=>{this.clipboardEvent(t.ClipboardActionType.cut,e)},this.pasteHandler=e=>{this.clipboardEvent(t.ClipboardActionType.paste,e)},this.addEventListeners=e=>{e&&(e.addEventListener(t.ClipboardActionType.copy,this.copyHandler),e.addEventListener(t.ClipboardActionType.cut,this.cutHandler),e.addEventListener(t.ClipboardActionType.paste,this.pasteHandler))},this.removeEventListeners=e=>{e&&(e.removeEventListener(t.ClipboardActionType.copy,this.copyHandler),e.removeEventListener(t.ClipboardActionType.cut,this.cutHandler),e.removeEventListener(t.ClipboardActionType.paste,this.pasteHandler))},this.clipboardEvent=i}}exports.ClipboardService=r;