@tekkare/auriga 0.2.101 → 0.2.102
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 +1 -1
- package/dist/runtime/components/allFlags.vue +7 -2
- package/dist/runtime/components/argChart.vue +10 -6
- package/dist/runtime/components/argChart.vue.d.ts +9 -0
- package/dist/runtime/components/argFlag.vue +1972 -202
- package/dist/runtime/components/argFlag.vue.d.ts +20 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div style="display: flex; flex-wrap: wrap; gap: 50px">
|
|
3
3
|
<div v-for="(c, index) in countries" :key="index">
|
|
4
4
|
<center>
|
|
5
|
-
<arg-flag :iso="c.iso" height="40" />
|
|
5
|
+
<arg-flag :iso="c.iso" height="40" square />
|
|
6
6
|
<p><strong>ISO</strong> : {{ c.iso }}</p>
|
|
7
7
|
<p style="font-size: 10px"><strong>Slug</strong> : {{ c.slug }}</p>
|
|
8
8
|
</center>
|
|
@@ -235,7 +235,12 @@ export default defineComponent({
|
|
|
235
235
|
{ iso: "LY", slug: "libya", name: "Libya" },
|
|
236
236
|
{ iso: "LU", slug: "luxembourg", name: "Luxembourg" },
|
|
237
237
|
{ iso: "LT", slug: "lithuania", name: "Lithuania" },
|
|
238
|
-
{ iso: "LS", slug: "lesotho", name: "Lesotho" }
|
|
238
|
+
{ iso: "LS", slug: "lesotho", name: "Lesotho" },
|
|
239
|
+
{ iso: "DZ", slug: "algeria", name: "Algeria" },
|
|
240
|
+
{ iso: "WW", slug: "world", name: "World" },
|
|
241
|
+
{ iso: "EU", slug: "europe", name: "Europe" },
|
|
242
|
+
{ iso: "VA", slug: "holy-see", name: "Holy See" },
|
|
243
|
+
{ iso: "NP", slug: "nepal", name: "Nepal" }
|
|
239
244
|
];
|
|
240
245
|
return {
|
|
241
246
|
countries
|
|
@@ -116,6 +116,10 @@ export default defineComponent({
|
|
|
116
116
|
direction: {
|
|
117
117
|
type: String,
|
|
118
118
|
default: "horizontal"
|
|
119
|
+
},
|
|
120
|
+
showXAxis: {
|
|
121
|
+
type: Boolean,
|
|
122
|
+
default: false
|
|
119
123
|
}
|
|
120
124
|
},
|
|
121
125
|
setup(props) {
|
|
@@ -628,10 +632,10 @@ export default defineComponent({
|
|
|
628
632
|
}
|
|
629
633
|
};
|
|
630
634
|
let defaultDataLabelsConfig = {
|
|
631
|
-
position: "top",
|
|
632
|
-
enabled: true,
|
|
633
|
-
offsetX: 65,
|
|
634
|
-
style: { fontSize: "14px", colors: ["#3E3F5E"] }
|
|
635
|
+
position: props.options?.dataLabels?.position ? props.options?.dataLabels?.position : "top",
|
|
636
|
+
enabled: props.options?.dataLabels?.enabled ? props.options?.dataLabels?.enabled : true,
|
|
637
|
+
offsetX: props.options?.dataLabels?.offsetX ? props.options?.dataLabels?.offsetX : 65,
|
|
638
|
+
style: props.options?.dataLabels?.style ? props.options?.dataLabels?.style : { fontSize: "14px", colors: ["#3E3F5E"] }
|
|
635
639
|
};
|
|
636
640
|
if (props.options.dataLabels && props.options.dataLabels.formatter) {
|
|
637
641
|
props.options["dataLabels"] = {
|
|
@@ -677,12 +681,12 @@ export default defineComponent({
|
|
|
677
681
|
show: true
|
|
678
682
|
};
|
|
679
683
|
props.options["xaxis"] = {
|
|
680
|
-
show:
|
|
684
|
+
show: props.showXAxis,
|
|
681
685
|
categories: props.categories,
|
|
682
686
|
axisBorder: { show: false },
|
|
683
687
|
axisTicks: { show: false },
|
|
684
688
|
labels: {
|
|
685
|
-
show:
|
|
689
|
+
show: props.showXAxis,
|
|
686
690
|
style: {
|
|
687
691
|
fontFamily: "Figtree, sans-serif",
|
|
688
692
|
fontSize: "14px",
|
|
@@ -69,6 +69,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
69
|
type: StringConstructor;
|
|
70
70
|
default: string;
|
|
71
71
|
};
|
|
72
|
+
showXAxis: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
72
76
|
}, {
|
|
73
77
|
percentage: (partialValue: any, totalValue: any) => number;
|
|
74
78
|
chartKey: import("vue").Ref<number>;
|
|
@@ -146,6 +150,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
146
150
|
type: StringConstructor;
|
|
147
151
|
default: string;
|
|
148
152
|
};
|
|
153
|
+
showXAxis: {
|
|
154
|
+
type: BooleanConstructor;
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
149
157
|
}>>, {
|
|
150
158
|
width: string;
|
|
151
159
|
height: string;
|
|
@@ -161,5 +169,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
161
169
|
chartSource: string;
|
|
162
170
|
sharedTooltip: boolean;
|
|
163
171
|
direction: string;
|
|
172
|
+
showXAxis: boolean;
|
|
164
173
|
}, {}>;
|
|
165
174
|
export default _default;
|