fermmap-shared 0.2.5 → 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 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);
@@ -1954,6 +1955,29 @@ function $89a44c40dc4f72d5$export$ace2b65713be14d8({ validation: validation }) {
1954
1955
 
1955
1956
 
1956
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
+
1957
1981
 
1958
1982
  const $41157374edf6228b$var$radioGroupStyles = " sd12 _ta12 Ue12 qe12";
1959
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";
@@ -2509,11 +2533,19 @@ function $24de22966748f2e6$export$ef9b1a59e592288f({ label: label, options: opti
2509
2533
 
2510
2534
 
2511
2535
 
2536
+
2537
+
2538
+
2539
+
2512
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";
2513
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";
2514
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";
2515
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";
2516
- function $22c620249a5b4412$export$b5cddb1a6bf990a0({ title: title, value: value, description: description }) {
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)();
2517
2549
  return (0, $fs04y$reactjsxruntime.jsxs)("div", {
2518
2550
  className: $22c620249a5b4412$var$cardStyles,
2519
2551
  children: [
@@ -2528,6 +2560,29 @@ function $22c620249a5b4412$export$b5cddb1a6bf990a0({ title: title, value: value,
2528
2560
  description && (0, $fs04y$reactjsxruntime.jsx)("p", {
2529
2561
  className: $22c620249a5b4412$var$cardDescStyles,
2530
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
+ })
2531
2586
  })
2532
2587
  ]
2533
2588
  });