@solidstarters/solid-core-ui 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/CustomFooter/CustomFooter.js.map +1 -1
- package/dist/components/CustomFooter/FooterForm.js.map +1 -1
- package/dist/components/auth/SolidForgotPassword.d.ts +3 -0
- package/dist/components/auth/SolidForgotPassword.d.ts.map +1 -0
- package/dist/components/auth/SolidForgotPassword.js +108 -0
- package/dist/components/auth/SolidForgotPassword.js.map +1 -0
- package/dist/components/auth/SolidLogin.d.ts +3 -0
- package/dist/components/auth/SolidLogin.d.ts.map +1 -0
- package/dist/components/auth/SolidLogin.js +115 -0
- package/dist/components/auth/SolidLogin.js.map +1 -0
- package/dist/components/auth/SolidOTPVerify.d.ts +3 -0
- package/dist/components/auth/SolidOTPVerify.d.ts.map +1 -0
- package/dist/components/auth/SolidOTPVerify.js +108 -0
- package/dist/components/auth/SolidOTPVerify.js.map +1 -0
- package/dist/components/auth/SolidRegister.d.ts +3 -0
- package/dist/components/auth/SolidRegister.d.ts.map +1 -0
- package/dist/components/auth/SolidRegister.js +166 -0
- package/dist/components/auth/SolidRegister.js.map +1 -0
- package/dist/components/auth/SolidResetPassword.d.ts +3 -0
- package/dist/components/auth/SolidResetPassword.d.ts.map +1 -0
- package/dist/components/auth/SolidResetPassword.js +119 -0
- package/dist/components/auth/SolidResetPassword.js.map +1 -0
- package/dist/components/core/common/FilterComponent.d.ts +33 -1
- package/dist/components/core/common/FilterComponent.d.ts.map +1 -1
- package/dist/components/core/common/FilterComponent.js +39 -35
- package/dist/components/core/common/FilterComponent.js.map +1 -1
- package/dist/components/core/common/SolidConfigureLayoutElement.js +4 -4
- package/dist/components/core/common/SolidConfigureLayoutElement.js.map +1 -1
- package/dist/components/core/common/SolidCreateButton.js +1 -1
- package/dist/components/core/common/SolidCreateButton.js.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.d.ts +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.js +14 -9
- package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
- package/dist/components/core/common/SolidLayoutViews.d.ts +19 -0
- package/dist/components/core/common/SolidLayoutViews.d.ts.map +1 -0
- package/dist/components/core/common/SolidLayoutViews.js +14 -0
- package/dist/components/core/common/SolidLayoutViews.js.map +1 -0
- package/dist/components/core/common/SolidListViewOptions.d.ts +2 -0
- package/dist/components/core/common/SolidListViewOptions.d.ts.map +1 -0
- package/dist/components/core/common/SolidListViewOptions.js +11 -0
- package/dist/components/core/common/SolidListViewOptions.js.map +1 -0
- package/dist/components/core/common/SolidSearchBox.js.map +1 -1
- package/dist/components/core/field/FieldListViewData.js +7 -7
- package/dist/components/core/field/FieldListViewData.js.map +1 -1
- package/dist/components/core/filter/SolidFilterFields.d.ts.map +1 -1
- package/dist/components/core/filter/SolidFilterFields.js +32 -35
- package/dist/components/core/filter/SolidFilterFields.js.map +1 -1
- package/dist/components/core/filter/SolidManyToOneFilterElement.js +2 -2
- package/dist/components/core/filter/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js +0 -1
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js +0 -1
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts.map +1 -1
- package/dist/components/core/filter/SolidVarInputsFilterElement.js +1 -2
- package/dist/components/core/filter/SolidVarInputsFilterElement.js.map +1 -1
- package/dist/components/core/filter/fields/SolidBigintField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidBigintField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidBigintField.js +8 -0
- package/dist/components/core/filter/fields/SolidBigintField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidBooleanField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidBooleanField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidBooleanField.js +26 -0
- package/dist/components/core/filter/fields/SolidBooleanField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidComputedField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidComputedField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidComputedField.js +22 -0
- package/dist/components/core/filter/fields/SolidComputedField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidDateField.d.ts +8 -0
- package/dist/components/core/filter/fields/SolidDateField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidDateField.js +34 -0
- package/dist/components/core/filter/fields/SolidDateField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidDatetimeField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidDatetimeField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidDatetimeField.js +29 -0
- package/dist/components/core/filter/fields/SolidDatetimeField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidDecimalField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidDecimalField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidDecimalField.js +8 -0
- package/dist/components/core/filter/fields/SolidDecimalField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidExternalIdField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidExternalIdField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidExternalIdField.js +24 -0
- package/dist/components/core/filter/fields/SolidExternalIdField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidFloatField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidFloatField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidFloatField.js +8 -0
- package/dist/components/core/filter/fields/SolidFloatField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidIdField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidIdField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidIdField.js +24 -0
- package/dist/components/core/filter/fields/SolidIdField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidIntField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidIntField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidIntField.js +33 -0
- package/dist/components/core/filter/fields/SolidIntField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidLongTextField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidLongTextField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidLongTextField.js +8 -0
- package/dist/components/core/filter/fields/SolidLongTextField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidMediaMultipleField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidMediaMultipleField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidMediaMultipleField.js +34 -0
- package/dist/components/core/filter/fields/SolidMediaMultipleField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidMediaSingleField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidMediaSingleField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidMediaSingleField.js +34 -0
- package/dist/components/core/filter/fields/SolidMediaSingleField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidRelationField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidRelationField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidRelationField.js +12 -0
- package/dist/components/core/filter/fields/SolidRelationField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidRichTextField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidRichTextField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidRichTextField.js +8 -0
- package/dist/components/core/filter/fields/SolidRichTextField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.js +23 -0
- package/dist/components/core/filter/fields/SolidSelectionDynamicField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidSelectionStaticField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidSelectionStaticField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidSelectionStaticField.js +25 -0
- package/dist/components/core/filter/fields/SolidSelectionStaticField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidShortTextField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidShortTextField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidShortTextField.js +32 -0
- package/dist/components/core/filter/fields/SolidShortTextField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidTimeField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidTimeField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidTimeField.js +24 -0
- package/dist/components/core/filter/fields/SolidTimeField.js.map +1 -0
- package/dist/components/core/filter/fields/SolidUuidField.d.ts +4 -0
- package/dist/components/core/filter/fields/SolidUuidField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/SolidUuidField.js +24 -0
- package/dist/components/core/filter/fields/SolidUuidField.js.map +1 -0
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.d.ts +4 -0
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -0
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js +53 -0
- package/dist/components/core/filter/fields/relations/SolidRelationManyToOneField.js.map +1 -0
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +23 -23
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/form/fields/ISolidField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.js +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.js +2 -2
- package/dist/components/core/form/fields/SolidDateField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.js +2 -2
- package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.js +2 -2
- package/dist/components/core/form/fields/SolidDecimalField.js.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.js +2 -2
- package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.js +2 -2
- package/dist/components/core/form/fields/SolidJsonField.js.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.js +2 -2
- package/dist/components/core/form/fields/SolidLongTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.js +5 -5
- package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.js +5 -5
- package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
- package/dist/components/core/form/fields/SolidRelationField.js +1 -1
- package/dist/components/core/form/fields/SolidRelationField.js.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.js +2 -2
- package/dist/components/core/form/fields/SolidRichTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js +3 -3
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.js +2 -2
- package/dist/components/core/form/fields/SolidSelectionStaticField.js.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.js +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.js +2 -2
- package/dist/components/core/form/fields/SolidTimeField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +7 -7
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +3 -3
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +2 -2
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.d.ts +1 -1
- package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.js +10 -10
- package/dist/components/core/kanban/KanbanBoard.js.map +1 -1
- package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanCard.js.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.js +2 -2
- package/dist/components/core/kanban/KanbanColumn.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.js +121 -210
- package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +302 -53
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/list/SolidListViewColumn.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewColumn.js +12 -12
- package/dist/components/core/list/SolidListViewColumn.js.map +1 -1
- package/dist/components/core/list/SolidListingHeader.d.ts.map +1 -1
- package/dist/components/core/list/SolidListingHeader.js.map +1 -1
- package/dist/components/core/list/SolidManyToOneFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidManyToOneFilterElement.js +1 -2
- package/dist/components/core/list/SolidManyToOneFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js +2 -2
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidSelectionStaticFilterElement.js.map +1 -1
- package/dist/components/core/list/SolidVarInputsFilterElement.js +1 -1
- package/dist/components/core/list/SolidVarInputsFilterElement.js.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.js +3 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidComputedColumn.js +2 -2
- package/dist/components/core/list/columns/SolidComputedColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.d.ts +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidDateColumn.js +2 -2
- package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.d.ts.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/SolidIdColumn.d.ts.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.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.js +2 -2
- package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.d.ts.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.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js +4 -2
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.js +7 -3
- package/dist/components/core/list/columns/SolidShortTextColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.js +4 -2
- package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.js +4 -2
- package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -1
- package/dist/components/core/model/CreateModel.js +8 -8
- package/dist/components/core/model/CreateModel.js.map +1 -1
- package/dist/components/core/model/FieldMetaData.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaData.js +6 -6
- package/dist/components/core/model/FieldMetaData.js.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.js +23 -23
- package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
- package/dist/components/core/model/FieldSelector.d.ts.map +1 -1
- package/dist/components/core/model/FieldSelector.js.map +1 -1
- package/dist/components/core/model/ModelListViewData.d.ts.map +1 -1
- package/dist/components/core/model/ModelListViewData.js +7 -7
- package/dist/components/core/model/ModelListViewData.js.map +1 -1
- package/dist/components/core/model/ModelMetaData.d.ts.map +1 -1
- package/dist/components/core/model/ModelMetaData.js +9 -9
- package/dist/components/core/model/ModelMetaData.js.map +1 -1
- package/dist/components/core/module/CreateModule.d.ts.map +1 -1
- package/dist/components/core/module/CreateModule.js +18 -18
- package/dist/components/core/module/CreateModule.js.map +1 -1
- package/dist/components/core/module/ModuleListViewData.d.ts.map +1 -1
- package/dist/components/core/module/ModuleListViewData.js +8 -8
- package/dist/components/core/module/ModuleListViewData.js.map +1 -1
- package/dist/components/core/users/CreateUser.js +11 -11
- package/dist/components/core/users/CreateUser.js.map +1 -1
- package/dist/components/core/users/CreateUserRole.d.ts.map +1 -1
- package/dist/components/core/users/CreateUserRole.js +9 -9
- package/dist/components/core/users/CreateUserRole.js.map +1 -1
- package/dist/components/core/users/UserListView.d.ts.map +1 -1
- package/dist/components/core/users/UserListView.js +7 -7
- package/dist/components/core/users/UserListView.js.map +1 -1
- package/dist/components/layout/AdminSidebar.js.map +1 -1
- package/dist/components/layout/AppConfig.d.ts +4 -0
- package/dist/components/layout/AppConfig.d.ts.map +1 -0
- package/dist/components/layout/AppConfig.js +57 -0
- package/dist/components/layout/AppConfig.js.map +1 -0
- package/dist/components/layout/AppSidebar.d.ts +3 -0
- package/dist/components/layout/AppSidebar.d.ts.map +1 -0
- package/dist/components/layout/AppSidebar.js +75 -0
- package/dist/components/layout/AppSidebar.js.map +1 -0
- package/dist/components/layout/ButtonLoader.d.ts.map +1 -1
- package/dist/components/layout/ButtonLoader.js.map +1 -1
- package/dist/components/layout/CustomPagination.d.ts +0 -6
- package/dist/components/layout/CustomPagination.d.ts.map +1 -1
- package/dist/components/layout/CustomPagination.js +48 -27
- package/dist/components/layout/CustomPagination.js.map +1 -1
- package/dist/components/layout/FilterMenu.d.ts.map +1 -1
- package/dist/components/layout/FilterMenu.js +1 -2
- package/dist/components/layout/FilterMenu.js.map +1 -1
- package/dist/components/layout/GlobalSearch.js.map +1 -1
- package/dist/components/layout/ListingHeader.js +2 -2
- package/dist/components/layout/ListingHeader.js.map +1 -1
- package/dist/components/layout/context/layoutcontext.d.ts +5 -0
- package/dist/components/layout/context/layoutcontext.d.ts.map +1 -0
- package/dist/components/layout/context/layoutcontext.js +56 -0
- package/dist/components/layout/context/layoutcontext.js.map +1 -0
- package/dist/components/layout/navbar-one.d.ts.map +1 -1
- package/dist/components/layout/navbar-one.js +13 -11
- package/dist/components/layout/navbar-one.js.map +1 -1
- package/dist/components/layout/navbar-two-menu.d.ts.map +1 -1
- package/dist/components/layout/navbar-two-menu.js +7 -7
- package/dist/components/layout/navbar-two-menu.js.map +1 -1
- package/dist/components/layout/navbar-two.js +1 -1
- package/dist/components/layout/navbar-two.js.map +1 -1
- package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
- package/dist/components/layout/user-profile-menu.js +38 -6
- package/dist/components/layout/user-profile-menu.js.map +1 -1
- package/dist/components/modelsComponents/filterIcon.d.ts.map +1 -1
- package/dist/components/modelsComponents/filterIcon.js.map +1 -1
- package/dist/components/tables/ListViewTable.d.ts.map +1 -1
- package/dist/components/tables/ListViewTable.js +8 -7
- package/dist/components/tables/ListViewTable.js.map +1 -1
- package/dist/helpers/helpers.d.ts +1 -1
- package/dist/helpers/helpers.d.ts.map +1 -1
- package/dist/index.d.ts +19 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +43 -35
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/src/components/CustomFooter/CustomFooter.tsx +2 -2
- package/src/components/CustomFooter/FooterForm.tsx +2 -2
- package/src/components/auth/SolidForgotPassword.tsx +124 -0
- package/src/components/auth/SolidLogin.tsx +156 -0
- package/src/components/auth/SolidOTPVerify.tsx +127 -0
- package/src/components/auth/SolidRegister.tsx +221 -0
- package/src/components/auth/SolidResetPassword.tsx +160 -0
- package/src/components/core/common/FilterComponent.tsx +87 -57
- package/src/components/core/common/SolidConfigureLayoutElement.tsx +12 -12
- package/src/components/core/common/SolidCreateButton.tsx +1 -1
- package/src/components/core/common/SolidGlobalSearchElement.tsx +33 -13
- package/src/components/core/common/SolidLayoutViews.tsx +87 -0
- package/src/components/core/common/SolidListViewOptions.tsx +31 -0
- package/src/components/core/common/SolidSearchBox.tsx +1 -1
- package/src/components/core/field/FieldListViewData.tsx +10 -10
- package/src/components/core/filter/SolidFilterFields.tsx +32 -35
- package/src/components/core/filter/SolidManyToOneFilterElement.tsx +2 -2
- package/src/components/core/filter/SolidSelectionDynamicFilterElement.tsx +0 -1
- package/src/components/core/filter/SolidSelectionStaticFilterElement.tsx +0 -1
- package/src/components/core/filter/SolidVarInputsFilterElement.tsx +2 -4
- package/src/components/core/filter/{columns → fields}/SolidBigintField.tsx +1 -1
- package/src/components/core/filter/{columns → fields}/SolidBooleanField.tsx +6 -7
- package/src/components/core/filter/{columns → fields}/SolidComputedField.tsx +4 -4
- package/src/components/core/filter/{columns → fields}/SolidDateField.tsx +12 -13
- package/src/components/core/filter/{columns → fields}/SolidDatetimeField.tsx +10 -7
- package/src/components/core/filter/{columns → fields}/SolidDecimalField.tsx +1 -2
- package/src/components/core/filter/{columns → fields}/SolidExternalIdField.tsx +6 -9
- package/src/components/core/filter/{columns → fields}/SolidFloatField.tsx +1 -1
- package/src/components/core/filter/{columns → fields}/SolidIdField.tsx +8 -10
- package/src/components/core/filter/{columns → fields}/SolidIntField.tsx +12 -14
- package/src/components/core/filter/{columns → fields}/SolidLongTextField.tsx +1 -1
- package/src/components/core/filter/{columns → fields}/SolidMediaMultipleField.tsx +12 -15
- package/src/components/core/filter/{columns → fields}/SolidMediaSingleField.tsx +12 -14
- package/src/components/core/filter/{columns → fields}/SolidRelationField.tsx +1 -1
- package/src/components/core/filter/{columns → fields}/SolidRichTextField.tsx +1 -1
- package/src/components/core/filter/{columns → fields}/SolidSelectionDynamicField.tsx +6 -9
- package/src/components/core/filter/{columns → fields}/SolidSelectionStaticField.tsx +7 -9
- package/src/components/core/filter/{columns → fields}/SolidShortTextField.tsx +12 -14
- package/src/components/core/filter/{columns → fields}/SolidTimeField.tsx +5 -6
- package/src/components/core/filter/{columns → fields}/SolidUuidField.tsx +6 -8
- package/src/components/core/filter/{columns → fields}/relations/SolidRelationManyToOneField.tsx +6 -7
- package/src/components/core/form/SolidFormView.tsx +27 -26
- package/src/components/core/form/fields/ISolidField.tsx +1 -1
- package/src/components/core/form/fields/SolidBooleanField.tsx +3 -5
- package/src/components/core/form/fields/SolidDateField.tsx +4 -5
- package/src/components/core/form/fields/SolidDateTimeField.tsx +4 -5
- package/src/components/core/form/fields/SolidDecimalField.tsx +3 -5
- package/src/components/core/form/fields/SolidIntegerField.tsx +3 -5
- package/src/components/core/form/fields/SolidJsonField.tsx +3 -9
- package/src/components/core/form/fields/SolidLongTextField.tsx +3 -4
- package/src/components/core/form/fields/SolidMediaMultipleField.tsx +7 -8
- package/src/components/core/form/fields/SolidMediaSingleField.tsx +7 -8
- package/src/components/core/form/fields/SolidRelationField.tsx +1 -1
- package/src/components/core/form/fields/SolidRichTextField.tsx +4 -6
- package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +5 -6
- package/src/components/core/form/fields/SolidSelectionStaticField.tsx +4 -6
- package/src/components/core/form/fields/SolidShortTextField.tsx +3 -4
- package/src/components/core/form/fields/SolidTimeField.tsx +4 -5
- package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +9 -12
- package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +5 -6
- package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +4 -10
- package/src/components/core/kanban/KanbanBoard.tsx +4 -2
- package/src/components/core/kanban/KanbanCard.tsx +1 -1
- package/src/components/core/kanban/KanbanColumn.tsx +2 -3
- package/src/components/core/kanban/SolidKanbanView.tsx +121 -262
- package/src/components/core/list/SolidListView.tsx +408 -86
- package/src/components/core/list/SolidListViewColumn.tsx +12 -13
- package/src/components/core/list/SolidListingHeader.tsx +1 -2
- package/src/components/core/list/SolidManyToOneFilterElement.tsx +1 -2
- package/src/components/core/list/SolidSelectionDynamicFilterElement.tsx +2 -2
- package/src/components/core/list/SolidSelectionStaticFilterElement.tsx +0 -2
- package/src/components/core/list/SolidVarInputsFilterElement.tsx +3 -3
- package/src/components/core/list/columns/SolidBooleanColumn.tsx +2 -7
- package/src/components/core/list/columns/SolidComputedColumn.tsx +2 -2
- package/src/components/core/list/columns/SolidDateColumn.tsx +3 -4
- package/src/components/core/list/columns/SolidDatetimeColumn.tsx +2 -3
- package/src/components/core/list/columns/SolidIdColumn.tsx +3 -4
- package/src/components/core/list/columns/SolidIntColumn.tsx +3 -4
- package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +3 -4
- package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +4 -5
- package/src/components/core/list/columns/SolidShortTextColumn.tsx +11 -7
- package/src/components/core/list/columns/SolidTimeColumn.tsx +3 -5
- package/src/components/core/list/columns/SolidUuidColumn.tsx +4 -5
- package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +3 -4
- package/src/components/core/model/CreateModel.tsx +9 -9
- package/src/components/core/model/FieldMetaData.tsx +7 -9
- package/src/components/core/model/FieldMetaDataForm.tsx +23 -23
- package/src/components/core/model/FieldSelector.tsx +1 -3
- package/src/components/core/model/ModelListViewData.tsx +11 -16
- package/src/components/core/model/ModelMetaData.tsx +9 -13
- package/src/components/core/module/CreateModule.tsx +18 -20
- package/src/components/core/module/ModuleListViewData.tsx +10 -19
- package/src/components/core/users/CreateUser.tsx +12 -12
- package/src/components/core/users/CreateUserRole.tsx +9 -14
- package/src/components/core/users/UserListView.tsx +9 -10
- package/src/components/layout/AdminSidebar.tsx +1 -1
- package/src/components/layout/AppConfig.tsx +103 -0
- package/src/components/layout/AppSidebar.tsx +170 -0
- package/src/components/layout/ButtonLoader.tsx +0 -1
- package/src/components/layout/CustomPagination.tsx +55 -55
- package/src/components/layout/FilterMenu.tsx +1 -2
- package/src/components/layout/GlobalSearch.tsx +4 -4
- package/src/components/layout/ListingHeader.tsx +2 -2
- package/src/components/layout/context/layoutcontext.tsx +52 -0
- package/src/components/layout/navbar-one.tsx +8 -9
- package/src/components/layout/navbar-two-menu.tsx +14 -11
- package/src/components/layout/navbar-two.tsx +1 -1
- package/src/components/layout/user-profile-menu.tsx +74 -189
- package/src/components/modelsComponents/filterIcon.tsx +0 -1
- package/src/components/tables/ListViewTable.tsx +10 -9
- package/src/index.ts +157 -144
- package/src/types/index.d.ts +26 -0
- package/src/types/layout.d.ts +94 -0
- package/src/types/next-auth.d.ts +0 -0
- package/dist/components/core/kanban/SolidKanbanFilter.d.ts +0 -2
- package/dist/components/core/kanban/SolidKanbanFilter.d.ts.map +0 -1
- package/dist/components/core/kanban/SolidKanbanViewSearchColumn.d.ts +0 -10
- package/dist/components/core/kanban/SolidKanbanViewSearchColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts +0 -2
- package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts.map +0 -1
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts +0 -2
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts.map +0 -1
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts +0 -2
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts.map +0 -1
- package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts +0 -12
- package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidBigintColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidBigintColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidBooleanColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidBooleanColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidComputedColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidComputedColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidDateColumn.d.ts +0 -9
- package/dist/components/core/kanban/columns/SolidDateColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidDatetimeColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidDatetimeColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidDecimalColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidDecimalColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidExternalIdColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidExternalIdColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidFloatColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidFloatColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidIdColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidIdColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidIntColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidIntColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidLongTextColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidLongTextColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidMediaMultipleColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidMediaMultipleColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidMediaSingleColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidMediaSingleColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidRelationColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidRelationColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidRichTextColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidRichTextColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidSelectionDynamicColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidSelectionDynamicColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidSelectionStaticColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidSelectionStaticColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidShortTextColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidShortTextColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidTimeColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidTimeColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/SolidUuidColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/SolidUuidColumn.d.ts.map +0 -1
- package/dist/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.d.ts +0 -4
- package/dist/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.d.ts.map +0 -1
- package/dist/redux/hooks.d.ts +0 -2
- package/dist/redux/hooks.d.ts.map +0 -1
- package/dist/redux/store.d.ts +0 -375
- package/dist/redux/store.d.ts.map +0 -1
- package/solidstarters-solid-core-ui-1.0.0.tgz +0 -0
- package/solidstarters-solid-core-ui-1.0.1.tgz +0 -0
- package/src/components/common/FilterComponent.tsx +0 -428
|
@@ -13,7 +13,7 @@ export const SolidCreateButton = ({ url }: any) => {
|
|
|
13
13
|
return (
|
|
14
14
|
<div>
|
|
15
15
|
<Link href={createPath}>
|
|
16
|
-
<Button type="button" icon="pi pi-plus" label="Add" size='small'
|
|
16
|
+
<Button type="button" icon="pi pi-plus" label="Add" size='small'></Button>
|
|
17
17
|
</Link>
|
|
18
18
|
</div>
|
|
19
19
|
)
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
import { useEffect, useState } from "react";
|
|
1
|
+
import { useEffect, useRef, useState } from "react";
|
|
3
2
|
import { Dialog } from "primereact/dialog";
|
|
4
3
|
import { TabPanel, TabView } from "primereact/tabview";
|
|
5
4
|
import { SolidSearchBox } from "./SolidSearchBox";
|
|
6
5
|
import FilterComponent from "@/components/core/common/FilterComponent";
|
|
7
6
|
import { Button } from "primereact/button";
|
|
7
|
+
import { InputText } from "primereact/inputtext";
|
|
8
|
+
import { OverlayPanel } from "primereact/overlaypanel";
|
|
9
|
+
import { Divider } from "primereact/divider";
|
|
8
10
|
|
|
9
11
|
|
|
10
|
-
export const SolidGlobalSearchElement = ({ viewData, applyFilter,
|
|
12
|
+
export const SolidGlobalSearchElement = ({ viewData, applyFilter, showGlobalSearchElement, setShowGlobalSearchElement,customFilter, setCustomFilter,handleApplyCustomFilter }: any) => {
|
|
11
13
|
|
|
12
|
-
const [visible, setVisible] = useState<boolean>(false);
|
|
13
14
|
const handleApplyFilter = (filters: any) => {
|
|
14
|
-
|
|
15
|
+
setShowGlobalSearchElement(false);
|
|
15
16
|
applyFilter(filters)
|
|
16
17
|
}
|
|
17
18
|
|
|
@@ -26,20 +27,39 @@ export const SolidGlobalSearchElement = ({ viewData, applyFilter, filterValues,
|
|
|
26
27
|
}
|
|
27
28
|
}, [])
|
|
28
29
|
|
|
30
|
+
const op = useRef(null);
|
|
29
31
|
|
|
30
32
|
return (
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
<div className="flex justify-content-center solid-custom-filter-wrapper">
|
|
34
|
+
<div className="p-inputgroup flex-1"
|
|
35
|
+
onClick={(e) =>
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
op.current.toggle(e)}
|
|
38
|
+
>
|
|
39
|
+
<InputText placeholder="Search Here" className="p-inputtext-sm" />
|
|
40
|
+
<Button
|
|
41
|
+
icon="pi pi-search"
|
|
42
|
+
severity="secondary"
|
|
43
|
+
outlined size="small"
|
|
44
|
+
/>
|
|
45
|
+
</div>
|
|
46
|
+
<OverlayPanel ref={op} className="solid-custom-overlay" style={{ minWidth: 378 }}>
|
|
47
|
+
<div className="px-4 py-3">
|
|
48
|
+
<p className="m-0">Searching...</p>
|
|
49
|
+
</div>
|
|
50
|
+
<Divider className="m-0" />
|
|
51
|
+
<div className="px-2 py-1">
|
|
52
|
+
<Button text size="small" label="Custom Filter" iconPos="left" icon='pi pi-plus' onClick={() => setShowGlobalSearchElement(true)}/>
|
|
53
|
+
</div>
|
|
54
|
+
</OverlayPanel>
|
|
55
|
+
<Dialog header={false} className="search-filter-popup" showHeader={false} visible={showGlobalSearchElement} style={{ width: '50vw' }} onHide={() => { if (!showGlobalSearchElement) return; setShowGlobalSearchElement(false); }}>
|
|
36
56
|
<div className="flex field-popup-navigation gap-3 justify-content-between ">
|
|
37
57
|
<div className="flex text-2xl font-bold align-items-center ml-4" style={{ color: '#000' }}>
|
|
38
|
-
<i className="pi pi-search" style={{ marginRight: '5px',color:"#06b6d4" }}></i>
|
|
58
|
+
<i className="pi pi-search" style={{ marginRight: '5px', color: "#06b6d4" }}></i>
|
|
39
59
|
<p className="popup-heading m-0">Search and Filter</p>
|
|
40
60
|
</div>
|
|
41
61
|
<div className="flex align-items-center gap-3 close-popup">
|
|
42
|
-
<Button icon="pi pi-times" rounded text aria-label="Cancel" type="reset" size="small" onClick={() =>
|
|
62
|
+
<Button icon="pi pi-times" rounded text aria-label="Cancel" type="reset" size="small" onClick={() => setShowGlobalSearchElement(false)} />
|
|
43
63
|
</div>
|
|
44
64
|
</div>
|
|
45
65
|
<div className="card relative">
|
|
@@ -49,7 +69,7 @@ export const SolidGlobalSearchElement = ({ viewData, applyFilter, filterValues,
|
|
|
49
69
|
</TabPanel>
|
|
50
70
|
<TabPanel header="Filter" >
|
|
51
71
|
{fields.length > 0 &&
|
|
52
|
-
<FilterComponent viewData={viewData} fields={fields}></FilterComponent>
|
|
72
|
+
<FilterComponent viewData={viewData} fields={fields} filterRules={customFilter} setFilterRules={setCustomFilter} handleApplyCustomFilter={handleApplyCustomFilter} ></FilterComponent>
|
|
53
73
|
}
|
|
54
74
|
{/* <SolidKanbanFilter solidKanbanViewMetaData={solidKanbanViewMetaData} handleApplyFilter={handleApplyFilter} filterValues={filterValues} setFilterValues={setFilterValues}></SolidKanbanFilter> */}
|
|
55
75
|
</TabPanel>
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { Button } from 'primereact/button';
|
|
3
|
+
import { OverlayPanel } from 'primereact/overlaypanel';
|
|
4
|
+
import { RadioButton } from 'primereact/radiobutton';
|
|
5
|
+
import { useRef } from 'react';
|
|
6
|
+
interface Props {
|
|
7
|
+
sizeOptions: { label: string; value: string, image: string }[];
|
|
8
|
+
setSize: (value: string) => void;
|
|
9
|
+
size: string;
|
|
10
|
+
viewModes: { label: string; value: string, image: string }[];
|
|
11
|
+
setView: (value: string) => void;
|
|
12
|
+
view: string;
|
|
13
|
+
}
|
|
14
|
+
export const SolidLayoutViews = ({ sizeOptions, setSize, size, viewModes, setView, view }: Props) => {
|
|
15
|
+
const op = useRef(null);
|
|
16
|
+
|
|
17
|
+
return (
|
|
18
|
+
<div className="position-relative">
|
|
19
|
+
<Button
|
|
20
|
+
type="button"
|
|
21
|
+
size='small'
|
|
22
|
+
severity='secondary'
|
|
23
|
+
icon={
|
|
24
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none">
|
|
25
|
+
<path d="M14.9016 13.1969L10.8031 9.09845L14.9016 5L19 9.09845L14.9016 13.1969ZM5 11.7461V5.94301H10.8031V11.7461H5ZM12.2539 19V13.1969H18.057V19H12.2539ZM5 19V13.1969H10.8031V19H5ZM6.45078 10.2953H9.35233V7.39378H6.45078V10.2953ZM14.9197 11.1658L16.9689 9.11658L14.9197 7.06736L12.8705 9.11658L14.9197 11.1658ZM13.7047 17.5492H16.6062V14.6477H13.7047V17.5492ZM6.45078 17.5492H9.35233V14.6477H6.45078V17.5492Z" fill="#4B4D52" />
|
|
26
|
+
</svg>
|
|
27
|
+
}
|
|
28
|
+
className='custom-icon-button'
|
|
29
|
+
outlined
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
onClick={(e) => op.current.toggle(e)}
|
|
32
|
+
/>
|
|
33
|
+
<OverlayPanel ref={op} className='solid-header-dropdown-panel'>
|
|
34
|
+
<div className='secondary-border-bottom p-1'>
|
|
35
|
+
<p className='px-3 pt-2'>Density</p>
|
|
36
|
+
<div className="flex flex-column gap-1">
|
|
37
|
+
{sizeOptions.map((option) => (
|
|
38
|
+
<div key={option.value} className={`flex align-items-center ${option.value === size ? 'solid-active-view' : 'solid-view'}`}>
|
|
39
|
+
<RadioButton
|
|
40
|
+
inputId={option.value}
|
|
41
|
+
name="sizes"
|
|
42
|
+
value={option.value}
|
|
43
|
+
onChange={(e) => setSize(e.value)}
|
|
44
|
+
checked={option.value === size}
|
|
45
|
+
/>
|
|
46
|
+
<label htmlFor={option.value} className="ml-2 flex align-items-center justify-content-between w-full">
|
|
47
|
+
{option.label}
|
|
48
|
+
<img
|
|
49
|
+
src={option.image}
|
|
50
|
+
alt={option.value}
|
|
51
|
+
className='img-fluid position-relative'
|
|
52
|
+
style={{ width: '2.75rem' }}
|
|
53
|
+
/>
|
|
54
|
+
</label>
|
|
55
|
+
</div>
|
|
56
|
+
))}
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
<div className='p-1'>
|
|
60
|
+
<p className='px-3 pt-2'>View Mode</p>
|
|
61
|
+
<div className="flex flex-column gap-1">
|
|
62
|
+
{viewModes.map((option) => (
|
|
63
|
+
<div key={option.value} className={`flex align-items-center ${option.value === view ? 'solid-active-view' : 'solid-view'}`}>
|
|
64
|
+
<RadioButton
|
|
65
|
+
inputId={option.value}
|
|
66
|
+
name="views"
|
|
67
|
+
value={option.value}
|
|
68
|
+
onChange={(e) => setView(e.value)}
|
|
69
|
+
checked={option.value === view}
|
|
70
|
+
/>
|
|
71
|
+
<label htmlFor={option.value} className="ml-2 flex align-items-center justify-content-between w-full">
|
|
72
|
+
{option.label}
|
|
73
|
+
<img
|
|
74
|
+
src={option.image}
|
|
75
|
+
alt={option.value}
|
|
76
|
+
className='img-fluid position-relative'
|
|
77
|
+
style={{ width: '2.75rem' }}
|
|
78
|
+
/>
|
|
79
|
+
</label>
|
|
80
|
+
</div>
|
|
81
|
+
))}
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
</OverlayPanel>
|
|
85
|
+
</div>
|
|
86
|
+
);
|
|
87
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { Dialog } from "primereact/dialog";
|
|
3
|
+
import { useState } from "react";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export const SolidListViewOptions = ({ }: any) => {
|
|
7
|
+
|
|
8
|
+
const [visible, setVisible] = useState<boolean>(false);
|
|
9
|
+
|
|
10
|
+
const [componentsToRender, setComponentsToRender] = useState(["Header", "NonExistentComponent"]);
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<div className="card flex justify-content-center">
|
|
14
|
+
<i className="pi pi-cog" onClick={() => setVisible(true)}></i>
|
|
15
|
+
|
|
16
|
+
<Dialog header="Header" visible={visible} style={{ width: '50vw' }} onHide={() => { if (!visible) return; setVisible(false); }}>
|
|
17
|
+
<p className="m-0">
|
|
18
|
+
ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
|
19
|
+
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
|
|
20
|
+
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
|
21
|
+
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
22
|
+
</p>
|
|
23
|
+
<div>
|
|
24
|
+
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
</Dialog>
|
|
28
|
+
</div>
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
2
|
+
import { useLazyGetfieldsQuery } from "@/redux/api/fieldApi";
|
|
3
|
+
import {
|
|
4
|
+
useDeleteMultipleModelsMutation,
|
|
5
|
+
} from "@/redux/api/modelApi";
|
|
6
|
+
import Link from "next/link";
|
|
7
|
+
import { FilterMatchMode } from "primereact/api";
|
|
8
|
+
import { Button } from "primereact/button";
|
|
9
|
+
import { Column } from "primereact/column";
|
|
3
10
|
import {
|
|
4
11
|
DataTable,
|
|
5
12
|
DataTableFilterMeta,
|
|
6
13
|
DataTableStateEvent,
|
|
7
14
|
} from "primereact/datatable";
|
|
8
|
-
import { Column } from "primereact/column";
|
|
9
|
-
import { FilterMatchMode } from "primereact/api";
|
|
10
|
-
import Link from "next/link";
|
|
11
|
-
import {
|
|
12
|
-
useDeleteMultipleModelsMutation,
|
|
13
|
-
} from "@/redux/api/modelApi";
|
|
14
|
-
import qs from "qs";
|
|
15
|
-
import { Button } from "primereact/button";
|
|
16
15
|
import { Dialog } from "primereact/dialog";
|
|
17
|
-
import
|
|
16
|
+
import qs from "qs";
|
|
17
|
+
import { useEffect, useState } from "react";
|
|
18
18
|
|
|
19
19
|
export interface ModelMetaData {
|
|
20
20
|
id: string;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import SolidBigintField from "./
|
|
3
|
-
import SolidFloatField from "./
|
|
4
|
-
import SolidDecimalField from "./
|
|
5
|
-
import SolidShortTextField from "./
|
|
6
|
-
import SolidLongTextField from "./
|
|
7
|
-
import SolidRichTextField from "./
|
|
8
|
-
import SolidBooleanField from "./
|
|
9
|
-
import SolidDateField from "./
|
|
10
|
-
import SolidDatetimeField from "./
|
|
11
|
-
import SolidTimeField from "./
|
|
12
|
-
import SolidRelationField from "./
|
|
13
|
-
import SolidMediaSingleField from "./
|
|
14
|
-
import SolidMediaMultipleField from "./
|
|
15
|
-
import SolidSelectionStaticField from "./
|
|
16
|
-
import SolidSelectionDynamicField from "./
|
|
17
|
-
import SolidComputedField from "./
|
|
18
|
-
import SolidExternalIdField from "./
|
|
19
|
-
import SolidUuidField from "./
|
|
20
|
-
import SolidIntField from "./
|
|
2
|
+
import SolidBigintField from "./fields/SolidBigintField";
|
|
3
|
+
import SolidFloatField from "./fields/SolidFloatField";
|
|
4
|
+
import SolidDecimalField from "./fields/SolidDecimalField";
|
|
5
|
+
import SolidShortTextField from "./fields/SolidShortTextField";
|
|
6
|
+
import SolidLongTextField from "./fields/SolidLongTextField";
|
|
7
|
+
import SolidRichTextField from "./fields/SolidRichTextField";
|
|
8
|
+
import SolidBooleanField from "./fields/SolidBooleanField";
|
|
9
|
+
import SolidDateField from "./fields/SolidDateField";
|
|
10
|
+
import SolidDatetimeField from "./fields/SolidDatetimeField";
|
|
11
|
+
import SolidTimeField from "./fields/SolidTimeField";
|
|
12
|
+
import SolidRelationField from "./fields/SolidRelationField";
|
|
13
|
+
import SolidMediaSingleField from "./fields/SolidMediaSingleField";
|
|
14
|
+
import SolidMediaMultipleField from "./fields/SolidMediaMultipleField";
|
|
15
|
+
import SolidSelectionStaticField from "./fields/SolidSelectionStaticField";
|
|
16
|
+
import SolidSelectionDynamicField from "./fields/SolidSelectionDynamicField";
|
|
17
|
+
import SolidComputedField from "./fields/SolidComputedField";
|
|
18
|
+
import SolidExternalIdField from "./fields/SolidExternalIdField";
|
|
19
|
+
import SolidUuidField from "./fields/SolidUuidField";
|
|
20
|
+
import SolidIntField from "./fields/SolidIntField";
|
|
21
21
|
// import SolidRelationField from "./columns/SolidRelationField";
|
|
22
22
|
// import SolidMediaSingleField from "./columns/SolidMediaSingleField";
|
|
23
23
|
// import SolidMediaMultipleField from "./columns/SolidMediaMultipleField";
|
|
@@ -36,26 +36,23 @@ export type SolidFilterFieldsParams = {
|
|
|
36
36
|
};
|
|
37
37
|
|
|
38
38
|
export const getNumberOfInputs = (matchMode: any): number | null => {
|
|
39
|
-
if (matchMode.label && matchMode.label === 'Not In') {
|
|
40
|
-
matchMode = 'notIn';
|
|
41
|
-
}
|
|
42
39
|
|
|
43
40
|
switch (matchMode) {
|
|
44
|
-
case 'between':
|
|
41
|
+
case '$between':
|
|
45
42
|
return 2;
|
|
46
|
-
case 'in':
|
|
47
|
-
case 'notIn':
|
|
43
|
+
case '$in':
|
|
44
|
+
case '$notIn':
|
|
48
45
|
return null;
|
|
49
|
-
case 'startsWith':
|
|
50
|
-
case 'contains':
|
|
51
|
-
case 'notContains':
|
|
52
|
-
case 'endsWith':
|
|
53
|
-
case 'equals':
|
|
54
|
-
case 'notEquals':
|
|
55
|
-
case 'lt':
|
|
56
|
-
case 'lte':
|
|
57
|
-
case 'gt':
|
|
58
|
-
case 'gte':
|
|
46
|
+
case '$startsWith':
|
|
47
|
+
case '$contains':
|
|
48
|
+
case '$notContains':
|
|
49
|
+
case '$endsWith':
|
|
50
|
+
case '$equals':
|
|
51
|
+
case '$notEquals':
|
|
52
|
+
case '$lt':
|
|
53
|
+
case '$lte':
|
|
54
|
+
case '$gt':
|
|
55
|
+
case '$gte':
|
|
59
56
|
return 1;
|
|
60
57
|
default:
|
|
61
58
|
return 1; // Default to single input if no specific match is found
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
2
|
import { createSolidEntityApi } from "@/redux/api/solidEntityApi";
|
|
3
3
|
import { AutoComplete, AutoCompleteCompleteEvent } from "primereact/autocomplete";
|
|
4
4
|
import { useState } from "react";
|
|
@@ -20,7 +20,7 @@ export const SolidManyToOneFilterElement = ({ value, updateInputs, index, fieldM
|
|
|
20
20
|
limit: 10,
|
|
21
21
|
filters: {
|
|
22
22
|
[fieldMetadata.relationModel.userKeyField.name]: {
|
|
23
|
-
|
|
23
|
+
$containsi: event.query
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
};
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { Button } from "primereact/button"
|
|
3
1
|
import { Calendar } from "primereact/calendar";
|
|
4
2
|
import { InputNumber } from "primereact/inputnumber";
|
|
5
|
-
import { InputText } from "primereact/inputtext"
|
|
3
|
+
import { InputText } from "primereact/inputtext";
|
|
6
4
|
import { useEffect, useState } from "react";
|
|
7
5
|
import { SolidManyToOneFilterElement } from "./SolidManyToOneFilterElement";
|
|
8
|
-
import { SolidSelectionStaticFilterElement } from "./SolidSelectionStaticFilterElement";
|
|
9
6
|
import { SolidSelectionDynamicFilterElement } from "./SolidSelectionDynamicFilterElement";
|
|
7
|
+
import { SolidSelectionStaticFilterElement } from "./SolidSelectionStaticFilterElement";
|
|
10
8
|
|
|
11
9
|
export enum InputTypes {
|
|
12
10
|
Date = 'Date',
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { FilterMatchMode } from 'primereact/api';
|
|
1
|
+
"use client";
|
|
3
2
|
import { Dropdown } from 'primereact/dropdown';
|
|
4
3
|
import { SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
5
4
|
|
|
@@ -9,11 +8,11 @@ const SolidBooleanField = ({ fieldMetadata, onChange, index, rule }: SolidFilter
|
|
|
9
8
|
const columnDataType = 'boolean';
|
|
10
9
|
|
|
11
10
|
const booleanOptions = [
|
|
12
|
-
{ label: '
|
|
13
|
-
{ label: '
|
|
11
|
+
{ label: 'true', value: true },
|
|
12
|
+
{ label: 'false', value: false },
|
|
14
13
|
];
|
|
15
14
|
const filterMatchModeOptions = [
|
|
16
|
-
{ label: 'Equals', value:
|
|
15
|
+
{ label: 'Equals', value: "$eqi" },
|
|
17
16
|
];
|
|
18
17
|
|
|
19
18
|
|
|
@@ -23,7 +22,7 @@ const SolidBooleanField = ({ fieldMetadata, onChange, index, rule }: SolidFilter
|
|
|
23
22
|
return (
|
|
24
23
|
<>
|
|
25
24
|
<Dropdown
|
|
26
|
-
value={rule.
|
|
25
|
+
value={rule.matchMode}
|
|
27
26
|
onChange={(e: any) => {
|
|
28
27
|
console.log("e", e);
|
|
29
28
|
onChange(rule.id, 'matchMode', e.value)
|
|
@@ -37,7 +36,7 @@ const SolidBooleanField = ({ fieldMetadata, onChange, index, rule }: SolidFilter
|
|
|
37
36
|
options={booleanOptions}
|
|
38
37
|
onChange={(e: any) => {
|
|
39
38
|
console.log("e", e);
|
|
40
|
-
onChange(rule.id, 'value', e)
|
|
39
|
+
onChange(rule.id, 'value', e.value)
|
|
41
40
|
}}
|
|
42
41
|
placeholder="Select"
|
|
43
42
|
className="p-column-filter"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import SolidIntField from './SolidIntField';
|
|
1
|
+
"use client";
|
|
2
|
+
import { SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
4
3
|
import SolidDateField from './SolidDateField';
|
|
5
4
|
import SolidDatetimeField from './SolidDatetimeField';
|
|
6
|
-
import
|
|
5
|
+
import SolidIntField from './SolidIntField';
|
|
6
|
+
import SolidShortTextField from './SolidShortTextField';
|
|
7
7
|
|
|
8
8
|
const SolidComputedField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => {
|
|
9
9
|
if (['text', 'string'].includes(fieldMetadata.computedFieldValueType)) {
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
import { FilterMatchMode } from 'primereact/api';
|
|
1
|
+
"use client";
|
|
3
2
|
import { Dropdown } from 'primereact/dropdown';
|
|
4
3
|
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
5
4
|
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
6
5
|
|
|
7
6
|
export const dateFilterMatchModeOptions = [
|
|
8
|
-
{ label: 'Equals', value:
|
|
9
|
-
{ label: 'Not Equals', value:
|
|
10
|
-
{ label: 'Less Than', value:
|
|
11
|
-
{ label: 'Less Than Or Equal', value:
|
|
12
|
-
{ label: 'Greater Than', value:
|
|
13
|
-
{ label: 'Greater Than Or Equal', value:
|
|
14
|
-
{ label: 'In', value:
|
|
15
|
-
{ label: 'Not In', value:
|
|
16
|
-
{ label: 'Between', value:
|
|
7
|
+
{ label: 'Equals', value: "$eqi" },
|
|
8
|
+
{ label: 'Not Equals', value: "$nei" },
|
|
9
|
+
{ label: 'Less Than', value: "$lt" },
|
|
10
|
+
{ label: 'Less Than Or Equal', value: "$lte" },
|
|
11
|
+
{ label: 'Greater Than', value: "$gt" },
|
|
12
|
+
{ label: 'Greater Than Or Equal', value: "$gte" },
|
|
13
|
+
{ label: 'In', value: "$in" },
|
|
14
|
+
{ label: 'Not In', value: "$notIn" },
|
|
15
|
+
{ label: 'Between', value: "$between" }
|
|
17
16
|
];
|
|
18
17
|
|
|
19
18
|
const SolidDateField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => {
|
|
@@ -24,12 +23,12 @@ const SolidDateField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFie
|
|
|
24
23
|
|
|
25
24
|
// TODO: the body template to be controlled based on the format that one is expecting the date to be displayed in.
|
|
26
25
|
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
27
|
-
const numberOfInputs = getNumberOfInputs(
|
|
26
|
+
const numberOfInputs = getNumberOfInputs(rule.matchMode);
|
|
28
27
|
|
|
29
28
|
return (
|
|
30
29
|
<>
|
|
31
30
|
<Dropdown
|
|
32
|
-
value={rule.
|
|
31
|
+
value={rule.matchMode}
|
|
33
32
|
onChange={(e: any) => {
|
|
34
33
|
console.log("e", e);
|
|
35
34
|
onChange(rule.id, 'matchMode', e.value)
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import {
|
|
1
|
+
"use client";
|
|
2
|
+
import React, { useEffect, useState } from 'react';
|
|
3
|
+
import { dateFilterMatchModeOptions } from './SolidDateField';
|
|
4
4
|
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
5
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
5
6
|
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
6
|
-
import { dateFilterMatchModeOptions } from './SolidDateField';
|
|
7
7
|
|
|
8
8
|
const SolidDatetimeField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => {
|
|
9
9
|
// const filterable = column.attrs.filterable;
|
|
10
10
|
const showFilterOperator = false;
|
|
11
11
|
const columnDataType = 'date';
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
const [numberOfInputs,setNumberOfInputs] = useState<any>(null);
|
|
14
14
|
// TODO: the body template to be controlled based on the format that one is expecting the date to be displayed in.
|
|
15
15
|
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
16
|
-
|
|
16
|
+
useEffect(()=>{
|
|
17
|
+
setNumberOfInputs(getNumberOfInputs(rule.matchMode))
|
|
18
|
+
},[rule])
|
|
19
|
+
// const numberOfInputs = getNumberOfInputs(rule.matchMode);
|
|
17
20
|
|
|
18
21
|
return (
|
|
19
22
|
<>
|
|
20
23
|
<Dropdown
|
|
21
|
-
value={rule.
|
|
24
|
+
value={rule.matchMode}
|
|
22
25
|
onChange={(e: any) => {
|
|
23
26
|
console.log("e", e);
|
|
24
27
|
onChange(rule.id, 'matchMode', e.value)
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { FilterMatchMode } from 'primereact/api';
|
|
5
|
-
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
1
|
+
"use client";
|
|
6
2
|
import { Dropdown } from 'primereact/dropdown';
|
|
3
|
+
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
7
4
|
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
8
5
|
|
|
9
6
|
const SolidExternalIdField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => {
|
|
10
7
|
const showFilterOperator = false;
|
|
11
8
|
const columnDataType = 'text';
|
|
12
9
|
const filterMatchModeOptions = [
|
|
13
|
-
{ label: 'In', value:
|
|
14
|
-
{ label: 'Not In', value:
|
|
10
|
+
{ label: 'In', value: "$in" },
|
|
11
|
+
{ label: 'Not In', value: "$notIn" },
|
|
15
12
|
];
|
|
16
|
-
const numberOfInputs = getNumberOfInputs(
|
|
13
|
+
const numberOfInputs = getNumberOfInputs(rule.matchMode);
|
|
17
14
|
|
|
18
15
|
|
|
19
16
|
return (
|
|
20
17
|
<>
|
|
21
18
|
<Dropdown
|
|
22
|
-
value={rule.
|
|
19
|
+
value={rule.matchMode}
|
|
23
20
|
onChange={(e: any) => {
|
|
24
21
|
console.log("e", e);
|
|
25
22
|
onChange(rule.id, 'matchMode', e.value)
|
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { InputTypes, SolidVarInputsFilterElement } from "../SolidVarInputsFilterElement";
|
|
4
|
-
import { FilterMatchMode } from 'primereact/api';
|
|
1
|
+
"use client";
|
|
5
2
|
import { Dropdown } from 'primereact/dropdown';
|
|
6
3
|
import { getNumberOfInputs, SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
4
|
+
import { InputTypes, SolidVarInputsFilterElement } from "../SolidVarInputsFilterElement";
|
|
7
5
|
|
|
8
6
|
const SolidIdField = ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => {
|
|
9
7
|
const showFilterOperator = false;
|
|
10
8
|
const columnDataType = 'text';
|
|
11
9
|
const filterMatchModeOptions = [
|
|
12
|
-
{ label: 'In', value:
|
|
13
|
-
{ label: 'Not In', value:
|
|
10
|
+
{ label: 'In', value: "$in" },
|
|
11
|
+
{ label: 'Not In', value: "$notIn" },
|
|
14
12
|
];
|
|
15
|
-
const numberOfInputs = getNumberOfInputs(
|
|
13
|
+
const numberOfInputs = getNumberOfInputs(rule.matchMode);
|
|
16
14
|
|
|
17
15
|
|
|
18
16
|
return (
|
|
19
17
|
<>
|
|
20
18
|
<Dropdown
|
|
21
|
-
value={rule.
|
|
19
|
+
value={rule.matchMode}
|
|
22
20
|
onChange={(e: any) => {
|
|
23
21
|
console.log("e", e);
|
|
24
|
-
onChange(
|
|
25
|
-
|
|
22
|
+
onChange(rule.id, 'matchMode', e.value)
|
|
23
|
+
}}
|
|
26
24
|
options={filterMatchModeOptions}
|
|
27
25
|
optionLabel='label'
|
|
28
26
|
optionValue='value'
|