@trsys-tech/matrix-library 0.3.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 +21 -0
- package/README.md +67 -0
- package/dist/_commonjshelpers.es.js +7 -0
- package/dist/_commonjshelpers.es.js.map +1 -0
- package/dist/addleadingzeros.es.js +8 -0
- package/dist/addleadingzeros.es.js.map +1 -0
- package/dist/badge.es.js +29 -0
- package/dist/badge.es.js.map +1 -0
- package/dist/breadcrumb.es.js +33 -0
- package/dist/breadcrumb.es.js.map +1 -0
- package/dist/buildformatlongfn.es.js +10 -0
- package/dist/buildformatlongfn.es.js.map +1 -0
- package/dist/buildlocalizefn.es.js +19 -0
- package/dist/buildlocalizefn.es.js.map +1 -0
- package/dist/buildmatchfn.es.js +32 -0
- package/dist/buildmatchfn.es.js.map +1 -0
- package/dist/buildmatchpatternfn.es.js +16 -0
- package/dist/buildmatchpatternfn.es.js.map +1 -0
- package/dist/button.es.js +45 -0
- package/dist/button.es.js.map +1 -0
- package/dist/calendar.es.js +96 -0
- package/dist/calendar.es.js.map +1 -0
- package/dist/calendaricon.es.js +8 -0
- package/dist/calendaricon.es.js.map +1 -0
- package/dist/card.es.js +24 -0
- package/dist/card.es.js.map +1 -0
- package/dist/checkbox.es.js +28 -0
- package/dist/checkbox.es.js.map +1 -0
- package/dist/checkicon.es.js +8 -0
- package/dist/checkicon.es.js.map +1 -0
- package/dist/chevrondownicon.es.js +8 -0
- package/dist/chevrondownicon.es.js.map +1 -0
- package/dist/chevronlefticon.es.js +8 -0
- package/dist/chevronlefticon.es.js.map +1 -0
- package/dist/chevronrighticon.es.js +8 -0
- package/dist/chevronrighticon.es.js.map +1 -0
- package/dist/chevronsrighticon.es.js +8 -0
- package/dist/chevronsrighticon.es.js.map +1 -0
- package/dist/chevronupicon.es.js +8 -0
- package/dist/chevronupicon.es.js.map +1 -0
- package/dist/chip.es.js +42 -0
- package/dist/chip.es.js.map +1 -0
- package/dist/circleicon.es.js +8 -0
- package/dist/circleicon.es.js.map +1 -0
- package/dist/clonedeep.es.js +18 -0
- package/dist/clonedeep.es.js.map +1 -0
- package/dist/clonedeep.es2.js +5 -0
- package/dist/clonedeep.es2.js.map +1 -0
- package/dist/closecircleicon.es.js +8 -0
- package/dist/closecircleicon.es.js.map +1 -0
- package/dist/closeicon.es.js +8 -0
- package/dist/closeicon.es.js.map +1 -0
- package/dist/collapsible.es.js +24 -0
- package/dist/collapsible.es.js.map +1 -0
- package/dist/combobox.es.js +35 -0
- package/dist/combobox.es.js.map +1 -0
- package/dist/command.es.js +81 -0
- package/dist/command.es.js.map +1 -0
- package/dist/components/Icons/CalendarIcon.d.ts +3 -0
- package/dist/components/Icons/CalendarIcon.d.ts.map +1 -0
- package/dist/components/Icons/CheckIcon.d.ts +3 -0
- package/dist/components/Icons/CheckIcon.d.ts.map +1 -0
- package/dist/components/Icons/ChevronDownIcon.d.ts +3 -0
- package/dist/components/Icons/ChevronDownIcon.d.ts.map +1 -0
- package/dist/components/Icons/ChevronLeftIcon.d.ts +3 -0
- package/dist/components/Icons/ChevronLeftIcon.d.ts.map +1 -0
- package/dist/components/Icons/ChevronRightIcon.d.ts +3 -0
- package/dist/components/Icons/ChevronRightIcon.d.ts.map +1 -0
- package/dist/components/Icons/ChevronUpIcon.d.ts +3 -0
- package/dist/components/Icons/ChevronUpIcon.d.ts.map +1 -0
- package/dist/components/Icons/ChevronsRightIcon.d.ts +3 -0
- package/dist/components/Icons/ChevronsRightIcon.d.ts.map +1 -0
- package/dist/components/Icons/CircleIcon.d.ts +3 -0
- package/dist/components/Icons/CircleIcon.d.ts.map +1 -0
- package/dist/components/Icons/CloseCircleIcon.d.ts +3 -0
- package/dist/components/Icons/CloseCircleIcon.d.ts.map +1 -0
- package/dist/components/Icons/CloseIcon.d.ts +3 -0
- package/dist/components/Icons/CloseIcon.d.ts.map +1 -0
- package/dist/components/Icons/DangerCircleIcon.d.ts +3 -0
- package/dist/components/Icons/DangerCircleIcon.d.ts.map +1 -0
- package/dist/components/Icons/ElipsisHorizontal.d.ts +3 -0
- package/dist/components/Icons/ElipsisHorizontal.d.ts.map +1 -0
- package/dist/components/Icons/ElipsisVerticalIcon.d.ts +3 -0
- package/dist/components/Icons/ElipsisVerticalIcon.d.ts.map +1 -0
- package/dist/components/Icons/HomeIcon.d.ts +3 -0
- package/dist/components/Icons/HomeIcon.d.ts.map +1 -0
- package/dist/components/Icons/InfoCircleIcon.d.ts +3 -0
- package/dist/components/Icons/InfoCircleIcon.d.ts.map +1 -0
- package/dist/components/Icons/MinusIcon.d.ts +3 -0
- package/dist/components/Icons/MinusIcon.d.ts.map +1 -0
- package/dist/components/Icons/PlusIcon.d.ts +3 -0
- package/dist/components/Icons/PlusIcon.d.ts.map +1 -0
- package/dist/components/Icons/PrintIcon.d.ts +3 -0
- package/dist/components/Icons/PrintIcon.d.ts.map +1 -0
- package/dist/components/Icons/RefreshIcon.d.ts +3 -0
- package/dist/components/Icons/RefreshIcon.d.ts.map +1 -0
- package/dist/components/Icons/SearchIcon.d.ts +3 -0
- package/dist/components/Icons/SearchIcon.d.ts.map +1 -0
- package/dist/components/Icons/SnowflakeIcon.d.ts +3 -0
- package/dist/components/Icons/SnowflakeIcon.d.ts.map +1 -0
- package/dist/components/Icons/SpinnerIcon.d.ts +3 -0
- package/dist/components/Icons/SpinnerIcon.d.ts.map +1 -0
- package/dist/components/Icons/StartIcon.d.ts +3 -0
- package/dist/components/Icons/StartIcon.d.ts.map +1 -0
- package/dist/components/Icons/SuccessCircleIcon.d.ts +3 -0
- package/dist/components/Icons/SuccessCircleIcon.d.ts.map +1 -0
- package/dist/components/Icons/TrashcanIcon.d.ts +3 -0
- package/dist/components/Icons/TrashcanIcon.d.ts.map +1 -0
- package/dist/components/Icons/WarningCircleIcon.d.ts +3 -0
- package/dist/components/Icons/WarningCircleIcon.d.ts.map +1 -0
- package/dist/components/accordion/Accordion.d.ts +8 -0
- package/dist/components/accordion/Accordion.d.ts.map +1 -0
- package/dist/components/avatar/Avatar.d.ts +7 -0
- package/dist/components/avatar/Avatar.d.ts.map +1 -0
- package/dist/components/badge/Badge.d.ts +116 -0
- package/dist/components/badge/Badge.d.ts.map +1 -0
- package/dist/components/breadcrumb/Breadcrumb.d.ts +20 -0
- package/dist/components/breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/components/button/Button.d.ts +143 -0
- package/dist/components/button/Button.d.ts.map +1 -0
- package/dist/components/card/Card.d.ts +16 -0
- package/dist/components/card/Card.d.ts.map +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +6 -0
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/chip/Chip.d.ts +81 -0
- package/dist/components/chip/Chip.d.ts.map +1 -0
- package/dist/components/collapsible/Collapsible.d.ts +8 -0
- package/dist/components/collapsible/Collapsible.d.ts.map +1 -0
- package/dist/components/combobox/Combobox.d.ts +62 -0
- package/dist/components/combobox/Combobox.d.ts.map +1 -0
- package/dist/components/command/Command.d.ts +81 -0
- package/dist/components/command/Command.d.ts.map +1 -0
- package/dist/components/confirm/Confirm.d.ts +25 -0
- package/dist/components/confirm/Confirm.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenu.d.ts +28 -0
- package/dist/components/context-menu/ContextMenu.d.ts.map +1 -0
- package/dist/components/data-grid/DataGrid.d.ts +58 -0
- package/dist/components/data-grid/DataGrid.d.ts.map +1 -0
- package/dist/components/date-picker/DatePicker.d.ts +7 -0
- package/dist/components/date-picker/DatePicker.d.ts.map +1 -0
- package/dist/components/date-picker/DateRangePicker.d.ts +7 -0
- package/dist/components/date-picker/DateRangePicker.d.ts.map +1 -0
- package/dist/components/date-picker/DesktopDatePicker.d.ts +13 -0
- package/dist/components/date-picker/DesktopDatePicker.d.ts.map +1 -0
- package/dist/components/date-picker/DesktopDateRangePicker.d.ts +12 -0
- package/dist/components/date-picker/DesktopDateRangePicker.d.ts.map +1 -0
- package/dist/components/date-picker/DesktopTimePicker.d.ts +12 -0
- package/dist/components/date-picker/DesktopTimePicker.d.ts.map +1 -0
- package/dist/components/date-picker/MobileDatePicker.d.ts +15 -0
- package/dist/components/date-picker/MobileDatePicker.d.ts.map +1 -0
- package/dist/components/date-picker/MobileDateRangePicker.d.ts +15 -0
- package/dist/components/date-picker/MobileDateRangePicker.d.ts.map +1 -0
- package/dist/components/date-picker/MobileTimePicker.d.ts +12 -0
- package/dist/components/date-picker/MobileTimePicker.d.ts.map +1 -0
- package/dist/components/date-picker/TimePicker.d.ts +8 -0
- package/dist/components/date-picker/TimePicker.d.ts.map +1 -0
- package/dist/components/date-picker/TimePickerContent.d.ts +17 -0
- package/dist/components/date-picker/TimePickerContent.d.ts.map +1 -0
- package/dist/components/date-picker/calendar.d.ts +8 -0
- package/dist/components/date-picker/calendar.d.ts.map +1 -0
- package/dist/components/dialog/Dialog.d.ts +22 -0
- package/dist/components/dialog/Dialog.d.ts.map +1 -0
- package/dist/components/drawer/Drawer.d.ts +76 -0
- package/dist/components/drawer/Drawer.d.ts.map +1 -0
- package/dist/components/drawer/SwipableDrawer.d.ts +30 -0
- package/dist/components/drawer/SwipableDrawer.d.ts.map +1 -0
- package/dist/components/form/Form.d.ts +12 -0
- package/dist/components/form/Form.d.ts.map +1 -0
- package/dist/components/form-checkbox/FormCheckbox.d.ts +18 -0
- package/dist/components/form-checkbox/FormCheckbox.d.ts.map +1 -0
- package/dist/components/form-combobox/FormCombobox.d.ts +28 -0
- package/dist/components/form-combobox/FormCombobox.d.ts.map +1 -0
- package/dist/components/form-input/FormInput.d.ts +18 -0
- package/dist/components/form-input/FormInput.d.ts.map +1 -0
- package/dist/components/form-multi-select/FormMultiSelect.d.ts +19 -0
- package/dist/components/form-multi-select/FormMultiSelect.d.ts.map +1 -0
- package/dist/components/form-rating/FormRating.d.ts +20 -0
- package/dist/components/form-rating/FormRating.d.ts.map +1 -0
- package/dist/components/form-select/FormSelect.d.ts +27 -0
- package/dist/components/form-select/FormSelect.d.ts.map +1 -0
- package/dist/components/form-switch/FormSwitch.d.ts +18 -0
- package/dist/components/form-switch/FormSwitch.d.ts.map +1 -0
- package/dist/components/form-textarea/FormTextarea.d.ts +18 -0
- package/dist/components/form-textarea/FormTextarea.d.ts.map +1 -0
- package/dist/components/icon-botton/IconButton.d.ts +116 -0
- package/dist/components/icon-botton/IconButton.d.ts.map +1 -0
- package/dist/components/label/Label.d.ts +7 -0
- package/dist/components/label/Label.d.ts.map +1 -0
- package/dist/components/modal/Modal.d.ts +25 -0
- package/dist/components/modal/Modal.d.ts.map +1 -0
- package/dist/components/multi-select/MultiSelect.d.ts +144 -0
- package/dist/components/multi-select/MultiSelect.d.ts.map +1 -0
- package/dist/components/popover/Popover.d.ts +9 -0
- package/dist/components/popover/Popover.d.ts.map +1 -0
- package/dist/components/radio-group/RadioGroup.d.ts +7 -0
- package/dist/components/radio-group/RadioGroup.d.ts.map +1 -0
- package/dist/components/rating/Rating.d.ts +124 -0
- package/dist/components/rating/Rating.d.ts.map +1 -0
- package/dist/components/select/Select.d.ts +28 -0
- package/dist/components/select/Select.d.ts.map +1 -0
- package/dist/components/separator/Separator.d.ts +5 -0
- package/dist/components/separator/Separator.d.ts.map +1 -0
- package/dist/components/sheet/Sheet.d.ts +77 -0
- package/dist/components/sheet/Sheet.d.ts.map +1 -0
- package/dist/components/sidebar/Sidebar.d.ts +160 -0
- package/dist/components/sidebar/Sidebar.d.ts.map +1 -0
- package/dist/components/skeleton/Skeleton.d.ts +7 -0
- package/dist/components/skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/switch/Switch.d.ts +52 -0
- package/dist/components/switch/Switch.d.ts.map +1 -0
- package/dist/components/tabs/Tabs.d.ts +8 -0
- package/dist/components/tabs/Tabs.d.ts.map +1 -0
- package/dist/components/text-field/TextField.d.ts +61 -0
- package/dist/components/text-field/TextField.d.ts.map +1 -0
- package/dist/components/textarea/Textarea.d.ts +6 -0
- package/dist/components/textarea/Textarea.d.ts.map +1 -0
- package/dist/components/toast/Toast.d.ts +19 -0
- package/dist/components/toast/Toast.d.ts.map +1 -0
- package/dist/components/toast/toast-components.d.ts +129 -0
- package/dist/components/toast/toast-components.d.ts.map +1 -0
- package/dist/components/toast/use-toast.d.ts +24 -0
- package/dist/components/toast/use-toast.d.ts.map +1 -0
- package/dist/components/tooltip/Tooltip.d.ts +9 -0
- package/dist/components/tooltip/Tooltip.d.ts.map +1 -0
- package/dist/config.es.js +1066 -0
- package/dist/config.es.js.map +1 -0
- package/dist/confirm.es.js +67 -0
- package/dist/confirm.es.js.map +1 -0
- package/dist/constants.es.js +7 -0
- package/dist/constants.es.js.map +1 -0
- package/dist/constructfrom.es.js +9 -0
- package/dist/constructfrom.es.js.map +1 -0
- package/dist/dangercircleicon.es.js +17 -0
- package/dist/dangercircleicon.es.js.map +1 -0
- package/dist/datagrid.es.js +221 -0
- package/dist/datagrid.es.js.map +1 -0
- package/dist/datepicker.es.js +24 -0
- package/dist/datepicker.es.js.map +1 -0
- package/dist/daterangepicker.es.js +22 -0
- package/dist/daterangepicker.es.js.map +1 -0
- package/dist/default-theme.es.js +22 -0
- package/dist/default-theme.es.js.map +1 -0
- package/dist/default-theme.es2.js +5 -0
- package/dist/default-theme.es2.js.map +1 -0
- package/dist/defaultoptions.es.js +8 -0
- package/dist/defaultoptions.es.js.map +1 -0
- package/dist/defaulttheme.es.js +10 -0
- package/dist/defaulttheme.es.js.map +1 -0
- package/dist/desktopdatepicker.es.js +54 -0
- package/dist/desktopdatepicker.es.js.map +1 -0
- package/dist/desktopdaterangepicker.es.js +59 -0
- package/dist/desktopdaterangepicker.es.js.map +1 -0
- package/dist/desktoptimepicker.es.js +25 -0
- package/dist/desktoptimepicker.es.js.map +1 -0
- package/dist/dialog.es.js +62 -0
- package/dist/dialog.es.js.map +1 -0
- package/dist/differenceincalendardays.es.js +17 -0
- package/dist/differenceincalendardays.es.js.map +1 -0
- package/dist/drawer.es.js +66 -0
- package/dist/drawer.es.js.map +1 -0
- package/dist/elipsishorizontal.es.js +8 -0
- package/dist/elipsishorizontal.es.js.map +1 -0
- package/dist/elipsisverticalicon.es.js +8 -0
- package/dist/elipsisverticalicon.es.js.map +1 -0
- package/dist/en-us.es.js +22 -0
- package/dist/en-us.es.js.map +1 -0
- package/dist/form.es.js +66 -0
- package/dist/form.es.js.map +1 -0
- package/dist/format.es.js +59 -0
- package/dist/format.es.js.map +1 -0
- package/dist/formatdistance.es.js +71 -0
- package/dist/formatdistance.es.js.map +1 -0
- package/dist/formatlong.es.js +34 -0
- package/dist/formatlong.es.js.map +1 -0
- package/dist/formatrelative.es.js +12 -0
- package/dist/formatrelative.es.js.map +1 -0
- package/dist/formatters.es.js +518 -0
- package/dist/formatters.es.js.map +1 -0
- package/dist/formcheckbox.es.js +47 -0
- package/dist/formcheckbox.es.js.map +1 -0
- package/dist/formcombobox.es.js +116 -0
- package/dist/formcombobox.es.js.map +1 -0
- package/dist/forminput.es.js +35 -0
- package/dist/forminput.es.js.map +1 -0
- package/dist/formmultiselect.es.js +60 -0
- package/dist/formmultiselect.es.js.map +1 -0
- package/dist/formrating.es.js +53 -0
- package/dist/formrating.es.js.map +1 -0
- package/dist/formselect.es.js +88 -0
- package/dist/formselect.es.js.map +1 -0
- package/dist/formswitch.es.js +47 -0
- package/dist/formswitch.es.js.map +1 -0
- package/dist/getdayofyear.es.js +12 -0
- package/dist/getdayofyear.es.js.map +1 -0
- package/dist/getisoweek.es.js +13 -0
- package/dist/getisoweek.es.js.map +1 -0
- package/dist/getisoweekyear.es.js +16 -0
- package/dist/getisoweekyear.es.js.map +1 -0
- package/dist/gettimezoneoffsetinmilliseconds.es.js +19 -0
- package/dist/gettimezoneoffsetinmilliseconds.es.js.map +1 -0
- package/dist/getweek.es.js +13 -0
- package/dist/getweek.es.js.map +1 -0
- package/dist/getweekyear.es.js +17 -0
- package/dist/getweekyear.es.js.map +1 -0
- package/dist/iconbutton.es.js +38 -0
- package/dist/iconbutton.es.js.map +1 -0
- package/dist/index.d.ts +44 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.js +201 -0
- package/dist/index.es.js.map +1 -0
- package/dist/infocircleicon.es.js +17 -0
- package/dist/infocircleicon.es.js.map +1 -0
- package/dist/isdate.es.js +8 -0
- package/dist/isdate.es.js.map +1 -0
- package/dist/isvalid.es.js +10 -0
- package/dist/isvalid.es.js.map +1 -0
- package/dist/label.es.js +12 -0
- package/dist/label.es.js.map +1 -0
- package/dist/lib/hooks/use-mobile.d.ts +2 -0
- package/dist/lib/hooks/use-mobile.d.ts.map +1 -0
- package/dist/lib/printHtml.d.ts +2 -0
- package/dist/lib/printHtml.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lightformatters.es.js +60 -0
- package/dist/lightformatters.es.js.map +1 -0
- package/dist/localize.es.js +156 -0
- package/dist/localize.es.js.map +1 -0
- package/dist/longformatters.es.js +53 -0
- package/dist/longformatters.es.js.map +1 -0
- package/dist/match.es.js +111 -0
- package/dist/match.es.js.map +1 -0
- package/dist/minusicon.es.js +8 -0
- package/dist/minusicon.es.js.map +1 -0
- package/dist/mobiledatepicker.es.js +64 -0
- package/dist/mobiledatepicker.es.js.map +1 -0
- package/dist/mobiledaterangepicker.es.js +83 -0
- package/dist/mobiledaterangepicker.es.js.map +1 -0
- package/dist/mobiletimepicker.es.js +33 -0
- package/dist/mobiletimepicker.es.js.map +1 -0
- package/dist/modal.es.js +78 -0
- package/dist/modal.es.js.map +1 -0
- package/dist/multiselect.es.js +203 -0
- package/dist/multiselect.es.js.map +1 -0
- package/dist/normalizedates.es.js +12 -0
- package/dist/normalizedates.es.js.map +1 -0
- package/dist/popover.es.js +25 -0
- package/dist/popover.es.js.map +1 -0
- package/dist/printhtml.es.js +13 -0
- package/dist/printhtml.es.js.map +1 -0
- package/dist/printicon.es.js +8 -0
- package/dist/printicon.es.js.map +1 -0
- package/dist/protectedtokens.es.js +21 -0
- package/dist/protectedtokens.es.js.map +1 -0
- package/dist/radiogroup.es.js +25 -0
- package/dist/radiogroup.es.js.map +1 -0
- package/dist/rating.es.js +164 -0
- package/dist/rating.es.js.map +1 -0
- package/dist/refreshicon.es.js +8 -0
- package/dist/refreshicon.es.js.map +1 -0
- package/dist/searchicon.es.js +8 -0
- package/dist/searchicon.es.js.map +1 -0
- package/dist/select.es.js +109 -0
- package/dist/select.es.js.map +1 -0
- package/dist/separator.es.js +21 -0
- package/dist/separator.es.js.map +1 -0
- package/dist/sheet.es.js +69 -0
- package/dist/sheet.es.js.map +1 -0
- package/dist/sidebar.es.js +428 -0
- package/dist/sidebar.es.js.map +1 -0
- package/dist/skeleton.es.js +10 -0
- package/dist/skeleton.es.js.map +1 -0
- package/dist/snowflakeicon.es.js +8 -0
- package/dist/snowflakeicon.es.js.map +1 -0
- package/dist/spinnericon.es.js +18 -0
- package/dist/spinnericon.es.js.map +1 -0
- package/dist/starticon.es.js +23 -0
- package/dist/starticon.es.js.map +1 -0
- package/dist/startofday.es.js +10 -0
- package/dist/startofday.es.js.map +1 -0
- package/dist/startofisoweek.es.js +9 -0
- package/dist/startofisoweek.es.js.map +1 -0
- package/dist/startofisoweekyear.es.js +12 -0
- package/dist/startofisoweekyear.es.js.map +1 -0
- package/dist/startofweek.es.js +11 -0
- package/dist/startofweek.es.js.map +1 -0
- package/dist/startofweekyear.es.js +13 -0
- package/dist/startofweekyear.es.js.map +1 -0
- package/dist/startofyear.es.js +10 -0
- package/dist/startofyear.es.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/successcircleicon.es.js +17 -0
- package/dist/successcircleicon.es.js.map +1 -0
- package/dist/swipabledrawer.es.js +47 -0
- package/dist/swipabledrawer.es.js.map +1 -0
- package/dist/switch.es.js +30 -0
- package/dist/switch.es.js.map +1 -0
- package/dist/tabs.es.js +41 -0
- package/dist/tabs.es.js.map +1 -0
- package/dist/textfield.es.js +43 -0
- package/dist/textfield.es.js.map +1 -0
- package/dist/timepicker.es.js +22 -0
- package/dist/timepicker.es.js.map +1 -0
- package/dist/timepickercontent.es.js +73 -0
- package/dist/timepickercontent.es.js.map +1 -0
- package/dist/toast-components.es.js +66 -0
- package/dist/toast-components.es.js.map +1 -0
- package/dist/toast.es.js +44 -0
- package/dist/toast.es.js.map +1 -0
- package/dist/todate.es.js +9 -0
- package/dist/todate.es.js.map +1 -0
- package/dist/tooltip.es.js +30 -0
- package/dist/tooltip.es.js.map +1 -0
- package/dist/trashcanicon.es.js +6 -0
- package/dist/trashcanicon.es.js.map +1 -0
- package/dist/use-mobile.es.js +15 -0
- package/dist/use-mobile.es.js.map +1 -0
- package/dist/use-toast.es.js +25 -0
- package/dist/use-toast.es.js.map +1 -0
- package/dist/utils.es.js +9 -0
- package/dist/utils.es.js.map +1 -0
- package/dist/warningcircleicon.es.js +17 -0
- package/dist/warningcircleicon.es.js.map +1 -0
- package/package.json +132 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Modal } from '../modal/Modal';
|
|
3
|
+
import { Button } from '../button/Button';
|
|
4
|
+
type ConfirmOptions = {
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
confirmationText?: string;
|
|
8
|
+
cancelationText?: string;
|
|
9
|
+
modalProps?: React.ComponentProps<typeof Modal>;
|
|
10
|
+
hideCancelButton?: boolean;
|
|
11
|
+
buttonOrder?: ("confirm" | "cancel")[];
|
|
12
|
+
confirmButtonProps?: React.ComponentProps<typeof Button>;
|
|
13
|
+
cancelButtonProps?: React.ComponentProps<typeof Button>;
|
|
14
|
+
descriptionProps?: React.ComponentProps<"p">;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* ConfirmProvider
|
|
18
|
+
*/
|
|
19
|
+
type ConfirmProviderProps = {
|
|
20
|
+
children: React.ReactNode;
|
|
21
|
+
};
|
|
22
|
+
declare const ConfirmProvider: React.FC<ConfirmProviderProps>;
|
|
23
|
+
declare const useConfirm: () => (options: ConfirmOptions) => Promise<unknown>;
|
|
24
|
+
export { ConfirmProvider, useConfirm };
|
|
25
|
+
//# sourceMappingURL=Confirm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Confirm.d.ts","sourceRoot":"","sources":["../../../src/components/confirm/Confirm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,KAAK,EAAe,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAK1C,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC;IAChD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,CAAC,SAAS,GAAG,QAAQ,CAAC,EAAE,CAAC;IACvC,kBAAkB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;IACzD,iBAAiB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;IACxD,gBAAgB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;CAC9C,CAAC;AAUF;;GAEG;AACH,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AACF,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA+CnD,CAAC;AAUF,QAAA,MAAM,UAAU,kBAUF,cAAc,qBAa3B,CAAC;AAsDF,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
3
|
+
declare const ContextMenu: React.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
4
|
+
declare const ContextMenuTrigger: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
5
|
+
declare const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const ContextMenuPortal: React.FC<ContextMenuPrimitive.ContextMenuPortalProps>;
|
|
7
|
+
declare const ContextMenuSub: React.FC<ContextMenuPrimitive.ContextMenuSubProps>;
|
|
8
|
+
declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
10
|
+
inset?: boolean;
|
|
11
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const ContextMenuSubContent: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const ContextMenuContent: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
declare const ContextMenuItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
15
|
+
inset?: boolean;
|
|
16
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
declare const ContextMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
declare const ContextMenuRadioItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
declare const ContextMenuLabel: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
20
|
+
inset?: boolean;
|
|
21
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
declare const ContextMenuSeparator: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
declare const ContextMenuShortcut: {
|
|
24
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
27
|
+
export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuGroup, ContextMenuPortal, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuRadioGroup, };
|
|
28
|
+
//# sourceMappingURL=ContextMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../src/components/context-menu/ContextMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AAOrE,QAAA,MAAM,WAAW,iDAA4B,CAAC;AAE9C,QAAA,MAAM,kBAAkB,sHAA+B,CAAC;AAExD,QAAA,MAAM,gBAAgB,mHAA6B,CAAC;AAEpD,QAAA,MAAM,iBAAiB,uDAA8B,CAAC;AAEtD,QAAA,MAAM,cAAc,oDAA2B,CAAC;AAEhD,QAAA,MAAM,qBAAqB,wHAAkC,CAAC;AAE9D,QAAA,MAAM,qBAAqB;YAGf,OAAO;wCAejB,CAAC;AAGH,QAAA,MAAM,qBAAqB,2KAYzB,CAAC;AAGH,QAAA,MAAM,kBAAkB,wKActB,CAAC;AAGH,QAAA,MAAM,eAAe;YAGT,OAAO;wCAYjB,CAAC;AAGH,QAAA,MAAM,uBAAuB,6KAoB3B,CAAC;AAGH,QAAA,MAAM,oBAAoB,0KAmBxB,CAAC;AAGH,QAAA,MAAM,gBAAgB;YAGV,OAAO;wCAIjB,CAAC;AAGH,QAAA,MAAM,oBAAoB,0KAGyH,CAAC;AAGpJ,QAAA,MAAM,mBAAmB;8BAA6B,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;;CAE1F,CAAC;AAGF,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,GACtB,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { default as React, HTMLAttributes } from 'react';
|
|
2
|
+
import { AgGridReactProps } from 'ag-grid-react';
|
|
3
|
+
import { GridApi } from 'ag-grid-community';
|
|
4
|
+
import { ButtonProps } from '../button/Button';
|
|
5
|
+
import { IconButtonProps } from '../icon-botton/IconButton';
|
|
6
|
+
import { PopoverContentProps, PopoverProps, PopoverTriggerProps } from '../popover/Popover';
|
|
7
|
+
type DataGridContext = {
|
|
8
|
+
api: GridApi | null;
|
|
9
|
+
setApi: (value: GridApi) => void;
|
|
10
|
+
rowData: any[] | null | undefined;
|
|
11
|
+
setRowData: (value: any[] | null | undefined) => void;
|
|
12
|
+
gridId: string;
|
|
13
|
+
quickFilterText: string;
|
|
14
|
+
setQuickFilterText: (value: string) => void;
|
|
15
|
+
actionbarExists: boolean;
|
|
16
|
+
setActionbarExists: (value: boolean) => void;
|
|
17
|
+
actionbarHeight: number;
|
|
18
|
+
setActionbarHeight: (value: number) => void;
|
|
19
|
+
};
|
|
20
|
+
declare const DataGridContext: React.Context<DataGridContext | null>;
|
|
21
|
+
declare const useDataGrid: () => DataGridContext;
|
|
22
|
+
type DataGridProps = {
|
|
23
|
+
children: React.ReactNode;
|
|
24
|
+
};
|
|
25
|
+
declare const DataGrid: React.FC<DataGridProps>;
|
|
26
|
+
type DataGridContentProps = AgGridReactProps & {};
|
|
27
|
+
declare const DataGridContent: React.FC<DataGridContentProps>;
|
|
28
|
+
type DatagridActionBarProps = HTMLAttributes<HTMLDivElement> & {};
|
|
29
|
+
declare const DataGridActionBar: React.FC<DatagridActionBarProps>;
|
|
30
|
+
type SearchActionProps = {
|
|
31
|
+
defaultOpen?: boolean;
|
|
32
|
+
};
|
|
33
|
+
declare const SearchAction: React.FC<SearchActionProps>;
|
|
34
|
+
type FreezeActionProps = ButtonProps & {
|
|
35
|
+
freezeText?: string;
|
|
36
|
+
unFreezeText?: string;
|
|
37
|
+
};
|
|
38
|
+
declare const FreezeAction: React.FC<FreezeActionProps>;
|
|
39
|
+
type PrintActionProps = IconButtonProps & {};
|
|
40
|
+
declare const PrintAction: React.FC<PrintActionProps>;
|
|
41
|
+
type RefreshActionProps = Omit<IconButtonProps, "onClick"> & {
|
|
42
|
+
refreshRowData: () => void;
|
|
43
|
+
};
|
|
44
|
+
declare const RefreshAction: React.FC<RefreshActionProps>;
|
|
45
|
+
type DeleteActionProps = Omit<ButtonProps, "onClick"> & {
|
|
46
|
+
onDelete: () => void;
|
|
47
|
+
};
|
|
48
|
+
declare const DeleteAction: React.FC<DeleteActionProps>;
|
|
49
|
+
type ExtraActionsProps = PopoverContentProps & {
|
|
50
|
+
children: React.ReactNode;
|
|
51
|
+
slotProps?: {
|
|
52
|
+
triggerProps?: PopoverTriggerProps;
|
|
53
|
+
popoverProps?: PopoverProps;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
declare const ExtraActions: React.FC<ExtraActionsProps>;
|
|
57
|
+
export { DataGrid, DataGridContent, DataGridActionBar, SearchAction, FreezeAction, PrintAction, RefreshAction, ExtraActions, DeleteAction, type DataGridProps, type DataGridContentProps, type DatagridActionBarProps, type SearchActionProps, type FreezeActionProps, type RefreshActionProps, type ExtraActionsProps, type DeleteActionProps, useDataGrid, };
|
|
58
|
+
//# sourceMappingURL=DataGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../../src/components/data-grid/DataGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAe,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,OAAO,EAA+B,MAAM,mBAAmB,CAAC;AASzE,OAAO,EAAU,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAc,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAA2B,mBAAmB,EAAE,YAAY,EAAkB,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAUrI,KAAK,eAAe,GAAG;IACrB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,OAAO,EAAE,GAAG,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,UAAU,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IACtD,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C,CAAC;AAEF,QAAA,MAAM,eAAe,uCAAoD,CAAC;AAE1E,QAAA,MAAM,WAAW,uBAQhB,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA2BrC,CAAC;AAEF,KAAK,oBAAoB,GAAG,gBAAgB,GAAG,EAAE,CAAC;AAElD,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA8CnD,CAAC;AAEF,KAAK,sBAAsB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,EAAE,CAAC;AAElE,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAgCvD,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmE7C,CAAC;AAEF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAuF7C,CAAC;AAEF,KAAK,gBAAgB,GAAG,eAAe,GAAG,EAAE,CAAC;AAE7C,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA8B3C,CAAC;AAEF,KAAK,kBAAkB,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,GAAG;IAC3D,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAsB/C,CAAC;AAEF,KAAK,iBAAiB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IACtD,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAU7C,CAAC;AAEF,KAAK,iBAAiB,GAAG,mBAAmB,GAAG;IAC7C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE;QACV,YAAY,CAAC,EAAE,mBAAmB,CAAC;QACnC,YAAY,CAAC,EAAE,YAAY,CAAC;KAC7B,CAAC;CACH,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAW7C,CAAC;AAEF,OAAO,EACL,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,WAAW,GACZ,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DesktopDatePicker, DesktopDatePickerProps } from './DesktopDatePicker';
|
|
3
|
+
import { MobileDatePicker, MobileDatePickerProps } from './MobileDatePicker';
|
|
4
|
+
type DatePickerProps = DesktopDatePickerProps & MobileDatePickerProps & {};
|
|
5
|
+
declare const DatePicker: React.FC<DatePickerProps>;
|
|
6
|
+
export { DatePicker, DesktopDatePicker, MobileDatePicker, type DatePickerProps, type DesktopDatePickerProps, type MobileDatePickerProps };
|
|
7
|
+
//# sourceMappingURL=DatePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAG7E,KAAK,eAAe,GAAG,sBAAsB,GAAG,qBAAqB,GAAG,EAAE,CAAC;AAE3E,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA0BzC,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,KAAK,eAAe,EAAE,KAAK,sBAAsB,EAAE,KAAK,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { MobileDateRangePicker, MobileDateRangePickerProps } from './MobileDateRangePicker';
|
|
3
|
+
import { DesktopDateRangePicker, DesktopDateRangePickerProps } from './DesktopDateRangePicker';
|
|
4
|
+
type DateRangePickerProps = DesktopDateRangePickerProps & MobileDateRangePickerProps & {};
|
|
5
|
+
declare const DateRangePicker: React.FC<DateRangePickerProps>;
|
|
6
|
+
export { DateRangePicker, DesktopDateRangePicker, MobileDateRangePicker, type DateRangePickerProps, type DesktopDateRangePickerProps, type MobileDateRangePickerProps, };
|
|
7
|
+
//# sourceMappingURL=DateRangePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DateRangePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC5F,OAAO,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAE/F,KAAK,oBAAoB,GAAG,2BAA2B,GAAG,0BAA0B,GAAG,EAAE,CAAC;AAE1F,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwBnD,CAAC;AAEF,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,qBAAqB,EACrB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,GAChC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PropsBase, PropsSingle } from 'react-day-picker';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
type DesktopDatePickerProps = PropsBase & Omit<PropsSingle, "mode"> & {
|
|
4
|
+
formatStr?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
calendarClassName?: string;
|
|
7
|
+
selected?: Date;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
closeOnSelect?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const DesktopDatePicker: React.FC<DesktopDatePickerProps>;
|
|
12
|
+
export { DesktopDatePicker, type DesktopDatePickerProps };
|
|
13
|
+
//# sourceMappingURL=DesktopDatePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DesktopDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DesktopDatePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,kBAAkB,CAAC;AAQ3E,KAAK,sBAAsB,GAAG,SAAS,GACrC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,GAAG;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEJ,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA4CvD,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PropsBase, PropsRange, DateRange } from 'react-day-picker';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
type DesktopDateRangePickerProps = PropsBase & Omit<PropsRange, "mode"> & {
|
|
4
|
+
formatStr?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
calendarClassName?: string;
|
|
7
|
+
selected?: DateRange;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const DesktopDateRangePicker: React.FC<DesktopDateRangePickerProps>;
|
|
11
|
+
export { DesktopDateRangePicker, type DesktopDateRangePickerProps };
|
|
12
|
+
//# sourceMappingURL=DesktopDateRangePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DesktopDateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DesktopDateRangePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAQpE,KAAK,2BAA2B,GAAG,SAAS,GAC1C,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,GAAG;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAkEjE,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,KAAK,2BAA2B,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { Time } from './TimePickerContent';
|
|
3
|
+
type DesktopTimePickerProps = HTMLAttributes<HTMLButtonElement> & {
|
|
4
|
+
time: Time | undefined;
|
|
5
|
+
onTimeChange: (time: Time | undefined) => void;
|
|
6
|
+
slotsProps?: {
|
|
7
|
+
content?: HTMLAttributes<HTMLDivElement>;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
declare const DesktopTimePicker: React.FC<DesktopTimePickerProps>;
|
|
11
|
+
export { DesktopTimePicker, type DesktopTimePickerProps };
|
|
12
|
+
//# sourceMappingURL=DesktopTimePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DesktopTimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DesktopTimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAIjD,OAAO,EAAE,IAAI,EAAqB,MAAM,qBAAqB,CAAC;AAG9D,KAAK,sBAAsB,GAAG,cAAc,CAAC,iBAAiB,CAAC,GAAG;IAChE,IAAI,EAAE,IAAI,GAAG,SAAS,CAAC;IACvB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC/C,UAAU,CAAC,EAAE;QACX,OAAO,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;KAC1C,CAAC;CACH,CAAC;AAEF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAmBvD,CAAC;AACF,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropsBase, PropsSingle } from 'react-day-picker';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
type MobileDatePickerProps = PropsBase & Omit<PropsSingle, "mode"> & {
|
|
4
|
+
formatStr?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
calendarClassName?: string;
|
|
7
|
+
selected?: Date;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
cancelText?: string;
|
|
10
|
+
applyText?: string;
|
|
11
|
+
onSelect?: (date: Date | undefined) => void;
|
|
12
|
+
};
|
|
13
|
+
declare const MobileDatePicker: React.FC<MobileDatePickerProps>;
|
|
14
|
+
export { MobileDatePicker, type MobileDatePickerProps };
|
|
15
|
+
//# sourceMappingURL=MobileDatePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/MobileDatePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAQ1D,KAAK,qBAAqB,GAAG,SAAS,GACpC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,GAAG;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;CAC7C,CAAC;AAEJ,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAkErD,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropsBase, PropsRange, DateRange } from 'react-day-picker';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
type MobileDateRangePickerProps = PropsBase & Omit<PropsRange, "mode"> & {
|
|
4
|
+
formatStr?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
calendarClassName?: string;
|
|
7
|
+
selected?: DateRange;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
cancelText?: string;
|
|
10
|
+
applyText?: string;
|
|
11
|
+
onSelect?: (date: DateRange | undefined) => void;
|
|
12
|
+
};
|
|
13
|
+
declare const MobileDateRangePicker: React.FC<MobileDateRangePickerProps>;
|
|
14
|
+
export { MobileDateRangePicker, type MobileDateRangePickerProps };
|
|
15
|
+
//# sourceMappingURL=MobileDateRangePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileDateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/MobileDateRangePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAmB,MAAM,kBAAkB,CAAC;AAQrF,KAAK,0BAA0B,GAAG,SAAS,GACzC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,GAAG;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,KAAK,IAAI,CAAC;CAClD,CAAC;AAEJ,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAwG/D,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,KAAK,0BAA0B,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { Time } from './TimePickerContent';
|
|
3
|
+
type MobileTimePickerProps = HTMLAttributes<HTMLButtonElement> & {
|
|
4
|
+
time: Time | undefined;
|
|
5
|
+
onTimeChange: (time: Time | undefined) => void;
|
|
6
|
+
slotsProps?: {
|
|
7
|
+
content?: HTMLAttributes<HTMLDivElement>;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
declare const MobileTimePicker: React.FC<MobileTimePickerProps>;
|
|
11
|
+
export { MobileTimePicker, type MobileTimePickerProps };
|
|
12
|
+
//# sourceMappingURL=MobileTimePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileTimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/MobileTimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAE,IAAI,EAAqB,MAAM,qBAAqB,CAAC;AAS9D,KAAK,qBAAqB,GAAG,cAAc,CAAC,iBAAiB,CAAC,GAAG;IAC/D,IAAI,EAAE,IAAI,GAAG,SAAS,CAAC;IACvB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC/C,UAAU,CAAC,EAAE;QACX,OAAO,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;KAC1C,CAAC;CACH,CAAC;AAEF,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAwBrD,CAAC;AACF,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Time } from './TimePickerContent';
|
|
3
|
+
import { MobileTimePicker, MobileTimePickerProps } from './MobileTimePicker';
|
|
4
|
+
import { DesktopTimePicker, DesktopTimePickerProps } from './DesktopTimePicker';
|
|
5
|
+
type TimePickerProps = DesktopTimePickerProps & {};
|
|
6
|
+
declare const TimePicker: React.FC<TimePickerProps>;
|
|
7
|
+
export { TimePicker, DesktopTimePicker, type DesktopTimePickerProps, MobileTimePicker, type MobileTimePickerProps, type TimePickerProps, type Time };
|
|
8
|
+
//# sourceMappingURL=TimePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/TimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEhF,KAAK,eAAe,GAAG,sBAAsB,GAAG,EAAE,CAAC;AAEnD,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAwBzC,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,KAAK,eAAe,EAAE,KAAK,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
type Time = {
|
|
3
|
+
hour: number;
|
|
4
|
+
minute: number;
|
|
5
|
+
ampm: "AM" | "PM";
|
|
6
|
+
};
|
|
7
|
+
type TimePickerContentProps = {
|
|
8
|
+
time: Time | undefined;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
onTimeChange: (time: Time | undefined) => void;
|
|
11
|
+
slotsProps?: {
|
|
12
|
+
content?: HTMLAttributes<HTMLDivElement>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
declare const TimePickerContent: React.FC<TimePickerContentProps>;
|
|
16
|
+
export { TimePickerContent, type TimePickerContentProps, type Time };
|
|
17
|
+
//# sourceMappingURL=TimePickerContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimePickerContent.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/TimePickerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA+B,MAAM,OAAO,CAAC;AAIpE,KAAK,IAAI,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAA;CAAE,CAAC;AAEhE,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,IAAI,GAAG,SAAS,CAAC;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC/C,UAAU,CAAC,EAAE;QACX,OAAO,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;KAC1C,CAAC;CACH,CAAC;AAMF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAkHvD,CAAC;AACF,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,KAAK,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DayPickerProps } from 'react-day-picker';
|
|
2
|
+
export type CalendarProps = DayPickerProps & {};
|
|
3
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare namespace Calendar {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export { Calendar };
|
|
8
|
+
//# sourceMappingURL=calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/calendar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAStE,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,EAAE,CAAC;AAEhD,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,eAAsB,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAiG3F;kBAjGQ,QAAQ;;;AAoGjB,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DialogContentProps, DialogTriggerProps, DialogProps, DialogCloseProps, DialogTitleProps, DialogPortalProps, DialogOverlayProps, DialogDescriptionProps } from '@radix-ui/react-dialog';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
4
|
+
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
5
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
7
|
+
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const DialogHeader: {
|
|
11
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
declare const DialogFooter: {
|
|
15
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
19
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
20
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription };
|
|
21
|
+
export type { DialogContentProps, DialogTriggerProps, DialogProps, DialogCloseProps, DialogTitleProps, DialogPortalProps, DialogOverlayProps, DialogDescriptionProps, };
|
|
22
|
+
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACvB,MAAM,wBAAwB,CAAC;AAKhC,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC,QAAA,MAAM,aAAa,8GAA0B,CAAC;AAE9C,QAAA,MAAM,YAAY,6CAAyB,CAAC;AAE5C,QAAA,MAAM,WAAW,4GAAwB,CAAC;AAE1C,QAAA,MAAM,aAAa,8JAYjB,CAAC;AAGH,QAAA,MAAM,aAAa,8JAqBjB,CAAC;AAGH,QAAA,MAAM,YAAY;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAElF,CAAC;AAGF,QAAA,MAAM,YAAY;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAElF,CAAC;AAGF,QAAA,MAAM,WAAW,oKAIhB,CAAC;AAGF,QAAA,MAAM,iBAAiB,8KAG6H,CAAC;AAGrJ,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;AACtJ,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,GACvB,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Scope } from '@radix-ui/react-context';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
interface DrawerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onClose?: () => void;
|
|
6
|
+
anchor?: "left" | "right";
|
|
7
|
+
width?: number;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
mobileBreakpoint?: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Drawer component
|
|
14
|
+
* This is the wrapper component for Drawer content and main components
|
|
15
|
+
* @param {React.HTMLAttributes<HTMLDivElement>} props
|
|
16
|
+
* @param {boolean} open - Drawer open state
|
|
17
|
+
* @param {() => void} onClose - Drawer close handler
|
|
18
|
+
* @param {"left" | "right"} anchor - Drawer anchor position
|
|
19
|
+
* @param {number} width - Drawer width
|
|
20
|
+
* @param {React.ReactNode} children - Drawer children
|
|
21
|
+
* @param {boolean} asChild - Render as child component
|
|
22
|
+
* @param {number} mobileBreakpoint - Mobile breakpoint
|
|
23
|
+
* @returns {React.ReactElement}
|
|
24
|
+
*/
|
|
25
|
+
declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & {
|
|
26
|
+
__scopeDrawer?: Scope;
|
|
27
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
interface DrawerMainProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
29
|
+
asChild: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* DrawerMain component
|
|
33
|
+
* This is the main container for the tree that should be shown always
|
|
34
|
+
* @param {React.HTMLAttributes<HTMLDivElement>} props
|
|
35
|
+
* @param {boolean} asChild - Render as child component
|
|
36
|
+
* @property {React.ReactNode} children - DrawerMain children
|
|
37
|
+
* @property {string} className - DrawerMain class name
|
|
38
|
+
* @property {React.CSSProperties} style - DrawerMain style
|
|
39
|
+
* @property {ScopedProps<DrawerMainProps>} __scopeDrawer - DrawerMain scope
|
|
40
|
+
* @property {React.Ref<HTMLDivElement>} ref - DrawerMain ref
|
|
41
|
+
* @property {React.HTMLAttributes<HTMLDivElement>} props - DrawerMain props
|
|
42
|
+
* @returns {React.ReactElement}
|
|
43
|
+
*/
|
|
44
|
+
declare const DrawerMain: React.ForwardRefExoticComponent<DrawerMainProps & {
|
|
45
|
+
__scopeDrawer?: Scope;
|
|
46
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
type DrawerContentProps = {
|
|
48
|
+
children?: React.ReactNode;
|
|
49
|
+
title: React.ReactNode;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* DrawerContent component
|
|
53
|
+
* This is the content container for the tree that should be shown when the drawer is open
|
|
54
|
+
* @param {React.HTMLAttributes<HTMLDivElement>} props
|
|
55
|
+
* @param {React.ReactNode} children - DrawerContent children
|
|
56
|
+
* @param {React.ReactNode} title - DrawerContent title
|
|
57
|
+
* @property {ScopedProps<DrawerContentProps>} __scopeDrawer - DrawerContent scope
|
|
58
|
+
* @property {React.Ref<HTMLDivElement>} ref - DrawerContent ref
|
|
59
|
+
* @property {React.HTMLAttributes<HTMLDivElement>} props - DrawerContent props
|
|
60
|
+
* @returns {React.ReactElement}
|
|
61
|
+
*/
|
|
62
|
+
declare const DrawerContent: React.ForwardRefExoticComponent<DrawerContentProps & {
|
|
63
|
+
__scopeDrawer?: Scope;
|
|
64
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
65
|
+
declare const Root: React.ForwardRefExoticComponent<DrawerProps & {
|
|
66
|
+
__scopeDrawer?: Scope;
|
|
67
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
68
|
+
declare const Main: React.ForwardRefExoticComponent<DrawerMainProps & {
|
|
69
|
+
__scopeDrawer?: Scope;
|
|
70
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
71
|
+
declare const Content: React.ForwardRefExoticComponent<DrawerContentProps & {
|
|
72
|
+
__scopeDrawer?: Scope;
|
|
73
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
74
|
+
export { Drawer, DrawerMain, DrawerContent, Root, Main, Content };
|
|
75
|
+
export type { DrawerContentProps, DrawerMainProps, DrawerProps };
|
|
76
|
+
//# sourceMappingURL=Drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/Drawer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAsB,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAapE,UAAU,WAAY,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChE,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAYD;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,MAAM;oBAvCgC,KAAK;wCA2E/C,CAAC;AAIH,UAAU,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACpE,OAAO,EAAE,OAAO,CAAC;CAClB;AAID;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,UAAU;oBAlG4B,KAAK;wCAwHhD,CAAC;AAIF,KAAK,kBAAkB,GAAG;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AAIF;;;;;;;;;;GAUG;AACH,QAAA,MAAM,aAAa;oBA9IyB,KAAK;wCAiL/C,CAAC;AAIH,QAAA,MAAM,IAAI;oBArLkC,KAAK;wCAqL9B,CAAC;AACpB,QAAA,MAAM,IAAI;oBAtLkC,KAAK;wCAsL1B,CAAC;AACxB,QAAA,MAAM,OAAO;oBAvL+B,KAAK;wCAuLpB,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAClE,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
2
|
+
import { DialogTriggerProps, DialogCloseProps, DialogContentProps, DialogTitleProps, DialogDescriptionProps } from '@radix-ui/react-dialog';
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
declare const SwipableDrawer: {
|
|
5
|
+
({ shouldScaleBackground, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
type SwipableDrawerProps = React.ComponentProps<typeof SwipableDrawer>;
|
|
9
|
+
declare const SwipableDrawerTrigger: React.ForwardRefExoticComponent< DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
+
type SwipableDrawerTriggerProps = React.ComponentProps<typeof SwipableDrawerTrigger>;
|
|
11
|
+
declare const SwipableDrawerClose: React.ForwardRefExoticComponent< DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
type SwipableDrawerCloseProps = React.ComponentProps<typeof SwipableDrawerClose>;
|
|
13
|
+
declare const SwipableDrawerContent: React.ForwardRefExoticComponent<Omit<Omit< DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
type SwipableDrawerContentProps = React.ComponentProps<typeof SwipableDrawerContent>;
|
|
15
|
+
declare const SwipableDrawerHeader: {
|
|
16
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
type SwipableDrawerHeaderProps = React.ComponentProps<typeof SwipableDrawerHeader>;
|
|
20
|
+
declare const SwipableDrawerFooter: {
|
|
21
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
type SwipableDrawerFooterProps = React.ComponentProps<typeof SwipableDrawerFooter>;
|
|
25
|
+
declare const SwipableDrawerTitle: React.ForwardRefExoticComponent<Omit< DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
26
|
+
type SwipableDrawerTitleProps = React.ComponentProps<typeof SwipableDrawerTitle>;
|
|
27
|
+
declare const SwipableDrawerDescription: React.ForwardRefExoticComponent<Omit< DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
28
|
+
type SwipableDrawerDescriptionProps = React.ComponentProps<typeof SwipableDrawerDescription>;
|
|
29
|
+
export { SwipableDrawer, SwipableDrawerTrigger, SwipableDrawerClose, SwipableDrawerContent, SwipableDrawerHeader, SwipableDrawerFooter, SwipableDrawerTitle, SwipableDrawerDescription, type SwipableDrawerProps, type SwipableDrawerTriggerProps, type SwipableDrawerCloseProps, type SwipableDrawerContentProps, type SwipableDrawerHeaderProps, type SwipableDrawerFooterProps, type SwipableDrawerTitleProps, type SwipableDrawerDescriptionProps, };
|
|
30
|
+
//# sourceMappingURL=SwipableDrawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipableDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/SwipableDrawer.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAIjD,QAAA,MAAM,cAAc;0CAAgD,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC;;CAEpH,CAAC;AAEF,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,CAAC;AAEvE,QAAA,MAAM,qBAAqB,+HAA0B,CAAC;AAEtD,KAAK,0BAA0B,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAIrF,QAAA,MAAM,mBAAmB,6HAAwB,CAAC;AAElD,KAAK,wBAAwB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAQjF,QAAA,MAAM,qBAAqB,kOAezB,CAAC;AAEH,KAAK,0BAA0B,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAErF,QAAA,MAAM,oBAAoB;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAE1F,CAAC;AAEF,KAAK,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEnF,QAAA,MAAM,oBAAoB;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAE1F,CAAC;AAEF,KAAK,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEnF,QAAA,MAAM,mBAAmB,qLAKvB,CAAC;AAEH,KAAK,wBAAwB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEjF,QAAA,MAAM,yBAAyB,+LAGqH,CAAC;AAErJ,KAAK,8BAA8B,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE7F,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,GACpC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ControllerProps, FieldPath, FieldValues, FormProviderProps } from 'react-hook-form';
|
|
2
|
+
import { SlotProps } from '@radix-ui/react-slot';
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = undefined>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
5
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const FormLabel: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
8
|
+
declare const FormControl: React.ForwardRefExoticComponent<Omit< SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
9
|
+
declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
10
|
+
declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
11
|
+
export { Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField };
|
|
12
|
+
//# sourceMappingURL=Form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/components/form/Form.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAc,eAAe,EAAE,SAAS,EAAE,WAAW,EAAgC,MAAM,iBAAiB,CAAC;AAKpH,QAAA,MAAM,IAAI,8NAiEE,GAAG,CAAC,OAAO,AAjEE,CAAC;AAQ1B,QAAA,MAAM,SAAS,GAAI,YAAY,SAAS,WAAW,gBAAgB,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,0CAErG,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,4CAMtC,CAAC;AA+BF,QAAA,MAAM,QAAQ,6GAQZ,CAAC;AAGH,QAAA,MAAM,SAAS,8KAIb,CAAC;AAGH,QAAA,MAAM,WAAW,8JAaf,CAAC;AAGH,QAAA,MAAM,eAAe,yHAInB,CAAC;AAGH,QAAA,MAAM,WAAW,yHAaf,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FormItem } from '../form/Form';
|
|
2
|
+
import { SlotProps } from '@radix-ui/react-slot';
|
|
3
|
+
import { Control, ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
|
|
4
|
+
import { CheckboxProps } from '../checkbox/Checkbox';
|
|
5
|
+
type FormCheckboxProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = Omit<ControllerProps<TFieldValues, TName>, "render"> & React.ComponentProps<typeof FormItem> & {
|
|
6
|
+
label: string;
|
|
7
|
+
control: Control<TFieldValues>;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
slotProps?: {
|
|
10
|
+
formLabelProps?: React.HTMLAttributes<HTMLLabelElement> & React.RefAttributes<HTMLLabelElement>;
|
|
11
|
+
formMessageProps?: React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>;
|
|
12
|
+
formControlProps?: Omit<SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>;
|
|
13
|
+
checkboxProps?: CheckboxProps;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
declare const FormCheckbox: <TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>(props: FormCheckboxProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export { FormCheckbox, type FormCheckboxProps };
|
|
18
|
+
//# sourceMappingURL=FormCheckbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormCheckbox.d.ts","sourceRoot":"","sources":["../../../src/components/form-checkbox/FormCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,QAAQ,EAA0B,MAAM,cAAc,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAiB,MAAM,iBAAiB,CAAC;AAClG,OAAO,EAAY,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAI/D,KAAK,iBAAiB,CAAC,YAAY,SAAS,WAAW,EAAE,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,IAAI,IAAI,CACpG,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,EACpC,QAAQ,CACT,GACC,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE;QACV,cAAc,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAChG,gBAAgB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;QAC1G,gBAAgB,CAAC,EAAE,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;QAChH,aAAa,CAAC,EAAE,aAAa,CAAC;KAC/B,CAAC;CACH,CAAC;AAEJ,QAAA,MAAM,YAAY,GAAI,YAAY,SAAS,WAAW,EAAE,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,SAAS,iBAAiB,CAAC,YAAY,EAAE,KAAK,CAAC,4CA0C3I,CAAC;AACF,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
|
|
2
|
+
import { ButtonProps } from '../button/Button';
|
|
3
|
+
import { FormItem } from '../form/Form';
|
|
4
|
+
import { Combobox, ComboboxContent, ComboboxItem, ComboboxTrigger } from '../combobox/Combobox';
|
|
5
|
+
type FormComboboxProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = Omit<ControllerProps<TFieldValues, TName>, "render"> & React.ComponentProps<typeof FormItem> & {
|
|
6
|
+
label: string;
|
|
7
|
+
options: {
|
|
8
|
+
value: string | number;
|
|
9
|
+
label: string | number;
|
|
10
|
+
}[];
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
loadingText?: string;
|
|
13
|
+
emptyOptionsText?: string;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
required?: boolean;
|
|
16
|
+
slotProps?: {
|
|
17
|
+
formLabelProps?: React.HTMLAttributes<HTMLLabelElement> & React.RefAttributes<HTMLLabelElement>;
|
|
18
|
+
formMessageProps?: React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>;
|
|
19
|
+
comboboxProps?: React.ComponentProps<typeof Combobox>;
|
|
20
|
+
comboboxTriggerProps?: React.ComponentProps<typeof ComboboxTrigger>;
|
|
21
|
+
comboboxValueProps?: ButtonProps;
|
|
22
|
+
comboboxContentProps?: React.ComponentProps<typeof ComboboxContent>;
|
|
23
|
+
comboboxItemProps?: React.ComponentProps<typeof ComboboxItem>;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
declare const FormCombobox: <TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>(props: FormComboboxProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export { FormCombobox, type FormComboboxProps };
|
|
28
|
+
//# sourceMappingURL=FormCombobox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormCombobox.d.ts","sourceRoot":"","sources":["../../../src/components/form-combobox/FormCombobox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAiB,MAAM,iBAAiB,CAAC;AAKzF,OAAO,EAAU,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAA0B,QAAQ,EAA0B,MAAM,cAAc,CAAC;AACxF,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAgC,YAAY,EAAgB,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAG5I,KAAK,iBAAiB,CAAC,YAAY,SAAS,WAAW,EAAE,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,IAAI,IAAI,CAC9H,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,EACpC,QAAQ,CACT,GACC,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,EAAE,CAAC;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE;QACV,cAAc,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAChG,gBAAgB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;QAC1G,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;QACtD,oBAAoB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC;QACpE,kBAAkB,CAAC,EAAE,WAAW,CAAC;QACjC,oBAAoB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC;QACpE,iBAAiB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;KAC/D,CAAC;CACH,CAAC;AAEJ,QAAA,MAAM,YAAY,GAAI,YAAY,SAAS,WAAW,EAAE,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,mCACpF,iBAAiB,CAAC,YAAY,EAAE,KAAK,CAAC,4CAmH9C,CAAC;AACF,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FormItem } from '../form/Form';
|
|
2
|
+
import { SlotProps } from '@radix-ui/react-slot';
|
|
3
|
+
import { Control, ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
|
|
4
|
+
import { TextFieldProps } from '../text-field/TextField';
|
|
5
|
+
type FormInputProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = Omit<ControllerProps<TFieldValues, TName>, "render"> & React.ComponentProps<typeof FormItem> & {
|
|
6
|
+
label: string;
|
|
7
|
+
control: Control<TFieldValues>;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
slotProps?: {
|
|
10
|
+
formLabelProps?: React.HTMLAttributes<HTMLLabelElement> & React.RefAttributes<HTMLLabelElement>;
|
|
11
|
+
formMessageProps?: React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>;
|
|
12
|
+
formControlProps?: Omit<SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>;
|
|
13
|
+
textFieldProps?: TextFieldProps & React.RefAttributes<HTMLInputElement>;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
declare const FormInput: <TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>(props: FormInputProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export { FormInput, type FormInputProps };
|
|
18
|
+
//# sourceMappingURL=FormInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormInput.d.ts","sourceRoot":"","sources":["../../../src/components/form-input/FormInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,QAAQ,EAA0B,MAAM,cAAc,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAa,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEpE,KAAK,cAAc,CAAC,YAAY,SAAS,WAAW,EAAE,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,EAAE,QAAQ,CAAC,GACjJ,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE;QACV,cAAc,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAChG,gBAAgB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;QAC1G,gBAAgB,CAAC,EAAE,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;QAChH,cAAc,CAAC,EAAE,cAAc,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;KACzE,CAAC;CACH,CAAC;AAEJ,QAAA,MAAM,SAAS,GAAI,YAAY,SAAS,WAAW,EAAE,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,SAAS,cAAc,CAAC,YAAY,EAAE,KAAK,CAAC,4CA8BrI,CAAC;AACF,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
|
|
2
|
+
import { FormItem } from '../form/Form';
|
|
3
|
+
import { MultiSelectProps } from '../multi-select/MultiSelect';
|
|
4
|
+
type FormMultiSelectProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = Omit<ControllerProps<TFieldValues, TName>, "render"> & React.ComponentProps<typeof FormItem> & {
|
|
5
|
+
label: string;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
loadingText?: string;
|
|
8
|
+
options: MultiSelectProps["options"];
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
slotProps?: {
|
|
12
|
+
multiSelectProps?: Partial<MultiSelectProps>;
|
|
13
|
+
formLabelProps?: React.HTMLAttributes<HTMLLabelElement> & React.RefAttributes<HTMLLabelElement>;
|
|
14
|
+
formMessageProps?: React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
declare const FormMultiSelect: <TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>(props: FormMultiSelectProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export { FormMultiSelect, type FormMultiSelectProps };
|
|
19
|
+
//# sourceMappingURL=FormMultiSelect.d.ts.map
|