@eaera-com/eaera-widgets-v2

Vue 3 UI widget library shared across Eaera CRM products
5,384
Install
npm install @eaera-com/eaera-widgets-v2
Latest Version:0.1.99
Vue:3
License:Proprietary
Last Updated:Oct 16, 2026
Links: npm
Maintainer: nhattran-eaera

@eaera-com/eaera-widgets-v2

Shared Vue 3 UI widget library built with Vite + TypeScript, used across Eaera CRM products (Backoffice and Client Portals). Ships per-component ESM modules for tree-shaking, a full single-file bundle, and bundled type declarations.

Install

yarn add @eaera-com/eaera-widgets-v2

Required peer dependencies (Yarn does not install peers automatically):

yarn add vue@^3.5 element-plus@^2.14 @element-plus/icons-vue@^2.1 @lucide/vue@^1.14 vue-i18n@^9

Optional peers, only needed if you use the chart widgets:

yarn add echarts@^5.4 vue-echarts@^6.6 lightweight-charts@^5.2

Usage

Full import via the tree-shakable root facade:

import { EaeraButton, EaeraDateTimePicker } from '@eaera-com/eaera-widgets-v2';
import '@eaera-com/eaera-widgets-v2/style.css';

Per-component subpath import (pulls only that widget and its shared chunks):

import EaeraButton from '@eaera-com/eaera-widgets-v2/components/base/EaeraButton';

Single-file bundle (no tree-shaking, everything included):

import { EaeraButton } from '@eaera-com/eaera-widgets-v2/bundle';

Per-component type declarations are resolved automatically from the exports map; no extra types config is needed in consumers.

Styles

Widget-specific styles ship in the style.css export above. Element Plus styles are not injected — the host app must load them itself, e.g.:

import 'element-plus/dist/index.css';

Icon SVG assets (currency/flag icons) are emitted as separate files under assets/ and fetched only when referenced, keeping the shared chunks small.

Development (this repo)

yarn dev         # vite playground
yarn storybook   # component stories
yarn build       # umbrella bundle + per-component build + d.ts shims
yarn typecheck   # vue-tsc --noEmit

The library is published to the public npm registry with publishConfig.access: public.

Attributions

Country flag SVGs: 46 icons sourced from flag-icons v7.2.3.

Copyright (c) 2013 Panayiotis Lipiridis

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, subject to the above copyright notice and this permission notice being included in all copies or substantial portions of the Software.

License

Copyright (c) 2026 EAERA. All rights reserved.

This package is UNLICENSED: it is published for internal use by Eaera products only. No rights to use, copy, modify, or redistribute are granted beyond what is necessary to install it as a dependency of an Eaera product. The flag-icons assets above remain subject to their own MIT license.

Related Packages

@eaera-com/eaera-widgets-vue3

Vue 3 UI widget library shared across Eaera CRM products

748
mcl-ui-framework

A Vue 3 UI framework with Element Plus and custom components

6,066
@xdmp-open/ui-shared

XDMP platform shared Vue 3 components, directives and theme tokens

2,147
@hanvzur/aor-ui

一个基于Vue3 和Element Plus 的自定义组件库

304
aor-ui

一个基于Vue3 和Element Plus 的自定义组件库

5

Version History

Version Released License
0.1.99 Proprietary
0.1.98 Proprietary
0.1.97 Proprietary
0.1.96 Proprietary
0.1.94 Proprietary