jamespot-react-components 1.0.9 → 1.0.66
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/build/jamespot-react-components.js +648 -341
- package/build/jamespot-react-components.js.LICENSE.txt +22 -0
- package/build/jamespot-react-components.js.map +1 -1
- package/build/src/components/Common/DashedFocusBorder.d.ts +5 -5
- package/build/src/components/Common/JRCConditionalWrapper.d.ts +8 -0
- package/build/src/components/Common/JRCDraggingPlaceholder.d.ts +4 -0
- package/build/src/components/Common/util/getColor.util.d.ts +1 -1
- package/build/src/components/Form/Common/ClickAwayListener.d.ts +1 -0
- package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.d.ts +1 -1
- package/build/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime.d.ts +2 -0
- package/build/src/components/Form/Input/JRCFormDateTime/JRCFormInputDateTime.stories.d.ts +1 -0
- package/build/src/components/Form/Input/JRCFormFieldRender.d.ts +1 -1
- package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichEditorField.styles.d.ts +9 -0
- package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.d.ts +0 -6
- package/build/src/components/Form/Input/JRCFormSelect/Extension.d.ts +18 -0
- package/build/src/components/Form/Input/JRCSelect/JRCInputAutocompleteViews.d.ts +7 -0
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.style.d.ts +262 -1
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +3 -0
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.utils.d.ts +4 -3
- package/build/src/components/JRCAppContainer/JRCAppContainer.d.ts +1 -0
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.d.ts +2 -1
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.d.ts +1 -1
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +3 -3
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.d.ts +2 -2
- package/build/src/components/JRCAvatar/JRCAvatar.d.ts +2 -0
- package/build/src/components/JRCButtonDownload/JRCButtonDownload.d.ts +20 -0
- package/build/src/components/JRCButtonDownload/JRCButtonDownload.stories.d.ts +8 -0
- package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.d.ts +1 -0
- package/build/src/components/JRCButtonFile/JRCButtonFile.d.ts +17 -0
- package/build/src/components/JRCButtonFile/JRCButtonFile.stories.d.ts +7 -0
- package/build/src/components/JRCCard/JRCCard.d.ts +1 -3
- package/build/src/components/JRCDate/JRCDate.d.ts +2 -0
- package/build/src/components/JRCEllipsis/JRCEllipsis.d.ts +3 -1
- package/build/src/components/JRCFolders/JRCFolder.d.ts +3 -0
- package/build/src/components/JRCFolders/JRCFolderBreadcrumb.d.ts +6 -0
- package/build/src/components/JRCFolders/JRCFolders.d.ts +3 -0
- package/build/src/components/JRCFolders/JRCFolders.stories.d.ts +9 -0
- package/build/src/components/JRCFolders/mock.folders.d.ts +16 -0
- package/build/src/components/JRCFolders/types.d.ts +33 -0
- package/build/src/components/JRCIcon/JRCIcon.d.ts +4 -2
- package/build/src/components/JRCIconButton/JRCIconButton.d.ts +1 -1
- package/build/src/components/JRCImg/JRCImg.d.ts +1 -1
- package/build/src/components/JRCImg/JRCImg.stories.d.ts +1 -0
- package/build/src/components/JRCImg/url.util.d.ts +7 -0
- package/build/src/components/JRCList/JRCList.d.ts +14 -10
- package/build/src/components/JRCList/JRCList.styles.d.ts +0 -1
- package/build/src/components/JRCMenuItem/JRCMenuItem.d.ts +1 -1
- package/build/src/components/JRCModal/JRCModal.d.ts +1 -0
- package/build/src/components/JRCModal/JRCModal.stories.d.ts +1 -5
- package/build/src/components/JRCModalImg/JRCModalImg.d.ts +11 -7
- package/build/src/components/JRCModalImg/JRCModalImg.stories.d.ts +1 -1
- package/build/src/components/JRCModalImg/JRCModalImg.styles.d.ts +1 -9
- package/build/src/components/JRCPagination/JRCPagination.stories.d.ts +1 -4
- package/build/src/components/JRCTabs/JRCTabs.d.ts +5 -4
- package/build/src/components/JRCTabs/JRCTabs.stories.d.ts +1 -1
- package/build/src/components/JRCTag/JRCTag.d.ts +4 -1
- package/build/src/components/JRCTooltip/JRCTooltip.d.ts +3 -0
- package/build/src/components/Templates/JRCAppColumn.d.ts +3 -0
- package/build/src/components/Templates/JRCAppTab.d.ts +4 -0
- package/build/src/components/Templates/JRCBase.template.d.ts +9 -0
- package/build/src/components/Templates/JRCColumn.d.ts +3 -0
- package/build/src/components/Templates/JRCContainer.d.ts +3 -0
- package/build/src/components/Templates/JRCMainColumn.d.ts +3 -0
- package/build/src/components/Templates/JRCTemplate.stories.d.ts +5 -0
- package/build/src/components/Templates/JRCTwoColumns.template.d.ts +7 -0
- package/build/src/components/Templates/template.styles.d.ts +305 -0
- package/build/src/components/Templates/template.type.d.ts +51 -0
- package/build/src/components/Templates/template.utils.d.ts +26 -0
- package/build/src/hooks/UseLocalStorage.d.ts +2 -0
- package/build/src/index.d.ts +16 -2
- package/build/src/styles/theme.d.ts +6 -1
- package/build/src/types.d.ts +7 -2
- package/build/src/utils/index.d.ts +6 -0
- package/build/src/utils/utils.array.d.ts +6 -0
- package/build/src/utils/utils.array.test.d.ts +1 -0
- package/build/src/utils/utils.date.d.ts +9 -0
- package/build/src/utils/utils.misc.d.ts +1 -0
- package/build/src/utils/utils.string.d.ts +1 -0
- package/externals.json +2 -2
- package/package.json +6 -4
- package/storybook-static/0.799c368cbe88266827ba.manager.bundle.js +1 -0
- package/storybook-static/1.9ebd2fb519f6726108de.manager.bundle.js +1 -0
- package/storybook-static/10.a85ea1a67689be8e19ff.manager.bundle.js +1 -0
- package/storybook-static/11.f4e922583ae35da460f3.manager.bundle.js +2 -0
- package/storybook-static/11.f4e922583ae35da460f3.manager.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/12.1415460941f0bdcb8fa8.manager.bundle.js +1 -0
- package/storybook-static/174.f2e072e1.iframe.bundle.js +2 -0
- package/storybook-static/174.f2e072e1.iframe.bundle.js.LICENSE.txt +115 -0
- package/storybook-static/314.615cb34b.iframe.bundle.js +1 -0
- package/storybook-static/331.bea8dec1.iframe.bundle.js +2 -0
- package/storybook-static/331.bea8dec1.iframe.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/459.d6c184aa.iframe.bundle.js +1 -0
- package/storybook-static/5.f459d151315e6780c20f.manager.bundle.js +2 -0
- package/storybook-static/5.f459d151315e6780c20f.manager.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/6.3bd64d820f3745f262ff.manager.bundle.js +1 -0
- package/storybook-static/7.3d04765dbf3f1dcd706c.manager.bundle.js +1 -0
- package/storybook-static/701.5fb77928.iframe.bundle.js +1 -0
- package/storybook-static/8.b541eadfcb9164835dfc.manager.bundle.js +1 -0
- package/storybook-static/861.8d90a4b3.iframe.bundle.js +2 -0
- package/storybook-static/861.8d90a4b3.iframe.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/869.7ff62134.iframe.bundle.js +1 -0
- package/storybook-static/881.e09ad30e.iframe.bundle.js +1 -0
- package/storybook-static/9.411ac8e451bbb10926c7.manager.bundle.js +1 -0
- package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/FontAwesome.otf +0 -0
- package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.eot +0 -0
- package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.svg +0 -0
- package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
- package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.woff +0 -0
- package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
- package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.eot +0 -0
- package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.json +0 -0
- package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.svg +0 -0
- package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.ttf +0 -0
- package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.woff +0 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/iframe.html +348 -0
- package/{.storybook/assets → storybook-static}/imagecache/120x120/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/160x160/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/200x200/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/24x24/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/32x32/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/40x40/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/11.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/12.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/2.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/20.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/23.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/25.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/8.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/64x64/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/80x80/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/fitx700/fileArticle/245.png +0 -0
- package/storybook-static/index.html +51 -0
- package/storybook-static/main.856b88b4.iframe.bundle.js +1 -0
- package/storybook-static/main.e2663b1cf842947d1a59.manager.bundle.js +1 -0
- package/storybook-static/runtime~main.91a0c7330ab317d35c4a.manager.bundle.js +1 -0
- package/storybook-static/runtime~main.ba5a9588.iframe.bundle.js +1 -0
- package/{.history/src/assets/check_20210114075959.svg → storybook-static/static/media/check.e04c3374.svg} +0 -0
- package/{src/assets/x.svg → storybook-static/static/media/x.609ccec1.svg} +0 -0
- package/storybook-static/vendors~main.f7f16cebbf3aa96a4f89.manager.bundle.js +2 -0
- package/storybook-static/vendors~main.f7f16cebbf3aa96a4f89.manager.bundle.js.LICENSE.txt +110 -0
- package/.eslintignore +0 -80
- package/.eslintrc.js +0 -15
- package/.github/pull_request_template.md +0 -22
- package/.github/workflows/ci.yml +0 -62
- package/.github/workflows/deploy-dev-branches.yml +0 -40
- package/.github/workflows/increment-npm-version.yml +0 -26
- package/.github/workflows/npm-package.yml +0 -33
- package/.history/.eslintignore_20211116140451 +0 -13
- package/.history/.eslintignore_20211116140517 +0 -80
- package/.history/.github/workflows/ci_20211103152807.yml +0 -50
- package/.history/.github/workflows/ci_20211117114643.yml +0 -50
- package/.history/.github/workflows/ci_20211117114650.yml +0 -55
- package/.history/.github/workflows/ci_20211117152126.yml +0 -55
- package/.history/.github/workflows/ci_20211117153805.yml +0 -58
- package/.history/.github/workflows/ci_20211117153810.yml +0 -58
- package/.history/.github/workflows/ci_20211117154145.yml +0 -59
- package/.history/.github/workflows/ci_20211117154153.yml +0 -59
- package/.history/.github/workflows/ci_20211117155208.yml +0 -58
- package/.history/.github/workflows/ci_20211117155212.yml +0 -59
- package/.history/.github/workflows/ci_20211117155228.yml +0 -59
- package/.history/.github/workflows/ci_20211117155451.yml +0 -59
- package/.history/.github/workflows/ci_20211117155505.yml +0 -59
- package/.history/.github/workflows/ci_20211117155509.yml +0 -59
- package/.history/.github/workflows/ci_20211117160304.yml +0 -59
- package/.history/.github/workflows/ci_20211117161702.yml +0 -59
- package/.history/.github/workflows/ci_20211117162805.yml +0 -59
- package/.history/.github/workflows/ci_20211117164809.yml +0 -60
- package/.history/.github/workflows/ci_20211117170417.yml +0 -60
- package/.history/.gitignore_20211117155121 +0 -82
- package/.history/.husky/pre-commit_20211116154612 +0 -4
- package/.history/.husky/pre-commit_20211116155720 +0 -4
- package/.history/.prettierignore_20211103152807 +0 -84
- package/.history/.prettierignore_20211116140533 +0 -80
- package/.history/.prettierrc_20211103143655.json +0 -11
- package/.history/.prettierrc_20211103144104.json +0 -10
- package/.history/.prettierrc_20211116140542.json +0 -11
- package/.history/.prettierrc_20211116173732.json +0 -10
- package/.history/.storybook/main_20211109144835.js +0 -22
- package/.history/babel.config_20211116141826.js +0 -14
- package/.history/babel.config_20211117104141.js +0 -15
- package/.history/babel.config_20211117164455.js +0 -15
- package/.history/build/src/components/JRCHref/JRCHref.d_20211109164627.ts +0 -20
- package/.history/build/src/components/JRCHref/JRCHref.d_20211125144654.ts +0 -20
- package/.history/build/src/components/JRCHref/JRCHref.d_20211125144702.ts +0 -20
- package/.history/build/src/components/JRCHref/JRCHref.d_20211125144724.ts +0 -20
- package/.history/build/src/components/JRCHref/JRCHref.d_20211125144732.ts +0 -20
- package/.history/build/src/components/JRCHref/JRCHref.d_20211125144754.ts +0 -20
- package/.history/externals.d_20211108160127.ts +0 -5
- package/.history/externals.d_20211108160133.ts +0 -5
- package/.history/externals.d_20211108160237.ts +0 -5
- package/.history/externals.d_20211108160252.ts +0 -6
- package/.history/externals.d_20211108160343.ts +0 -6
- package/.history/externals.d_20211108163234.ts +0 -5
- package/.history/index.d_20210119091943.ts +0 -0
- package/.history/index.d_20210119092051.ts +0 -4
- package/.history/jest.config_20211112091917.js +0 -15
- package/.history/jest.config_20211117164520.js +0 -16
- package/.history/jest.setup_20210114075959.ts +0 -3
- package/.history/jest.setup_20210429114103.ts +0 -1
- package/.history/package-lock_20211109153645.json +0 -73806
- package/.history/package_20211103143741.json +0 -117
- package/.history/package_20211108155048.json +0 -117
- package/.history/package_20211108160557.json +0 -117
- package/.history/package_20211109113710.json +0 -116
- package/.history/package_20211109113749.json +0 -114
- package/.history/package_20211109113753.json +0 -113
- package/.history/package_20211109113758.json +0 -111
- package/.history/package_20211109142830.json +0 -111
- package/.history/package_20211109142919.json +0 -111
- package/.history/package_20211109145908.json +0 -111
- package/.history/package_20211109145937.json +0 -111
- package/.history/package_20211109150036.json +0 -109
- package/.history/package_20211109151446.json +0 -112
- package/.history/package_20211109151756.json +0 -112
- package/.history/package_20211109151802.json +0 -112
- package/.history/package_20211109151807.json +0 -112
- package/.history/package_20211109151838.json +0 -112
- package/.history/package_20211109153435.json +0 -117
- package/.history/package_20211109160825.json +0 -117
- package/.history/package_20211109161532.json +0 -118
- package/.history/package_20211109161554.json +0 -118
- package/.history/package_20211109161940.json +0 -117
- package/.history/package_20211109162020.json +0 -118
- package/.history/package_20211109162510.json +0 -118
- package/.history/package_20211109162529.json +0 -118
- package/.history/package_20211109162543.json +0 -118
- package/.history/package_20211116140927.json +0 -115
- package/.history/package_20211116140929.json +0 -115
- package/.history/package_20211116140948.json +0 -117
- package/.history/package_20211116140951.json +0 -117
- package/.history/package_20211116141010.json +0 -117
- package/.history/package_20211116141729.json +0 -119
- package/.history/package_20211116143239.json +0 -119
- package/.history/package_20211116155648.json +0 -131
- package/.history/package_20211117114725.json +0 -132
- package/.history/package_20211117164402.json +0 -132
- package/.history/package_20211117164404.json +0 -132
- package/.history/package_20211117164407.json +0 -132
- package/.history/src/assets/check_20210511153044.svg +0 -4
- package/.history/src/assets/check_20210601141216.svg +0 -4
- package/.history/src/assets/check_20210601141237.svg +0 -4
- package/.history/src/assets/loader_20210114075959.svg +0 -32
- package/.history/src/assets/loader_20210511153051.svg +0 -32
- package/.history/src/assets/loader_20210511153109.svg +0 -32
- package/.history/src/components/Common/DashedFocusBorder_20211103152807.tsx +0 -20
- package/.history/src/components/Common/DashedFocusBorder_20211116141741.tsx +0 -20
- package/.history/src/components/Form/Input/Demo/Demo_20210427112859.tsx +0 -0
- package/.history/src/components/Form/Input/Demo/Demo_20210427112927.tsx +0 -38
- package/.history/src/components/Form/Input/Demo/Demo_20210427113127.tsx +0 -65
- package/.history/src/components/Form/Input/Demo/Demo_20210427113139.tsx +0 -56
- package/.history/src/components/Form/Input/Demo/Demo_20210427113151.tsx +0 -55
- package/.history/src/components/Form/Input/Demo/Demo_20210427113152.tsx +0 -55
- package/.history/src/components/Form/Input/Demo/Demo_20210427113157.tsx +0 -55
- package/.history/src/components/Form/Input/Demo/Demo_20210427113206.tsx +0 -55
- package/.history/src/components/Form/Input/Demo/Demo_20210427113223.tsx +0 -54
- package/.history/src/components/Form/Input/Demo/Demo_20210427113224.tsx +0 -54
- package/.history/src/components/Form/Input/Demo/Demo_20210427113228.tsx +0 -54
- package/.history/src/components/Form/Input/Demo/Demo_20210427113235.tsx +0 -54
- package/.history/src/components/Form/Input/Demo/Demo_20210427113311.tsx +0 -54
- package/.history/src/components/Form/Input/Demo/Demo_20210427113341.tsx +0 -54
- package/.history/src/components/Form/Input/Demo/Demo_20210427113735.tsx +0 -57
- package/.history/src/components/Form/Input/Demo/Demo_20210427113751.tsx +0 -58
- package/.history/src/components/Form/Input/Demo/Demo_20210427113812.tsx +0 -60
- package/.history/src/components/Form/Input/Demo/Demo_20210427114028.tsx +0 -69
- package/.history/src/components/Form/Input/Demo/Demo_20210427114251.tsx +0 -71
- package/.history/src/components/Form/Input/Demo/Demo_20210427114321.tsx +0 -73
- package/.history/src/components/Form/Input/Demo/Demo_20210427114332.tsx +0 -73
- package/.history/src/components/Form/Input/Demo/Demo_20210427114504.tsx +0 -77
- package/.history/src/components/Form/Input/Demo/Demo_20210427114532.tsx +0 -83
- package/.history/src/components/Form/Input/Demo/Demo_20210427114603.tsx +0 -90
- package/.history/src/components/Form/Input/Demo/Demo_20210427114621.tsx +0 -89
- package/.history/src/components/Form/Input/Demo/Demo_20210427114633.tsx +0 -89
- package/.history/src/components/Form/Input/Demo/Demo_20210427114646.tsx +0 -89
- package/.history/src/components/Form/Input/Demo/Demo_20210427114759.tsx +0 -98
- package/.history/src/components/Form/Input/Demo/Demo_20210427114838.tsx +0 -98
- package/.history/src/components/Form/Input/Demo/Demo_20210427114841.tsx +0 -98
- package/.history/src/components/Form/Input/Demo/Demo_20210427115036.tsx +0 -99
- package/.history/src/components/Form/Input/Demo/Demo_20210427115156.tsx +0 -90
- package/.history/src/components/Form/Input/Demo/Demo_20210427115329.tsx +0 -99
- package/.history/src/components/Form/Input/Demo/Demo_20210427115339.tsx +0 -99
- package/.history/src/components/Form/Input/Demo/Demo_20210427115443.tsx +0 -101
- package/.history/src/components/Form/Input/Demo/Demo_20210427115633.tsx +0 -102
- package/.history/src/components/Form/Input/Demo/Demo_20210427115821.tsx +0 -102
- package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity_20210909111158.tsx +0 -25
- package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity_20210909112623.tsx +0 -27
- package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocomplete_20210426165817.tsx +0 -72
- package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocomplete_20210429114237.tsx +0 -71
- package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160603.tsx +0 -253
- package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160617.tsx +0 -253
- package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160632.tsx +0 -307
- package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160746.tsx +0 -307
- package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211116142837.tsx +0 -263
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210309111210.tsx +0 -86
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210405114706.tsx +0 -81
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429114357.tsx +0 -81
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429114358.tsx +0 -81
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154857.tsx +0 -81
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154904.tsx +0 -97
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154910.tsx +0 -97
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154918.tsx +0 -99
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154929.tsx +0 -103
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154941.tsx +0 -99
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429155002.tsx +0 -98
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429155402.tsx +0 -99
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210415092917.tsx +0 -43
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429114401.tsx +0 -43
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154559.tsx +0 -43
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154606.tsx +0 -59
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154624.tsx +0 -54
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154643.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154717.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154755.tsx +0 -59
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210415092917.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114419.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114440.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114446.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154420.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154430.tsx +0 -58
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154442.tsx +0 -60
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154459.tsx +0 -55
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154521.tsx +0 -57
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154736.tsx +0 -58
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142816.tsx +0 -1095
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142819.tsx +0 -1095
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142825.tsx +0 -1095
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211117094739.tsx +0 -1095
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210114075959.tsx +0 -40
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429114458.tsx +0 -40
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154308.tsx +0 -33
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154318.tsx +0 -51
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154329.tsx +0 -53
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154337.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154348.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154359.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154401.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154403.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormFieldRender_20210114075959.tsx +0 -97
- package/.history/src/components/Form/Input/JRCFormFieldRender_20210405114648.tsx +0 -97
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210114075959.tsx +0 -11
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429114512.tsx +0 -11
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154111.tsx +0 -13
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154126.tsx +0 -13
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154142.tsx +0 -14
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154146.tsx +0 -15
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154155.tsx +0 -15
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154158.tsx +0 -20
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154225.tsx +0 -20
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141848.tsx +0 -149
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141920.tsx +0 -148
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141935.tsx +0 -148
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094122.tsx +0 -148
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094131.tsx +0 -148
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094147.tsx +0 -149
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210114075959.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429114516.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153918.tsx +0 -35
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153924.tsx +0 -53
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153959.tsx +0 -55
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429154029.tsx +0 -58
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429154035.tsx +0 -58
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio.stories_20210114075959.tsx +0 -31
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio.stories_20210412103504.tsx +0 -45
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429114520.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153726.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153733.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153800.tsx +0 -136
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153834.tsx +0 -138
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153837.tsx +0 -137
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153848.tsx +0 -137
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210511171834.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210511171842.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150404.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150412.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150815.tsx +0 -125
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150824.tsx +0 -125
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150834.tsx +0 -125
- package/.history/src/components/Form/Input/JRCFormRange/JRCFormRange_20211116141948.tsx +0 -106
- package/.history/src/components/Form/Input/JRCFormRange/JRCFormRange_20211116141950.tsx +0 -106
- package/.history/src/components/Form/Input/JRCFormSelect/JRCFormSelect_20211116142012.tsx +0 -350
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210114075959.tsx +0 -38
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429114541.tsx +0 -38
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152714.tsx +0 -38
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152735.tsx +0 -53
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152747.tsx +0 -48
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152757.tsx +0 -49
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152806.tsx +0 -51
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152816.tsx +0 -54
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152834.tsx +0 -54
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152841.tsx +0 -54
- package/.history/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor_20211116142024.tsx +0 -35
- package/.history/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea_20211116142028.tsx +0 -65
- package/.history/src/components/Form/Input/JRCStyledInput_20210309111210.tsx +0 -94
- package/.history/src/components/Form/Input/JRCStyledInput_20210412103822.tsx +0 -98
- package/.history/src/components/Form/Input/JRCStyledInput_20210412103824.tsx +0 -97
- package/.history/src/components/Form/Input/ReduxFormControls_20211116142058.ts +0 -141
- package/.history/src/components/Form/Input/ReduxFormControls_20211116142800.ts +0 -141
- package/.history/src/components/JRCAlert/JRCArlert.stories_20211103152807.tsx +0 -60
- package/.history/src/components/JRCAlert/JRCArlert.stories_20211116142119.tsx +0 -61
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211103152807.tsx +0 -28
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115138.tsx +0 -27
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115145.tsx +0 -26
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115204.tsx +0 -28
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142132.tsx +0 -27
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142134.tsx +0 -26
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142151.tsx +0 -28
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142200.tsx +0 -29
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142204.tsx +0 -28
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142212.tsx +0 -29
- package/.history/src/components/JRCAvatar/JRCAvatar.test_20211103152807.tsx +0 -21
- package/.history/src/components/JRCAvatar/JRCAvatar.test_20211116142226.tsx +0 -22
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104018.tsx +0 -59
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104101.tsx +0 -60
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104122.tsx +0 -60
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104143.tsx +0 -60
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104218.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104246.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104354.tsx +0 -60
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104416.tsx +0 -60
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104419.tsx +0 -60
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104701.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104713.tsx +0 -63
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104957.tsx +0 -66
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105005.tsx +0 -66
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105009.tsx +0 -65
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105026.tsx +0 -65
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105309.tsx +0 -61
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105312.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105315.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105433.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105442.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215110444.tsx +0 -63
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215111145.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215111233.tsx +0 -65
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215111240.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211220162840.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211220162848.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211220164211.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211220164215.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221115746.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221115750.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221120044.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221120047.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221120048.tsx +0 -63
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221120052.tsx +0 -63
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221120055.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221120153.tsx +0 -62
- package/.history/src/components/JRCButton/JRCButton.stories_20210114075959.tsx +0 -65
- package/.history/src/components/JRCButton/JRCButton.stories_20210324153346.tsx +0 -78
- package/.history/src/components/JRCButton/JRCButton_20211103141623.tsx +0 -135
- package/.history/src/components/JRCButton/JRCButton_20211116142244.tsx +0 -117
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155338.tsx +0 -36
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155438.tsx +0 -36
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155441.tsx +0 -37
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155446.tsx +0 -37
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155459.tsx +0 -19
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155511.tsx +0 -17
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161017.tsx +0 -18
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161020.tsx +0 -16
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161032.tsx +0 -16
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161148.tsx +0 -16
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161438.tsx +0 -37
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161447.tsx +0 -37
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161456.tsx +0 -41
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161507.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161516.tsx +0 -43
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161820.tsx +0 -43
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164337.tsx +0 -45
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164427.tsx +0 -45
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164441.tsx +0 -45
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164446.tsx +0 -45
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164501.tsx +0 -47
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164510.tsx +0 -52
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164528.tsx +0 -76
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164607.tsx +0 -77
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155318.tsx +0 -0
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155347.tsx +0 -0
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155413.tsx +0 -6
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155414.tsx +0 -6
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155428.tsx +0 -4
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155603.tsx +0 -7
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155631.tsx +0 -9
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155633.tsx +0 -16
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155635.tsx +0 -17
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155649.tsx +0 -41
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155703.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155728.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160204.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160431.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160437.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160801.tsx +0 -46
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160814.tsx +0 -46
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160938.tsx +0 -46
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160947.tsx +0 -47
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161128.tsx +0 -47
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161130.tsx +0 -47
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161135.tsx +0 -47
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161208.tsx +0 -48
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161228.tsx +0 -49
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161331.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161347.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161407.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161410.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161418.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161426.tsx +0 -36
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161539.tsx +0 -30
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161544.tsx +0 -29
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161848.tsx +0 -41
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161859.tsx +0 -50
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161913.tsx +0 -50
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161916.tsx +0 -52
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161938.tsx +0 -53
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161947.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162119.tsx +0 -39
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162128.tsx +0 -40
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162141.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162145.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162154.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162238.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162406.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162457.tsx +0 -43
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162500.tsx +0 -43
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162504.tsx +0 -43
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162612.tsx +0 -43
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162650.tsx +0 -54
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162705.tsx +0 -54
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162819.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162845.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412163202.tsx +0 -57
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412163241.tsx +0 -55
- package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211103152807.tsx +0 -28
- package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211116142250.tsx +0 -26
- package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211116142251.tsx +0 -25
- package/.history/src/components/JRCDropDown/JRCDropDown_20210629085002.tsx +0 -155
- package/.history/src/components/JRCDropDown/JRCDropDown_20211103142200.tsx +0 -157
- package/.history/src/components/JRCDropDown/JRCDropDown_20211103142204.tsx +0 -157
- package/.history/src/components/JRCDropDown/JRCDropDown_20211103142213.tsx +0 -157
- package/.history/src/components/JRCDropDown/JRCDropDown_20211103142216.tsx +0 -157
- package/.history/src/components/JRCError/JRCError.stories_20210406110213.tsx +0 -0
- package/.history/src/components/JRCError/JRCError.stories_20210406110227.tsx +0 -18
- package/.history/src/components/JRCError/JRCError.stories_20210406110234.tsx +0 -16
- package/.history/src/components/JRCError/JRCError.stories_20210406110245.tsx +0 -16
- package/.history/src/components/JRCError/JRCError.stories_20210406110305.tsx +0 -18
- package/.history/src/components/JRCError/JRCError.stories_20210406110310.tsx +0 -15
- package/.history/src/components/JRCError/JRCError.stories_20210406110337.tsx +0 -15
- package/.history/src/components/JRCError/JRCError.stories_20210406110354.tsx +0 -15
- package/.history/src/components/JRCError/JRCError.stories_20210406110413.tsx +0 -13
- package/.history/src/components/JRCError/JRCError.stories_20210406110418.tsx +0 -13
- package/.history/src/components/JRCError/JRCError.stories_20210406110708.tsx +0 -14
- package/.history/src/components/JRCError/JRCError.stories_20210406110715.tsx +0 -13
- package/.history/src/components/JRCError/JRCError.stories_20210406110722.tsx +0 -13
- package/.history/src/components/JRCError/JRCError.stories_20210406110736.tsx +0 -13
- package/.history/src/components/JRCError/JRCError.stories_20210406110740.tsx +0 -13
- package/.history/src/components/JRCError/JRCError.stories_20210406110753.tsx +0 -15
- package/.history/src/components/JRCError/JRCError.stories_20210406110757.tsx +0 -16
- package/.history/src/components/JRCError/JRCError.stories_20210406110813.tsx +0 -16
- package/.history/src/components/JRCError/JRCError.stories_20210406110818.tsx +0 -15
- package/.history/src/components/JRCError/JRCError_20210406110115.tsx +0 -0
- package/.history/src/components/JRCError/JRCError_20210406110136.tsx +0 -3
- package/.history/src/components/JRCError/JRCError_20210406110148.tsx +0 -5
- package/.history/src/components/JRCError/JRCError_20210406110154.tsx +0 -5
- package/.history/src/components/JRCError/JRCError_20210406110322.tsx +0 -5
- package/.history/src/components/JRCError/JRCError_20210406110459.tsx +0 -5
- package/.history/src/components/JRCError/JRCError_20210406110521.tsx +0 -9
- package/.history/src/components/JRCError/JRCError_20210406110526.tsx +0 -8
- package/.history/src/components/JRCError/JRCError_20210406110540.tsx +0 -10
- package/.history/src/components/JRCError/JRCError_20210406110544.tsx +0 -10
- package/.history/src/components/JRCError/JRCError_20210406110610.tsx +0 -14
- package/.history/src/components/JRCError/JRCError_20210406110613.tsx +0 -14
- package/.history/src/components/JRCError/JRCError_20210406110624.tsx +0 -15
- package/.history/src/components/JRCError/JRCError_20210406110731.tsx +0 -15
- package/.history/src/components/JRCHref/JRCHref.stories_20211116142303.tsx +0 -29
- package/.history/src/components/JRCHref/JRCHref_20210630101506.tsx +0 -32
- package/.history/src/components/JRCHref/JRCHref_20210630101558.tsx +0 -32
- package/.history/src/components/JRCHref/JRCHref_20210630101601.tsx +0 -32
- package/.history/src/components/JRCHref/JRCHref_20210630101616.tsx +0 -32
- package/.history/src/components/JRCHref/JRCHref_20210630101625.tsx +0 -31
- package/.history/src/components/JRCHref/JRCHref_20210630101634.tsx +0 -31
- package/.history/src/components/JRCHref/JRCHref_20210630101645.tsx +0 -30
- package/.history/src/components/JRCHref/JRCHref_20210630101738.tsx +0 -29
- package/.history/src/components/JRCHref/JRCHref_20210630101742.tsx +0 -28
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210114075959.tsx +0 -1045
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330160522.tsx +0 -1049
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330160557.tsx +0 -1049
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165104.tsx +0 -1000
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165154.tsx +0 -1002
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165225.tsx +0 -1167
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165243.tsx +0 -1167
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165244.tsx +0 -1167
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165340.tsx +0 -1020
- package/.history/src/components/JRCIconButton/JRCIconButton_20211102105335.tsx +0 -86
- package/.history/src/components/JRCIconButton/JRCIconButton_20211103141204.tsx +0 -97
- package/.history/src/components/JRCIconButton/JRCIconButton_20211103141514.tsx +0 -97
- package/.history/src/components/JRCIconButton/JRCIconButton_20211103141535.tsx +0 -97
- package/.history/src/components/JRCIconButton/JRCIconButton_20211103141607.tsx +0 -97
- package/.history/src/components/JRCImg/JRCImg_20211103152807.tsx +0 -57
- package/.history/src/components/JRCImg/JRCImg_20211215104339.tsx +0 -58
- package/.history/src/components/JRCImg/JRCImg_20211215104433.tsx +0 -58
- package/.history/src/components/JRCList/JRCListMockData.stories_20211116141848.tsx +0 -118
- package/.history/src/components/JRCList/JRCListMockData.stories_20211116142710.tsx +0 -119
- package/.history/src/components/JRCList/JRCList_20211116141848.tsx +0 -180
- package/.history/src/components/JRCList/JRCList_20211116142725.tsx +0 -172
- package/.history/src/components/JRCList/JRCList_20211116142728.tsx +0 -172
- package/.history/src/components/JRCList/JRCList_20211116142730.tsx +0 -171
- package/.history/src/components/JRCList/JRCList_20211116142734.tsx +0 -171
- package/.history/src/components/JRCList/JRCList_20211116142738.tsx +0 -171
- package/.history/src/components/JRCList/JRCList_20211116142744.tsx +0 -171
- package/.history/src/components/JRCList/JRCList_20211116142747.tsx +0 -172
- package/.history/src/components/JRCList/JRCList_20211116142748.tsx +0 -171
- package/.history/src/components/JRCMenu/JRCMenu.stories_20211103152807.tsx +0 -28
- package/.history/src/components/JRCMenu/JRCMenu.stories_20211116142657.tsx +0 -29
- package/.history/src/components/JRCMenu/JRCMenu_20211103142113.tsx +0 -88
- package/.history/src/components/JRCMenu/JRCMenu_20211103142232.tsx +0 -88
- package/.history/src/components/JRCModal/JRCModal_20211103142136.tsx +0 -142
- package/.history/src/components/JRCModal/JRCModal_20211103142246.tsx +0 -142
- package/.history/src/components/JRCModalImg/JRCModalImg_20210824103034.tsx +0 -148
- package/.history/src/components/JRCModalImg/JRCModalImg_20211103142306.tsx +0 -159
- package/.history/src/components/JRCPagination/JRCPagination.stories_20211116142641.tsx +0 -65
- package/.history/src/components/JRCPagination/JRCPagination.stories_20211116142646.tsx +0 -66
- package/.history/src/components/JRCPagination/JRCPagination_20211103142342.tsx +0 -219
- package/.history/src/components/JRCTag/JRCTag_20211116142631.tsx +0 -149
- package/.history/src/components/JRCThemeProvider/theme-reset_20210615082115.css +0 -254
- package/.history/src/components/JRCThemeProvider/theme-reset_20210615143930.css +0 -253
- package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211103143919.tsx +0 -85
- package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211103144205.tsx +0 -85
- package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211116142619.tsx +0 -86
- package/.history/src/components/JRCTypography/JRCTypography.test_20211103152807.tsx +0 -43
- package/.history/src/components/JRCTypography/JRCTypography.test_20211116142608.tsx +0 -43
- package/.history/src/hooks/UseDidMountEffect_20211103152807.tsx +0 -12
- package/.history/src/hooks/UseDidMountEffect_20211116142601.tsx +0 -12
- package/.history/src/index_20210330171346.tsx +0 -145
- package/.history/src/index_20210330171430.tsx +0 -150
- package/.history/src/index_20210406174244.tsx +0 -151
- package/.history/src/index_20210406174248.tsx +0 -151
- package/.history/src/index_20210406174255.tsx +0 -152
- package/.history/src/index_20210406174317.tsx +0 -152
- package/.history/src/index_20210406174329.tsx +0 -153
- package/.history/src/index_20210412153458.tsx +0 -155
- package/.history/src/index_20210412153503.tsx +0 -155
- package/.history/src/index_20210427113335.tsx +0 -162
- package/.history/src/index_20210427113346.tsx +0 -162
- package/.history/src/index_20210427113356.tsx +0 -163
- package/.history/src/jest/svgTransform_20211103152807.js +0 -9
- package/.history/src/jest/svgTransform_20211117164503.js +0 -10
- package/.history/src/storybook/StorybookContainer/StorybookContainer_20210114075959.scss +0 -22
- package/.history/src/storybook/StorybookContainer/StorybookContainer_20210330170040.scss +0 -23
- package/.history/src/storybook/decorators_20210114075959.tsx +0 -17
- package/.history/src/storybook/decorators_20210430082612.tsx +0 -17
- package/.history/src/storybook/decorators_20210430082629.tsx +0 -13
- package/.history/src/storybook/decorators_20210430082644.tsx +0 -13
- package/.history/src/styles/theme_20211123150650.tsx +0 -167
- package/.history/src/styles/theme_20211123150708.tsx +0 -168
- package/.history/src/styles/theme_20211123150807.tsx +0 -168
- package/.history/src/styles/theme_20211123150905.tsx +0 -180
- package/.history/src/styles/theme_20211123150921.tsx +0 -175
- package/.history/src/styles/theme_20211123150928.tsx +0 -179
- package/.history/src/styles/theme_20211123151003.tsx +0 -178
- package/.history/src/styles/theme_20211123151005.tsx +0 -178
- package/.history/src/styles/theme_20211123151037.tsx +0 -177
- package/.history/src/styles/theme_20211123151145.tsx +0 -179
- package/.history/src/styles/theme_20211123151303.tsx +0 -179
- package/.history/src/styles/theme_20211123151327.tsx +0 -179
- package/.history/src/styles/theme_20211123151413.tsx +0 -170
- package/.history/src/styles/theme_20211123151416.tsx +0 -169
- package/.history/src/styles/theme_20211123151438.tsx +0 -178
- package/.history/src/styles/theme_20211123151505.tsx +0 -169
- package/.history/src/styles/theme_20211123151654.tsx +0 -179
- package/.history/src/styles/theme_20211123151847.tsx +0 -177
- package/.history/src/styles/theme_20211123151924.tsx +0 -173
- package/.history/src/styles/theme_20211123151946.tsx +0 -173
- package/.history/src/styles/theme_20211123151951.tsx +0 -175
- package/.history/src/styles/theme_20211123151959.tsx +0 -175
- package/.history/src/styles/theme_20211123153945.tsx +0 -173
- package/.history/src/styles/theme_20211123153953.tsx +0 -175
- package/.history/src/styles/theme_20211123154113.tsx +0 -175
- package/.history/src/styles/theme_20211125142741.tsx +0 -166
- package/.history/src/styles/utils_20211116141848.tsx +0 -220
- package/.history/src/styles/utils_20211116142330.tsx +0 -220
- package/.history/src/styles/utils_20211116142340.tsx +0 -220
- package/.history/src/styles/utils_20211116142354.tsx +0 -221
- package/.history/src/styles/utils_20211116142407.tsx +0 -222
- package/.history/src/types/react-table-config.d_20211103152807.ts +0 -128
- package/.history/src/types/react-table-config.d_20211116142449.ts +0 -129
- package/.history/src/types/react-table-config.d_20211116142537.ts +0 -127
- package/.history/src/types/react-table-config.d_20211116142544.ts +0 -124
- package/.history/src/types/react-table-config.d_20211116142551.ts +0 -122
- package/.history/src/types/react-table-config.d_20211116142914.ts +0 -123
- package/.history/src/types/react-table-config.d_20211116142918.ts +0 -122
- package/.history/src/types/react-table-config.d_20211116142923.ts +0 -121
- package/.history/src/types/react-table-config.d_20211116142926.ts +0 -120
- package/.history/src/types/react-table-config.d_20211116142929.ts +0 -119
- package/.history/src/types/react-table-config.d_20211116142931.ts +0 -118
- package/.history/src/types/react-table-config.d_20211116142934.ts +0 -117
- package/.history/src/types/react-table-config.d_20211116142935.ts +0 -116
- package/.history/src/types/react-table-config.d_20211116142938.ts +0 -115
- package/.history/src/types/react-table-config.d_20211116142943.ts +0 -114
- package/.history/src/types/react-table-config.d_20211116143050.ts +0 -123
- package/.history/src/utils/test-utils_20211103152807.tsx +0 -40
- package/.history/src/utils/test-utils_20211116142526.tsx +0 -40
- package/.history/src/utils/test-utils_20211116143351.tsx +0 -40
- package/.history/src/utils/test-utils_20211117095711.tsx +0 -40
- package/.history/src/utils/test-utils_20211117095720.tsx +0 -41
- package/.history/tsconfig_20210929171235.json +0 -16
- package/.history/tsconfig_20210929171551.json +0 -16
- package/.history/tsconfig_20210929171715.json +0 -17
- package/.history/tsconfig_20210929171832.json +0 -17
- package/.history/webpack.config_20211109143806.js +0 -70
- package/.history/webpack.config_20211109144159.js +0 -66
- package/.history/webpack.config_20211109144211.js +0 -67
- package/.history/webpack.config_20211109144446.js +0 -67
- package/.history/webpack.config_20211109144537.js +0 -70
- package/.history/webpack.config_20211109144549.js +0 -70
- package/.history/webpack.config_20211109153132.js +0 -69
- package/.history/webpack.config_20211109153209.js +0 -71
- package/.history/webpack.config_20211109153224.js +0 -72
- package/.history/webpack.config_20211109162125.js +0 -72
- package/.history/webpack.config_20211117164435.js +0 -69
- package/.history/webpack.config_20211117164440.js +0 -70
- package/.husky/pre-commit +0 -4
- package/.prettierignore +0 -80
- package/.prettierrc.json +0 -11
- package/.storybook/StorybookContainer/StorybookContainer.css +0 -9
- package/.storybook/StorybookContainer/StorybookContainer.tsx +0 -39
- package/.storybook/main.js +0 -9
- package/.storybook/preview-head.html +0 -8
- package/.storybook/preview.js +0 -21
- package/.storybook/webpack.config.js +0 -25
- package/.vscode/settings.json +0 -9
- package/babel.config.js +0 -15
- package/build/src/components/JRCColumnCenterTitle/JRCColumnCenterTitle.d.ts +0 -12
- package/eslint_report.json +0 -1312
- package/externals.d.ts +0 -4
- package/favicon.ico +0 -0
- package/jest.config.js +0 -16
- package/jest.setup.ts +0 -1
- package/src/assets/check.svg +0 -4
- package/src/assets/error.svg +0 -3
- package/src/components/Common/DashedFocusBorder.tsx +0 -20
- package/src/components/Common/JRCConditionalWrapper.tsx +0 -12
- package/src/components/Common/util/getColor.util.ts +0 -12
- package/src/components/Form/Common/ClickAwayListener.tsx +0 -41
- package/src/components/Form/Common/FormDescription.tsx +0 -9
- package/src/components/Form/Common/FormHelper.tsx +0 -30
- package/src/components/Form/Common/FormLabel.tsx +0 -38
- package/src/components/Form/Common/FormMessageFeedback.tsx +0 -52
- package/src/components/Form/Common/types.ts +0 -31
- package/src/components/Form/Input/Common/JRCFormErrors.tsx +0 -40
- package/src/components/Form/Input/Common/JRCFormFieldRenderer.tsx +0 -85
- package/src/components/Form/Input/Common/JRCFormFieldRenderer.types.tsx +0 -51
- package/src/components/Form/Input/Common/useFormControls.tsx +0 -108
- package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.stories.tsx +0 -38
- package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.tsx +0 -47
- package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.stories.tsx +0 -37
- package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.tsx +0 -25
- package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.stories.tsx +0 -39
- package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.tsx +0 -33
- package/src/components/Form/Input/JRCFormCheckbox/JRCCheckbox.tsx +0 -46
- package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.stories.tsx +0 -61
- package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.tsx +0 -101
- package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.tsx +0 -116
- package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.types.tsx +0 -58
- package/src/components/Form/Input/JRCFormCheckbox/JRCRadio.tsx +0 -27
- package/src/components/Form/Input/JRCFormCheckbox/JRCToggle.tsx +0 -75
- package/src/components/Form/Input/JRCFormColor/JRCFormColor.stories.tsx +0 -26
- package/src/components/Form/Input/JRCFormColor/JRCFormColor.tsx +0 -78
- package/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime.tsx +0 -1079
- package/src/components/Form/Input/JRCFormDateTime/JRCFormInputDateTime.stories.tsx +0 -71
- package/src/components/Form/Input/JRCFormEmail/JRCFormEmail.stories.tsx +0 -22
- package/src/components/Form/Input/JRCFormEmail/JRCFormEmail.tsx +0 -36
- package/src/components/Form/Input/JRCFormEmail/JRCInputEmail.stories.tsx +0 -48
- package/src/components/Form/Input/JRCFormEmail/JRCInputEmail.tsx +0 -26
- package/src/components/Form/Input/JRCFormFieldRender.tsx +0 -115
- package/src/components/Form/Input/JRCFormFile/JRCFormFile.stories.tsx +0 -37
- package/src/components/Form/Input/JRCFormFile/JRCFormFile.styles.tsx +0 -75
- package/src/components/Form/Input/JRCFormFile/JRCFormFile.tsx +0 -169
- package/src/components/Form/Input/JRCFormNumber/JRCFormNumber.stories.tsx +0 -24
- package/src/components/Form/Input/JRCFormNumber/JRCFormNumber.tsx +0 -37
- package/src/components/Form/Input/JRCFormRange/JRCFormRange.stories.tsx +0 -48
- package/src/components/Form/Input/JRCFormRange/JRCFormRange.tsx +0 -106
- package/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.stories.tsx +0 -10
- package/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.tsx +0 -22
- package/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.stories.tsx +0 -23
- package/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.tsx +0 -272
- package/src/components/Form/Input/JRCFormSelect/JRCFormSelect.stories.tsx +0 -104
- package/src/components/Form/Input/JRCFormSelect/JRCFormSelect.tsx +0 -399
- package/src/components/Form/Input/JRCFormSelect/JRCFormSelectTag.tsx +0 -134
- package/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.stories.tsx +0 -10
- package/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.tsx +0 -22
- package/src/components/Form/Input/JRCFormText/JRCFormText.stories.tsx +0 -26
- package/src/components/Form/Input/JRCFormText/JRCFormText.tsx +0 -47
- package/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.stories.tsx +0 -28
- package/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.tsx +0 -71
- package/src/components/Form/Input/JRCFormURL/JRCFormUrl.stories.tsx +0 -26
- package/src/components/Form/Input/JRCFormURL/JRCFormUrl.tsx +0 -35
- package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.stories.tsx +0 -81
- package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.tsx +0 -195
- package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types.ts +0 -27
- package/src/components/Form/Input/JRCInputDate/JRCInputDate.stories.tsx +0 -50
- package/src/components/Form/Input/JRCInputDate/JRCInputDate.tsx +0 -26
- package/src/components/Form/Input/JRCInputText/JRCInputText.stories.tsx +0 -52
- package/src/components/Form/Input/JRCInputText/JRCInputText.tsx +0 -26
- package/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.stories.tsx +0 -52
- package/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.tsx +0 -36
- package/src/components/Form/Input/JRCSelect/JRCAutocomplete.stories.tsx +0 -62
- package/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.stories.tsx +0 -55
- package/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.tsx +0 -34
- package/src/components/Form/Input/JRCSelect/JRCInputAutocomplete.tsx +0 -63
- package/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.tsx +0 -66
- package/src/components/Form/Input/JRCSelect/JRCInputSelect.style.tsx +0 -94
- package/src/components/Form/Input/JRCSelect/JRCInputSelect.tsx +0 -231
- package/src/components/Form/Input/JRCSelect/JRCInputSelect.types.ts +0 -51
- package/src/components/Form/Input/JRCSelect/JRCInputSelect.utils.ts +0 -92
- package/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.tsx +0 -83
- package/src/components/Form/Input/JRCStyledInput.tsx +0 -102
- package/src/components/Form/Input/ReduxFormControls.ts +0 -135
- package/src/components/Form/Input/temporary.types.tsx +0 -22
- package/src/components/JRCAlert/JRCAlert.stories.tsx +0 -62
- package/src/components/JRCAlert/JRCAlert.tsx +0 -135
- package/src/components/JRCAppContainer/JRCAppContainer.tsx +0 -19
- package/src/components/JRCAppHeader/JRCAppHeader.stories.tsx +0 -25
- package/src/components/JRCAppHeader/JRCAppHeader.styles.tsx +0 -23
- package/src/components/JRCAppHeader/JRCAppHeader.tsx +0 -26
- package/src/components/JRCAppHeader/JRCAppHeader.types.tsx +0 -6
- package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.tsx +0 -125
- package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.tsx +0 -122
- package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.tsx +0 -129
- package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.tsx +0 -61
- package/src/components/JRCAppLeftColumn/JRCDefaultMenu.tsx +0 -34
- package/src/components/JRCAvatar/JRCAvatar.stories.tsx +0 -30
- package/src/components/JRCAvatar/JRCAvatar.test.tsx +0 -22
- package/src/components/JRCAvatar/JRCAvatar.tsx +0 -91
- package/src/components/JRCButton/JRCButton.stories.tsx +0 -311
- package/src/components/JRCButton/JRCButton.test.tsx +0 -34
- package/src/components/JRCButton/JRCButton.tsx +0 -126
- package/src/components/JRCButton/JRCButtonConfig.tsx +0 -150
- package/src/components/JRCButton/JRCValidationButton.tsx +0 -91
- package/src/components/JRCButton/__snapshots__/JRCButton.test.tsx.snap +0 -13
- package/src/components/JRCButtonDropdown/JRCButtonDropdown.stories.tsx +0 -289
- package/src/components/JRCButtonDropdown/JRCButtonDropdown.tsx +0 -170
- package/src/components/JRCCard/JRCCard.stories.tsx +0 -17
- package/src/components/JRCCard/JRCCard.tsx +0 -29
- package/src/components/JRCColumnCenter/JRCColumnCenter.tsx +0 -13
- package/src/components/JRCColumnCenterTitle/JRCColumnCenterTitle.tsx +0 -26
- package/src/components/JRCColumnLeft/JRCColumnLeft.tsx +0 -17
- package/src/components/JRCColumnRight/JRCColumnRight.tsx +0 -17
- package/src/components/JRCDate/JRCDate.stories.tsx +0 -11
- package/src/components/JRCDate/JRCDate.tsx +0 -32
- package/src/components/JRCDropDown/JRCDropDown.stories.tsx +0 -16
- package/src/components/JRCDropDown/JRCDropDown.tsx +0 -75
- package/src/components/JRCEllipsis/JRCEllipsis.stories.tsx +0 -18
- package/src/components/JRCEllipsis/JRCEllipsis.tsx +0 -22
- package/src/components/JRCFileOpen/JRCFileOpen.tsx +0 -195
- package/src/components/JRCFileOpen/extensions.tsx +0 -14
- package/src/components/JRCGrid/JRCGrid.stories.tsx +0 -45
- package/src/components/JRCGrid/JRCGrid.tsx +0 -15
- package/src/components/JRCHref/JRCHref.stories.tsx +0 -35
- package/src/components/JRCHref/JRCHref.tsx +0 -67
- package/src/components/JRCIcon/JRCIcon.stories.tsx +0 -1040
- package/src/components/JRCIcon/JRCIcon.tsx +0 -51
- package/src/components/JRCIcon/fonts.d.ts +0 -5
- package/src/components/JRCIconButton/JRCIconButton.stories.tsx +0 -33
- package/src/components/JRCIconButton/JRCIconButton.tsx +0 -97
- package/src/components/JRCImg/JRCImg.stories.tsx +0 -18
- package/src/components/JRCImg/JRCImg.test.tsx +0 -13
- package/src/components/JRCImg/JRCImg.tsx +0 -60
- package/src/components/JRCImg/url.util.ts +0 -109
- package/src/components/JRCImg/url.utils.test.ts +0 -80
- package/src/components/JRCList/JRCList.stories.tsx +0 -98
- package/src/components/JRCList/JRCList.styles.tsx +0 -227
- package/src/components/JRCList/JRCList.tsx +0 -217
- package/src/components/JRCList/JRCListMockData.stories.tsx +0 -105
- package/src/components/JRCLoader/JRCLoader.stories.tsx +0 -17
- package/src/components/JRCLoader/JRCLoader.tsx +0 -53
- package/src/components/JRCLoader/JRCSkeleton.tsx +0 -77
- package/src/components/JRCMenu/JRCMenu.stories.tsx +0 -29
- package/src/components/JRCMenu/JRCMenu.tsx +0 -80
- package/src/components/JRCMenuItem/JRCMenuItem.tsx +0 -51
- package/src/components/JRCModal/JRCModal.stories.tsx +0 -206
- package/src/components/JRCModal/JRCModal.styles.tsx +0 -73
- package/src/components/JRCModal/JRCModal.tsx +0 -204
- package/src/components/JRCModalImg/JRCModalImg.stories.tsx +0 -119
- package/src/components/JRCModalImg/JRCModalImg.styles.tsx +0 -83
- package/src/components/JRCModalImg/JRCModalImg.tsx +0 -140
- package/src/components/JRCPagination/JRCPagination.stories.tsx +0 -42
- package/src/components/JRCPagination/JRCPagination.test.tsx +0 -79
- package/src/components/JRCPagination/JRCPagination.tsx +0 -194
- package/src/components/JRCTabs/JRCTabItem +0 -0
- package/src/components/JRCTabs/JRCTabs.stories.tsx +0 -121
- package/src/components/JRCTabs/JRCTabs.tsx +0 -165
- package/src/components/JRCTag/JRCTag.stories.tsx +0 -26
- package/src/components/JRCTag/JRCTag.tsx +0 -140
- package/src/components/JRCThemeProvider/JRCThemeProvider.tsx +0 -26
- package/src/components/JRCThemeProvider/animation.css +0 -46
- package/src/components/JRCThemeProvider/font.css +0 -12
- package/src/components/JRCThemeProvider/fontawesome-icons.css +0 -10
- package/src/components/JRCThemeProvider/fontspot-icons.css +0 -10
- package/src/components/JRCThemeProvider/gabarit.css +0 -96
- package/src/components/JRCThemeProvider/scrollbar.css +0 -18
- package/src/components/JRCThemeProvider/theme-reset.css +0 -246
- package/src/components/JRCTooltip/JRCTooltip.stories.tsx +0 -87
- package/src/components/JRCTooltip/JRCTooltip.tsx +0 -148
- package/src/components/JRCTypo/JRCTypo.stories.tsx +0 -42
- package/src/components/JRCTypo/JRCTypo.tsx +0 -91
- package/src/components/JRCTypography/JRCTypography.d.tsx +0 -29
- package/src/components/JRCTypography/JRCTypography.stories.tsx +0 -18
- package/src/components/JRCTypography/JRCTypography.styles.tsx +0 -18
- package/src/components/JRCTypography/JRCTypography.test.tsx +0 -38
- package/src/components/JRCTypography/JRCTypography.tsx +0 -5
- package/src/components/JRCTypography/__snapshots__/JRCTypography.test.tsx.snap +0 -11
- package/src/hooks/UseDebounce.ts +0 -25
- package/src/hooks/UseDidMountEffect.tsx +0 -10
- package/src/hooks/UseTimeout.ts +0 -24
- package/src/index.tsx +0 -204
- package/src/jest/EmptyModule.js +0 -0
- package/src/jest/svgTransform.js +0 -10
- package/src/storybook/decorators.tsx +0 -17
- package/src/styles/Theme.stories.tsx +0 -265
- package/src/styles/theme.d.ts +0 -6
- package/src/styles/theme.tsx +0 -202
- package/src/styles/utils.tsx +0 -221
- package/src/translation/index.tsx +0 -2
- package/src/translation/lang.json +0 -30
- package/src/types/dataAttributes.ts +0 -7
- package/src/types/react-table-config.d.ts +0 -123
- package/src/types.ts +0 -99
- package/src/utils/const.ts +0 -9
- package/src/utils/test-utils.tsx +0 -41
- package/src/utils/types.tsx +0 -35
- package/src/utils/utils.date.test.tsx +0 -14
- package/src/utils/utils.date.tsx +0 -20
- package/src/utils/utils.document.tsx +0 -54
- package/src/utils/utils.object.test.tsx +0 -38
- package/src/utils/utils.object.tsx +0 -71
- package/src/utils/utils.regexp.test.ts +0 -11
- package/src/utils/utils.regexp.tsx +0 -8
- package/src/utils/utils.string.test.ts +0 -18
- package/src/utils/utils.string.ts +0 -7
- package/tsconfig.json +0 -18
- package/webpack.config.js +0 -70
package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142825.tsx
DELETED
|
@@ -1,1095 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Field, FieldArray } from 'redux-form';
|
|
3
|
-
import { StyledDescription, JRCWritableFormInputProps } from '../JRCFormFieldRender';
|
|
4
|
-
import FormLabel from '../../Common/FormLabel';
|
|
5
|
-
import { ControlsProps, useControls } from '../ReduxFormControls';
|
|
6
|
-
import { useIntl } from 'react-intl';
|
|
7
|
-
import styled from 'styled-components';
|
|
8
|
-
import moment from 'moment';
|
|
9
|
-
|
|
10
|
-
export type JRCFormDateTimeInputCustomProps = React.ComponentPropsWithoutRef<'input'>;
|
|
11
|
-
|
|
12
|
-
export interface JRCFormDateTimeCustomMulti {
|
|
13
|
-
isMulti?: boolean;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export type JRCFormDateTimeCustomFieldProps = JRCFormDateTimeInputCustomProps &
|
|
17
|
-
ControlsProps &
|
|
18
|
-
JRCFormDateTimeCustomMulti;
|
|
19
|
-
|
|
20
|
-
export interface JRCFormDateTimeCustomProps {
|
|
21
|
-
input?: any;
|
|
22
|
-
label?: string | JSX.Element;
|
|
23
|
-
htmlFor?: string;
|
|
24
|
-
description?: string;
|
|
25
|
-
range?: boolean;
|
|
26
|
-
isMulti?: boolean;
|
|
27
|
-
start?: string;
|
|
28
|
-
end?: string;
|
|
29
|
-
name?: string;
|
|
30
|
-
id?: string;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
const Container = styled.div`
|
|
34
|
-
position: absolute;
|
|
35
|
-
max-width: 300px;
|
|
36
|
-
top: 32px;
|
|
37
|
-
padding: 0px 10px;
|
|
38
|
-
border: 1px solid #657786;
|
|
39
|
-
border-radius: 5px;
|
|
40
|
-
background-color: white;
|
|
41
|
-
z-index: 99;
|
|
42
|
-
`;
|
|
43
|
-
|
|
44
|
-
const DaysStyled = styled.div`
|
|
45
|
-
display: flex;
|
|
46
|
-
flex: 1;
|
|
47
|
-
flex-wrap: wrap;
|
|
48
|
-
flex-direction: row;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
align-items: center;
|
|
51
|
-
`;
|
|
52
|
-
|
|
53
|
-
const DayStyled = styled.div`
|
|
54
|
-
width: calc(100% / 7);
|
|
55
|
-
display: flex;
|
|
56
|
-
font-size: 16;
|
|
57
|
-
color: black;
|
|
58
|
-
align-items: center;
|
|
59
|
-
justify-content: center;
|
|
60
|
-
padding: 8px 0px;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
&:hover {
|
|
63
|
-
background-color: #f5f8fa;
|
|
64
|
-
}
|
|
65
|
-
`;
|
|
66
|
-
|
|
67
|
-
const HeadingStyled = styled.div`
|
|
68
|
-
display: flex;
|
|
69
|
-
flex: 1;
|
|
70
|
-
width: 100%;
|
|
71
|
-
flex-direction: row;
|
|
72
|
-
justify-content: space-between;
|
|
73
|
-
alignitems: center;
|
|
74
|
-
padding: 15px;
|
|
75
|
-
border-top-right-radius: 12px;
|
|
76
|
-
border-top-left-radius: 12px;
|
|
77
|
-
`;
|
|
78
|
-
|
|
79
|
-
const HeadingDate = styled.span`
|
|
80
|
-
display: flex;
|
|
81
|
-
flexdirection: row;
|
|
82
|
-
flex: 1;
|
|
83
|
-
`;
|
|
84
|
-
|
|
85
|
-
const HeadingFormat = styled.span`
|
|
86
|
-
fontsize: 16;
|
|
87
|
-
color: #657786;
|
|
88
|
-
margin-right: 10px;
|
|
89
|
-
text-transform: capitalize;
|
|
90
|
-
`;
|
|
91
|
-
|
|
92
|
-
const Labels = styled.div`
|
|
93
|
-
width: calc(100% / 7);
|
|
94
|
-
display: flex;
|
|
95
|
-
font-size: 16;
|
|
96
|
-
color: black;
|
|
97
|
-
align-items: center;
|
|
98
|
-
justify-content: center;
|
|
99
|
-
padding: 8px 0px;
|
|
100
|
-
`;
|
|
101
|
-
|
|
102
|
-
const Label = styled.span`
|
|
103
|
-
font-size: 16px;
|
|
104
|
-
`;
|
|
105
|
-
|
|
106
|
-
const Arrow = styled.span`
|
|
107
|
-
font-size: 28px;
|
|
108
|
-
color: #aab8c2;
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
&:hover {
|
|
111
|
-
color: #657786;
|
|
112
|
-
}
|
|
113
|
-
`;
|
|
114
|
-
|
|
115
|
-
const Bullet = styled.span`
|
|
116
|
-
font-size: 22px;
|
|
117
|
-
transform: translateY(2px);
|
|
118
|
-
color: #aab8c2;
|
|
119
|
-
padding-right: 8px;
|
|
120
|
-
padding-left: 8px;
|
|
121
|
-
cursor: pointer;
|
|
122
|
-
&:hover {
|
|
123
|
-
color: #657786;
|
|
124
|
-
}
|
|
125
|
-
`;
|
|
126
|
-
|
|
127
|
-
const EditDisplay = styled.div`
|
|
128
|
-
display: flex;
|
|
129
|
-
flex-direction: row;
|
|
130
|
-
justify-content: space-between;
|
|
131
|
-
align-items: center;
|
|
132
|
-
`;
|
|
133
|
-
|
|
134
|
-
const ContainerSelect = styled.div`
|
|
135
|
-
position: relative;
|
|
136
|
-
display: flex;
|
|
137
|
-
flex: 1;
|
|
138
|
-
width: 100%;
|
|
139
|
-
flex-direction: row;
|
|
140
|
-
flex-wrap: wrap;
|
|
141
|
-
justify-content: center;
|
|
142
|
-
align-items: center;
|
|
143
|
-
`;
|
|
144
|
-
|
|
145
|
-
const HideSelect = styled.select`
|
|
146
|
-
width: 50%;
|
|
147
|
-
font-size: 0px;
|
|
148
|
-
margin: 15px 0px;
|
|
149
|
-
text-align: center;
|
|
150
|
-
text-align-last: center;
|
|
151
|
-
-moz-text-align-last: center;
|
|
152
|
-
border: 0px;
|
|
153
|
-
outline: 0px;
|
|
154
|
-
height: 30px;
|
|
155
|
-
border: 1px solid #e3e3e3;
|
|
156
|
-
-webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
|
|
157
|
-
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
|
158
|
-
box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
|
|
159
|
-
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
160
|
-
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
161
|
-
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
162
|
-
transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
163
|
-
@-moz-document url-prefix() {
|
|
164
|
-
-moz-appearance: none;
|
|
165
|
-
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
|
|
166
|
-
no-repeat center right;
|
|
167
|
-
}
|
|
168
|
-
`;
|
|
169
|
-
|
|
170
|
-
const SelectedMonth = styled.div`
|
|
171
|
-
padding: 5px 15px;
|
|
172
|
-
margin-right: 5px;
|
|
173
|
-
margin-bottom: 5px;
|
|
174
|
-
border-radius: 15px;
|
|
175
|
-
cursor: pointer;
|
|
176
|
-
&:hover {
|
|
177
|
-
background-color: #aab8c2 !important;
|
|
178
|
-
}
|
|
179
|
-
`;
|
|
180
|
-
|
|
181
|
-
const ContainerMonth = styled.div`
|
|
182
|
-
display: flex;
|
|
183
|
-
flex: 1;
|
|
184
|
-
flex-directyion: row;
|
|
185
|
-
flex-wrap: wrap;
|
|
186
|
-
justify-content: center;
|
|
187
|
-
align-items: center;
|
|
188
|
-
margin: 5px 0px;
|
|
189
|
-
`;
|
|
190
|
-
|
|
191
|
-
const DoubleDot = styled.span`
|
|
192
|
-
padding: 0px 1px;
|
|
193
|
-
`;
|
|
194
|
-
|
|
195
|
-
const ContainerHours = styled.div`
|
|
196
|
-
position: absolute;
|
|
197
|
-
transform: translate(0%, 0px);
|
|
198
|
-
-webkit-transform: translate(0%, 0px);
|
|
199
|
-
-ms-transform: translate(0%, 0px);
|
|
200
|
-
`;
|
|
201
|
-
|
|
202
|
-
const InputSchedule = styled.input`
|
|
203
|
-
width: 35px;
|
|
204
|
-
margin: 0px !important;
|
|
205
|
-
padding: 0px !important;
|
|
206
|
-
text-align: center;
|
|
207
|
-
border: none !important;
|
|
208
|
-
box-shadow: none !important;
|
|
209
|
-
-moz-appearance: textfield;
|
|
210
|
-
&::-webkit-inner-spin-button {
|
|
211
|
-
-webkit-appearance: none !important;
|
|
212
|
-
margin: 0 !important;
|
|
213
|
-
}
|
|
214
|
-
`;
|
|
215
|
-
|
|
216
|
-
const InputDate = styled.div`
|
|
217
|
-
display: flex;
|
|
218
|
-
flex-direction: row;
|
|
219
|
-
justify-content: space-between;
|
|
220
|
-
align-items: center;
|
|
221
|
-
padding: 6px 10px;
|
|
222
|
-
max-width: 300px;
|
|
223
|
-
width: 100%;
|
|
224
|
-
background-color: #fff;
|
|
225
|
-
border-radius: 4px;
|
|
226
|
-
border: 1px solid #e3e3e3;
|
|
227
|
-
-webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
|
|
228
|
-
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
|
229
|
-
box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
|
|
230
|
-
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
231
|
-
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
232
|
-
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
233
|
-
transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
234
|
-
`;
|
|
235
|
-
|
|
236
|
-
const SpanDate = styled.span`
|
|
237
|
-
color: #657786;
|
|
238
|
-
`;
|
|
239
|
-
|
|
240
|
-
const IconDate = styled.div`
|
|
241
|
-
height: 18px;
|
|
242
|
-
cursor: pointer;
|
|
243
|
-
margin-left: 8px;
|
|
244
|
-
`;
|
|
245
|
-
|
|
246
|
-
const InputMultiDateTime = styled.div`
|
|
247
|
-
display: flex;
|
|
248
|
-
flex-direction: row;
|
|
249
|
-
justify-content: space-between;
|
|
250
|
-
align-items: flex-start;
|
|
251
|
-
padding: 6px 10px;
|
|
252
|
-
background-color: #fff;
|
|
253
|
-
border-radius: 4px;
|
|
254
|
-
border: 1px solid #e3e3e3;
|
|
255
|
-
-webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
|
|
256
|
-
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
|
257
|
-
box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
|
|
258
|
-
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
259
|
-
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
260
|
-
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
261
|
-
transition: border linear 0.2s, box-shadow linear 0.2s;
|
|
262
|
-
`;
|
|
263
|
-
|
|
264
|
-
const MultiDateTime = styled.div`
|
|
265
|
-
display: flex;
|
|
266
|
-
flex-wrap: wrap;
|
|
267
|
-
flex-direction: row;
|
|
268
|
-
justify-content: flex-start;
|
|
269
|
-
align-items: baseline;
|
|
270
|
-
`;
|
|
271
|
-
|
|
272
|
-
const IconPlus = styled.div`
|
|
273
|
-
display: flex;
|
|
274
|
-
flex-direction: row;
|
|
275
|
-
justify-content: center;
|
|
276
|
-
align-items: center;
|
|
277
|
-
padding: 7px 11px;
|
|
278
|
-
background-color: #e3e3e3;
|
|
279
|
-
border-radius: 4px;
|
|
280
|
-
cursor: pointer;
|
|
281
|
-
&:hover {
|
|
282
|
-
background-color: #aab8c2;
|
|
283
|
-
}
|
|
284
|
-
`;
|
|
285
|
-
|
|
286
|
-
const IconCross = styled.div`
|
|
287
|
-
display: flex;
|
|
288
|
-
flex-direction: row;
|
|
289
|
-
justify-content: center;
|
|
290
|
-
align-items: center;
|
|
291
|
-
height: 25px;
|
|
292
|
-
width: 25px;
|
|
293
|
-
padding-top: 2px;
|
|
294
|
-
padding-right: 1px;
|
|
295
|
-
margin: 3px 2px;
|
|
296
|
-
background-color: #e3e3e3;
|
|
297
|
-
border-radius: 50%;
|
|
298
|
-
cursor: pointer;
|
|
299
|
-
&:hover {
|
|
300
|
-
background-color: #aab8c2;
|
|
301
|
-
}
|
|
302
|
-
`;
|
|
303
|
-
|
|
304
|
-
const ContainerMulti = styled.div`
|
|
305
|
-
display: flex;
|
|
306
|
-
flex-direction: row;
|
|
307
|
-
`;
|
|
308
|
-
|
|
309
|
-
type MouseEvents = 'click' | 'mousedown' | 'mouseup';
|
|
310
|
-
type TouchEvents = 'touchstart' | 'touchend';
|
|
311
|
-
|
|
312
|
-
interface ClickAwayListenerProps extends React.HTMLAttributes<HTMLElement> {
|
|
313
|
-
onClickAway: (event: MouseEvent | TouchEvent) => void;
|
|
314
|
-
mouseEvent?: MouseEvents;
|
|
315
|
-
touchEvent?: TouchEvents;
|
|
316
|
-
as?: React.ElementType;
|
|
317
|
-
}
|
|
318
|
-
const ClickAwayListener: React.FunctionComponent<ClickAwayListenerProps> = ({
|
|
319
|
-
as = 'div',
|
|
320
|
-
onClickAway,
|
|
321
|
-
mouseEvent = 'click',
|
|
322
|
-
touchEvent = 'touchend',
|
|
323
|
-
...props
|
|
324
|
-
}: ClickAwayListenerProps) => {
|
|
325
|
-
const node = React.useRef<HTMLElement>(null);
|
|
326
|
-
React.useEffect(() => {
|
|
327
|
-
const handleEvents = (event: MouseEvent | TouchEvent): void => {
|
|
328
|
-
if (node.current && node.current.contains(event.target as Node)) {
|
|
329
|
-
return;
|
|
330
|
-
}
|
|
331
|
-
onClickAway(event);
|
|
332
|
-
};
|
|
333
|
-
document.addEventListener(mouseEvent, handleEvents);
|
|
334
|
-
document.addEventListener(touchEvent, handleEvents);
|
|
335
|
-
return () => {
|
|
336
|
-
document.removeEventListener(mouseEvent, handleEvents);
|
|
337
|
-
document.removeEventListener(touchEvent, handleEvents);
|
|
338
|
-
};
|
|
339
|
-
}, [mouseEvent, onClickAway, touchEvent]);
|
|
340
|
-
|
|
341
|
-
return React.createElement(as, { ref: node, ...props });
|
|
342
|
-
};
|
|
343
|
-
|
|
344
|
-
const Minute = ({ input, selectedMinute, setSelectedMinute, selectedHour, startDate, endDate, ranged }: any) => {
|
|
345
|
-
const handleChangeMinute = (event: any) => {
|
|
346
|
-
if (event.target.value >= 0 && event.target.value <= 59) {
|
|
347
|
-
let m = '';
|
|
348
|
-
let value = event.target.value;
|
|
349
|
-
|
|
350
|
-
if (event.target.value.length > 2) {
|
|
351
|
-
value = event.target.value.slice(-2);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
if (value === '0') {
|
|
355
|
-
m = '00';
|
|
356
|
-
} else if (value === '1') {
|
|
357
|
-
m = '01';
|
|
358
|
-
} else if (value === '2') {
|
|
359
|
-
m = '02';
|
|
360
|
-
} else if (value === '3') {
|
|
361
|
-
m = '03';
|
|
362
|
-
} else if (value === '4') {
|
|
363
|
-
m = '04';
|
|
364
|
-
} else if (value === '5') {
|
|
365
|
-
m = '05';
|
|
366
|
-
} else if (value === '6') {
|
|
367
|
-
m = '06';
|
|
368
|
-
} else if (value === '7') {
|
|
369
|
-
m = '07';
|
|
370
|
-
} else if (value === '8') {
|
|
371
|
-
m = '08';
|
|
372
|
-
} else if (value === '9') {
|
|
373
|
-
m = '09';
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
setSelectedMinute(value);
|
|
377
|
-
if (input !== undefined) {
|
|
378
|
-
!ranged
|
|
379
|
-
? input.onChange(`${startDate.format('YYYY-MM-DD')}T${selectedHour}:${value}`)
|
|
380
|
-
: input.onChange([
|
|
381
|
-
`${startDate.format('YYYY-MM-DD')}T${selectedHour}:${value}`,
|
|
382
|
-
`${endDate.format('YYYY-MM-DD')}T${selectedHour}:${value}`,
|
|
383
|
-
]);
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
if (m !== '') {
|
|
387
|
-
setSelectedMinute(m);
|
|
388
|
-
if (input !== undefined) {
|
|
389
|
-
!ranged
|
|
390
|
-
? input.onChange(`${startDate.format('YYYY-MM-DD')}T${selectedHour}:${m}`)
|
|
391
|
-
: input.onChange([
|
|
392
|
-
`${startDate.format('YYYY-MM-DD')}T${selectedHour}:${m}`,
|
|
393
|
-
`${endDate.format('YYYY-MM-DD')}T${selectedHour}:${m}`,
|
|
394
|
-
]);
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
} else if (event.target.value > 59) {
|
|
398
|
-
setSelectedMinute('59');
|
|
399
|
-
if (input !== undefined) {
|
|
400
|
-
!ranged
|
|
401
|
-
? input.onChange(`${startDate.format('YYYY-MM-DD')}T${selectedHour}:59`)
|
|
402
|
-
: input.onChange([
|
|
403
|
-
`${startDate.format('YYYY-MM-DD')}T${selectedHour}:59`,
|
|
404
|
-
`${endDate.format('YYYY-MM-DD')}T${selectedHour}:59`,
|
|
405
|
-
]);
|
|
406
|
-
}
|
|
407
|
-
} else {
|
|
408
|
-
setSelectedMinute('00');
|
|
409
|
-
if (input !== undefined) {
|
|
410
|
-
!ranged
|
|
411
|
-
? input.onChange(`${startDate.format('YYYY-MM-DD')}T${selectedHour}:00`)
|
|
412
|
-
: input.onChange([
|
|
413
|
-
`${startDate.format('YYYY-MM-DD')}T${selectedHour}:00`,
|
|
414
|
-
`${endDate.format('YYYY-MM-DD')}T${selectedHour}:00`,
|
|
415
|
-
]);
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
};
|
|
419
|
-
|
|
420
|
-
return (
|
|
421
|
-
<InputSchedule
|
|
422
|
-
key="minute"
|
|
423
|
-
name="minute"
|
|
424
|
-
type="number"
|
|
425
|
-
value={selectedMinute}
|
|
426
|
-
onChange={handleChangeMinute}
|
|
427
|
-
min="0"
|
|
428
|
-
max="59"
|
|
429
|
-
/>
|
|
430
|
-
);
|
|
431
|
-
};
|
|
432
|
-
|
|
433
|
-
const Hour = ({
|
|
434
|
-
input,
|
|
435
|
-
setSelectedHours,
|
|
436
|
-
setSelectedHour,
|
|
437
|
-
selectedMinute,
|
|
438
|
-
selectedHour,
|
|
439
|
-
startDate,
|
|
440
|
-
endDate,
|
|
441
|
-
ranged,
|
|
442
|
-
}: any) => {
|
|
443
|
-
const handleChangeHour = (event: any) => {
|
|
444
|
-
if (event.target.value >= 0 && event.target.value <= 23) {
|
|
445
|
-
let h = '';
|
|
446
|
-
let value = event.target.value;
|
|
447
|
-
|
|
448
|
-
if (event.target.value.length > 2) {
|
|
449
|
-
value = event.target.value.slice(-2);
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
if (value === '0') {
|
|
453
|
-
h = '00';
|
|
454
|
-
} else if (value === '1') {
|
|
455
|
-
h = '01';
|
|
456
|
-
} else if (value === '2') {
|
|
457
|
-
h = '02';
|
|
458
|
-
} else if (value === '3') {
|
|
459
|
-
h = '03';
|
|
460
|
-
} else if (value === '4') {
|
|
461
|
-
h = '04';
|
|
462
|
-
} else if (value === '5') {
|
|
463
|
-
h = '05';
|
|
464
|
-
} else if (value === '6') {
|
|
465
|
-
h = '06';
|
|
466
|
-
} else if (value === '7') {
|
|
467
|
-
h = '07';
|
|
468
|
-
} else if (value === '8') {
|
|
469
|
-
h = '08';
|
|
470
|
-
} else if (value === '9') {
|
|
471
|
-
h = '09';
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
setSelectedHours(`${value}:00`);
|
|
475
|
-
setSelectedHour(value);
|
|
476
|
-
if (input !== undefined) {
|
|
477
|
-
!ranged
|
|
478
|
-
? input.onChange(`${startDate.format('YYYY-MM-DD')}T${value}:${selectedMinute}`)
|
|
479
|
-
: input.onChange([
|
|
480
|
-
`${startDate.format('YYYY-MM-DD')}T${value}:${selectedMinute}`,
|
|
481
|
-
`${endDate.format('YYYY-MM-DD')}T${value}:${selectedMinute}`,
|
|
482
|
-
]);
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
if (h !== '') {
|
|
486
|
-
setSelectedHours(`${h}:00`);
|
|
487
|
-
setSelectedHour(h);
|
|
488
|
-
if (input !== undefined) {
|
|
489
|
-
!ranged
|
|
490
|
-
? input.onChange(`${startDate.format('YYYY-MM-DD')}T${selectedHour}:${h}`)
|
|
491
|
-
: input.onChange([
|
|
492
|
-
`${startDate.format('YYYY-MM-DD')}T${selectedHour}:${h}`,
|
|
493
|
-
`${endDate.format('YYYY-MM-DD')}T${selectedHour}:${h}`,
|
|
494
|
-
]);
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
} else if (event.target.value > 23) {
|
|
498
|
-
setSelectedHours(`23:${selectedMinute}`);
|
|
499
|
-
setSelectedHour(`23`);
|
|
500
|
-
if (input !== undefined) {
|
|
501
|
-
!ranged
|
|
502
|
-
? input.onChange(`${startDate.format('YYYY-MM-DD')}T23:${selectedMinute}`)
|
|
503
|
-
: input.onChange([
|
|
504
|
-
`${startDate.format('YYYY-MM-DD')}T23:${selectedMinute}`,
|
|
505
|
-
`${endDate.format('YYYY-MM-DD')}T23:${selectedMinute}`,
|
|
506
|
-
]);
|
|
507
|
-
}
|
|
508
|
-
} else {
|
|
509
|
-
setSelectedHours(`00:${selectedMinute}`);
|
|
510
|
-
setSelectedHour(`00`);
|
|
511
|
-
if (input !== undefined) {
|
|
512
|
-
!ranged
|
|
513
|
-
? input.onChange(`${startDate.format('YYYY-MM-DD')}T23:${selectedMinute}`)
|
|
514
|
-
: input.onChange([
|
|
515
|
-
`${startDate.format('YYYY-MM-DD')}T23:${selectedMinute}`,
|
|
516
|
-
`${endDate.format('YYYY-MM-DD')}T00:${selectedMinute}`,
|
|
517
|
-
]);
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
};
|
|
521
|
-
|
|
522
|
-
return (
|
|
523
|
-
<InputSchedule
|
|
524
|
-
key="hour"
|
|
525
|
-
name="hour"
|
|
526
|
-
type="number"
|
|
527
|
-
value={selectedHour}
|
|
528
|
-
onChange={handleChangeHour}
|
|
529
|
-
min="0"
|
|
530
|
-
max="23"
|
|
531
|
-
/>
|
|
532
|
-
);
|
|
533
|
-
};
|
|
534
|
-
|
|
535
|
-
const Hours = ({
|
|
536
|
-
input,
|
|
537
|
-
setSelectedHours,
|
|
538
|
-
setSelectedHour,
|
|
539
|
-
setSelectedMinute,
|
|
540
|
-
selectedHours,
|
|
541
|
-
startDate,
|
|
542
|
-
endDate,
|
|
543
|
-
ranged,
|
|
544
|
-
}: any) => {
|
|
545
|
-
const hours = new Array(24).fill(0).reduce((acc, cur, index) => {
|
|
546
|
-
return acc.concat([
|
|
547
|
-
moment({ hour: index }).format('HH:mm'),
|
|
548
|
-
moment({ hour: index, minute: 30 }).format('HH:mm'),
|
|
549
|
-
]);
|
|
550
|
-
}, []);
|
|
551
|
-
|
|
552
|
-
const handleChange = (event: any) => {
|
|
553
|
-
setSelectedHours(event.target.value);
|
|
554
|
-
setSelectedHour(event.target.value.charAt(0) + event.target.value.charAt(1));
|
|
555
|
-
setSelectedMinute(event.target.value.charAt(3) + event.target.value.charAt(4));
|
|
556
|
-
if (input !== undefined) {
|
|
557
|
-
!ranged
|
|
558
|
-
? input.onChange(`${startDate.format('YYYY-MM-DD')}T${event.target.value}`)
|
|
559
|
-
: input.onChange([
|
|
560
|
-
`${startDate.format('YYYY-MM-DD')}T${event.target.value}`,
|
|
561
|
-
`${endDate.format('YYYY-MM-DD')}T${event.target.value}`,
|
|
562
|
-
]);
|
|
563
|
-
}
|
|
564
|
-
};
|
|
565
|
-
|
|
566
|
-
return (
|
|
567
|
-
<HideSelect value={selectedHours} onChange={handleChange}>
|
|
568
|
-
{hours.map((ho: string, i: number) => (
|
|
569
|
-
<option key={`${i}_${ho}`} value={ho}>
|
|
570
|
-
{ho}
|
|
571
|
-
</option>
|
|
572
|
-
))}
|
|
573
|
-
</HideSelect>
|
|
574
|
-
);
|
|
575
|
-
};
|
|
576
|
-
|
|
577
|
-
const SelectMonth = ({ m, selectedMonth, changeMonth, i }: any) => {
|
|
578
|
-
let className: any = {};
|
|
579
|
-
|
|
580
|
-
if (m == selectedMonth) {
|
|
581
|
-
className = {
|
|
582
|
-
backgroundColor: '#657786',
|
|
583
|
-
color: 'white',
|
|
584
|
-
fontWeight: '400',
|
|
585
|
-
};
|
|
586
|
-
} else {
|
|
587
|
-
className = {
|
|
588
|
-
backgroundColor: '#E1E8ED',
|
|
589
|
-
};
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
return (
|
|
593
|
-
<SelectedMonth
|
|
594
|
-
style={{ ...className }}
|
|
595
|
-
onClick={() => {
|
|
596
|
-
moment().set('month', i);
|
|
597
|
-
changeMonth(i);
|
|
598
|
-
}}>
|
|
599
|
-
{m}
|
|
600
|
-
</SelectedMonth>
|
|
601
|
-
);
|
|
602
|
-
};
|
|
603
|
-
|
|
604
|
-
const Months = ({ selectedMonth, changeMonth, switchs }: any) => (
|
|
605
|
-
<ContainerMonth style={switchs ? { display: 'none' } : { display: 'flex' }}>
|
|
606
|
-
{moment.months().map((m: string, i: number) => (
|
|
607
|
-
<SelectMonth key={i} m={m} i={i} selectedMonth={selectedMonth} changeMonth={changeMonth} />
|
|
608
|
-
))}
|
|
609
|
-
</ContainerMonth>
|
|
610
|
-
);
|
|
611
|
-
|
|
612
|
-
const HeadingMonth = ({ date, changeMonth, switchs, setSwitchs }: any) => (
|
|
613
|
-
<HeadingStyled style={switchs ? { display: 'flex' } : { display: 'none' }}>
|
|
614
|
-
<HeadingDate>
|
|
615
|
-
<HeadingFormat>{date.format('MMMM')}</HeadingFormat>
|
|
616
|
-
<HeadingFormat>{date.format('YYYY')}</HeadingFormat>
|
|
617
|
-
</HeadingDate>
|
|
618
|
-
|
|
619
|
-
<EditDisplay>
|
|
620
|
-
<Arrow onClick={() => changeMonth(date.month() - 1)}>‹</Arrow>
|
|
621
|
-
<Bullet onClick={() => setSwitchs(!switchs)}>•</Bullet>
|
|
622
|
-
<Arrow onClick={() => changeMonth(date.month() + 1)}>›</Arrow>
|
|
623
|
-
</EditDisplay>
|
|
624
|
-
</HeadingStyled>
|
|
625
|
-
);
|
|
626
|
-
|
|
627
|
-
const HeadingYear = ({ date, changeYear, switchs, setSwitchs }: any) => (
|
|
628
|
-
<HeadingStyled style={switchs ? { display: 'none' } : { display: 'flex' }}>
|
|
629
|
-
<HeadingDate>
|
|
630
|
-
<HeadingFormat>{date.format('YYYY')}</HeadingFormat>
|
|
631
|
-
</HeadingDate>
|
|
632
|
-
|
|
633
|
-
<EditDisplay>
|
|
634
|
-
<Arrow onClick={() => changeYear(date.year() - 1)}>‹</Arrow>
|
|
635
|
-
<Bullet onClick={() => setSwitchs(!switchs)}>•</Bullet>
|
|
636
|
-
<Arrow onClick={() => changeYear(date.year() + 1)}>›</Arrow>
|
|
637
|
-
</EditDisplay>
|
|
638
|
-
</HeadingStyled>
|
|
639
|
-
);
|
|
640
|
-
|
|
641
|
-
const DateTime = ({ input, range, start, end, isMulti, name }: JRCFormDateTimeCustomProps) => {
|
|
642
|
-
const ranged = range || false;
|
|
643
|
-
moment.locale(window.navigator.language);
|
|
644
|
-
const [display, setDisplay] = React.useState(false);
|
|
645
|
-
const [switchs, setSwitchs] = React.useState(true);
|
|
646
|
-
const [selectedHours, setSelectedHours] = React.useState(
|
|
647
|
-
typeof input.value === 'string' && input.value !== '' ? input.value.slice(-5) : `00:00`,
|
|
648
|
-
);
|
|
649
|
-
const [selectedHour, setSelectedHour] = React.useState(
|
|
650
|
-
typeof input.value === 'string' && input.value !== '' ? input.value.slice(11, 13) : `00`,
|
|
651
|
-
);
|
|
652
|
-
const [selectedMinute, setSelectedMinute] = React.useState(
|
|
653
|
-
typeof input.value === 'string' && input.value !== '' ? input.value.slice(-2) : `00`,
|
|
654
|
-
);
|
|
655
|
-
const [selectedMonth, setSelectedMonth] = React.useState(
|
|
656
|
-
typeof input.value === 'string' && input.value !== ''
|
|
657
|
-
? moment()
|
|
658
|
-
.month(parseInt(input.value.slice(6, 7)) - 1)
|
|
659
|
-
.format('MMMM')
|
|
660
|
-
: `MM`,
|
|
661
|
-
);
|
|
662
|
-
const inputDate =
|
|
663
|
-
typeof input.value === 'string' && input.value !== '' && moment(input.value.slice(0, 10)).isValid()
|
|
664
|
-
? moment(input.value.slice(0, 10))
|
|
665
|
-
: undefined;
|
|
666
|
-
const [date, setDate] = React.useState(inputDate ? inputDate : moment());
|
|
667
|
-
//const current = moment();
|
|
668
|
-
const s = start ? moment(start).isValid() : false;
|
|
669
|
-
const e = end ? moment(end).isValid() : false;
|
|
670
|
-
const [startDate, setStartDate] = React.useState(s ? moment(start) : null);
|
|
671
|
-
const [endDate, setEndDate] = React.useState(e ? moment(end) : null);
|
|
672
|
-
|
|
673
|
-
const changeDisplay = () => {
|
|
674
|
-
setDisplay(!display);
|
|
675
|
-
};
|
|
676
|
-
|
|
677
|
-
const resetDate = () => {
|
|
678
|
-
setDate(moment());
|
|
679
|
-
};
|
|
680
|
-
|
|
681
|
-
const changeYear = (year: number) => {
|
|
682
|
-
const d = date.clone();
|
|
683
|
-
d.year(year);
|
|
684
|
-
setDate(d);
|
|
685
|
-
};
|
|
686
|
-
|
|
687
|
-
const changeMonth = (month: number) => {
|
|
688
|
-
const d = date.clone();
|
|
689
|
-
d.month(month);
|
|
690
|
-
setDate(d);
|
|
691
|
-
const newMonth = d.format('MMMM');
|
|
692
|
-
setSelectedMonth(newMonth);
|
|
693
|
-
};
|
|
694
|
-
|
|
695
|
-
const changeDate = (date: any) => {
|
|
696
|
-
let start = null;
|
|
697
|
-
let end = null;
|
|
698
|
-
if (ranged) {
|
|
699
|
-
let start = startDate.clone();
|
|
700
|
-
let end = endDate.clone();
|
|
701
|
-
if (ranged) {
|
|
702
|
-
if (startDate === null || date.isBefore(startDate, 'day') || !startDate.isSame(endDate, 'day')) {
|
|
703
|
-
start = moment(date);
|
|
704
|
-
end = moment(date);
|
|
705
|
-
} else if (date.isSame(startDate, 'day') && date.isSame(endDate, 'day')) {
|
|
706
|
-
start = null;
|
|
707
|
-
end = null;
|
|
708
|
-
} else if (date.isAfter(startDate, 'day')) {
|
|
709
|
-
end = moment(date);
|
|
710
|
-
}
|
|
711
|
-
} else {
|
|
712
|
-
start = moment(date);
|
|
713
|
-
end = moment(date);
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
setStartDate(start);
|
|
717
|
-
setEndDate(end);
|
|
718
|
-
} else {
|
|
719
|
-
start = date.clone();
|
|
720
|
-
end = date.clone();
|
|
721
|
-
}
|
|
722
|
-
if (input !== undefined) {
|
|
723
|
-
!ranged
|
|
724
|
-
? input.onChange(`${start.format('YYYY-MM-DD')}T${selectedHours}`)
|
|
725
|
-
: input.onChange([
|
|
726
|
-
`${start.format('YYYY-MM-DD')}T${selectedHours}`,
|
|
727
|
-
`${end.format('YYYY-MM-DD')}T${selectedHours}`,
|
|
728
|
-
]);
|
|
729
|
-
setDate(date);
|
|
730
|
-
}
|
|
731
|
-
};
|
|
732
|
-
|
|
733
|
-
const Day = ({ currentDate, date, startDate, endDate, onClick }: any) => {
|
|
734
|
-
let className: any = {};
|
|
735
|
-
|
|
736
|
-
if (moment().isSame(date, 'day')) {
|
|
737
|
-
className = {
|
|
738
|
-
...className,
|
|
739
|
-
fontWeight: 'normal',
|
|
740
|
-
};
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
if (date.isSame(startDate, 'day')) {
|
|
744
|
-
className = {
|
|
745
|
-
...className,
|
|
746
|
-
backgroundColor: '#AAB8C2',
|
|
747
|
-
borderTopLeftRadius: '12px',
|
|
748
|
-
borderBottomLeftRadius: '12px',
|
|
749
|
-
fontWeight: 'normal',
|
|
750
|
-
color: 'white',
|
|
751
|
-
};
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
if (date.isBetween(startDate, endDate, 'day')) {
|
|
755
|
-
className = {
|
|
756
|
-
...className,
|
|
757
|
-
backgroundColor: '#E1E8ED',
|
|
758
|
-
fontWeight: 'normal',
|
|
759
|
-
color: 'white',
|
|
760
|
-
};
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
if (date.isSame(endDate, 'day')) {
|
|
764
|
-
className = {
|
|
765
|
-
...className,
|
|
766
|
-
backgroundColor: '#AAB8C2',
|
|
767
|
-
borderBottomRightRadius: '12px',
|
|
768
|
-
borderTopRightRadius: '12px',
|
|
769
|
-
fontWeight: 'normal',
|
|
770
|
-
color: 'white',
|
|
771
|
-
};
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
if (!date.isSame(currentDate, 'month')) {
|
|
775
|
-
className = {
|
|
776
|
-
...className,
|
|
777
|
-
fontWeight: 'normal',
|
|
778
|
-
color: 'rgba(0, 0, 0, 0.2)',
|
|
779
|
-
};
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
if (date.isSame(currentDate, 'day') && date.isSame(currentDate, 'month')) {
|
|
783
|
-
className = {
|
|
784
|
-
...className,
|
|
785
|
-
fontWeight: '900',
|
|
786
|
-
color: 'black',
|
|
787
|
-
};
|
|
788
|
-
if (startDate == null && endDate == null)
|
|
789
|
-
className = {
|
|
790
|
-
...className,
|
|
791
|
-
backgroundColor: '#E1E8ED',
|
|
792
|
-
borderRadius: '12px',
|
|
793
|
-
};
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
return (
|
|
797
|
-
<DayStyled style={{ ...className }} onClick={() => onClick(date)}>
|
|
798
|
-
<span
|
|
799
|
-
style={{ ...className }}
|
|
800
|
-
// currentDate={date}
|
|
801
|
-
>
|
|
802
|
-
{date.date()}
|
|
803
|
-
</span>
|
|
804
|
-
</DayStyled>
|
|
805
|
-
);
|
|
806
|
-
};
|
|
807
|
-
|
|
808
|
-
const Days = ({ date, startDate, endDate, onClick }: any) => {
|
|
809
|
-
const thisDate = moment(date);
|
|
810
|
-
const daysInMonth = moment(date).daysInMonth();
|
|
811
|
-
const firstDayDate = moment(date).startOf('month');
|
|
812
|
-
const previousMonth = moment(date).subtract(1, 'month');
|
|
813
|
-
const previousMonthDays = previousMonth.daysInMonth();
|
|
814
|
-
const nextsMonth = moment(date).add(1, 'month');
|
|
815
|
-
const days = [];
|
|
816
|
-
const labels = [];
|
|
817
|
-
|
|
818
|
-
for (let i = 1; i <= 7; i++) {
|
|
819
|
-
labels.push(
|
|
820
|
-
<Labels key={i}>
|
|
821
|
-
<Label>{moment().day(i).format('dd')}</Label>
|
|
822
|
-
</Labels>,
|
|
823
|
-
);
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
for (let i = firstDayDate.day(); i > 1; i--) {
|
|
827
|
-
previousMonth.date(previousMonthDays - i + 2);
|
|
828
|
-
|
|
829
|
-
days.push(
|
|
830
|
-
<Day
|
|
831
|
-
key={moment(previousMonth).format('DD MM YYYY')}
|
|
832
|
-
onClick={(date: any) => onClick(date)}
|
|
833
|
-
currentDate={date}
|
|
834
|
-
date={moment(previousMonth)}
|
|
835
|
-
startDate={startDate}
|
|
836
|
-
endDate={endDate}
|
|
837
|
-
/>,
|
|
838
|
-
);
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
for (let i = 1; i <= daysInMonth; i++) {
|
|
842
|
-
thisDate.date(i);
|
|
843
|
-
|
|
844
|
-
days.push(
|
|
845
|
-
<Day
|
|
846
|
-
key={moment(thisDate).format('DD MM YYYY')}
|
|
847
|
-
onClick={(date: any) => onClick(date)}
|
|
848
|
-
currentDate={date}
|
|
849
|
-
date={moment(thisDate)}
|
|
850
|
-
startDate={startDate}
|
|
851
|
-
endDate={endDate}
|
|
852
|
-
/>,
|
|
853
|
-
);
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
const daysCount = days.length;
|
|
857
|
-
for (let i = 1; i <= 42 - daysCount; i++) {
|
|
858
|
-
nextsMonth.date(i);
|
|
859
|
-
days.push(
|
|
860
|
-
<Day
|
|
861
|
-
key={moment(nextsMonth).format('DD MM YYYY')}
|
|
862
|
-
onClick={(date: any) => onClick(date)}
|
|
863
|
-
currentDate={date}
|
|
864
|
-
date={moment(nextsMonth)}
|
|
865
|
-
startDate={startDate}
|
|
866
|
-
endDate={endDate}
|
|
867
|
-
/>,
|
|
868
|
-
);
|
|
869
|
-
}
|
|
870
|
-
return (
|
|
871
|
-
<DaysStyled style={switchs ? { display: 'flex' } : { display: 'none' }}>
|
|
872
|
-
{labels.concat()}
|
|
873
|
-
{days.concat()}
|
|
874
|
-
</DaysStyled>
|
|
875
|
-
);
|
|
876
|
-
};
|
|
877
|
-
|
|
878
|
-
const handleClickAway = () => {
|
|
879
|
-
setDisplay(false);
|
|
880
|
-
};
|
|
881
|
-
|
|
882
|
-
const className: any = {
|
|
883
|
-
display: 'flex',
|
|
884
|
-
flexDirection: 'column',
|
|
885
|
-
justifyContent: 'flex-start',
|
|
886
|
-
alignItems: 'flex-start',
|
|
887
|
-
position: 'relative',
|
|
888
|
-
};
|
|
889
|
-
return (
|
|
890
|
-
<ClickAwayListener onClickAway={handleClickAway} style={className} key={`ClickAwayListener-${name}`}>
|
|
891
|
-
<InputDate>
|
|
892
|
-
<SpanDate>
|
|
893
|
-
{inputDate ? date.format('YYYY-MM-DD') : `YYYY-MM-DD`} {selectedHour}:{selectedMinute}
|
|
894
|
-
</SpanDate>
|
|
895
|
-
<IconDate onClick={changeDisplay}>
|
|
896
|
-
<svg
|
|
897
|
-
version="1.1"
|
|
898
|
-
id="Capa_3"
|
|
899
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
900
|
-
x="0px"
|
|
901
|
-
y="0px"
|
|
902
|
-
width="18px"
|
|
903
|
-
height="18px"
|
|
904
|
-
viewBox="0 0 36.447 36.447"
|
|
905
|
-
enableBackground="new 0 0 36.447 36.447">
|
|
906
|
-
<g>
|
|
907
|
-
<g>
|
|
908
|
-
<path
|
|
909
|
-
d="M30.224,3.948h-1.098V2.75c0-1.517-1.197-2.75-2.67-2.75c-1.474,0-2.67,1.233-2.67,2.75v1.197h-2.74V2.75
|
|
910
|
-
c0-1.517-1.197-2.75-2.67-2.75c-1.473,0-2.67,1.233-2.67,2.75v1.197h-2.74V2.75c0-1.517-1.197-2.75-2.67-2.75
|
|
911
|
-
c-1.473,0-2.67,1.233-2.67,2.75v1.197H6.224c-2.343,0-4.25,1.907-4.25,4.25v24c0,2.343,1.907,4.25,4.25,4.25h24
|
|
912
|
-
c2.344,0,4.25-1.907,4.25-4.25v-24C34.474,5.855,32.567,3.948,30.224,3.948z M25.286,2.75c0-0.689,0.525-1.25,1.17-1.25
|
|
913
|
-
c0.646,0,1.17,0.561,1.17,1.25v4.896c0,0.689-0.524,1.25-1.17,1.25c-0.645,0-1.17-0.561-1.17-1.25V2.75z M17.206,2.75
|
|
914
|
-
c0-0.689,0.525-1.25,1.17-1.25s1.17,0.561,1.17,1.25v4.896c0,0.689-0.525,1.25-1.17,1.25s-1.17-0.561-1.17-1.25V2.75z M9.125,2.75
|
|
915
|
-
c0-0.689,0.525-1.25,1.17-1.25s1.17,0.561,1.17,1.25v4.896c0,0.689-0.525,1.25-1.17,1.25s-1.17-0.561-1.17-1.25V2.75z
|
|
916
|
-
M31.974,32.198c0,0.965-0.785,1.75-1.75,1.75h-24c-0.965,0-1.75-0.785-1.75-1.75v-22h27.5V32.198z"
|
|
917
|
-
/>
|
|
918
|
-
<rect x="6.724" y="14.626" width="4.595" height="4.089" />
|
|
919
|
-
<rect x="12.857" y="14.626" width="4.596" height="4.089" />
|
|
920
|
-
<rect x="18.995" y="14.626" width="4.595" height="4.089" />
|
|
921
|
-
<rect x="25.128" y="14.626" width="4.596" height="4.089" />
|
|
922
|
-
<rect x="6.724" y="20.084" width="4.595" height="4.086" />
|
|
923
|
-
<rect x="12.857" y="20.084" width="4.596" height="4.086" />
|
|
924
|
-
<rect x="18.995" y="20.084" width="4.595" height="4.086" />
|
|
925
|
-
<rect x="25.128" y="20.084" width="4.596" height="4.086" />
|
|
926
|
-
<rect x="6.724" y="25.54" width="4.595" height="4.086" />
|
|
927
|
-
<rect x="12.857" y="25.54" width="4.596" height="4.086" />
|
|
928
|
-
<rect x="18.995" y="25.54" width="4.595" height="4.086" />
|
|
929
|
-
<rect x="25.128" y="25.54" width="4.596" height="4.086" />
|
|
930
|
-
</g>
|
|
931
|
-
</g>
|
|
932
|
-
</svg>
|
|
933
|
-
</IconDate>
|
|
934
|
-
</InputDate>
|
|
935
|
-
{display && (
|
|
936
|
-
<Container style={isMulti ? { minWidth: '300px' } : { maxWidth: '300px' }}>
|
|
937
|
-
<div>
|
|
938
|
-
<HeadingMonth
|
|
939
|
-
switchs={switchs}
|
|
940
|
-
setSwitchs={setSwitchs}
|
|
941
|
-
date={date}
|
|
942
|
-
changeMonth={(month: any, e: any) => changeMonth(month)}
|
|
943
|
-
resetDate={() => resetDate()}
|
|
944
|
-
/>
|
|
945
|
-
<Days
|
|
946
|
-
onClick={(date: any) => changeDate(date)}
|
|
947
|
-
date={date}
|
|
948
|
-
startDate={startDate}
|
|
949
|
-
endDate={endDate}
|
|
950
|
-
/>
|
|
951
|
-
|
|
952
|
-
<HeadingYear
|
|
953
|
-
changeYear={changeYear}
|
|
954
|
-
switchs={switchs}
|
|
955
|
-
setSwitchs={setSwitchs}
|
|
956
|
-
date={date}
|
|
957
|
-
resetDate={() => resetDate()}
|
|
958
|
-
/>
|
|
959
|
-
<Months selectedMonth={selectedMonth} changeMonth={changeMonth} switchs={switchs} />
|
|
960
|
-
</div>
|
|
961
|
-
|
|
962
|
-
<ContainerSelect>
|
|
963
|
-
<ContainerHours>
|
|
964
|
-
<Hour
|
|
965
|
-
input={input}
|
|
966
|
-
setSelectedHour={setSelectedHour}
|
|
967
|
-
setSelectedHours={setSelectedHours}
|
|
968
|
-
selectedMinute={selectedMinute}
|
|
969
|
-
selectedHour={selectedHour}
|
|
970
|
-
startDate={startDate}
|
|
971
|
-
endDate={endDate}
|
|
972
|
-
ranged={ranged}
|
|
973
|
-
/>
|
|
974
|
-
<DoubleDot>:</DoubleDot>
|
|
975
|
-
<Minute
|
|
976
|
-
input={input}
|
|
977
|
-
setSelectedMinute={setSelectedMinute}
|
|
978
|
-
selectedHour={selectedHour}
|
|
979
|
-
selectedMinute={selectedMinute}
|
|
980
|
-
startDate={startDate}
|
|
981
|
-
endDate={endDate}
|
|
982
|
-
ranged={ranged}
|
|
983
|
-
/>
|
|
984
|
-
</ContainerHours>
|
|
985
|
-
<Hours
|
|
986
|
-
input={input}
|
|
987
|
-
setSelectedHours={setSelectedHours}
|
|
988
|
-
setSelectedHour={setSelectedHour}
|
|
989
|
-
setSelectedMinute={setSelectedMinute}
|
|
990
|
-
selectedHours={selectedHours}
|
|
991
|
-
startDate={startDate}
|
|
992
|
-
endDate={endDate}
|
|
993
|
-
ranged={ranged}
|
|
994
|
-
/>
|
|
995
|
-
</ContainerSelect>
|
|
996
|
-
</Container>
|
|
997
|
-
)}
|
|
998
|
-
</ClickAwayListener>
|
|
999
|
-
);
|
|
1000
|
-
};
|
|
1001
|
-
|
|
1002
|
-
export const JRCFormDateTimeCustomMulti = (props: any) => {
|
|
1003
|
-
const { fields } = props;
|
|
1004
|
-
|
|
1005
|
-
return (
|
|
1006
|
-
<InputMultiDateTime>
|
|
1007
|
-
<MultiDateTime>
|
|
1008
|
-
{fields.map((f: any, i: number) => (
|
|
1009
|
-
<ContainerMulti key={`multi-${i}`}>
|
|
1010
|
-
<Field name={f} component={DateTime} {...props} id={i} />
|
|
1011
|
-
<IconCross
|
|
1012
|
-
onClick={() => {
|
|
1013
|
-
fields.remove(i);
|
|
1014
|
-
}}>
|
|
1015
|
-
✕
|
|
1016
|
-
</IconCross>
|
|
1017
|
-
</ContainerMulti>
|
|
1018
|
-
))}
|
|
1019
|
-
</MultiDateTime>
|
|
1020
|
-
{fields.length < 3 && <IconPlus onClick={() => fields.push('')}>+</IconPlus>}
|
|
1021
|
-
</InputMultiDateTime>
|
|
1022
|
-
);
|
|
1023
|
-
};
|
|
1024
|
-
|
|
1025
|
-
export const JRCFormDateTimeCustom = (props: JRCFormDateTimeCustomProps) => {
|
|
1026
|
-
const multi = props.isMulti || false;
|
|
1027
|
-
return (
|
|
1028
|
-
<React.Fragment>
|
|
1029
|
-
<FormLabel htmlFor={props.htmlFor}>{props.label}</FormLabel>
|
|
1030
|
-
{multi ? <JRCFormDateTimeCustomMulti {...props} /> : <DateTime {...props} id="single" />}
|
|
1031
|
-
{props.description && <StyledDescription>{props.description}</StyledDescription>}
|
|
1032
|
-
</React.Fragment>
|
|
1033
|
-
);
|
|
1034
|
-
};
|
|
1035
|
-
|
|
1036
|
-
// export const JRCFormDateTimeCustomField = (props: JRCFormDateTimeCustomProps) => {
|
|
1037
|
-
// const intl = useIntl();
|
|
1038
|
-
// const validate = useControls({ ...props, intl });
|
|
1039
|
-
// const multi = props.isMulti || false;
|
|
1040
|
-
// return (
|
|
1041
|
-
// <React.Fragment>
|
|
1042
|
-
// {multi ? (
|
|
1043
|
-
// <FieldArray
|
|
1044
|
-
// component={JRCFormDateTimeCustom}
|
|
1045
|
-
// name={props.name}
|
|
1046
|
-
// validate={validate}
|
|
1047
|
-
// {...props}
|
|
1048
|
-
// />
|
|
1049
|
-
// ) : (
|
|
1050
|
-
// <Field
|
|
1051
|
-
// component={JRCFormDateTimeCustom}
|
|
1052
|
-
// name={props.name}
|
|
1053
|
-
// validate={validate}
|
|
1054
|
-
// {...props}
|
|
1055
|
-
// />
|
|
1056
|
-
// )}
|
|
1057
|
-
// </React.Fragment>
|
|
1058
|
-
// );
|
|
1059
|
-
// };
|
|
1060
|
-
|
|
1061
|
-
export interface JRCFormDateProps extends JRCWritableFormInputProps {
|
|
1062
|
-
range?: boolean;
|
|
1063
|
-
isMulti?: boolean;
|
|
1064
|
-
start?: string;
|
|
1065
|
-
end?: string;
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
/**
|
|
1069
|
-
* Component used as a <input type="text"/>
|
|
1070
|
-
* @param props JRCFormDateProps
|
|
1071
|
-
* validation props: minValue, maxValue, required
|
|
1072
|
-
* @returns JSX.Element
|
|
1073
|
-
*/
|
|
1074
|
-
export const JRCFormDatetimeField = (props: JRCFormDateProps) => {
|
|
1075
|
-
const validate = useControls({
|
|
1076
|
-
intl: useIntl(),
|
|
1077
|
-
required: props.required,
|
|
1078
|
-
});
|
|
1079
|
-
return (
|
|
1080
|
-
<>
|
|
1081
|
-
{props.isMulti ? (
|
|
1082
|
-
<FieldArray component={JRCFormDateTimeCustom} name={props.name} validate={validate} {...props} />
|
|
1083
|
-
) : (
|
|
1084
|
-
<Field component={JRCFormDateTimeCustom} name={props.name} validate={validate} {...props} />
|
|
1085
|
-
)}
|
|
1086
|
-
</>
|
|
1087
|
-
// <Field
|
|
1088
|
-
// component={JRCFormFieldRender}
|
|
1089
|
-
// renderInputFct={(input: WrappedFieldInputProps) => JRCFormDateTimeCustom(props, input)}
|
|
1090
|
-
// validate={validate}
|
|
1091
|
-
// htmlFor={props.name}
|
|
1092
|
-
// {...props}
|
|
1093
|
-
// />
|
|
1094
|
-
);
|
|
1095
|
-
};
|