@tekkare/auriga 0.2.54 → 0.2.56

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.54"
7
+ "version": "0.2.56"
8
8
  }
@@ -262,7 +262,8 @@ export default defineComponent({
262
262
  { iso: "LU", slug: "luxembourg", name: "Luxembourg" },
263
263
  { iso: "LT", slug: "lithuania", name: "Lithuania" },
264
264
  { iso: "LS", slug: "lesotho", name: "Lesotho" },
265
- { iso: "WW", slug: "world", name: "World" }
265
+ { iso: "WW", slug: "world", name: "World" },
266
+ { iso: "EU", slug: "europe", name: "Europe" }
266
267
  ];
267
268
  const countriesList = {
268
269
  AD: '<g clip-path="url(#clip0_2_2)"><mask id="mask0_2_2" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="21" height="15"><path d="M19 0H2C0.89543 0 0 0.89543 0 2V13C0 14.1046 0.89543 15 2 15H19C20.1046 15 21 14.1046 21 13V2C21 0.89543 20.1046 0 19 0Z" fill="white"/></mask><g mask="url(#mask0_2_2)"><path d="M19 0H2C0.89543 0 0 0.89543 0 2V13C0 14.1046 0.89543 15 2 15H19C20.1046 15 21 14.1046 21 13V2C21 0.89543 20.1046 0 19 0Z" fill="#FFE100"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 0H7V15H0V0Z" fill="#0006AB"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14 0H21V15H14V0Z" fill="#D20636"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.936 9.935C12.55 9.748 13 9.177 13 8.5V5.5C13 4.665 12.328 4 11.5 4H9.5C8.674 4 8 4.67 8 5.5V8.5C8 9.182 8.448 9.75 9.064 9.936C9.25 10.556 9.822 11 10.5 11C11.182 11 11.75 10.55 11.936 9.935Z" fill="#C8B47C"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9 5H10V6.5H9V5ZM11 7H12V8.5H11V7Z" fill="#D20636"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11 5H12V6.5H11V5ZM9 7H10V8.5H9V7Z" fill="#FFE100"/><path d="M19 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V13C0.5 13.8284 1.17157 14.5 2 14.5H19C19.8284 14.5 20.5 13.8284 20.5 13V2C20.5 1.17157 19.8284 0.5 19 0.5Z" stroke="black" stroke-opacity="0.1"/></g></g><defs><clipPath id="clip0_2_2"><rect width="21" height="15" fill="white"/></clipPath></defs>',
@@ -491,6 +492,8 @@ export default defineComponent({
491
492
  function getEmojiFlag(name2) {
492
493
  if (name2 === "WW") {
493
494
  return "\u{1F310}";
495
+ } else if (name2 === "EU") {
496
+ return "\u{1F1EA}\u{1F1FA}";
494
497
  } else {
495
498
  const codePoints = name2.toUpperCase().split("").map((char) => 127397 + char.charCodeAt());
496
499
  return String.fromCodePoint(...codePoints);
@@ -61,10 +61,21 @@
61
61
  <div class="oip_row v-center space-between full_stretch card_head">
62
62
  <p class="block_title">
63
63
  <span v-if="block.country"
64
- ><arg-flag v-if="block.iso" :iso="block.iso" height="14" />
64
+ ><arg-flag
65
+ v-if="block.iso"
66
+ :emoji="
67
+ block.iso === 'ww' || block.iso === 'eu' || block.emoji
68
+ "
69
+ :iso="block.iso"
70
+ height="14" />
65
71
  <arg-flag
66
72
  v-else
67
73
  :slug="block.country.toLowerCase()"
74
+ :emoji="
75
+ block.country === 'world' ||
76
+ block.country === 'europe' ||
77
+ block.emoji
78
+ "
68
79
  height="14" /></span
69
80
  >{{ block.title }}
70
81
  </p>
@@ -21,12 +21,18 @@
21
21
  v-if="selected.iso"
22
22
  :iso="selected.iso"
23
23
  height="16"
24
- :emoji="selected.iso === 'ww'"
24
+ :emoji="selected.iso === 'ww' || selected.iso === 'eu'"
25
+ ||
26
+ selected.emoji
25
27
  />
26
28
  <arg-flag
27
29
  v-else-if="selected.country"
28
30
  :slug="selected.country.toLowerCase()"
29
- :emoji="selected.country === 'world'"
31
+ :emoji="
32
+ selected.country === 'world' ||
33
+ selected.country === 'europe' ||
34
+ selected.emoji
35
+ "
30
36
  height="16"
31
37
  />
32
38
  <p class="theme_title">{{ selected.title }}</p>
@@ -36,7 +36,7 @@ export default defineComponent({
36
36
  name: "tableRowCrop",
37
37
  /* components: { argIcon, argStyle }, */
38
38
  props: {
39
- value: { type: [String, Number], default: "" },
39
+ value: { type: [String, Number, Array, Object], default: "" },
40
40
  custom: { type: Boolean, default: false }
41
41
  },
42
42
  setup(props, { emit }) {
@@ -1,6 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  value: {
3
- type: (StringConstructor | NumberConstructor)[];
3
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor | NumberConstructor)[];
4
4
  default: string;
5
5
  };
6
6
  custom: {
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
15
15
  showReadMore: import("vue").Ref<boolean>;
16
16
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
17
  value: {
18
- type: (StringConstructor | NumberConstructor)[];
18
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor | NumberConstructor)[];
19
19
  default: string;
20
20
  };
21
21
  custom: {
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
23
23
  default: boolean;
24
24
  };
25
25
  }>>, {
26
- value: string | number;
26
+ value: string | number | Record<string, any> | unknown[];
27
27
  custom: boolean;
28
28
  }, {}>;
29
29
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.54",
3
+ "version": "0.2.56",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",