@solidstarters/solid-core-ui 0.1.26 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/CustomFooter/CustomFooter.d.ts.map +1 -1
- package/dist/components/CustomFooter/CustomFooter.js +162 -0
- package/dist/components/CustomFooter/CustomFooter.js.map +1 -0
- package/dist/components/CustomFooter/FooterForm.d.ts.map +1 -1
- package/dist/components/CustomFooter/FooterForm.js +8 -0
- package/dist/components/CustomFooter/FooterForm.js.map +1 -0
- package/dist/components/CustomHeader/CallIcon.d.ts.map +1 -1
- package/dist/components/CustomHeader/CallIcon.js +6 -0
- package/dist/components/CustomHeader/CallIcon.js.map +1 -0
- package/dist/components/CustomHeader/CustomDropdown.js +38 -0
- package/dist/components/CustomHeader/CustomDropdown.js.map +1 -0
- package/dist/components/CustomHeader/CustomHeader.js +18 -0
- package/dist/components/CustomHeader/CustomHeader.js.map +1 -0
- package/dist/components/CustomHeader/EmailIcon.d.ts.map +1 -1
- package/dist/components/CustomHeader/EmailIcon.js +6 -0
- package/dist/components/CustomHeader/EmailIcon.js.map +1 -0
- package/dist/components/CustomHeader/HeaderCart.d.ts.map +1 -1
- package/dist/components/CustomHeader/HeaderCart.js +7 -0
- package/dist/components/CustomHeader/HeaderCart.js.map +1 -0
- package/dist/components/CustomHeader/productNavData.d.ts.map +1 -1
- package/dist/components/CustomHeader/productNavData.js +178 -0
- package/dist/components/CustomHeader/productNavData.js.map +1 -0
- package/dist/components/FormView/DetailsViews.js +23 -0
- package/dist/components/FormView/DetailsViews.js.map +1 -0
- package/dist/components/FormView/OrderAddressDetails.d.ts.map +1 -1
- package/dist/components/FormView/OrderAddressDetails.js +31 -0
- package/dist/components/FormView/OrderAddressDetails.js.map +1 -0
- package/dist/components/FormView/OrderPaymentDetails.d.ts.map +1 -1
- package/dist/components/FormView/OrderPaymentDetails.js +6 -0
- package/dist/components/FormView/OrderPaymentDetails.js.map +1 -0
- package/dist/components/FormView/OrderTableDetails.d.ts.map +1 -1
- package/dist/components/FormView/OrderTableDetails.js +22 -0
- package/dist/components/FormView/OrderTableDetails.js.map +1 -0
- package/dist/components/FormView/OrderedProductDetail.d.ts.map +1 -1
- package/dist/components/FormView/OrderedProductDetail.js +6 -0
- package/dist/components/FormView/OrderedProductDetail.js.map +1 -0
- package/dist/components/Tag/CustomTag.d.ts.map +1 -1
- package/dist/components/Tag/CustomTag.js +34 -0
- package/dist/components/Tag/CustomTag.js.map +1 -0
- package/dist/components/auth/Login.js +117 -0
- package/dist/components/auth/Login.js.map +1 -0
- package/dist/components/auth/Register.js +173 -0
- package/dist/components/auth/Register.js.map +1 -0
- package/dist/components/common/AuthBanner.d.ts.map +1 -1
- package/dist/components/common/AuthBanner.js +15 -0
- package/dist/components/common/AuthBanner.js.map +1 -0
- package/dist/components/common/AutoCompleteField.d.ts.map +1 -1
- package/dist/components/common/AutoCompleteField.js +96 -0
- package/dist/components/common/AutoCompleteField.js.map +1 -0
- package/dist/components/common/CancelButton.js +30 -0
- package/dist/components/common/CancelButton.js.map +1 -0
- package/dist/components/common/CodeEditor.d.ts.map +1 -1
- package/dist/components/common/CodeEditor.js +13 -0
- package/dist/components/common/CodeEditor.js.map +1 -0
- package/dist/components/common/CreateButton.d.ts.map +1 -1
- package/dist/components/common/CreateButton.js +12 -0
- package/dist/components/common/CreateButton.js.map +1 -0
- package/dist/components/common/DropzonePlaceholder.d.ts.map +1 -1
- package/dist/components/common/DropzonePlaceholder.js +6 -0
- package/dist/components/common/DropzonePlaceholder.js.map +1 -0
- package/dist/components/common/DropzoneUpload.d.ts.map +1 -1
- package/dist/components/common/DropzoneUpload.js +7 -0
- package/dist/components/common/DropzoneUpload.js.map +1 -0
- package/dist/components/common/FilterComponent.d.ts.map +1 -1
- package/dist/components/common/FilterComponent.js +214 -0
- package/dist/components/common/FilterComponent.js.map +1 -0
- package/dist/components/common/HeaderDynamicTitles.d.ts.map +1 -1
- package/dist/components/common/HeaderDynamicTitles.js +9 -0
- package/dist/components/common/HeaderDynamicTitles.js.map +1 -0
- package/dist/components/common/MarkdownViewer.d.ts.map +1 -1
- package/dist/components/common/MarkdownViewer.js +11 -0
- package/dist/components/common/MarkdownViewer.js.map +1 -0
- package/dist/components/common/MultipleSelectAutoCompleteField.d.ts.map +1 -1
- package/dist/components/common/MultipleSelectAutoCompleteField.js +86 -0
- package/dist/components/common/MultipleSelectAutoCompleteField.js.map +1 -0
- package/dist/components/common/SingleSelectAutoCompleteField.d.ts.map +1 -1
- package/dist/components/common/SingleSelectAutoCompleteField.js +86 -0
- package/dist/components/common/SingleSelectAutoCompleteField.js.map +1 -0
- package/dist/components/common/SocialMediaLogin.d.ts.map +1 -1
- package/dist/components/common/SocialMediaLogin.js +7 -0
- package/dist/components/common/SocialMediaLogin.js.map +1 -0
- package/dist/components/core/common/FilterComponent.d.ts +6 -0
- package/dist/components/core/common/FilterComponent.d.ts.map +1 -0
- package/dist/components/core/common/FilterComponent.js +214 -0
- package/dist/components/core/common/FilterComponent.js.map +1 -0
- package/dist/components/core/common/LoadDynamicJsxComponent.d.ts +2 -0
- package/dist/components/core/common/LoadDynamicJsxComponent.d.ts.map +1 -0
- package/dist/components/core/common/LoadDynamicJsxComponent.js +73 -0
- package/dist/components/core/common/LoadDynamicJsxComponent.js.map +1 -0
- package/dist/components/core/common/SolidConfigureLayoutElement.d.ts.map +1 -1
- package/dist/components/core/common/SolidConfigureLayoutElement.js +11 -0
- package/dist/components/core/common/SolidConfigureLayoutElement.js.map +1 -0
- package/dist/components/core/common/SolidCreateButton.d.ts.map +1 -1
- package/dist/components/core/common/SolidCreateButton.js +13 -0
- package/dist/components/core/common/SolidCreateButton.js.map +1 -0
- 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 +32 -0
- package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -0
- package/dist/components/core/common/SolidSearchBox.d.ts +1 -1
- package/dist/components/core/common/SolidSearchBox.d.ts.map +1 -1
- package/dist/components/core/common/SolidSearchBox.js +16 -0
- package/dist/components/core/common/SolidSearchBox.js.map +1 -0
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.d.ts +2 -0
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js +59 -0
- package/dist/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.js.map +1 -0
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.d.ts +2 -0
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js +58 -0
- package/dist/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.js.map +1 -0
- package/dist/components/core/field/FieldListViewData.js +192 -0
- package/dist/components/core/field/FieldListViewData.js.map +1 -0
- package/dist/components/core/filter/SolidFilterFields.d.ts +10 -0
- package/dist/components/core/filter/SolidFilterFields.d.ts.map +1 -0
- package/dist/components/core/filter/SolidFilterFields.js +112 -0
- package/dist/components/core/filter/SolidFilterFields.js.map +1 -0
- package/dist/components/core/filter/SolidManyToOneFilterElement.d.ts +2 -0
- package/dist/components/core/filter/SolidManyToOneFilterElement.d.ts.map +1 -0
- package/dist/components/core/filter/SolidManyToOneFilterElement.js +86 -0
- package/dist/components/core/filter/SolidManyToOneFilterElement.js.map +1 -0
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts +2 -0
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.d.ts.map +1 -0
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js +74 -0
- package/dist/components/core/filter/SolidSelectionDynamicFilterElement.js.map +1 -0
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts +2 -0
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.d.ts.map +1 -0
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js +21 -0
- package/dist/components/core/filter/SolidSelectionStaticFilterElement.js.map +1 -0
- package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts +12 -0
- package/dist/components/core/filter/SolidVarInputsFilterElement.d.ts.map +1 -0
- package/dist/components/core/filter/SolidVarInputsFilterElement.js +81 -0
- package/dist/components/core/filter/SolidVarInputsFilterElement.js.map +1 -0
- package/dist/components/core/filter/columns/SolidBigintField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidBigintField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidBigintField.js +8 -0
- package/dist/components/core/filter/columns/SolidBigintField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidBooleanField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidBooleanField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidBooleanField.js +27 -0
- package/dist/components/core/filter/columns/SolidBooleanField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidComputedField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidComputedField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidComputedField.js +22 -0
- package/dist/components/core/filter/columns/SolidComputedField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidDateField.d.ts +9 -0
- package/dist/components/core/filter/columns/SolidDateField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidDateField.js +35 -0
- package/dist/components/core/filter/columns/SolidDateField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidDatetimeField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidDatetimeField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidDatetimeField.js +24 -0
- package/dist/components/core/filter/columns/SolidDatetimeField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidDecimalField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidDecimalField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidDecimalField.js +8 -0
- package/dist/components/core/filter/columns/SolidDecimalField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidExternalIdField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidExternalIdField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidExternalIdField.js +25 -0
- package/dist/components/core/filter/columns/SolidExternalIdField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidFloatField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidFloatField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidFloatField.js +8 -0
- package/dist/components/core/filter/columns/SolidFloatField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidIdField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidIdField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidIdField.js +25 -0
- package/dist/components/core/filter/columns/SolidIdField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidIntField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidIntField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidIntField.js +34 -0
- package/dist/components/core/filter/columns/SolidIntField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidLongTextField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidLongTextField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidLongTextField.js +8 -0
- package/dist/components/core/filter/columns/SolidLongTextField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidMediaMultipleField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidMediaMultipleField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidMediaMultipleField.js +35 -0
- package/dist/components/core/filter/columns/SolidMediaMultipleField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidMediaSingleField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidMediaSingleField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidMediaSingleField.js +35 -0
- package/dist/components/core/filter/columns/SolidMediaSingleField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidRelationField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidRelationField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidRelationField.js +12 -0
- package/dist/components/core/filter/columns/SolidRelationField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidRichTextField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidRichTextField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidRichTextField.js +8 -0
- package/dist/components/core/filter/columns/SolidRichTextField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidSelectionDynamicField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidSelectionDynamicField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidSelectionDynamicField.js +25 -0
- package/dist/components/core/filter/columns/SolidSelectionDynamicField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidSelectionStaticField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidSelectionStaticField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidSelectionStaticField.js +26 -0
- package/dist/components/core/filter/columns/SolidSelectionStaticField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidShortTextField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidShortTextField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidShortTextField.js +33 -0
- package/dist/components/core/filter/columns/SolidShortTextField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidTimeField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidTimeField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidTimeField.js +24 -0
- package/dist/components/core/filter/columns/SolidTimeField.js.map +1 -0
- package/dist/components/core/filter/columns/SolidUuidField.d.ts +4 -0
- package/dist/components/core/filter/columns/SolidUuidField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/SolidUuidField.js +25 -0
- package/dist/components/core/filter/columns/SolidUuidField.js.map +1 -0
- package/dist/components/core/filter/columns/relations/SolidRelationManyToOneField.d.ts +4 -0
- package/dist/components/core/filter/columns/relations/SolidRelationManyToOneField.d.ts.map +1 -0
- package/dist/components/core/filter/columns/relations/SolidRelationManyToOneField.js +54 -0
- package/dist/components/core/filter/columns/relations/SolidRelationManyToOneField.js.map +1 -0
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +602 -0
- package/dist/components/core/form/SolidFormView.js.map +1 -0
- package/dist/components/core/form/fields/ISolidField.d.ts.map +1 -1
- package/dist/components/core/form/fields/ISolidField.js +3 -0
- package/dist/components/core/form/fields/ISolidField.js.map +1 -0
- package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidBooleanField.js +70 -0
- package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -0
- package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateField.js +56 -0
- package/dist/components/core/form/fields/SolidDateField.js.map +1 -0
- package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDateTimeField.js +54 -0
- package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -0
- package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidDecimalField.js +54 -0
- package/dist/components/core/form/fields/SolidDecimalField.js.map +1 -0
- package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidIntegerField.js +54 -0
- package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -0
- package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidJsonField.js +51 -0
- package/dist/components/core/form/fields/SolidJsonField.js.map +1 -0
- package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidLongTextField.js +64 -0
- package/dist/components/core/form/fields/SolidLongTextField.js.map +1 -0
- package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaMultipleField.js +163 -0
- package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -0
- package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidMediaSingleField.js +151 -0
- package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -0
- package/dist/components/core/form/fields/SolidRelationField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidRelationField.js +42 -0
- package/dist/components/core/form/fields/SolidRelationField.js.map +1 -0
- package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidRichTextField.js +66 -0
- package/dist/components/core/form/fields/SolidRichTextField.js.map +1 -0
- package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js +133 -0
- package/dist/components/core/form/fields/SolidSelectionDynamicField.js.map +1 -0
- package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidSelectionStaticField.js +91 -0
- package/dist/components/core/form/fields/SolidSelectionStaticField.js.map +1 -0
- package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidShortTextField.js +65 -0
- package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -0
- package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidTimeField.js +54 -0
- package/dist/components/core/form/fields/SolidTimeField.js.map +1 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +341 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +147 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -0
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js +143 -0
- package/dist/components/core/form/fields/relations/SolidRelationOneToManyField.js.map +1 -0
- package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.js +67 -0
- package/dist/components/core/kanban/KanbanBoard.js.map +1 -0
- package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanCard.js +92 -0
- package/dist/components/core/kanban/KanbanCard.js.map +1 -0
- package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.js +28 -0
- package/dist/components/core/kanban/KanbanColumn.js.map +1 -0
- package/dist/components/core/kanban/SolidKanbanFilter.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.js +519 -0
- package/dist/components/core/kanban/SolidKanbanView.js.map +1 -0
- package/dist/components/core/kanban/SolidManyToOneFilterElement.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidSelectionStaticFilterElement.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidVarInputsFilterElement.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidBigintColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidBooleanColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidComputedColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidDateColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidDatetimeColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidDecimalColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidExternalIdColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidFloatColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidIdColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidIntColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidLongTextColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidMediaMultipleColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidMediaSingleColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidRelationColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidRichTextColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidSelectionDynamicColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidSelectionStaticColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidShortTextColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidTimeColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/SolidUuidColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
- package/dist/components/core/list/ListViewRowActionPopup.d.ts +2 -0
- package/dist/components/core/list/ListViewRowActionPopup.d.ts.map +1 -0
- package/dist/components/core/list/ListViewRowActionPopup.js +19 -0
- package/dist/components/core/list/ListViewRowActionPopup.js.map +1 -0
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +450 -0
- package/dist/components/core/list/SolidListView.js.map +1 -0
- package/dist/components/core/list/SolidListViewColumn.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewColumn.js +145 -0
- package/dist/components/core/list/SolidListViewColumn.js.map +1 -0
- package/dist/components/core/list/SolidListingHeader.d.ts.map +1 -1
- package/dist/components/core/list/SolidListingHeader.js +13 -0
- package/dist/components/core/list/SolidListingHeader.js.map +1 -0
- package/dist/components/core/list/SolidManyToOneFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidManyToOneFilterElement.js +86 -0
- package/dist/components/core/list/SolidManyToOneFilterElement.js.map +1 -0
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js +74 -0
- package/dist/components/core/list/SolidSelectionDynamicFilterElement.js.map +1 -0
- package/dist/components/core/list/SolidSelectionStaticFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidSelectionStaticFilterElement.js +21 -0
- package/dist/components/core/list/SolidSelectionStaticFilterElement.js.map +1 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.d.ts.map +1 -1
- package/dist/components/core/list/SolidVarInputsFilterElement.js +82 -0
- package/dist/components/core/list/SolidVarInputsFilterElement.js.map +1 -0
- package/dist/components/core/list/columns/SolidBigintColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidBigintColumn.js +8 -0
- package/dist/components/core/list/columns/SolidBigintColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidBooleanColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidBooleanColumn.js +30 -0
- package/dist/components/core/list/columns/SolidBooleanColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidComputedColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidComputedColumn.js +22 -0
- package/dist/components/core/list/columns/SolidComputedColumn.js.map +1 -0
- 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 +33 -0
- package/dist/components/core/list/columns/SolidDateColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidDatetimeColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidDatetimeColumn.js +22 -0
- package/dist/components/core/list/columns/SolidDatetimeColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidDecimalColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidDecimalColumn.js +8 -0
- package/dist/components/core/list/columns/SolidDecimalColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidExternalIdColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidExternalIdColumn.js +23 -0
- package/dist/components/core/list/columns/SolidExternalIdColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidFloatColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidFloatColumn.js +8 -0
- package/dist/components/core/list/columns/SolidFloatColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidIdColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidIdColumn.js +23 -0
- package/dist/components/core/list/columns/SolidIdColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidIntColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidIntColumn.js +32 -0
- package/dist/components/core/list/columns/SolidIntColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidLongTextColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidLongTextColumn.js +8 -0
- package/dist/components/core/list/columns/SolidLongTextColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.js +15 -0
- package/dist/components/core/list/columns/SolidMediaMultipleColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidMediaSingleColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidMediaSingleColumn.js +15 -0
- package/dist/components/core/list/columns/SolidMediaSingleColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidRelationColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidRelationColumn.js +12 -0
- package/dist/components/core/list/columns/SolidRelationColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidRichTextColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidRichTextColumn.js +8 -0
- package/dist/components/core/list/columns/SolidRichTextColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js +23 -0
- package/dist/components/core/list/columns/SolidSelectionDynamicColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js +23 -0
- package/dist/components/core/list/columns/SolidSelectionStaticColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidShortTextColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidShortTextColumn.js +31 -0
- package/dist/components/core/list/columns/SolidShortTextColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidTimeColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidTimeColumn.js +22 -0
- package/dist/components/core/list/columns/SolidTimeColumn.js.map +1 -0
- package/dist/components/core/list/columns/SolidUuidColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/SolidUuidColumn.js +23 -0
- package/dist/components/core/list/columns/SolidUuidColumn.js.map +1 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js +37 -0
- package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -0
- package/dist/components/core/model/CreateModel.js +290 -0
- package/dist/components/core/model/CreateModel.js.map +1 -0
- package/dist/components/core/model/FieldMetaData.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaData.js +81 -0
- package/dist/components/core/model/FieldMetaData.js.map +1 -0
- package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
- package/dist/components/core/model/FieldMetaDataForm.js +1024 -0
- package/dist/components/core/model/FieldMetaDataForm.js.map +1 -0
- package/dist/components/core/model/FieldSelector.d.ts.map +1 -1
- package/dist/components/core/model/FieldSelector.js +38 -0
- package/dist/components/core/model/FieldSelector.js.map +1 -0
- package/dist/components/core/model/ModelListViewData.d.ts.map +1 -1
- package/dist/components/core/model/ModelListViewData.js +211 -0
- package/dist/components/core/model/ModelListViewData.js.map +1 -0
- package/dist/components/core/model/ModelMetaData.d.ts.map +1 -1
- package/dist/components/core/model/ModelMetaData.js +338 -0
- package/dist/components/core/model/ModelMetaData.js.map +1 -0
- package/dist/components/core/module/CreateModule.d.ts.map +1 -1
- package/dist/components/core/module/CreateModule.js +319 -0
- package/dist/components/core/module/CreateModule.js.map +1 -0
- package/dist/components/core/module/ModuleListViewData.d.ts.map +1 -1
- package/dist/components/core/module/ModuleListViewData.js +263 -0
- package/dist/components/core/module/ModuleListViewData.js.map +1 -0
- package/dist/components/core/users/CreateUser.d.ts.map +1 -1
- package/dist/components/core/users/CreateUser.js +231 -0
- package/dist/components/core/users/CreateUser.js.map +1 -0
- package/dist/components/core/users/CreateUserRole.d.ts.map +1 -1
- package/dist/components/core/users/CreateUserRole.js +168 -0
- package/dist/components/core/users/CreateUserRole.js.map +1 -0
- package/dist/components/core/users/UserListView.d.ts.map +1 -1
- package/dist/components/core/users/UserListView.js +223 -0
- package/dist/components/core/users/UserListView.js.map +1 -0
- package/dist/components/layout/AdminSidebar.js +42 -0
- package/dist/components/layout/AdminSidebar.js.map +1 -0
- package/dist/components/layout/ButtonLoader.d.ts.map +1 -1
- package/dist/components/layout/ButtonLoader.js +7 -0
- package/dist/components/layout/ButtonLoader.js.map +1 -0
- package/dist/components/layout/CustomPagination.js +28 -0
- package/dist/components/layout/CustomPagination.js.map +1 -0
- package/dist/components/layout/DashboardHeader.d.ts.map +1 -1
- package/dist/components/layout/DashboardHeader.js +27 -0
- package/dist/components/layout/DashboardHeader.js.map +1 -0
- package/dist/components/layout/FilterMenu.d.ts.map +1 -1
- package/dist/components/layout/FilterMenu.js +50 -0
- package/dist/components/layout/FilterMenu.js.map +1 -0
- package/dist/components/layout/Footer.d.ts.map +1 -1
- package/dist/components/layout/Footer.js +7 -0
- package/dist/components/layout/Footer.js.map +1 -0
- package/dist/components/layout/GlobalSearch.d.ts.map +1 -1
- package/dist/components/layout/GlobalSearch.js +26 -0
- package/dist/components/layout/GlobalSearch.js.map +1 -0
- package/dist/components/layout/Header.js +8 -0
- package/dist/components/layout/Header.js.map +1 -0
- package/dist/components/layout/ListingHeader.d.ts.map +1 -1
- package/dist/components/layout/ListingHeader.js +90 -0
- package/dist/components/layout/ListingHeader.js.map +1 -0
- package/dist/components/layout/Loader.d.ts.map +1 -1
- package/dist/components/layout/Loader.js +7 -0
- package/dist/components/layout/Loader.js.map +1 -0
- package/dist/components/layout/UserSidebar.js +32 -0
- package/dist/components/layout/UserSidebar.js.map +1 -0
- package/dist/components/layout/navbar-one.d.ts.map +1 -1
- package/dist/components/layout/navbar-one.js +87 -0
- package/dist/components/layout/navbar-one.js.map +1 -0
- package/dist/components/layout/navbar-two-menu.d.ts.map +1 -1
- package/dist/components/layout/navbar-two-menu.js +41 -0
- package/dist/components/layout/navbar-two-menu.js.map +1 -0
- package/dist/components/layout/navbar-two.d.ts.map +1 -1
- package/dist/components/layout/navbar-two.js +35 -0
- package/dist/components/layout/navbar-two.js.map +1 -0
- package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
- package/dist/components/layout/user-profile-menu.js +21 -0
- package/dist/components/layout/user-profile-menu.js.map +1 -0
- package/dist/components/layout/user-profile.d.ts.map +1 -1
- package/dist/components/layout/user-profile.js +8 -0
- package/dist/components/layout/user-profile.js.map +1 -0
- package/dist/components/modelsComponents/filterIcon.d.ts.map +1 -1
- package/dist/components/modelsComponents/filterIcon.js +6 -0
- package/dist/components/modelsComponents/filterIcon.js.map +1 -0
- package/dist/components/tables/DemoData.d.ts.map +1 -1
- package/dist/components/tables/DemoData.js +317 -0
- package/dist/components/tables/DemoData.js.map +1 -0
- package/dist/components/tables/DynamicTable.js +24 -0
- package/dist/components/tables/DynamicTable.js.map +1 -0
- package/dist/components/tables/ListViewTable.js +119 -0
- package/dist/components/tables/ListViewTable.js.map +1 -0
- package/dist/helpers/ToastContainer.d.ts.map +1 -1
- package/dist/helpers/ToastContainer.js +49 -0
- package/dist/helpers/ToastContainer.js.map +1 -0
- package/dist/helpers/authHeader.d.ts.map +1 -1
- package/dist/helpers/authHeader.js +18 -0
- package/dist/helpers/authHeader.js.map +1 -0
- package/dist/helpers/countries.d.ts.map +1 -1
- package/dist/helpers/countries.js +262 -0
- package/dist/helpers/countries.js.map +1 -0
- package/dist/helpers/helpers.d.ts.map +1 -1
- package/dist/helpers/helpers.js +26 -0
- package/dist/helpers/helpers.js.map +1 -0
- package/dist/helpers/menu.js +668 -0
- package/dist/helpers/menu.js.map +1 -0
- package/dist/helpers/permissions.d.ts.map +1 -1
- package/dist/helpers/permissions.js +12 -0
- package/dist/helpers/permissions.js.map +1 -0
- package/dist/helpers/revalidate.d.ts.map +1 -1
- package/dist/helpers/revalidate.js +48 -0
- package/dist/helpers/revalidate.js.map +1 -0
- package/dist/index.d.ts +152 -181
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +539 -45552
- package/dist/index.js.map +1 -1
- package/dist/redux/api/articleApi.js +57 -0
- package/dist/redux/api/articleApi.js.map +1 -0
- package/dist/redux/api/authApi.js +57 -0
- package/dist/redux/api/authApi.js.map +1 -0
- package/dist/redux/api/automationApi.js +57 -0
- package/dist/redux/api/automationApi.js.map +1 -0
- package/dist/redux/api/categoryApi.js +48 -0
- package/dist/redux/api/categoryApi.js.map +1 -0
- package/dist/redux/api/cityApi.js +54 -0
- package/dist/redux/api/cityApi.js.map +1 -0
- package/dist/redux/api/cmsBannerImageApi.js +57 -0
- package/dist/redux/api/cmsBannerImageApi.js.map +1 -0
- package/dist/redux/api/countryApi.js +57 -0
- package/dist/redux/api/countryApi.js.map +1 -0
- package/dist/redux/api/fetchBaseQuery.js +59 -0
- package/dist/redux/api/fetchBaseQuery.js.map +1 -0
- package/dist/redux/api/fieldApi.js +63 -0
- package/dist/redux/api/fieldApi.js.map +1 -0
- package/dist/redux/api/mediaApi.js +57 -0
- package/dist/redux/api/mediaApi.js.map +1 -0
- package/dist/redux/api/mediaStorageProviderApi.js +57 -0
- package/dist/redux/api/mediaStorageProviderApi.js.map +1 -0
- package/dist/redux/api/menuApi.js +57 -0
- package/dist/redux/api/menuApi.js.map +1 -0
- package/dist/redux/api/menuItemsApi.js +58 -0
- package/dist/redux/api/menuItemsApi.js.map +1 -0
- package/dist/redux/api/modelApi.js +71 -0
- package/dist/redux/api/modelApi.js.map +1 -0
- package/dist/redux/api/moduleApi.js +74 -0
- package/dist/redux/api/moduleApi.js.map +1 -0
- package/dist/redux/api/orderAttributeApi.js +39 -0
- package/dist/redux/api/orderAttributeApi.js.map +1 -0
- package/dist/redux/api/permissionApi.js +27 -0
- package/dist/redux/api/permissionApi.js.map +1 -0
- package/dist/redux/api/pincodeApi.js +54 -0
- package/dist/redux/api/pincodeApi.js.map +1 -0
- package/dist/redux/api/productData.js +78 -0
- package/dist/redux/api/productData.js.map +1 -0
- package/dist/redux/api/radixExtraModelAttributeApi.js +39 -0
- package/dist/redux/api/radixExtraModelAttributeApi.js.map +1 -0
- package/dist/redux/api/radixModelMetadataApi.js +64 -0
- package/dist/redux/api/radixModelMetadataApi.js.map +1 -0
- package/dist/redux/api/radixModelsApi.js +67 -0
- package/dist/redux/api/radixModelsApi.js.map +1 -0
- package/dist/redux/api/ratingApi.js +57 -0
- package/dist/redux/api/ratingApi.js.map +1 -0
- package/dist/redux/api/reviewApi.js +57 -0
- package/dist/redux/api/reviewApi.js.map +1 -0
- package/dist/redux/api/roleApi.js +49 -0
- package/dist/redux/api/roleApi.js.map +1 -0
- package/dist/redux/api/solidActionApi.js +58 -0
- package/dist/redux/api/solidActionApi.js.map +1 -0
- package/dist/redux/api/solidEntityApi.js +91 -0
- package/dist/redux/api/solidEntityApi.js.map +1 -0
- package/dist/redux/api/solidMenuApi.js +61 -0
- package/dist/redux/api/solidMenuApi.js.map +1 -0
- package/dist/redux/api/solidViewApi.js +63 -0
- package/dist/redux/api/solidViewApi.js.map +1 -0
- package/dist/redux/api/stateApi.js +54 -0
- package/dist/redux/api/stateApi.js.map +1 -0
- package/dist/redux/api/tagApi.js +57 -0
- package/dist/redux/api/tagApi.js.map +1 -0
- package/dist/redux/api/tagGroupApi.js +57 -0
- package/dist/redux/api/tagGroupApi.js.map +1 -0
- package/dist/redux/api/userApi.js +103 -0
- package/dist/redux/api/userApi.js.map +1 -0
- package/dist/redux/features/authSlice.js +19 -0
- package/dist/redux/features/authSlice.js.map +1 -0
- package/dist/redux/features/dataViewSlice.js +21 -0
- package/dist/redux/features/dataViewSlice.js.map +1 -0
- package/dist/redux/features/navbarSlice.js +22 -0
- package/dist/redux/features/navbarSlice.js.map +1 -0
- package/dist/redux/features/popupSlice.js +27 -0
- package/dist/redux/features/popupSlice.js.map +1 -0
- package/dist/redux/features/themeSlice.js +16 -0
- package/dist/redux/features/themeSlice.js.map +1 -0
- package/dist/redux/features/userSlice.js +21 -0
- package/dist/redux/features/userSlice.js.map +1 -0
- package/package.json +2 -10
- 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/CustomFooter/CustomFooter.tsx +1 -0
- package/src/components/CustomFooter/FooterForm.tsx +1 -0
- package/src/components/CustomHeader/CallIcon.tsx +1 -0
- package/src/components/CustomHeader/EmailIcon.tsx +1 -0
- package/src/components/CustomHeader/HeaderCart.tsx +1 -0
- package/src/components/CustomHeader/productNavData.tsx +1 -0
- package/src/components/FormView/OrderAddressDetails.tsx +1 -0
- package/src/components/FormView/OrderPaymentDetails.tsx +1 -0
- package/src/components/FormView/OrderTableDetails.tsx +1 -0
- package/src/components/FormView/OrderedProductDetail.tsx +1 -0
- package/src/components/Tag/CustomTag.tsx +1 -0
- package/src/components/common/AuthBanner.tsx +1 -0
- package/src/components/common/AutoCompleteField.tsx +2 -0
- package/src/components/common/CodeEditor.tsx +2 -0
- package/src/components/common/CreateButton.tsx +2 -0
- package/src/components/common/DropzonePlaceholder.tsx +1 -0
- package/src/components/common/DropzoneUpload.tsx +2 -0
- package/src/components/common/FilterComponent.tsx +1 -0
- package/src/components/common/HeaderDynamicTitles.tsx +2 -0
- package/src/components/common/MarkdownViewer.tsx +2 -0
- package/src/components/common/MultipleSelectAutoCompleteField.tsx +1 -0
- package/src/components/common/SingleSelectAutoCompleteField.tsx +1 -0
- package/src/components/common/SocialMediaLogin.tsx +1 -0
- package/src/components/core/common/FilterComponent.tsx +431 -0
- package/src/components/core/common/LoadDynamicJsxComponent.tsx +45 -0
- package/src/components/core/common/SolidConfigureLayoutElement.tsx +14 -6
- package/src/components/core/common/SolidCreateButton.tsx +1 -0
- package/src/components/core/common/SolidGlobalSearchElement.tsx +33 -8
- package/src/components/core/common/SolidSearchBox.tsx +3 -2
- package/src/components/core/extension/solid-core/modelMetadata/list/GenerateModelCodeRowAction.tsx +38 -0
- package/src/components/core/extension/solid-core/moduleMetadata/list/GenerateModuleCodeRowAction.tsx +28 -0
- package/src/components/core/field/FieldListViewData.tsx +10 -10
- package/src/components/core/filter/SolidFilterFields.tsx +131 -0
- package/src/components/core/{kanban → filter}/SolidManyToOneFilterElement.tsx +2 -1
- package/src/components/core/{kanban → filter}/SolidSelectionDynamicFilterElement.tsx +2 -1
- package/src/components/core/{kanban → filter}/SolidSelectionStaticFilterElement.tsx +2 -1
- package/src/components/core/{kanban → filter}/SolidVarInputsFilterElement.tsx +51 -25
- package/src/components/core/filter/columns/SolidBigintField.tsx +9 -0
- package/src/components/core/{kanban/columns/SolidBooleanColumn.tsx → filter/columns/SolidBooleanField.tsx} +9 -9
- package/src/components/core/filter/columns/SolidComputedField.tsx +23 -0
- package/src/components/core/{kanban/columns/SolidDateColumn.tsx → filter/columns/SolidDateField.tsx} +15 -16
- package/src/components/core/filter/columns/SolidDatetimeField.tsx +45 -0
- package/src/components/core/filter/columns/SolidDecimalField.tsx +10 -0
- package/src/components/core/{kanban/columns/SolidExternalIdColumn.tsx → filter/columns/SolidExternalIdField.tsx} +14 -13
- package/src/components/core/filter/columns/SolidFloatField.tsx +9 -0
- package/src/components/core/{kanban/columns/SolidIdColumn.tsx → filter/columns/SolidIdField.tsx} +14 -14
- package/src/components/core/filter/columns/SolidIntField.tsx +56 -0
- package/src/components/core/filter/columns/SolidLongTextField.tsx +9 -0
- package/src/components/core/{kanban/columns/SolidMediaMultipleColumn.tsx → filter/columns/SolidMediaMultipleField.tsx} +15 -13
- package/src/components/core/{kanban/columns/SolidMediaSingleColumn.tsx → filter/columns/SolidMediaSingleField.tsx} +15 -14
- package/src/components/core/filter/columns/SolidRelationField.tsx +13 -0
- package/src/components/core/filter/columns/SolidRichTextField.tsx +9 -0
- package/src/components/core/{kanban/columns/SolidSelectionDynamicColumn.tsx → filter/columns/SolidSelectionDynamicField.tsx} +14 -13
- package/src/components/core/{kanban/columns/SolidSelectionStaticColumn.tsx → filter/columns/SolidSelectionStaticField.tsx} +14 -13
- package/src/components/core/{kanban/columns/SolidShortTextColumn.tsx → filter/columns/SolidShortTextField.tsx} +14 -13
- package/src/components/core/filter/columns/SolidTimeField.tsx +43 -0
- package/src/components/core/{kanban/columns/SolidUuidColumn.tsx → filter/columns/SolidUuidField.tsx} +14 -13
- package/src/components/core/{kanban/columns/relations/SolidRelationManyToOneColumn.tsx → filter/columns/relations/SolidRelationManyToOneField.tsx} +13 -13
- package/src/components/core/form/SolidFormView.tsx +23 -23
- package/src/components/core/form/fields/ISolidField.tsx +1 -0
- package/src/components/core/form/fields/SolidBooleanField.tsx +6 -3
- package/src/components/core/form/fields/SolidDateField.tsx +6 -4
- package/src/components/core/form/fields/SolidDateTimeField.tsx +6 -4
- package/src/components/core/form/fields/SolidDecimalField.tsx +6 -3
- package/src/components/core/form/fields/SolidIntegerField.tsx +6 -3
- package/src/components/core/form/fields/SolidJsonField.tsx +10 -3
- package/src/components/core/form/fields/SolidLongTextField.tsx +5 -3
- package/src/components/core/form/fields/SolidMediaMultipleField.tsx +9 -7
- package/src/components/core/form/fields/SolidMediaSingleField.tsx +9 -7
- package/src/components/core/form/fields/SolidRelationField.tsx +1 -0
- package/src/components/core/form/fields/SolidRichTextField.tsx +7 -4
- package/src/components/core/form/fields/SolidSelectionDynamicField.tsx +7 -5
- package/src/components/core/form/fields/SolidSelectionStaticField.tsx +7 -4
- package/src/components/core/form/fields/SolidShortTextField.tsx +5 -3
- package/src/components/core/form/fields/SolidTimeField.tsx +6 -4
- package/src/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +13 -9
- package/src/components/core/form/fields/relations/SolidRelationManyToOneField.tsx +7 -5
- package/src/components/core/form/fields/relations/SolidRelationOneToManyField.tsx +11 -4
- package/src/components/core/kanban/KanbanBoard.tsx +1 -0
- package/src/components/core/kanban/KanbanCard.tsx +1 -0
- package/src/components/core/kanban/KanbanColumn.tsx +1 -0
- package/src/components/core/kanban/SolidKanbanView.tsx +28 -23
- package/src/components/core/list/ListViewRowActionPopup.tsx +36 -0
- package/src/components/core/list/SolidListView.tsx +65 -12
- package/src/components/core/list/SolidListViewColumn.tsx +13 -12
- package/src/components/core/list/SolidListingHeader.tsx +3 -1
- package/src/components/core/list/SolidManyToOneFilterElement.tsx +3 -1
- package/src/components/core/list/SolidSelectionDynamicFilterElement.tsx +1 -0
- package/src/components/core/list/SolidSelectionStaticFilterElement.tsx +3 -0
- package/src/components/core/list/SolidVarInputsFilterElement.tsx +1 -0
- package/src/components/core/list/columns/SolidBigintColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidBooleanColumn.tsx +7 -1
- package/src/components/core/list/columns/SolidComputedColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidDateColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidDatetimeColumn.tsx +4 -2
- package/src/components/core/list/columns/SolidDecimalColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidExternalIdColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidFloatColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidIdColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidIntColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidLongTextColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidMediaMultipleColumn.tsx +2 -0
- package/src/components/core/list/columns/SolidMediaSingleColumn.tsx +6 -1
- package/src/components/core/list/columns/SolidRelationColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidRichTextColumn.tsx +1 -0
- package/src/components/core/list/columns/SolidSelectionDynamicColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidSelectionStaticColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidShortTextColumn.tsx +5 -3
- package/src/components/core/list/columns/SolidTimeColumn.tsx +5 -2
- package/src/components/core/list/columns/SolidUuidColumn.tsx +5 -3
- package/src/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +5 -3
- package/src/components/core/model/CreateModel.tsx +9 -9
- package/src/components/core/model/FieldMetaData.tsx +10 -7
- package/src/components/core/model/FieldMetaDataForm.tsx +1 -0
- package/src/components/core/model/FieldSelector.tsx +4 -1
- package/src/components/core/model/ModelListViewData.tsx +16 -11
- package/src/components/core/model/ModelMetaData.tsx +14 -9
- package/src/components/core/module/CreateModule.tsx +20 -19
- package/src/components/core/module/ModuleListViewData.tsx +19 -10
- package/src/components/core/users/CreateUser.tsx +1 -0
- package/src/components/core/users/CreateUserRole.tsx +15 -9
- package/src/components/core/users/UserListView.tsx +10 -9
- package/src/components/layout/ButtonLoader.tsx +1 -0
- package/src/components/layout/DashboardHeader.tsx +1 -0
- package/src/components/layout/FilterMenu.tsx +1 -0
- package/src/components/layout/Footer.tsx +1 -0
- package/src/components/layout/GlobalSearch.tsx +1 -0
- package/src/components/layout/ListingHeader.tsx +1 -0
- package/src/components/layout/Loader.tsx +1 -0
- package/src/components/layout/navbar-one.tsx +1 -0
- package/src/components/layout/navbar-two-menu.tsx +1 -0
- package/src/components/layout/navbar-two.tsx +1 -0
- package/src/components/layout/user-profile-menu.tsx +1 -0
- package/src/components/layout/user-profile.tsx +1 -0
- package/src/components/modelsComponents/filterIcon.tsx +1 -0
- package/src/components/tables/DemoData.tsx +1 -0
- package/src/helpers/ToastContainer.tsx +1 -0
- package/src/helpers/authHeader.ts +1 -0
- package/src/helpers/countries.tsx +1 -0
- package/src/helpers/helpers.ts +1 -0
- package/src/helpers/permissions.ts +1 -0
- package/src/helpers/revalidate.ts +1 -0
- package/src/index.ts +0 -50
- package/rollup.config.mjs +0 -45
- package/solidstarters-solid-core-ui-0.1.24.tgz +0 -0
- package/src/components/core/kanban/SolidKanbanFilter.tsx +0 -104
- package/src/components/core/kanban/SolidKanbanViewSearchColumn.tsx +0 -131
- package/src/components/core/kanban/columns/SolidBigintColumn.tsx +0 -8
- package/src/components/core/kanban/columns/SolidComputedColumn.tsx +0 -22
- package/src/components/core/kanban/columns/SolidDatetimeColumn.tsx +0 -45
- package/src/components/core/kanban/columns/SolidDecimalColumn.tsx +0 -8
- package/src/components/core/kanban/columns/SolidFloatColumn.tsx +0 -8
- package/src/components/core/kanban/columns/SolidIntColumn.tsx +0 -56
- package/src/components/core/kanban/columns/SolidLongTextColumn.tsx +0 -8
- package/src/components/core/kanban/columns/SolidRelationColumn.tsx +0 -12
- package/src/components/core/kanban/columns/SolidRichTextColumn.tsx +0 -8
- package/src/components/core/kanban/columns/SolidTimeColumn.tsx +0 -42
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { AutoComplete } from "primereact/autocomplete";
|
|
4
|
+
import { useState } from "react";
|
|
5
|
+
export var SolidSelectionStaticFilterElement = function (_a) {
|
|
6
|
+
var value = _a.value, updateInputs = _a.updateInputs, index = _a.index, fieldMetadata = _a.fieldMetadata;
|
|
7
|
+
// selection dynamic specific code.
|
|
8
|
+
var _b = useState([]), selectionStaticItems = _b[0], setSelectionStaticItems = _b[1];
|
|
9
|
+
var selectionStaticSearch = function (event) {
|
|
10
|
+
var selectionStaticData = fieldMetadata.selectionStaticValues.map(function (i) {
|
|
11
|
+
return {
|
|
12
|
+
label: i.split(":")[1],
|
|
13
|
+
value: i.split(":")[0]
|
|
14
|
+
};
|
|
15
|
+
});
|
|
16
|
+
var suggestionData = selectionStaticData.filter(function (t) { return t.value.toLowerCase().startsWith(event.query.toLowerCase()); });
|
|
17
|
+
setSelectionStaticItems(suggestionData);
|
|
18
|
+
};
|
|
19
|
+
return (_jsx(AutoComplete, { field: "label", value: value, dropdown: true, className: "w-full small-input", suggestions: selectionStaticItems, completeMethod: selectionStaticSearch, onChange: function (e) { return updateInputs(index, e.value); } }));
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=SolidSelectionStaticFilterElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidSelectionStaticFilterElement.js","sourceRoot":"","sources":["../../../../src/components/core/filter/SolidSelectionStaticFilterElement.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,YAAY,EAA6B,MAAM,yBAAyB,CAAC;AAClF,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,MAAM,CAAC,IAAM,iCAAiC,GAAG,UAAC,EAAkD;QAAhD,KAAK,WAAA,EAAE,YAAY,kBAAA,EAAE,KAAK,WAAA,EAAE,aAAa,mBAAA;IAEzF,oCAAoC;IAC9B,IAAA,KAAkD,QAAQ,CAAC,EAAE,CAAC,EAA7D,oBAAoB,QAAA,EAAE,uBAAuB,QAAgB,CAAC;IACrE,IAAM,qBAAqB,GAAG,UAAC,KAAgC;QAC3D,IAAM,mBAAmB,GAAG,aAAa,CAAC,qBAAqB,CAAC,GAAG,CAAC,UAAC,CAAS;YAC1E,OAAO;gBACH,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;gBACtB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;aACzB,CAAA;QACL,CAAC,CAAC,CAAC;QACH,IAAM,cAAc,GAAG,mBAAmB,CAAC,MAAM,CAAC,UAAC,CAAM,IAAK,OAAA,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,EAA3D,CAA2D,CAAC,CAAC;QAC3H,uBAAuB,CAAC,cAAc,CAAC,CAAA;IAC3C,CAAC,CAAA;IAED,OAAO,CAEH,KAAC,YAAY,IACT,KAAK,EAAC,OAAO,EACb,KAAK,EAAE,KAAK,EACZ,QAAQ,QACR,SAAS,EAAC,oBAAoB,EAC9B,WAAW,EAAE,oBAAoB,EACjC,cAAc,EAAE,qBAAqB,EACrC,QAAQ,EAAE,UAAC,CAAC,IAAK,OAAA,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,EAA5B,CAA4B,GAAI,CACxD,CAAA;AACL,CAAC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum InputTypes {
|
|
2
|
+
Date = "Date",
|
|
3
|
+
DateTime = "DateTime",
|
|
4
|
+
Time = "Time",
|
|
5
|
+
Numeric = "Numeric",
|
|
6
|
+
Text = "Text",
|
|
7
|
+
SelectionStatic = "SelectionStatic",
|
|
8
|
+
RelationManyToOne = "RelationManyToOne",
|
|
9
|
+
SelectionDynamic = "SelectionDynamic"
|
|
10
|
+
}
|
|
11
|
+
export declare const SolidVarInputsFilterElement: ({ values, onChange, inputType, numberOfInputs, fieldMetadata }: any) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=SolidVarInputsFilterElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidVarInputsFilterElement.d.ts","sourceRoot":"","sources":["../../../../src/components/core/filter/SolidVarInputsFilterElement.tsx"],"names":[],"mappings":"AAUA,oBAAY,UAAU;IAClB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,eAAe,oBAAoB;IACnC,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;CACxC;AAID,eAAO,MAAM,2BAA2B,mEAA6F,GAAG,4CAyLvI,CAAA"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
3
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
4
|
+
if (ar || !(i in from)) {
|
|
5
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
6
|
+
ar[i] = from[i];
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
10
|
+
};
|
|
11
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
import { Calendar } from "primereact/calendar";
|
|
13
|
+
import { InputNumber } from "primereact/inputnumber";
|
|
14
|
+
import { InputText } from "primereact/inputtext";
|
|
15
|
+
import { useEffect, useState } from "react";
|
|
16
|
+
import { SolidManyToOneFilterElement } from "./SolidManyToOneFilterElement";
|
|
17
|
+
import { SolidSelectionStaticFilterElement } from "./SolidSelectionStaticFilterElement";
|
|
18
|
+
import { SolidSelectionDynamicFilterElement } from "./SolidSelectionDynamicFilterElement";
|
|
19
|
+
export var InputTypes;
|
|
20
|
+
(function (InputTypes) {
|
|
21
|
+
InputTypes["Date"] = "Date";
|
|
22
|
+
InputTypes["DateTime"] = "DateTime";
|
|
23
|
+
InputTypes["Time"] = "Time";
|
|
24
|
+
InputTypes["Numeric"] = "Numeric";
|
|
25
|
+
InputTypes["Text"] = "Text";
|
|
26
|
+
InputTypes["SelectionStatic"] = "SelectionStatic";
|
|
27
|
+
InputTypes["RelationManyToOne"] = "RelationManyToOne";
|
|
28
|
+
InputTypes["SelectionDynamic"] = "SelectionDynamic";
|
|
29
|
+
})(InputTypes || (InputTypes = {}));
|
|
30
|
+
// Based on numberOfInputs map the input filed and hide add and delete
|
|
31
|
+
export var SolidVarInputsFilterElement = function (_a) {
|
|
32
|
+
var values = _a.values, onChange = _a.onChange, _b = _a.inputType, inputType = _b === void 0 ? InputTypes.Text : _b, _c = _a.numberOfInputs, numberOfInputs = _c === void 0 ? null : _c, fieldMetadata = _a.fieldMetadata;
|
|
33
|
+
if (!values) {
|
|
34
|
+
values = numberOfInputs && numberOfInputs > 0 ? Array(numberOfInputs).fill('') : [''];
|
|
35
|
+
// values = [''];
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
if (values[0] == '') {
|
|
39
|
+
values = numberOfInputs && numberOfInputs > 0 ? Array(numberOfInputs).fill('') : [''];
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
values = values;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
// TODO: Ideally values will be an array, so we can spread them here instead of making a nested array.
|
|
46
|
+
var _d = useState(__spreadArray([], values, true)), inputs = _d[0], setInputs = _d[1];
|
|
47
|
+
useEffect(function () {
|
|
48
|
+
setInputs(__spreadArray([], values, true));
|
|
49
|
+
}, [numberOfInputs]);
|
|
50
|
+
var updateInputs = function (index, value) {
|
|
51
|
+
var updatedSpecification = inputs.map(function (item, i) {
|
|
52
|
+
return i === index ? value : item;
|
|
53
|
+
});
|
|
54
|
+
setInputs(updatedSpecification);
|
|
55
|
+
};
|
|
56
|
+
var addInput = function () {
|
|
57
|
+
setInputs(__spreadArray(__spreadArray([], inputs, true), [''], false));
|
|
58
|
+
};
|
|
59
|
+
var deleteInput = function (index) {
|
|
60
|
+
if (inputs.length > 1) {
|
|
61
|
+
var updatedRows = inputs.filter(function (_, rowIndex) { return rowIndex !== index; });
|
|
62
|
+
setInputs(updatedRows);
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
useEffect(function () {
|
|
68
|
+
onChange(inputs);
|
|
69
|
+
}, [inputs]);
|
|
70
|
+
return (_jsx("div", { className: "grid formgrid", children: _jsx("div", { className: "col-12", children: _jsx("div", { className: "flex flex-column gap-2", children: inputs && inputs.map(function (value, index) { return (_jsxs("div", { className: "flex align-items-center gap-2", children: [inputType === InputTypes.Text &&
|
|
71
|
+
_jsx(InputText, { value: value, onChange: function (e) { return updateInputs(index, e.target.value); }, placeholder: "", className: "p-inputtext-sm small-input w-full" }), inputType === InputTypes.Numeric &&
|
|
72
|
+
_jsx(InputNumber, { value: value, onChange: function (e) { return updateInputs(index, e.value); }, placeholder: "", className: "p-inputtext-sm small-input w-full" }), inputType === InputTypes.Date &&
|
|
73
|
+
_jsx(Calendar, { value: value, onChange: function (e) { return updateInputs(index, e.target.value); }, dateFormat: "mm/dd/yy", placeholder: "mm/dd/yyyy", mask: "99/99/9999" }), inputType === InputTypes.DateTime &&
|
|
74
|
+
_jsx(Calendar, { value: value, onChange: function (e) { return updateInputs(index, e.target.value); }, dateFormat: "mm/dd/yy", placeholder: "mm/dd/yyyy hh:mm", mask: "99/99/9999 99:99", showTime: true, hourFormat: "24" }), inputType === InputTypes.Time &&
|
|
75
|
+
_jsx(Calendar, { value: value, onChange: function (e) { return updateInputs(index, e.target.value); }, placeholder: "hh:mm", mask: "99:99", timeOnly: true, hourFormat: "24" }), inputType === InputTypes.RelationManyToOne &&
|
|
76
|
+
_jsx(SolidManyToOneFilterElement, { value: value, index: index, updateInputs: updateInputs, fieldMetadata: fieldMetadata }), inputType === InputTypes.SelectionDynamic &&
|
|
77
|
+
_jsx(SolidSelectionDynamicFilterElement, { value: value, index: index, updateInputs: updateInputs, fieldMetadata: fieldMetadata }), inputType === InputTypes.SelectionStatic &&
|
|
78
|
+
_jsx(SolidSelectionStaticFilterElement, { value: value, index: index, updateInputs: updateInputs, fieldMetadata: fieldMetadata }), numberOfInputs === null &&
|
|
79
|
+
_jsxs(_Fragment, { children: [_jsx("button", { onClick: function () { return addInput(); }, children: _jsx("div", { className: "card flex justify-content-center", children: _jsx("i", { className: "custom-target-icon pi pi-plus-circle p-text-secondary p-overlay-badge", "data-pr-tooltip": "Add Group", "data-pr-position": "right", "data-pr-at": "right+5 top", "data-pr-my": "left center-2", style: { fontSize: '1.2rem', cursor: 'pointer' } }) }) }), _jsx("button", { onClick: function () { return deleteInput(index); }, children: _jsx("div", { className: "card flex justify-content-center", children: _jsx("i", { className: "custom-target-icon pi pi-trash p-text-secondary p-overlay-badge", "data-pr-tooltip": "Delete Rule", "data-pr-position": "right", "data-pr-at": "right+5 top", "data-pr-my": "left center-2", style: { fontSize: '1.2rem', cursor: 'pointer' } }) }) })] })] }, index)); }) }) }) }));
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=SolidVarInputsFilterElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidVarInputsFilterElement.js","sourceRoot":"","sources":["../../../../src/components/core/filter/SolidVarInputsFilterElement.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;AAEb,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAChD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAE1F,MAAM,CAAN,IAAY,UASX;AATD,WAAY,UAAU;IAClB,2BAAa,CAAA;IACb,mCAAqB,CAAA;IACrB,2BAAa,CAAA;IACb,iCAAmB,CAAA;IACnB,2BAAa,CAAA;IACb,iDAAmC,CAAA;IACnC,qDAAuC,CAAA;IACvC,mDAAqC,CAAA;AACzC,CAAC,EATW,UAAU,KAAV,UAAU,QASrB;AAGD,uEAAuE;AACvE,MAAM,CAAC,IAAM,2BAA2B,GAAG,UAAC,EAA4F;QAA1F,MAAM,YAAA,EAAE,QAAQ,cAAA,E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K,IAAI;4BACpB,8BAmBI,iBAAQ,OAAO,EAAE,cAAM,OAAA,QAAQ,EAAE,EAAV,CAAU,YAC7B,cAAK,SAAS,EAAC,kCAAkC,YAE7C,YAAG,SAAS,EAAC,uEAAuE,qBAChE,WAAW,sBACV,OAAO,gBACb,aAAa,gBACb,eAAe,EAC1B,KAAK,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,GAChD,GACF,GAED,EAET,iBAAQ,OAAO,EAAE,cAAM,OAAA,WAAW,CAAC,KAAK,CAAC,EAAlB,CAAkB,YACrC,cAAK,SAAS,EAAC,kCAAkC,YAE7C,YAAG,SAAS,EAAC,iEAAiE,qBAC1D,aAAa,sBACZ,OAAO,gBACb,aAAa,gBACb,eAAe,EAC1B,KAAK,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,GAChD,GACF,GACD,IACV,KAxHD,KAAK,CA0HT,CAET,EA9HoD,CA8HpD,CAAC,GAEA,GAEJ,GACJ,CACT,CAAA;AACL,CAAC,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
2
|
+
declare const SolidBigintField: ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SolidBigintField;
|
|
4
|
+
//# sourceMappingURL=SolidBigintField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidBigintField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidBigintField.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAG/D,QAAA,MAAM,gBAAgB,6CAA8C,uBAAuB,4CAE1F,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import SolidIntField from './SolidIntField';
|
|
3
|
+
var SolidBigintField = function (_a) {
|
|
4
|
+
var fieldMetadata = _a.fieldMetadata, onChange = _a.onChange, index = _a.index, rule = _a.rule;
|
|
5
|
+
return SolidIntField({ fieldMetadata: fieldMetadata, onChange: onChange, index: index, rule: rule });
|
|
6
|
+
};
|
|
7
|
+
export default SolidBigintField;
|
|
8
|
+
//# sourceMappingURL=SolidBigintField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidBigintField.js","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidBigintField.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,IAAM,gBAAgB,GAAG,UAAC,EAAiE;QAA/D,aAAa,mBAAA,EAAE,QAAQ,cAAA,EAAE,KAAK,WAAA,EAAE,IAAI,UAAA;IAC5D,OAAO,aAAa,CAAC,EAAE,aAAa,eAAA,EAAE,QAAQ,UAAA,EAAE,KAAK,OAAA,EAAE,IAAI,MAAA,EAAE,CAAC,CAAC;AACnE,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
2
|
+
declare const SolidBooleanField: ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SolidBooleanField;
|
|
4
|
+
//# sourceMappingURL=SolidBooleanField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidBooleanField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidBooleanField.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,QAAA,MAAM,iBAAiB,6CAA8C,uBAAuB,4CAyC3F,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
4
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
5
|
+
var SolidBooleanField = function (_a) {
|
|
6
|
+
var fieldMetadata = _a.fieldMetadata, onChange = _a.onChange, index = _a.index, rule = _a.rule;
|
|
7
|
+
// const filterable = column.attrs.filterable;
|
|
8
|
+
var showFilterOperator = false;
|
|
9
|
+
var columnDataType = 'boolean';
|
|
10
|
+
var booleanOptions = [
|
|
11
|
+
{ label: 'Yes', value: true },
|
|
12
|
+
{ label: 'No', value: false },
|
|
13
|
+
];
|
|
14
|
+
var filterMatchModeOptions = [
|
|
15
|
+
{ label: 'Equals', value: FilterMatchMode.EQUALS },
|
|
16
|
+
];
|
|
17
|
+
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
18
|
+
return (_jsxs(_Fragment, { children: [_jsx(Dropdown, { value: rule.operator, onChange: function (e) {
|
|
19
|
+
console.log("e", e);
|
|
20
|
+
onChange(rule.id, 'matchMode', e.value);
|
|
21
|
+
}, options: filterMatchModeOptions, optionLabel: 'label', optionValue: 'value', placeholder: "Select Operator", className: "w-full md:w-14rem" }), _jsx(Dropdown, { value: rule.value, options: booleanOptions, onChange: function (e) {
|
|
22
|
+
console.log("e", e);
|
|
23
|
+
onChange(rule.id, 'value', e);
|
|
24
|
+
}, placeholder: "Select", className: "p-column-filter" })] }));
|
|
25
|
+
};
|
|
26
|
+
export default SolidBooleanField;
|
|
27
|
+
//# sourceMappingURL=SolidBooleanField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidBooleanField.js","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidBooleanField.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,eAAe,EAAE,M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EAAC,QAAQ,EACpB,SAAS,EAAC,iBAAiB,GAC7B,IACH,CACN,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
2
|
+
declare const SolidComputedField: ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
3
|
+
export default SolidComputedField;
|
|
4
|
+
//# sourceMappingURL=SolidComputedField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidComputedField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidComputedField.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,QAAA,MAAM,kBAAkB,6CAA8C,uBAAuB,wDAa5F,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import SolidShortTextField from './SolidShortTextField';
|
|
3
|
+
import SolidIntField from './SolidIntField';
|
|
4
|
+
import SolidDateField from './SolidDateField';
|
|
5
|
+
import SolidDatetimeField from './SolidDatetimeField';
|
|
6
|
+
var SolidComputedField = function (_a) {
|
|
7
|
+
var fieldMetadata = _a.fieldMetadata, onChange = _a.onChange, index = _a.index, rule = _a.rule;
|
|
8
|
+
if (['text', 'string'].includes(fieldMetadata.computedFieldValueType)) {
|
|
9
|
+
return SolidShortTextField({ fieldMetadata: fieldMetadata, onChange: onChange, index: index, rule: rule });
|
|
10
|
+
}
|
|
11
|
+
if (['int', 'decimal'].includes(fieldMetadata.computedFieldValueType)) {
|
|
12
|
+
return SolidIntField({ fieldMetadata: fieldMetadata, onChange: onChange, index: index, rule: rule });
|
|
13
|
+
}
|
|
14
|
+
if (fieldMetadata.computedFieldValueType === 'date') {
|
|
15
|
+
return SolidDateField({ fieldMetadata: fieldMetadata, onChange: onChange, index: index, rule: rule });
|
|
16
|
+
}
|
|
17
|
+
if (fieldMetadata.computedFieldValueType === 'datetime') {
|
|
18
|
+
return SolidDatetimeField({ fieldMetadata: fieldMetadata, onChange: onChange, index: index, rule: rule });
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
export default SolidComputedField;
|
|
22
|
+
//# sourceMappingURL=SolidComputedField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidComputedField.js","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidComputedField.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAGtD,IAAM,kBAAkB,GAAG,UAAC,EAAiE;QAA/D,aAAa,mBAAA,EAAE,QAAQ,cAAA,EAAE,KAAK,WAAA,EAAE,IAAI,UAAA;IAC9D,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,sBAAsB,CAAC,EAAE;QACnE,OAAO,mBAAmB,CAAC,EAAE,aAAa,eAAA,EAAE,QAAQ,UAAA,EAAE,KAAK,OAAA,EAAE,IAAI,MAAA,EAAE,CAAC,CAAC;KACxE;IACD,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,sBAAsB,CAAC,EAAE;QACnE,OAAO,aAAa,CAAC,EAAE,aAAa,eAAA,EAAE,QAAQ,UAAA,EAAE,KAAK,OAAA,EAAE,IAAI,MAAA,EAAE,CAAC,CAAC;KAClE;IACD,IAAI,aAAa,CAAC,sBAAsB,KAAK,MAAM,EAAE;QACjD,OAAO,cAAc,CAAC,EAAE,aAAa,eAAA,EAAE,QAAQ,UAAA,EAAE,KAAK,OAAA,EAAE,IAAI,MAAA,EAAE,CAAC,CAAC;KACnE;IACD,IAAI,aAAa,CAAC,sBAAsB,KAAK,UAAU,EAAE;QACrD,OAAO,kBAAkB,CAAC,EAAE,aAAa,eAAA,EAAE,QAAQ,UAAA,EAAE,KAAK,OAAA,EAAE,IAAI,MAAA,EAAE,CAAC,CAAC;KACvE;AACL,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
2
|
+
import { SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
3
|
+
export declare const dateFilterMatchModeOptions: {
|
|
4
|
+
label: string;
|
|
5
|
+
value: FilterMatchMode;
|
|
6
|
+
}[];
|
|
7
|
+
declare const SolidDateField: ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default SolidDateField;
|
|
9
|
+
//# sourceMappingURL=SolidDateField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidDateField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidDateField.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EAAqB,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAGlF,eAAO,MAAM,0BAA0B;;;GAUtC,CAAC;AAEF,QAAA,MAAM,cAAc,6CAA8C,uBAAuB,4CAoCxF,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
4
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
5
|
+
import { getNumberOfInputs } from '../SolidFilterFields';
|
|
6
|
+
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
7
|
+
export var dateFilterMatchModeOptions = [
|
|
8
|
+
{ label: 'Equals', value: FilterMatchMode.EQUALS },
|
|
9
|
+
{ label: 'Not Equals', value: FilterMatchMode.NOT_EQUALS },
|
|
10
|
+
{ label: 'Less Than', value: FilterMatchMode.LESS_THAN },
|
|
11
|
+
{ label: 'Less Than Or Equal', value: FilterMatchMode.LESS_THAN_OR_EQUAL_TO },
|
|
12
|
+
{ label: 'Greater Than', value: FilterMatchMode.GREATER_THAN },
|
|
13
|
+
{ label: 'Greater Than Or Equal', value: FilterMatchMode.GREATER_THAN_OR_EQUAL_TO },
|
|
14
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
15
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN },
|
|
16
|
+
{ label: 'Between', value: FilterMatchMode.BETWEEN }
|
|
17
|
+
];
|
|
18
|
+
var SolidDateField = function (_a) {
|
|
19
|
+
var fieldMetadata = _a.fieldMetadata, onChange = _a.onChange, index = _a.index, rule = _a.rule;
|
|
20
|
+
// const filterable = column.attrs.filterable;
|
|
21
|
+
var showFilterOperator = false;
|
|
22
|
+
var columnDataType = 'date';
|
|
23
|
+
// TODO: the body template to be controlled based on the format that one is expecting the date to be displayed in.
|
|
24
|
+
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
25
|
+
var numberOfInputs = getNumberOfInputs("in");
|
|
26
|
+
return (_jsxs(_Fragment, { children: [_jsx(Dropdown, { value: rule.operator, onChange: function (e) {
|
|
27
|
+
console.log("e", e);
|
|
28
|
+
onChange(rule.id, 'matchMode', e.value);
|
|
29
|
+
}, options: dateFilterMatchModeOptions, optionLabel: 'label', optionValue: 'value', placeholder: "Select Operator", className: "w-full md:w-14rem" }), _jsx(SolidVarInputsFilterElement, { values: rule.value, onChange: function (e) {
|
|
30
|
+
console.log("e", e);
|
|
31
|
+
onChange(rule.id, 'value', e);
|
|
32
|
+
}, numberOfInputs: numberOfInputs, inputType: InputTypes.Date, fieldMetadata: fieldMetadata })] }));
|
|
33
|
+
};
|
|
34
|
+
export default SolidDateField;
|
|
35
|
+
//# sourceMappingURL=SolidDateField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidDateField.js","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidDateField.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAA2B,MAAM,sBAAsB,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAEzF,MAAM,CAAC,IAAM,0BAA0B,GAAG;IACtC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,eAAe,CAAC,MAAM,EAAE;IAClD,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,eAAe,CAAC,UAAU,EAAE;IAC1D,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,eAAe,CAAC,SAAS,EAAE;IACxD,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,eAAe,CAAC,qBAAqB,EAAE;IAC7E,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,eAAe,CAAC,YAAY,EAAE;IAC9D,EAAE,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,eAAe,CAAC,wBAAwB,EAAE;IACnF,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,CAAC,EAAE,EAAE;IAC1C,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,eAAe,CAAC,MAAM,EAAE;IAClD,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,eAAe,CAAC,OAAO,EAAE;CACvD,CAAC;AAEF,IAAM,cAAc,GAAG,UAAC,EAAiE;QAA/D,aAAa,mBAAA,EAAE,QAAQ,cAAA,EAAE,KAAK,WAAA,EAAE,IAAI,UAAA;IAC1D,8CAA8C;IAC9C,IAAM,kBAAkB,GAAG,KAAK,CAAC;IACjC,IAAM,cAAc,GAAG,MAAM,CAAC;IAG9B,kHAAkH;IAClH,kEAAkE;IAClE,IAAM,cAAc,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAE/C,OAAO,CACH,8BACI,KAAC,QAAQ,IACL,KAAK,EAAE,IAAI,CAAC,QAAQ,EACpB,QAAQ,EAAE,UAAC,CAAM;oBACb,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;oBACpB,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAA;gBAC3C,CAAC,EACD,OAAO,EAAE,0BAA0B,EACnC,WAAW,EAAC,OAAO,EACnB,WAAW,EAAC,OAAO,EACnB,WAAW,EAAC,iBAAiB,EAAC,SAAS,EAAC,mBAAmB,GAAG,EAClE,KAAC,2BAA2B,IACxB,MAAM,EAAE,IAAI,CAAC,KAAK,EAClB,QAAQ,EAAE,UAAC,CAAM;oBACb,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;oBACpB,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,CAAA;gBACjC,CAAC,EACD,cAAc,EAAE,cAAc,EAC9B,SAAS,EAAE,UAAU,CAAC,IAAI,EAC1B,aAAa,EAAE,aAAa,GAEF,IAC/B,CACN,CAAC;AAEN,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
2
|
+
declare const SolidDatetimeField: ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SolidDatetimeField;
|
|
4
|
+
//# sourceMappingURL=SolidDatetimeField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidDatetimeField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidDatetimeField.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAqB,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAIlF,QAAA,MAAM,kBAAkB,6CAA8C,uBAAuB,4CAmC5F,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
4
|
+
import { getNumberOfInputs } from '../SolidFilterFields';
|
|
5
|
+
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
6
|
+
import { dateFilterMatchModeOptions } from './SolidDateField';
|
|
7
|
+
var SolidDatetimeField = function (_a) {
|
|
8
|
+
var fieldMetadata = _a.fieldMetadata, onChange = _a.onChange, index = _a.index, rule = _a.rule;
|
|
9
|
+
// const filterable = column.attrs.filterable;
|
|
10
|
+
var showFilterOperator = false;
|
|
11
|
+
var columnDataType = 'date';
|
|
12
|
+
// TODO: the body template to be controlled based on the format that one is expecting the date to be displayed in.
|
|
13
|
+
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
14
|
+
var numberOfInputs = getNumberOfInputs("in");
|
|
15
|
+
return (_jsxs(_Fragment, { children: [_jsx(Dropdown, { value: rule.operator, onChange: function (e) {
|
|
16
|
+
console.log("e", e);
|
|
17
|
+
onChange(rule.id, 'matchMode', e.value);
|
|
18
|
+
}, options: dateFilterMatchModeOptions, optionLabel: 'label', optionValue: 'value', placeholder: "Select Operator", className: "w-full md:w-14rem" }), _jsx(SolidVarInputsFilterElement, { values: rule.value, onChange: function (e) {
|
|
19
|
+
console.log("e", e);
|
|
20
|
+
onChange(rule.id, 'value', e);
|
|
21
|
+
}, numberOfInputs: numberOfInputs, inputType: InputTypes.DateTime, fieldMetadata: fieldMetadata })] }));
|
|
22
|
+
};
|
|
23
|
+
export default SolidDatetimeField;
|
|
24
|
+
//# sourceMappingURL=SolidDatetimeField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidDatetimeField.js","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidDatetimeField.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAA2B,MAAM,sBAAsB,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAE9D,IAAM,kBAAkB,GAAG,UAAC,EAAiE;QAA/D,aAAa,mBAAA,EAAE,QAAQ,cAAA,EAAE,KAAK,WAAA,EAAE,IAAI,UAAA;IAC9D,8CAA8C;IAC9C,IAAM,kBAAkB,GAAG,KAAK,CAAC;IACjC,IAAM,cAAc,GAAG,MAAM,CAAC;IAG9B,kHAAkH;IAClH,kEAAkE;IAClE,IAAM,cAAc,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAE/C,OAAO,CACH,8BACI,KAAC,QAAQ,IACL,KAAK,EAAE,IAAI,CAAC,QAAQ,EACpB,QAAQ,EAAE,UAAC,CAAM;oBACb,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;oBACpB,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAA;gBAC3C,CAAC,EACD,OAAO,EAAE,0BAA0B,EACnC,WAAW,EAAC,OAAO,EACnB,WAAW,EAAC,OAAO,EACnB,WAAW,EAAC,iBAAiB,EAAC,SAAS,EAAC,mBAAmB,GAAG,EAClE,KAAC,2BAA2B,IACxB,MAAM,EAAE,IAAI,CAAC,KAAK,EAClB,QAAQ,EAAE,UAAC,CAAM;oBACb,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;oBACpB,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,CAAA;gBACjC,CAAC,EACD,cAAc,EAAE,cAAc,EAC9B,SAAS,EAAE,UAAU,CAAC,QAAQ,EAC9B,aAAa,EAAE,aAAa,GAEF,IAAG,CACxC,CAAC;AAEN,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
2
|
+
declare const SolidDecimalField: ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SolidDecimalField;
|
|
4
|
+
//# sourceMappingURL=SolidDecimalField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidDecimalField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidDecimalField.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAG/D,QAAA,MAAM,iBAAiB,6CAA8C,uBAAuB,4CAE3F,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import SolidIntField from './SolidIntField';
|
|
3
|
+
var SolidDecimalField = function (_a) {
|
|
4
|
+
var fieldMetadata = _a.fieldMetadata, onChange = _a.onChange, index = _a.index, rule = _a.rule;
|
|
5
|
+
return SolidIntField({ fieldMetadata: fieldMetadata, onChange: onChange, index: index, rule: rule });
|
|
6
|
+
};
|
|
7
|
+
export default SolidDecimalField;
|
|
8
|
+
//# sourceMappingURL=SolidDecimalField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidDecimalField.js","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidDecimalField.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAGb,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,IAAM,iBAAiB,GAAG,UAAC,EAAiE;QAA/D,aAAa,mBAAA,EAAE,QAAQ,cAAA,EAAE,KAAK,WAAA,EAAE,IAAI,UAAA;IAC7D,OAAO,aAAa,CAAC,EAAE,aAAa,eAAA,EAAE,QAAQ,UAAA,EAAE,KAAK,OAAA,EAAE,IAAI,MAAA,EAAE,CAAC,CAAC;AACnE,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
2
|
+
declare const SolidExternalIdField: ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SolidExternalIdField;
|
|
4
|
+
//# sourceMappingURL=SolidExternalIdField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidExternalIdField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidExternalIdField.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAqB,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAIlF,QAAA,MAAM,oBAAoB,6CAA8C,uBAAuB,4CAoC9F,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
4
|
+
import { getNumberOfInputs } from '../SolidFilterFields';
|
|
5
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
6
|
+
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
7
|
+
var SolidExternalIdField = function (_a) {
|
|
8
|
+
var fieldMetadata = _a.fieldMetadata, onChange = _a.onChange, index = _a.index, rule = _a.rule;
|
|
9
|
+
var showFilterOperator = false;
|
|
10
|
+
var columnDataType = 'text';
|
|
11
|
+
var filterMatchModeOptions = [
|
|
12
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
13
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN },
|
|
14
|
+
];
|
|
15
|
+
var numberOfInputs = getNumberOfInputs("in");
|
|
16
|
+
return (_jsxs(_Fragment, { children: [_jsx(Dropdown, { value: rule.operator, onChange: function (e) {
|
|
17
|
+
console.log("e", e);
|
|
18
|
+
onChange(rule.id, 'matchMode', e.value);
|
|
19
|
+
}, options: filterMatchModeOptions, optionLabel: 'label', optionValue: 'value', placeholder: "Select Operator", className: "w-full md:w-14rem" }), _jsx(SolidVarInputsFilterElement, { values: rule.value, onChange: function (e) {
|
|
20
|
+
console.log("e", e);
|
|
21
|
+
onChange(rule.id, 'value', e);
|
|
22
|
+
}, numberOfInputs: numberOfInputs, inputType: InputTypes.Text, fieldMetadata: fieldMetadata })] }));
|
|
23
|
+
};
|
|
24
|
+
export default SolidExternalIdField;
|
|
25
|
+
//# sourceMappingURL=SolidExternalIdField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidExternalIdField.js","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidExternalIdField.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAA2B,MAAM,sBAAsB,CAAC;AAClF,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,2BAA2B,EAAE,MA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oB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
2
|
+
declare const SolidFloatField: ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SolidFloatField;
|
|
4
|
+
//# sourceMappingURL=SolidFloatField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidFloatField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidFloatField.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAG/D,QAAA,MAAM,eAAe,6CAA8C,uBAAuB,4CAEzF,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import SolidIntField from './SolidIntField';
|
|
3
|
+
var SolidFloatField = function (_a) {
|
|
4
|
+
var fieldMetadata = _a.fieldMetadata, onChange = _a.onChange, index = _a.index, rule = _a.rule;
|
|
5
|
+
return SolidIntField({ fieldMetadata: fieldMetadata, onChange: onChange, index: index, rule: rule });
|
|
6
|
+
};
|
|
7
|
+
export default SolidFloatField;
|
|
8
|
+
//# sourceMappingURL=SolidFloatField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidFloatField.js","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidFloatField.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,IAAM,eAAe,GAAG,UAAC,EAAiE;QAA/D,aAAa,mBAAA,EAAE,QAAQ,cAAA,EAAE,KAAK,WAAA,EAAE,IAAI,UAAA;IAC3D,OAAO,aAAa,CAAC,EAAE,aAAa,eAAA,EAAE,QAAQ,UAAA,EAAE,KAAK,OAAA,EAAE,IAAI,MAAA,EAAE,CAAC,CAAC;AACnE,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
2
|
+
declare const SolidIdField: ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SolidIdField;
|
|
4
|
+
//# sourceMappingURL=SolidIdField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidIdField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidIdField.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAqB,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAElF,QAAA,MAAM,YAAY,6CAA8C,uBAAuB,4CAoCtF,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { InputTypes, SolidVarInputsFilterElement } from "../SolidVarInputsFilterElement";
|
|
4
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
5
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
6
|
+
import { getNumberOfInputs } from '../SolidFilterFields';
|
|
7
|
+
var SolidIdField = function (_a) {
|
|
8
|
+
var fieldMetadata = _a.fieldMetadata, onChange = _a.onChange, index = _a.index, rule = _a.rule;
|
|
9
|
+
var showFilterOperator = false;
|
|
10
|
+
var columnDataType = 'text';
|
|
11
|
+
var filterMatchModeOptions = [
|
|
12
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
13
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN },
|
|
14
|
+
];
|
|
15
|
+
var numberOfInputs = getNumberOfInputs("in");
|
|
16
|
+
return (_jsxs(_Fragment, { children: [_jsx(Dropdown, { value: rule.operator, onChange: function (e) {
|
|
17
|
+
console.log("e", e);
|
|
18
|
+
onChange(index, 'operator', e.value);
|
|
19
|
+
}, options: filterMatchModeOptions, optionLabel: 'label', optionValue: 'value', placeholder: "Select Operator", className: "w-full md:w-14rem" }), _jsx(SolidVarInputsFilterElement, { values: rule.value, onChange: function (e) {
|
|
20
|
+
console.log("e", e);
|
|
21
|
+
onChange(rule.id, 'value', e);
|
|
22
|
+
}, numberOfInputs: numberOfInputs, inputType: InputTypes.Numeric, fieldMetadata: fieldMetadata })] }));
|
|
23
|
+
};
|
|
24
|
+
export default SolidIdField;
|
|
25
|
+
//# sourceMappingURL=SolidIdField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidIdField.js","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidIdField.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,UAAU,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAA2B,MAAM,sBAAsB,CAAC;AAElF,IAAM,YAAY,GAAG,UAAC,EAAiE;QAA/D,aAAa,mBAAA,EAAE,QAAQ,cAAA,EAAE,KAAK,WAAA,EAAE,IAAI,UAAA;IACxD,IAAM,kBAAkB,GAAG,KAAK,CAAC;IACjC,IAAM,cAAc,GAAG,MAAM,CAAC;IAC9B,IAAM,sBAAsB,GAAG;QAC3B,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,CAAC,EAAE,EAAE;QAC1C,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,eAAe,CAAC,MAAM,EAAE;KACrD,CAAC;IACF,IAAM,cAAc,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAG/C,OAAO,CACJ,8BACW,KAAC,QAAQ,IACL,KAAK,EAAE,IAAI,CAAC,QAAQ,EACpB,QAAQ,EAAE,UAAC,CAAM;oBACb,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;oBACpB,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAA;gBACxC,CAAC,EACD,OAAO,EAAE,sBAAsB,EAC/B,WAAW,EAAC,OAAO,EACnB,WAAW,EAAC,OAAO,EACnB,WAAW,EAAC,iBAAiB,EAAC,SAAS,EAAC,mBAAmB,GAAG,EAClE,KAAC,2BAA2B,IACxB,MAAM,EAAE,IAAI,CAAC,KAAK,EAClB,QAAQ,EAAE,UAAC,CAAM;oBACb,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;oBACpB,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,CAAA;gBAC/B,CAAC,EACH,cAAc,EAAE,cAAc,EAC9B,SAAS,EAAE,UAAU,CAAC,OAAO,EAC7B,aAAa,EAAE,aAAa,GAEF,IAC/B,CACZ,CAAC;AAEN,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
2
|
+
declare const SolidIntField: ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SolidIntField;
|
|
4
|
+
//# sourceMappingURL=SolidIntField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidIntField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidIntField.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAqB,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAIlF,QAAA,MAAM,aAAa,6CAA8C,uBAAuB,4CA8CvF,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { FilterMatchMode } from 'primereact/api';
|
|
4
|
+
import { getNumberOfInputs } from '../SolidFilterFields';
|
|
5
|
+
import { Dropdown } from 'primereact/dropdown';
|
|
6
|
+
import { InputTypes, SolidVarInputsFilterElement } from '../SolidVarInputsFilterElement';
|
|
7
|
+
var SolidIntField = function (_a) {
|
|
8
|
+
var fieldMetadata = _a.fieldMetadata, onChange = _a.onChange, index = _a.index, rule = _a.rule;
|
|
9
|
+
// const filterable = column.attrs.filterable;
|
|
10
|
+
var filterMatchModeOptions = [
|
|
11
|
+
{ label: 'Equals', value: FilterMatchMode.EQUALS },
|
|
12
|
+
{ label: 'Not Equals', value: FilterMatchMode.NOT_EQUALS },
|
|
13
|
+
{ label: 'Less Than', value: FilterMatchMode.LESS_THAN },
|
|
14
|
+
{ label: 'Less Than Or Equal', value: FilterMatchMode.LESS_THAN_OR_EQUAL_TO },
|
|
15
|
+
{ label: 'Greater Than', value: FilterMatchMode.GREATER_THAN },
|
|
16
|
+
{ label: 'Greater Than Or Equal', value: FilterMatchMode.GREATER_THAN_OR_EQUAL_TO },
|
|
17
|
+
{ label: 'In', value: FilterMatchMode.IN },
|
|
18
|
+
{ label: 'Not In', value: FilterMatchMode.NOT_IN },
|
|
19
|
+
{ label: 'Between', value: FilterMatchMode.BETWEEN }
|
|
20
|
+
];
|
|
21
|
+
// const header = column.attrs.label ?? fieldMetadata.displayName;
|
|
22
|
+
var numberOfInputs = getNumberOfInputs("in");
|
|
23
|
+
return (_jsxs(_Fragment, { children: [_jsx(Dropdown, { value: rule.matchMode, onChange: function (e) {
|
|
24
|
+
console.log("e", e);
|
|
25
|
+
// updateEnumValues(index, 'operator', e.value)
|
|
26
|
+
onChange(rule.id, 'matchMode', e.value);
|
|
27
|
+
}, options: filterMatchModeOptions, optionLabel: 'label', optionValue: 'value', placeholder: "Select Operator", className: "w-full filter-small-input md:w-14rem" }), _jsx(SolidVarInputsFilterElement, { values: rule.value, onChange: function (e) {
|
|
28
|
+
console.log("e", e);
|
|
29
|
+
// updateEnumValues(index, 'value', e)
|
|
30
|
+
onChange(rule.id, 'value', e);
|
|
31
|
+
}, numberOfInputs: numberOfInputs, inputType: InputTypes.Numeric, fieldMetadata: fieldMetadata })] }));
|
|
32
|
+
};
|
|
33
|
+
export default SolidIntField;
|
|
34
|
+
//# sourceMappingURL=SolidIntField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidIntField.js","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidIntField.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAA2B,MAAM,sBAAsB,CAAC;AAClF,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAEzF,IAAM,aAAa,GAAG,UAAC,EAAiE;QAA/D,aAAa,mBAAA,EAAE,QAAQ,cAAA,EAAE,KAAK,WAAA,EAAE,IAAI,UAAA;IACzD,8CAA8C;IAC9C,IAAM,sBAAsB,GAAG;QAC3B,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,eAAe,CAAC,MAAM,EAAE;QAClD,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,eAAe,CAAC,UAAU,EAAE;QAC1D,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,eAAe,CAAC,SAAS,EAAE;QACxD,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,eAAe,CAAC,qBAAqB,EAAE;QAC7E,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,eAAe,CAAC,YAAY,EAAE;QAC9D,EAA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FilterFieldsParams } from '../SolidFilterFields';
|
|
2
|
+
declare const SolidLongTextField: ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SolidLongTextField;
|
|
4
|
+
//# sourceMappingURL=SolidLongTextField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidLongTextField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidLongTextField.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAG/D,QAAA,MAAM,kBAAkB,6CAA8C,uBAAuB,4CAE5F,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import SolidShortTextField from './SolidShortTextField';
|
|
3
|
+
var SolidLongTextField = function (_a) {
|
|
4
|
+
var fieldMetadata = _a.fieldMetadata, onChange = _a.onChange, index = _a.index, rule = _a.rule;
|
|
5
|
+
return SolidShortTextField({ fieldMetadata: fieldMetadata, onChange: onChange, index: index, rule: rule });
|
|
6
|
+
};
|
|
7
|
+
export default SolidLongTextField;
|
|
8
|
+
//# sourceMappingURL=SolidLongTextField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidLongTextField.js","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidLongTextField.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,IAAM,kBAAkB,GAAG,UAAC,EAAiE;QAA/D,aAAa,mBAAA,EAAE,QAAQ,cAAA,EAAE,KAAK,WAAA,EAAE,IAAI,UAAA;IAC9D,OAAO,mBAAmB,CAAC,EAAE,aAAa,eAAA,EAAE,QAAQ,UAAA,EAAE,KAAK,OAAA,EAAE,IAAI,MAAA,EAAE,CAAC,CAAC;AACzE,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SolidFilterFieldsParams } from '../SolidFilterFields';
|
|
2
|
+
declare const SolidMediaMultipleField: ({ fieldMetadata, onChange, index, rule }: SolidFilterFieldsParams) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SolidMediaMultipleField;
|
|
4
|
+
//# sourceMappingURL=SolidMediaMultipleField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidMediaMultipleField.d.ts","sourceRoot":"","sources":["../../../../../src/components/core/filter/columns/SolidMediaMultipleField.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAqB,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAKlF,QAAA,MAAM,uBAAuB,6CAA8C,uBAAuB,4CA6CjG,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|