@solidstarters/solid-core-ui 1.1.73 → 1.1.75
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/dist/components/common/FileReaderExt.js +1 -0
- package/dist/components/common/FileReaderExt.js.map +1 -1
- package/dist/components/common/GeneralSettings.js +1 -1
- package/dist/components/common/SolidAdmin.d.ts.map +1 -1
- package/dist/components/common/SolidAdmin.js +1 -0
- package/dist/components/common/SolidAdmin.js.map +1 -1
- package/dist/components/common/SolidThemeLink.d.ts.map +1 -1
- package/dist/components/common/SolidThemeLink.js +1 -0
- package/dist/components/common/SolidThemeLink.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterDateDivider.js +1 -0
- package/dist/components/core/chatter/SolidChatterDateDivider.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterHeader.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatterHeader.js +4 -3
- package/dist/components/core/chatter/SolidChatterHeader.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterMessageBox.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatterMessageBox.js +7 -6
- package/dist/components/core/chatter/SolidChatterMessageBox.js.map +1 -1
- package/dist/components/core/common/SolidSaveCustomFilterForm.d.ts.map +1 -1
- package/dist/components/core/common/SolidSaveCustomFilterForm.js +1 -0
- package/dist/components/core/common/SolidSaveCustomFilterForm.js.map +1 -1
- package/dist/components/core/form/SolidFormActionHeader.d.ts +2 -0
- package/dist/components/core/form/SolidFormActionHeader.d.ts.map +1 -0
- package/dist/components/core/form/SolidFormActionHeader.js +67 -0
- package/dist/components/core/form/SolidFormActionHeader.js.map +1 -0
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +3 -68
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.js +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.js +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.js +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.js +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.js +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidRelationColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidRelationColumn.js +2 -1
- package/dist/components/core/list/columns/SolidRelationColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.js +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.js +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -1
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.d.ts.map +1 -1
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.js +14 -13
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.js.map +1 -1
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.d.ts.map +1 -1
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.js +13 -12
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.js.map +1 -1
- package/dist/components/core/module/CreateModule.d.ts.map +1 -1
- package/dist/components/core/module/CreateModule.js +0 -2
- package/dist/components/core/module/CreateModule.js.map +1 -1
- package/dist/declarations.d.ts +4 -1
- package/dist/helpers/registry.js +2 -1
- package/dist/helpers/registry.js.map +1 -1
- package/dist/types/solid-core.d.ts +1 -0
- package/package.json +1 -1
- package/src/declarations.d.ts +4 -1
- package/src/types/solid-core.d.ts +1 -0
- package/tsconfig.json +2 -1
- package/dist/components/CustomFooter/CustomFooter.tsx +0 -264
- package/dist/components/CustomFooter/FooterForm.tsx +0 -19
- package/dist/components/CustomHeader/CallIcon.tsx +0 -20
- package/dist/components/CustomHeader/CustomDropdown.tsx +0 -175
- package/dist/components/CustomHeader/CustomHeader.tsx +0 -64
- package/dist/components/CustomHeader/EmailIcon.tsx +0 -12
- package/dist/components/CustomHeader/HeaderCart.tsx +0 -15
- package/dist/components/CustomHeader/productNavData.tsx +0 -180
- package/dist/components/FormView/DetailsViews.tsx +0 -46
- package/dist/components/FormView/OrderAddressDetails.tsx +0 -70
- package/dist/components/FormView/OrderPaymentDetails.tsx +0 -18
- package/dist/components/FormView/OrderTableDetails.tsx +0 -36
- package/dist/components/FormView/OrderedProductDetail.tsx +0 -22
- package/dist/components/Svg/ExcelSvg.tsx +0 -15
- package/dist/components/Svg/FileSvg.tsx +0 -19
- package/dist/components/Svg/PDFSvg.tsx +0 -15
- package/dist/components/Svg/RightArrowSvg.tsx +0 -9
- package/dist/components/Tag/CustomTag.tsx +0 -50
- package/dist/components/auth/AuthLayout.tsx +0 -140
- package/dist/components/auth/ForgotPasswordThankYou.tsx +0 -48
- package/dist/components/auth/GoogleAuthChecking.tsx +0 -60
- package/dist/components/auth/Login.tsx +0 -155
- package/dist/components/auth/Register.tsx +0 -239
- package/dist/components/auth/SolidChangeForcePassword.tsx +0 -145
- package/dist/components/auth/SolidForgotPassword.tsx +0 -125
- package/dist/components/auth/SolidInitialLoginOtp.tsx +0 -152
- package/dist/components/auth/SolidInitiateRegisterOtp.tsx +0 -141
- package/dist/components/auth/SolidLogin.tsx +0 -275
- package/dist/components/auth/SolidOTPVerify.tsx +0 -132
- package/dist/components/auth/SolidRegister.tsx +0 -348
- package/dist/components/auth/SolidResetPassword.tsx +0 -162
- package/dist/components/common/AuthBanner.tsx +0 -41
- package/dist/components/common/AutoCompleteField.tsx +0 -76
- package/dist/components/common/BackButton.tsx +0 -27
- package/dist/components/common/CancelButton.tsx +0 -48
- package/dist/components/common/CodeEditor.tsx +0 -26
- package/dist/components/common/CreateButton.tsx +0 -17
- package/dist/components/common/DropzonePlaceholder.tsx +0 -31
- package/dist/components/common/DropzoneUpload.tsx +0 -11
- package/dist/components/common/FileReaderExt.tsx +0 -20
- package/dist/components/common/GeneralSettings.tsx +0 -414
- package/dist/components/common/HeaderDynamicTitles.tsx +0 -13
- package/dist/components/common/MarkdownViewer.tsx +0 -16
- package/dist/components/common/MultipleSelectAutoCompleteField.tsx +0 -62
- package/dist/components/common/NotFound.tsx +0 -22
- package/dist/components/common/SingleSelectAutoCompleteField.tsx +0 -67
- package/dist/components/common/SocialMediaLogin.tsx +0 -53
- package/dist/components/common/SolidAdmin.tsx +0 -7
- package/dist/components/common/SolidBreadcrumb.tsx +0 -105
- package/dist/components/common/SolidFormHeader.tsx +0 -22
- package/dist/components/common/SolidFormStepper.tsx +0 -213
- package/dist/components/common/SolidModuleHome.tsx +0 -61
- package/dist/components/common/SolidThemeLink.tsx +0 -5
- package/dist/components/common/SolidThemeProvider.tsx +0 -44
- package/dist/components/common/error.tsx +0 -30
- package/dist/components/core/chatter/SolidChatter.tsx +0 -252
- package/dist/components/core/chatter/SolidChatterDateDivider.tsx +0 -16
- package/dist/components/core/chatter/SolidChatterHeader.tsx +0 -178
- package/dist/components/core/chatter/SolidChatterMessageBox.tsx +0 -165
- package/dist/components/core/chatter/SolidMessageComposer.tsx +0 -145
- package/dist/components/core/common/FilterComponent.tsx +0 -434
- package/dist/components/core/common/LoadDynamicJsxComponent.tsx +0 -70
- package/dist/components/core/common/SolidCreateButton.tsx +0 -17
- package/dist/components/core/common/SolidGlobalSearchElement.tsx +0 -843
- package/dist/components/core/common/SolidLayoutViews.tsx +0 -87
- package/dist/components/core/common/SolidListViewOptions.tsx +0 -31
- package/dist/components/core/common/SolidSaveCustomFilterForm.tsx +0 -74
- package/dist/components/core/common/SolidSearchBox.tsx +0 -17
- package/dist/components/core/common/SolidViewLayoutManager.ts +0 -85
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.ts +0 -18
- package/dist/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.ts +0 -18
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +0 -59
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +0 -38
- package/dist/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +0 -123
- package/dist/components/core/field/FieldListViewData.tsx +0 -312
- package/dist/components/core/filter/SolidFilterFields.tsx +0 -128
- package/dist/components/core/filter/SolidManyToOneFilterElement.tsx +0 -60
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.tsx +0 -32
- package/dist/components/core/filter/SolidVarInputsFilterElement.tsx +0 -180
- package/dist/components/core/filter/fields/SolidBigintField.tsx +0 -9
- package/dist/components/core/filter/fields/SolidBooleanField.tsx +0 -50
- package/dist/components/core/filter/fields/SolidComputedField.tsx +0 -23
- package/dist/components/core/filter/fields/SolidDateField.tsx +0 -58
- package/dist/components/core/filter/fields/SolidDatetimeField.tsx +0 -51
- package/dist/components/core/filter/fields/SolidDecimalField.tsx +0 -9
- package/dist/components/core/filter/fields/SolidExternalIdField.tsx +0 -46
- package/dist/components/core/filter/fields/SolidFloatField.tsx +0 -9
- package/dist/components/core/filter/fields/SolidIdField.tsx +0 -46
- package/dist/components/core/filter/fields/SolidIntField.tsx +0 -56
- package/dist/components/core/filter/fields/SolidLongTextField.tsx +0 -9
- package/dist/components/core/filter/fields/SolidMediaMultipleField.tsx +0 -54
- package/dist/components/core/filter/fields/SolidMediaSingleField.tsx +0 -56
- package/dist/components/core/filter/fields/SolidRelationField.tsx +0 -13
- package/dist/components/core/filter/fields/SolidRichTextField.tsx +0 -9
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.tsx +0 -46
- package/dist/components/core/filter/fields/SolidSelectionStaticField.tsx +0 -48
- package/dist/components/core/filter/fields/SolidShortTextField.tsx +0 -54
- package/dist/components/core/filter/fields/SolidTimeField.tsx +0 -45
- package/dist/components/core/filter/fields/SolidUuidField.tsx +0 -45
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +0 -80
- package/dist/components/core/form/SolidFormLayouts.tsx +0 -104
- package/dist/components/core/form/SolidFormUserViewLayout.tsx +0 -85
- package/dist/components/core/form/SolidFormView.tsx +0 -1356
- package/dist/components/core/form/fields/ISolidField.tsx +0 -69
- package/dist/components/core/form/fields/SolidBooleanField.tsx +0 -269
- package/dist/components/core/form/fields/SolidDateField.tsx +0 -153
- package/dist/components/core/form/fields/SolidDateTimeField.tsx +0 -154
- package/dist/components/core/form/fields/SolidDecimalField.tsx +0 -155
- package/dist/components/core/form/fields/SolidEmailField.tsx +0 -168
- package/dist/components/core/form/fields/SolidIntegerField.tsx +0 -158
- package/dist/components/core/form/fields/SolidJsonField.tsx +0 -173
- package/dist/components/core/form/fields/SolidLongTextField.tsx +0 -161
- package/dist/components/core/form/fields/SolidMediaMultipleField.tsx +0 -639
- package/dist/components/core/form/fields/SolidMediaSingleField.tsx +0 -522
- package/dist/components/core/form/fields/SolidPasswordField.tsx +0 -187
- package/dist/components/core/form/fields/SolidRelationField.tsx +0 -54
- package/dist/components/core/form/fields/SolidRichTextField.tsx +0 -177
- package/dist/components/core/form/fields/SolidSelectionDynamicField.tsx +0 -204
- package/dist/components/core/form/fields/SolidSelectionStaticField.tsx +0 -272
- package/dist/components/core/form/fields/SolidShortTextField.tsx +0 -208
- package/dist/components/core/form/fields/SolidTimeField.tsx +0 -147
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +0 -309
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +0 -291
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +0 -311
- package/dist/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +0 -33
- package/dist/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.ts +0 -64
- package/dist/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +0 -46
- package/dist/components/core/form/widgets/CustomHtml.tsx +0 -19
- package/dist/components/core/kanban/KanbanBoard.tsx +0 -131
- package/dist/components/core/kanban/KanbanCard.tsx +0 -255
- package/dist/components/core/kanban/KanbanColumn.tsx +0 -139
- package/dist/components/core/kanban/KanbanUserViewLayout.tsx +0 -85
- package/dist/components/core/kanban/SolidKanbanView.tsx +0 -803
- package/dist/components/core/kanban/SolidKanbanViewConfigure.tsx +0 -146
- package/dist/components/core/kanban/SolidKanbanViewFields.tsx +0 -164
- package/dist/components/core/kanban/SolidManyToOneFilterElement.tsx +0 -59
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.tsx +0 -32
- package/dist/components/core/kanban/SolidVarInputsFilterElement.tsx +0 -184
- package/dist/components/core/kanban/kanban-fields/SolidBigintKanbanField.tsx +0 -9
- package/dist/components/core/kanban/kanban-fields/SolidBooleanKanbanField.tsx +0 -13
- package/dist/components/core/kanban/kanban-fields/SolidComputedKanbanField.tsx +0 -23
- package/dist/components/core/kanban/kanban-fields/SolidDateKanbanField.tsx +0 -14
- package/dist/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.tsx +0 -13
- package/dist/components/core/kanban/kanban-fields/SolidDecimalKanbanField.tsx +0 -9
- package/dist/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.tsx +0 -12
- package/dist/components/core/kanban/kanban-fields/SolidFloatKanbanField.tsx +0 -9
- package/dist/components/core/kanban/kanban-fields/SolidIdKanbanField.tsx +0 -14
- package/dist/components/core/kanban/kanban-fields/SolidIntKanbanField.tsx +0 -20
- package/dist/components/core/kanban/kanban-fields/SolidLongTextKanbanField.tsx +0 -9
- package/dist/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +0 -136
- package/dist/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +0 -158
- package/dist/components/core/kanban/kanban-fields/SolidRelationKanbanField.tsx +0 -13
- package/dist/components/core/kanban/kanban-fields/SolidRichTextKanbanField.tsx +0 -9
- package/dist/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.tsx +0 -13
- package/dist/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.tsx +0 -14
- package/dist/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +0 -121
- package/dist/components/core/kanban/kanban-fields/SolidTimeKanbanField.tsx +0 -12
- package/dist/components/core/kanban/kanban-fields/SolidUuidKanbanField.tsx +0 -13
- package/dist/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +0 -16
- package/dist/components/core/list/ListViewRowActionPopup.tsx +0 -42
- package/dist/components/core/list/SolidEmptyListViewPlaceholder.tsx +0 -41
- package/dist/components/core/list/SolidListColumnSelector.tsx +0 -167
- package/dist/components/core/list/SolidListView.tsx +0 -981
- package/dist/components/core/list/SolidListViewColumn.tsx +0 -165
- package/dist/components/core/list/SolidListViewConfigure.tsx +0 -198
- package/dist/components/core/list/SolidListViewShimmerLoading.tsx +0 -77
- package/dist/components/core/list/SolidListingHeader.tsx +0 -42
- package/dist/components/core/list/SolidManyToOneFilterElement.tsx +0 -59
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/dist/components/core/list/SolidSelectionStaticFilterElement.tsx +0 -32
- package/dist/components/core/list/SolidTableRowCell.tsx +0 -12
- package/dist/components/core/list/SolidVarInputsFilterElement.tsx +0 -184
- package/dist/components/core/list/columns/SolidBigintColumn.tsx +0 -9
- package/dist/components/core/list/columns/SolidBooleanColumn.tsx +0 -89
- package/dist/components/core/list/columns/SolidComputedColumn.tsx +0 -23
- package/dist/components/core/list/columns/SolidDateColumn.tsx +0 -90
- package/dist/components/core/list/columns/SolidDatetimeColumn.tsx +0 -79
- package/dist/components/core/list/columns/SolidDecimalColumn.tsx +0 -9
- package/dist/components/core/list/columns/SolidExternalIdColumn.tsx +0 -80
- package/dist/components/core/list/columns/SolidFloatColumn.tsx +0 -9
- package/dist/components/core/list/columns/SolidIdColumn.tsx +0 -79
- package/dist/components/core/list/columns/SolidIntColumn.tsx +0 -87
- package/dist/components/core/list/columns/SolidLongTextColumn.tsx +0 -9
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.tsx +0 -100
- package/dist/components/core/list/columns/SolidMediaSingleColumn.tsx +0 -98
- package/dist/components/core/list/columns/SolidRelationColumn.tsx +0 -20
- package/dist/components/core/list/columns/SolidRichTextColumn.tsx +0 -9
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.tsx +0 -80
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.tsx +0 -81
- package/dist/components/core/list/columns/SolidShortTextColumn.tsx +0 -103
- package/dist/components/core/list/columns/SolidTimeColumn.tsx +0 -78
- package/dist/components/core/list/columns/SolidUuidColumn.tsx +0 -79
- package/dist/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +0 -110
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +0 -95
- package/dist/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +0 -111
- package/dist/components/core/list/widgets/SolidRelationAvatarWidget.tsx +0 -89
- package/dist/components/core/list/widgets/SolidShortTextAvatarWidget.tsx +0 -58
- package/dist/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.tsx +0 -21
- package/dist/components/core/model/CreateModel.tsx +0 -476
- package/dist/components/core/model/FieldMetaData.tsx +0 -193
- package/dist/components/core/model/FieldMetaDataForm.tsx +0 -3048
- package/dist/components/core/model/FieldSelector.tsx +0 -62
- package/dist/components/core/model/ModelListViewData.tsx +0 -383
- package/dist/components/core/model/ModelMetaData.tsx +0 -840
- package/dist/components/core/module/CreateModule.tsx +0 -620
- package/dist/components/core/module/ModuleListViewData.tsx +0 -429
- package/dist/components/core/users/CreateUser.tsx +0 -436
- package/dist/components/core/users/CreateUserRole.tsx +0 -211
- package/dist/components/core/users/UserListView.tsx +0 -374
- package/dist/components/layout/AdminLayout.tsx +0 -62
- package/dist/components/layout/AdminSidebar.tsx +0 -65
- package/dist/components/layout/AppConfig.tsx +0 -104
- package/dist/components/layout/AppSidebar.tsx +0 -225
- package/dist/components/layout/ButtonLoader.tsx +0 -7
- package/dist/components/layout/CustomPagination.tsx +0 -55
- package/dist/components/layout/DashboardHeader.tsx +0 -89
- package/dist/components/layout/FilterMenu.tsx +0 -122
- package/dist/components/layout/Footer.tsx +0 -13
- package/dist/components/layout/GlobalSearch.tsx +0 -37
- package/dist/components/layout/Header.tsx +0 -8
- package/dist/components/layout/Layout.tsx +0 -136
- package/dist/components/layout/ListingHeader.tsx +0 -204
- package/dist/components/layout/Loader.tsx +0 -16
- package/dist/components/layout/UserSidebar.tsx +0 -53
- package/dist/components/layout/context/layoutcontext.tsx +0 -52
- package/dist/components/layout/navbar-one.tsx +0 -258
- package/dist/components/layout/navbar-two-menu.tsx +0 -73
- package/dist/components/layout/navbar-two.tsx +0 -37
- package/dist/components/layout/user-profile-menu.tsx +0 -120
- package/dist/components/layout/user-profile.tsx +0 -7
- package/dist/components/modelsComponents/filterIcon.tsx +0 -9
- package/dist/components/tables/DemoData.tsx +0 -318
- package/dist/components/tables/DynamicTable.tsx +0 -56
- package/dist/components/tables/ListViewTable.tsx +0 -156
- package/dist/helpers/AppTitle.tsx +0 -12
- package/dist/helpers/ToastContainer.tsx +0 -93
- package/dist/helpers/authHeader.ts +0 -20
- package/dist/helpers/countries.tsx +0 -260
- package/dist/helpers/downloadMediaFile.tsx +0 -19
- package/dist/helpers/getAcceptedFileTypes.tsx +0 -22
- package/dist/helpers/getRandomColors.tsx +0 -68
- package/dist/helpers/helpers.ts +0 -40
- package/dist/helpers/menu.tsx +0 -670
- package/dist/helpers/permissions.ts +0 -19
- package/dist/helpers/registry.ts +0 -173
- package/dist/helpers/revalidate.ts +0 -7
- package/dist/index.ts +0 -642
- package/dist/nextAuth/authProviders.tsx +0 -221
- package/dist/nextAuth/refreshAccessToken.tsx +0 -27
- package/dist/redux/api/articleApi.ts +0 -55
- package/dist/redux/api/authApi.ts +0 -131
- package/dist/redux/api/automationApi.ts +0 -55
- package/dist/redux/api/categoryApi.tsx +0 -46
- package/dist/redux/api/cityApi.tsx +0 -56
- package/dist/redux/api/cmsBannerImageApi.tsx +0 -55
- package/dist/redux/api/countryApi.tsx +0 -56
- package/dist/redux/api/fetchBaseQuery.tsx +0 -15
- package/dist/redux/api/fieldApi.ts +0 -78
- package/dist/redux/api/mediaApi.ts +0 -55
- package/dist/redux/api/mediaStorageProviderApi.ts +0 -55
- package/dist/redux/api/menuApi.tsx +0 -55
- package/dist/redux/api/menuItemsApi.tsx +0 -56
- package/dist/redux/api/modelApi.ts +0 -77
- package/dist/redux/api/moduleApi.ts +0 -72
- package/dist/redux/api/orderAttributeApi.tsx +0 -37
- package/dist/redux/api/permissionApi.ts +0 -32
- package/dist/redux/api/pincodeApi.tsx +0 -56
- package/dist/redux/api/productData.tsx +0 -87
- package/dist/redux/api/radixExtraModelAttributeApi.tsx +0 -37
- package/dist/redux/api/radixModelMetadataApi.tsx +0 -62
- package/dist/redux/api/radixModelsApi.tsx +0 -64
- package/dist/redux/api/ratingApi.ts +0 -55
- package/dist/redux/api/reviewApi.ts +0 -55
- package/dist/redux/api/roleApi.ts +0 -58
- package/dist/redux/api/solidActionApi.ts +0 -66
- package/dist/redux/api/solidChatterMessageApi.ts +0 -30
- package/dist/redux/api/solidEntityApi.tsx +0 -110
- package/dist/redux/api/solidMenuApi.ts +0 -71
- package/dist/redux/api/solidSettingsApi.tsx +0 -55
- package/dist/redux/api/solidViewApi.ts +0 -73
- package/dist/redux/api/stateApi.tsx +0 -56
- package/dist/redux/api/tagApi.ts +0 -55
- package/dist/redux/api/tagGroupApi.tsx +0 -55
- package/dist/redux/api/testApi.ts +0 -21
- package/dist/redux/api/userApi.ts +0 -120
- package/dist/redux/features/authSlice.ts +0 -19
- package/dist/redux/features/dataViewSlice.ts +0 -26
- package/dist/redux/features/navbarSlice.ts +0 -21
- package/dist/redux/features/popupSlice.ts +0 -27
- package/dist/redux/features/themeSlice.ts +0 -17
- package/dist/redux/features/userSlice.ts +0 -28
- package/src/components/CustomFooter/CustomFooter.tsx +0 -264
- package/src/components/CustomFooter/FooterForm.tsx +0 -19
- package/src/components/CustomHeader/CallIcon.tsx +0 -20
- package/src/components/CustomHeader/CustomDropdown.tsx +0 -175
- package/src/components/CustomHeader/CustomHeader.tsx +0 -64
- package/src/components/CustomHeader/EmailIcon.tsx +0 -12
- package/src/components/CustomHeader/HeaderCart.tsx +0 -15
- package/src/components/CustomHeader/productNavData.tsx +0 -180
- package/src/components/FormView/DetailsViews.tsx +0 -46
- package/src/components/FormView/OrderAddressDetails.tsx +0 -70
- package/src/components/FormView/OrderPaymentDetails.tsx +0 -18
- package/src/components/FormView/OrderTableDetails.tsx +0 -36
- package/src/components/FormView/OrderedProductDetail.tsx +0 -22
- package/src/components/Svg/ExcelSvg.tsx +0 -15
- package/src/components/Svg/FileSvg.tsx +0 -19
- package/src/components/Svg/PDFSvg.tsx +0 -15
- package/src/components/Svg/RightArrowSvg.tsx +0 -9
- package/src/components/Tag/CustomTag.tsx +0 -50
- package/src/components/auth/AuthLayout.tsx +0 -140
- package/src/components/auth/ForgotPasswordThankYou.tsx +0 -48
- package/src/components/auth/GoogleAuthChecking.tsx +0 -60
- package/src/components/auth/Login.tsx +0 -155
- package/src/components/auth/Register.tsx +0 -239
- package/src/components/auth/SolidChangeForcePassword.tsx +0 -145
- package/src/components/auth/SolidForgotPassword.tsx +0 -125
- package/src/components/auth/SolidInitialLoginOtp.tsx +0 -152
- package/src/components/auth/SolidInitiateRegisterOtp.tsx +0 -141
- package/src/components/auth/SolidLogin.tsx +0 -275
- package/src/components/auth/SolidOTPVerify.tsx +0 -132
- package/src/components/auth/SolidRegister.tsx +0 -348
- package/src/components/auth/SolidResetPassword.tsx +0 -162
- package/src/components/common/AuthBanner.tsx +0 -41
- package/src/components/common/AutoCompleteField.tsx +0 -76
- package/src/components/common/BackButton.tsx +0 -27
- package/src/components/common/CancelButton.tsx +0 -48
- package/src/components/common/CodeEditor.tsx +0 -26
- package/src/components/common/CreateButton.tsx +0 -17
- package/src/components/common/DropzonePlaceholder.tsx +0 -31
- package/src/components/common/DropzoneUpload.tsx +0 -11
- package/src/components/common/FileReaderExt.tsx +0 -20
- package/src/components/common/GeneralSettings.tsx +0 -414
- package/src/components/common/HeaderDynamicTitles.tsx +0 -13
- package/src/components/common/MarkdownViewer.tsx +0 -16
- package/src/components/common/MultipleSelectAutoCompleteField.tsx +0 -62
- package/src/components/common/NotFound.tsx +0 -22
- package/src/components/common/SingleSelectAutoCompleteField.tsx +0 -67
- package/src/components/common/SocialMediaLogin.tsx +0 -53
- package/src/components/common/SolidAdmin.tsx +0 -7
- package/src/components/common/SolidBreadcrumb.tsx +0 -105
- package/src/components/common/SolidFormHeader.tsx +0 -22
- package/src/components/common/SolidFormStepper.tsx +0 -213
- package/src/components/common/SolidModuleHome.tsx +0 -61
- package/src/components/common/SolidThemeLink.tsx +0 -5
- package/src/components/common/SolidThemeProvider.tsx +0 -44
- package/src/components/common/error.tsx +0 -30
- package/src/components/core/chatter/SolidChatter.tsx +0 -252
- package/src/components/core/chatter/SolidChatterDateDivider.tsx +0 -16
- package/src/components/core/chatter/SolidChatterHeader.tsx +0 -178
- package/src/components/core/chatter/SolidChatterMessageBox.tsx +0 -165
- package/src/components/core/chatter/SolidMessageComposer.tsx +0 -145
- package/src/components/core/common/FilterComponent.tsx +0 -434
- package/src/components/core/common/LoadDynamicJsxComponent.tsx +0 -70
- package/src/components/core/common/SolidCreateButton.tsx +0 -17
- package/src/components/core/common/SolidGlobalSearchElement.tsx +0 -843
- package/src/components/core/common/SolidLayoutViews.tsx +0 -87
- package/src/components/core/common/SolidListViewOptions.tsx +0 -31
- package/src/components/core/common/SolidSaveCustomFilterForm.tsx +0 -74
- package/src/components/core/common/SolidSearchBox.tsx +0 -17
- package/src/components/core/common/SolidViewLayoutManager.ts +0 -85
- package/src/components/core/extension/solid-core/emailTemplate/emailFormTypeChangeHandler.ts +0 -18
- package/src/components/core/extension/solid-core/emailTemplate/emailFormTypeLoad.ts +0 -18
- package/src/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +0 -59
- package/src/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +0 -38
- package/src/components/core/extension/solid-core/roleMetadata/RolePermissionsManyToManyFieldWidget.tsx +0 -123
- package/src/components/core/field/FieldListViewData.tsx +0 -312
- package/src/components/core/filter/SolidFilterFields.tsx +0 -128
- package/src/components/core/filter/SolidManyToOneFilterElement.tsx +0 -60
- package/src/components/core/filter/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/src/components/core/filter/SolidSelectionStaticFilterElement.tsx +0 -32
- package/src/components/core/filter/SolidVarInputsFilterElement.tsx +0 -180
- package/src/components/core/filter/fields/SolidBigintField.tsx +0 -9
- package/src/components/core/filter/fields/SolidBooleanField.tsx +0 -50
- package/src/components/core/filter/fields/SolidComputedField.tsx +0 -23
- package/src/components/core/filter/fields/SolidDateField.tsx +0 -58
- package/src/components/core/filter/fields/SolidDatetimeField.tsx +0 -51
- package/src/components/core/filter/fields/SolidDecimalField.tsx +0 -9
- package/src/components/core/filter/fields/SolidExternalIdField.tsx +0 -46
- package/src/components/core/filter/fields/SolidFloatField.tsx +0 -9
- package/src/components/core/filter/fields/SolidIdField.tsx +0 -46
- package/src/components/core/filter/fields/SolidIntField.tsx +0 -56
- package/src/components/core/filter/fields/SolidLongTextField.tsx +0 -9
- package/src/components/core/filter/fields/SolidMediaMultipleField.tsx +0 -54
- package/src/components/core/filter/fields/SolidMediaSingleField.tsx +0 -56
- package/src/components/core/filter/fields/SolidRelationField.tsx +0 -13
- package/src/components/core/filter/fields/SolidRichTextField.tsx +0 -9
- package/src/components/core/filter/fields/SolidSelectionDynamicField.tsx +0 -46
- package/src/components/core/filter/fields/SolidSelectionStaticField.tsx +0 -48
- package/src/components/core/filter/fields/SolidShortTextField.tsx +0 -54
- package/src/components/core/filter/fields/SolidTimeField.tsx +0 -45
- package/src/components/core/filter/fields/SolidUuidField.tsx +0 -45
- package/src/components/core/filter/fields/relations/SolidRelationManyToOneField.tsx +0 -80
- package/src/components/core/form/SolidFormLayouts.tsx +0 -104
- package/src/components/core/form/SolidFormUserViewLayout.tsx +0 -85
- package/src/components/core/form/SolidFormView.tsx +0 -1356
- package/src/components/core/form/fields/ISolidField.tsx +0 -69
- package/src/components/core/form/fields/SolidBooleanField.tsx +0 -269
- package/src/components/core/form/fields/SolidDateField.tsx +0 -153
- package/src/components/core/form/fields/SolidDateTimeField.tsx +0 -154
- package/src/components/core/form/fields/SolidDecimalField.tsx +0 -155
- package/src/components/core/form/fields/SolidEmailField.tsx +0 -168
- package/src/components/core/form/fields/SolidIntegerField.tsx +0 -158
- package/src/components/core/form/fields/SolidJsonField.tsx +0 -173
- package/src/components/core/form/fields/SolidLongTextField.tsx +0 -161
- package/src/components/core/form/fields/SolidMediaMultipleField.tsx +0 -639
- package/src/components/core/form/fields/SolidMediaSingleField.tsx +0 -522
- package/src/components/core/form/fields/SolidPasswordField.tsx +0 -187
- package/src/components/core/form/fields/SolidRelationField.tsx +0 -54
- package/src/components/core/form/fields/SolidRichTextField.tsx +0 -177
- package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +0 -204
- package/src/components/core/form/fields/SolidSelectionStaticField.tsx +0 -272
- package/src/components/core/form/fields/SolidShortTextField.tsx +0 -208
- package/src/components/core/form/fields/SolidTimeField.tsx +0 -147
- package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +0 -309
- package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +0 -291
- package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +0 -311
- package/src/components/core/form/fields/relations/widgets/helpers/InlineRelationEntityDialog.tsx +0 -33
- package/src/components/core/form/fields/relations/widgets/helpers/useRelationEntityHandler.ts +0 -64
- package/src/components/core/form/fields/widgets/SolidRelationFieldAvatarFormWidget.tsx +0 -46
- package/src/components/core/form/widgets/CustomHtml.tsx +0 -19
- package/src/components/core/kanban/KanbanBoard.tsx +0 -131
- package/src/components/core/kanban/KanbanCard.tsx +0 -255
- package/src/components/core/kanban/KanbanColumn.tsx +0 -139
- package/src/components/core/kanban/KanbanUserViewLayout.tsx +0 -85
- package/src/components/core/kanban/SolidKanbanView.tsx +0 -803
- package/src/components/core/kanban/SolidKanbanViewConfigure.tsx +0 -146
- package/src/components/core/kanban/SolidKanbanViewFields.tsx +0 -164
- package/src/components/core/kanban/SolidManyToOneFilterElement.tsx +0 -59
- package/src/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/src/components/core/kanban/SolidSelectionStaticFilterElement.tsx +0 -32
- package/src/components/core/kanban/SolidVarInputsFilterElement.tsx +0 -184
- package/src/components/core/kanban/kanban-fields/SolidBigintKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidBooleanKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/SolidComputedKanbanField.tsx +0 -23
- package/src/components/core/kanban/kanban-fields/SolidDateKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidDatetimeKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/SolidDecimalKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidExternalIdKanbanField.tsx +0 -12
- package/src/components/core/kanban/kanban-fields/SolidFloatKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidIdKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidIntKanbanField.tsx +0 -20
- package/src/components/core/kanban/kanban-fields/SolidLongTextKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidMediaMultipleKanbanField.tsx +0 -136
- package/src/components/core/kanban/kanban-fields/SolidMediaSingleKanbanField.tsx +0 -158
- package/src/components/core/kanban/kanban-fields/SolidRelationKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/SolidRichTextKanbanField.tsx +0 -9
- package/src/components/core/kanban/kanban-fields/SolidSelectionDynamicKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/SolidSelectionStaticKanbanField.tsx +0 -14
- package/src/components/core/kanban/kanban-fields/SolidShortTextKanbanField.tsx +0 -121
- package/src/components/core/kanban/kanban-fields/SolidTimeKanbanField.tsx +0 -12
- package/src/components/core/kanban/kanban-fields/SolidUuidKanbanField.tsx +0 -13
- package/src/components/core/kanban/kanban-fields/relations/SolidRelationManyToOneKanbanField.tsx +0 -16
- package/src/components/core/list/ListViewRowActionPopup.tsx +0 -42
- package/src/components/core/list/SolidEmptyListViewPlaceholder.tsx +0 -41
- package/src/components/core/list/SolidListColumnSelector.tsx +0 -167
- package/src/components/core/list/SolidListView.tsx +0 -981
- package/src/components/core/list/SolidListViewColumn.tsx +0 -165
- package/src/components/core/list/SolidListViewConfigure.tsx +0 -198
- package/src/components/core/list/SolidListViewShimmerLoading.tsx +0 -77
- package/src/components/core/list/SolidListingHeader.tsx +0 -42
- package/src/components/core/list/SolidManyToOneFilterElement.tsx +0 -59
- package/src/components/core/list/SolidSelectionDynamicFilterElement.tsx +0 -50
- package/src/components/core/list/SolidSelectionStaticFilterElement.tsx +0 -32
- package/src/components/core/list/SolidTableRowCell.tsx +0 -12
- package/src/components/core/list/SolidVarInputsFilterElement.tsx +0 -184
- package/src/components/core/list/columns/SolidBigintColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidBooleanColumn.tsx +0 -89
- package/src/components/core/list/columns/SolidComputedColumn.tsx +0 -23
- package/src/components/core/list/columns/SolidDateColumn.tsx +0 -90
- package/src/components/core/list/columns/SolidDatetimeColumn.tsx +0 -79
- package/src/components/core/list/columns/SolidDecimalColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidExternalIdColumn.tsx +0 -80
- package/src/components/core/list/columns/SolidFloatColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidIdColumn.tsx +0 -79
- package/src/components/core/list/columns/SolidIntColumn.tsx +0 -87
- package/src/components/core/list/columns/SolidLongTextColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidMediaMultipleColumn.tsx +0 -100
- package/src/components/core/list/columns/SolidMediaSingleColumn.tsx +0 -98
- package/src/components/core/list/columns/SolidRelationColumn.tsx +0 -20
- package/src/components/core/list/columns/SolidRichTextColumn.tsx +0 -9
- package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +0 -80
- package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +0 -81
- package/src/components/core/list/columns/SolidShortTextColumn.tsx +0 -103
- package/src/components/core/list/columns/SolidTimeColumn.tsx +0 -78
- package/src/components/core/list/columns/SolidUuidColumn.tsx +0 -79
- package/src/components/core/list/columns/relations/SolidRelationManyToManyColumn.tsx +0 -110
- package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +0 -95
- package/src/components/core/list/columns/relations/SolidRelationOneToManyColumn.tsx +0 -111
- package/src/components/core/list/widgets/SolidRelationAvatarWidget.tsx +0 -89
- package/src/components/core/list/widgets/SolidShortTextAvatarWidget.tsx +0 -58
- package/src/components/core/list/widgets/SolidShortTextFieldImageRenderModeWidget.tsx +0 -21
- package/src/components/core/model/CreateModel.tsx +0 -476
- package/src/components/core/model/FieldMetaData.tsx +0 -193
- package/src/components/core/model/FieldMetaDataForm.tsx +0 -3048
- package/src/components/core/model/FieldSelector.tsx +0 -62
- package/src/components/core/model/ModelListViewData.tsx +0 -383
- package/src/components/core/model/ModelMetaData.tsx +0 -840
- package/src/components/core/module/CreateModule.tsx +0 -620
- package/src/components/core/module/ModuleListViewData.tsx +0 -429
- package/src/components/core/users/CreateUser.tsx +0 -436
- package/src/components/core/users/CreateUserRole.tsx +0 -211
- package/src/components/core/users/UserListView.tsx +0 -374
- package/src/components/layout/AdminLayout.tsx +0 -62
- package/src/components/layout/AdminSidebar.tsx +0 -65
- package/src/components/layout/AppConfig.tsx +0 -104
- package/src/components/layout/AppSidebar.tsx +0 -225
- package/src/components/layout/ButtonLoader.tsx +0 -7
- package/src/components/layout/CustomPagination.tsx +0 -55
- package/src/components/layout/DashboardHeader.tsx +0 -89
- package/src/components/layout/FilterMenu.tsx +0 -122
- package/src/components/layout/Footer.tsx +0 -13
- package/src/components/layout/GlobalSearch.tsx +0 -37
- package/src/components/layout/Header.tsx +0 -8
- package/src/components/layout/Layout.tsx +0 -136
- package/src/components/layout/ListingHeader.tsx +0 -204
- package/src/components/layout/Loader.tsx +0 -16
- package/src/components/layout/UserSidebar.tsx +0 -53
- package/src/components/layout/context/layoutcontext.tsx +0 -52
- package/src/components/layout/navbar-one.tsx +0 -258
- package/src/components/layout/navbar-two-menu.tsx +0 -73
- package/src/components/layout/navbar-two.tsx +0 -37
- package/src/components/layout/user-profile-menu.tsx +0 -120
- package/src/components/layout/user-profile.tsx +0 -7
- package/src/components/modelsComponents/filterIcon.tsx +0 -9
- package/src/components/tables/DemoData.tsx +0 -318
- package/src/components/tables/DynamicTable.tsx +0 -56
- package/src/components/tables/ListViewTable.tsx +0 -156
- package/src/helpers/AppTitle.tsx +0 -12
- package/src/helpers/ToastContainer.tsx +0 -93
- package/src/helpers/authHeader.ts +0 -20
- package/src/helpers/countries.tsx +0 -260
- package/src/helpers/downloadMediaFile.tsx +0 -19
- package/src/helpers/getAcceptedFileTypes.tsx +0 -22
- package/src/helpers/getRandomColors.tsx +0 -68
- package/src/helpers/helpers.ts +0 -40
- package/src/helpers/menu.tsx +0 -670
- package/src/helpers/permissions.ts +0 -19
- package/src/helpers/registry.ts +0 -173
- package/src/helpers/revalidate.ts +0 -7
- package/src/index.ts +0 -642
- package/src/nextAuth/authProviders.tsx +0 -221
- package/src/nextAuth/refreshAccessToken.tsx +0 -27
- package/src/redux/api/articleApi.ts +0 -55
- package/src/redux/api/authApi.ts +0 -131
- package/src/redux/api/automationApi.ts +0 -55
- package/src/redux/api/categoryApi.tsx +0 -46
- package/src/redux/api/cityApi.tsx +0 -56
- package/src/redux/api/cmsBannerImageApi.tsx +0 -55
- package/src/redux/api/countryApi.tsx +0 -56
- package/src/redux/api/fetchBaseQuery.tsx +0 -15
- package/src/redux/api/fieldApi.ts +0 -78
- package/src/redux/api/mediaApi.ts +0 -55
- package/src/redux/api/mediaStorageProviderApi.ts +0 -55
- package/src/redux/api/menuApi.tsx +0 -55
- package/src/redux/api/menuItemsApi.tsx +0 -56
- package/src/redux/api/modelApi.ts +0 -77
- package/src/redux/api/moduleApi.ts +0 -72
- package/src/redux/api/orderAttributeApi.tsx +0 -37
- package/src/redux/api/permissionApi.ts +0 -32
- package/src/redux/api/pincodeApi.tsx +0 -56
- package/src/redux/api/productData.tsx +0 -87
- package/src/redux/api/radixExtraModelAttributeApi.tsx +0 -37
- package/src/redux/api/radixModelMetadataApi.tsx +0 -62
- package/src/redux/api/radixModelsApi.tsx +0 -64
- package/src/redux/api/ratingApi.ts +0 -55
- package/src/redux/api/reviewApi.ts +0 -55
- package/src/redux/api/roleApi.ts +0 -58
- package/src/redux/api/solidActionApi.ts +0 -66
- package/src/redux/api/solidChatterMessageApi.ts +0 -30
- package/src/redux/api/solidEntityApi.tsx +0 -110
- package/src/redux/api/solidMenuApi.ts +0 -71
- package/src/redux/api/solidSettingsApi.tsx +0 -55
- package/src/redux/api/solidViewApi.ts +0 -73
- package/src/redux/api/stateApi.tsx +0 -56
- package/src/redux/api/tagApi.ts +0 -55
- package/src/redux/api/tagGroupApi.tsx +0 -55
- package/src/redux/api/testApi.ts +0 -21
- package/src/redux/api/userApi.ts +0 -120
- package/src/redux/features/authSlice.ts +0 -19
- package/src/redux/features/dataViewSlice.ts +0 -26
- package/src/redux/features/navbarSlice.ts +0 -21
- package/src/redux/features/popupSlice.ts +0 -27
- package/src/redux/features/themeSlice.ts +0 -17
- package/src/redux/features/userSlice.ts +0 -28
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileReaderExt.js","sourceRoot":"","sources":["../../../src/components/common/FileReaderExt.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FileReaderExt.js","sourceRoot":"","sources":["../../../src/components/common/FileReaderExt.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,OAAO,OAAO,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,EAAqC;QAAnC,WAAW,iBAAA;IACvC,IAAM,UAAU,GAAG;QACf,IAAM,IAAI,GAAG,WAAW,CAAC,IAAI,CAAA;QAC7B,QAAQ,IAAI,EAAE;YACV,KAAK,WAAW;gBACZ,OAAO,kCAAkC,CAAA;YAC7C;gBACI,OAAO,kCAAkC,CAAA;SAChD;IACL,CAAC,CAAA;IACD,OAAO,CACH,wBACI,KAAC,OAAO,KAAG,GAET,CACT,CAAA;AACL,CAAC,CAAA"}
|
|
@@ -113,7 +113,7 @@ export var GeneralSettings = function () {
|
|
|
113
113
|
case 1:
|
|
114
114
|
response = _a.sent();
|
|
115
115
|
if (response.statusCode === 200) {
|
|
116
|
-
showToast("success", "
|
|
116
|
+
showToast("success", "Updated", "Settings updated");
|
|
117
117
|
}
|
|
118
118
|
return [3 /*break*/, 3];
|
|
119
119
|
case 2:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidAdmin.d.ts","sourceRoot":"","sources":["../../../src/components/common/SolidAdmin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SolidAdmin.d.ts","sourceRoot":"","sources":["../../../src/components/common/SolidAdmin.tsx"],"names":[],"mappings":"AACA,eAAO,MAAM,UAAU,+CAItB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidAdmin.js","sourceRoot":"","sources":["../../../src/components/common/SolidAdmin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SolidAdmin.js","sourceRoot":"","sources":["../../../src/components/common/SolidAdmin.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,MAAM,CAAC,IAAM,UAAU,GAAG;IACxB,OAAO,CACL,uCAAqB,CACtB,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidThemeLink.d.ts","sourceRoot":"","sources":["../../../src/components/common/SolidThemeLink.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SolidThemeLink.d.ts","sourceRoot":"","sources":["../../../src/components/common/SolidThemeLink.tsx"],"names":[],"mappings":"AACA,eAAO,MAAM,cAAc,+CAI1B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidThemeLink.js","sourceRoot":"","sources":["../../../src/components/common/SolidThemeLink.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SolidThemeLink.js","sourceRoot":"","sources":["../../../src/components/common/SolidThemeLink.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,MAAM,CAAC,IAAM,cAAc,GAAG;IAC1B,OAAO,CACH,eAAM,EAAE,EAAC,WAAW,EAAC,IAAI,EAAE,sCAAsC,EAAE,GAAG,EAAC,YAAY,GAAQ,CAC9F,CAAA;AACL,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidChatterDateDivider.js","sourceRoot":"","sources":["../../../../src/components/core/chatter/SolidChatterDateDivider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SolidChatterDateDivider.js","sourceRoot":"","sources":["../../../../src/components/core/chatter/SolidChatterDateDivider.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAM1C,MAAM,CAAC,IAAM,uBAAuB,GAAG,UAAC,EAAe;QAAb,IAAI,UAAA;IAC1C,OAAO,CACH,cAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,YACzC,cAAK,SAAS,EAAE,UAAG,MAAM,CAAC,qBAAqB,cAAW,YACrD,IAAI,GACH,GACJ,CACT,CAAA;AACL,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidChatterHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/core/chatter/SolidChatterHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SolidChatterHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/core/chatter/SolidChatterHeader.tsx"],"names":[],"mappings":"AAQA,UAAU,WAAW;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB;AAED,UAAU,KAAK;IACX,SAAS,EAAE,GAAG,CAAC;IACf,cAAc,EAAE,GAAG,CAAC;IACpB,UAAU,EAAE,GAAG,CAAC;IAChB,qBAAqB,EAAE,GAAG,CAAC;IAC3B,OAAO,EAAE,GAAG,CAAC;IACb,EAAE,EAAE,GAAG,CAAC;IACR,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;CACnD;AAED,eAAO,MAAM,kBAAkB,UAAW,KAAK,4CA0J9C,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
|
2
3
|
__assign = Object.assign || function(t) {
|
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -10,12 +11,12 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
11
|
return __assign.apply(this, arguments);
|
|
11
12
|
};
|
|
12
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { useState, useEffect } from 'react';
|
|
14
|
-
import { SolidMessageComposer } from './SolidMessageComposer';
|
|
15
14
|
import { Button } from 'primereact/button';
|
|
16
|
-
import { Dialog } from 'primereact/dialog';
|
|
17
15
|
import { Calendar } from 'primereact/calendar';
|
|
16
|
+
import { Dialog } from 'primereact/dialog';
|
|
17
|
+
import { useEffect, useState } from 'react';
|
|
18
18
|
import styles from './chatter.module.css';
|
|
19
|
+
import { SolidMessageComposer } from './SolidMessageComposer';
|
|
19
20
|
export var SolidChatterHeader = function (props) {
|
|
20
21
|
var activeTab = props.activeTab, visibleBox = props.visibleBox, handleTabClick = props.handleTabClick, solidFormViewMetaData = props.solidFormViewMetaData, refetch = props.refetch, id = props.id, onFilterChange = props.onFilterChange;
|
|
21
22
|
var _a = useState(false), showFilterDialog = _a[0], setShowFilterDialog = _a[1];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidChatterHeader.js","sourceRoot":"","sources":["../../../../src/components/core/chatter/SolidChatterHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SolidChatterHeader.js","sourceRoot":"","sources":["../../../../src/components/core/chatter/SolidChatterHeader.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;;;;;;;;;;;;AACZ,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,MAAM,MAAM,sBAAsB,CAAA;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAkB7D,MAAM,CAAC,IAAM,kBAAkB,GAAG,UAAC,KAAY;IACnC,IAAA,SAAS,GAAqF,KAAK,UAA1F,EAAE,UAAU,GAAyE,KAAK,WAA9E,EAAE,cAAc,GAAyD,KAAK,eAA9D,EAAE,qBAAqB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YACnB,KAAC,QAAQ,IACL,EAAE,EAAC,SAAS,EACZ,KAAK,EAAE,OAAO,CAAC,OAAO,EACtB,QAAQ,EAAE,UAAC,CAAC,IAAK,OAAA,UAAU,CAAC,UAAA,IAAI,IAAI,OAAA,uBAAM,IAAI,KAAE,OAAO,EAAE,CAAC,CAAC,KAAa,IAAG,EAAvC,CAAuC,CAAC,EAA3D,CAA2D,EAC5E,WAAW,EAAC,UAAU,EACtB,QAAQ,QACR,UAAU,EAAC,UAAU,EACrB,SAAS,EAAC,QAAQ,GACpB,GACA,IACJ,IACJ,EACN,eAAK,SAAS,EAAC,qCAAqC,aAChD,KAAC,MAAM,IACH,KAAK,EAAC,OAAO,EACb,QAAQ,EAAC,WAAW,EACpB,QAAQ,QACR,OAAO,EAAE,kBAAkB,GAC7B,EACF,KAAC,MAAM,IACH,KAAK,EAAC,OAAO,EACb,OAAO,EAAE,kBAAkB,GAC7B,IACA,IACJ,GACD,IACP,CACT,CAAA;AACL,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidChatterMessageBox.d.ts","sourceRoot":"","sources":["../../../../src/components/core/chatter/SolidChatterMessageBox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SolidChatterMessageBox.d.ts","sourceRoot":"","sources":["../../../../src/components/core/chatter/SolidChatterMessageBox.tsx"],"names":[],"mappings":"AASA,UAAU,KAAK;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,KAAK,CAAC,EAAE;QACJ,kBAAkB,CAAC,EAAE,KAAK,CAAC;YACvB,EAAE,EAAE,MAAM,CAAC;YACX,WAAW,EAAE,MAAM,CAAC;YACpB,QAAQ,EAAE,MAAM,CAAC;YACjB,gBAAgB,EAAE,MAAM,CAAC;YACzB,SAAS,EAAE,MAAM,CAAC;SACrB,CAAC,CAAC;KACN,CAAC;CACL;AAsBD,eAAO,MAAM,sBAAsB,UAAW,KAAK,4CAuHlD,CAAA"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo, useState } from 'react';
|
|
3
|
-
import styles from './chatter.module.css';
|
|
4
|
-
import { Avatar } from 'primereact/avatar';
|
|
5
|
-
import { stringToColor, getTextColor } from '../../../helpers/getRandomColors';
|
|
6
3
|
import { RightArrowSvg } from '../../../components/Svg/RightArrowSvg';
|
|
7
|
-
import {
|
|
4
|
+
import { getTextColor, stringToColor } from '../../../helpers/getRandomColors';
|
|
8
5
|
import Image from 'next/image';
|
|
6
|
+
import { Avatar } from 'primereact/avatar';
|
|
7
|
+
import { Dialog } from 'primereact/dialog';
|
|
8
|
+
import { useMemo, useState } from 'react';
|
|
9
|
+
import styles from './chatter.module.css';
|
|
9
10
|
var getFileIcon = function (mimeType) {
|
|
10
11
|
if (mimeType.startsWith('image/')) {
|
|
11
12
|
return 'pi pi-image';
|
|
@@ -41,6 +42,6 @@ export var SolidChatterMessageBox = function (props) {
|
|
|
41
42
|
return (_jsxs("div", { className: styles.solidChatterMessageBox, children: [_jsxs("div", { className: 'flex align-items-center', children: [_jsx("div", { style: { width: 32 }, children: _jsx(Avatar, { label: user.charAt(0).toUpperCase(), style: avatarStyle, shape: "circle" }) }), _jsxs("div", { className: 'flex align-items-center justify-content-between', style: { width: '100%' }, children: [_jsxs("div", { className: 'text-sm', children: [_jsx("span", { className: 'font-bold', children: user }), _jsx("span", { className: 'ml-2', style: { color: '#949494' }, children: auditType === "fieldChange" ? 'Fields changed' : 'Sent message' })] }), _jsx("i", { className: 'pi pi-ellipsis-v text-xs' })] })] }), _jsxs("div", { className: 'flex align-items-center mt-1', children: [_jsx("div", { style: { width: 32 } }), _jsxs("div", { style: { width: '100%' }, children: [_jsx("p", { className: 'mb-1 text-sm font-bold', style: { color: '#949494' }, children: time }), _jsx("div", { className: styles.solidMessageWrapper, children: auditType === "audit" ? (_jsx("div", { className: 'flex flex-column gap-2', children: auditRecord.map(function (item, index) { return (_jsxs("div", { className: 'flex gap-2', children: [_jsx("span", { className: 'm-0 text-sm', children: "(" + item.field + ")" }), _jsx("span", { className: 'm-0 text-sm font-bold', children: item.previous }), _jsx(RightArrowSvg, {}), _jsx("span", { className: 'm-0 text-sm font-bold text-primary', children: item.current })] }, index)); }) })) : (_jsx("p", { className: 'm-0 text-sm', children: message })) }), (media === null || media === void 0 ? void 0 : media.messageAttachments) && media.messageAttachments.length > 0 && (_jsx("div", { className: 'flex flex-wrap gap-2 mt-2', children: media.messageAttachments.map(function (attachment) {
|
|
42
43
|
var isImage = attachment.mimeType.startsWith('image/');
|
|
43
44
|
return (_jsx("div", { className: 'flex align-items-center gap-2 bg-gray-100 p-2 rounded', children: isImage ? (_jsx("div", { className: 'cursor-pointer', onClick: function () { return handleImageClick(attachment._full_url); }, children: _jsx(Image, { src: encodeURI(attachment._full_url), alt: attachment.originalFileName, width: 50, height: 50, className: 'rounded', style: { objectFit: 'cover' } }) })) : (_jsxs("a", { href: encodeURI(attachment._full_url), target: "_blank", rel: "noopener noreferrer", className: 'flex align-items-center gap-2 text-decoration-none', children: [_jsx("i", { className: getFileIcon(attachment.mimeType) }), _jsx("span", { className: 'text-sm', children: attachment.originalFileName })] })) }, attachment.id));
|
|
44
|
-
}) }))] })] }), _jsx(Dialog, { visible: isImageDialogVisible, onHide: function () { return setIsImageDialogVisible(false); }, className: 'w-9', modal: true, children: selectedImage && (_jsx(Image, { src: selectedImage, alt: "Preview", width: 800, height: 600, style: { width: '100%', height: 'auto' } })) })] }));
|
|
45
|
+
}) }))] })] }), _jsx(Dialog, { visible: isImageDialogVisible, onHide: function () { return setIsImageDialogVisible(false); }, className: 'w-9 ', modal: true, children: selectedImage && (_jsx(Image, { src: selectedImage, alt: "Preview", width: 800, height: 600, style: { width: '100%', height: 'auto' } })) })] }));
|
|
45
46
|
};
|
|
46
47
|
//# sourceMappingURL=SolidChatterMessageBox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidChatterMessageBox.js","sourceRoot":"","sources":["../../../../src/components/core/chatter/SolidChatterMessageBox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SolidChatterMessageBox.js","sourceRoot":"","sources":["../../../../src/components/core/chatter/SolidChatterMessageBox.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AACvE,OAAO,KAAK,MAAM,YAAY,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,MAAM,MAAM,sBAAsB,CAAA;AAmBzC,IAAM,WAAW,GAAG,UAAC,QAAgB;IACjC,IAAI,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;QAC/B,OAAO,aAAa,CAAC;KACxB;IACD,QAAQ,QAAQ,EAAE;QACd,KAAK,iBAAiB;YAClB,OAAO,gBAAgB,CAAC;QAC5B,KAAK,0BAA0B,CAAC;QAChC,KAAK,mEAAmE;YACpE,OAAO,kBAAkB,CAAC;QAC9B,KAAK,oBAAoB,CAAC;QAC1B,KAAK,yEAAyE;YAC1E,OAAO,iBAAiB,CAAC;QAC7B,KAAK,YAAY;YACb,OAAO,YAAY,CAAC;QACxB;YACI,OAAO,YAAY,CAAC;KAC3B;AACL,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,sBAAsB,GAAG,UAAC,KAAY;IACvC,IAAA,I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AAK,EAAE,GAAG,EACV,MAAM,EAAE,GAAG,EACX,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAC1C,CACL,GACI,IACP,CACT,CAAA;AACL,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidSaveCustomFilterForm.d.ts","sourceRoot":"","sources":["../../../../src/components/core/common/SolidSaveCustomFilterForm.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SolidSaveCustomFilterForm.d.ts","sourceRoot":"","sources":["../../../../src/components/core/common/SolidSaveCustomFilterForm.tsx"],"names":[],"mappings":";AAKA,UAAU,8BAA8B;IACpC,sBAAsB,EAAE,GAAG,CAAC;IAC5B,gBAAgB,EAAE,CAAC,EAAG,IAAA,KAAK,IAAI,CAAC;IAChC,WAAW,EAAE,GAAG,CAAA;CACnB;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CA8D9E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidSaveCustomFilterForm.js","sourceRoot":"","sources":["../../../../src/components/core/common/SolidSaveCustomFilterForm.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SolidSaveCustomFilterForm.js","sourceRoot":"","sources":["../../../../src/components/core/common/SolidSaveCustomFilterForm.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;;;;;;;;;;;;AACZ,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAQjC,MAAM,CAAC,IAAM,yBAAyB,GAA6C,UAAC,EAAyD;QAAvD,sBAAsB,4BAAA,EAAE,gBAAgB,sBAAA,EAAE,WAAW,iBAAA;IACjI,IAAA,KAA8B,QAAQ,CAAC,EAAE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AAC,IAAI,EACtB,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,sBAAsB,GAClC,IACA,EACN,eAAK,SAAS,EAAC,+BAA+B,aAC1C,KAAC,QAAQ,IACL,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,WAAW,EAChB,OAAO,EAAE,UAAU,CAAC,SAAS,EAC7B,QAAQ,EAAE,UAAC,CAAM,IAAK,OAAA,YAAY,CAAC,CAAC,CAAC,EAAf,CAAe,GAE9B,EACX,gBAAO,OAAO,EAAC,WAAW,EAAC,SAAS,EAAC,MAAM,2BAAmB,IAC5D,EACN,eAAK,SAAS,EAAC,oCAAoC,aAC/C,KAAC,MAAM,IACH,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,MAAM,EACZ,IAAI,EAAC,OAAO,GACd,EACF,KAAC,MAAM,IACH,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,QAAQ,EACd,IAAI,EAAC,OAAO,EACZ,QAAQ,QACR,OAAO,EAAE,cAAM,OAAA,WAAW,EAAE,EAAb,CAAa,GAC9B,IACA,IACH,CACV,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const SolidFormActionHeader: ({ formik, params, actionsAllowed, formViewLayout, solidView, solidFormViewMetaData, initialEntityData, setDeleteDialogVisible, setLayoutDialogVisible, setRedirectToList, viewMode, setViewMode }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
//# sourceMappingURL=SolidFormActionHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidFormActionHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/core/form/SolidFormActionHeader.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,qBAAqB,sMAAuM,GAAG,4CA8M3O,CAAA"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { BackButton } from "../../../components/common/BackButton";
|
|
4
|
+
import { SolidCancelButton } from "../../../components/common/CancelButton";
|
|
5
|
+
import { SolidFormHeader } from "../../../components/common/SolidFormHeader";
|
|
6
|
+
import { createPermission, deletePermission, updatePermission } from "../../../helpers/permissions";
|
|
7
|
+
import { usePathname, useRouter, useSearchParams } from "next/navigation";
|
|
8
|
+
import { Button } from "primereact/button";
|
|
9
|
+
import { OverlayPanel } from "primereact/overlaypanel";
|
|
10
|
+
import { useRef } from "react";
|
|
11
|
+
export var SolidFormActionHeader = function (_a) {
|
|
12
|
+
var formik = _a.formik, params = _a.params, actionsAllowed = _a.actionsAllowed, formViewLayout = _a.formViewLayout, solidView = _a.solidView, solidFormViewMetaData = _a.solidFormViewMetaData, initialEntityData = _a.initialEntityData, setDeleteDialogVisible = _a.setDeleteDialogVisible, setLayoutDialogVisible = _a.setLayoutDialogVisible, setRedirectToList = _a.setRedirectToList, viewMode = _a.viewMode, setViewMode = _a.setViewMode;
|
|
13
|
+
var router = useRouter();
|
|
14
|
+
var pathname = usePathname();
|
|
15
|
+
var searchParams = useSearchParams();
|
|
16
|
+
var op = useRef(null);
|
|
17
|
+
var createHeaderTitle = "Create ".concat(solidView.model.displayName);
|
|
18
|
+
var editHeaderTitle = "Edit ".concat(solidView.model.displayName);
|
|
19
|
+
var updateViewMode = function (newMode) {
|
|
20
|
+
setViewMode(newMode);
|
|
21
|
+
var params = new URLSearchParams(searchParams.toString());
|
|
22
|
+
params.set("viewMode", newMode);
|
|
23
|
+
router.push("".concat(pathname, "?").concat(params.toString()), { scroll: false });
|
|
24
|
+
};
|
|
25
|
+
var FormActionDropdown = function () {
|
|
26
|
+
return (_jsxs("div", { children: [_jsx(Button, { outlined: true, severity: "secondary", type: "button", icon: 'pi pi-cog', size: "small", className: "surface-card p-0", style: {
|
|
27
|
+
height: 33.06,
|
|
28
|
+
width: 33.06
|
|
29
|
+
}, onClick: function (e) {
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
return op.current.toggle(e);
|
|
32
|
+
} }), _jsx(OverlayPanel, { ref: op, className: "solid-custom-overlay", children: _jsxs("div", { className: "flex flex-column gap-1 p-1", children: [params.embeded !== true &&
|
|
33
|
+
params.id !== "new" &&
|
|
34
|
+
actionsAllowed.includes("".concat(deletePermission(params.modelName))) &&
|
|
35
|
+
!formViewLayout.attrs.readonly &&
|
|
36
|
+
_jsx(Button, { text: true, type: "button", className: "w-8rem text-left gap-2", label: "Delete", size: "small", iconPos: "left", severity: "danger", icon: 'pi pi-trash', onClick: function () { return setDeleteDialogVisible(true); } }), _jsx(Button, { text: true, type: "button", className: "w-8rem text-left gap-2 purple-200", label: "Layout", size: "small", iconPos: "left", severity: "contrast", icon: 'pi pi-objects-column', onClick: function () { return setLayoutDialogVisible(true); } })] }) })] }));
|
|
37
|
+
};
|
|
38
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "solid-form-header", children: params.id === "new" ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "flex align-items-center gap-3", children: [params.embeded !== true && _jsx(BackButton, {}), _jsxs("div", { className: "form-wrapper-title", children: [" ", createHeaderTitle] })] }), _jsxs("div", { className: "gap-3 flex", children: [params.embeded !== true &&
|
|
39
|
+
actionsAllowed.includes("".concat(createPermission(params.modelName))) &&
|
|
40
|
+
!formViewLayout.attrs.readonly &&
|
|
41
|
+
formik.dirty &&
|
|
42
|
+
_jsx("div", { children: _jsx(Button, { label: "Save", size: "small", type: "submit" }) }), params.embeded == true &&
|
|
43
|
+
actionsAllowed.includes("".concat(createPermission(params.modelName))) &&
|
|
44
|
+
!formViewLayout.attrs.readonly &&
|
|
45
|
+
formik.dirty &&
|
|
46
|
+
_jsx("div", { children: _jsx(Button, { label: "Save", size: "small", onClick: function () {
|
|
47
|
+
setRedirectToList(false);
|
|
48
|
+
}, type: "submit" }) }), params.embeded == true &&
|
|
49
|
+
_jsx(Button, { outlined: true, size: "small", type: "button", label: "Close", onClick: function () { return params.handlePopupClose(); }, className: 'bg-primary-reverse' }), params.embeded !== true &&
|
|
50
|
+
_jsx(SolidCancelButton, {}), _jsx(FormActionDropdown, {})] })] })) : (_jsxs(_Fragment, { children: [_jsxs("div", { className: "flex align-items-center gap-3", children: [params.embeded !== true && _jsx(BackButton, {}), _jsxs("div", { className: "form-wrapper-title", children: [" ", editHeaderTitle] })] }), _jsxs("div", { className: "gap-3 flex", children: [params.embeded !== true && viewMode === "view" &&
|
|
51
|
+
_jsx("div", { children: _jsx(Button, { label: "Edit", size: "small", onClick: function () { return updateViewMode("edit"); }, type: "button" }) }), params.embeded !== true &&
|
|
52
|
+
actionsAllowed.includes("".concat(updatePermission(params.modelName))) &&
|
|
53
|
+
!formViewLayout.attrs.readonly &&
|
|
54
|
+
formik.dirty &&
|
|
55
|
+
_jsx("div", { children: _jsx(Button, { label: "Save", size: "small", type: "submit" }) }), params.embeded == true &&
|
|
56
|
+
actionsAllowed.includes("".concat(updatePermission(params.modelName))) &&
|
|
57
|
+
!formViewLayout.attrs.readonly &&
|
|
58
|
+
formik.dirty &&
|
|
59
|
+
_jsx("div", { children: _jsx(Button, { label: "Save", size: "small", type: "submit" }) }), params.embeded == true &&
|
|
60
|
+
actionsAllowed.includes("".concat(deletePermission(params.modelName))) &&
|
|
61
|
+
!formViewLayout.attrs.readonly &&
|
|
62
|
+
_jsx("div", { children: _jsx(Button, { size: "small", type: "button", label: "Delete", severity: "danger", onClick: function () { return setDeleteDialogVisible(true); } }) }), params.embeded == true &&
|
|
63
|
+
_jsx(Button, { outlined: true, size: "small", type: "button", label: "Close", onClick: function () { return params.handlePopupClose(); }, className: 'bg-primary-reverse' }), params.embeded !== true &&
|
|
64
|
+
_jsx(SolidCancelButton, {}), _jsx(FormActionDropdown, {})] })] })) }), params.embeded !== true &&
|
|
65
|
+
_jsx(SolidFormHeader, { solidFormViewMetaData: solidFormViewMetaData, initialEntityData: initialEntityData, modelName: params.modelName, id: params.id })] }));
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=SolidFormActionHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidFormActionHeader.js","sourceRoot":"","sources":["../../../../src/components/core/form/SolidFormActionHeader.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC7F,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,IAAM,qBAAqB,GAAG,UAAC,EAAsM;QAApM,MAAM,YAAA,EAAE,MAAM,YAAA,EAAE,cAAc,oBAAA,EAAE,cAAc,oBAAA,EAAE,SAAS,eAAA,EAAE,qBAAqB,2BAAA,EAAE,iBAAiB,uBAAA,EAAE,sBAAsB,4BAAA,EAAE,sBAAsB,4BAAA,EAAE,iBAAiB,uBAAA,EAAE,QAAQ,cAAA,EAAE,WAAW,iBAAA;IACjO,IAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,IAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,IAAM,YAAY,GAAG,eAAe,EAAE,CAAC;IACvC,IAAM,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAExB,IAAM,iBAAiB,GAAG,iBAAU,SAAS,CAAC,KAAK,CAAC,WAAW,CAAE,CAAC;IAClE,IAAM,eAAe,GAAG,eAAQ,SAAS,CAAC,KA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E,MAAM,CAAC,SAAS,EAC3B,EAAE,EAAE,MAAM,CAAC,EAAE,GACf,IAEP,CACN,CAAA;AACL,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SolidFormView.d.ts","sourceRoot":"","sources":["../../../../src/components/core/form/SolidFormView.tsx"],"names":[],"mappings":"AAUA,OAAO,yBAAyB,CAAC;AAuCjC,OAAO,uCAAuC,CAAC;AAC/C,OAAO,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"SolidFormView.d.ts","sourceRoot":"","sources":["../../../../src/components/core/form/SolidFormView.tsx"],"names":[],"mappings":"AAUA,OAAO,yBAAyB,CAAC;AAuCjC,OAAO,uCAAuC,CAAC;AAC/C,OAAO,gDAAgD,CAAC;AAIxD,MAAM,MAAM,kBAAkB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,GAAG,CAAC;IACvB,mBAAmB,CAAC,EAAE,GAAG,CAAA;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,YAAY,CAAC,EAAE,GAAG,CAAC;CACtB,CAAC;AAgSF,QAAA,MAAM,aAAa,WAAY,kBAAkB,4CAuwBhD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -46,8 +46,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
46
46
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
-
import { jsx as _jsx, jsxs as _jsxs
|
|
50
|
-
import { SolidCancelButton } from "../../../components/common/CancelButton";
|
|
49
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
51
50
|
import { createPermission, deletePermission, updatePermission } from "../../../helpers/permissions";
|
|
52
51
|
import { createSolidEntityApi } from "../../../redux/api/solidEntityApi";
|
|
53
52
|
import { useGetSolidViewLayoutQuery } from "../../../redux/api/solidViewApi";
|
|
@@ -77,13 +76,10 @@ import { SolidSelectionDynamicField } from "./fields/SolidSelectionDynamicField"
|
|
|
77
76
|
import { SolidSelectionStaticField } from "./fields/SolidSelectionStaticField";
|
|
78
77
|
import { SolidShortTextField } from "./fields/SolidShortTextField";
|
|
79
78
|
import { SolidTimeField } from "./fields/SolidTimeField";
|
|
80
|
-
import { BackButton } from "../../../components/common/BackButton";
|
|
81
|
-
import { OverlayPanel } from "primereact/overlaypanel";
|
|
82
79
|
import { getExtensionComponent, getExtensionFunction } from "../../../helpers/registry";
|
|
83
80
|
import { SolidPasswordField } from "./fields/SolidPasswordField";
|
|
84
81
|
import { SolidEmailField } from "./fields/SolidEmailField";
|
|
85
82
|
import { Panel } from "primereact/panel";
|
|
86
|
-
import { SolidFormHeader } from "../../../components/common/SolidFormHeader";
|
|
87
83
|
import { SolidFormUserViewLayout } from "./SolidFormUserViewLayout";
|
|
88
84
|
import Lightbox from "yet-another-react-lightbox";
|
|
89
85
|
import Counter from "yet-another-react-lightbox/plugins/counter";
|
|
@@ -91,6 +87,7 @@ import Download from "yet-another-react-lightbox/plugins/download";
|
|
|
91
87
|
import "yet-another-react-lightbox/styles.css";
|
|
92
88
|
import "yet-another-react-lightbox/plugins/counter.css";
|
|
93
89
|
import { SolidChatter } from "../chatter/SolidChatter";
|
|
90
|
+
import { SolidFormActionHeader } from "./SolidFormActionHeader";
|
|
94
91
|
var getLayoutFields = function (node) {
|
|
95
92
|
var fields = [];
|
|
96
93
|
if (node.type === "field") {
|
|
@@ -448,18 +445,6 @@ var SolidFormView = function (params) {
|
|
|
448
445
|
isEntityDeleteError,
|
|
449
446
|
isEntityUpdateError
|
|
450
447
|
]);
|
|
451
|
-
var showError = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
452
|
-
var errors, errorMessages;
|
|
453
|
-
return __generator(this, function (_a) {
|
|
454
|
-
switch (_a.label) {
|
|
455
|
-
case 0: return [4 /*yield*/, formik.validateForm()];
|
|
456
|
-
case 1:
|
|
457
|
-
errors = _a.sent();
|
|
458
|
-
errorMessages = Object.values(errors);
|
|
459
|
-
return [2 /*return*/];
|
|
460
|
-
}
|
|
461
|
-
});
|
|
462
|
-
}); };
|
|
463
448
|
var showToast = function (severity, summary, detail) {
|
|
464
449
|
var _a;
|
|
465
450
|
(_a = toast.current) === null || _a === void 0 ? void 0 : _a.show({
|
|
@@ -689,8 +674,6 @@ var SolidFormView = function (params) {
|
|
|
689
674
|
// Initialize formik...
|
|
690
675
|
var solidView_1 = solidFormViewMetaData.data.solidView;
|
|
691
676
|
var solidFieldsMetadata_1 = solidFormViewMetaData.data.solidFieldsMetadata;
|
|
692
|
-
var createHeaderTitle = "Create ".concat(solidView_1.model.displayName);
|
|
693
|
-
var editHeaderTitle = "Edit ".concat(solidView_1.model.displayName);
|
|
694
677
|
var validationSchema = {};
|
|
695
678
|
var initialValues = {};
|
|
696
679
|
for (var i = 0; i < (layoutFields === null || layoutFields === void 0 ? void 0 : layoutFields.length); i++) {
|
|
@@ -903,19 +886,6 @@ var SolidFormView = function (params) {
|
|
|
903
886
|
var onDeleteClose_1 = function () {
|
|
904
887
|
setDeleteDialogVisible(false);
|
|
905
888
|
};
|
|
906
|
-
var formActionDropdown = function () {
|
|
907
|
-
return (_jsxs("div", { children: [_jsx(Button, { outlined: true, severity: "secondary", type: "button", icon: 'pi pi-cog', size: "small", className: "surface-card p-0", style: {
|
|
908
|
-
height: 33.06,
|
|
909
|
-
width: 33.06
|
|
910
|
-
}, onClick: function (e) {
|
|
911
|
-
// @ts-ignore
|
|
912
|
-
return op.current.toggle(e);
|
|
913
|
-
} }), _jsx(OverlayPanel, { ref: op, className: "solid-custom-overlay", children: _jsxs("div", { className: "flex flex-column gap-1 p-1", children: [params.embeded !== true &&
|
|
914
|
-
params.id !== "new" &&
|
|
915
|
-
actionsAllowed.includes("".concat(deletePermission(params.modelName))) &&
|
|
916
|
-
!formViewLayout.attrs.readonly &&
|
|
917
|
-
_jsx(Button, { text: true, type: "button", className: "w-8rem text-left gap-2", label: "Delete", size: "small", iconPos: "left", severity: "danger", icon: 'pi pi-trash', onClick: function () { return setDeleteDialogVisible(true); } }), _jsx(Button, { text: true, type: "button", className: "w-8rem text-left gap-2 purple-200", label: "Layout", size: "small", iconPos: "left", severity: "contrast", icon: 'pi pi-objects-column', onClick: function () { return setLayoutDialogVisible(true); } })] }) })] }));
|
|
918
|
-
};
|
|
919
889
|
// TODO: This was simply to demonstrate how we can use dynamic components, we will remove this and use it in a more sensible way in the layout.
|
|
920
890
|
// TODO: to demonstrated this you can simply add the below to the layout of the book form view.
|
|
921
891
|
// TODO: "header": "BookFormViewDynamicComponent",
|
|
@@ -924,42 +894,7 @@ var SolidFormView = function (params) {
|
|
|
924
894
|
if (dynamicHeader) {
|
|
925
895
|
DynamicHeaderComponent = getExtensionComponent(dynamicHeader);
|
|
926
896
|
}
|
|
927
|
-
return (_jsxs("div", { className: "solid-form-wrapper", children: [_jsx(Toast, { ref: toast }), _jsxs("div", { className: "solid-form-section", style: { borderRight: params.embeded !== true ? '1px solid var(--primary-light-color' : '' }, children: [_jsxs("form", { style: { width: '100%' }, onSubmit: formik.handleSubmit, children: [_jsx(
|
|
928
|
-
actionsAllowed.includes("".concat(createPermission(params.modelName))) &&
|
|
929
|
-
!formViewLayout.attrs.readonly &&
|
|
930
|
-
formik.dirty &&
|
|
931
|
-
_jsx("div", { children: _jsx(Button, { label: "Save", size: "small", onClick: function () { return showError(); }, type: "submit" }) }), params.embeded == true &&
|
|
932
|
-
actionsAllowed.includes("".concat(createPermission(params.modelName))) &&
|
|
933
|
-
!formViewLayout.attrs.readonly &&
|
|
934
|
-
formik.dirty &&
|
|
935
|
-
_jsx("div", { children: _jsx(Button, { label: "Save", size: "small", onClick: function () {
|
|
936
|
-
setRedirectToList(false);
|
|
937
|
-
showError();
|
|
938
|
-
}, type: "submit" }) }), params.embeded == true &&
|
|
939
|
-
_jsx(Button, { outlined: true, size: "small", type: "button", label: "Close", onClick: function () { return params.handlePopupClose(); }, className: 'bg-primary-reverse' }), params.embeded !== true &&
|
|
940
|
-
_jsx(SolidCancelButton, {}), formActionDropdown()] })] })) : (_jsxs(_Fragment, { children: [_jsxs("div", { className: "flex align-items-center gap-3", children: [params.embeded !== true && _jsx(BackButton, {}), _jsxs("div", { className: "form-wrapper-title", children: [" ", editHeaderTitle] })] }), _jsxs("div", { className: "gap-3 flex", children: [params.embeded !== true && viewMode === "view" &&
|
|
941
|
-
_jsx("div", { children: _jsx(Button, { label: "Edit", size: "small", onClick: function () { return updateViewMode("edit"); }, type: "button" }) }), params.embeded !== true &&
|
|
942
|
-
actionsAllowed.includes("".concat(updatePermission(params.modelName))) &&
|
|
943
|
-
!formViewLayout.attrs.readonly &&
|
|
944
|
-
formik.dirty &&
|
|
945
|
-
_jsx("div", { children: _jsx(Button, { label: "Save", size: "small", onClick: function () { return showError(); }, type: "submit" }) }), params.embeded == true &&
|
|
946
|
-
actionsAllowed.includes("".concat(updatePermission(params.modelName))) &&
|
|
947
|
-
!formViewLayout.attrs.readonly &&
|
|
948
|
-
formik.dirty &&
|
|
949
|
-
_jsx("div", { children: _jsx(Button, { label: "Save", size: "small", onClick: function () { return showError(); }, type: "submit" }) }), params.embeded == true &&
|
|
950
|
-
actionsAllowed.includes("".concat(deletePermission(params.modelName))) &&
|
|
951
|
-
!formViewLayout.attrs.readonly &&
|
|
952
|
-
_jsx("div", { children: _jsx(Button, { size: "small", type: "button", label: "Delete", severity: "danger", onClick: function () { return setDeleteDialogVisible(true); } }) }), params.embeded == true &&
|
|
953
|
-
_jsx(Button, { outlined: true, size: "small", type: "button", label: "Close", onClick: function () { return params.handlePopupClose(); }, className: 'bg-primary-reverse' }), params.embeded !== true &&
|
|
954
|
-
_jsx(SolidCancelButton, {}), formActionDropdown()] })] })) }), params.embeded !== true &&
|
|
955
|
-
// <div className="solid-form-stepper">
|
|
956
|
-
_jsx(SolidFormHeader
|
|
957
|
-
// solidFormViewMetaData={solidFormViewMetaData?.data?.solidView?.model}
|
|
958
|
-
, {
|
|
959
|
-
// solidFormViewMetaData={solidFormViewMetaData?.data?.solidView?.model}
|
|
960
|
-
solidFormViewMetaData: solidFormViewMetaData, initialEntityData: initialEntityData, modelName: params.modelName, id: params.id })
|
|
961
|
-
// </div>
|
|
962
|
-
, _jsxs("div", { className: "p-4 solid-form-content", children: [DynamicHeaderComponent && _jsx(DynamicHeaderComponent, {}), renderFormDynamically(formViewMetaData)] })] }), params.embeded !== true && isShowChatter === true &&
|
|
897
|
+
return (_jsxs("div", { className: "solid-form-wrapper", children: [_jsx(Toast, { ref: toast }), _jsxs("div", { className: "solid-form-section", style: { borderRight: params.embeded !== true ? '1px solid var(--primary-light-color' : '' }, children: [_jsxs("form", { style: { width: '100%' }, onSubmit: formik.handleSubmit, children: [_jsx(SolidFormActionHeader, { formik: formik, params: params, actionsAllowed: actionsAllowed, formViewLayout: formViewLayout, solidView: solidView_1, solidFormViewMetaData: solidFormViewMetaData, initialEntityData: initialEntityData, setDeleteDialogVisible: setDeleteDialogVisible, setLayoutDialogVisible: setLayoutDialogVisible, setRedirectToList: setRedirectToList, viewMode: viewMode, setViewMode: setViewMode }), _jsxs("div", { className: "p-4 solid-form-content", children: [DynamicHeaderComponent && _jsx(DynamicHeaderComponent, {}), renderFormDynamically(formViewMetaData)] })] }), params.embeded !== true && isShowChatter === true &&
|
|
963
898
|
_jsx(Button, { icon: "pi pi-chevron-right", size: "small", text: true, className: "chatter-collapse-btn", style: { width: 30 }, onClick: function () { return setShowChatter(false); } })] }), params.embeded !== true &&
|
|
964
899
|
_jsx("div", { className: "chatter-section ".concat(isShowChatter === false ? 'collapsed' : ''), children: isShowChatter === false ?
|
|
965
900
|
_jsxs("div", { className: "flex flex-column gap-2 justify-content-center p-2", children: [_jsx("div", { className: "chatter-collapsed-content", children: "Chatter/Audit Trail" }), _jsx(Button, { icon: "pi pi-chevron-left", size: "small", className: "px-0", style: { width: 30 }, onClick: function () { setShowChatter(true); setRefreshChatterMessage(true); } })] })
|