fuma 0.3.11 → 0.3.12

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.
@@ -6,6 +6,8 @@ import { formatRange } from "../../../utils/formatRange.js";
6
6
  import { PeriodPicker } from "../../period/index.js";
7
7
  import { urlParam } from "../../../store/param.js";
8
8
  import { jsonParse } from "../../../utils/jsonParse.js";
9
+ import { Icon } from "../../icon/index.js";
10
+ import { mdiCalendarFilterOutline } from "@mdi/js";
9
11
  export let field;
10
12
  let dropDown;
11
13
  const initialValue = jsonParse(
@@ -69,6 +71,8 @@ function handleReset() {
69
71
  <span class="badge badge-primary badge-xs text-[0.7rem] font-normal text-white">
70
72
  {getLabel(period, time)}
71
73
  </span>
74
+ {:else}
75
+ <Icon path={mdiCalendarFilterOutline} size={15} class="opacity-50" />
72
76
  {/if}
73
77
  </button>
74
78
 
@@ -6,6 +6,8 @@ import { DropDown } from "../../menu/index.js";
6
6
  import { InputNumber } from "../../input/index.js";
7
7
  import { urlParam } from "../../../store/param.js";
8
8
  import { jsonParse } from "../../../utils/jsonParse.js";
9
+ import { mdiFilterMultipleOutline } from "@mdi/js";
10
+ import { Icon } from "../../icon/index.js";
9
11
  export let field;
10
12
  let tip;
11
13
  let { min, max } = initRange($page.url);
@@ -60,6 +62,8 @@ $:
60
62
  ≤ {max}
61
63
  {/if}
62
64
  </span>
65
+ {:else}
66
+ <Icon path={mdiFilterMultipleOutline} size={15} class="opacity-50" />
63
67
  {/if}
64
68
  </button>
65
69
 
@@ -5,6 +5,7 @@ import { DropDown } from "../../menu/index.js";
5
5
  import { Icon } from "../../icon/index.js";
6
6
  import { parseOptions } from "../../../utils/options.js";
7
7
  import { urlParam } from "../../../store/param.js";
8
+ import { mdiOrderBoolAscendingVariant } from "@mdi/js";
8
9
  export let field;
9
10
  export let options;
10
11
  export let multiSelect = false;
@@ -53,6 +54,8 @@ const getHref = derived(urlParam, (params) => (value) => {
53
54
  </span>
54
55
  {/each}
55
56
  </div>
57
+ {:else}
58
+ <Icon path={mdiOrderBoolAscendingVariant} size={15} class="opacity-50" />
56
59
  {/if}
57
60
  </button>
58
61
 
@@ -24,6 +24,8 @@ let searchValue = $page.url.searchParams.get(field.key) || "";
24
24
  <Icon path={mdiMagnify} size={10} class="-translate-x-1 fill-white/80" />
25
25
  <span>{searchValue}</span>
26
26
  </span>
27
+ {:else}
28
+ <Icon path={mdiMagnify} size={15} class="opacity-50" />
27
29
  {/if}
28
30
  </button>
29
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fuma",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "description": "My fullstack material build with sveltekit, daisyui, zod, prisma, lucia",
5
5
  "author": {
6
6
  "name": "Jonas Voisard",