@foodpilot/foods 2.16.4 → 2.17.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/components/Form/FoodsFormFields/FoodsTextInput.d.ts +1 -0
- package/dist/components/Form/FoodsFormFields/FoodsTextInput.js +5 -4
- package/dist/components/Form/UnitConverterPopover.d.ts +30 -0
- package/dist/components/Form/UnitConverterPopover.js +9 -0
- package/dist/components/Form/index.d.ts +1 -0
- package/dist/components/Icons/iconConfig.d.ts +6 -0
- package/dist/components/Icons/iconConfig.js +1 -1
- package/dist/components/Number/NumberWithUnit.js +2 -2
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import{jsxs as o,jsx as r}from"react/jsx-runtime";import{useTheme as e,Stack as t,Typography as i,styled as d,InputBase as
|
|
2
|
-
return o(t,{gap:
|
|
3
|
-
/* @__PURE__ */o(t,{flexDirection:"row",gap:
|
|
4
|
-
/* @__PURE__ */r(
|
|
1
|
+
import{jsxs as o,jsx as r}from"react/jsx-runtime";import{useTheme as e,Stack as t,Typography as i,styled as d,InputBase as a}from"@mui/material";import{FoodsIconButton as l}from"../../Button/FoodsIconButton.js";const u=d=>{const{value:a,onChange:u,defaultOption:c,unit:s,unitAddon:p,error:m=!1,disabled:g=!1,ExtraInputProps:b={},Tooltip:h={},StackProps:x={}}=d,y=e(),{text:v,props:f}=h;/* @__PURE__ */
|
|
2
|
+
return o(t,{gap:y.spacing(1),...x,children:[
|
|
3
|
+
/* @__PURE__ */o(t,{flexDirection:"row",gap:y.spacing(1.5),alignItems:"center",children:[
|
|
4
|
+
/* @__PURE__ */r(n,{fullWidth:!0,value:a,onChange:o=>{const r=o.currentTarget.value;u(r)},error:m,disabled:g,...b}),s&&/* @__PURE__ */o(t,{flexDirection:"row",gap:y.spacing(.5),alignItems:"center",children:[
|
|
5
|
+
/* @__PURE__ */r(i,{variant:"body-medium",maxWidth:"200px",sx:{textWrap:"nowrap",overflow:"clip",textOverflow:"ellipsis"},children:s}),p]}),c&&/* @__PURE__ */r(l,{size:"s",icon:"reset",tooltip:{text:v,props:f},buttonProps:{onClick:()=>{u(c.value),c.extraAction?.(c.value)},disabled:g}})]}),c&&/* @__PURE__ */r(i,{variant:"small-medium",children:`${c.label} ${c.value}`})]})},n=d(a)(({theme:o})=>({"&.MuiInputBase-root":{backgroundColor:"white",height:"40px",borderRadius:o.spacing(1),paddingRight:"12px",paddingLeft:"20px",border:`1px solid ${o.custom.grey[500]}`,":hover":{backgroundColor:o.custom.grey[300]},color:o.custom.grey[2800],...o.typography["body-medium"],"& ::placeholder":{...o.typography["body-medium"],color:o.custom.grey[1400]}},"&.Mui-disabled":{backgroundColor:o.custom.grey[500],":hover":{backgroundColor:o.custom.grey[500]}},"&.Mui-focused":{border:`2px solid ${o.custom.grey[2800]}`},"&.Mui-error":{border:`1px solid ${o.custom.red[600]}`,backgroundColor:o.custom.red[100],color:o.custom.red[600],":hover":{backgroundColor:o.custom.red[200]}},"&.Mui-error.Mui-focused":{border:`2px solid ${o.custom.red[600]}`}}));export{u as FoodsTextInput};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type UnitConverterOption = {
|
|
2
|
+
id: string | number;
|
|
3
|
+
label: string;
|
|
4
|
+
abbreviation: string;
|
|
5
|
+
factor: number;
|
|
6
|
+
source?: string | null;
|
|
7
|
+
};
|
|
8
|
+
export type UnitConverterPopoverLabels = {
|
|
9
|
+
apply: string;
|
|
10
|
+
cancel: string;
|
|
11
|
+
preview: string;
|
|
12
|
+
sourceValue: string;
|
|
13
|
+
sourceUnit: string;
|
|
14
|
+
factorHint: string;
|
|
15
|
+
};
|
|
16
|
+
export type UnitConverterPopoverProps = {
|
|
17
|
+
open: boolean;
|
|
18
|
+
anchor: HTMLElement | null;
|
|
19
|
+
onClose: () => void;
|
|
20
|
+
targetAbbreviation: string;
|
|
21
|
+
options: UnitConverterOption[];
|
|
22
|
+
selectedOptionId: string | number | null;
|
|
23
|
+
onSelectedOptionIdChange: (id: string | number) => void;
|
|
24
|
+
sourceValue: string;
|
|
25
|
+
onSourceValueChange: (value: string) => void;
|
|
26
|
+
labels: UnitConverterPopoverLabels;
|
|
27
|
+
onApply: () => void;
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
};
|
|
30
|
+
export declare const UnitConverterPopover: (props: UnitConverterPopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{jsx as e,jsxs as n}from"react/jsx-runtime";import{useTheme as r,Stack as i,Typography as o,Select as a,MenuItem as l,Button as t}from"@mui/material";import{useMemo as c}from"react";import{AnchoredPopover as d}from"../Popover/AnchoredPopover.js";import{FoodsTextInput as s}from"./FoodsFormFields/FoodsTextInput.js";const p=p=>{const{open:u,anchor:m,onClose:h,targetAbbreviation:g,options:b,selectedOptionId:v,onSelectedOptionIdChange:f,sourceValue:y,onSourceValueChange:C,labels:x,onApply:I,disabled:j=!1}=p,F=r(),N=c(()=>b.find(e=>e.id===v)??null,[b,v]),P=c(()=>{const e=Number(y.replace(",","."));return!N||Number.isNaN(e)?null:e*N.factor},[y,N]);/* @__PURE__ */
|
|
2
|
+
return e(d,{open:u,anchor:m,onClose:h,anchorPosition:"rightside",children:/* @__PURE__ */n(i,{gap:F.spacing(2),minWidth:F.spacing(40),children:[
|
|
3
|
+
/* @__PURE__ */e(o,{variant:"body-medium",children:x.sourceValue}),
|
|
4
|
+
/* @__PURE__ */n(i,{flexDirection:"row",gap:F.spacing(1.5),alignItems:"center",children:[
|
|
5
|
+
/* @__PURE__ */e(s,{value:y,onChange:C,disabled:j,ExtraInputProps:{type:"number"}}),
|
|
6
|
+
/* @__PURE__ */e(a,{value:v??"",onChange:e=>f(e.target.value),disabled:j||0===b.length,size:"small",sx:{minWidth:F.spacing(14)},children:b.map(n=>/* @__PURE__ */e(l,{value:n.id,children:n.abbreviation},n.id))})]}),N&&/* @__PURE__ */n(o,{variant:"small-regular",color:F.custom.grey[1500],children:[x.factorHint,": ",N.factor," → ",g,N.source?` (${N.source})`:""]}),null!==P&&N&&/* @__PURE__ */n(o,{variant:"body-medium",children:[x.preview,": ",y," ",N.abbreviation," → ",P," ",g]}),
|
|
7
|
+
/* @__PURE__ */n(i,{flexDirection:"row",gap:F.spacing(1),justifyContent:"flex-end",children:[
|
|
8
|
+
/* @__PURE__ */e(t,{variant:"secondary",onClick:h,disabled:j,children:x.cancel}),
|
|
9
|
+
/* @__PURE__ */e(t,{variant:"primary",onClick:I,disabled:j||null===P||null===N,children:x.apply})]})]})})};export{p as UnitConverterPopover};
|
|
@@ -1086,6 +1086,12 @@ export declare const iconMapping: {
|
|
|
1086
1086
|
desc?: string;
|
|
1087
1087
|
descId?: string;
|
|
1088
1088
|
}>;
|
|
1089
|
+
readonly unitConverter: FunctionComponent< SVGProps<SVGSVGElement> & {
|
|
1090
|
+
title?: string;
|
|
1091
|
+
titleId?: string;
|
|
1092
|
+
desc?: string;
|
|
1093
|
+
descId?: string;
|
|
1094
|
+
}>;
|
|
1089
1095
|
readonly timer: FunctionComponent< SVGProps<SVGSVGElement> & {
|
|
1090
1096
|
title?: string;
|
|
1091
1097
|
titleId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import s from"../../assets/Default.svg.js";import o from"../../assets/objects_concepts/agriculture.svg.js";import t from"../../assets/objects_concepts/animation.svg.js";import e from"../../assets/objects_concepts/brand.svg.js";import r from"../../assets/objects_concepts/business-trips.svg.js";import a from"../../assets/objects_concepts/carbon-emissions.svg.js";import i from"../../assets/objects_concepts/carbon-neutrality.svg.js";import n from"../../assets/objects_concepts/collective.svg.js";import c from"../../assets/objects_concepts/communication.svg.js";import p from"../../assets/objects_concepts/Compass.svg.js";import m from"../../assets/objects_concepts/consumption.svg.js";import g from"../../assets/objects_concepts/corporate.svg.js";import f from"../../assets/objects_concepts/diagnostic.svg.js";import j from"../../assets/objects_concepts/distribution.svg.js";import v from"../../assets/objects_concepts/energy.svg.js";import u from"../../assets/objects_concepts/equal.svg.js";import _ from"../../assets/objects_concepts/euros.svg.js";import l from"../../assets/objects_concepts/events.svg.js";import d from"../../assets/objects_concepts/forests-and-woods.svg.js";import b from"../../assets/objects_concepts/hedges-and-plant-covers.svg.js";import h from"../../assets/objects_concepts/ingredients.svg.js";import w from"../../assets/objects_concepts/inputs-and-chimicals.svg.js";import y from"../../assets/objects_concepts/labels.svg.js";import k from"../../assets/objects_concepts/organization.svg.js";import S from"../../assets/objects_concepts/packaging.svg.js";import C from"../../assets/objects_concepts/production-sites.svg.js";import D from"../../assets/objects_concepts/production.svg.js";import A from"../../assets/objects_concepts/products-bying.svg.js";import q from"../../assets/objects_concepts/products.svg.js";import P from"../../assets/objects_concepts/project-manager.svg.js";import R from"../../assets/objects_concepts/publications.svg.js";import N from"../../assets/objects_concepts/ranges-and-sectors.svg.js";import U from"../../assets/objects_concepts/recipe.svg.js";import x from"../../assets/objects_concepts/sectors.svg.js";import L from"../../assets/objects_concepts/social-media.svg.js";import T from"../../assets/objects_concepts/strategy.svg.js";import z from"../../assets/objects_concepts/suppliers.svg.js";import F from"../../assets/objects_concepts/territories.svg.js";import O from"../../assets/objects_concepts/trajectory.svg.js";import B from"../../assets/objects_concepts/transformation-steps.svg.js";import I from"../../assets/objects_concepts/transportation.svg.js";import M from"../../assets/objects_concepts/users.svg.js";import Q from"../../assets/objects_concepts/vineyard.svg.js";import W from"../../assets/objects_concepts/webinars.svg.js";import E from"../../assets/objects_concepts/wine-tourism.svg.js";import G from"../../assets/objects_concepts/document-space.svg.js";import K from"../../assets/objects_concepts/grid-view.svg.js";import V from"../../assets/objects_concepts/Simulation.svg.js";import H from"../../assets/objects_concepts/table-view.svg.js";import J from"../../assets/objects_concepts/upload-file.svg.js";import X from"../../assets/objects_concepts/analyze-data.svg.js";import Y from"../../assets/objects_concepts/dashboard-2.svg.js";import Z from"../../assets/objects_concepts/Lock.svg.js";import $ from"../../assets/objects_concepts/Travel.svg.js";import ss from"../../assets/objects_concepts/Dot.svg.js";import os from"../../assets/objects_concepts/Start.svg.js";import ts from"../../assets/objects_concepts/Cheer.svg.js";import es from"../../assets/objects_concepts/Calculate.svg.js";import rs from"../../assets/objects_concepts/no-calculation.svg.js";import as from"../../assets/objects_concepts/Reference.svg.js";import is from"../../assets/objects_concepts/Webhook.svg.js";import ns from"../../assets/objects_concepts/Wand.svg.js";import cs from"../../assets/objects_concepts/Graph-link.svg.js";import ps from"../../assets/objects_concepts/Handshake.svg.js";import ms from"../../assets/objects_concepts/Biodiversity.svg.js";import gs from"../../assets/objects_concepts/Utilisation.svg.js";import fs from"../../assets/objects_concepts/Rules.svg.js";import js from"../../assets/objects_concepts/Support.svg.js";import vs from"../../assets/objects_concepts/Forum.svg.js";import us from"../../assets/objects_concepts/bar-code.svg.js";import _s from"../../assets/objects_concepts/wheat.svg.js";import ls from"../../assets/objects_concepts/flour.svg.js";import ds from"../../assets/objects_concepts/drop.svg.js";import bs from"../../assets/objects_concepts/bottle.svg.js";import hs from"../../assets/objects_concepts/grain.svg.js";import ws from"../../assets/objects_concepts/articles.svg.js";import ys from"../../assets/objects_concepts/chess-pawn.svg.js";import ks from"../../assets/objects_concepts/chess-rook.svg.js";import Ss from"../../assets/objects_concepts/chess-knight.svg.js";import Cs from"../../assets/objects_concepts/chess-king.svg.js";import Ds from"../../assets/objects_concepts/barrel.svg.js";import As from"../../assets/objects_concepts/grape.svg.js";import qs from"../../assets/objects_concepts/vat.svg.js";import Ps from"../../assets/objects_concepts/label.svg.js";import Rs from"../../assets/objects_concepts/validate-questionnaire.svg.js";import Ns from"../../assets/objects_concepts/open-in-full.svg.js";import Us from"../../assets/objects_concepts/analytics.svg.js";import xs from"../../assets/objects_concepts/archive.svg.js";import Ls from"../../assets/objects_concepts/replace.svg.js";import Ts from"../../assets/objects_concepts/restore.svg.js";import zs from"../../assets/objects_concepts/refrigerated-transport.svg.js";import Fs from"../../assets/objects_concepts/boat.svg.js";import Os from"../../assets/objects_concepts/refrigerated-boat.svg.js";import Bs from"../../assets/objects_concepts/box.svg.js";import Is from"../../assets/objects_concepts/boxes.svg.js";import Ms from"../../assets/objects_concepts/specific-data.svg.js";import Qs from"../../assets/objects_concepts/reference-data.svg.js";import Ws from"../../assets/objects_concepts/check-circle-filled.svg.js";import Es from"../../assets/objects_concepts/leg.svg.js";import Gs from"../../assets/objects_concepts/route.svg.js";import Ks from"../../assets/objects_concepts/train.svg.js";import Vs from"../../assets/pages_functions/carbon.svg.js";import Hs from"../../assets/pages_functions/social.svg.js";import Js from"../../assets/pages_functions/environment.svg.js";import Xs from"../../assets/pages_functions/commitment.svg.js";import Ys from"../../assets/pages_functions/check-list.svg.js";import Zs from"../../assets/pages_functions/linked-questionnaire.svg.js";import $s from"../../assets/pages_functions/actions-plan.svg.js";import so from"../../assets/pages_functions/actions.svg.js";import oo from"../../assets/pages_functions/activity-data.svg.js";import to from"../../assets/pages_functions/add-or-remove.svg.js";import eo from"../../assets/pages_functions/add-users.svg.js";import ro from"../../assets/pages_functions/add.svg.js";import ao from"../../assets/pages_functions/analytics.svg.js";import io from"../../assets/pages_functions/arrow-trajectory.svg.js";import no from"../../assets/pages_functions/arrow-down-small.svg.js";import co from"../../assets/pages_functions/arrow-down.svg.js";import po from"../../assets/pages_functions/arrow-left-small.svg.js";import mo from"../../assets/pages_functions/arrow-left.svg.js";import go from"../../assets/pages_functions/arrow-right-small.svg.js";import fo from"../../assets/pages_functions/arrow-right.svg.js";import jo from"../../assets/pages_functions/arrow-up-small.svg.js";import vo from"../../assets/pages_functions/arrow-up.svg.js";import uo from"../../assets/pages_functions/calendar.svg.js";import _o from"../../assets/pages_functions/callback.svg.js";import lo from"../../assets/pages_functions/cancel.svg.js";import bo from"../../assets/pages_functions/check.svg.js";import ho from"../../assets/pages_functions/click-indicator.svg.js";import wo from"../../assets/pages_functions/close.svg.js";import yo from"../../assets/pages_functions/columns.svg.js";import ko from"../../assets/pages_functions/comparison.svg.js";import So from"../../assets/pages_functions/compare.svg.js";import Co from"../../assets/pages_functions/congrats.svg.js";import Do from"../../assets/pages_functions/dashboard.svg.js";import Ao from"../../assets/pages_functions/delete.svg.js";import qo from"../../assets/pages_functions/documentation.svg.js";import Po from"../../assets/pages_functions/drag.svg.js";import Ro from"../../assets/pages_functions/duplicate.svg.js";import No from"../../assets/pages_functions/edit.svg.js";import Uo from"../../assets/pages_functions/evolution.svg.js";import xo from"../../assets/pages_functions/empty.svg.js";import Lo from"../../assets/pages_functions/export-and-download.svg.js";import To from"../../assets/pages_functions/filter.svg.js";import zo from"../../assets/pages_functions/hamburger-menu.svg.js";import Fo from"../../assets/pages_functions/hide-pwd.svg.js";import Oo from"../../assets/pages_functions/home.svg.js";import Bo from"../../assets/pages_functions/import-and-upload.svg.js";import Io from"../../assets/pages_functions/information.svg.js";import Mo from"../../assets/pages_functions/informations.svg.js";import Qo from"../../assets/pages_functions/list.svg.js";import Wo from"../../assets/pages_functions/logout.svg.js";import Eo from"../../assets/pages_functions/mail.svg.js";import Go from"../../assets/pages_functions/minus.svg.js";import Ko from"../../assets/pages_functions/open-in-new-tab.svg.js";import Vo from"../../assets/pages_functions/open-panel.svg.js";import Ho from"../../assets/pages_functions/previous-campaign.svg.js";import Jo from"../../assets/pages_functions/question-mark.svg.js";import Xo from"../../assets/pages_functions/plus.svg.js";import Yo from"../../assets/pages_functions/questionnaires.svg.js";import Zo from"../../assets/pages_functions/reminder.svg.js";import $o from"../../assets/pages_functions/remove-users.svg.js";import st from"../../assets/pages_functions/remove.svg.js";import ot from"../../assets/pages_functions/repartition.svg.js";import tt from"../../assets/pages_functions/repositories.svg.js";import et from"../../assets/pages_functions/reset.svg.js";import rt from"../../assets/pages_functions/save.svg.js";import at from"../../assets/pages_functions/saved-online.svg.js";import it from"../../assets/pages_functions/scores-and-indicators.svg.js";import nt from"../../assets/pages_functions/search.svg.js";import ct from"../../assets/pages_functions/send-message.svg.js";import pt from"../../assets/pages_functions/settings.svg.js";import mt from"../../assets/pages_functions/sort-ascending.svg.js";import gt from"../../assets/pages_functions/sort-descending.svg.js";import ft from"../../assets/pages_functions/sort-no-sorting.svg.js";import jt from"../../assets/pages_functions/sync.svg.js";import vt from"../../assets/pages_functions/timer.svg.js";import ut from"../../assets/pages_functions/user-account.svg.js";import _t from"../../assets/pages_functions/view-pwd.svg.js";import lt from"../../assets/pages_functions/visio.svg.js";import dt from"../../assets/pages_functions/warning.svg.js";import bt from"../../assets/pages_functions/add-a-note.svg.js";import ht from"../../assets/pages_functions/add-file.svg.js";import wt from"../../assets/pages_functions/add-notes.svg.js";import yt from"../../assets/pages_functions/all-features.svg.js";import kt from"../../assets/pages_functions/arrow-down-right.svg.js";import St from"../../assets/pages_functions/arrow-up-right.svg.js";import Ct from"../../assets/pages_functions/Details.svg.js";import Dt from"../../assets/pages_functions/Done.svg.js";import At from"../../assets/pages_functions/graph.svg.js";import qt from"../../assets/pages_functions/in-progress.svg.js";import Pt from"../../assets/pages_functions/Note.svg.js";import Rt from"../../assets/pages_functions/Notes.svg.js";import Nt from"../../assets/pages_functions/questionnaire-answer.svg.js";import Ut from"../../assets/pages_functions/Suggestions.svg.js";import xt from"../../assets/pages_functions/Target.svg.js";import Lt from"../../assets/pages_functions/uncomplete-questionnaire.svg.js";import Tt from"../../assets/pages_functions/waterfall-graph.svg.js";import zt from"../../assets/pages_functions/format-list-numbered.svg.js";import Ft from"../../assets/pages_functions/Attachement.svg.js";import Ot from"../../assets/pages_functions/tag-comment.svg.js";import Bt from"../../assets/pages_functions/star-empty.svg.js";import It from"../../assets/pages_functions/star-filled.svg.js";import Mt from"../../assets/pages_functions/right-panel-open.svg.js";import Qt from"../../assets/pages_functions/right-panel-close.svg.js";import Wt from"../../assets/pages_functions/trajectory-graph.svg.js";import Et from"../../assets/pages_functions/history.svg.js";import Gt from"../../assets/pages_functions/format-bold.svg.js";import Kt from"../../assets/pages_functions/format-italic.svg.js";import Vt from"../../assets/pages_functions/format-underlined.svg.js";import Ht from"../../assets/pages_functions/strikethrough-s.svg.js";import Jt from"../../assets/pages_functions/format-color-text.svg.js";import Xt from"../../assets/pages_functions/format-align-left.svg.js";import Yt from"../../assets/pages_functions/format-align-center.svg.js";import Zt from"../../assets/pages_functions/format-align-right.svg.js";import $t from"../../assets/pages_functions/format-list-bulleted.svg.js";import se from"../../assets/pages_functions/askor.svg.js";import oe from"../../assets/pages_functions/admin.svg.js";import te from"../../assets/pages_functions/zoom-in.svg.js";import ee from"../../assets/pages_functions/zoom-out.svg.js";import re from"../../assets/pages_functions/fold.svg.js";import ae from"../../assets/pages_functions/unfold.svg.js";import ie from"../../assets/pages_functions/company-settings.svg.js";import ne from"../../assets/pages_functions/double-arrow-up.svg.js";import ce from"../../assets/pages_functions/double-arrow-down.svg.js";import pe from"../../assets/pages_functions/tag.svg.js";import me from"../../assets/pages_functions/category-tag.svg.js";import ge from"../../assets/pages_functions/camera.svg.js";import fe from"../../assets/pages_functions/gallery.svg.js";import je from"../../assets/pages_functions/arrow-circle-up.svg.js";import ve from"../../assets/pages_functions/Rules.svg.js";import ue from"../../assets/pages_functions/Support.svg.js";const _e={default:s,agriculture:o,animation:t,brand:e,businessTrips:r,carbonEmission:a,carbonNeutrality:i,collective:n,communication:c,compass:p,consumption:m,corporate:g,diagnostic:f,distribution:j,energy:v,equal:u,euros:_,events:l,forestWoods:d,hedgesPlantCovers:b,ingredients:h,inputsChemicals:w,labels:y,organization:k,packaging:S,productionSite:C,production:D,productsBying:A,products:q,projectManager:P,publications:R,rangesSectors:N,recipe:U,sectors:x,socialMedia:L,strategy:T,supplier:z,territories:F,trajectory:O,transformationSteps:B,transportation:I,users:M,vineyard:Q,webinard:W,wineTourism:E,documentSpace:G,gridView:K,simulation:V,tableView:H,uploadFile:J,analyzeData:X,dashboard2:Y,lock:Z,travel:$,dot:ss,start:os,cheer:ts,calculate:es,noCalculation:rs,reference:as,webhook:is,wand:ns,graphLink:cs,handshake:ps,biodiversity:ms,utilisation:gs,rulesObject:fs,supportObject:js,forum:vs,barCode:us,wheat:_s,flour:ls,drop:ds,bottle:bs,grain:hs,articles:ws,chessPawn:ys,chessRook:ks,chessKnight:Ss,chessKing:Cs,barrel:Ds,grape:As,vat:qs,label:Ps,validateQuestionnaire:Rs,openInFull:Ns,objectAnalytics:Us,archive:xs,replace:Ls,restore:Ts,refrigeratedTransport:zs,boat:Fs,refrigeratedBoat:Os,box:Bs,boxes:Is,specificData:Ms,referenceData:Qs,checkCircleFilled:Ws,leg:Es,route:Gs,train:Ks,suppliers:z,webinars:W,carbon:a,social:L,analyticsObject:Us,circleCheck:Ws,carbonSSQ:Vs,socialSSQ:Hs,environment:Js,commitment:Xs,checkList:Ys,linkedQuestionnaire:Zs,actionPlan:$s,actions:so,activityData:oo,addRemove:to,addUser:eo,add:ro,analytics:ao,arrowTrajectory:io,arrowDownShort:no,arrowDown:co,arrowLeftShort:po,arrowLeft:mo,arrowRightShort:go,arrowRight:fo,arrowUpShort:jo,arrowUp:vo,calendar:uo,callback:_o,cancel:lo,check:bo,clickIndicator:ho,close:wo,columns:yo,comparison:ko,compare:So,congrats:Co,dashboard:Do,delete:Ao,documentation:qo,drag:Po,duplicate:Ro,edit:No,evolution:Uo,empty:xo,exportDownload:Lo,filter:To,hamburgerMenu:zo,hidePwd:Fo,home:Oo,importUpload:Bo,information:Io,informations:Mo,list:Qo,logout:Wo,mail:Eo,minus:Go,openNewTab:Ko,openPanel:Vo,previousCampaign:Ho,questionMark:Jo,plus:Xo,questionnaires:Yo,reminder:Zo,removeUser:$o,remove:st,repartition:ot,repositories:tt,reset:et,save:rt,savedOnline:at,scoresIndicators:it,search:nt,sendMessage:ct,settings:pt,sortAscending:mt,sortDescending:gt,sortNoSorting:ft,sync:jt,timer:vt,userAccount:ut,viewPwd:_t,visio:lt,warning:dt,addANote:bt,addFile:ht,addNotes:wt,allFeatures:yt,arrowDownRight:kt,arrowUpRight:St,details:Ct,done:Dt,graph:At,inProgress:qt,note:Pt,notes:Rt,questionnaireAnswer:Nt,suggestions:Ut,target:xt,uncompleteQuestionnaire:Lt,waterfall:Tt,formatNumberedList:zt,attachment:Ft,tagComment:Ot,starEmpty:Bt,starFilled:It,rightPanelOpen:Mt,rightPanelClose:Qt,trajectoryGraph:Wt,history:Et,formatBold:Gt,formatItalic:Kt,formatUnderlined:Vt,strikethroughS:Ht,formatColorText:Jt,formatAlignLeft:Xt,formatAlignCenter:Yt,formatAlignRight:Zt,formatListBulleted:$t,formatListNumbered:zt,askor:se,admin:oe,zoomIn:te,zoomOut:ee,fold:re,unfold:ae,companySettings:ie,doubleArrowUp:ne,doubleArrowDown:ce,tag:pe,categoryTag:me,camera:ge,gallery:fe,arrowCircleUp:je,favAdded:It,favNonAdded:Bt,closePanel:Qt,openRightPanel:Mt,attachement:Ft,rules:ve,support:ue},le=s=>{const o=12+4*s;return{width:o,height:o}};export{le as computeSize,_e as iconMapping};
|
|
1
|
+
import s from"../../assets/Default.svg.js";import o from"../../assets/objects_concepts/agriculture.svg.js";import t from"../../assets/objects_concepts/animation.svg.js";import e from"../../assets/objects_concepts/brand.svg.js";import r from"../../assets/objects_concepts/business-trips.svg.js";import a from"../../assets/objects_concepts/carbon-emissions.svg.js";import i from"../../assets/objects_concepts/carbon-neutrality.svg.js";import n from"../../assets/objects_concepts/collective.svg.js";import c from"../../assets/objects_concepts/communication.svg.js";import p from"../../assets/objects_concepts/Compass.svg.js";import m from"../../assets/objects_concepts/consumption.svg.js";import g from"../../assets/objects_concepts/corporate.svg.js";import f from"../../assets/objects_concepts/diagnostic.svg.js";import j from"../../assets/objects_concepts/distribution.svg.js";import v from"../../assets/objects_concepts/energy.svg.js";import u from"../../assets/objects_concepts/equal.svg.js";import _ from"../../assets/objects_concepts/euros.svg.js";import l from"../../assets/objects_concepts/events.svg.js";import d from"../../assets/objects_concepts/forests-and-woods.svg.js";import b from"../../assets/objects_concepts/hedges-and-plant-covers.svg.js";import h from"../../assets/objects_concepts/ingredients.svg.js";import w from"../../assets/objects_concepts/inputs-and-chimicals.svg.js";import y from"../../assets/objects_concepts/labels.svg.js";import k from"../../assets/objects_concepts/organization.svg.js";import S from"../../assets/objects_concepts/packaging.svg.js";import C from"../../assets/objects_concepts/production-sites.svg.js";import D from"../../assets/objects_concepts/production.svg.js";import A from"../../assets/objects_concepts/products-bying.svg.js";import q from"../../assets/objects_concepts/products.svg.js";import P from"../../assets/objects_concepts/project-manager.svg.js";import R from"../../assets/objects_concepts/publications.svg.js";import N from"../../assets/objects_concepts/ranges-and-sectors.svg.js";import U from"../../assets/objects_concepts/recipe.svg.js";import x from"../../assets/objects_concepts/sectors.svg.js";import L from"../../assets/objects_concepts/social-media.svg.js";import T from"../../assets/objects_concepts/strategy.svg.js";import z from"../../assets/objects_concepts/suppliers.svg.js";import F from"../../assets/objects_concepts/territories.svg.js";import O from"../../assets/objects_concepts/trajectory.svg.js";import B from"../../assets/objects_concepts/transformation-steps.svg.js";import I from"../../assets/objects_concepts/transportation.svg.js";import M from"../../assets/objects_concepts/users.svg.js";import Q from"../../assets/objects_concepts/vineyard.svg.js";import W from"../../assets/objects_concepts/webinars.svg.js";import E from"../../assets/objects_concepts/wine-tourism.svg.js";import G from"../../assets/objects_concepts/document-space.svg.js";import K from"../../assets/objects_concepts/grid-view.svg.js";import V from"../../assets/objects_concepts/Simulation.svg.js";import H from"../../assets/objects_concepts/table-view.svg.js";import J from"../../assets/objects_concepts/upload-file.svg.js";import X from"../../assets/objects_concepts/analyze-data.svg.js";import Y from"../../assets/objects_concepts/dashboard-2.svg.js";import Z from"../../assets/objects_concepts/Lock.svg.js";import $ from"../../assets/objects_concepts/Travel.svg.js";import ss from"../../assets/objects_concepts/Dot.svg.js";import os from"../../assets/objects_concepts/Start.svg.js";import ts from"../../assets/objects_concepts/Cheer.svg.js";import es from"../../assets/objects_concepts/Calculate.svg.js";import rs from"../../assets/objects_concepts/no-calculation.svg.js";import as from"../../assets/objects_concepts/Reference.svg.js";import is from"../../assets/objects_concepts/Webhook.svg.js";import ns from"../../assets/objects_concepts/Wand.svg.js";import cs from"../../assets/objects_concepts/Graph-link.svg.js";import ps from"../../assets/objects_concepts/Handshake.svg.js";import ms from"../../assets/objects_concepts/Biodiversity.svg.js";import gs from"../../assets/objects_concepts/Utilisation.svg.js";import fs from"../../assets/objects_concepts/Rules.svg.js";import js from"../../assets/objects_concepts/Support.svg.js";import vs from"../../assets/objects_concepts/Forum.svg.js";import us from"../../assets/objects_concepts/bar-code.svg.js";import _s from"../../assets/objects_concepts/wheat.svg.js";import ls from"../../assets/objects_concepts/flour.svg.js";import ds from"../../assets/objects_concepts/drop.svg.js";import bs from"../../assets/objects_concepts/bottle.svg.js";import hs from"../../assets/objects_concepts/grain.svg.js";import ws from"../../assets/objects_concepts/articles.svg.js";import ys from"../../assets/objects_concepts/chess-pawn.svg.js";import ks from"../../assets/objects_concepts/chess-rook.svg.js";import Ss from"../../assets/objects_concepts/chess-knight.svg.js";import Cs from"../../assets/objects_concepts/chess-king.svg.js";import Ds from"../../assets/objects_concepts/barrel.svg.js";import As from"../../assets/objects_concepts/grape.svg.js";import qs from"../../assets/objects_concepts/vat.svg.js";import Ps from"../../assets/objects_concepts/label.svg.js";import Rs from"../../assets/objects_concepts/validate-questionnaire.svg.js";import Ns from"../../assets/objects_concepts/open-in-full.svg.js";import Us from"../../assets/objects_concepts/analytics.svg.js";import xs from"../../assets/objects_concepts/archive.svg.js";import Ls from"../../assets/objects_concepts/replace.svg.js";import Ts from"../../assets/objects_concepts/restore.svg.js";import zs from"../../assets/objects_concepts/refrigerated-transport.svg.js";import Fs from"../../assets/objects_concepts/boat.svg.js";import Os from"../../assets/objects_concepts/refrigerated-boat.svg.js";import Bs from"../../assets/objects_concepts/box.svg.js";import Is from"../../assets/objects_concepts/boxes.svg.js";import Ms from"../../assets/objects_concepts/specific-data.svg.js";import Qs from"../../assets/objects_concepts/reference-data.svg.js";import Ws from"../../assets/objects_concepts/check-circle-filled.svg.js";import Es from"../../assets/objects_concepts/leg.svg.js";import Gs from"../../assets/objects_concepts/route.svg.js";import Ks from"../../assets/objects_concepts/train.svg.js";import Vs from"../../assets/pages_functions/carbon.svg.js";import Hs from"../../assets/pages_functions/social.svg.js";import Js from"../../assets/pages_functions/environment.svg.js";import Xs from"../../assets/pages_functions/commitment.svg.js";import Ys from"../../assets/pages_functions/check-list.svg.js";import Zs from"../../assets/pages_functions/linked-questionnaire.svg.js";import $s from"../../assets/pages_functions/actions-plan.svg.js";import so from"../../assets/pages_functions/actions.svg.js";import oo from"../../assets/pages_functions/activity-data.svg.js";import to from"../../assets/pages_functions/add-or-remove.svg.js";import eo from"../../assets/pages_functions/add-users.svg.js";import ro from"../../assets/pages_functions/add.svg.js";import ao from"../../assets/pages_functions/analytics.svg.js";import io from"../../assets/pages_functions/arrow-trajectory.svg.js";import no from"../../assets/pages_functions/arrow-down-small.svg.js";import co from"../../assets/pages_functions/arrow-down.svg.js";import po from"../../assets/pages_functions/arrow-left-small.svg.js";import mo from"../../assets/pages_functions/arrow-left.svg.js";import go from"../../assets/pages_functions/arrow-right-small.svg.js";import fo from"../../assets/pages_functions/arrow-right.svg.js";import jo from"../../assets/pages_functions/arrow-up-small.svg.js";import vo from"../../assets/pages_functions/arrow-up.svg.js";import uo from"../../assets/pages_functions/calendar.svg.js";import _o from"../../assets/pages_functions/callback.svg.js";import lo from"../../assets/pages_functions/cancel.svg.js";import bo from"../../assets/pages_functions/check.svg.js";import ho from"../../assets/pages_functions/click-indicator.svg.js";import wo from"../../assets/pages_functions/close.svg.js";import yo from"../../assets/pages_functions/columns.svg.js";import ko from"../../assets/pages_functions/comparison.svg.js";import So from"../../assets/pages_functions/compare.svg.js";import Co from"../../assets/pages_functions/congrats.svg.js";import Do from"../../assets/pages_functions/dashboard.svg.js";import Ao from"../../assets/pages_functions/delete.svg.js";import qo from"../../assets/pages_functions/documentation.svg.js";import Po from"../../assets/pages_functions/drag.svg.js";import Ro from"../../assets/pages_functions/duplicate.svg.js";import No from"../../assets/pages_functions/edit.svg.js";import Uo from"../../assets/pages_functions/evolution.svg.js";import xo from"../../assets/pages_functions/empty.svg.js";import Lo from"../../assets/pages_functions/export-and-download.svg.js";import To from"../../assets/pages_functions/filter.svg.js";import zo from"../../assets/pages_functions/hamburger-menu.svg.js";import Fo from"../../assets/pages_functions/hide-pwd.svg.js";import Oo from"../../assets/pages_functions/home.svg.js";import Bo from"../../assets/pages_functions/import-and-upload.svg.js";import Io from"../../assets/pages_functions/information.svg.js";import Mo from"../../assets/pages_functions/informations.svg.js";import Qo from"../../assets/pages_functions/list.svg.js";import Wo from"../../assets/pages_functions/logout.svg.js";import Eo from"../../assets/pages_functions/mail.svg.js";import Go from"../../assets/pages_functions/minus.svg.js";import Ko from"../../assets/pages_functions/open-in-new-tab.svg.js";import Vo from"../../assets/pages_functions/open-panel.svg.js";import Ho from"../../assets/pages_functions/previous-campaign.svg.js";import Jo from"../../assets/pages_functions/question-mark.svg.js";import Xo from"../../assets/pages_functions/plus.svg.js";import Yo from"../../assets/pages_functions/questionnaires.svg.js";import Zo from"../../assets/pages_functions/reminder.svg.js";import $o from"../../assets/pages_functions/remove-users.svg.js";import st from"../../assets/pages_functions/remove.svg.js";import ot from"../../assets/pages_functions/repartition.svg.js";import tt from"../../assets/pages_functions/repositories.svg.js";import et from"../../assets/pages_functions/reset.svg.js";import rt from"../../assets/pages_functions/save.svg.js";import at from"../../assets/pages_functions/saved-online.svg.js";import it from"../../assets/pages_functions/scores-and-indicators.svg.js";import nt from"../../assets/pages_functions/search.svg.js";import ct from"../../assets/pages_functions/send-message.svg.js";import pt from"../../assets/pages_functions/settings.svg.js";import mt from"../../assets/pages_functions/sort-ascending.svg.js";import gt from"../../assets/pages_functions/sort-descending.svg.js";import ft from"../../assets/pages_functions/sort-no-sorting.svg.js";import jt from"../../assets/pages_functions/sync.svg.js";import vt from"../../assets/pages_functions/timer.svg.js";import ut from"../../assets/pages_functions/user-account.svg.js";import _t from"../../assets/pages_functions/view-pwd.svg.js";import lt from"../../assets/pages_functions/visio.svg.js";import dt from"../../assets/pages_functions/warning.svg.js";import bt from"../../assets/pages_functions/add-a-note.svg.js";import ht from"../../assets/pages_functions/add-file.svg.js";import wt from"../../assets/pages_functions/add-notes.svg.js";import yt from"../../assets/pages_functions/all-features.svg.js";import kt from"../../assets/pages_functions/arrow-down-right.svg.js";import St from"../../assets/pages_functions/arrow-up-right.svg.js";import Ct from"../../assets/pages_functions/Details.svg.js";import Dt from"../../assets/pages_functions/Done.svg.js";import At from"../../assets/pages_functions/graph.svg.js";import qt from"../../assets/pages_functions/in-progress.svg.js";import Pt from"../../assets/pages_functions/Note.svg.js";import Rt from"../../assets/pages_functions/Notes.svg.js";import Nt from"../../assets/pages_functions/questionnaire-answer.svg.js";import Ut from"../../assets/pages_functions/Suggestions.svg.js";import xt from"../../assets/pages_functions/Target.svg.js";import Lt from"../../assets/pages_functions/uncomplete-questionnaire.svg.js";import Tt from"../../assets/pages_functions/waterfall-graph.svg.js";import zt from"../../assets/pages_functions/format-list-numbered.svg.js";import Ft from"../../assets/pages_functions/Attachement.svg.js";import Ot from"../../assets/pages_functions/tag-comment.svg.js";import Bt from"../../assets/pages_functions/star-empty.svg.js";import It from"../../assets/pages_functions/star-filled.svg.js";import Mt from"../../assets/pages_functions/right-panel-open.svg.js";import Qt from"../../assets/pages_functions/right-panel-close.svg.js";import Wt from"../../assets/pages_functions/trajectory-graph.svg.js";import Et from"../../assets/pages_functions/history.svg.js";import Gt from"../../assets/pages_functions/format-bold.svg.js";import Kt from"../../assets/pages_functions/format-italic.svg.js";import Vt from"../../assets/pages_functions/format-underlined.svg.js";import Ht from"../../assets/pages_functions/strikethrough-s.svg.js";import Jt from"../../assets/pages_functions/format-color-text.svg.js";import Xt from"../../assets/pages_functions/format-align-left.svg.js";import Yt from"../../assets/pages_functions/format-align-center.svg.js";import Zt from"../../assets/pages_functions/format-align-right.svg.js";import $t from"../../assets/pages_functions/format-list-bulleted.svg.js";import se from"../../assets/pages_functions/askor.svg.js";import oe from"../../assets/pages_functions/admin.svg.js";import te from"../../assets/pages_functions/zoom-in.svg.js";import ee from"../../assets/pages_functions/zoom-out.svg.js";import re from"../../assets/pages_functions/fold.svg.js";import ae from"../../assets/pages_functions/unfold.svg.js";import ie from"../../assets/pages_functions/company-settings.svg.js";import ne from"../../assets/pages_functions/double-arrow-up.svg.js";import ce from"../../assets/pages_functions/double-arrow-down.svg.js";import pe from"../../assets/pages_functions/tag.svg.js";import me from"../../assets/pages_functions/category-tag.svg.js";import ge from"../../assets/pages_functions/camera.svg.js";import fe from"../../assets/pages_functions/gallery.svg.js";import je from"../../assets/pages_functions/arrow-circle-up.svg.js";import ve from"../../assets/pages_functions/Rules.svg.js";import ue from"../../assets/pages_functions/Support.svg.js";const _e={default:s,agriculture:o,animation:t,brand:e,businessTrips:r,carbonEmission:a,carbonNeutrality:i,collective:n,communication:c,compass:p,consumption:m,corporate:g,diagnostic:f,distribution:j,energy:v,equal:u,euros:_,events:l,forestWoods:d,hedgesPlantCovers:b,ingredients:h,inputsChemicals:w,labels:y,organization:k,packaging:S,productionSite:C,production:D,productsBying:A,products:q,projectManager:P,publications:R,rangesSectors:N,recipe:U,sectors:x,socialMedia:L,strategy:T,supplier:z,territories:F,trajectory:O,transformationSteps:B,transportation:I,users:M,vineyard:Q,webinard:W,wineTourism:E,documentSpace:G,gridView:K,simulation:V,tableView:H,uploadFile:J,analyzeData:X,dashboard2:Y,lock:Z,travel:$,dot:ss,start:os,cheer:ts,calculate:es,noCalculation:rs,reference:as,webhook:is,wand:ns,graphLink:cs,handshake:ps,biodiversity:ms,utilisation:gs,rulesObject:fs,supportObject:js,forum:vs,barCode:us,wheat:_s,flour:ls,drop:ds,bottle:bs,grain:hs,articles:ws,chessPawn:ys,chessRook:ks,chessKnight:Ss,chessKing:Cs,barrel:Ds,grape:As,vat:qs,label:Ps,validateQuestionnaire:Rs,openInFull:Ns,objectAnalytics:Us,archive:xs,replace:Ls,restore:Ts,refrigeratedTransport:zs,boat:Fs,refrigeratedBoat:Os,box:Bs,boxes:Is,specificData:Ms,referenceData:Qs,checkCircleFilled:Ws,leg:Es,route:Gs,train:Ks,suppliers:z,webinars:W,carbon:a,social:L,analyticsObject:Us,circleCheck:Ws,carbonSSQ:Vs,socialSSQ:Hs,environment:Js,commitment:Xs,checkList:Ys,linkedQuestionnaire:Zs,actionPlan:$s,actions:so,activityData:oo,addRemove:to,addUser:eo,add:ro,analytics:ao,arrowTrajectory:io,arrowDownShort:no,arrowDown:co,arrowLeftShort:po,arrowLeft:mo,arrowRightShort:go,arrowRight:fo,arrowUpShort:jo,arrowUp:vo,calendar:uo,callback:_o,cancel:lo,check:bo,clickIndicator:ho,close:wo,columns:yo,comparison:ko,compare:So,congrats:Co,dashboard:Do,delete:Ao,documentation:qo,drag:Po,duplicate:Ro,edit:No,evolution:Uo,empty:xo,exportDownload:Lo,filter:To,hamburgerMenu:zo,hidePwd:Fo,home:Oo,importUpload:Bo,information:Io,informations:Mo,list:Qo,logout:Wo,mail:Eo,minus:Go,openNewTab:Ko,openPanel:Vo,previousCampaign:Ho,questionMark:Jo,plus:Xo,questionnaires:Yo,reminder:Zo,removeUser:$o,remove:st,repartition:ot,repositories:tt,reset:et,save:rt,savedOnline:at,scoresIndicators:it,search:nt,sendMessage:ct,settings:pt,sortAscending:mt,sortDescending:gt,sortNoSorting:ft,sync:jt,unitConverter:jt,timer:vt,userAccount:ut,viewPwd:_t,visio:lt,warning:dt,addANote:bt,addFile:ht,addNotes:wt,allFeatures:yt,arrowDownRight:kt,arrowUpRight:St,details:Ct,done:Dt,graph:At,inProgress:qt,note:Pt,notes:Rt,questionnaireAnswer:Nt,suggestions:Ut,target:xt,uncompleteQuestionnaire:Lt,waterfall:Tt,formatNumberedList:zt,attachment:Ft,tagComment:Ot,starEmpty:Bt,starFilled:It,rightPanelOpen:Mt,rightPanelClose:Qt,trajectoryGraph:Wt,history:Et,formatBold:Gt,formatItalic:Kt,formatUnderlined:Vt,strikethroughS:Ht,formatColorText:Jt,formatAlignLeft:Xt,formatAlignCenter:Yt,formatAlignRight:Zt,formatListBulleted:$t,formatListNumbered:zt,askor:se,admin:oe,zoomIn:te,zoomOut:ee,fold:re,unfold:ae,companySettings:ie,doubleArrowUp:ne,doubleArrowDown:ce,tag:pe,categoryTag:me,camera:ge,gallery:fe,arrowCircleUp:je,favAdded:It,favNonAdded:Bt,closePanel:Qt,openRightPanel:Mt,attachement:Ft,rules:ve,support:ue},le=s=>{const o=12+4*s;return{width:o,height:o}};export{le as computeSize,_e as iconMapping};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as e,jsx as i}from"react/jsx-runtime";import{useTheme as t,Stack as n,Box as r,Typography as o}from"@mui/material";import{FoodsIcon as l}from"../Icons/FoodsIcon.js";const a=a=>{const
|
|
2
|
-
return e(n,{display:"inline-flex",direction:"default-side"===p?"row":"column",gap:x?
|
|
1
|
+
import{jsxs as e,jsx as i}from"react/jsx-runtime";import{useTheme as t,Stack as n,Box as r,Typography as o}from"@mui/material";import{FoodsIcon as l}from"../Icons/FoodsIcon.js";const a=a=>{const s=t(),{withPlus:m=!1,value:u,unit:c,size:d="small",position:p="default-side",colorOverride:f,hideUnitOnNull:g=!1,emptyLabel:h,unitVariant:b}=a,y=`number-${d}`,x="micro"===d||"small"===d,v=x?s.custom.numberWithUnit.unitOffset.compact:s.custom.numberWithUnit.unitOffset.regular,z=s.custom.numberWithUnit.emptyIndicator[d],I=null===u&&g,w="string"==typeof u||null===u?u:s.numbers.valueFormatterFn(u),O=b??(x?"small-medium":"body-medium"),U="default-side"===p?null===u?"flex-end":"baseline":"below-center-aligned"===p?"center":"flex-start";/* @__PURE__ */
|
|
2
|
+
return e(n,{display:"inline-flex",direction:"default-side"===p?"row":"column",gap:x?s.spacing(.5):s.spacing(1),alignItems:U,children:[null===u?/* @__PURE__ */i(r,{role:void 0===h?void 0:"img","aria-label":h,"aria-hidden":void 0===h,sx:{alignItems:"center",backgroundColor:s.custom.grey[400],borderRadius:s.spacing(.5),color:s.custom.grey[1400],display:"flex",flexShrink:0,height:z.size,justifyContent:"center",width:z.size},children:/* @__PURE__ */i(l,{icon:"empty",size:z.iconSize})}):/* @__PURE__ */e(o,{variant:y,color:f,children:[m&&Number(u)>0?"+":"",w]}),!1===I&&/* @__PURE__ */i(o,{sx:{marginTop:`${v} !important`},variant:O,color:s.custom.grey[1400],children:c})]})};export{a as NumberWithUnit};
|
package/dist/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getThemeLogo as o,isTheme as t,themeLogos as r,themeOptions as m,themes as s}from"./themes/index.js";import{Button as n,Typography as e}from"@mui/material";import{AccordionProduct as p}from"./components/Accordion/ProductAccordion.js";import{AdditionalContentBox as i}from"./components/Box/AdditionalContentBox.js";import{AnchoredPopover as c,HeadlessPopover as a,ThemedPopover as f}from"./components/Popover/AnchoredPopover.js";import{Article as j}from"./components/CMS/ArticleBlock/Article.js";import{ArticlesBox as l}from"./components/CMS/ArticleBlock/ArticlesBox.js";import{Badge as d}from"./components/Badge/Badge.js";import{Banner as B}from"./components/Banner/Banner.js";import{BigPopoverLayout as C}from"./components/Popover/BigPopoverLayout.js";import{BlockItemContainer as u}from"./components/Layout/BlockList/Blocks/Container/BlockItemContainer.js";import{BlockItemInner as h}from"./components/Layout/BlockList/Blocks/Container/BlockItemInner.js";import{BlockListContainer as g}from"./components/Layout/BlockList/BlockListContainer.js";import{BottomSheetDialog as F}from"./components/Dialog/BottomSheetDialog.js";import{BoxStyled as T,SecondaryTabs as k}from"./components/Tabs/SecondaryTabs.js";import{BreadcrumbItem as x}from"./components/Navigation/Breadcrumbs/BreadcrumbItem.js";import{Breadcrumbs as S}from"./components/Navigation/Breadcrumbs/Breadcrumbs.js";import{BreakdownTable as P}from"./components/Chart/BreakdownTable/BreakdownTable.js";import{ButtonTabs as I}from"./components/Tabs/ButtonTabs.js";import{CardImage as y}from"./components/CardImage.js";import{CategoryBox as v}from"./components/Box/CategoryBox.js";import{CheckboxBlock as L}from"./components/Layout/BlockList/Blocks/InnerInputBlocks/CheckboxBlock.js";import{CollectiveTheme as b,CollectiveThemeOptions as N}from"./themes/themes/CollectiveTheme.js";import{ComingSoonBadge as A}from"./components/Badge/ComingSoonBadge.js";import{ComparisonArrow as H}from"./components/ComparisonBlock/ComparisonArrow.js";import{ComparisonBlock as R}from"./components/ComparisonBlock/ComparisonBlock.js";import{ComparisonLabel as D}from"./components/Chart/HistogramComparisonChart/ComparisonLabel.js";import{ConfirmDialog as G}from"./components/Form/FoodsFormBase/ConfirmDialog.js";import{ContextualContentBox as w}from"./components/Box/ContextualContentBox.js";import{CoordinatePopover as M}from"./components/Popover/CoordinatePopover.js";import{CountTabs as U}from"./components/Tabs/CountTabs/CountTabs.js";import{CustomRender as W}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/CustomRender.js";import{CustomToggleButton as E,TertiaryToggleButton as V}from"./components/Button/TertiaryToggleButton.js";import{CustomToggleButtonNodeTitle as z,TertiaryToggleButtonNodeTitle as O}from"./components/Button/TertiaryToggleButtonNodeTitle.js";import{CustomTypography as Q}from"./components/CustomTypography/CustomTypography.js";import{CustomizedAxisTick as q}from"./components/Chart/HistogramComparisonChart/CustomizedAxisTick.js";import{DefaultUserAction as J}from"./components/Navigation/FoodsNavBar/Plugin/DefaultUserAction.js";import{DottedBox as K}from"./components/Box/DottedBox.js";import{DoughnutCard as X}from"./components/Cards/DoughnutCard/DoughnutCard.js";import{DoughnutChart as Y}from"./components/Chart/DoughnutChart/DoughnutChart.js";import{DrawerAction as Z}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/DrawerAction.js";import{EcoScoreCell as $}from"./components/Grid/Cell/EcoScoreCell.js";import{EditHeader as _}from"./components/Layout/BlockList/Headers/EditHeader.js";import{EllipsisItem as oo}from"./components/Pagination/PageItems/EllipsisItem.js";import{EmptyForm as to}from"./components/Layout/BlockList/Blocks/InnerInfoBlocks/EmptyForm.js";import{EvolutionChart as ro}from"./components/Chart/EvolutionChart/EvolutionChart.js";import{FixedMultiValueFilter as mo}from"./components/Filter/FixedMultiValueFilter.js";import{FoodPilotTheme as so,FoodpilotThemeOptions as no}from"./themes/themes/FoodPilotTheme.js";import{FoodsBadge as eo}from"./components/Badge/FoodsBadge.js";import{FoodsCheckbox as po}from"./components/Checkbox/FoodsCheckbox.js";import{FoodsDeleteButton as io}from"./components/Button/FoodsDeleteButton.js";import{FoodsFormBase as co}from"./components/Form/FoodsFormBase/FoodsFormBase.js";import{FoodsIcon as ao}from"./components/Icons/FoodsIcon.js";import{FoodsIconButton as fo}from"./components/Button/FoodsIconButton.js";import{FoodsIllustrations as jo}from"./components/Icons/FoodsIllustrations.js";import{FoodsNavbar as lo}from"./components/Navigation/FoodsNavBar/FoodsNavbar.js";import{FoodsPagination as Bo}from"./components/Pagination/FoodsPagination.js";import{FoodsPaginationItem as Co}from"./components/Pagination/FoodsPaginationItem.js";import{FoodsRadioList as uo}from"./components/Radio/FoodsRadioList.js";import{FoodsSearch as ho}from"./components/Search/FoodsSearch.js";import{FoodsSelect as go,FoodsSelectServerPagination as Fo}from"./components/Select/FoodsSelect/FoodsSelect.js";import{FoodsTabs as To,SpecialTabs as ko}from"./components/Tabs/FoodsTabs/FoodsTabs.js";import{FoodsTags as xo}from"./components/Tags/FoodsTags.js";import{FoodsTextInput as So}from"./components/Form/FoodsFormFields/FoodsTextInput.js";import{FoodsThemeOptionsProvider as Po,FoodsThemeProvider as Io}from"./themes/FoodsThemeProvider.js";import{FoodsToggleButton as yo}from"./components/Button/FoodsToggleButton.js";import{FoodsTooltip as vo}from"./components/Tooltip/FoodsTooltip.js";import{FoodsTreeview as Lo}from"./components/Treeview/Treeview.js";import{FoodsUserTags as bo}from"./components/Tags/FoodsUserTags.js";import{FormAccordion as No}from"./components/Accordion/FormAccordion.js";import{FormBase as Ao}from"./components/Form/FormBase.js";import{FormBaseContextProvider as Ho,useFormBaseContext as Ro}from"./components/Form/FoodsFormBase/FormBaseContext.js";import{FormBox as Do}from"./components/Form/FormBox.js";import{FormPropertyBox as Go}from"./components/Form/FormPropertyBox.js";import{FormTopBar as wo}from"./components/Form/FoodsFormBase/FormTopBar/FormTopBar.js";import{FormUnit as Mo}from"./components/Form/FormUnit.js";import{GenericAccordion as Uo}from"./components/Accordion/GenericAccordion.js";import{GreyTextCell as Wo}from"./components/Grid/Cell/GreyCell.js";import{HeaderNav as Eo,NavBarLink as Vo,Navbar as zo,SubMenu as Oo,UserNav as Qo}from"./components/Navigation/Navbar.js";import{HelperBox as qo}from"./components/Box/HelperBox.js";import{HeroBlock as Jo}from"./components/CMS/HeroBlock/HeroBlock.js";import{HistogramComparisonChart as Ko}from"./components/Chart/HistogramComparisonChart/HistogramComparisonChart.js";import{HorizontalGaugeChart as Xo}from"./components/Chart/HorizontalGauge/HorizontalGaugeChart.js";import{IconThread as Yo}from"./components/Navigation/IconThread.js";import{IndicatorBlock as Zo}from"./components/CMS/IndicatorBlock/IndicatorBlock.js";import{InfoBox as $o}from"./components/Box/InfoBox.js";import{InfoHeaderWithIllustration as _o}from"./components/Layout/InfoHeaderWithIllustration.js";import{InitHeader as ot}from"./components/Layout/BlockList/Headers/InitHeader.js";import{LeftComparisonPart as tt}from"./components/Layout/BlockList/Blocks/Common/LeftComparisonPart.js";import{LightIndicatorBlock as rt}from"./components/CMS/IndicatorBlock/LightIndicatorBlock.js";import{LineGroupBox as mt}from"./components/Box/LineGroupBox.js";import{LinearProgress as st}from"./components/LinearProgress.js";import{LinkAction as nt}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/LinkAction.js";import{ListHeader as et}from"./components/Layout/BlockList/Headers/ListHeader.js";import{MRTGrid as pt}from"./components/Grid/MRTGrid.js";import{MultiValueFilter as it}from"./components/Filter/MultiValueFilter.js";import{NumberField as ct}from"./components/Field/NumberField.js";import{NumberWithUnit as at}from"./components/Number/NumberWithUnit.js";import{OptionsPopover as ft}from"./components/Popover/OptionsPopover.js";import{PageItem as jt}from"./components/Pagination/PageItems/PageItem.js";import{PageUpAndDownItem as lt}from"./components/Pagination/PageItems/PageUpAndDownItem.js";import{FoodsPills as dt}from"./components/Input/Pills/Pills.js";import{PointsCell as Bt}from"./components/Grid/Cell/PointsCell.js";import{PolymorphicChart as Ct}from"./components/Chart/PolymorphicChart/PolymorphicChart.js";import{PolymorphicChartRenderer as ut}from"./components/Chart/PolymorphicChart/PolymorphicChartRenderer.js";import{PrimaryCheckbox as ht}from"./components/Checkbox/PrimaryCheckbox.js";import{PrimaryDialog as gt}from"./components/Dialog/PrimaryDialog.js";import{Progress as Ft}from"./components/Progress/Progress.js";import{ProgressCard as Tt}from"./components/ProgressCard/ProgressCard.js";import{QuoteBox as kt}from"./components/Box/QuoteBox.js";import{RadioBlock as xt}from"./components/Layout/BlockList/Blocks/InnerInputBlocks/RadioBlock.js";import{RadioBoolean as St}from"./components/Radio/RadioBoolean.js";import{RadioList as Pt}from"./components/Radio/RadioList.js";import{RichTextEditor as It}from"./components/RichTextEditor/RichTextEditor.js";import{RoundInput as yt}from"./components/Input/RoundInput.js";import{RoundNumberInput as vt}from"./components/Input/RoundNumberInput.js";import{ScatterPlot as Lt}from"./components/Chart/ScatterPlot/ScatterPlot.js";import{Score as bt}from"./components/Number/Score.js";import{ScoreCard as Nt}from"./components/Cards/ScoreCard/ScoreCard.js";import{ScoreCardHeader as At}from"./components/Cards/ScoreCard/Header/ScoreCardHeader.js";import{ScoreContainer as Ht}from"./components/Badge/ScoreContainer.js";import{ScoreSelect as Rt}from"./components/Select/ScoreSelect/ScoreSelect.js";import{ScoreValue as Dt}from"./components/Number/ScoreValue.js";import{SearchBox as Gt}from"./components/Input/SearchBox.js";import{SectionBox as wt}from"./components/Box/SectionBox.js";import{SectionTabs as Mt}from"./components/Tabs/SectionTabs/SectionTabs.js";import{SeeMoreCard as Ut}from"./components/Cards/SeeMoreCard/SeeMoreCard.js";import{SelectBlock as Wt}from"./components/Layout/BlockList/Blocks/InnerInputBlocks/SelectBlock.js";import{SelectionCard as Et}from"./components/Cards/SelectionCard/SelectionCard.js";import{SelectionCardGroup as Vt}from"./components/Cards/SelectionCard/SelectionCardGroup.js";import{Separator as zt}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/Separator.js";import{SolidGreyBox as Ot}from"./components/Box/SolidGreyBox.js";import{SpecialTab as Qt}from"./components/Tabs/FoodsTabs/FoodsTabTemplate.js";import{SuggestionBlock as qt}from"./components/Layout/BlockList/Blocks/InnerInfoBlocks/SuggestionBlock.js";import{TextArrowList as Jt}from"./components/Text/TextArrowList.js";import{TextField as Kt}from"./components/Field/TextField.js";import{TextTitle as Xt}from"./components/Text/TextTitle.js";import{TextTitleGreyIcon as Yt}from"./components/Text/TextTitleGreyIcon.js";import{Textarea as Zt}from"./components/Textarea/Textarea.js";import{ToggleSwitch as $t}from"./components/ToggleSwitch/ToggleSwitch.js";import{TopLinkAction as _t}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/TopLinkAction.js";import{TrajectoryCards as or}from"./components/Cards/TrajectoryCards/TrajectoryCards.js";import{TrajectoryChart as tr}from"./components/Chart/TrajectoryChart/TrajectoryChart.js";import{TypographyList as rr}from"./components/CustomTypography/TypographyList.js";import{ValueDisplay as mr}from"./components/Layout/BlockList/Blocks/Common/ValueDisplay.js";import{ValueLabel as sr}from"./components/Chart/HistogramComparisonChart/ValueLabel.js";import{ValueSwitcher as nr}from"./components/Cards/ScoreCard/Header/ValueSwitcher/ValueSwitcher.js";import{WarningBox as er}from"./components/Box/WarningBox.js";import{WaterfallChart as pr}from"./components/Chart/WaterfallChart/WaterfallChart.js";import{WhiteBox as ir}from"./components/Box/WhiteBox.js";import{WhiteGrid as cr}from"./components/Box/WhiteGrid.js";import{WhitePopover as ar}from"./components/Popover/WhitePopover.js";import{WhitePopoverOnIcon as fr}from"./components/Popover/WhitePopoverOnIcon.js";import{WinePilotTheme as jr,WinepilotThemeOptions as lr}from"./themes/themes/WinePilotTheme.js";import{allColors as dr,allMainColors as Br,blueTheme as Cr,coralTheme as ur,dataVisualizationColors as hr,extraColors as gr,greenTheme as Fr,greyTheme as Tr,orangeTheme as kr,redTheme as xr,shadows as Sr,yellowTheme as Pr}from"./themes/common/colors.js";import{allTypographyVariants as Ir,deprecatedVariants as yr,typographyConfig as vr}from"./themes/common/MUIComponents/typography.js";import{anyToCheckbox as Lr,checkboxToAny as br}from"./components/Checkbox/helperFunctions.js";import{breadcrumb as Nr,custom as Ar,deleteButton as Hr,doughnutCard as Rr,formField as Dr,mediaUpload as Gr,numberWithUnit as wr,numbers as Mr,scoreValue as Ur,status as Wr,strokes as Er,tooltip as Vr}from"./themes/common/custom.js";import{components as zr}from"./themes/common/components.js";import{computeSize as Or,iconMapping as Qr}from"./components/Icons/iconConfig.js";import{illustationsMapping as qr}from"./components/Icons/illustrationsConfig.js";import{spacing as Jr}from"./themes/common/spacing.js";import{useResponsiveBreakpoints as Kr}from"./themes/responsive/useResponsiveBreakpoints.js";import{useResponsivePadding as Xr}from"./themes/responsive/useResponsivePadding.js";export{p as AccordionProduct,i as AdditionalContentBox,c as AnchoredPopover,j as Article,l as ArticlesBox,d as Badge,B as Banner,C as BigPopoverLayout,u as BlockItemContainer,h as BlockItemInner,g as BlockListContainer,F as BottomSheetDialog,T as BoxStyled,x as BreadcrumbItem,S as Breadcrumbs,P as BreakdownTable,n as Button,I as ButtonTabs,y as CardImage,v as CategoryBox,L as CheckboxBlock,b as CollectiveTheme,N as CollectiveThemeOptions,A as ComingSoonBadge,H as ComparisonArrow,R as ComparisonBlock,D as ComparisonLabel,G as ConfirmDialog,w as ContextualContentBox,M as CoordinatePopover,U as CountTabs,W as CustomRender,E as CustomToggleButton,z as CustomToggleButtonNodeTitle,Q as CustomTypography,q as CustomizedAxisTick,J as DefaultUserAction,K as DottedBox,X as DoughnutCard,Y as DoughnutChart,Z as DrawerAction,$ as EcoScoreCell,_ as EditHeader,oo as EllipsisItem,to as EmptyForm,ro as EvolutionChart,mo as FixedMultiValueFilter,so as FoodPilotTheme,no as FoodpilotThemeOptions,eo as FoodsBadge,po as FoodsCheckbox,io as FoodsDeleteButton,co as FoodsFormBase,ao as FoodsIcon,fo as FoodsIconButton,jo as FoodsIllustrations,lo as FoodsNavbar,Bo as FoodsPagination,Co as FoodsPaginationItem,uo as FoodsRadioList,ho as FoodsSearch,go as FoodsSelect,Fo as FoodsSelectServerPagination,To as FoodsTabs,xo as FoodsTags,So as FoodsTextInput,Po as FoodsThemeOptionsProvider,Io as FoodsThemeProvider,yo as FoodsToggleButton,vo as FoodsTooltip,Lo as FoodsTreeview,bo as FoodsUserTags,No as FormAccordion,Ao as FormBase,Ho as FormBaseContextProvider,Do as FormBox,Go as FormPropertyBox,wo as FormTopBar,Mo as FormUnit,Uo as GenericAccordion,Wo as GreyTextCell,Eo as HeaderNav,a as HeadlessPopover,qo as HelperBox,Jo as HeroBlock,Ko as HistogramComparisonChart,Xo as HorizontalGaugeChart,Yo as IconThread,Zo as IndicatorBlock,$o as InfoBox,_o as InfoHeaderWithIllustration,ot as InitHeader,tt as LeftComparisonPart,rt as LightIndicatorBlock,mt as LineGroupBox,st as LinearProgress,nt as LinkAction,et as ListHeader,pt as MRTGrid,it as MultiValueFilter,Vo as NavBarLink,zo as Navbar,ct as NumberField,at as NumberWithUnit,ft as OptionsPopover,jt as PageItem,lt as PageUpAndDownItem,dt as Pills,Bt as PointsCell,Ct as PolymorphicChart,ut as PolymorphicChartRenderer,ht as PrimaryCheckbox,gt as PrimaryDialog,Ft as Progress,Tt as ProgressCard,kt as QuoteBox,xt as RadioBlock,St as RadioBoolean,Pt as RadioList,It as RichTextEditor,yt as RoundInput,vt as RoundNumberInput,Lt as ScatterPlot,bt as Score,Nt as ScoreCard,At as ScoreCardHeader,Ht as ScoreContainer,Rt as ScoreSelect,Dt as ScoreValue,Gt as SearchBox,k as SecondaryTabs,wt as SectionBox,Mt as SectionTabs,Ut as SeeMoreCard,Wt as SelectBlock,Et as SelectionCard,Vt as SelectionCardGroup,zt as Separator,Ot as SolidGreyBox,Qt as SpecialTab,ko as SpecialTabs,Oo as SubMenu,qt as SuggestionBlock,V as TertiaryToggleButton,O as TertiaryToggleButtonNodeTitle,Jt as TextArrowList,Kt as TextField,Xt as TextTitle,Yt as TextTitleGreyIcon,Zt as Textarea,f as ThemedPopover,$t as ToggleSwitch,_t as TopLinkAction,or as TrajectoryCards,tr as TrajectoryChart,e as Typography,rr as TypographyList,Qo as UserNav,mr as ValueDisplay,sr as ValueLabel,nr as ValueSwitcher,er as WarningBox,pr as WaterfallChart,ir as WhiteBox,cr as WhiteGrid,ar as WhitePopover,fr as WhitePopoverOnIcon,jr as WinePilotTheme,lr as WinepilotThemeOptions,dr as allColors,Br as allMainColors,Ir as allTypographyVariants,Lr as anyToCheckbox,Cr as blueTheme,Nr as breadcrumb,br as checkboxToAny,zr as components,Or as computeSize,ur as coralTheme,Ar as custom,hr as dataVisualizationColors,Hr as deleteButton,yr as deprecatedVariants,Rr as doughnutCard,gr as extraColors,Dr as formField,o as getThemeLogo,Fr as greenTheme,Tr as greyTheme,Qr as iconMapping,qr as illustationsMapping,t as isTheme,Gr as mediaUpload,wr as numberWithUnit,Mr as numbers,kr as orangeTheme,xr as redTheme,Ur as scoreValue,Sr as shadows,Jr as spacing,Wr as status,Er as strokes,r as themeLogos,m as themeOptions,s as themes,Vr as tooltip,vr as typographyConfig,Ro as useFormBaseContext,Kr as useResponsiveBreakpoints,Xr as useResponsivePadding,Pr as yellowTheme};
|
|
1
|
+
import{getThemeLogo as o,isTheme as t,themeLogos as r,themeOptions as m,themes as s}from"./themes/index.js";import{Button as n,Typography as e}from"@mui/material";import{AccordionProduct as p}from"./components/Accordion/ProductAccordion.js";import{AdditionalContentBox as i}from"./components/Box/AdditionalContentBox.js";import{AnchoredPopover as c,HeadlessPopover as a,ThemedPopover as f}from"./components/Popover/AnchoredPopover.js";import{Article as j}from"./components/CMS/ArticleBlock/Article.js";import{ArticlesBox as l}from"./components/CMS/ArticleBlock/ArticlesBox.js";import{Badge as d}from"./components/Badge/Badge.js";import{Banner as B}from"./components/Banner/Banner.js";import{BigPopoverLayout as C}from"./components/Popover/BigPopoverLayout.js";import{BlockItemContainer as u}from"./components/Layout/BlockList/Blocks/Container/BlockItemContainer.js";import{BlockItemInner as h}from"./components/Layout/BlockList/Blocks/Container/BlockItemInner.js";import{BlockListContainer as g}from"./components/Layout/BlockList/BlockListContainer.js";import{BottomSheetDialog as F}from"./components/Dialog/BottomSheetDialog.js";import{BoxStyled as T,SecondaryTabs as k}from"./components/Tabs/SecondaryTabs.js";import{BreadcrumbItem as x}from"./components/Navigation/Breadcrumbs/BreadcrumbItem.js";import{Breadcrumbs as S}from"./components/Navigation/Breadcrumbs/Breadcrumbs.js";import{BreakdownTable as P}from"./components/Chart/BreakdownTable/BreakdownTable.js";import{ButtonTabs as I}from"./components/Tabs/ButtonTabs.js";import{CardImage as y}from"./components/CardImage.js";import{CategoryBox as v}from"./components/Box/CategoryBox.js";import{CheckboxBlock as L}from"./components/Layout/BlockList/Blocks/InnerInputBlocks/CheckboxBlock.js";import{CollectiveTheme as b,CollectiveThemeOptions as N}from"./themes/themes/CollectiveTheme.js";import{ComingSoonBadge as A}from"./components/Badge/ComingSoonBadge.js";import{ComparisonArrow as H}from"./components/ComparisonBlock/ComparisonArrow.js";import{ComparisonBlock as R}from"./components/ComparisonBlock/ComparisonBlock.js";import{ComparisonLabel as D}from"./components/Chart/HistogramComparisonChart/ComparisonLabel.js";import{ConfirmDialog as G}from"./components/Form/FoodsFormBase/ConfirmDialog.js";import{ContextualContentBox as w}from"./components/Box/ContextualContentBox.js";import{CoordinatePopover as U}from"./components/Popover/CoordinatePopover.js";import{CountTabs as M}from"./components/Tabs/CountTabs/CountTabs.js";import{CustomRender as W}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/CustomRender.js";import{CustomToggleButton as E,TertiaryToggleButton as V}from"./components/Button/TertiaryToggleButton.js";import{CustomToggleButtonNodeTitle as z,TertiaryToggleButtonNodeTitle as O}from"./components/Button/TertiaryToggleButtonNodeTitle.js";import{CustomTypography as Q}from"./components/CustomTypography/CustomTypography.js";import{CustomizedAxisTick as q}from"./components/Chart/HistogramComparisonChart/CustomizedAxisTick.js";import{DefaultUserAction as J}from"./components/Navigation/FoodsNavBar/Plugin/DefaultUserAction.js";import{DottedBox as K}from"./components/Box/DottedBox.js";import{DoughnutCard as X}from"./components/Cards/DoughnutCard/DoughnutCard.js";import{DoughnutChart as Y}from"./components/Chart/DoughnutChart/DoughnutChart.js";import{DrawerAction as Z}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/DrawerAction.js";import{EcoScoreCell as $}from"./components/Grid/Cell/EcoScoreCell.js";import{EditHeader as _}from"./components/Layout/BlockList/Headers/EditHeader.js";import{EllipsisItem as oo}from"./components/Pagination/PageItems/EllipsisItem.js";import{EmptyForm as to}from"./components/Layout/BlockList/Blocks/InnerInfoBlocks/EmptyForm.js";import{EvolutionChart as ro}from"./components/Chart/EvolutionChart/EvolutionChart.js";import{FixedMultiValueFilter as mo}from"./components/Filter/FixedMultiValueFilter.js";import{FoodPilotTheme as so,FoodpilotThemeOptions as no}from"./themes/themes/FoodPilotTheme.js";import{FoodsBadge as eo}from"./components/Badge/FoodsBadge.js";import{FoodsCheckbox as po}from"./components/Checkbox/FoodsCheckbox.js";import{FoodsDeleteButton as io}from"./components/Button/FoodsDeleteButton.js";import{FoodsFormBase as co}from"./components/Form/FoodsFormBase/FoodsFormBase.js";import{FoodsIcon as ao}from"./components/Icons/FoodsIcon.js";import{FoodsIconButton as fo}from"./components/Button/FoodsIconButton.js";import{FoodsIllustrations as jo}from"./components/Icons/FoodsIllustrations.js";import{FoodsNavbar as lo}from"./components/Navigation/FoodsNavBar/FoodsNavbar.js";import{FoodsPagination as Bo}from"./components/Pagination/FoodsPagination.js";import{FoodsPaginationItem as Co}from"./components/Pagination/FoodsPaginationItem.js";import{FoodsRadioList as uo}from"./components/Radio/FoodsRadioList.js";import{FoodsSearch as ho}from"./components/Search/FoodsSearch.js";import{FoodsSelect as go,FoodsSelectServerPagination as Fo}from"./components/Select/FoodsSelect/FoodsSelect.js";import{FoodsTabs as To,SpecialTabs as ko}from"./components/Tabs/FoodsTabs/FoodsTabs.js";import{FoodsTags as xo}from"./components/Tags/FoodsTags.js";import{FoodsTextInput as So}from"./components/Form/FoodsFormFields/FoodsTextInput.js";import{FoodsThemeOptionsProvider as Po,FoodsThemeProvider as Io}from"./themes/FoodsThemeProvider.js";import{FoodsToggleButton as yo}from"./components/Button/FoodsToggleButton.js";import{FoodsTooltip as vo}from"./components/Tooltip/FoodsTooltip.js";import{FoodsTreeview as Lo}from"./components/Treeview/Treeview.js";import{FoodsUserTags as bo}from"./components/Tags/FoodsUserTags.js";import{FormAccordion as No}from"./components/Accordion/FormAccordion.js";import{FormBase as Ao}from"./components/Form/FormBase.js";import{FormBaseContextProvider as Ho,useFormBaseContext as Ro}from"./components/Form/FoodsFormBase/FormBaseContext.js";import{FormBox as Do}from"./components/Form/FormBox.js";import{FormPropertyBox as Go}from"./components/Form/FormPropertyBox.js";import{FormTopBar as wo}from"./components/Form/FoodsFormBase/FormTopBar/FormTopBar.js";import{FormUnit as Uo}from"./components/Form/FormUnit.js";import{GenericAccordion as Mo}from"./components/Accordion/GenericAccordion.js";import{GreyTextCell as Wo}from"./components/Grid/Cell/GreyCell.js";import{HeaderNav as Eo,NavBarLink as Vo,Navbar as zo,SubMenu as Oo,UserNav as Qo}from"./components/Navigation/Navbar.js";import{HelperBox as qo}from"./components/Box/HelperBox.js";import{HeroBlock as Jo}from"./components/CMS/HeroBlock/HeroBlock.js";import{HistogramComparisonChart as Ko}from"./components/Chart/HistogramComparisonChart/HistogramComparisonChart.js";import{HorizontalGaugeChart as Xo}from"./components/Chart/HorizontalGauge/HorizontalGaugeChart.js";import{IconThread as Yo}from"./components/Navigation/IconThread.js";import{IndicatorBlock as Zo}from"./components/CMS/IndicatorBlock/IndicatorBlock.js";import{InfoBox as $o}from"./components/Box/InfoBox.js";import{InfoHeaderWithIllustration as _o}from"./components/Layout/InfoHeaderWithIllustration.js";import{InitHeader as ot}from"./components/Layout/BlockList/Headers/InitHeader.js";import{LeftComparisonPart as tt}from"./components/Layout/BlockList/Blocks/Common/LeftComparisonPart.js";import{LightIndicatorBlock as rt}from"./components/CMS/IndicatorBlock/LightIndicatorBlock.js";import{LineGroupBox as mt}from"./components/Box/LineGroupBox.js";import{LinearProgress as st}from"./components/LinearProgress.js";import{LinkAction as nt}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/LinkAction.js";import{ListHeader as et}from"./components/Layout/BlockList/Headers/ListHeader.js";import{MRTGrid as pt}from"./components/Grid/MRTGrid.js";import{MultiValueFilter as it}from"./components/Filter/MultiValueFilter.js";import{NumberField as ct}from"./components/Field/NumberField.js";import{NumberWithUnit as at}from"./components/Number/NumberWithUnit.js";import{OptionsPopover as ft}from"./components/Popover/OptionsPopover.js";import{PageItem as jt}from"./components/Pagination/PageItems/PageItem.js";import{PageUpAndDownItem as lt}from"./components/Pagination/PageItems/PageUpAndDownItem.js";import{FoodsPills as dt}from"./components/Input/Pills/Pills.js";import{PointsCell as Bt}from"./components/Grid/Cell/PointsCell.js";import{PolymorphicChart as Ct}from"./components/Chart/PolymorphicChart/PolymorphicChart.js";import{PolymorphicChartRenderer as ut}from"./components/Chart/PolymorphicChart/PolymorphicChartRenderer.js";import{PrimaryCheckbox as ht}from"./components/Checkbox/PrimaryCheckbox.js";import{PrimaryDialog as gt}from"./components/Dialog/PrimaryDialog.js";import{Progress as Ft}from"./components/Progress/Progress.js";import{ProgressCard as Tt}from"./components/ProgressCard/ProgressCard.js";import{QuoteBox as kt}from"./components/Box/QuoteBox.js";import{RadioBlock as xt}from"./components/Layout/BlockList/Blocks/InnerInputBlocks/RadioBlock.js";import{RadioBoolean as St}from"./components/Radio/RadioBoolean.js";import{RadioList as Pt}from"./components/Radio/RadioList.js";import{RichTextEditor as It}from"./components/RichTextEditor/RichTextEditor.js";import{RoundInput as yt}from"./components/Input/RoundInput.js";import{RoundNumberInput as vt}from"./components/Input/RoundNumberInput.js";import{ScatterPlot as Lt}from"./components/Chart/ScatterPlot/ScatterPlot.js";import{Score as bt}from"./components/Number/Score.js";import{ScoreCard as Nt}from"./components/Cards/ScoreCard/ScoreCard.js";import{ScoreCardHeader as At}from"./components/Cards/ScoreCard/Header/ScoreCardHeader.js";import{ScoreContainer as Ht}from"./components/Badge/ScoreContainer.js";import{ScoreSelect as Rt}from"./components/Select/ScoreSelect/ScoreSelect.js";import{ScoreValue as Dt}from"./components/Number/ScoreValue.js";import{SearchBox as Gt}from"./components/Input/SearchBox.js";import{SectionBox as wt}from"./components/Box/SectionBox.js";import{SectionTabs as Ut}from"./components/Tabs/SectionTabs/SectionTabs.js";import{SeeMoreCard as Mt}from"./components/Cards/SeeMoreCard/SeeMoreCard.js";import{SelectBlock as Wt}from"./components/Layout/BlockList/Blocks/InnerInputBlocks/SelectBlock.js";import{SelectionCard as Et}from"./components/Cards/SelectionCard/SelectionCard.js";import{SelectionCardGroup as Vt}from"./components/Cards/SelectionCard/SelectionCardGroup.js";import{Separator as zt}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/Separator.js";import{SolidGreyBox as Ot}from"./components/Box/SolidGreyBox.js";import{SpecialTab as Qt}from"./components/Tabs/FoodsTabs/FoodsTabTemplate.js";import{SuggestionBlock as qt}from"./components/Layout/BlockList/Blocks/InnerInfoBlocks/SuggestionBlock.js";import{TextArrowList as Jt}from"./components/Text/TextArrowList.js";import{TextField as Kt}from"./components/Field/TextField.js";import{TextTitle as Xt}from"./components/Text/TextTitle.js";import{TextTitleGreyIcon as Yt}from"./components/Text/TextTitleGreyIcon.js";import{Textarea as Zt}from"./components/Textarea/Textarea.js";import{ToggleSwitch as $t}from"./components/ToggleSwitch/ToggleSwitch.js";import{TopLinkAction as _t}from"./components/Navigation/FoodsNavBar/Sections/UserButtons/Button/TopLinkAction.js";import{TrajectoryCards as or}from"./components/Cards/TrajectoryCards/TrajectoryCards.js";import{TrajectoryChart as tr}from"./components/Chart/TrajectoryChart/TrajectoryChart.js";import{TypographyList as rr}from"./components/CustomTypography/TypographyList.js";import{UnitConverterPopover as mr}from"./components/Form/UnitConverterPopover.js";import{ValueDisplay as sr}from"./components/Layout/BlockList/Blocks/Common/ValueDisplay.js";import{ValueLabel as nr}from"./components/Chart/HistogramComparisonChart/ValueLabel.js";import{ValueSwitcher as er}from"./components/Cards/ScoreCard/Header/ValueSwitcher/ValueSwitcher.js";import{WarningBox as pr}from"./components/Box/WarningBox.js";import{WaterfallChart as ir}from"./components/Chart/WaterfallChart/WaterfallChart.js";import{WhiteBox as cr}from"./components/Box/WhiteBox.js";import{WhiteGrid as ar}from"./components/Box/WhiteGrid.js";import{WhitePopover as fr}from"./components/Popover/WhitePopover.js";import{WhitePopoverOnIcon as jr}from"./components/Popover/WhitePopoverOnIcon.js";import{WinePilotTheme as lr,WinepilotThemeOptions as dr}from"./themes/themes/WinePilotTheme.js";import{allColors as Br,allMainColors as Cr,blueTheme as ur,coralTheme as hr,dataVisualizationColors as gr,extraColors as Fr,greenTheme as Tr,greyTheme as kr,orangeTheme as xr,redTheme as Sr,shadows as Pr,yellowTheme as Ir}from"./themes/common/colors.js";import{allTypographyVariants as yr,deprecatedVariants as vr,typographyConfig as Lr}from"./themes/common/MUIComponents/typography.js";import{anyToCheckbox as br,checkboxToAny as Nr}from"./components/Checkbox/helperFunctions.js";import{breadcrumb as Ar,custom as Hr,deleteButton as Rr,doughnutCard as Dr,formField as Gr,mediaUpload as wr,numberWithUnit as Ur,numbers as Mr,scoreValue as Wr,status as Er,strokes as Vr,tooltip as zr}from"./themes/common/custom.js";import{components as Or}from"./themes/common/components.js";import{computeSize as Qr,iconMapping as qr}from"./components/Icons/iconConfig.js";import{illustationsMapping as Jr}from"./components/Icons/illustrationsConfig.js";import{spacing as Kr}from"./themes/common/spacing.js";import{useResponsiveBreakpoints as Xr}from"./themes/responsive/useResponsiveBreakpoints.js";import{useResponsivePadding as Yr}from"./themes/responsive/useResponsivePadding.js";export{p as AccordionProduct,i as AdditionalContentBox,c as AnchoredPopover,j as Article,l as ArticlesBox,d as Badge,B as Banner,C as BigPopoverLayout,u as BlockItemContainer,h as BlockItemInner,g as BlockListContainer,F as BottomSheetDialog,T as BoxStyled,x as BreadcrumbItem,S as Breadcrumbs,P as BreakdownTable,n as Button,I as ButtonTabs,y as CardImage,v as CategoryBox,L as CheckboxBlock,b as CollectiveTheme,N as CollectiveThemeOptions,A as ComingSoonBadge,H as ComparisonArrow,R as ComparisonBlock,D as ComparisonLabel,G as ConfirmDialog,w as ContextualContentBox,U as CoordinatePopover,M as CountTabs,W as CustomRender,E as CustomToggleButton,z as CustomToggleButtonNodeTitle,Q as CustomTypography,q as CustomizedAxisTick,J as DefaultUserAction,K as DottedBox,X as DoughnutCard,Y as DoughnutChart,Z as DrawerAction,$ as EcoScoreCell,_ as EditHeader,oo as EllipsisItem,to as EmptyForm,ro as EvolutionChart,mo as FixedMultiValueFilter,so as FoodPilotTheme,no as FoodpilotThemeOptions,eo as FoodsBadge,po as FoodsCheckbox,io as FoodsDeleteButton,co as FoodsFormBase,ao as FoodsIcon,fo as FoodsIconButton,jo as FoodsIllustrations,lo as FoodsNavbar,Bo as FoodsPagination,Co as FoodsPaginationItem,uo as FoodsRadioList,ho as FoodsSearch,go as FoodsSelect,Fo as FoodsSelectServerPagination,To as FoodsTabs,xo as FoodsTags,So as FoodsTextInput,Po as FoodsThemeOptionsProvider,Io as FoodsThemeProvider,yo as FoodsToggleButton,vo as FoodsTooltip,Lo as FoodsTreeview,bo as FoodsUserTags,No as FormAccordion,Ao as FormBase,Ho as FormBaseContextProvider,Do as FormBox,Go as FormPropertyBox,wo as FormTopBar,Uo as FormUnit,Mo as GenericAccordion,Wo as GreyTextCell,Eo as HeaderNav,a as HeadlessPopover,qo as HelperBox,Jo as HeroBlock,Ko as HistogramComparisonChart,Xo as HorizontalGaugeChart,Yo as IconThread,Zo as IndicatorBlock,$o as InfoBox,_o as InfoHeaderWithIllustration,ot as InitHeader,tt as LeftComparisonPart,rt as LightIndicatorBlock,mt as LineGroupBox,st as LinearProgress,nt as LinkAction,et as ListHeader,pt as MRTGrid,it as MultiValueFilter,Vo as NavBarLink,zo as Navbar,ct as NumberField,at as NumberWithUnit,ft as OptionsPopover,jt as PageItem,lt as PageUpAndDownItem,dt as Pills,Bt as PointsCell,Ct as PolymorphicChart,ut as PolymorphicChartRenderer,ht as PrimaryCheckbox,gt as PrimaryDialog,Ft as Progress,Tt as ProgressCard,kt as QuoteBox,xt as RadioBlock,St as RadioBoolean,Pt as RadioList,It as RichTextEditor,yt as RoundInput,vt as RoundNumberInput,Lt as ScatterPlot,bt as Score,Nt as ScoreCard,At as ScoreCardHeader,Ht as ScoreContainer,Rt as ScoreSelect,Dt as ScoreValue,Gt as SearchBox,k as SecondaryTabs,wt as SectionBox,Ut as SectionTabs,Mt as SeeMoreCard,Wt as SelectBlock,Et as SelectionCard,Vt as SelectionCardGroup,zt as Separator,Ot as SolidGreyBox,Qt as SpecialTab,ko as SpecialTabs,Oo as SubMenu,qt as SuggestionBlock,V as TertiaryToggleButton,O as TertiaryToggleButtonNodeTitle,Jt as TextArrowList,Kt as TextField,Xt as TextTitle,Yt as TextTitleGreyIcon,Zt as Textarea,f as ThemedPopover,$t as ToggleSwitch,_t as TopLinkAction,or as TrajectoryCards,tr as TrajectoryChart,e as Typography,rr as TypographyList,mr as UnitConverterPopover,Qo as UserNav,sr as ValueDisplay,nr as ValueLabel,er as ValueSwitcher,pr as WarningBox,ir as WaterfallChart,cr as WhiteBox,ar as WhiteGrid,fr as WhitePopover,jr as WhitePopoverOnIcon,lr as WinePilotTheme,dr as WinepilotThemeOptions,Br as allColors,Cr as allMainColors,yr as allTypographyVariants,br as anyToCheckbox,ur as blueTheme,Ar as breadcrumb,Nr as checkboxToAny,Or as components,Qr as computeSize,hr as coralTheme,Hr as custom,gr as dataVisualizationColors,Rr as deleteButton,vr as deprecatedVariants,Dr as doughnutCard,Fr as extraColors,Gr as formField,o as getThemeLogo,Tr as greenTheme,kr as greyTheme,qr as iconMapping,Jr as illustationsMapping,t as isTheme,wr as mediaUpload,Ur as numberWithUnit,Mr as numbers,xr as orangeTheme,Sr as redTheme,Wr as scoreValue,Pr as shadows,Kr as spacing,Er as status,Vr as strokes,r as themeLogos,m as themeOptions,s as themes,zr as tooltip,Lr as typographyConfig,Ro as useFormBaseContext,Xr as useResponsiveBreakpoints,Yr as useResponsivePadding,Ir as yellowTheme};
|