@bexis2/bexis2-core-ui 0.4.43 → 0.4.45
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 +7 -0
- package/dist/components/page/Docs.svelte +9 -3
- package/dist/components/page/menu/Menu.svelte +1 -0
- package/dist/components/page/menu/MenuDataCaller.js +1 -0
- package/dist/components/page/menu/SettingsBar.svelte +2 -1
- package/package.json +1 -1
- package/src/lib/components/page/Docs.svelte +9 -3
- package/src/lib/components/page/menu/Menu.svelte +3 -0
- package/src/lib/components/page/menu/MenuDataCaller.js +1 -0
- package/src/lib/components/page/menu/SettingsBar.svelte +2 -1
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>
|
|
@@ -3,6 +3,7 @@ import { AccordionItem } from "@skeletonlabs/skeleton";
|
|
|
3
3
|
import Fa from "svelte-fa";
|
|
4
4
|
import { faCog } from "@fortawesome/free-solid-svg-icons";
|
|
5
5
|
export let menuBar;
|
|
6
|
+
console.log("\u{1F680} ~ menuBar:", menuBar);
|
|
6
7
|
import MenuSublist from "./MenuSublist.svelte";
|
|
7
8
|
let popupCombobox = {
|
|
8
9
|
event: "click",
|
|
@@ -13,7 +14,7 @@ let popupCombobox = {
|
|
|
13
14
|
};
|
|
14
15
|
</script>
|
|
15
16
|
|
|
16
|
-
{#if menuBar}
|
|
17
|
+
{#if menuBar && menuBar.length > 0}
|
|
17
18
|
<div class="sm:hidden">
|
|
18
19
|
<AccordionItem padding="p-2">
|
|
19
20
|
<svelte:fragment slot="summary"
|
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>
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import { faCog } from '@fortawesome/free-solid-svg-icons';
|
|
8
8
|
|
|
9
9
|
export let menuBar: menuItemType[];
|
|
10
|
+
console.log("🚀 ~ menuBar:", menuBar)
|
|
10
11
|
//uicomponents
|
|
11
12
|
import MenuSublist from './MenuSublist.svelte';
|
|
12
13
|
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
};
|
|
20
21
|
</script>
|
|
21
22
|
|
|
22
|
-
{#if menuBar}
|
|
23
|
+
{#if menuBar && menuBar.length > 0}
|
|
23
24
|
<div class="sm:hidden">
|
|
24
25
|
<AccordionItem padding="p-2">
|
|
25
26
|
<svelte:fragment slot="summary"
|