pixelize-design-library 2.2.198 → 2.3.1-beta.1
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/.claude/settings.local.json +24 -0
- package/coverage/clover.xml +638 -0
- package/coverage/coverage-final.json +20 -0
- package/coverage/lcov-report/Table/CompactSelect.tsx.html +379 -0
- package/coverage/lcov-report/Table/Components/ActiveFilters.tsx.html +514 -0
- package/coverage/lcov-report/Table/Components/HeaderActions.tsx.html +373 -0
- package/coverage/lcov-report/Table/Components/Pagination.tsx.html +574 -0
- package/coverage/lcov-report/Table/Components/TableActions.tsx.html +574 -0
- package/coverage/lcov-report/Table/Components/TableBody.tsx.html +1027 -0
- package/coverage/lcov-report/Table/Components/TableFilters.tsx.html +397 -0
- package/coverage/lcov-report/Table/Components/TableHeader.tsx.html +1060 -0
- package/coverage/lcov-report/Table/Components/TableLoading.tsx.html +361 -0
- package/coverage/lcov-report/Table/Components/TableSearch.tsx.html +337 -0
- package/coverage/lcov-report/Table/Components/index.html +266 -0
- package/coverage/lcov-report/Table/Components/useDebounce.ts.html +178 -0
- package/coverage/lcov-report/Table/Components/useTable.ts.html +778 -0
- package/coverage/lcov-report/Table/LeftFilterPane.tsx.html +1810 -0
- package/coverage/lcov-report/Table/SelectOperationControls.tsx.html +178 -0
- package/coverage/lcov-report/Table/Table.tsx.html +1567 -0
- package/coverage/lcov-report/Table/TableProps.tsx.html +658 -0
- package/coverage/lcov-report/Table/TableSettings/ManageColumns.tsx.html +619 -0
- package/coverage/lcov-report/Table/TableSettings/TableFilters.tsx.html +229 -0
- package/coverage/lcov-report/Table/TableSettings/TableSettings.tsx.html +532 -0
- package/coverage/lcov-report/Table/TableSettings/index.html +146 -0
- package/coverage/lcov-report/Table/TableToDo.tsx.html +973 -0
- package/coverage/lcov-report/Table/TextOperationControls.tsx.html +271 -0
- package/coverage/lcov-report/Table/filterTypes.ts.html +97 -0
- package/coverage/lcov-report/Table/index.html +176 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +146 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +210 -0
- package/coverage/lcov.info +1836 -0
- package/dist/App.d.ts +4 -0
- package/dist/App.js +131 -0
- package/dist/Assets/defaultLogo.tsx +31 -0
- package/dist/Components/Button/Button.styles.js +44 -3
- package/dist/Components/Button/ButtonProps.d.ts +1 -1
- package/dist/Components/ButtonGroupIcon/ButtonGoupIconProps.d.ts +2 -2
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.js +50 -38
- package/dist/Components/Checkbox/Checkbox.js +2 -2
- package/dist/Components/Checkbox/Checkbox.styles.js +2 -0
- package/dist/Components/Common/FormLabel.d.ts +2 -1
- package/dist/Components/Common/FormLabel.js +8 -9
- package/dist/Components/Common/fieldStyles.d.ts +22 -0
- package/dist/Components/Common/fieldStyles.js +42 -0
- package/dist/Components/DatePicker/CalendarPanel.d.ts +2 -0
- package/dist/Components/DatePicker/CalendarPanel.js +104 -65
- package/dist/Components/DatePicker/RangeDatePicker.js +37 -16
- package/dist/Components/DatePicker/SingleDatePicker.js +16 -16
- package/dist/Components/DatePicker/TimePicker.js +4 -4
- package/dist/Components/Input/Input/Input.d.ts +1 -1
- package/dist/Components/Input/Input/Input.js +5 -4
- package/dist/Components/Input/Input/InputProps.d.ts +2 -0
- package/dist/Components/Input/TextInput.styles.js +2 -1
- package/dist/Components/InputTextArea/InputTextArea.style.js +2 -1
- package/dist/Components/MultiSelect/MultiSelect.js +11 -12
- package/dist/Components/NavigationBar/NavigationBar.d.ts +1 -1
- package/dist/Components/NavigationBar/NavigationBar.js +54 -27
- package/dist/Components/NavigationBar/NavigationBarProps.d.ts +1 -0
- package/dist/Components/NoteTextArea/NoteTextArea.js +44 -40
- package/dist/Components/NumberInput/NumberInput.styles.js +2 -1
- package/dist/Components/PinInput/PinInput.d.ts +1 -1
- package/dist/Components/PinInput/PinInput.js +3 -2
- package/dist/Components/PinInput/PinInputProps.d.ts +4 -0
- package/dist/Components/RadioButton/RadioButton.js +1 -1
- package/dist/Components/SearchSelect/SearchSelect.d.ts +1 -1
- package/dist/Components/SearchSelect/SearchSelect.js +3 -3
- package/dist/Components/SearchSelect/SearchSelectProps.d.ts +2 -0
- package/dist/Components/Select/Select.styles.js +2 -1
- package/dist/Components/SelectSearch/SelectSearch.js +7 -4
- package/dist/Components/SideBar/SecondaryBar.js +20 -18
- package/dist/Components/SideBar/SideBar.d.ts +1 -1
- package/dist/Components/SideBar/SideBar.js +58 -43
- package/dist/Components/SideBar/SideBarProps.d.ts +14 -3
- package/dist/Components/SideBar/components/MenuItemBox.js +28 -24
- package/dist/Components/SideBar/components/MenuItems.js +16 -2
- package/dist/Components/SideBar/components/MenuPopoverContent.js +16 -16
- package/dist/Components/SideBar/components/OtherApps.js +16 -14
- package/dist/Components/Table/Components/TableBody.d.ts +5 -1
- package/dist/Components/Table/Components/TableBody.js +133 -31
- package/dist/Components/Table/Components/TableGroupRow.d.ts +15 -0
- package/dist/Components/Table/Components/TableGroupRow.js +27 -0
- package/dist/Components/Table/Components/TableHeader.js +23 -9
- package/dist/Components/Table/Table.d.ts +1 -1
- package/dist/Components/Table/Table.js +119 -38
- package/dist/Components/Table/TableProps.d.ts +34 -2
- package/dist/Components/Table/filters/ActiveFilters.d.ts +9 -0
- package/dist/Components/Table/filters/ActiveFilters.js +132 -0
- package/dist/Components/Table/filters/CompactSelect.d.ts +15 -0
- package/dist/Components/Table/filters/CompactSelect.js +69 -0
- package/dist/Components/Table/filters/LeftFilterPane.d.ts +36 -0
- package/dist/Components/Table/filters/LeftFilterPane.js +273 -0
- package/dist/Components/Table/filters/SelectOperationControls.d.ts +8 -0
- package/dist/Components/Table/filters/SelectOperationControls.js +15 -0
- package/dist/Components/Table/filters/TableFilters.d.ts +7 -0
- package/dist/Components/Table/filters/TableFilters.js +89 -0
- package/dist/Components/Table/filters/TextOperationControls.d.ts +12 -0
- package/dist/Components/Table/filters/TextOperationControls.js +29 -0
- package/dist/Components/Table/hooks/useDebounce.d.ts +2 -0
- package/dist/Components/Table/hooks/useDebounce.js +28 -0
- package/dist/Components/Table/hooks/useTable.d.ts +47 -0
- package/dist/Components/Table/hooks/useTable.js +219 -0
- package/dist/Components/Table/settings/ManageColumns.d.ts +12 -0
- package/dist/Components/Table/settings/ManageColumns.js +166 -0
- package/dist/Components/Table/settings/ManageColumns.test.d.ts +1 -0
- package/dist/Components/Table/settings/ManageColumns.test.js +146 -0
- package/dist/Components/Table/settings/TableSettings.d.ts +10 -0
- package/dist/Components/Table/settings/TableSettings.js +141 -0
- package/dist/Layout.d.ts +3 -0
- package/dist/Layout.js +292 -0
- package/dist/Pages/TInput.d.ts +3 -0
- package/dist/Pages/TInput.js +56 -0
- package/dist/Pages/accordion.d.ts +3 -0
- package/dist/Pages/accordion.js +42 -0
- package/dist/Pages/alertdialog.d.ts +3 -0
- package/dist/Pages/alertdialog.js +54 -0
- package/dist/Pages/button.d.ts +3 -0
- package/dist/Pages/button.js +46 -0
- package/dist/Pages/card.d.ts +3 -0
- package/dist/Pages/card.js +117 -0
- package/dist/Pages/chart.d.ts +4 -0
- package/dist/Pages/chart.js +40 -0
- package/dist/Pages/checkbox.d.ts +3 -0
- package/dist/Pages/checkbox.js +12 -0
- package/dist/Pages/contactForm.d.ts +3 -0
- package/dist/Pages/contactForm.js +16 -0
- package/dist/Pages/datePick.d.ts +3 -0
- package/dist/Pages/datePick.js +88 -0
- package/dist/Pages/drawer.d.ts +3 -0
- package/dist/Pages/drawer.js +58 -0
- package/dist/Pages/dropdown.d.ts +3 -0
- package/dist/Pages/dropdown.js +24 -0
- package/dist/Pages/editor.d.ts +3 -0
- package/dist/Pages/editor.js +14 -0
- package/dist/Pages/feedback.d.ts +2 -0
- package/dist/Pages/feedback.js +15 -0
- package/dist/Pages/fileUpload.d.ts +2 -0
- package/dist/Pages/fileUpload.js +82 -0
- package/dist/Pages/input.d.ts +3 -0
- package/dist/Pages/input.js +92 -0
- package/dist/Pages/kanbanboard.d.ts +3 -0
- package/dist/Pages/kanbanboard.js +224 -0
- package/dist/Pages/modal.d.ts +3 -0
- package/dist/Pages/modal.js +65 -0
- package/dist/Pages/multiSelect.d.ts +3 -0
- package/dist/Pages/multiSelect.js +55 -0
- package/dist/Pages/noteArea.d.ts +3 -0
- package/dist/Pages/noteArea.js +59 -0
- package/dist/Pages/notification.d.ts +3 -0
- package/dist/Pages/notification.js +25 -0
- package/dist/Pages/numberInput.d.ts +3 -0
- package/dist/Pages/numberInput.js +49 -0
- package/dist/Pages/photoViewer.d.ts +3 -0
- package/dist/Pages/photoViewer.js +12 -0
- package/dist/Pages/pinInputs.d.ts +3 -0
- package/dist/Pages/pinInputs.js +12 -0
- package/dist/Pages/productCaard.d.ts +3 -0
- package/dist/Pages/productCaard.js +311 -0
- package/dist/Pages/productDetailCard.d.ts +3 -0
- package/dist/Pages/productDetailCard.js +78 -0
- package/dist/Pages/productFilter.d.ts +3 -0
- package/dist/Pages/productFilter.js +202 -0
- package/dist/Pages/progressbar.d.ts +3 -0
- package/dist/Pages/progressbar.js +12 -0
- package/dist/Pages/radioButton.d.ts +3 -0
- package/dist/Pages/radioButton.js +54 -0
- package/dist/Pages/search.d.ts +3 -0
- package/dist/Pages/search.js +54 -0
- package/dist/Pages/searchSelect.d.ts +3 -0
- package/dist/Pages/searchSelect.js +133 -0
- package/dist/Pages/select.d.ts +3 -0
- package/dist/Pages/select.js +53 -0
- package/dist/Pages/selectSearch.d.ts +3 -0
- package/dist/Pages/selectSearch.js +103 -0
- package/dist/Pages/skeleton.d.ts +3 -0
- package/dist/Pages/skeleton.js +22 -0
- package/dist/Pages/switch.d.ts +3 -0
- package/dist/Pages/switch.js +50 -0
- package/dist/Pages/table.d.ts +3 -0
- package/dist/Pages/table.js +174 -0
- package/dist/Pages/textArea.d.ts +3 -0
- package/dist/Pages/textArea.js +15 -0
- package/dist/Pages/timeline.d.ts +3 -0
- package/dist/Pages/timeline.js +74 -0
- package/dist/Pages/tooltip.d.ts +3 -0
- package/dist/Pages/tooltip.js +12 -0
- package/dist/Pages/toster.d.ts +3 -0
- package/dist/Pages/toster.js +68 -0
- package/dist/Pages/verifyEmail.d.ts +3 -0
- package/dist/Pages/verifyEmail.js +18 -0
- package/dist/Theme/Dark/palette.d.ts +370 -0
- package/dist/Theme/Dark/palette.js +372 -0
- package/dist/Theme/Default/palette.d.ts +4 -0
- package/dist/Theme/Default/palette.js +3 -0
- package/dist/Theme/Emerald/palette.d.ts +4 -0
- package/dist/Theme/Emerald/palette.js +2 -1
- package/dist/Theme/Meadow/palette.d.ts +4 -0
- package/dist/Theme/Meadow/palette.js +2 -1
- package/dist/Theme/Radiant/palette.d.ts +4 -0
- package/dist/Theme/Radiant/palette.js +2 -1
- package/dist/Theme/Rosewood/palette.d.ts +4 -0
- package/dist/Theme/Rosewood/palette.js +2 -1
- package/dist/Theme/Skyline/palette.d.ts +4 -0
- package/dist/Theme/Skyline/palette.js +2 -1
- package/dist/Theme/Slate/palette.d.ts +4 -0
- package/dist/Theme/Slate/palette.js +2 -1
- package/dist/Theme/themeProps.d.ts +4 -0
- package/dist/Utils/table.d.ts +21 -0
- package/dist/Utils/table.js +98 -14
- package/dist/bootstrap.d.ts +1 -0
- package/dist/bootstrap.js +14 -0
- package/dist/components-v2/AlertDialog/AlertDialog.d.ts +23 -0
- package/dist/components-v2/AlertDialog/AlertDialog.js +98 -0
- package/dist/components-v2/Breadcrumbs/Breadcrumbs.d.ts +14 -0
- package/dist/components-v2/Breadcrumbs/Breadcrumbs.js +66 -0
- package/dist/components-v2/Charts/AreaChart.d.ts +23 -0
- package/dist/components-v2/Charts/AreaChart.js +63 -0
- package/dist/components-v2/Charts/BarChart.d.ts +25 -0
- package/dist/components-v2/Charts/BarChart.js +57 -0
- package/dist/components-v2/Charts/LineChart.d.ts +23 -0
- package/dist/components-v2/Charts/LineChart.js +55 -0
- package/dist/components-v2/Charts/PieChart.d.ts +15 -0
- package/dist/components-v2/Charts/PieChart.js +54 -0
- package/dist/components-v2/Charts/PolarChart.d.ts +14 -0
- package/dist/components-v2/Charts/PolarChart.js +54 -0
- package/dist/components-v2/Charts/chartOptions.d.ts +7 -0
- package/dist/components-v2/Charts/chartOptions.js +41 -0
- package/dist/components-v2/Charts/useChartTheme.d.ts +22 -0
- package/dist/components-v2/Charts/useChartTheme.js +106 -0
- package/dist/components-v2/ContactForm/ContactForm.d.ts +25 -0
- package/dist/components-v2/ContactForm/ContactForm.js +116 -0
- package/dist/components-v2/DatePicker/Calendar.d.ts +19 -0
- package/dist/components-v2/DatePicker/Calendar.js +212 -0
- package/dist/components-v2/DatePicker/DatePicker.d.ts +46 -0
- package/dist/components-v2/DatePicker/DatePicker.js +189 -0
- package/dist/components-v2/DatePicker/TimePicker.d.ts +12 -0
- package/dist/components-v2/DatePicker/TimePicker.js +105 -0
- package/dist/components-v2/DatePicker/utils.d.ts +31 -0
- package/dist/components-v2/DatePicker/utils.js +109 -0
- package/dist/components-v2/Drawer/Drawer.d.ts +27 -0
- package/dist/components-v2/Drawer/Drawer.js +132 -0
- package/dist/components-v2/FeedbackForm/FeedbackForm.d.ts +26 -0
- package/dist/components-v2/FeedbackForm/FeedbackForm.js +112 -0
- package/dist/components-v2/FileUploader/FileUploader.d.ts +28 -0
- package/dist/components-v2/FileUploader/FileUploader.js +127 -0
- package/dist/components-v2/Input/TextInput.d.ts +41 -0
- package/dist/components-v2/Input/TextInput.js +169 -0
- package/dist/components-v2/KanbanBoard/KanbanBoard.d.ts +39 -0
- package/dist/components-v2/KanbanBoard/KanbanBoard.js +101 -0
- package/dist/components-v2/Layout/AppLayout.d.ts +22 -0
- package/dist/components-v2/Layout/AppLayout.js +53 -0
- package/dist/components-v2/Loading/Loading.d.ts +19 -0
- package/dist/components-v2/Loading/Loading.js +55 -0
- package/dist/components-v2/Modal/Modal.d.ts +30 -0
- package/dist/components-v2/Modal/Modal.js +82 -0
- package/dist/components-v2/NavigationBar/NavigationBar.d.ts +47 -0
- package/dist/components-v2/NavigationBar/NavigationBar.js +148 -0
- package/dist/components-v2/Notification/Notification.d.ts +22 -0
- package/dist/components-v2/Notification/Notification.js +113 -0
- package/dist/components-v2/NumberInput/NumberInput.d.ts +37 -0
- package/dist/components-v2/NumberInput/NumberInput.js +210 -0
- package/dist/components-v2/PinInput/PinInput.d.ts +26 -0
- package/dist/components-v2/PinInput/PinInput.js +138 -0
- package/dist/components-v2/ProfilePhotoViewer/ProfilePhotoViewer.d.ts +18 -0
- package/dist/components-v2/ProfilePhotoViewer/ProfilePhotoViewer.js +91 -0
- package/dist/components-v2/Select/Select.d.ts +41 -0
- package/dist/components-v2/Select/Select.js +284 -0
- package/dist/components-v2/Sidebar/Sidebar.d.ts +41 -0
- package/dist/components-v2/Sidebar/Sidebar.js +182 -0
- package/dist/components-v2/Slider/Slider.d.ts +18 -0
- package/dist/components-v2/Slider/Slider.js +101 -0
- package/dist/components-v2/Table/Table.d.ts +7 -0
- package/dist/components-v2/Table/Table.js +172 -0
- package/dist/components-v2/Table/TableProps.d.ts +139 -0
- package/dist/components-v2/Table/TableProps.js +9 -0
- package/dist/components-v2/Table/components/ActiveFilters.d.ts +10 -0
- package/dist/components-v2/Table/components/ActiveFilters.js +70 -0
- package/dist/components-v2/Table/components/BulkActionBar.d.ts +11 -0
- package/dist/components-v2/Table/components/BulkActionBar.js +92 -0
- package/dist/components-v2/Table/components/ColumnResizeHandle.d.ts +7 -0
- package/dist/components-v2/Table/components/ColumnResizeHandle.js +41 -0
- package/dist/components-v2/Table/components/Pagination.d.ts +11 -0
- package/dist/components-v2/Table/components/Pagination.js +92 -0
- package/dist/components-v2/Table/components/TableBody.d.ts +23 -0
- package/dist/components-v2/Table/components/TableBody.js +69 -0
- package/dist/components-v2/Table/components/TableCell.d.ts +14 -0
- package/dist/components-v2/Table/components/TableCell.js +63 -0
- package/dist/components-v2/Table/components/TableEmptyState.d.ts +12 -0
- package/dist/components-v2/Table/components/TableEmptyState.js +55 -0
- package/dist/components-v2/Table/components/TableErrorState.d.ts +6 -0
- package/dist/components-v2/Table/components/TableErrorState.js +52 -0
- package/dist/components-v2/Table/components/TableHeader.d.ts +21 -0
- package/dist/components-v2/Table/components/TableHeader.js +94 -0
- package/dist/components-v2/Table/components/TableRow.d.ts +20 -0
- package/dist/components-v2/Table/components/TableRow.js +64 -0
- package/dist/components-v2/Table/components/TableSearch.d.ts +8 -0
- package/dist/components-v2/Table/components/TableSearch.js +47 -0
- package/dist/components-v2/Table/filters/FilterChips.d.ts +6 -0
- package/dist/components-v2/Table/filters/FilterChips.js +9 -0
- package/dist/components-v2/Table/filters/LeftFilterPane.d.ts +17 -0
- package/dist/components-v2/Table/filters/LeftFilterPane.js +105 -0
- package/dist/components-v2/Table/filters/TableFilters.d.ts +12 -0
- package/dist/components-v2/Table/filters/TableFilters.js +127 -0
- package/dist/components-v2/Table/hooks/useColumnResize.d.ts +15 -0
- package/dist/components-v2/Table/hooks/useColumnResize.js +104 -0
- package/dist/components-v2/Table/hooks/useTable.d.ts +58 -0
- package/dist/components-v2/Table/hooks/useTable.js +254 -0
- package/dist/components-v2/Table/hooks/useTableKeyboard.d.ts +25 -0
- package/dist/components-v2/Table/hooks/useTableKeyboard.js +112 -0
- package/dist/components-v2/Table/hooks/useVirtualScroll.d.ts +29 -0
- package/dist/components-v2/Table/hooks/useVirtualScroll.js +83 -0
- package/dist/components-v2/Table/settings/ManageColumns.d.ts +12 -0
- package/dist/components-v2/Table/settings/ManageColumns.js +59 -0
- package/dist/components-v2/Table/settings/TableSettings.d.ts +12 -0
- package/dist/components-v2/Table/settings/TableSettings.js +57 -0
- package/dist/components-v2/Table/utils/filterUtils.d.ts +7 -0
- package/dist/components-v2/Table/utils/filterUtils.js +149 -0
- package/dist/components-v2/Table/utils/sortUtils.d.ts +6 -0
- package/dist/components-v2/Table/utils/sortUtils.js +65 -0
- package/dist/components-v2/Tag/Tag.d.ts +15 -0
- package/dist/components-v2/Tag/Tag.js +87 -0
- package/dist/components-v2/Timeline/Timeline.d.ts +18 -0
- package/dist/components-v2/Timeline/Timeline.js +76 -0
- package/dist/components-v2/Toaster/Toaster.d.ts +61 -0
- package/dist/components-v2/Toaster/Toaster.js +63 -0
- package/dist/components-v2/Toggle/Toggle.d.ts +28 -0
- package/dist/components-v2/Toggle/Toggle.js +90 -0
- package/dist/components-v2/ui/accordion.d.ts +12 -0
- package/dist/components-v2/ui/accordion.js +104 -0
- package/dist/components-v2/ui/alert.d.ts +18 -0
- package/dist/components-v2/ui/alert.js +99 -0
- package/dist/components-v2/ui/avatar.d.ts +12 -0
- package/dist/components-v2/ui/avatar.js +80 -0
- package/dist/components-v2/ui/badge.d.ts +10 -0
- package/dist/components-v2/ui/badge.js +76 -0
- package/dist/components-v2/ui/button.d.ts +18 -0
- package/dist/components-v2/ui/button.js +97 -0
- package/dist/components-v2/ui/checkbox.d.ts +15 -0
- package/dist/components-v2/ui/checkbox.js +86 -0
- package/dist/components-v2/ui/dialog.d.ts +30 -0
- package/dist/components-v2/ui/dialog.js +115 -0
- package/dist/components-v2/ui/dropdown-menu.d.ts +26 -0
- package/dist/components-v2/ui/dropdown-menu.js +121 -0
- package/dist/components-v2/ui/field.d.ts +32 -0
- package/dist/components-v2/ui/field.js +62 -0
- package/dist/components-v2/ui/form-field.d.ts +25 -0
- package/dist/components-v2/ui/form-field.js +96 -0
- package/dist/components-v2/ui/input.d.ts +9 -0
- package/dist/components-v2/ui/input.js +73 -0
- package/dist/components-v2/ui/label.d.ts +10 -0
- package/dist/components-v2/ui/label.js +70 -0
- package/dist/components-v2/ui/popover.d.ts +9 -0
- package/dist/components-v2/ui/popover.js +60 -0
- package/dist/components-v2/ui/progress.d.ts +12 -0
- package/dist/components-v2/ui/progress.js +75 -0
- package/dist/components-v2/ui/radio-group.d.ts +17 -0
- package/dist/components-v2/ui/radio-group.js +91 -0
- package/dist/components-v2/ui/select.d.ts +24 -0
- package/dist/components-v2/ui/select.js +122 -0
- package/dist/components-v2/ui/separator.d.ts +5 -0
- package/dist/components-v2/ui/separator.js +55 -0
- package/dist/components-v2/ui/skeleton.d.ts +9 -0
- package/dist/components-v2/ui/skeleton.js +68 -0
- package/dist/components-v2/ui/spinner.d.ts +16 -0
- package/dist/components-v2/ui/spinner.js +64 -0
- package/dist/components-v2/ui/switch.d.ts +10 -0
- package/dist/components-v2/ui/switch.js +81 -0
- package/dist/components-v2/ui/tabs.d.ts +13 -0
- package/dist/components-v2/ui/tabs.js +95 -0
- package/dist/components-v2/ui/textarea.d.ts +10 -0
- package/dist/components-v2/ui/textarea.js +96 -0
- package/dist/components-v2/ui/tooltip.d.ts +17 -0
- package/dist/components-v2/ui/tooltip.js +75 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/lib/utils.js +8 -0
- package/dist/theme-v2/ThemeProvider.d.ts +19 -0
- package/dist/theme-v2/ThemeProvider.js +149 -0
- package/dist/theme-v2/dark.css +47 -0
- package/dist/theme-v2/tokens.css +72 -0
- package/package.json +2 -2
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
var react_1 = __importStar(require("react"));
|
|
40
|
+
var TextInput_1 = __importDefault(require("../Components/Input/TextInput"));
|
|
41
|
+
var PhoneNumberInput_1 = __importDefault(require("../Components/Input/PhoneNumberInput"));
|
|
42
|
+
var InputSwitch_1 = require("../Components/Input/Switch/InputSwitch");
|
|
43
|
+
var lucide_react_1 = require("lucide-react");
|
|
44
|
+
var InputPage = function () {
|
|
45
|
+
var _a = (0, react_1.useState)([]), countries = _a[0], setCountries = _a[1];
|
|
46
|
+
var _b = (0, react_1.useState)(false), switchState = _b[0], setSwitchState = _b[1];
|
|
47
|
+
(0, react_1.useEffect)(function () {
|
|
48
|
+
fetch("https://dev.api.pixelizetech.com/account/api/allCountries")
|
|
49
|
+
.then(function (res) { return res.json(); })
|
|
50
|
+
.then(function (data) {
|
|
51
|
+
setCountries(data);
|
|
52
|
+
})
|
|
53
|
+
.catch(function (err) { return console.error("Error fetching countries:", err); });
|
|
54
|
+
}, []);
|
|
55
|
+
return (react_1.default.createElement("div", { style: { width: "500px" } },
|
|
56
|
+
react_1.default.createElement(TextInput_1.default, { label: "My Label", id: "input1", name: "hello",
|
|
57
|
+
//helperText="Hello"
|
|
58
|
+
//errorMessage="Required"
|
|
59
|
+
// error={true}
|
|
60
|
+
type: "email",
|
|
61
|
+
// inputRightIcon={<User color="#FF0000" />}
|
|
62
|
+
// onRightIconclick={() => {
|
|
63
|
+
// console.log("icon click");
|
|
64
|
+
// }}
|
|
65
|
+
// inputLeftIcon={<User color="#FF0000" />}
|
|
66
|
+
// onLeftIconClick={() => {
|
|
67
|
+
// console.log("icon click");
|
|
68
|
+
// }}
|
|
69
|
+
key: "input1",
|
|
70
|
+
// border={"0px solid"}
|
|
71
|
+
// padding={"0px"}
|
|
72
|
+
// inputStyle={{ border: "0px solid", padding: "0px" }}
|
|
73
|
+
// inputGroupStyle={{ border: "0px solid", padding: "0px" }}
|
|
74
|
+
// error={true}
|
|
75
|
+
// errorMessage="Required"
|
|
76
|
+
onChange: function (e) {
|
|
77
|
+
console.log(e.target.files);
|
|
78
|
+
}, onKeyDown: function () {
|
|
79
|
+
console.log("keydown");
|
|
80
|
+
}, onBlur: function () {
|
|
81
|
+
console.log("blur");
|
|
82
|
+
},
|
|
83
|
+
// helperText="sometibg"
|
|
84
|
+
isRequired: true, informationMessage: "This is information", isInformation: true,
|
|
85
|
+
// isDisabled
|
|
86
|
+
minW: "200px", maxW: "300px", inputLeftIcon: react_1.default.createElement(lucide_react_1.Mail, null) }),
|
|
87
|
+
react_1.default.createElement(PhoneNumberInput_1.default, { label: "Phone", id: "input1", name: "hello", country: "IN", value: "", codeValueReturn: false, countries: countries, onChange: function (val) {
|
|
88
|
+
console.log(val, "hello");
|
|
89
|
+
}, isRequired: true, informationMessage: "This is information", isInformation: true, error: true, errorMessage: "Required", showCountrySelect: true, minW: "200px", maxW: "300px" }),
|
|
90
|
+
react_1.default.createElement(InputSwitch_1.InputSwitch, { id: "repeat-switch", isChecked: switchState, onChange: function (e) { return setSwitchState(e.target.checked); }, switchText: "Repeat", switchTextPosition: "right", label: "My Switch", isInformation: true, informationMessage: "This is information", isRequired: true, size: "md" })));
|
|
91
|
+
};
|
|
92
|
+
exports.default = InputPage;
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
var react_1 = __importStar(require("react"));
|
|
40
|
+
var react_2 = require("@chakra-ui/react");
|
|
41
|
+
var KanbanBoard_1 = __importDefault(require("../Components/KanbanBoard/KanbanBoard"));
|
|
42
|
+
var createItems = function (count, prefix) {
|
|
43
|
+
return Array.from({ length: count }, function (_, i) { return ({
|
|
44
|
+
id: "".concat(prefix, "-").concat(i),
|
|
45
|
+
rating: "Acquired",
|
|
46
|
+
name: "".concat(prefix, " Item ").concat(i),
|
|
47
|
+
// customNode: () => <div style={{ backgroundColor: "red", padding: "10px", borderRadius: "5px" }}>Custom Node {i}</div>,
|
|
48
|
+
}); });
|
|
49
|
+
};
|
|
50
|
+
var buildKanbanData = function (primaryColumnColor, successColumnColor) {
|
|
51
|
+
return ({
|
|
52
|
+
acquired: {
|
|
53
|
+
id: "acquired",
|
|
54
|
+
title: "Acquired",
|
|
55
|
+
color: primaryColumnColor,
|
|
56
|
+
items: createItems(1000, "acq"),
|
|
57
|
+
},
|
|
58
|
+
active: {
|
|
59
|
+
id: "requested",
|
|
60
|
+
title: "Requested",
|
|
61
|
+
color: successColumnColor,
|
|
62
|
+
items: createItems(4, "req"),
|
|
63
|
+
customNode: function () { return (react_1.default.createElement(react_2.Box, { display: "flex", flexDirection: "row", alignItems: "center", justifyContent: "center", gap: 2 },
|
|
64
|
+
react_1.default.createElement(react_2.Text, { fontSize: "xs", color: "gray.600" }, "Total items: 4"),
|
|
65
|
+
react_1.default.createElement(react_2.Text, { fontSize: "xs", color: "gray.500" }, "Drag cards to move"))); },
|
|
66
|
+
},
|
|
67
|
+
closed: {
|
|
68
|
+
id: "closed",
|
|
69
|
+
title: "close",
|
|
70
|
+
color: successColumnColor,
|
|
71
|
+
items: createItems(3, "cls"),
|
|
72
|
+
},
|
|
73
|
+
open: {
|
|
74
|
+
id: "open",
|
|
75
|
+
title: "Open",
|
|
76
|
+
color: successColumnColor,
|
|
77
|
+
items: createItems(5, "OP"),
|
|
78
|
+
customNode: function () { return (react_1.default.createElement(react_2.Box, { display: "flex", flexDirection: "row", alignItems: "center", justifyContent: "center", gap: 2 },
|
|
79
|
+
react_1.default.createElement(react_2.Text, { fontSize: "xs", color: "gray.600" }, "Total items: 4"),
|
|
80
|
+
react_1.default.createElement(react_2.Text, { fontSize: "xs", color: "gray.500" }, "Drag cards to move"))); },
|
|
81
|
+
},
|
|
82
|
+
done: {
|
|
83
|
+
id: "done",
|
|
84
|
+
title: "Done",
|
|
85
|
+
color: successColumnColor,
|
|
86
|
+
items: createItems(6, "done"),
|
|
87
|
+
},
|
|
88
|
+
});
|
|
89
|
+
};
|
|
90
|
+
var viewListData = [
|
|
91
|
+
{
|
|
92
|
+
view_id: 5,
|
|
93
|
+
type: "contact",
|
|
94
|
+
viewName: "status",
|
|
95
|
+
groupBy: "Lead Source",
|
|
96
|
+
selectedField: [
|
|
97
|
+
"contact_owner",
|
|
98
|
+
"first_name",
|
|
99
|
+
"last_name",
|
|
100
|
+
"title",
|
|
101
|
+
"assistant",
|
|
102
|
+
"email",
|
|
103
|
+
"mobile",
|
|
104
|
+
"lead_source",
|
|
105
|
+
"dob",
|
|
106
|
+
"skype_id",
|
|
107
|
+
"twitter",
|
|
108
|
+
"sec_email",
|
|
109
|
+
"mail_street",
|
|
110
|
+
"mail_city",
|
|
111
|
+
"mail_state",
|
|
112
|
+
"mail_zip",
|
|
113
|
+
"mail_country",
|
|
114
|
+
"other_street",
|
|
115
|
+
"other_city",
|
|
116
|
+
"other_state",
|
|
117
|
+
"other_zip",
|
|
118
|
+
"other_country",
|
|
119
|
+
"fax",
|
|
120
|
+
"description",
|
|
121
|
+
],
|
|
122
|
+
moduleId: null,
|
|
123
|
+
created_at: 1756720852175,
|
|
124
|
+
updated_at: 1756720852175,
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
view_id: 4,
|
|
128
|
+
type: "contact",
|
|
129
|
+
viewName: "demo",
|
|
130
|
+
groupBy: "Lead Source",
|
|
131
|
+
selectedField: [
|
|
132
|
+
"contact_owner",
|
|
133
|
+
"first_name",
|
|
134
|
+
"last_name",
|
|
135
|
+
"title",
|
|
136
|
+
"assistant",
|
|
137
|
+
"email",
|
|
138
|
+
"mobile",
|
|
139
|
+
"lead_source",
|
|
140
|
+
"dob",
|
|
141
|
+
"skype_id",
|
|
142
|
+
"twitter",
|
|
143
|
+
"sec_email",
|
|
144
|
+
"mail_street",
|
|
145
|
+
"mail_city",
|
|
146
|
+
"mail_state",
|
|
147
|
+
"mail_zip",
|
|
148
|
+
"mail_country",
|
|
149
|
+
"other_street",
|
|
150
|
+
"other_city",
|
|
151
|
+
"other_state",
|
|
152
|
+
"other_zip",
|
|
153
|
+
"other_country",
|
|
154
|
+
"fax",
|
|
155
|
+
"description",
|
|
156
|
+
],
|
|
157
|
+
moduleId: null,
|
|
158
|
+
created_at: 1756720474429,
|
|
159
|
+
updated_at: 1756720474429,
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
view_id: 2,
|
|
163
|
+
type: "contact",
|
|
164
|
+
viewName: "kanabana",
|
|
165
|
+
groupBy: "Lead Source",
|
|
166
|
+
selectedField: [
|
|
167
|
+
"contact_owner",
|
|
168
|
+
"first_name",
|
|
169
|
+
"last_name",
|
|
170
|
+
"title",
|
|
171
|
+
"assistant",
|
|
172
|
+
"email",
|
|
173
|
+
"mobile",
|
|
174
|
+
"lead_source",
|
|
175
|
+
"dob",
|
|
176
|
+
"skype_id",
|
|
177
|
+
"twitter",
|
|
178
|
+
"sec_email",
|
|
179
|
+
"mail_street",
|
|
180
|
+
"mail_city",
|
|
181
|
+
"mail_state",
|
|
182
|
+
"mail_zip",
|
|
183
|
+
"mail_country",
|
|
184
|
+
"other_street",
|
|
185
|
+
"other_city",
|
|
186
|
+
"other_state",
|
|
187
|
+
"other_zip",
|
|
188
|
+
"other_country",
|
|
189
|
+
"fax",
|
|
190
|
+
"description",
|
|
191
|
+
],
|
|
192
|
+
moduleId: null,
|
|
193
|
+
created_at: 1756457931264,
|
|
194
|
+
updated_at: 1756457931264,
|
|
195
|
+
},
|
|
196
|
+
];
|
|
197
|
+
var KanbanBoardExample = function () {
|
|
198
|
+
var theme = (0, react_2.useTheme)();
|
|
199
|
+
var data = (0, react_1.useMemo)(function () {
|
|
200
|
+
return buildKanbanData(theme.colors.primary[500], theme.colors.semantic.success[500]);
|
|
201
|
+
}, [theme]);
|
|
202
|
+
return (react_1.default.createElement(KanbanBoard_1.default, { data: data, onDelete: function (item) { return console.log("Delete", item); }, onOpen: function (item) { return console.log("Open", item); }, onDrag: function (updatedColumns) { return console.log("New State", updatedColumns); }, onColumnDelete: function (updatedColumns) { return console.log("New Del", updatedColumns); }, isLoading: false, virtualization: true, kanbanCreate: {
|
|
203
|
+
isCreatable: true,
|
|
204
|
+
onCreate: function () { },
|
|
205
|
+
}, kanbanEdit: {
|
|
206
|
+
isEditable: true,
|
|
207
|
+
onEdit: function () { },
|
|
208
|
+
label: "Edit",
|
|
209
|
+
}, kanbanSelect: {
|
|
210
|
+
isSelect: true,
|
|
211
|
+
options: viewListData === null || viewListData === void 0 ? void 0 : viewListData.map(function (item) { return ({
|
|
212
|
+
label: item === null || item === void 0 ? void 0 : item.viewName,
|
|
213
|
+
id: String(item === null || item === void 0 ? void 0 : item.view_id),
|
|
214
|
+
}); }),
|
|
215
|
+
onSelectChange: function () { },
|
|
216
|
+
selectPlaceholderText: "",
|
|
217
|
+
width: "200px",
|
|
218
|
+
value: "kanbanSelectValue",
|
|
219
|
+
}, enableColumnCollapse: true, enableColumnReorder: true, onColumnReorder: function (columns) { return console.log("New Order", columns); }, collapsedColumns: {
|
|
220
|
+
active: true,
|
|
221
|
+
closed: true,
|
|
222
|
+
}, onColumnCollapseChange: function (columns) { return console.log("New Collapse", columns); } }));
|
|
223
|
+
};
|
|
224
|
+
exports.default = KanbanBoardExample;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
var react_1 = __importStar(require("react"));
|
|
40
|
+
var Modal_1 = __importStar(require("../Components/Modal/Modal"));
|
|
41
|
+
var Button_1 = __importDefault(require("../Components/Button/Button"));
|
|
42
|
+
var ModalPage = function () {
|
|
43
|
+
var _a = (0, react_1.useState)(false), isOpen = _a[0], setIsOpen = _a[1];
|
|
44
|
+
var _b = (0, react_1.useState)(false), isModelLoading = _b[0], setIsModelLoading = _b[1];
|
|
45
|
+
(0, react_1.useEffect)(function () {
|
|
46
|
+
var timer = setTimeout(function () {
|
|
47
|
+
setIsModelLoading(false);
|
|
48
|
+
}, 5000);
|
|
49
|
+
// Cleanup the timer on component unmount
|
|
50
|
+
return function () { return clearTimeout(timer); };
|
|
51
|
+
}, []);
|
|
52
|
+
var handleOnclick2 = function () {
|
|
53
|
+
setIsOpen(true);
|
|
54
|
+
};
|
|
55
|
+
return (react_1.default.createElement("div", null,
|
|
56
|
+
react_1.default.createElement(Button_1.default, { label: "ModelButton", onClick: handleOnclick2, width: 250, variant: "solid" }),
|
|
57
|
+
react_1.default.createElement(Modal_1.default, { isOpen: isOpen, onClose: function () { return setIsOpen(false); },
|
|
58
|
+
// overlaybg={"blackAlpha.300"}
|
|
59
|
+
// overlaybackdropFilter={"blur(10px) hue-rotate(90deg)"}
|
|
60
|
+
size: "sm", isCentered: true, isLoading: isModelLoading },
|
|
61
|
+
react_1.default.createElement(Modal_1.ModalHeader, null, "hai"),
|
|
62
|
+
react_1.default.createElement(Modal_1.ModalBody, null, "heelo"),
|
|
63
|
+
react_1.default.createElement(Modal_1.ModalFooter, null, "welcome"))));
|
|
64
|
+
};
|
|
65
|
+
exports.default = ModalPage;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
var react_1 = __importStar(require("react"));
|
|
40
|
+
var MultiSelect_1 = __importDefault(require("../Components/MultiSelect/MultiSelect"));
|
|
41
|
+
var MultiSelectPage = function () {
|
|
42
|
+
var _a = (0, react_1.useState)([
|
|
43
|
+
{
|
|
44
|
+
id: "1721664346718-1",
|
|
45
|
+
label: "Testing",
|
|
46
|
+
},
|
|
47
|
+
]), selectedOptions = _a[0], setSelectedOptions = _a[1];
|
|
48
|
+
var handleValueSelectChange = function (options) {
|
|
49
|
+
setSelectedOptions(options);
|
|
50
|
+
console.log("Selected options updated:", options);
|
|
51
|
+
};
|
|
52
|
+
return (react_1.default.createElement("div", null,
|
|
53
|
+
react_1.default.createElement(MultiSelect_1.default, { value: selectedOptions, onValueChange: handleValueSelectChange, error: true, errorMessage: 'frr' })));
|
|
54
|
+
};
|
|
55
|
+
exports.default = MultiSelectPage;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
var react_1 = __importStar(require("react"));
|
|
40
|
+
var NoteTextArea_1 = __importDefault(require("../Components/NoteTextArea/NoteTextArea"));
|
|
41
|
+
var NoteAreaPage = function () {
|
|
42
|
+
var _a = (0, react_1.useState)(false), saveButtonLoading = _a[0], setSaveButtonLoading = _a[1];
|
|
43
|
+
var handleNoteValue = function (noteValue, titleValue, file) {
|
|
44
|
+
console.log("Title: ", titleValue);
|
|
45
|
+
console.log("Note: ", noteValue);
|
|
46
|
+
console.log("File: ", file);
|
|
47
|
+
setSaveButtonLoading(true);
|
|
48
|
+
setTimeout(function () {
|
|
49
|
+
setSaveButtonLoading(false);
|
|
50
|
+
}, 2000);
|
|
51
|
+
};
|
|
52
|
+
return (react_1.default.createElement("div", null,
|
|
53
|
+
react_1.default.createElement(NoteTextArea_1.default, { width: "720px", handleSubmit: function (noteValue, titleValue, file) {
|
|
54
|
+
handleNoteValue(noteValue, titleValue, file);
|
|
55
|
+
}, value: "text", title: "hello", isEditable: false, saveButtonLoading: saveButtonLoading, handleCancel: function (isActive) {
|
|
56
|
+
console.log("isActive", isActive);
|
|
57
|
+
}, customPlaceholder: "Add a note..." })));
|
|
58
|
+
};
|
|
59
|
+
exports.default = NoteAreaPage;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var Notification_1 = __importDefault(require("../Components/Notification/Notification"));
|
|
8
|
+
var notificationPage = function () {
|
|
9
|
+
var kavinNotification = {
|
|
10
|
+
id: 1,
|
|
11
|
+
title: "Send Proposal",
|
|
12
|
+
startDate: "2025-10-07T06:30:00.000Z",
|
|
13
|
+
dueDate: "2025-10-07T07:30:00.000Z",
|
|
14
|
+
// endDate: "2025-10-07T08:30:00.000Z",
|
|
15
|
+
description: "Test Deal for Tour",
|
|
16
|
+
type: "task",
|
|
17
|
+
host: "Kavin",
|
|
18
|
+
};
|
|
19
|
+
var handleClose = function () {
|
|
20
|
+
console.log("Notification closed");
|
|
21
|
+
};
|
|
22
|
+
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
23
|
+
react_1.default.createElement(Notification_1.default, { notification: kavinNotification, onClose: handleClose, showStatus: true })));
|
|
24
|
+
};
|
|
25
|
+
exports.default = notificationPage;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
var react_1 = __importStar(require("react"));
|
|
40
|
+
var NumberInput_1 = __importDefault(require("../Components/NumberInput/NumberInput"));
|
|
41
|
+
var NumberInputPage = function () {
|
|
42
|
+
var _a = (0, react_1.useState)("0"), numbetInputValue = _a[0], setNumbetInputValue = _a[1];
|
|
43
|
+
var handleNumberinput = function (value) {
|
|
44
|
+
setNumbetInputValue(value);
|
|
45
|
+
};
|
|
46
|
+
return (react_1.default.createElement("div", null,
|
|
47
|
+
react_1.default.createElement(NumberInput_1.default, { min: 0, max: 20, value: numbetInputValue, onChange: handleNumberinput })));
|
|
48
|
+
};
|
|
49
|
+
exports.default = NumberInputPage;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var ProfilePhotoViewer_1 = __importDefault(require("../Components/ProfilePhotoViewer/ProfilePhotoViewer"));
|
|
8
|
+
var PhotoViewer = function () {
|
|
9
|
+
return (react_1.default.createElement("div", null,
|
|
10
|
+
react_1.default.createElement(ProfilePhotoViewer_1.default, { photoUrl: "https://media.istockphoto.com/id/2000672702/photo/happy-smiling-mature-indian-or-latin-business-man-ceo-trader-using-computer-typing-working-in.jpg?s=1024x1024&w=is&k=20&c=D1vOFvPH5YG87jlDs8g9THoClPfmdbAsHx2J4PdDtcI=" !== null && "https://media.istockphoto.com/id/2000672702/photo/happy-smiling-mature-indian-or-latin-business-man-ceo-trader-using-computer-typing-working-in.jpg?s=1024x1024&w=is&k=20&c=D1vOFvPH5YG87jlDs8g9THoClPfmdbAsHx2J4PdDtcI=" !== void 0 ? "https://media.istockphoto.com/id/2000672702/photo/happy-smiling-mature-indian-or-latin-business-man-ceo-trader-using-computer-typing-working-in.jpg?s=1024x1024&w=is&k=20&c=D1vOFvPH5YG87jlDs8g9THoClPfmdbAsHx2J4PdDtcI=" : "https://bit.ly/dan-abramov", onPhotoChange: function (file) { return console.log(file); }, isEditable: true, isView: true, fallbackText: "" })));
|
|
11
|
+
};
|
|
12
|
+
exports.default = PhotoViewer;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var PinInput_1 = __importDefault(require("../Components/PinInput/PinInput"));
|
|
8
|
+
var PinInputPage = function () {
|
|
9
|
+
return (react_1.default.createElement("div", null,
|
|
10
|
+
react_1.default.createElement(PinInput_1.default, { pins: 5, label: "Enter pin", color: "primary" })));
|
|
11
|
+
};
|
|
12
|
+
exports.default = PinInputPage;
|