fermmap-shared 0.2.4 → 0.3.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/main.cjs +74 -4
- package/dist/main.cjs.map +1 -1
- package/dist/main.css +78 -58
- package/dist/main.css.map +1 -1
- package/dist/module.css +78 -58
- package/dist/module.css.map +1 -1
- package/dist/module.mjs +76 -6
- package/dist/module.mjs.map +1 -1
- package/package.json +2 -2
package/dist/main.cjs
CHANGED
|
@@ -57,6 +57,7 @@ $parcel$export($305101ddbb5f36e4$exports, "LabeledValue", () => $8cb76c7220c44b2
|
|
|
57
57
|
$parcel$export($305101ddbb5f36e4$exports, "Link", () => $e0bb5e496bf3f32a$export$a6c7ac8248d6e38a);
|
|
58
58
|
$parcel$export($305101ddbb5f36e4$exports, "Menu", () => $0c771dca8e0e8649$export$d9b273488cd8ce6f);
|
|
59
59
|
$parcel$export($305101ddbb5f36e4$exports, "PasswordStrength", () => $89a44c40dc4f72d5$export$ace2b65713be14d8);
|
|
60
|
+
$parcel$export($305101ddbb5f36e4$exports, "Popover", () => $d1460dbc559e1751$export$5b6b19405a83ff9d);
|
|
60
61
|
$parcel$export($305101ddbb5f36e4$exports, "ProgressBar", () => $59fb461a0a6fd889$export$c17561cb55d4db30);
|
|
61
62
|
$parcel$export($305101ddbb5f36e4$exports, "RadioGroup", () => $41157374edf6228b$export$a98f0dcb43a68a25);
|
|
62
63
|
$parcel$export($305101ddbb5f36e4$exports, "SearchField", () => $1f2c2c3990efdd5e$export$b94867ecbd698f21);
|
|
@@ -238,7 +239,7 @@ const $e6839169613154d7$export$353f5b6fc5456de1 = ({ children: children, variant
|
|
|
238
239
|
|
|
239
240
|
|
|
240
241
|
|
|
241
|
-
const $6ab530226d5e3153$export$298b9ad7287f04ba = " sd12 _ta12 Ue12 qe12
|
|
242
|
+
const $6ab530226d5e3153$export$298b9ad7287f04ba = " sd12 _ta12 Ue12 qe12";
|
|
242
243
|
const $6ab530226d5e3153$export$706e9cce604ae69d = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 p9PEPsb12";
|
|
243
244
|
const $6ab530226d5e3153$var$inputStyles = function anonymous(props) {
|
|
244
245
|
let rules = " ";
|
|
@@ -1310,6 +1311,7 @@ const $5a568b5eb65bfe76$export$de65de8213222d10 = ({ onClose: onClose, ...props
|
|
|
1310
1311
|
|
|
1311
1312
|
|
|
1312
1313
|
|
|
1314
|
+
|
|
1313
1315
|
const $1c0dbf01eb96351a$var$comboBoxContainerStyles = " sd12 _ta12 Ub12 qb12 Nh12";
|
|
1314
1316
|
const $1c0dbf01eb96351a$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 p9PEPsb12";
|
|
1315
1317
|
const $1c0dbf01eb96351a$var$inputWrapperStyles = " _Pc12 sd12 eb12";
|
|
@@ -1429,10 +1431,24 @@ const $1c0dbf01eb96351a$var$listBoxItemStyles = function anonymous(props) {
|
|
|
1429
1431
|
const $1c0dbf01eb96351a$var$descriptionStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wc12 xc12 _xa12 wezxGHbtN5kwb12 xezxGHbg12 _xezxGHba12 wfd12 xfd12 _xfa12 wfX0cczbc12 xfX0cczbc12 _xfX0cczba12 _Fd12 _FezxGHba12 _FnuYUweb12 pn12";
|
|
1430
1432
|
const $1c0dbf01eb96351a$var$errorStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wc12 xc12 _xa12 wezxGHbtN5kwb12 xezxGHbg12 _xezxGHba12 wfd12 xfd12 _xfa12 wfX0cczbc12 xfX0cczbc12 _xfX0cczba12 _Fd12 _FezxGHba12 _FnuYUweb12 pnkUCZ12";
|
|
1431
1433
|
function $1c0dbf01eb96351a$export$72b9695b8216309a({ label: label, description: description, errorMessage: errorMessage, isRequired: isRequired = false, isDisabled: isDisabled = false, selectedKey: selectedKey, onSelectionChange: onSelectionChange, items: items, placeholder: placeholder, 'aria-label': ariaLabel, inputValue: controlledInputValue, onInputChange: controlledOnInputChange }) {
|
|
1434
|
+
const [internalInputValue, setInternalInputValue] = (0, $fs04y$react.useState)('');
|
|
1435
|
+
// Sync input value with selected item
|
|
1436
|
+
(0, $fs04y$react.useEffect)(()=>{
|
|
1437
|
+
if (selectedKey) {
|
|
1438
|
+
const selected = items.find((item)=>item.id === selectedKey);
|
|
1439
|
+
if (selected) setInternalInputValue(selected.label);
|
|
1440
|
+
} else setInternalInputValue('');
|
|
1441
|
+
}, [
|
|
1442
|
+
selectedKey,
|
|
1443
|
+
items
|
|
1444
|
+
]);
|
|
1445
|
+
// Use controlled inputValue if provided, otherwise use internal state
|
|
1446
|
+
const effectiveInputValue = controlledInputValue !== undefined ? controlledInputValue : internalInputValue;
|
|
1447
|
+
const effectiveOnInputChange = controlledOnInputChange !== undefined ? controlledOnInputChange : setInternalInputValue;
|
|
1432
1448
|
return (0, $fs04y$reactjsxruntime.jsxs)((0, $fs04y$reactariacomponents.ComboBox), {
|
|
1433
1449
|
className: $1c0dbf01eb96351a$var$comboBoxContainerStyles,
|
|
1434
|
-
inputValue:
|
|
1435
|
-
onInputChange:
|
|
1450
|
+
inputValue: effectiveInputValue,
|
|
1451
|
+
onInputChange: effectiveOnInputChange,
|
|
1436
1452
|
selectedKey: selectedKey,
|
|
1437
1453
|
onSelectionChange: onSelectionChange,
|
|
1438
1454
|
isDisabled: isDisabled,
|
|
@@ -1939,6 +1955,29 @@ function $89a44c40dc4f72d5$export$ace2b65713be14d8({ validation: validation }) {
|
|
|
1939
1955
|
|
|
1940
1956
|
|
|
1941
1957
|
|
|
1958
|
+
const $d1460dbc559e1751$var$popoverStyles = " gqlRAZb12 oc12 nc12 kc12 jc12 _kb12 hb12 mb12 lb12 _jf12 iDr3Osb12 Th12 Qh12 Sh12 Rh12 L6Neosc12 _nLeasBb12";
|
|
1959
|
+
const $d1460dbc559e1751$var$dialogStyles = " KBxJurc12 _Na12 Pa12";
|
|
1960
|
+
const $d1460dbc559e1751$var$headingStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-g12 vx12 we12 xe12 _xa12 wX0cczbd12 xX0cczbd12 _xX0cczba12 wezxGHbd12 xezxGHbd12 _xezxGHba12 wfe12 xfe12 _xfa12 wfX0cczbd12 xfX0cczbd12 _xfX0cczba12 wfezxGHbd12 xfezxGHbd12 _xfezxGHba12 _Fd12 _FezxGHba12 _FnuYUweb12 p9PEPsb12 Jy12 GC12 Iy12 Hy12";
|
|
1961
|
+
function $d1460dbc559e1751$export$5b6b19405a83ff9d({ title: title, children: children }) {
|
|
1962
|
+
return (0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.Popover), {
|
|
1963
|
+
className: $d1460dbc559e1751$var$popoverStyles,
|
|
1964
|
+
children: (0, $fs04y$reactjsxruntime.jsxs)((0, $fs04y$reactariacomponents.Dialog), {
|
|
1965
|
+
className: $d1460dbc559e1751$var$dialogStyles,
|
|
1966
|
+
children: [
|
|
1967
|
+
(0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.Heading), {
|
|
1968
|
+
slot: "title",
|
|
1969
|
+
className: $d1460dbc559e1751$var$headingStyles,
|
|
1970
|
+
children: title
|
|
1971
|
+
}),
|
|
1972
|
+
children
|
|
1973
|
+
]
|
|
1974
|
+
})
|
|
1975
|
+
});
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
|
|
1979
|
+
|
|
1980
|
+
|
|
1942
1981
|
|
|
1943
1982
|
const $41157374edf6228b$var$radioGroupStyles = " sd12 _ta12 Ue12 qe12";
|
|
1944
1983
|
const $41157374edf6228b$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wc12 xc12 _xa12 wezxGHbtN5kwb12 xezxGHbg12 _xezxGHba12 _Fb12 _FnuYUwec12 p9PEPsb12 Gv12";
|
|
@@ -2494,11 +2533,19 @@ function $24de22966748f2e6$export$ef9b1a59e592288f({ label: label, options: opti
|
|
|
2494
2533
|
|
|
2495
2534
|
|
|
2496
2535
|
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
|
|
2539
|
+
|
|
2497
2540
|
const $22c620249a5b4412$var$cardStyles = " gqlRAZb12 oe12 ne12 ke12 je12 Th12 Qh12 Sh12 Rh12 _kb12 hb12 mb12 lb12 _jf12 i05TOsb12 sd12 _ta12 Ug12 qg12 eb12 _Wa12";
|
|
2498
2541
|
const $22c620249a5b4412$var$cardTitleStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-e12 vx12 wd12 xd12 _xa12 wX0cczbc12 xX0cczbc12 _xX0cczba12 wfd12 xfd12 _xfa12 wfX0cczbc12 xfX0cczbc12 _xfX0cczba12 _Fd12 _FezxGHba12 _FnuYUweb12 p9PEPsb12 Jy12 Gy12 Iy12 Hy12";
|
|
2499
2542
|
const $22c620249a5b4412$var$cardValueStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-snabcc12 vx12 we12 xe12 _xa12 wX0cczbd12 xX0cczbd12 _xX0cczba12 wezxGHbd12 xezxGHbd12 _xezxGHba12 wfe12 xfe12 _xfa12 wfX0cczbd12 xfX0cczbd12 _xfX0cczba12 wfezxGHbd12 xfezxGHbd12 _xfezxGHba12 _Fd12 _FezxGHba12 _FnuYUweb12 p9PEPsb12";
|
|
2500
2543
|
const $22c620249a5b4412$var$cardDescStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 p9PEPsb12 Jy12 Gy12 Iy12 Hy12";
|
|
2501
|
-
|
|
2544
|
+
const $22c620249a5b4412$var$listPreviewStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 p9PEPsb12 Jv12 Gy12 Iy12 Hy12";
|
|
2545
|
+
const $22c620249a5b4412$var$listBoxStyles = " Tp12 Qp12 Sp12 Rp12";
|
|
2546
|
+
const $22c620249a5b4412$var$listBoxItemStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 p9PEPsb12 St12 Rt12 Tp12 Qp12 oa12 na12 ka12 ja12 g912";
|
|
2547
|
+
function $22c620249a5b4412$export$b5cddb1a6bf990a0({ title: title, value: value, description: description, list: list, listTitle: listTitle }) {
|
|
2548
|
+
const intl = (0, $25d82f0a3d474ebc$export$5aebe9a147f4d146)();
|
|
2502
2549
|
return (0, $fs04y$reactjsxruntime.jsxs)("div", {
|
|
2503
2550
|
className: $22c620249a5b4412$var$cardStyles,
|
|
2504
2551
|
children: [
|
|
@@ -2513,6 +2560,29 @@ function $22c620249a5b4412$export$b5cddb1a6bf990a0({ title: title, value: value,
|
|
|
2513
2560
|
description && (0, $fs04y$reactjsxruntime.jsx)("p", {
|
|
2514
2561
|
className: $22c620249a5b4412$var$cardDescStyles,
|
|
2515
2562
|
children: description
|
|
2563
|
+
}),
|
|
2564
|
+
list && list.length > 0 && (0, $fs04y$reactjsxruntime.jsx)("div", {
|
|
2565
|
+
className: $22c620249a5b4412$var$listPreviewStyles,
|
|
2566
|
+
children: (0, $fs04y$reactjsxruntime.jsxs)((0, $fs04y$reactariacomponents.DialogTrigger), {
|
|
2567
|
+
children: [
|
|
2568
|
+
(0, $fs04y$reactjsxruntime.jsx)((0, $e6839169613154d7$export$353f5b6fc5456de1), {
|
|
2569
|
+
variant: "navigation",
|
|
2570
|
+
children: intl.formatMessage({
|
|
2571
|
+
id: 'statCard.viewAll'
|
|
2572
|
+
})
|
|
2573
|
+
}),
|
|
2574
|
+
(0, $fs04y$reactjsxruntime.jsx)((0, $d1460dbc559e1751$export$5b6b19405a83ff9d), {
|
|
2575
|
+
title: listTitle || title,
|
|
2576
|
+
children: (0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.ListBox), {
|
|
2577
|
+
className: $22c620249a5b4412$var$listBoxStyles,
|
|
2578
|
+
children: list.map((item)=>(0, $fs04y$reactjsxruntime.jsx)((0, $fs04y$reactariacomponents.ListBoxItem), {
|
|
2579
|
+
className: $22c620249a5b4412$var$listBoxItemStyles,
|
|
2580
|
+
children: item.name
|
|
2581
|
+
}, item.id))
|
|
2582
|
+
})
|
|
2583
|
+
})
|
|
2584
|
+
]
|
|
2585
|
+
})
|
|
2516
2586
|
})
|
|
2517
2587
|
]
|
|
2518
2588
|
});
|