@invopop/popui 0.0.117 → 0.0.118
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.
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
import FeedIconStatus from "./FeedIconStatus.svelte";
|
|
3
3
|
import BaseFlag from "./BaseFlag.svelte";
|
|
4
4
|
import { getCountryName } from "./helpers.js";
|
|
5
|
-
import UuidCopy from "./UuidCopy.svelte";
|
|
6
5
|
import { Icon } from "@steeze-ui/svelte-icon";
|
|
6
|
+
import ButtonUuidCopy from "./ButtonUuidCopy.svelte";
|
|
7
7
|
export let field;
|
|
8
8
|
export let data = "";
|
|
9
|
-
export let isMobile = false;
|
|
10
9
|
export let badge = null;
|
|
11
10
|
export let status = null;
|
|
12
11
|
export let icons = null;
|
|
@@ -23,16 +22,7 @@ export let icons = null;
|
|
|
23
22
|
<span>{getCountryName(String(data))}</span>
|
|
24
23
|
</span>
|
|
25
24
|
{:else if field.copy && data}
|
|
26
|
-
<
|
|
27
|
-
rightAlign={isMobile ? false : field.rightAlign}
|
|
28
|
-
uuid={String(data)}
|
|
29
|
-
prefixLength={4}
|
|
30
|
-
suffixLength={4}
|
|
31
|
-
full
|
|
32
|
-
compact
|
|
33
|
-
dark={isMobile}
|
|
34
|
-
on:copied
|
|
35
|
-
/>
|
|
25
|
+
<ButtonUuidCopy uuid={String(data)} full on:copied />
|
|
36
26
|
{:else}
|
|
37
27
|
<span class="hidden md:inline">{data}</span>
|
|
38
28
|
<span class="md:hidden">{data ? data : badge || status ? '' : '-'}</span>
|