@tekkare/auriga 0.2.158 → 0.2.160

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
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.2.158"
7
+ "version": "0.2.160"
8
8
  }
@@ -54,7 +54,8 @@ export default defineComponent({
54
54
  authKey: { type: String },
55
55
  cluster: { type: String, default: "new" }
56
56
  },
57
- setup(props) {
57
+ emits: ["updateSources"],
58
+ setup(props, { emit }) {
58
59
  const sourceResults = ref(null);
59
60
  const isLoadingQuery = ref(false);
60
61
  function constructTitle(uuid) {
@@ -125,6 +126,7 @@ export default defineComponent({
125
126
  }).then((res) => res?.json()).then((res) => {
126
127
  if (res) {
127
128
  sourceResults.value = res?.hits?.hits?.map((x) => x?._source);
129
+ emit("updateSources", sourceResults.value);
128
130
  }
129
131
  }).catch((err) => {
130
132
  console.log("Error", err);
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
28
28
  frequency: any;
29
29
  };
30
30
  isLoadingQuery: import("vue").Ref<boolean, boolean>;
31
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "updateSources"[], "updateSources", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
32
  fields: {
33
33
  type: ArrayConstructor;
34
34
  };
@@ -45,7 +45,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
45
45
  type: StringConstructor;
46
46
  default: string;
47
47
  };
48
- }>> & Readonly<{}>, {
48
+ }>> & Readonly<{
49
+ onUpdateSources?: ((...args: any[]) => any) | undefined;
50
+ }>, {
49
51
  cluster: string;
50
52
  }, {}, {
51
53
  ArgSourceCollapse: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.158",
3
+ "version": "0.2.160",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",