tp-react-elements 1.0.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/README.md +335 -0
- package/dist/_virtual/AMPMMidnightParser.esm.js +3 -0
- package/dist/_virtual/AMPMParser.esm.js +3 -0
- package/dist/_virtual/DateParser.esm.js +3 -0
- package/dist/_virtual/DayOfYearParser.esm.js +3 -0
- package/dist/_virtual/DayParser.esm.js +3 -0
- package/dist/_virtual/DayPeriodParser.esm.js +3 -0
- package/dist/_virtual/EraParser.esm.js +3 -0
- package/dist/_virtual/ExtendedYearParser.esm.js +3 -0
- package/dist/_virtual/FractionOfSecondParser.esm.js +3 -0
- package/dist/_virtual/Hour0To11Parser.esm.js +3 -0
- package/dist/_virtual/Hour0to23Parser.esm.js +3 -0
- package/dist/_virtual/Hour1To24Parser.esm.js +3 -0
- package/dist/_virtual/Hour1to12Parser.esm.js +3 -0
- package/dist/_virtual/ISODayParser.esm.js +3 -0
- package/dist/_virtual/ISOTimezoneParser.esm.js +3 -0
- package/dist/_virtual/ISOTimezoneWithZParser.esm.js +3 -0
- package/dist/_virtual/ISOWeekParser.esm.js +3 -0
- package/dist/_virtual/ISOWeekYearParser.esm.js +3 -0
- package/dist/_virtual/LocalDayParser.esm.js +3 -0
- package/dist/_virtual/LocalWeekParser.esm.js +3 -0
- package/dist/_virtual/LocalWeekYearParser.esm.js +3 -0
- package/dist/_virtual/MinuteParser.esm.js +3 -0
- package/dist/_virtual/MonthParser.esm.js +3 -0
- package/dist/_virtual/Parser.esm.js +3 -0
- package/dist/_virtual/QuarterParser.esm.js +3 -0
- package/dist/_virtual/SecondParser.esm.js +3 -0
- package/dist/_virtual/Setter.esm.js +3 -0
- package/dist/_virtual/StandAloneLocalDayParser.esm.js +3 -0
- package/dist/_virtual/StandAloneMonthParser.esm.js +3 -0
- package/dist/_virtual/StandAloneQuarterParser.esm.js +3 -0
- package/dist/_virtual/TimestampMillisecondsParser.esm.js +3 -0
- package/dist/_virtual/TimestampSecondsParser.esm.js +3 -0
- package/dist/_virtual/YearParser.esm.js +3 -0
- package/dist/_virtual/_commonjsHelpers.esm.js +30 -0
- package/dist/_virtual/add.esm.js +3 -0
- package/dist/_virtual/addBusinessDays.esm.js +3 -0
- package/dist/_virtual/addDays.esm.js +3 -0
- package/dist/_virtual/addHours.esm.js +3 -0
- package/dist/_virtual/addISOWeekYears.esm.js +3 -0
- package/dist/_virtual/addLeadingZeros.esm.js +3 -0
- package/dist/_virtual/addMilliseconds.esm.js +3 -0
- package/dist/_virtual/addMinutes.esm.js +3 -0
- package/dist/_virtual/addMonths.esm.js +3 -0
- package/dist/_virtual/addQuarters.esm.js +3 -0
- package/dist/_virtual/addSeconds.esm.js +3 -0
- package/dist/_virtual/addWeeks.esm.js +3 -0
- package/dist/_virtual/addYears.esm.js +3 -0
- package/dist/_virtual/areIntervalsOverlapping.esm.js +3 -0
- package/dist/_virtual/buildFormatLongFn.esm.js +3 -0
- package/dist/_virtual/buildLocalizeFn.esm.js +3 -0
- package/dist/_virtual/buildMatchFn.esm.js +3 -0
- package/dist/_virtual/buildMatchPatternFn.esm.js +3 -0
- package/dist/_virtual/clamp.esm.js +3 -0
- package/dist/_virtual/closestIndexTo.esm.js +3 -0
- package/dist/_virtual/closestTo.esm.js +3 -0
- package/dist/_virtual/compareAsc.esm.js +3 -0
- package/dist/_virtual/compareDesc.esm.js +3 -0
- package/dist/_virtual/constants.esm.js +3 -0
- package/dist/_virtual/constants.esm2.js +3 -0
- package/dist/_virtual/constructFrom.esm.js +3 -0
- package/dist/_virtual/constructNow.esm.js +3 -0
- package/dist/_virtual/daysToWeeks.esm.js +3 -0
- package/dist/_virtual/defaultLocale.esm.js +3 -0
- package/dist/_virtual/defaultOptions.esm.js +3 -0
- package/dist/_virtual/defaultRanges.esm.js +3 -0
- package/dist/_virtual/differenceInBusinessDays.esm.js +3 -0
- package/dist/_virtual/differenceInCalendarDays.esm.js +3 -0
- package/dist/_virtual/differenceInCalendarISOWeekYears.esm.js +3 -0
- package/dist/_virtual/differenceInCalendarISOWeeks.esm.js +3 -0
- package/dist/_virtual/differenceInCalendarMonths.esm.js +3 -0
- package/dist/_virtual/differenceInCalendarQuarters.esm.js +3 -0
- package/dist/_virtual/differenceInCalendarWeeks.esm.js +3 -0
- package/dist/_virtual/differenceInCalendarYears.esm.js +3 -0
- package/dist/_virtual/differenceInDays.esm.js +3 -0
- package/dist/_virtual/differenceInHours.esm.js +3 -0
- package/dist/_virtual/differenceInISOWeekYears.esm.js +3 -0
- package/dist/_virtual/differenceInMilliseconds.esm.js +3 -0
- package/dist/_virtual/differenceInMinutes.esm.js +3 -0
- package/dist/_virtual/differenceInMonths.esm.js +3 -0
- package/dist/_virtual/differenceInQuarters.esm.js +3 -0
- package/dist/_virtual/differenceInSeconds.esm.js +3 -0
- package/dist/_virtual/differenceInWeeks.esm.js +3 -0
- package/dist/_virtual/differenceInYears.esm.js +3 -0
- package/dist/_virtual/eachDayOfInterval.esm.js +3 -0
- package/dist/_virtual/eachHourOfInterval.esm.js +3 -0
- package/dist/_virtual/eachMinuteOfInterval.esm.js +3 -0
- package/dist/_virtual/eachMonthOfInterval.esm.js +3 -0
- package/dist/_virtual/eachQuarterOfInterval.esm.js +3 -0
- package/dist/_virtual/eachWeekOfInterval.esm.js +3 -0
- package/dist/_virtual/eachWeekendOfInterval.esm.js +3 -0
- package/dist/_virtual/eachWeekendOfMonth.esm.js +3 -0
- package/dist/_virtual/eachWeekendOfYear.esm.js +3 -0
- package/dist/_virtual/eachYearOfInterval.esm.js +3 -0
- package/dist/_virtual/en-US.esm.js +3 -0
- package/dist/_virtual/endOfDay.esm.js +3 -0
- package/dist/_virtual/endOfDecade.esm.js +3 -0
- package/dist/_virtual/endOfHour.esm.js +3 -0
- package/dist/_virtual/endOfISOWeek.esm.js +3 -0
- package/dist/_virtual/endOfISOWeekYear.esm.js +3 -0
- package/dist/_virtual/endOfMinute.esm.js +3 -0
- package/dist/_virtual/endOfMonth.esm.js +3 -0
- package/dist/_virtual/endOfQuarter.esm.js +3 -0
- package/dist/_virtual/endOfSecond.esm.js +3 -0
- package/dist/_virtual/endOfToday.esm.js +3 -0
- package/dist/_virtual/endOfTomorrow.esm.js +3 -0
- package/dist/_virtual/endOfWeek.esm.js +3 -0
- package/dist/_virtual/endOfYear.esm.js +3 -0
- package/dist/_virtual/endOfYesterday.esm.js +3 -0
- package/dist/_virtual/format.esm.js +3 -0
- package/dist/_virtual/formatDistance.esm.js +3 -0
- package/dist/_virtual/formatDistance.esm2.js +3 -0
- package/dist/_virtual/formatDistanceStrict.esm.js +3 -0
- package/dist/_virtual/formatDistanceToNow.esm.js +3 -0
- package/dist/_virtual/formatDistanceToNowStrict.esm.js +3 -0
- package/dist/_virtual/formatDuration.esm.js +3 -0
- package/dist/_virtual/formatISO.esm.js +3 -0
- package/dist/_virtual/formatISO9075.esm.js +3 -0
- package/dist/_virtual/formatISODuration.esm.js +3 -0
- package/dist/_virtual/formatLong.esm.js +3 -0
- package/dist/_virtual/formatRFC3339.esm.js +3 -0
- package/dist/_virtual/formatRFC7231.esm.js +3 -0
- package/dist/_virtual/formatRelative.esm.js +3 -0
- package/dist/_virtual/formatRelative.esm2.js +3 -0
- package/dist/_virtual/formatters.esm.js +3 -0
- package/dist/_virtual/fromUnixTime.esm.js +3 -0
- package/dist/_virtual/getDate.esm.js +3 -0
- package/dist/_virtual/getDay.esm.js +3 -0
- package/dist/_virtual/getDayOfYear.esm.js +3 -0
- package/dist/_virtual/getDaysInMonth.esm.js +3 -0
- package/dist/_virtual/getDaysInYear.esm.js +3 -0
- package/dist/_virtual/getDecade.esm.js +3 -0
- package/dist/_virtual/getDefaultOptions.esm.js +3 -0
- package/dist/_virtual/getHours.esm.js +3 -0
- package/dist/_virtual/getISODay.esm.js +3 -0
- package/dist/_virtual/getISOWeek.esm.js +3 -0
- package/dist/_virtual/getISOWeekYear.esm.js +3 -0
- package/dist/_virtual/getISOWeeksInYear.esm.js +3 -0
- package/dist/_virtual/getMilliseconds.esm.js +3 -0
- package/dist/_virtual/getMinutes.esm.js +3 -0
- package/dist/_virtual/getMonth.esm.js +3 -0
- package/dist/_virtual/getOverlappingDaysInIntervals.esm.js +3 -0
- package/dist/_virtual/getQuarter.esm.js +3 -0
- package/dist/_virtual/getRoundingMethod.esm.js +3 -0
- package/dist/_virtual/getSeconds.esm.js +3 -0
- package/dist/_virtual/getTime.esm.js +3 -0
- package/dist/_virtual/getTimezoneOffsetInMilliseconds.esm.js +3 -0
- package/dist/_virtual/getUnixTime.esm.js +3 -0
- package/dist/_virtual/getWeek.esm.js +3 -0
- package/dist/_virtual/getWeekOfMonth.esm.js +3 -0
- package/dist/_virtual/getWeekYear.esm.js +3 -0
- package/dist/_virtual/getWeeksInMonth.esm.js +3 -0
- package/dist/_virtual/getYear.esm.js +3 -0
- package/dist/_virtual/hoursToMilliseconds.esm.js +3 -0
- package/dist/_virtual/hoursToMinutes.esm.js +3 -0
- package/dist/_virtual/hoursToSeconds.esm.js +3 -0
- package/dist/_virtual/index.esm.esm.js +6 -0
- package/dist/_virtual/index.esm.js +5 -0
- package/dist/_virtual/index.esm10.js +3 -0
- package/dist/_virtual/index.esm11.js +3 -0
- package/dist/_virtual/index.esm12.js +3 -0
- package/dist/_virtual/index.esm13.js +3 -0
- package/dist/_virtual/index.esm14.js +3 -0
- package/dist/_virtual/index.esm15.js +3 -0
- package/dist/_virtual/index.esm2.js +3 -0
- package/dist/_virtual/index.esm3.js +3 -0
- package/dist/_virtual/index.esm4.js +3 -0
- package/dist/_virtual/index.esm5.js +3 -0
- package/dist/_virtual/index.esm6.js +3 -0
- package/dist/_virtual/index.esm7.js +3 -0
- package/dist/_virtual/index.esm8.js +3 -0
- package/dist/_virtual/index.esm9.js +3 -0
- package/dist/_virtual/interval.esm.js +3 -0
- package/dist/_virtual/intervalToDuration.esm.js +3 -0
- package/dist/_virtual/intlFormat.esm.js +3 -0
- package/dist/_virtual/intlFormatDistance.esm.js +3 -0
- package/dist/_virtual/isAfter.esm.js +3 -0
- package/dist/_virtual/isBefore.esm.js +3 -0
- package/dist/_virtual/isDate.esm.js +3 -0
- package/dist/_virtual/isEqual.esm.js +3 -0
- package/dist/_virtual/isExists.esm.js +3 -0
- package/dist/_virtual/isFirstDayOfMonth.esm.js +3 -0
- package/dist/_virtual/isFriday.esm.js +3 -0
- package/dist/_virtual/isFuture.esm.js +3 -0
- package/dist/_virtual/isLastDayOfMonth.esm.js +3 -0
- package/dist/_virtual/isLeapYear.esm.js +3 -0
- package/dist/_virtual/isMatch.esm.js +3 -0
- package/dist/_virtual/isMonday.esm.js +3 -0
- package/dist/_virtual/isPast.esm.js +3 -0
- package/dist/_virtual/isSameDay.esm.js +3 -0
- package/dist/_virtual/isSameHour.esm.js +3 -0
- package/dist/_virtual/isSameISOWeek.esm.js +3 -0
- package/dist/_virtual/isSameISOWeekYear.esm.js +3 -0
- package/dist/_virtual/isSameMinute.esm.js +3 -0
- package/dist/_virtual/isSameMonth.esm.js +3 -0
- package/dist/_virtual/isSameQuarter.esm.js +3 -0
- package/dist/_virtual/isSameSecond.esm.js +3 -0
- package/dist/_virtual/isSameWeek.esm.js +3 -0
- package/dist/_virtual/isSameYear.esm.js +3 -0
- package/dist/_virtual/isSaturday.esm.js +3 -0
- package/dist/_virtual/isSunday.esm.js +3 -0
- package/dist/_virtual/isThisHour.esm.js +3 -0
- package/dist/_virtual/isThisISOWeek.esm.js +3 -0
- package/dist/_virtual/isThisMinute.esm.js +3 -0
- package/dist/_virtual/isThisMonth.esm.js +3 -0
- package/dist/_virtual/isThisQuarter.esm.js +3 -0
- package/dist/_virtual/isThisSecond.esm.js +3 -0
- package/dist/_virtual/isThisWeek.esm.js +3 -0
- package/dist/_virtual/isThisYear.esm.js +3 -0
- package/dist/_virtual/isThursday.esm.js +3 -0
- package/dist/_virtual/isToday.esm.js +3 -0
- package/dist/_virtual/isTomorrow.esm.js +3 -0
- package/dist/_virtual/isTuesday.esm.js +3 -0
- package/dist/_virtual/isValid.esm.js +3 -0
- package/dist/_virtual/isWednesday.esm.js +3 -0
- package/dist/_virtual/isWeekend.esm.js +3 -0
- package/dist/_virtual/isWithinInterval.esm.js +3 -0
- package/dist/_virtual/isYesterday.esm.js +3 -0
- package/dist/_virtual/lastDayOfDecade.esm.js +3 -0
- package/dist/_virtual/lastDayOfISOWeek.esm.js +3 -0
- package/dist/_virtual/lastDayOfISOWeekYear.esm.js +3 -0
- package/dist/_virtual/lastDayOfMonth.esm.js +3 -0
- package/dist/_virtual/lastDayOfQuarter.esm.js +3 -0
- package/dist/_virtual/lastDayOfWeek.esm.js +3 -0
- package/dist/_virtual/lastDayOfYear.esm.js +3 -0
- package/dist/_virtual/lightFormat.esm.js +3 -0
- package/dist/_virtual/lightFormatters.esm.js +3 -0
- package/dist/_virtual/localize.esm.js +3 -0
- package/dist/_virtual/longFormatters.esm.js +3 -0
- package/dist/_virtual/match.esm.js +3 -0
- package/dist/_virtual/max.esm.js +3 -0
- package/dist/_virtual/milliseconds.esm.js +3 -0
- package/dist/_virtual/millisecondsToHours.esm.js +3 -0
- package/dist/_virtual/millisecondsToMinutes.esm.js +3 -0
- package/dist/_virtual/millisecondsToSeconds.esm.js +3 -0
- package/dist/_virtual/min.esm.js +3 -0
- package/dist/_virtual/minutesToHours.esm.js +3 -0
- package/dist/_virtual/minutesToMilliseconds.esm.js +3 -0
- package/dist/_virtual/minutesToSeconds.esm.js +3 -0
- package/dist/_virtual/monthsToQuarters.esm.js +3 -0
- package/dist/_virtual/monthsToYears.esm.js +3 -0
- package/dist/_virtual/nextDay.esm.js +3 -0
- package/dist/_virtual/nextFriday.esm.js +3 -0
- package/dist/_virtual/nextMonday.esm.js +3 -0
- package/dist/_virtual/nextSaturday.esm.js +3 -0
- package/dist/_virtual/nextSunday.esm.js +3 -0
- package/dist/_virtual/nextThursday.esm.js +3 -0
- package/dist/_virtual/nextTuesday.esm.js +3 -0
- package/dist/_virtual/nextWednesday.esm.js +3 -0
- package/dist/_virtual/normalizeDates.esm.js +3 -0
- package/dist/_virtual/normalizeInterval.esm.js +3 -0
- package/dist/_virtual/parse.esm.js +3 -0
- package/dist/_virtual/parseISO.esm.js +3 -0
- package/dist/_virtual/parseJSON.esm.js +3 -0
- package/dist/_virtual/parsers.esm.js +3 -0
- package/dist/_virtual/previousDay.esm.js +3 -0
- package/dist/_virtual/previousFriday.esm.js +3 -0
- package/dist/_virtual/previousMonday.esm.js +3 -0
- package/dist/_virtual/previousSaturday.esm.js +3 -0
- package/dist/_virtual/previousSunday.esm.js +3 -0
- package/dist/_virtual/previousThursday.esm.js +3 -0
- package/dist/_virtual/previousTuesday.esm.js +3 -0
- package/dist/_virtual/previousWednesday.esm.js +3 -0
- package/dist/_virtual/protectedTokens.esm.js +3 -0
- package/dist/_virtual/quartersToMonths.esm.js +3 -0
- package/dist/_virtual/quartersToYears.esm.js +3 -0
- package/dist/_virtual/react-is.development.esm.js +3 -0
- package/dist/_virtual/react-is.production.min.esm.js +3 -0
- package/dist/_virtual/react-list.esm.js +3 -0
- package/dist/_virtual/roundToNearestHours.esm.js +3 -0
- package/dist/_virtual/roundToNearestMinutes.esm.js +3 -0
- package/dist/_virtual/secondsToHours.esm.js +3 -0
- package/dist/_virtual/secondsToMilliseconds.esm.js +3 -0
- package/dist/_virtual/secondsToMinutes.esm.js +3 -0
- package/dist/_virtual/set.esm.js +3 -0
- package/dist/_virtual/setDate.esm.js +3 -0
- package/dist/_virtual/setDay.esm.js +3 -0
- package/dist/_virtual/setDayOfYear.esm.js +3 -0
- package/dist/_virtual/setDefaultOptions.esm.js +3 -0
- package/dist/_virtual/setHours.esm.js +3 -0
- package/dist/_virtual/setISODay.esm.js +3 -0
- package/dist/_virtual/setISOWeek.esm.js +3 -0
- package/dist/_virtual/setISOWeekYear.esm.js +3 -0
- package/dist/_virtual/setMilliseconds.esm.js +3 -0
- package/dist/_virtual/setMinutes.esm.js +3 -0
- package/dist/_virtual/setMonth.esm.js +3 -0
- package/dist/_virtual/setQuarter.esm.js +3 -0
- package/dist/_virtual/setSeconds.esm.js +3 -0
- package/dist/_virtual/setWeek.esm.js +3 -0
- package/dist/_virtual/setWeekYear.esm.js +3 -0
- package/dist/_virtual/setYear.esm.js +3 -0
- package/dist/_virtual/startOfDay.esm.js +3 -0
- package/dist/_virtual/startOfDecade.esm.js +3 -0
- package/dist/_virtual/startOfHour.esm.js +3 -0
- package/dist/_virtual/startOfISOWeek.esm.js +3 -0
- package/dist/_virtual/startOfISOWeekYear.esm.js +3 -0
- package/dist/_virtual/startOfMinute.esm.js +3 -0
- package/dist/_virtual/startOfMonth.esm.js +3 -0
- package/dist/_virtual/startOfQuarter.esm.js +3 -0
- package/dist/_virtual/startOfSecond.esm.js +3 -0
- package/dist/_virtual/startOfToday.esm.js +3 -0
- package/dist/_virtual/startOfTomorrow.esm.js +3 -0
- package/dist/_virtual/startOfWeek.esm.js +3 -0
- package/dist/_virtual/startOfWeekYear.esm.js +3 -0
- package/dist/_virtual/startOfYear.esm.js +3 -0
- package/dist/_virtual/startOfYesterday.esm.js +3 -0
- package/dist/_virtual/styles.esm.js +3 -0
- package/dist/_virtual/sub.esm.js +3 -0
- package/dist/_virtual/subBusinessDays.esm.js +3 -0
- package/dist/_virtual/subDays.esm.js +3 -0
- package/dist/_virtual/subHours.esm.js +3 -0
- package/dist/_virtual/subISOWeekYears.esm.js +3 -0
- package/dist/_virtual/subMilliseconds.esm.js +3 -0
- package/dist/_virtual/subMinutes.esm.js +3 -0
- package/dist/_virtual/subMonths.esm.js +3 -0
- package/dist/_virtual/subQuarters.esm.js +3 -0
- package/dist/_virtual/subSeconds.esm.js +3 -0
- package/dist/_virtual/subWeeks.esm.js +3 -0
- package/dist/_virtual/subYears.esm.js +3 -0
- package/dist/_virtual/toDate.esm.js +3 -0
- package/dist/_virtual/transpose.esm.js +3 -0
- package/dist/_virtual/utils.esm.js +3 -0
- package/dist/_virtual/utils.esm2.js +3 -0
- package/dist/_virtual/weeksToDays.esm.js +3 -0
- package/dist/_virtual/yearsToDays.esm.js +3 -0
- package/dist/_virtual/yearsToMonths.esm.js +3 -0
- package/dist/_virtual/yearsToQuarters.esm.js +3 -0
- package/dist/assets/icons/flaticon_hvc.css +195 -0
- package/dist/assets/icons/flaticon_hvc.eot +0 -0
- package/dist/assets/icons/flaticon_hvc.html +1085 -0
- package/dist/assets/icons/flaticon_hvc.scss +243 -0
- package/dist/assets/icons/flaticon_hvc.svg +174 -0
- package/dist/assets/icons/flaticon_hvc.ttf +0 -0
- package/dist/assets/icons/flaticon_hvc.woff +0 -0
- package/dist/assets/icons/flaticon_hvc.woff2 +0 -0
- package/dist/auth/authContext.d.ts +19 -0
- package/dist/auth/authContext.esm.js +26 -0
- package/dist/components/Button/Button.d.ts +7 -0
- package/dist/components/Button/Button.esm.js +15 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.esm.js +1 -0
- package/dist/components/CheckBox/index.d.ts +1 -0
- package/dist/components/CheckBox/index.esm.js +1 -0
- package/dist/components/CheckBoxGroup/index.d.ts +1 -0
- package/dist/components/CheckBoxGroup/index.esm.js +1 -0
- package/dist/components/DatePicker/index.d.ts +4 -0
- package/dist/components/DatePicker/index.esm.js +4 -0
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +8 -0
- package/dist/components/DateRangePicker/DateRangePicker.esm.js +107 -0
- package/dist/components/DateRangePicker/index.d.ts +2 -0
- package/dist/components/DateRangePicker/index.esm.js +5 -0
- package/dist/components/Delete/index.d.ts +1 -0
- package/dist/components/Delete/index.esm.js +1 -0
- package/dist/components/DeleteComponent/DeleteField.d.ts +7 -0
- package/dist/components/DeleteComponent/DeleteField.esm.js +24 -0
- package/dist/components/DeleteComponent/index.d.ts +1 -0
- package/dist/components/DeleteComponent/index.esm.js +1 -0
- package/dist/components/Feedback/index.d.ts +5 -0
- package/dist/components/Feedback/index.esm.js +7 -0
- package/dist/components/FileUpload/index.d.ts +3 -0
- package/dist/components/FileUpload/index.esm.js +3 -0
- package/dist/components/Form/Form.styles.d.ts +17 -0
- package/dist/components/Form/Form.styles.esm.js +111 -0
- package/dist/components/Form/FormActiveSwitch.d.ts +3 -0
- package/dist/components/Form/FormActiveSwitch.esm.js +11 -0
- package/dist/components/Form/FormConstants.d.ts +13 -0
- package/dist/components/Form/FormConstants.esm.js +329 -0
- package/dist/components/Form/FormContainer.d.ts +2 -0
- package/dist/components/Form/FormContainer.esm.js +3 -0
- package/dist/components/Form/FormRender.d.ts +11 -0
- package/dist/components/Form/FormRender.esm.js +156 -0
- package/dist/components/Form/FormRenderConstants.d.ts +15 -0
- package/dist/components/Form/FormRenderWrapper.d.ts +51 -0
- package/dist/components/Form/FormRenderWrapper.esm.js +33 -0
- package/dist/components/Form/index.d.ts +8 -0
- package/dist/components/Form/index.esm.js +6 -0
- package/dist/components/FormComponents/DatePicker/DatepickerWrapperV2.d.ts +6 -0
- package/dist/components/FormComponents/DatePicker/DatepickerWrapperV2.esm.js +74 -0
- package/dist/components/FormComponents/DatePicker/MonthPicker.d.ts +2 -0
- package/dist/components/FormComponents/DatePicker/MonthPicker.esm.js +48 -0
- package/dist/components/FormComponents/DatePicker/Monthpickerrender.d.ts +6 -0
- package/dist/components/FormComponents/DatePicker/Monthpickerrender.esm.js +70 -0
- package/dist/components/FormComponents/FileUpload/FormRenderFileUpload.d.ts +6 -0
- package/dist/components/FormComponents/FileUpload/FormRenderFileUpload.esm.js +69 -0
- package/dist/components/FormComponents/FileUpload/FormRenderMultiFileUpload.d.ts +6 -0
- package/dist/components/FormComponents/FileUpload/FormRenderMultiFileUpload.esm.js +86 -0
- package/dist/components/FormComponents/FileUpload/MultiFileWithPreview.d.ts +6 -0
- package/dist/components/FormComponents/FileUpload/MultiFileWithPreview.esm.js +266 -0
- package/dist/components/FormComponents/FileUpload/index.d.ts +3 -0
- package/dist/components/FormComponents/FileUpload/index.esm.js +3 -0
- package/dist/components/FormComponents/FormBottomField/FormBottomField.d.ts +17 -0
- package/dist/components/FormComponents/FormBottomField/FormBottomField.esm.js +25 -0
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.d.ts +25 -0
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.esm.js +32 -0
- package/dist/components/FormComponents/FormCheckBoxGroup/FormCheckBoxGroup.d.ts +25 -0
- package/dist/components/FormComponents/FormCheckBoxGroup/FormCheckBoxGroup.esm.js +42 -0
- package/dist/components/FormComponents/FormErrorField/FormErrorField.d.ts +16 -0
- package/dist/components/FormComponents/FormErrorField/FormErrorField.esm.js +21 -0
- package/dist/components/FormComponents/FormNumberField/FormNumberField.d.ts +44 -0
- package/dist/components/FormComponents/FormNumberField/FormNumberField.esm.js +106 -0
- package/dist/components/FormComponents/FormNumberField/FormNumberFieldDecimal.d.ts +6 -0
- package/dist/components/FormComponents/FormNumberField/FormNumberFieldDecimal.esm.js +50 -0
- package/dist/components/FormComponents/FormRadioGroup/FormRadioGroup.d.ts +25 -0
- package/dist/components/FormComponents/FormRadioGroup/FormRadioGroup.esm.js +44 -0
- package/dist/components/FormComponents/FormTextAreaField/FormTextAreaField.d.ts +25 -0
- package/dist/components/FormComponents/FormTextAreaField/FormTextAreaField.esm.js +65 -0
- package/dist/components/FormComponents/FormTextAreaField/FormTextAreaField.styles.d.ts +3 -0
- package/dist/components/FormComponents/FormTextAreaField/FormTextAreaField.styles.esm.js +35 -0
- package/dist/components/FormComponents/FormTextField/FormTextField.d.ts +43 -0
- package/dist/components/FormComponents/FormTextField/FormTextField.esm.js +111 -0
- package/dist/components/FormComponents/FormTextField/FormTextField.styles.d.ts +12 -0
- package/dist/components/FormComponents/FormTextField/FormTextField.styles.esm.js +27 -0
- package/dist/components/FormComponents/FormTextFieldWithSelect/FormTextFieldWithSelect.d.ts +43 -0
- package/dist/components/FormComponents/FormTextFieldWithSelect/FormTextFieldWithSelect.esm.js +102 -0
- package/dist/components/FormComponents/HelperText/HelperText.d.ts +16 -0
- package/dist/components/FormComponents/HelperText/HelperText.esm.js +23 -0
- package/dist/components/FormComponents/PasswordField/PasswordField.d.ts +25 -0
- package/dist/components/FormComponents/PasswordField/PasswordField.esm.js +91 -0
- package/dist/components/FormComponents/RichTextEditor/RichTextEditor.d.ts +5 -0
- package/dist/components/FormComponents/RichTextEditor/RichTextEditor.esm.js +109 -0
- package/dist/components/FormComponents/RichTextEditor/RichTextEditorWrapper.d.ts +6 -0
- package/dist/components/FormComponents/RichTextEditor/RichTextEditorWrapper.esm.js +12 -0
- package/dist/components/FormComponents/RichTextEditor/jodit.index.d.ts +13 -0
- package/dist/components/FormComponents/RichTextEditor/jodit.index.esm.js +23 -0
- package/dist/components/FormComponents/Select/MultiSelect.d.ts +2 -0
- package/dist/components/FormComponents/Select/MultiSelectAutocomplete.d.ts +6 -0
- package/dist/components/FormComponents/Select/MultiSelectAutocomplete.esm.js +238 -0
- package/dist/components/FormComponents/Select/MultiSelectv1.d.ts +5 -0
- package/dist/components/FormComponents/Select/MultiSelectv1.esm.js +150 -0
- package/dist/components/FormComponents/Select/SingleSelect.d.ts +6 -0
- package/dist/components/FormComponents/Select/SingleSelect.esm.js +62 -0
- package/dist/components/FormComponents/Select/SingleSelectNonAutoComplete.d.ts +6 -0
- package/dist/components/FormComponents/Select/SingleSelectNonAutoComplete.esm.js +32 -0
- package/dist/components/FormComponents/Select/SingleSelectSearchApi.d.ts +6 -0
- package/dist/components/FormComponents/Select/SingleSelectSearchApi.esm.js +85 -0
- package/dist/components/FormComponents/TimePicker/TimePicker.d.ts +5 -0
- package/dist/components/FormComponents/TimePicker/TimePicker.esm.js +70 -0
- package/dist/components/FormComponents/YearPickerField/YearPickerField.d.ts +2 -0
- package/dist/components/FormComponents/YearPickerField/YearPickerField.esm.js +78 -0
- package/dist/components/FormComponents/index.d.ts +16 -0
- package/dist/components/FormComponents/index.esm.js +38 -0
- package/dist/components/Global.styles.d.ts +8 -0
- package/dist/components/Global.styles.esm.js +79 -0
- package/dist/components/ModalField/ConfirmationDialog.d.ts +3 -0
- package/dist/components/ModalField/ConfirmationDialog.esm.js +46 -0
- package/dist/components/ModalField/ModalField.d.ts +17 -0
- package/dist/components/ModalField/ModalField.esm.js +32 -0
- package/dist/components/ModalField/index.d.ts +2 -0
- package/dist/components/ModalField/index.esm.js +2 -0
- package/dist/components/NumberField/index.d.ts +2 -0
- package/dist/components/NumberField/index.esm.js +2 -0
- package/dist/components/PasswordField/index.d.ts +1 -0
- package/dist/components/PasswordField/index.esm.js +1 -0
- package/dist/components/RadioGroup/index.d.ts +1 -0
- package/dist/components/RadioGroup/index.esm.js +1 -0
- package/dist/components/RichTextEditor/index.d.ts +2 -0
- package/dist/components/RichTextEditor/index.esm.js +2 -0
- package/dist/components/Select/index.d.ts +6 -0
- package/dist/components/Select/index.esm.js +8 -0
- package/dist/components/SelectField/MultiSelectField.d.ts +1 -0
- package/dist/components/SelectField/MultiSelectFieldComponent.d.ts +11 -0
- package/dist/components/SelectField/MultiSelectFieldComponent.esm.js +120 -0
- package/dist/components/SelectField/index.d.ts +2 -0
- package/dist/components/SelectField/index.esm.js +1 -0
- package/dist/components/SessionTimeOut/SessionTimeOut.d.ts +9 -0
- package/dist/components/SessionTimeOut/SessionTimeOut.esm.js +62 -0
- package/dist/components/SessionTimeOut/index.d.ts +1 -0
- package/dist/components/SessionTimeOut/index.esm.js +1 -0
- package/dist/components/TextAreaField/index.d.ts +1 -0
- package/dist/components/TextAreaField/index.esm.js +1 -0
- package/dist/components/TextField/index.d.ts +1 -0
- package/dist/components/TextField/index.esm.js +1 -0
- package/dist/components/TextFieldWithSelect/index.d.ts +1 -0
- package/dist/components/TextFieldWithSelect/index.esm.js +1 -0
- package/dist/components/TimePicker/index.d.ts +1 -0
- package/dist/components/TimePicker/index.esm.js +1 -0
- package/dist/components/TimePickerField/TimePickerField.d.ts +1 -0
- package/dist/components/TimePickerField/TimePickerField.esm.js +11 -0
- package/dist/components/TimePickerField/index.d.ts +1 -0
- package/dist/components/TimePickerField/index.esm.js +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.esm.css +1 -0
- package/dist/index.esm.js +14 -0
- package/dist/node_modules/axios/index.esm.js +25 -0
- package/dist/node_modules/axios/lib/adapters/adapters.esm.js +128 -0
- package/dist/node_modules/axios/lib/adapters/fetch.esm.js +288 -0
- package/dist/node_modules/axios/lib/adapters/xhr.esm.js +202 -0
- package/dist/node_modules/axios/lib/axios.esm.js +86 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.esm.js +133 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.esm.js +23 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.esm.js +5 -0
- package/dist/node_modules/axios/lib/core/Axios.esm.js +236 -0
- package/dist/node_modules/axios/lib/core/AxiosError.esm.js +108 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.esm.js +312 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.esm.js +69 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.esm.js +22 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.esm.js +81 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.esm.js +106 -0
- package/dist/node_modules/axios/lib/core/settle.esm.js +27 -0
- package/dist/node_modules/axios/lib/core/transformData.esm.js +28 -0
- package/dist/node_modules/axios/lib/defaults/index.esm.js +159 -0
- package/dist/node_modules/axios/lib/defaults/transitional.esm.js +7 -0
- package/dist/node_modules/axios/lib/env/data.esm.js +3 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.esm.js +56 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.esm.js +77 -0
- package/dist/node_modules/axios/lib/helpers/bind.esm.js +14 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.esm.js +67 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.esm.js +15 -0
- package/dist/node_modules/axios/lib/helpers/composeSignals.esm.js +48 -0
- package/dist/node_modules/axios/lib/helpers/cookies.esm.js +54 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.esm.js +93 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.esm.js +15 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.esm.js +14 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.esm.js +16 -0
- package/dist/node_modules/axios/lib/helpers/null.esm.js +4 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.esm.js +55 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.esm.js +6 -0
- package/dist/node_modules/axios/lib/helpers/progressEventReducer.esm.js +46 -0
- package/dist/node_modules/axios/lib/helpers/resolveConfig.esm.js +62 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.esm.js +53 -0
- package/dist/node_modules/axios/lib/helpers/spread.esm.js +28 -0
- package/dist/node_modules/axios/lib/helpers/throttle.esm.js +44 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.esm.js +219 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.esm.js +19 -0
- package/dist/node_modules/axios/lib/helpers/trackStream.esm.js +88 -0
- package/dist/node_modules/axios/lib/helpers/validator.esm.js +99 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.esm.js +3 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.esm.js +3 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.esm.js +5 -0
- package/dist/node_modules/axios/lib/platform/browser/index.esm.js +15 -0
- package/dist/node_modules/axios/lib/platform/common/utils.esm.js +45 -0
- package/dist/node_modules/axios/lib/platform/index.esm.js +9 -0
- package/dist/node_modules/axios/lib/utils.esm.js +782 -0
- package/dist/node_modules/classnames/index.esm.js +85 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.esm.js +7 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.esm2.js +17 -0
- package/dist/node_modules/date-fns/_lib/defaultLocale.esm.js +21 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.esm.js +7 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.esm2.js +23 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.esm.js +775 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.esm2.js +795 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.esm.js +94 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.esm2.js +113 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.esm.js +66 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.esm2.js +77 -0
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.esm.js +21 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.esm.js +31 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.esm2.js +42 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.esm.js +11 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.esm2.js +22 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.esm.js +23 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.esm.js +25 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.esm2.js +37 -0
- package/dist/node_modules/date-fns/add.esm.js +89 -0
- package/dist/node_modules/date-fns/addBusinessDays.esm.js +91 -0
- package/dist/node_modules/date-fns/addDays.esm.js +41 -0
- package/dist/node_modules/date-fns/addDays.esm2.js +53 -0
- package/dist/node_modules/date-fns/addHours.esm.js +50 -0
- package/dist/node_modules/date-fns/addISOWeekYears.esm.js +51 -0
- package/dist/node_modules/date-fns/addMilliseconds.esm.js +49 -0
- package/dist/node_modules/date-fns/addMinutes.esm.js +48 -0
- package/dist/node_modules/date-fns/addMonths.esm.js +90 -0
- package/dist/node_modules/date-fns/addQuarters.esm.js +44 -0
- package/dist/node_modules/date-fns/addSeconds.esm.js +44 -0
- package/dist/node_modules/date-fns/addWeeks.esm.js +44 -0
- package/dist/node_modules/date-fns/addYears.esm.js +44 -0
- package/dist/node_modules/date-fns/areIntervalsOverlapping.esm.js +81 -0
- package/dist/node_modules/date-fns/clamp.esm.js +74 -0
- package/dist/node_modules/date-fns/closestIndexTo.esm.js +67 -0
- package/dist/node_modules/date-fns/closestTo.esm.js +70 -0
- package/dist/node_modules/date-fns/compareAsc.esm.js +56 -0
- package/dist/node_modules/date-fns/compareDesc.esm.js +56 -0
- package/dist/node_modules/date-fns/constants.esm.js +67 -0
- package/dist/node_modules/date-fns/constants.esm2.js +252 -0
- package/dist/node_modules/date-fns/constructFrom.esm.js +49 -0
- package/dist/node_modules/date-fns/constructFrom.esm2.js +60 -0
- package/dist/node_modules/date-fns/constructNow.esm.js +46 -0
- package/dist/node_modules/date-fns/daysToWeeks.esm.js +42 -0
- package/dist/node_modules/date-fns/differenceInBusinessDays.esm.js +106 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.esm.js +62 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.esm2.js +80 -0
- package/dist/node_modules/date-fns/differenceInCalendarISOWeekYears.esm.js +56 -0
- package/dist/node_modules/date-fns/differenceInCalendarISOWeeks.esm.js +73 -0
- package/dist/node_modules/date-fns/differenceInCalendarMonths.esm.js +53 -0
- package/dist/node_modules/date-fns/differenceInCalendarQuarters.esm.js +56 -0
- package/dist/node_modules/date-fns/differenceInCalendarWeeks.esm.js +78 -0
- package/dist/node_modules/date-fns/differenceInCalendarYears.esm.js +49 -0
- package/dist/node_modules/date-fns/differenceInDays.esm.js +119 -0
- package/dist/node_modules/date-fns/differenceInHours.esm.js +54 -0
- package/dist/node_modules/date-fns/differenceInISOWeekYears.esm.js +79 -0
- package/dist/node_modules/date-fns/differenceInMilliseconds.esm.js +40 -0
- package/dist/node_modules/date-fns/differenceInMinutes.esm.js +59 -0
- package/dist/node_modules/date-fns/differenceInMonths.esm.js +70 -0
- package/dist/node_modules/date-fns/differenceInQuarters.esm.js +45 -0
- package/dist/node_modules/date-fns/differenceInSeconds.esm.js +49 -0
- package/dist/node_modules/date-fns/differenceInWeeks.esm.js +66 -0
- package/dist/node_modules/date-fns/differenceInYears.esm.js +77 -0
- package/dist/node_modules/date-fns/eachDayOfInterval.esm.js +83 -0
- package/dist/node_modules/date-fns/eachHourOfInterval.esm.js +79 -0
- package/dist/node_modules/date-fns/eachMinuteOfInterval.esm.js +84 -0
- package/dist/node_modules/date-fns/eachMonthOfInterval.esm.js +82 -0
- package/dist/node_modules/date-fns/eachQuarterOfInterval.esm.js +87 -0
- package/dist/node_modules/date-fns/eachWeekOfInterval.esm.js +96 -0
- package/dist/node_modules/date-fns/eachWeekendOfInterval.esm.js +70 -0
- package/dist/node_modules/date-fns/eachWeekendOfMonth.esm.js +58 -0
- package/dist/node_modules/date-fns/eachWeekendOfYear.esm.js +55 -0
- package/dist/node_modules/date-fns/eachYearOfInterval.esm.js +82 -0
- package/dist/node_modules/date-fns/endOfDay.esm.js +46 -0
- package/dist/node_modules/date-fns/endOfDecade.esm.js +51 -0
- package/dist/node_modules/date-fns/endOfHour.esm.js +46 -0
- package/dist/node_modules/date-fns/endOfISOWeek.esm.js +46 -0
- package/dist/node_modules/date-fns/endOfISOWeekYear.esm.js +60 -0
- package/dist/node_modules/date-fns/endOfMinute.esm.js +46 -0
- package/dist/node_modules/date-fns/endOfMonth.esm.js +48 -0
- package/dist/node_modules/date-fns/endOfQuarter.esm.js +49 -0
- package/dist/node_modules/date-fns/endOfSecond.esm.js +46 -0
- package/dist/node_modules/date-fns/endOfToday.esm.js +43 -0
- package/dist/node_modules/date-fns/endOfTomorrow.esm.js +50 -0
- package/dist/node_modules/date-fns/endOfWeek.esm.js +65 -0
- package/dist/node_modules/date-fns/endOfYear.esm.js +48 -0
- package/dist/node_modules/date-fns/endOfYesterday.esm.js +47 -0
- package/dist/node_modules/date-fns/format.esm.js +417 -0
- package/dist/node_modules/date-fns/format.esm2.js +459 -0
- package/dist/node_modules/date-fns/formatDistance.esm.js +217 -0
- package/dist/node_modules/date-fns/formatDistanceStrict.esm.js +205 -0
- package/dist/node_modules/date-fns/formatDistanceToNow.esm.js +110 -0
- package/dist/node_modules/date-fns/formatDistanceToNowStrict.esm.js +100 -0
- package/dist/node_modules/date-fns/formatDuration.esm.js +115 -0
- package/dist/node_modules/date-fns/formatISO.esm.js +118 -0
- package/dist/node_modules/date-fns/formatISO9075.esm.js +98 -0
- package/dist/node_modules/date-fns/formatISODuration.esm.js +49 -0
- package/dist/node_modules/date-fns/formatRFC3339.esm.js +97 -0
- package/dist/node_modules/date-fns/formatRFC7231.esm.js +75 -0
- package/dist/node_modules/date-fns/formatRelative.esm.js +107 -0
- package/dist/node_modules/date-fns/fromUnixTime.esm.js +42 -0
- package/dist/node_modules/date-fns/getDate.esm.js +40 -0
- package/dist/node_modules/date-fns/getDay.esm.js +40 -0
- package/dist/node_modules/date-fns/getDayOfYear.esm.js +34 -0
- package/dist/node_modules/date-fns/getDayOfYear.esm2.js +50 -0
- package/dist/node_modules/date-fns/getDaysInMonth.esm.js +48 -0
- package/dist/node_modules/date-fns/getDaysInYear.esm.js +44 -0
- package/dist/node_modules/date-fns/getDecade.esm.js +46 -0
- package/dist/node_modules/date-fns/getDefaultOptions.esm.js +31 -0
- package/dist/node_modules/date-fns/getDefaultOptions.esm2.js +43 -0
- package/dist/node_modules/date-fns/getHours.esm.js +40 -0
- package/dist/node_modules/date-fns/getISODay.esm.js +33 -0
- package/dist/node_modules/date-fns/getISODay.esm2.js +44 -0
- package/dist/node_modules/date-fns/getISOWeek.esm.js +40 -0
- package/dist/node_modules/date-fns/getISOWeek.esm2.js +56 -0
- package/dist/node_modules/date-fns/getISOWeekYear.esm.js +52 -0
- package/dist/node_modules/date-fns/getISOWeekYear.esm2.js +69 -0
- package/dist/node_modules/date-fns/getISOWeeksInYear.esm.js +55 -0
- package/dist/node_modules/date-fns/getMilliseconds.esm.js +35 -0
- package/dist/node_modules/date-fns/getMinutes.esm.js +40 -0
- package/dist/node_modules/date-fns/getMonth.esm.js +40 -0
- package/dist/node_modules/date-fns/getOverlappingDaysInIntervals.esm.js +80 -0
- package/dist/node_modules/date-fns/getQuarter.esm.js +42 -0
- package/dist/node_modules/date-fns/getSeconds.esm.js +35 -0
- package/dist/node_modules/date-fns/getTime.esm.js +35 -0
- package/dist/node_modules/date-fns/getUnixTime.esm.js +35 -0
- package/dist/node_modules/date-fns/getWeek.esm.js +54 -0
- package/dist/node_modules/date-fns/getWeek.esm2.js +70 -0
- package/dist/node_modules/date-fns/getWeekOfMonth.esm.js +69 -0
- package/dist/node_modules/date-fns/getWeekYear.esm.js +75 -0
- package/dist/node_modules/date-fns/getWeekYear.esm2.js +101 -0
- package/dist/node_modules/date-fns/getWeeksInMonth.esm.js +59 -0
- package/dist/node_modules/date-fns/getYear.esm.js +40 -0
- package/dist/node_modules/date-fns/hoursToMilliseconds.esm.js +35 -0
- package/dist/node_modules/date-fns/hoursToMinutes.esm.js +35 -0
- package/dist/node_modules/date-fns/hoursToSeconds.esm.js +35 -0
- package/dist/node_modules/date-fns/index.esm.js +2954 -0
- package/dist/node_modules/date-fns/interval.esm.js +59 -0
- package/dist/node_modules/date-fns/intervalToDuration.esm.js +91 -0
- package/dist/node_modules/date-fns/intlFormat.esm.js +131 -0
- package/dist/node_modules/date-fns/intlFormatDistance.esm.js +238 -0
- package/dist/node_modules/date-fns/isAfter.esm.js +36 -0
- package/dist/node_modules/date-fns/isBefore.esm.js +36 -0
- package/dist/node_modules/date-fns/isDate.esm.js +41 -0
- package/dist/node_modules/date-fns/isDate.esm2.js +50 -0
- package/dist/node_modules/date-fns/isEqual.esm.js +39 -0
- package/dist/node_modules/date-fns/isExists.esm.js +43 -0
- package/dist/node_modules/date-fns/isFirstDayOfMonth.esm.js +40 -0
- package/dist/node_modules/date-fns/isFriday.esm.js +40 -0
- package/dist/node_modules/date-fns/isFuture.esm.js +36 -0
- package/dist/node_modules/date-fns/isLastDayOfMonth.esm.js +44 -0
- package/dist/node_modules/date-fns/isLeapYear.esm.js +38 -0
- package/dist/node_modules/date-fns/isMatch.esm.js +310 -0
- package/dist/node_modules/date-fns/isMonday.esm.js +40 -0
- package/dist/node_modules/date-fns/isPast.esm.js +36 -0
- package/dist/node_modules/date-fns/isSameDay.esm.js +60 -0
- package/dist/node_modules/date-fns/isSameHour.esm.js +56 -0
- package/dist/node_modules/date-fns/isSameISOWeek.esm.js +51 -0
- package/dist/node_modules/date-fns/isSameISOWeekYear.esm.js +54 -0
- package/dist/node_modules/date-fns/isSameMinute.esm.js +50 -0
- package/dist/node_modules/date-fns/isSameMonth.esm.js +54 -0
- package/dist/node_modules/date-fns/isSameQuarter.esm.js +56 -0
- package/dist/node_modules/date-fns/isSameSecond.esm.js +58 -0
- package/dist/node_modules/date-fns/isSameWeek.esm.js +64 -0
- package/dist/node_modules/date-fns/isSameYear.esm.js +46 -0
- package/dist/node_modules/date-fns/isSaturday.esm.js +40 -0
- package/dist/node_modules/date-fns/isSunday.esm.js +40 -0
- package/dist/node_modules/date-fns/isThisHour.esm.js +49 -0
- package/dist/node_modules/date-fns/isThisISOWeek.esm.js +50 -0
- package/dist/node_modules/date-fns/isThisMinute.esm.js +40 -0
- package/dist/node_modules/date-fns/isThisMonth.esm.js +48 -0
- package/dist/node_modules/date-fns/isThisQuarter.esm.js +48 -0
- package/dist/node_modules/date-fns/isThisSecond.esm.js +39 -0
- package/dist/node_modules/date-fns/isThisWeek.esm.js +55 -0
- package/dist/node_modules/date-fns/isThisYear.esm.js +48 -0
- package/dist/node_modules/date-fns/isThursday.esm.js +40 -0
- package/dist/node_modules/date-fns/isToday.esm.js +48 -0
- package/dist/node_modules/date-fns/isTomorrow.esm.js +49 -0
- package/dist/node_modules/date-fns/isTuesday.esm.js +40 -0
- package/dist/node_modules/date-fns/isValid.esm.js +39 -0
- package/dist/node_modules/date-fns/isValid.esm2.js +54 -0
- package/dist/node_modules/date-fns/isWednesday.esm.js +40 -0
- package/dist/node_modules/date-fns/isWeekend.esm.js +41 -0
- package/dist/node_modules/date-fns/isWithinInterval.esm.js +68 -0
- package/dist/node_modules/date-fns/isYesterday.esm.js +50 -0
- package/dist/node_modules/date-fns/lastDayOfDecade.esm.js +48 -0
- package/dist/node_modules/date-fns/lastDayOfISOWeek.esm.js +46 -0
- package/dist/node_modules/date-fns/lastDayOfISOWeekYear.esm.js +58 -0
- package/dist/node_modules/date-fns/lastDayOfMonth.esm.js +48 -0
- package/dist/node_modules/date-fns/lastDayOfQuarter.esm.js +49 -0
- package/dist/node_modules/date-fns/lastDayOfWeek.esm.js +56 -0
- package/dist/node_modules/date-fns/lastDayOfYear.esm.js +48 -0
- package/dist/node_modules/date-fns/lightFormat.esm.js +155 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.esm.js +10 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.esm2.js +21 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.esm.js +64 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.esm2.js +75 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.esm.js +59 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.esm2.js +70 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.esm.js +22 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.esm2.js +33 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.esm.js +103 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.esm2.js +115 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.esm.js +41 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.esm2.js +52 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.esm.js +13 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.esm2.js +25 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.esm.js +189 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.esm2.js +200 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.esm.js +134 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.esm2.js +147 -0
- package/dist/node_modules/date-fns/locale/en-US.esm.js +28 -0
- package/dist/node_modules/date-fns/locale/en-US.esm2.js +43 -0
- package/dist/node_modules/date-fns/max.esm.js +61 -0
- package/dist/node_modules/date-fns/milliseconds.esm.js +60 -0
- package/dist/node_modules/date-fns/millisecondsToHours.esm.js +41 -0
- package/dist/node_modules/date-fns/millisecondsToMinutes.esm.js +41 -0
- package/dist/node_modules/date-fns/millisecondsToSeconds.esm.js +41 -0
- package/dist/node_modules/date-fns/min.esm.js +61 -0
- package/dist/node_modules/date-fns/minutesToHours.esm.js +41 -0
- package/dist/node_modules/date-fns/minutesToMilliseconds.esm.js +35 -0
- package/dist/node_modules/date-fns/minutesToSeconds.esm.js +35 -0
- package/dist/node_modules/date-fns/monthsToQuarters.esm.js +41 -0
- package/dist/node_modules/date-fns/monthsToYears.esm.js +40 -0
- package/dist/node_modules/date-fns/nextDay.esm.js +51 -0
- package/dist/node_modules/date-fns/nextFriday.esm.js +43 -0
- package/dist/node_modules/date-fns/nextMonday.esm.js +43 -0
- package/dist/node_modules/date-fns/nextSaturday.esm.js +43 -0
- package/dist/node_modules/date-fns/nextSunday.esm.js +43 -0
- package/dist/node_modules/date-fns/nextThursday.esm.js +43 -0
- package/dist/node_modules/date-fns/nextTuesday.esm.js +43 -0
- package/dist/node_modules/date-fns/nextWednesday.esm.js +43 -0
- package/dist/node_modules/date-fns/parse/_lib/Parser.esm.js +27 -0
- package/dist/node_modules/date-fns/parse/_lib/Parser.esm2.js +39 -0
- package/dist/node_modules/date-fns/parse/_lib/Setter.esm.js +59 -0
- package/dist/node_modules/date-fns/parse/_lib/Setter.esm2.js +78 -0
- package/dist/node_modules/date-fns/parse/_lib/constants.esm.js +33 -0
- package/dist/node_modules/date-fns/parse/_lib/constants.esm2.js +43 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.esm.js +55 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.esm2.js +69 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.esm.js +55 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.esm2.js +69 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.esm.js +59 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.esm2.js +77 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.esm.js +57 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.esm2.js +75 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.esm.js +64 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.esm2.js +77 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.esm.js +56 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.esm2.js +70 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.esm.js +41 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.esm2.js +54 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.esm.js +24 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.esm2.js +38 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.esm.js +21 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.esm2.js +38 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.esm.js +36 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.esm2.js +54 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.esm.js +31 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.esm2.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.esm.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.esm2.js +50 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.esm.js +38 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.esm2.js +56 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.esm.js +118 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.esm2.js +133 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.esm.js +47 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.esm2.js +72 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.esm.js +47 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.esm2.js +72 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.esm.js +48 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.esm2.js +68 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.esm.js +44 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.esm2.js +60 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.esm.js +96 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.esm2.js +114 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.esm.js +47 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.esm2.js +70 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.esm.js +76 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.esm2.js +99 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.esm.js +31 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.esm2.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.esm.js +86 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.esm2.js +107 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.esm.js +83 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.esm2.js +97 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.esm.js +31 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.esm2.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.esm.js +97 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.esm2.js +115 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.esm.js +86 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.esm2.js +107 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.esm.js +83 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.esm2.js +97 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.esm.js +19 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.esm2.js +34 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.esm.js +19 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.esm2.js +37 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.esm.js +62 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.esm2.js +82 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers.esm.js +110 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers.esm2.js +151 -0
- package/dist/node_modules/date-fns/parse/_lib/utils.esm.js +135 -0
- package/dist/node_modules/date-fns/parse/_lib/utils.esm2.js +183 -0
- package/dist/node_modules/date-fns/parse.esm.js +494 -0
- package/dist/node_modules/date-fns/parse.esm2.js +544 -0
- package/dist/node_modules/date-fns/parseISO.esm.js +309 -0
- package/dist/node_modules/date-fns/parseJSON.esm.js +71 -0
- package/dist/node_modules/date-fns/previousDay.esm.js +54 -0
- package/dist/node_modules/date-fns/previousFriday.esm.js +43 -0
- package/dist/node_modules/date-fns/previousMonday.esm.js +43 -0
- package/dist/node_modules/date-fns/previousSaturday.esm.js +43 -0
- package/dist/node_modules/date-fns/previousSunday.esm.js +43 -0
- package/dist/node_modules/date-fns/previousThursday.esm.js +43 -0
- package/dist/node_modules/date-fns/previousTuesday.esm.js +43 -0
- package/dist/node_modules/date-fns/previousWednesday.esm.js +43 -0
- package/dist/node_modules/date-fns/quartersToMonths.esm.js +35 -0
- package/dist/node_modules/date-fns/quartersToYears.esm.js +41 -0
- package/dist/node_modules/date-fns/roundToNearestHours.esm.js +89 -0
- package/dist/node_modules/date-fns/roundToNearestMinutes.esm.js +80 -0
- package/dist/node_modules/date-fns/secondsToHours.esm.js +41 -0
- package/dist/node_modules/date-fns/secondsToMilliseconds.esm.js +35 -0
- package/dist/node_modules/date-fns/secondsToMinutes.esm.js +41 -0
- package/dist/node_modules/date-fns/set.esm.js +73 -0
- package/dist/node_modules/date-fns/setDate.esm.js +46 -0
- package/dist/node_modules/date-fns/setDay.esm.js +59 -0
- package/dist/node_modules/date-fns/setDay.esm2.js +72 -0
- package/dist/node_modules/date-fns/setDayOfYear.esm.js +47 -0
- package/dist/node_modules/date-fns/setDefaultOptions.esm.js +85 -0
- package/dist/node_modules/date-fns/setHours.esm.js +46 -0
- package/dist/node_modules/date-fns/setISODay.esm.js +40 -0
- package/dist/node_modules/date-fns/setISODay.esm2.js +53 -0
- package/dist/node_modules/date-fns/setISOWeek.esm.js +39 -0
- package/dist/node_modules/date-fns/setISOWeek.esm2.js +51 -0
- package/dist/node_modules/date-fns/setISOWeekYear.esm.js +63 -0
- package/dist/node_modules/date-fns/setMilliseconds.esm.js +46 -0
- package/dist/node_modules/date-fns/setMinutes.esm.js +46 -0
- package/dist/node_modules/date-fns/setMonth.esm.js +59 -0
- package/dist/node_modules/date-fns/setQuarter.esm.js +49 -0
- package/dist/node_modules/date-fns/setSeconds.esm.js +46 -0
- package/dist/node_modules/date-fns/setWeek.esm.js +53 -0
- package/dist/node_modules/date-fns/setWeek.esm2.js +65 -0
- package/dist/node_modules/date-fns/setWeekYear.esm.js +89 -0
- package/dist/node_modules/date-fns/setYear.esm.js +52 -0
- package/dist/node_modules/date-fns/startOfDay.esm.js +35 -0
- package/dist/node_modules/date-fns/startOfDay.esm2.js +46 -0
- package/dist/node_modules/date-fns/startOfDecade.esm.js +51 -0
- package/dist/node_modules/date-fns/startOfHour.esm.js +46 -0
- package/dist/node_modules/date-fns/startOfISOWeek.esm.js +35 -0
- package/dist/node_modules/date-fns/startOfISOWeek.esm2.js +46 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.esm.js +42 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.esm2.js +55 -0
- package/dist/node_modules/date-fns/startOfMinute.esm.js +46 -0
- package/dist/node_modules/date-fns/startOfMonth.esm.js +48 -0
- package/dist/node_modules/date-fns/startOfQuarter.esm.js +49 -0
- package/dist/node_modules/date-fns/startOfSecond.esm.js +46 -0
- package/dist/node_modules/date-fns/startOfToday.esm.js +42 -0
- package/dist/node_modules/date-fns/startOfTomorrow.esm.js +52 -0
- package/dist/node_modules/date-fns/startOfWeek.esm.js +53 -0
- package/dist/node_modules/date-fns/startOfWeek.esm2.js +65 -0
- package/dist/node_modules/date-fns/startOfWeekYear.esm.js +64 -0
- package/dist/node_modules/date-fns/startOfWeekYear.esm2.js +78 -0
- package/dist/node_modules/date-fns/startOfYear.esm.js +36 -0
- package/dist/node_modules/date-fns/startOfYear.esm2.js +47 -0
- package/dist/node_modules/date-fns/startOfYesterday.esm.js +50 -0
- package/dist/node_modules/date-fns/sub.esm.js +93 -0
- package/dist/node_modules/date-fns/subBusinessDays.esm.js +44 -0
- package/dist/node_modules/date-fns/subDays.esm.js +41 -0
- package/dist/node_modules/date-fns/subHours.esm.js +44 -0
- package/dist/node_modules/date-fns/subISOWeekYears.esm.js +46 -0
- package/dist/node_modules/date-fns/subMilliseconds.esm.js +34 -0
- package/dist/node_modules/date-fns/subMinutes.esm.js +44 -0
- package/dist/node_modules/date-fns/subMonths.esm.js +44 -0
- package/dist/node_modules/date-fns/subQuarters.esm.js +44 -0
- package/dist/node_modules/date-fns/subSeconds.esm.js +39 -0
- package/dist/node_modules/date-fns/subWeeks.esm.js +44 -0
- package/dist/node_modules/date-fns/subYears.esm.js +44 -0
- package/dist/node_modules/date-fns/toDate.esm.js +46 -0
- package/dist/node_modules/date-fns/toDate.esm2.js +57 -0
- package/dist/node_modules/date-fns/transpose.esm.js +52 -0
- package/dist/node_modules/date-fns/transpose.esm2.js +63 -0
- package/dist/node_modules/date-fns/weeksToDays.esm.js +35 -0
- package/dist/node_modules/date-fns/yearsToDays.esm.js +35 -0
- package/dist/node_modules/date-fns/yearsToMonths.esm.js +35 -0
- package/dist/node_modules/date-fns/yearsToQuarters.esm.js +35 -0
- package/dist/node_modules/object-assign/index.esm.js +99 -0
- package/dist/node_modules/prop-types/checkPropTypes.esm.js +115 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.esm.js +74 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.esm.js +625 -0
- package/dist/node_modules/prop-types/index.esm.js +33 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.esm.js +21 -0
- package/dist/node_modules/prop-types/lib/has.esm.js +11 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.esm.js +190 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.esm.js +26 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.esm.js +19 -0
- package/dist/node_modules/react-date-range/dist/accessibility/index.esm.js +29 -0
- package/dist/node_modules/react-date-range/dist/components/Calendar/index.esm.js +644 -0
- package/dist/node_modules/react-date-range/dist/components/DateInput/index.esm.js +153 -0
- package/dist/node_modules/react-date-range/dist/components/DateRange/index.esm.js +212 -0
- package/dist/node_modules/react-date-range/dist/components/DateRangePicker/index.esm.js +72 -0
- package/dist/node_modules/react-date-range/dist/components/DayCell/index.esm.js +252 -0
- package/dist/node_modules/react-date-range/dist/components/DefinedRange/index.esm.js +166 -0
- package/dist/node_modules/react-date-range/dist/components/InputRangeField/index.esm.js +91 -0
- package/dist/node_modules/react-date-range/dist/components/Month/index.esm.js +146 -0
- package/dist/node_modules/react-date-range/dist/defaultRanges.esm.js +111 -0
- package/dist/node_modules/react-date-range/dist/index.esm.js +70 -0
- package/dist/node_modules/react-date-range/dist/styles.esm.js +69 -0
- package/dist/node_modules/react-date-range/dist/utils.esm.js +93 -0
- package/dist/node_modules/react-list/react-list.esm.js +647 -0
- package/dist/node_modules/shallow-equal/dist/index.esm.esm.js +53 -0
- package/dist/theme/index.d.ts +9 -0
- package/dist/theme/index.esm.js +61 -0
- package/dist/types/index.d.ts +38 -0
- package/dist/utils/Constants/FormConstants.d.ts +40 -0
- package/dist/utils/Constants/FormConstants.esm.js +78 -0
- package/dist/utils/Constants/FunctionConstants.d.ts +61 -0
- package/dist/utils/Constants/FunctionConstants.esm.js +236 -0
- package/dist/utils/Constants/FunctionConstants.test.d.ts +1 -0
- package/dist/utils/Constants/crypto-js.d.ts +29 -0
- package/dist/utils/Constants/date-pickers.d.ts +29 -0
- package/dist/utils/Constants/date-pickers.esm.js +33 -0
- package/dist/utils/Constants/file-saver.d.ts +14 -0
- package/dist/utils/Constants/file-saver.esm.js +22 -0
- package/dist/utils/Constants/index.d.ts +5 -0
- package/dist/utils/Constants/xlsx-js-style.d.ts +22 -0
- package/dist/utils/Constants/xlsx-js-style.esm.js +46 -0
- package/dist/utils/Interface/FormInterface.d.ts +86 -0
- package/dist/utils/Interface/MainInterface.d.ts +17 -0
- package/dist/utils/Interface/ModalInterface.d.ts +12 -0
- package/dist/utils/Interface/index.d.ts +3 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.esm.js +4 -0
- package/dist/validation/index.d.ts +1 -0
- package/dist/validation/index.esm.js +1 -0
- package/dist/validation/schemas.d.ts +101 -0
- package/dist/validation/schemas.esm.js +111 -0
- package/package.json +198 -0
- package/scripts/install-deps.js +113 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import { TextField } from '@mui/material';
|
|
3
|
+
import { Controller } from 'react-hook-form';
|
|
4
|
+
import FormBottomField from '../FormBottomField/FormBottomField.esm.js';
|
|
5
|
+
import 'dayjs';
|
|
6
|
+
import { renderLabel } from '../../../utils/Constants/FormConstants.esm.js';
|
|
7
|
+
|
|
8
|
+
const FormNumberFieldDecimal = ({ props, variant, }) => {
|
|
9
|
+
const fixedLength = props.item.decimalFixedTo || 2;
|
|
10
|
+
const sanitizeDecimal = (raw) => {
|
|
11
|
+
let next = (raw ?? '').replace(/[^0-9.-]/g, '');
|
|
12
|
+
// Collapse multiple '-' to one at start
|
|
13
|
+
next = next.replace(/(?!^)-/g, '');
|
|
14
|
+
if (next.includes('.')) {
|
|
15
|
+
const [intPart, decPart] = next.split('.');
|
|
16
|
+
const clampedDec = (decPart ?? '').slice(0, fixedLength);
|
|
17
|
+
next = `${intPart}.${clampedDec}`;
|
|
18
|
+
}
|
|
19
|
+
return next;
|
|
20
|
+
};
|
|
21
|
+
const label = variant !== 'standard' ? `${props.item.label}${props.item.required ? ' *' : ''}` : '';
|
|
22
|
+
const isError = !!props.errors?.[props.item.name];
|
|
23
|
+
const isShowBorderError = isError;
|
|
24
|
+
return (jsx(Controller, { name: props.item.name, control: props.control, disabled: props.item?.disable, render: ({ field }) => (jsxs(Fragment, { children: [renderLabel(variant, props), jsx(TextField, { type: "text", size: "small", label: label, error: isShowBorderError, ...field, onChange: (e) => {
|
|
25
|
+
const sanitized = sanitizeDecimal(e.target.value ?? '');
|
|
26
|
+
const value = sanitized === '' ? '' : sanitized;
|
|
27
|
+
field.onChange(value);
|
|
28
|
+
props?.clearErrors && props?.clearErrors(props.item.name);
|
|
29
|
+
}, sx: {
|
|
30
|
+
'& input': {
|
|
31
|
+
textAlign: 'right',
|
|
32
|
+
},
|
|
33
|
+
'& .css-16hdwvj,.css-1idq7r3-MuiFormLabel-root-MuiInputLabel-root': {
|
|
34
|
+
top: '-5px',
|
|
35
|
+
},
|
|
36
|
+
}, onBlur: (e) => {
|
|
37
|
+
props?.item?.onBlurFn && props?.item?.onBlurFn(e);
|
|
38
|
+
}, InputProps: {
|
|
39
|
+
inputProps: {
|
|
40
|
+
// allow digits, one dot and optional leading minus
|
|
41
|
+
inputMode: 'decimal',
|
|
42
|
+
maxLength: 20,
|
|
43
|
+
'aria-labelledby': `${props.item.name}-label`,
|
|
44
|
+
'aria-describedby': `${props.item.name}-helper ${props.item.name}-error`,
|
|
45
|
+
'aria-required': props.item.required ? true : undefined,
|
|
46
|
+
},
|
|
47
|
+
} }), jsx(FormBottomField, { ...props })] })) }, props.item.name));
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export { FormNumberFieldDecimal as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from '../../../utils';
|
|
2
|
+
/**
|
|
3
|
+
* FormRadioGroup Component
|
|
4
|
+
*
|
|
5
|
+
* A radio button group component that integrates with react-hook-form for form state management.
|
|
6
|
+
* Renders multiple radio options in a row with labels and validation support.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
* @param {Object} props - The component props
|
|
10
|
+
* @param {FormRenderProps} props.props - Form rendering properties from parent form
|
|
11
|
+
* @param {VariantProps} props.variant - UI variant style ('standard', 'outlined', etc.)
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* // Basic usage in FormRender with settings array
|
|
15
|
+
* <FormRadioGroup props={formRenderProps} variant="outlined" />
|
|
16
|
+
*/
|
|
17
|
+
declare const FormRadioGroup: ({ props, variant }: {
|
|
18
|
+
props: FormRenderProps;
|
|
19
|
+
variant: VariantProps;
|
|
20
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
/**
|
|
22
|
+
* Export the FormRadioGroup component for use in the form renderer
|
|
23
|
+
* This component is used for radio group input types
|
|
24
|
+
*/
|
|
25
|
+
export default FormRadioGroup;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { FormControl, RadioGroup, FormControlLabel, Typography, Radio } from '@mui/material';
|
|
3
|
+
import { Controller } from 'react-hook-form';
|
|
4
|
+
import FormBottomField from '../FormBottomField/FormBottomField.esm.js';
|
|
5
|
+
import 'dayjs';
|
|
6
|
+
import { renderLabel } from '../../../utils/Constants/FormConstants.esm.js';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* FormRadioGroup Component
|
|
10
|
+
*
|
|
11
|
+
* A radio button group component that integrates with react-hook-form for form state management.
|
|
12
|
+
* Renders multiple radio options in a row with labels and validation support.
|
|
13
|
+
*
|
|
14
|
+
* @component
|
|
15
|
+
* @param {Object} props - The component props
|
|
16
|
+
* @param {FormRenderProps} props.props - Form rendering properties from parent form
|
|
17
|
+
* @param {VariantProps} props.variant - UI variant style ('standard', 'outlined', etc.)
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* // Basic usage in FormRender with settings array
|
|
21
|
+
* <FormRadioGroup props={formRenderProps} variant="outlined" />
|
|
22
|
+
*/
|
|
23
|
+
const FormRadioGroup = ({ props, variant }) => {
|
|
24
|
+
/**
|
|
25
|
+
* Renders a group of radio buttons with labels and validation support
|
|
26
|
+
*/
|
|
27
|
+
return (jsxs(Fragment, { children: [renderLabel(variant, props), jsx(FormControl, { component: "fieldset", children: jsx(Controller, { name: props.item.name, control: props.control, render: ({ field }) => (jsx(RadioGroup, { value: field.value || '', onChange: (e) => {
|
|
28
|
+
field.onChange(e.target.value); // update form state
|
|
29
|
+
props.item.onChangeFn && props.item.onChangeFn(e.target.value); // optional handler
|
|
30
|
+
}, row: true, sx: {
|
|
31
|
+
gap: '8px',
|
|
32
|
+
}, children: props.item?.settings?.map((option, i) => (jsx(FormControlLabel, { value: option.name, control: jsx(Radio, { sx: {
|
|
33
|
+
padding: '6px 2px 6px 8px',
|
|
34
|
+
color: 'black',
|
|
35
|
+
'&.Mui-checked': {
|
|
36
|
+
color: '#1976d2', // blue when selected
|
|
37
|
+
},
|
|
38
|
+
'& .MuiSvgIcon-root': {
|
|
39
|
+
fontSize: 16, // controls the radio icon size
|
|
40
|
+
},
|
|
41
|
+
} }), label: jsx(Typography, { fontSize: '11px', fontWeight: 'normal !important', children: option.label }) }, i))) })) }) }), jsx(FormBottomField, { ...props })] }));
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export { FormRadioGroup as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from '../../../utils';
|
|
2
|
+
/**
|
|
3
|
+
* FormTextAreaField Component
|
|
4
|
+
*
|
|
5
|
+
* A multi-line text input field component that integrates with react-hook-form for form state management.
|
|
6
|
+
* Renders a textarea with validation support and customizable rows.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
* @param {Object} props - The component props
|
|
10
|
+
* @param {FormRenderProps} props.props - Form rendering properties from parent form
|
|
11
|
+
* @param {VariantProps} props.variant - UI variant style ('standard', 'outlined', etc.)
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* // Basic usage in FormRender
|
|
15
|
+
* <FormTextAreaField props={formRenderProps} variant="outlined" />
|
|
16
|
+
*/
|
|
17
|
+
declare const FormTextAreaField: ({ props, variant, }: {
|
|
18
|
+
props: FormRenderProps;
|
|
19
|
+
variant: VariantProps;
|
|
20
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
/**
|
|
22
|
+
* Export the FormTextAreaField component for use in the form renderer
|
|
23
|
+
* This component is used for textarea input types
|
|
24
|
+
*/
|
|
25
|
+
export default FormTextAreaField;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import { Controller } from 'react-hook-form';
|
|
3
|
+
import FormBottomField from '../FormBottomField/FormBottomField.esm.js';
|
|
4
|
+
import { TextAreaField } from './FormTextAreaField.styles.esm.js';
|
|
5
|
+
import 'dayjs';
|
|
6
|
+
import { renderLabel } from '../../../utils/Constants/FormConstants.esm.js';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* FormTextAreaField Component
|
|
10
|
+
*
|
|
11
|
+
* A multi-line text input field component that integrates with react-hook-form for form state management.
|
|
12
|
+
* Renders a textarea with validation support and customizable rows.
|
|
13
|
+
*
|
|
14
|
+
* @component
|
|
15
|
+
* @param {Object} props - The component props
|
|
16
|
+
* @param {FormRenderProps} props.props - Form rendering properties from parent form
|
|
17
|
+
* @param {VariantProps} props.variant - UI variant style ('standard', 'outlined', etc.)
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* // Basic usage in FormRender
|
|
21
|
+
* <FormTextAreaField props={formRenderProps} variant="outlined" />
|
|
22
|
+
*/
|
|
23
|
+
const FormTextAreaField = ({ props, variant, }) => {
|
|
24
|
+
/**
|
|
25
|
+
* Determines if the field has an error based on form validation
|
|
26
|
+
*/
|
|
27
|
+
const isError = !!props.errors?.[props.item.name];
|
|
28
|
+
const isShowBorderError = isError;
|
|
29
|
+
/**
|
|
30
|
+
* Renders the textarea component with validation support
|
|
31
|
+
*/
|
|
32
|
+
return (jsx(Fragment, { children: jsx(Controller, { control: props.control, name: props.item.name, render: ({ field }) => (jsxs(Fragment, { children: [renderLabel(variant, props), jsx(TextAreaField, { multiline: true, size: "small", InputProps: {
|
|
33
|
+
style: {
|
|
34
|
+
border: 'none',
|
|
35
|
+
},
|
|
36
|
+
}, sx: {
|
|
37
|
+
...props.item.sx,
|
|
38
|
+
}, minRows: props.item.minRows || 1, maxRows: props.item.maxRows || 100, placeholder: props.item.placeholder || 'Type Something...', ...field, label: variant !== 'standard'
|
|
39
|
+
? `${props.item.label}${props.item.required ? ' *' : ''}`
|
|
40
|
+
: '', error: isShowBorderError, value: field.value || '', disabled: props.item.disable, inputProps: {
|
|
41
|
+
/**
|
|
42
|
+
* Handles input events with text restrictions
|
|
43
|
+
*
|
|
44
|
+
* @param {any} e - The input event object
|
|
45
|
+
*
|
|
46
|
+
* @remarks
|
|
47
|
+
* - Removes special characters if allowSpecialChars is false
|
|
48
|
+
* - Prevents input that starts with a space
|
|
49
|
+
*/
|
|
50
|
+
onInput: (e) => {
|
|
51
|
+
if (!props?.item?.allowSpecialChars) {
|
|
52
|
+
const value = e.target.value;
|
|
53
|
+
e.target.value = value.replace(/[^a-zA-Z0-9 ]/g, '');
|
|
54
|
+
} // Allow only alphanumeric and space
|
|
55
|
+
if (e.target.value.length === 1 && e.target.value === ' ') {
|
|
56
|
+
e.target.value = '';
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
'aria-labelledby': `${props.item.name}-label`,
|
|
60
|
+
'aria-describedby': `${props.item.name}-helper ${props.item.name}-error`,
|
|
61
|
+
'aria-required': props.item.required ? true : undefined,
|
|
62
|
+
} }), jsx(FormBottomField, { ...props })] })) }, props.item.name) }));
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export { FormTextAreaField as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const TextAreaField: import("@emotion/styled").StyledComponent<{
|
|
2
|
+
variant?: import("@mui/material").TextFieldVariants | undefined;
|
|
3
|
+
} & Omit<import("@mui/material").StandardTextFieldProps | import("@mui/material").OutlinedTextFieldProps | import("@mui/material").FilledTextFieldProps, "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { styled } from '@mui/material/styles';
|
|
2
|
+
import { TextField } from '@mui/material';
|
|
3
|
+
|
|
4
|
+
const TextAreaField = styled(TextField)(() => ({
|
|
5
|
+
'& .css-1holvmy,.css-lqj8pz-MuiFormLabel-root-MuiInputLabel-root, .css-kichxs-MuiFormLabel-root-MuiInputLabel-root': {
|
|
6
|
+
top: '-10px',
|
|
7
|
+
},
|
|
8
|
+
'& input': {
|
|
9
|
+
fontSize: '11px',
|
|
10
|
+
},
|
|
11
|
+
'& .css-2rul56-MuiFormLabel-root-MuiInputLabel-root': {
|
|
12
|
+
top: '-10px',
|
|
13
|
+
},
|
|
14
|
+
'& .css-12ciryo-MuiFormLabel-root-MuiInputLabel-root ': {},
|
|
15
|
+
'& .css-1gq5vhi-MuiInputBase-root-MuiOutlinedInput-root input ': {
|
|
16
|
+
outline: 'none',
|
|
17
|
+
border: '1px solid #ced4da', // Add this line to set border to none
|
|
18
|
+
},
|
|
19
|
+
'& .css-1gq5vhi-MuiInputBase-root-MuiOutlinedInput-root input:focus ': {
|
|
20
|
+
outline: 'none',
|
|
21
|
+
border: 'none', // Set border to none when input is focused
|
|
22
|
+
},
|
|
23
|
+
'& .css-1y03twt-MuiInputBase-root-MuiOutlinedInput-root': {
|
|
24
|
+
padding: '5px 5px', // Set border to none when input is focused
|
|
25
|
+
fontSize: '11px',
|
|
26
|
+
},
|
|
27
|
+
'& textarea': {
|
|
28
|
+
fontSize: '11px',
|
|
29
|
+
// textTransform:'uppercase'
|
|
30
|
+
maxHeight: '500px !important',
|
|
31
|
+
overflow: 'auto',
|
|
32
|
+
},
|
|
33
|
+
}));
|
|
34
|
+
|
|
35
|
+
export { TextAreaField };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from '../../../utils';
|
|
2
|
+
/**
|
|
3
|
+
* FormTextField Component
|
|
4
|
+
*
|
|
5
|
+
* A text input field component that integrates with react-hook-form for form state management.
|
|
6
|
+
* This component is used for standard text inputs, email inputs, and multi-email inputs.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
* @param {Object} props - The component props
|
|
10
|
+
* @param {FormRenderProps} props.props - Form rendering properties from parent form
|
|
11
|
+
* @param {VariantProps} props.variant - UI variant style ('standard', 'outlined', etc.)
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* // Basic usage in FormRender
|
|
15
|
+
* <FormTextField props={formRenderProps} variant="outlined" />
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* // Usage with specific configuration
|
|
19
|
+
* const formItem = {
|
|
20
|
+
* name: "email",
|
|
21
|
+
* label: "Email Address",
|
|
22
|
+
* inputType: "email",
|
|
23
|
+
* required: true,
|
|
24
|
+
* placeholder: "Enter your email"
|
|
25
|
+
* };
|
|
26
|
+
* <FormTextField
|
|
27
|
+
* props={{
|
|
28
|
+
* item: formItem,
|
|
29
|
+
* control: formMethods.control,
|
|
30
|
+
* errors: formMethods.formState.errors
|
|
31
|
+
* }}
|
|
32
|
+
* variant="outlined"
|
|
33
|
+
* />
|
|
34
|
+
*/
|
|
35
|
+
declare const FormTextField: ({ props, variant }: {
|
|
36
|
+
props: FormRenderProps;
|
|
37
|
+
variant: VariantProps;
|
|
38
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
/**
|
|
40
|
+
* Export the FormTextField component for use in the form renderer
|
|
41
|
+
* This component is used for text, email, and multi-email input types
|
|
42
|
+
*/
|
|
43
|
+
export default FormTextField;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import { Controller } from 'react-hook-form';
|
|
3
|
+
import { FormTextFieldComponent } from './FormTextField.styles.esm.js';
|
|
4
|
+
import FormBottomField from '../FormBottomField/FormBottomField.esm.js';
|
|
5
|
+
import 'dayjs';
|
|
6
|
+
import { renderLabel } from '../../../utils/Constants/FormConstants.esm.js';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* FormTextField Component
|
|
10
|
+
*
|
|
11
|
+
* A text input field component that integrates with react-hook-form for form state management.
|
|
12
|
+
* This component is used for standard text inputs, email inputs, and multi-email inputs.
|
|
13
|
+
*
|
|
14
|
+
* @component
|
|
15
|
+
* @param {Object} props - The component props
|
|
16
|
+
* @param {FormRenderProps} props.props - Form rendering properties from parent form
|
|
17
|
+
* @param {VariantProps} props.variant - UI variant style ('standard', 'outlined', etc.)
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* // Basic usage in FormRender
|
|
21
|
+
* <FormTextField props={formRenderProps} variant="outlined" />
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* // Usage with specific configuration
|
|
25
|
+
* const formItem = {
|
|
26
|
+
* name: "email",
|
|
27
|
+
* label: "Email Address",
|
|
28
|
+
* inputType: "email",
|
|
29
|
+
* required: true,
|
|
30
|
+
* placeholder: "Enter your email"
|
|
31
|
+
* };
|
|
32
|
+
* <FormTextField
|
|
33
|
+
* props={{
|
|
34
|
+
* item: formItem,
|
|
35
|
+
* control: formMethods.control,
|
|
36
|
+
* errors: formMethods.formState.errors
|
|
37
|
+
* }}
|
|
38
|
+
* variant="outlined"
|
|
39
|
+
* />
|
|
40
|
+
*/
|
|
41
|
+
const FormTextField = ({ props, variant }) => {
|
|
42
|
+
// Using fieldState.error directly from Controller render; no local isError needed
|
|
43
|
+
// Removed fieldError gating: error border now shows whenever there is a validation error
|
|
44
|
+
/**
|
|
45
|
+
* Generates the field label based on variant type
|
|
46
|
+
* For non-standard variants, appends an asterisk if the field is required
|
|
47
|
+
*/
|
|
48
|
+
const label = variant !== 'standard' ? `${props.item.label}${props.item.required ? ' *' : ''}` : '';
|
|
49
|
+
/**
|
|
50
|
+
* Handles input events with various text restrictions
|
|
51
|
+
*
|
|
52
|
+
* @param {any} e - The input event object
|
|
53
|
+
*
|
|
54
|
+
* @remarks
|
|
55
|
+
* - Removes spaces if donotAllowSpace is true
|
|
56
|
+
* - Removes special characters if allowSpecialChars is false
|
|
57
|
+
* - Prevents input that starts with a space
|
|
58
|
+
* - Calls custom onInputProps handler if provided
|
|
59
|
+
*/
|
|
60
|
+
const onInput = (e) => {
|
|
61
|
+
if (props?.item?.donotAllowSpace) {
|
|
62
|
+
const value = e.target.value;
|
|
63
|
+
e.target.value = value.replace(' ', '');
|
|
64
|
+
}
|
|
65
|
+
if (props?.item?.allowSpecialChars === false) {
|
|
66
|
+
const value = e.target.value;
|
|
67
|
+
e.target.value = value.replace(/[^a-zA-Z0-9\s]/g, '');
|
|
68
|
+
}
|
|
69
|
+
if (props?.item?.allowNumbers === false) {
|
|
70
|
+
const value = e.target.value;
|
|
71
|
+
e.target.value = value.replace(/[0-9]/g, '');
|
|
72
|
+
}
|
|
73
|
+
if (props?.item?.allowText === false) {
|
|
74
|
+
const value = e.target.value;
|
|
75
|
+
e.target.value = value.replace(/[a-zA-Z]/g, '');
|
|
76
|
+
}
|
|
77
|
+
if (props?.item?.allowHyphen === false) {
|
|
78
|
+
const value = e.target.value;
|
|
79
|
+
e.target.value = value.replace(/-/g, '');
|
|
80
|
+
}
|
|
81
|
+
// Allow only alphanumeric and space
|
|
82
|
+
if (e.target.value.length === 1 && e.target.value === ' ') {
|
|
83
|
+
e.target.value = '';
|
|
84
|
+
}
|
|
85
|
+
props.item.onInputProps && props.item.onInputProps(e);
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Renders the text field component using react-hook-form's Controller
|
|
89
|
+
* for controlled form state management
|
|
90
|
+
*/
|
|
91
|
+
return (jsx(Controller, { control: props.control, name: props.item.name, render: ({ field, fieldState }) => (jsxs(Fragment, { children: [renderLabel(variant, props), jsx(FormTextFieldComponent, { ...field, fullWidth: true, autoFocus: props.item.autoFocus, error: !!fieldState.error, label: label, placeholder: props.item.placeholder || '', autoComplete: "off", sx: {
|
|
92
|
+
...props.item.sx,
|
|
93
|
+
}, value: field.value || '', size: "small", disabled: props.item.disable, onBlur: (e) => {
|
|
94
|
+
// Call custom onBlur handler if provided
|
|
95
|
+
props?.item?.onBlurFn && props?.item?.onBlurFn(e);
|
|
96
|
+
}, inputProps: {
|
|
97
|
+
...{
|
|
98
|
+
maxLength: props.item.maxLength || 100,
|
|
99
|
+
onInput: onInput,
|
|
100
|
+
onPaste: (e) => {
|
|
101
|
+
if (props.item.doNotAllowPaste)
|
|
102
|
+
e.preventDefault();
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
'aria-labelledby': `${props.item.name}-label`,
|
|
106
|
+
'aria-describedby': `${props.item.name}-helper ${props.item.name}-error`,
|
|
107
|
+
'aria-required': props.item.required ? true : undefined,
|
|
108
|
+
} }), jsx(FormBottomField, { ...props })] })) }, props.item.name));
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
export { FormTextField as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Styled TextField component with custom styling for form inputs
|
|
3
|
+
*
|
|
4
|
+
* This component extends Material-UI's TextField with custom styling to match
|
|
5
|
+
* the design system requirements. It includes specific CSS overrides for various
|
|
6
|
+
* Material-UI classes to ensure consistent appearance across the application.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
*/
|
|
10
|
+
export declare const FormTextFieldComponent: import("@emotion/styled").StyledComponent<{
|
|
11
|
+
variant?: import("@mui/material").TextFieldVariants | undefined;
|
|
12
|
+
} & Omit<import("@mui/material").StandardTextFieldProps | import("@mui/material").OutlinedTextFieldProps | import("@mui/material").FilledTextFieldProps, "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { styled } from '@mui/material/styles';
|
|
2
|
+
import { TextField } from '@mui/material';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Styled TextField component with custom styling for form inputs
|
|
6
|
+
*
|
|
7
|
+
* This component extends Material-UI's TextField with custom styling to match
|
|
8
|
+
* the design system requirements. It includes specific CSS overrides for various
|
|
9
|
+
* Material-UI classes to ensure consistent appearance across the application.
|
|
10
|
+
*
|
|
11
|
+
* @component
|
|
12
|
+
*/
|
|
13
|
+
const FormTextFieldComponent = styled(TextField)(() => ({
|
|
14
|
+
// '& .MuiFormLabel-root': {
|
|
15
|
+
// top: '-10px',
|
|
16
|
+
// },
|
|
17
|
+
// '& .MuiInputBase-root.MuiOutlinedInput-root input': {
|
|
18
|
+
// outline: 'none',
|
|
19
|
+
// border: '1px solid #ced4da',
|
|
20
|
+
// },
|
|
21
|
+
// '& .MuiInputBase-root.MuiOutlinedInput-root input:focus': {
|
|
22
|
+
// outline: 'none',
|
|
23
|
+
// border: 'none',
|
|
24
|
+
// },
|
|
25
|
+
}));
|
|
26
|
+
|
|
27
|
+
export { FormTextFieldComponent };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from '../../../utils';
|
|
2
|
+
/**
|
|
3
|
+
* FormTextField Component
|
|
4
|
+
*
|
|
5
|
+
* A text input field component that integrates with react-hook-form for form state management.
|
|
6
|
+
* This component is used for standard text inputs, email inputs, and multi-email inputs.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
* @param {Object} props - The component props
|
|
10
|
+
* @param {FormRenderProps} props.props - Form rendering properties from parent form
|
|
11
|
+
* @param {VariantProps} props.variant - UI variant style ('standard', 'outlined', etc.)
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* // Basic usage in FormRender
|
|
15
|
+
* <FormTextField props={formRenderProps} variant="outlined" />
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* // Usage with specific configuration
|
|
19
|
+
* const formItem = {
|
|
20
|
+
* name: "email",
|
|
21
|
+
* label: "Email Address",
|
|
22
|
+
* inputType: "email",
|
|
23
|
+
* required: true,
|
|
24
|
+
* placeholder: "Enter your email"
|
|
25
|
+
* };
|
|
26
|
+
* <FormTextField
|
|
27
|
+
* props={{
|
|
28
|
+
* item: formItem,
|
|
29
|
+
* control: formMethods.control,
|
|
30
|
+
* errors: formMethods.formState.errors
|
|
31
|
+
* }}
|
|
32
|
+
* variant="outlined"
|
|
33
|
+
* />
|
|
34
|
+
*/
|
|
35
|
+
declare const FormTextFieldWithSelect: ({ props, variant, }: {
|
|
36
|
+
props: FormRenderProps;
|
|
37
|
+
variant: VariantProps;
|
|
38
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
/**
|
|
40
|
+
* Export the FormTextField component for use in the form renderer
|
|
41
|
+
* This component is used for text, email, and multi-email input types
|
|
42
|
+
*/
|
|
43
|
+
export default FormTextFieldWithSelect;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import { Controller } from 'react-hook-form';
|
|
3
|
+
import FormBottomField from '../FormBottomField/FormBottomField.esm.js';
|
|
4
|
+
import 'dayjs';
|
|
5
|
+
import { renderLabel } from '../../../utils/Constants/FormConstants.esm.js';
|
|
6
|
+
import { Box, TextField, Select, MenuItem } from '@mui/material';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* FormTextField Component
|
|
10
|
+
*
|
|
11
|
+
* A text input field component that integrates with react-hook-form for form state management.
|
|
12
|
+
* This component is used for standard text inputs, email inputs, and multi-email inputs.
|
|
13
|
+
*
|
|
14
|
+
* @component
|
|
15
|
+
* @param {Object} props - The component props
|
|
16
|
+
* @param {FormRenderProps} props.props - Form rendering properties from parent form
|
|
17
|
+
* @param {VariantProps} props.variant - UI variant style ('standard', 'outlined', etc.)
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* // Basic usage in FormRender
|
|
21
|
+
* <FormTextField props={formRenderProps} variant="outlined" />
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* // Usage with specific configuration
|
|
25
|
+
* const formItem = {
|
|
26
|
+
* name: "email",
|
|
27
|
+
* label: "Email Address",
|
|
28
|
+
* inputType: "email",
|
|
29
|
+
* required: true,
|
|
30
|
+
* placeholder: "Enter your email"
|
|
31
|
+
* };
|
|
32
|
+
* <FormTextField
|
|
33
|
+
* props={{
|
|
34
|
+
* item: formItem,
|
|
35
|
+
* control: formMethods.control,
|
|
36
|
+
* errors: formMethods.formState.errors
|
|
37
|
+
* }}
|
|
38
|
+
* variant="outlined"
|
|
39
|
+
* />
|
|
40
|
+
*/
|
|
41
|
+
const FormTextFieldWithSelect = ({ props, variant, }) => {
|
|
42
|
+
// Using fieldState.error directly from Controller render; no local isError needed
|
|
43
|
+
// Removed fieldError gating: error border now shows whenever there is a validation error
|
|
44
|
+
/**
|
|
45
|
+
* Generates the field label based on variant type
|
|
46
|
+
* For non-standard variants, appends an asterisk if the field is required
|
|
47
|
+
*/
|
|
48
|
+
const label = variant !== 'standard' ? `${props.item.label}${props.item.required ? ' *' : ''}` : '';
|
|
49
|
+
/**
|
|
50
|
+
* Handles input events with various text restrictions
|
|
51
|
+
*
|
|
52
|
+
* @param {React.ChangeEvent<HTMLInputElement>} e - The input event object
|
|
53
|
+
*
|
|
54
|
+
* @remarks
|
|
55
|
+
* - Removes spaces if donotAllowSpace is true
|
|
56
|
+
* - Removes special characters if allowSpecialChars is false
|
|
57
|
+
* - Prevents input that starts with a space
|
|
58
|
+
* - Calls custom onInputProps handler if provided
|
|
59
|
+
*/
|
|
60
|
+
const onInput = (e) => {
|
|
61
|
+
props.item.onInputProps && props.item.onInputProps(e);
|
|
62
|
+
const filteredValue = e.target.value.replace(/[^a-zA-Z0-9._]/g, '');
|
|
63
|
+
e.target.value = filteredValue;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Renders the text field component using react-hook-form's Controller
|
|
67
|
+
* for controlled form state management
|
|
68
|
+
*/
|
|
69
|
+
return (jsx(Controller, { control: props.control, name: props.item.name, render: ({ field, fieldState }) => (jsxs(Fragment, { children: [renderLabel(variant, props), jsxs(Box, { sx: { display: 'flex', width: '100%' }, children: [jsx(TextField, { ...field, fullWidth: true, autoFocus: props.item.autoFocus, error: !!fieldState.error, label: label, placeholder: props.item.placeholder || '', autoComplete: "off", sx: {
|
|
70
|
+
...props.item.sx,
|
|
71
|
+
'& .MuiOutlinedInput-root': {
|
|
72
|
+
borderTopRightRadius: 0,
|
|
73
|
+
borderBottomRightRadius: 0,
|
|
74
|
+
borderRight: 'none',
|
|
75
|
+
},
|
|
76
|
+
}, value: field.value || '', size: "small", disabled: props.item.disable, onBlur: (e) => {
|
|
77
|
+
props?.item?.onBlurFn && props?.item?.onBlurFn(e);
|
|
78
|
+
}, inputProps: {
|
|
79
|
+
...{
|
|
80
|
+
maxLength: props.item.maxLength || 100,
|
|
81
|
+
onInput: onInput,
|
|
82
|
+
onPaste: (e) => {
|
|
83
|
+
if (props.item.doNotAllowPaste)
|
|
84
|
+
e.preventDefault();
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
'aria-labelledby': `${props.item.name}-label`,
|
|
88
|
+
'aria-describedby': `${props.item.name}-helper ${props.item.name}-error`,
|
|
89
|
+
'aria-required': props.item.required ? true : undefined,
|
|
90
|
+
} }), jsx(Controller, { control: props.control, name: `${props.item.name}SelectValue`, render: ({ field: selectField }) => (jsx(Select, { ...selectField, value: selectField.value || '', size: "small", sx: {
|
|
91
|
+
// '& .MuiOutlinedInput-root': {
|
|
92
|
+
borderTopLeftRadius: 0,
|
|
93
|
+
borderBottomLeftRadius: 0,
|
|
94
|
+
minWidth: '120px',
|
|
95
|
+
borderLeft: 'none',
|
|
96
|
+
// },
|
|
97
|
+
}, disabled: props.item.disable, error: !!fieldState.error, children: props?.item?.options?.map((item) => {
|
|
98
|
+
return (jsx(MenuItem, { value: item.value, children: item.label }, item.value));
|
|
99
|
+
}) })) })] }), jsx(FormBottomField, { ...props })] })) }, props.item.name));
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
export { FormTextFieldWithSelect as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormRenderProps } from '../../../utils';
|
|
2
|
+
/**
|
|
3
|
+
* HelperText Component
|
|
4
|
+
*
|
|
5
|
+
* Displays helper text below form fields when provided.
|
|
6
|
+
* Helper text provides additional guidance to users about the field.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
* @param {FormRenderProps} props - Form rendering properties from parent form
|
|
10
|
+
*/
|
|
11
|
+
declare const HelperText: (props: FormRenderProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
/**
|
|
13
|
+
* Export the HelperText component for use in form field components
|
|
14
|
+
* This component handles the display of helper text for form fields
|
|
15
|
+
*/
|
|
16
|
+
export default HelperText;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* HelperText Component
|
|
5
|
+
*
|
|
6
|
+
* Displays helper text below form fields when provided.
|
|
7
|
+
* Helper text provides additional guidance to users about the field.
|
|
8
|
+
*
|
|
9
|
+
* @component
|
|
10
|
+
* @param {FormRenderProps} props - Form rendering properties from parent form
|
|
11
|
+
*/
|
|
12
|
+
const HelperText = (props) => {
|
|
13
|
+
/**
|
|
14
|
+
* Conditionally renders helper text if it exists in the form item props
|
|
15
|
+
* Returns an empty fragment if no helper text is provided
|
|
16
|
+
*/
|
|
17
|
+
return props?.item?.helperText ? (jsx("span", { id: `${props.item.name}-helper`, className: "helperText-v1", style: {
|
|
18
|
+
fontSize: '11px',
|
|
19
|
+
color: '#3651d3',
|
|
20
|
+
}, children: props?.item?.helperText })) : (jsx(Fragment, {}));
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { HelperText as default };
|