@tekkare/auriga 0.2.136 → 0.2.138

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.136"
7
+ "version": "0.2.138"
8
8
  }
@@ -149,7 +149,11 @@ export default defineComponent({
149
149
  props.options["chart"] = {
150
150
  animations: { enabled: false },
151
151
  redrawOnParentResize: true,
152
- redrawOnWindowResize: true
152
+ redrawOnWindowResize: true,
153
+ zoom: {
154
+ enabled: true,
155
+ allowMouseWheelZoom: false
156
+ }
153
157
  };
154
158
  if (props.titleInChart) {
155
159
  props.options["title"] = {
@@ -1,10 +1,11 @@
1
1
  <template>
2
2
  <div class="oip_table_card map_card-container" :id="`container_map-${title}`">
3
3
  <div class="p-24">
4
- <div class="oip_subtitle">
4
+ <slot name="customTitle" v-if="haveCustomTitle" />
5
+ <div v-else class="oip_subtitle">
5
6
  {{ title ? title : "Your map title" }}
6
7
  </div>
7
- <ArgSourceContainer @click="openSource">
8
+ <ArgSourceContainer v-if="source !== null" @click="openSource">
8
9
  {{ source ? source : "Your source" }}
9
10
  </ArgSourceContainer>
10
11
  </div>
@@ -90,6 +91,11 @@ export default defineComponent({
90
91
  type: [String, null],
91
92
  default: null
92
93
  },
94
+ haveCustomTitle: {
95
+ type: [String, null],
96
+ default: null,
97
+ required: false
98
+ },
93
99
  reverseColors: {
94
100
  type: Boolean,
95
101
  default: false
@@ -19,6 +19,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
19
19
  type: PropType<string | null>;
20
20
  default: null;
21
21
  };
22
+ haveCustomTitle: {
23
+ type: PropType<string | null>;
24
+ default: null;
25
+ required: false;
26
+ };
22
27
  reverseColors: {
23
28
  type: BooleanConstructor;
24
29
  default: boolean;
@@ -59,6 +64,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
59
64
  type: PropType<string | null>;
60
65
  default: null;
61
66
  };
67
+ haveCustomTitle: {
68
+ type: PropType<string | null>;
69
+ default: null;
70
+ required: false;
71
+ };
62
72
  reverseColors: {
63
73
  type: BooleanConstructor;
64
74
  default: boolean;
@@ -69,6 +79,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
69
79
  data: Data[];
70
80
  source: string | null;
71
81
  title: string | null;
82
+ haveCustomTitle: string | null;
72
83
  reverseColors: boolean;
73
84
  }, {}, {
74
85
  OneStateUs: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.136",
3
+ "version": "0.2.138",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",