@terraware/web-components 4.2.12 → 4.2.14-rc.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/components/AntSwitch/index.js +8 -14
- package/components/Autocomplete/Autocomplete.js +67 -70
- package/components/Badge/index.js +16 -20
- package/components/BusySpinner/index.js +30 -35
- package/components/Button/Button.js +23 -27
- package/components/Button/button.test.js +8 -10
- package/components/Checkbox.js +10 -19
- package/components/Confirm/index.js +44 -51
- package/components/DatePicker/DatePicker.js +116 -117
- package/components/DialogBox/DialogBox.js +76 -66
- package/components/Divisor.js +15 -20
- package/components/Dropdown.js +54 -61
- package/components/EditableTable/index.js +129 -135
- package/components/ErrorBox/ErrorBox.js +37 -36
- package/components/FileChooser/index.js +73 -77
- package/components/FormBottomBar/index.js +63 -69
- package/components/Icon/Icon.js +14 -21
- package/components/Icon/icons/index.d.ts +1 -1
- package/components/Icon/icons/index.d.ts.map +1 -1
- package/components/Icon/icons/index.js +251 -255
- package/components/IconTooltip/index.js +29 -34
- package/components/Map/MapBox.js +199 -220
- package/components/Map/MapContainer.js +14 -18
- package/components/Map/MapDateSliderControl.js +44 -46
- package/components/Map/MapDrawer.js +32 -33
- package/components/Map/MapLegend.js +96 -95
- package/components/Map/MapViewStyleControl.js +38 -48
- package/components/Map/ReactMapboxWrapper.js +2 -9
- package/components/Map/index.js +47 -55
- package/components/Map/types.js +2 -8
- package/components/Map/useMaintainLayerOrder.js +4 -11
- package/components/Markdown/index.js +14 -21
- package/components/Message/Message.js +59 -51
- package/components/MultiSelect/MultiSelect.test.js +22 -24
- package/components/MultiSelect/index.js +73 -69
- package/components/Navbar/NavFooter.js +8 -13
- package/components/Navbar/NavItem.js +43 -37
- package/components/Navbar/NavSection.js +13 -17
- package/components/Navbar/Navbar.js +35 -38
- package/components/Navbar/SubNavbar.js +8 -13
- package/components/Note.js +14 -19
- package/components/OverlayModal/OverlayModal.js +36 -37
- package/components/PageForm/index.js +30 -35
- package/components/PhotoChooser/index.js +93 -98
- package/components/Pill/index.js +29 -31
- package/components/PillList/index.js +16 -22
- package/components/PlacementWrapper/index.js +20 -25
- package/components/PopoverMenu/Popover.js +33 -37
- package/components/PopoverMenu/index.js +41 -46
- package/components/PopoverMultiSelect/index.js +18 -21
- package/components/ProgressCircle/ProgressCircle.js +23 -26
- package/components/RadioButton.js +7 -14
- package/components/Select/Select.js +8 -13
- package/components/Select/SelectT.js +110 -108
- package/components/Separator/index.js +8 -14
- package/components/Size.js +1 -5
- package/components/Slider/index.js +7 -13
- package/components/SummaryBox.js +36 -39
- package/components/Tabs/index.js +75 -77
- package/components/TextTruncated/index.js +64 -65
- package/components/Textfield/Textfield.js +100 -95
- package/components/Textfield/TruncatedTextArea.js +44 -46
- package/components/TimelineSlider/TimelineMarker.js +24 -28
- package/components/TimelineSlider/TimelineRail.js +5 -11
- package/components/TimelineSlider/index.js +47 -51
- package/components/Tooltip/Tooltip.js +21 -26
- package/components/ViewPhotosDialog/index.js +58 -62
- package/components/VirtualWalkthrough/Annotation.d.ts +41 -0
- package/components/VirtualWalkthrough/Annotation.d.ts.map +1 -0
- package/components/VirtualWalkthrough/Annotation.js +197 -0
- package/components/VirtualWalkthrough/AnnotationEditPane.d.ts +20 -0
- package/components/VirtualWalkthrough/AnnotationEditPane.d.ts.map +1 -0
- package/components/VirtualWalkthrough/AnnotationEditPane.js +136 -0
- package/components/VirtualWalkthrough/AnnotationPanel.d.ts +13 -0
- package/components/VirtualWalkthrough/AnnotationPanel.d.ts.map +1 -0
- package/components/VirtualWalkthrough/AnnotationPanel.js +196 -0
- package/components/VirtualWalkthrough/Application.d.ts +9 -0
- package/components/VirtualWalkthrough/Application.d.ts.map +1 -0
- package/components/VirtualWalkthrough/Application.js +32 -0
- package/components/VirtualWalkthrough/AutoRotator.d.ts +109 -0
- package/components/VirtualWalkthrough/AutoRotator.d.ts.map +1 -0
- package/components/VirtualWalkthrough/AutoRotator.js +217 -0
- package/components/VirtualWalkthrough/BlockingSpinner.d.ts +3 -0
- package/components/VirtualWalkthrough/BlockingSpinner.d.ts.map +1 -0
- package/components/VirtualWalkthrough/BlockingSpinner.js +27 -0
- package/components/VirtualWalkthrough/BoundaryRing.d.ts +9 -0
- package/components/VirtualWalkthrough/BoundaryRing.d.ts.map +1 -0
- package/components/VirtualWalkthrough/BoundaryRing.js +33 -0
- package/components/VirtualWalkthrough/CameraInfo.d.ts +16 -0
- package/components/VirtualWalkthrough/CameraInfo.d.ts.map +1 -0
- package/components/VirtualWalkthrough/CameraInfo.js +88 -0
- package/components/VirtualWalkthrough/ControlsInfoPane.d.ts +37 -0
- package/components/VirtualWalkthrough/ControlsInfoPane.d.ts.map +1 -0
- package/components/VirtualWalkthrough/ControlsInfoPane.js +196 -0
- package/components/VirtualWalkthrough/GradientSky.d.ts +9 -0
- package/components/VirtualWalkthrough/GradientSky.d.ts.map +1 -0
- package/components/VirtualWalkthrough/GradientSky.js +73 -0
- package/components/VirtualWalkthrough/SplatControls.d.ts +50 -0
- package/components/VirtualWalkthrough/SplatControls.d.ts.map +1 -0
- package/components/VirtualWalkthrough/SplatControls.js +252 -0
- package/components/VirtualWalkthrough/SplatCrop.d.ts +8 -0
- package/components/VirtualWalkthrough/SplatCrop.d.ts.map +1 -0
- package/components/VirtualWalkthrough/SplatCrop.js +18 -0
- package/components/VirtualWalkthrough/SplatFadeCrop.d.ts +8 -0
- package/components/VirtualWalkthrough/SplatFadeCrop.d.ts.map +1 -0
- package/components/VirtualWalkthrough/SplatFadeCrop.js +18 -0
- package/components/VirtualWalkthrough/SplatModel.d.ts +15 -0
- package/components/VirtualWalkthrough/SplatModel.d.ts.map +1 -0
- package/components/VirtualWalkthrough/SplatModel.js +60 -0
- package/components/VirtualWalkthrough/SplatRevealRain.d.ts +18 -0
- package/components/VirtualWalkthrough/SplatRevealRain.d.ts.map +1 -0
- package/components/VirtualWalkthrough/SplatRevealRain.js +38 -0
- package/components/VirtualWalkthrough/TfAnnotationManager.d.ts +110 -0
- package/components/VirtualWalkthrough/TfAnnotationManager.d.ts.map +1 -0
- package/components/VirtualWalkthrough/TfAnnotationManager.js +368 -0
- package/components/VirtualWalkthrough/TfXrNavigation.d.ts +15 -0
- package/components/VirtualWalkthrough/TfXrNavigation.d.ts.map +1 -0
- package/components/VirtualWalkthrough/TfXrNavigation.js +24 -0
- package/components/VirtualWalkthrough/annotation-styles.css +5 -0
- package/components/VirtualWalkthrough/application-styles.css +4 -0
- package/components/VirtualWalkthrough/boundary-ring.d.ts +47 -0
- package/components/VirtualWalkthrough/boundary-ring.d.ts.map +1 -0
- package/components/VirtualWalkthrough/boundary-ring.js +125 -0
- package/components/VirtualWalkthrough/boundary-ring.test.js +109 -0
- package/components/VirtualWalkthrough/groundPlane.d.ts +14 -0
- package/components/VirtualWalkthrough/groundPlane.d.ts.map +1 -0
- package/components/VirtualWalkthrough/groundPlane.js +47 -0
- package/components/VirtualWalkthrough/groundPlane.test.js +45 -0
- package/components/VirtualWalkthrough/gsplat-fade-crop-effect.d.ts +19 -0
- package/components/VirtualWalkthrough/gsplat-fade-crop-effect.d.ts.map +1 -0
- package/components/VirtualWalkthrough/gsplat-fade-crop-effect.js +119 -0
- package/components/VirtualWalkthrough/walkthrough-camera.d.ts +77 -0
- package/components/VirtualWalkthrough/walkthrough-camera.d.ts.map +1 -0
- package/components/VirtualWalkthrough/walkthrough-camera.js +320 -0
- package/components/svg/BlobbyGrayIconImage.js +36 -41
- package/components/svg/BlobbyGrayIconImport.js +36 -41
- package/components/svg/BlobbyGrayIconUploadToTheCloud.js +36 -41
- package/components/svg/BlobbyIconCloudChecked.js +161 -158
- package/components/svg/BlobbyIconExportOrUploadPhoto.js +161 -158
- package/components/svg/BlobbyIconFolder.js +161 -158
- package/components/svg/BlobbyIconGraphReport.js +161 -158
- package/components/svg/BlobbyIconHappy.js +161 -158
- package/components/svg/BlobbyIconHeartMonitor.js +161 -158
- package/components/svg/BlobbyIconLeaf.js +161 -158
- package/components/svg/BlobbyIconLibrary.js +161 -158
- package/components/svg/BlobbyIconNursery.js +163 -160
- package/components/svg/BlobbyIconOrganization.js +161 -158
- package/components/svg/BlobbyIconParchment.js +161 -158
- package/components/svg/BlobbyIconPeople.js +161 -158
- package/components/svg/BlobbyIconSeedBank.js +161 -158
- package/components/svg/BlobbyIconSeedling.js +161 -158
- package/components/svg/BlobbyIconSeeds.js +161 -158
- package/components/svg/BlobbyIconSite.js +164 -161
- package/components/svg/BlobbyIconSparkles.js +161 -158
- package/components/svg/BlobbyIconWrench.js +161 -158
- package/components/svg/Bug.js +18 -27
- package/components/svg/Calendar.js +18 -27
- package/components/svg/CaretDown.js +18 -27
- package/components/svg/CaretLeft.js +18 -27
- package/components/svg/CaretRight.js +18 -27
- package/components/svg/CaretUp.js +18 -27
- package/components/svg/ChevronDown.js +18 -27
- package/components/svg/ChevronUp.js +18 -27
- package/components/svg/Close.js +18 -27
- package/components/svg/Critical.js +18 -27
- package/components/svg/Edit.js +161 -158
- package/components/svg/Error.js +18 -27
- package/components/svg/Filter.js +18 -27
- package/components/svg/Folder.js +18 -27
- package/components/svg/Help.js +18 -27
- package/components/svg/Home.js +18 -27
- package/components/svg/IconAdd.js +18 -27
- package/components/svg/IconArrowRight.js +19 -28
- package/components/svg/IconBusinessNetwork.js +18 -27
- package/components/svg/IconCalendar.d.ts +1 -1
- package/components/svg/IconCalendar.d.ts.map +1 -1
- package/components/svg/IconCalendar.js +18 -27
- package/components/svg/IconCancel.js +18 -27
- package/components/svg/IconChargingBattery.js +18 -27
- package/components/svg/IconChecklist.js +19 -28
- package/components/svg/IconCheckmark.js +18 -27
- package/components/svg/IconCoinInHand.js +18 -27
- package/components/svg/IconColumns.js +18 -27
- package/components/svg/IconComment.js +18 -27
- package/components/svg/IconDashboard.js +18 -27
- package/components/svg/IconDataMigration.js +18 -27
- package/components/svg/IconDocument.d.ts +8 -0
- package/components/svg/IconDocument.d.ts.map +1 -0
- package/components/svg/IconDocument.js +21 -0
- package/components/svg/IconDownloadFromTheCloud.js +19 -28
- package/components/svg/IconEdit.js +19 -28
- package/components/svg/IconExpand.js +19 -28
- package/components/svg/IconExport.js +18 -27
- package/components/svg/IconExternalLink.js +18 -27
- package/components/svg/IconEye.js +18 -27
- package/components/svg/IconEyeOff.js +18 -27
- package/components/svg/IconFile.js +18 -27
- package/components/svg/IconFolder.js +18 -27
- package/components/svg/IconFullScreen.js +18 -27
- package/components/svg/IconFutures.js +18 -27
- package/components/svg/IconGraphReport.js +18 -27
- package/components/svg/IconHeartMonitor.js +18 -27
- package/components/svg/IconHelp.js +19 -28
- package/components/svg/IconHistory.js +18 -27
- package/components/svg/IconImport.js +18 -27
- package/components/svg/IconIndex.js +18 -27
- package/components/svg/IconLayers.js +18 -27
- package/components/svg/IconLibrary.js +18 -27
- package/components/svg/IconList.js +18 -27
- package/components/svg/IconLivePlant.js +18 -27
- package/components/svg/IconLocations.js +18 -27
- package/components/svg/IconMail.js +18 -27
- package/components/svg/IconManager.js +18 -27
- package/components/svg/IconMarker.js +18 -27
- package/components/svg/IconMenu.js +18 -27
- package/components/svg/IconMenuHorizontal.js +18 -27
- package/components/svg/IconModule.js +18 -27
- package/components/svg/IconMyLocation.js +18 -27
- package/components/svg/IconNote.js +19 -28
- package/components/svg/IconNursery.js +18 -27
- package/components/svg/IconOrg.js +18 -27
- package/components/svg/IconParchment.js +18 -27
- package/components/svg/IconPhoto.js +18 -27
- package/components/svg/IconPlantsFilled.js +18 -27
- package/components/svg/IconRedo.js +18 -27
- package/components/svg/IconRestorationSite.js +18 -27
- package/components/svg/IconSeedBank.js +18 -27
- package/components/svg/IconSeedling.js +18 -27
- package/components/svg/IconSettings.js +18 -27
- package/components/svg/IconSlice.js +18 -27
- package/components/svg/IconSubmit.js +18 -27
- package/components/svg/IconSubtract.js +19 -28
- package/components/svg/IconSynced.js +18 -27
- package/components/svg/IconTrashCan.js +18 -27
- package/components/svg/IconTreasureMap.js +18 -27
- package/components/svg/IconUnavailable.js +18 -27
- package/components/svg/IconUndo.js +18 -27
- package/components/svg/IconVariable.js +18 -27
- package/components/svg/IconVideo.js +19 -28
- package/components/svg/IconWifi.js +18 -27
- package/components/svg/Info.js +18 -27
- package/components/svg/Key.js +18 -27
- package/components/svg/Leaf.js +18 -27
- package/components/svg/Lock.js +18 -27
- package/components/svg/Logo.js +40 -45
- package/components/svg/MenuVertical.js +18 -27
- package/components/svg/Notification.js +18 -27
- package/components/svg/Person.js +18 -27
- package/components/svg/Plus.js +18 -27
- package/components/svg/RestorationSite.js +18 -27
- package/components/svg/Search.js +18 -27
- package/components/svg/Seeds.js +18 -27
- package/components/svg/Site.js +18 -27
- package/components/svg/Sparkles.js +18 -27
- package/components/svg/Species.js +18 -27
- package/components/svg/Species2.js +161 -158
- package/components/svg/Spinner.js +27 -36
- package/components/svg/Star.js +18 -27
- package/components/svg/Success.js +18 -27
- package/components/svg/SuccessFilled.js +18 -27
- package/components/svg/TerrawareLogoDesktop.js +44 -49
- package/components/svg/TerrawareLogoMobile.js +20 -29
- package/components/svg/Touchscreen.js +18 -27
- package/components/svg/UploadCloud.js +161 -158
- package/components/svg/Warning.js +18 -27
- package/components/svg/WelcomeClipboard.js +130 -135
- package/components/svg/index.d.ts +1 -0
- package/components/svg/index.d.ts.map +1 -1
- package/components/svg/index.js +127 -888
- package/components/table/EnhancedTableToolbar.js +45 -47
- package/components/table/EnhancedTableToolbarV2.js +18 -26
- package/components/table/TableCellRenderer.js +137 -143
- package/components/table/TableHeader.js +45 -47
- package/components/table/TableHeaderItem.js +65 -64
- package/components/table/density.js +3 -11
- package/components/table/index.js +225 -218
- package/components/table/sort.js +8 -18
- package/components/table/sort.test.js +6 -8
- package/components/table/types.js +1 -5
- package/components/types/index.js +1 -5
- package/hooks/useBoolean.d.ts +4 -0
- package/hooks/useBoolean.d.ts.map +1 -0
- package/hooks/useBoolean.js +12 -0
- package/hooks/useCameraPosition.d.ts +8 -0
- package/hooks/useCameraPosition.d.ts.map +1 -0
- package/hooks/useCameraPosition.js +33 -0
- package/index.js +57 -398
- package/license-report.html +1 -1
- package/package.json +10 -3
- package/style-dictionary-dist/TerrawareTheme.js +1 -7
- package/theme.js +7 -14
- package/utils/color.d.ts +2 -0
- package/utils/color.d.ts.map +1 -0
- package/utils/color.js +14 -0
- package/utils/date.js +13 -24
- package/utils/date.test.js +40 -43
- package/utils/index.js +5 -53
- package/utils/preventDefaultEvent.js +1 -7
- package/utils/text.js +2 -9
- package/utils/text.test.js +9 -11
- package/utils/useDeviceInfo.js +10 -16
- package/virtualWalkthrough.d.ts +31 -0
- package/virtualWalkthrough.d.ts.map +1 -0
- package/virtualWalkthrough.js +28 -0
|
@@ -1,257 +1,253 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
var _SuccessFilled = _interopRequireDefault(require("../../svg/SuccessFilled"));
|
|
127
|
-
var _Touchscreen = _interopRequireDefault(require("../../svg/Touchscreen"));
|
|
128
|
-
var _UploadCloud = _interopRequireDefault(require("../../svg/UploadCloud"));
|
|
129
|
-
var _Warning = _interopRequireDefault(require("../../svg/Warning"));
|
|
130
|
-
var _WelcomeClipboard = _interopRequireDefault(require("../../svg/WelcomeClipboard"));
|
|
1
|
+
import BlobbyGrayIconImage from '../../svg/BlobbyGrayIconImage';
|
|
2
|
+
import BlobbyGrayIconImport from '../../svg/BlobbyGrayIconImport';
|
|
3
|
+
import BlobbyGrayIconUploadToTheCloud from '../../svg/BlobbyGrayIconUploadToTheCloud';
|
|
4
|
+
import BlobbyIconCloudChecked from '../../svg/BlobbyIconCloudChecked';
|
|
5
|
+
import BlobbyIconExportOrUploadPhoto from '../../svg/BlobbyIconExportOrUploadPhoto';
|
|
6
|
+
import BlobbyIconFolder from '../../svg/BlobbyIconFolder';
|
|
7
|
+
import BlobbyIconGraphReport from '../../svg/BlobbyIconGraphReport';
|
|
8
|
+
import BlobbyIconHappy from '../../svg/BlobbyIconHappy';
|
|
9
|
+
import Monitoring from '../../svg/BlobbyIconHeartMonitor';
|
|
10
|
+
import BlobbyIconLeaf from '../../svg/BlobbyIconLeaf';
|
|
11
|
+
import BlobbyIconLibrary from '../../svg/BlobbyIconLibrary';
|
|
12
|
+
import BlobbyIconNursery from '../../svg/BlobbyIconNursery';
|
|
13
|
+
import Organization from '../../svg/BlobbyIconOrganization';
|
|
14
|
+
import BlobbyIconParchment from '../../svg/BlobbyIconParchment';
|
|
15
|
+
import People from '../../svg/BlobbyIconPeople';
|
|
16
|
+
import BlobbyIconSeedBank from '../../svg/BlobbyIconSeedBank';
|
|
17
|
+
import SeedBank from '../../svg/BlobbyIconSeedBank';
|
|
18
|
+
import BlobbyIconSeedling from '../../svg/BlobbyIconSeedling';
|
|
19
|
+
import BlobbyIconSeeds from '../../svg/BlobbyIconSeeds';
|
|
20
|
+
import BlobbyIconSite from '../../svg/BlobbyIconSite';
|
|
21
|
+
import BlobbyIconSparkles from '../../svg/BlobbyIconSparkles';
|
|
22
|
+
import BlobbyIconWrench from '../../svg/BlobbyIconWrench';
|
|
23
|
+
import Bug from '../../svg/Bug';
|
|
24
|
+
import Calendar from '../../svg/Calendar';
|
|
25
|
+
import CaretDown from '../../svg/CaretDown';
|
|
26
|
+
import CaretLeft from '../../svg/CaretLeft';
|
|
27
|
+
import CaretRight from '../../svg/CaretRight';
|
|
28
|
+
import CaretUp from '../../svg/CaretUp';
|
|
29
|
+
import ChevronDown from '../../svg/ChevronDown';
|
|
30
|
+
import ChevronUp from '../../svg/ChevronUp';
|
|
31
|
+
import Close from '../../svg/Close';
|
|
32
|
+
import Critical from '../../svg/Critical';
|
|
33
|
+
import Edit from '../../svg/Edit';
|
|
34
|
+
import Error from '../../svg/Error';
|
|
35
|
+
import Filter from '../../svg/Filter';
|
|
36
|
+
import Folder from '../../svg/Folder';
|
|
37
|
+
import Help from '../../svg/Help';
|
|
38
|
+
import Home from '../../svg/Home';
|
|
39
|
+
import IconAdd from '../../svg/IconAdd';
|
|
40
|
+
import IconArrowRight from '../../svg/IconArrowRight';
|
|
41
|
+
import IconBusinessNetwork from '../../svg/IconBusinessNetwork';
|
|
42
|
+
import IconCalendar from '../../svg/IconCalendar';
|
|
43
|
+
import Cancel from '../../svg/IconCancel';
|
|
44
|
+
import ChargingBattery from '../../svg/IconChargingBattery';
|
|
45
|
+
import Checklist from '../../svg/IconChecklist';
|
|
46
|
+
import Checkmark from '../../svg/IconCheckmark';
|
|
47
|
+
import IconCoinInHand from '../../svg/IconCoinInHand';
|
|
48
|
+
import IconColumns from '../../svg/IconColumns';
|
|
49
|
+
import IconComment from '../../svg/IconComment';
|
|
50
|
+
import Dashboard from '../../svg/IconDashboard';
|
|
51
|
+
import IconDataMigration from '../../svg/IconDataMigration';
|
|
52
|
+
import IconDocument from '../../svg/IconDocument';
|
|
53
|
+
import DownloadFromTheCloud from '../../svg/IconDownloadFromTheCloud';
|
|
54
|
+
import IconEdit from '../../svg/IconEdit';
|
|
55
|
+
import Expand from '../../svg/IconExpand';
|
|
56
|
+
import IconExport from '../../svg/IconExport';
|
|
57
|
+
import IconExternalLink from '../../svg/IconExternalLink';
|
|
58
|
+
import IconEye from '../../svg/IconEye';
|
|
59
|
+
import IconEyeOff from '../../svg/IconEyeOff';
|
|
60
|
+
import IconFile from '../../svg/IconFile';
|
|
61
|
+
import IconFolder from '../../svg/IconFolder';
|
|
62
|
+
import IconFullScreen from '../../svg/IconFullScreen';
|
|
63
|
+
import Futures from '../../svg/IconFutures';
|
|
64
|
+
import IconGraphReport from '../../svg/IconGraphReport';
|
|
65
|
+
import MonitoringNav from '../../svg/IconHeartMonitor';
|
|
66
|
+
import IconHelp from '../../svg/IconHelp';
|
|
67
|
+
import IconHistory from '../../svg/IconHistory';
|
|
68
|
+
import IconImport from '../../svg/IconImport';
|
|
69
|
+
import IconIndex from '../../svg/IconIndex';
|
|
70
|
+
import IconLayers from '../../svg/IconLayers';
|
|
71
|
+
import IconLibrary from '../../svg/IconLibrary';
|
|
72
|
+
import IconList from '../../svg/IconList';
|
|
73
|
+
import IconLivePlant from '../../svg/IconLivePlant';
|
|
74
|
+
import IconLocations from '../../svg/IconLocations';
|
|
75
|
+
import Mail from '../../svg/IconMail';
|
|
76
|
+
import PeopleNav from '../../svg/IconManager';
|
|
77
|
+
import IconMarker from '../../svg/IconMarker';
|
|
78
|
+
import IconMenu from '../../svg/IconMenu';
|
|
79
|
+
import IconMenuHorizontal from '../../svg/IconMenuHorizontal';
|
|
80
|
+
import IconModule from '../../svg/IconModule';
|
|
81
|
+
import IconMyLocation from '../../svg/IconMyLocation';
|
|
82
|
+
import Note from '../../svg/IconNote';
|
|
83
|
+
import IconNursery from '../../svg/IconNursery';
|
|
84
|
+
import OrganizationNav from '../../svg/IconOrg';
|
|
85
|
+
import IconParchment from '../../svg/IconParchment';
|
|
86
|
+
import IconPhoto from '../../svg/IconPhoto';
|
|
87
|
+
import IconPlantsFilled from '../../svg/IconPlantsFilled';
|
|
88
|
+
import IconRedo from '../../svg/IconRedo';
|
|
89
|
+
import IconRestorationSite from '../../svg/IconRestorationSite';
|
|
90
|
+
import SeedBankNav from '../../svg/IconSeedBank';
|
|
91
|
+
import IconSeedling from '../../svg/IconSeedling';
|
|
92
|
+
import IconSettings from '../../svg/IconSettings';
|
|
93
|
+
import IconSlice from '../../svg/IconSlice';
|
|
94
|
+
import IconSubmit from '../../svg/IconSubmit';
|
|
95
|
+
import IconSubtract from '../../svg/IconSubtract';
|
|
96
|
+
import IconSynced from '../../svg/IconSynced';
|
|
97
|
+
import IconTrashCan from '../../svg/IconTrashCan';
|
|
98
|
+
import IconTreasureMap from '../../svg/IconTreasureMap';
|
|
99
|
+
import IconUnavailable from '../../svg/IconUnavailable';
|
|
100
|
+
import IconUndo from '../../svg/IconUndo';
|
|
101
|
+
import IconVariable from '../../svg/IconVariable';
|
|
102
|
+
import IconVideo from '../../svg/IconVideo';
|
|
103
|
+
import Wifi from '../../svg/IconWifi';
|
|
104
|
+
import Info from '../../svg/Info';
|
|
105
|
+
import Key from '../../svg/Key';
|
|
106
|
+
import Leaf from '../../svg/Leaf';
|
|
107
|
+
import Lock from '../../svg/Lock';
|
|
108
|
+
import MenuVertical from '../../svg/MenuVertical';
|
|
109
|
+
import Notification from '../../svg/Notification';
|
|
110
|
+
import Person from '../../svg/Person';
|
|
111
|
+
import Plus from '../../svg/Plus';
|
|
112
|
+
import RestorationSite from '../../svg/RestorationSite';
|
|
113
|
+
import Search from '../../svg/Search';
|
|
114
|
+
import Seeds from '../../svg/Seeds';
|
|
115
|
+
import Sparkles from '../../svg/Sparkles';
|
|
116
|
+
import Species from '../../svg/Species';
|
|
117
|
+
import Species2 from '../../svg/Species2';
|
|
118
|
+
import Spinner from '../../svg/Spinner';
|
|
119
|
+
import Star from '../../svg/Star';
|
|
120
|
+
import Success from '../../svg/Success';
|
|
121
|
+
import SuccessFilled from '../../svg/SuccessFilled';
|
|
122
|
+
import Touchscreen from '../../svg/Touchscreen';
|
|
123
|
+
import UploadCloud from '../../svg/UploadCloud';
|
|
124
|
+
import Warning from '../../svg/Warning';
|
|
125
|
+
import WelcomeClipboard from '../../svg/WelcomeClipboard';
|
|
131
126
|
const icons = {
|
|
132
|
-
blobbyGrayIconImage:
|
|
133
|
-
blobbyGrayIconImport:
|
|
134
|
-
blobbyGrayIconUploadToTheCloud:
|
|
135
|
-
blobbyIconCloudChecked:
|
|
136
|
-
blobbyIconExportOrUploadPhoto:
|
|
137
|
-
blobbyIconFolder:
|
|
138
|
-
blobbyIconGraphReport:
|
|
139
|
-
blobbyIconHappy:
|
|
140
|
-
blobbyIconLeaf:
|
|
141
|
-
blobbyIconLibrary:
|
|
142
|
-
blobbyIconNursery:
|
|
143
|
-
blobbyIconParchment:
|
|
144
|
-
blobbyIconSeedBank:
|
|
145
|
-
blobbyIconSeedling:
|
|
146
|
-
blobbyIconSeeds:
|
|
147
|
-
blobbyIconSite:
|
|
148
|
-
blobbyIconSparkles:
|
|
149
|
-
blobbyIconWrench:
|
|
150
|
-
bug:
|
|
151
|
-
calendar:
|
|
152
|
-
cancel:
|
|
153
|
-
caretDown:
|
|
154
|
-
caretLeft:
|
|
155
|
-
caretRight:
|
|
156
|
-
caretUp:
|
|
157
|
-
chargingBattery:
|
|
158
|
-
checklist:
|
|
159
|
-
checkmark:
|
|
160
|
-
chevronDown:
|
|
161
|
-
chevronUp:
|
|
162
|
-
close:
|
|
163
|
-
critical:
|
|
164
|
-
dashboard:
|
|
165
|
-
downloadFromTheCloud:
|
|
166
|
-
edit:
|
|
167
|
-
error:
|
|
168
|
-
expand:
|
|
169
|
-
filter:
|
|
170
|
-
folder:
|
|
171
|
-
futures:
|
|
172
|
-
help:
|
|
173
|
-
home:
|
|
174
|
-
iconAdd:
|
|
175
|
-
iconArrowRight:
|
|
176
|
-
iconBusinessNetwork:
|
|
177
|
-
iconCalendar:
|
|
178
|
-
iconCoinInHand:
|
|
179
|
-
iconColumns:
|
|
180
|
-
iconComment:
|
|
181
|
-
iconDataMigration:
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
127
|
+
blobbyGrayIconImage: BlobbyGrayIconImage,
|
|
128
|
+
blobbyGrayIconImport: BlobbyGrayIconImport,
|
|
129
|
+
blobbyGrayIconUploadToTheCloud: BlobbyGrayIconUploadToTheCloud,
|
|
130
|
+
blobbyIconCloudChecked: BlobbyIconCloudChecked,
|
|
131
|
+
blobbyIconExportOrUploadPhoto: BlobbyIconExportOrUploadPhoto,
|
|
132
|
+
blobbyIconFolder: BlobbyIconFolder,
|
|
133
|
+
blobbyIconGraphReport: BlobbyIconGraphReport,
|
|
134
|
+
blobbyIconHappy: BlobbyIconHappy,
|
|
135
|
+
blobbyIconLeaf: BlobbyIconLeaf,
|
|
136
|
+
blobbyIconLibrary: BlobbyIconLibrary,
|
|
137
|
+
blobbyIconNursery: BlobbyIconNursery,
|
|
138
|
+
blobbyIconParchment: BlobbyIconParchment,
|
|
139
|
+
blobbyIconSeedBank: BlobbyIconSeedBank,
|
|
140
|
+
blobbyIconSeedling: BlobbyIconSeedling,
|
|
141
|
+
blobbyIconSeeds: BlobbyIconSeeds,
|
|
142
|
+
blobbyIconSite: BlobbyIconSite,
|
|
143
|
+
blobbyIconSparkles: BlobbyIconSparkles,
|
|
144
|
+
blobbyIconWrench: BlobbyIconWrench,
|
|
145
|
+
bug: Bug,
|
|
146
|
+
calendar: Calendar,
|
|
147
|
+
cancel: Cancel,
|
|
148
|
+
caretDown: CaretDown,
|
|
149
|
+
caretLeft: CaretLeft,
|
|
150
|
+
caretRight: CaretRight,
|
|
151
|
+
caretUp: CaretUp,
|
|
152
|
+
chargingBattery: ChargingBattery,
|
|
153
|
+
checklist: Checklist,
|
|
154
|
+
checkmark: Checkmark,
|
|
155
|
+
chevronDown: ChevronDown,
|
|
156
|
+
chevronUp: ChevronUp,
|
|
157
|
+
close: Close,
|
|
158
|
+
critical: Critical,
|
|
159
|
+
dashboard: Dashboard,
|
|
160
|
+
downloadFromTheCloud: DownloadFromTheCloud,
|
|
161
|
+
edit: Edit,
|
|
162
|
+
error: Error,
|
|
163
|
+
expand: Expand,
|
|
164
|
+
filter: Filter,
|
|
165
|
+
folder: Folder,
|
|
166
|
+
futures: Futures,
|
|
167
|
+
help: Help,
|
|
168
|
+
home: Home,
|
|
169
|
+
iconAdd: IconAdd,
|
|
170
|
+
iconArrowRight: IconArrowRight,
|
|
171
|
+
iconBusinessNetwork: IconBusinessNetwork,
|
|
172
|
+
iconCalendar: IconCalendar,
|
|
173
|
+
iconCoinInHand: IconCoinInHand,
|
|
174
|
+
iconColumns: IconColumns,
|
|
175
|
+
iconComment: IconComment,
|
|
176
|
+
iconDataMigration: IconDataMigration,
|
|
177
|
+
iconDocument: IconDocument,
|
|
178
|
+
iconEdit: IconEdit,
|
|
179
|
+
iconExport: IconExport,
|
|
180
|
+
iconExternalLink: IconExternalLink,
|
|
181
|
+
iconEye: IconEye,
|
|
182
|
+
iconEyeOff: IconEyeOff,
|
|
183
|
+
iconFile: IconFile,
|
|
184
|
+
iconFolder: IconFolder,
|
|
185
|
+
iconFullScreen: IconFullScreen,
|
|
186
|
+
iconGraphReport: IconGraphReport,
|
|
187
|
+
iconHelp: IconHelp,
|
|
188
|
+
iconHistory: IconHistory,
|
|
189
|
+
iconImport: IconImport,
|
|
190
|
+
iconIndex: IconIndex,
|
|
191
|
+
iconLayers: IconLayers,
|
|
192
|
+
iconLibrary: IconLibrary,
|
|
193
|
+
iconList: IconList,
|
|
194
|
+
iconLivePlant: IconLivePlant,
|
|
195
|
+
iconLocations: IconLocations,
|
|
196
|
+
iconMarker: IconMarker,
|
|
197
|
+
iconMenu: IconMenu,
|
|
198
|
+
iconMenuHorizontal: IconMenuHorizontal,
|
|
199
|
+
iconModule: IconModule,
|
|
200
|
+
iconMyLocation: IconMyLocation,
|
|
201
|
+
iconNursery: IconNursery,
|
|
202
|
+
iconParchment: IconParchment,
|
|
203
|
+
iconPhoto: IconPhoto,
|
|
204
|
+
iconPlantsFilled: IconPlantsFilled,
|
|
205
|
+
iconRedo: IconRedo,
|
|
206
|
+
iconRestorationSite: IconRestorationSite,
|
|
207
|
+
iconSeedling: IconSeedling,
|
|
208
|
+
iconSettings: IconSettings,
|
|
209
|
+
iconSlice: IconSlice,
|
|
210
|
+
iconSubmit: IconSubmit,
|
|
211
|
+
iconSubtract: IconSubtract,
|
|
212
|
+
iconSynced: IconSynced,
|
|
213
|
+
iconTrashCan: IconTrashCan,
|
|
214
|
+
iconTreasureMap: IconTreasureMap,
|
|
215
|
+
iconUnavailable: IconUnavailable,
|
|
216
|
+
iconUndo: IconUndo,
|
|
217
|
+
iconVariable: IconVariable,
|
|
218
|
+
iconVideo: IconVideo,
|
|
219
|
+
info: Info,
|
|
220
|
+
key: Key,
|
|
221
|
+
leaf: Leaf,
|
|
222
|
+
lock: Lock,
|
|
223
|
+
mail: Mail,
|
|
224
|
+
menuVertical: MenuVertical,
|
|
225
|
+
monitoring: Monitoring,
|
|
226
|
+
monitoringNav: MonitoringNav,
|
|
227
|
+
newOrganization: WelcomeClipboard,
|
|
228
|
+
note: Note,
|
|
229
|
+
notification: Notification,
|
|
230
|
+
organization: Organization,
|
|
231
|
+
organizationNav: OrganizationNav,
|
|
232
|
+
people: People,
|
|
233
|
+
peopleNav: PeopleNav,
|
|
234
|
+
person: Person,
|
|
235
|
+
plus: Plus,
|
|
236
|
+
restorationSite: RestorationSite,
|
|
237
|
+
search: Search,
|
|
238
|
+
seedbank: SeedBank,
|
|
239
|
+
seedbankNav: SeedBankNav,
|
|
240
|
+
seeds: Seeds,
|
|
241
|
+
sparkles: Sparkles,
|
|
242
|
+
species: Species,
|
|
243
|
+
species2: Species2,
|
|
244
|
+
spinner: Spinner,
|
|
245
|
+
star: Star,
|
|
246
|
+
success: Success,
|
|
247
|
+
successFilled: SuccessFilled,
|
|
248
|
+
touchscreen: Touchscreen,
|
|
249
|
+
uploadCloud: UploadCloud,
|
|
250
|
+
warning: Warning,
|
|
251
|
+
wifi: Wifi
|
|
256
252
|
};
|
|
257
|
-
|
|
253
|
+
export default icons;
|
|
@@ -1,33 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
let {
|
|
14
|
-
iconName = 'info',
|
|
15
|
-
placement = 'top-start',
|
|
16
|
-
title,
|
|
17
|
-
disableRightMargin
|
|
18
|
-
} = _ref;
|
|
19
|
-
const [open, setOpen] = _react.default.useState(false);
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Tooltip, useTheme } from '@mui/material';
|
|
3
|
+
import { useDeviceInfo } from '../../utils';
|
|
4
|
+
import Icon from '../Icon/Icon';
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
export default function IconTooltip({
|
|
7
|
+
iconName = 'info',
|
|
8
|
+
placement = 'top-start',
|
|
9
|
+
title,
|
|
10
|
+
disableRightMargin
|
|
11
|
+
}) {
|
|
12
|
+
const [open, setOpen] = React.useState(false);
|
|
20
13
|
const {
|
|
21
14
|
isMobile
|
|
22
|
-
} =
|
|
23
|
-
const theme =
|
|
15
|
+
} = useDeviceInfo();
|
|
16
|
+
const theme = useTheme();
|
|
24
17
|
const handleTooltipClose = () => {
|
|
25
18
|
setOpen(false);
|
|
26
19
|
};
|
|
27
20
|
const handleTooltipOpen = () => {
|
|
28
21
|
setOpen(true);
|
|
29
22
|
};
|
|
30
|
-
return /*#__PURE__*/
|
|
23
|
+
return /*#__PURE__*/_jsx(Tooltip, {
|
|
31
24
|
arrow: true,
|
|
32
25
|
onClose: handleTooltipClose,
|
|
33
26
|
open: isMobile ? open : undefined,
|
|
@@ -46,16 +39,18 @@ function IconTooltip(_ref) {
|
|
|
46
39
|
}
|
|
47
40
|
}
|
|
48
41
|
},
|
|
49
|
-
title: title
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
42
|
+
title: title,
|
|
43
|
+
children: /*#__PURE__*/_jsx("span", {
|
|
44
|
+
onClick: handleTooltipOpen,
|
|
45
|
+
children: /*#__PURE__*/_jsx(Icon, {
|
|
46
|
+
name: iconName,
|
|
47
|
+
style: {
|
|
48
|
+
fill: theme.palette.TwClrIcnSecondary,
|
|
49
|
+
marginLeft: '4px',
|
|
50
|
+
marginRight: disableRightMargin ? '0px' : '4px',
|
|
51
|
+
verticalAlign: 'text-top'
|
|
52
|
+
}
|
|
53
|
+
})
|
|
54
|
+
})
|
|
55
|
+
});
|
|
61
56
|
}
|