@frontify/fondue-components 29.1.0 → 29.2.0
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/fondue-components.js +72 -70
- package/dist/fondue-components.js.map +1 -1
- package/dist/fondue-components10.js +176 -33
- package/dist/fondue-components10.js.map +1 -1
- package/dist/fondue-components100.js +8 -23
- package/dist/fondue-components100.js.map +1 -1
- package/dist/fondue-components101.js +11 -34
- package/dist/fondue-components101.js.map +1 -1
- package/dist/fondue-components102.js +10 -10
- package/dist/fondue-components103.js +6 -67
- package/dist/fondue-components103.js.map +1 -1
- package/dist/fondue-components104.js +12 -14
- package/dist/fondue-components104.js.map +1 -1
- package/dist/fondue-components105.js +22 -25
- package/dist/fondue-components105.js.map +1 -1
- package/dist/fondue-components106.js +34 -19
- package/dist/fondue-components106.js.map +1 -1
- package/dist/fondue-components107.js +10 -24
- package/dist/fondue-components107.js.map +1 -1
- package/dist/fondue-components108.js +67 -8
- package/dist/fondue-components108.js.map +1 -1
- package/dist/fondue-components109.js +14 -30
- package/dist/fondue-components109.js.map +1 -1
- package/dist/fondue-components11.js +35 -185
- package/dist/fondue-components11.js.map +1 -1
- package/dist/fondue-components110.js +23 -4
- package/dist/fondue-components110.js.map +1 -1
- package/dist/fondue-components111.js +18 -4
- package/dist/fondue-components111.js.map +1 -1
- package/dist/fondue-components112.js +24 -4
- package/dist/fondue-components112.js.map +1 -1
- package/dist/fondue-components113.js +9 -14
- package/dist/fondue-components113.js.map +1 -1
- package/dist/fondue-components114.js +32 -16
- package/dist/fondue-components114.js.map +1 -1
- package/dist/fondue-components115.js +7 -111
- package/dist/fondue-components115.js.map +1 -1
- package/dist/fondue-components116.js +4 -12
- package/dist/fondue-components116.js.map +1 -1
- package/dist/fondue-components117.js +5 -17
- package/dist/fondue-components117.js.map +1 -1
- package/dist/fondue-components118.js +16 -12
- package/dist/fondue-components118.js.map +1 -1
- package/dist/fondue-components119.js +14 -17
- package/dist/fondue-components119.js.map +1 -1
- package/dist/fondue-components12.js +185 -7
- package/dist/fondue-components12.js.map +1 -1
- package/dist/fondue-components120.js +17 -127
- package/dist/fondue-components120.js.map +1 -1
- package/dist/fondue-components121.js +110 -10
- package/dist/fondue-components121.js.map +1 -1
- package/dist/fondue-components122.js +12 -35
- package/dist/fondue-components122.js.map +1 -1
- package/dist/fondue-components123.js +15 -215
- package/dist/fondue-components123.js.map +1 -1
- package/dist/fondue-components124.js +10 -16
- package/dist/fondue-components124.js.map +1 -1
- package/dist/fondue-components125.js +32 -16
- package/dist/fondue-components125.js.map +1 -1
- package/dist/fondue-components126.js +6 -151
- package/dist/fondue-components126.js.map +1 -1
- package/dist/fondue-components127.js +127 -45
- package/dist/fondue-components127.js.map +1 -1
- package/dist/fondue-components128.js +11 -42
- package/dist/fondue-components128.js.map +1 -1
- package/dist/fondue-components129.js +39 -0
- package/dist/fondue-components129.js.map +1 -0
- package/dist/fondue-components13.js +8 -63
- package/dist/fondue-components13.js.map +1 -1
- package/dist/fondue-components130.js +216 -40
- package/dist/fondue-components130.js.map +1 -1
- package/dist/fondue-components131.js +14 -165
- package/dist/fondue-components131.js.map +1 -1
- package/dist/fondue-components132.js +17 -60
- package/dist/fondue-components132.js.map +1 -1
- package/dist/fondue-components133.js +151 -9
- package/dist/fondue-components133.js.map +1 -1
- package/dist/fondue-components134.js +44 -255
- package/dist/fondue-components134.js.map +1 -1
- package/dist/fondue-components135.js +170 -6
- package/dist/fondue-components135.js.map +1 -1
- package/dist/fondue-components136.js +60 -12
- package/dist/fondue-components136.js.map +1 -1
- package/dist/fondue-components137.js +9 -71
- package/dist/fondue-components137.js.map +1 -1
- package/dist/fondue-components138.js +255 -14
- package/dist/fondue-components138.js.map +1 -1
- package/dist/fondue-components14.js +61 -35
- package/dist/fondue-components14.js.map +1 -1
- package/dist/fondue-components140.js +40 -87
- package/dist/fondue-components140.js.map +1 -1
- package/dist/fondue-components141.js +40 -80
- package/dist/fondue-components141.js.map +1 -1
- package/dist/fondue-components142.js +6 -31
- package/dist/fondue-components142.js.map +1 -1
- package/dist/fondue-components143.js +11 -18
- package/dist/fondue-components143.js.map +1 -1
- package/dist/fondue-components144.js +68 -67
- package/dist/fondue-components144.js.map +1 -1
- package/dist/fondue-components145.js +14 -1351
- package/dist/fondue-components145.js.map +1 -1
- package/dist/fondue-components146.js +7 -941
- package/dist/fondue-components146.js.map +1 -1
- package/dist/fondue-components147.js +87 -196
- package/dist/fondue-components147.js.map +1 -1
- package/dist/fondue-components148.js +78 -18
- package/dist/fondue-components148.js.map +1 -1
- package/dist/fondue-components149.js +30 -39
- package/dist/fondue-components149.js.map +1 -1
- package/dist/fondue-components15.js +36 -121
- package/dist/fondue-components15.js.map +1 -1
- package/dist/fondue-components150.js +17 -66
- package/dist/fondue-components150.js.map +1 -1
- package/dist/fondue-components151.js +69 -30
- package/dist/fondue-components151.js.map +1 -1
- package/dist/fondue-components152.js +1352 -9
- package/dist/fondue-components152.js.map +1 -1
- package/dist/fondue-components153.js +939 -151
- package/dist/fondue-components153.js.map +1 -1
- package/dist/fondue-components154.js +197 -107
- package/dist/fondue-components154.js.map +1 -1
- package/dist/fondue-components155.js +22 -17
- package/dist/fondue-components155.js.map +1 -1
- package/dist/fondue-components156.js +39 -15
- package/dist/fondue-components156.js.map +1 -1
- package/dist/fondue-components157.js +68 -29
- package/dist/fondue-components157.js.map +1 -1
- package/dist/fondue-components158.js +31 -13
- package/dist/fondue-components158.js.map +1 -1
- package/dist/fondue-components159.js +9 -7
- package/dist/fondue-components159.js.map +1 -1
- package/dist/fondue-components16.js +121 -36
- package/dist/fondue-components16.js.map +1 -1
- package/dist/fondue-components160.js +156 -0
- package/dist/fondue-components160.js.map +1 -0
- package/dist/fondue-components161.js +111 -0
- package/dist/fondue-components161.js.map +1 -0
- package/dist/fondue-components162.js +19 -0
- package/dist/fondue-components162.js.map +1 -0
- package/dist/fondue-components163.js +32 -0
- package/dist/fondue-components163.js.map +1 -0
- package/dist/fondue-components164.js +16 -0
- package/dist/fondue-components164.js.map +1 -0
- package/dist/fondue-components165.js +10 -0
- package/dist/fondue-components165.js.map +1 -0
- package/dist/fondue-components166.js +19 -0
- package/dist/fondue-components166.js.map +1 -0
- package/dist/fondue-components17.js +30 -39
- package/dist/fondue-components17.js.map +1 -1
- package/dist/fondue-components18.js +44 -41
- package/dist/fondue-components18.js.map +1 -1
- package/dist/fondue-components19.js +42 -57
- package/dist/fondue-components19.js.map +1 -1
- package/dist/fondue-components20.js +55 -41
- package/dist/fondue-components20.js.map +1 -1
- package/dist/fondue-components21.js +39 -16
- package/dist/fondue-components21.js.map +1 -1
- package/dist/fondue-components22.js +17 -43
- package/dist/fondue-components22.js.map +1 -1
- package/dist/fondue-components23.js +46 -68
- package/dist/fondue-components23.js.map +1 -1
- package/dist/fondue-components24.js +67 -71
- package/dist/fondue-components24.js.map +1 -1
- package/dist/fondue-components25.js +72 -16
- package/dist/fondue-components25.js.map +1 -1
- package/dist/fondue-components26.js +18 -77
- package/dist/fondue-components26.js.map +1 -1
- package/dist/fondue-components27.js +75 -34
- package/dist/fondue-components27.js.map +1 -1
- package/dist/fondue-components28.js +34 -53
- package/dist/fondue-components28.js.map +1 -1
- package/dist/fondue-components29.js +55 -23
- package/dist/fondue-components29.js.map +1 -1
- package/dist/fondue-components3.js +1 -1
- package/dist/fondue-components30.js +23 -55
- package/dist/fondue-components30.js.map +1 -1
- package/dist/fondue-components31.js +52 -97
- package/dist/fondue-components31.js.map +1 -1
- package/dist/fondue-components32.js +98 -31
- package/dist/fondue-components32.js.map +1 -1
- package/dist/fondue-components33.js +31 -194
- package/dist/fondue-components33.js.map +1 -1
- package/dist/fondue-components34.js +184 -134
- package/dist/fondue-components34.js.map +1 -1
- package/dist/fondue-components35.js +143 -130
- package/dist/fondue-components35.js.map +1 -1
- package/dist/fondue-components36.js +131 -30
- package/dist/fondue-components36.js.map +1 -1
- package/dist/fondue-components37.js +29 -79
- package/dist/fondue-components37.js.map +1 -1
- package/dist/fondue-components38.js +68 -110
- package/dist/fondue-components38.js.map +1 -1
- package/dist/fondue-components39.js +121 -34
- package/dist/fondue-components39.js.map +1 -1
- package/dist/fondue-components4.js +21 -19
- package/dist/fondue-components4.js.map +1 -1
- package/dist/fondue-components40.js +36 -56
- package/dist/fondue-components40.js.map +1 -1
- package/dist/fondue-components41.js +56 -20
- package/dist/fondue-components41.js.map +1 -1
- package/dist/fondue-components42.js +20 -25
- package/dist/fondue-components42.js.map +1 -1
- package/dist/fondue-components43.js +25 -7
- package/dist/fondue-components43.js.map +1 -1
- package/dist/fondue-components44.js +7 -8
- package/dist/fondue-components44.js.map +1 -1
- package/dist/fondue-components45.js +9 -41
- package/dist/fondue-components45.js.map +1 -1
- package/dist/fondue-components46.js +41 -5
- package/dist/fondue-components46.js.map +1 -1
- package/dist/fondue-components47.js +1 -1
- package/dist/fondue-components48.js +3 -11
- package/dist/fondue-components48.js.map +1 -1
- package/dist/fondue-components49.js +25 -29
- package/dist/fondue-components49.js.map +1 -1
- package/dist/fondue-components5.js +2 -2
- package/dist/fondue-components50.js +33 -54
- package/dist/fondue-components50.js.map +1 -1
- package/dist/fondue-components51.js +20 -130
- package/dist/fondue-components51.js.map +1 -1
- package/dist/fondue-components52.js +85 -20
- package/dist/fondue-components52.js.map +1 -1
- package/dist/fondue-components53.js +13 -53
- package/dist/fondue-components53.js.map +1 -1
- package/dist/fondue-components54.js +32 -8
- package/dist/fondue-components54.js.map +1 -1
- package/dist/fondue-components55.js +54 -13
- package/dist/fondue-components55.js.map +1 -1
- package/dist/fondue-components56.js +130 -16
- package/dist/fondue-components56.js.map +1 -1
- package/dist/fondue-components57.js +20 -4
- package/dist/fondue-components57.js.map +1 -1
- package/dist/fondue-components58.js +52 -17
- package/dist/fondue-components58.js.map +1 -1
- package/dist/fondue-components59.js +7 -18
- package/dist/fondue-components59.js.map +1 -1
- package/dist/fondue-components6.js +1 -1
- package/dist/fondue-components60.js +13 -44
- package/dist/fondue-components60.js.map +1 -1
- package/dist/fondue-components61.js +16 -24
- package/dist/fondue-components61.js.map +1 -1
- package/dist/fondue-components62.js +4 -22
- package/dist/fondue-components62.js.map +1 -1
- package/dist/fondue-components63.js +18 -7
- package/dist/fondue-components63.js.map +1 -1
- package/dist/fondue-components64.js +18 -4
- package/dist/fondue-components64.js.map +1 -1
- package/dist/fondue-components65.js +43 -12
- package/dist/fondue-components65.js.map +1 -1
- package/dist/fondue-components66.js +24 -4
- package/dist/fondue-components66.js.map +1 -1
- package/dist/fondue-components67.js +22 -17
- package/dist/fondue-components67.js.map +1 -1
- package/dist/fondue-components68.js +4 -8
- package/dist/fondue-components68.js.map +1 -1
- package/dist/fondue-components69.js +4 -36
- package/dist/fondue-components69.js.map +1 -1
- package/dist/fondue-components7.js +32 -65
- package/dist/fondue-components7.js.map +1 -1
- package/dist/fondue-components70.js +12 -6
- package/dist/fondue-components70.js.map +1 -1
- package/dist/fondue-components71.js +1 -1
- package/dist/fondue-components72.js +17 -12
- package/dist/fondue-components72.js.map +1 -1
- package/dist/fondue-components73.js +10 -51
- package/dist/fondue-components73.js.map +1 -1
- package/dist/fondue-components74.js +37 -44
- package/dist/fondue-components74.js.map +1 -1
- package/dist/fondue-components75.js +7 -6
- package/dist/fondue-components75.js.map +1 -1
- package/dist/fondue-components76.js +5 -6
- package/dist/fondue-components76.js.map +1 -1
- package/dist/fondue-components77.js +13 -13
- package/dist/fondue-components77.js.map +1 -1
- package/dist/fondue-components78.js +51 -27
- package/dist/fondue-components78.js.map +1 -1
- package/dist/fondue-components79.js +42 -11
- package/dist/fondue-components79.js.map +1 -1
- package/dist/fondue-components8.js +65 -51
- package/dist/fondue-components8.js.map +1 -1
- package/dist/fondue-components80.js +6 -5
- package/dist/fondue-components80.js.map +1 -1
- package/dist/fondue-components81.js +6 -13
- package/dist/fondue-components81.js.map +1 -1
- package/dist/fondue-components82.js +13 -48
- package/dist/fondue-components82.js.map +1 -1
- package/dist/fondue-components83.js +27 -22
- package/dist/fondue-components83.js.map +1 -1
- package/dist/fondue-components84.js +13 -629
- package/dist/fondue-components84.js.map +1 -1
- package/dist/fondue-components85.js +4 -8
- package/dist/fondue-components85.js.map +1 -1
- package/dist/fondue-components86.js +12 -12
- package/dist/fondue-components86.js.map +1 -1
- package/dist/fondue-components87.js +47 -4
- package/dist/fondue-components87.js.map +1 -1
- package/dist/fondue-components88.js +22 -24
- package/dist/fondue-components88.js.map +1 -1
- package/dist/fondue-components89.js +628 -16
- package/dist/fondue-components89.js.map +1 -1
- package/dist/fondue-components9.js +46 -173
- package/dist/fondue-components9.js.map +1 -1
- package/dist/fondue-components90.js +9 -20
- package/dist/fondue-components90.js.map +1 -1
- package/dist/fondue-components91.js +13 -20
- package/dist/fondue-components91.js.map +1 -1
- package/dist/fondue-components92.js +5 -20
- package/dist/fondue-components92.js.map +1 -1
- package/dist/fondue-components93.js +24 -19
- package/dist/fondue-components93.js.map +1 -1
- package/dist/fondue-components94.js +17 -19
- package/dist/fondue-components94.js.map +1 -1
- package/dist/fondue-components95.js +20 -8
- package/dist/fondue-components95.js.map +1 -1
- package/dist/fondue-components96.js +20 -11
- package/dist/fondue-components96.js.map +1 -1
- package/dist/fondue-components97.js +20 -11
- package/dist/fondue-components97.js.map +1 -1
- package/dist/fondue-components98.js +20 -7
- package/dist/fondue-components98.js.map +1 -1
- package/dist/fondue-components99.js +19 -13
- package/dist/fondue-components99.js.map +1 -1
- package/dist/index.d.ts +180 -14
- package/dist/style.css +1 -1
- package/package.json +8 -4
- package/dist/fondue-components139.js +0 -10
- package/dist/fondue-components139.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components132.js","sources":["
|
|
1
|
+
{"version":3,"file":"fondue-components132.js","sources":["../src/components/Select/hooks/useSingleSelect.ts"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { useCallback, useState } from 'react';\n\nexport const useSingleSelect = (\n onSelect?: (value: string | null) => void,\n value?: string | null,\n defaultValue?: string,\n) => {\n const [selectedItemState, setSelectedItemState] = useState<string | null>(defaultValue ?? null);\n\n const selectedValue = value !== undefined ? value : selectedItemState;\n const selectedItemValues = selectedValue !== null ? [selectedValue] : [];\n\n const selectItem = useCallback(\n (item?: string) => {\n if (item === undefined) {\n return;\n }\n if (value === undefined) {\n setSelectedItemState(item);\n }\n onSelect?.(item);\n },\n [value, onSelect],\n );\n\n const clear = useCallback(() => {\n if (value === undefined) {\n setSelectedItemState(null);\n }\n onSelect?.(null);\n }, [value, onSelect]);\n\n return {\n selectedItemValues,\n selectItem,\n clear,\n };\n};\n"],"names":["useSingleSelect","onSelect","value","defaultValue","selectedItemState","setSelectedItemState","useState","selectedValue","selectedItemValues","selectItem","useCallback","item","clear"],"mappings":";AAIO,MAAMA,IAAkB,CAC3BC,GACAC,GACAC,MACC;AACD,QAAM,CAACC,GAAmBC,CAAoB,IAAIC,EAAwBH,KAAgB,IAAI,GAExFI,IAAgBL,MAAU,SAAYA,IAAQE,GAC9CI,IAAqBD,MAAkB,OAAO,CAACA,CAAa,IAAI,CAAA,GAEhEE,IAAaC;AAAA,IACf,CAACC,MAAkB;AACf,MAAIA,MAAS,WAGTT,MAAU,UACVG,EAAqBM,CAAI,GAE7BV,KAAA,QAAAA,EAAWU;AAAA,IACf;AAAA,IACA,CAACT,GAAOD,CAAQ;AAAA,EAAA,GAGdW,IAAQF,EAAY,MAAM;AAC5B,IAAIR,MAAU,UACVG,EAAqB,IAAI,GAE7BJ,KAAA,QAAAA,EAAW;AAAA,EACf,GAAG,CAACC,GAAOD,CAAQ,CAAC;AAEpB,SAAO;AAAA,IACH,oBAAAO;AAAA,IACA,YAAAC;AAAA,IACA,OAAAG;AAAA,EAAA;AAER;"}
|
|
@@ -1,12 +1,154 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { IconCaretDown as V } from "@frontify/fondue-icons";
|
|
3
|
+
import * as I from "@radix-ui/react-popover";
|
|
4
|
+
import { useSelect as s } from "downshift";
|
|
5
|
+
import { forwardRef as ee, useRef as te, useCallback as N, useState as ne, useMemo as oe } from "react";
|
|
6
|
+
import { useBadgeItems as re } from "./fondue-components142.js";
|
|
7
|
+
import { useFocusRing as ae } from "./fondue-components143.js";
|
|
8
|
+
import { useSelectData as se } from "./fondue-components144.js";
|
|
9
|
+
import { useSelectionDescription as ie } from "./fondue-components145.js";
|
|
10
|
+
import r from "./fondue-components134.js";
|
|
11
|
+
import { ClearButton as le } from "./fondue-components146.js";
|
|
12
|
+
import { CollapsibleBadges as ce } from "./fondue-components147.js";
|
|
13
|
+
import { SelectMenu as ue } from "./fondue-components148.js";
|
|
14
|
+
import { StatusIcons as ge } from "./fondue-components149.js";
|
|
15
|
+
const O = ({
|
|
16
|
+
children: M,
|
|
17
|
+
selectedItemValues: o,
|
|
18
|
+
onItemSelect: p,
|
|
19
|
+
onClear: P,
|
|
20
|
+
placeholder: c = "",
|
|
21
|
+
status: u = "neutral",
|
|
22
|
+
disabled: f,
|
|
23
|
+
alignMenu: R = "start",
|
|
24
|
+
side: j = "bottom",
|
|
25
|
+
id: k,
|
|
26
|
+
showStringValue: y = !0,
|
|
27
|
+
"data-test-id": b = "fondue-select",
|
|
28
|
+
viewportCollisionPadding: E = "compact",
|
|
29
|
+
onEscapeKeyDown: F,
|
|
30
|
+
multiple: g,
|
|
31
|
+
...i
|
|
32
|
+
}, a) => {
|
|
33
|
+
const C = te(null), B = N(
|
|
34
|
+
(e) => {
|
|
35
|
+
C.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
|
|
36
|
+
},
|
|
37
|
+
[a]
|
|
38
|
+
), { inputSlots: H, menuSlots: K, items: w, clearButton: S, getItemByValue: l } = se(M), { onMouseDown: z, onFocus: A, onBlur: q } = ae(), { selectionDescriptionId: D, selectionDescription: m } = ie(
|
|
39
|
+
g,
|
|
40
|
+
o,
|
|
41
|
+
l
|
|
42
|
+
), G = re(o, l), [J, v] = ne(!1), x = N(
|
|
43
|
+
(e) => {
|
|
44
|
+
const t = l(e);
|
|
45
|
+
if (t)
|
|
46
|
+
return !y && (t != null && t.children) ? t.children : t == null ? void 0 : t.label;
|
|
47
|
+
},
|
|
48
|
+
[l, y]
|
|
49
|
+
), { getToggleButtonProps: L, getMenuProps: Q, getItemProps: U, reset: W, isOpen: X, highlightedIndex: Y } = s({
|
|
50
|
+
items: w,
|
|
51
|
+
selectedItem: null,
|
|
52
|
+
toggleButtonId: k,
|
|
53
|
+
labelId: "aria-labelledby" in i ? i["aria-labelledby"] : void 0,
|
|
54
|
+
onIsOpenChange: () => {
|
|
55
|
+
v(!1);
|
|
56
|
+
},
|
|
57
|
+
onHighlightedIndexChange: () => {
|
|
58
|
+
v(!0);
|
|
59
|
+
},
|
|
60
|
+
onSelectedItemChange: ({ selectedItem: e }) => {
|
|
61
|
+
p(e == null ? void 0 : e.value);
|
|
62
|
+
},
|
|
63
|
+
itemToString: (e) => e ? e.label : "",
|
|
64
|
+
...g ? {
|
|
65
|
+
stateReducer: (e, t) => {
|
|
66
|
+
const { changes: h, type: $ } = t;
|
|
67
|
+
switch ($) {
|
|
68
|
+
case s.stateChangeTypes.ToggleButtonKeyDownEnter:
|
|
69
|
+
case s.stateChangeTypes.ToggleButtonKeyDownSpaceButton:
|
|
70
|
+
case s.stateChangeTypes.ItemClick:
|
|
71
|
+
return {
|
|
72
|
+
...h,
|
|
73
|
+
isOpen: !0,
|
|
74
|
+
highlightedIndex: e.highlightedIndex
|
|
75
|
+
};
|
|
76
|
+
case s.stateChangeTypes.ToggleButtonBlur:
|
|
77
|
+
return {
|
|
78
|
+
...h,
|
|
79
|
+
selectedItem: e.selectedItem
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
return h;
|
|
83
|
+
}
|
|
84
|
+
} : {}
|
|
85
|
+
}), T = u === "error", Z = () => {
|
|
86
|
+
P(), W();
|
|
87
|
+
}, _ = oe(
|
|
88
|
+
() => x(o[0]) || c,
|
|
89
|
+
[x, o, c]
|
|
90
|
+
);
|
|
91
|
+
return /* @__PURE__ */ d(I.Root, { open: X, children: [
|
|
92
|
+
/* @__PURE__ */ n(I.Anchor, { asChild: !0, onMouseDown: z, onFocus: A, onBlur: q, children: /* @__PURE__ */ d(
|
|
93
|
+
"div",
|
|
94
|
+
{
|
|
95
|
+
ref: B,
|
|
96
|
+
className: r.root,
|
|
97
|
+
"data-status": T ? "error" : u,
|
|
98
|
+
"data-disabled": f,
|
|
99
|
+
"data-empty": o.length === 0,
|
|
100
|
+
"data-test-id": b,
|
|
101
|
+
...f ? {} : (
|
|
102
|
+
// eslint-disable-next-line react-hooks/refs
|
|
103
|
+
L({
|
|
104
|
+
"aria-label": "aria-label" in i ? i["aria-label"] : void 0,
|
|
105
|
+
"aria-describedby": m ? D : void 0,
|
|
106
|
+
ref: B
|
|
107
|
+
})
|
|
108
|
+
),
|
|
109
|
+
children: [
|
|
110
|
+
m ? /* @__PURE__ */ n("span", { id: D, className: r.srOnly, children: m }) : null,
|
|
111
|
+
g ? /* @__PURE__ */ n("div", { className: r.selectedValue, children: /* @__PURE__ */ n(
|
|
112
|
+
ce,
|
|
113
|
+
{
|
|
114
|
+
items: G,
|
|
115
|
+
placeholder: c,
|
|
116
|
+
onDismiss: (e) => {
|
|
117
|
+
var t;
|
|
118
|
+
p(e), (t = C.current) == null || t.focus();
|
|
119
|
+
},
|
|
120
|
+
selectedCount: o.length
|
|
121
|
+
}
|
|
122
|
+
) }) : /* @__PURE__ */ n("span", { className: r.selectedValue, children: _ }),
|
|
123
|
+
H,
|
|
124
|
+
S ? /* @__PURE__ */ n(le, { onClear: Z, children: S }) : null,
|
|
125
|
+
/* @__PURE__ */ d("div", { className: r.icons, children: [
|
|
126
|
+
/* @__PURE__ */ n(V, { size: 16, className: r.caret }),
|
|
127
|
+
/* @__PURE__ */ n(ge, { status: u, hasError: T, dataTestId: b })
|
|
128
|
+
] })
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
) }),
|
|
132
|
+
/* @__PURE__ */ n(
|
|
133
|
+
ue,
|
|
134
|
+
{
|
|
135
|
+
align: R,
|
|
136
|
+
side: j,
|
|
137
|
+
highlightedIndex: Y,
|
|
138
|
+
getMenuProps: Q,
|
|
139
|
+
getItemProps: U,
|
|
140
|
+
selectedItemValues: o,
|
|
141
|
+
hasInteractedSinceOpening: J,
|
|
142
|
+
viewportCollisionPadding: E,
|
|
143
|
+
onEscapeKeyDown: F,
|
|
144
|
+
children: K
|
|
145
|
+
}
|
|
146
|
+
)
|
|
147
|
+
] });
|
|
148
|
+
};
|
|
149
|
+
O.displayName = "Select";
|
|
150
|
+
const Te = ee(O);
|
|
9
151
|
export {
|
|
10
|
-
|
|
152
|
+
Te as SelectBase
|
|
11
153
|
};
|
|
12
154
|
//# sourceMappingURL=fondue-components133.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components133.js","sources":["../../../node_modules/.pnpm/@dnd-kit+react@0.3.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/react/utilities.js"],"sourcesContent":["// src/utilities/currentValue.ts\nfunction isRef(value) {\n return value != null && typeof value === \"object\" && \"current\" in value;\n}\nfunction currentValue(value) {\n var _a;\n if (value == null) {\n return void 0;\n }\n if (isRef(value)) {\n return (_a = value.current) != null ? _a : void 0;\n }\n return value;\n}\n\nexport { currentValue };\n//# sourceMappingURL=utilities.js.map\n//# sourceMappingURL=utilities.js.map"],"names":["isRef","value","currentValue","_a"],"mappings":"AACA,SAASA,EAAMC,GAAO;AACpB,SAAOA,KAAS,QAAQ,OAAOA,KAAU,YAAY,aAAaA;AACpE;AACA,SAASC,EAAaD,GAAO;AAC3B,MAAIE;AACJ,MAAIF,KAAS;AAGb,WAAID,EAAMC,CAAK,KACLE,IAAKF,EAAM,YAAY,OAAOE,IAAK,SAEtCF;AACT;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"fondue-components133.js","sources":["../src/components/Select/components/SelectBase.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { IconCaretDown } from '@frontify/fondue-icons';\nimport * as RadixPopover from '@radix-ui/react-popover';\nimport { useSelect } from 'downshift';\nimport { forwardRef, useCallback, useMemo, useRef, useState, type ForwardedRef, type ReactNode } from 'react';\n\nimport { type CommonAriaProps } from '#/helpers/aria';\n\nimport { useBadgeItems } from '../hooks/useBadgeItems';\nimport { useFocusRing } from '../hooks/useFocusRing';\nimport { useSelectData } from '../hooks/useSelectData';\nimport { useSelectionDescription } from '../hooks/useSelectionDescription';\nimport styles from '../styles/select.module.scss';\n\nimport { ClearButton } from './ClearButton';\nimport { CollapsibleBadges } from './CollapsibleBadges';\nimport { SelectMenu, type SelectMenuViewportCollisionPadding } from './SelectMenu';\nimport { StatusIcons } from './StatusIcons';\n\nexport type SelectSharedProps = {\n /**\n * Children of the Select component. This can contain the `Select.Slot` components for the label, decorators, clear action and menu\n */\n children?: ReactNode;\n /**\n * The placeholder in the select component\n */\n placeholder?: string;\n /**\n * Status of the text input\n * @default \"neutral\"\n */\n status?: 'neutral' | 'success' | 'error';\n /**\n * Disables the select component\n */\n disabled?: boolean;\n /**\n * The alignment of the menu\n * @default \"start\"\n */\n alignMenu?: 'start' | 'center' | 'end';\n /**\n * Defines the preferred side of the select. It will not be respected if there are collisions with the viewport\n * @default \"bottom\"\n */\n side?: 'left' | 'right' | 'bottom' | 'top';\n /**\n * The data test id of the select component\n */\n 'data-test-id'?: string;\n /**\n * Id of the select component\n */\n id?: string;\n /**\n * The value of the select is shown as plain text (from the label prop) when set to true\n * Items child components are used if set to false\n * @default true\n */\n showStringValue?: boolean;\n /**\n * Define the minimum distance between the select menu and the viewport edge\n * @default 'compact'\n */\n viewportCollisionPadding?: SelectMenuViewportCollisionPadding;\n /**\n * Event handler called when the escape key is pressed\n */\n onEscapeKeyDown?: (event: KeyboardEvent) => void;\n} & CommonAriaProps;\n\ntype SelectBaseProps = SelectSharedProps & {\n /**\n * The currently selected item values\n */\n selectedItemValues: string[];\n /**\n * Callback fired when an item is selected or deselected\n */\n onItemSelect: (value?: string) => void;\n /**\n * Callback fired when the selection is cleared\n */\n onClear: () => void;\n /**\n * Whether the select allows multiple selections\n */\n multiple: boolean;\n};\n\nconst SelectBaseInput = (\n {\n children,\n selectedItemValues,\n onItemSelect,\n onClear,\n placeholder = '',\n status = 'neutral',\n disabled,\n alignMenu = 'start',\n side = 'bottom',\n id,\n showStringValue = true,\n 'data-test-id': dataTestId = 'fondue-select',\n viewportCollisionPadding = 'compact',\n onEscapeKeyDown,\n multiple,\n ...props\n }: SelectBaseProps,\n forwardedRef: ForwardedRef<HTMLDivElement>,\n): ReactNode => {\n const internalRef = useRef<HTMLDivElement | null>(null);\n const triggerRef = useCallback(\n (node: HTMLDivElement | null): void => {\n internalRef.current = node;\n if (typeof forwardedRef === 'function') {\n forwardedRef(node);\n } else if (forwardedRef) {\n forwardedRef.current = node;\n }\n },\n [forwardedRef],\n );\n const { inputSlots, menuSlots, items, clearButton, getItemByValue } = useSelectData(children);\n const { onMouseDown, onFocus, onBlur } = useFocusRing();\n const { selectionDescriptionId, selectionDescription } = useSelectionDescription(\n multiple,\n selectedItemValues,\n getItemByValue,\n );\n const badgeItems = useBadgeItems(selectedItemValues, getItemByValue);\n\n const [hasInteractedSinceOpening, setHasInteractedSinceOpening] = useState(false);\n\n const getDisplayedValue = useCallback(\n (itemValue?: string): ReactNode => {\n const selectedItem = getItemByValue(itemValue);\n if (selectedItem) {\n return !showStringValue && selectedItem?.children ? selectedItem.children : selectedItem?.label;\n }\n return undefined;\n },\n [getItemByValue, showStringValue],\n );\n\n const { getToggleButtonProps, getMenuProps, getItemProps, reset, isOpen, highlightedIndex } = useSelect<{\n value: string;\n label: string;\n children?: ReactNode;\n }>({\n items,\n selectedItem: null,\n toggleButtonId: id,\n labelId: 'aria-labelledby' in props ? props['aria-labelledby'] : undefined,\n onIsOpenChange: () => {\n setHasInteractedSinceOpening(false);\n },\n onHighlightedIndexChange: () => {\n setHasInteractedSinceOpening(true);\n },\n onSelectedItemChange: ({ selectedItem }) => {\n onItemSelect(selectedItem?.value);\n },\n itemToString: (item) => (item ? item.label : ''),\n ...(multiple\n ? {\n stateReducer: (state, actionAndChanges) => {\n const { changes, type } = actionAndChanges;\n switch (type) {\n case useSelect.stateChangeTypes.ToggleButtonKeyDownEnter:\n case useSelect.stateChangeTypes.ToggleButtonKeyDownSpaceButton:\n case useSelect.stateChangeTypes.ItemClick:\n return {\n ...changes,\n isOpen: true,\n highlightedIndex: state.highlightedIndex,\n };\n case useSelect.stateChangeTypes.ToggleButtonBlur:\n return {\n ...changes,\n selectedItem: state.selectedItem,\n };\n }\n return changes;\n },\n }\n : {}),\n });\n\n const hasError = status === 'error';\n\n const handleClear = (): void => {\n onClear();\n reset();\n };\n\n const singleSelectValue = useMemo(\n (): ReactNode => getDisplayedValue(selectedItemValues[0]) || placeholder,\n [getDisplayedValue, selectedItemValues, placeholder],\n );\n\n return (\n <RadixPopover.Root open={isOpen}>\n <RadixPopover.Anchor asChild onMouseDown={onMouseDown} onFocus={onFocus} onBlur={onBlur}>\n <div\n ref={triggerRef}\n className={styles.root}\n data-status={hasError ? 'error' : status}\n data-disabled={disabled}\n data-empty={selectedItemValues.length === 0}\n data-test-id={dataTestId}\n {...(disabled\n ? {}\n : // eslint-disable-next-line react-hooks/refs\n getToggleButtonProps({\n 'aria-label': 'aria-label' in props ? props['aria-label'] : undefined,\n 'aria-describedby': selectionDescription ? selectionDescriptionId : undefined,\n ref: triggerRef,\n }))}\n >\n {selectionDescription ? (\n <span id={selectionDescriptionId} className={styles.srOnly}>\n {selectionDescription}\n </span>\n ) : null}\n {multiple ? (\n <div className={styles.selectedValue}>\n <CollapsibleBadges\n items={badgeItems}\n placeholder={placeholder}\n onDismiss={(value) => {\n onItemSelect(value);\n internalRef.current?.focus();\n }}\n selectedCount={selectedItemValues.length}\n />\n </div>\n ) : (\n <span className={styles.selectedValue}>{singleSelectValue}</span>\n )}\n {inputSlots}\n {clearButton ? <ClearButton onClear={handleClear}>{clearButton}</ClearButton> : null}\n <div className={styles.icons}>\n <IconCaretDown size={16} className={styles.caret} />\n <StatusIcons status={status} hasError={hasError} dataTestId={dataTestId} />\n </div>\n </div>\n </RadixPopover.Anchor>\n\n <SelectMenu\n align={alignMenu}\n side={side}\n highlightedIndex={highlightedIndex}\n getMenuProps={getMenuProps}\n getItemProps={getItemProps}\n selectedItemValues={selectedItemValues}\n hasInteractedSinceOpening={hasInteractedSinceOpening}\n viewportCollisionPadding={viewportCollisionPadding}\n onEscapeKeyDown={onEscapeKeyDown}\n >\n {menuSlots}\n </SelectMenu>\n </RadixPopover.Root>\n );\n};\nSelectBaseInput.displayName = 'Select';\n\nexport const SelectBase = forwardRef<HTMLDivElement, SelectBaseProps>(SelectBaseInput);\n"],"names":["SelectBaseInput","children","selectedItemValues","onItemSelect","onClear","placeholder","status","disabled","alignMenu","side","id","showStringValue","dataTestId","viewportCollisionPadding","onEscapeKeyDown","multiple","props","forwardedRef","internalRef","useRef","triggerRef","useCallback","node","inputSlots","menuSlots","items","clearButton","getItemByValue","useSelectData","onMouseDown","onFocus","onBlur","useFocusRing","selectionDescriptionId","selectionDescription","useSelectionDescription","badgeItems","useBadgeItems","hasInteractedSinceOpening","setHasInteractedSinceOpening","useState","getDisplayedValue","itemValue","selectedItem","getToggleButtonProps","getMenuProps","getItemProps","reset","isOpen","highlightedIndex","useSelect","item","state","actionAndChanges","changes","type","hasError","handleClear","singleSelectValue","useMemo","jsxs","RadixPopover","jsx","styles","CollapsibleBadges","value","_a","ClearButton","IconCaretDown","StatusIcons","SelectMenu","SelectBase","forwardRef"],"mappings":";;;;;;;;;;;;;;AA4FA,MAAMA,IAAkB,CACpB;AAAA,EACI,UAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC;AAAA,EACA,aAAAC,IAA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A,QAAA;AAAA,MAAA;AAAA,IAAA,GAER;AAAA,IAEA,gBAAAkD;AAAA,MAACQ;AAAA,MAAA;AAAA,QACG,OAAO9D;AAAA,QACP,MAAAC;AAAA,QACA,kBAAAwC;AAAA,QACA,cAAAJ;AAAA,QACA,cAAAC;AAAA,QACA,oBAAA5C;AAAA,QACA,2BAAAoC;AAAA,QACA,0BAAAzB;AAAA,QACA,iBAAAC;AAAA,QAEC,UAAAU;AAAA,MAAA;AAAA,IAAA;AAAA,EACL,GACJ;AAER;AACAxB,EAAgB,cAAc;AAEvB,MAAMuE,KAAaC,GAA4CxE,CAAe;"}
|
|
@@ -1,259 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
s++;
|
|
24
|
-
try {
|
|
25
|
-
return t();
|
|
26
|
-
} finally {
|
|
27
|
-
d();
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
var r = void 0;
|
|
31
|
-
function p(t) {
|
|
32
|
-
var i = r;
|
|
33
|
-
r = void 0;
|
|
34
|
-
try {
|
|
35
|
-
return t();
|
|
36
|
-
} finally {
|
|
37
|
-
r = i;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
var u = void 0, s = 0, c = 0, a = 0;
|
|
41
|
-
function y(t) {
|
|
42
|
-
if (r !== void 0) {
|
|
43
|
-
var i = t.n;
|
|
44
|
-
if (i === void 0 || i.t !== r)
|
|
45
|
-
return i = { i: 0, S: t, p: r.s, n: void 0, t: r, e: void 0, x: void 0, r: i }, r.s !== void 0 && (r.s.n = i), r.s = i, t.n = i, 32 & r.f && t.S(i), i;
|
|
46
|
-
if (i.i === -1)
|
|
47
|
-
return i.i = 0, i.n !== void 0 && (i.n.p = i.p, i.p !== void 0 && (i.p.n = i.n), i.p = r.s, i.n = void 0, r.s.n = i, r.s = i), i;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
function f(t, i) {
|
|
51
|
-
this.v = t, this.i = 0, this.n = void 0, this.t = void 0, this.W = i == null ? void 0 : i.watched, this.Z = i == null ? void 0 : i.unwatched, this.name = i == null ? void 0 : i.name;
|
|
52
|
-
}
|
|
53
|
-
f.prototype.brand = m;
|
|
54
|
-
f.prototype.h = function() {
|
|
55
|
-
return !0;
|
|
1
|
+
const c = "_root_13ciu_7", e = "_selectedValue_13ciu_63", _ = "_input_13ciu_80", o = "_slot_13ciu_106", t = "_clear_13ciu_156", n = "_clearIcon_13ciu_163", u = "_icons_13ciu_167", i = "_caret_13ciu_173", r = "_iconSuccess_13ciu_201", s = "_iconError_13ciu_207", a = "_menu_13ciu_213", l = "_portal_13ciu_236", p = "_item_13ciu_252", g = "_checkmarkIcon_13ciu_281", m = "_itemValue_13ciu_287", d = "_group_13ciu_301", I = "_groupHeading_13ciu_312", b = "_badgesContainer_13ciu_324", k = "_badgeWrapper_13ciu_336", S = "_srOnly_13ciu_345", V = "_multiSelectInput_13ciu_357", y = {
|
|
2
|
+
root: c,
|
|
3
|
+
selectedValue: e,
|
|
4
|
+
input: _,
|
|
5
|
+
slot: o,
|
|
6
|
+
clear: t,
|
|
7
|
+
clearIcon: n,
|
|
8
|
+
icons: u,
|
|
9
|
+
caret: i,
|
|
10
|
+
iconSuccess: r,
|
|
11
|
+
iconError: s,
|
|
12
|
+
menu: a,
|
|
13
|
+
portal: l,
|
|
14
|
+
item: p,
|
|
15
|
+
checkmarkIcon: g,
|
|
16
|
+
itemValue: m,
|
|
17
|
+
group: d,
|
|
18
|
+
groupHeading: I,
|
|
19
|
+
badgesContainer: b,
|
|
20
|
+
badgeWrapper: k,
|
|
21
|
+
srOnly: S,
|
|
22
|
+
multiSelectInput: V
|
|
56
23
|
};
|
|
57
|
-
f.prototype.S = function(t) {
|
|
58
|
-
var i = this, o = this.t;
|
|
59
|
-
o !== t && t.e === void 0 && (t.x = o, this.t = t, o !== void 0 ? o.e = t : p(function() {
|
|
60
|
-
var n;
|
|
61
|
-
(n = i.W) == null || n.call(i);
|
|
62
|
-
}));
|
|
63
|
-
};
|
|
64
|
-
f.prototype.U = function(t) {
|
|
65
|
-
var i = this;
|
|
66
|
-
if (this.t !== void 0) {
|
|
67
|
-
var o = t.e, n = t.x;
|
|
68
|
-
o !== void 0 && (o.x = n, t.e = void 0), n !== void 0 && (n.e = o, t.x = void 0), t === this.t && (this.t = n, n === void 0 && p(function() {
|
|
69
|
-
var h;
|
|
70
|
-
(h = i.Z) == null || h.call(i);
|
|
71
|
-
}));
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
f.prototype.subscribe = function(t) {
|
|
75
|
-
var i = this;
|
|
76
|
-
return U(function() {
|
|
77
|
-
var o = i.value, n = r;
|
|
78
|
-
r = void 0;
|
|
79
|
-
try {
|
|
80
|
-
t(o);
|
|
81
|
-
} finally {
|
|
82
|
-
r = n;
|
|
83
|
-
}
|
|
84
|
-
}, { name: "sub" });
|
|
85
|
-
};
|
|
86
|
-
f.prototype.valueOf = function() {
|
|
87
|
-
return this.value;
|
|
88
|
-
};
|
|
89
|
-
f.prototype.toString = function() {
|
|
90
|
-
return this.value + "";
|
|
91
|
-
};
|
|
92
|
-
f.prototype.toJSON = function() {
|
|
93
|
-
return this.value;
|
|
94
|
-
};
|
|
95
|
-
f.prototype.peek = function() {
|
|
96
|
-
var t = r;
|
|
97
|
-
r = void 0;
|
|
98
|
-
try {
|
|
99
|
-
return this.value;
|
|
100
|
-
} finally {
|
|
101
|
-
r = t;
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
Object.defineProperty(f.prototype, "value", { get: function() {
|
|
105
|
-
var t = y(this);
|
|
106
|
-
return t !== void 0 && (t.i = this.i), this.v;
|
|
107
|
-
}, set: function(t) {
|
|
108
|
-
if (t !== this.v) {
|
|
109
|
-
if (c > 100) throw new Error("Cycle detected");
|
|
110
|
-
this.v = t, this.i++, a++, s++;
|
|
111
|
-
try {
|
|
112
|
-
for (var i = this.t; i !== void 0; i = i.x) i.t.N();
|
|
113
|
-
} finally {
|
|
114
|
-
d();
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
} });
|
|
118
|
-
function N(t, i) {
|
|
119
|
-
return new f(t, i);
|
|
120
|
-
}
|
|
121
|
-
function w(t) {
|
|
122
|
-
for (var i = t.s; i !== void 0; i = i.n) if (i.S.i !== i.i || !i.S.h() || i.S.i !== i.i) return !0;
|
|
123
|
-
return !1;
|
|
124
|
-
}
|
|
125
|
-
function S(t) {
|
|
126
|
-
for (var i = t.s; i !== void 0; i = i.n) {
|
|
127
|
-
var o = i.S.n;
|
|
128
|
-
if (o !== void 0 && (i.r = o), i.S.n = i, i.i = -1, i.n === void 0) {
|
|
129
|
-
t.s = i;
|
|
130
|
-
break;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
function x(t) {
|
|
135
|
-
for (var i = t.s, o = void 0; i !== void 0; ) {
|
|
136
|
-
var n = i.p;
|
|
137
|
-
i.i === -1 ? (i.S.U(i), n !== void 0 && (n.n = i.n), i.n !== void 0 && (i.n.p = n)) : o = i, i.S.n = i.r, i.r !== void 0 && (i.r = void 0), i = n;
|
|
138
|
-
}
|
|
139
|
-
t.s = o;
|
|
140
|
-
}
|
|
141
|
-
function e(t, i) {
|
|
142
|
-
f.call(this, void 0), this.x = t, this.s = void 0, this.g = a - 1, this.f = 4, this.W = i == null ? void 0 : i.watched, this.Z = i == null ? void 0 : i.unwatched, this.name = i == null ? void 0 : i.name;
|
|
143
|
-
}
|
|
144
|
-
e.prototype = new f();
|
|
145
|
-
e.prototype.h = function() {
|
|
146
|
-
if (this.f &= -3, 1 & this.f) return !1;
|
|
147
|
-
if ((36 & this.f) == 32 || (this.f &= -5, this.g === a)) return !0;
|
|
148
|
-
if (this.g = a, this.f |= 1, this.i > 0 && !w(this))
|
|
149
|
-
return this.f &= -2, !0;
|
|
150
|
-
var t = r;
|
|
151
|
-
try {
|
|
152
|
-
S(this), r = this;
|
|
153
|
-
var i = this.x();
|
|
154
|
-
(16 & this.f || this.v !== i || this.i === 0) && (this.v = i, this.f &= -17, this.i++);
|
|
155
|
-
} catch (o) {
|
|
156
|
-
this.v = o, this.f |= 16, this.i++;
|
|
157
|
-
}
|
|
158
|
-
return r = t, x(this), this.f &= -2, !0;
|
|
159
|
-
};
|
|
160
|
-
e.prototype.S = function(t) {
|
|
161
|
-
if (this.t === void 0) {
|
|
162
|
-
this.f |= 36;
|
|
163
|
-
for (var i = this.s; i !== void 0; i = i.n) i.S.S(i);
|
|
164
|
-
}
|
|
165
|
-
f.prototype.S.call(this, t);
|
|
166
|
-
};
|
|
167
|
-
e.prototype.U = function(t) {
|
|
168
|
-
if (this.t !== void 0 && (f.prototype.U.call(this, t), this.t === void 0)) {
|
|
169
|
-
this.f &= -33;
|
|
170
|
-
for (var i = this.s; i !== void 0; i = i.n) i.S.U(i);
|
|
171
|
-
}
|
|
172
|
-
};
|
|
173
|
-
e.prototype.N = function() {
|
|
174
|
-
if (!(2 & this.f)) {
|
|
175
|
-
this.f |= 6;
|
|
176
|
-
for (var t = this.t; t !== void 0; t = t.x) t.t.N();
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
Object.defineProperty(e.prototype, "value", { get: function() {
|
|
180
|
-
if (1 & this.f) throw new Error("Cycle detected");
|
|
181
|
-
var t = y(this);
|
|
182
|
-
if (this.h(), t !== void 0 && (t.i = this.i), 16 & this.f) throw this.v;
|
|
183
|
-
return this.v;
|
|
184
|
-
} });
|
|
185
|
-
function O(t, i) {
|
|
186
|
-
return new e(t, i);
|
|
187
|
-
}
|
|
188
|
-
function b(t) {
|
|
189
|
-
var i = t.u;
|
|
190
|
-
if (t.u = void 0, typeof i == "function") {
|
|
191
|
-
s++;
|
|
192
|
-
var o = r;
|
|
193
|
-
r = void 0;
|
|
194
|
-
try {
|
|
195
|
-
i();
|
|
196
|
-
} catch (n) {
|
|
197
|
-
throw t.f &= -2, t.f |= 8, l(t), n;
|
|
198
|
-
} finally {
|
|
199
|
-
r = o, d();
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
function l(t) {
|
|
204
|
-
for (var i = t.s; i !== void 0; i = i.n) i.S.U(i);
|
|
205
|
-
t.x = void 0, t.s = void 0, b(t);
|
|
206
|
-
}
|
|
207
|
-
function g(t) {
|
|
208
|
-
if (r !== this) throw new Error("Out-of-order effect");
|
|
209
|
-
x(this), r = t, this.f &= -2, 8 & this.f && l(this), d();
|
|
210
|
-
}
|
|
211
|
-
function v(t, i) {
|
|
212
|
-
this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32, this.name = i == null ? void 0 : i.name;
|
|
213
|
-
}
|
|
214
|
-
v.prototype.c = function() {
|
|
215
|
-
var t = this.S();
|
|
216
|
-
try {
|
|
217
|
-
if (8 & this.f || this.x === void 0) return;
|
|
218
|
-
var i = this.x();
|
|
219
|
-
typeof i == "function" && (this.u = i);
|
|
220
|
-
} finally {
|
|
221
|
-
t();
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
v.prototype.S = function() {
|
|
225
|
-
if (1 & this.f) throw new Error("Cycle detected");
|
|
226
|
-
this.f |= 1, this.f &= -9, b(this), S(this), s++;
|
|
227
|
-
var t = r;
|
|
228
|
-
return r = this, g.bind(this, t);
|
|
229
|
-
};
|
|
230
|
-
v.prototype.N = function() {
|
|
231
|
-
2 & this.f || (this.f |= 2, this.o = u, u = this);
|
|
232
|
-
};
|
|
233
|
-
v.prototype.d = function() {
|
|
234
|
-
this.f |= 8, 1 & this.f || l(this);
|
|
235
|
-
};
|
|
236
|
-
v.prototype.dispose = function() {
|
|
237
|
-
this.d();
|
|
238
|
-
};
|
|
239
|
-
function U(t, i) {
|
|
240
|
-
var o = new v(t, i);
|
|
241
|
-
try {
|
|
242
|
-
o.c();
|
|
243
|
-
} catch (h) {
|
|
244
|
-
throw o.d(), h;
|
|
245
|
-
}
|
|
246
|
-
var n = o.d.bind(o);
|
|
247
|
-
return n[Symbol.dispose] = n, n;
|
|
248
|
-
}
|
|
249
24
|
export {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
25
|
+
k as badgeWrapper,
|
|
26
|
+
b as badgesContainer,
|
|
27
|
+
i as caret,
|
|
28
|
+
g as checkmarkIcon,
|
|
29
|
+
t as clear,
|
|
30
|
+
n as clearIcon,
|
|
31
|
+
y as default,
|
|
32
|
+
d as group,
|
|
33
|
+
I as groupHeading,
|
|
34
|
+
s as iconError,
|
|
35
|
+
r as iconSuccess,
|
|
36
|
+
u as icons,
|
|
37
|
+
_ as input,
|
|
38
|
+
p as item,
|
|
39
|
+
m as itemValue,
|
|
40
|
+
a as menu,
|
|
41
|
+
V as multiSelectInput,
|
|
42
|
+
l as portal,
|
|
43
|
+
c as root,
|
|
44
|
+
e as selectedValue,
|
|
45
|
+
o as slot,
|
|
46
|
+
S as srOnly
|
|
258
47
|
};
|
|
259
48
|
//# sourceMappingURL=fondue-components134.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fondue-components134.js","sources":["../../../node_modules/.pnpm/@preact+signals-core@1.13.0/node_modules/@preact/signals-core/dist/signals-core.module.js"],"sourcesContent":["var i=Symbol.for(\"preact-signals\");function t(){if(!(s>1)){var i,t=!1;while(void 0!==h){var n=h;h=void 0;v++;while(void 0!==n){var r=n.o;n.o=void 0;n.f&=-3;if(!(8&n.f)&&a(n))try{n.c()}catch(n){if(!t){i=n;t=!0}}n=r}}v=0;s--;if(t)throw i}else s--}function n(i){if(s>0)return i();s++;try{return i()}finally{t()}}var r=void 0;function o(i){var t=r;r=void 0;try{return i()}finally{r=t}}var f,h=void 0,s=0,v=0,u=0;function e(i){if(void 0!==r){var t=i.n;if(void 0===t||t.t!==r){t={i:0,S:i,p:r.s,n:void 0,t:r,e:void 0,x:void 0,r:t};if(void 0!==r.s)r.s.n=t;r.s=t;i.n=t;if(32&r.f)i.S(t);return t}else if(-1===t.i){t.i=0;if(void 0!==t.n){t.n.p=t.p;if(void 0!==t.p)t.p.n=t.n;t.p=r.s;t.n=void 0;r.s.n=t;r.s=t}return t}}}function d(i,t){this.v=i;this.i=0;this.n=void 0;this.t=void 0;this.W=null==t?void 0:t.watched;this.Z=null==t?void 0:t.unwatched;this.name=null==t?void 0:t.name}d.prototype.brand=i;d.prototype.h=function(){return!0};d.prototype.S=function(i){var t=this,n=this.t;if(n!==i&&void 0===i.e){i.x=n;this.t=i;if(void 0!==n)n.e=i;else o(function(){var i;null==(i=t.W)||i.call(t)})}};d.prototype.U=function(i){var t=this;if(void 0!==this.t){var n=i.e,r=i.x;if(void 0!==n){n.x=r;i.e=void 0}if(void 0!==r){r.e=n;i.x=void 0}if(i===this.t){this.t=r;if(void 0===r)o(function(){var i;null==(i=t.Z)||i.call(t)})}}};d.prototype.subscribe=function(i){var t=this;return m(function(){var n=t.value,o=r;r=void 0;try{i(n)}finally{r=o}},{name:\"sub\"})};d.prototype.valueOf=function(){return this.value};d.prototype.toString=function(){return this.value+\"\"};d.prototype.toJSON=function(){return this.value};d.prototype.peek=function(){var i=r;r=void 0;try{return this.value}finally{r=i}};Object.defineProperty(d.prototype,\"value\",{get:function(){var i=e(this);if(void 0!==i)i.i=this.i;return this.v},set:function(i){if(i!==this.v){if(v>100)throw new Error(\"Cycle detected\");this.v=i;this.i++;u++;s++;try{for(var n=this.t;void 0!==n;n=n.x)n.t.N()}finally{t()}}}});function c(i,t){return new d(i,t)}function a(i){for(var t=i.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function l(i){for(var t=i.s;void 0!==t;t=t.n){var n=t.S.n;if(void 0!==n)t.r=n;t.S.n=t;t.i=-1;if(void 0===t.n){i.s=t;break}}}function y(i){var t=i.s,n=void 0;while(void 0!==t){var r=t.p;if(-1===t.i){t.S.U(t);if(void 0!==r)r.n=t.n;if(void 0!==t.n)t.n.p=r}else n=t;t.S.n=t.r;if(void 0!==t.r)t.r=void 0;t=r}i.s=n}function w(i,t){d.call(this,void 0);this.x=i;this.s=void 0;this.g=u-1;this.f=4;this.W=null==t?void 0:t.watched;this.Z=null==t?void 0:t.unwatched;this.name=null==t?void 0:t.name}w.prototype=new d;w.prototype.h=function(){this.f&=-3;if(1&this.f)return!1;if(32==(36&this.f))return!0;this.f&=-5;if(this.g===u)return!0;this.g=u;this.f|=1;if(this.i>0&&!a(this)){this.f&=-2;return!0}var i=r;try{l(this);r=this;var t=this.x();if(16&this.f||this.v!==t||0===this.i){this.v=t;this.f&=-17;this.i++}}catch(i){this.v=i;this.f|=16;this.i++}r=i;y(this);this.f&=-2;return!0};w.prototype.S=function(i){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}d.prototype.S.call(this,i)};w.prototype.U=function(i){if(void 0!==this.t){d.prototype.U.call(this,i);if(void 0===this.t){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}}};w.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var i=this.t;void 0!==i;i=i.x)i.t.N()}};Object.defineProperty(w.prototype,\"value\",{get:function(){if(1&this.f)throw new Error(\"Cycle detected\");var i=e(this);this.h();if(void 0!==i)i.i=this.i;if(16&this.f)throw this.v;return this.v}});function b(i,t){return new w(i,t)}function _(i){var n=i.u;i.u=void 0;if(\"function\"==typeof n){s++;var o=r;r=void 0;try{n()}catch(t){i.f&=-2;i.f|=8;p(i);throw t}finally{r=o;t()}}}function p(i){for(var t=i.s;void 0!==t;t=t.n)t.S.U(t);i.x=void 0;i.s=void 0;_(i)}function g(i){if(r!==this)throw new Error(\"Out-of-order effect\");y(this);r=i;this.f&=-2;if(8&this.f)p(this);t()}function S(i,t){this.x=i;this.u=void 0;this.s=void 0;this.o=void 0;this.f=32;this.name=null==t?void 0:t.name;if(f)f.push(this)}S.prototype.c=function(){var i=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var t=this.x();if(\"function\"==typeof t)this.u=t}finally{i()}};S.prototype.S=function(){if(1&this.f)throw new Error(\"Cycle detected\");this.f|=1;this.f&=-9;_(this);l(this);s++;var i=r;r=this;return g.bind(this,i)};S.prototype.N=function(){if(!(2&this.f)){this.f|=2;this.o=h;h=this}};S.prototype.d=function(){this.f|=8;if(!(1&this.f))p(this)};S.prototype.dispose=function(){this.d()};function m(i,t){var n=new S(i,t);try{n.c()}catch(i){n.d();throw i}var r=n.d.bind(n);r[Symbol.dispose]=r;return r}function E(i){return function(){var t=arguments,r=this;return n(function(){return o(function(){return i.apply(r,[].slice.call(t))})})}}function x(){var i=f;f=[];return function(){var t=f;if(f&&i)i=i.concat(f);f=i;return t}}function C(i){return function(){var t,n,r=x();try{n=i.apply(void 0,[].slice.call(arguments))}catch(i){f=void 0;throw i}finally{t=r()}for(var o in n)if(\"function\"==typeof n[o])n[o]=E(n[o]);n[Symbol.dispose]=E(function(){if(t)for(var i=0;i<t.length;i++)t[i].dispose();t=void 0});return n}}export{w as Computed,S as Effect,d as Signal,E as action,n as batch,b as computed,C as createModel,m as effect,c as signal,o as untracked};//# sourceMappingURL=signals-core.module.js.map\n"],"names":["i","t","h","n","v","r","a","o","u","e","d","m","c","l","y","w","b","_","p","S"],"mappings":"AAAA,IAAIA,IAAE,OAAO,IAAI,gBAAgB;AAAE,SAASC,IAAG;AAAC,MAAK,IAAE;AAA0L;AAAA,OAAvL;AAAY,aAAPD,GAAEC,IAAE,IAAkBC,MAAT,UAAW;AAAC,UAAIC,IAAED;AAAe,WAAbA,IAAE,QAAOE,KAAmBD,MAAT,UAAW;AAAC,YAAIE,IAAEF,EAAE;AAAqB,YAAnBA,EAAE,IAA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