UNPKG

@progress/kendo-react-inputs

Version:

React Inputs offer a customizable interface for users to enter and pick different information. KendoReact Input package

9 lines (8 loc) 985 B
/** * @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 o={};function t(c,a,e){o[c]={value:a,hsva:e}}function r(c,a,e){o[c]={value:a,rgba:e}}function h(c,a,e){o[c]={value:a,hex:e}}function n(c){delete o[c]}function d(c,a){if(c){const e=o[c];return e&&e.value===a?e.hex:void 0}}function v(c,a){if(c){const e=o[c];return e&&e.value===a?e.hsva:void 0}}function i(c,a){if(c){const e=o[c];return e&&e.value===a?e.rgba:void 0}}exports.cacheHex=h;exports.cacheHsva=t;exports.cacheRgba=r;exports.getCachedHex=d;exports.getCachedHsva=v;exports.getCachedRgba=i;exports.removeCachedColor=n;