@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
9 lines (8 loc) • 915 B
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o="kendo-populate-event";function r(e){return new CustomEvent(o,{bubbles:!0,cancelable:!0,detail:{fieldValues:e}})}function s(e,t){if(!e)return!1;const n=r(t);return e.dispatchEvent(n)}function a(e){if(!e)return document.body;const t=e.closest("form");if(t)return t;const n=e.closest(".k-form");return n||document.body}exports.KENDO_PASTE_EVENT_NAME=o;exports.createKendoPasteEvent=r;exports.dispatchKendoPasteEvent=s;exports.getKendoPasteEventTarget=a;