UNPKG

@devgateway/dvz-ui-react

Version:

A modular, embeddable React component library for data visualization and UI, built with TypeScript. Provides reusable components for charts, maps, dashboards, and more, with built-in support for internationalization and Redux integration.

14 lines (13 loc) 356 B
const n = (r, e) => e ? r : decodeURIComponent(r.replace(/%(?![0-9a-fA-F][0-9a-fA-F]+)/g, "%25")), t = (r, e) => { try { return JSON.parse(n(r, e)); } catch { console.error("error parsing value:" + r); } return null; }, s = (r, e) => JSON.stringify(r) === JSON.stringify(e); export { s as compareJsonProps, n as decode, t as parse };