@arquimedes.co/eureka-forms 2.0.34-test → 2.0.36-test
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/App/App.js +79 -0
- package/dist/App/AppFunctions.js +210 -0
- package/dist/App/AppHooks.js +242 -0
- package/dist/{mjs/Contexts → Contexts}/CustomContext.js +1 -1
- package/dist/{mjs/Contexts → Contexts}/FormContext.js +1 -1
- package/dist/{mjs/Contexts → Contexts}/SectionContext.js +1 -1
- package/dist/Form/ConfirmationDialog/ConfirmationDialog.js +33 -0
- package/dist/Form/Form.js +216 -0
- package/dist/Form/FormFunctions.js +229 -0
- package/dist/{mjs/Form → Form}/FormHooks.js +17 -14
- package/dist/Form/FormTypes/ColumnForm/ColumnForm.js +95 -0
- package/dist/Form/FormTypes/StepperForm/StepperForm.js +122 -0
- package/dist/Form/Section/MaterialSection/MaterialSection.js +41 -0
- package/dist/Form/Section/Section.js +29 -0
- package/dist/Form/Terms/Term/MaterialTerm/MaterialTerm.js +101 -0
- package/dist/Form/Terms/Term/Term.js +25 -0
- package/dist/Form/Terms/Terms.js +45 -0
- package/dist/FormSteps/@Construction/CBRElementStep/CBRElementStep.js +137 -0
- package/dist/FormSteps/@Construction/CBRIncidentsStep/CBRIncidentsStep.js +25 -0
- package/dist/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.js +55 -0
- package/dist/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.js +129 -0
- package/dist/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.js +146 -0
- package/dist/FormSteps/AYFStepMapper.js +160 -0
- package/dist/FormSteps/ApiSelectorStep/ApiSelectorStep.js +25 -0
- package/dist/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.js +157 -0
- package/dist/FormSteps/CBRStepMapper.js +206 -0
- package/dist/FormSteps/CheckBoxStep/CheckBoxStep.js +25 -0
- package/dist/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.js +47 -0
- package/dist/FormSteps/ClassifierSelectorStep/ClassifierSelectorStep.js +25 -0
- package/dist/FormSteps/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.js +73 -0
- package/dist/FormSteps/CollapsibleStep/CollapsibleStep.js +39 -0
- package/dist/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.js +85 -0
- package/dist/FormSteps/CustomStep.js +39 -0
- package/dist/FormSteps/DatePickerStep/DatePickerStep.js +25 -0
- package/dist/FormSteps/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.js +29 -0
- package/dist/FormSteps/EntityValueStep/EntityValuePickerStep.js +25 -0
- package/dist/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.js +146 -0
- package/dist/FormSteps/FileUploadStep/FileUploadStep.js +25 -0
- package/dist/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.js +131 -0
- package/dist/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.js +265 -0
- package/dist/FormSteps/MapperStep/MapperStep.js +25 -0
- package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.js +52 -0
- package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/MapperElementComponent.js +51 -0
- package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.js +50 -0
- package/dist/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.js +157 -0
- package/dist/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.js +62 -0
- package/dist/FormSteps/RatingStep/RatingStep.js +25 -0
- package/dist/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.js +60 -0
- package/dist/FormSteps/SelectorStep/SelectorStep.js +25 -0
- package/dist/{mjs/FormSteps → FormSteps}/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.js +3 -2
- package/dist/FormSteps/SeparatorStep/SeparatorStep.js +25 -0
- package/dist/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.js +195 -0
- package/dist/FormSteps/SmartSelectStep/SmartSelectStep.js +25 -0
- package/dist/FormSteps/Step.js +122 -0
- package/dist/{mjs/FormSteps → FormSteps}/StepFunctions.js +81 -56
- package/dist/FormSteps/StepHooks.js +143 -0
- package/dist/{mjs/FormSteps → FormSteps}/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.js +57 -31
- package/dist/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.js +48 -0
- package/{src → dist}/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.module.css +27 -2
- package/dist/FormSteps/TextAreaStep/TextAreaStep.js +29 -0
- package/dist/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.js +53 -0
- package/dist/FormSteps/TextInputStep/TextInputStep.js +25 -0
- package/dist/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.js +46 -0
- package/dist/FormSteps/TitleStep/TitleStep.js +25 -0
- package/dist/FormSteps/Utils/@StepFiller/StepFiller.js +48 -0
- package/dist/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.js +33 -0
- package/dist/Icons/Construction/LeakIcon.js +17 -0
- package/dist/Icons/Construction/ProjectIcon.js +17 -0
- package/dist/Icons/Construction/PropertyIcon.js +17 -0
- package/dist/{mjs/Icons → Icons}/Construction/SpaceIcon.js +13 -1
- package/dist/Icons/DocumentIcon.js +17 -0
- package/dist/Icons/Entities/CheckListIcon.js +17 -0
- package/dist/Icons/Entities/GenericEntityIcon.js +17 -0
- package/dist/Icons/Entities/HandshakeIcon.js +17 -0
- package/dist/Icons/Entities/SupplierIcon.js +17 -0
- package/dist/Services/FileService.js +92 -0
- package/dist/Services/FormService.js +59 -0
- package/dist/Services/OrganizationService.js +65 -0
- package/dist/Shared/CustomBtn/CustomBtn.js +96 -0
- package/dist/Shared/InputIcon/InputIcon.js +94 -0
- package/dist/Shared/Loader/Loader.js +26 -0
- package/dist/Shared/Navbar/Navbar.js +18 -0
- package/dist/{mjs/Shared → Shared}/Navbar/Navbar.stories.js +2 -2
- package/dist/Shared/Rating/Rating.js +41 -0
- package/dist/{mjs/Shared → Shared}/Rating/Rating.stories.js +7 -7
- package/dist/{mjs/Shared → Shared}/Rating/Ratings/LikeRating.js +21 -9
- package/dist/Shared/Rating/Ratings/SatisfactionRating.js +61 -0
- package/dist/Shared/Rating/Ratings/ScaleRating.js +62 -0
- package/dist/Shared/RoundedButton/RoundedButton.js +45 -0
- package/dist/{mjs/Shared → Shared}/RoundedButton/RoundedButton.stories.js +4 -4
- package/dist/Shared/RoundedCheckBox/RoundedCheckBox.js +101 -0
- package/dist/{mjs/Shared → Shared}/RoundedCheckBox/RoundedCheckBox.stories.js +7 -7
- package/dist/Shared/RoundedDatePicker/RoundedDatePicker.js +348 -0
- package/dist/Shared/RoundedDatePicker/RoundedDatePicker.stories.js +223 -0
- package/dist/Shared/RoundedSelect/RoundedSelect.js +214 -0
- package/dist/{mjs/Shared → Shared}/RoundedSelect/RoundedSelect.stories.js +26 -14
- package/dist/Shared/RoundedSmartSelect/RoundedSmartSelect.js +236 -0
- package/dist/Shared/RoundedSmartSelect/RoundedSmartSelect.stories.js +318 -0
- package/dist/Shared/RoundedTextField/RoundedTextField.js +175 -0
- package/dist/Shared/RoundedTextField/RoundedTextField.stories.js +224 -0
- package/dist/States/GlobalSlice.js +34 -0
- package/dist/States/SiteSlice.js +129 -0
- package/dist/{cjs/States → States}/WidthStatsSlice.js +8 -10
- package/dist/{mjs/Utils → Utils}/AxiosAPI.js +3 -3
- package/dist/Utils/AxiosWidget.js +8 -0
- package/dist/Utils/CBRFunctions.js +53 -0
- package/dist/{mjs/Utils → Utils}/DraftFunctions.js +3 -3
- package/dist/Utils/MaterialProviders.js +31 -0
- package/dist/Utils/TestUtils.js +65 -0
- package/dist/Utils/store.js +84 -0
- package/dist/Widget.js +59 -0
- package/dist/{mjs/constants → constants}/Files/FileExtensions.js +3 -3
- package/dist/constants/Files/FileMaxSize.js +2 -0
- package/dist/{mjs/constants → constants}/InternalFormStyle.js +1 -1
- package/dist/constants/MaterialClassNameSeed.js +1 -0
- package/dist/hooks.js +25 -0
- package/dist/index.js +31 -0
- package/package.json +6 -10
- package/.babelrc.json +0 -18
- package/.dockerignore +0 -1
- package/.env +0 -4
- package/.eslintrc.js +0 -40
- package/.gitattributes +0 -1
- package/.github/workflows/CI-CD.yml +0 -76
- package/.github/workflows/Deploy-Forms.yml +0 -253
- package/.github/workflows/Test-Forms.yml +0 -193
- package/.prettierrc.yaml +0 -11
- package/.storybook/main.ts +0 -55
- package/.storybook/preview-head.html +0 -1
- package/.storybook/preview.tsx +0 -29
- package/.vscode/settings.json +0 -7
- package/ContentTemplate.yaml +0 -92
- package/Embeddables/.env +0 -3
- package/Embeddables/package-lock.json +0 -45340
- package/Embeddables/package.json +0 -38
- package/Embeddables/public/favicon.ico +0 -0
- package/Embeddables/public/index.html +0 -22
- package/Embeddables/src/App.module.css +0 -30
- package/Embeddables/src/App.tsx +0 -21
- package/Embeddables/src/LibComponent.tsx +0 -20
- package/Embeddables/src/WidgetComponent.tsx +0 -38
- package/Embeddables/src/index.tsx +0 -10
- package/Embeddables/tsconfig.json +0 -4
- package/LocalEmbeddables.sh +0 -26
- package/base.tsconfig.json +0 -44
- package/cjs.tsconfig.json +0 -8
- package/content/Capta/Capta.svg +0 -1
- package/content/Capta/CaptaIcon.png +0 -0
- package/content/Capta/CaptaSmall.svg +0 -1
- package/content/Capta/CaptaSqr.png +0 -0
- package/content/Capta/CaptaSqrIcon.png +0 -0
- package/content/Capta/CaptaWhite.png +0 -0
- package/content/Capta/CaptaWhite.svg +0 -1
- package/content/Capta/CaptaWhiteSmall.svg +0 -1
- package/content/Capta/Ratings/like-0.png +0 -0
- package/content/Capta/Ratings/like-1.png +0 -0
- package/content/Capta/Ratings/satisfaction-1.png +0 -0
- package/content/Capta/Ratings/satisfaction-2.png +0 -0
- package/content/Capta/Ratings/satisfaction-3.png +0 -0
- package/content/Capta/Ratings/satisfaction-4.png +0 -0
- package/content/Capta/Ratings/scale.png +0 -0
- package/content/LogosClientes/A&A-SF.png +0 -0
- package/content/LogosClientes/ASS-SF.png +0 -0
- package/content/LogosClientes/Arias.png +0 -0
- package/content/LogosClientes/Arqui y Conc.png +0 -0
- package/content/LogosClientes/Arqui&Conc.png +0 -0
- package/content/LogosClientes/GTC-SF.png +0 -0
- package/content/LogosClientes/GTC.png +0 -0
- package/content/LogosClientes/LVP-SF.png +0 -0
- package/content/LogosClientes/LVP2.png +0 -0
- package/content/LogosClientes/LogoAC.png +0 -0
- package/content/LogosClientes/LogoLVP.png +0 -0
- package/content/LogosClientes/LogoMelendez.png +0 -0
- package/content/LogosClientes/LogoOspinas.png +0 -0
- package/content/LogosClientes/LogoServimercadeo.png +0 -0
- package/content/LogosClientes/LogoSinco.png +0 -0
- package/content/LogosClientes/Melendez-SF.png +0 -0
- package/content/LogosClientes/Melendez.png +0 -0
- package/content/LogosClientes/Ospina-SF.png +0 -0
- package/content/LogosClientes/Ospinas.png +0 -0
- package/content/LogosClientes/Prodesa-SF.png +0 -0
- package/content/LogosClientes/Prodesa.png +0 -0
- package/content/LogosClientes/SINCO-SF.png +0 -0
- package/content/LogosClientes/SM-SF.png +0 -0
- package/content/LogosClientes/Servi.png +0 -0
- package/content/LogosClientes/Sinco.png +0 -0
- package/cypress/@Types.ts +0 -8
- package/cypress/e2e/Lib.cy.ts +0 -95
- package/cypress/e2e/Standalone.cy.ts +0 -94
- package/cypress/e2e/Widget.cy.ts +0 -95
- package/cypress/fixtures/Capta.png +0 -0
- package/cypress/fixtures/example.json +0 -5
- package/cypress/fixtures/example.txt +0 -1
- package/cypress/support/commands.ts +0 -88
- package/cypress/support/e2e.ts +0 -20
- package/cypress/temp.tsconfig.json +0 -7
- package/cypress/utils/checkInvalidStep.ts +0 -148
- package/cypress/utils/checkValidStep.ts +0 -359
- package/cypress/utils/validateRequest.ts +0 -83
- package/cypress.config.ts +0 -13
- package/dist/cjs/@Types/@Types.js +0 -2
- package/dist/cjs/@Types/AYFFormStep.js +0 -2
- package/dist/cjs/@Types/Branding.js +0 -2
- package/dist/cjs/@Types/CBRFormStep.js +0 -2
- package/dist/cjs/@Types/Form.js +0 -2
- package/dist/cjs/@Types/FormStep.js +0 -2
- package/dist/cjs/@Types/GenericFormSteps.js +0 -2
- package/dist/cjs/@Types/MapperElement.js +0 -2
- package/dist/cjs/@Types/Organization.js +0 -2
- package/dist/cjs/@Types/index.js +0 -17
- package/dist/cjs/App/App.js +0 -97
- package/dist/cjs/App/AppFunctions.js +0 -217
- package/dist/cjs/App/AppHooks.js +0 -191
- package/dist/cjs/Contexts/CustomContext.js +0 -8
- package/dist/cjs/Contexts/FormContext.js +0 -21
- package/dist/cjs/Contexts/SectionContext.js +0 -5
- package/dist/cjs/Form/ConfirmationDialog/ConfirmationDialog.js +0 -26
- package/dist/cjs/Form/Form.js +0 -185
- package/dist/cjs/Form/FormFunctions.js +0 -223
- package/dist/cjs/Form/FormHooks.js +0 -51
- package/dist/cjs/Form/FormTypes/ColumnForm/ColumnForm.js +0 -50
- package/dist/cjs/Form/FormTypes/StepperForm/StepperForm.js +0 -96
- package/dist/cjs/Form/Section/MaterialSection/MaterialSection.js +0 -34
- package/dist/cjs/Form/Section/Section.js +0 -23
- package/dist/cjs/Form/Terms/Term/MaterialTerm/MaterialTerm.js +0 -92
- package/dist/cjs/Form/Terms/Term/Term.js +0 -19
- package/dist/cjs/Form/Terms/Terms.js +0 -37
- package/dist/cjs/FormSteps/@Construction/CBRElementStep/CBRElementStep.js +0 -95
- package/dist/cjs/FormSteps/@Construction/CBRIncidentsStep/CBRIncidentsStep.js +0 -19
- package/dist/cjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.js +0 -49
- package/dist/cjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.js +0 -111
- package/dist/cjs/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.js +0 -128
- package/dist/cjs/FormSteps/AYFStepMapper.js +0 -111
- package/dist/cjs/FormSteps/ApiSelectorStep/ApiSelectorStep.js +0 -19
- package/dist/cjs/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.js +0 -135
- package/dist/cjs/FormSteps/CBRStepMapper.js +0 -131
- package/dist/cjs/FormSteps/CheckBoxStep/CheckBoxStep.js +0 -19
- package/dist/cjs/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.js +0 -63
- package/dist/cjs/FormSteps/ClassifierSelectorStep/ClassifierSelectorStep.js +0 -19
- package/dist/cjs/FormSteps/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.js +0 -89
- package/dist/cjs/FormSteps/CollapsibleStep/CollapsibleStep.js +0 -33
- package/dist/cjs/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.js +0 -97
- package/dist/cjs/FormSteps/CustomStep.js +0 -36
- package/dist/cjs/FormSteps/DatePickerStep/DatePickerStep.js +0 -19
- package/dist/cjs/FormSteps/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.js +0 -22
- package/dist/cjs/FormSteps/EntityValueStep/EntityValuePickerStep.js +0 -19
- package/dist/cjs/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.js +0 -122
- package/dist/cjs/FormSteps/FileUploadStep/FileUploadStep.js +0 -19
- package/dist/cjs/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.js +0 -85
- package/dist/cjs/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.js +0 -193
- package/dist/cjs/FormSteps/MapperStep/MapperStep.js +0 -19
- package/dist/cjs/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.js +0 -45
- package/dist/cjs/FormSteps/MapperStep/MaterialMapperStep/Element/MapperElementComponent.js +0 -68
- package/dist/cjs/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.js +0 -45
- package/dist/cjs/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.js +0 -163
- package/dist/cjs/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.js +0 -77
- package/dist/cjs/FormSteps/RatingStep/RatingStep.js +0 -19
- package/dist/cjs/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.js +0 -76
- package/dist/cjs/FormSteps/SelectorStep/SelectorStep.js +0 -19
- package/dist/cjs/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.js +0 -17
- package/dist/cjs/FormSteps/SeparatorStep/SeparatorStep.js +0 -19
- package/dist/cjs/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.js +0 -139
- package/dist/cjs/FormSteps/SmartSelectStep/SmartSelectStep.js +0 -19
- package/dist/cjs/FormSteps/Step.js +0 -114
- package/dist/cjs/FormSteps/StepFunctions.js +0 -257
- package/dist/cjs/FormSteps/StepHooks.js +0 -131
- package/dist/cjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.js +0 -142
- package/dist/cjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.js +0 -31
- package/dist/cjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.module.css +0 -84
- package/dist/cjs/FormSteps/TextAreaStep/TextAreaStep.js +0 -23
- package/dist/cjs/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.js +0 -45
- package/dist/cjs/FormSteps/TextInputStep/TextInputStep.js +0 -19
- package/dist/cjs/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.js +0 -38
- package/dist/cjs/FormSteps/TitleStep/TitleStep.js +0 -19
- package/dist/cjs/FormSteps/Utils/@StepFiller/StepFiller.js +0 -41
- package/dist/cjs/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.js +0 -25
- package/dist/cjs/Icons/Construction/LeakIcon.js +0 -8
- package/dist/cjs/Icons/Construction/ProjectIcon.js +0 -8
- package/dist/cjs/Icons/Construction/PropertyIcon.js +0 -8
- package/dist/cjs/Icons/Construction/SpaceIcon.js +0 -8
- package/dist/cjs/Icons/DocumentIcon.js +0 -8
- package/dist/cjs/Icons/Entities/CheckListIcon.js +0 -8
- package/dist/cjs/Icons/Entities/GenericEntityIcon.js +0 -8
- package/dist/cjs/Icons/Entities/HandshakeIcon.js +0 -8
- package/dist/cjs/Icons/Entities/SupplierIcon.js +0 -8
- package/dist/cjs/Services/FileService.js +0 -57
- package/dist/cjs/Services/FormService.js +0 -31
- package/dist/cjs/Services/OrganizationService.js +0 -31
- package/dist/cjs/Shared/CustomBtn/CustomBtn.js +0 -58
- package/dist/cjs/Shared/InputIcon/InputIcon.js +0 -88
- package/dist/cjs/Shared/Loader/Loader.js +0 -19
- package/dist/cjs/Shared/Navbar/Navbar.js +0 -11
- package/dist/cjs/Shared/Navbar/Navbar.stories.js +0 -19
- package/dist/cjs/Shared/Rating/Rating.js +0 -35
- package/dist/cjs/Shared/Rating/Rating.stories.js +0 -65
- package/dist/cjs/Shared/Rating/Ratings/LikeRating.js +0 -36
- package/dist/cjs/Shared/Rating/Ratings/SatisfactionRating.js +0 -54
- package/dist/cjs/Shared/Rating/Ratings/ScaleRating.js +0 -53
- package/dist/cjs/Shared/RoundedButton/RoundedButton.js +0 -35
- package/dist/cjs/Shared/RoundedButton/RoundedButton.stories.js +0 -42
- package/dist/cjs/Shared/RoundedCheckBox/RoundedCheckBox.js +0 -73
- package/dist/cjs/Shared/RoundedCheckBox/RoundedCheckBox.stories.js +0 -56
- package/dist/cjs/Shared/RoundedDatePicker/RoundedDatePicker.js +0 -337
- package/dist/cjs/Shared/RoundedDatePicker/RoundedDatePicker.stories.js +0 -153
- package/dist/cjs/Shared/RoundedSelect/RoundedSelect.js +0 -207
- package/dist/cjs/Shared/RoundedSelect/RoundedSelect.stories.js +0 -86
- package/dist/cjs/Shared/RoundedSmartSelect/RoundedSmartSelect.js +0 -245
- package/dist/cjs/Shared/RoundedSmartSelect/RoundedSmartSelect.stories.js +0 -198
- package/dist/cjs/Shared/RoundedTextField/RoundedTextField.js +0 -147
- package/dist/cjs/Shared/RoundedTextField/RoundedTextField.stories.js +0 -154
- package/dist/cjs/States/GlobalSlice.js +0 -29
- package/dist/cjs/States/SiteSlice.js +0 -112
- package/dist/cjs/Utils/AxiosAPI.js +0 -13
- package/dist/cjs/Utils/AxiosWidget.js +0 -13
- package/dist/cjs/Utils/CBRFunctions.js +0 -47
- package/dist/cjs/Utils/DraftFunctions.js +0 -48
- package/dist/cjs/Utils/MaterialProviders.js +0 -24
- package/dist/cjs/Utils/TestUtils.js +0 -56
- package/dist/cjs/Utils/store.js +0 -46
- package/dist/cjs/Widget.js +0 -57
- package/dist/cjs/__mocks__/axios.js +0 -7
- package/dist/cjs/constants/AYFFormStepTypes.js +0 -13
- package/dist/cjs/constants/CBRFormStepTypes.js +0 -24
- package/dist/cjs/constants/Files/FileExtensions.js +0 -72
- package/dist/cjs/constants/Files/FileMaxSize.js +0 -4
- package/dist/cjs/constants/FormStepTypes.js +0 -73
- package/dist/cjs/constants/IconTypes.js +0 -16
- package/dist/cjs/constants/InternalFormStyle.js +0 -18
- package/dist/cjs/constants/MaterialClassNameSeed.js +0 -4
- package/dist/cjs/hooks.js +0 -32
- package/dist/cjs/index.js +0 -48
- package/dist/cjs/index.lib.js +0 -36
- package/dist/cjs/package.json +0 -3
- package/dist/cjs/setupTests.js +0 -7
- package/dist/mjs/@Types/@Types.d.ts +0 -2
- package/dist/mjs/@Types/AYFFormStep.d.ts +0 -19
- package/dist/mjs/@Types/Branding.d.ts +0 -13
- package/dist/mjs/@Types/CBRFormStep.d.ts +0 -74
- package/dist/mjs/@Types/Form.d.ts +0 -68
- package/dist/mjs/@Types/FormStep.d.ts +0 -195
- package/dist/mjs/@Types/GenericFormSteps.d.ts +0 -61
- package/dist/mjs/@Types/MapperElement.d.ts +0 -8
- package/dist/mjs/@Types/Organization.d.ts +0 -9
- package/dist/mjs/@Types/index.d.ts +0 -1
- package/dist/mjs/App/App.css +0 -6
- package/dist/mjs/App/App.d.ts +0 -47
- package/dist/mjs/App/App.js +0 -54
- package/dist/mjs/App/App.module.css +0 -34
- package/dist/mjs/App/AppFunctions.d.ts +0 -16
- package/dist/mjs/App/AppFunctions.js +0 -188
- package/dist/mjs/App/AppHooks.d.ts +0 -10
- package/dist/mjs/App/AppHooks.js +0 -152
- package/dist/mjs/Contexts/CustomContext.d.ts +0 -11
- package/dist/mjs/Contexts/FormContext.d.ts +0 -4
- package/dist/mjs/Contexts/SectionContext.d.ts +0 -3
- package/dist/mjs/Form/ConfirmationDialog/ConfirmationDialog.d.ts +0 -10
- package/dist/mjs/Form/ConfirmationDialog/ConfirmationDialog.js +0 -21
- package/dist/mjs/Form/ConfirmationDialog/ConfirmationDialog.module.css +0 -64
- package/dist/mjs/Form/Form.d.ts +0 -40
- package/dist/mjs/Form/Form.js +0 -149
- package/dist/mjs/Form/Form.module.css +0 -39
- package/dist/mjs/Form/FormFunctions.d.ts +0 -12
- package/dist/mjs/Form/FormFunctions.js +0 -189
- package/dist/mjs/Form/FormHooks.d.ts +0 -9
- package/dist/mjs/Form/FormTypes/ColumnForm/ColumnForm.d.ts +0 -4
- package/dist/mjs/Form/FormTypes/ColumnForm/ColumnForm.js +0 -36
- package/dist/mjs/Form/FormTypes/ColumnForm/ColumnForm.module.css +0 -19
- package/dist/mjs/Form/FormTypes/StepperForm/StepperForm.d.ts +0 -4
- package/dist/mjs/Form/FormTypes/StepperForm/StepperForm.js +0 -62
- package/dist/mjs/Form/FormTypes/StepperForm/StepperForm.module.css +0 -26
- package/dist/mjs/Form/Section/MaterialSection/MaterialSection.d.ts +0 -4
- package/dist/mjs/Form/Section/MaterialSection/MaterialSection.js +0 -28
- package/dist/mjs/Form/Section/MaterialSection/MaterialSection.module.css +0 -8
- package/dist/mjs/Form/Section/Section.d.ts +0 -6
- package/dist/mjs/Form/Section/Section.js +0 -18
- package/dist/mjs/Form/Terms/Term/MaterialTerm/MaterialTerm.d.ts +0 -4
- package/dist/mjs/Form/Terms/Term/MaterialTerm/MaterialTerm.js +0 -75
- package/dist/mjs/Form/Terms/Term/MaterialTerm/MaterialTerm.module.css +0 -83
- package/dist/mjs/Form/Terms/Term/Term.d.ts +0 -8
- package/dist/mjs/Form/Terms/Term/Term.js +0 -14
- package/dist/mjs/Form/Terms/Terms.d.ts +0 -3
- package/dist/mjs/Form/Terms/Terms.js +0 -32
- package/dist/mjs/Form/Terms/Terms.module.css +0 -3
- package/dist/mjs/FormSteps/@Construction/CBRElementStep/CBRElementStep.d.ts +0 -8
- package/dist/mjs/FormSteps/@Construction/CBRElementStep/CBRElementStep.js +0 -67
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/CBRIncidentsStep.d.ts +0 -9
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/CBRIncidentsStep.js +0 -14
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.d.ts +0 -8
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.js +0 -32
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.module.css +0 -60
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.d.ts +0 -11
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.js +0 -113
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.module.css +0 -34
- package/dist/mjs/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.d.ts +0 -8
- package/dist/mjs/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.js +0 -90
- package/dist/mjs/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.module.css +0 -54
- package/dist/mjs/FormSteps/AYFStepMapper.d.ts +0 -12
- package/dist/mjs/FormSteps/AYFStepMapper.js +0 -96
- package/dist/mjs/FormSteps/ApiSelectorStep/ApiSelectorStep.d.ts +0 -15
- package/dist/mjs/FormSteps/ApiSelectorStep/ApiSelectorStep.js +0 -14
- package/dist/mjs/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.d.ts +0 -4
- package/dist/mjs/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.js +0 -79
- package/dist/mjs/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.module.css +0 -0
- package/dist/mjs/FormSteps/CBRStepMapper.d.ts +0 -13
- package/dist/mjs/FormSteps/CBRStepMapper.js +0 -115
- package/dist/mjs/FormSteps/CheckBoxStep/CheckBoxStep.d.ts +0 -9
- package/dist/mjs/FormSteps/CheckBoxStep/CheckBoxStep.js +0 -14
- package/dist/mjs/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.d.ts +0 -4
- package/dist/mjs/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.js +0 -34
- package/dist/mjs/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.module.css +0 -26
- package/dist/mjs/FormSteps/ClassifierSelectorStep/ClassifierSelectorStep.d.ts +0 -9
- package/dist/mjs/FormSteps/ClassifierSelectorStep/ClassifierSelectorStep.js +0 -14
- package/dist/mjs/FormSteps/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.d.ts +0 -4
- package/dist/mjs/FormSteps/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.js +0 -57
- package/dist/mjs/FormSteps/CollapsibleStep/CollapsibleStep.d.ts +0 -9
- package/dist/mjs/FormSteps/CollapsibleStep/CollapsibleStep.js +0 -16
- package/dist/mjs/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.d.ts +0 -4
- package/dist/mjs/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.js +0 -53
- package/dist/mjs/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.module.css +0 -62
- package/dist/mjs/FormSteps/CustomStep.d.ts +0 -26
- package/dist/mjs/FormSteps/CustomStep.js +0 -24
- package/dist/mjs/FormSteps/DatePickerStep/DatePickerStep.d.ts +0 -11
- package/dist/mjs/FormSteps/DatePickerStep/DatePickerStep.js +0 -14
- package/dist/mjs/FormSteps/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.d.ts +0 -4
- package/dist/mjs/FormSteps/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.js +0 -16
- package/dist/mjs/FormSteps/EntityValueStep/EntityValuePickerStep.d.ts +0 -15
- package/dist/mjs/FormSteps/EntityValueStep/EntityValuePickerStep.js +0 -14
- package/dist/mjs/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.d.ts +0 -4
- package/dist/mjs/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.js +0 -84
- package/dist/mjs/FormSteps/FileUploadStep/FileUploadStep.d.ts +0 -9
- package/dist/mjs/FormSteps/FileUploadStep/FileUploadStep.js +0 -14
- package/dist/mjs/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.d.ts +0 -13
- package/dist/mjs/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.js +0 -70
- package/dist/mjs/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.module.css +0 -53
- package/dist/mjs/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.d.ts +0 -18
- package/dist/mjs/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.js +0 -179
- package/dist/mjs/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.module.css +0 -52
- package/dist/mjs/FormSteps/MapperStep/MapperStep.d.ts +0 -17
- package/dist/mjs/FormSteps/MapperStep/MapperStep.js +0 -14
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.d.ts +0 -5
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.js +0 -39
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.module.css +0 -72
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/MapperElementComponent.d.ts +0 -12
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/MapperElementComponent.js +0 -41
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.d.ts +0 -5
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.js +0 -38
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.module.css +0 -71
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.d.ts +0 -17
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.js +0 -123
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.module.css +0 -41
- package/dist/mjs/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.d.ts +0 -4
- package/dist/mjs/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.js +0 -49
- package/dist/mjs/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.module.css +0 -30
- package/dist/mjs/FormSteps/RatingStep/RatingStep.d.ts +0 -9
- package/dist/mjs/FormSteps/RatingStep/RatingStep.js +0 -14
- package/dist/mjs/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.d.ts +0 -4
- package/dist/mjs/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.js +0 -47
- package/dist/mjs/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.module.css +0 -9
- package/dist/mjs/FormSteps/SelectorStep/SelectorStep.d.ts +0 -9
- package/dist/mjs/FormSteps/SelectorStep/SelectorStep.js +0 -14
- package/dist/mjs/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.d.ts +0 -4
- package/dist/mjs/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.module.css +0 -7
- package/dist/mjs/FormSteps/SeparatorStep/SeparatorStep.d.ts +0 -9
- package/dist/mjs/FormSteps/SeparatorStep/SeparatorStep.js +0 -14
- package/dist/mjs/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.d.ts +0 -5
- package/dist/mjs/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.js +0 -128
- package/dist/mjs/FormSteps/SmartSelectStep/SmartSelectStep.d.ts +0 -31
- package/dist/mjs/FormSteps/SmartSelectStep/SmartSelectStep.js +0 -14
- package/dist/mjs/FormSteps/Step.d.ts +0 -8
- package/dist/mjs/FormSteps/Step.js +0 -96
- package/dist/mjs/FormSteps/StepFunctions.d.ts +0 -16
- package/dist/mjs/FormSteps/StepHooks.d.ts +0 -43
- package/dist/mjs/FormSteps/StepHooks.js +0 -114
- package/dist/mjs/FormSteps/TextAreaStep/MaterialTextAreaStep/DraftEditor.css +0 -96
- package/dist/mjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.d.ts +0 -10
- package/dist/mjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.d.ts +0 -8
- package/dist/mjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.js +0 -27
- package/dist/mjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.module.css +0 -84
- package/dist/mjs/FormSteps/TextAreaStep/TextAreaStep.d.ts +0 -10
- package/dist/mjs/FormSteps/TextAreaStep/TextAreaStep.js +0 -18
- package/dist/mjs/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.d.ts +0 -4
- package/dist/mjs/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.js +0 -39
- package/dist/mjs/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.module.css +0 -9
- package/dist/mjs/FormSteps/TextInputStep/TextInputStep.d.ts +0 -17
- package/dist/mjs/FormSteps/TextInputStep/TextInputStep.js +0 -14
- package/dist/mjs/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.d.ts +0 -4
- package/dist/mjs/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.js +0 -32
- package/dist/mjs/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.module.css +0 -18
- package/dist/mjs/FormSteps/TitleStep/TitleStep.d.ts +0 -9
- package/dist/mjs/FormSteps/TitleStep/TitleStep.js +0 -14
- package/dist/mjs/FormSteps/Utils/@StepFiller/StepFiller.d.ts +0 -9
- package/dist/mjs/FormSteps/Utils/@StepFiller/StepFiller.js +0 -35
- package/dist/mjs/FormSteps/Utils/@StepFiller/StepFiller.module.css +0 -16
- package/dist/mjs/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.d.ts +0 -11
- package/dist/mjs/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.js +0 -20
- package/dist/mjs/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.module.css +0 -9
- package/dist/mjs/Icons/Construction/LeakIcon.d.ts +0 -3
- package/dist/mjs/Icons/Construction/LeakIcon.js +0 -5
- package/dist/mjs/Icons/Construction/ProjectIcon.d.ts +0 -3
- package/dist/mjs/Icons/Construction/ProjectIcon.js +0 -5
- package/dist/mjs/Icons/Construction/PropertyIcon.d.ts +0 -3
- package/dist/mjs/Icons/Construction/PropertyIcon.js +0 -5
- package/dist/mjs/Icons/Construction/SpaceIcon.d.ts +0 -3
- package/dist/mjs/Icons/DocumentIcon.d.ts +0 -3
- package/dist/mjs/Icons/DocumentIcon.js +0 -5
- package/dist/mjs/Icons/Entities/CheckListIcon.d.ts +0 -3
- package/dist/mjs/Icons/Entities/CheckListIcon.js +0 -5
- package/dist/mjs/Icons/Entities/GenericEntityIcon.d.ts +0 -3
- package/dist/mjs/Icons/Entities/GenericEntityIcon.js +0 -3
- package/dist/mjs/Icons/Entities/HandshakeIcon.d.ts +0 -3
- package/dist/mjs/Icons/Entities/HandshakeIcon.js +0 -3
- package/dist/mjs/Icons/Entities/SupplierIcon.d.ts +0 -3
- package/dist/mjs/Icons/Entities/SupplierIcon.js +0 -3
- package/dist/mjs/Services/FileService.d.ts +0 -5
- package/dist/mjs/Services/FileService.js +0 -35
- package/dist/mjs/Services/FormService.d.ts +0 -5
- package/dist/mjs/Services/FormService.js +0 -13
- package/dist/mjs/Services/OrganizationService.d.ts +0 -2
- package/dist/mjs/Services/OrganizationService.js +0 -13
- package/dist/mjs/Shared/CustomBtn/CustomBtn.d.ts +0 -13
- package/dist/mjs/Shared/CustomBtn/CustomBtn.js +0 -32
- package/dist/mjs/Shared/CustomBtn/CustomBtn.module.css +0 -61
- package/dist/mjs/Shared/InputIcon/InputIcon.d.ts +0 -7
- package/dist/mjs/Shared/InputIcon/InputIcon.js +0 -71
- package/dist/mjs/Shared/Loader/Loader.d.ts +0 -18
- package/dist/mjs/Shared/Loader/Loader.js +0 -14
- package/dist/mjs/Shared/Loader/Loader.module.css +0 -12
- package/dist/mjs/Shared/Navbar/Navbar.d.ts +0 -9
- package/dist/mjs/Shared/Navbar/Navbar.js +0 -6
- package/dist/mjs/Shared/Navbar/Navbar.module.css +0 -8
- package/dist/mjs/Shared/Navbar/Navbar.stories.d.ts +0 -13
- package/dist/mjs/Shared/Rating/Rating.d.ts +0 -16
- package/dist/mjs/Shared/Rating/Rating.js +0 -18
- package/dist/mjs/Shared/Rating/Rating.module.css +0 -18
- package/dist/mjs/Shared/Rating/Rating.stories.d.ts +0 -15
- package/dist/mjs/Shared/Rating/Ratings/LikeRating.d.ts +0 -4
- package/dist/mjs/Shared/Rating/Ratings/SatisfactionRating.d.ts +0 -4
- package/dist/mjs/Shared/Rating/Ratings/SatisfactionRating.js +0 -49
- package/dist/mjs/Shared/Rating/Ratings/ScaleRating.d.ts +0 -4
- package/dist/mjs/Shared/Rating/Ratings/ScaleRating.js +0 -35
- package/dist/mjs/Shared/RoundedButton/RoundedButton.d.ts +0 -30
- package/dist/mjs/Shared/RoundedButton/RoundedButton.js +0 -33
- package/dist/mjs/Shared/RoundedButton/RoundedButton.stories.d.ts +0 -23
- package/dist/mjs/Shared/RoundedCheckBox/RoundedCheckBox.d.ts +0 -24
- package/dist/mjs/Shared/RoundedCheckBox/RoundedCheckBox.js +0 -56
- package/dist/mjs/Shared/RoundedCheckBox/RoundedCheckBox.stories.d.ts +0 -21
- package/dist/mjs/Shared/RoundedDatePicker/RoundedDatePicker.d.ts +0 -49
- package/dist/mjs/Shared/RoundedDatePicker/RoundedDatePicker.js +0 -297
- package/dist/mjs/Shared/RoundedDatePicker/RoundedDatePicker.stories.d.ts +0 -36
- package/dist/mjs/Shared/RoundedDatePicker/RoundedDatePicker.stories.js +0 -137
- package/dist/mjs/Shared/RoundedSelect/RoundedSelect.d.ts +0 -68
- package/dist/mjs/Shared/RoundedSelect/RoundedSelect.js +0 -160
- package/dist/mjs/Shared/RoundedSelect/RoundedSelect.stories.d.ts +0 -28
- package/dist/mjs/Shared/RoundedSmartSelect/RoundedSmartSelect.d.ts +0 -63
- package/dist/mjs/Shared/RoundedSmartSelect/RoundedSmartSelect.js +0 -197
- package/dist/mjs/Shared/RoundedSmartSelect/RoundedSmartSelect.stories.d.ts +0 -36
- package/dist/mjs/Shared/RoundedSmartSelect/RoundedSmartSelect.stories.js +0 -182
- package/dist/mjs/Shared/RoundedTextField/RoundedTextField.d.ts +0 -45
- package/dist/mjs/Shared/RoundedTextField/RoundedTextField.js +0 -129
- package/dist/mjs/Shared/RoundedTextField/RoundedTextField.stories.d.ts +0 -37
- package/dist/mjs/Shared/RoundedTextField/RoundedTextField.stories.js +0 -138
- package/dist/mjs/States/GlobalSlice.d.ts +0 -34
- package/dist/mjs/States/GlobalSlice.js +0 -23
- package/dist/mjs/States/SiteSlice.d.ts +0 -65
- package/dist/mjs/States/SiteSlice.js +0 -116
- package/dist/mjs/States/WidthStatsSlice.d.ts +0 -7
- package/dist/mjs/States/WidthStatsSlice.js +0 -22
- package/dist/mjs/Utils/AxiosAPI.d.ts +0 -2
- package/dist/mjs/Utils/AxiosWidget.d.ts +0 -2
- package/dist/mjs/Utils/AxiosWidget.js +0 -8
- package/dist/mjs/Utils/CBRFunctions.d.ts +0 -8
- package/dist/mjs/Utils/CBRFunctions.js +0 -52
- package/dist/mjs/Utils/DraftFunctions.d.ts +0 -3
- package/dist/mjs/Utils/MaterialProviders.d.ts +0 -6
- package/dist/mjs/Utils/MaterialProviders.js +0 -19
- package/dist/mjs/Utils/TestUtils.d.ts +0 -77
- package/dist/mjs/Utils/TestUtils.js +0 -41
- package/dist/mjs/Utils/store.d.ts +0 -27
- package/dist/mjs/Utils/store.js +0 -29
- package/dist/mjs/Widget.d.ts +0 -1
- package/dist/mjs/Widget.js +0 -51
- package/dist/mjs/__mocks__/axios.d.ts +0 -2
- package/dist/mjs/constants/AYFFormStepTypes.d.ts +0 -9
- package/dist/mjs/constants/CBRFormStepTypes.d.ts +0 -21
- package/dist/mjs/constants/Files/FileExtensions.d.ts +0 -3
- package/dist/mjs/constants/Files/FileMaxSize.d.ts +0 -2
- package/dist/mjs/constants/Files/FileMaxSize.js +0 -2
- package/dist/mjs/constants/FormStepTypes.d.ts +0 -59
- package/dist/mjs/constants/IconTypes.d.ts +0 -12
- package/dist/mjs/constants/InternalFormStyle.d.ts +0 -3
- package/dist/mjs/constants/MaterialClassNameSeed.d.ts +0 -1
- package/dist/mjs/constants/MaterialClassNameSeed.js +0 -1
- package/dist/mjs/hooks.d.ts +0 -7
- package/dist/mjs/hooks.js +0 -23
- package/dist/mjs/index.d.ts +0 -1
- package/dist/mjs/index.js +0 -20
- package/dist/mjs/index.lib.d.ts +0 -7
- package/dist/mjs/index.module.css +0 -14
- package/dist/mjs/setupTests.d.ts +0 -1
- package/fixup.sh +0 -5
- package/jest.config.js +0 -5
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -22
- package/src/@Types/@Types.ts +0 -2
- package/src/@Types/AYFFormStep.ts +0 -29
- package/src/@Types/Branding.ts +0 -13
- package/src/@Types/CBRFormStep.ts +0 -110
- package/src/@Types/Form.ts +0 -73
- package/src/@Types/FormStep.ts +0 -257
- package/src/@Types/GenericFormSteps.ts +0 -66
- package/src/@Types/MapperElement.ts +0 -8
- package/src/@Types/Organization.ts +0 -10
- package/src/@Types/index.ts +0 -1
- package/src/App/App.css +0 -6
- package/src/App/App.module.css +0 -34
- package/src/App/App.tsx +0 -160
- package/src/App/AppFunctions.test.ts +0 -747
- package/src/App/AppFunctions.ts +0 -240
- package/src/App/AppHooks.test.ts +0 -139
- package/src/App/AppHooks.ts +0 -217
- package/src/Contexts/CustomContext.ts +0 -16
- package/src/Contexts/FormContext.ts +0 -22
- package/src/Contexts/SectionContext.ts +0 -5
- package/src/Form/ConfirmationDialog/ConfirmationDialog.module.css +0 -64
- package/src/Form/ConfirmationDialog/ConfirmationDialog.tsx +0 -79
- package/src/Form/Form.module.css +0 -39
- package/src/Form/Form.tsx +0 -295
- package/src/Form/FormFunctions.test.ts +0 -583
- package/src/Form/FormFunctions.ts +0 -263
- package/src/Form/FormHooks.ts +0 -68
- package/src/Form/FormTypes/ColumnForm/ColumnForm.module.css +0 -19
- package/src/Form/FormTypes/ColumnForm/ColumnForm.tsx +0 -85
- package/src/Form/FormTypes/StepperForm/StepperForm.module.css +0 -26
- package/src/Form/FormTypes/StepperForm/StepperForm.tsx +0 -120
- package/src/Form/Section/MaterialSection/MaterialSection.module.css +0 -8
- package/src/Form/Section/MaterialSection/MaterialSection.tsx +0 -44
- package/src/Form/Section/Section.tsx +0 -25
- package/src/Form/Terms/Term/MaterialTerm/MaterialTerm.module.css +0 -83
- package/src/Form/Terms/Term/MaterialTerm/MaterialTerm.tsx +0 -160
- package/src/Form/Terms/Term/Term.tsx +0 -20
- package/src/Form/Terms/Terms.module.css +0 -3
- package/src/Form/Terms/Terms.tsx +0 -54
- package/src/FormSteps/@Construction/CBRElementStep/CBRElementStep.tsx +0 -129
- package/src/FormSteps/@Construction/CBRIncidentsStep/CBRIncidentsStep.tsx +0 -20
- package/src/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.module.css +0 -60
- package/src/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.tsx +0 -81
- package/src/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.module.css +0 -34
- package/src/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.tsx +0 -210
- package/src/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.module.css +0 -54
- package/src/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.tsx +0 -183
- package/src/FormSteps/AYFStepMapper.tsx +0 -177
- package/src/FormSteps/ApiSelectorStep/ApiSelectorStep.tsx +0 -28
- package/src/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.module.css +0 -0
- package/src/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.tsx +0 -126
- package/src/FormSteps/CBRStepMapper.tsx +0 -256
- package/src/FormSteps/CheckBoxStep/CheckBoxStep.tsx +0 -20
- package/src/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.module.css +0 -26
- package/src/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.tsx +0 -83
- package/src/FormSteps/ClassifierSelectorStep/ClassifierSelectorStep.tsx +0 -22
- package/src/FormSteps/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.tsx +0 -120
- package/src/FormSteps/CollapsibleStep/CollapsibleStep.tsx +0 -24
- package/src/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.module.css +0 -62
- package/src/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.tsx +0 -129
- package/src/FormSteps/CustomStep.tsx +0 -57
- package/src/FormSteps/DatePickerStep/DatePickerStep.tsx +0 -22
- package/src/FormSteps/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.tsx +0 -51
- package/src/FormSteps/EntityValueStep/EntityValuePickerStep.tsx +0 -28
- package/src/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.tsx +0 -132
- package/src/FormSteps/FileUploadStep/FileUploadStep.tsx +0 -20
- package/src/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.module.css +0 -53
- package/src/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.tsx +0 -142
- package/src/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.module.css +0 -52
- package/src/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.tsx +0 -294
- package/src/FormSteps/MapperStep/MapperStep.tsx +0 -40
- package/src/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.module.css +0 -72
- package/src/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.tsx +0 -108
- package/src/FormSteps/MapperStep/MaterialMapperStep/Element/MapperElementComponent.tsx +0 -76
- package/src/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.module.css +0 -71
- package/src/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.tsx +0 -95
- package/src/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.module.css +0 -41
- package/src/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.tsx +0 -296
- package/src/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.module.css +0 -30
- package/src/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.tsx +0 -98
- package/src/FormSteps/RatingStep/RatingStep.tsx +0 -20
- package/src/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.module.css +0 -9
- package/src/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.tsx +0 -105
- package/src/FormSteps/SelectorStep/SelectorStep.tsx +0 -20
- package/src/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.module.css +0 -7
- package/src/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.tsx +0 -20
- package/src/FormSteps/SeparatorStep/SeparatorStep.tsx +0 -21
- package/src/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.tsx +0 -216
- package/src/FormSteps/SmartSelectStep/SmartSelectStep.tsx +0 -48
- package/src/FormSteps/Step.tsx +0 -228
- package/src/FormSteps/StepFunctions.test.ts +0 -882
- package/src/FormSteps/StepFunctions.ts +0 -315
- package/src/FormSteps/StepHooks.ts +0 -204
- package/src/FormSteps/TextAreaStep/MaterialTextAreaStep/DraftEditor.css +0 -96
- package/src/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.tsx +0 -209
- package/src/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.tsx +0 -89
- package/src/FormSteps/TextAreaStep/TextAreaStep.tsx +0 -23
- package/src/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.module.css +0 -9
- package/src/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.tsx +0 -80
- package/src/FormSteps/TextInputStep/TextInputStep.tsx +0 -28
- package/src/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.module.css +0 -18
- package/src/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.tsx +0 -64
- package/src/FormSteps/TitleStep/TitleStep.tsx +0 -21
- package/src/FormSteps/Utils/@StepFiller/StepFiller.module.css +0 -16
- package/src/FormSteps/Utils/@StepFiller/StepFiller.tsx +0 -69
- package/src/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.module.css +0 -9
- package/src/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.tsx +0 -55
- package/src/Icons/Construction/LeakIcon.tsx +0 -21
- package/src/Icons/Construction/ProjectIcon.tsx +0 -17
- package/src/Icons/Construction/PropertyIcon.tsx +0 -22
- package/src/Icons/Construction/SpaceIcon.tsx +0 -25
- package/src/Icons/DocumentIcon.tsx +0 -19
- package/src/Icons/Entities/CheckListIcon.tsx +0 -30
- package/src/Icons/Entities/GenericEntityIcon.tsx +0 -19
- package/src/Icons/Entities/HandshakeIcon.tsx +0 -20
- package/src/Icons/Entities/SupplierIcon.tsx +0 -21
- package/src/Services/FileService.ts +0 -50
- package/src/Services/FormService.ts +0 -20
- package/src/Services/OrganizationService.ts +0 -19
- package/src/Shared/CustomBtn/CustomBtn.module.css +0 -61
- package/src/Shared/CustomBtn/CustomBtn.tsx +0 -83
- package/src/Shared/InputIcon/InputIcon.tsx +0 -134
- package/src/Shared/Loader/Loader.module.css +0 -12
- package/src/Shared/Loader/Loader.tsx +0 -40
- package/src/Shared/Navbar/Navbar.module.css +0 -8
- package/src/Shared/Navbar/Navbar.stories.tsx +0 -20
- package/src/Shared/Navbar/Navbar.tsx +0 -21
- package/src/Shared/Rating/Rating.module.css +0 -18
- package/src/Shared/Rating/Rating.stories.tsx +0 -70
- package/src/Shared/Rating/Rating.tsx +0 -33
- package/src/Shared/Rating/Ratings/LikeRating.tsx +0 -75
- package/src/Shared/Rating/Ratings/SatisfactionRating.tsx +0 -115
- package/src/Shared/Rating/Ratings/ScaleRating.tsx +0 -85
- package/src/Shared/RoundedButton/RoundedButton.stories.tsx +0 -45
- package/src/Shared/RoundedButton/RoundedButton.tsx +0 -80
- package/src/Shared/RoundedCheckBox/RoundedCheckBox.stories.tsx +0 -61
- package/src/Shared/RoundedCheckBox/RoundedCheckBox.tsx +0 -102
- package/src/Shared/RoundedDatePicker/RoundedDatePicker.stories.tsx +0 -156
- package/src/Shared/RoundedDatePicker/RoundedDatePicker.tsx +0 -453
- package/src/Shared/RoundedSelect/RoundedSelect.stories.tsx +0 -102
- package/src/Shared/RoundedSelect/RoundedSelect.tsx +0 -297
- package/src/Shared/RoundedSmartSelect/RoundedSmartSelect.stories.tsx +0 -206
- package/src/Shared/RoundedSmartSelect/RoundedSmartSelect.tsx +0 -420
- package/src/Shared/RoundedTextField/RoundedTextField.stories.tsx +0 -165
- package/src/Shared/RoundedTextField/RoundedTextField.tsx +0 -226
- package/src/States/GlobalSlice.ts +0 -45
- package/src/States/SiteSlice.ts +0 -205
- package/src/States/WidthStatsSlice.ts +0 -29
- package/src/Utils/AxiosAPI.ts +0 -11
- package/src/Utils/AxiosWidget.ts +0 -11
- package/src/Utils/CBRFunctions.ts +0 -105
- package/src/Utils/DraftFunctions.ts +0 -47
- package/src/Utils/MaterialProviders.tsx +0 -42
- package/src/Utils/TestUtils.tsx +0 -74
- package/src/Utils/store.ts +0 -56
- package/src/Widget.tsx +0 -58
- package/src/__mocks__/axios.ts +0 -2
- package/src/constants/AYFFormStepTypes.ts +0 -10
- package/src/constants/CBRFormStepTypes.ts +0 -21
- package/src/constants/Files/FileExtensions.ts +0 -70
- package/src/constants/Files/FileMaxSize.ts +0 -2
- package/src/constants/FormStepTypes.ts +0 -70
- package/src/constants/IconTypes.ts +0 -12
- package/src/constants/InternalFormStyle.ts +0 -18
- package/src/constants/MaterialClassNameSeed.ts +0 -1
- package/src/hooks.ts +0 -47
- package/src/index.lib.ts +0 -7
- package/src/index.module.css +0 -14
- package/src/index.tsx +0 -28
- package/src/setupTests.ts +0 -5
- package/src/types.d.ts +0 -1
- package/template.yaml +0 -137
- package/tsconfig.json +0 -8
- package/webpack.config.cjs +0 -17
- /package/dist/{cjs/@Types → @Types}/@Types.d.ts +0 -0
- /package/dist/{mjs/@Types → @Types}/@Types.js +0 -0
- /package/dist/{cjs/@Types → @Types}/AYFFormStep.d.ts +0 -0
- /package/dist/{mjs/@Types → @Types}/AYFFormStep.js +0 -0
- /package/dist/{cjs/@Types → @Types}/Branding.d.ts +0 -0
- /package/dist/{mjs/@Types → @Types}/Branding.js +0 -0
- /package/dist/{cjs/@Types → @Types}/CBRFormStep.d.ts +0 -0
- /package/dist/{mjs/@Types → @Types}/CBRFormStep.js +0 -0
- /package/dist/{cjs/@Types → @Types}/Form.d.ts +0 -0
- /package/dist/{mjs/@Types → @Types}/Form.js +0 -0
- /package/dist/{cjs/@Types → @Types}/FormStep.d.ts +0 -0
- /package/dist/{mjs/@Types → @Types}/FormStep.js +0 -0
- /package/dist/{cjs/@Types → @Types}/GenericFormSteps.d.ts +0 -0
- /package/dist/{mjs/@Types → @Types}/GenericFormSteps.js +0 -0
- /package/dist/{cjs/@Types → @Types}/MapperElement.d.ts +0 -0
- /package/dist/{mjs/@Types → @Types}/MapperElement.js +0 -0
- /package/dist/{cjs/@Types → @Types}/Organization.d.ts +0 -0
- /package/dist/{mjs/@Types → @Types}/Organization.js +0 -0
- /package/dist/{cjs/@Types → @Types}/index.d.ts +0 -0
- /package/dist/{mjs/@Types → @Types}/index.js +0 -0
- /package/dist/{cjs/App → App}/App.css +0 -0
- /package/dist/{cjs/App → App}/App.d.ts +0 -0
- /package/dist/{cjs/App → App}/App.module.css +0 -0
- /package/dist/{cjs/App → App}/AppFunctions.d.ts +0 -0
- /package/dist/{cjs/App → App}/AppHooks.d.ts +0 -0
- /package/dist/{cjs/Contexts → Contexts}/CustomContext.d.ts +0 -0
- /package/dist/{cjs/Contexts → Contexts}/FormContext.d.ts +0 -0
- /package/dist/{cjs/Contexts → Contexts}/SectionContext.d.ts +0 -0
- /package/dist/{cjs/Form → Form}/ConfirmationDialog/ConfirmationDialog.d.ts +0 -0
- /package/dist/{cjs/Form → Form}/ConfirmationDialog/ConfirmationDialog.module.css +0 -0
- /package/dist/{cjs/Form → Form}/Form.d.ts +0 -0
- /package/dist/{cjs/Form → Form}/Form.module.css +0 -0
- /package/dist/{cjs/Form → Form}/FormFunctions.d.ts +0 -0
- /package/dist/{cjs/Form → Form}/FormHooks.d.ts +0 -0
- /package/dist/{cjs/Form → Form}/FormTypes/ColumnForm/ColumnForm.d.ts +0 -0
- /package/dist/{cjs/Form → Form}/FormTypes/ColumnForm/ColumnForm.module.css +0 -0
- /package/dist/{cjs/Form → Form}/FormTypes/StepperForm/StepperForm.d.ts +0 -0
- /package/dist/{cjs/Form → Form}/FormTypes/StepperForm/StepperForm.module.css +0 -0
- /package/dist/{cjs/Form → Form}/Section/MaterialSection/MaterialSection.d.ts +0 -0
- /package/dist/{cjs/Form → Form}/Section/MaterialSection/MaterialSection.module.css +0 -0
- /package/dist/{cjs/Form → Form}/Section/Section.d.ts +0 -0
- /package/dist/{cjs/Form → Form}/Terms/Term/MaterialTerm/MaterialTerm.d.ts +0 -0
- /package/dist/{cjs/Form → Form}/Terms/Term/MaterialTerm/MaterialTerm.module.css +0 -0
- /package/dist/{cjs/Form → Form}/Terms/Term/Term.d.ts +0 -0
- /package/dist/{cjs/Form → Form}/Terms/Terms.d.ts +0 -0
- /package/dist/{cjs/Form → Form}/Terms/Terms.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/@Construction/CBRElementStep/CBRElementStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/@Construction/CBRIncidentsStep/CBRIncidentsStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/@Construction/CBRPropertyStep/CBRPropertyStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/@Construction/CBRPropertyStep/CBRPropertyStep.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/AYFStepMapper.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/ApiSelectorStep/ApiSelectorStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/CBRStepMapper.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/CheckBoxStep/CheckBoxStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/ClassifierSelectorStep/ClassifierSelectorStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/CollapsibleStep/CollapsibleStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/CustomStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/DatePickerStep/DatePickerStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/EntityValueStep/EntityValuePickerStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/FileUploadStep/FileUploadStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/MapperStep/MapperStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/MapperStep/MaterialMapperStep/Element/MapperElementComponent.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/MapperStep/MaterialMapperStep/MaterialMapperStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/MapperStep/MaterialMapperStep/MaterialMapperStep.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/RatingStep/MaterialRatingStep/MaterialRatingStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/RatingStep/MaterialRatingStep/MaterialRatingStep.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/RatingStep/RatingStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/SelectorStep/SelectorStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/SeparatorStep/SeparatorStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/SmartSelectStep/SmartSelectStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/Step.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/StepFunctions.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/StepHooks.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/TextAreaStep/MaterialTextAreaStep/DraftEditor.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/TextAreaStep/TextAreaStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/TextInputStep/TextInputStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/TitleStep/MaterialTitleStep/MaterialTitleStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/TitleStep/MaterialTitleStep/MaterialTitleStep.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/TitleStep/TitleStep.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/Utils/@StepFiller/StepFiller.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/Utils/@StepFiller/StepFiller.module.css +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/Utils/MaterialInputContainer/MaterialInputContainer.d.ts +0 -0
- /package/dist/{cjs/FormSteps → FormSteps}/Utils/MaterialInputContainer/MaterialInputContainer.module.css +0 -0
- /package/dist/{cjs/Icons → Icons}/Construction/LeakIcon.d.ts +0 -0
- /package/dist/{cjs/Icons → Icons}/Construction/ProjectIcon.d.ts +0 -0
- /package/dist/{cjs/Icons → Icons}/Construction/PropertyIcon.d.ts +0 -0
- /package/dist/{cjs/Icons → Icons}/Construction/SpaceIcon.d.ts +0 -0
- /package/dist/{cjs/Icons → Icons}/DocumentIcon.d.ts +0 -0
- /package/dist/{cjs/Icons → Icons}/Entities/CheckListIcon.d.ts +0 -0
- /package/dist/{cjs/Icons → Icons}/Entities/GenericEntityIcon.d.ts +0 -0
- /package/dist/{cjs/Icons → Icons}/Entities/HandshakeIcon.d.ts +0 -0
- /package/dist/{cjs/Icons → Icons}/Entities/SupplierIcon.d.ts +0 -0
- /package/dist/{cjs/Services → Services}/FileService.d.ts +0 -0
- /package/dist/{cjs/Services → Services}/FormService.d.ts +0 -0
- /package/dist/{cjs/Services → Services}/OrganizationService.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/CustomBtn/CustomBtn.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/CustomBtn/CustomBtn.module.css +0 -0
- /package/dist/{cjs/Shared → Shared}/InputIcon/InputIcon.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/Loader/Loader.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/Loader/Loader.module.css +0 -0
- /package/dist/{cjs/Shared → Shared}/Navbar/Navbar.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/Navbar/Navbar.module.css +0 -0
- /package/dist/{cjs/Shared → Shared}/Navbar/Navbar.stories.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/Rating/Rating.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/Rating/Rating.module.css +0 -0
- /package/dist/{cjs/Shared → Shared}/Rating/Rating.stories.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/Rating/Ratings/LikeRating.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/Rating/Ratings/SatisfactionRating.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/Rating/Ratings/ScaleRating.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/RoundedButton/RoundedButton.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/RoundedButton/RoundedButton.stories.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/RoundedCheckBox/RoundedCheckBox.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/RoundedCheckBox/RoundedCheckBox.stories.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/RoundedDatePicker/RoundedDatePicker.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/RoundedDatePicker/RoundedDatePicker.stories.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/RoundedSelect/RoundedSelect.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/RoundedSelect/RoundedSelect.stories.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/RoundedSmartSelect/RoundedSmartSelect.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/RoundedSmartSelect/RoundedSmartSelect.stories.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/RoundedTextField/RoundedTextField.d.ts +0 -0
- /package/dist/{cjs/Shared → Shared}/RoundedTextField/RoundedTextField.stories.d.ts +0 -0
- /package/dist/{cjs/States → States}/GlobalSlice.d.ts +0 -0
- /package/dist/{cjs/States → States}/SiteSlice.d.ts +0 -0
- /package/dist/{cjs/States → States}/WidthStatsSlice.d.ts +0 -0
- /package/dist/{cjs/Utils → Utils}/AxiosAPI.d.ts +0 -0
- /package/dist/{cjs/Utils → Utils}/AxiosWidget.d.ts +0 -0
- /package/dist/{cjs/Utils → Utils}/CBRFunctions.d.ts +0 -0
- /package/dist/{cjs/Utils → Utils}/DraftFunctions.d.ts +0 -0
- /package/dist/{cjs/Utils → Utils}/MaterialProviders.d.ts +0 -0
- /package/dist/{cjs/Utils → Utils}/TestUtils.d.ts +0 -0
- /package/dist/{cjs/Utils → Utils}/store.d.ts +0 -0
- /package/dist/{cjs/Widget.d.ts → Widget.d.ts} +0 -0
- /package/dist/{cjs/__mocks__ → __mocks__}/axios.d.ts +0 -0
- /package/dist/{mjs/__mocks__ → __mocks__}/axios.js +0 -0
- /package/dist/{cjs/constants → constants}/AYFFormStepTypes.d.ts +0 -0
- /package/dist/{mjs/constants → constants}/AYFFormStepTypes.js +0 -0
- /package/dist/{cjs/constants → constants}/CBRFormStepTypes.d.ts +0 -0
- /package/dist/{mjs/constants → constants}/CBRFormStepTypes.js +0 -0
- /package/dist/{cjs/constants → constants}/Files/FileExtensions.d.ts +0 -0
- /package/dist/{cjs/constants → constants}/Files/FileMaxSize.d.ts +0 -0
- /package/dist/{cjs/constants → constants}/FormStepTypes.d.ts +0 -0
- /package/dist/{mjs/constants → constants}/FormStepTypes.js +0 -0
- /package/dist/{cjs/constants → constants}/IconTypes.d.ts +0 -0
- /package/dist/{mjs/constants → constants}/IconTypes.js +0 -0
- /package/dist/{cjs/constants → constants}/InternalFormStyle.d.ts +0 -0
- /package/dist/{cjs/constants → constants}/MaterialClassNameSeed.d.ts +0 -0
- /package/dist/{cjs/hooks.d.ts → hooks.d.ts} +0 -0
- /package/dist/{cjs/index.d.ts → index.d.ts} +0 -0
- /package/dist/{cjs/index.lib.d.ts → index.lib.d.ts} +0 -0
- /package/dist/{mjs/index.lib.js → index.lib.js} +0 -0
- /package/dist/{cjs/index.module.css → index.module.css} +0 -0
- /package/dist/{cjs/setupTests.d.ts → setupTests.d.ts} +0 -0
- /package/dist/{mjs/setupTests.js → setupTests.js} +0 -0
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
import Types, { ClassifierOptionTypes, OptionTypes, RatingTypes, MapperStyleTypes, EntityValueOptionTypes, EntityValueDataTypes, ApiSelectorOptionTypes, ApiSelectorParamTypes } from '../constants/FormStepTypes';
|
|
2
|
-
import * as GSteps from './GenericFormSteps';
|
|
3
|
-
export type FormStep = Title | Rating | CheckBox | TextArea | TextInput | DatePicker | FileUpload | Separator | FormSelector | ClassifierSelector | Collapsible | EntityValuePicker | ApiSelector | Mapper;
|
|
4
|
-
export interface Title extends GSteps.GBaseStep {
|
|
5
|
-
type: Types.TITLE;
|
|
6
|
-
title: string;
|
|
7
|
-
description: string | null;
|
|
8
|
-
size?: 1 | 2 | 3 | 4;
|
|
9
|
-
}
|
|
10
|
-
export interface CheckBox extends GSteps.GCheckBox {
|
|
11
|
-
type: Types.CHECKBOX;
|
|
12
|
-
steps?: string[];
|
|
13
|
-
uncheckedSteps?: string[];
|
|
14
|
-
maxSize?: number;
|
|
15
|
-
defaultValue?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface Rating extends GSteps.GBaseStep {
|
|
18
|
-
type: Types.RATING;
|
|
19
|
-
label: string;
|
|
20
|
-
description: string;
|
|
21
|
-
required: boolean;
|
|
22
|
-
ratingType: RatingTypes;
|
|
23
|
-
nestedSteps: string[][] | null;
|
|
24
|
-
}
|
|
25
|
-
export interface FileUpload extends GSteps.GBaseStep {
|
|
26
|
-
type: Types.FILEUPLOAD;
|
|
27
|
-
label: string;
|
|
28
|
-
description: string | null;
|
|
29
|
-
required: boolean;
|
|
30
|
-
}
|
|
31
|
-
export interface Separator extends GSteps.GSeparator {
|
|
32
|
-
type: Types.SEPARATOR;
|
|
33
|
-
}
|
|
34
|
-
export interface TextArea extends GSteps.GTextArea {
|
|
35
|
-
type: Types.TEXTAREA;
|
|
36
|
-
}
|
|
37
|
-
export interface TextInput extends GSteps.GTextInput {
|
|
38
|
-
type: Types.TEXTINPUT;
|
|
39
|
-
}
|
|
40
|
-
export interface DatePicker extends GSteps.GDatePicker {
|
|
41
|
-
type: Types.DATEPICKER;
|
|
42
|
-
}
|
|
43
|
-
export interface Collapsible extends GSteps.GBaseStep {
|
|
44
|
-
type: Types.COLLAPSIBLE;
|
|
45
|
-
label: string;
|
|
46
|
-
steps: string[];
|
|
47
|
-
defaultValue?: boolean;
|
|
48
|
-
}
|
|
49
|
-
export interface FormSelector extends GSteps.GBaseStep {
|
|
50
|
-
type: Types.SELECTOR;
|
|
51
|
-
label: string;
|
|
52
|
-
description: string;
|
|
53
|
-
required: boolean;
|
|
54
|
-
searchable: boolean;
|
|
55
|
-
options: FormSelectorOption[];
|
|
56
|
-
size: 1 | 2 | 3 | 4;
|
|
57
|
-
maxSize?: number;
|
|
58
|
-
defaultValue?: string;
|
|
59
|
-
}
|
|
60
|
-
export type FormSelectorOption = DefaultFormSelectorOption | NestedStepOption | AddSectionOption;
|
|
61
|
-
interface DefaultFormSelectorOption {
|
|
62
|
-
label: string;
|
|
63
|
-
value: string;
|
|
64
|
-
type: OptionTypes.DEFAULT;
|
|
65
|
-
}
|
|
66
|
-
export interface NestedStepOption {
|
|
67
|
-
label: string;
|
|
68
|
-
value: string;
|
|
69
|
-
type: OptionTypes.NESTED;
|
|
70
|
-
steps: string[];
|
|
71
|
-
}
|
|
72
|
-
interface AddSectionOption {
|
|
73
|
-
label: string;
|
|
74
|
-
value: string;
|
|
75
|
-
type: OptionTypes.ADD_SECTION;
|
|
76
|
-
idSection: string;
|
|
77
|
-
}
|
|
78
|
-
export interface ClassifierSelector extends GSteps.GBaseStep {
|
|
79
|
-
type: Types.CLASSIFIER_SELECTOR;
|
|
80
|
-
idClassifier: string | null;
|
|
81
|
-
label: string;
|
|
82
|
-
description: string;
|
|
83
|
-
searchable: boolean;
|
|
84
|
-
options: Record<string, FormClassifierSelectorOption>;
|
|
85
|
-
required: boolean;
|
|
86
|
-
size: 1 | 2 | 3 | 4;
|
|
87
|
-
maxSize?: number;
|
|
88
|
-
}
|
|
89
|
-
export type FormClassifierSelectorOption = NestedStepClassifierOption | HideValueOption;
|
|
90
|
-
interface NestedStepClassifierOption {
|
|
91
|
-
type: ClassifierOptionTypes.NESTED;
|
|
92
|
-
idClassifier: string;
|
|
93
|
-
steps: string[];
|
|
94
|
-
}
|
|
95
|
-
interface HideValueOption {
|
|
96
|
-
type: ClassifierOptionTypes.HIDE;
|
|
97
|
-
idClassifier: string;
|
|
98
|
-
}
|
|
99
|
-
export interface EntityValuePicker extends GSteps.GSmartSelect {
|
|
100
|
-
type: Types.ENTITYVALUEPICKER;
|
|
101
|
-
idEntity: string;
|
|
102
|
-
icon: string | null;
|
|
103
|
-
filters: EntityValuePickerFilter[];
|
|
104
|
-
path: EntityValuePickerPath[];
|
|
105
|
-
options: Record<string, FormEntityValuePickerOption>;
|
|
106
|
-
maxSize?: number;
|
|
107
|
-
}
|
|
108
|
-
export type FormEntityValuePickerOption = NestedEntityValuePickerOption | HideFormEntityValuePickerOption;
|
|
109
|
-
interface NestedEntityValuePickerOption {
|
|
110
|
-
type: EntityValueOptionTypes.NESTED;
|
|
111
|
-
idEntityValue: string;
|
|
112
|
-
steps: string[];
|
|
113
|
-
}
|
|
114
|
-
interface HideFormEntityValuePickerOption {
|
|
115
|
-
type: EntityValueOptionTypes.HIDE;
|
|
116
|
-
idEntityValue: string;
|
|
117
|
-
}
|
|
118
|
-
export type EntityValuePickerPath = StepEntityValuePickerPath | ValueEntityValuePickerPath;
|
|
119
|
-
export interface StepEntityValuePickerPath {
|
|
120
|
-
idEntity: string;
|
|
121
|
-
type: EntityValueDataTypes.STEP;
|
|
122
|
-
idStep: string;
|
|
123
|
-
any: boolean;
|
|
124
|
-
}
|
|
125
|
-
export interface ValueEntityValuePickerPath {
|
|
126
|
-
idEntity: string;
|
|
127
|
-
type: EntityValueDataTypes.VALUE;
|
|
128
|
-
idEntityValue: string | null;
|
|
129
|
-
}
|
|
130
|
-
export type EntityValuePickerFilter = StepEntityValuePickerFilter | ValueEntityValuePickerFilter;
|
|
131
|
-
export interface StepEntityValuePickerFilter {
|
|
132
|
-
idProperty: string;
|
|
133
|
-
type: EntityValueDataTypes.STEP;
|
|
134
|
-
idStep: string;
|
|
135
|
-
any: boolean;
|
|
136
|
-
required: boolean;
|
|
137
|
-
}
|
|
138
|
-
export interface ValueEntityValuePickerFilter {
|
|
139
|
-
idProperty: string;
|
|
140
|
-
type: EntityValueDataTypes.VALUE;
|
|
141
|
-
value: any;
|
|
142
|
-
}
|
|
143
|
-
export interface ApiSelector extends GSteps.GSmartSelect {
|
|
144
|
-
type: Types.API_SELECTOR;
|
|
145
|
-
icon: string | null;
|
|
146
|
-
url: string;
|
|
147
|
-
pathParams: ApiSelectorParam[];
|
|
148
|
-
queryParams: ApiSelectorParam[];
|
|
149
|
-
/** Headers? Body, etc?? */
|
|
150
|
-
labelAttribute: string;
|
|
151
|
-
idAttribute: string;
|
|
152
|
-
/** Only has maxSize if level === 0 */
|
|
153
|
-
maxSize?: number;
|
|
154
|
-
options: Record<string, ApiSelectorOption>;
|
|
155
|
-
}
|
|
156
|
-
export type ApiSelectorOption = NestedApiSelectorOption | HideApiSelectorOption;
|
|
157
|
-
interface NestedApiSelectorOption {
|
|
158
|
-
type: ApiSelectorOptionTypes.NESTED;
|
|
159
|
-
idOption: string;
|
|
160
|
-
steps: string[];
|
|
161
|
-
}
|
|
162
|
-
interface HideApiSelectorOption {
|
|
163
|
-
type: ApiSelectorOptionTypes.HIDE;
|
|
164
|
-
idOption: string;
|
|
165
|
-
}
|
|
166
|
-
export type ApiSelectorParam = StepApiSelectorParam | ValueApiSelectorParam;
|
|
167
|
-
export interface StepApiSelectorParam {
|
|
168
|
-
type: ApiSelectorParamTypes.STEP;
|
|
169
|
-
key: string;
|
|
170
|
-
idStep: string;
|
|
171
|
-
required: boolean;
|
|
172
|
-
}
|
|
173
|
-
export interface ValueApiSelectorParam {
|
|
174
|
-
type: ApiSelectorParamTypes.VALUE;
|
|
175
|
-
key: string;
|
|
176
|
-
value: string;
|
|
177
|
-
}
|
|
178
|
-
export interface Mapper extends GSteps.GBaseStep {
|
|
179
|
-
type: Types.MAPPER;
|
|
180
|
-
style: {
|
|
181
|
-
type: MapperStyleTypes;
|
|
182
|
-
size?: number;
|
|
183
|
-
};
|
|
184
|
-
label: string;
|
|
185
|
-
description: string | null;
|
|
186
|
-
addBtnLabel: string;
|
|
187
|
-
rootSteps: string[];
|
|
188
|
-
steps: Record<string, FormStep>;
|
|
189
|
-
required: boolean;
|
|
190
|
-
unitLabel: string;
|
|
191
|
-
creatable?: boolean;
|
|
192
|
-
deletable?: boolean;
|
|
193
|
-
max?: number;
|
|
194
|
-
}
|
|
195
|
-
export {};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export interface GBaseStep {
|
|
2
|
-
id: string;
|
|
3
|
-
idSection: string;
|
|
4
|
-
type: string;
|
|
5
|
-
editable?: boolean;
|
|
6
|
-
partial?: boolean;
|
|
7
|
-
dependencies?: string[];
|
|
8
|
-
}
|
|
9
|
-
export interface GTitle extends GBaseStep {
|
|
10
|
-
title: string;
|
|
11
|
-
description: string | null;
|
|
12
|
-
}
|
|
13
|
-
export interface GCheckBox extends GBaseStep {
|
|
14
|
-
label: string;
|
|
15
|
-
description: string | null;
|
|
16
|
-
required: boolean;
|
|
17
|
-
size: 1 | 2 | 3 | 4;
|
|
18
|
-
}
|
|
19
|
-
export interface GSeparator extends GBaseStep {
|
|
20
|
-
transparent: boolean;
|
|
21
|
-
}
|
|
22
|
-
export interface GTextArea extends GBaseStep {
|
|
23
|
-
label: string;
|
|
24
|
-
description: string | null;
|
|
25
|
-
required: boolean;
|
|
26
|
-
hasTextEditor: boolean;
|
|
27
|
-
}
|
|
28
|
-
export interface GTextInput extends GBaseStep {
|
|
29
|
-
label: string;
|
|
30
|
-
description: string | null;
|
|
31
|
-
validation?: {
|
|
32
|
-
message: string;
|
|
33
|
-
value: string;
|
|
34
|
-
type: 'EMAIL' | 'OTHER';
|
|
35
|
-
};
|
|
36
|
-
required: boolean;
|
|
37
|
-
showIcon?: boolean;
|
|
38
|
-
size: 1 | 2 | 3 | 4;
|
|
39
|
-
}
|
|
40
|
-
export interface GDatePicker extends GBaseStep {
|
|
41
|
-
label: string;
|
|
42
|
-
description: string | null;
|
|
43
|
-
pickTime: boolean;
|
|
44
|
-
required: boolean;
|
|
45
|
-
size: 1 | 2 | 3 | 4;
|
|
46
|
-
}
|
|
47
|
-
export interface GAgentPicker extends GBaseStep {
|
|
48
|
-
label: string;
|
|
49
|
-
description: string | null;
|
|
50
|
-
required: boolean;
|
|
51
|
-
multiple: boolean;
|
|
52
|
-
size: 1 | 2 | 3 | 4;
|
|
53
|
-
}
|
|
54
|
-
export interface GSmartSelect extends GBaseStep {
|
|
55
|
-
label: string;
|
|
56
|
-
description: string | null;
|
|
57
|
-
showIcon: boolean;
|
|
58
|
-
required: boolean;
|
|
59
|
-
searchable: boolean;
|
|
60
|
-
size: 1 | 2 | 3 | 4;
|
|
61
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './@Types';
|
package/dist/mjs/App/App.css
DELETED
package/dist/mjs/App/App.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Classifier, Form } from '../@Types/Form';
|
|
3
|
-
import './App.css';
|
|
4
|
-
import { CustomStep } from '../FormSteps/CustomStep';
|
|
5
|
-
export interface AppProps {
|
|
6
|
-
/** If the app is currently a widget */
|
|
7
|
-
isWidget?: boolean;
|
|
8
|
-
/** The apikey of the Form */
|
|
9
|
-
apiKey?: string;
|
|
10
|
-
/** The id of the form's organization */
|
|
11
|
-
idOrganization?: string;
|
|
12
|
-
/** The form to display, (used for postviews) */
|
|
13
|
-
formData?: Form;
|
|
14
|
-
/** If the widget is usedInternally */
|
|
15
|
-
internal?: boolean;
|
|
16
|
-
/** If the widget is a postview (view what the user filled)*/
|
|
17
|
-
postview?: boolean;
|
|
18
|
-
/** If postview should only show steps with values*/
|
|
19
|
-
partial?: boolean;
|
|
20
|
-
/** If the widget is a preview (view from admin)*/
|
|
21
|
-
preview?: boolean;
|
|
22
|
-
/** If the form can be edited (For entities) */
|
|
23
|
-
editable?: boolean;
|
|
24
|
-
/** The custom send label to display */
|
|
25
|
-
sendLabel?: string;
|
|
26
|
-
/** The data to fill the form with */
|
|
27
|
-
valuesData?: Record<string, unknown>;
|
|
28
|
-
/** Custom steps to display */
|
|
29
|
-
customSteps?: Record<string, CustomStep>;
|
|
30
|
-
/** Custom steps to display */
|
|
31
|
-
customStepProps?: Record<string, unknown>;
|
|
32
|
-
/** Classifiers dict */
|
|
33
|
-
classifiers?: Record<string, Classifier>;
|
|
34
|
-
/** Custom function to call on send */
|
|
35
|
-
customSubmit?: (values: Record<string, unknown>, reload: () => void) => Promise<void>;
|
|
36
|
-
/** Custom submit buttons */
|
|
37
|
-
customSubmitBtns?: (onSubmit: () => Promise<Record<string, any> | void>, loading: boolean) => JSX.Element;
|
|
38
|
-
/** Function to call on postview to fetch the download url of a file */
|
|
39
|
-
fetchDownloadUrl?: (S3Key: string, fileName: string) => Promise<string>;
|
|
40
|
-
/** Function to call after the confimation dialog has been closed */
|
|
41
|
-
handleConfirmed?: () => void;
|
|
42
|
-
/** Function called to scroll to the top */
|
|
43
|
-
scrollToTop?: () => void;
|
|
44
|
-
}
|
|
45
|
-
export declare const IdFormContext: React.Context<string>;
|
|
46
|
-
declare function AppComponent({ formData, valuesData, ...props }: AppProps): JSX.Element;
|
|
47
|
-
export default AppComponent;
|
package/dist/mjs/App/App.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import React, { createContext, useRef } from 'react';
|
|
3
|
-
import Loader from '../Shared/Loader/Loader';
|
|
4
|
-
import styles from './App.module.css';
|
|
5
|
-
import './App.css';
|
|
6
|
-
import FormComponent from '../Form/Form';
|
|
7
|
-
import { Provider } from 'react-redux';
|
|
8
|
-
import { store } from '../Utils/store';
|
|
9
|
-
import { useLogRocket, useSetupApp } from './AppHooks';
|
|
10
|
-
import { StoreContext, useAppSelector } from '../hooks';
|
|
11
|
-
import CustomContext from '../Contexts/CustomContext';
|
|
12
|
-
import { nanoid } from '@reduxjs/toolkit';
|
|
13
|
-
export const IdFormContext = createContext('');
|
|
14
|
-
function AppComponent({ formData, valuesData, ...props }) {
|
|
15
|
-
const [idForm] = React.useState(nanoid(6));
|
|
16
|
-
return (_jsx(IdFormContext.Provider, { value: idForm, children: _jsx(Provider, { store: store, context: StoreContext, children: _jsx(App, { formData: formData, valuesData: valuesData, ...props }) }) }));
|
|
17
|
-
}
|
|
18
|
-
export default AppComponent;
|
|
19
|
-
function App({ isWidget = true, ...props }) {
|
|
20
|
-
const containerRef = useRef(null);
|
|
21
|
-
const loaded = useAppSelector((state) => state.global.loaded);
|
|
22
|
-
const { form, organization, branding, reload } = useSetupApp(isWidget, props);
|
|
23
|
-
useLogRocket(organization, form, props);
|
|
24
|
-
const loading = form === undefined || organization === undefined || !loaded;
|
|
25
|
-
if (loading) {
|
|
26
|
-
if (isWidget) {
|
|
27
|
-
return (_jsx("div", { className: styles.widgetContainer, children: _jsx("div", { className: styles.curtain, children: _jsx(Loader, { size: 50, color: branding?.colors?.primaryColor ?? '#b8b8b8' }) }) }));
|
|
28
|
-
}
|
|
29
|
-
return (_jsx("div", { className: styles.curtain, children: _jsx(Loader, { size: 50, color: branding?.colors?.primaryColor ?? '#b8b8b8' }) }));
|
|
30
|
-
}
|
|
31
|
-
else if (form === null) {
|
|
32
|
-
if (organization === null) {
|
|
33
|
-
if (isWidget) {
|
|
34
|
-
return (_jsx("div", { className: styles.widgetContainer, children: _jsx("div", { className: styles.curtain, children: "Error" }) }));
|
|
35
|
-
}
|
|
36
|
-
return _jsx("div", { className: styles.curtain, children: "Error" });
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
if (isWidget) {
|
|
40
|
-
return (_jsx("div", { className: styles.widgetContainer, children: _jsx("div", { className: styles.curtain, children: "404" }) }));
|
|
41
|
-
}
|
|
42
|
-
return _jsx("div", { className: styles.curtain, children: "404" });
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
const customSteps = props.customSteps ?? {};
|
|
47
|
-
return (_jsx(CustomContext.Provider, { value: {
|
|
48
|
-
customSteps,
|
|
49
|
-
sendLabel: props.sendLabel,
|
|
50
|
-
fetchDownloadUrl: props.fetchDownloadUrl,
|
|
51
|
-
customStepProps: props.customStepProps ?? {},
|
|
52
|
-
}, children: _jsx("div", { className: styles.container, children: _jsx(FormComponent, { form: form, reload: reload, branding: branding, apiKey: props.apiKey, isWidget: !!isWidget, customSteps: customSteps, containerRef: containerRef, customSubmit: props.customSubmit, scrollToTop: props.scrollToTop, customSubmitBtns: props.customSubmitBtns }) }) }));
|
|
53
|
-
}
|
|
54
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
.curtain {
|
|
2
|
-
position: absolute;
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
max-width: 100%;
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
align-items: center;
|
|
9
|
-
background-color: white;
|
|
10
|
-
z-index: 5000;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
#widget:eureka {
|
|
14
|
-
min-height: inherit;
|
|
15
|
-
}
|
|
16
|
-
.container {
|
|
17
|
-
width: 100%;
|
|
18
|
-
position: relative;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.widgetContainer {
|
|
22
|
-
position: relative;
|
|
23
|
-
max-width: 100%;
|
|
24
|
-
height: 100%;
|
|
25
|
-
min-height: inherit;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.container *,
|
|
29
|
-
.container *::after,
|
|
30
|
-
.container *::before {
|
|
31
|
-
-webkit-box-sizing: content-box;
|
|
32
|
-
-moz-box-sizing: content-box;
|
|
33
|
-
box-sizing: content-box;
|
|
34
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Form } from '../@Types';
|
|
2
|
-
import { FormStep, Mapper } from '../@Types/FormStep';
|
|
3
|
-
import { SiteState, ValuesStore } from '../States/SiteSlice';
|
|
4
|
-
import { CustomStep } from '../FormSteps/CustomStep';
|
|
5
|
-
import { MapperElement } from '../@Types/MapperElement';
|
|
6
|
-
export declare const calcValuesStore: (form: Readonly<Form>, originalValues?: Record<string, any>, postview?: boolean, customSteps?: Record<string, CustomStep>) => ValuesStore;
|
|
7
|
-
export declare const addMapperStep: <Type>(step: Mapper, customSteps: Record<string, CustomStep>) => {
|
|
8
|
-
element: MapperElement<Type>;
|
|
9
|
-
/** Record of all the new mapper values created */
|
|
10
|
-
mappers: Record<string, MapperElement<Type>[]>;
|
|
11
|
-
/** Record of all the new steps created */
|
|
12
|
-
steps: Record<string, FormStep>;
|
|
13
|
-
};
|
|
14
|
-
export declare function calcRecursiveData<Type>(element: Readonly<MapperElement<Type>>, newSteps: Record<string, FormStep>, customSteps: Record<string, CustomStep>): void;
|
|
15
|
-
export declare const mapOriginalValue: (step: FormStep, value: any, values: ValuesStore, form?: Readonly<Form>) => any;
|
|
16
|
-
export declare const calcInitialSections: (form: Form) => Pick<SiteState, 'previousSections' | 'idCurrentSection' | 'nextSections'>;
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { nanoid } from 'nanoid';
|
|
2
|
-
import StepTypes, { FormTypes } from '../constants/FormStepTypes';
|
|
3
|
-
import { getRawText, stringToDraft } from '../Utils/DraftFunctions';
|
|
4
|
-
import { calcSubSteps } from '../FormSteps/StepFunctions';
|
|
5
|
-
export const calcValuesStore = (form, originalValues = {}, postview = false, customSteps = {}) => {
|
|
6
|
-
const values = {
|
|
7
|
-
global: {},
|
|
8
|
-
sections: {},
|
|
9
|
-
};
|
|
10
|
-
for (const idValue of Object.keys(originalValues)) {
|
|
11
|
-
const step = form.steps[idValue];
|
|
12
|
-
if (step && !form.hiddenSteps?.includes(step.id)) {
|
|
13
|
-
const value = mapOriginalValue(step, originalValues[step.id], values, form);
|
|
14
|
-
if (value !== undefined) {
|
|
15
|
-
if (!values.sections[step.idSection])
|
|
16
|
-
values.sections[step.idSection] = {};
|
|
17
|
-
values.sections[step.idSection][step.id] = value;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
values.global[idValue] = originalValues[idValue];
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
if (postview)
|
|
25
|
-
return values;
|
|
26
|
-
for (const section of Object.values(form.sections)) {
|
|
27
|
-
for (const idStep of section.steps) {
|
|
28
|
-
const step = form.steps[idStep];
|
|
29
|
-
if (step.type !== StepTypes.MAPPER ||
|
|
30
|
-
values.sections[step.idSection]?.[step.id])
|
|
31
|
-
continue;
|
|
32
|
-
if (!values.sections[step.idSection])
|
|
33
|
-
values.sections[step.idSection] = {};
|
|
34
|
-
const { element, mappers } = addMapperStep(step, customSteps);
|
|
35
|
-
values.sections[step.idSection] = {
|
|
36
|
-
...values.sections[step.idSection],
|
|
37
|
-
...mappers,
|
|
38
|
-
[step.id]: [element],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
return values;
|
|
43
|
-
};
|
|
44
|
-
export const addMapperStep = (step, customSteps) => {
|
|
45
|
-
const idElement = nanoid();
|
|
46
|
-
const element = {
|
|
47
|
-
ids: {},
|
|
48
|
-
id: idElement,
|
|
49
|
-
originalValues: {},
|
|
50
|
-
isOriginal: false,
|
|
51
|
-
};
|
|
52
|
-
let steps = {};
|
|
53
|
-
let mappers = {};
|
|
54
|
-
for (const idStep of Object.keys(step.steps)) {
|
|
55
|
-
const baseStep = JSON.parse(JSON.stringify(step.steps[idStep]));
|
|
56
|
-
const newIdStep = step.id + '-' + idStep + '-' + idElement;
|
|
57
|
-
baseStep.id = newIdStep;
|
|
58
|
-
element.ids[idStep] = newIdStep;
|
|
59
|
-
steps[newIdStep] = baseStep;
|
|
60
|
-
}
|
|
61
|
-
calcRecursiveData(element, steps, customSteps);
|
|
62
|
-
for (const nestedStep of Object.values(step.steps)) {
|
|
63
|
-
if (nestedStep.type === StepTypes.MAPPER) {
|
|
64
|
-
const nested = addMapperStep(nestedStep, customSteps);
|
|
65
|
-
steps = { ...steps, ...nested.steps };
|
|
66
|
-
mappers = { ...mappers, ...nested.mappers };
|
|
67
|
-
mappers[element.ids[nestedStep.id]] = [nested.element];
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
return { element, mappers, steps };
|
|
71
|
-
};
|
|
72
|
-
export function calcRecursiveData(element, newSteps, customSteps) {
|
|
73
|
-
if (!newSteps)
|
|
74
|
-
return;
|
|
75
|
-
for (const idStep of Object.keys(newSteps)) {
|
|
76
|
-
const step = newSteps[idStep];
|
|
77
|
-
step.id = idStep;
|
|
78
|
-
if (step.dependencies) {
|
|
79
|
-
for (let i = 0; i < step.dependencies.length; i++) {
|
|
80
|
-
const idDep = step.dependencies[i];
|
|
81
|
-
const newId = element.ids[idDep];
|
|
82
|
-
if (newId) {
|
|
83
|
-
step.dependencies[i] = newId;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
const custom = customSteps[step?.type];
|
|
88
|
-
if (custom?.calcRecursiveData) {
|
|
89
|
-
custom.calcRecursiveData(step, element.ids);
|
|
90
|
-
}
|
|
91
|
-
calcSubSteps(step.id, newSteps, (idStep) => element.ids[idStep] ?? idStep);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
export const mapOriginalValue = (step, value, values, form) => {
|
|
95
|
-
if (!value)
|
|
96
|
-
return value;
|
|
97
|
-
switch (step?.type) {
|
|
98
|
-
case StepTypes.MAPPER: {
|
|
99
|
-
const elements = value;
|
|
100
|
-
const mappedElements = [];
|
|
101
|
-
for (const element of elements) {
|
|
102
|
-
const idElement = element.id ?? nanoid();
|
|
103
|
-
const mappedElement = {
|
|
104
|
-
id: idElement,
|
|
105
|
-
ids: {},
|
|
106
|
-
originalValues: {},
|
|
107
|
-
isOriginal: true,
|
|
108
|
-
};
|
|
109
|
-
if (element.value) {
|
|
110
|
-
mappedElement.value = element.value;
|
|
111
|
-
}
|
|
112
|
-
for (const idStep of Object.keys(step.steps)) {
|
|
113
|
-
const newIdStep = step.id + '-' + idStep + '-' + idElement;
|
|
114
|
-
mappedElement.ids[idStep] = newIdStep;
|
|
115
|
-
const value = mapOriginalValue(step.steps[idStep], element[idStep], values, form);
|
|
116
|
-
if (value !== undefined) {
|
|
117
|
-
if (!values.sections[step.idSection])
|
|
118
|
-
values.sections[step.idSection] = {};
|
|
119
|
-
values.sections[step.idSection][newIdStep] = value;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
for (const key of Object.keys(element)) {
|
|
123
|
-
if (step.steps[key] || key === 'id')
|
|
124
|
-
continue;
|
|
125
|
-
mappedElement.originalValues[key] = element[key];
|
|
126
|
-
}
|
|
127
|
-
mappedElements.push(mappedElement);
|
|
128
|
-
}
|
|
129
|
-
return mappedElements;
|
|
130
|
-
}
|
|
131
|
-
case StepTypes.TEXTAREA: {
|
|
132
|
-
if (step.hasTextEditor) {
|
|
133
|
-
if (typeof value === 'string') {
|
|
134
|
-
return stringToDraft(value);
|
|
135
|
-
}
|
|
136
|
-
return getRawText(value?.draft, value?.text);
|
|
137
|
-
}
|
|
138
|
-
const defaultValue = value.value ?? value;
|
|
139
|
-
if (typeof defaultValue === 'string') {
|
|
140
|
-
return defaultValue;
|
|
141
|
-
}
|
|
142
|
-
else {
|
|
143
|
-
return defaultValue?.text ?? '';
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
case StepTypes.SELECTOR: {
|
|
147
|
-
const option = step.options.find((option) => option.value === value);
|
|
148
|
-
if (!value?.value)
|
|
149
|
-
return option;
|
|
150
|
-
return value;
|
|
151
|
-
}
|
|
152
|
-
case StepTypes.CLASSIFIER_SELECTOR: {
|
|
153
|
-
const stepClassifier = form?.classifiers?.[step.idClassifier ?? ''];
|
|
154
|
-
if (stepClassifier && !value.value) {
|
|
155
|
-
const classifier = form.classifiers?.[value];
|
|
156
|
-
return { value, label: classifier?.name };
|
|
157
|
-
}
|
|
158
|
-
break;
|
|
159
|
-
}
|
|
160
|
-
default:
|
|
161
|
-
if (step.type.startsWith('CBR_') &&
|
|
162
|
-
value?.id &&
|
|
163
|
-
typeof value.id === 'number') {
|
|
164
|
-
return { ...value, id: value.id.toString() };
|
|
165
|
-
}
|
|
166
|
-
return value;
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
export const calcInitialSections = (form) => {
|
|
170
|
-
const previousSections = [];
|
|
171
|
-
const nextSections = calcNextSections(form.firstSection, form);
|
|
172
|
-
let idCurrentSection = null;
|
|
173
|
-
if (form.type === FormTypes.STEPPER) {
|
|
174
|
-
const firstSection = nextSections.shift();
|
|
175
|
-
if (firstSection)
|
|
176
|
-
idCurrentSection = firstSection;
|
|
177
|
-
}
|
|
178
|
-
return { previousSections, idCurrentSection, nextSections };
|
|
179
|
-
};
|
|
180
|
-
const calcNextSections = (idSection, form) => {
|
|
181
|
-
const section = form.sections[idSection];
|
|
182
|
-
if (!section)
|
|
183
|
-
return [];
|
|
184
|
-
const sections = [idSection];
|
|
185
|
-
if (section.nextSection)
|
|
186
|
-
sections.push(...calcNextSections(section.nextSection, form));
|
|
187
|
-
return sections;
|
|
188
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Form, Organization } from '../@Types';
|
|
2
|
-
import { AppProps } from './App';
|
|
3
|
-
import { Branding } from '../@Types/Branding';
|
|
4
|
-
export declare const useSetupApp: (isEmbedded: boolean, { preview, internal, postview, partial, editable, handleConfirmed, customSteps, valuesData, apiKey, formData, classifiers, ...others }: Omit<AppProps, 'isWidget'>) => {
|
|
5
|
-
form: Form | undefined | null;
|
|
6
|
-
organization: Organization | undefined | null;
|
|
7
|
-
branding: Branding | undefined;
|
|
8
|
-
reload: () => void;
|
|
9
|
-
};
|
|
10
|
-
export declare const useLogRocket: (organization: Organization | null | undefined, form: Form | null | undefined, { apiKey, internal, postview, preview, }: Pick<AppProps, 'apiKey' | 'internal' | 'postview' | 'preview'>) => void;
|