@bexis2/bexis2-core-ui 0.4.43 → 0.4.44
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/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import Fa from "svelte-fa";
|
|
2
|
-
import { faQuestion } from "@fortawesome/free-solid-svg-icons";
|
|
2
|
+
import { faQuestion, faBook } from "@fortawesome/free-solid-svg-icons";
|
|
3
3
|
import { goTo } from "../../services/BaseCaller";
|
|
4
4
|
export let links = [];
|
|
5
5
|
import { popup } from "@skeletonlabs/skeleton";
|
|
@@ -29,8 +29,14 @@ const noteSettings = {
|
|
|
29
29
|
{/if}
|
|
30
30
|
|
|
31
31
|
{#each links as link}
|
|
32
|
-
<span class="chip variant-soft hover:variant-filled" on:click={() => goTo(link.url, false)} on:keypress={() => goTo(link.url, false)}>
|
|
33
|
-
<span>
|
|
32
|
+
<span role="button" tabindex="0" title="link" class="chip variant-soft hover:variant-filled" on:click={() => goTo(link.url, false)} on:keypress={() => goTo(link.url, false)}>
|
|
33
|
+
<span>
|
|
34
|
+
{#if link.label.toLowerCase()=='manual'}
|
|
35
|
+
<Fa icon={faBook} />
|
|
36
|
+
{:else}
|
|
37
|
+
{link.label}
|
|
38
|
+
{/if}
|
|
39
|
+
</span>
|
|
34
40
|
</span>
|
|
35
41
|
{/each}
|
|
36
42
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import Fa from 'svelte-fa';
|
|
3
|
-
import { faQuestion } from '@fortawesome/free-solid-svg-icons';
|
|
3
|
+
import { faQuestion, faBook } from '@fortawesome/free-solid-svg-icons';
|
|
4
4
|
import { goTo } from '$services/BaseCaller';
|
|
5
5
|
|
|
6
6
|
// links
|
|
@@ -39,8 +39,14 @@
|
|
|
39
39
|
{/if}
|
|
40
40
|
|
|
41
41
|
{#each links as link}
|
|
42
|
-
<span class="chip variant-soft hover:variant-filled" on:click={() => goTo(link.url, false)} on:keypress={() => goTo(link.url, false)}>
|
|
43
|
-
<span>
|
|
42
|
+
<span role="button" tabindex="0" title="link" class="chip variant-soft hover:variant-filled" on:click={() => goTo(link.url, false)} on:keypress={() => goTo(link.url, false)}>
|
|
43
|
+
<span>
|
|
44
|
+
{#if link.label.toLowerCase()=='manual'}
|
|
45
|
+
<Fa icon={faBook} />
|
|
46
|
+
{:else}
|
|
47
|
+
{link.label}
|
|
48
|
+
{/if}
|
|
49
|
+
</span>
|
|
44
50
|
</span>
|
|
45
51
|
{/each}
|
|
46
52
|
</div>
|