@solidstarters/solid-core-ui 0.1.26
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/CustomFooter/CustomFooter.d.ts +2 -0
- package/dist/components/CustomFooter/CustomFooter.d.ts.map +1 -0
- package/dist/components/CustomFooter/FooterForm.d.ts +2 -0
- package/dist/components/CustomFooter/FooterForm.d.ts.map +1 -0
- package/dist/components/CustomHeader/CallIcon.d.ts +2 -0
- package/dist/components/CustomHeader/CallIcon.d.ts.map +1 -0
- package/dist/components/CustomHeader/CustomDropdown.d.ts +21 -0
- package/dist/components/CustomHeader/CustomDropdown.d.ts.map +1 -0
- package/dist/components/CustomHeader/CustomHeader.d.ts +2 -0
- package/dist/components/CustomHeader/CustomHeader.d.ts.map +1 -0
- package/dist/components/CustomHeader/EmailIcon.d.ts +2 -0
- package/dist/components/CustomHeader/EmailIcon.d.ts.map +1 -0
- package/dist/components/CustomHeader/HeaderCart.d.ts +2 -0
- package/dist/components/CustomHeader/HeaderCart.d.ts.map +1 -0
- package/dist/components/CustomHeader/productNavData.d.ts +3 -0
- package/dist/components/CustomHeader/productNavData.d.ts.map +1 -0
- package/dist/components/FormView/DetailsViews.d.ts +2 -0
- package/dist/components/FormView/DetailsViews.d.ts.map +1 -0
- package/dist/components/FormView/OrderAddressDetails.d.ts +2 -0
- package/dist/components/FormView/OrderAddressDetails.d.ts.map +1 -0
- package/dist/components/FormView/OrderPaymentDetails.d.ts +2 -0
- package/dist/components/FormView/OrderPaymentDetails.d.ts.map +1 -0
- package/dist/components/FormView/OrderTableDetails.d.ts +2 -0
- package/dist/components/FormView/OrderTableDetails.d.ts.map +1 -0
- package/dist/components/FormView/OrderedProductDetail.d.ts +2 -0
- package/dist/components/FormView/OrderedProductDetail.d.ts.map +1 -0
- package/dist/components/Tag/CustomTag.d.ts +8 -0
- package/dist/components/Tag/CustomTag.d.ts.map +1 -0
- package/dist/components/auth/Login.d.ts +3 -0
- package/dist/components/auth/Login.d.ts.map +1 -0
- package/dist/components/auth/Register.d.ts +3 -0
- package/dist/components/auth/Register.d.ts.map +1 -0
- package/dist/components/common/AuthBanner.d.ts +3 -0
- package/dist/components/common/AuthBanner.d.ts.map +1 -0
- package/dist/components/common/AutoCompleteField.d.ts +2 -0
- package/dist/components/common/AutoCompleteField.d.ts.map +1 -0
- package/dist/components/common/CancelButton.d.ts +3 -0
- package/dist/components/common/CancelButton.d.ts.map +1 -0
- package/dist/components/common/CodeEditor.d.ts +3 -0
- package/dist/components/common/CodeEditor.d.ts.map +1 -0
- package/dist/components/common/CreateButton.d.ts +2 -0
- package/dist/components/common/CreateButton.d.ts.map +1 -0
- package/dist/components/common/DropzonePlaceholder.d.ts +2 -0
- package/dist/components/common/DropzonePlaceholder.d.ts.map +1 -0
- package/dist/components/common/DropzoneUpload.d.ts +2 -0
- package/dist/components/common/DropzoneUpload.d.ts.map +1 -0
- package/dist/components/common/FilterComponent.d.ts +3 -0
- package/dist/components/common/FilterComponent.d.ts.map +1 -0
- package/dist/components/common/HeaderDynamicTitles.d.ts +2 -0
- package/dist/components/common/HeaderDynamicTitles.d.ts.map +1 -0
- package/dist/components/common/MarkdownViewer.d.ts +3 -0
- package/dist/components/common/MarkdownViewer.d.ts.map +1 -0
- package/dist/components/common/MultipleSelectAutoCompleteField.d.ts +2 -0
- package/dist/components/common/MultipleSelectAutoCompleteField.d.ts.map +1 -0
- package/dist/components/common/SingleSelectAutoCompleteField.d.ts +2 -0
- package/dist/components/common/SingleSelectAutoCompleteField.d.ts.map +1 -0
- package/dist/components/common/SocialMediaLogin.d.ts +2 -0
- package/dist/components/common/SocialMediaLogin.d.ts.map +1 -0
- package/dist/components/core/common/SolidConfigureLayoutElement.d.ts +2 -0
- package/dist/components/core/common/SolidConfigureLayoutElement.d.ts.map +1 -0
- package/dist/components/core/common/SolidCreateButton.d.ts +2 -0
- package/dist/components/core/common/SolidCreateButton.d.ts.map +1 -0
- package/dist/components/core/common/SolidGlobalSearchElement.d.ts +2 -0
- package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -0
- package/dist/components/core/common/SolidSearchBox.d.ts +2 -0
- package/dist/components/core/common/SolidSearchBox.d.ts.map +1 -0
- package/dist/components/core/field/FieldListViewData.d.ts +7 -0
- package/dist/components/core/field/FieldListViewData.d.ts.map +1 -0
- package/dist/components/core/form/SolidFormView.d.ts +14 -0
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -0
- package/dist/components/core/form/fields/ISolidField.d.ts +63 -0
- package/dist/components/core/form/fields/ISolidField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidBooleanField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidDateField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidDateTimeField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidDecimalField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidIntegerField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidJsonField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidLongTextField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidMediaSingleField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidRelationField.d.ts +13 -0
- package/dist/components/core/form/fields/SolidRelationField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidRichTextField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidShortTextField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -0
- package/dist/components/core/form/fields/SolidTimeField.d.ts +11 -0
- package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts +14 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts +11 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -0
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts +12 -0
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -0
- package/dist/components/core/kanban/KanbanBoard.d.ts +3 -0
- package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -0
- package/dist/components/core/kanban/KanbanCard.d.ts +14 -0
- package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -0
- package/dist/components/core/kanban/KanbanColumn.d.ts +20 -0
- package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidKanbanFilter.d.ts +2 -0
- package/dist/components/core/kanban/SolidKanbanFilter.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidKanbanView.d.ts +8 -0
- package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidKanbanViewSearchColumn.d.ts +10 -0
- package/dist/components/core/kanban/SolidKanbanViewSearchColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts +2 -0
- package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts +2 -0
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts +2 -0
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts.map +1 -0
- package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts +12 -0
- package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidBigintColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidBigintColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidBooleanColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidBooleanColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidComputedColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidComputedColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidDateColumn.d.ts +9 -0
- package/dist/components/core/kanban/columns/SolidDateColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidDatetimeColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidDatetimeColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidDecimalColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidDecimalColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidExternalIdColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidExternalIdColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidFloatColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidFloatColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidIdColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidIdColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidIntColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidIntColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidLongTextColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidLongTextColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidMediaMultipleColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidMediaMultipleColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidMediaSingleColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidMediaSingleColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidRelationColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidRelationColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidRichTextColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidRichTextColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidSelectionDynamicColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidSelectionDynamicColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidSelectionStaticColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidSelectionStaticColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidShortTextColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidShortTextColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidTimeColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidTimeColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/SolidUuidColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/SolidUuidColumn.d.ts.map +1 -0
- package/dist/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.d.ts +4 -0
- package/dist/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -0
- package/dist/components/core/list/SolidListView.d.ts +12 -0
- package/dist/components/core/list/SolidListView.d.ts.map +1 -0
- package/dist/components/core/list/SolidListViewColumn.d.ts +8 -0
- package/dist/components/core/list/SolidListViewColumn.d.ts.map +1 -0
- package/dist/components/core/list/SolidListingHeader.d.ts +3 -0
- package/dist/components/core/list/SolidListingHeader.d.ts.map +1 -0
- package/dist/components/core/list/SolidManyToOneFilterElement.d.ts +2 -0
- package/dist/components/core/list/SolidManyToOneFilterElement.d.ts.map +1 -0
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.d.ts +2 -0
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.d.ts.map +1 -0
- package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts +2 -0
- package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts.map +1 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.d.ts +12 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidBigintColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidBigintColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidBooleanColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidBooleanColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidComputedColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidComputedColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidDateColumn.d.ts +9 -0
- package/dist/components/core/list/columns/SolidDateColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidDatetimeColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidDatetimeColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidDecimalColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidDecimalColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidExternalIdColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidExternalIdColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidFloatColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidFloatColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidIdColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidIdColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidIntColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidIntColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidLongTextColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidLongTextColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidRelationColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidRelationColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidRichTextColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidRichTextColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidShortTextColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidShortTextColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidTimeColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidTimeColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/SolidUuidColumn.d.ts +4 -0
- package/dist/components/core/list/columns/SolidUuidColumn.d.ts.map +1 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts +4 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -0
- package/dist/components/core/model/CreateModel.d.ts +3 -0
- package/dist/components/core/model/CreateModel.d.ts.map +1 -0
- package/dist/components/core/model/FieldMetaData.d.ts +3 -0
- package/dist/components/core/model/FieldMetaData.d.ts.map +1 -0
- package/dist/components/core/model/FieldMetaDataForm.d.ts +3 -0
- package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -0
- package/dist/components/core/model/FieldSelector.d.ts +3 -0
- package/dist/components/core/model/FieldSelector.d.ts.map +1 -0
- package/dist/components/core/model/ModelListViewData.d.ts +8 -0
- package/dist/components/core/model/ModelListViewData.d.ts.map +1 -0
- package/dist/components/core/model/ModelMetaData.d.ts +4 -0
- package/dist/components/core/model/ModelMetaData.d.ts.map +1 -0
- package/dist/components/core/module/CreateModule.d.ts +3 -0
- package/dist/components/core/module/CreateModule.d.ts.map +1 -0
- package/dist/components/core/module/ModuleListViewData.d.ts +7 -0
- package/dist/components/core/module/ModuleListViewData.d.ts.map +1 -0
- package/dist/components/core/users/CreateUser.d.ts +3 -0
- package/dist/components/core/users/CreateUser.d.ts.map +1 -0
- package/dist/components/core/users/CreateUserRole.d.ts +3 -0
- package/dist/components/core/users/CreateUserRole.d.ts.map +1 -0
- package/dist/components/core/users/UserListView.d.ts +2 -0
- package/dist/components/core/users/UserListView.d.ts.map +1 -0
- package/dist/components/layout/AdminSidebar.d.ts +3 -0
- package/dist/components/layout/AdminSidebar.d.ts.map +1 -0
- package/dist/components/layout/ButtonLoader.d.ts +3 -0
- package/dist/components/layout/ButtonLoader.d.ts.map +1 -0
- package/dist/components/layout/CustomPagination.d.ts +7 -0
- package/dist/components/layout/CustomPagination.d.ts.map +1 -0
- package/dist/components/layout/DashboardHeader.d.ts +3 -0
- package/dist/components/layout/DashboardHeader.d.ts.map +1 -0
- package/dist/components/layout/FilterMenu.d.ts +3 -0
- package/dist/components/layout/FilterMenu.d.ts.map +1 -0
- package/dist/components/layout/Footer.d.ts +3 -0
- package/dist/components/layout/Footer.d.ts.map +1 -0
- package/dist/components/layout/GlobalSearch.d.ts +2 -0
- package/dist/components/layout/GlobalSearch.d.ts.map +1 -0
- package/dist/components/layout/Header.d.ts +3 -0
- package/dist/components/layout/Header.d.ts.map +1 -0
- package/dist/components/layout/ListingHeader.d.ts +3 -0
- package/dist/components/layout/ListingHeader.d.ts.map +1 -0
- package/dist/components/layout/Loader.d.ts +3 -0
- package/dist/components/layout/Loader.d.ts.map +1 -0
- package/dist/components/layout/UserSidebar.d.ts +3 -0
- package/dist/components/layout/UserSidebar.d.ts.map +1 -0
- package/dist/components/layout/navbar-one.d.ts +3 -0
- package/dist/components/layout/navbar-one.d.ts.map +1 -0
- package/dist/components/layout/navbar-two-menu.d.ts +3 -0
- package/dist/components/layout/navbar-two-menu.d.ts.map +1 -0
- package/dist/components/layout/navbar-two.d.ts +3 -0
- package/dist/components/layout/navbar-two.d.ts.map +1 -0
- package/dist/components/layout/user-profile-menu.d.ts +3 -0
- package/dist/components/layout/user-profile-menu.d.ts.map +1 -0
- package/dist/components/layout/user-profile.d.ts +3 -0
- package/dist/components/layout/user-profile.d.ts.map +1 -0
- package/dist/components/modelsComponents/filterIcon.d.ts +2 -0
- package/dist/components/modelsComponents/filterIcon.d.ts.map +1 -0
- package/dist/components/tables/DemoData.d.ts +23 -0
- package/dist/components/tables/DemoData.d.ts.map +1 -0
- package/dist/components/tables/DynamicTable.d.ts +6 -0
- package/dist/components/tables/DynamicTable.d.ts.map +1 -0
- package/dist/components/tables/ListViewTable.d.ts +12 -0
- package/dist/components/tables/ListViewTable.d.ts.map +1 -0
- package/dist/helpers/ToastContainer.d.ts +4 -0
- package/dist/helpers/ToastContainer.d.ts.map +1 -0
- package/dist/helpers/authHeader.d.ts +7 -0
- package/dist/helpers/authHeader.d.ts.map +1 -0
- package/dist/helpers/countries.d.ts +6 -0
- package/dist/helpers/countries.d.ts.map +1 -0
- package/dist/helpers/helpers.d.ts +10 -0
- package/dist/helpers/helpers.d.ts.map +1 -0
- package/dist/helpers/menu.d.ts +35 -0
- package/dist/helpers/menu.d.ts.map +1 -0
- package/dist/helpers/permissions.d.ts +4 -0
- package/dist/helpers/permissions.d.ts.map +1 -0
- package/dist/helpers/revalidate.d.ts +2 -0
- package/dist/helpers/revalidate.d.ts.map +1 -0
- package/dist/index.d.ts +182 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +45552 -0
- package/dist/index.js.map +1 -0
- package/dist/redux/api/articleApi.d.ts +19 -0
- package/dist/redux/api/articleApi.d.ts.map +1 -0
- package/dist/redux/api/authApi.d.ts +9 -0
- package/dist/redux/api/authApi.d.ts.map +1 -0
- package/dist/redux/api/automationApi.d.ts +19 -0
- package/dist/redux/api/automationApi.d.ts.map +1 -0
- package/dist/redux/api/categoryApi.d.ts +10 -0
- package/dist/redux/api/categoryApi.d.ts.map +1 -0
- package/dist/redux/api/cityApi.d.ts +36 -0
- package/dist/redux/api/cityApi.d.ts.map +1 -0
- package/dist/redux/api/cmsBannerImageApi.d.ts +19 -0
- package/dist/redux/api/cmsBannerImageApi.d.ts.map +1 -0
- package/dist/redux/api/countryApi.d.ts +39 -0
- package/dist/redux/api/countryApi.d.ts.map +1 -0
- package/dist/redux/api/fetchBaseQuery.d.ts +2 -0
- package/dist/redux/api/fetchBaseQuery.d.ts.map +1 -0
- package/dist/redux/api/fieldApi.d.ts +20 -0
- package/dist/redux/api/fieldApi.d.ts.map +1 -0
- package/dist/redux/api/mediaApi.d.ts +19 -0
- package/dist/redux/api/mediaApi.d.ts.map +1 -0
- package/dist/redux/api/mediaStorageProviderApi.d.ts +19 -0
- package/dist/redux/api/mediaStorageProviderApi.d.ts.map +1 -0
- package/dist/redux/api/menuApi.d.ts +19 -0
- package/dist/redux/api/menuApi.d.ts.map +1 -0
- package/dist/redux/api/menuItemsApi.d.ts +19 -0
- package/dist/redux/api/menuItemsApi.d.ts.map +1 -0
- package/dist/redux/api/modelApi.d.ts +20 -0
- package/dist/redux/api/modelApi.d.ts.map +1 -0
- package/dist/redux/api/moduleApi.d.ts +22 -0
- package/dist/redux/api/moduleApi.d.ts.map +1 -0
- package/dist/redux/api/orderAttributeApi.d.ts +8 -0
- package/dist/redux/api/orderAttributeApi.d.ts.map +1 -0
- package/dist/redux/api/permissionApi.d.ts +15 -0
- package/dist/redux/api/permissionApi.d.ts.map +1 -0
- package/dist/redux/api/pincodeApi.d.ts +36 -0
- package/dist/redux/api/pincodeApi.d.ts.map +1 -0
- package/dist/redux/api/productData.d.ts +51 -0
- package/dist/redux/api/productData.d.ts.map +1 -0
- package/dist/redux/api/radixExtraModelAttributeApi.d.ts +8 -0
- package/dist/redux/api/radixExtraModelAttributeApi.d.ts.map +1 -0
- package/dist/redux/api/radixModelMetadataApi.d.ts +20 -0
- package/dist/redux/api/radixModelMetadataApi.d.ts.map +1 -0
- package/dist/redux/api/radixModelsApi.d.ts +13 -0
- package/dist/redux/api/radixModelsApi.d.ts.map +1 -0
- package/dist/redux/api/ratingApi.d.ts +19 -0
- package/dist/redux/api/ratingApi.d.ts.map +1 -0
- package/dist/redux/api/reviewApi.d.ts +19 -0
- package/dist/redux/api/reviewApi.d.ts.map +1 -0
- package/dist/redux/api/roleApi.d.ts +10 -0
- package/dist/redux/api/roleApi.d.ts.map +1 -0
- package/dist/redux/api/solidActionApi.d.ts +19 -0
- package/dist/redux/api/solidActionApi.d.ts.map +1 -0
- package/dist/redux/api/solidEntityApi.d.ts +18 -0
- package/dist/redux/api/solidEntityApi.d.ts.map +1 -0
- package/dist/redux/api/solidMenuApi.d.ts +20 -0
- package/dist/redux/api/solidMenuApi.d.ts.map +1 -0
- package/dist/redux/api/solidViewApi.d.ts +20 -0
- package/dist/redux/api/solidViewApi.d.ts.map +1 -0
- package/dist/redux/api/stateApi.d.ts +36 -0
- package/dist/redux/api/stateApi.d.ts.map +1 -0
- package/dist/redux/api/tagApi.d.ts +19 -0
- package/dist/redux/api/tagApi.d.ts.map +1 -0
- package/dist/redux/api/tagGroupApi.d.ts +19 -0
- package/dist/redux/api/tagGroupApi.d.ts.map +1 -0
- package/dist/redux/api/userApi.d.ts +17 -0
- package/dist/redux/api/userApi.d.ts.map +1 -0
- package/dist/redux/features/authSlice.d.ts +6 -0
- package/dist/redux/features/authSlice.d.ts.map +1 -0
- package/dist/redux/features/dataViewSlice.d.ts +7 -0
- package/dist/redux/features/dataViewSlice.d.ts.map +1 -0
- package/dist/redux/features/navbarSlice.d.ts +6 -0
- package/dist/redux/features/navbarSlice.d.ts.map +1 -0
- package/dist/redux/features/popupSlice.d.ts +7 -0
- package/dist/redux/features/popupSlice.d.ts.map +1 -0
- package/dist/redux/features/themeSlice.d.ts +6 -0
- package/dist/redux/features/themeSlice.d.ts.map +1 -0
- package/dist/redux/features/userSlice.d.ts +13 -0
- package/dist/redux/features/userSlice.d.ts.map +1 -0
- package/dist/redux/hooks.d.ts +2 -0
- package/dist/redux/hooks.d.ts.map +1 -0
- package/dist/redux/store.d.ts +375 -0
- package/dist/redux/store.d.ts.map +1 -0
- package/package.json +114 -0
- package/rollup.config.mjs +45 -0
- package/solidstarters-solid-core-ui-0.1.24.tgz +0 -0
- package/src/components/CustomFooter/CustomFooter.tsx +263 -0
- package/src/components/CustomFooter/FooterForm.tsx +18 -0
- package/src/components/CustomHeader/CallIcon.tsx +19 -0
- package/src/components/CustomHeader/CustomDropdown.tsx +175 -0
- package/src/components/CustomHeader/CustomHeader.tsx +64 -0
- package/src/components/CustomHeader/EmailIcon.tsx +11 -0
- package/src/components/CustomHeader/HeaderCart.tsx +14 -0
- package/src/components/CustomHeader/productNavData.tsx +179 -0
- package/src/components/FormView/DetailsViews.tsx +46 -0
- package/src/components/FormView/OrderAddressDetails.tsx +69 -0
- package/src/components/FormView/OrderPaymentDetails.tsx +17 -0
- package/src/components/FormView/OrderTableDetails.tsx +35 -0
- package/src/components/FormView/OrderedProductDetail.tsx +21 -0
- package/src/components/Tag/CustomTag.tsx +49 -0
- package/src/components/auth/Login.tsx +155 -0
- package/src/components/auth/Register.tsx +239 -0
- package/src/components/common/AuthBanner.tsx +40 -0
- package/src/components/common/AutoCompleteField.tsx +74 -0
- package/src/components/common/CancelButton.tsx +42 -0
- package/src/components/common/CodeEditor.tsx +24 -0
- package/src/components/common/CreateButton.tsx +16 -0
- package/src/components/common/DropzonePlaceholder.tsx +9 -0
- package/src/components/common/DropzoneUpload.tsx +9 -0
- package/src/components/common/FilterComponent.tsx +427 -0
- package/src/components/common/HeaderDynamicTitles.tsx +11 -0
- package/src/components/common/MarkdownViewer.tsx +14 -0
- package/src/components/common/MultipleSelectAutoCompleteField.tsx +61 -0
- package/src/components/common/SingleSelectAutoCompleteField.tsx +64 -0
- package/src/components/common/SocialMediaLogin.tsx +44 -0
- package/src/components/core/common/SolidConfigureLayoutElement.tsx +24 -0
- package/src/components/core/common/SolidCreateButton.tsx +19 -0
- package/src/components/core/common/SolidGlobalSearchElement.tsx +37 -0
- package/src/components/core/common/SolidSearchBox.tsx +17 -0
- package/src/components/core/field/FieldListViewData.tsx +312 -0
- package/src/components/core/form/SolidFormView.tsx +821 -0
- package/src/components/core/form/fields/ISolidField.tsx +64 -0
- package/src/components/core/form/fields/SolidBooleanField.tsx +112 -0
- package/src/components/core/form/fields/SolidDateField.tsx +89 -0
- package/src/components/core/form/fields/SolidDateTimeField.tsx +87 -0
- package/src/components/core/form/fields/SolidDecimalField.tsx +85 -0
- package/src/components/core/form/fields/SolidIntegerField.tsx +85 -0
- package/src/components/core/form/fields/SolidJsonField.tsx +79 -0
- package/src/components/core/form/fields/SolidLongTextField.tsx +99 -0
- package/src/components/core/form/fields/SolidMediaMultipleField.tsx +246 -0
- package/src/components/core/form/fields/SolidMediaSingleField.tsx +227 -0
- package/src/components/core/form/fields/SolidRelationField.tsx +53 -0
- package/src/components/core/form/fields/SolidRichTextField.tsx +97 -0
- package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +122 -0
- package/src/components/core/form/fields/SolidSelectionStaticField.tsx +117 -0
- package/src/components/core/form/fields/SolidShortTextField.tsx +99 -0
- package/src/components/core/form/fields/SolidTimeField.tsx +87 -0
- package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +435 -0
- package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +137 -0
- package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +184 -0
- package/src/components/core/kanban/KanbanBoard.tsx +116 -0
- package/src/components/core/kanban/KanbanCard.tsx +159 -0
- package/src/components/core/kanban/KanbanColumn.tsx +124 -0
- package/src/components/core/kanban/SolidKanbanFilter.tsx +104 -0
- package/src/components/core/kanban/SolidKanbanView.tsx +660 -0
- package/src/components/core/kanban/SolidKanbanViewSearchColumn.tsx +131 -0
- package/src/components/core/kanban/SolidManyToOneFilterElement.tsx +56 -0
- package/src/components/core/kanban/SolidSelectionDynamicFilterElement.tsx +49 -0
- package/src/components/core/kanban/SolidSelectionStaticFilterElement.tsx +31 -0
- package/src/components/core/kanban/SolidVarInputsFilterElement.tsx +183 -0
- package/src/components/core/kanban/columns/SolidBigintColumn.tsx +8 -0
- package/src/components/core/kanban/columns/SolidBooleanColumn.tsx +49 -0
- package/src/components/core/kanban/columns/SolidComputedColumn.tsx +22 -0
- package/src/components/core/kanban/columns/SolidDateColumn.tsx +58 -0
- package/src/components/core/kanban/columns/SolidDatetimeColumn.tsx +45 -0
- package/src/components/core/kanban/columns/SolidDecimalColumn.tsx +8 -0
- package/src/components/core/kanban/columns/SolidExternalIdColumn.tsx +46 -0
- package/src/components/core/kanban/columns/SolidFloatColumn.tsx +8 -0
- package/src/components/core/kanban/columns/SolidIdColumn.tsx +46 -0
- package/src/components/core/kanban/columns/SolidIntColumn.tsx +56 -0
- package/src/components/core/kanban/columns/SolidLongTextColumn.tsx +8 -0
- package/src/components/core/kanban/columns/SolidMediaMultipleColumn.tsx +54 -0
- package/src/components/core/kanban/columns/SolidMediaSingleColumn.tsx +56 -0
- package/src/components/core/kanban/columns/SolidRelationColumn.tsx +12 -0
- package/src/components/core/kanban/columns/SolidRichTextColumn.tsx +8 -0
- package/src/components/core/kanban/columns/SolidSelectionDynamicColumn.tsx +46 -0
- package/src/components/core/kanban/columns/SolidSelectionStaticColumn.tsx +47 -0
- package/src/components/core/kanban/columns/SolidShortTextColumn.tsx +53 -0
- package/src/components/core/kanban/columns/SolidTimeColumn.tsx +42 -0
- package/src/components/core/kanban/columns/SolidUuidColumn.tsx +44 -0
- package/src/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.tsx +79 -0
- package/src/components/core/list/SolidListView.tsx +569 -0
- package/src/components/core/list/SolidListViewColumn.tsx +161 -0
- package/src/components/core/list/SolidListingHeader.tsx +41 -0
- package/src/components/core/list/SolidManyToOneFilterElement.tsx +56 -0
- package/src/components/core/list/SolidSelectionDynamicFilterElement.tsx +49 -0
- package/src/components/core/list/SolidSelectionStaticFilterElement.tsx +31 -0
- package/src/components/core/list/SolidVarInputsFilterElement.tsx +183 -0
- package/src/components/core/list/columns/SolidBigintColumn.tsx +8 -0
- package/src/components/core/list/columns/SolidBooleanColumn.tsx +60 -0
- package/src/components/core/list/columns/SolidComputedColumn.tsx +22 -0
- package/src/components/core/list/columns/SolidDateColumn.tsx +63 -0
- package/src/components/core/list/columns/SolidDatetimeColumn.tsx +51 -0
- package/src/components/core/list/columns/SolidDecimalColumn.tsx +8 -0
- package/src/components/core/list/columns/SolidExternalIdColumn.tsx +51 -0
- package/src/components/core/list/columns/SolidFloatColumn.tsx +8 -0
- package/src/components/core/list/columns/SolidIdColumn.tsx +52 -0
- package/src/components/core/list/columns/SolidIntColumn.tsx +60 -0
- package/src/components/core/list/columns/SolidLongTextColumn.tsx +8 -0
- package/src/components/core/list/columns/SolidMediaMultipleColumn.tsx +29 -0
- package/src/components/core/list/columns/SolidMediaSingleColumn.tsx +29 -0
- package/src/components/core/list/columns/SolidRelationColumn.tsx +12 -0
- package/src/components/core/list/columns/SolidRichTextColumn.tsx +8 -0
- package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +52 -0
- package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +53 -0
- package/src/components/core/list/columns/SolidShortTextColumn.tsx +60 -0
- package/src/components/core/list/columns/SolidTimeColumn.tsx +51 -0
- package/src/components/core/list/columns/SolidUuidColumn.tsx +51 -0
- package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +70 -0
- package/src/components/core/model/CreateModel.tsx +340 -0
- package/src/components/core/model/FieldMetaData.tsx +148 -0
- package/src/components/core/model/FieldMetaDataForm.tsx +2877 -0
- package/src/components/core/model/FieldSelector.tsx +67 -0
- package/src/components/core/model/ModelListViewData.tsx +383 -0
- package/src/components/core/model/ModelMetaData.tsx +777 -0
- package/src/components/core/module/CreateModule.tsx +577 -0
- package/src/components/core/module/ModuleListViewData.tsx +429 -0
- package/src/components/core/users/CreateUser.tsx +415 -0
- package/src/components/core/users/CreateUserRole.tsx +209 -0
- package/src/components/core/users/UserListView.tsx +374 -0
- package/src/components/layout/AdminSidebar.tsx +65 -0
- package/src/components/layout/ButtonLoader.tsx +7 -0
- package/src/components/layout/CustomPagination.tsx +55 -0
- package/src/components/layout/DashboardHeader.tsx +88 -0
- package/src/components/layout/FilterMenu.tsx +122 -0
- package/src/components/layout/Footer.tsx +12 -0
- package/src/components/layout/GlobalSearch.tsx +36 -0
- package/src/components/layout/Header.tsx +8 -0
- package/src/components/layout/ListingHeader.tsx +203 -0
- package/src/components/layout/Loader.tsx +15 -0
- package/src/components/layout/UserSidebar.tsx +53 -0
- package/src/components/layout/navbar-one.tsx +258 -0
- package/src/components/layout/navbar-two-menu.tsx +64 -0
- package/src/components/layout/navbar-two.tsx +36 -0
- package/src/components/layout/user-profile-menu.tsx +214 -0
- package/src/components/layout/user-profile.tsx +6 -0
- package/src/components/modelsComponents/filterIcon.tsx +9 -0
- package/src/components/tables/DemoData.tsx +317 -0
- package/src/components/tables/DynamicTable.tsx +56 -0
- package/src/components/tables/ListViewTable.tsx +155 -0
- package/src/helpers/ToastContainer.tsx +92 -0
- package/src/helpers/authHeader.ts +19 -0
- package/src/helpers/countries.tsx +259 -0
- package/src/helpers/helpers.ts +39 -0
- package/src/helpers/menu.tsx +670 -0
- package/src/helpers/permissions.ts +15 -0
- package/src/helpers/revalidate.ts +6 -0
- package/src/index.ts +630 -0
- package/src/redux/api/articleApi.ts +55 -0
- package/src/redux/api/authApi.ts +60 -0
- package/src/redux/api/automationApi.ts +55 -0
- package/src/redux/api/categoryApi.tsx +46 -0
- package/src/redux/api/cityApi.tsx +56 -0
- package/src/redux/api/cmsBannerImageApi.tsx +55 -0
- package/src/redux/api/countryApi.tsx +56 -0
- package/src/redux/api/fetchBaseQuery.tsx +15 -0
- package/src/redux/api/fieldApi.ts +78 -0
- package/src/redux/api/mediaApi.ts +55 -0
- package/src/redux/api/mediaStorageProviderApi.ts +55 -0
- package/src/redux/api/menuApi.tsx +55 -0
- package/src/redux/api/menuItemsApi.tsx +56 -0
- package/src/redux/api/modelApi.ts +70 -0
- package/src/redux/api/moduleApi.ts +72 -0
- package/src/redux/api/orderAttributeApi.tsx +37 -0
- package/src/redux/api/permissionApi.ts +32 -0
- package/src/redux/api/pincodeApi.tsx +56 -0
- package/src/redux/api/productData.tsx +87 -0
- package/src/redux/api/radixExtraModelAttributeApi.tsx +37 -0
- package/src/redux/api/radixModelMetadataApi.tsx +62 -0
- package/src/redux/api/radixModelsApi.tsx +64 -0
- package/src/redux/api/ratingApi.ts +55 -0
- package/src/redux/api/reviewApi.ts +55 -0
- package/src/redux/api/roleApi.ts +58 -0
- package/src/redux/api/solidActionApi.ts +66 -0
- package/src/redux/api/solidEntityApi.tsx +86 -0
- package/src/redux/api/solidMenuApi.ts +71 -0
- package/src/redux/api/solidViewApi.ts +72 -0
- package/src/redux/api/stateApi.tsx +56 -0
- package/src/redux/api/tagApi.ts +55 -0
- package/src/redux/api/tagGroupApi.tsx +55 -0
- package/src/redux/api/userApi.ts +120 -0
- package/src/redux/features/authSlice.ts +19 -0
- package/src/redux/features/dataViewSlice.ts +26 -0
- package/src/redux/features/navbarSlice.ts +21 -0
- package/src/redux/features/popupSlice.ts +27 -0
- package/src/redux/features/themeSlice.ts +17 -0
- package/src/redux/features/userSlice.ts +28 -0
- package/src/types/index.d.ts +7 -0
- package/src/types/next.d.ts +46 -0
- package/tsconfig.json +37 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
3
|
+
import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
4
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
5
|
+
import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
|
|
6
|
+
|
|
7
|
+
const SolidExternalIdColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
8
|
+
const showFilterOperator = false;
|
|
9
|
+
const columnDataType = 'text';
|
|
10
|
+
const filterMatchModeOptions = [
|
|
11
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
12
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN },
|
|
13
|
+
];
|
|
14
|
+
const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
return (
|
|
18
|
+
<>
|
|
19
|
+
<Dropdown
|
|
20
|
+
value={enumValue.operator}
|
|
21
|
+
onChange={(e: any) => {
|
|
22
|
+
console.log("e", e);
|
|
23
|
+
updateEnumValues(index, 'operator', e.value)
|
|
24
|
+
}}
|
|
25
|
+
options={filterMatchModeOptions}
|
|
26
|
+
optionLabel='label'
|
|
27
|
+
optionValue='value'
|
|
28
|
+
placeholder="Select Operator" className="w-full md:w-14rem" />
|
|
29
|
+
<SolidKanbanVarInputsFilterElement
|
|
30
|
+
values={enumValue.value}
|
|
31
|
+
onChange={(e: any) => {
|
|
32
|
+
console.log("e", e);
|
|
33
|
+
updateEnumValues(index, 'value', e)
|
|
34
|
+
}}
|
|
35
|
+
numberOfInputs={numberOfInputs}
|
|
36
|
+
inputType={KanbanInputTypes.Text}
|
|
37
|
+
solidListViewMetaData={solidKanbanViewMetaData}
|
|
38
|
+
fieldMetadata={fieldMetadata}
|
|
39
|
+
>
|
|
40
|
+
</SolidKanbanVarInputsFilterElement>
|
|
41
|
+
</>
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default SolidExternalIdColumn;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
2
|
+
import SolidIntColumn from './SolidIntColumn';
|
|
3
|
+
|
|
4
|
+
const SolidFloatColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
5
|
+
return SolidIntColumn({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue });
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export default SolidFloatColumn;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from "../SolidVarInputsFilterElement";
|
|
3
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
4
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
5
|
+
import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
6
|
+
|
|
7
|
+
const SolidIdColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
8
|
+
const showFilterOperator = false;
|
|
9
|
+
const columnDataType = 'text';
|
|
10
|
+
const filterMatchModeOptions = [
|
|
11
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
12
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN },
|
|
13
|
+
];
|
|
14
|
+
const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
return (
|
|
18
|
+
<>
|
|
19
|
+
<Dropdown
|
|
20
|
+
value={enumValue.operator}
|
|
21
|
+
onChange={(e: any) => {
|
|
22
|
+
console.log("e", e);
|
|
23
|
+
updateEnumValues(index, 'operator', e.value)
|
|
24
|
+
}}
|
|
25
|
+
options={filterMatchModeOptions}
|
|
26
|
+
optionLabel='label'
|
|
27
|
+
optionValue='value'
|
|
28
|
+
placeholder="Select Operator" className="w-full md:w-14rem" />
|
|
29
|
+
<SolidKanbanVarInputsFilterElement
|
|
30
|
+
values={enumValue.value}
|
|
31
|
+
onChange={(e: any) => {
|
|
32
|
+
console.log("e", e);
|
|
33
|
+
updateEnumValues(index, 'value', e)
|
|
34
|
+
}}
|
|
35
|
+
numberOfInputs={numberOfInputs}
|
|
36
|
+
inputType={KanbanInputTypes.Numeric}
|
|
37
|
+
solidListViewMetaData={solidKanbanViewMetaData}
|
|
38
|
+
fieldMetadata={fieldMetadata}
|
|
39
|
+
>
|
|
40
|
+
</SolidKanbanVarInputsFilterElement>
|
|
41
|
+
</>
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default SolidIdColumn;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
3
|
+
import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
4
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
5
|
+
import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
|
|
6
|
+
|
|
7
|
+
const SolidIntColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
8
|
+
// const filterable = column.attrs.filterable;
|
|
9
|
+
const showFilterOperator = false;
|
|
10
|
+
const columnDataType = 'numeric';
|
|
11
|
+
const filterMatchModeOptions = [
|
|
12
|
+
{ label: 'Equals', value: FilterMatchMode.EQUALS },
|
|
13
|
+
{ label: 'Not Equals', value: FilterMatchMode.NOT_EQUALS },
|
|
14
|
+
{ label: 'Less Than', value: FilterMatchMode.LESS_THAN },
|
|
15
|
+
{ label: 'Less Than Or Equal', value: FilterMatchMode.LESS_THAN_OR_EQUAL_TO },
|
|
16
|
+
{ label: 'Greater Than', value: FilterMatchMode.GREATER_THAN },
|
|
17
|
+
{ label: 'Greater Than Or Equal', value: FilterMatchMode.GREATER_THAN_OR_EQUAL_TO },
|
|
18
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
19
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN },
|
|
20
|
+
{ label: 'Between', value: FilterMatchMode.BETWEEN }
|
|
21
|
+
];
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
26
|
+
const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
<>
|
|
30
|
+
<Dropdown
|
|
31
|
+
value={enumValue.operator}
|
|
32
|
+
onChange={(e: any) => {
|
|
33
|
+
console.log("e", e);
|
|
34
|
+
updateEnumValues(index, 'operator', e.value)
|
|
35
|
+
}}
|
|
36
|
+
options={filterMatchModeOptions}
|
|
37
|
+
optionLabel='label'
|
|
38
|
+
optionValue='value'
|
|
39
|
+
placeholder="Select Operator" className="w-full md:w-14rem" />
|
|
40
|
+
<SolidKanbanVarInputsFilterElement
|
|
41
|
+
values={enumValue.value}
|
|
42
|
+
onChange={(e: any) => {
|
|
43
|
+
console.log("e", e);
|
|
44
|
+
updateEnumValues(index, 'value', e)
|
|
45
|
+
}}
|
|
46
|
+
numberOfInputs={numberOfInputs}
|
|
47
|
+
inputType={KanbanInputTypes.Numeric}
|
|
48
|
+
solidListViewMetaData={solidKanbanViewMetaData}
|
|
49
|
+
fieldMetadata={fieldMetadata}
|
|
50
|
+
>
|
|
51
|
+
</SolidKanbanVarInputsFilterElement>
|
|
52
|
+
</>
|
|
53
|
+
);
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export default SolidIntColumn;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
2
|
+
import SolidShortTextColumn from './SolidShortTextColumn';
|
|
3
|
+
|
|
4
|
+
const SolidLongTextColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
5
|
+
return SolidShortTextColumn({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue });
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export default SolidLongTextColumn;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
2
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
3
|
+
import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
|
|
4
|
+
import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
5
|
+
|
|
6
|
+
const SolidMediaMultipleColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
7
|
+
// const filterable = column.attrs.filterable;
|
|
8
|
+
const filterable = false;
|
|
9
|
+
// const showFilterOperator = false;
|
|
10
|
+
// const columnDataType = undefined;
|
|
11
|
+
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
12
|
+
const columnDataType = 'text';
|
|
13
|
+
const filterMatchModeOptions = [
|
|
14
|
+
{ label: 'Starts With', value: FilterMatchMode.STARTS_WITH },
|
|
15
|
+
{ label: 'Contains', value: FilterMatchMode.CONTAINS },
|
|
16
|
+
{ label: 'Not Contains', value: FilterMatchMode.NOT_CONTAINS },
|
|
17
|
+
{ label: 'Ends With', value: FilterMatchMode.ENDS_WITH },
|
|
18
|
+
{ label: 'Equals', value: FilterMatchMode.EQUALS },
|
|
19
|
+
{ label: 'Not Equals', value: FilterMatchMode.NOT_EQUALS },
|
|
20
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
21
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN }
|
|
22
|
+
];
|
|
23
|
+
const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
|
|
24
|
+
return (
|
|
25
|
+
<>
|
|
26
|
+
|
|
27
|
+
<Dropdown
|
|
28
|
+
value={enumValue.operator}
|
|
29
|
+
onChange={(e: any) => {
|
|
30
|
+
console.log("e", e);
|
|
31
|
+
updateEnumValues(index, 'operator', e.value)
|
|
32
|
+
}}
|
|
33
|
+
options={filterMatchModeOptions}
|
|
34
|
+
optionLabel='label'
|
|
35
|
+
optionValue='value'
|
|
36
|
+
placeholder="Select Operator" className="w-full md:w-14rem" />
|
|
37
|
+
<SolidKanbanVarInputsFilterElement
|
|
38
|
+
values={enumValue.value}
|
|
39
|
+
onChange={(e: any) => {
|
|
40
|
+
console.log("e", e);
|
|
41
|
+
updateEnumValues(index, 'value', e)
|
|
42
|
+
}}
|
|
43
|
+
numberOfInputs={numberOfInputs}
|
|
44
|
+
inputType={KanbanInputTypes.Text}
|
|
45
|
+
solidListViewMetaData={solidKanbanViewMetaData}
|
|
46
|
+
fieldMetadata={fieldMetadata}
|
|
47
|
+
>
|
|
48
|
+
</SolidKanbanVarInputsFilterElement>
|
|
49
|
+
</>
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export default SolidMediaMultipleColumn;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
2
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
3
|
+
import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
|
|
4
|
+
import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
5
|
+
|
|
6
|
+
const SolidMediaSingleColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
7
|
+
// const filterable = column.attrs.filterable;
|
|
8
|
+
const filterable = false;
|
|
9
|
+
// const showFilterOperator = false;
|
|
10
|
+
// const columnDataType = undefined;
|
|
11
|
+
const columnDataType = 'text';
|
|
12
|
+
const filterMatchModeOptions = [
|
|
13
|
+
{ label: 'Starts With', value: FilterMatchMode.STARTS_WITH },
|
|
14
|
+
{ label: 'Contains', value: FilterMatchMode.CONTAINS },
|
|
15
|
+
{ label: 'Not Contains', value: FilterMatchMode.NOT_CONTAINS },
|
|
16
|
+
{ label: 'Ends With', value: FilterMatchMode.ENDS_WITH },
|
|
17
|
+
{ label: 'Equals', value: FilterMatchMode.EQUALS },
|
|
18
|
+
{ label: 'Not Equals', value: FilterMatchMode.NOT_EQUALS },
|
|
19
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
20
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN }
|
|
21
|
+
];
|
|
22
|
+
const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
|
|
23
|
+
|
|
24
|
+
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
25
|
+
|
|
26
|
+
return (
|
|
27
|
+
<>
|
|
28
|
+
|
|
29
|
+
<Dropdown
|
|
30
|
+
value={enumValue.operator}
|
|
31
|
+
onChange={(e: any) => {
|
|
32
|
+
console.log("e", e);
|
|
33
|
+
updateEnumValues(index, 'operator', e.value)
|
|
34
|
+
}}
|
|
35
|
+
options={filterMatchModeOptions}
|
|
36
|
+
optionLabel='label'
|
|
37
|
+
optionValue='value'
|
|
38
|
+
placeholder="Select Operator" className="w-full md:w-14rem" />
|
|
39
|
+
<SolidKanbanVarInputsFilterElement
|
|
40
|
+
values={enumValue.value}
|
|
41
|
+
onChange={(e: any) => {
|
|
42
|
+
console.log("e", e);
|
|
43
|
+
updateEnumValues(index, 'value', e)
|
|
44
|
+
}}
|
|
45
|
+
numberOfInputs={numberOfInputs}
|
|
46
|
+
inputType={KanbanInputTypes.Text}
|
|
47
|
+
solidListViewMetaData={solidKanbanViewMetaData}
|
|
48
|
+
fieldMetadata={fieldMetadata}
|
|
49
|
+
>
|
|
50
|
+
</SolidKanbanVarInputsFilterElement>
|
|
51
|
+
</>
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export default SolidMediaSingleColumn;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
2
|
+
import SolidRelationManyToOneColumn from './relations/SolidRelationManyToOneColumn';
|
|
3
|
+
|
|
4
|
+
const SolidRelationColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
5
|
+
if (fieldMetadata.relationType === 'many-to-one') {
|
|
6
|
+
return SolidRelationManyToOneColumn({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue });
|
|
7
|
+
}
|
|
8
|
+
// TODO: Support one-to-many
|
|
9
|
+
// TODO: Support many-to-many
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export default SolidRelationColumn;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
2
|
+
import SolidShortTextColumn from './SolidShortTextColumn';
|
|
3
|
+
|
|
4
|
+
const SolidRichTextColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
5
|
+
return SolidShortTextColumn({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue });
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export default SolidRichTextColumn;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
2
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
3
|
+
import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
|
|
4
|
+
import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
5
|
+
|
|
6
|
+
const SolidSelectionDynamicColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
7
|
+
const showFilterOperator = false;
|
|
8
|
+
const columnDataType = fieldMetadata.selectionValueType === 'int' ? 'numeric' : 'text';
|
|
9
|
+
const filterMatchModeOptions = [
|
|
10
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
11
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN },
|
|
12
|
+
];
|
|
13
|
+
const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
return (
|
|
18
|
+
<>
|
|
19
|
+
<Dropdown
|
|
20
|
+
value={enumValue.operator}
|
|
21
|
+
onChange={(e: any) => {
|
|
22
|
+
console.log("e", e);
|
|
23
|
+
updateEnumValues(index, 'operator', e.value)
|
|
24
|
+
}}
|
|
25
|
+
options={filterMatchModeOptions}
|
|
26
|
+
optionLabel='label'
|
|
27
|
+
optionValue='value'
|
|
28
|
+
placeholder="Select Operator" className="w-full md:w-14rem" />
|
|
29
|
+
<SolidKanbanVarInputsFilterElement
|
|
30
|
+
values={enumValue.value}
|
|
31
|
+
onChange={(e: any) => {
|
|
32
|
+
console.log("e", e);
|
|
33
|
+
updateEnumValues(index, 'value', e)
|
|
34
|
+
}}
|
|
35
|
+
numberOfInputs={numberOfInputs}
|
|
36
|
+
inputType={KanbanInputTypes.SelectionDynamic}
|
|
37
|
+
solidListViewMetaData={solidKanbanViewMetaData}
|
|
38
|
+
fieldMetadata={fieldMetadata}
|
|
39
|
+
>
|
|
40
|
+
</SolidKanbanVarInputsFilterElement>
|
|
41
|
+
</>
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default SolidSelectionDynamicColumn;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
2
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
3
|
+
import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
|
|
4
|
+
import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
const SolidSelectionStaticColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
8
|
+
|
|
9
|
+
// const filterable = column.attrs.filterable;
|
|
10
|
+
const showFilterOperator = false;
|
|
11
|
+
const columnDataType = fieldMetadata.selectionValueType === 'int' ? 'numeric' : 'text';
|
|
12
|
+
const filterMatchModeOptions = [
|
|
13
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
14
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN },
|
|
15
|
+
];
|
|
16
|
+
|
|
17
|
+
const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
|
|
18
|
+
|
|
19
|
+
return (
|
|
20
|
+
<>
|
|
21
|
+
<Dropdown
|
|
22
|
+
value={enumValue.operator}
|
|
23
|
+
onChange={(e: any) => {
|
|
24
|
+
console.log("e", e);
|
|
25
|
+
updateEnumValues(index, 'operator', e.value)
|
|
26
|
+
}}
|
|
27
|
+
options={filterMatchModeOptions}
|
|
28
|
+
optionLabel='label'
|
|
29
|
+
optionValue='value'
|
|
30
|
+
placeholder="Select Operator" className="w-full md:w-14rem" />
|
|
31
|
+
<SolidKanbanVarInputsFilterElement
|
|
32
|
+
values={enumValue.value}
|
|
33
|
+
onChange={(e: any) => {
|
|
34
|
+
console.log("e", e);
|
|
35
|
+
updateEnumValues(index, 'value', e)
|
|
36
|
+
}}
|
|
37
|
+
numberOfInputs={numberOfInputs}
|
|
38
|
+
inputType={KanbanInputTypes.SelectionStatic}
|
|
39
|
+
solidListViewMetaData={solidKanbanViewMetaData}
|
|
40
|
+
fieldMetadata={fieldMetadata}
|
|
41
|
+
>
|
|
42
|
+
</SolidKanbanVarInputsFilterElement>
|
|
43
|
+
</>
|
|
44
|
+
);
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export default SolidSelectionStaticColumn;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
2
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
3
|
+
import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
|
|
4
|
+
import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
5
|
+
|
|
6
|
+
const SolidShortTextColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
7
|
+
// const filterable = column.attrs.filterable;
|
|
8
|
+
const showFilterOperator = false;
|
|
9
|
+
const columnDataType = 'text';
|
|
10
|
+
const filterMatchModeOptions = [
|
|
11
|
+
{ label: 'Starts With', value: FilterMatchMode.STARTS_WITH },
|
|
12
|
+
{ label: 'Contains', value: FilterMatchMode.CONTAINS },
|
|
13
|
+
{ label: 'Not Contains', value: FilterMatchMode.NOT_CONTAINS },
|
|
14
|
+
{ label: 'Ends With', value: FilterMatchMode.ENDS_WITH },
|
|
15
|
+
{ label: 'Equals', value: FilterMatchMode.EQUALS },
|
|
16
|
+
{ label: 'Not Equals', value: FilterMatchMode.NOT_EQUALS },
|
|
17
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
18
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN }
|
|
19
|
+
];
|
|
20
|
+
|
|
21
|
+
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
22
|
+
const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
|
|
23
|
+
|
|
24
|
+
return (
|
|
25
|
+
<>
|
|
26
|
+
<Dropdown
|
|
27
|
+
value={enumValue.operator}
|
|
28
|
+
onChange={(e: any) => {
|
|
29
|
+
console.log("e", e);
|
|
30
|
+
updateEnumValues(index, 'operator', e.value)
|
|
31
|
+
}}
|
|
32
|
+
options={filterMatchModeOptions}
|
|
33
|
+
optionLabel='label'
|
|
34
|
+
optionValue='value'
|
|
35
|
+
placeholder="Select Operator" className="w-full md:w-14rem" />
|
|
36
|
+
<SolidKanbanVarInputsFilterElement
|
|
37
|
+
values={enumValue.value}
|
|
38
|
+
onChange={(e: any) => {
|
|
39
|
+
console.log("e", e);
|
|
40
|
+
updateEnumValues(index, 'value', e)
|
|
41
|
+
}}
|
|
42
|
+
numberOfInputs={numberOfInputs}
|
|
43
|
+
inputType={KanbanInputTypes.Text}
|
|
44
|
+
solidListViewMetaData={solidKanbanViewMetaData}
|
|
45
|
+
fieldMetadata={fieldMetadata}
|
|
46
|
+
>
|
|
47
|
+
</SolidKanbanVarInputsFilterElement>
|
|
48
|
+
</>
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export default SolidShortTextColumn;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
2
|
+
import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
|
|
3
|
+
import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
4
|
+
import { kanbanDateFilterMatchModeOptions } from './SolidDateColumn';
|
|
5
|
+
|
|
6
|
+
const SolidTimeColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
7
|
+
// const filterable = column.attrs.filterable;
|
|
8
|
+
const showFilterOperator = false;
|
|
9
|
+
const columnDataType = 'date';
|
|
10
|
+
|
|
11
|
+
// TODO: the body template to be controlled based on the format that one is expecting the date to be displayed in.
|
|
12
|
+
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
13
|
+
const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
|
|
14
|
+
return (
|
|
15
|
+
<>
|
|
16
|
+
<Dropdown
|
|
17
|
+
value={enumValue.operator}
|
|
18
|
+
onChange={(e: any) => {
|
|
19
|
+
console.log("e", e);
|
|
20
|
+
updateEnumValues(index, 'operator', e.value)
|
|
21
|
+
}}
|
|
22
|
+
options={kanbanDateFilterMatchModeOptions}
|
|
23
|
+
optionLabel='label'
|
|
24
|
+
optionValue='value'
|
|
25
|
+
placeholder="Select Operator" className="w-full md:w-14rem" />
|
|
26
|
+
<SolidKanbanVarInputsFilterElement
|
|
27
|
+
values={enumValue.value}
|
|
28
|
+
onChange={(e: any) => {
|
|
29
|
+
console.log("e", e);
|
|
30
|
+
updateEnumValues(index, 'value', e)
|
|
31
|
+
}}
|
|
32
|
+
numberOfInputs={numberOfInputs}
|
|
33
|
+
inputType={KanbanInputTypes.Time}
|
|
34
|
+
solidListViewMetaData={solidKanbanViewMetaData}
|
|
35
|
+
fieldMetadata={fieldMetadata}
|
|
36
|
+
>
|
|
37
|
+
</SolidKanbanVarInputsFilterElement></>
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export default SolidTimeColumn;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
2
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
3
|
+
import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '../../kanban/SolidVarInputsFilterElement';
|
|
4
|
+
import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../SolidKanbanViewSearchColumn';
|
|
5
|
+
|
|
6
|
+
const SolidUuidColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
7
|
+
const showFilterOperator = false;
|
|
8
|
+
const columnDataType = 'text';
|
|
9
|
+
const filterMatchModeOptions = [
|
|
10
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
11
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN },
|
|
12
|
+
];
|
|
13
|
+
const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<>
|
|
17
|
+
<Dropdown
|
|
18
|
+
value={enumValue.operator}
|
|
19
|
+
onChange={(e: any) => {
|
|
20
|
+
console.log("e", e);
|
|
21
|
+
updateEnumValues(index, 'operator', e.value)
|
|
22
|
+
}}
|
|
23
|
+
options={filterMatchModeOptions}
|
|
24
|
+
optionLabel='label'
|
|
25
|
+
optionValue='value'
|
|
26
|
+
placeholder="Select Operator" className="w-full md:w-14rem" />
|
|
27
|
+
<SolidKanbanVarInputsFilterElement
|
|
28
|
+
values={enumValue.value}
|
|
29
|
+
onChange={(e: any) => {
|
|
30
|
+
console.log("e", e);
|
|
31
|
+
updateEnumValues(index, 'value', e)
|
|
32
|
+
}}
|
|
33
|
+
numberOfInputs={numberOfInputs}
|
|
34
|
+
inputType={KanbanInputTypes.Text}
|
|
35
|
+
solidListViewMetaData={solidKanbanViewMetaData}
|
|
36
|
+
fieldMetadata={fieldMetadata}
|
|
37
|
+
>
|
|
38
|
+
</SolidKanbanVarInputsFilterElement>
|
|
39
|
+
</>
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export default SolidUuidColumn;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { KanbanInputTypes, SolidKanbanVarInputsFilterElement } from '@/components/core/kanban/SolidVarInputsFilterElement';
|
|
2
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
3
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
4
|
+
import { getSolidKanbanViewNumberOfInputs, SolidKanbanViewColumnParams } from '../../SolidKanbanViewSearchColumn';
|
|
5
|
+
|
|
6
|
+
const SolidRelationManyToOneColumn = ({ solidKanbanViewMetaData, fieldMetadata, updateEnumValues, index, enumValue }: SolidKanbanViewColumnParams) => {
|
|
7
|
+
// const filterable = column.attrs.filterable;
|
|
8
|
+
const showFilterOperator = false;
|
|
9
|
+
const filterMatchModeOptions = [
|
|
10
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
11
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN },
|
|
12
|
+
];
|
|
13
|
+
const columnDataType = undefined;
|
|
14
|
+
const numberOfInputs = getSolidKanbanViewNumberOfInputs("in");
|
|
15
|
+
|
|
16
|
+
// const filterTemplate = (options: ColumnFilterElementTemplateOptions) => {
|
|
17
|
+
|
|
18
|
+
// return (
|
|
19
|
+
// <SolidVarInputsFilterElement
|
|
20
|
+
// values={options.value}
|
|
21
|
+
// onChange={(e: FormEvent<HTMLInputElement>) => options.filterCallback(e, options.index)}
|
|
22
|
+
// inputType={InputTypes.RelationManyToOne}
|
|
23
|
+
// solidListViewMetaData={solidListViewMetaData}
|
|
24
|
+
// fieldMetadata={fieldMetadata}
|
|
25
|
+
// column={column}
|
|
26
|
+
// >
|
|
27
|
+
// </SolidVarInputsFilterElement>
|
|
28
|
+
// )
|
|
29
|
+
// };
|
|
30
|
+
|
|
31
|
+
// const bodyTemplate = (rowData: any) => {
|
|
32
|
+
// const manyToOneFieldData = rowData[column.attrs.name];
|
|
33
|
+
|
|
34
|
+
// // This is the userkey that will be present within the rowData.
|
|
35
|
+
// if (manyToOneFieldData) {
|
|
36
|
+
// // Since this is a many-to-one field, we fetch the user key field of the associated model.
|
|
37
|
+
// const userKeyField = fieldMetadata.relationModel.userKeyField.name;
|
|
38
|
+
|
|
39
|
+
// const manyToOneColVal = manyToOneFieldData[userKeyField];
|
|
40
|
+
|
|
41
|
+
// // TODO: change this to use an anchor tag so that on click we open that entity form view.
|
|
42
|
+
// return <span>{manyToOneColVal}</span>;
|
|
43
|
+
// }
|
|
44
|
+
// else {
|
|
45
|
+
// return <span></span>
|
|
46
|
+
// }
|
|
47
|
+
// };
|
|
48
|
+
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
49
|
+
|
|
50
|
+
return (
|
|
51
|
+
<>
|
|
52
|
+
<Dropdown
|
|
53
|
+
value={enumValue.operator}
|
|
54
|
+
onChange={(e: any) => {
|
|
55
|
+
console.log("e", e);
|
|
56
|
+
updateEnumValues(index, 'operator', e.value)
|
|
57
|
+
}}
|
|
58
|
+
options={filterMatchModeOptions}
|
|
59
|
+
optionLabel='label'
|
|
60
|
+
optionValue='value'
|
|
61
|
+
placeholder="Select Operator" className="w-full md:w-14rem" />
|
|
62
|
+
<SolidKanbanVarInputsFilterElement
|
|
63
|
+
values={enumValue.value}
|
|
64
|
+
onChange={(e: any) => {
|
|
65
|
+
console.log("e", e);
|
|
66
|
+
updateEnumValues(index, 'value', e)
|
|
67
|
+
}}
|
|
68
|
+
numberOfInputs={numberOfInputs}
|
|
69
|
+
inputType={KanbanInputTypes.RelationManyToOne}
|
|
70
|
+
solidListViewMetaData={solidKanbanViewMetaData}
|
|
71
|
+
fieldMetadata={fieldMetadata}
|
|
72
|
+
>
|
|
73
|
+
</SolidKanbanVarInputsFilterElement>
|
|
74
|
+
</>
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export default SolidRelationManyToOneColumn;
|