diginet-core-ui 1.3.24
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/assets/avatar/default.svg +3 -0
- package/assets/images/menu/dhr/Default.svg +13 -0
- package/assets/images/menu/dhr/MHRM00N0001.svg +14 -0
- package/assets/images/menu/dhr/MHRM09N0001.svg +1 -0
- package/assets/images/menu/dhr/MHRM09N0002.svg +3 -0
- package/assets/images/menu/dhr/MHRM09N0003.svg +25 -0
- package/assets/images/menu/dhr/MHRM25N0001.svg +26 -0
- package/assets/images/menu/dhr/MHRM29N0001.svg +30 -0
- package/assets/images/menu/dhr/MHRM29N0015.svg +63 -0
- package/assets/images/menu/dhr/MHRM39N0012.svg +43 -0
- package/assets/images/menu/dhr/MHRM39N0013.svg +24 -0
- package/assets/images/menu/dhr/MHRM39N0014.svg +14 -0
- package/assets/images/menu/dhr/MHRM39N0015.svg +36 -0
- package/assets/images/menu/dhr/MHRM39N0016.svg +23 -0
- package/assets/images/menu/dhr/MHRM77N0001.svg +28 -0
- package/assets/images/menu/dhr/MHRM84N0001.svg +27 -0
- package/assets/images/menu/dhr/MHRM84N0002.svg +24 -0
- package/assets/images/menu/dhr/MHRM89N0001.svg +16 -0
- package/assets/images/menu/dhr/MHRP00N0001.svg +10 -0
- package/assets/images/menu/dhr/MHRP09N0001.svg +22 -0
- package/assets/images/menu/dhr/MHRP09N0002.svg +19 -0
- package/assets/images/menu/dhr/MHRP09N0003.svg +12 -0
- package/assets/images/menu/dhr/MHRP09N0004.svg +6 -0
- package/assets/images/menu/dhr/MHRP09N0005.svg +10 -0
- package/assets/images/menu/dhr/MHRP09N0006.svg +17 -0
- package/assets/images/menu/dhr/MHRP09N0007.svg +15 -0
- package/assets/images/menu/dhr/MHRP09N0008.svg +8 -0
- package/assets/images/menu/dhr/MHRP09N0009.svg +10 -0
- package/assets/images/menu/dhr/MHRP09N0010.svg +12 -0
- package/assets/images/menu/dhr/MHRP09N0011.svg +16 -0
- package/assets/images/menu/dhr/MHRP09N0012.svg +6 -0
- package/assets/images/menu/dhr/MHRP09N0013.svg +8 -0
- package/assets/images/menu/dhr/MHRP09N0014.svg +11 -0
- package/assets/images/menu/dhr/MHRP09N0015.svg +12 -0
- package/assets/images/menu/dhr/MHRP09N0016.svg +18 -0
- package/assets/images/menu/dhr/MHRP09N0017.svg +18 -0
- package/assets/images/menu/dhr/MHRP09N0018.svg +12 -0
- package/assets/images/menu/dhr/MHRP09N0019.svg +13 -0
- package/assets/images/menu/dhr/MHRP09N0020.svg +17 -0
- package/assets/images/menu/dhr/MHRP09N0021.svg +10 -0
- package/assets/images/menu/dhr/MHRP09N0022.svg +16 -0
- package/assets/images/menu/dhr/MHRP09N0023.svg +8 -0
- package/assets/images/menu/dhr/MHRP09N0024.svg +15 -0
- package/assets/images/menu/dhr/MHRP09N0025.svg +16 -0
- package/assets/images/menu/dhr/MHRP09N0026.svg +13 -0
- package/assets/images/menu/dhr/MHRP09N0027.svg +10 -0
- package/assets/images/menu/dhr/MHRP13N0001.svg +9 -0
- package/assets/images/menu/dhr/MHRP21N0001.svg +12 -0
- package/assets/images/menu/dhr/MHRP21N0002.svg +13 -0
- package/assets/images/menu/dhr/MHRP25N0001.svg +13 -0
- package/assets/images/menu/dhr/MHRP25N0002.svg +16 -0
- package/assets/images/menu/dhr/MHRP25N0003.svg +38 -0
- package/assets/images/menu/dhr/MHRP25N0004.svg +17 -0
- package/assets/images/menu/dhr/MHRP25N0005.svg +20 -0
- package/assets/images/menu/dhr/MHRP29N0001.svg +18 -0
- package/assets/images/menu/dhr/MHRP29N0002.svg +15 -0
- package/assets/images/menu/dhr/MHRP29N0003.svg +20 -0
- package/assets/images/menu/dhr/MHRP29N0004.svg +21 -0
- package/assets/images/menu/dhr/MHRP29N0005.svg +21 -0
- package/assets/images/menu/dhr/MHRP29N0006.svg +14 -0
- package/assets/images/menu/dhr/MHRP29N0007.svg +19 -0
- package/assets/images/menu/dhr/MHRP29N0008.svg +20 -0
- package/assets/images/menu/dhr/MHRP29N0009.svg +11 -0
- package/assets/images/menu/dhr/MHRP29N0010.svg +11 -0
- package/assets/images/menu/dhr/MHRP29N0011.svg +12 -0
- package/assets/images/menu/dhr/MHRP29N0013.svg +27 -0
- package/assets/images/menu/dhr/MHRP29N0014.svg +32 -0
- package/assets/images/menu/dhr/MHRP29N0016.svg +54 -0
- package/assets/images/menu/dhr/MHRP29N0017.svg +24 -0
- package/assets/images/menu/dhr/MHRP29N0018.svg +44 -0
- package/assets/images/menu/dhr/MHRP29N0019.svg +17 -0
- package/assets/images/menu/dhr/MHRP29N0020.svg +11 -0
- package/assets/images/menu/dhr/MHRP38N0001.svg +13 -0
- package/assets/images/menu/dhr/MHRP38N0002.svg +14 -0
- package/assets/images/menu/dhr/MHRP39N0001.svg +15 -0
- package/assets/images/menu/dhr/MHRP39N0002.svg +13 -0
- package/assets/images/menu/dhr/MHRP39N0003.svg +16 -0
- package/assets/images/menu/dhr/MHRP39N0004.svg +22 -0
- package/assets/images/menu/dhr/MHRP39N0005.svg +16 -0
- package/assets/images/menu/dhr/MHRP39N0006.svg +17 -0
- package/assets/images/menu/dhr/MHRP39N0007.svg +13 -0
- package/assets/images/menu/dhr/MHRP39N0008.svg +3 -0
- package/assets/images/menu/dhr/MHRP39N0009.svg +3 -0
- package/assets/images/menu/dhr/MHRP39N0010.svg +7 -0
- package/assets/images/menu/dhr/MHRP39N0011.svg +14 -0
- package/assets/images/menu/dhr/MHRP39N0013.svg +10 -0
- package/assets/images/menu/dhr/MHRP39N0014.svg +11 -0
- package/assets/images/menu/dhr/MHRP39N1222.svg +12 -0
- package/assets/images/menu/dhr/MHRP51N0001.svg +9 -0
- package/assets/images/menu/dhr/MHRP51N0002.svg +13 -0
- package/assets/images/menu/dhr/MHRP52N0001.svg +21 -0
- package/assets/images/menu/dhr/MHRP52N0002.svg +21 -0
- package/assets/images/menu/dhr/MHRP52N0003.svg +16 -0
- package/assets/images/menu/dhr/MHRP75N0001.svg +19 -0
- package/assets/images/menu/dhr/MHRP75N0002.svg +25 -0
- package/assets/images/menu/dhr/MHRP75N0003.svg +3 -0
- package/assets/images/menu/dhr/MHRP75N0006.svg +14 -0
- package/assets/images/menu/dhr/MHRP75N0007.svg +19 -0
- package/assets/images/menu/dhr/MHRP75N0008.svg +19 -0
- package/assets/images/menu/dhr/MHRP77N0007.svg +28 -0
- package/assets/images/menu/dhr/MHRP77N0008.svg +17 -0
- package/assets/images/menu/dhr/MHRP77N0009.svg +19 -0
- package/assets/images/menu/dhr/MHRP77N0010.svg +20 -0
- package/assets/images/menu/dhr/MHRP89N1000.svg +6 -0
- package/assets/images/menu/dhr/MHRP89N1001.svg +6 -0
- package/assets/images/menu/dhr/W00F0001.svg +3 -0
- package/assets/images/menu/dhr/W00F0002.svg +3 -0
- package/assets/images/menu/dhr/W00F0003.svg +3 -0
- package/assets/images/menu/dhr/W00F0004.svg +3 -0
- package/assets/images/menu/dhr/W00F0005.svg +1 -0
- package/assets/images/menu/dhr/W09F2000-WEB5.svg +17 -0
- package/assets/images/menu/dhr/W09F2000.svg +6 -0
- package/assets/images/menu/dhr/W09F2002-WEB5.svg +21 -0
- package/assets/images/menu/dhr/W09F2005-WEB5.svg +13 -0
- package/assets/images/menu/dhr/W09F2020-WEB5.svg +16 -0
- package/assets/images/menu/dhr/W09F2022-WEB5.svg +20 -0
- package/assets/images/menu/dhr/W09F2150-WEB5.svg +16 -0
- package/assets/images/menu/dhr/W09F2152-WEB5.svg +20 -0
- package/assets/images/menu/dhr/W09F2160-WEB5.svg +14 -0
- package/assets/images/menu/dhr/W09F2162-WEB5.svg +18 -0
- package/assets/images/menu/dhr/W29F4006-WEB5.svg +19 -0
- package/assets/images/menu/dhr/W75F2260-WEB5.svg +15 -0
- package/assets/images/menu/dhr/W75F2261-WEB5.svg +19 -0
- package/assets/images/menu/dhr/W75F3005-WEB5.svg +13 -0
- package/assets/images/menu/dhr/W75F4070-WEB5.svg +21 -0
- package/assets/images/menu/dhr/W75F4071-WEB5.svg +17 -0
- package/assets/images/menu/dhr/W75F4100-WEB5.svg +14 -0
- package/assets/images/menu/dhr/W77F1011.svg +19 -0
- package/assets/images/menu/dhr/W77F1013.svg +22 -0
- package/assets/images/menu/erp/W00F0001.svg +3 -0
- package/assets/images/menu/erp/W00F0002.svg +3 -0
- package/assets/images/menu/erp/W00F0003.svg +3 -0
- package/assets/images/menu/erp/W00F0004.svg +3 -0
- package/assets/images/menu/erp/W05F0001.svg +16 -0
- package/assets/images/menu/erp/W05F0001N0000.svg +16 -0
- package/assets/images/menu/erp/W05F0004N0000.svg +6 -0
- package/assets/images/menu/erp/W05F0006.svg +30 -0
- package/assets/images/menu/erp/W05F0007N0000.svg +6 -0
- package/assets/images/menu/erp/W05F0008.svg +14 -0
- package/assets/images/menu/erp/W05F4000.svg +9 -0
- package/assets/images/menu/erp/W06F0001.svg +17 -0
- package/assets/images/menu/erp/W06F0001N0000.svg +17 -0
- package/assets/images/menu/erp/W06F0004N0000.svg +22 -0
- package/assets/images/menu/erp/W06F0005.svg +22 -0
- package/assets/images/menu/erp/W06F0006.svg +55 -0
- package/assets/images/menu/erp/W06F0008.svg +17 -0
- package/assets/images/menu/erp/WA3F1025.svg +5 -0
- package/assets/images/menu/erp/WA3F2100.svg +10 -0
- package/components/accordion/context.js +6 -0
- package/components/accordion/css.js +159 -0
- package/components/accordion/details.js +60 -0
- package/components/accordion/group.js +122 -0
- package/components/accordion/index.js +117 -0
- package/components/accordion/summary.js +175 -0
- package/components/alert/index.js +264 -0
- package/components/alert/notify.js +192 -0
- package/components/avatar/index.js +556 -0
- package/components/badge/index.js +223 -0
- package/components/button/icon.js +493 -0
- package/components/button/index.js +653 -0
- package/components/button/more.js +135 -0
- package/components/button/ripple-effect.js +85 -0
- package/components/card/body-card.js +67 -0
- package/components/card/card.js +127 -0
- package/components/card/context.js +6 -0
- package/components/card/index.js +50 -0
- package/components/chart/Pie/Circle.js +50 -0
- package/components/chart/Pie/Sector.js +142 -0
- package/components/chart/Pie/Sectors.js +91 -0
- package/components/chart/Pie/index.js +311 -0
- package/components/chart/Pie-v2/Circle.js +50 -0
- package/components/chart/Pie-v2/Sector.js +128 -0
- package/components/chart/Pie-v2/Sectors.js +224 -0
- package/components/chart/Pie-v2/index.js +397 -0
- package/components/chart/bar/Axis.js +79 -0
- package/components/chart/bar/Bar.js +365 -0
- package/components/chart/bar/Grid.js +115 -0
- package/components/chart/bar/Labels.js +175 -0
- package/components/chart/bar/Points.js +111 -0
- package/components/chart/bar/index.js +172 -0
- package/components/chart/bar-v2/Axis.js +79 -0
- package/components/chart/bar-v2/Bar.js +374 -0
- package/components/chart/bar-v2/Grid.js +115 -0
- package/components/chart/bar-v2/Labels.js +175 -0
- package/components/chart/bar-v2/Points.js +111 -0
- package/components/chart/bar-v2/index.js +172 -0
- package/components/chart/line/Axis.js +79 -0
- package/components/chart/line/Grid.js +115 -0
- package/components/chart/line/Labels.js +172 -0
- package/components/chart/line/Path.js +163 -0
- package/components/chart/line/Point.js +348 -0
- package/components/chart/line/Title.js +56 -0
- package/components/chart/line/index.js +174 -0
- package/components/chart/line-v2/Axis.js +79 -0
- package/components/chart/line-v2/Grid.js +115 -0
- package/components/chart/line-v2/Labels.js +172 -0
- package/components/chart/line-v2/Path.js +163 -0
- package/components/chart/line-v2/Point.js +354 -0
- package/components/chart/line-v2/Title.js +56 -0
- package/components/chart/line-v2/index.js +174 -0
- package/components/check-text/index.js +157 -0
- package/components/check-text/interview-confirmation.js +172 -0
- package/components/check-text/interview-status.js +138 -0
- package/components/chip/attach.js +180 -0
- package/components/chip/index.js +340 -0
- package/components/collapse/index.js +67 -0
- package/components/dialogs/colors.js +11 -0
- package/components/divider/index.js +71 -0
- package/components/divider/style.js +12 -0
- package/components/form-control/attachment/index.js +1890 -0
- package/components/form-control/calendar/function.js +673 -0
- package/components/form-control/calendar/index.js +248 -0
- package/components/form-control/calendar/range.js +293 -0
- package/components/form-control/checkbox/index.js +306 -0
- package/components/form-control/control/index.js +92 -0
- package/components/form-control/date-picker/index-old.js +953 -0
- package/components/form-control/date-picker/index.js +676 -0
- package/components/form-control/date-range-picker/index.js +1305 -0
- package/components/form-control/dropdown/index.js +1865 -0
- package/components/form-control/dropdown-box/index.js +292 -0
- package/components/form-control/form/context.js +5 -0
- package/components/form-control/form/index.js +41 -0
- package/components/form-control/form-group/index.js +118 -0
- package/components/form-control/helper-text/index.js +71 -0
- package/components/form-control/input-base/index.js +733 -0
- package/components/form-control/label/index.js +73 -0
- package/components/form-control/money-input/index.js +491 -0
- package/components/form-control/number-input/index.js +633 -0
- package/components/form-control/phone-input/index.js +433 -0
- package/components/form-control/radio/index.js +263 -0
- package/components/form-control/text-input/index.js +523 -0
- package/components/form-control/time-picker/index.js +829 -0
- package/components/form-control/time-picker/swiper.js +590 -0
- package/components/form-control/toggle/index.js +250 -0
- package/components/form-view/helper-text.js +33 -0
- package/components/form-view/index.js +107 -0
- package/components/form-view/input.js +129 -0
- package/components/form-view/label.js +38 -0
- package/components/index.js +100 -0
- package/components/list/list-item-action.js +82 -0
- package/components/list/list-item-icon.js +76 -0
- package/components/list/list-item-text.js +57 -0
- package/components/list/list-item.js +114 -0
- package/components/list/list.js +155 -0
- package/components/list/sub-header.js +61 -0
- package/components/modal/body.js +71 -0
- package/components/modal/context.js +6 -0
- package/components/modal/footer.js +63 -0
- package/components/modal/header.js +108 -0
- package/components/modal/index.js +69 -0
- package/components/modal/modal.js +339 -0
- package/components/others/extra/index.js +124 -0
- package/components/others/scrollbar/index.js +95 -0
- package/components/paging/page-info.js +298 -0
- package/components/paging/page-selector.js +281 -0
- package/components/paper/index.js +119 -0
- package/components/popover/index.js +417 -0
- package/components/popup/danger_popup.js +215 -0
- package/components/popup/index.js +469 -0
- package/components/popup/proposals_popup.js +364 -0
- package/components/popup/v2/danger-popup.js +17 -0
- package/components/popup/v2/index.js +460 -0
- package/components/popup/v2/info-popup.js +17 -0
- package/components/popup/v2/success-popup.js +17 -0
- package/components/popup/v2/warning-popup.js +17 -0
- package/components/popup/v2/yes-no-popup.js +20 -0
- package/components/progress/circular.js +414 -0
- package/components/progress/linear.js +327 -0
- package/components/rating/index.js +392 -0
- package/components/slider/slider-container.js +356 -0
- package/components/slider/slider-item.js +183 -0
- package/components/status/index.js +123 -0
- package/components/tab/context.js +3 -0
- package/components/tab/tab-container.js +83 -0
- package/components/tab/tab-header.js +133 -0
- package/components/tab/tab-panel.js +51 -0
- package/components/tab/tab.js +206 -0
- package/components/tooltip/index.js +602 -0
- package/components/tooltip/portal.js +13 -0
- package/components/transfer/index.js +489 -0
- package/components/tree-view/css.js +94 -0
- package/components/tree-view/index.js +1009 -0
- package/components/typography/index.js +218 -0
- package/css/styles.css +1 -0
- package/css/styles.css.map +1 -0
- package/global/index.js +175 -0
- package/icons/basic.js +6326 -0
- package/icons/effect.js +171 -0
- package/icons/general/clock/clock.js +21 -0
- package/icons/general/color-handler/background.js +41 -0
- package/icons/general/color-handler/text.js +41 -0
- package/icons/general/emoji/emoji.js +35 -0
- package/icons/general/font-properties/bold.js +21 -0
- package/icons/general/font-properties/font-family.js +35 -0
- package/icons/general/font-properties/font-size.js +27 -0
- package/icons/general/font-properties/italic.js +21 -0
- package/icons/general/font-properties/underline.js +31 -0
- package/icons/general/hyperlink/hyperlink.js +38 -0
- package/icons/general/indent/decrease.js +55 -0
- package/icons/general/indent/increase.js +55 -0
- package/icons/general/index.js +21 -0
- package/icons/general/list/bullets.js +77 -0
- package/icons/general/list/numbering.js +71 -0
- package/icons/general/picture/picture.js +21 -0
- package/icons/general/steps/redo.js +21 -0
- package/icons/general/steps/undo.js +21 -0
- package/icons/general/text-align/center.js +21 -0
- package/icons/general/text-align/justify.js +21 -0
- package/icons/general/text-align/left.js +21 -0
- package/icons/general/text-align/right.js +21 -0
- package/icons/index.js +3 -0
- package/icons/menu/dhr.js +2440 -0
- package/icons/menu/erp.js +490 -0
- package/icons/menu/index.js +5 -0
- package/icons/menu/v2/index.js +52 -0
- package/locale/index.js +11 -0
- package/package.json +45 -0
- package/readme.md +517 -0
- package/styles/animation.js +890 -0
- package/styles/color-helper.js +504 -0
- package/styles/colors.js +306 -0
- package/styles/general.js +48 -0
- package/styles/media-queries.js +10 -0
- package/styles/typography.js +122 -0
- package/styles/utils.js +10 -0
- package/theme/index.js +5 -0
- package/theme/make-styles.js +95 -0
- package/theme/set-theme.js +39 -0
- package/theme/settings.js +230 -0
- package/theme/theme-provider.js +68 -0
- package/theme/theme.js +56 -0
- package/theme/with-styles.js +17 -0
- package/theme/with-theme.js +11 -0
- package/utils/array/array.js +186 -0
- package/utils/console.js +34 -0
- package/utils/date.js +471 -0
- package/utils/error/error.js +62 -0
- package/utils/error/errors.js +247 -0
- package/utils/getFileType.js +32 -0
- package/utils/index.js +23 -0
- package/utils/iterator.js +45 -0
- package/utils/map-parent.js +53 -0
- package/utils/number.js +64 -0
- package/utils/object/extend.js +57 -0
- package/utils/object/object.js +68 -0
- package/utils/parseHTML.js +8 -0
- package/utils/promisify.js +38 -0
- package/utils/randomString.js +33 -0
- package/utils/remove-unicode.js +6 -0
- package/utils/render-portal.js +90 -0
- package/utils/renderHTML.js +21 -0
- package/utils/renderIcon.js +57 -0
- package/utils/string/capitalize.js +3 -0
- package/utils/string/capitalizeSentenceCase.js +10 -0
- package/utils/string/string.js +81 -0
- package/utils/type.js +90 -0
- package/utils/updatePosition.js +36 -0
- package/utils/useOnClickOutside.js +23 -0
- package/utils/usePortal.js +56 -0
- package/utils/validate.js +149 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/** @jsxRuntime classic */
|
|
2
|
+
|
|
3
|
+
/** @jsx jsx */
|
|
4
|
+
import { memo, useEffect, useRef, forwardRef } from 'react';
|
|
5
|
+
import PropTypes from 'prop-types';
|
|
6
|
+
import { jsx, css } from '@emotion/core';
|
|
7
|
+
import theme from '../../theme/settings';
|
|
8
|
+
import Typography from '../typography';
|
|
9
|
+
const color = [`${theme.colors.info}`, `${theme.colors.success}`, `${theme.colors.warning}`, `${theme.colors.danger}`];
|
|
10
|
+
const colorNum = {
|
|
11
|
+
option0: 0,
|
|
12
|
+
option1: 1,
|
|
13
|
+
option2: 2,
|
|
14
|
+
option3: 3
|
|
15
|
+
};
|
|
16
|
+
const InterviewStatus = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
17
|
+
disabled,
|
|
18
|
+
readOnly,
|
|
19
|
+
chosen,
|
|
20
|
+
onClick,
|
|
21
|
+
onChoose,
|
|
22
|
+
option
|
|
23
|
+
}, ref) => {
|
|
24
|
+
if (!ref) {
|
|
25
|
+
ref = useRef(null);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const checkText = css`
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
color: ${disabled ? theme.colors.disabled : theme.colors.border};
|
|
31
|
+
div:nth-of-type(1):hover {
|
|
32
|
+
color: ${color[0]};
|
|
33
|
+
}
|
|
34
|
+
div:nth-of-type(2):hover {
|
|
35
|
+
color: ${color[1]};
|
|
36
|
+
}
|
|
37
|
+
div:nth-of-type(3):hover {
|
|
38
|
+
color: ${color[2]};
|
|
39
|
+
}
|
|
40
|
+
`;
|
|
41
|
+
const checkTextItemText = css`
|
|
42
|
+
margin-left: 10px;
|
|
43
|
+
`;
|
|
44
|
+
const checkTextDivider = css`
|
|
45
|
+
margin: 2px 19px;
|
|
46
|
+
width: 2px;
|
|
47
|
+
height: 16px;
|
|
48
|
+
background: ${theme.colors.border};
|
|
49
|
+
border-radius: 1px;
|
|
50
|
+
`;
|
|
51
|
+
|
|
52
|
+
const onClickItem = (e, index) => {
|
|
53
|
+
const clickedItem = ref.current.querySelectorAll('div');
|
|
54
|
+
if (readOnly || clickedItem[index].style.color) return;
|
|
55
|
+
clickedItem.forEach((el, i) => {
|
|
56
|
+
if (i === index) {
|
|
57
|
+
el.style.color = color[index];
|
|
58
|
+
} else if (el.style.color) {
|
|
59
|
+
el.style.color = null;
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
e.selectedItem = {
|
|
63
|
+
value: e.target.textContent,
|
|
64
|
+
index
|
|
65
|
+
};
|
|
66
|
+
if (onClick) onClick(e);
|
|
67
|
+
if (onChoose) onChoose(e);
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
useEffect(() => {
|
|
71
|
+
ref.current.querySelectorAll('div').forEach((el, i) => {
|
|
72
|
+
if (i === chosen || el.textContent === chosen) {
|
|
73
|
+
el.style.color = color[isNaN(chosen) ? colorNum[chosen] : chosen];
|
|
74
|
+
} else if (el.style.color) {
|
|
75
|
+
el.style.color = null;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
}, [chosen]);
|
|
79
|
+
const ItemName = option.map(index => jsx("span", {
|
|
80
|
+
css: checkTextItemText
|
|
81
|
+
}, index));
|
|
82
|
+
return jsx("div", {
|
|
83
|
+
css: checkText,
|
|
84
|
+
ref: ref
|
|
85
|
+
}, jsx(Typography, {
|
|
86
|
+
type: 'p2',
|
|
87
|
+
style: {
|
|
88
|
+
lineHeight: '20px',
|
|
89
|
+
color: `${disabled ? `${theme.colors.disabled} !important` : 'inherit'}`,
|
|
90
|
+
cursor: `${readOnly ? 'default' : 'pointer'}`,
|
|
91
|
+
pointerEvents: `${disabled ? 'none' : 'auto'}`,
|
|
92
|
+
userSelect: 'none'
|
|
93
|
+
},
|
|
94
|
+
mapping: 'div',
|
|
95
|
+
onClick: e => onClickItem(e, 0)
|
|
96
|
+
}, ItemName[0]), jsx("span", {
|
|
97
|
+
css: checkTextDivider
|
|
98
|
+
}), jsx(Typography, {
|
|
99
|
+
type: 'p2',
|
|
100
|
+
style: {
|
|
101
|
+
lineHeight: '20px',
|
|
102
|
+
color: `${disabled ? `${theme.colors.disabled} !important` : 'inherit'}`,
|
|
103
|
+
cursor: `${readOnly ? 'default' : 'pointer'}`,
|
|
104
|
+
pointerEvents: `${disabled ? 'none' : 'auto'}`,
|
|
105
|
+
userSelect: 'none'
|
|
106
|
+
},
|
|
107
|
+
mapping: 'div',
|
|
108
|
+
onClick: e => onClickItem(e, 1)
|
|
109
|
+
}, ItemName[1]), jsx("span", {
|
|
110
|
+
css: checkTextDivider
|
|
111
|
+
}), jsx(Typography, {
|
|
112
|
+
type: 'p2',
|
|
113
|
+
style: {
|
|
114
|
+
lineHeight: '20px',
|
|
115
|
+
color: `${disabled ? `${theme.colors.disabled} !important` : 'inherit'}`,
|
|
116
|
+
cursor: `${readOnly ? 'default' : 'pointer'}`,
|
|
117
|
+
pointerEvents: `${disabled ? 'none' : 'auto'}`,
|
|
118
|
+
userSelect: 'none'
|
|
119
|
+
},
|
|
120
|
+
mapping: 'div',
|
|
121
|
+
onClick: e => onClickItem(e, 2)
|
|
122
|
+
}, ItemName[2]), jsx("span", {
|
|
123
|
+
css: checkTextDivider
|
|
124
|
+
}), jsx(Typography, {
|
|
125
|
+
type: 'p2',
|
|
126
|
+
style: {
|
|
127
|
+
lineHeight: '20px',
|
|
128
|
+
color: `${disabled ? `${theme.colors.disabled} !important` : 'inherit'}`,
|
|
129
|
+
cursor: `${readOnly ? 'default' : 'pointer'}`,
|
|
130
|
+
pointerEvents: `${disabled ? 'none' : 'auto'}`,
|
|
131
|
+
userSelect: 'none'
|
|
132
|
+
},
|
|
133
|
+
mapping: 'div',
|
|
134
|
+
onClick: e => onClickItem(e, 3)
|
|
135
|
+
}, ItemName[3]));
|
|
136
|
+
}));
|
|
137
|
+
InterviewStatus.defaultProps = {
|
|
138
|
+
disabled: false,
|
|
139
|
+
option: ['status', 'success', 'warning', 'danger']
|
|
140
|
+
};
|
|
141
|
+
InterviewStatus.propsTypes = {
|
|
142
|
+
/** Prevent all event if true */
|
|
143
|
+
disabled: PropTypes.bool,
|
|
144
|
+
|
|
145
|
+
/** Item of CheckText in CheckText component */
|
|
146
|
+
option: PropTypes.oneOf(['status', 'success', 'warning', 'danger']),
|
|
147
|
+
|
|
148
|
+
/** the displayed chosen for each change */
|
|
149
|
+
chosen: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
150
|
+
|
|
151
|
+
/** The function will run to return a value of CheckText Component */
|
|
152
|
+
onClick: PropTypes.func,
|
|
153
|
+
|
|
154
|
+
/** The function will run to return a value of CheckText Component */
|
|
155
|
+
onChoose: PropTypes.func
|
|
156
|
+
};
|
|
157
|
+
export default InterviewStatus;
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/** @jsxRuntime classic */
|
|
2
|
+
|
|
3
|
+
/** @jsx jsx */
|
|
4
|
+
import { memo, useMemo, useEffect, useRef, forwardRef } from 'react';
|
|
5
|
+
import PropTypes from 'prop-types';
|
|
6
|
+
import { jsx, css } from '@emotion/core';
|
|
7
|
+
import theme from '../../theme/settings';
|
|
8
|
+
import Typography from '../typography';
|
|
9
|
+
const color = [`${theme.colors.warning}`, `${theme.colors.success}`, `${theme.colors.danger}`];
|
|
10
|
+
const colorNum = {
|
|
11
|
+
Yes: 0,
|
|
12
|
+
Maybe: 1,
|
|
13
|
+
No: 2
|
|
14
|
+
};
|
|
15
|
+
const InterviewConfirmation = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
16
|
+
disabled,
|
|
17
|
+
readOnly,
|
|
18
|
+
chosen,
|
|
19
|
+
onClick,
|
|
20
|
+
onChoose
|
|
21
|
+
}, ref) => {
|
|
22
|
+
if (!ref) {
|
|
23
|
+
ref = useRef(null);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const checkText = css`
|
|
27
|
+
display: inline-flex;
|
|
28
|
+
color: ${disabled ? theme.colors.disabled : theme.colors.border};
|
|
29
|
+
div:nth-of-type(1):hover {
|
|
30
|
+
color: ${color[0]};
|
|
31
|
+
}
|
|
32
|
+
div:nth-of-type(2):hover {
|
|
33
|
+
color: ${color[1]};
|
|
34
|
+
}
|
|
35
|
+
div:nth-of-type(3):hover {
|
|
36
|
+
color: ${color[2]};
|
|
37
|
+
}
|
|
38
|
+
`;
|
|
39
|
+
const checkTextItemText = css`
|
|
40
|
+
margin-left: 10px;
|
|
41
|
+
`;
|
|
42
|
+
const checkTextDivider = css`
|
|
43
|
+
margin: 2px 19px;
|
|
44
|
+
width: 2px;
|
|
45
|
+
height: 16px;
|
|
46
|
+
background: ${theme.colors.border};
|
|
47
|
+
border-radius: 1px;
|
|
48
|
+
`;
|
|
49
|
+
|
|
50
|
+
const onClickItem = (e, index) => {
|
|
51
|
+
const clickedItem = ref.current.querySelectorAll('div');
|
|
52
|
+
if (readOnly || clickedItem[index].style.color) return;
|
|
53
|
+
clickedItem.forEach((el, i) => {
|
|
54
|
+
if (i === index) {
|
|
55
|
+
el.style.color = color[index];
|
|
56
|
+
} else if (el.style.color) {
|
|
57
|
+
el.style.color = null;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
e.selectedItem = {
|
|
61
|
+
value: e.target.textContent,
|
|
62
|
+
index
|
|
63
|
+
};
|
|
64
|
+
if (onClick) onClick(e);
|
|
65
|
+
if (onChoose) onChoose(e);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
useEffect(() => {
|
|
69
|
+
ref.current.querySelectorAll('div').forEach((el, i) => {
|
|
70
|
+
if (i === chosen || el.textContent === chosen) {
|
|
71
|
+
el.style.color = color[isNaN(chosen) ? colorNum[chosen] : chosen];
|
|
72
|
+
} else if (el.style.color) {
|
|
73
|
+
el.style.color = null;
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
}, [chosen]);
|
|
77
|
+
return useMemo(() => jsx("div", {
|
|
78
|
+
css: checkText,
|
|
79
|
+
ref: ref
|
|
80
|
+
}, jsx(Typography, {
|
|
81
|
+
type: 'p2',
|
|
82
|
+
style: {
|
|
83
|
+
lineHeight: '20px',
|
|
84
|
+
color: `${disabled ? `${theme.colors.disabled} !important` : 'inherit'}`,
|
|
85
|
+
cursor: `${readOnly ? 'default' : 'pointer'}`,
|
|
86
|
+
pointerEvents: `${disabled ? 'none' : 'auto'}`,
|
|
87
|
+
userSelect: 'none'
|
|
88
|
+
},
|
|
89
|
+
mapping: 'div',
|
|
90
|
+
onClick: e => onClickItem(e, 0)
|
|
91
|
+
}, jsx("svg", {
|
|
92
|
+
width: "12",
|
|
93
|
+
height: "8",
|
|
94
|
+
viewBox: "0 0 12 8",
|
|
95
|
+
fill: "none",
|
|
96
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
97
|
+
}, jsx("path", {
|
|
98
|
+
fillRule: "evenodd",
|
|
99
|
+
clipRule: "evenodd",
|
|
100
|
+
d: "M4.57555 8.00004C4.39155 8.00004 4.21555 7.92404 4.08955 7.79004L0.847547 4.33738C0.594881 4.06938 0.608881 3.64738 0.876881 3.39538C1.14555 3.14338 1.56755 3.15671 1.81888 3.42471L4.56888 6.35204L10.1742 0.217377C10.4235 -0.0552893 10.8449 -0.0732893 11.1169 0.174711C11.3882 0.422711 11.4069 0.844711 11.1589 1.11604L5.06755 7.78271C4.94288 7.92004 4.76555 7.99871 4.58021 8.00004H4.57555Z",
|
|
101
|
+
fill: "currentColor"
|
|
102
|
+
})), jsx("span", {
|
|
103
|
+
css: checkTextItemText
|
|
104
|
+
}, "Yes")), jsx("span", {
|
|
105
|
+
css: checkTextDivider
|
|
106
|
+
}), jsx(Typography, {
|
|
107
|
+
type: 'p2',
|
|
108
|
+
style: {
|
|
109
|
+
lineHeight: '20px',
|
|
110
|
+
color: `${disabled ? `${theme.colors.disabled} !important` : 'inherit'}`,
|
|
111
|
+
cursor: `${readOnly ? 'default' : 'pointer'}`,
|
|
112
|
+
pointerEvents: `${disabled ? 'none' : 'auto'}`,
|
|
113
|
+
userSelect: 'none'
|
|
114
|
+
},
|
|
115
|
+
mapping: 'div',
|
|
116
|
+
onClick: e => onClickItem(e, 1)
|
|
117
|
+
}, jsx("svg", {
|
|
118
|
+
width: "8",
|
|
119
|
+
height: "12",
|
|
120
|
+
viewBox: "0 0 8 12",
|
|
121
|
+
fill: "none",
|
|
122
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
123
|
+
}, jsx("path", {
|
|
124
|
+
d: "M7.33335 4C7.33335 3.11594 6.98216 2.2681 6.35704 1.64298C5.73192 1.01786 4.88408 0.666666 4.00002 0.666666C3.11597 0.666666 2.26812 1.01786 1.643 1.64298C1.01788 2.2681 0.666687 3.11594 0.666687 4C0.666687 4.17681 0.736925 4.34638 0.861949 4.4714C0.986974 4.59643 1.15654 4.66667 1.33335 4.66667C1.51016 4.66667 1.67973 4.59643 1.80476 4.4714C1.92978 4.34638 2.00002 4.17681 2.00002 4C2.00002 3.60444 2.11732 3.21776 2.33708 2.88886C2.55684 2.55996 2.8692 2.30362 3.23465 2.15224C3.60011 2.00087 4.00224 1.96126 4.3902 2.03843C4.77816 2.1156 5.13453 2.30608 5.41423 2.58579C5.69394 2.86549 5.88442 3.22186 5.96159 3.60982C6.03876 3.99778 5.99915 4.39991 5.84778 4.76537C5.6964 5.13082 5.44006 5.44318 5.11116 5.66294C4.78226 5.8827 4.39558 6 4.00002 6C3.82321 6 3.65364 6.07024 3.52862 6.19526C3.40359 6.32029 3.33335 6.48986 3.33335 6.66667V8C3.33335 8.17681 3.40359 8.34638 3.52862 8.4714C3.65364 8.59643 3.82321 8.66667 4.00002 8.66667C4.17683 8.66667 4.3464 8.59643 4.47142 8.4714C4.59645 8.34638 4.66669 8.17681 4.66669 8V7.26667C5.4196 7.11298 6.09628 6.70388 6.58222 6.1086C7.06816 5.51332 7.33351 4.76843 7.33335 4Z",
|
|
125
|
+
fill: "currentColor"
|
|
126
|
+
}), jsx("path", {
|
|
127
|
+
d: "M3.99998 11.3333C4.36817 11.3333 4.66665 11.0349 4.66665 10.6667C4.66665 10.2985 4.36817 10 3.99998 10C3.63179 10 3.33331 10.2985 3.33331 10.6667C3.33331 11.0349 3.63179 11.3333 3.99998 11.3333Z",
|
|
128
|
+
fill: "currentColor"
|
|
129
|
+
})), jsx("span", {
|
|
130
|
+
css: checkTextItemText
|
|
131
|
+
}, "Maybe")), jsx("span", {
|
|
132
|
+
css: checkTextDivider
|
|
133
|
+
}), jsx(Typography, {
|
|
134
|
+
type: 'p2',
|
|
135
|
+
style: {
|
|
136
|
+
lineHeight: '20px',
|
|
137
|
+
color: `${disabled ? `${theme.colors.disabled} !important` : 'inherit'}`,
|
|
138
|
+
cursor: `${readOnly ? 'default' : 'pointer'}`,
|
|
139
|
+
pointerEvents: `${disabled ? 'none' : 'auto'}`,
|
|
140
|
+
userSelect: 'none'
|
|
141
|
+
},
|
|
142
|
+
mapping: 'div',
|
|
143
|
+
onClick: e => onClickItem(e, 2)
|
|
144
|
+
}, jsx("svg", {
|
|
145
|
+
width: "8",
|
|
146
|
+
height: "8",
|
|
147
|
+
viewBox: "0 0 8 8",
|
|
148
|
+
fill: "none",
|
|
149
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
150
|
+
}, jsx("path", {
|
|
151
|
+
fillRule: "evenodd",
|
|
152
|
+
clipRule: "evenodd",
|
|
153
|
+
d: "M4.94271 3.99992L7.80471 1.13792C8.06538 0.87725 8.06538 0.455917 7.80471 0.19525C7.54405 -0.0654165 7.12271 -0.0654165 6.86205 0.19525L4.00004 3.05725L1.13804 0.19525C0.877378 -0.0654165 0.456045 -0.0654165 0.195378 0.19525C-0.0652888 0.455917 -0.0652888 0.87725 0.195378 1.13792L3.05738 3.99992L0.195378 6.86192C-0.0652888 7.12258 -0.0652888 7.54392 0.195378 7.80458C0.325378 7.93458 0.496045 7.99992 0.666711 7.99992C0.837378 7.99992 1.00804 7.93458 1.13804 7.80458L4.00004 4.94258L6.86205 7.80458C6.99205 7.93458 7.16271 7.99992 7.33338 7.99992C7.50405 7.99992 7.67471 7.93458 7.80471 7.80458C8.06538 7.54392 8.06538 7.12258 7.80471 6.86192L4.94271 3.99992Z",
|
|
154
|
+
fill: "currentColor"
|
|
155
|
+
})), jsx("span", {
|
|
156
|
+
css: checkTextItemText
|
|
157
|
+
}, "No"))), []);
|
|
158
|
+
}));
|
|
159
|
+
InterviewConfirmation.propsTypes = {
|
|
160
|
+
/** Prevent all event if true */
|
|
161
|
+
disabled: PropTypes.bool,
|
|
162
|
+
|
|
163
|
+
/** the displayed chosen for each change */
|
|
164
|
+
chosen: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
165
|
+
|
|
166
|
+
/** The function will run to return a value of CheckText Component */
|
|
167
|
+
onClick: PropTypes.func,
|
|
168
|
+
|
|
169
|
+
/** The function will run to return a value of CheckText Component */
|
|
170
|
+
onChoose: PropTypes.func
|
|
171
|
+
};
|
|
172
|
+
export default InterviewConfirmation;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/** @jsxRuntime classic */
|
|
2
|
+
|
|
3
|
+
/** @jsx jsx */
|
|
4
|
+
import { memo, useMemo, useEffect, useRef, forwardRef } from 'react';
|
|
5
|
+
import PropTypes from 'prop-types';
|
|
6
|
+
import { jsx, css } from '@emotion/core';
|
|
7
|
+
import theme from '../../theme/settings';
|
|
8
|
+
import Typography from '../typography';
|
|
9
|
+
const color = [`${theme.colors.warning}`, `${theme.colors.success}`, `${theme.colors.danger}`];
|
|
10
|
+
const colorNum = {
|
|
11
|
+
Scheduled: 0,
|
|
12
|
+
Started: 1,
|
|
13
|
+
Cancel: 2
|
|
14
|
+
};
|
|
15
|
+
const InterviewStatus = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
16
|
+
disabled,
|
|
17
|
+
readOnly,
|
|
18
|
+
chosen,
|
|
19
|
+
onClick,
|
|
20
|
+
onChoose
|
|
21
|
+
}, ref) => {
|
|
22
|
+
if (!ref) {
|
|
23
|
+
ref = useRef(null);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const checkText = css`
|
|
27
|
+
display: inline-flex;
|
|
28
|
+
color: ${disabled ? theme.colors.disabled : theme.colors.border};
|
|
29
|
+
div:nth-of-type(1):hover {
|
|
30
|
+
color: ${color[0]};
|
|
31
|
+
}
|
|
32
|
+
div:nth-of-type(2):hover {
|
|
33
|
+
color: ${color[1]};
|
|
34
|
+
}
|
|
35
|
+
div:nth-of-type(3):hover {
|
|
36
|
+
color: ${color[2]};
|
|
37
|
+
}
|
|
38
|
+
`;
|
|
39
|
+
const checkTextItemText = css`
|
|
40
|
+
margin-left: 10px;
|
|
41
|
+
`;
|
|
42
|
+
const checkTextDivider = css`
|
|
43
|
+
margin: 2px 19px;
|
|
44
|
+
width: 2px;
|
|
45
|
+
height: 16px;
|
|
46
|
+
background: ${theme.colors.border};
|
|
47
|
+
border-radius: 1px;
|
|
48
|
+
`;
|
|
49
|
+
|
|
50
|
+
const onClickItem = (e, index) => {
|
|
51
|
+
const clickedItem = ref.current.querySelectorAll('div');
|
|
52
|
+
if (readOnly || clickedItem[index].style.color) return;
|
|
53
|
+
clickedItem.forEach((el, i) => {
|
|
54
|
+
if (i === index) {
|
|
55
|
+
el.style.color = color[index];
|
|
56
|
+
} else if (el.style.color) {
|
|
57
|
+
el.style.color = null;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
e.selectedItem = {
|
|
61
|
+
value: e.target.textContent,
|
|
62
|
+
index
|
|
63
|
+
};
|
|
64
|
+
if (onClick) onClick(e);
|
|
65
|
+
if (onChoose) onChoose(e);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
useEffect(() => {
|
|
69
|
+
ref.current.querySelectorAll('div').forEach((el, i) => {
|
|
70
|
+
if (i === chosen || el.textContent === chosen) {
|
|
71
|
+
el.style.color = color[isNaN(chosen) ? colorNum[chosen] : chosen];
|
|
72
|
+
} else if (el.style.color) {
|
|
73
|
+
el.style.color = null;
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
}, [chosen]);
|
|
77
|
+
return useMemo(() => jsx("div", {
|
|
78
|
+
css: checkText,
|
|
79
|
+
ref: ref
|
|
80
|
+
}, jsx(Typography, {
|
|
81
|
+
type: 'p2',
|
|
82
|
+
style: {
|
|
83
|
+
lineHeight: '20px',
|
|
84
|
+
color: `${disabled ? `${theme.colors.disabled} !important` : 'inherit'}`,
|
|
85
|
+
cursor: `${readOnly ? 'default' : 'pointer'}`,
|
|
86
|
+
pointerEvents: `${disabled ? 'none' : 'auto'}`,
|
|
87
|
+
userSelect: 'none'
|
|
88
|
+
},
|
|
89
|
+
mapping: 'div',
|
|
90
|
+
onClick: e => onClickItem(e, 0)
|
|
91
|
+
}, jsx("span", {
|
|
92
|
+
css: checkTextItemText
|
|
93
|
+
}, "Scheduled")), jsx("span", {
|
|
94
|
+
css: checkTextDivider
|
|
95
|
+
}), jsx(Typography, {
|
|
96
|
+
type: 'p2',
|
|
97
|
+
style: {
|
|
98
|
+
lineHeight: '20px',
|
|
99
|
+
color: `${disabled ? `${theme.colors.disabled} !important` : 'inherit'}`,
|
|
100
|
+
cursor: `${readOnly ? 'default' : 'pointer'}`,
|
|
101
|
+
pointerEvents: `${disabled ? 'none' : 'auto'}`,
|
|
102
|
+
userSelect: 'none'
|
|
103
|
+
},
|
|
104
|
+
mapping: 'div',
|
|
105
|
+
onClick: e => onClickItem(e, 1)
|
|
106
|
+
}, jsx("span", {
|
|
107
|
+
css: checkTextItemText
|
|
108
|
+
}, "Started")), jsx("span", {
|
|
109
|
+
css: checkTextDivider
|
|
110
|
+
}), jsx(Typography, {
|
|
111
|
+
type: 'p2',
|
|
112
|
+
style: {
|
|
113
|
+
lineHeight: '20px',
|
|
114
|
+
color: `${disabled ? `${theme.colors.disabled} !important` : 'inherit'}`,
|
|
115
|
+
cursor: `${readOnly ? 'default' : 'pointer'}`,
|
|
116
|
+
pointerEvents: `${disabled ? 'none' : 'auto'}`,
|
|
117
|
+
userSelect: 'none'
|
|
118
|
+
},
|
|
119
|
+
mapping: 'div',
|
|
120
|
+
onClick: e => onClickItem(e, 2)
|
|
121
|
+
}, jsx("span", {
|
|
122
|
+
css: checkTextItemText
|
|
123
|
+
}, "Cancel"))), []);
|
|
124
|
+
}));
|
|
125
|
+
InterviewStatus.propsTypes = {
|
|
126
|
+
/** Prevent all event if true */
|
|
127
|
+
disabled: PropTypes.bool,
|
|
128
|
+
|
|
129
|
+
/** the displayed chosen for each change */
|
|
130
|
+
chosen: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
131
|
+
|
|
132
|
+
/** The function will run to return a value of CheckText Component */
|
|
133
|
+
onClick: PropTypes.func,
|
|
134
|
+
|
|
135
|
+
/** The function will run to return a value of CheckText Component */
|
|
136
|
+
onChoose: PropTypes.func
|
|
137
|
+
};
|
|
138
|
+
export default InterviewStatus;
|