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.

2 lines (1 loc) 529 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("dompurify"),o=t=>typeof t=="boolean"?t:typeof t=="string"?t==="true":!1,r=t=>typeof t=="number"?t:typeof t=="string"&&parseInt(t)||0,i=t=>new DOMParser().parseFromString(t,"text/html").documentElement.textContent,s=t=>{const e=new DOMParser().parseFromString(t,"text/html");return n.sanitize(e.documentElement.innerHTML)};exports.decodeHtmlEntitiesToHtml=s;exports.decodeHtmlEntitiesToText=i;exports.toBoolean=o;exports.toNumber=r;