@chem-po/react-native 0.0.7 → 0.0.9
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/lib/commonjs/components/box/Center.js +4 -3
- package/lib/commonjs/components/box/Center.js.map +1 -1
- package/lib/commonjs/components/box/CollapseHorizontal.js +3 -2
- package/lib/commonjs/components/box/CollapseHorizontal.js.map +1 -1
- package/lib/commonjs/components/box/ContentBox.js +3 -2
- package/lib/commonjs/components/box/ContentBox.js.map +1 -1
- package/lib/commonjs/components/box/DropShadow.js +3 -1
- package/lib/commonjs/components/box/DropShadow.js.map +1 -1
- package/lib/commonjs/components/box/ExpandOnMount.js +4 -3
- package/lib/commonjs/components/box/ExpandOnMount.js.map +1 -1
- package/lib/commonjs/components/box/FullSizeContainer.js +5 -4
- package/lib/commonjs/components/box/FullSizeContainer.js.map +1 -1
- package/lib/commonjs/components/button/Toggle.js +6 -5
- package/lib/commonjs/components/button/Toggle.js.map +1 -1
- package/lib/commonjs/components/feed/FeedContentPane.js +3 -2
- package/lib/commonjs/components/feed/FeedContentPane.js.map +1 -1
- package/lib/commonjs/components/feed/MediaFeedRefresh.js +8 -7
- package/lib/commonjs/components/feed/MediaFeedRefresh.js.map +1 -1
- package/lib/commonjs/components/feed/context.js +3 -2
- package/lib/commonjs/components/feed/context.js.map +1 -1
- package/lib/commonjs/components/form/Condition.js +3 -2
- package/lib/commonjs/components/form/Condition.js.map +1 -1
- package/lib/commonjs/components/form/Field.js +4 -3
- package/lib/commonjs/components/form/Field.js.map +1 -1
- package/lib/commonjs/components/form/Form.js +50 -49
- package/lib/commonjs/components/form/Form.js.map +1 -1
- package/lib/commonjs/components/form/FormFooter.js +15 -14
- package/lib/commonjs/components/form/FormFooter.js.map +1 -1
- package/lib/commonjs/components/form/UploadProgress/index.js +7 -6
- package/lib/commonjs/components/form/UploadProgress/index.js.map +1 -1
- package/lib/commonjs/components/form/input/Editable.js +14 -13
- package/lib/commonjs/components/form/input/Editable.js.map +1 -1
- package/lib/commonjs/components/form/input/InputSlider.js +6 -5
- package/lib/commonjs/components/form/input/InputSlider.js.map +1 -1
- package/lib/commonjs/components/form/input/OptionalTag.js +4 -3
- package/lib/commonjs/components/form/input/OptionalTag.js.map +1 -1
- package/lib/commonjs/components/form/input/StandaloneInput.js +3 -2
- package/lib/commonjs/components/form/input/StandaloneInput.js.map +1 -1
- package/lib/commonjs/components/form/input/boolean/index.js +10 -9
- package/lib/commonjs/components/form/input/boolean/index.js.map +1 -1
- package/lib/commonjs/components/form/input/color/index.js +11 -10
- package/lib/commonjs/components/form/input/color/index.js.map +1 -1
- package/lib/commonjs/components/form/input/common/InputClearButton.js +5 -3
- package/lib/commonjs/components/form/input/common/InputClearButton.js.map +1 -1
- package/lib/commonjs/components/form/input/date/index.js +8 -7
- package/lib/commonjs/components/form/input/date/index.js.map +1 -1
- package/lib/commonjs/components/form/input/datetime/index.js +10 -9
- package/lib/commonjs/components/form/input/datetime/index.js.map +1 -1
- package/lib/commonjs/components/form/input/file/index.js +13 -13
- package/lib/commonjs/components/form/input/file/index.js.map +1 -1
- package/lib/commonjs/components/form/input/input.js +8 -7
- package/lib/commonjs/components/form/input/input.js.map +1 -1
- package/lib/commonjs/components/form/input/multipleSelect/index.js +6 -5
- package/lib/commonjs/components/form/input/multipleSelect/index.js.map +1 -1
- package/lib/commonjs/components/form/input/number/index.js +7 -6
- package/lib/commonjs/components/form/input/number/index.js.map +1 -1
- package/lib/commonjs/components/form/input/select/index.js +17 -16
- package/lib/commonjs/components/form/input/select/index.js.map +1 -1
- package/lib/commonjs/components/form/input/socialMedia/index.js +20 -19
- package/lib/commonjs/components/form/input/socialMedia/index.js.map +1 -1
- package/lib/commonjs/components/form/input/text/index.js +7 -6
- package/lib/commonjs/components/form/input/text/index.js.map +1 -1
- package/lib/commonjs/components/form/input/text/textarea.js +3 -2
- package/lib/commonjs/components/form/input/text/textarea.js.map +1 -1
- package/lib/commonjs/components/form/input/time/index.js +8 -7
- package/lib/commonjs/components/form/input/time/index.js.map +1 -1
- package/lib/commonjs/components/form/view/file.js +7 -6
- package/lib/commonjs/components/form/view/file.js.map +1 -1
- package/lib/commonjs/components/form/view/index.js +9 -8
- package/lib/commonjs/components/form/view/index.js.map +1 -1
- package/lib/commonjs/components/form/view/multipleSelect.js +6 -5
- package/lib/commonjs/components/form/view/multipleSelect.js.map +1 -1
- package/lib/commonjs/components/form/view/select.js +5 -3
- package/lib/commonjs/components/form/view/select.js.map +1 -1
- package/lib/commonjs/components/icons/index.js +8 -6
- package/lib/commonjs/components/icons/index.js.map +1 -1
- package/lib/commonjs/components/loading/CircularProgress.js +5 -4
- package/lib/commonjs/components/loading/CircularProgress.js.map +1 -1
- package/lib/commonjs/components/loading/Loading.js +16 -15
- package/lib/commonjs/components/loading/Loading.js.map +1 -1
- package/lib/commonjs/components/loading/LoadingImage.js +10 -9
- package/lib/commonjs/components/loading/LoadingImage.js.map +1 -1
- package/lib/commonjs/components/loading/LoadingSwitch.js +8 -7
- package/lib/commonjs/components/loading/LoadingSwitch.js.map +1 -1
- package/lib/commonjs/components/overlay/ImageViewOverlay.js +11 -10
- package/lib/commonjs/components/overlay/ImageViewOverlay.js.map +1 -1
- package/lib/commonjs/components/text/AnimatedText.js +3 -2
- package/lib/commonjs/components/text/AnimatedText.js.map +1 -1
- package/lib/commonjs/components/text/Txt.js +3 -1
- package/lib/commonjs/components/text/Txt.js.map +1 -1
- package/lib/commonjs/components/theme/colorMode/DarkModeToggle.js +6 -4
- package/lib/commonjs/components/theme/colorMode/DarkModeToggle.js.map +1 -1
- package/lib/commonjs/contexts/root.js +3 -2
- package/lib/commonjs/contexts/root.js.map +1 -1
- package/lib/module/components/box/Center.js +1 -1
- package/lib/module/components/box/Center.js.map +1 -1
- package/lib/module/components/box/CollapseHorizontal.js +1 -1
- package/lib/module/components/box/CollapseHorizontal.js.map +1 -1
- package/lib/module/components/box/ContentBox.js +1 -1
- package/lib/module/components/box/ContentBox.js.map +1 -1
- package/lib/module/components/box/DropShadow.js +1 -0
- package/lib/module/components/box/DropShadow.js.map +1 -1
- package/lib/module/components/box/ExpandOnMount.js +1 -1
- package/lib/module/components/box/ExpandOnMount.js.map +1 -1
- package/lib/module/components/box/FullSizeContainer.js +1 -1
- package/lib/module/components/box/FullSizeContainer.js.map +1 -1
- package/lib/module/components/button/Toggle.js +1 -1
- package/lib/module/components/button/Toggle.js.map +1 -1
- package/lib/module/components/feed/FeedContentPane.js +1 -1
- package/lib/module/components/feed/FeedContentPane.js.map +1 -1
- package/lib/module/components/feed/MediaFeedRefresh.js +1 -1
- package/lib/module/components/feed/MediaFeedRefresh.js.map +1 -1
- package/lib/module/components/feed/context.js +1 -1
- package/lib/module/components/feed/context.js.map +1 -1
- package/lib/module/components/form/Condition.js +1 -1
- package/lib/module/components/form/Condition.js.map +1 -1
- package/lib/module/components/form/Field.js +1 -1
- package/lib/module/components/form/Field.js.map +1 -1
- package/lib/module/components/form/Form.js +1 -1
- package/lib/module/components/form/Form.js.map +1 -1
- package/lib/module/components/form/FormFooter.js +1 -1
- package/lib/module/components/form/FormFooter.js.map +1 -1
- package/lib/module/components/form/UploadProgress/index.js +1 -1
- package/lib/module/components/form/UploadProgress/index.js.map +1 -1
- package/lib/module/components/form/input/Editable.js +1 -1
- package/lib/module/components/form/input/Editable.js.map +1 -1
- package/lib/module/components/form/input/InputSlider.js +1 -0
- package/lib/module/components/form/input/InputSlider.js.map +1 -1
- package/lib/module/components/form/input/OptionalTag.js +1 -1
- package/lib/module/components/form/input/OptionalTag.js.map +1 -1
- package/lib/module/components/form/input/StandaloneInput.js +1 -1
- package/lib/module/components/form/input/StandaloneInput.js.map +1 -1
- package/lib/module/components/form/input/boolean/index.js +1 -1
- package/lib/module/components/form/input/boolean/index.js.map +1 -1
- package/lib/module/components/form/input/color/index.js +1 -1
- package/lib/module/components/form/input/color/index.js.map +1 -1
- package/lib/module/components/form/input/common/InputClearButton.js +1 -0
- package/lib/module/components/form/input/common/InputClearButton.js.map +1 -1
- package/lib/module/components/form/input/date/index.js +1 -1
- package/lib/module/components/form/input/date/index.js.map +1 -1
- package/lib/module/components/form/input/datetime/index.js +1 -1
- package/lib/module/components/form/input/datetime/index.js.map +1 -1
- package/lib/module/components/form/input/file/index.js +1 -1
- package/lib/module/components/form/input/file/index.js.map +1 -1
- package/lib/module/components/form/input/input.js +1 -1
- package/lib/module/components/form/input/input.js.map +1 -1
- package/lib/module/components/form/input/multipleSelect/index.js +1 -1
- package/lib/module/components/form/input/multipleSelect/index.js.map +1 -1
- package/lib/module/components/form/input/number/index.js +1 -1
- package/lib/module/components/form/input/number/index.js.map +1 -1
- package/lib/module/components/form/input/select/index.js +1 -1
- package/lib/module/components/form/input/select/index.js.map +1 -1
- package/lib/module/components/form/input/socialMedia/index.js +1 -1
- package/lib/module/components/form/input/socialMedia/index.js.map +1 -1
- package/lib/module/components/form/input/text/index.js +1 -1
- package/lib/module/components/form/input/text/index.js.map +1 -1
- package/lib/module/components/form/input/text/textarea.js +1 -1
- package/lib/module/components/form/input/text/textarea.js.map +1 -1
- package/lib/module/components/form/input/time/index.js +1 -1
- package/lib/module/components/form/input/time/index.js.map +1 -1
- package/lib/module/components/form/view/file.js +1 -1
- package/lib/module/components/form/view/file.js.map +1 -1
- package/lib/module/components/form/view/index.js +1 -1
- package/lib/module/components/form/view/index.js.map +1 -1
- package/lib/module/components/form/view/multipleSelect.js +1 -1
- package/lib/module/components/form/view/multipleSelect.js.map +1 -1
- package/lib/module/components/form/view/select.js +1 -0
- package/lib/module/components/form/view/select.js.map +1 -1
- package/lib/module/components/icons/index.js +1 -0
- package/lib/module/components/icons/index.js.map +1 -1
- package/lib/module/components/loading/CircularProgress.js +1 -1
- package/lib/module/components/loading/CircularProgress.js.map +1 -1
- package/lib/module/components/loading/Loading.js +1 -1
- package/lib/module/components/loading/Loading.js.map +1 -1
- package/lib/module/components/loading/LoadingImage.js +1 -1
- package/lib/module/components/loading/LoadingImage.js.map +1 -1
- package/lib/module/components/loading/LoadingSwitch.js +1 -1
- package/lib/module/components/loading/LoadingSwitch.js.map +1 -1
- package/lib/module/components/overlay/ImageViewOverlay.js +1 -1
- package/lib/module/components/overlay/ImageViewOverlay.js.map +1 -1
- package/lib/module/components/text/AnimatedText.js +1 -1
- package/lib/module/components/text/AnimatedText.js.map +1 -1
- package/lib/module/components/text/Txt.js +1 -0
- package/lib/module/components/text/Txt.js.map +1 -1
- package/lib/module/components/theme/colorMode/DarkModeToggle.js +1 -0
- package/lib/module/components/theme/colorMode/DarkModeToggle.js.map +1 -1
- package/lib/module/contexts/root.js +1 -1
- package/lib/module/contexts/root.js.map +1 -1
- package/lib/typescript/components/box/Center.d.ts +6 -0
- package/lib/typescript/components/box/Center.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/box/CollapseHorizontal.d.ts +2 -1
- package/lib/typescript/components/box/CollapseHorizontal.d.ts.map +1 -0
- package/lib/typescript/components/box/ContentBox.d.ts +4 -0
- package/lib/typescript/components/box/ContentBox.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/box/DropShadow.d.ts +2 -2
- package/lib/typescript/components/box/DropShadow.d.ts.map +1 -0
- package/lib/typescript/components/box/ExpandOnMount.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/box/Expandable.d.ts +2 -2
- package/lib/typescript/components/box/Expandable.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/box/FullSizeContainer.d.ts +3 -3
- package/lib/typescript/components/box/FullSizeContainer.d.ts.map +1 -0
- package/lib/typescript/components/box/index.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/button/DeleteButton.d.ts +1 -1
- package/lib/typescript/components/button/DeleteButton.d.ts.map +1 -0
- package/lib/typescript/components/button/LoadingButton.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/button/Toggle.d.ts +1 -1
- package/lib/typescript/components/button/Toggle.d.ts.map +1 -0
- package/lib/typescript/components/button/index.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/feed/FeedContentPane.d.ts +1 -1
- package/lib/typescript/components/feed/FeedContentPane.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/feed/MediaFeed.d.ts +2 -2
- package/lib/typescript/components/feed/MediaFeed.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/feed/MediaFeedBackground.d.ts +2 -1
- package/lib/typescript/components/feed/MediaFeedBackground.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/feed/MediaFeedRefresh.d.ts +2 -1
- package/lib/typescript/components/feed/MediaFeedRefresh.d.ts.map +1 -0
- package/lib/typescript/components/feed/constants.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/feed/context.d.ts +3 -3
- package/lib/typescript/components/feed/context.d.ts.map +1 -0
- package/lib/typescript/components/feed/hooks.d.ts.map +1 -0
- package/lib/typescript/components/feed/index.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/Condition.d.ts +2 -2
- package/lib/typescript/components/form/Condition.d.ts.map +1 -0
- package/lib/typescript/components/form/Field.d.ts +9 -0
- package/lib/typescript/components/form/Field.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/Form.d.ts +6 -6
- package/lib/typescript/components/form/Form.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/FormFooter.d.ts +2 -2
- package/lib/typescript/components/form/FormFooter.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/UploadProgress/index.d.ts +2 -1
- package/lib/typescript/components/form/UploadProgress/index.d.ts.map +1 -0
- package/lib/typescript/components/form/index.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/input/Editable.d.ts +2 -1
- package/lib/typescript/components/form/input/Editable.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/input/InputSlider.d.ts +2 -1
- package/lib/typescript/components/form/input/InputSlider.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/input/OptionalTag.d.ts +2 -1
- package/lib/typescript/components/form/input/OptionalTag.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/input/StandaloneInput.d.ts +2 -1
- package/lib/typescript/components/form/input/StandaloneInput.d.ts.map +1 -0
- package/lib/typescript/components/form/input/boolean/index.d.ts +6 -0
- package/lib/typescript/components/form/input/boolean/index.d.ts.map +1 -0
- package/lib/typescript/components/form/input/color/index.d.ts +6 -0
- package/lib/typescript/components/form/input/color/index.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/input/common/InputClearButton.d.ts +3 -2
- package/lib/typescript/components/form/input/common/InputClearButton.d.ts.map +1 -0
- package/lib/typescript/components/form/input/date/index.d.ts +6 -0
- package/lib/typescript/components/form/input/date/index.d.ts.map +1 -0
- package/lib/typescript/components/form/input/datetime/index.d.ts +6 -0
- package/lib/typescript/components/form/input/datetime/index.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/input/file/index.d.ts +3 -2
- package/lib/typescript/components/form/input/file/index.d.ts.map +1 -0
- package/lib/typescript/components/form/input/hooks/index.d.ts.map +1 -0
- package/lib/typescript/components/form/input/hooks/useInputColor.d.ts.map +1 -0
- package/lib/typescript/components/form/input/hooks/useInputImperativeHandle.d.ts.map +1 -0
- package/lib/typescript/components/form/input/hooks/useInputStyle.d.ts.map +1 -0
- package/lib/typescript/components/form/input/index.d.ts.map +1 -0
- package/lib/typescript/components/form/input/input.d.ts +6 -0
- package/lib/typescript/components/form/input/input.d.ts.map +1 -0
- package/lib/typescript/components/form/input/multipleSelect/index.d.ts +6 -0
- package/lib/typescript/components/form/input/multipleSelect/index.d.ts.map +1 -0
- package/lib/typescript/components/form/input/number/index.d.ts +9 -0
- package/lib/typescript/components/form/input/number/index.d.ts.map +1 -0
- package/lib/typescript/components/form/input/select/index.d.ts +6 -0
- package/lib/typescript/components/form/input/select/index.d.ts.map +1 -0
- package/lib/typescript/components/form/input/socialMedia/index.d.ts +6 -0
- package/lib/typescript/components/form/input/socialMedia/index.d.ts.map +1 -0
- package/lib/typescript/components/form/input/text/index.d.ts +6 -0
- package/lib/typescript/components/form/input/text/index.d.ts.map +1 -0
- package/lib/typescript/components/form/input/text/textarea.d.ts +6 -0
- package/lib/typescript/components/form/input/text/textarea.d.ts.map +1 -0
- package/lib/typescript/components/form/input/time/index.d.ts +6 -0
- package/lib/typescript/components/form/input/time/index.d.ts.map +1 -0
- package/lib/typescript/components/form/types.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/view/file.d.ts +2 -1
- package/lib/typescript/components/form/view/file.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/view/index.d.ts +2 -1
- package/lib/typescript/components/form/view/index.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/view/multipleSelect.d.ts +1 -1
- package/lib/typescript/components/form/view/multipleSelect.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/form/view/select.d.ts +2 -1
- package/lib/typescript/components/form/view/select.d.ts.map +1 -0
- package/lib/typescript/components/icons/index.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/loading/CircularProgress.d.ts +2 -1
- package/lib/typescript/components/loading/CircularProgress.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/loading/Loading.d.ts +5 -4
- package/lib/typescript/components/loading/Loading.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/loading/LoadingImage.d.ts +2 -1
- package/lib/typescript/components/loading/LoadingImage.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/loading/LoadingSwitch.d.ts +2 -1
- package/lib/typescript/components/loading/LoadingSwitch.d.ts.map +1 -0
- package/lib/typescript/components/loading/index.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/overlay/ImageViewOverlay.d.ts +2 -1
- package/lib/typescript/components/overlay/ImageViewOverlay.d.ts.map +1 -0
- package/lib/typescript/components/overlay/index.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/text/AnimatedText.d.ts +2 -2
- package/lib/typescript/components/text/AnimatedText.d.ts.map +1 -0
- package/lib/typescript/{src/components → components}/text/Txt.d.ts +2 -1
- package/lib/typescript/components/text/Txt.d.ts.map +1 -0
- package/lib/typescript/components/text/index.d.ts.map +1 -0
- package/lib/typescript/components/theme/colorMode/DarkModeToggle.d.ts +4 -0
- package/lib/typescript/components/theme/colorMode/DarkModeToggle.d.ts.map +1 -0
- package/lib/typescript/components/theme/colorMode/index.d.ts.map +1 -0
- package/lib/typescript/components/theme/index.d.ts.map +1 -0
- package/lib/typescript/constants/index.d.ts.map +1 -0
- package/lib/typescript/constants/toast.d.ts.map +1 -0
- package/lib/typescript/contexts/index.d.ts.map +1 -0
- package/lib/typescript/{src/contexts → contexts}/root.d.ts +2 -2
- package/lib/typescript/contexts/root.d.ts.map +1 -0
- package/lib/typescript/hooks/index.d.ts.map +1 -0
- package/lib/typescript/hooks/useThemeState.d.ts.map +1 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/store/index.d.ts.map +1 -0
- package/lib/typescript/store/useScreen.d.ts.map +1 -0
- package/lib/typescript/{src/styles → styles}/fill.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/components/box/Center.tsx +1 -1
- package/src/components/box/CollapseHorizontal.tsx +1 -1
- package/src/components/box/ContentBox.tsx +1 -1
- package/src/components/box/DropShadow.tsx +1 -1
- package/src/components/box/ExpandOnMount.tsx +1 -1
- package/src/components/box/FullSizeContainer.tsx +1 -1
- package/src/components/button/Toggle.tsx +1 -1
- package/src/components/feed/FeedContentPane.tsx +1 -1
- package/src/components/feed/MediaFeedRefresh.tsx +1 -1
- package/src/components/feed/context.tsx +1 -1
- package/src/components/form/Condition.tsx +1 -1
- package/src/components/form/Field.tsx +1 -1
- package/src/components/form/Form.tsx +1 -1
- package/src/components/form/FormFooter.tsx +1 -1
- package/src/components/form/UploadProgress/index.tsx +1 -1
- package/src/components/form/input/Editable.tsx +1 -1
- package/src/components/form/input/InputSlider.tsx +1 -0
- package/src/components/form/input/OptionalTag.tsx +1 -1
- package/src/components/form/input/StandaloneInput.tsx +1 -1
- package/src/components/form/input/boolean/index.tsx +1 -1
- package/src/components/form/input/color/index.tsx +1 -1
- package/src/components/form/input/common/InputClearButton.tsx +1 -0
- package/src/components/form/input/date/index.tsx +1 -1
- package/src/components/form/input/datetime/index.tsx +1 -1
- package/src/components/form/input/file/index.tsx +1 -1
- package/src/components/form/input/input.tsx +7 -1
- package/src/components/form/input/multipleSelect/index.tsx +1 -1
- package/src/components/form/input/number/index.tsx +1 -1
- package/src/components/form/input/select/index.tsx +8 -1
- package/src/components/form/input/socialMedia/index.tsx +1 -1
- package/src/components/form/input/text/index.tsx +1 -1
- package/src/components/form/input/text/textarea.tsx +1 -1
- package/src/components/form/input/time/index.tsx +1 -1
- package/src/components/form/view/file.tsx +1 -1
- package/src/components/form/view/index.tsx +1 -1
- package/src/components/form/view/multipleSelect.tsx +1 -1
- package/src/components/form/view/select.tsx +1 -0
- package/src/components/icons/index.tsx +1 -1
- package/src/components/loading/CircularProgress.tsx +1 -1
- package/src/components/loading/Loading.tsx +1 -1
- package/src/components/loading/LoadingImage.tsx +1 -1
- package/src/components/loading/LoadingSwitch.tsx +1 -1
- package/src/components/overlay/ImageViewOverlay.tsx +1 -1
- package/src/components/text/AnimatedText.tsx +1 -1
- package/src/components/text/Txt.tsx +1 -0
- package/src/components/theme/colorMode/DarkModeToggle.tsx +1 -0
- package/src/contexts/root.tsx +1 -1
- package/lib/typescript/src/components/box/Center.d.ts +0 -5
- package/lib/typescript/src/components/box/Center.d.ts.map +0 -1
- package/lib/typescript/src/components/box/CollapseHorizontal.d.ts.map +0 -1
- package/lib/typescript/src/components/box/ContentBox.d.ts +0 -3
- package/lib/typescript/src/components/box/ContentBox.d.ts.map +0 -1
- package/lib/typescript/src/components/box/DropShadow.d.ts.map +0 -1
- package/lib/typescript/src/components/box/ExpandOnMount.d.ts.map +0 -1
- package/lib/typescript/src/components/box/Expandable.d.ts.map +0 -1
- package/lib/typescript/src/components/box/FullSizeContainer.d.ts.map +0 -1
- package/lib/typescript/src/components/box/index.d.ts.map +0 -1
- package/lib/typescript/src/components/button/DeleteButton.d.ts.map +0 -1
- package/lib/typescript/src/components/button/LoadingButton.d.ts.map +0 -1
- package/lib/typescript/src/components/button/Toggle.d.ts.map +0 -1
- package/lib/typescript/src/components/button/index.d.ts.map +0 -1
- package/lib/typescript/src/components/feed/FeedContentPane.d.ts.map +0 -1
- package/lib/typescript/src/components/feed/MediaFeed.d.ts.map +0 -1
- package/lib/typescript/src/components/feed/MediaFeedBackground.d.ts.map +0 -1
- package/lib/typescript/src/components/feed/MediaFeedRefresh.d.ts.map +0 -1
- package/lib/typescript/src/components/feed/constants.d.ts.map +0 -1
- package/lib/typescript/src/components/feed/context.d.ts.map +0 -1
- package/lib/typescript/src/components/feed/hooks.d.ts.map +0 -1
- package/lib/typescript/src/components/feed/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/Condition.d.ts.map +0 -1
- package/lib/typescript/src/components/form/Field.d.ts +0 -8
- package/lib/typescript/src/components/form/Field.d.ts.map +0 -1
- package/lib/typescript/src/components/form/Form.d.ts.map +0 -1
- package/lib/typescript/src/components/form/FormFooter.d.ts.map +0 -1
- package/lib/typescript/src/components/form/UploadProgress/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/Editable.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/InputSlider.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/OptionalTag.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/StandaloneInput.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/boolean/index.d.ts +0 -5
- package/lib/typescript/src/components/form/input/boolean/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/color/index.d.ts +0 -5
- package/lib/typescript/src/components/form/input/color/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/common/InputClearButton.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/date/index.d.ts +0 -5
- package/lib/typescript/src/components/form/input/date/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/datetime/index.d.ts +0 -5
- package/lib/typescript/src/components/form/input/datetime/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/file/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/hooks/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/hooks/useInputColor.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/hooks/useInputImperativeHandle.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/hooks/useInputStyle.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/input.d.ts +0 -6
- package/lib/typescript/src/components/form/input/input.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/multipleSelect/index.d.ts +0 -5
- package/lib/typescript/src/components/form/input/multipleSelect/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/number/index.d.ts +0 -8
- package/lib/typescript/src/components/form/input/number/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/select/index.d.ts +0 -5
- package/lib/typescript/src/components/form/input/select/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/socialMedia/index.d.ts +0 -5
- package/lib/typescript/src/components/form/input/socialMedia/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/text/index.d.ts +0 -5
- package/lib/typescript/src/components/form/input/text/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/text/textarea.d.ts +0 -5
- package/lib/typescript/src/components/form/input/text/textarea.d.ts.map +0 -1
- package/lib/typescript/src/components/form/input/time/index.d.ts +0 -5
- package/lib/typescript/src/components/form/input/time/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/types.d.ts.map +0 -1
- package/lib/typescript/src/components/form/view/file.d.ts.map +0 -1
- package/lib/typescript/src/components/form/view/index.d.ts.map +0 -1
- package/lib/typescript/src/components/form/view/multipleSelect.d.ts.map +0 -1
- package/lib/typescript/src/components/form/view/select.d.ts.map +0 -1
- package/lib/typescript/src/components/icons/index.d.ts.map +0 -1
- package/lib/typescript/src/components/index.d.ts.map +0 -1
- package/lib/typescript/src/components/loading/CircularProgress.d.ts.map +0 -1
- package/lib/typescript/src/components/loading/Loading.d.ts.map +0 -1
- package/lib/typescript/src/components/loading/LoadingImage.d.ts.map +0 -1
- package/lib/typescript/src/components/loading/LoadingSwitch.d.ts.map +0 -1
- package/lib/typescript/src/components/loading/index.d.ts.map +0 -1
- package/lib/typescript/src/components/overlay/ImageViewOverlay.d.ts.map +0 -1
- package/lib/typescript/src/components/overlay/index.d.ts.map +0 -1
- package/lib/typescript/src/components/text/AnimatedText.d.ts.map +0 -1
- package/lib/typescript/src/components/text/Txt.d.ts.map +0 -1
- package/lib/typescript/src/components/text/index.d.ts.map +0 -1
- package/lib/typescript/src/components/theme/colorMode/DarkModeToggle.d.ts +0 -3
- package/lib/typescript/src/components/theme/colorMode/DarkModeToggle.d.ts.map +0 -1
- package/lib/typescript/src/components/theme/colorMode/index.d.ts.map +0 -1
- package/lib/typescript/src/components/theme/index.d.ts.map +0 -1
- package/lib/typescript/src/constants/index.d.ts.map +0 -1
- package/lib/typescript/src/constants/toast.d.ts.map +0 -1
- package/lib/typescript/src/contexts/index.d.ts.map +0 -1
- package/lib/typescript/src/contexts/root.d.ts.map +0 -1
- package/lib/typescript/src/hooks/index.d.ts.map +0 -1
- package/lib/typescript/src/hooks/useThemeState.d.ts.map +0 -1
- package/lib/typescript/src/index.d.ts.map +0 -1
- package/lib/typescript/src/store/index.d.ts.map +0 -1
- package/lib/typescript/src/store/useScreen.d.ts.map +0 -1
- package/lib/typescript/tsup.config.d.ts +0 -3
- package/lib/typescript/tsup.config.d.ts.map +0 -1
- /package/lib/typescript/{src/components → components}/box/ExpandOnMount.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/box/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/button/LoadingButton.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/button/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/feed/constants.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/feed/hooks.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/feed/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/form/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/form/input/hooks/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/form/input/hooks/useInputColor.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/form/input/hooks/useInputImperativeHandle.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/form/input/hooks/useInputStyle.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/form/input/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/form/types.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/icons/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/loading/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/overlay/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/text/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/theme/colorMode/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/theme/index.d.ts +0 -0
- /package/lib/typescript/{src/constants → constants}/index.d.ts +0 -0
- /package/lib/typescript/{src/constants → constants}/toast.d.ts +0 -0
- /package/lib/typescript/{src/contexts → contexts}/index.d.ts +0 -0
- /package/lib/typescript/{src/hooks → hooks}/index.d.ts +0 -0
- /package/lib/typescript/{src/hooks → hooks}/useThemeState.d.ts +0 -0
- /package/lib/typescript/{src/index.d.ts → index.d.ts} +0 -0
- /package/lib/typescript/{src/store → store}/index.d.ts +0 -0
- /package/lib/typescript/{src/store → store}/useScreen.d.ts +0 -0
- /package/lib/typescript/{src/styles → styles}/fill.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_core","require","_react","_vectorIcons","_react2","_reactNative","_reactNativePaper","_reactNativePaperDates","_InputClearButton","_useInputColor","DateTimeInput","exports","forwardRef","input","value","onBlur","onChange","onFocus","field","meta","active","ref","placeholder","optional","showDatePicker","setShowDatePicker","useState","showTimePicker","setShowTimePicker","selectedDate","useMemo","Date","useImperativeHandle","focus","blur","handleDateChange","useCallback","date","newDate","toISOString","handleTimeChange","hours","minutes","setHours","setMinutes","handleDismiss","undefined","formattedValue","getDateTimeString","hourMinute","getHours","getMinutes","iconColor","useIconColor","inputColor","useInputColor","
|
|
1
|
+
{"version":3,"names":["_core","require","_react","_vectorIcons","_react2","_interopRequireWildcard","_reactNative","_reactNativePaper","_reactNativePaperDates","_InputClearButton","_useInputColor","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","DateTimeInput","exports","forwardRef","input","value","onBlur","onChange","onFocus","field","meta","active","ref","placeholder","optional","showDatePicker","setShowDatePicker","useState","showTimePicker","setShowTimePicker","selectedDate","useMemo","Date","useImperativeHandle","focus","blur","handleDateChange","useCallback","date","newDate","toISOString","handleTimeChange","hours","minutes","setHours","setMinutes","handleDismiss","undefined","formattedValue","getDateTimeString","hourMinute","getHours","getMinutes","iconColor","useIconColor","inputColor","useInputColor","createElement","View","style","styles","container","TouchableOpacity","button","onPress","Text","text","color","Ionicons","name","size","icon","DateInputClearButton","isActive","Portal","DatePickerModal","locale","label","mode","onConfirm","d","_d$date","split","onDismiss","visible","TimePickerModal","displayName","StyleSheet","create","width","flexDirection","alignItems","justifyContent","height","paddingHorizontal","paddingVertical","fontSize","flex","marginRight"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["components/form/input/datetime/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAC,uBAAA,CAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,iBAAA,GAAAN,OAAA;AACA,IAAAO,sBAAA,GAAAP,OAAA;AAEA,IAAAQ,iBAAA,GAAAR,OAAA;AACA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R,CAAC;EACD1B,IAAI,EAAE;IACJ2B,WAAW,EAAE;EACf;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -8,7 +8,7 @@ var _react = require("@chem-po/react");
|
|
|
8
8
|
var _vectorIcons = require("@expo/vector-icons");
|
|
9
9
|
var DocumentPicker = _interopRequireWildcard(require("expo-document-picker"));
|
|
10
10
|
var ImagePicker = _interopRequireWildcard(require("expo-image-picker"));
|
|
11
|
-
var _react2 = require("react");
|
|
11
|
+
var _react2 = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _reactNative = require("react-native");
|
|
13
13
|
var _LoadingImage = require("../../../loading/LoadingImage");
|
|
14
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
@@ -30,15 +30,15 @@ const NoFileView = ({
|
|
|
30
30
|
const textColor = (0, _react.useTextColor)();
|
|
31
31
|
const iconColor = (0, _react.useIconColor)();
|
|
32
32
|
const borderColor = (0, _react.useBorderColor)();
|
|
33
|
-
return /*#__PURE__*/
|
|
33
|
+
return /*#__PURE__*/_react2.default.createElement(_reactNative.View, {
|
|
34
34
|
style: [styles.noFileContainer, {
|
|
35
35
|
borderColor
|
|
36
36
|
}]
|
|
37
|
-
}, /*#__PURE__*/
|
|
37
|
+
}, /*#__PURE__*/_react2.default.createElement(_reactNative.Text, {
|
|
38
38
|
style: [styles.noFileText, {
|
|
39
39
|
color: textColor
|
|
40
40
|
}]
|
|
41
|
-
}, hasUpload ? 'Tap to upload file' : 'No file uploaded'), /*#__PURE__*/
|
|
41
|
+
}, hasUpload ? 'Tap to upload file' : 'No file uploaded'), /*#__PURE__*/_react2.default.createElement(_vectorIcons.Ionicons, {
|
|
42
42
|
name: "cloud-upload",
|
|
43
43
|
size: 24,
|
|
44
44
|
color: iconColor
|
|
@@ -59,27 +59,27 @@ const FileView = ({
|
|
|
59
59
|
const fileNameColor = (0, _react.useTextColor)();
|
|
60
60
|
const borderColor = (0, _react.useBorderColor)();
|
|
61
61
|
if (!value || missingFile) {
|
|
62
|
-
return /*#__PURE__*/
|
|
62
|
+
return /*#__PURE__*/_react2.default.createElement(NoFileView, {
|
|
63
63
|
hasUpload: hasUpload
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
if ((_value$type = value.type) !== null && _value$type !== void 0 && _value$type.startsWith('image/')) {
|
|
67
|
-
return /*#__PURE__*/
|
|
67
|
+
return /*#__PURE__*/_react2.default.createElement(_LoadingImage.LoadingImage, {
|
|
68
68
|
src: dataUrl,
|
|
69
69
|
width: (imageOptions === null || imageOptions === void 0 ? void 0 : imageOptions.width) ?? 120,
|
|
70
70
|
height: (imageOptions === null || imageOptions === void 0 ? void 0 : imageOptions.height) ?? 120,
|
|
71
71
|
style: styles.image
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
return /*#__PURE__*/
|
|
74
|
+
return /*#__PURE__*/_react2.default.createElement(_reactNative.View, {
|
|
75
75
|
style: [styles.fileContainer, {
|
|
76
76
|
borderColor
|
|
77
77
|
}]
|
|
78
|
-
}, /*#__PURE__*/
|
|
78
|
+
}, /*#__PURE__*/_react2.default.createElement(_vectorIcons.Ionicons, {
|
|
79
79
|
name: "document",
|
|
80
80
|
size: 24,
|
|
81
81
|
color: iconColor
|
|
82
|
-
}), /*#__PURE__*/
|
|
82
|
+
}), /*#__PURE__*/_react2.default.createElement(_reactNative.Text, {
|
|
83
83
|
style: [styles.filename, {
|
|
84
84
|
color: fileNameColor
|
|
85
85
|
}]
|
|
@@ -157,19 +157,19 @@ const FileComponent = exports.FileComponent = /*#__PURE__*/(0, _react2.forwardRe
|
|
|
157
157
|
}, [imageOptions, isImageField, value]);
|
|
158
158
|
const placeholderColor = (0, _react.usePlaceholderColor)();
|
|
159
159
|
const borderColor = (0, _react.useBorderColor)();
|
|
160
|
-
return /*#__PURE__*/
|
|
160
|
+
return /*#__PURE__*/_react2.default.createElement(_reactNative.View, {
|
|
161
161
|
style: [styles.container, {
|
|
162
162
|
borderColor
|
|
163
163
|
}]
|
|
164
|
-
}, /*#__PURE__*/
|
|
164
|
+
}, /*#__PURE__*/_react2.default.createElement(_reactNative.Text, {
|
|
165
165
|
style: [styles.placeholder, {
|
|
166
166
|
color: placeholderColor
|
|
167
167
|
}]
|
|
168
|
-
}, field.placeholder), /*#__PURE__*/
|
|
168
|
+
}, field.placeholder), /*#__PURE__*/_react2.default.createElement(_reactNative.TouchableOpacity, {
|
|
169
169
|
style: styles.contentContainer,
|
|
170
170
|
onPress: () => void handlePickFile(),
|
|
171
171
|
disabled: loading
|
|
172
|
-
}, /*#__PURE__*/
|
|
172
|
+
}, /*#__PURE__*/_react2.default.createElement(FileView, {
|
|
173
173
|
hasUpload: true,
|
|
174
174
|
imageOptions: imgOptions,
|
|
175
175
|
value: value
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_vectorIcons","DocumentPicker","_interopRequireWildcard","ImagePicker","_react2","_reactNative","_LoadingImage","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","generateAccept","field","accept","undefined","includes","push","join","NoFileView","hasUpload","textColor","useTextColor","iconColor","useIconColor","borderColor","useBorderColor","
|
|
1
|
+
{"version":3,"names":["_react","require","_vectorIcons","DocumentPicker","_interopRequireWildcard","ImagePicker","_react2","_reactNative","_LoadingImage","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","generateAccept","field","accept","undefined","includes","push","join","NoFileView","hasUpload","textColor","useTextColor","iconColor","useIconColor","borderColor","useBorderColor","createElement","View","style","styles","noFileContainer","Text","noFileText","color","Ionicons","name","size","FileView","value","imageOptions","_value$type","storagePath","dataUrl","missingFile","fileNameColor","type","startsWith","LoadingImage","src","width","height","image","fileContainer","filename","exports","FileComponent","forwardRef","input","onChange","ref","loading","setLoading","useState","handlePickFile","useCallback","_field$accept","result","launchImageLibraryAsync","mediaTypes","allowsEditing","quality","base64","canceled","assets","asset","fileExtension","uri","split","pop","fileName","getDocumentAsync","mimeType","error","Error","console","message","useImperativeHandle","focus","blur","isImageField","useMemo","length","imgOptions","_value$type2","placeholderColor","usePlaceholderColor","container","placeholder","TouchableOpacity","contentContainer","onPress","disabled","displayName","StyleSheet","create","alignItems","justifyContent","fontSize","opacity","marginBottom","position","padding","overflow","flexDirection","borderWidth","borderRadius","borderStyle","textAlign","marginRight","marginLeft"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["components/form/input/file/index.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAOA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAC,uBAAA,CAAAH,OAAA;AACA,IAAAI,WAAA,GAAAD,uBAAA,CAAAH,OAAA;AACA,IAAAK,OAAA,GAAAF,uBAAA,CAAAH,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AACA,IAAAO,aAAA,GAAAP,OAAA;AAA4D,SAAAG,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAA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EAAE;IACXU,QAAQ,EAAE,EAAE;IACZC,OAAO,EAAE,GAAG;IACZC,YAAY,EAAE;EAChB,CAAC;EACDV,gBAAgB,EAAE;IAChBlD,KAAK,EAAE,MAAM;IACb6D,QAAQ,EAAE,UAAU;IACpBL,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBK,OAAO,EAAE,CAAC;IACVC,QAAQ,EAAE;EACZ,CAAC;EACDlF,eAAe,EAAE;IACfmF,aAAa,EAAE,KAAK;IACpBR,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBK,OAAO,EAAE,EAAE;IACXG,WAAW,EAAE,CAAC;IACdC,YAAY,EAAE,CAAC;IACfC,WAAW,EAAE;EACf,CAAC;EACDpF,UAAU,EAAE;IACV2E,QAAQ,EAAE,EAAE;IACZU,SAAS,EAAE,QAAQ;IACnBT,OAAO,EAAE,GAAG;IACZU,WAAW,EAAE;EACf,CAAC;EACDlE,aAAa,EAAE;IACb6D,aAAa,EAAE,KAAK;IACpBR,UAAU,EAAE,QAAQ;IACpBM,OAAO,EAAE,CAAC;IACVG,WAAW,EAAE,CAAC;IACdC,YAAY,EAAE;EAChB,CAAC;EACD9D,QAAQ,EAAE;IACRsD,QAAQ,EAAE,EAAE;IACZY,UAAU,EAAE;EACd,CAAC;EACDpE,KAAK,EAAE;IACLgE,YAAY,EAAE,CAAC;IACfH,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Input = void 0;
|
|
7
7
|
var _react = require("@chem-po/react");
|
|
8
|
-
var _react2 = require("react");
|
|
8
|
+
var _react2 = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
10
|
var _AnimatedText = require("../../text/AnimatedText");
|
|
11
11
|
var _boolean = require("./boolean");
|
|
@@ -19,6 +19,7 @@ var _select = require("./select");
|
|
|
19
19
|
var _socialMedia = require("./socialMedia");
|
|
20
20
|
var _text = require("./text");
|
|
21
21
|
var _time = require("./time");
|
|
22
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
22
23
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
23
24
|
const Components = {
|
|
24
25
|
text: _text.TextComponent,
|
|
@@ -103,21 +104,21 @@ const InputBase = (props, ref) => {
|
|
|
103
104
|
}
|
|
104
105
|
}, [_type, animatedShadowColor, inEditable, bg]);
|
|
105
106
|
const Component = (0, _react2.useMemo)(() => Components[_type], [_type]);
|
|
106
|
-
return /*#__PURE__*/
|
|
107
|
+
return /*#__PURE__*/_react2.default.createElement(_reactNative.View, {
|
|
107
108
|
style: [staticStyles.container]
|
|
108
|
-
}, label && !inEditable ? /*#__PURE__*/
|
|
109
|
+
}, label && !inEditable ? /*#__PURE__*/_react2.default.createElement(_reactNative.Text, {
|
|
109
110
|
style: staticStyles.label
|
|
110
|
-
}, label) : null, /*#__PURE__*/
|
|
111
|
+
}, label) : null, /*#__PURE__*/_react2.default.createElement(_AnimatedText.AnimatedText, {
|
|
111
112
|
style: staticStyles.placeholder,
|
|
112
113
|
show: showPlaceholder,
|
|
113
114
|
color: placeholderColor,
|
|
114
115
|
height: 16,
|
|
115
116
|
marginBottom: 6
|
|
116
|
-
}, field.placeholder ?? ''), /*#__PURE__*/
|
|
117
|
+
}, field.placeholder ?? ''), /*#__PURE__*/_react2.default.createElement(_reactNative.Animated.View, {
|
|
117
118
|
style: [staticStyles.inputContainer, animatedStyles]
|
|
118
|
-
}, /*#__PURE__*/
|
|
119
|
+
}, /*#__PURE__*/_react2.default.createElement(Component, _extends({
|
|
119
120
|
ref: ref
|
|
120
|
-
}, props))), !inEditable && /*#__PURE__*/
|
|
121
|
+
}, props))), !inEditable && /*#__PURE__*/_react2.default.createElement(_AnimatedText.AnimatedText, {
|
|
121
122
|
style: staticStyles.errorText,
|
|
122
123
|
show: !!displayedError,
|
|
123
124
|
color: errorColor,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_react2","_reactNative","_AnimatedText","_boolean","_color","_date","_datetime","_file","_multipleSelect","_number","_select","_socialMedia","_text","_time","
|
|
1
|
+
{"version":3,"names":["_react","require","_react2","_interopRequireWildcard","_reactNative","_AnimatedText","_boolean","_color","_date","_datetime","_file","_multipleSelect","_number","_select","_socialMedia","_text","_time","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_extends","assign","bind","arguments","length","apply","Components","text","TextComponent","file","FileComponent","boolean","BooleanComponent","select","SelectComponent","multipleSelect","MultipleSelectComponent","currency","CurrencyAmountComponent","number","NumberComponent","date","DateInput","datetime","DateTimeInput","time","TimeInput","socialMedia","SocialMediaComponent","color","ColorComponent","InputBase","props","ref","field","meta","error","active","touched","input","inEditable","value","placeholderColor","usePlaceholderColor","activeColor","useThemeValue","errorColor","shadowColorAnim","useMemo","Animated","Value","displayedError","shadowColor","useEffect","timing","toValue","duration","useNativeDriver","start","animatedShadowColor","interpolate","inputRange","outputRange","_type","label","showPlaceholder","bg","useBackgroundColor","animatedStyles","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","backgroundColor","Component","createElement","View","style","staticStyles","container","Text","AnimatedText","placeholder","show","marginBottom","inputContainer","errorText","StyleSheet","create","position","paddingHorizontal","fontSize","borderRadius","paddingVertical","overflow","fontWeight","Input","exports","forwardRef"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/form/input/input.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAOA,IAAAC,OAAA,GAAAC,uBAAA,CAAAF,OAAA;AAOA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AAEA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,KAAA,GAAAP,OAAA;AACA,IAAAQ,SAAA,GAAAR,OAAA;AACA,IAAAS,KAAA,GAAAT,OAAA;AACA,IAAAU,eAAA,GAAAV,OAAA;AACA,IAAAW,OAAA,GAAAX,OAAA;AACA,IAAAY,OAAA,GAAAZ,OAAA;AACA,IAAAa,YAAA,GAAAb,OAAA;AACA,IAAAc,KAAA,GAAAd,OAAA;AACA,IAAAe,KAAA,GAAAf,OAAA;AAAkC,SAAAE,wBAAAc,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAhB,uBAAA,YAAAA,CAAAc,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAA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rB,CAAC;EACDL,cAAc,EAAE;IACdjB,KAAK,EAAE,MAAM;IACbwB,YAAY,EAAE,CAAC;IACfC,eAAe,EAAE,CAAC;IAClBC,QAAQ,EAAE;EACZ,CAAC;EACDR,SAAS,EAAE;IACTK,QAAQ,EAAE,EAAE;IACZD,iBAAiB,EAAE,CAAC;IACpBK,UAAU,EAAE;IACZ;EACF,CAAC;EACDb,WAAW,EAAE;IACXS,QAAQ,EAAE,EAAE;IACZD,iBAAiB,EAAE,CAAC;IACpBI,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;AAEK,MAAME,KAAK,GAAAC,OAAA,CAAAD,KAAA,gBAAG,IAAAE,kBAAU,EAA8BrE,SAAS,CAAC","ignoreList":[]}
|
|
@@ -5,8 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.MultipleSelectComponent = void 0;
|
|
7
7
|
var _react = require("@chem-po/react");
|
|
8
|
-
var _react2 = require("react");
|
|
8
|
+
var _react2 = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
10
11
|
const MultipleSelectComponent = exports.MultipleSelectComponent = /*#__PURE__*/(0, _react2.forwardRef)(({
|
|
11
12
|
field,
|
|
12
13
|
input,
|
|
@@ -36,16 +37,16 @@ const MultipleSelectComponent = exports.MultipleSelectComponent = /*#__PURE__*/(
|
|
|
36
37
|
const handleOptionPress = option => {
|
|
37
38
|
onChange(value !== null && value !== void 0 && value.includes(option) ? value.filter(v => v !== option) : [...(value ?? []), option]);
|
|
38
39
|
};
|
|
39
|
-
const body = /*#__PURE__*/
|
|
40
|
+
const body = /*#__PURE__*/_react2.default.createElement(_reactNative.View, {
|
|
40
41
|
style: styles.container
|
|
41
|
-
}, options.map(o => /*#__PURE__*/
|
|
42
|
+
}, options.map(o => /*#__PURE__*/_react2.default.createElement(_reactNative.TouchableOpacity, {
|
|
42
43
|
key: getOptionKey ? getOptionKey(o) : o,
|
|
43
44
|
style: [styles.option, (value === null || value === void 0 ? void 0 : value.includes(o)) && styles.selectedOption],
|
|
44
45
|
onPress: () => handleOptionPress(o)
|
|
45
46
|
}, renderOption(o, colorMode, !!(value !== null && value !== void 0 && value.includes(o))))));
|
|
46
|
-
return inEditable ? /*#__PURE__*/
|
|
47
|
+
return inEditable ? /*#__PURE__*/_react2.default.createElement(_reactNative.View, {
|
|
47
48
|
style: styles.editableContainer
|
|
48
|
-
}, /*#__PURE__*/
|
|
49
|
+
}, /*#__PURE__*/_react2.default.createElement(_reactNative.Text, {
|
|
49
50
|
style: [styles.placeholder, {
|
|
50
51
|
color: placeholderColor
|
|
51
52
|
}]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_react2","_reactNative","MultipleSelectComponent","exports","forwardRef","field","input","inEditable","ref","options","renderOption","getOptionKey","onChange","value","onFocus","onBlur","colorMode","useColorMode","placeholderColor","usePlaceholderColor","useImperativeHandle","focus","blur","handleOptionPress","option","includes","filter","v","body","
|
|
1
|
+
{"version":3,"names":["_react","require","_react2","_interopRequireWildcard","_reactNative","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","MultipleSelectComponent","exports","forwardRef","field","input","inEditable","ref","options","renderOption","getOptionKey","onChange","value","onFocus","onBlur","colorMode","useColorMode","placeholderColor","usePlaceholderColor","useImperativeHandle","focus","blur","handleOptionPress","option","includes","filter","v","body","createElement","View","style","styles","container","map","TouchableOpacity","key","selectedOption","onPress","editableContainer","Text","placeholder","color","StyleSheet","create","width","flexDirection","flexWrap","gap","paddingVertical","fontSize","fontWeight","opacity","paddingHorizontal","marginBottom","padding"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["components/form/input/multipleSelect/index.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAAuE,SAAAE,wBAAAE,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAJ,uBAAA,YAAAA,CAAAE,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,C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AAC;IACVH,OAAO,EAAE;EACX,CAAC;EACDf,cAAc,EAAE;IACde,OAAO,EAAE;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -5,11 +5,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.NumberComponent = exports.CurrencyAmountComponent = void 0;
|
|
7
7
|
var _react = require("@chem-po/react");
|
|
8
|
-
var _react2 = require("react");
|
|
8
|
+
var _react2 = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
10
|
var _InputSlider = require("../InputSlider");
|
|
11
11
|
var _useInputImperativeHandle = require("../hooks/useInputImperativeHandle");
|
|
12
12
|
var _useInputStyle = require("../hooks/useInputStyle");
|
|
13
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
13
14
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
14
15
|
const NumberComponent = exports.NumberComponent = /*#__PURE__*/(0, _react2.forwardRef)(({
|
|
15
16
|
input: {
|
|
@@ -37,18 +38,18 @@ const NumberComponent = exports.NumberComponent = /*#__PURE__*/(0, _react2.forwa
|
|
|
37
38
|
const displayed = typeof value === 'number' && !Number.isNaN(value) ? `${value}${endsWith}` : '';
|
|
38
39
|
const placeholderColor = (0, _react.usePlaceholderColor)();
|
|
39
40
|
if (type === 'slider') {
|
|
40
|
-
return /*#__PURE__*/
|
|
41
|
+
return /*#__PURE__*/_react2.default.createElement(_InputSlider.InputSlider, {
|
|
41
42
|
label: placeholder,
|
|
42
43
|
onValueChange: onChange,
|
|
43
44
|
value: value,
|
|
44
45
|
minimumValue: defaultValue
|
|
45
46
|
});
|
|
46
47
|
}
|
|
47
|
-
return /*#__PURE__*/
|
|
48
|
+
return /*#__PURE__*/_react2.default.createElement(_reactNative.View, {
|
|
48
49
|
style: styles.container
|
|
49
|
-
}, prefix && /*#__PURE__*/
|
|
50
|
+
}, prefix && /*#__PURE__*/_react2.default.createElement(_reactNative.Text, {
|
|
50
51
|
style: styles.prefix
|
|
51
|
-
}, prefix), /*#__PURE__*/
|
|
52
|
+
}, prefix), /*#__PURE__*/_react2.default.createElement(_reactNative.TextInput, _extends({
|
|
52
53
|
ref: inputRef,
|
|
53
54
|
style: [styles.input, style, {
|
|
54
55
|
color
|
|
@@ -87,7 +88,7 @@ const BaseCurrencyAmountComponent = ({
|
|
|
87
88
|
(_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 || _inputRef$current2.blur();
|
|
88
89
|
}
|
|
89
90
|
}));
|
|
90
|
-
return /*#__PURE__*/
|
|
91
|
+
return /*#__PURE__*/_react2.default.createElement(NumberComponent, _extends({
|
|
91
92
|
prefix: "$",
|
|
92
93
|
field: {
|
|
93
94
|
...field,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_react2","_reactNative","_InputSlider","_useInputImperativeHandle","_useInputStyle","
|
|
1
|
+
{"version":3,"names":["_react","require","_react2","_interopRequireWildcard","_reactNative","_InputSlider","_useInputImperativeHandle","_useInputStyle","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_extends","assign","bind","arguments","length","apply","NumberComponent","exports","forwardRef","input","onChange","value","field","size","prefix","inEditable","_","props","ref","type","defaultValue","placeholder","color","useTextColor","style","useInputStyle","inputRef","useInputImperativeHandle","endsWith","setEndsWith","useState","displayed","Number","isNaN","placeholderColor","usePlaceholderColor","createElement","InputSlider","label","onValueChange","minimumValue","View","styles","container","Text","TextInput","placeholderTextColor","keyboardType","onChangeText","text","includes","num","parseFloat","undefined","BaseCurrencyAmountComponent","useRef","useImperativeHandle","focus","_inputRef$current","current","blur","_inputRef$current2","_type","CurrencyAmountComponent","StyleSheet","create","flexDirection","alignItems","width","flex","height","paddingHorizontal","paddingVertical","backgroundColor","marginRight","fontSize"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["components/form/input/number/index.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAEA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,yBAAA,GAAAL,OAAA;AACA,IAAAM,cAAA,GAAAN,OAAA;AAAsD,SAAAE,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OA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K7C,KAAK,CAAG,CAAC;AACxF,CAAC;AAEM,MAAM8C,uBAAuB,GAAAxD,OAAA,CAAAwD,uBAAA,gBAAG,IAAAvD,kBAAU,EAC/C8C,2BACF,CAAC;AAED,MAAMZ,MAAM,GAAGsB,uBAAU,CAACC,MAAM,CAAC;EAC/BtB,SAAS,EAAE;IACTuB,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,KAAK,EAAE;EACT,CAAC;EACD3D,KAAK,EAAE;IACL4D,IAAI,EAAE,CAAC;IACPC,MAAM,EAAE,EAAE;IACVC,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE,CAAC;IAClBC,eAAe,EAAE;EACnB,CAAC;EACD3D,MAAM,EAAE;IACN4D,WAAW,EAAE,CAAC;IACdC,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -6,10 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.SelectComponent = void 0;
|
|
7
7
|
var _react = require("@chem-po/react");
|
|
8
8
|
var _vectorIcons = require("@expo/vector-icons");
|
|
9
|
-
var _react2 = require("react");
|
|
9
|
+
var _react2 = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _reactNative = require("react-native");
|
|
11
11
|
var _Txt = require("../../../text/Txt");
|
|
12
12
|
var _InputClearButton = require("../common/InputClearButton");
|
|
13
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
13
14
|
const BaseSelectComponent = ({
|
|
14
15
|
field,
|
|
15
16
|
input,
|
|
@@ -75,9 +76,9 @@ const BaseSelectComponent = ({
|
|
|
75
76
|
return renderOption(option, 'light', isSelected);
|
|
76
77
|
}
|
|
77
78
|
if (typeof option === 'object') {
|
|
78
|
-
return /*#__PURE__*/
|
|
79
|
+
return /*#__PURE__*/_react2.default.createElement(_Txt.Txt, null, JSON.stringify(option));
|
|
79
80
|
}
|
|
80
|
-
return /*#__PURE__*/
|
|
81
|
+
return /*#__PURE__*/_react2.default.createElement(_Txt.Txt, null, String(option));
|
|
81
82
|
};
|
|
82
83
|
const getKey = option => {
|
|
83
84
|
if (getOptionKey) {
|
|
@@ -96,13 +97,13 @@ const BaseSelectComponent = ({
|
|
|
96
97
|
const menuBg = (0, _react.useBackgroundColor)(100);
|
|
97
98
|
const selectedOptionBg = (0, _react.useBackgroundColor)(50);
|
|
98
99
|
const borderColor = (0, _react.useBorderColor)();
|
|
99
|
-
return /*#__PURE__*/
|
|
100
|
+
return /*#__PURE__*/_react2.default.createElement(_reactNative.View, {
|
|
100
101
|
style: styles.wrapper
|
|
101
|
-
}, /*#__PURE__*/
|
|
102
|
+
}, /*#__PURE__*/_react2.default.createElement(_reactNative.View, {
|
|
102
103
|
ref: buttonRef,
|
|
103
104
|
onLayout: handleButtonLayout,
|
|
104
105
|
style: styles.container
|
|
105
|
-
}, /*#__PURE__*/
|
|
106
|
+
}, /*#__PURE__*/_react2.default.createElement(_reactNative.TouchableOpacity, {
|
|
106
107
|
style: [styles.button],
|
|
107
108
|
onPress: () => {
|
|
108
109
|
if (active) {
|
|
@@ -111,30 +112,30 @@ const BaseSelectComponent = ({
|
|
|
111
112
|
onFocus();
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
|
-
}, /*#__PURE__*/
|
|
115
|
+
}, /*#__PURE__*/_react2.default.createElement(_reactNative.View, {
|
|
115
116
|
style: styles.buttonTextContainer
|
|
116
|
-
}, selected ? renderOptionText(selected, true) : /*#__PURE__*/
|
|
117
|
+
}, selected ? renderOptionText(selected, true) : /*#__PURE__*/_react2.default.createElement(_reactNative.Text, {
|
|
117
118
|
style: [styles.placeholder, {
|
|
118
119
|
color: placeholderColor
|
|
119
120
|
}]
|
|
120
|
-
}, placeholder)), /*#__PURE__*/
|
|
121
|
+
}, placeholder)), /*#__PURE__*/_react2.default.createElement(_vectorIcons.Ionicons, {
|
|
121
122
|
name: active ? 'chevron-up' : 'chevron-down',
|
|
122
123
|
size: 20,
|
|
123
124
|
color: iconColor,
|
|
124
125
|
style: styles.icon
|
|
125
|
-
}), optional && value ? /*#__PURE__*/
|
|
126
|
+
}), optional && value ? /*#__PURE__*/_react2.default.createElement(_InputClearButton.InputClearButton, {
|
|
126
127
|
onPress: () => onChange(null),
|
|
127
128
|
isActive: !!value
|
|
128
|
-
}) : null)), /*#__PURE__*/
|
|
129
|
+
}) : null)), /*#__PURE__*/_react2.default.createElement(_reactNative.Modal, {
|
|
129
130
|
visible: active,
|
|
130
131
|
transparent: true,
|
|
131
132
|
animationType: "fade",
|
|
132
133
|
onRequestClose: () => onBlur()
|
|
133
|
-
}, /*#__PURE__*/
|
|
134
|
+
}, /*#__PURE__*/_react2.default.createElement(_reactNative.TouchableOpacity, {
|
|
134
135
|
style: styles.modalOverlay,
|
|
135
136
|
activeOpacity: 1,
|
|
136
137
|
onPress: () => onBlur()
|
|
137
|
-
}, /*#__PURE__*/
|
|
138
|
+
}, /*#__PURE__*/_react2.default.createElement(_reactNative.View, {
|
|
138
139
|
style: [styles.dropdownContainer, {
|
|
139
140
|
position: 'absolute',
|
|
140
141
|
top: buttonLayout.y + buttonLayout.height + 4,
|
|
@@ -143,12 +144,12 @@ const BaseSelectComponent = ({
|
|
|
143
144
|
backgroundColor: menuBg,
|
|
144
145
|
borderColor
|
|
145
146
|
}]
|
|
146
|
-
}, /*#__PURE__*/
|
|
147
|
+
}, /*#__PURE__*/_react2.default.createElement(_reactNative.ScrollView, {
|
|
147
148
|
style: styles.dropdown
|
|
148
149
|
}, options.map(option => {
|
|
149
150
|
const key = getKey(option);
|
|
150
151
|
const isSelected = option === selected;
|
|
151
|
-
return /*#__PURE__*/
|
|
152
|
+
return /*#__PURE__*/_react2.default.createElement(_reactNative.TouchableOpacity, {
|
|
152
153
|
key: key,
|
|
153
154
|
style: [styles.option, {
|
|
154
155
|
borderColor
|
|
@@ -156,7 +157,7 @@ const BaseSelectComponent = ({
|
|
|
156
157
|
backgroundColor: selectedOptionBg
|
|
157
158
|
}],
|
|
158
159
|
onPress: () => handleOptionPress(option)
|
|
159
|
-
}, /*#__PURE__*/
|
|
160
|
+
}, /*#__PURE__*/_react2.default.createElement(_reactNative.View, null, renderOptionText(option, isSelected)));
|
|
160
161
|
}))))));
|
|
161
162
|
};
|
|
162
163
|
const SelectComponent = exports.SelectComponent = /*#__PURE__*/(0, _react2.forwardRef)(BaseSelectComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_vectorIcons","_react2","_reactNative","_Txt","_InputClearButton","BaseSelectComponent","field","input","meta","ref","placeholder","options","renderOption","getOptionKey","optional","onChange","value","onFocus","onBlur","active","buttonLayout","setButtonLayout","useState","x","y","width","height","buttonRef","useRef","selected","useMemo","undefined","find","
|
|
1
|
+
{"version":3,"names":["_react","require","_vectorIcons","_react2","_interopRequireWildcard","_reactNative","_Txt","_InputClearButton","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","BaseSelectComponent","field","input","meta","ref","placeholder","options","renderOption","getOptionKey","optional","onChange","value","onFocus","onBlur","active","buttonLayout","setButtonLayout","useState","x","y","width","height","buttonRef","useRef","selected","useMemo","undefined","find","key1","key2","useImperativeHandle","focus","blur","handleButtonLayout","_buttonRef$current","current","measure","_x","_y","pageX","pageY","renderOptionText","option","isSelected","createElement","Txt","JSON","stringify","String","getKey","key","handleOptionPress","iconColor","useIconColor","placeholderColor","usePlaceholderColor","menuBg","useBackgroundColor","selectedOptionBg","borderColor","useBorderColor","View","style","styles","wrapper","onLayout","container","TouchableOpacity","button","onPress","buttonTextContainer","Text","color","Ionicons","name","size","icon","InputClearButton","isActive","Modal","visible","transparent","animationType","onRequestClose","modalOverlay","activeOpacity","dropdownContainer","position","top","left","backgroundColor","ScrollView","dropdown","map","SelectComponent","exports","forwardRef","StyleSheet","create","flexDirection","alignItems","justifyContent","paddingHorizontal","paddingVertical","borderRadius","flex","buttonText","fontSize","borderWidth","maxHeight","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","padding","borderBottomWidth","optionText","marginRight"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["components/form/input/select/index.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAOA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAC,uBAAA,CAAAH,OAAA;AAQA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,IAAA,GAAAL,OAAA;AAEA,IAAAM,iBAAA,GAAAN,OAAA;AAA6D,SAAAG,wBAAAI,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAN,uBAAA,YAAAA,CAAAI,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAA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