pixelize-design-library 2.3.7 → 2.3.8
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/.cursor/plans/current.md +12 -32
- package/dist/App.d.ts.map +1 -0
- package/dist/Assets/defaultLogo.d.ts +2 -2
- package/dist/Assets/defaultLogo.d.ts.map +1 -0
- package/dist/Assets/defaultLogo.js +5 -11
- package/dist/Components/Accordion/Accordion.d.ts +2 -2
- package/dist/Components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/Components/Accordion/Accordion.js +29 -57
- package/dist/Components/Accordion/AccordionProps.d.ts +1 -0
- package/dist/Components/Accordion/AccordionProps.d.ts.map +1 -0
- package/dist/Components/AlertDialog/AlertDialog.d.ts +2 -2
- package/dist/Components/AlertDialog/AlertDialog.d.ts.map +1 -0
- package/dist/Components/AlertDialog/AlertDialog.js +4 -16
- package/dist/Components/AlertDialog/AlertDialogProps.d.ts +1 -1
- package/dist/Components/AlertDialog/AlertDialogProps.d.ts.map +1 -0
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.d.ts +2 -2
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.d.ts.map +1 -0
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.js +18 -63
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChartProps.d.ts +1 -0
- package/dist/Components/Apexcharts/ApexBarChart/ApexBarChartProps.d.ts.map +1 -0
- package/dist/Components/Apexcharts/ApexLineChart/ApexLineChart.d.ts +2 -2
- package/dist/Components/Apexcharts/ApexLineChart/ApexLineChart.d.ts.map +1 -0
- package/dist/Components/Apexcharts/ApexLineChart/ApexLineChart.js +65 -110
- package/dist/Components/Apexcharts/ApexLineChart/ApexLineChartProps.d.ts +1 -0
- package/dist/Components/Apexcharts/ApexLineChart/ApexLineChartProps.d.ts.map +1 -0
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.d.ts +2 -2
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.d.ts.map +1 -0
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.js +33 -70
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChartProps.d.ts +1 -0
- package/dist/Components/Apexcharts/ApexPieChart/ApexPieChartProps.d.ts.map +1 -0
- package/dist/Components/Apexcharts/ApexPolarCharts/ApexPolarCharts.d.ts +2 -2
- package/dist/Components/Apexcharts/ApexPolarCharts/ApexPolarCharts.d.ts.map +1 -0
- package/dist/Components/Apexcharts/ApexPolarCharts/ApexPolarCharts.js +27 -64
- package/dist/Components/Apexcharts/ApexPolarCharts/ApexPolarChartsProps.d.ts +1 -0
- package/dist/Components/Apexcharts/ApexPolarCharts/ApexPolarChartsProps.d.ts.map +1 -0
- package/dist/Components/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/dist/Components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/Components/Breadcrumbs/Breadcrumbs.js +8 -13
- package/dist/Components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -0
- package/dist/Components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
- package/dist/Components/Breadcrumbs/BreadcrumbsProps.d.ts +1 -0
- package/dist/Components/Breadcrumbs/BreadcrumbsProps.d.ts.map +1 -0
- package/dist/Components/Button/Button.d.ts +3 -3
- package/dist/Components/Button/Button.d.ts.map +1 -0
- package/dist/Components/Button/Button.js +5 -38
- package/dist/Components/Button/Button.stories.d.ts +1 -0
- package/dist/Components/Button/Button.stories.d.ts.map +1 -0
- package/dist/Components/Button/Button.styles.d.ts +1 -0
- package/dist/Components/Button/Button.styles.d.ts.map +1 -0
- package/dist/Components/Button/Button.styles.js +75 -91
- package/dist/Components/Button/ButtonProps.d.ts +1 -0
- package/dist/Components/Button/ButtonProps.d.ts.map +1 -0
- package/dist/Components/ButtonGroupIcon/ButtonGoupIconProps.d.ts +1 -0
- package/dist/Components/ButtonGroupIcon/ButtonGoupIconProps.d.ts.map +1 -0
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.d.ts +2 -2
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.d.ts.map +1 -0
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.js +49 -86
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.stories.d.ts +1 -0
- package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.stories.d.ts.map +1 -0
- package/dist/Components/Buttons/Buttons.d.ts +2 -2
- package/dist/Components/Buttons/Buttons.d.ts.map +1 -0
- package/dist/Components/Buttons/Buttons.js +3 -7
- package/dist/Components/Buttons/ButtonsProps.d.ts +1 -0
- package/dist/Components/Buttons/ButtonsProps.d.ts.map +1 -0
- package/dist/Components/Card/Card.d.ts +2 -2
- package/dist/Components/Card/Card.d.ts.map +1 -0
- package/dist/Components/Card/Card.js +4 -8
- package/dist/Components/Card/CardProps.d.ts +1 -0
- package/dist/Components/Card/CardProps.d.ts.map +1 -0
- package/dist/Components/Card/PaymentCard/PaymentCard.d.ts +2 -2
- package/dist/Components/Card/PaymentCard/PaymentCard.d.ts.map +1 -0
- package/dist/Components/Card/PaymentCard/PaymentCard.js +20 -56
- package/dist/Components/Card/PaymentCard/PaymentCardProps.d.ts +1 -0
- package/dist/Components/Card/PaymentCard/PaymentCardProps.d.ts.map +1 -0
- package/dist/Components/Checkbox/Checkbox.d.ts +2 -2
- package/dist/Components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/Components/Checkbox/Checkbox.js +23 -28
- package/dist/Components/Checkbox/Checkbox.stories.d.ts +1 -0
- package/dist/Components/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/Components/Checkbox/Checkbox.styles.d.ts +1 -0
- package/dist/Components/Checkbox/Checkbox.styles.d.ts.map +1 -0
- package/dist/Components/Checkbox/Checkbox.styles.js +4 -5
- package/dist/Components/Checkbox/CheckboxProps.d.ts +1 -4
- package/dist/Components/Checkbox/CheckboxProps.d.ts.map +1 -0
- package/dist/Components/Common/ErrorComponent.d.ts +2 -2
- package/dist/Components/Common/ErrorComponent.d.ts.map +1 -0
- package/dist/Components/Common/ErrorComponent.js +9 -18
- package/dist/Components/Common/ErrorMessage.d.ts +2 -2
- package/dist/Components/Common/ErrorMessage.d.ts.map +1 -0
- package/dist/Components/Common/ErrorMessage.js +7 -13
- package/dist/Components/Common/FormLabel.d.ts +2 -2
- package/dist/Components/Common/FormLabel.d.ts.map +1 -0
- package/dist/Components/Common/FormLabel.js +8 -18
- package/dist/Components/Common/FormattedDescription.d.ts +2 -2
- package/dist/Components/Common/FormattedDescription.d.ts.map +1 -0
- package/dist/Components/Common/FormattedDescription.js +28 -35
- package/dist/Components/Common/HelperText.d.ts +2 -2
- package/dist/Components/Common/HelperText.d.ts.map +1 -0
- package/dist/Components/Common/HelperText.js +6 -10
- package/dist/Components/Common/Label.d.ts +2 -2
- package/dist/Components/Common/Label.d.ts.map +1 -0
- package/dist/Components/Common/Label.js +9 -15
- package/dist/Components/Common/fieldStyles.d.ts +6 -4
- package/dist/Components/Common/fieldStyles.d.ts.map +1 -0
- package/dist/Components/Common/fieldStyles.js +12 -17
- package/dist/Components/ContactForm/ContactForm.d.ts +2 -2
- package/dist/Components/ContactForm/ContactForm.d.ts.map +1 -0
- package/dist/Components/ContactForm/ContactForm.js +84 -198
- package/dist/Components/ContactForm/ContactFormProps.d.ts +2 -1
- package/dist/Components/ContactForm/ContactFormProps.d.ts.map +1 -0
- package/dist/Components/CopyButton/CopyButton.d.ts +1 -0
- package/dist/Components/CopyButton/CopyButton.d.ts.map +1 -0
- package/dist/Components/CopyButton/CopyButton.js +30 -115
- package/dist/Components/CustomModulesTable/CustomModulesTable.d.ts +1 -0
- package/dist/Components/CustomModulesTable/CustomModulesTable.d.ts.map +1 -0
- package/dist/Components/CustomModulesTable/CustomModulesTable.js +34 -151
- package/dist/Components/CustomModulesTable/CustomModulesTableProps.d.ts +1 -0
- package/dist/Components/CustomModulesTable/CustomModulesTableProps.d.ts.map +1 -0
- package/dist/Components/CustomModulesTable/DeleteModuleModal.d.ts +1 -0
- package/dist/Components/CustomModulesTable/DeleteModuleModal.d.ts.map +1 -0
- package/dist/Components/CustomModulesTable/DeleteModuleModal.js +9 -26
- package/dist/Components/CustomModulesTable/EditModuleModal.d.ts +1 -0
- package/dist/Components/CustomModulesTable/EditModuleModal.d.ts.map +1 -0
- package/dist/Components/CustomModulesTable/EditModuleModal.js +11 -53
- package/dist/Components/DatePicker/CalendarPanel.d.ts +1 -0
- package/dist/Components/DatePicker/CalendarPanel.d.ts.map +1 -0
- package/dist/Components/DatePicker/CalendarPanel.js +63 -90
- package/dist/Components/DatePicker/DatePicker.d.ts +2 -2
- package/dist/Components/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/Components/DatePicker/DatePicker.js +139 -184
- package/dist/Components/DatePicker/DatePickerProps.d.ts +5 -0
- package/dist/Components/DatePicker/DatePickerProps.d.ts.map +1 -0
- package/dist/Components/DatePicker/RangeDatePicker.d.ts +1 -0
- package/dist/Components/DatePicker/RangeDatePicker.d.ts.map +1 -0
- package/dist/Components/DatePicker/RangeDatePicker.js +126 -183
- package/dist/Components/DatePicker/SingleDatePicker.d.ts +1 -0
- package/dist/Components/DatePicker/SingleDatePicker.d.ts.map +1 -0
- package/dist/Components/DatePicker/SingleDatePicker.js +310 -362
- package/dist/Components/DatePicker/ThemeDatePicker.d.ts +1 -0
- package/dist/Components/DatePicker/ThemeDatePicker.d.ts.map +1 -0
- package/dist/Components/DatePicker/ThemeDatePicker.js +14 -28
- package/dist/Components/DatePicker/TimeOnlyPicker.d.ts +1 -0
- package/dist/Components/DatePicker/TimeOnlyPicker.d.ts.map +1 -0
- package/dist/Components/DatePicker/TimeOnlyPicker.js +48 -96
- package/dist/Components/DatePicker/TimePicker.d.ts +1 -0
- package/dist/Components/DatePicker/TimePicker.d.ts.map +1 -0
- package/dist/Components/DatePicker/TimePicker.js +29 -67
- package/dist/Components/DatePicker/TimePickerInput.d.ts +1 -0
- package/dist/Components/DatePicker/TimePickerInput.d.ts.map +1 -0
- package/dist/Components/DatePicker/TimePickerInput.js +118 -157
- package/dist/Components/Divider/Divider.d.ts +2 -2
- package/dist/Components/Divider/Divider.d.ts.map +1 -0
- package/dist/Components/Divider/Divider.js +6 -9
- package/dist/Components/Drawer/Drawer.d.ts +2 -1
- package/dist/Components/Drawer/Drawer.d.ts.map +1 -0
- package/dist/Components/Drawer/Drawer.js +15 -24
- package/dist/Components/Drawer/DrawerProps.d.ts +1 -0
- package/dist/Components/Drawer/DrawerProps.d.ts.map +1 -0
- package/dist/Components/Dropdown/DropDown.d.ts +1 -0
- package/dist/Components/Dropdown/DropDown.d.ts.map +1 -0
- package/dist/Components/Dropdown/DropDown.js +55 -111
- package/dist/Components/Dropdown/DropdownProps.d.ts +1 -0
- package/dist/Components/Dropdown/DropdownProps.d.ts.map +1 -0
- package/dist/Components/Editor/Editor.d.ts +1 -0
- package/dist/Components/Editor/Editor.d.ts.map +1 -0
- package/dist/Components/Editor/Editor.js +6 -6
- package/dist/Components/Editor/EditorProps.d.ts +5 -2
- package/dist/Components/Editor/EditorProps.d.ts.map +1 -0
- package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.d.ts +2 -2
- package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.d.ts.map +1 -0
- package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.js +10 -28
- package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtpProps.d.ts +1 -0
- package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtpProps.d.ts.map +1 -0
- package/dist/Components/EmptyState/EmptyState.d.ts +1 -0
- package/dist/Components/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/Components/EmptyState/EmptyState.js +24 -47
- package/dist/Components/EmptyState/EmptyStateProps.d.ts +1 -0
- package/dist/Components/EmptyState/EmptyStateProps.d.ts.map +1 -0
- package/dist/Components/FeedbackForm/FeedbackForm.d.ts +2 -2
- package/dist/Components/FeedbackForm/FeedbackForm.d.ts.map +1 -0
- package/dist/Components/FeedbackForm/FeedbackForm.js +53 -159
- package/dist/Components/FieldSelectModal/FieldSelectModal.d.ts +1 -0
- package/dist/Components/FieldSelectModal/FieldSelectModal.d.ts.map +1 -0
- package/dist/Components/FieldSelectModal/FieldSelectModal.js +22 -96
- package/dist/Components/FilePreview/FilePreview.d.ts +1 -0
- package/dist/Components/FilePreview/FilePreview.d.ts.map +1 -0
- package/dist/Components/FilePreview/FilePreview.js +45 -156
- package/dist/Components/FilePreview/FilePreviewProps.d.ts +1 -0
- package/dist/Components/FilePreview/FilePreviewProps.d.ts.map +1 -0
- package/dist/Components/FileUpload/FileUpload.d.ts +1 -0
- package/dist/Components/FileUpload/FileUpload.d.ts.map +1 -0
- package/dist/Components/FileUpload/FileUpload.js +63 -112
- package/dist/Components/FileUpload/FileUploadProps.d.ts +1 -0
- package/dist/Components/FileUpload/FileUploadProps.d.ts.map +1 -0
- package/dist/Components/FileUpload/constants.d.ts +1 -0
- package/dist/Components/FileUpload/constants.d.ts.map +1 -0
- package/dist/Components/FileUpload/constants.js +1 -1
- package/dist/Components/FileUploader/FileUploader.d.ts +1 -0
- package/dist/Components/FileUploader/FileUploader.d.ts.map +1 -0
- package/dist/Components/FileUploader/FileUploader.js +35 -116
- package/dist/Components/FileUploader/FileUploaderProps.d.ts +1 -0
- package/dist/Components/FileUploader/FileUploaderProps.d.ts.map +1 -0
- package/dist/Components/FilterSidebar/FilterSidebar.d.ts +3 -1
- package/dist/Components/FilterSidebar/FilterSidebar.d.ts.map +1 -0
- package/dist/Components/FilterSidebar/FilterSidebar.js +164 -286
- package/dist/Components/Form/FormWrapper.d.ts +2 -1
- package/dist/Components/Form/FormWrapper.d.ts.map +1 -0
- package/dist/Components/Form/FormWrapper.js +7 -15
- package/dist/Components/Header/Header.d.ts +1 -0
- package/dist/Components/Header/Header.d.ts.map +1 -0
- package/dist/Components/Header/Header.js +23 -33
- package/dist/Components/Header/HeaderActions.d.ts +2 -2
- package/dist/Components/Header/HeaderActions.d.ts.map +1 -0
- package/dist/Components/Header/HeaderActions.js +15 -25
- package/dist/Components/Header/HeaderProps.d.ts +1 -0
- package/dist/Components/Header/HeaderProps.d.ts.map +1 -0
- package/dist/Components/Header/components/desktopMenu.d.ts +2 -2
- package/dist/Components/Header/components/desktopMenu.d.ts.map +1 -0
- package/dist/Components/Header/components/desktopMenu.js +22 -36
- package/dist/Components/Header/components/mobileMenu.d.ts +2 -2
- package/dist/Components/Header/components/mobileMenu.d.ts.map +1 -0
- package/dist/Components/Header/components/mobileMenu.js +29 -50
- package/dist/Components/Input/Input/Input.d.ts +2 -1
- package/dist/Components/Input/Input/Input.d.ts.map +1 -0
- package/dist/Components/Input/Input/Input.js +33 -38
- package/dist/Components/Input/Input/InputProps.d.ts +1 -0
- package/dist/Components/Input/Input/InputProps.d.ts.map +1 -0
- package/dist/Components/Input/PhoneNumberInput.d.ts +2 -2
- package/dist/Components/Input/PhoneNumberInput.d.ts.map +1 -0
- package/dist/Components/Input/PhoneNumberInput.js +28 -100
- package/dist/Components/Input/PhoneNumberInputProps.d.ts +1 -0
- package/dist/Components/Input/PhoneNumberInputProps.d.ts.map +1 -0
- package/dist/Components/Input/Switch/InputSwitch.d.ts +2 -2
- package/dist/Components/Input/Switch/InputSwitch.d.ts.map +1 -0
- package/dist/Components/Input/Switch/InputSwitch.js +14 -46
- package/dist/Components/Input/TextInput.d.ts +1 -0
- package/dist/Components/Input/TextInput.d.ts.map +1 -0
- package/dist/Components/Input/TextInput.js +13 -44
- package/dist/Components/Input/TextInput.stories.d.ts +1 -0
- package/dist/Components/Input/TextInput.stories.d.ts.map +1 -0
- package/dist/Components/Input/TextInput.styles.d.ts +1 -0
- package/dist/Components/Input/TextInput.styles.d.ts.map +1 -0
- package/dist/Components/Input/TextInput.styles.js +12 -12
- package/dist/Components/Input/TextInputProps.d.ts +8 -6
- package/dist/Components/Input/TextInputProps.d.ts.map +1 -0
- package/dist/Components/Input/textInputIconSize.d.ts +2 -1
- package/dist/Components/Input/textInputIconSize.d.ts.map +1 -0
- package/dist/Components/Input/textInputIconSize.js +5 -5
- package/dist/Components/InputTextArea/InputTextArea.d.ts +2 -2
- package/dist/Components/InputTextArea/InputTextArea.d.ts.map +1 -0
- package/dist/Components/InputTextArea/InputTextArea.js +7 -12
- package/dist/Components/InputTextArea/InputTextArea.style.d.ts +1 -0
- package/dist/Components/InputTextArea/InputTextArea.style.d.ts.map +1 -0
- package/dist/Components/InputTextArea/InputTextArea.style.js +12 -12
- package/dist/Components/InputTextArea/InputTextAreaProps.d.ts +2 -1
- package/dist/Components/InputTextArea/InputTextAreaProps.d.ts.map +1 -0
- package/dist/Components/KanbanBoard/AccountCard.d.ts +2 -1
- package/dist/Components/KanbanBoard/AccountCard.d.ts.map +1 -0
- package/dist/Components/KanbanBoard/AccountCard.js +16 -33
- package/dist/Components/KanbanBoard/AccountRow.d.ts +2 -2
- package/dist/Components/KanbanBoard/AccountRow.d.ts.map +1 -0
- package/dist/Components/KanbanBoard/AccountRow.js +8 -17
- package/dist/Components/KanbanBoard/KanbanActions/KanbanActions.d.ts +2 -2
- package/dist/Components/KanbanBoard/KanbanActions/KanbanActions.d.ts.map +1 -0
- package/dist/Components/KanbanBoard/KanbanActions/KanbanActions.js +11 -17
- package/dist/Components/KanbanBoard/KanbanBoard.d.ts +2 -2
- package/dist/Components/KanbanBoard/KanbanBoard.d.ts.map +1 -0
- package/dist/Components/KanbanBoard/KanbanBoard.js +215 -292
- package/dist/Components/KanbanBoard/KanbanBoardProps.d.ts +1 -0
- package/dist/Components/KanbanBoard/KanbanBoardProps.d.ts.map +1 -0
- package/dist/Components/KanbanBoard/MeasuredItem.d.ts +1 -0
- package/dist/Components/KanbanBoard/MeasuredItem.d.ts.map +1 -0
- package/dist/Components/KanbanBoard/MeasuredItem.js +17 -52
- package/dist/Components/LazyWrapper/LazyWrapper.d.ts +1 -0
- package/dist/Components/LazyWrapper/LazyWrapper.d.ts.map +1 -0
- package/dist/Components/LazyWrapper/LazyWrapper.js +9 -46
- package/dist/Components/Loading/Loading.d.ts +2 -2
- package/dist/Components/Loading/Loading.d.ts.map +1 -0
- package/dist/Components/Loading/Loading.js +20 -31
- package/dist/Components/Loading/Loading.stories.d.ts +1 -0
- package/dist/Components/Loading/Loading.stories.d.ts.map +1 -0
- package/dist/Components/Loading/LoadingProps.d.ts +1 -0
- package/dist/Components/Loading/LoadingProps.d.ts.map +1 -0
- package/dist/Components/Modal/Modal.d.ts +2 -1
- package/dist/Components/Modal/Modal.d.ts.map +1 -0
- package/dist/Components/Modal/Modal.js +23 -33
- package/dist/Components/Modal/Modal.stories.d.ts +1 -0
- package/dist/Components/Modal/Modal.stories.d.ts.map +1 -0
- package/dist/Components/Modal/ModalProps.d.ts +1 -0
- package/dist/Components/Modal/ModalProps.d.ts.map +1 -0
- package/dist/Components/MoreItems/MoreItems.d.ts +1 -0
- package/dist/Components/MoreItems/MoreItems.d.ts.map +1 -0
- package/dist/Components/MoreItems/MoreItems.js +13 -30
- package/dist/Components/MoreItems/MoreItemsProps.d.ts +1 -0
- package/dist/Components/MoreItems/MoreItemsProps.d.ts.map +1 -0
- package/dist/Components/MultiSelect/MultiSelect.d.ts +2 -2
- package/dist/Components/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/dist/Components/MultiSelect/MultiSelect.js +43 -99
- package/dist/Components/MultiSelect/MultiSelectProps.d.ts +2 -1
- package/dist/Components/MultiSelect/MultiSelectProps.d.ts.map +1 -0
- package/dist/Components/NavigationBar/NavBar.stories.d.ts +1 -0
- package/dist/Components/NavigationBar/NavBar.stories.d.ts.map +1 -0
- package/dist/Components/NavigationBar/NavigationBar.d.ts +2 -2
- package/dist/Components/NavigationBar/NavigationBar.d.ts.map +1 -0
- package/dist/Components/NavigationBar/NavigationBar.js +19 -55
- package/dist/Components/NavigationBar/NavigationBarProps.d.ts +6 -3
- package/dist/Components/NavigationBar/NavigationBarProps.d.ts.map +1 -0
- package/dist/Components/NoteTextArea/NoteTextArea.d.ts +2 -2
- package/dist/Components/NoteTextArea/NoteTextArea.d.ts.map +1 -0
- package/dist/Components/NoteTextArea/NoteTextArea.js +65 -149
- package/dist/Components/NoteTextArea/NoteTextAreaProps.d.ts +1 -0
- package/dist/Components/NoteTextArea/NoteTextAreaProps.d.ts.map +1 -0
- package/dist/Components/Notification/Notification.d.ts +2 -2
- package/dist/Components/Notification/Notification.d.ts.map +1 -0
- package/dist/Components/Notification/Notification.js +50 -116
- package/dist/Components/Notification/NotificationProps.d.ts +2 -0
- package/dist/Components/Notification/NotificationProps.d.ts.map +1 -0
- package/dist/Components/NumberInput/NumberInput.d.ts +2 -2
- package/dist/Components/NumberInput/NumberInput.d.ts.map +1 -0
- package/dist/Components/NumberInput/NumberInput.js +5 -37
- package/dist/Components/NumberInput/NumberInput.styles.d.ts +1 -0
- package/dist/Components/NumberInput/NumberInput.styles.d.ts.map +1 -0
- package/dist/Components/NumberInput/NumberInput.styles.js +12 -12
- package/dist/Components/NumberInput/NumberInputProps.d.ts +1 -0
- package/dist/Components/NumberInput/NumberInputProps.d.ts.map +1 -0
- package/dist/Components/OrgSwitcher/OrgSwitcher.d.ts +1 -0
- package/dist/Components/OrgSwitcher/OrgSwitcher.d.ts.map +1 -0
- package/dist/Components/OrgSwitcher/OrgSwitcher.js +32 -98
- package/dist/Components/OrgSwitcher/OrgSwitcherProps.d.ts +1 -0
- package/dist/Components/OrgSwitcher/OrgSwitcherProps.d.ts.map +1 -0
- package/dist/Components/OrgSwitcher/OrgSwitcherProps.js +5 -5
- package/dist/Components/OrganizationDetails/CreateOrgModal.d.ts +1 -0
- package/dist/Components/OrganizationDetails/CreateOrgModal.d.ts.map +1 -0
- package/dist/Components/OrganizationDetails/CreateOrgModal.js +21 -83
- package/dist/Components/OrganizationDetails/DeleteOrgModal.d.ts +1 -0
- package/dist/Components/OrganizationDetails/DeleteOrgModal.d.ts.map +1 -0
- package/dist/Components/OrganizationDetails/DeleteOrgModal.js +9 -22
- package/dist/Components/OrganizationDetails/OrganizationDetails.d.ts +1 -0
- package/dist/Components/OrganizationDetails/OrganizationDetails.d.ts.map +1 -0
- package/dist/Components/OrganizationDetails/OrganizationDetails.js +50 -201
- package/dist/Components/OrganizationDetails/OrganizationDetailsProps.d.ts +1 -0
- package/dist/Components/OrganizationDetails/OrganizationDetailsProps.d.ts.map +1 -0
- package/dist/Components/PdfViewer/PdfViewer.d.ts +1 -0
- package/dist/Components/PdfViewer/PdfViewer.d.ts.map +1 -0
- package/dist/Components/PdfViewer/PdfViewer.js +9 -22
- package/dist/Components/PinInput/PinInput.d.ts +2 -2
- package/dist/Components/PinInput/PinInput.d.ts.map +1 -0
- package/dist/Components/PinInput/PinInput.js +10 -17
- package/dist/Components/PinInput/PinInput.stories.d.ts +1 -0
- package/dist/Components/PinInput/PinInput.stories.d.ts.map +1 -0
- package/dist/Components/PinInput/PinInputProps.d.ts +1 -0
- package/dist/Components/PinInput/PinInputProps.d.ts.map +1 -0
- package/dist/Components/PinInputs/PinInputs.d.ts +2 -2
- package/dist/Components/PinInputs/PinInputs.d.ts.map +1 -0
- package/dist/Components/PinInputs/PinInputs.js +26 -71
- package/dist/Components/PinInputs/PinInputsProps.d.ts +1 -0
- package/dist/Components/PinInputs/PinInputsProps.d.ts.map +1 -0
- package/dist/Components/ProductCard/ProductCard.d.ts +2 -2
- package/dist/Components/ProductCard/ProductCard.d.ts.map +1 -0
- package/dist/Components/ProductCard/ProductCard.js +44 -96
- package/dist/Components/ProductCard/ProductCardProps.d.ts +1 -0
- package/dist/Components/ProductCard/ProductCardProps.d.ts.map +1 -0
- package/dist/Components/ProductCard/ProductLabel.d.ts +2 -2
- package/dist/Components/ProductCard/ProductLabel.d.ts.map +1 -0
- package/dist/Components/ProductCard/ProductLabel.js +6 -12
- package/dist/Components/ProductCard/ProductPrice.d.ts +2 -1
- package/dist/Components/ProductCard/ProductPrice.d.ts.map +1 -0
- package/dist/Components/ProductCard/ProductPrice.js +37 -101
- package/dist/Components/ProductCard/ProductReview.d.ts +2 -2
- package/dist/Components/ProductCard/ProductReview.d.ts.map +1 -0
- package/dist/Components/ProductCard/ProductReview.js +10 -28
- package/dist/Components/ProductCard/ProductTags.d.ts +2 -2
- package/dist/Components/ProductCard/ProductTags.d.ts.map +1 -0
- package/dist/Components/ProductCard/ProductTags.js +22 -23
- package/dist/Components/ProductDetails/ProductDetails.d.ts +2 -2
- package/dist/Components/ProductDetails/ProductDetails.d.ts.map +1 -0
- package/dist/Components/ProductDetails/ProductDetails.js +29 -48
- package/dist/Components/ProductDetails/ProductDetailsProps.d.ts +1 -1
- package/dist/Components/ProductDetails/ProductDetailsProps.d.ts.map +1 -0
- package/dist/Components/ProductDetails/ProductDtlPrice.d.ts +2 -2
- package/dist/Components/ProductDetails/ProductDtlPrice.d.ts.map +1 -0
- package/dist/Components/ProductDetails/ProductDtlPrice.js +15 -65
- package/dist/Components/ProductDetails/ProductImageSlider.d.ts +2 -2
- package/dist/Components/ProductDetails/ProductImageSlider.d.ts.map +1 -0
- package/dist/Components/ProductDetails/ProductImageSlider.js +133 -186
- package/dist/Components/ProfileCard/ProfileCard.d.ts +2 -1
- package/dist/Components/ProfileCard/ProfileCard.d.ts.map +1 -0
- package/dist/Components/ProfileCard/ProfileCard.js +28 -45
- package/dist/Components/ProfileCard/ProfileCard.stories.d.ts +1 -0
- package/dist/Components/ProfileCard/ProfileCard.stories.d.ts.map +1 -0
- package/dist/Components/ProfileCard/ProfileCardProps.d.ts +1 -0
- package/dist/Components/ProfileCard/ProfileCardProps.d.ts.map +1 -0
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.d.ts +2 -2
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.d.ts.map +1 -0
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.js +39 -93
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.stories.d.ts +1 -0
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.stories.d.ts.map +1 -0
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewerProps.d.ts +1 -0
- package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewerProps.d.ts.map +1 -0
- package/dist/Components/ProgressBar/ProgressBar.d.ts +2 -2
- package/dist/Components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/dist/Components/ProgressBar/ProgressBar.js +4 -8
- package/dist/Components/ProgressBar/ProgressBar.stories.d.ts +1 -0
- package/dist/Components/ProgressBar/ProgressBar.stories.d.ts.map +1 -0
- package/dist/Components/ProgressBar/ProgressBarProps.d.ts +1 -0
- package/dist/Components/ProgressBar/ProgressBarProps.d.ts.map +1 -0
- package/dist/Components/RadioButton/RadioButton.d.ts +3 -3
- package/dist/Components/RadioButton/RadioButton.d.ts.map +1 -0
- package/dist/Components/RadioButton/RadioButton.js +11 -18
- package/dist/Components/RadioButton/RadioButton.stories.d.ts +1 -0
- package/dist/Components/RadioButton/RadioButton.stories.d.ts.map +1 -0
- package/dist/Components/RadioButton/RadioButtonProps.d.ts +1 -0
- package/dist/Components/RadioButton/RadioButtonProps.d.ts.map +1 -0
- package/dist/Components/Reorder/Reorder.d.ts +1 -0
- package/dist/Components/Reorder/Reorder.d.ts.map +1 -0
- package/dist/Components/Reorder/Reorder.js +14 -42
- package/dist/Components/Reorder/ReorderProps.d.ts +1 -0
- package/dist/Components/Reorder/ReorderProps.d.ts.map +1 -0
- package/dist/Components/RolesPermission/DeleteRoleModal.d.ts +1 -0
- package/dist/Components/RolesPermission/DeleteRoleModal.d.ts.map +1 -0
- package/dist/Components/RolesPermission/DeleteRoleModal.js +9 -22
- package/dist/Components/RolesPermission/RolesPermission.d.ts +1 -0
- package/dist/Components/RolesPermission/RolesPermission.d.ts.map +1 -0
- package/dist/Components/RolesPermission/RolesPermission.js +49 -166
- package/dist/Components/RolesPermission/RolesPermissionProps.d.ts +1 -0
- package/dist/Components/RolesPermission/RolesPermissionProps.d.ts.map +1 -0
- package/dist/Components/ScrollToTop/ScrollToTop.d.ts +1 -0
- package/dist/Components/ScrollToTop/ScrollToTop.d.ts.map +1 -0
- package/dist/Components/ScrollToTop/ScrollToTop.js +31 -68
- package/dist/Components/Search/Search.d.ts +2 -2
- package/dist/Components/Search/Search.d.ts.map +1 -0
- package/dist/Components/Search/Search.js +14 -57
- package/dist/Components/Search/SearchProps.d.ts +1 -0
- package/dist/Components/Search/SearchProps.d.ts.map +1 -0
- package/dist/Components/SearchSelect/SearchSelect.d.ts +2 -2
- package/dist/Components/SearchSelect/SearchSelect.d.ts.map +1 -0
- package/dist/Components/SearchSelect/SearchSelect.js +180 -242
- package/dist/Components/SearchSelect/SearchSelectProps.d.ts +1 -0
- package/dist/Components/SearchSelect/SearchSelectProps.d.ts.map +1 -0
- package/dist/Components/SearchSelect/SelectTruncatedLabel.d.ts +2 -2
- package/dist/Components/SearchSelect/SelectTruncatedLabel.d.ts.map +1 -0
- package/dist/Components/SearchSelect/SelectTruncatedLabel.js +11 -44
- package/dist/Components/SearchSelect/searchSelectSize.d.ts +1 -0
- package/dist/Components/SearchSelect/searchSelectSize.d.ts.map +1 -0
- package/dist/Components/SearchSelect/searchSelectSize.js +1 -1
- package/dist/Components/Select/Select.d.ts +2 -2
- package/dist/Components/Select/Select.d.ts.map +1 -0
- package/dist/Components/Select/Select.js +17 -65
- package/dist/Components/Select/Select.stories.d.ts +1 -0
- package/dist/Components/Select/Select.stories.d.ts.map +1 -0
- package/dist/Components/Select/Select.styles.d.ts +1 -0
- package/dist/Components/Select/Select.styles.d.ts.map +1 -0
- package/dist/Components/Select/Select.styles.js +13 -13
- package/dist/Components/Select/SelectProps.d.ts +1 -0
- package/dist/Components/Select/SelectProps.d.ts.map +1 -0
- package/dist/Components/SelectSearch/SelectSearch.d.ts +2 -2
- package/dist/Components/SelectSearch/SelectSearch.d.ts.map +1 -0
- package/dist/Components/SelectSearch/SelectSearch.js +74 -147
- package/dist/Components/SelectSearch/SelectSearchProps.d.ts +2 -2
- package/dist/Components/SelectSearch/SelectSearchProps.d.ts.map +1 -0
- package/dist/Components/SideBar/SecondaryBar.d.ts +1 -0
- package/dist/Components/SideBar/SecondaryBar.d.ts.map +1 -0
- package/dist/Components/SideBar/SecondaryBar.js +28 -90
- package/dist/Components/SideBar/SideBar.d.ts +2 -2
- package/dist/Components/SideBar/SideBar.d.ts.map +1 -0
- package/dist/Components/SideBar/SideBar.js +42 -129
- package/dist/Components/SideBar/SideBarProps.d.ts +4 -2
- package/dist/Components/SideBar/SideBarProps.d.ts.map +1 -0
- package/dist/Components/SideBar/Sidebar.stories.d.ts +1 -0
- package/dist/Components/SideBar/Sidebar.stories.d.ts.map +1 -0
- package/dist/Components/SideBar/components/MenuItemBox.d.ts +1 -0
- package/dist/Components/SideBar/components/MenuItemBox.d.ts.map +1 -0
- package/dist/Components/SideBar/components/MenuItemBox.js +61 -84
- package/dist/Components/SideBar/components/MenuItems.d.ts +1 -0
- package/dist/Components/SideBar/components/MenuItems.d.ts.map +1 -0
- package/dist/Components/SideBar/components/MenuItems.js +41 -44
- package/dist/Components/SideBar/components/MenuPopoverContent.d.ts +1 -0
- package/dist/Components/SideBar/components/MenuPopoverContent.d.ts.map +1 -0
- package/dist/Components/SideBar/components/MenuPopoverContent.js +41 -48
- package/dist/Components/SideBar/components/OtherApps.d.ts +1 -0
- package/dist/Components/SideBar/components/OtherApps.d.ts.map +1 -0
- package/dist/Components/SideBar/components/OtherApps.js +11 -29
- package/dist/Components/SideBar/components/OverflowTooltipText.d.ts +1 -0
- package/dist/Components/SideBar/components/OverflowTooltipText.d.ts.map +1 -0
- package/dist/Components/SideBar/components/OverflowTooltipText.js +18 -76
- package/dist/Components/SideBar/components/TextTruncation.d.ts +1 -1
- package/dist/Components/SideBar/components/TextTruncation.d.ts.map +1 -0
- package/dist/Components/SideBar/components/TextTruncation.js +16 -74
- package/dist/Components/SignInActivityTable/SignInActivityTable.d.ts +1 -0
- package/dist/Components/SignInActivityTable/SignInActivityTable.d.ts.map +1 -0
- package/dist/Components/SignInActivityTable/SignInActivityTable.js +18 -75
- package/dist/Components/SignInActivityTable/SignInActivityTableProps.d.ts +1 -0
- package/dist/Components/SignInActivityTable/SignInActivityTableProps.d.ts.map +1 -0
- package/dist/Components/Skeletons/Skeleton.stories.d.ts +1 -0
- package/dist/Components/Skeletons/Skeleton.stories.d.ts.map +1 -0
- package/dist/Components/Skeletons/SkeletonProps.d.ts +1 -0
- package/dist/Components/Skeletons/SkeletonProps.d.ts.map +1 -0
- package/dist/Components/Skeletons/Skeletons.d.ts +2 -2
- package/dist/Components/Skeletons/Skeletons.d.ts.map +1 -0
- package/dist/Components/Skeletons/Skeletons.js +4 -11
- package/dist/Components/Slider/Slider.d.ts +3 -0
- package/dist/Components/Slider/Slider.d.ts.map +1 -0
- package/dist/Components/Slider/Slider.js +25 -71
- package/dist/Components/StageProgress/StageItem.d.ts +1 -0
- package/dist/Components/StageProgress/StageItem.d.ts.map +1 -0
- package/dist/Components/StageProgress/StageItem.js +37 -84
- package/dist/Components/StageProgress/StageProgress.d.ts +1 -0
- package/dist/Components/StageProgress/StageProgress.d.ts.map +1 -0
- package/dist/Components/StageProgress/StageProgress.js +19 -31
- package/dist/Components/StageProgress/StageProgressProps.d.ts +1 -0
- package/dist/Components/StageProgress/StageProgressProps.d.ts.map +1 -0
- package/dist/Components/StageProgress/StageProgressProps.js +6 -9
- package/dist/Components/StageProgress/StepperStage.d.ts +1 -0
- package/dist/Components/StageProgress/StepperStage.d.ts.map +1 -0
- package/dist/Components/StageProgress/StepperStage.js +24 -62
- package/dist/Components/Switch/Switch.d.ts +2 -2
- package/dist/Components/Switch/Switch.d.ts.map +1 -0
- package/dist/Components/Switch/Switch.js +8 -20
- package/dist/Components/Switch/SwitchProps.d.ts +1 -0
- package/dist/Components/Switch/SwitchProps.d.ts.map +1 -0
- package/dist/Components/Table/Table.d.ts +2 -2
- package/dist/Components/Table/Table.d.ts.map +1 -0
- package/dist/Components/Table/Table.js +231 -380
- package/dist/Components/Table/Table.stories.d.ts +1 -0
- package/dist/Components/Table/Table.stories.d.ts.map +1 -0
- package/dist/Components/Table/TableProps.d.ts +8 -7
- package/dist/Components/Table/TableProps.d.ts.map +1 -0
- package/dist/Components/Table/components/HeaderActions.d.ts +2 -2
- package/dist/Components/Table/components/HeaderActions.d.ts.map +1 -0
- package/dist/Components/Table/components/HeaderActions.js +34 -55
- package/dist/Components/Table/components/Pagination.d.ts +2 -1
- package/dist/Components/Table/components/Pagination.d.ts.map +1 -0
- package/dist/Components/Table/components/Pagination.js +15 -36
- package/dist/Components/Table/components/TableActions.d.ts +7 -6
- package/dist/Components/Table/components/TableActions.d.ts.map +1 -0
- package/dist/Components/Table/components/TableActions.js +31 -49
- package/dist/Components/Table/components/TableBody.d.ts +2 -6
- package/dist/Components/Table/components/TableBody.d.ts.map +1 -0
- package/dist/Components/Table/components/TableBody.js +174 -203
- package/dist/Components/Table/components/TableGroupRow.d.ts +1 -0
- package/dist/Components/Table/components/TableGroupRow.d.ts.map +1 -0
- package/dist/Components/Table/components/TableGroupRow.js +8 -20
- package/dist/Components/Table/components/TableHeader.d.ts +2 -1
- package/dist/Components/Table/components/TableHeader.d.ts.map +1 -0
- package/dist/Components/Table/components/TableHeader.js +59 -122
- package/dist/Components/Table/components/TableLoading.d.ts +3 -3
- package/dist/Components/Table/components/TableLoading.d.ts.map +1 -0
- package/dist/Components/Table/components/TableLoading.js +8 -34
- package/dist/Components/Table/components/TableSearch.d.ts +1 -0
- package/dist/Components/Table/components/TableSearch.d.ts.map +1 -0
- package/dist/Components/Table/components/TableSearch.js +18 -57
- package/dist/Components/Table/filterTypes.d.ts +5 -0
- package/dist/Components/Table/filterTypes.d.ts.map +1 -0
- package/dist/Components/Table/filterTypes.js +2 -0
- package/dist/Components/Table/filters/ActiveFilters.d.ts +1 -0
- package/dist/Components/Table/filters/ActiveFilters.d.ts.map +1 -0
- package/dist/Components/Table/filters/ActiveFilters.js +33 -64
- package/dist/Components/Table/filters/CompactSelect.d.ts +1 -0
- package/dist/Components/Table/filters/CompactSelect.d.ts.map +1 -0
- package/dist/Components/Table/filters/CompactSelect.js +15 -62
- package/dist/Components/Table/filters/LeftFilterPane.d.ts +11 -6
- package/dist/Components/Table/filters/LeftFilterPane.d.ts.map +1 -0
- package/dist/Components/Table/filters/LeftFilterPane.js +101 -163
- package/dist/Components/Table/filters/SelectOperationControls.d.ts +2 -2
- package/dist/Components/Table/filters/SelectOperationControls.d.ts.map +1 -0
- package/dist/Components/Table/filters/SelectOperationControls.js +4 -11
- package/dist/Components/Table/filters/TableFilters.d.ts +3 -3
- package/dist/Components/Table/filters/TableFilters.d.ts.map +1 -0
- package/dist/Components/Table/filters/TableFilters.js +22 -64
- package/dist/Components/Table/filters/TextOperationControls.d.ts +2 -2
- package/dist/Components/Table/filters/TextOperationControls.d.ts.map +1 -0
- package/dist/Components/Table/filters/TextOperationControls.js +5 -13
- package/dist/Components/Table/hooks/useDebounce.d.ts +2 -1
- package/dist/Components/Table/hooks/useDebounce.d.ts.map +1 -0
- package/dist/Components/Table/hooks/useDebounce.js +8 -12
- package/dist/Components/Table/hooks/useTable.d.ts +4 -3
- package/dist/Components/Table/hooks/useTable.d.ts.map +1 -0
- package/dist/Components/Table/hooks/useTable.js +110 -118
- package/dist/Components/Table/settings/ManageColumns.d.ts +2 -1
- package/dist/Components/Table/settings/ManageColumns.d.ts.map +1 -0
- package/dist/Components/Table/settings/ManageColumns.js +67 -133
- package/dist/Components/Table/settings/TableSettings.d.ts +2 -2
- package/dist/Components/Table/settings/TableSettings.d.ts.map +1 -0
- package/dist/Components/Table/settings/TableSettings.js +58 -141
- package/dist/Components/Tag/Tag.d.ts +1 -0
- package/dist/Components/Tag/Tag.d.ts.map +1 -0
- package/dist/Components/Tag/Tag.js +13 -19
- package/dist/Components/Tag/Tag.styles.d.ts +1 -0
- package/dist/Components/Tag/Tag.styles.d.ts.map +1 -0
- package/dist/Components/Tag/Tag.styles.js +9 -16
- package/dist/Components/Tag/TagProps.d.ts +1 -0
- package/dist/Components/Tag/TagProps.d.ts.map +1 -0
- package/dist/Components/Timeline/Timeline.d.ts +2 -2
- package/dist/Components/Timeline/Timeline.d.ts.map +1 -0
- package/dist/Components/Timeline/Timeline.js +86 -137
- package/dist/Components/Timeline/TimelineProps.d.ts +2 -1
- package/dist/Components/Timeline/TimelineProps.d.ts.map +1 -0
- package/dist/Components/Toaster/Toaster.d.ts +2 -2
- package/dist/Components/Toaster/Toaster.d.ts.map +1 -0
- package/dist/Components/Toaster/Toaster.js +44 -88
- package/dist/Components/Toaster/Toaster.stories.d.ts +1 -0
- package/dist/Components/Toaster/Toaster.stories.d.ts.map +1 -0
- package/dist/Components/Toaster/ToasterProps.d.ts +1 -0
- package/dist/Components/Toaster/ToasterProps.d.ts.map +1 -0
- package/dist/Components/Toggle/TableToggle.d.ts +1 -0
- package/dist/Components/Toggle/TableToggle.d.ts.map +1 -0
- package/dist/Components/Toggle/TableToggle.js +11 -27
- package/dist/Components/Toggle/TableToggleProps.d.ts +1 -0
- package/dist/Components/Toggle/TableToggleProps.d.ts.map +1 -0
- package/dist/Components/ToolTip/ToolTip.d.ts +2 -2
- package/dist/Components/ToolTip/ToolTip.d.ts.map +1 -0
- package/dist/Components/ToolTip/ToolTip.js +4 -8
- package/dist/Components/ToolTip/ToolTip.stories.d.ts +1 -0
- package/dist/Components/ToolTip/ToolTip.stories.d.ts.map +1 -0
- package/dist/Components/ToolTip/ToolTipProps.d.ts +1 -0
- package/dist/Components/ToolTip/ToolTipProps.d.ts.map +1 -0
- package/dist/Components/Trail/EditableCell.d.ts +2 -1
- package/dist/Components/Trail/EditableCell.d.ts.map +1 -0
- package/dist/Components/Trail/EditableCell.js +14 -64
- package/dist/Components/Trail/SelectAllCheckbox.d.ts +1 -0
- package/dist/Components/Trail/SelectAllCheckbox.d.ts.map +1 -0
- package/dist/Components/Trail/SelectAllCheckbox.js +4 -8
- package/dist/Components/Trail/TrailWorks.d.ts +2 -2
- package/dist/Components/Trail/TrailWorks.d.ts.map +1 -0
- package/dist/Components/Trail/TrailWorks.js +14 -27
- package/dist/Components/Trail/data.d.ts +2 -1
- package/dist/Components/Trail/data.d.ts.map +1 -0
- package/dist/Components/UpgradeButton/UpgradeButton.d.ts +1 -0
- package/dist/Components/UpgradeButton/UpgradeButton.d.ts.map +1 -0
- package/dist/Components/UpgradeButton/UpgradeButton.js +27 -42
- package/dist/Components/UpgradeButton/UpgradeButtonProps.d.ts +1 -0
- package/dist/Components/UpgradeButton/UpgradeButtonProps.d.ts.map +1 -0
- package/dist/Components/UserDetails/AddUserModal.d.ts +1 -0
- package/dist/Components/UserDetails/AddUserModal.d.ts.map +1 -0
- package/dist/Components/UserDetails/AddUserModal.js +57 -169
- package/dist/Components/UserDetails/ChangeRoleModal.d.ts +1 -0
- package/dist/Components/UserDetails/ChangeRoleModal.d.ts.map +1 -0
- package/dist/Components/UserDetails/ChangeRoleModal.js +45 -134
- package/dist/Components/UserDetails/DeactivateConfirmModal.d.ts +1 -0
- package/dist/Components/UserDetails/DeactivateConfirmModal.d.ts.map +1 -0
- package/dist/Components/UserDetails/DeactivateConfirmModal.js +9 -27
- package/dist/Components/UserDetails/UserDetails.d.ts +1 -0
- package/dist/Components/UserDetails/UserDetails.d.ts.map +1 -0
- package/dist/Components/UserDetails/UserDetails.js +57 -183
- package/dist/Components/UserDetails/UserDetailsProps.d.ts +1 -0
- package/dist/Components/UserDetails/UserDetailsProps.d.ts.map +1 -0
- package/dist/Constants/Sidebar.d.ts +6 -4
- package/dist/Constants/Sidebar.d.ts.map +1 -0
- package/dist/Constants/Sidebar.js +3 -3
- package/dist/Hooks/usePreferences.d.ts +4 -3
- package/dist/Hooks/usePreferences.d.ts.map +1 -0
- package/dist/Hooks/usePreferences.js +29 -35
- package/dist/Layout.d.ts.map +1 -0
- package/dist/Theme/Dark/theme.d.ts +1 -0
- package/dist/Theme/Dark/theme.d.ts.map +1 -0
- package/dist/Theme/Dark/theme.js +12 -18
- package/dist/Theme/Default/palette.d.ts +1 -0
- package/dist/Theme/Default/palette.d.ts.map +1 -0
- package/dist/Theme/Default/palette.js +56 -67
- package/dist/Theme/Default/theme.d.ts +1 -0
- package/dist/Theme/Default/theme.d.ts.map +1 -0
- package/dist/Theme/Default/theme.js +14 -18
- package/dist/Theme/Emerald/palette.d.ts +1 -0
- package/dist/Theme/Emerald/palette.d.ts.map +1 -0
- package/dist/Theme/Emerald/palette.js +22 -25
- package/dist/Theme/Emerald/theme.d.ts +1 -0
- package/dist/Theme/Emerald/theme.d.ts.map +1 -0
- package/dist/Theme/Emerald/theme.js +14 -18
- package/dist/Theme/Meadow/palette.d.ts +1 -0
- package/dist/Theme/Meadow/palette.d.ts.map +1 -0
- package/dist/Theme/Meadow/palette.js +26 -25
- package/dist/Theme/Meadow/theme.d.ts +1 -0
- package/dist/Theme/Meadow/theme.d.ts.map +1 -0
- package/dist/Theme/Meadow/theme.js +14 -18
- package/dist/Theme/Radiant/palette.d.ts +1 -0
- package/dist/Theme/Radiant/palette.d.ts.map +1 -0
- package/dist/Theme/Radiant/palette.js +22 -25
- package/dist/Theme/Radiant/theme.d.ts +1 -0
- package/dist/Theme/Radiant/theme.d.ts.map +1 -0
- package/dist/Theme/Radiant/theme.js +14 -18
- package/dist/Theme/Rosewood/palette.d.ts +1 -0
- package/dist/Theme/Rosewood/palette.d.ts.map +1 -0
- package/dist/Theme/Rosewood/palette.js +22 -25
- package/dist/Theme/Rosewood/theme.d.ts +1 -0
- package/dist/Theme/Rosewood/theme.d.ts.map +1 -0
- package/dist/Theme/Rosewood/theme.js +14 -18
- package/dist/Theme/Skyline/palette.d.ts +1 -0
- package/dist/Theme/Skyline/palette.d.ts.map +1 -0
- package/dist/Theme/Skyline/palette.js +26 -25
- package/dist/Theme/Skyline/theme.d.ts +1 -0
- package/dist/Theme/Skyline/theme.d.ts.map +1 -0
- package/dist/Theme/Skyline/theme.js +14 -18
- package/dist/Theme/Slate/palette.d.ts +1 -0
- package/dist/Theme/Slate/palette.d.ts.map +1 -0
- package/dist/Theme/Slate/palette.js +26 -25
- package/dist/Theme/Slate/theme.d.ts +1 -0
- package/dist/Theme/Slate/theme.d.ts.map +1 -0
- package/dist/Theme/Slate/theme.js +14 -18
- package/dist/Theme/buildBrandTokens.d.ts +1 -0
- package/dist/Theme/buildBrandTokens.d.ts.map +1 -0
- package/dist/Theme/buildBrandTokens.js +13 -13
- package/dist/Theme/chartColorsFromTheme.d.ts +1 -0
- package/dist/Theme/chartColorsFromTheme.d.ts.map +1 -0
- package/dist/Theme/chartColorsFromTheme.js +7 -12
- package/dist/Theme/common.d.ts +1 -0
- package/dist/Theme/common.d.ts.map +1 -0
- package/dist/Theme/common.js +26 -15
- package/dist/Theme/componentStyles.d.ts +1 -0
- package/dist/Theme/componentStyles.d.ts.map +1 -0
- package/dist/Theme/componentStyles.js +7 -7
- package/dist/Theme/fonts.d.ts +1 -0
- package/dist/Theme/fonts.d.ts.map +1 -0
- package/dist/Theme/fonts.js +1 -1
- package/dist/Theme/index.d.ts +1 -0
- package/dist/Theme/index.d.ts.map +1 -0
- package/dist/Theme/index.js +7 -7
- package/dist/Theme/space.d.ts +1 -0
- package/dist/Theme/space.d.ts.map +1 -0
- package/dist/Theme/space.js +1 -1
- package/dist/Theme/theme.d.ts +1 -0
- package/dist/Theme/theme.d.ts.map +1 -0
- package/dist/Theme/themeProps.d.ts +2 -1
- package/dist/Theme/themeProps.d.ts.map +1 -0
- package/dist/Theme/useCustomTheme.d.ts +1 -0
- package/dist/Theme/useCustomTheme.d.ts.map +1 -0
- package/dist/Theme/useCustomTheme.js +2 -2
- package/dist/Utils/functions.d.ts +1 -0
- package/dist/Utils/functions.d.ts.map +1 -0
- package/dist/Utils/functions.js +1 -1
- package/dist/Utils/table.d.ts +14 -12
- package/dist/Utils/table.d.ts.map +1 -0
- package/dist/Utils/table.js +92 -114
- package/dist/bootstrap.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +79 -79
- package/dist/services/feedback.d.ts +1 -0
- package/dist/services/feedback.d.ts.map +1 -0
- package/dist/services/feedback.js +13 -69
- package/dist/withTheme.d.ts +3 -1
- package/dist/withTheme.d.ts.map +1 -0
- package/dist/withTheme.js +7 -21
- package/eslint.config.js +48 -0
- package/package.json +32 -5
- package/dist/Components/CustomModulesTable/CustomModulesTable.test.d.ts +0 -1
- package/dist/Components/CustomModulesTable/CustomModulesTable.test.js +0 -84
- package/dist/Components/Dropdown/Dropdown.test.d.ts +0 -1
- package/dist/Components/Dropdown/Dropdown.test.js +0 -102
- package/dist/Components/Input/textInputIconSize.test.d.ts +0 -1
- package/dist/Components/Input/textInputIconSize.test.js +0 -27
- package/dist/Components/KanbanBoard/AccountCard.test.d.ts +0 -1
- package/dist/Components/KanbanBoard/AccountCard.test.js +0 -68
- package/dist/Components/KanbanBoard/KanbanActions/KanbanActions.test.d.ts +0 -1
- package/dist/Components/KanbanBoard/KanbanActions/KanbanActions.test.js +0 -49
- package/dist/Components/KanbanBoard/KanbanBoard.test.d.ts +0 -1
- package/dist/Components/KanbanBoard/KanbanBoard.test.js +0 -185
- package/dist/Components/OrganizationDetails/OrganizationDetails.test.d.ts +0 -1
- package/dist/Components/OrganizationDetails/OrganizationDetails.test.js +0 -122
- package/dist/Components/RolesPermission/RolesPermission.test.d.ts +0 -1
- package/dist/Components/RolesPermission/RolesPermission.test.js +0 -150
- package/dist/Components/SearchSelect/SearchSelect.dropdownPosition.test.d.ts +0 -1
- package/dist/Components/SearchSelect/SearchSelect.dropdownPosition.test.js +0 -195
- package/dist/Components/SearchSelect/SearchSelect.insideSelect.test.d.ts +0 -1
- package/dist/Components/SearchSelect/SearchSelect.insideSelect.test.js +0 -274
- package/dist/Components/SearchSelect/searchSelectSize.test.d.ts +0 -1
- package/dist/Components/SearchSelect/searchSelectSize.test.js +0 -22
- package/dist/Components/SideBar/components/OtherApps.test.d.ts +0 -1
- package/dist/Components/SideBar/components/OtherApps.test.js +0 -112
- package/dist/Components/SignInActivityTable/SignInActivityTable.test.d.ts +0 -1
- package/dist/Components/SignInActivityTable/SignInActivityTable.test.js +0 -63
- package/dist/Components/Table/components/TableBody.virtualize.test.d.ts +0 -1
- package/dist/Components/Table/components/TableBody.virtualize.test.js +0 -103
- package/dist/Components/Table/settings/ManageColumns.test.d.ts +0 -1
- package/dist/Components/Table/settings/ManageColumns.test.js +0 -147
- package/dist/Components/Tag/Tag.test.d.ts +0 -1
- package/dist/Components/Tag/Tag.test.js +0 -68
- package/dist/Components/UserDetails/UserDetails.test.d.ts +0 -1
- package/dist/Components/UserDetails/UserDetails.test.js +0 -129
- package/dist/Theme/buildBrandTokens.test.d.ts +0 -1
- package/dist/Theme/buildBrandTokens.test.js +0 -31
- package/dist/Theme/chartColorsFromTheme.test.d.ts +0 -1
- package/dist/Theme/chartColorsFromTheme.test.js +0 -35
- package/dist/Utils/tableNormalizeCellValue.test.d.ts +0 -1
- package/dist/Utils/tableNormalizeCellValue.test.js +0 -41
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
3
|
if (k2 === undefined) k2 = k;
|
|
15
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -43,147 +32,130 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
43
32
|
return result;
|
|
44
33
|
};
|
|
45
34
|
})();
|
|
46
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
47
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
48
|
-
if (ar || !(i in from)) {
|
|
49
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
50
|
-
ar[i] = from[i];
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
54
|
-
};
|
|
55
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
56
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
57
37
|
};
|
|
58
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
39
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
40
|
+
const react_1 = __importStar(require("react"));
|
|
41
|
+
const react_2 = require("@chakra-ui/react");
|
|
42
|
+
const dnd_1 = require("@hello-pangea/dnd");
|
|
43
|
+
const lucide_react_1 = require("lucide-react");
|
|
44
|
+
const react_window_1 = require("react-window");
|
|
45
|
+
const useCustomTheme_1 = require("../../Theme/useCustomTheme");
|
|
46
|
+
const usePreferences_1 = require("../../Hooks/usePreferences");
|
|
47
|
+
const AccountCard_1 = __importDefault(require("./AccountCard"));
|
|
48
|
+
const HeaderActions_1 = __importDefault(require("../Header/HeaderActions"));
|
|
49
|
+
const MeasuredItem_1 = __importDefault(require("./MeasuredItem"));
|
|
50
|
+
const OverflowTooltipText_1 = __importDefault(require("../SideBar/components/OverflowTooltipText"));
|
|
51
|
+
const Button_1 = __importDefault(require("../Button/Button"));
|
|
71
52
|
/** Narrow rail width when a column is horizontally collapsed. */
|
|
72
|
-
|
|
73
|
-
|
|
53
|
+
const COLLAPSED_KANBAN_COLUMN_WIDTH = "2.75rem";
|
|
54
|
+
const KANBAN_CARD_GAP = 12;
|
|
74
55
|
// Top buffer above the first card so its border + hover lift aren't clipped by the
|
|
75
56
|
// scroll/virtualized list's top edge.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
var account = items[index];
|
|
57
|
+
const KANBAN_LIST_TOP_PAD = 6;
|
|
58
|
+
const KanbanRow = react_1.default.memo(({ index, style, data }) => {
|
|
59
|
+
const { items, colId, canDrag, expanded, onDelete, onOpen, canDelete, setSize, toggleExpand } = data;
|
|
60
|
+
const account = items[index];
|
|
81
61
|
if (!account) {
|
|
82
|
-
return
|
|
62
|
+
return (0, jsx_runtime_1.jsx)("div", { style: style });
|
|
83
63
|
}
|
|
84
|
-
return (
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
var _a;
|
|
89
|
-
return (react_1.default.createElement("div", __assign({ ref: provided.innerRef }, provided.draggableProps, provided.dragHandleProps, { style: provided.draggableProps.style }), (account === null || account === void 0 ? void 0 : account.customNode) ? (_a = account === null || account === void 0 ? void 0 : account.customNode) === null || _a === void 0 ? void 0 : _a.call(account) : (react_1.default.createElement(AccountCard_1.default, { key: account.id, account: account, index: index, onDelete: onDelete, onOpen: onOpen, isExpanded: expanded[account.id], onToggleExpand: function () {
|
|
90
|
-
return toggleExpand(account.id, colId, index);
|
|
91
|
-
}, isDeletable: canDelete }))));
|
|
92
|
-
})))));
|
|
64
|
+
return ((0, jsx_runtime_1.jsx)("div", { style: style, children: (0, jsx_runtime_1.jsx)("div", { style: { paddingBottom: KANBAN_CARD_GAP, paddingTop: index === 0 ? KANBAN_LIST_TOP_PAD : 0 }, children: (0, jsx_runtime_1.jsx)(MeasuredItem_1.default, { index: index, setSize: (i, h) => setSize(i, h, colId), children: (0, jsx_runtime_1.jsx)(dnd_1.Draggable, { draggableId: account.id.toString(), index: index, isDragDisabled: !canDrag, children: (provided) => {
|
|
65
|
+
var _a;
|
|
66
|
+
return ((0, jsx_runtime_1.jsx)("div", { ref: provided.innerRef, ...provided.draggableProps, ...provided.dragHandleProps, style: provided.draggableProps.style, children: (account === null || account === void 0 ? void 0 : account.customNode) ? (_a = account === null || account === void 0 ? void 0 : account.customNode) === null || _a === void 0 ? void 0 : _a.call(account) : ((0, jsx_runtime_1.jsx)(AccountCard_1.default, { account: account, index: index, onDelete: onDelete, onOpen: onOpen, isExpanded: expanded[account.id], onToggleExpand: () => toggleExpand(account.id, colId, index), isDeletable: canDelete }, account.id)) }));
|
|
67
|
+
} }, account.id) }) }) }));
|
|
93
68
|
});
|
|
94
|
-
|
|
95
|
-
var
|
|
96
|
-
|
|
97
|
-
return (react_1.default.createElement(react_2.Box, null,
|
|
98
|
-
react_1.default.createElement(react_2.Flex, { flexDirection: "column", alignItems: "center", justifyContent: "center", gap: 2 },
|
|
99
|
-
react_1.default.createElement(react_2.Text, { fontSize: "sm", color: (_b = colors === null || colors === void 0 ? void 0 : colors.text) === null || _b === void 0 ? void 0 : _b[600], textAlign: "center", mt: 4 }, (noItems === null || noItems === void 0 ? void 0 : noItems.text) || "No items in this column"),
|
|
100
|
-
!(noItems === null || noItems === void 0 ? void 0 : noItems.isEmptyTextOnly) && (react_1.default.createElement(Button_1.default, { onClick: function () { var _a; return (_a = noItems === null || noItems === void 0 ? void 0 : noItems.onClick) === null || _a === void 0 ? void 0 : _a.call(noItems, column); }, size: "xs" }, (noItems === null || noItems === void 0 ? void 0 : noItems.buttonText) || "Add Item")))));
|
|
69
|
+
const NoItemsTemplate = react_1.default.memo(({ column, noItems, colors }) => {
|
|
70
|
+
var _a;
|
|
71
|
+
return ((0, jsx_runtime_1.jsx)(react_2.Box, { children: (0, jsx_runtime_1.jsxs)(react_2.Flex, { flexDirection: "column", alignItems: "center", justifyContent: "center", gap: 2, children: [(0, jsx_runtime_1.jsx)(react_2.Text, { fontSize: "sm", color: (_a = colors === null || colors === void 0 ? void 0 : colors.text) === null || _a === void 0 ? void 0 : _a[600], textAlign: "center", mt: 4, children: (noItems === null || noItems === void 0 ? void 0 : noItems.text) || "No items in this column" }), !(noItems === null || noItems === void 0 ? void 0 : noItems.isEmptyTextOnly) && ((0, jsx_runtime_1.jsx)(Button_1.default, { onClick: () => { var _a; return (_a = noItems === null || noItems === void 0 ? void 0 : noItems.onClick) === null || _a === void 0 ? void 0 : _a.call(noItems, column); }, size: "xs", children: (noItems === null || noItems === void 0 ? void 0 : noItems.buttonText) || "Add Item" }))] }) }));
|
|
101
72
|
});
|
|
102
73
|
function reorderColumnEntries(entries, startIndex, endIndex) {
|
|
103
|
-
|
|
104
|
-
|
|
74
|
+
const result = Array.from(entries);
|
|
75
|
+
const [removed] = result.splice(startIndex, 1);
|
|
105
76
|
result.splice(endIndex, 0, removed);
|
|
106
77
|
return result;
|
|
107
78
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
var _y = (0, usePreferences_1.useGetPreferences)({
|
|
79
|
+
const KanbanBoard = ({ data, customColumns, customizeColumn, onDrag, onDelete, onOpen, onColumnDelete, isLoading = false, kanbanSelect, kanbanEdit, kanbanCreate, virtualization, permissions, noItems, enableColumnCollapse = false, collapsedColumns: defaultCollapsedColumns, onColumnCollapseChange, enableColumnReorder = false, onColumnReorder, preferences = {
|
|
80
|
+
baseurl: "",
|
|
81
|
+
token: "",
|
|
82
|
+
key: "",
|
|
83
|
+
name: "",
|
|
84
|
+
page: "",
|
|
85
|
+
orgId: "",
|
|
86
|
+
}, }) => {
|
|
87
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
88
|
+
const { colors } = (0, useCustomTheme_1.useCustomTheme)();
|
|
89
|
+
const canDrag = (permissions === null || permissions === void 0 ? void 0 : permissions.isEditable) !== false;
|
|
90
|
+
const canDelete = (permissions === null || permissions === void 0 ? void 0 : permissions.isDeletable) !== false;
|
|
91
|
+
const canCreate = (permissions === null || permissions === void 0 ? void 0 : permissions.isCreatable) !== false;
|
|
92
|
+
const canView = (permissions === null || permissions === void 0 ? void 0 : permissions.isViewable) !== false;
|
|
93
|
+
const mergedColumns = (0, react_1.useMemo)(() => ({ ...data, ...(customColumns !== null && customColumns !== void 0 ? customColumns : {}) }), [data, customColumns]);
|
|
94
|
+
const { preferences: kanbanPreferencesData, loading: preferencesLoading } = (0, usePreferences_1.useGetPreferences)({
|
|
125
95
|
baseUrl: preferences.baseurl,
|
|
126
96
|
page: preferences.page,
|
|
127
97
|
key: preferences.key,
|
|
128
98
|
name: preferences.name,
|
|
129
99
|
authToken: preferences.token,
|
|
130
100
|
orgId: preferences.orgId,
|
|
131
|
-
})
|
|
132
|
-
|
|
101
|
+
});
|
|
102
|
+
const { savePreferences } = (0, usePreferences_1.useSavePreferences)({
|
|
133
103
|
baseUrl: preferences.baseurl,
|
|
134
104
|
page: preferences.page,
|
|
135
105
|
key: preferences.key,
|
|
136
106
|
name: preferences.name,
|
|
137
107
|
authToken: preferences.token,
|
|
138
108
|
orgId: preferences.orgId,
|
|
139
|
-
})
|
|
140
|
-
|
|
109
|
+
});
|
|
110
|
+
const kanbanPreferencesJson = (0, react_1.useMemo)(() => {
|
|
141
111
|
if (kanbanPreferencesData === null || kanbanPreferencesData === void 0 ? void 0 : kanbanPreferencesData.length) {
|
|
142
112
|
return kanbanPreferencesData[0].json;
|
|
143
113
|
}
|
|
144
114
|
return {};
|
|
145
115
|
}, [kanbanPreferencesData]);
|
|
146
|
-
|
|
116
|
+
const kanbanPreferencesJsonRef = (0, react_1.useRef)(kanbanPreferencesJson);
|
|
147
117
|
kanbanPreferencesJsonRef.current = kanbanPreferencesJson;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
(0, react_1.useEffect)(
|
|
118
|
+
const isBoardLoading = isLoading || (Boolean(preferences.baseurl) && preferencesLoading);
|
|
119
|
+
const [columns, setColumns] = (0, react_1.useState)(mergedColumns);
|
|
120
|
+
const [containerHeight, setContainerHeight] = (0, react_1.useState)(600);
|
|
121
|
+
const [hoveredColumn, setHoveredColumn] = (0, react_1.useState)(null);
|
|
122
|
+
(0, react_1.useEffect)(() => {
|
|
153
123
|
setColumns(mergedColumns);
|
|
154
124
|
}, [mergedColumns]);
|
|
155
125
|
// Responsive column width
|
|
156
|
-
|
|
126
|
+
const columnWidth = (0, react_2.useBreakpointValue)({
|
|
157
127
|
base: "16rem",
|
|
158
128
|
md: "17.5rem",
|
|
159
129
|
lg: "19rem",
|
|
160
130
|
});
|
|
161
131
|
// track expanded cards
|
|
162
|
-
|
|
132
|
+
const [expanded, setExpanded] = (0, react_1.useState)({});
|
|
163
133
|
/** When true, column id maps to collapsed (body hidden). */
|
|
164
|
-
|
|
165
|
-
(0, react_1.useEffect)(
|
|
134
|
+
const [collapsedColumns, setCollapsedColumns] = (0, react_1.useState)(() => ({ ...defaultCollapsedColumns }));
|
|
135
|
+
(0, react_1.useEffect)(() => {
|
|
166
136
|
if (!enableColumnCollapse || !preferences.baseurl || preferencesLoading) {
|
|
167
137
|
return;
|
|
168
138
|
}
|
|
169
139
|
if (!("collapsedColumns" in kanbanPreferencesJson)) {
|
|
170
140
|
return;
|
|
171
141
|
}
|
|
172
|
-
|
|
142
|
+
const saved = kanbanPreferencesJson.collapsedColumns;
|
|
173
143
|
if (saved === null ||
|
|
174
144
|
typeof saved !== "object" ||
|
|
175
145
|
Array.isArray(saved)) {
|
|
176
146
|
return;
|
|
177
147
|
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
for (
|
|
181
|
-
var _b = _a[_i], k = _b[0], v = _b[1];
|
|
148
|
+
const validIds = new Set(Object.keys(mergedColumns));
|
|
149
|
+
const next = {};
|
|
150
|
+
for (const [k, v] of Object.entries(saved)) {
|
|
182
151
|
if (validIds.has(k) && typeof v === "boolean") {
|
|
183
152
|
next[k] = v;
|
|
184
153
|
}
|
|
185
154
|
}
|
|
186
|
-
setCollapsedColumns(
|
|
155
|
+
setCollapsedColumns({
|
|
156
|
+
...defaultCollapsedColumns,
|
|
157
|
+
...next,
|
|
158
|
+
});
|
|
187
159
|
}, [
|
|
188
160
|
enableColumnCollapse,
|
|
189
161
|
preferences.baseurl,
|
|
@@ -192,18 +164,20 @@ var KanbanBoard = function (_a) {
|
|
|
192
164
|
mergedColumns,
|
|
193
165
|
defaultCollapsedColumns,
|
|
194
166
|
]);
|
|
195
|
-
|
|
196
|
-
setCollapsedColumns(
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
var next = __assign(__assign({}, prev), (_a = {}, _a[colId] = collapsed, _a));
|
|
167
|
+
const toggleColumnCollapsed = (0, react_1.useCallback)((colId) => {
|
|
168
|
+
setCollapsedColumns((prev) => {
|
|
169
|
+
const collapsed = !prev[colId];
|
|
170
|
+
const next = { ...prev, [colId]: collapsed };
|
|
200
171
|
onColumnCollapseChange === null || onColumnCollapseChange === void 0 ? void 0 : onColumnCollapseChange({
|
|
201
|
-
colId
|
|
202
|
-
collapsed
|
|
172
|
+
colId,
|
|
173
|
+
collapsed,
|
|
203
174
|
collapsedColumns: next,
|
|
204
175
|
});
|
|
205
176
|
if (preferences.baseurl && enableColumnCollapse) {
|
|
206
|
-
savePreferences(
|
|
177
|
+
savePreferences({
|
|
178
|
+
...kanbanPreferencesJsonRef.current,
|
|
179
|
+
collapsedColumns: next,
|
|
180
|
+
});
|
|
207
181
|
}
|
|
208
182
|
return next;
|
|
209
183
|
});
|
|
@@ -214,33 +188,31 @@ var KanbanBoard = function (_a) {
|
|
|
214
188
|
savePreferences,
|
|
215
189
|
]);
|
|
216
190
|
/** Rotated collapsed summaries paint outside layout; reserve space so they are not clipped under the rail header. */
|
|
217
|
-
|
|
191
|
+
const COLLAPSED_CUSTOM_NODE_TOP_RESERVE = "3.5rem";
|
|
218
192
|
// ref for lists
|
|
219
|
-
|
|
220
|
-
|
|
193
|
+
const listRefs = (0, react_1.useRef)({});
|
|
194
|
+
const containerRef = (0, react_1.useRef)(null);
|
|
221
195
|
// store measured heights
|
|
222
|
-
|
|
223
|
-
|
|
196
|
+
const [sizes, setSizes] = (0, react_1.useState)({});
|
|
197
|
+
const hasMountedSizes = (0, react_1.useRef)(false);
|
|
224
198
|
// Prune stale size entries when columns change (skip first render)
|
|
225
|
-
(0, react_1.useEffect)(
|
|
199
|
+
(0, react_1.useEffect)(() => {
|
|
226
200
|
if (!hasMountedSizes.current) {
|
|
227
201
|
hasMountedSizes.current = true;
|
|
228
202
|
return;
|
|
229
203
|
}
|
|
230
|
-
setSizes(
|
|
204
|
+
setSizes((prev) => {
|
|
231
205
|
if (Object.keys(prev).length === 0)
|
|
232
206
|
return prev;
|
|
233
|
-
|
|
234
|
-
for (
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
validKeys.add("".concat(colId, "-").concat(i));
|
|
207
|
+
const validKeys = new Set();
|
|
208
|
+
for (const [colId, col] of Object.entries(columns)) {
|
|
209
|
+
for (let i = 0; i < col.items.length; i++) {
|
|
210
|
+
validKeys.add(`${colId}-${i}`);
|
|
238
211
|
}
|
|
239
212
|
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
for (
|
|
243
|
-
var key = _d[_c];
|
|
213
|
+
const pruned = {};
|
|
214
|
+
let changed = false;
|
|
215
|
+
for (const key of Object.keys(prev)) {
|
|
244
216
|
if (validKeys.has(key)) {
|
|
245
217
|
pruned[key] = prev[key];
|
|
246
218
|
}
|
|
@@ -252,45 +224,43 @@ var KanbanBoard = function (_a) {
|
|
|
252
224
|
});
|
|
253
225
|
}, [columns]);
|
|
254
226
|
// AccountCard's minHeight floor — kept tight so unmeasured rows don't reserve excess space; KANBAN_CARD_GAP is added below.
|
|
255
|
-
|
|
227
|
+
const DEFAULT_ITEM_HEIGHT = 80;
|
|
256
228
|
// update height for an item
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
setSizes(
|
|
260
|
-
var _a;
|
|
229
|
+
const setSize = (0, react_1.useCallback)((index, size, colId) => {
|
|
230
|
+
const key = `${colId}-${index}`;
|
|
231
|
+
setSizes((prev) => {
|
|
261
232
|
if (prev[key] === size)
|
|
262
233
|
return prev;
|
|
263
|
-
return
|
|
234
|
+
return { ...prev, [key]: size };
|
|
264
235
|
});
|
|
265
236
|
// Only recompute from the row that changed downward (cheaper than resetting all).
|
|
266
237
|
if (listRefs.current[colId]) {
|
|
267
238
|
listRefs.current[colId].resetAfterIndex(index);
|
|
268
239
|
}
|
|
269
240
|
}, []);
|
|
270
|
-
|
|
271
|
-
|
|
241
|
+
const getItemSize = (0, react_1.useCallback)((index, _items, colId) => {
|
|
242
|
+
const key = `${colId}-${index}`;
|
|
272
243
|
return (sizes[key] || DEFAULT_ITEM_HEIGHT) + KANBAN_CARD_GAP + (index === 0 ? KANBAN_LIST_TOP_PAD : 0);
|
|
273
244
|
}, [sizes]);
|
|
274
245
|
// Calculate container height
|
|
275
|
-
(0, react_1.useEffect)(
|
|
276
|
-
|
|
246
|
+
(0, react_1.useEffect)(() => {
|
|
247
|
+
const calculateDimensions = () => {
|
|
277
248
|
if (containerRef.current) {
|
|
278
|
-
|
|
249
|
+
const availableHeight = window.innerHeight - 100;
|
|
279
250
|
setContainerHeight(Math.max(500, availableHeight));
|
|
280
251
|
}
|
|
281
252
|
};
|
|
282
253
|
calculateDimensions();
|
|
283
254
|
window.addEventListener("resize", calculateDimensions);
|
|
284
|
-
return
|
|
255
|
+
return () => {
|
|
285
256
|
window.removeEventListener("resize", calculateDimensions);
|
|
286
257
|
};
|
|
287
258
|
}, [isBoardLoading]);
|
|
288
259
|
// toggle expand/collapse — memoized so it doesn't bust `rowBaseProps`/itemData
|
|
289
260
|
// every render (which would re-render every virtualized row).
|
|
290
|
-
|
|
291
|
-
setExpanded(
|
|
292
|
-
|
|
293
|
-
var newExpanded = __assign(__assign({}, prev), (_a = {}, _a[id] = !prev[id], _a));
|
|
261
|
+
const toggleExpand = (0, react_1.useCallback)((id, colId, index) => {
|
|
262
|
+
setExpanded((prev) => {
|
|
263
|
+
const newExpanded = { ...prev, [id]: !prev[id] };
|
|
294
264
|
if (listRefs.current[colId]) {
|
|
295
265
|
listRefs.current[colId].resetAfterIndex(index);
|
|
296
266
|
}
|
|
@@ -298,31 +268,33 @@ var KanbanBoard = function (_a) {
|
|
|
298
268
|
});
|
|
299
269
|
}, []);
|
|
300
270
|
// drag handler
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
var source = result.source, destination = result.destination, type = result.type;
|
|
271
|
+
const onDragEnd = (0, react_1.useCallback)((result) => {
|
|
272
|
+
const { source, destination, type } = result;
|
|
304
273
|
if (!destination)
|
|
305
274
|
return;
|
|
306
275
|
if (type === "COLUMN") {
|
|
307
276
|
if (source.index === destination.index)
|
|
308
277
|
return;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
278
|
+
const entries = Object.entries(columns);
|
|
279
|
+
const reordered = reorderColumnEntries(entries, source.index, destination.index);
|
|
280
|
+
const nextColumns = Object.fromEntries(reordered);
|
|
312
281
|
setColumns(nextColumns);
|
|
313
282
|
onColumnReorder === null || onColumnReorder === void 0 ? void 0 : onColumnReorder(nextColumns);
|
|
314
283
|
return;
|
|
315
284
|
}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
285
|
+
const sourceCol = columns[source.droppableId];
|
|
286
|
+
const destCol = columns[destination.droppableId];
|
|
287
|
+
const draggedItem = sourceCol === null || sourceCol === void 0 ? void 0 : sourceCol.items[source.index];
|
|
319
288
|
if (!draggedItem || !sourceCol || !destCol)
|
|
320
289
|
return;
|
|
321
290
|
if (source.droppableId === destination.droppableId) {
|
|
322
|
-
|
|
291
|
+
const copiedItems = [...sourceCol.items];
|
|
323
292
|
copiedItems.splice(source.index, 1);
|
|
324
293
|
copiedItems.splice(destination.index, 0, draggedItem);
|
|
325
|
-
|
|
294
|
+
const nextColumns = {
|
|
295
|
+
...columns,
|
|
296
|
+
[source.droppableId]: { ...sourceCol, items: copiedItems },
|
|
297
|
+
};
|
|
326
298
|
setColumns(nextColumns);
|
|
327
299
|
onDrag === null || onDrag === void 0 ? void 0 : onDrag({
|
|
328
300
|
from: source.droppableId,
|
|
@@ -334,11 +306,15 @@ var KanbanBoard = function (_a) {
|
|
|
334
306
|
});
|
|
335
307
|
}
|
|
336
308
|
else {
|
|
337
|
-
|
|
338
|
-
|
|
309
|
+
const sourceItems = [...sourceCol.items];
|
|
310
|
+
const destItems = [...destCol.items];
|
|
339
311
|
sourceItems.splice(source.index, 1);
|
|
340
312
|
destItems.splice(destination.index, 0, draggedItem);
|
|
341
|
-
|
|
313
|
+
const nextColumns = {
|
|
314
|
+
...columns,
|
|
315
|
+
[source.droppableId]: { ...sourceCol, items: sourceItems },
|
|
316
|
+
[destination.droppableId]: { ...destCol, items: destItems },
|
|
317
|
+
};
|
|
342
318
|
setColumns(nextColumns);
|
|
343
319
|
onDrag === null || onDrag === void 0 ? void 0 : onDrag({
|
|
344
320
|
from: source.droppableId,
|
|
@@ -350,179 +326,126 @@ var KanbanBoard = function (_a) {
|
|
|
350
326
|
});
|
|
351
327
|
}
|
|
352
328
|
}, [columns, onDrag, onColumnReorder]);
|
|
353
|
-
|
|
329
|
+
const handleColumnDelete = (0, react_1.useCallback)((colId) => {
|
|
354
330
|
var _a, _b;
|
|
355
|
-
|
|
331
|
+
const columnIds = ((_b = (_a = columns[colId]) === null || _a === void 0 ? void 0 : _a.items) === null || _b === void 0 ? void 0 : _b.map((item) => item.id)) || [];
|
|
356
332
|
onColumnDelete === null || onColumnDelete === void 0 ? void 0 : onColumnDelete(columnIds);
|
|
357
333
|
}, [columns, onColumnDelete]);
|
|
358
|
-
|
|
359
|
-
canDrag
|
|
360
|
-
expanded
|
|
361
|
-
onDelete
|
|
362
|
-
onOpen
|
|
363
|
-
canDelete
|
|
364
|
-
setSize
|
|
365
|
-
toggleExpand
|
|
366
|
-
})
|
|
334
|
+
const rowBaseProps = (0, react_1.useMemo)(() => ({
|
|
335
|
+
canDrag,
|
|
336
|
+
expanded,
|
|
337
|
+
onDelete,
|
|
338
|
+
onOpen,
|
|
339
|
+
canDelete,
|
|
340
|
+
setSize,
|
|
341
|
+
toggleExpand,
|
|
342
|
+
}), [canDrag, expanded, onDelete, onOpen, canDelete, setSize, toggleExpand]);
|
|
367
343
|
// Stable per-column itemData so unrelated board re-renders (e.g. column hover)
|
|
368
344
|
// don't change the reference react-window hands to every row → no row re-renders.
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
for (
|
|
372
|
-
|
|
373
|
-
map[colId] = __assign(__assign({}, rowBaseProps), { items: column.items, colId: colId });
|
|
345
|
+
const itemDataByCol = (0, react_1.useMemo)(() => {
|
|
346
|
+
const map = {};
|
|
347
|
+
for (const [colId, column] of Object.entries(columns)) {
|
|
348
|
+
map[colId] = { ...rowBaseProps, items: column.items, colId };
|
|
374
349
|
}
|
|
375
350
|
return map;
|
|
376
351
|
}, [columns, rowBaseProps]);
|
|
377
|
-
|
|
352
|
+
const renderColumnDroppable = (colId, column, columnDragHandleProps, isColCollapsed) => ((0, jsx_runtime_1.jsx)(dnd_1.Droppable, { droppableId: colId, mode: virtualization ? "virtual" : "standard", renderClone: (provided, _snapshot, rubric) => {
|
|
378
353
|
var _a;
|
|
379
|
-
|
|
380
|
-
return (
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
marginBottom: "4px",
|
|
436
|
-
},
|
|
437
|
-
"&::-webkit-scrollbar-thumb": {
|
|
438
|
-
background: "gray.300",
|
|
439
|
-
borderRadius: "3px",
|
|
440
|
-
border: "1px solid",
|
|
441
|
-
borderColor: "gray.100",
|
|
442
|
-
},
|
|
443
|
-
"&::-webkit-scrollbar-thumb:hover": {
|
|
444
|
-
background: "gray.400",
|
|
445
|
-
},
|
|
446
|
-
"&": {
|
|
447
|
-
scrollbarGutter: "stable both-edges",
|
|
448
|
-
},
|
|
449
|
-
cursor: canDrag ? "grab" : "not-allowed",
|
|
450
|
-
} },
|
|
451
|
-
(noItems === null || noItems === void 0 ? void 0 : noItems.isVisible) && column.items.length === 0 && (react_1.default.createElement(NoItemsTemplate, { column: column, noItems: noItems, colors: colors })),
|
|
452
|
-
virtualization ? (react_1.default.createElement(react_window_1.VariableSizeList, { ref: function (el) {
|
|
453
|
-
if (el)
|
|
454
|
-
listRefs.current[colId] = el;
|
|
455
|
-
}, height: containerHeight - 150, itemCount: column.items.length +
|
|
456
|
-
(snapshot.isUsingPlaceholder ? 1 : 0), itemSize: function (index) {
|
|
457
|
-
return getItemSize(index, column.items, colId);
|
|
458
|
-
}, width: "100%", itemData: itemDataByCol[colId] }, KanbanRow)) : (react_1.default.createElement(react_2.Box, null,
|
|
459
|
-
column.items.map(function (account, index) { return (react_1.default.createElement("div", { key: account.id, style: { paddingBottom: KANBAN_CARD_GAP, paddingTop: index === 0 ? KANBAN_LIST_TOP_PAD : 0 } },
|
|
460
|
-
react_1.default.createElement(dnd_1.Draggable, { draggableId: account.id.toString(), index: index, key: account.id, isDragDisabled: !canDrag }, function (dragProvided) {
|
|
461
|
-
var _a;
|
|
462
|
-
return (react_1.default.createElement("div", __assign({ ref: dragProvided.innerRef }, dragProvided.draggableProps, dragProvided.dragHandleProps, { style: dragProvided.draggableProps.style }), (account === null || account === void 0 ? void 0 : account.customNode) ? (_a = account === null || account === void 0 ? void 0 : account.customNode) === null || _a === void 0 ? void 0 : _a.call(account) : (react_1.default.createElement(AccountCard_1.default, { account: account, index: index, onDelete: onDelete, onOpen: onOpen, isExpanded: expanded[account.id], onToggleExpand: function () {
|
|
463
|
-
return toggleExpand(account.id, colId, index);
|
|
464
|
-
}, isDeletable: canDelete }))));
|
|
465
|
-
}))); }),
|
|
466
|
-
provided.placeholder))))));
|
|
467
|
-
})); };
|
|
354
|
+
const item = column.items[rubric.source.index];
|
|
355
|
+
return ((0, jsx_runtime_1.jsx)("div", { ref: provided.innerRef, ...provided.draggableProps, ...provided.dragHandleProps, style: {
|
|
356
|
+
...provided.draggableProps.style,
|
|
357
|
+
width: columnWidth,
|
|
358
|
+
paddingBottom: KANBAN_CARD_GAP,
|
|
359
|
+
}, children: (item === null || item === void 0 ? void 0 : item.customNode) ? (_a = item === null || item === void 0 ? void 0 : item.customNode) === null || _a === void 0 ? void 0 : _a.call(item) : ((0, jsx_runtime_1.jsx)(AccountCard_1.default, { account: item, index: rubric.source.index, onDelete: onDelete, onOpen: onOpen, isExpanded: expanded[item.id], onToggleExpand: () => toggleExpand(item.id, colId, rubric.source.index), isDeletable: canDelete }, item.id)) }));
|
|
360
|
+
}, children: (provided, snapshot) => {
|
|
361
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10;
|
|
362
|
+
return ((0, jsx_runtime_1.jsxs)(react_2.Box, { ref: provided.innerRef, ...provided.droppableProps, width: isColCollapsed ? COLLAPSED_KANBAN_COLUMN_WIDTH : columnWidth, borderRadius: "0.75rem", background: snapshot.isDraggingOver
|
|
363
|
+
? (_a = colors === null || colors === void 0 ? void 0 : colors.primary) === null || _a === void 0 ? void 0 : _a[50]
|
|
364
|
+
: (_b = colors === null || colors === void 0 ? void 0 : colors.background) === null || _b === void 0 ? void 0 : _b[100], border: `0.063rem ${snapshot.isDraggingOver ? "dashed" : "solid"} ${snapshot.isDraggingOver
|
|
365
|
+
? (_c = colors === null || colors === void 0 ? void 0 : colors.primary) === null || _c === void 0 ? void 0 : _c[300]
|
|
366
|
+
: (_e = (_d = colors === null || colors === void 0 ? void 0 : colors.boxborder) === null || _d === void 0 ? void 0 : _d[200]) !== null && _e !== void 0 ? _e : (_f = colors.gray) === null || _f === void 0 ? void 0 : _f[200]}`, transition: "background 0.15s ease, border-color 0.15s ease, width 0.2s ease", display: "flex", flexDirection: "column", flexShrink: 0, overflow: isColCollapsed ? "visible" : "hidden", height: `${containerHeight - 60}px`, onMouseEnter: () => setHoveredColumn(colId), onMouseLeave: () => setHoveredColumn(null), children: [isColCollapsed ? ((0, jsx_runtime_1.jsxs)(react_2.Flex, { direction: "column", align: "stretch", flex: "1", width: "100%", minH: 0, overflow: "visible", position: "relative", children: [(0, jsx_runtime_1.jsxs)(react_2.Flex, { as: "header", direction: "column", align: "center", flexShrink: 0, width: "100%", py: 3, px: 1, gap: 3, borderTop: "0.25rem solid", borderTopColor: (_g = column.color) !== null && _g !== void 0 ? _g : (_h = colors === null || colors === void 0 ? void 0 : colors.primary) === null || _h === void 0 ? void 0 : _h[500], bg: (_j = colors === null || colors === void 0 ? void 0 : colors.background) === null || _j === void 0 ? void 0 : _j[100], position: "relative", zIndex: 1, children: [enableColumnReorder && columnDragHandleProps ? ((0, jsx_runtime_1.jsx)(react_2.Flex, { align: "center", justify: "center", flexShrink: 0, cursor: "grab", ...columnDragHandleProps, children: (0, jsx_runtime_1.jsx)(react_2.Box, { as: lucide_react_1.GripVertical, size: 14, color: (_k = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _k === void 0 ? void 0 : _k[400] }) })) : null, enableColumnCollapse && ((0, jsx_runtime_1.jsx)(react_2.Flex, { flexShrink: 0, w: "100%", justify: "center", bg: (_l = colors === null || colors === void 0 ? void 0 : colors.background) === null || _l === void 0 ? void 0 : _l[100], position: "relative", zIndex: 3, children: (0, jsx_runtime_1.jsx)(react_2.IconButton, { "aria-label": "Expand column", icon: (0, jsx_runtime_1.jsx)(lucide_react_1.ChevronRight, { size: 14 }), variant: "ghost", size: "xs", minW: "1.5rem", h: "1.75rem", onClick: () => toggleColumnCollapsed(colId) }) })), (0, jsx_runtime_1.jsx)(react_2.Text, { as: "span", fontWeight: "700", fontSize: "0.75rem", color: (_m = colors === null || colors === void 0 ? void 0 : colors.text) === null || _m === void 0 ? void 0 : _m[700], sx: {
|
|
367
|
+
writingMode: "vertical-rl",
|
|
368
|
+
textOrientation: "mixed",
|
|
369
|
+
}, maxH: `${Math.max(120, containerHeight - 200)}px`, overflow: "hidden", lineHeight: "1.2", title: column.title, children: column.title }), (0, jsx_runtime_1.jsx)(react_2.Badge, { minW: "1.25rem", h: "1.25rem", borderRadius: "999px", border: "1px solid", borderColor: (_o = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _o === void 0 ? void 0 : _o[300], display: "flex", backgroundColor: (_p = colors === null || colors === void 0 ? void 0 : colors.background) === null || _p === void 0 ? void 0 : _p[100], alignItems: "center", justifyContent: "center", color: (_q = colors === null || colors === void 0 ? void 0 : colors.text) === null || _q === void 0 ? void 0 : _q[900], fontWeight: 600, fontSize: "10px", children: (_r = column === null || column === void 0 ? void 0 : column.items) === null || _r === void 0 ? void 0 : _r.length })] }), column.customNode ? ((0, jsx_runtime_1.jsx)(react_2.Box, { flexShrink: 0, minH: COLLAPSED_CUSTOM_NODE_TOP_RESERVE, w: "100%", bg: (_s = colors === null || colors === void 0 ? void 0 : colors.background) === null || _s === void 0 ? void 0 : _s[100], "aria-hidden": true })) : null, column.customNode ? ((0, jsx_runtime_1.jsx)(react_2.Box, { as: "section", "aria-label": "Column summary", flex: "1", minH: 0, w: "100%", overflow: "visible", py: 2, display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "flex-start", bg: (_t = colors === null || colors === void 0 ? void 0 : colors.background) === null || _t === void 0 ? void 0 : _t[100], position: "relative", zIndex: 2, children: (0, jsx_runtime_1.jsx)(react_2.Box, { position: "relative", transform: "rotate(90deg)", transformOrigin: "center center", marginTop: '1rem', children: (0, jsx_runtime_1.jsx)(react_2.VStack, { align: "stretch", spacing: 1, minW: "max-content", fontSize: "xs", color: (_u = colors === null || colors === void 0 ? void 0 : colors.text) === null || _u === void 0 ? void 0 : _u[600], children: column.customNode() }) }) })) : ((0, jsx_runtime_1.jsx)(react_2.Box, { flex: "1", minH: 0 }))] })) : ((0, jsx_runtime_1.jsxs)(react_2.Flex, { width: "100%", h: !isColCollapsed && !!((_v = column.customNode) === null || _v === void 0 ? void 0 : _v.call(column)) ? "auto" : "2.75rem", align: !isColCollapsed && !!((_w = column.customNode) === null || _w === void 0 ? void 0 : _w.call(column)) ? "flex-start" : "center", px: 3, py: 2, flexShrink: 0, justifyContent: "space-between", position: "relative", gap: 2, borderBottom: `0.063rem solid ${(_y = (_x = colors === null || colors === void 0 ? void 0 : colors.boxborder) === null || _x === void 0 ? void 0 : _x[100]) !== null && _y !== void 0 ? _y : (_z = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _z === void 0 ? void 0 : _z[100]}`, children: [(0, jsx_runtime_1.jsxs)(react_2.Flex, { direction: "column", gap: 1, minW: 0, flex: "1", children: [(0, jsx_runtime_1.jsxs)(react_2.Flex, { align: "center", gap: 2, minW: 0, children: [(0, jsx_runtime_1.jsx)(react_2.Box, { boxSize: "0.625rem", borderRadius: "full", bg: (_0 = column.color) !== null && _0 !== void 0 ? _0 : (_1 = colors === null || colors === void 0 ? void 0 : colors.primary) === null || _1 === void 0 ? void 0 : _1[500], flexShrink: 0 }), enableColumnReorder && columnDragHandleProps ? ((0, jsx_runtime_1.jsx)(react_2.Flex, { align: "center", justify: "center", flexShrink: 0, cursor: "grab", ...columnDragHandleProps, children: (0, jsx_runtime_1.jsx)(react_2.Box, { as: lucide_react_1.GripVertical, size: 14, color: (_2 = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _2 === void 0 ? void 0 : _2[400] }) })) : null, (0, jsx_runtime_1.jsx)(react_2.Text, { as: "span", fontWeight: "600", fontSize: "0.875rem", color: (_3 = colors === null || colors === void 0 ? void 0 : colors.text) === null || _3 === void 0 ? void 0 : _3[700], noOfLines: 1, minW: 0, children: (0, jsx_runtime_1.jsx)(OverflowTooltipText_1.default, { placement: "top", children: column.title }) })] }), column.customNode ? ((0, jsx_runtime_1.jsx)(react_2.Box, { as: "section", "aria-label": "Column summary", width: "100%", flexShrink: 0, fontSize: "xs", color: (_4 = colors === null || colors === void 0 ? void 0 : colors.text) === null || _4 === void 0 ? void 0 : _4[600], children: (_5 = column.customNode) === null || _5 === void 0 ? void 0 : _5.call(column) })) : null] }), (0, jsx_runtime_1.jsxs)(react_2.Box, { display: "flex", alignItems: "center", gap: 2, children: [(0, jsx_runtime_1.jsx)(react_2.Badge, { minW: "1.5rem", h: "1.5rem", px: 2, borderRadius: "999px", backgroundColor: (_6 = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _6 === void 0 ? void 0 : _6[100], display: "flex", alignItems: "center", justifyContent: "center", color: (_7 = colors === null || colors === void 0 ? void 0 : colors.text) === null || _7 === void 0 ? void 0 : _7[700], fontWeight: 600, fontSize: "0.625rem", children: (_8 = column === null || column === void 0 ? void 0 : column.items) === null || _8 === void 0 ? void 0 : _8.length }), enableColumnCollapse && ((0, jsx_runtime_1.jsx)(react_2.IconButton, { "aria-label": "Collapse column", icon: (0, jsx_runtime_1.jsx)(lucide_react_1.ChevronLeft, { size: 14 }), variant: "ghost", size: "xs", minW: "1.5rem", h: "1.75rem", flexShrink: 0, onClick: () => toggleColumnCollapsed(colId) })), canDelete &&
|
|
370
|
+
hoveredColumn === colId &&
|
|
371
|
+
column.items.length > 0 && ((0, jsx_runtime_1.jsx)(react_2.Box, { as: lucide_react_1.Trash2, size: 16, cursor: "pointer", color: (_9 = colors === null || colors === void 0 ? void 0 : colors.text) === null || _9 === void 0 ? void 0 : _9[600], _hover: { color: (_10 = colors === null || colors === void 0 ? void 0 : colors.red) === null || _10 === void 0 ? void 0 : _10[600] }, onClick: () => handleColumnDelete(colId), transition: "color 0.2s ease", flexShrink: 0 })), !(canDelete &&
|
|
372
|
+
hoveredColumn === colId &&
|
|
373
|
+
column.items.length > 0) && (0, jsx_runtime_1.jsx)(react_2.Box, { width: "16px", height: "16px", flexShrink: 0 })] })] })), !isColCollapsed && ((0, jsx_runtime_1.jsxs)(react_2.Box, { px: 2, flex: "1", overflowY: "auto", width: "100%", sx: {
|
|
374
|
+
overflowY: "auto",
|
|
375
|
+
overflowX: "hidden",
|
|
376
|
+
scrollbarWidth: "thin",
|
|
377
|
+
scrollbarColor: "var(--chakra-colors-gray-300) transparent",
|
|
378
|
+
"&::-webkit-scrollbar": {
|
|
379
|
+
width: "6px !important",
|
|
380
|
+
height: "6px !important",
|
|
381
|
+
},
|
|
382
|
+
"&::-webkit-scrollbar-track": {
|
|
383
|
+
background: "gray.100",
|
|
384
|
+
borderRadius: "3px",
|
|
385
|
+
marginTop: "4px",
|
|
386
|
+
marginBottom: "4px",
|
|
387
|
+
},
|
|
388
|
+
"&::-webkit-scrollbar-thumb": {
|
|
389
|
+
background: "gray.300",
|
|
390
|
+
borderRadius: "3px",
|
|
391
|
+
border: "1px solid",
|
|
392
|
+
borderColor: "gray.100",
|
|
393
|
+
},
|
|
394
|
+
"&::-webkit-scrollbar-thumb:hover": {
|
|
395
|
+
background: "gray.400",
|
|
396
|
+
},
|
|
397
|
+
"&": {
|
|
398
|
+
scrollbarGutter: "stable both-edges",
|
|
399
|
+
},
|
|
400
|
+
cursor: canDrag ? "grab" : "not-allowed",
|
|
401
|
+
}, children: [(noItems === null || noItems === void 0 ? void 0 : noItems.isVisible) && column.items.length === 0 && ((0, jsx_runtime_1.jsx)(NoItemsTemplate, { column: column, noItems: noItems, colors: colors })), virtualization ? ((0, jsx_runtime_1.jsx)(react_window_1.VariableSizeList, { ref: (el) => {
|
|
402
|
+
if (el)
|
|
403
|
+
listRefs.current[colId] = el;
|
|
404
|
+
}, height: containerHeight - 150, itemCount: column.items.length +
|
|
405
|
+
(snapshot.isUsingPlaceholder ? 1 : 0), itemSize: (index) => getItemSize(index, column.items, colId), width: "100%", itemData: itemDataByCol[colId], children: KanbanRow })) : ((0, jsx_runtime_1.jsxs)(react_2.Box, { children: [column.items.map((account, index) => ((0, jsx_runtime_1.jsx)("div", { style: { paddingBottom: KANBAN_CARD_GAP, paddingTop: index === 0 ? KANBAN_LIST_TOP_PAD : 0 }, children: (0, jsx_runtime_1.jsx)(dnd_1.Draggable, { draggableId: account.id.toString(), index: index, isDragDisabled: !canDrag, children: (dragProvided) => {
|
|
406
|
+
var _a;
|
|
407
|
+
return ((0, jsx_runtime_1.jsx)("div", { ref: dragProvided.innerRef, ...dragProvided.draggableProps, ...dragProvided.dragHandleProps, style: dragProvided.draggableProps.style, children: (account === null || account === void 0 ? void 0 : account.customNode) ? (_a = account === null || account === void 0 ? void 0 : account.customNode) === null || _a === void 0 ? void 0 : _a.call(account) : ((0, jsx_runtime_1.jsx)(AccountCard_1.default, { account: account, index: index, onDelete: onDelete, onOpen: onOpen, isExpanded: expanded[account.id], onToggleExpand: () => toggleExpand(account.id, colId, index), isDeletable: canDelete })) }));
|
|
408
|
+
} }, account.id) }, account.id))), provided.placeholder] }))] }))] }));
|
|
409
|
+
} }, colId));
|
|
468
410
|
if (!canView)
|
|
469
411
|
return null;
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
412
|
+
const showAddColumn = Boolean(customizeColumn === null || customizeColumn === void 0 ? void 0 : customizeColumn.isVisible);
|
|
413
|
+
const hasAnyColumns = Object.keys(columns).length > 0;
|
|
414
|
+
const flexScrollSx = {
|
|
473
415
|
"&::-webkit-scrollbar": {
|
|
474
416
|
height: "6px",
|
|
475
417
|
},
|
|
476
418
|
"&::-webkit-scrollbar-track": {
|
|
477
|
-
background: (
|
|
419
|
+
background: (_a = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _a === void 0 ? void 0 : _a[100],
|
|
478
420
|
borderRadius: "3px",
|
|
479
421
|
margin: "0 4px",
|
|
480
422
|
},
|
|
481
423
|
"&::-webkit-scrollbar-thumb": {
|
|
482
|
-
background: (
|
|
424
|
+
background: (_b = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _b === void 0 ? void 0 : _b[400],
|
|
483
425
|
borderRadius: "3px",
|
|
484
|
-
border:
|
|
426
|
+
border: `1px solid ${(_c = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _c === void 0 ? void 0 : _c[100]}`,
|
|
485
427
|
},
|
|
486
428
|
"&::-webkit-scrollbar-thumb:hover": {
|
|
487
|
-
background: (
|
|
429
|
+
background: (_d = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _d === void 0 ? void 0 : _d[500],
|
|
488
430
|
},
|
|
489
431
|
scrollbarWidth: "thin",
|
|
490
|
-
scrollbarColor:
|
|
432
|
+
scrollbarColor: `${(_e = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _e === void 0 ? void 0 : _e[400]} ${(_f = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _f === void 0 ? void 0 : _f[100]}`,
|
|
491
433
|
};
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
react_1.default.createElement(react_2.Text, { fontSize: "sm", color: (_m = colors === null || colors === void 0 ? void 0 : colors.text) === null || _m === void 0 ? void 0 : _m[600] }, (customizeColumn === null || customizeColumn === void 0 ? void 0 : customizeColumn.buttonText) || "Add column"))));
|
|
496
|
-
var columnsList = Object.entries(columns).map(function (_a, colIndex) {
|
|
497
|
-
var colId = _a[0], column = _a[1];
|
|
498
|
-
var isColCollapsed = enableColumnCollapse && Boolean(collapsedColumns[colId]);
|
|
434
|
+
const addColumnBox = !isBoardLoading && showAddColumn && hasAnyColumns && ((0, jsx_runtime_1.jsx)(react_2.Box, { width: columnWidth, borderRadius: "0.5rem", border: `0.125rem dashed ${(_g = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _g === void 0 ? void 0 : _g[300]}`, bg: (_h = colors === null || colors === void 0 ? void 0 : colors.background) === null || _h === void 0 ? void 0 : _h[100], flexShrink: 0, height: `${containerHeight - 60}px`, display: "flex", alignItems: "center", justifyContent: "center", cursor: "pointer", _hover: { borderColor: (_j = colors === null || colors === void 0 ? void 0 : colors.primary) === null || _j === void 0 ? void 0 : _j[500] }, onClick: () => { var _a; return (_a = customizeColumn === null || customizeColumn === void 0 ? void 0 : customizeColumn.onAddColumn) === null || _a === void 0 ? void 0 : _a.call(customizeColumn); }, children: (0, jsx_runtime_1.jsxs)(react_2.Flex, { direction: "column", align: "center", gap: 2, children: [(0, jsx_runtime_1.jsx)(react_2.Box, { as: lucide_react_1.Plus, size: 20, color: (_k = colors === null || colors === void 0 ? void 0 : colors.text) === null || _k === void 0 ? void 0 : _k[700] }), (0, jsx_runtime_1.jsx)(react_2.Text, { fontSize: "sm", color: (_l = colors === null || colors === void 0 ? void 0 : colors.text) === null || _l === void 0 ? void 0 : _l[600], children: (customizeColumn === null || customizeColumn === void 0 ? void 0 : customizeColumn.buttonText) || "Add column" })] }) }));
|
|
435
|
+
const columnsList = Object.entries(columns).map(([colId, column], colIndex) => {
|
|
436
|
+
const isColCollapsed = enableColumnCollapse && Boolean(collapsedColumns[colId]);
|
|
499
437
|
if (enableColumnReorder) {
|
|
500
|
-
return (
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
438
|
+
return ((0, jsx_runtime_1.jsx)(dnd_1.Draggable, { draggableId: colId, index: colIndex, children: (dragProvided) => {
|
|
439
|
+
var _a;
|
|
440
|
+
return ((0, jsx_runtime_1.jsx)(react_2.Box, { ref: dragProvided.innerRef, ...dragProvided.draggableProps, width: isColCollapsed ? COLLAPSED_KANBAN_COLUMN_WIDTH : columnWidth, flexShrink: 0, transition: "width 0.2s ease", overflow: isColCollapsed ? "visible" : "hidden", children: renderColumnDroppable(colId, column, (_a = dragProvided.dragHandleProps) !== null && _a !== void 0 ? _a : null, isColCollapsed) }));
|
|
441
|
+
} }, colId));
|
|
504
442
|
}
|
|
505
443
|
return renderColumnDroppable(colId, column, null, isColCollapsed);
|
|
506
444
|
});
|
|
507
|
-
|
|
445
|
+
const loadingSkeletonRow = Array.from({ length: 5 }).map((_, idx) => {
|
|
508
446
|
var _a, _b;
|
|
509
|
-
return (
|
|
510
|
-
react_1.default.createElement(react_2.Skeleton, { height: "2.75rem", mb: 4, borderRadius: "0.25rem" }),
|
|
511
|
-
react_1.default.createElement(react_2.SkeletonText, { mt: "4", noOfLines: 5, spacing: "4" })));
|
|
447
|
+
return ((0, jsx_runtime_1.jsxs)(react_2.Box, { width: columnWidth, p: 4, borderRadius: "0.5rem", bg: (_a = colors === null || colors === void 0 ? void 0 : colors.background) === null || _a === void 0 ? void 0 : _a[100], border: `0.125rem solid ${(_b = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _b === void 0 ? void 0 : _b[200]}`, flexShrink: 0, children: [(0, jsx_runtime_1.jsx)(react_2.Skeleton, { height: "2.75rem", mb: 4, borderRadius: "0.25rem" }), (0, jsx_runtime_1.jsx)(react_2.SkeletonText, { mt: "4", noOfLines: 5, spacing: "4" })] }, idx));
|
|
512
448
|
});
|
|
513
|
-
return (
|
|
514
|
-
react_1.default.createElement(HeaderActions_1.default, { select: kanbanSelect, edit: canDrag ? kanbanEdit : undefined, create: canCreate ? kanbanCreate : undefined }),
|
|
515
|
-
react_1.default.createElement(dnd_1.DragDropContext, { onDragEnd: onDragEnd },
|
|
516
|
-
react_1.default.createElement(react_2.Box, { ref: containerRef, bg: (_o = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _o === void 0 ? void 0 : _o[50], minH: "".concat(containerHeight, "px"), position: "relative", overflow: "hidden", mt: 2 },
|
|
517
|
-
showAddColumn && !isBoardLoading && !hasAnyColumns && (react_1.default.createElement(react_2.Flex, { position: "absolute", inset: 0, align: "center", justify: "center", pointerEvents: "none", zIndex: 1 },
|
|
518
|
-
react_1.default.createElement(react_2.Flex, { direction: "column", align: "center", justify: "center", gap: 2, pointerEvents: "auto", cursor: "pointer", px: 6, py: 5, borderRadius: "0.5rem", bg: (_p = colors === null || colors === void 0 ? void 0 : colors.background) === null || _p === void 0 ? void 0 : _p[100], border: "0.125rem dashed ".concat((_q = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _q === void 0 ? void 0 : _q[300]), _hover: { borderColor: (_r = colors === null || colors === void 0 ? void 0 : colors.primary) === null || _r === void 0 ? void 0 : _r[500] }, onClick: function () { var _a; return (_a = customizeColumn === null || customizeColumn === void 0 ? void 0 : customizeColumn.onAddColumn) === null || _a === void 0 ? void 0 : _a.call(customizeColumn); } },
|
|
519
|
-
react_1.default.createElement(react_2.Box, { as: lucide_react_1.Plus, size: 20, color: (_s = colors === null || colors === void 0 ? void 0 : colors.text) === null || _s === void 0 ? void 0 : _s[700] }),
|
|
520
|
-
react_1.default.createElement(react_2.Text, { fontSize: "sm", color: (_t = colors === null || colors === void 0 ? void 0 : colors.text) === null || _t === void 0 ? void 0 : _t[600] }, (customizeColumn === null || customizeColumn === void 0 ? void 0 : customizeColumn.buttonText) || "Add column")))),
|
|
521
|
-
isBoardLoading ? (react_1.default.createElement(react_2.Flex, { gap: 4, p: 4, pb: 6, overflowX: "auto", overflowY: "hidden", height: "100%", sx: flexScrollSx }, loadingSkeletonRow)) : enableColumnReorder ? (react_1.default.createElement(dnd_1.Droppable, { droppableId: "COLUMN_REORDER", direction: "horizontal", type: "COLUMN" }, function (colReorderProvided) { return (react_1.default.createElement(react_2.Flex, __assign({ ref: colReorderProvided.innerRef }, colReorderProvided.droppableProps, { gap: 4, p: 4, pb: 6, overflowX: "auto", overflowY: "hidden", height: "100%", sx: flexScrollSx }),
|
|
522
|
-
columnsList,
|
|
523
|
-
colReorderProvided.placeholder,
|
|
524
|
-
addColumnBox)); })) : (react_1.default.createElement(react_2.Flex, { gap: 4, p: 4, pb: 6, overflowX: "auto", overflowY: "hidden", height: "100%", sx: flexScrollSx },
|
|
525
|
-
columnsList,
|
|
526
|
-
addColumnBox))))));
|
|
449
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(HeaderActions_1.default, { select: kanbanSelect, edit: canDrag ? kanbanEdit : undefined, create: canCreate ? kanbanCreate : undefined }), (0, jsx_runtime_1.jsx)(dnd_1.DragDropContext, { onDragEnd: onDragEnd, children: (0, jsx_runtime_1.jsxs)(react_2.Box, { ref: containerRef, bg: (_m = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _m === void 0 ? void 0 : _m[50], minH: `${containerHeight}px`, position: "relative", overflow: "hidden", mt: 2, children: [showAddColumn && !isBoardLoading && !hasAnyColumns && ((0, jsx_runtime_1.jsx)(react_2.Flex, { position: "absolute", inset: 0, align: "center", justify: "center", pointerEvents: "none", zIndex: 1, children: (0, jsx_runtime_1.jsxs)(react_2.Flex, { direction: "column", align: "center", justify: "center", gap: 2, pointerEvents: "auto", cursor: "pointer", px: 6, py: 5, borderRadius: "0.5rem", bg: (_o = colors === null || colors === void 0 ? void 0 : colors.background) === null || _o === void 0 ? void 0 : _o[100], border: `0.125rem dashed ${(_p = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _p === void 0 ? void 0 : _p[300]}`, _hover: { borderColor: (_q = colors === null || colors === void 0 ? void 0 : colors.primary) === null || _q === void 0 ? void 0 : _q[500] }, onClick: () => { var _a; return (_a = customizeColumn === null || customizeColumn === void 0 ? void 0 : customizeColumn.onAddColumn) === null || _a === void 0 ? void 0 : _a.call(customizeColumn); }, children: [(0, jsx_runtime_1.jsx)(react_2.Box, { as: lucide_react_1.Plus, size: 20, color: (_r = colors === null || colors === void 0 ? void 0 : colors.text) === null || _r === void 0 ? void 0 : _r[700] }), (0, jsx_runtime_1.jsx)(react_2.Text, { fontSize: "sm", color: (_s = colors === null || colors === void 0 ? void 0 : colors.text) === null || _s === void 0 ? void 0 : _s[600], children: (customizeColumn === null || customizeColumn === void 0 ? void 0 : customizeColumn.buttonText) || "Add column" })] }) })), isBoardLoading ? ((0, jsx_runtime_1.jsx)(react_2.Flex, { gap: 4, p: 4, pb: 6, overflowX: "auto", overflowY: "hidden", height: "100%", sx: flexScrollSx, children: loadingSkeletonRow })) : enableColumnReorder ? ((0, jsx_runtime_1.jsx)(dnd_1.Droppable, { droppableId: "COLUMN_REORDER", direction: "horizontal", type: "COLUMN", children: (colReorderProvided) => ((0, jsx_runtime_1.jsxs)(react_2.Flex, { ref: colReorderProvided.innerRef, ...colReorderProvided.droppableProps, gap: 4, p: 4, pb: 6, overflowX: "auto", overflowY: "hidden", height: "100%", sx: flexScrollSx, children: [columnsList, colReorderProvided.placeholder, addColumnBox] })) })) : ((0, jsx_runtime_1.jsxs)(react_2.Flex, { gap: 4, p: 4, pb: 6, overflowX: "auto", overflowY: "hidden", height: "100%", sx: flexScrollSx, children: [columnsList, addColumnBox] }))] }) })] }));
|
|
527
450
|
};
|
|
528
451
|
exports.default = KanbanBoard;
|