@hostlink/nuxt-light 0.0.10 → 0.0.11

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/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "light",
3
3
  "configKey": "light",
4
- "version": "0.0.10"
4
+ "version": "0.0.11"
5
5
  }
@@ -1,7 +1,8 @@
1
1
  <script setup>
2
2
  import { useQuasar } from 'quasar';
3
3
  import { useRoute } from 'vue-router';
4
- import { ref, computed, onMounted } from "vue";
4
+ import { ref, computed, onMounted,useSlots } from "vue";
5
+ import { t } from '../light';
5
6
 
6
7
  const route = useRoute();
7
8
  const module = route.path.split("/")[1];
@@ -4,9 +4,4 @@ interface Light {
4
4
  removeError: (error: String) => void;
5
5
  }
6
6
  export declare function useLight(): Light;
7
- import q from "./lib/q";
8
- import m from "./lib/m";
9
- import f from "./lib/f";
10
- import getCurrentUser from "./lib/getCurrentUser";
11
- import login from "./lib/login";
12
- export { q, getCurrentUser, login, m, f };
7
+ export { addObject, f, getApiUrl, getCurrentUser, getObject, id, list, listData, login, m, mutation, q, removeObject, t, updateObject, viewAs } from "./lib";
@@ -15,9 +15,21 @@ export function useLight() {
15
15
  }
16
16
  };
17
17
  }
18
- import q from "./lib/q.mjs";
19
- import m from "./lib/m.mjs";
20
- import f from "./lib/f.mjs";
21
- import getCurrentUser from "./lib/getCurrentUser.mjs";
22
- import login from "./lib/login.mjs";
23
- export { q, getCurrentUser, login, m, f };
18
+ export {
19
+ addObject,
20
+ f,
21
+ getApiUrl,
22
+ getCurrentUser,
23
+ getObject,
24
+ id,
25
+ list,
26
+ listData,
27
+ login,
28
+ m,
29
+ mutation,
30
+ q,
31
+ removeObject,
32
+ t,
33
+ updateObject,
34
+ viewAs
35
+ } from "./lib/index.mjs";
@@ -1,4 +1,5 @@
1
1
  <script setup>
2
+ import { listData } from "../../light"
2
3
 
3
4
 
4
5
  const onRequest = async (params) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostlink/nuxt-light",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "@hostlink/nuxt-light",
6
6
  "license": "MIT",