@tekkare/auriga 0.1.140 → 0.1.142

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.1.140"
7
+ "version": "0.1.142"
8
8
  }
@@ -27,7 +27,6 @@ export default defineComponent({
27
27
  props: {
28
28
  btnStyle: { type: String, default: "primary-fill" }
29
29
  },
30
- emits: ["changeScope", "update:Scope", "onNewScope", "onClear"],
31
30
  setup(props, { emit }) {
32
31
  const isDisplay = ref(false);
33
32
  function closeDropdown() {
@@ -7,17 +7,12 @@ declare const _default: import("vue").DefineComponent<{
7
7
  isDisplay: import("vue").Ref<boolean>;
8
8
  closeDropdown: () => void;
9
9
  changeDisplay: () => void;
10
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeScope" | "update:Scope" | "onNewScope" | "onClear")[], "changeScope" | "update:Scope" | "onNewScope" | "onClear", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
11
  btnStyle: {
12
12
  type: StringConstructor;
13
13
  default: string;
14
14
  };
15
- }>> & {
16
- onChangeScope?: ((...args: any[]) => any) | undefined;
17
- "onUpdate:Scope"?: ((...args: any[]) => any) | undefined;
18
- onOnNewScope?: ((...args: any[]) => any) | undefined;
19
- onOnClear?: ((...args: any[]) => any) | undefined;
20
- }, {
15
+ }>>, {
21
16
  btnStyle: string;
22
17
  }, {}>;
23
18
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
13
13
  selectedScope: import("vue").Ref<any>;
14
14
  selectScope: () => void;
15
15
  createNewScope: () => void;
16
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:Scope" | "onSelectScope" | "onCreateScope")[], "update:Scope" | "onSelectScope" | "onCreateScope", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectScope" | "update:Scope" | "onCreateScope")[], "onSelectScope" | "update:Scope" | "onCreateScope", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
17
  lang: {
18
18
  type: StringConstructor;
19
19
  default: string;
@@ -24,8 +24,8 @@ declare const _default: import("vue").DefineComponent<{
24
24
  default: () => never[];
25
25
  };
26
26
  }>> & {
27
- "onUpdate:Scope"?: ((...args: any[]) => any) | undefined;
28
27
  onOnSelectScope?: ((...args: any[]) => any) | undefined;
28
+ "onUpdate:Scope"?: ((...args: any[]) => any) | undefined;
29
29
  onOnCreateScope?: ((...args: any[]) => any) | undefined;
30
30
  }, {
31
31
  lang: string;
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
59
59
  selectedScope: import("vue").Ref<any>;
60
60
  newScope: () => void;
61
61
  clearScope: () => void;
62
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeScope" | "update:Scope" | "onNewScope" | "onClear")[], "changeScope" | "update:Scope" | "onNewScope" | "onClear", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
62
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:Scope" | "changeScope" | "onNewScope" | "onClear")[], "update:Scope" | "changeScope" | "onNewScope" | "onClear", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
63
63
  scopes: {
64
64
  type: {
65
65
  (arrayLength: number): string[];
@@ -112,8 +112,8 @@ declare const _default: import("vue").DefineComponent<{
112
112
  default: boolean;
113
113
  };
114
114
  }>> & {
115
- onChangeScope?: ((...args: any[]) => any) | undefined;
116
115
  "onUpdate:Scope"?: ((...args: any[]) => any) | undefined;
116
+ onChangeScope?: ((...args: any[]) => any) | undefined;
117
117
  onOnNewScope?: ((...args: any[]) => any) | undefined;
118
118
  onOnClear?: ((...args: any[]) => any) | undefined;
119
119
  }, {
@@ -100,7 +100,7 @@ export default defineComponent({
100
100
  if (props.sourceCountry === "United States") {
101
101
  return "usa";
102
102
  } else if (props.sourceCountry === "United Kingdom") {
103
- return "gb";
103
+ return "uk";
104
104
  } else if (props.sourceCountry === "Poland") {
105
105
  return "republic-of-poland";
106
106
  } else
@@ -3,7 +3,7 @@
3
3
  class="info_main_container"
4
4
  :class="infoOpen ? 'info_main_container_open' : ''"
5
5
  >
6
- <div class="oip_info_container">
6
+ <div class="oip_info_container" @click.stop>
7
7
  <div v-if="infoOpen" class="oip_info_close" @click="closeInfo()">
8
8
  <arg-icon name="X" size="20" />
9
9
  <p>Close</p>
@@ -103,6 +103,17 @@ export default defineComponent({
103
103
  trueActiveMenu.value = new_active_menu;
104
104
  }
105
105
  );
106
+ watch(
107
+ () => infoOpen.value,
108
+ () => {
109
+ if (infoOpen.value) {
110
+ setTimeout(() => {
111
+ document.addEventListener("click", closeInfo);
112
+ }, 500);
113
+ } else
114
+ document.removeEventListener("click", closeInfo);
115
+ }
116
+ );
106
117
  onMounted(() => {
107
118
  trueActiveMenu.value = props.activeMenu;
108
119
  infoOpen.value = props.toolbarOpen;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.140",
3
+ "version": "0.1.142",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",