ncore-ui-kit 1.0.0-pre-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -0
- package/README.md +2 -0
- package/lib/module/assets/fonts/Geist-Black.ttf +0 -0
- package/lib/module/assets/fonts/Geist-Bold.ttf +0 -0
- package/lib/module/assets/fonts/Geist-ExtraBold.ttf +0 -0
- package/lib/module/assets/fonts/Geist-ExtraLight.ttf +0 -0
- package/lib/module/assets/fonts/Geist-Light.ttf +0 -0
- package/lib/module/assets/fonts/Geist-Medium.ttf +0 -0
- package/lib/module/assets/fonts/Geist-Regular.ttf +0 -0
- package/lib/module/assets/fonts/Geist-SemiBold.ttf +0 -0
- package/lib/module/assets/fonts/Geist-Thin.ttf +0 -0
- package/lib/module/assets/svg/badgeAlertIcon/index.js +33 -0
- package/lib/module/assets/svg/badgeAlertIcon/index.js.map +1 -0
- package/lib/module/assets/svg/badgeDangerIcon/index.js +32 -0
- package/lib/module/assets/svg/badgeDangerIcon/index.js.map +1 -0
- package/lib/module/assets/svg/badgeInfoIcon/index.js +32 -0
- package/lib/module/assets/svg/badgeInfoIcon/index.js.map +1 -0
- package/lib/module/assets/svg/badgeQuestionMarkIcon/index.js +40 -0
- package/lib/module/assets/svg/badgeQuestionMarkIcon/index.js.map +1 -0
- package/lib/module/assets/svg/badgeRightIcon/index.js +32 -0
- package/lib/module/assets/svg/badgeRightIcon/index.js.map +1 -0
- package/lib/module/assets/svg/badgeSuccessIcon/index.js +40 -0
- package/lib/module/assets/svg/badgeSuccessIcon/index.js.map +1 -0
- package/lib/module/assets/svg/chevronRightIcon/index.js +32 -0
- package/lib/module/assets/svg/chevronRightIcon/index.js.map +1 -0
- package/lib/module/assets/svg/cleanIcon/index.js +32 -0
- package/lib/module/assets/svg/cleanIcon/index.js.map +1 -0
- package/lib/module/assets/svg/eyeClosedIcon/index.js +40 -0
- package/lib/module/assets/svg/eyeClosedIcon/index.js.map +1 -0
- package/lib/module/assets/svg/eyeOpenedIcon/index.js +40 -0
- package/lib/module/assets/svg/eyeOpenedIcon/index.js.map +1 -0
- package/lib/module/assets/svg/index.js +13 -0
- package/lib/module/assets/svg/index.js.map +1 -0
- package/lib/module/assets/svg/loadingIcon/index.js +65 -0
- package/lib/module/assets/svg/loadingIcon/index.js.map +1 -0
- package/lib/module/components/bottomSheet/index.js +915 -0
- package/lib/module/components/bottomSheet/index.js.map +1 -0
- package/lib/module/components/bottomSheet/stylesheet.js +26 -0
- package/lib/module/components/bottomSheet/stylesheet.js.map +1 -0
- package/lib/module/components/bottomSheet/type.js +4 -0
- package/lib/module/components/bottomSheet/type.js.map +1 -0
- package/lib/module/components/button/index.js +143 -0
- package/lib/module/components/button/index.js.map +1 -0
- package/lib/module/components/button/stylesheet.js +231 -0
- package/lib/module/components/button/stylesheet.js.map +1 -0
- package/lib/module/components/button/type.js +4 -0
- package/lib/module/components/button/type.js.map +1 -0
- package/lib/module/components/checkBox/index.js +186 -0
- package/lib/module/components/checkBox/index.js.map +1 -0
- package/lib/module/components/checkBox/stylesheet.js +182 -0
- package/lib/module/components/checkBox/stylesheet.js.map +1 -0
- package/lib/module/components/checkBox/type.js +4 -0
- package/lib/module/components/checkBox/type.js.map +1 -0
- package/lib/module/components/chip/index.js +131 -0
- package/lib/module/components/chip/index.js.map +1 -0
- package/lib/module/components/chip/stylesheet.js +134 -0
- package/lib/module/components/chip/stylesheet.js.map +1 -0
- package/lib/module/components/chip/type.js +4 -0
- package/lib/module/components/chip/type.js.map +1 -0
- package/lib/module/components/dateSelector/index.js +293 -0
- package/lib/module/components/dateSelector/index.js.map +1 -0
- package/lib/module/components/dateSelector/stylesheet.js +82 -0
- package/lib/module/components/dateSelector/stylesheet.js.map +1 -0
- package/lib/module/components/dateSelector/type.js +7 -0
- package/lib/module/components/dateSelector/type.js.map +1 -0
- package/lib/module/components/dateSelector/util.js +17 -0
- package/lib/module/components/dateSelector/util.js.map +1 -0
- package/lib/module/components/dateTimePicker/index.js +704 -0
- package/lib/module/components/dateTimePicker/index.js.map +1 -0
- package/lib/module/components/dateTimePicker/stylesheet.js +213 -0
- package/lib/module/components/dateTimePicker/stylesheet.js.map +1 -0
- package/lib/module/components/dateTimePicker/type.js +5 -0
- package/lib/module/components/dateTimePicker/type.js.map +1 -0
- package/lib/module/components/dateTimeSheet/index.js +313 -0
- package/lib/module/components/dateTimeSheet/index.js.map +1 -0
- package/lib/module/components/dateTimeSheet/stylesheet.js +88 -0
- package/lib/module/components/dateTimeSheet/stylesheet.js.map +1 -0
- package/lib/module/components/dateTimeSheet/type.js +5 -0
- package/lib/module/components/dateTimeSheet/type.js.map +1 -0
- package/lib/module/components/dialog/index.js +228 -0
- package/lib/module/components/dialog/index.js.map +1 -0
- package/lib/module/components/dialog/stylesheet.js +99 -0
- package/lib/module/components/dialog/stylesheet.js.map +1 -0
- package/lib/module/components/dialog/type.js +5 -0
- package/lib/module/components/dialog/type.js.map +1 -0
- package/lib/module/components/index.js +32 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/components/loading/index.js +22 -0
- package/lib/module/components/loading/index.js.map +1 -0
- package/lib/module/components/loading/stylesheet.js +10 -0
- package/lib/module/components/loading/stylesheet.js.map +1 -0
- package/lib/module/components/loading/type.js +4 -0
- package/lib/module/components/loading/type.js.map +1 -0
- package/lib/module/components/markdownViewer/constant.js +18 -0
- package/lib/module/components/markdownViewer/constant.js.map +1 -0
- package/lib/module/components/markdownViewer/index.js +368 -0
- package/lib/module/components/markdownViewer/index.js.map +1 -0
- package/lib/module/components/markdownViewer/stylesheet.js +66 -0
- package/lib/module/components/markdownViewer/stylesheet.js.map +1 -0
- package/lib/module/components/markdownViewer/type.js +5 -0
- package/lib/module/components/markdownViewer/type.js.map +1 -0
- package/lib/module/components/markdownViewer/util.js +344 -0
- package/lib/module/components/markdownViewer/util.js.map +1 -0
- package/lib/module/components/modal/index.js +170 -0
- package/lib/module/components/modal/index.js.map +1 -0
- package/lib/module/components/modal/stylesheet.js +36 -0
- package/lib/module/components/modal/stylesheet.js.map +1 -0
- package/lib/module/components/modal/type.js +5 -0
- package/lib/module/components/modal/type.js.map +1 -0
- package/lib/module/components/monthSelector/index.js +284 -0
- package/lib/module/components/monthSelector/index.js.map +1 -0
- package/lib/module/components/monthSelector/stylesheet.js +80 -0
- package/lib/module/components/monthSelector/stylesheet.js.map +1 -0
- package/lib/module/components/monthSelector/type.js +7 -0
- package/lib/module/components/monthSelector/type.js.map +1 -0
- package/lib/module/components/monthSelector/util.js +17 -0
- package/lib/module/components/monthSelector/util.js.map +1 -0
- package/lib/module/components/notificationIndicator/index.js +121 -0
- package/lib/module/components/notificationIndicator/index.js.map +1 -0
- package/lib/module/components/notificationIndicator/stylesheet.js +119 -0
- package/lib/module/components/notificationIndicator/stylesheet.js.map +1 -0
- package/lib/module/components/notificationIndicator/type.js +4 -0
- package/lib/module/components/notificationIndicator/type.js.map +1 -0
- package/lib/module/components/numericInput/index.js +409 -0
- package/lib/module/components/numericInput/index.js.map +1 -0
- package/lib/module/components/numericInput/stylesheet.js +245 -0
- package/lib/module/components/numericInput/stylesheet.js.map +1 -0
- package/lib/module/components/numericInput/type.js +5 -0
- package/lib/module/components/numericInput/type.js.map +1 -0
- package/lib/module/components/pageContainer/index.js +81 -0
- package/lib/module/components/pageContainer/index.js.map +1 -0
- package/lib/module/components/pageContainer/stylesheet.js +13 -0
- package/lib/module/components/pageContainer/stylesheet.js.map +1 -0
- package/lib/module/components/pageContainer/type.js +4 -0
- package/lib/module/components/pageContainer/type.js.map +1 -0
- package/lib/module/components/radioButton/index.js +179 -0
- package/lib/module/components/radioButton/index.js.map +1 -0
- package/lib/module/components/radioButton/stylesheet.js +192 -0
- package/lib/module/components/radioButton/stylesheet.js.map +1 -0
- package/lib/module/components/radioButton/type.js +4 -0
- package/lib/module/components/radioButton/type.js.map +1 -0
- package/lib/module/components/rowCard/index.js +153 -0
- package/lib/module/components/rowCard/index.js.map +1 -0
- package/lib/module/components/rowCard/stylesheet.js +78 -0
- package/lib/module/components/rowCard/stylesheet.js.map +1 -0
- package/lib/module/components/rowCard/type.js +4 -0
- package/lib/module/components/rowCard/type.js.map +1 -0
- package/lib/module/components/selectBox/index.js +612 -0
- package/lib/module/components/selectBox/index.js.map +1 -0
- package/lib/module/components/selectBox/stylesheet.js +216 -0
- package/lib/module/components/selectBox/stylesheet.js.map +1 -0
- package/lib/module/components/selectBox/type.js +5 -0
- package/lib/module/components/selectBox/type.js.map +1 -0
- package/lib/module/components/selectSheet/index.js +285 -0
- package/lib/module/components/selectSheet/index.js.map +1 -0
- package/lib/module/components/selectSheet/stylesheet.js +90 -0
- package/lib/module/components/selectSheet/stylesheet.js.map +1 -0
- package/lib/module/components/selectSheet/type.js +5 -0
- package/lib/module/components/selectSheet/type.js.map +1 -0
- package/lib/module/components/snackBar/index.js +314 -0
- package/lib/module/components/snackBar/index.js.map +1 -0
- package/lib/module/components/snackBar/stylesheet.js +131 -0
- package/lib/module/components/snackBar/stylesheet.js.map +1 -0
- package/lib/module/components/snackBar/type.js +5 -0
- package/lib/module/components/snackBar/type.js.map +1 -0
- package/lib/module/components/stateCard/index.js +101 -0
- package/lib/module/components/stateCard/index.js.map +1 -0
- package/lib/module/components/stateCard/stylesheet.js +96 -0
- package/lib/module/components/stateCard/stylesheet.js.map +1 -0
- package/lib/module/components/stateCard/type.js +4 -0
- package/lib/module/components/stateCard/type.js.map +1 -0
- package/lib/module/components/sticker/index.js +85 -0
- package/lib/module/components/sticker/index.js.map +1 -0
- package/lib/module/components/sticker/stylesheet.js +95 -0
- package/lib/module/components/sticker/stylesheet.js.map +1 -0
- package/lib/module/components/sticker/type.js +4 -0
- package/lib/module/components/sticker/type.js.map +1 -0
- package/lib/module/components/switch/index.js +192 -0
- package/lib/module/components/switch/index.js.map +1 -0
- package/lib/module/components/switch/stylesheet.js +174 -0
- package/lib/module/components/switch/stylesheet.js.map +1 -0
- package/lib/module/components/switch/type.js +4 -0
- package/lib/module/components/switch/type.js.map +1 -0
- package/lib/module/components/text/index.js +29 -0
- package/lib/module/components/text/index.js.map +1 -0
- package/lib/module/components/text/type.js +4 -0
- package/lib/module/components/text/type.js.map +1 -0
- package/lib/module/components/textAreaInput/index.js +367 -0
- package/lib/module/components/textAreaInput/index.js.map +1 -0
- package/lib/module/components/textAreaInput/stylesheet.js +256 -0
- package/lib/module/components/textAreaInput/stylesheet.js.map +1 -0
- package/lib/module/components/textAreaInput/type.js +5 -0
- package/lib/module/components/textAreaInput/type.js.map +1 -0
- package/lib/module/components/textInput/index.js +362 -0
- package/lib/module/components/textInput/index.js.map +1 -0
- package/lib/module/components/textInput/stylesheet.js +245 -0
- package/lib/module/components/textInput/stylesheet.js.map +1 -0
- package/lib/module/components/textInput/type.js +5 -0
- package/lib/module/components/textInput/type.js.map +1 -0
- package/lib/module/components/timeSelector/components/timeInput/index.js +135 -0
- package/lib/module/components/timeSelector/components/timeInput/index.js.map +1 -0
- package/lib/module/components/timeSelector/components/timeInput/stylesheet.js +27 -0
- package/lib/module/components/timeSelector/components/timeInput/stylesheet.js.map +1 -0
- package/lib/module/components/timeSelector/components/timeInput/type.js +5 -0
- package/lib/module/components/timeSelector/components/timeInput/type.js.map +1 -0
- package/lib/module/components/timeSelector/index.js +329 -0
- package/lib/module/components/timeSelector/index.js.map +1 -0
- package/lib/module/components/timeSelector/stylesheet.js +44 -0
- package/lib/module/components/timeSelector/stylesheet.js.map +1 -0
- package/lib/module/components/timeSelector/type.js +5 -0
- package/lib/module/components/timeSelector/type.js.map +1 -0
- package/lib/module/components/toast/index.js +199 -0
- package/lib/module/components/toast/index.js.map +1 -0
- package/lib/module/components/toast/stylesheet.js +124 -0
- package/lib/module/components/toast/stylesheet.js.map +1 -0
- package/lib/module/components/toast/type.js +5 -0
- package/lib/module/components/toast/type.js.map +1 -0
- package/lib/module/components/yearSelector/index.js +278 -0
- package/lib/module/components/yearSelector/index.js.map +1 -0
- package/lib/module/components/yearSelector/stylesheet.js +80 -0
- package/lib/module/components/yearSelector/stylesheet.js.map +1 -0
- package/lib/module/components/yearSelector/type.js +7 -0
- package/lib/module/components/yearSelector/type.js.map +1 -0
- package/lib/module/components/yearSelector/util.js +17 -0
- package/lib/module/components/yearSelector/util.js.map +1 -0
- package/lib/module/context/bottomSheet.js +86 -0
- package/lib/module/context/bottomSheet.js.map +1 -0
- package/lib/module/context/dialog.js +85 -0
- package/lib/module/context/dialog.js.map +1 -0
- package/lib/module/context/index.js +92 -0
- package/lib/module/context/index.js.map +1 -0
- package/lib/module/context/localize.js +143 -0
- package/lib/module/context/localize.js.map +1 -0
- package/lib/module/context/modal.js +82 -0
- package/lib/module/context/modal.js.map +1 -0
- package/lib/module/context/snackBar.js +79 -0
- package/lib/module/context/snackBar.js.map +1 -0
- package/lib/module/context/theme.js +142 -0
- package/lib/module/context/theme.js.map +1 -0
- package/lib/module/context/toast.js +79 -0
- package/lib/module/context/toast.js.map +1 -0
- package/lib/module/core/hooks.js +19 -0
- package/lib/module/core/hooks.js.map +1 -0
- package/lib/module/core/index.js +91 -0
- package/lib/module/core/index.js.map +1 -0
- package/lib/module/helpers/index.js +7 -0
- package/lib/module/helpers/index.js.map +1 -0
- package/lib/module/helpers/locale/index.js +23 -0
- package/lib/module/helpers/locale/index.js.map +1 -0
- package/lib/module/helpers/portalize/Consumer.js +33 -0
- package/lib/module/helpers/portalize/Consumer.js.map +1 -0
- package/lib/module/helpers/portalize/Host.js +73 -0
- package/lib/module/helpers/portalize/Host.js.map +1 -0
- package/lib/module/helpers/portalize/Manager.js +36 -0
- package/lib/module/helpers/portalize/Manager.js.map +1 -0
- package/lib/module/helpers/portalize/Portal.js +18 -0
- package/lib/module/helpers/portalize/Portal.js.map +1 -0
- package/lib/module/helpers/portalize/context/index.js +33 -0
- package/lib/module/helpers/portalize/context/index.js.map +1 -0
- package/lib/module/helpers/portalize/hooks/useKey.js +34 -0
- package/lib/module/helpers/portalize/hooks/useKey.js.map +1 -0
- package/lib/module/helpers/portalize/index.js +7 -0
- package/lib/module/helpers/portalize/index.js.map +1 -0
- package/lib/module/helpers/theme/palette.js +61 -0
- package/lib/module/helpers/theme/palette.js.map +1 -0
- package/lib/module/helpers/theme/shapes.js +79 -0
- package/lib/module/helpers/theme/shapes.js.map +1 -0
- package/lib/module/helpers/theme/typography.js +33 -0
- package/lib/module/helpers/theme/typography.js.map +1 -0
- package/lib/module/index.js +10 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +4 -0
- package/lib/module/types/bottomSheet.js +4 -0
- package/lib/module/types/bottomSheet.js.map +1 -0
- package/lib/module/types/dialog.js +4 -0
- package/lib/module/types/dialog.js.map +1 -0
- package/lib/module/types/icon.js +4 -0
- package/lib/module/types/icon.js.map +1 -0
- package/lib/module/types/index.js +7 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/module/types/locale.js +4 -0
- package/lib/module/types/locale.js.map +1 -0
- package/lib/module/types/modal.js +4 -0
- package/lib/module/types/modal.js.map +1 -0
- package/lib/module/types/portalize.js +2 -0
- package/lib/module/types/portalize.js.map +1 -0
- package/lib/module/types/snackBar.js +4 -0
- package/lib/module/types/snackBar.js.map +1 -0
- package/lib/module/types/theme.js +2 -0
- package/lib/module/types/theme.js.map +1 -0
- package/lib/module/types/toast.js +4 -0
- package/lib/module/types/toast.js.map +1 -0
- package/lib/module/utils/index.js +54 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/module/variants/locales/default.json +208 -0
- package/lib/module/variants/themes/default.json +669 -0
- package/lib/package.json +4 -0
- package/lib/src/assets/svg/badgeAlertIcon/index.js +11 -0
- package/lib/src/assets/svg/badgeDangerIcon/index.js +10 -0
- package/lib/src/assets/svg/badgeInfoIcon/index.js +10 -0
- package/lib/src/assets/svg/badgeQuestionMarkIcon/index.js +11 -0
- package/lib/src/assets/svg/badgeRightIcon/index.js +10 -0
- package/lib/src/assets/svg/badgeSuccessIcon/index.js +11 -0
- package/lib/src/assets/svg/chevronRightIcon/index.js +10 -0
- package/lib/src/assets/svg/cleanIcon/index.js +10 -0
- package/lib/src/assets/svg/eyeClosedIcon/index.js +11 -0
- package/lib/src/assets/svg/eyeOpenedIcon/index.js +11 -0
- package/lib/src/assets/svg/index.js +10 -0
- package/lib/src/assets/svg/loadingIcon/index.js +41 -0
- package/lib/src/components/bottomSheet/index.js +897 -0
- package/lib/src/components/bottomSheet/stylesheet.js +23 -0
- package/lib/src/components/bottomSheet/type.js +1 -0
- package/lib/src/components/button/index.js +107 -0
- package/lib/src/components/button/stylesheet.js +209 -0
- package/lib/src/components/button/type.js +2 -0
- package/lib/src/components/checkBox/index.js +133 -0
- package/lib/src/components/checkBox/stylesheet.js +166 -0
- package/lib/src/components/checkBox/type.js +1 -0
- package/lib/src/components/chip/index.js +84 -0
- package/lib/src/components/chip/stylesheet.js +117 -0
- package/lib/src/components/chip/type.js +1 -0
- package/lib/src/components/dateSelector/index.js +251 -0
- package/lib/src/components/dateSelector/stylesheet.js +74 -0
- package/lib/src/components/dateSelector/type.js +4 -0
- package/lib/src/components/dateSelector/util.js +12 -0
- package/lib/src/components/dateTimePicker/index.js +591 -0
- package/lib/src/components/dateTimePicker/stylesheet.js +198 -0
- package/lib/src/components/dateTimePicker/type.js +3 -0
- package/lib/src/components/dateTimeSheet/index.js +154 -0
- package/lib/src/components/dateTimeSheet/stylesheet.js +81 -0
- package/lib/src/components/dateTimeSheet/type.js +2 -0
- package/lib/src/components/dialog/index.js +166 -0
- package/lib/src/components/dialog/stylesheet.js +90 -0
- package/lib/src/components/dialog/type.js +3 -0
- package/lib/src/components/index.js +29 -0
- package/lib/src/components/loading/index.js +11 -0
- package/lib/src/components/loading/stylesheet.js +7 -0
- package/lib/src/components/loading/type.js +2 -0
- package/lib/src/components/markdownViewer/constant.js +15 -0
- package/lib/src/components/markdownViewer/index.js +237 -0
- package/lib/src/components/markdownViewer/stylesheet.js +59 -0
- package/lib/src/components/markdownViewer/type.js +2 -0
- package/lib/src/components/markdownViewer/util.js +316 -0
- package/lib/src/components/modal/index.js +140 -0
- package/lib/src/components/modal/stylesheet.js +33 -0
- package/lib/src/components/modal/type.js +3 -0
- package/lib/src/components/monthSelector/index.js +271 -0
- package/lib/src/components/monthSelector/stylesheet.js +72 -0
- package/lib/src/components/monthSelector/type.js +4 -0
- package/lib/src/components/monthSelector/util.js +12 -0
- package/lib/src/components/notificationIndicator/index.js +91 -0
- package/lib/src/components/notificationIndicator/stylesheet.js +105 -0
- package/lib/src/components/notificationIndicator/type.js +1 -0
- package/lib/src/components/numericInput/index.js +319 -0
- package/lib/src/components/numericInput/stylesheet.js +230 -0
- package/lib/src/components/numericInput/type.js +3 -0
- package/lib/src/components/pageContainer/index.js +62 -0
- package/lib/src/components/pageContainer/stylesheet.js +10 -0
- package/lib/src/components/pageContainer/type.js +1 -0
- package/lib/src/components/radioButton/index.js +135 -0
- package/lib/src/components/radioButton/stylesheet.js +175 -0
- package/lib/src/components/radioButton/type.js +1 -0
- package/lib/src/components/rowCard/index.js +99 -0
- package/lib/src/components/rowCard/stylesheet.js +71 -0
- package/lib/src/components/rowCard/type.js +1 -0
- package/lib/src/components/selectBox/index.js +501 -0
- package/lib/src/components/selectBox/stylesheet.js +201 -0
- package/lib/src/components/selectBox/type.js +3 -0
- package/lib/src/components/selectSheet/index.js +179 -0
- package/lib/src/components/selectSheet/stylesheet.js +83 -0
- package/lib/src/components/selectSheet/type.js +2 -0
- package/lib/src/components/snackBar/index.js +249 -0
- package/lib/src/components/snackBar/stylesheet.js +118 -0
- package/lib/src/components/snackBar/type.js +3 -0
- package/lib/src/components/stateCard/index.js +69 -0
- package/lib/src/components/stateCard/stylesheet.js +90 -0
- package/lib/src/components/stateCard/type.js +1 -0
- package/lib/src/components/sticker/index.js +54 -0
- package/lib/src/components/sticker/stylesheet.js +83 -0
- package/lib/src/components/sticker/type.js +1 -0
- package/lib/src/components/switch/index.js +149 -0
- package/lib/src/components/switch/stylesheet.js +158 -0
- package/lib/src/components/switch/type.js +1 -0
- package/lib/src/components/text/index.js +15 -0
- package/lib/src/components/text/type.js +2 -0
- package/lib/src/components/textAreaInput/index.js +279 -0
- package/lib/src/components/textAreaInput/stylesheet.js +240 -0
- package/lib/src/components/textAreaInput/type.js +3 -0
- package/lib/src/components/textInput/index.js +273 -0
- package/lib/src/components/textInput/stylesheet.js +230 -0
- package/lib/src/components/textInput/type.js +3 -0
- package/lib/src/components/timeSelector/components/timeInput/index.js +112 -0
- package/lib/src/components/timeSelector/components/timeInput/stylesheet.js +21 -0
- package/lib/src/components/timeSelector/components/timeInput/type.js +2 -0
- package/lib/src/components/timeSelector/index.js +141 -0
- package/lib/src/components/timeSelector/stylesheet.js +37 -0
- package/lib/src/components/timeSelector/type.js +2 -0
- package/lib/src/components/toast/index.js +143 -0
- package/lib/src/components/toast/stylesheet.js +112 -0
- package/lib/src/components/toast/type.js +3 -0
- package/lib/src/components/yearSelector/index.js +269 -0
- package/lib/src/components/yearSelector/stylesheet.js +72 -0
- package/lib/src/components/yearSelector/type.js +4 -0
- package/lib/src/components/yearSelector/util.js +12 -0
- package/lib/src/context/bottomSheet.js +72 -0
- package/lib/src/context/dialog.js +72 -0
- package/lib/src/context/index.js +60 -0
- package/lib/src/context/localize.js +135 -0
- package/lib/src/context/modal.js +70 -0
- package/lib/src/context/snackBar.js +67 -0
- package/lib/src/context/theme.js +127 -0
- package/lib/src/context/toast.js +67 -0
- package/lib/src/core/hooks.js +16 -0
- package/lib/src/core/index.js +85 -0
- package/lib/src/helpers/index.js +4 -0
- package/lib/src/helpers/locale/index.js +20 -0
- package/lib/src/helpers/portalize/Consumer.js +31 -0
- package/lib/src/helpers/portalize/Host.js +55 -0
- package/lib/src/helpers/portalize/Manager.js +25 -0
- package/lib/src/helpers/portalize/Portal.js +7 -0
- package/lib/src/helpers/portalize/context/index.js +33 -0
- package/lib/src/helpers/portalize/hooks/useKey.js +33 -0
- package/lib/src/helpers/portalize/index.js +4 -0
- package/lib/src/helpers/theme/palette.js +63 -0
- package/lib/src/helpers/theme/shapes.js +75 -0
- package/lib/src/helpers/theme/typography.js +28 -0
- package/lib/src/index.js +7 -0
- package/lib/src/types/bottomSheet.js +1 -0
- package/lib/src/types/dialog.js +1 -0
- package/lib/src/types/icon.js +2 -0
- package/lib/src/types/index.js +11 -0
- package/lib/src/types/locale.js +1 -0
- package/lib/src/types/modal.js +1 -0
- package/lib/src/types/portalize.js +1 -0
- package/lib/src/types/snackBar.js +1 -0
- package/lib/src/types/theme.js +1 -0
- package/lib/src/types/toast.js +1 -0
- package/lib/src/utils/index.js +55 -0
- package/lib/src/variants/locales/default.json +208 -0
- package/lib/src/variants/themes/default.json +669 -0
- package/lib/tsconfig.build.tsbuildinfo +1 -0
- package/lib/typescript/package.json +4 -0
- package/lib/typescript/src/assets/svg/badgeAlertIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/badgeAlertIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/badgeDangerIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/badgeDangerIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/badgeInfoIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/badgeInfoIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/badgeQuestionMarkIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/badgeQuestionMarkIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/badgeRightIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/badgeRightIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/badgeSuccessIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/badgeSuccessIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/chevronRightIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/chevronRightIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/cleanIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/cleanIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/eyeClosedIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/eyeClosedIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/eyeOpenedIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/eyeOpenedIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/index.d.ts +11 -0
- package/lib/typescript/src/assets/svg/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/loadingIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/loadingIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/components/bottomSheet/index.d.ts +5 -0
- package/lib/typescript/src/components/bottomSheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/bottomSheet/stylesheet.d.ts +22 -0
- package/lib/typescript/src/components/bottomSheet/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/bottomSheet/type.d.ts +59 -0
- package/lib/typescript/src/components/bottomSheet/type.d.ts.map +1 -0
- package/lib/typescript/src/components/button/index.d.ts +10 -0
- package/lib/typescript/src/components/button/index.d.ts.map +1 -0
- package/lib/typescript/src/components/button/stylesheet.d.ts +51 -0
- package/lib/typescript/src/components/button/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/button/type.d.ts +84 -0
- package/lib/typescript/src/components/button/type.d.ts.map +1 -0
- package/lib/typescript/src/components/checkBox/index.d.ts +5 -0
- package/lib/typescript/src/components/checkBox/index.d.ts.map +1 -0
- package/lib/typescript/src/components/checkBox/stylesheet.d.ts +63 -0
- package/lib/typescript/src/components/checkBox/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/checkBox/type.d.ts +57 -0
- package/lib/typescript/src/components/checkBox/type.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/index.d.ts +5 -0
- package/lib/typescript/src/components/chip/index.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/stylesheet.d.ts +48 -0
- package/lib/typescript/src/components/chip/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/type.d.ts +53 -0
- package/lib/typescript/src/components/chip/type.d.ts.map +1 -0
- package/lib/typescript/src/components/dateSelector/index.d.ts +5 -0
- package/lib/typescript/src/components/dateSelector/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dateSelector/stylesheet.d.ts +49 -0
- package/lib/typescript/src/components/dateSelector/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/dateSelector/type.d.ts +46 -0
- package/lib/typescript/src/components/dateSelector/type.d.ts.map +1 -0
- package/lib/typescript/src/components/dateSelector/util.d.ts +3 -0
- package/lib/typescript/src/components/dateSelector/util.d.ts.map +1 -0
- package/lib/typescript/src/components/dateTimePicker/index.d.ts +5 -0
- package/lib/typescript/src/components/dateTimePicker/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dateTimePicker/stylesheet.d.ts +85 -0
- package/lib/typescript/src/components/dateTimePicker/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/dateTimePicker/type.d.ts +173 -0
- package/lib/typescript/src/components/dateTimePicker/type.d.ts.map +1 -0
- package/lib/typescript/src/components/dateTimeSheet/index.d.ts +4 -0
- package/lib/typescript/src/components/dateTimeSheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dateTimeSheet/stylesheet.d.ts +54 -0
- package/lib/typescript/src/components/dateTimeSheet/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/dateTimeSheet/type.d.ts +67 -0
- package/lib/typescript/src/components/dateTimeSheet/type.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/index.d.ts +5 -0
- package/lib/typescript/src/components/dialog/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/stylesheet.d.ts +48 -0
- package/lib/typescript/src/components/dialog/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/type.d.ts +62 -0
- package/lib/typescript/src/components/dialog/type.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +38 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/loading/index.d.ts +5 -0
- package/lib/typescript/src/components/loading/index.d.ts.map +1 -0
- package/lib/typescript/src/components/loading/stylesheet.d.ts +7 -0
- package/lib/typescript/src/components/loading/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/loading/type.d.ts +12 -0
- package/lib/typescript/src/components/loading/type.d.ts.map +1 -0
- package/lib/typescript/src/components/markdownViewer/constant.d.ts +3 -0
- package/lib/typescript/src/components/markdownViewer/constant.d.ts.map +1 -0
- package/lib/typescript/src/components/markdownViewer/index.d.ts +5 -0
- package/lib/typescript/src/components/markdownViewer/index.d.ts.map +1 -0
- package/lib/typescript/src/components/markdownViewer/stylesheet.d.ts +57 -0
- package/lib/typescript/src/components/markdownViewer/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/markdownViewer/type.d.ts +57 -0
- package/lib/typescript/src/components/markdownViewer/type.d.ts.map +1 -0
- package/lib/typescript/src/components/markdownViewer/util.d.ts +53 -0
- package/lib/typescript/src/components/markdownViewer/util.d.ts.map +1 -0
- package/lib/typescript/src/components/modal/index.d.ts +5 -0
- package/lib/typescript/src/components/modal/index.d.ts.map +1 -0
- package/lib/typescript/src/components/modal/stylesheet.d.ts +33 -0
- package/lib/typescript/src/components/modal/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/modal/type.d.ts +45 -0
- package/lib/typescript/src/components/modal/type.d.ts.map +1 -0
- package/lib/typescript/src/components/monthSelector/index.d.ts +5 -0
- package/lib/typescript/src/components/monthSelector/index.d.ts.map +1 -0
- package/lib/typescript/src/components/monthSelector/stylesheet.d.ts +49 -0
- package/lib/typescript/src/components/monthSelector/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/monthSelector/type.d.ts +46 -0
- package/lib/typescript/src/components/monthSelector/type.d.ts.map +1 -0
- package/lib/typescript/src/components/monthSelector/util.d.ts +3 -0
- package/lib/typescript/src/components/monthSelector/util.d.ts.map +1 -0
- package/lib/typescript/src/components/notificationIndicator/index.d.ts +5 -0
- package/lib/typescript/src/components/notificationIndicator/index.d.ts.map +1 -0
- package/lib/typescript/src/components/notificationIndicator/stylesheet.d.ts +46 -0
- package/lib/typescript/src/components/notificationIndicator/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/notificationIndicator/type.d.ts +52 -0
- package/lib/typescript/src/components/notificationIndicator/type.d.ts.map +1 -0
- package/lib/typescript/src/components/numericInput/index.d.ts +5 -0
- package/lib/typescript/src/components/numericInput/index.d.ts.map +1 -0
- package/lib/typescript/src/components/numericInput/stylesheet.d.ts +103 -0
- package/lib/typescript/src/components/numericInput/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/numericInput/type.d.ts +87 -0
- package/lib/typescript/src/components/numericInput/type.d.ts.map +1 -0
- package/lib/typescript/src/components/pageContainer/index.d.ts +5 -0
- package/lib/typescript/src/components/pageContainer/index.d.ts.map +1 -0
- package/lib/typescript/src/components/pageContainer/stylesheet.d.ts +10 -0
- package/lib/typescript/src/components/pageContainer/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/pageContainer/type.d.ts +22 -0
- package/lib/typescript/src/components/pageContainer/type.d.ts.map +1 -0
- package/lib/typescript/src/components/radioButton/index.d.ts +5 -0
- package/lib/typescript/src/components/radioButton/index.d.ts.map +1 -0
- package/lib/typescript/src/components/radioButton/stylesheet.d.ts +67 -0
- package/lib/typescript/src/components/radioButton/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/radioButton/type.d.ts +58 -0
- package/lib/typescript/src/components/radioButton/type.d.ts.map +1 -0
- package/lib/typescript/src/components/rowCard/index.d.ts +5 -0
- package/lib/typescript/src/components/rowCard/index.d.ts.map +1 -0
- package/lib/typescript/src/components/rowCard/stylesheet.d.ts +45 -0
- package/lib/typescript/src/components/rowCard/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/rowCard/type.d.ts +49 -0
- package/lib/typescript/src/components/rowCard/type.d.ts.map +1 -0
- package/lib/typescript/src/components/selectBox/index.d.ts +4 -0
- package/lib/typescript/src/components/selectBox/index.d.ts.map +1 -0
- package/lib/typescript/src/components/selectBox/stylesheet.d.ts +86 -0
- package/lib/typescript/src/components/selectBox/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/selectBox/type.d.ts +151 -0
- package/lib/typescript/src/components/selectBox/type.d.ts.map +1 -0
- package/lib/typescript/src/components/selectSheet/index.d.ts +4 -0
- package/lib/typescript/src/components/selectSheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/selectSheet/stylesheet.d.ts +54 -0
- package/lib/typescript/src/components/selectSheet/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/selectSheet/type.d.ts +80 -0
- package/lib/typescript/src/components/selectSheet/type.d.ts.map +1 -0
- package/lib/typescript/src/components/snackBar/index.d.ts +5 -0
- package/lib/typescript/src/components/snackBar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/snackBar/stylesheet.d.ts +50 -0
- package/lib/typescript/src/components/snackBar/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/snackBar/type.d.ts +70 -0
- package/lib/typescript/src/components/snackBar/type.d.ts.map +1 -0
- package/lib/typescript/src/components/stateCard/index.d.ts +5 -0
- package/lib/typescript/src/components/stateCard/index.d.ts.map +1 -0
- package/lib/typescript/src/components/stateCard/stylesheet.d.ts +43 -0
- package/lib/typescript/src/components/stateCard/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/stateCard/type.d.ts +35 -0
- package/lib/typescript/src/components/stateCard/type.d.ts.map +1 -0
- package/lib/typescript/src/components/sticker/index.d.ts +5 -0
- package/lib/typescript/src/components/sticker/index.d.ts.map +1 -0
- package/lib/typescript/src/components/sticker/stylesheet.d.ts +34 -0
- package/lib/typescript/src/components/sticker/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/sticker/type.d.ts +45 -0
- package/lib/typescript/src/components/sticker/type.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/index.d.ts +5 -0
- package/lib/typescript/src/components/switch/index.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/stylesheet.d.ts +64 -0
- package/lib/typescript/src/components/switch/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/type.d.ts +56 -0
- package/lib/typescript/src/components/switch/type.d.ts.map +1 -0
- package/lib/typescript/src/components/text/index.d.ts +5 -0
- package/lib/typescript/src/components/text/index.d.ts.map +1 -0
- package/lib/typescript/src/components/text/type.d.ts +17 -0
- package/lib/typescript/src/components/text/type.d.ts.map +1 -0
- package/lib/typescript/src/components/textAreaInput/index.d.ts +5 -0
- package/lib/typescript/src/components/textAreaInput/index.d.ts.map +1 -0
- package/lib/typescript/src/components/textAreaInput/stylesheet.d.ts +113 -0
- package/lib/typescript/src/components/textAreaInput/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/textAreaInput/type.d.ts +86 -0
- package/lib/typescript/src/components/textAreaInput/type.d.ts.map +1 -0
- package/lib/typescript/src/components/textInput/index.d.ts +5 -0
- package/lib/typescript/src/components/textInput/index.d.ts.map +1 -0
- package/lib/typescript/src/components/textInput/stylesheet.d.ts +104 -0
- package/lib/typescript/src/components/textInput/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/textInput/type.d.ts +86 -0
- package/lib/typescript/src/components/textInput/type.d.ts.map +1 -0
- package/lib/typescript/src/components/timeSelector/components/timeInput/index.d.ts +5 -0
- package/lib/typescript/src/components/timeSelector/components/timeInput/index.d.ts.map +1 -0
- package/lib/typescript/src/components/timeSelector/components/timeInput/stylesheet.d.ts +17 -0
- package/lib/typescript/src/components/timeSelector/components/timeInput/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/timeSelector/components/timeInput/type.d.ts +32 -0
- package/lib/typescript/src/components/timeSelector/components/timeInput/type.d.ts.map +1 -0
- package/lib/typescript/src/components/timeSelector/index.d.ts +4 -0
- package/lib/typescript/src/components/timeSelector/index.d.ts.map +1 -0
- package/lib/typescript/src/components/timeSelector/stylesheet.d.ts +27 -0
- package/lib/typescript/src/components/timeSelector/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/timeSelector/type.d.ts +36 -0
- package/lib/typescript/src/components/timeSelector/type.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/index.d.ts +5 -0
- package/lib/typescript/src/components/toast/index.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/stylesheet.d.ts +49 -0
- package/lib/typescript/src/components/toast/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/type.d.ts +64 -0
- package/lib/typescript/src/components/toast/type.d.ts.map +1 -0
- package/lib/typescript/src/components/yearSelector/index.d.ts +5 -0
- package/lib/typescript/src/components/yearSelector/index.d.ts.map +1 -0
- package/lib/typescript/src/components/yearSelector/stylesheet.d.ts +49 -0
- package/lib/typescript/src/components/yearSelector/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/yearSelector/type.d.ts +43 -0
- package/lib/typescript/src/components/yearSelector/type.d.ts.map +1 -0
- package/lib/typescript/src/components/yearSelector/util.d.ts +3 -0
- package/lib/typescript/src/components/yearSelector/util.d.ts.map +1 -0
- package/lib/typescript/src/context/bottomSheet.d.ts +18 -0
- package/lib/typescript/src/context/bottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/context/dialog.d.ts +18 -0
- package/lib/typescript/src/context/dialog.d.ts.map +1 -0
- package/lib/typescript/src/context/index.d.ts +24 -0
- package/lib/typescript/src/context/index.d.ts.map +1 -0
- package/lib/typescript/src/context/localize.d.ts +24 -0
- package/lib/typescript/src/context/localize.d.ts.map +1 -0
- package/lib/typescript/src/context/modal.d.ts +18 -0
- package/lib/typescript/src/context/modal.d.ts.map +1 -0
- package/lib/typescript/src/context/snackBar.d.ts +18 -0
- package/lib/typescript/src/context/snackBar.d.ts.map +1 -0
- package/lib/typescript/src/context/theme.d.ts +32 -0
- package/lib/typescript/src/context/theme.d.ts.map +1 -0
- package/lib/typescript/src/context/toast.d.ts +18 -0
- package/lib/typescript/src/context/toast.d.ts.map +1 -0
- package/lib/typescript/src/core/hooks.d.ts +18 -0
- package/lib/typescript/src/core/hooks.d.ts.map +1 -0
- package/lib/typescript/src/core/index.d.ts +13 -0
- package/lib/typescript/src/core/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/index.d.ts +5 -0
- package/lib/typescript/src/helpers/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/locale/index.d.ts +8 -0
- package/lib/typescript/src/helpers/locale/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/Consumer.d.ts +10 -0
- package/lib/typescript/src/helpers/portalize/Consumer.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/Host.d.ts +17 -0
- package/lib/typescript/src/helpers/portalize/Host.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/Manager.d.ts +10 -0
- package/lib/typescript/src/helpers/portalize/Manager.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/Portal.d.ts +8 -0
- package/lib/typescript/src/helpers/portalize/Portal.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/context/index.d.ts +14 -0
- package/lib/typescript/src/helpers/portalize/context/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/hooks/useKey.d.ts +7 -0
- package/lib/typescript/src/helpers/portalize/hooks/useKey.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/index.d.ts +5 -0
- package/lib/typescript/src/helpers/portalize/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/palette.d.ts +3 -0
- package/lib/typescript/src/helpers/theme/palette.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/shapes.d.ts +33 -0
- package/lib/typescript/src/helpers/theme/shapes.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/typography.d.ts +22 -0
- package/lib/typescript/src/helpers/theme/typography.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +10 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/types/bottomSheet.d.ts +20 -0
- package/lib/typescript/src/types/bottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/types/dialog.d.ts +20 -0
- package/lib/typescript/src/types/dialog.d.ts.map +1 -0
- package/lib/typescript/src/types/icon.d.ts +14 -0
- package/lib/typescript/src/types/icon.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +134 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -0
- package/lib/typescript/src/types/locale.d.ts +17 -0
- package/lib/typescript/src/types/locale.d.ts.map +1 -0
- package/lib/typescript/src/types/modal.d.ts +20 -0
- package/lib/typescript/src/types/modal.d.ts.map +1 -0
- package/lib/typescript/src/types/portalize.d.ts +4 -0
- package/lib/typescript/src/types/portalize.d.ts.map +1 -0
- package/lib/typescript/src/types/snackBar.d.ts +19 -0
- package/lib/typescript/src/types/snackBar.d.ts.map +1 -0
- package/lib/typescript/src/types/theme.d.ts +25 -0
- package/lib/typescript/src/types/theme.d.ts.map +1 -0
- package/lib/typescript/src/types/toast.d.ts +19 -0
- package/lib/typescript/src/types/toast.d.ts.map +1 -0
- package/lib/typescript/src/utils/index.d.ts +5 -0
- package/lib/typescript/src/utils/index.d.ts.map +1 -0
- package/lib/typescript/src/variants/locales/default.json +208 -0
- package/lib/typescript/src/variants/themes/default.json +669 -0
- package/package.json +213 -0
- package/react-native.config.js +5 -0
- package/src/assets/fonts/Geist-Black.ttf +0 -0
- package/src/assets/fonts/Geist-Bold.ttf +0 -0
- package/src/assets/fonts/Geist-ExtraBold.ttf +0 -0
- package/src/assets/fonts/Geist-ExtraLight.ttf +0 -0
- package/src/assets/fonts/Geist-Light.ttf +0 -0
- package/src/assets/fonts/Geist-Medium.ttf +0 -0
- package/src/assets/fonts/Geist-Regular.ttf +0 -0
- package/src/assets/fonts/Geist-SemiBold.ttf +0 -0
- package/src/assets/fonts/Geist-Thin.ttf +0 -0
- package/src/assets/svg/badgeAlertIcon/index.tsx +42 -0
- package/src/assets/svg/badgeDangerIcon/index.tsx +40 -0
- package/src/assets/svg/badgeInfoIcon/index.tsx +40 -0
- package/src/assets/svg/badgeQuestionMarkIcon/index.tsx +50 -0
- package/src/assets/svg/badgeRightIcon/index.tsx +40 -0
- package/src/assets/svg/badgeSuccessIcon/index.tsx +50 -0
- package/src/assets/svg/chevronRightIcon/index.tsx +40 -0
- package/src/assets/svg/cleanIcon/index.tsx +40 -0
- package/src/assets/svg/eyeClosedIcon/index.tsx +50 -0
- package/src/assets/svg/eyeOpenedIcon/index.tsx +50 -0
- package/src/assets/svg/index.ts +39 -0
- package/src/assets/svg/loadingIcon/index.tsx +95 -0
- package/src/components/bottomSheet/index.tsx +1218 -0
- package/src/components/bottomSheet/stylesheet.ts +28 -0
- package/src/components/bottomSheet/type.ts +68 -0
- package/src/components/button/index.tsx +191 -0
- package/src/components/button/stylesheet.ts +294 -0
- package/src/components/button/type.ts +108 -0
- package/src/components/checkBox/index.tsx +274 -0
- package/src/components/checkBox/stylesheet.ts +223 -0
- package/src/components/checkBox/type.ts +69 -0
- package/src/components/chip/index.tsx +183 -0
- package/src/components/chip/stylesheet.ts +172 -0
- package/src/components/chip/type.ts +68 -0
- package/src/components/dateSelector/index.tsx +434 -0
- package/src/components/dateSelector/stylesheet.ts +92 -0
- package/src/components/dateSelector/type.ts +59 -0
- package/src/components/dateSelector/util.ts +20 -0
- package/src/components/dateTimePicker/index.tsx +977 -0
- package/src/components/dateTimePicker/stylesheet.ts +252 -0
- package/src/components/dateTimePicker/type.ts +214 -0
- package/src/components/dateTimeSheet/index.tsx +418 -0
- package/src/components/dateTimeSheet/stylesheet.ts +99 -0
- package/src/components/dateTimeSheet/type.ts +98 -0
- package/src/components/dialog/index.tsx +336 -0
- package/src/components/dialog/stylesheet.ts +129 -0
- package/src/components/dialog/type.ts +79 -0
- package/src/components/index.ts +163 -0
- package/src/components/loading/index.tsx +26 -0
- package/src/components/loading/stylesheet.ts +10 -0
- package/src/components/loading/type.ts +18 -0
- package/src/components/markdownViewer/constant.ts +19 -0
- package/src/components/markdownViewer/index.tsx +503 -0
- package/src/components/markdownViewer/stylesheet.ts +72 -0
- package/src/components/markdownViewer/type.ts +87 -0
- package/src/components/markdownViewer/util.ts +453 -0
- package/src/components/modal/index.tsx +234 -0
- package/src/components/modal/stylesheet.ts +36 -0
- package/src/components/modal/type.ts +58 -0
- package/src/components/monthSelector/index.tsx +447 -0
- package/src/components/monthSelector/stylesheet.ts +89 -0
- package/src/components/monthSelector/type.ts +59 -0
- package/src/components/monthSelector/util.ts +20 -0
- package/src/components/notificationIndicator/index.tsx +172 -0
- package/src/components/notificationIndicator/stylesheet.ts +154 -0
- package/src/components/notificationIndicator/type.ts +65 -0
- package/src/components/numericInput/index.tsx +617 -0
- package/src/components/numericInput/stylesheet.ts +278 -0
- package/src/components/numericInput/type.ts +109 -0
- package/src/components/pageContainer/index.tsx +119 -0
- package/src/components/pageContainer/stylesheet.ts +13 -0
- package/src/components/pageContainer/type.ts +30 -0
- package/src/components/radioButton/index.tsx +269 -0
- package/src/components/radioButton/stylesheet.ts +233 -0
- package/src/components/radioButton/type.ts +70 -0
- package/src/components/rowCard/index.tsx +231 -0
- package/src/components/rowCard/stylesheet.ts +95 -0
- package/src/components/rowCard/type.ts +59 -0
- package/src/components/selectBox/index.tsx +867 -0
- package/src/components/selectBox/stylesheet.ts +250 -0
- package/src/components/selectBox/type.ts +193 -0
- package/src/components/selectSheet/index.tsx +372 -0
- package/src/components/selectSheet/stylesheet.ts +102 -0
- package/src/components/selectSheet/type.ts +103 -0
- package/src/components/snackBar/index.tsx +430 -0
- package/src/components/snackBar/stylesheet.ts +164 -0
- package/src/components/snackBar/type.ts +85 -0
- package/src/components/stateCard/index.tsx +152 -0
- package/src/components/stateCard/stylesheet.ts +121 -0
- package/src/components/stateCard/type.ts +47 -0
- package/src/components/sticker/index.tsx +123 -0
- package/src/components/sticker/stylesheet.ts +124 -0
- package/src/components/sticker/type.ts +60 -0
- package/src/components/switch/index.tsx +284 -0
- package/src/components/switch/stylesheet.ts +214 -0
- package/src/components/switch/type.ts +68 -0
- package/src/components/text/index.tsx +42 -0
- package/src/components/text/type.ts +25 -0
- package/src/components/textAreaInput/index.tsx +551 -0
- package/src/components/textAreaInput/stylesheet.ts +294 -0
- package/src/components/textAreaInput/type.ts +104 -0
- package/src/components/textInput/index.tsx +555 -0
- package/src/components/textInput/stylesheet.ts +279 -0
- package/src/components/textInput/type.ts +105 -0
- package/src/components/timeSelector/components/timeInput/index.tsx +172 -0
- package/src/components/timeSelector/components/timeInput/stylesheet.ts +38 -0
- package/src/components/timeSelector/components/timeInput/type.ts +47 -0
- package/src/components/timeSelector/index.tsx +433 -0
- package/src/components/timeSelector/stylesheet.ts +59 -0
- package/src/components/timeSelector/type.ts +48 -0
- package/src/components/toast/index.tsx +272 -0
- package/src/components/toast/stylesheet.ts +156 -0
- package/src/components/toast/type.ts +79 -0
- package/src/components/yearSelector/index.tsx +444 -0
- package/src/components/yearSelector/stylesheet.ts +89 -0
- package/src/components/yearSelector/type.ts +55 -0
- package/src/components/yearSelector/util.ts +20 -0
- package/src/context/bottomSheet.tsx +121 -0
- package/src/context/dialog.tsx +120 -0
- package/src/context/index.tsx +110 -0
- package/src/context/localize.tsx +202 -0
- package/src/context/modal.tsx +116 -0
- package/src/context/snackBar.tsx +114 -0
- package/src/context/theme.tsx +217 -0
- package/src/context/toast.tsx +114 -0
- package/src/core/hooks.ts +33 -0
- package/src/core/index.tsx +126 -0
- package/src/helpers/index.ts +20 -0
- package/src/helpers/locale/index.ts +28 -0
- package/src/helpers/portalize/Consumer.tsx +53 -0
- package/src/helpers/portalize/Host.tsx +122 -0
- package/src/helpers/portalize/Manager.tsx +75 -0
- package/src/helpers/portalize/Portal.tsx +30 -0
- package/src/helpers/portalize/context/index.ts +49 -0
- package/src/helpers/portalize/hooks/useKey.ts +49 -0
- package/src/helpers/portalize/index.tsx +15 -0
- package/src/helpers/theme/palette.ts +90 -0
- package/src/helpers/theme/shapes.ts +106 -0
- package/src/helpers/theme/typography.ts +46 -0
- package/src/index.tsx +117 -0
- package/src/types/bottomSheet.ts +23 -0
- package/src/types/dialog.ts +23 -0
- package/src/types/icon.ts +20 -0
- package/src/types/index.ts +217 -0
- package/src/types/locale.ts +30 -0
- package/src/types/modal.ts +25 -0
- package/src/types/portalize.ts +3 -0
- package/src/types/snackBar.ts +24 -0
- package/src/types/theme.ts +30 -0
- package/src/types/toast.ts +24 -0
- package/src/utils/index.ts +65 -0
- package/src/variants/locales/default.json +208 -0
- package/src/variants/themes/default.json +669 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { TouchableOpacity } from "react-native";
|
|
4
|
+
import stylesheet, { useStyles } from "./stylesheet.js";
|
|
5
|
+
import { NCoreUIKitTheme } from "../../../../core/hooks.js";
|
|
6
|
+
import moment from "moment";
|
|
7
|
+
import NumericInput from "../../../numericInput/index.js";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
const TimeInput = ({
|
|
10
|
+
isWorkWith24HoursFormat = true,
|
|
11
|
+
selectMultipleObject,
|
|
12
|
+
setDateRangeValue,
|
|
13
|
+
rangeValidation,
|
|
14
|
+
selectObject,
|
|
15
|
+
setDateValue,
|
|
16
|
+
rangeType,
|
|
17
|
+
timeType,
|
|
18
|
+
maxDate,
|
|
19
|
+
minDate,
|
|
20
|
+
variant,
|
|
21
|
+
...props
|
|
22
|
+
}) => {
|
|
23
|
+
const {
|
|
24
|
+
typography,
|
|
25
|
+
radiuses
|
|
26
|
+
} = NCoreUIKitTheme.useContext();
|
|
27
|
+
const {
|
|
28
|
+
container: containerDynamicStyle,
|
|
29
|
+
input: inputDynamicStyle
|
|
30
|
+
} = useStyles({
|
|
31
|
+
typography,
|
|
32
|
+
radiuses
|
|
33
|
+
});
|
|
34
|
+
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
35
|
+
style: [stylesheet.container, containerDynamicStyle],
|
|
36
|
+
children: /*#__PURE__*/_jsx(NumericInput, {
|
|
37
|
+
...props,
|
|
38
|
+
validation: (text, setText) => {
|
|
39
|
+
let resp = true;
|
|
40
|
+
if (props.validation && !props.validation(text, setText)) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
const num = Number(text);
|
|
44
|
+
if (timeType === "hours") {
|
|
45
|
+
if (num < 0) {
|
|
46
|
+
setText("0");
|
|
47
|
+
resp = false;
|
|
48
|
+
}
|
|
49
|
+
if (isWorkWith24HoursFormat) {
|
|
50
|
+
if (num > 23) {
|
|
51
|
+
setText("23");
|
|
52
|
+
resp = false;
|
|
53
|
+
}
|
|
54
|
+
} else {
|
|
55
|
+
if (num > 11) {
|
|
56
|
+
setText("11");
|
|
57
|
+
resp = false;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
} else {
|
|
61
|
+
if (num < 0) {
|
|
62
|
+
setText("0");
|
|
63
|
+
resp = false;
|
|
64
|
+
}
|
|
65
|
+
if (num > 59) {
|
|
66
|
+
setText("59");
|
|
67
|
+
resp = false;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
if (resp) {
|
|
71
|
+
if (variant === "range") {
|
|
72
|
+
const updateTime = {
|
|
73
|
+
rangeType: rangeType
|
|
74
|
+
};
|
|
75
|
+
updateTime[timeType] = Number(num);
|
|
76
|
+
const nDRV = setDateRangeValue(updateTime);
|
|
77
|
+
if (nDRV) {
|
|
78
|
+
const nDRVMoment = moment(nDRV[rangeType]);
|
|
79
|
+
if (minDate && nDRVMoment.isBefore(minDate)) {
|
|
80
|
+
setText(moment(minDate).get(timeType).toString());
|
|
81
|
+
resp = false;
|
|
82
|
+
}
|
|
83
|
+
if (maxDate && nDRVMoment.isAfter(maxDate)) {
|
|
84
|
+
setText(moment(maxDate).get(timeType).toString());
|
|
85
|
+
resp = false;
|
|
86
|
+
}
|
|
87
|
+
console.log("x:", resp);
|
|
88
|
+
if (rangeValidation && !rangeValidation({
|
|
89
|
+
rangeType: rangeType,
|
|
90
|
+
dateRangeValue: nDRV
|
|
91
|
+
}, setText)) {
|
|
92
|
+
resp = false;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
} else {
|
|
96
|
+
const nDV = setDateValue({
|
|
97
|
+
[timeType]: Number(text)
|
|
98
|
+
});
|
|
99
|
+
if (minDate && nDV && moment(nDV).isBefore(minDate)) {
|
|
100
|
+
setText(moment(minDate).get(timeType).toString());
|
|
101
|
+
resp = false;
|
|
102
|
+
}
|
|
103
|
+
if (maxDate && nDV && moment(nDV).isAfter(maxDate)) {
|
|
104
|
+
setText(moment(maxDate).get(timeType).toString());
|
|
105
|
+
resp = false;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return resp;
|
|
110
|
+
},
|
|
111
|
+
onChangeText: text => {
|
|
112
|
+
if (variant === "range") {
|
|
113
|
+
const updateTime = {
|
|
114
|
+
rangeType: rangeType
|
|
115
|
+
};
|
|
116
|
+
updateTime[timeType] = Number(text);
|
|
117
|
+
const nDRV = setDateRangeValue(updateTime);
|
|
118
|
+
selectMultipleObject(nDRV);
|
|
119
|
+
} else {
|
|
120
|
+
const nDV = setDateValue({
|
|
121
|
+
[timeType]: Number(text)
|
|
122
|
+
});
|
|
123
|
+
selectObject(nDV);
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
inputStyle: [stylesheet.input, inputDynamicStyle],
|
|
127
|
+
keyboardType: "numeric",
|
|
128
|
+
textAlign: "center",
|
|
129
|
+
numberOfLines: 1,
|
|
130
|
+
maxLength: 2
|
|
131
|
+
})
|
|
132
|
+
});
|
|
133
|
+
};
|
|
134
|
+
export default TimeInput;
|
|
135
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["TouchableOpacity","stylesheet","useStyles","NCoreUIKitTheme","moment","NumericInput","jsx","_jsx","TimeInput","isWorkWith24HoursFormat","selectMultipleObject","setDateRangeValue","rangeValidation","selectObject","setDateValue","rangeType","timeType","maxDate","minDate","variant","props","typography","radiuses","useContext","container","containerDynamicStyle","input","inputDynamicStyle","style","children","validation","text","setText","resp","num","Number","updateTime","nDRV","nDRVMoment","isBefore","get","toString","isAfter","console","log","dateRangeValue","nDV","onChangeText","inputStyle","keyboardType","textAlign","numberOfLines","maxLength"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["components/timeSelector/components/timeInput/index.tsx"],"mappings":";;AAGA,SACIA,gBAAgB,QACb,cAAc;AAIrB,OAAOC,UAAU,IACbC,SAAS,QACN,iBAAc;AACrB,SACIC,eAAe,QACZ,2BAAwB;AAI/B,OAAOC,MAAM,MAAM,QAAQ;AAC3B,OAAOC,YAAY,MAAM,gCAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEjD,MAAMC,SAAqC,GAAGA,CAAC;EAC3CC,uBAAuB,GAAG,IAAI;EAC9BC,oBAAoB;EACpBC,iBAAiB;EACjBC,eAAe;EACfC,YAAY;EACZC,YAAY;EACZC,SAAS;EACTC,QAAQ;EACRC,OAAO;EACPC,OAAO;EACPC,OAAO;EACP,GAAGC;AACP,CAAC,KAAK;EACF,MAAM;IACFC,UAAU;IACVC;EACJ,CAAC,GAAGnB,eAAe,CAACoB,UAAU,CAAC,CAAC;EAEhC,MAAM;IACFC,SAAS,EAAEC,qBAAqB;IAChCC,KAAK,EAAEC;EACX,CAAC,GAAGzB,SAAS,CAAC;IACVmB,UAAU;IACVC;EACJ,CAAC,CAAC;EAEF,oBAAOf,IAAA,CAACP,gBAAgB;IACpB4B,KAAK,EAAE,CACH3B,UAAU,CAACuB,SAAS,EACpBC,qBAAqB,CACvB;IAAAI,QAAA,eAEFtB,IAAA,CAACF,YAAY;MAAA,GACLe,KAAK;MACTU,UAAU,EAAEA,CAACC,IAAI,EAAEC,OAAO,KAAK;QAC3B,IAAIC,IAAI,GAAG,IAAI;QAEf,IAAGb,KAAK,CAACU,UAAU,IAAI,CAACV,KAAK,CAACU,UAAU,CAACC,IAAI,EAAEC,OAAO,CAAC,EAAE;UACrD,OAAO,KAAK;QAChB;QAEA,MAAME,GAAG,GAAGC,MAAM,CAACJ,IA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M,CAACJ,IAAI,CAAC;UAEnC,MAAMM,IAAI,GAAG1B,iBAAiB,CAACyB,UAAU,CAAC;UAC1C1B,oBAAoB,CAAC2B,IAAI,CAAC;QAC9B,CAAC,MAAM;UACH,MAAMS,GAAG,GAAGhC,YAAY,CAAC;YACrB,CAACE,QAAQ,GAAGmB,MAAM,CAACJ,IAAI;UAC3B,CAAC,CAAC;UACFlB,YAAY,CAACiC,GAAG,CAAC;QACrB;MACJ,CAAE;MACFE,UAAU,EAAE,CACR/C,UAAU,CAACyB,KAAK,EAChBC,iBAAiB,CACnB;MACFsB,YAAY,EAAC,SAAS;MACtBC,SAAS,EAAC,QAAQ;MAClBC,aAAa,EAAE,CAAE;MACjBC,SAAS,EAAE;IAAE,CAChB;EAAC,CACY,CAAC;AACvB,CAAC;AACD,eAAe5C,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from "react-native";
|
|
4
|
+
const stylesheet = StyleSheet.create({
|
|
5
|
+
container: {},
|
|
6
|
+
input: {
|
|
7
|
+
textAlignVertical: "center",
|
|
8
|
+
verticalAlign: "middle",
|
|
9
|
+
textAlign: "center"
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
export const useStyles = ({
|
|
13
|
+
typography,
|
|
14
|
+
radiuses
|
|
15
|
+
}) => {
|
|
16
|
+
const styles = {
|
|
17
|
+
container: {
|
|
18
|
+
borderRadius: radiuses.actions
|
|
19
|
+
},
|
|
20
|
+
input: {
|
|
21
|
+
...typography.titleMediumSize
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
return styles;
|
|
25
|
+
};
|
|
26
|
+
export default stylesheet;
|
|
27
|
+
//# sourceMappingURL=stylesheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","stylesheet","create","container","input","textAlignVertical","verticalAlign","textAlign","useStyles","typography","radiuses","styles","borderRadius","actions","titleMediumSize"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["components/timeSelector/components/timeInput/stylesheet.ts"],"mappings":";;AAAA,SAGIA,UAAU,QACP,cAAc;AAQrB,MAAMC,UAAU,GAAGD,UAAU,CAACE,MAAM,CAAC;EACjCC,SAAS,EAAE,CACX,CAAC;EACDC,KAAK,EAAE;IACHC,iBAAiB,EAAE,QAAQ;IAC3BC,aAAa,EAAE,QAAQ;IACvBC,SAAS,EAAE;EACf;AACJ,CAAC,CAAC;AAEF,OAAO,MAAMC,SAAS,GAAGA,CAAC;EACtBC,UAAU;EACVC;AACmB,CAAC,KAAK;EACzB,MAAMC,MAAM,GAAG;IACXR,SAAS,EAAE;MACPS,YAAY,EAAEF,QAAQ,CAACG;IAC3B,CAAuB;IACvBT,KAAK,EAAE;MACH,GAAGK,UAAU,CAACK;IAClB;EACJ,CAAC;EAED,OAAOH,MAAM;AACjB,CAAC;AACD,eAAeV,UAAU","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["components/timeSelector/components/timeInput/type.ts"],"mappings":";;AA2CC;AAAC","ignoreList":[]}
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useEffect } from "react";
|
|
4
|
+
import { View } from "react-native";
|
|
5
|
+
import stylesheet, { useStyles } from "./stylesheet.js";
|
|
6
|
+
import TimeInput from "./components/timeInput/index.js";
|
|
7
|
+
import { NCoreUIKitLocalize, NCoreUIKitTheme, NCoreUIKitToast } from "../../core/hooks.js";
|
|
8
|
+
import moment from "moment";
|
|
9
|
+
import { Fragment, jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
+
import Text from "../text/index.js";
|
|
11
|
+
const TimeSelector = ({
|
|
12
|
+
isTimeSelectWorksWithCenterWhenTimePicker,
|
|
13
|
+
multipleSelectMinimumRequireMS,
|
|
14
|
+
isWorkWith24HoursFormat = true,
|
|
15
|
+
isWorkWithSeconds = false,
|
|
16
|
+
multipleSelectMaximumMS,
|
|
17
|
+
setIsSheetContentReady,
|
|
18
|
+
selectMultipleObject,
|
|
19
|
+
selectObject,
|
|
20
|
+
pickerType,
|
|
21
|
+
dateRange,
|
|
22
|
+
maxDate,
|
|
23
|
+
minDate,
|
|
24
|
+
variant,
|
|
25
|
+
date
|
|
26
|
+
}) => {
|
|
27
|
+
const {
|
|
28
|
+
spaces
|
|
29
|
+
} = NCoreUIKitTheme.useContext();
|
|
30
|
+
const {
|
|
31
|
+
localize
|
|
32
|
+
} = NCoreUIKitLocalize.useContext();
|
|
33
|
+
const {
|
|
34
|
+
inputsContainer: inputsContainerDynamicStyle,
|
|
35
|
+
rangeContainer: rangeContainerDynamicStyle,
|
|
36
|
+
container: containerDynamicStyle,
|
|
37
|
+
colonText: colonTextDynamicStyle,
|
|
38
|
+
timeTitle: timeTitleDynamicStyle
|
|
39
|
+
} = useStyles({
|
|
40
|
+
isTimeSelectWorksWithCenterWhenTimePicker,
|
|
41
|
+
pickerType,
|
|
42
|
+
spaces
|
|
43
|
+
});
|
|
44
|
+
useEffect(() => {
|
|
45
|
+
if (pickerType === "time") setIsSheetContentReady(true);
|
|
46
|
+
}, []);
|
|
47
|
+
const setDateRangeValue = ({
|
|
48
|
+
rangeType,
|
|
49
|
+
seconds,
|
|
50
|
+
minutes,
|
|
51
|
+
hours
|
|
52
|
+
}) => {
|
|
53
|
+
if (!dateRange) {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
const newRangeDate = dateRange[rangeType] ? dateRange[rangeType] : new Date();
|
|
57
|
+
if (hours !== undefined) {
|
|
58
|
+
newRangeDate?.setHours(hours);
|
|
59
|
+
}
|
|
60
|
+
if (minutes !== undefined) {
|
|
61
|
+
newRangeDate?.setMinutes(minutes);
|
|
62
|
+
}
|
|
63
|
+
if (seconds !== undefined) {
|
|
64
|
+
newRangeDate?.setSeconds(seconds);
|
|
65
|
+
}
|
|
66
|
+
const newMultipleObject = dateRange;
|
|
67
|
+
newMultipleObject[rangeType] = newRangeDate;
|
|
68
|
+
return newMultipleObject;
|
|
69
|
+
};
|
|
70
|
+
const setDateValue = ({
|
|
71
|
+
seconds,
|
|
72
|
+
minutes,
|
|
73
|
+
hours
|
|
74
|
+
}) => {
|
|
75
|
+
const newDate = date ? date : new Date();
|
|
76
|
+
if (hours !== undefined) {
|
|
77
|
+
newDate?.setHours(hours);
|
|
78
|
+
}
|
|
79
|
+
if (minutes !== undefined) {
|
|
80
|
+
newDate?.setMinutes(minutes);
|
|
81
|
+
}
|
|
82
|
+
if (seconds !== undefined) {
|
|
83
|
+
newDate?.setSeconds(seconds);
|
|
84
|
+
}
|
|
85
|
+
return newDate;
|
|
86
|
+
};
|
|
87
|
+
const rangeValidation = ({
|
|
88
|
+
dateRangeValue,
|
|
89
|
+
rangeType
|
|
90
|
+
}) => {
|
|
91
|
+
const start = rangeType === "start" ? dateRangeValue[rangeType] : dateRange?.start;
|
|
92
|
+
const end = rangeType === "end" ? dateRangeValue[rangeType] : dateRange?.end;
|
|
93
|
+
if (start && end) {
|
|
94
|
+
if (multipleSelectMinimumRequireMS && Math.abs(moment(end).diff(start, "milliseconds")) < multipleSelectMinimumRequireMS) {
|
|
95
|
+
NCoreUIKitToast.open({
|
|
96
|
+
title: localize("selected-start-and-end-times-cannot-be-less-than-x-times-apart", [moment.duration(multipleSelectMinimumRequireMS).humanize()])
|
|
97
|
+
});
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
if (multipleSelectMaximumMS && Math.abs(moment(end).diff(start, "milliseconds")) > multipleSelectMaximumMS) {
|
|
101
|
+
NCoreUIKitToast.open({
|
|
102
|
+
title: localize("selected-start-and-end-times-cannot-exceed-x-intervals", [moment.duration(multipleSelectMaximumMS).humanize()])
|
|
103
|
+
});
|
|
104
|
+
return false;
|
|
105
|
+
}
|
|
106
|
+
if (moment(end).isBefore(start)) {
|
|
107
|
+
NCoreUIKitToast.open({
|
|
108
|
+
title: localize("selected-end-time-cannot-before-from-start-time")
|
|
109
|
+
});
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
if (moment(start).isAfter(end)) {
|
|
113
|
+
NCoreUIKitToast.open({
|
|
114
|
+
title: localize("selected-start-time-cannot-after-then-end-time")
|
|
115
|
+
});
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return true;
|
|
120
|
+
};
|
|
121
|
+
const renderTimeInputs = () => {
|
|
122
|
+
if (variant === "range") {
|
|
123
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
124
|
+
style: [stylesheet.rangeContainer, rangeContainerDynamicStyle],
|
|
125
|
+
children: [/*#__PURE__*/_jsxs(Text, {
|
|
126
|
+
variant: "labelMediumSize",
|
|
127
|
+
style: {
|
|
128
|
+
...stylesheet.timeTitle,
|
|
129
|
+
...timeTitleDynamicStyle
|
|
130
|
+
},
|
|
131
|
+
children: [localize("start-time"), ":"]
|
|
132
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
133
|
+
style: [stylesheet.inputsContainer, inputsContainerDynamicStyle, {
|
|
134
|
+
marginBottom: spaces.spacingMd
|
|
135
|
+
}],
|
|
136
|
+
children: [/*#__PURE__*/_jsx(TimeInput, {
|
|
137
|
+
initialValue: dateRange?.start?.getHours().toString().padStart(2, "0"),
|
|
138
|
+
isWorkWith24HoursFormat: isWorkWith24HoursFormat,
|
|
139
|
+
selectMultipleObject: selectMultipleObject,
|
|
140
|
+
setDateRangeValue: setDateRangeValue,
|
|
141
|
+
rangeValidation: rangeValidation,
|
|
142
|
+
setDateValue: setDateValue,
|
|
143
|
+
selectObject: selectObject,
|
|
144
|
+
variant: variant,
|
|
145
|
+
maxDate: maxDate,
|
|
146
|
+
minDate: minDate,
|
|
147
|
+
rangeType: "start",
|
|
148
|
+
timeType: "hours"
|
|
149
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
150
|
+
variant: "titleMediumSize",
|
|
151
|
+
style: {
|
|
152
|
+
...stylesheet.colonText,
|
|
153
|
+
...colonTextDynamicStyle
|
|
154
|
+
},
|
|
155
|
+
children: ":"
|
|
156
|
+
}), /*#__PURE__*/_jsx(TimeInput, {
|
|
157
|
+
initialValue: dateRange?.start?.getMinutes().toString().padStart(2, "0"),
|
|
158
|
+
isWorkWith24HoursFormat: isWorkWith24HoursFormat,
|
|
159
|
+
selectMultipleObject: selectMultipleObject,
|
|
160
|
+
setDateRangeValue: setDateRangeValue,
|
|
161
|
+
rangeValidation: rangeValidation,
|
|
162
|
+
setDateValue: setDateValue,
|
|
163
|
+
selectObject: selectObject,
|
|
164
|
+
timeType: "minutes",
|
|
165
|
+
variant: variant,
|
|
166
|
+
maxDate: maxDate,
|
|
167
|
+
minDate: minDate,
|
|
168
|
+
rangeType: "start"
|
|
169
|
+
}), isWorkWithSeconds ? /*#__PURE__*/_jsxs(Fragment, {
|
|
170
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
171
|
+
variant: "titleMediumSize",
|
|
172
|
+
style: {
|
|
173
|
+
...stylesheet.colonText,
|
|
174
|
+
...colonTextDynamicStyle
|
|
175
|
+
},
|
|
176
|
+
children: ":"
|
|
177
|
+
}), /*#__PURE__*/_jsx(TimeInput, {
|
|
178
|
+
initialValue: dateRange?.start?.getSeconds().toString().padStart(2, "0"),
|
|
179
|
+
isWorkWith24HoursFormat: isWorkWith24HoursFormat,
|
|
180
|
+
selectMultipleObject: selectMultipleObject,
|
|
181
|
+
setDateRangeValue: setDateRangeValue,
|
|
182
|
+
rangeValidation: rangeValidation,
|
|
183
|
+
setDateValue: setDateValue,
|
|
184
|
+
selectObject: selectObject,
|
|
185
|
+
timeType: "seconds",
|
|
186
|
+
variant: variant,
|
|
187
|
+
maxDate: maxDate,
|
|
188
|
+
minDate: minDate,
|
|
189
|
+
rangeType: "start"
|
|
190
|
+
})]
|
|
191
|
+
}) : null]
|
|
192
|
+
}), /*#__PURE__*/_jsxs(Text, {
|
|
193
|
+
variant: "labelMediumSize",
|
|
194
|
+
style: {
|
|
195
|
+
...stylesheet.timeTitle,
|
|
196
|
+
...timeTitleDynamicStyle
|
|
197
|
+
},
|
|
198
|
+
children: [localize("end-time"), ":"]
|
|
199
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
200
|
+
style: [stylesheet.inputsContainer, inputsContainerDynamicStyle],
|
|
201
|
+
children: [/*#__PURE__*/_jsx(TimeInput, {
|
|
202
|
+
initialValue: dateRange?.end?.getHours().toString().padStart(2, "0"),
|
|
203
|
+
isWorkWith24HoursFormat: isWorkWith24HoursFormat,
|
|
204
|
+
selectMultipleObject: selectMultipleObject,
|
|
205
|
+
setDateRangeValue: setDateRangeValue,
|
|
206
|
+
rangeValidation: rangeValidation,
|
|
207
|
+
setDateValue: setDateValue,
|
|
208
|
+
selectObject: selectObject,
|
|
209
|
+
variant: variant,
|
|
210
|
+
maxDate: maxDate,
|
|
211
|
+
minDate: minDate,
|
|
212
|
+
timeType: "hours",
|
|
213
|
+
rangeType: "end"
|
|
214
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
215
|
+
variant: "titleMediumSize",
|
|
216
|
+
style: {
|
|
217
|
+
...stylesheet.colonText,
|
|
218
|
+
...colonTextDynamicStyle
|
|
219
|
+
},
|
|
220
|
+
children: ":"
|
|
221
|
+
}), /*#__PURE__*/_jsx(TimeInput, {
|
|
222
|
+
initialValue: dateRange?.end?.getMinutes().toString().padStart(2, "0"),
|
|
223
|
+
isWorkWith24HoursFormat: isWorkWith24HoursFormat,
|
|
224
|
+
selectMultipleObject: selectMultipleObject,
|
|
225
|
+
setDateRangeValue: setDateRangeValue,
|
|
226
|
+
rangeValidation: rangeValidation,
|
|
227
|
+
setDateValue: setDateValue,
|
|
228
|
+
selectObject: selectObject,
|
|
229
|
+
timeType: "minutes",
|
|
230
|
+
variant: variant,
|
|
231
|
+
maxDate: maxDate,
|
|
232
|
+
minDate: minDate,
|
|
233
|
+
rangeType: "end"
|
|
234
|
+
}), isWorkWithSeconds ? /*#__PURE__*/_jsxs(Fragment, {
|
|
235
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
236
|
+
variant: "titleMediumSize",
|
|
237
|
+
style: {
|
|
238
|
+
...stylesheet.colonText,
|
|
239
|
+
...colonTextDynamicStyle
|
|
240
|
+
},
|
|
241
|
+
children: ":"
|
|
242
|
+
}), /*#__PURE__*/_jsx(TimeInput, {
|
|
243
|
+
initialValue: dateRange?.end?.getSeconds().toString().padStart(2, "0"),
|
|
244
|
+
isWorkWith24HoursFormat: isWorkWith24HoursFormat,
|
|
245
|
+
selectMultipleObject: selectMultipleObject,
|
|
246
|
+
setDateRangeValue: setDateRangeValue,
|
|
247
|
+
rangeValidation: rangeValidation,
|
|
248
|
+
setDateValue: setDateValue,
|
|
249
|
+
selectObject: selectObject,
|
|
250
|
+
timeType: "seconds",
|
|
251
|
+
variant: variant,
|
|
252
|
+
maxDate: maxDate,
|
|
253
|
+
minDate: minDate,
|
|
254
|
+
rangeType: "end"
|
|
255
|
+
})]
|
|
256
|
+
}) : null]
|
|
257
|
+
})]
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
261
|
+
children: [/*#__PURE__*/_jsxs(Text, {
|
|
262
|
+
variant: "labelMediumSize",
|
|
263
|
+
style: {
|
|
264
|
+
...stylesheet.timeTitle,
|
|
265
|
+
...timeTitleDynamicStyle
|
|
266
|
+
},
|
|
267
|
+
children: [localize("end-time"), ":"]
|
|
268
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
269
|
+
style: [stylesheet.inputsContainer, inputsContainerDynamicStyle],
|
|
270
|
+
children: [/*#__PURE__*/_jsx(TimeInput, {
|
|
271
|
+
initialValue: date?.getHours().toString().padStart(2, "0"),
|
|
272
|
+
isWorkWith24HoursFormat: isWorkWith24HoursFormat,
|
|
273
|
+
selectMultipleObject: selectMultipleObject,
|
|
274
|
+
setDateRangeValue: setDateRangeValue,
|
|
275
|
+
setDateValue: setDateValue,
|
|
276
|
+
selectObject: selectObject,
|
|
277
|
+
variant: variant,
|
|
278
|
+
maxDate: maxDate,
|
|
279
|
+
minDate: minDate,
|
|
280
|
+
timeType: "hours"
|
|
281
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
282
|
+
variant: "titleMediumSize",
|
|
283
|
+
style: {
|
|
284
|
+
...stylesheet.colonText,
|
|
285
|
+
...colonTextDynamicStyle
|
|
286
|
+
},
|
|
287
|
+
children: ":"
|
|
288
|
+
}), /*#__PURE__*/_jsx(TimeInput, {
|
|
289
|
+
initialValue: date?.getMinutes().toString().padStart(2, "0"),
|
|
290
|
+
isWorkWith24HoursFormat: isWorkWith24HoursFormat,
|
|
291
|
+
selectMultipleObject: selectMultipleObject,
|
|
292
|
+
setDateRangeValue: setDateRangeValue,
|
|
293
|
+
setDateValue: setDateValue,
|
|
294
|
+
selectObject: selectObject,
|
|
295
|
+
timeType: "minutes",
|
|
296
|
+
variant: variant,
|
|
297
|
+
maxDate: maxDate,
|
|
298
|
+
minDate: minDate
|
|
299
|
+
}), isWorkWithSeconds ? /*#__PURE__*/_jsxs(Fragment, {
|
|
300
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
301
|
+
variant: "titleMediumSize",
|
|
302
|
+
style: {
|
|
303
|
+
...stylesheet.colonText,
|
|
304
|
+
...colonTextDynamicStyle
|
|
305
|
+
},
|
|
306
|
+
children: ":"
|
|
307
|
+
}), /*#__PURE__*/_jsx(TimeInput, {
|
|
308
|
+
initialValue: date?.getSeconds().toString().padStart(2, "0"),
|
|
309
|
+
isWorkWith24HoursFormat: isWorkWith24HoursFormat,
|
|
310
|
+
selectMultipleObject: selectMultipleObject,
|
|
311
|
+
setDateRangeValue: setDateRangeValue,
|
|
312
|
+
setDateValue: setDateValue,
|
|
313
|
+
selectObject: selectObject,
|
|
314
|
+
timeType: "seconds",
|
|
315
|
+
variant: variant,
|
|
316
|
+
maxDate: maxDate,
|
|
317
|
+
minDate: minDate
|
|
318
|
+
})]
|
|
319
|
+
}) : null]
|
|
320
|
+
})]
|
|
321
|
+
});
|
|
322
|
+
};
|
|
323
|
+
return /*#__PURE__*/_jsx(View, {
|
|
324
|
+
style: [stylesheet.container, containerDynamicStyle],
|
|
325
|
+
children: renderTimeInputs()
|
|
326
|
+
});
|
|
327
|
+
};
|
|
328
|
+
export default TimeSelector;
|
|
329
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useEffect","View","stylesheet","useStyles","TimeInput","NCoreUIKitLocalize","NCoreUIKitTheme","NCoreUIKitToast","moment","Fragment","jsxs","_jsxs","jsx","_jsx","Text","TimeSelector","isTimeSelectWorksWithCenterWhenTimePicker","multipleSelectMinimumRequireMS","isWorkWith24HoursFormat","isWorkWithSeconds","multipleSelectMaximumMS","setIsSheetContentReady","selectMultipleObject","selectObject","pickerType","dateRange","maxDate","minDate","variant","date","spaces","useContext","localize","inputsContainer","inputsContainerDynamicStyle","rangeContainer","rangeContainerDynamicStyle","container","containerDynamicStyle","colonText","colonTextDynamicStyle","timeTitle","timeTitleDynamicStyle","setDateRangeValue","rangeType","seconds","minutes","hours","newRangeDate","Date","undefined","setHours","setMinutes","setSeconds","newMultipleObject","setDateValue","newDate","rangeValidation","dateRangeValue","start","end","Math","abs","diff","open","title","duration","humanize","isBefore","isAfter","renderTimeInputs","style","children","marginBottom","spacingMd","initialValue","getHours","toString","padStart","timeType","getMinutes","getSeconds"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/timeSelector/index.tsx"],"mappings":";;AAAA,SACIA,SAAS,QACN,OAAO;AACd,SACIC,IAAI,QACD,cAAc;AASrB,OAAOC,UAAU,IACbC,SAAS,QACN,iBAAc;AACrB,OAAOC,SAAS,MAAM,iCAAwB;AAC9C,SACIC,kBAAkB,EAClBC,eAAe,EACfC,eAAe,QACZ,qBAAkB;AAIzB,OAAOC,MAAM,MAAM,QAAQ;AAC3B,S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AAS;YACNuE,YAAY,EAAE9C,IAAI,EAAEoD,UAAU,CAAC,CAAC,CAACJ,QAAQ,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAE;YAC7D5D,uBAAuB,EAAEA,uBAAwB;YACjDI,oBAAoB,EAAEA,oBAAqB;YAC3CqB,iBAAiB,EAAEA,iBAAkB;YACrCY,YAAY,EAAEA,YAAa;YAC3BhC,YAAY,EAAEA,YAAa;YAC3BwD,QAAQ,EAAC,SAAS;YAClBnD,OAAO,EAAEA,OAAQ;YACjBF,OAAO,EAAEA,OAAQ;YACjBC,OAAO,EAAEA;UAAQ,CACpB,CAAC;QAAA,CACI,CAAC,GAAG,IAAI;MAAA,CAEpB,CAAC;IAAA,CACL,CAAC;EACX,CAAC;EAED,oBAAOd,IAAA,CAACZ,IAAI;IACRsE,KAAK,EAAE,CACHrE,UAAU,CAACmC,SAAS,EACpBC,qBAAqB,CACvB;IAAAkC,QAAA,EAEDF,gBAAgB,CAAC;EAAC,CACjB,CAAC;AACX,CAAC;AACD,eAAevD,YAAY","ignoreList":[]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from "react-native";
|
|
4
|
+
const stylesheet = StyleSheet.create({
|
|
5
|
+
container: {
|
|
6
|
+
width: "100%"
|
|
7
|
+
},
|
|
8
|
+
rangeContainer: {
|
|
9
|
+
flexDirection: "column"
|
|
10
|
+
},
|
|
11
|
+
inputsContainer: {
|
|
12
|
+
justifyContent: "flex-start",
|
|
13
|
+
flexDirection: "row",
|
|
14
|
+
alignItems: "center"
|
|
15
|
+
},
|
|
16
|
+
colonText: {},
|
|
17
|
+
timeTitle: {}
|
|
18
|
+
});
|
|
19
|
+
export const useStyles = ({
|
|
20
|
+
isTimeSelectWorksWithCenterWhenTimePicker,
|
|
21
|
+
pickerType,
|
|
22
|
+
spaces
|
|
23
|
+
}) => {
|
|
24
|
+
const styles = {
|
|
25
|
+
container: {
|
|
26
|
+
marginTop: spaces.spacingMd
|
|
27
|
+
},
|
|
28
|
+
rangeContainer: {},
|
|
29
|
+
inputsContainer: {
|
|
30
|
+
marginTop: spaces.spacingXs
|
|
31
|
+
},
|
|
32
|
+
colonText: {
|
|
33
|
+
marginHorizontal: spaces.spacingXs
|
|
34
|
+
},
|
|
35
|
+
timeTitle: {}
|
|
36
|
+
};
|
|
37
|
+
if (pickerType === "time" && isTimeSelectWorksWithCenterWhenTimePicker) {
|
|
38
|
+
styles.inputsContainer.justifyContent = "center";
|
|
39
|
+
styles.rangeContainer.justifyContent = "center";
|
|
40
|
+
}
|
|
41
|
+
return styles;
|
|
42
|
+
};
|
|
43
|
+
export default stylesheet;
|
|
44
|
+
//# sourceMappingURL=stylesheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","stylesheet","create","container","width","rangeContainer","flexDirection","inputsContainer","justifyContent","alignItems","colonText","timeTitle","useStyles","isTimeSelectWorksWithCenterWhenTimePicker","pickerType","spaces","styles","marginTop","spacingMd","spacingXs","marginHorizontal"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/timeSelector/stylesheet.ts"],"mappings":";;AAAA,SAGIA,UAAU,QACP,cAAc;AAQrB,MAAMC,UAAU,GAAGD,UAAU,CAACE,MAAM,CAAC;EACjCC,SAAS,EAAE;IACPC,KAAK,EAAE;EACX,CAAC;EACDC,cAAc,EAAE;IACZC,aAAa,EAAE;EACnB,CAAC;EACDC,eAAe,EAAE;IACbC,cAAc,EAAE,YAAY;IAC5BF,aAAa,EAAE,KAAK;IACpBG,UAAU,EAAE;EAChB,CAAC;EACDC,SAAS,EAAE,CACX,CAAC;EACDC,SAAS,EAAE,CACX;AACJ,CAAC,CAAC;AAEF,OAAO,MAAMC,SAAS,GAAGA,CAAC;EACtBC,yCAAyC;EACzCC,UAAU;EACVC;AACsB,CAAC,KAAK;EAC5B,MAAMC,MAAM,GAAG;IACXb,SAAS,EAAE;MACPc,SAAS,EAAEF,MAAM,CAACG;IACtB,CAAuB;IACvBb,cAAc,EAAE,CAChB,CAAuB;IACvBE,eAAe,EAAE;MACbU,SAAS,EAAEF,MAAM,CAACI;IACtB,CAAuB;IACvBT,SAAS,EAAE;MACPU,gBAAgB,EAAEL,MAAM,CAACI;IAC7B,CAAuB;IACvBR,SAAS,EAAE,CACX;EACJ,CAAC;EAED,IAAGG,UAAU,KAAK,MAAM,IAAID,yCAAyC,EAAE;IACnEG,MAAM,CAACT,eAAe,CAACC,cAAc,GAAG,QAAQ;IAChDQ,MAAM,CAACX,cAAc,CAACG,cAAc,GAAG,QAAQ;EACnD;EAEA,OAAOQ,MAAM;AACjB,CAAC;AACD,eAAef,UAAU","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/timeSelector/type.ts"],"mappings":";;AA4CC;AAAC","ignoreList":[]}
|