@nexdom/uimed-vue 1.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 NEXDOM
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,79 @@
1
+ # @nexdom/uimed-vue
2
+
3
+ [![CI](https://github.com/nexdom-healthtech/uimed-vue/actions/workflows/ci.yml/badge.svg)](https://github.com/nexdom-healthtech/uimed-vue/actions/workflows/ci.yml)
4
+ [![CD](https://github.com/nexdom-healthtech/uimed-vue/actions/workflows/cd.yml/badge.svg)](https://github.com/nexdom-healthtech/uimed-vue/actions/workflows/cd.yml)
5
+ [![Dependabot](https://github.com/nexdom-healthtech/uimed-vue/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/nexdom-healthtech/uimed-vue/actions/workflows/dependabot/dependabot-updates)
6
+
7
+ A ui framework for NEXDOM applications, based on [Vuetify](https://vuetifyjs.com/).
8
+
9
+ For more examples and information, check the [docs page](https://nexdom-healthtech.github.io/uimed-vue/).
10
+
11
+ ## 💻 Get started
12
+
13
+ ### Install
14
+
15
+ ```bash
16
+ vp add @nexdom/uimed-vue
17
+ # But, if you're not using Vite+ yet...
18
+ npm i @nexdom/uimed-vue
19
+ # Or
20
+ pnpm add @nexdom/uimed-vue
21
+ # Or
22
+ yarn add @nexdom/uimed-vue
23
+ ```
24
+
25
+ ### Setup
26
+
27
+ Add Vite config:
28
+
29
+ ```ts
30
+ // vite.config.js
31
+ import { vitePluginUimed } from "@nexdom/uimed-vue/plugins.ts";
32
+
33
+ /// ...
34
+
35
+ plugins: [vue(), vitePluginUimed()];
36
+
37
+ // ...
38
+ ```
39
+
40
+ Use Uimed inside the Vue app:
41
+
42
+ ```ts
43
+ // main.js or main.ts
44
+ import { createApp } from "vue";
45
+ import { createUimed } from "@nexdom/uimed-vue";
46
+
47
+ import App from "./App.vue";
48
+
49
+ const uimed = createUimed();
50
+
51
+ createApp(App).use(uimed).mount("#app");
52
+ ```
53
+
54
+ ### Usage
55
+
56
+ Add the `Root` component to you `App.vue`, then add the rest of the components as needed:
57
+
58
+ ```vue
59
+ <!-- App.vue -->
60
+ <template>
61
+ <Root>
62
+ <!-- ... -->
63
+ </Root>
64
+ </template>
65
+
66
+ <script setup lang="ts">
67
+ import { Root } from "@nexdom/uimed-vue/components";
68
+ </script>
69
+ ```
70
+
71
+ ## 🧱 Contribute
72
+
73
+ Help us improve our community.
74
+
75
+ Report an [issue](https://github.com/nexdom-healthtech/uimed-vue/issues) you've found or check our [Contribution Guide](./CONTRIBUTING.md) to learn how to code in our project and open your own PRs to us.
76
+
77
+ ## 📄 License
78
+
79
+ [MIT License](./LICENSE) © 2026-PRESENT NEXDOM
@@ -0,0 +1,15 @@
1
+ //#region src/components/root.vue.d.ts
2
+ /**
3
+ * Root component to be placed at the top of the component tree.
4
+ */
5
+ declare const _default: typeof __VLS_export;
6
+ declare const __VLS_export: __VLS_WithSlots<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<{}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>, {
7
+ default?: (props: {}) => any;
8
+ }>;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
14
+ //#endregion
15
+ export { _default as Root };
@@ -0,0 +1,18 @@
1
+ import { createBlock, defineComponent, openBlock, renderSlot, unref, withCtx } from "vue";
2
+ import { VApp } from "vuetify/components";
3
+ //#endregion
4
+ //#region src/components/root.vue
5
+ var root_default = /* @__PURE__ */ defineComponent({
6
+ inheritAttrs: false,
7
+ __name: "root",
8
+ setup(__props) {
9
+ return (_ctx, _cache) => {
10
+ return openBlock(), createBlock(unref(VApp), null, {
11
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
12
+ _: 3
13
+ });
14
+ };
15
+ }
16
+ });
17
+ //#endregion
18
+ export { root_default as Root };
@@ -0,0 +1,23 @@
1
+ import "@fontsource/roboto/100.css";
2
+ import "@fontsource/roboto/300.css";
3
+ import "@fontsource/roboto/400.css";
4
+ import "@fontsource/roboto/500.css";
5
+ import "@fontsource/roboto/700.css";
6
+ import "@fontsource/roboto/900.css";
7
+ import "@fontsource/roboto/100-italic.css";
8
+ import "@fontsource/roboto/300-italic.css";
9
+ import "@fontsource/roboto/400-italic.css";
10
+ import "@fontsource/roboto/500-italic.css";
11
+ import "@fontsource/roboto/700-italic.css";
12
+ import "@fontsource/roboto/900-italic.css";
13
+ import "@mdi/font/css/materialdesignicons.css";
14
+ import "vuetify/styles";
15
+ import { Plugin } from "vue";
16
+ //#region src/index.d.ts
17
+ /**
18
+ * Create an uimed-vue instance to be installed after [createApp](https://vuejs.org/guide/essentials/application.html#the-application-instance).
19
+ * @returns an instance to be used with [app.use](https://vuejs.org/guide/essentials/application.html#the-application-instance)
20
+ */
21
+ declare function createUimed(): Plugin;
22
+ //#endregion
23
+ export { createUimed };
package/dist/index.js ADDED
@@ -0,0 +1,26 @@
1
+ import "@fontsource/roboto/100.css";
2
+ import "@fontsource/roboto/300.css";
3
+ import "@fontsource/roboto/400.css";
4
+ import "@fontsource/roboto/500.css";
5
+ import "@fontsource/roboto/700.css";
6
+ import "@fontsource/roboto/900.css";
7
+ import "@fontsource/roboto/100-italic.css";
8
+ import "@fontsource/roboto/300-italic.css";
9
+ import "@fontsource/roboto/400-italic.css";
10
+ import "@fontsource/roboto/500-italic.css";
11
+ import "@fontsource/roboto/700-italic.css";
12
+ import "@fontsource/roboto/900-italic.css";
13
+ import "@mdi/font/css/materialdesignicons.css";
14
+ import "vuetify/styles";
15
+ import { createVuetify } from "vuetify";
16
+ import "vue";
17
+ //#region src/index.ts
18
+ /**
19
+ * Create an uimed-vue instance to be installed after [createApp](https://vuejs.org/guide/essentials/application.html#the-application-instance).
20
+ * @returns an instance to be used with [app.use](https://vuejs.org/guide/essentials/application.html#the-application-instance)
21
+ */
22
+ function createUimed() {
23
+ return createVuetify({ theme: { defaultTheme: "light" } });
24
+ }
25
+ //#endregion
26
+ export { createUimed };
@@ -0,0 +1,5 @@
1
+ import vitePluginVuetify from "vite-plugin-vuetify";
2
+ //#region src/plugins.d.ts
3
+ declare function vitePluginUimed(): ReturnType<typeof vitePluginVuetify>;
4
+ //#endregion
5
+ export { vitePluginUimed };
@@ -0,0 +1,7 @@
1
+ import vitePluginVuetify from "vite-plugin-vuetify";
2
+ //#region src/plugins.ts
3
+ function vitePluginUimed() {
4
+ return vitePluginVuetify({ autoImport: false });
5
+ }
6
+ //#endregion
7
+ export { vitePluginUimed };
package/package.json ADDED
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "@nexdom/uimed-vue",
3
+ "version": "1.0.0-alpha.1",
4
+ "description": "A ui framework for NEXDOM applications.",
5
+ "keywords": [
6
+ "lib",
7
+ "nexdom",
8
+ "typescript",
9
+ "utils"
10
+ ],
11
+ "homepage": "https://nexdom-healthtech.github.io/uimed-vue/",
12
+ "bugs": {
13
+ "url": "https://github.com/nexdom-healthtech/uimed-vue/issues"
14
+ },
15
+ "license": "MIT",
16
+ "author": "Douglas Martins <douglas.martins@nexdom.tec.br>",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/nexdom-healthtech/uimed-vue.git",
20
+ "home": "https://github.com/nexdom-healthtech/uimed-vue#readme"
21
+ },
22
+ "files": [
23
+ "dist"
24
+ ],
25
+ "type": "module",
26
+ "exports": {
27
+ ".": "./dist/index.js",
28
+ "./components": "./dist/components.js",
29
+ "./plugins": "./dist/plugins.js",
30
+ "./package.json": "./package.json"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
35
+ "scripts": {
36
+ "build": "vp pack",
37
+ "dev": "vp pack --watch",
38
+ "test": "vp test",
39
+ "check": "vp check",
40
+ "prepublishOnly": "vpr build",
41
+ "prepare": "vp config",
42
+ "depcruise": "depcruise src --output-type err-long",
43
+ "depcruise:graph": "depcruise src --output-type dot| dot -T svg > dependencygraph.svg",
44
+ "depcruise:graph:no-tests": "depcruise src --exclude \"__tests__\" --output-type dot | dot -T svg > dependencygraph.no-tests.svg",
45
+ "docs:dev": "vitepress dev docs --host",
46
+ "docs:preview": "vitepress preview docs"
47
+ },
48
+ "devDependencies": {
49
+ "@commitlint/cli": "^21.2.1",
50
+ "@commitlint/config-conventional": "^21.2.0",
51
+ "@fontsource/roboto": "^5.3.0",
52
+ "@mdi/font": "^7.4.47",
53
+ "@types/node": "^26.1.2",
54
+ "@typescript/native-preview": "7.0.0-dev.20260707.2",
55
+ "@vitejs/plugin-vue": "^6.0.8",
56
+ "@vitest/coverage-v8": "4.1.10",
57
+ "@vue/test-utils": "^2.4.11",
58
+ "bumpp": "^12.1.1",
59
+ "dependency-cruiser": "^18.1.1",
60
+ "jsdom": "^30.0.1",
61
+ "oxc-minify": "^0.143.0",
62
+ "postcss": "^8.5.25",
63
+ "resize-observer-polyfill": "^1.5.1",
64
+ "typescript": "^6.0.3",
65
+ "vite-plugin-vuetify": "^2.1.3",
66
+ "vite-plus": "^0.2.7",
67
+ "vitepress": "2.0.0-alpha.19",
68
+ "vitepress-plugin-group-icons": "^1.7.6",
69
+ "vue": "^3.5.40",
70
+ "vue-tsc": "^3.3.9",
71
+ "vuetify": "^4.1.7"
72
+ },
73
+ "peerDependencies": {
74
+ "@fontsource/roboto": "^5.3.0",
75
+ "@mdi/font": "^7.4.47",
76
+ "vite-plugin-vuetify": "^2.1.3",
77
+ "vue": "^3.5.40",
78
+ "vuetify": "^4.1.7"
79
+ },
80
+ "commitlint": {
81
+ "extends": [
82
+ "@commitlint/config-conventional"
83
+ ]
84
+ },
85
+ "packageManager": "pnpm@10.32.0"
86
+ }