@onehat/ui 0.3.260 → 0.3.262
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/package.json +4 -3
- package/src/Components/Accordion/Accordion.js +14 -14
- package/src/Components/Blank.js +1 -1
- package/src/Components/Buttons/BackButton.js +1 -1
- package/src/Components/Buttons/Button.js +1 -1
- package/src/Components/Buttons/CartButtonWithBadge.js +1 -1
- package/src/Components/Buttons/IconButton.js +5 -2
- package/src/Components/Buttons/PlusMinusButton.js +6 -6
- package/src/Components/Buttons/SquareButton.js +1 -1
- package/src/Components/Container/Container.js +9 -9
- package/src/Components/Container/ScreenContainer.js +4 -4
- package/src/Components/Container/Splitter.js +9 -10
- package/src/Components/Filter/DateRange.js +4 -4
- package/src/Components/Filter/NumberRange.js +4 -4
- package/src/Components/Form/Field/CKEditor/CKEditor.js +4 -4
- package/src/Components/Form/Field/Checkbox/CheckboxGroup.js +1 -3
- package/src/Components/Form/Field/Color.js +91 -85
- package/src/Components/Form/Field/Combo/Combo.js +13 -13
- package/src/Components/Form/Field/Combo/PageSizeCombo.js +4 -4
- package/src/Components/Form/Field/Date.js +10 -11
- package/src/Components/Form/Field/DisplayField.js +1 -1
- package/src/Components/Form/Field/File.js +4 -4
- package/src/Components/Form/Field/Input.js +4 -4
- package/src/Components/Form/Field/Number.js +4 -4
- package/src/Components/Form/Field/RadioGroup/RadioGroup.js +1 -3
- package/src/Components/Form/Field/Tag/Tag.js +7 -7
- package/src/Components/Form/Field/Tag/ValueBox.js +4 -4
- package/src/Components/Form/Field/Text.js +1 -1
- package/src/Components/Form/Field/TextArea.js +3 -3
- package/src/Components/Form/Field/Toggle.js +4 -4
- package/src/Components/Form/FieldSet.js +6 -7
- package/src/Components/Form/FiltersForm.js +0 -9
- package/src/Components/Form/Form.js +62 -45
- package/src/Components/Form/Label.js +4 -4
- package/src/Components/Grid/Grid.js +9 -11
- package/src/Components/Grid/GridHeaderRow.js +4 -4
- package/src/Components/Grid/GridRow.js +7 -7
- package/src/Components/Grid/HeaderColumnSelectorHandle.js +1 -1
- package/src/Components/Grid/HeaderReorderHandle.js +4 -6
- package/src/Components/Grid/HeaderResizeHandle.js +4 -6
- package/src/Components/Grid/NoRecordsFound.js +7 -7
- package/src/Components/Grid/RowDragHandle.js +4 -6
- package/src/Components/Hoc/Secondary/withSecondaryEditor.js +2 -1
- package/src/Components/Hoc/Secondary/withSecondaryWindowedEditor.js +1 -3
- package/src/Components/Hoc/withAlert.js +24 -14
- package/src/Components/Hoc/withBlank.js +0 -2
- package/src/Components/Hoc/withContextMenu.js +4 -9
- package/src/Components/Hoc/withEditor.js +2 -1
- package/src/Components/Hoc/withEvents.js +0 -2
- package/src/Components/Hoc/withFilters.js +11 -11
- package/src/Components/Hoc/withInlineEditor.js +5 -8
- package/src/Components/Hoc/withPdfButton.js +4 -5
- package/src/Components/Hoc/withPresetButtons.js +1 -1
- package/src/Components/Hoc/withTooltip.js +3 -3
- package/src/Components/Hoc/withWindowedEditor.js +1 -3
- package/src/Components/Icons/AddressBook.js +6 -10
- package/src/Components/Icons/Alt.js +7 -15
- package/src/Components/Icons/AngleLeft.js +6 -14
- package/src/Components/Icons/AngleRight.js +6 -14
- package/src/Components/Icons/AnglesLeft.js +6 -14
- package/src/Components/Icons/AnglesRight.js +6 -14
- package/src/Components/Icons/Asterisk.js +6 -10
- package/src/Components/Icons/Ban.js +8 -14
- package/src/Components/Icons/Bars.js +6 -10
- package/src/Components/Icons/BarsStaggered.js +6 -10
- package/src/Components/Icons/Bell.js +6 -19
- package/src/Components/Icons/BigCircle.js +6 -14
- package/src/Components/Icons/Book.js +6 -10
- package/src/Components/Icons/BookOpen.js +6 -10
- package/src/Components/Icons/Bookmark.js +7 -17
- package/src/Components/Icons/Bug.js +6 -10
- package/src/Components/Icons/Building.js +6 -10
- package/src/Components/Icons/Calendar.js +6 -14
- package/src/Components/Icons/Calendar2.js +6 -14
- package/src/Components/Icons/CalendarDays.js +6 -14
- package/src/Components/Icons/Camera.js +6 -14
- package/src/Components/Icons/CaretDown.js +6 -14
- package/src/Components/Icons/CaretUp.js +6 -14
- package/src/Components/Icons/CartPlus.js +6 -10
- package/src/Components/Icons/CartShopping.js +6 -10
- package/src/Components/Icons/CashRegister.js +6 -10
- package/src/Components/Icons/Certificate.js +6 -10
- package/src/Components/Icons/ChartLine.js +6 -10
- package/src/Components/Icons/ChartPie.js +6 -10
- package/src/Components/Icons/Check.js +6 -10
- package/src/Components/Icons/CheckDouble.js +6 -10
- package/src/Components/Icons/ChevronDown.js +6 -10
- package/src/Components/Icons/ChevronLeft.js +6 -10
- package/src/Components/Icons/ChevronRight.js +6 -10
- package/src/Components/Icons/ChevronUp.js +6 -10
- package/src/Components/Icons/Circle.js +6 -10
- package/src/Components/Icons/CircleArrowRight.js +6 -10
- package/src/Components/Icons/CircleExclamation.js +6 -14
- package/src/Components/Icons/CircleInfo.js +6 -10
- package/src/Components/Icons/CircleQuestion.js +6 -10
- package/src/Components/Icons/CircleXmark.js +6 -10
- package/src/Components/Icons/CircleXmarkRegular.js +6 -10
- package/src/Components/Icons/Clipboard.js +6 -14
- package/src/Components/Icons/ClipboardCheck.js +6 -17
- package/src/Components/Icons/ClipboardList.js +6 -16
- package/src/Components/Icons/Clock.js +6 -10
- package/src/Components/Icons/ClockRegular.js +6 -10
- package/src/Components/Icons/ClockRotateLeft.js +6 -10
- package/src/Components/Icons/Clone.js +6 -10
- package/src/Components/Icons/Collapse.js +6 -14
- package/src/Components/Icons/Comment.js +6 -10
- package/src/Components/Icons/CommentDots.js +6 -10
- package/src/Components/Icons/CommentRegular.js +6 -10
- package/src/Components/Icons/Comments.js +6 -10
- package/src/Components/Icons/CommentsRegular.js +6 -10
- package/src/Components/Icons/Copyright.js +6 -10
- package/src/Components/Icons/Dot.js +9 -15
- package/src/Components/Icons/Duplicate.js +6 -14
- package/src/Components/Icons/Edit.js +6 -14
- package/src/Components/Icons/EllipsisHorizontal.js +6 -16
- package/src/Components/Icons/EllipsisVertical.js +6 -14
- package/src/Components/Icons/Envelope.js +6 -10
- package/src/Components/Icons/EnvelopeRegular.js +6 -10
- package/src/Components/Icons/Excel.js +6 -10
- package/src/Components/Icons/Exclamation.js +6 -10
- package/src/Components/Icons/Expand.js +6 -10
- package/src/Components/Icons/Eye.js +6 -14
- package/src/Components/Icons/EyeSlash.js +6 -10
- package/src/Components/Icons/File.js +6 -14
- package/src/Components/Icons/FloppyDiskRegular.js +6 -10
- package/src/Components/Icons/Folder.js +6 -10
- package/src/Components/Icons/FolderClosed.js +6 -10
- package/src/Components/Icons/FolderOpen.js +6 -10
- package/src/Components/Icons/FolderTree.js +6 -10
- package/src/Components/Icons/FullWidth.js +9 -25
- package/src/Components/Icons/Gauge.js +6 -17
- package/src/Components/Icons/Gear.js +6 -14
- package/src/Components/Icons/Gears.js +6 -10
- package/src/Components/Icons/Gift.js +6 -10
- package/src/Components/Icons/Grip.js +6 -14
- package/src/Components/Icons/GripLines.js +6 -14
- package/src/Components/Icons/GripLinesVertical.js +6 -14
- package/src/Components/Icons/GripVertical.js +6 -14
- package/src/Components/Icons/Hammer.js +6 -10
- package/src/Components/Icons/Hand.js +6 -10
- package/src/Components/Icons/HighPriority.js +6 -17
- package/src/Components/Icons/House.js +6 -10
- package/src/Components/Icons/Images.js +6 -10
- package/src/Components/Icons/Info.js +6 -10
- package/src/Components/Icons/ItunesNote.js +6 -10
- package/src/Components/Icons/Js.js +6 -16
- package/src/Components/Icons/Leaf.js +6 -10
- package/src/Components/Icons/Link.js +6 -9
- package/src/Components/Icons/List.js +6 -10
- package/src/Components/Icons/ListCheck.js +6 -10
- package/src/Components/Icons/LocationDot.js +6 -10
- package/src/Components/Icons/Loop.js +6 -14
- package/src/Components/Icons/Loop1.js +7 -13
- package/src/Components/Icons/LoopAll.js +7 -13
- package/src/Components/Icons/LowPriority.js +6 -17
- package/src/Components/Icons/MagnifyingGlass.js +6 -10
- package/src/Components/Icons/Maximize.js +6 -10
- package/src/Components/Icons/MedPriority.js +6 -17
- package/src/Components/Icons/Microphone.js +6 -10
- package/src/Components/Icons/Minimize.js +6 -10
- package/src/Components/Icons/Minus.js +6 -14
- package/src/Components/Icons/MobileScreenButton.js +6 -10
- package/src/Components/Icons/MoneyBill.js +6 -10
- package/src/Components/Icons/MoneyBillWave.js +6 -10
- package/src/Components/Icons/Mouth.js +9 -21
- package/src/Components/Icons/Music.js +6 -10
- package/src/Components/Icons/Na.js +6 -14
- package/src/Components/Icons/NoLoop.js +10 -13
- package/src/Components/Icons/NoReorderRows.js +16 -22
- package/src/Components/Icons/ObjectGroupRegular.js +6 -10
- package/src/Components/Icons/Pause.js +6 -10
- package/src/Components/Icons/Pdf.js +6 -10
- package/src/Components/Icons/Pencil.js +6 -14
- package/src/Components/Icons/Phone.js +6 -10
- package/src/Components/Icons/Play.js +6 -10
- package/src/Components/Icons/Plus.js +6 -14
- package/src/Components/Icons/Presentation.js +6 -16
- package/src/Components/Icons/Print.js +6 -14
- package/src/Components/Icons/Question.js +6 -10
- package/src/Components/Icons/Rate-.25x.js +11 -17
- package/src/Components/Icons/Rate-.5x.js +10 -16
- package/src/Components/Icons/Rate-.75x.js +7 -13
- package/src/Components/Icons/Rate-1.25x.js +7 -13
- package/src/Components/Icons/Rate-1.5x.js +7 -13
- package/src/Components/Icons/Rate-1.75x.js +7 -13
- package/src/Components/Icons/Rate-1x.js +10 -16
- package/src/Components/Icons/Rate-2x.js +7 -13
- package/src/Components/Icons/RateIcon-.25x.js +7 -13
- package/src/Components/Icons/RateIcon-.5x.js +10 -16
- package/src/Components/Icons/RateIcon-.75x.js +7 -13
- package/src/Components/Icons/RateIcon-1.25x.js +7 -13
- package/src/Components/Icons/RateIcon-1.5x.js +7 -13
- package/src/Components/Icons/RateIcon-1.75x.js +7 -13
- package/src/Components/Icons/RateIcon-1x.js +7 -13
- package/src/Components/Icons/RateIcon-2x.js +7 -13
- package/src/Components/Icons/RectangleXmark.js +6 -10
- package/src/Components/Icons/RectangleXmarkRegular.js +6 -10
- package/src/Components/Icons/ReorderRows.js +7 -13
- package/src/Components/Icons/RightFromBracket.js +6 -10
- package/src/Components/Icons/RightLeft.js +6 -10
- package/src/Components/Icons/RightToBracket.js +6 -10
- package/src/Components/Icons/Rotate.js +6 -14
- package/src/Components/Icons/RotateLeft.js +6 -10
- package/src/Components/Icons/RotateRight.js +6 -14
- package/src/Components/Icons/ScrewdriverWrench.js +6 -10
- package/src/Components/Icons/Scroll.js +6 -10
- package/src/Components/Icons/Share.js +6 -10
- package/src/Components/Icons/Shop.js +6 -10
- package/src/Components/Icons/SideBySide.js +6 -20
- package/src/Components/Icons/SortDown.js +6 -10
- package/src/Components/Icons/SortDownAlt.js +6 -10
- package/src/Components/Icons/SortUp.js +6 -10
- package/src/Components/Icons/SortUpAlt.js +6 -14
- package/src/Components/Icons/Square.js +6 -10
- package/src/Components/Icons/SquareCheck.js +6 -10
- package/src/Components/Icons/SquareCheckRegular.js +6 -10
- package/src/Components/Icons/SquareMinus.js +6 -14
- package/src/Components/Icons/SquareRegular.js +6 -10
- package/src/Components/Icons/Store.js +6 -10
- package/src/Components/Icons/Table.js +6 -16
- package/src/Components/Icons/ThumbsDown.js +6 -10
- package/src/Components/Icons/ThumbsDownRegular.js +6 -10
- package/src/Components/Icons/ThumbsUp.js +6 -10
- package/src/Components/Icons/ThumbsUpRegular.js +6 -10
- package/src/Components/Icons/Trash.js +6 -14
- package/src/Components/Icons/TrashCan.js +6 -14
- package/src/Components/Icons/TriangleExclamation.js +6 -14
- package/src/Components/Icons/Truck.js +6 -10
- package/src/Components/Icons/TruckFast.js +6 -10
- package/src/Components/Icons/UploadDownload.js +7 -9
- package/src/Components/Icons/User.js +6 -10
- package/src/Components/Icons/UserGroup.js +6 -10
- package/src/Components/Icons/UserPlus.js +6 -10
- package/src/Components/Icons/UserSecret.js +6 -10
- package/src/Components/Icons/Video.js +6 -16
- package/src/Components/Icons/X.js +6 -10
- package/src/Components/Icons/Xmark.js +6 -10
- package/src/Components/Layout/CenterBox.js +1 -1
- package/src/Components/Layout/Footer.js +4 -4
- package/src/Components/Messages/ConfirmationMessage.js +8 -3
- package/src/Components/Messages/ErrorMessage.js +5 -2
- package/src/Components/Messages/Loading.js +6 -6
- package/src/Components/Messages/OkMessage.js +4 -3
- package/src/Components/Messages/WaitMessage.js +1 -1
- package/src/Components/Panel/AccordionGridPanel.js +1 -1
- package/src/Components/Panel/FormPanel.js +1 -1
- package/src/Components/Panel/Header.js +13 -13
- package/src/Components/Panel/Mask.js +1 -1
- package/src/Components/Panel/Panel.js +10 -12
- package/src/Components/Picker/Picker.js +5 -5
- package/src/Components/Report/Report.js +10 -10
- package/src/Components/Screens/Manager.js +7 -7
- package/src/Components/Tab/TabBar.js +23 -23
- package/src/Components/Toolbar/FilterToolbar.js +3 -3
- package/src/Components/Toolbar/Pagination.js +12 -8
- package/src/Components/Toolbar/PaginationToolbar.js +3 -3
- package/src/Components/Toolbar/Toolbar.js +4 -4
- package/src/Components/Tree/Tree.js +10 -13
- package/src/Components/Tree/TreeNode.js +4 -4
- package/src/Components/Viewer/Viewer.js +37 -24
- package/src/Components/WaitModal.js +4 -4
- package/src/Components/Window/Editor.js +1 -1
- package/src/Components/Window/UploadsDownloadsWindow.js +1 -1
- package/src/Components/index.js +5 -5
- package/src/Functions/buildAdditionalButtons.js +7 -3
- package/src/PlatformImports/Web/Attachments.js +11 -8
- package/src/PlatformImports/Web/File.js +4 -5
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
// Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Icon } from 'native-base';
|
|
2
|
+
import { Path } from 'react-native-svg';
|
|
3
|
+
import { createIcon } from '@gluestack-ui/themed';
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
</Icon>
|
|
11
|
-
)
|
|
12
|
-
}
|
|
5
|
+
const SvgComponent = createIcon({
|
|
6
|
+
viewBox: '0 0 640 512',
|
|
7
|
+
path: <Path d="M352 128c0 70.7-57.3 128-128 128S96 198.7 96 128 153.3 0 224 0s128 57.3 128 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4c98.5 0 178.3 79.8 178.3 178.3 0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM609.3 512H471.4c5.4-9.4 8.6-20.3 8.6-32v-8c0-60.7-27.1-115.2-69.8-151.8 2.4-.1 4.7-.2 7.1-.2h61.4c89.1 0 161.3 72.2 161.3 161.3 0 17-13.8 30.7-30.7 30.7zM432 256c-31 0-59-12.6-79.3-32.9 19.7-26.6 31.3-59.5 31.3-95.1 0-26.8-6.6-52.1-18.3-74.3C384.3 40.1 407.2 32 432 32c61.9 0 112 50.1 112 112s-50.1 112-112 112z" />,
|
|
8
|
+
});
|
|
13
9
|
|
|
14
10
|
export default SvgComponent
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
// Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Icon } from 'native-base';
|
|
2
|
+
import { Path } from 'react-native-svg';
|
|
3
|
+
import { createIcon } from '@gluestack-ui/themed';
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
</Icon>
|
|
11
|
-
)
|
|
12
|
-
}
|
|
5
|
+
const SvgComponent = createIcon({
|
|
6
|
+
viewBox: '0 0 640 512',
|
|
7
|
+
path: <Path d="M352 128c0 70.7-57.3 128-128 128S96 198.7 96 128 153.3 0 224 0s128 57.3 128 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4c98.5 0 178.3 79.8 178.3 178.3 0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM504 312v-64h-64c-13.3 0-24-10.7-24-24s10.7-24 24-24h64v-64c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24h-64v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z" />,
|
|
8
|
+
});
|
|
13
9
|
|
|
14
10
|
export default SvgComponent
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
// Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Icon } from 'native-base';
|
|
2
|
+
import { Path } from 'react-native-svg';
|
|
3
|
+
import { createIcon } from '@gluestack-ui/themed';
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
</Icon>
|
|
11
|
-
)
|
|
12
|
-
}
|
|
5
|
+
const SvgComponent = createIcon({
|
|
6
|
+
viewBox: '0 0 448 512',
|
|
7
|
+
path: <Path d="M224 16c-6.7 0-10.8-2.8-15.5-6.1C201.9 5.4 194 0 176 0c-30.5 0-52 43.7-66 89.4-47.3 8.7-78 22.8-78 38.6 0 14.3 25 27.1 64.6 35.9-.4 4-.6 8-.6 12.1 0 17 3.3 33.2 9.3 48H45.4C38 224 32 230 32 237.4c0 1.7.3 3.4 1 5l38.8 96.9C28.2 371.8 0 423.8 0 482.3 0 498.7 13.3 512 29.7 512h388.6c16.4 0 29.7-13.3 29.7-29.7 0-58.5-28.2-110.4-71.7-143l38.7-96.9c.6-1.6 1-3.3 1-5 0-7.4-6-13.4-13.4-13.4h-59.9c6-14.8 9.3-31 9.3-48 0-4.1-.2-8.1-.6-12.1C391 155.1 416 142.3 416 128c0-15.8-30.7-29.9-78-38.6C324 43.7 302.5 0 272 0c-18 0-25.9 5.4-32.5 9.9-4.7 3.3-8.8 6.1-15.5 6.1zm56 208h-12.4c-16.5 0-31.1-10.6-36.3-26.2-2.3-7-12.2-7-14.5 0-5.2 15.6-19.9 26.2-36.3 26.2H168c-22.1 0-40-17.9-40-40v-14.4c28.2 4.1 61 6.4 96 6.4s67.8-2.3 96-6.4V184c0 22.1-17.9 40-40 40zm-88 96l16 32-32 128-48-192 64 32zm128-32l-48 192-32-128 16-32 64-32z" />,
|
|
8
|
+
});
|
|
13
9
|
|
|
14
10
|
export default SvgComponent
|
|
@@ -1,20 +1,10 @@
|
|
|
1
1
|
// Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Icon } from 'native-base';
|
|
2
|
+
import { Path } from 'react-native-svg';
|
|
3
|
+
import { createIcon } from '@gluestack-ui/themed';
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
viewBox="0 0 11.77 7.85"
|
|
11
|
-
{...props}
|
|
12
|
-
>
|
|
13
|
-
<Path
|
|
14
|
-
d="M0 1.31C0 .59.59 0 1.31 0h5.23c.72 0 1.31.59 1.31 1.31v5.23c0 .72-.59 1.31-1.31 1.31H1.31C.59 7.85 0 7.26 0 6.54V1.31zM11.43.73c.21.11.35.34.35.58v5.23c0 .24-.13.46-.35.58s-.47.1-.67-.03L8.8 5.78l-.29-.19V2.27l.29-.19L10.76.77c.2-.13.46-.15.67-.03z"
|
|
15
|
-
/>
|
|
16
|
-
</Icon>
|
|
17
|
-
)
|
|
18
|
-
}
|
|
5
|
+
const SvgComponent = createIcon({
|
|
6
|
+
viewBox: '0 0 11.77 7.85',
|
|
7
|
+
path: <Path d="M0 1.31C0 .59.59 0 1.31 0h5.23c.72 0 1.31.59 1.31 1.31v5.23c0 .72-.59 1.31-1.31 1.31H1.31C.59 7.85 0 7.26 0 6.54V1.31zM11.43.73c.21.11.35.34.35.58v5.23c0 .24-.13.46-.35.58s-.47.1-.67-.03L8.8 5.78l-.29-.19V2.27l.29-.19L10.76.77c.2-.13.46-.15.67-.03z" />
|
|
8
|
+
});
|
|
19
9
|
|
|
20
10
|
export default SvgComponent
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
// Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Icon } from 'native-base';
|
|
2
|
+
import { Path } from 'react-native-svg';
|
|
3
|
+
import { createIcon } from '@gluestack-ui/themed';
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
</Icon>
|
|
11
|
-
)
|
|
12
|
-
}
|
|
5
|
+
const SvgComponent = createIcon({
|
|
6
|
+
viewBox: '0 0 384 512',
|
|
7
|
+
path: <Path d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5c-11.3-13.6-31.5-15.4-45.1-4.1S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306l135.4 162.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" />,
|
|
8
|
+
});
|
|
13
9
|
|
|
14
10
|
export default SvgComponent
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
// Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Icon } from 'native-base';
|
|
2
|
+
import { Path } from 'react-native-svg';
|
|
3
|
+
import { createIcon } from '@gluestack-ui/themed';
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
</Icon>
|
|
11
|
-
)
|
|
12
|
-
}
|
|
5
|
+
const SvgComponent = createIcon({
|
|
6
|
+
viewBox: '0 0 320 512',
|
|
7
|
+
path: <Path d="M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256l105.3-105.4z" />,
|
|
8
|
+
});
|
|
13
9
|
|
|
14
10
|
export default SvgComponent
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from '
|
|
2
|
+
HStack,
|
|
3
|
+
} from '@gluestack-ui/themed';
|
|
4
4
|
import UiGlobals from '../../UiGlobals.js';
|
|
5
5
|
|
|
6
6
|
export default function Footer(props) {
|
|
7
7
|
const styles = UiGlobals.styles;
|
|
8
|
-
return <
|
|
8
|
+
return <HStack
|
|
9
9
|
alignItems="center"
|
|
10
10
|
justifyContent="center"
|
|
11
11
|
alignSelf="flex-end"
|
|
@@ -17,5 +17,5 @@ export default function Footer(props) {
|
|
|
17
17
|
{...props}
|
|
18
18
|
>
|
|
19
19
|
{props.children}
|
|
20
|
-
</
|
|
20
|
+
</HStack>;
|
|
21
21
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button,
|
|
3
|
+
ButtonText,
|
|
3
4
|
Modal,
|
|
4
5
|
Text,
|
|
5
|
-
} from '
|
|
6
|
+
} from '@gluestack-ui/themed';
|
|
6
7
|
import emptyFn from '../../Functions/emptyFn.js';
|
|
7
8
|
|
|
8
9
|
export default function ConfirmationMessage(props) {
|
|
@@ -19,8 +20,12 @@ export default function ConfirmationMessage(props) {
|
|
|
19
20
|
<Text color="#000">{textMessage}</Text>
|
|
20
21
|
</Modal.Body>
|
|
21
22
|
<Modal.Footer py={2} pr={4}>
|
|
22
|
-
<Button variant="ghost" color="trueGray.700" onPress={onCancel}>
|
|
23
|
-
|
|
23
|
+
<Button variant="ghost" color="trueGray.700" onPress={onCancel}>
|
|
24
|
+
<ButtonText>Cancel</ButtonText>
|
|
25
|
+
</Button>
|
|
26
|
+
<Button variant="ghost" color="primary.800" onPress={onOk}>
|
|
27
|
+
<ButtonText>OK</ButtonText>
|
|
28
|
+
</Button>
|
|
24
29
|
</Modal.Footer>
|
|
25
30
|
</Modal.Content>
|
|
26
31
|
</Modal>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Box,
|
|
3
3
|
Button,
|
|
4
|
+
ButtonText,
|
|
4
5
|
Icon,
|
|
5
6
|
Modal,
|
|
6
7
|
Text,
|
|
7
|
-
} from '
|
|
8
|
+
} from '@gluestack-ui/themed';
|
|
8
9
|
import TriangleExclamation from '../Icons/TriangleExclamation.js';
|
|
9
10
|
|
|
10
11
|
export default function ErrorMessage(props) {
|
|
@@ -32,7 +33,9 @@ export default function ErrorMessage(props) {
|
|
|
32
33
|
<Text flex={1} color={color} fontSize="18px">{text}</Text>
|
|
33
34
|
</Modal.Body>
|
|
34
35
|
<Modal.Footer py={2} pr={4}>
|
|
35
|
-
<Button color="primary.800" onPress={onOk}>
|
|
36
|
+
<Button color="primary.800" onPress={onOk}>
|
|
37
|
+
<ButtonText>OK</ButtonText>
|
|
38
|
+
</Button>
|
|
36
39
|
</Modal.Footer>
|
|
37
40
|
</Modal.Content>
|
|
38
41
|
</Modal>;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
HStack,
|
|
3
3
|
Spinner,
|
|
4
4
|
Text,
|
|
5
|
-
} from '
|
|
5
|
+
} from '@gluestack-ui/themed';
|
|
6
6
|
import ScreenContainer from '../Container/ScreenContainer.js';
|
|
7
7
|
|
|
8
8
|
export default function Loading(props) {
|
|
9
9
|
if (props.isScreen) {
|
|
10
10
|
return <ScreenContainer {...props}>
|
|
11
|
-
<
|
|
11
|
+
<HStack flex={1} justifyContent="center" alignItems="center">
|
|
12
12
|
<Spinner color="primary.500" mr={2} />
|
|
13
13
|
<Text>Loading</Text>
|
|
14
|
-
</
|
|
14
|
+
</HStack>
|
|
15
15
|
</ScreenContainer>;
|
|
16
16
|
}
|
|
17
|
-
return <
|
|
17
|
+
return <HStack justifyContent="center" minHeight={100} {...props}>
|
|
18
18
|
<Spinner flex={1} color="primary.500" />
|
|
19
|
-
</
|
|
19
|
+
</HStack>;
|
|
20
20
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button,
|
|
3
3
|
Modal,
|
|
4
|
-
Row,
|
|
5
4
|
Text,
|
|
6
|
-
} from '
|
|
5
|
+
} from '@gluestack-ui/themed';
|
|
7
6
|
|
|
8
7
|
export default function OkMessage(props) {
|
|
9
8
|
const {
|
|
@@ -17,7 +16,9 @@ export default function OkMessage(props) {
|
|
|
17
16
|
<Text color="#000">{textMessage}</Text>
|
|
18
17
|
</Modal.Body>
|
|
19
18
|
<Modal.Footer p={0} pr={4} borderTopWidth={0}>
|
|
20
|
-
<Button variant="ghost" color="primary.800" onPress={onClose}>
|
|
19
|
+
<Button variant="ghost" color="primary.800" onPress={onClose}>
|
|
20
|
+
<ButtonText>OK</ButtonText>
|
|
21
|
+
</Button>
|
|
21
22
|
</Modal.Footer>
|
|
22
23
|
</Modal.Content>
|
|
23
24
|
</Modal>;
|
|
@@ -2,7 +2,7 @@ import { useState, } from 'react';
|
|
|
2
2
|
import {
|
|
3
3
|
Column,
|
|
4
4
|
ScrollView,
|
|
5
|
-
} from '
|
|
5
|
+
} from '@gluestack-ui/themed';
|
|
6
6
|
import Accordion from 'react-native-collapsible/Accordion'; // https://www.npmjs.com/package/react-native-collapsible
|
|
7
7
|
import testProps from '../../Functions/testProps';
|
|
8
8
|
import Footer from '../Layout/Footer.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
VStack,
|
|
4
4
|
Icon,
|
|
5
5
|
Pressable,
|
|
6
|
-
|
|
6
|
+
HStack,
|
|
7
7
|
Text,
|
|
8
|
-
} from '
|
|
8
|
+
} from '@gluestack-ui/themed';
|
|
9
9
|
import {
|
|
10
10
|
HORIZONTAL,
|
|
11
11
|
VERTICAL,
|
|
@@ -80,12 +80,12 @@ export default function Header(props) {
|
|
|
80
80
|
}
|
|
81
81
|
}}
|
|
82
82
|
>
|
|
83
|
-
<
|
|
83
|
+
<VStack alignItems="center" justifyContent="flex-start" h="100%" w="100%" bg={styles.PANEL_HEADER_BG_VERTICAL} style={{ userSelect: 'none', }} testID={testID}>
|
|
84
84
|
{collapseBtn}
|
|
85
85
|
<div style={{ textOrientation: 'mixed', writingMode: 'vertical-rl', }}>
|
|
86
86
|
<Text flex={1} fontSize={styles.PANEL_HEADER_TEXT_FONTSIZE} color={styles.PANEL_HEADER_TEXT_COLOR} numberOfLines={1} ellipsizeMode="head" testID="text">{title}</Text>
|
|
87
87
|
</div>
|
|
88
|
-
</
|
|
88
|
+
</VStack>
|
|
89
89
|
</div>;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -99,11 +99,11 @@ export default function Header(props) {
|
|
|
99
99
|
}
|
|
100
100
|
}}
|
|
101
101
|
>
|
|
102
|
-
<
|
|
102
|
+
<HStack alignItems="center" justifyContent="flex-start" px={styles.PANEL_HEADER_PX} py={styles.PANEL_HEADER_PY} bg={styles.PANEL_HEADER_BG} style={{ userSelect: 'none', }} testID={testID}>
|
|
103
103
|
{closeBtn}
|
|
104
104
|
<Text flex={1} fontSize={styles.PANEL_HEADER_TEXT_FONTSIZE} color={styles.PANEL_HEADER_TEXT_COLOR} numberOfLines={1} ellipsizeMode="head" testID="text">{title}</Text>
|
|
105
105
|
{collapseBtn}
|
|
106
|
-
</
|
|
106
|
+
</HStack>
|
|
107
107
|
</div>;
|
|
108
108
|
|
|
109
109
|
} else if (CURRENT_MODE === UI_MODE_REACT_NATIVE) {
|
|
@@ -122,7 +122,7 @@ export default function Header(props) {
|
|
|
122
122
|
}
|
|
123
123
|
}}
|
|
124
124
|
>
|
|
125
|
-
<
|
|
125
|
+
<VStack
|
|
126
126
|
alignItems="center"
|
|
127
127
|
justifyContent="flex-start"
|
|
128
128
|
h="100%"
|
|
@@ -130,7 +130,7 @@ export default function Header(props) {
|
|
|
130
130
|
bg={styles.PANEL_HEADER_BG_VERTICAL}
|
|
131
131
|
>
|
|
132
132
|
{collapseBtn}
|
|
133
|
-
<
|
|
133
|
+
<VStack
|
|
134
134
|
alignItems="center"
|
|
135
135
|
justifyContent="center"
|
|
136
136
|
flex={1}
|
|
@@ -145,8 +145,8 @@ export default function Header(props) {
|
|
|
145
145
|
w={200}
|
|
146
146
|
style={{ transform: [{ rotate: '-90deg'}] }}
|
|
147
147
|
>{title}</Text>
|
|
148
|
-
</
|
|
149
|
-
</
|
|
148
|
+
</VStack>
|
|
149
|
+
</VStack>
|
|
150
150
|
</Pressable>;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
@@ -161,7 +161,7 @@ export default function Header(props) {
|
|
|
161
161
|
}
|
|
162
162
|
}}
|
|
163
163
|
>
|
|
164
|
-
<
|
|
164
|
+
<HStack
|
|
165
165
|
alignItems="center"
|
|
166
166
|
justifyContent="flex-start"
|
|
167
167
|
px={styles.PANEL_HEADER_PX}
|
|
@@ -177,7 +177,7 @@ export default function Header(props) {
|
|
|
177
177
|
ellipsizeMode="head"
|
|
178
178
|
>{title}</Text>
|
|
179
179
|
{collapseBtn}
|
|
180
|
-
</
|
|
180
|
+
</HStack>
|
|
181
181
|
</Pressable>;
|
|
182
182
|
|
|
183
183
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { useEffect, useState, } from 'react';
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
Row,
|
|
3
|
+
VStack,
|
|
5
4
|
ScrollView,
|
|
6
|
-
|
|
7
|
-
} from 'native-base';
|
|
5
|
+
} from '@gluestack-ui/themed';
|
|
8
6
|
import {
|
|
9
7
|
HORIZONTAL,
|
|
10
8
|
VERTICAL,
|
|
@@ -147,26 +145,26 @@ function Panel(props) {
|
|
|
147
145
|
|
|
148
146
|
if (isCollapsed) {
|
|
149
147
|
if (collapseDirection === HORIZONTAL) {
|
|
150
|
-
return <
|
|
148
|
+
return <VStack overflow="hidden" {...propsToPass} {...framePropsToUse} {...sizeProps} w="33px">
|
|
151
149
|
{isDisabled && <Mask />}
|
|
152
150
|
{headerComponent}
|
|
153
|
-
</
|
|
151
|
+
</VStack>;
|
|
154
152
|
}
|
|
155
|
-
return <
|
|
153
|
+
return <VStack overflow="hidden" {...propsToPass} {...framePropsToUse} {...sizeProps} h="33px">
|
|
156
154
|
{isDisabled && <Mask />}
|
|
157
155
|
{headerComponent}
|
|
158
|
-
</
|
|
156
|
+
</VStack>;
|
|
159
157
|
}
|
|
160
|
-
return <
|
|
158
|
+
return <VStack overflow="hidden" {...propsToPass} {...framePropsToUse} {...sizeProps} onLayout={onLayout}>
|
|
161
159
|
{isDisabled && <Mask />}
|
|
162
160
|
{headerComponent}
|
|
163
161
|
{topToolbar}
|
|
164
|
-
<
|
|
162
|
+
<VStack flex={1} w="100%" overflow="hidden">
|
|
165
163
|
{isScrollable ? <ScrollView>{children}</ScrollView> : children}
|
|
166
|
-
</
|
|
164
|
+
</VStack>
|
|
167
165
|
{bottomToolbar}
|
|
168
166
|
{footer}
|
|
169
|
-
</
|
|
167
|
+
</VStack>;
|
|
170
168
|
|
|
171
169
|
}
|
|
172
170
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Icon,
|
|
3
|
-
|
|
3
|
+
HStack,
|
|
4
4
|
Select,
|
|
5
5
|
Tooltip,
|
|
6
|
-
} from '
|
|
6
|
+
} from '@gluestack-ui/themed';
|
|
7
7
|
import CaretDown from '../Icons/CaretDown.js';
|
|
8
8
|
import testProps from '../../Functions/testProps.js';
|
|
9
9
|
import _ from 'lodash';
|
|
@@ -55,10 +55,10 @@ export default function Picker(props) {
|
|
|
55
55
|
>{items}</Select>;
|
|
56
56
|
if (tooltip) {
|
|
57
57
|
//TODO: This doesn't yet work, but doesn't do anything harmful either!
|
|
58
|
-
select = <Tooltip label={tooltip} placement={tooltipPlacement}>{select}</Tooltip>;
|
|
58
|
+
// select = <Tooltip label={tooltip} placement={tooltipPlacement}>{select}</Tooltip>;
|
|
59
59
|
}
|
|
60
|
-
return <
|
|
60
|
+
return <HStack {...props}>
|
|
61
61
|
{select}
|
|
62
|
-
</
|
|
62
|
+
</HStack>;
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
VStack,
|
|
4
4
|
Icon,
|
|
5
|
-
|
|
5
|
+
HStack,
|
|
6
6
|
Text,
|
|
7
|
-
} from '
|
|
7
|
+
} from '@gluestack-ui/themed';
|
|
8
8
|
import { EDITOR_TYPE__PLAIN } from '../../Constants/Editor';
|
|
9
9
|
import {
|
|
10
10
|
UI_MODE_WEB,
|
|
@@ -102,20 +102,20 @@ function Report(props) {
|
|
|
102
102
|
ml: 1,
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
|
-
return <
|
|
106
|
-
<
|
|
107
|
-
{icon && <
|
|
108
|
-
<
|
|
105
|
+
return <VStack w="100%" borderWidth={1} borderColor="primary.300" pt={4} mb={3}>
|
|
106
|
+
<HStack>
|
|
107
|
+
{icon && <VStack>{icon}</VStack>}
|
|
108
|
+
<VStack flex={1}>
|
|
109
109
|
<Text fontSize="2xl" maxWidth="100%">{title}</Text>
|
|
110
110
|
<Text fontSize="sm">{description}</Text>
|
|
111
|
-
</
|
|
112
|
-
</
|
|
111
|
+
</VStack>
|
|
112
|
+
</HStack>
|
|
113
113
|
<Form
|
|
114
114
|
type={EDITOR_TYPE__PLAIN}
|
|
115
115
|
additionalFooterButtons={buttons}
|
|
116
116
|
{...props._form}
|
|
117
117
|
/>
|
|
118
|
-
</
|
|
118
|
+
</VStack>;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
export default withComponent(Report);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { useState, useEffect, } from 'react';
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
VStack,
|
|
4
|
+
HStack,
|
|
5
5
|
Text,
|
|
6
|
-
} from '
|
|
6
|
+
} from '@gluestack-ui/themed';
|
|
7
7
|
import withComponent from '../Hoc/withComponent.js';
|
|
8
8
|
import UiGlobals from '../../UiGlobals.js';
|
|
9
9
|
import IconButton from '../Buttons/IconButton';
|
|
@@ -84,8 +84,8 @@ function ManagerScreen(props) {
|
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
return <
|
|
88
|
-
<
|
|
87
|
+
return <VStack maxHeight="100vh" overflow="hidden" flex={1} w="100%" onLayout={onLayout}>
|
|
88
|
+
<HStack
|
|
89
89
|
h="80px"
|
|
90
90
|
py={2}
|
|
91
91
|
borderBottomWidth={2}
|
|
@@ -115,9 +115,9 @@ function ManagerScreen(props) {
|
|
|
115
115
|
tooltip="Side Editor"
|
|
116
116
|
/>
|
|
117
117
|
</>}
|
|
118
|
-
</
|
|
118
|
+
</HStack>
|
|
119
119
|
{isRendered && isModeSet && whichComponent}
|
|
120
|
-
</
|
|
120
|
+
</VStack>;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
export default withComponent(ManagerScreen);
|