@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) • 554 B
JavaScript
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function i(){const t=navigator.userAgent.toLowerCase(),e=window.innerWidth;return e<=480?"mobile":e>480&&e<=768?"tablet":e>768&&e<=1024?"midTablet":e>1024&&e<=1366?"laptop":e>1366&&e<=1920?"desktop":e>1920?"wide":/mobile|android|iphone|phone|ipod|blackberry|iemobile|opera mini/i.test(t)?"mobile":/ipad|tablet/i.test(t)?e>1024?"midTablet":"tablet":/macintosh|windows/i.test(t)?e>1920?"wide":e>1366?"desktop":"laptop":"unknown"}exports.default=i;