@arquimedes.co/eureka-forms 2.0.32 → 2.0.34-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/.babelrc.json +18 -0
- package/.dockerignore +1 -0
- package/.env +4 -0
- package/.eslintrc.js +40 -0
- package/.gitattributes +1 -0
- package/.github/workflows/CI-CD.yml +76 -0
- package/.github/workflows/Deploy-Forms.yml +253 -0
- package/.github/workflows/Test-Forms.yml +193 -0
- package/.prettierrc.yaml +11 -0
- package/.storybook/main.ts +55 -0
- package/.storybook/preview-head.html +1 -0
- package/.storybook/preview.tsx +29 -0
- package/.vscode/settings.json +7 -0
- package/ContentTemplate.yaml +92 -0
- package/Embeddables/.env +3 -0
- package/Embeddables/package-lock.json +45340 -0
- package/Embeddables/package.json +38 -0
- package/Embeddables/public/favicon.ico +0 -0
- package/Embeddables/public/index.html +22 -0
- package/Embeddables/src/App.module.css +30 -0
- package/Embeddables/src/App.tsx +21 -0
- package/Embeddables/src/LibComponent.tsx +20 -0
- package/Embeddables/src/WidgetComponent.tsx +38 -0
- package/Embeddables/src/index.tsx +10 -0
- package/Embeddables/tsconfig.json +4 -0
- package/LocalEmbeddables.sh +26 -0
- package/README +1 -1
- package/base.tsconfig.json +44 -0
- package/cjs.tsconfig.json +8 -0
- package/content/Capta/Capta.svg +1 -0
- package/content/Capta/CaptaIcon.png +0 -0
- package/content/Capta/CaptaSmall.svg +1 -0
- 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 +1 -0
- package/content/Capta/CaptaWhiteSmall.svg +1 -0
- 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 +8 -0
- package/cypress/e2e/Lib.cy.ts +95 -0
- package/cypress/e2e/Standalone.cy.ts +94 -0
- package/cypress/e2e/Widget.cy.ts +95 -0
- package/cypress/fixtures/Capta.png +0 -0
- package/cypress/fixtures/example.json +5 -0
- package/cypress/fixtures/example.txt +1 -0
- package/cypress/support/commands.ts +88 -0
- package/cypress/support/e2e.ts +20 -0
- package/cypress/temp.tsconfig.json +7 -0
- package/cypress/utils/checkInvalidStep.ts +148 -0
- package/cypress/utils/checkValidStep.ts +359 -0
- package/cypress/utils/validateRequest.ts +83 -0
- package/cypress.config.ts +13 -0
- package/dist/cjs/@Types/@Types.js +2 -0
- package/dist/cjs/@Types/AYFFormStep.js +2 -0
- package/dist/cjs/@Types/Branding.js +2 -0
- package/dist/cjs/@Types/CBRFormStep.js +2 -0
- package/dist/cjs/@Types/Form.js +2 -0
- package/dist/cjs/@Types/FormStep.js +2 -0
- package/dist/cjs/@Types/GenericFormSteps.js +2 -0
- package/dist/cjs/@Types/MapperElement.js +2 -0
- package/dist/cjs/@Types/Organization.js +2 -0
- package/dist/cjs/@Types/index.js +17 -0
- package/dist/cjs/App/App.js +97 -0
- package/dist/cjs/App/AppFunctions.js +217 -0
- package/dist/cjs/App/AppHooks.js +191 -0
- package/dist/cjs/Contexts/CustomContext.js +8 -0
- package/dist/cjs/Contexts/FormContext.js +21 -0
- package/dist/cjs/Contexts/SectionContext.js +5 -0
- package/dist/cjs/Form/ConfirmationDialog/ConfirmationDialog.js +26 -0
- package/dist/cjs/Form/Form.js +185 -0
- package/dist/cjs/Form/FormFunctions.js +223 -0
- package/dist/cjs/Form/FormHooks.js +51 -0
- package/dist/cjs/Form/FormTypes/ColumnForm/ColumnForm.js +50 -0
- package/dist/cjs/Form/FormTypes/StepperForm/StepperForm.js +96 -0
- package/dist/cjs/Form/Section/MaterialSection/MaterialSection.js +34 -0
- package/dist/cjs/Form/Section/Section.js +23 -0
- package/dist/cjs/Form/Terms/Term/MaterialTerm/MaterialTerm.js +92 -0
- package/dist/cjs/Form/Terms/Term/Term.js +19 -0
- package/dist/cjs/Form/Terms/Terms.js +37 -0
- package/dist/cjs/FormSteps/@Construction/CBRElementStep/CBRElementStep.js +95 -0
- package/dist/cjs/FormSteps/@Construction/CBRIncidentsStep/CBRIncidentsStep.js +19 -0
- package/dist/cjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.js +49 -0
- package/dist/cjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.js +111 -0
- package/dist/cjs/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.js +128 -0
- package/dist/cjs/FormSteps/AYFStepMapper.js +111 -0
- package/dist/cjs/FormSteps/ApiSelectorStep/ApiSelectorStep.js +19 -0
- package/dist/cjs/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.js +135 -0
- package/dist/cjs/FormSteps/CBRStepMapper.js +131 -0
- package/dist/cjs/FormSteps/CheckBoxStep/CheckBoxStep.js +19 -0
- package/dist/cjs/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.js +63 -0
- package/dist/cjs/FormSteps/ClassifierSelectorStep/ClassifierSelectorStep.js +19 -0
- package/dist/cjs/FormSteps/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.js +89 -0
- package/dist/cjs/FormSteps/CollapsibleStep/CollapsibleStep.js +33 -0
- package/dist/cjs/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.js +97 -0
- package/dist/cjs/FormSteps/CustomStep.js +36 -0
- package/dist/cjs/FormSteps/DatePickerStep/DatePickerStep.js +19 -0
- package/dist/cjs/FormSteps/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.js +22 -0
- package/dist/cjs/FormSteps/EntityValueStep/EntityValuePickerStep.js +19 -0
- package/dist/cjs/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.js +122 -0
- package/dist/cjs/FormSteps/FileUploadStep/FileUploadStep.js +19 -0
- package/dist/cjs/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.js +85 -0
- package/dist/cjs/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.js +193 -0
- package/dist/cjs/FormSteps/MapperStep/MapperStep.js +19 -0
- package/dist/cjs/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.js +45 -0
- package/dist/cjs/FormSteps/MapperStep/MaterialMapperStep/Element/MapperElementComponent.js +68 -0
- package/dist/cjs/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.js +45 -0
- package/dist/cjs/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.js +163 -0
- package/dist/cjs/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.js +77 -0
- package/dist/cjs/FormSteps/RatingStep/RatingStep.js +19 -0
- package/dist/cjs/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.js +76 -0
- package/dist/cjs/FormSteps/SelectorStep/SelectorStep.js +19 -0
- package/dist/cjs/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.js +17 -0
- package/dist/cjs/FormSteps/SeparatorStep/SeparatorStep.js +19 -0
- package/dist/cjs/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.js +139 -0
- package/dist/cjs/FormSteps/SmartSelectStep/SmartSelectStep.js +19 -0
- package/dist/cjs/FormSteps/Step.js +114 -0
- package/dist/cjs/FormSteps/StepFunctions.js +257 -0
- package/dist/cjs/FormSteps/StepHooks.js +131 -0
- package/dist/cjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.js +142 -0
- package/dist/cjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.js +31 -0
- package/dist/cjs/FormSteps/TextAreaStep/TextAreaStep.js +23 -0
- package/dist/cjs/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.js +45 -0
- package/dist/cjs/FormSteps/TextInputStep/TextInputStep.js +19 -0
- package/dist/cjs/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.js +38 -0
- package/dist/cjs/FormSteps/TitleStep/TitleStep.js +19 -0
- package/dist/cjs/FormSteps/Utils/@StepFiller/StepFiller.js +41 -0
- package/dist/cjs/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.js +25 -0
- package/dist/cjs/Icons/Construction/LeakIcon.js +8 -0
- package/dist/cjs/Icons/Construction/ProjectIcon.js +8 -0
- package/dist/cjs/Icons/Construction/PropertyIcon.js +8 -0
- package/dist/cjs/Icons/Construction/SpaceIcon.js +8 -0
- package/dist/cjs/Icons/DocumentIcon.js +8 -0
- package/dist/cjs/Icons/Entities/CheckListIcon.js +8 -0
- package/dist/cjs/Icons/Entities/GenericEntityIcon.js +8 -0
- package/dist/cjs/Icons/Entities/HandshakeIcon.js +8 -0
- package/dist/cjs/Icons/Entities/SupplierIcon.js +8 -0
- package/dist/cjs/Services/FileService.js +57 -0
- package/dist/cjs/Services/FormService.js +31 -0
- package/dist/cjs/Services/OrganizationService.js +31 -0
- package/dist/cjs/Shared/CustomBtn/CustomBtn.js +58 -0
- package/dist/cjs/Shared/InputIcon/InputIcon.js +88 -0
- package/dist/cjs/Shared/Loader/Loader.js +19 -0
- package/dist/cjs/Shared/Navbar/Navbar.js +11 -0
- package/dist/cjs/Shared/Navbar/Navbar.stories.js +19 -0
- package/dist/cjs/Shared/Rating/Rating.js +35 -0
- package/dist/cjs/Shared/Rating/Rating.stories.js +65 -0
- package/dist/cjs/Shared/Rating/Ratings/LikeRating.js +36 -0
- package/dist/cjs/Shared/Rating/Ratings/SatisfactionRating.js +54 -0
- package/dist/cjs/Shared/Rating/Ratings/ScaleRating.js +53 -0
- package/dist/cjs/Shared/RoundedButton/RoundedButton.js +35 -0
- package/dist/cjs/Shared/RoundedButton/RoundedButton.stories.js +42 -0
- package/dist/cjs/Shared/RoundedCheckBox/RoundedCheckBox.js +73 -0
- package/dist/cjs/Shared/RoundedCheckBox/RoundedCheckBox.stories.js +56 -0
- package/dist/cjs/Shared/RoundedDatePicker/RoundedDatePicker.js +337 -0
- package/dist/cjs/Shared/RoundedDatePicker/RoundedDatePicker.stories.js +153 -0
- package/dist/cjs/Shared/RoundedSelect/RoundedSelect.js +207 -0
- package/dist/cjs/Shared/RoundedSelect/RoundedSelect.stories.js +86 -0
- package/dist/cjs/Shared/RoundedSmartSelect/RoundedSmartSelect.js +245 -0
- package/dist/cjs/Shared/RoundedSmartSelect/RoundedSmartSelect.stories.js +198 -0
- package/dist/cjs/Shared/RoundedTextField/RoundedTextField.js +147 -0
- package/dist/cjs/Shared/RoundedTextField/RoundedTextField.stories.js +154 -0
- package/dist/cjs/States/GlobalSlice.js +29 -0
- package/dist/cjs/States/SiteSlice.js +112 -0
- package/dist/cjs/States/WidthStatsSlice.js +25 -0
- package/dist/cjs/Utils/AxiosAPI.js +13 -0
- package/dist/cjs/Utils/AxiosWidget.js +13 -0
- package/dist/cjs/Utils/CBRFunctions.js +47 -0
- package/dist/cjs/Utils/DraftFunctions.js +48 -0
- package/dist/cjs/Utils/MaterialProviders.js +24 -0
- package/dist/cjs/Utils/TestUtils.js +56 -0
- package/dist/cjs/Utils/store.js +46 -0
- package/dist/cjs/Widget.js +57 -0
- package/dist/cjs/__mocks__/axios.js +7 -0
- package/dist/cjs/constants/AYFFormStepTypes.js +13 -0
- package/dist/cjs/constants/CBRFormStepTypes.js +24 -0
- package/dist/cjs/constants/Files/FileExtensions.js +72 -0
- package/dist/cjs/constants/Files/FileMaxSize.js +4 -0
- package/dist/cjs/constants/FormStepTypes.js +73 -0
- package/dist/cjs/constants/IconTypes.js +16 -0
- package/dist/cjs/constants/InternalFormStyle.js +18 -0
- package/dist/cjs/constants/MaterialClassNameSeed.js +4 -0
- package/dist/cjs/hooks.js +32 -0
- package/dist/cjs/index.js +48 -0
- package/dist/cjs/index.lib.js +36 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/setupTests.js +7 -0
- package/dist/mjs/@Types/@Types.d.ts +2 -0
- package/dist/mjs/@Types/AYFFormStep.d.ts +19 -0
- package/dist/mjs/@Types/Branding.d.ts +13 -0
- package/dist/mjs/@Types/CBRFormStep.d.ts +74 -0
- package/dist/mjs/@Types/Form.d.ts +68 -0
- package/dist/mjs/@Types/FormStep.d.ts +195 -0
- package/dist/mjs/@Types/GenericFormSteps.d.ts +61 -0
- package/dist/mjs/@Types/MapperElement.d.ts +8 -0
- package/dist/mjs/@Types/Organization.d.ts +9 -0
- package/dist/mjs/@Types/index.js +1 -0
- package/dist/mjs/App/App.css +6 -0
- package/dist/mjs/App/App.d.ts +47 -0
- package/dist/mjs/App/App.js +54 -0
- package/dist/mjs/App/App.module.css +34 -0
- package/dist/mjs/App/AppFunctions.d.ts +16 -0
- package/dist/mjs/App/AppFunctions.js +188 -0
- package/dist/mjs/App/AppHooks.d.ts +10 -0
- package/dist/mjs/App/AppHooks.js +152 -0
- package/dist/mjs/Contexts/CustomContext.d.ts +11 -0
- package/dist/mjs/Contexts/CustomContext.js +6 -0
- package/dist/mjs/Contexts/FormContext.d.ts +4 -0
- package/dist/mjs/Contexts/FormContext.js +19 -0
- package/dist/mjs/Contexts/SectionContext.d.ts +3 -0
- package/dist/mjs/Contexts/SectionContext.js +3 -0
- package/dist/mjs/Form/ConfirmationDialog/ConfirmationDialog.d.ts +10 -0
- package/dist/mjs/Form/ConfirmationDialog/ConfirmationDialog.js +21 -0
- package/dist/mjs/Form/ConfirmationDialog/ConfirmationDialog.module.css +64 -0
- package/dist/mjs/Form/Form.d.ts +40 -0
- package/dist/mjs/Form/Form.js +149 -0
- package/dist/mjs/Form/Form.module.css +39 -0
- package/dist/mjs/Form/FormFunctions.d.ts +12 -0
- package/dist/mjs/Form/FormFunctions.js +189 -0
- package/dist/mjs/Form/FormHooks.d.ts +9 -0
- package/dist/mjs/Form/FormHooks.js +46 -0
- package/dist/mjs/Form/FormTypes/ColumnForm/ColumnForm.d.ts +4 -0
- package/dist/mjs/Form/FormTypes/ColumnForm/ColumnForm.js +36 -0
- package/dist/mjs/Form/FormTypes/ColumnForm/ColumnForm.module.css +19 -0
- package/dist/mjs/Form/FormTypes/StepperForm/StepperForm.d.ts +4 -0
- package/dist/mjs/Form/FormTypes/StepperForm/StepperForm.js +62 -0
- package/dist/mjs/Form/FormTypes/StepperForm/StepperForm.module.css +26 -0
- package/dist/mjs/Form/Section/MaterialSection/MaterialSection.d.ts +4 -0
- package/dist/mjs/Form/Section/MaterialSection/MaterialSection.js +28 -0
- package/dist/mjs/Form/Section/MaterialSection/MaterialSection.module.css +8 -0
- package/dist/mjs/Form/Section/Section.d.ts +6 -0
- package/dist/mjs/Form/Section/Section.js +18 -0
- package/dist/mjs/Form/Terms/Term/MaterialTerm/MaterialTerm.d.ts +4 -0
- package/dist/mjs/Form/Terms/Term/MaterialTerm/MaterialTerm.js +75 -0
- package/dist/mjs/Form/Terms/Term/MaterialTerm/MaterialTerm.module.css +83 -0
- package/dist/mjs/Form/Terms/Term/Term.d.ts +8 -0
- package/dist/mjs/Form/Terms/Term/Term.js +14 -0
- package/dist/mjs/Form/Terms/Terms.d.ts +3 -0
- package/dist/mjs/Form/Terms/Terms.js +32 -0
- package/dist/mjs/Form/Terms/Terms.module.css +3 -0
- package/dist/mjs/FormSteps/@Construction/CBRElementStep/CBRElementStep.d.ts +8 -0
- package/dist/mjs/FormSteps/@Construction/CBRElementStep/CBRElementStep.js +67 -0
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/CBRIncidentsStep.d.ts +9 -0
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/CBRIncidentsStep.js +14 -0
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.d.ts +8 -0
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.js +32 -0
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.module.css +60 -0
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.d.ts +11 -0
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.js +113 -0
- package/dist/mjs/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.module.css +34 -0
- package/dist/mjs/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.d.ts +8 -0
- package/dist/mjs/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.js +90 -0
- package/dist/mjs/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.module.css +54 -0
- package/dist/mjs/FormSteps/AYFStepMapper.d.ts +12 -0
- package/dist/mjs/FormSteps/AYFStepMapper.js +96 -0
- package/dist/mjs/FormSteps/ApiSelectorStep/ApiSelectorStep.d.ts +15 -0
- package/dist/mjs/FormSteps/ApiSelectorStep/ApiSelectorStep.js +14 -0
- package/dist/mjs/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.d.ts +4 -0
- package/dist/mjs/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.js +79 -0
- package/dist/mjs/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.module.css +0 -0
- package/dist/mjs/FormSteps/CBRStepMapper.d.ts +13 -0
- package/dist/mjs/FormSteps/CBRStepMapper.js +115 -0
- package/dist/mjs/FormSteps/CheckBoxStep/CheckBoxStep.d.ts +9 -0
- package/dist/mjs/FormSteps/CheckBoxStep/CheckBoxStep.js +14 -0
- package/dist/mjs/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.d.ts +4 -0
- package/dist/mjs/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.js +34 -0
- package/dist/mjs/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.module.css +26 -0
- package/dist/mjs/FormSteps/ClassifierSelectorStep/ClassifierSelectorStep.d.ts +9 -0
- package/dist/mjs/FormSteps/ClassifierSelectorStep/ClassifierSelectorStep.js +14 -0
- package/dist/mjs/FormSteps/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.d.ts +4 -0
- package/dist/mjs/FormSteps/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.js +57 -0
- package/dist/mjs/FormSteps/CollapsibleStep/CollapsibleStep.d.ts +9 -0
- package/dist/mjs/FormSteps/CollapsibleStep/CollapsibleStep.js +16 -0
- package/dist/mjs/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.d.ts +4 -0
- package/dist/mjs/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.js +53 -0
- package/dist/mjs/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.module.css +62 -0
- package/dist/mjs/FormSteps/CustomStep.d.ts +26 -0
- package/dist/mjs/FormSteps/CustomStep.js +24 -0
- package/dist/mjs/FormSteps/DatePickerStep/DatePickerStep.d.ts +11 -0
- package/dist/mjs/FormSteps/DatePickerStep/DatePickerStep.js +14 -0
- package/dist/mjs/FormSteps/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.d.ts +4 -0
- package/dist/mjs/FormSteps/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.js +16 -0
- package/dist/mjs/FormSteps/EntityValueStep/EntityValuePickerStep.d.ts +15 -0
- package/dist/mjs/FormSteps/EntityValueStep/EntityValuePickerStep.js +14 -0
- package/dist/mjs/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.d.ts +4 -0
- package/dist/mjs/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.js +84 -0
- package/dist/mjs/FormSteps/FileUploadStep/FileUploadStep.d.ts +9 -0
- package/dist/mjs/FormSteps/FileUploadStep/FileUploadStep.js +14 -0
- package/dist/mjs/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.d.ts +13 -0
- package/dist/mjs/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.js +70 -0
- package/dist/mjs/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.module.css +53 -0
- package/dist/mjs/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.d.ts +18 -0
- package/dist/mjs/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.js +179 -0
- package/dist/mjs/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.module.css +52 -0
- package/dist/mjs/FormSteps/MapperStep/MapperStep.d.ts +17 -0
- package/dist/mjs/FormSteps/MapperStep/MapperStep.js +14 -0
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.d.ts +5 -0
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.js +39 -0
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.module.css +72 -0
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/MapperElementComponent.d.ts +12 -0
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/MapperElementComponent.js +41 -0
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.d.ts +5 -0
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.js +38 -0
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.module.css +71 -0
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.d.ts +17 -0
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.js +123 -0
- package/dist/mjs/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.module.css +41 -0
- package/dist/mjs/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.d.ts +4 -0
- package/dist/mjs/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.js +49 -0
- package/dist/mjs/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.module.css +30 -0
- package/dist/mjs/FormSteps/RatingStep/RatingStep.d.ts +9 -0
- package/dist/mjs/FormSteps/RatingStep/RatingStep.js +14 -0
- package/dist/mjs/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.d.ts +4 -0
- package/dist/mjs/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.js +47 -0
- package/dist/mjs/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.module.css +9 -0
- package/dist/mjs/FormSteps/SelectorStep/SelectorStep.d.ts +9 -0
- package/dist/mjs/FormSteps/SelectorStep/SelectorStep.js +14 -0
- package/dist/mjs/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.d.ts +4 -0
- package/dist/mjs/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.js +12 -0
- package/dist/mjs/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.module.css +7 -0
- package/dist/mjs/FormSteps/SeparatorStep/SeparatorStep.d.ts +9 -0
- package/dist/mjs/FormSteps/SeparatorStep/SeparatorStep.js +14 -0
- package/dist/mjs/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.d.ts +5 -0
- package/dist/mjs/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.js +128 -0
- package/dist/mjs/FormSteps/SmartSelectStep/SmartSelectStep.d.ts +31 -0
- package/dist/mjs/FormSteps/SmartSelectStep/SmartSelectStep.js +14 -0
- package/dist/mjs/FormSteps/Step.d.ts +8 -0
- package/dist/mjs/FormSteps/Step.js +96 -0
- package/dist/mjs/FormSteps/StepFunctions.d.ts +16 -0
- package/dist/mjs/FormSteps/StepFunctions.js +243 -0
- package/dist/mjs/FormSteps/StepHooks.d.ts +43 -0
- package/dist/mjs/FormSteps/StepHooks.js +114 -0
- package/dist/mjs/FormSteps/TextAreaStep/MaterialTextAreaStep/DraftEditor.css +96 -0
- package/dist/mjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.d.ts +10 -0
- package/dist/mjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.js +125 -0
- package/dist/mjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.d.ts +8 -0
- package/dist/mjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.js +27 -0
- package/dist/mjs/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.module.css +84 -0
- package/dist/mjs/FormSteps/TextAreaStep/TextAreaStep.d.ts +10 -0
- package/dist/mjs/FormSteps/TextAreaStep/TextAreaStep.js +18 -0
- package/dist/mjs/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.d.ts +4 -0
- package/dist/mjs/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.js +39 -0
- package/dist/mjs/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.module.css +9 -0
- package/dist/mjs/FormSteps/TextInputStep/TextInputStep.d.ts +17 -0
- package/dist/mjs/FormSteps/TextInputStep/TextInputStep.js +14 -0
- package/dist/mjs/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.d.ts +4 -0
- package/dist/mjs/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.js +32 -0
- package/dist/mjs/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.module.css +18 -0
- package/dist/mjs/FormSteps/TitleStep/TitleStep.d.ts +9 -0
- package/dist/mjs/FormSteps/TitleStep/TitleStep.js +14 -0
- package/dist/mjs/FormSteps/Utils/@StepFiller/StepFiller.d.ts +9 -0
- package/dist/mjs/FormSteps/Utils/@StepFiller/StepFiller.js +35 -0
- package/dist/mjs/FormSteps/Utils/@StepFiller/StepFiller.module.css +16 -0
- package/dist/mjs/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.d.ts +11 -0
- package/dist/mjs/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.js +20 -0
- package/dist/mjs/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.module.css +9 -0
- package/dist/mjs/Icons/Construction/LeakIcon.d.ts +3 -0
- package/dist/mjs/Icons/Construction/LeakIcon.js +5 -0
- package/dist/mjs/Icons/Construction/ProjectIcon.d.ts +3 -0
- package/dist/mjs/Icons/Construction/ProjectIcon.js +5 -0
- package/dist/mjs/Icons/Construction/PropertyIcon.d.ts +3 -0
- package/dist/mjs/Icons/Construction/PropertyIcon.js +5 -0
- package/dist/mjs/Icons/Construction/SpaceIcon.d.ts +3 -0
- package/dist/mjs/Icons/Construction/SpaceIcon.js +5 -0
- package/dist/mjs/Icons/DocumentIcon.d.ts +3 -0
- package/dist/mjs/Icons/DocumentIcon.js +5 -0
- package/dist/mjs/Icons/Entities/CheckListIcon.d.ts +3 -0
- package/dist/mjs/Icons/Entities/CheckListIcon.js +5 -0
- package/dist/mjs/Icons/Entities/GenericEntityIcon.d.ts +3 -0
- package/dist/mjs/Icons/Entities/GenericEntityIcon.js +3 -0
- package/dist/mjs/Icons/Entities/HandshakeIcon.d.ts +3 -0
- package/dist/mjs/Icons/Entities/HandshakeIcon.js +3 -0
- package/dist/mjs/Icons/Entities/SupplierIcon.d.ts +3 -0
- package/dist/mjs/Icons/Entities/SupplierIcon.js +3 -0
- package/dist/mjs/Services/FileService.d.ts +5 -0
- package/dist/mjs/Services/FileService.js +35 -0
- package/dist/mjs/Services/FormService.d.ts +5 -0
- package/dist/mjs/Services/FormService.js +13 -0
- package/dist/mjs/Services/OrganizationService.d.ts +2 -0
- package/dist/mjs/Services/OrganizationService.js +13 -0
- package/dist/mjs/Shared/CustomBtn/CustomBtn.d.ts +13 -0
- package/dist/mjs/Shared/CustomBtn/CustomBtn.js +32 -0
- package/dist/mjs/Shared/CustomBtn/CustomBtn.module.css +61 -0
- package/dist/mjs/Shared/InputIcon/InputIcon.d.ts +7 -0
- package/dist/mjs/Shared/InputIcon/InputIcon.js +71 -0
- package/dist/mjs/Shared/Loader/Loader.d.ts +18 -0
- package/dist/mjs/Shared/Loader/Loader.js +14 -0
- package/dist/mjs/Shared/Loader/Loader.module.css +12 -0
- package/dist/mjs/Shared/Navbar/Navbar.d.ts +9 -0
- package/dist/mjs/Shared/Navbar/Navbar.js +6 -0
- package/dist/mjs/Shared/Navbar/Navbar.module.css +8 -0
- package/dist/mjs/Shared/Navbar/Navbar.stories.d.ts +13 -0
- package/dist/mjs/Shared/Navbar/Navbar.stories.js +13 -0
- package/dist/mjs/Shared/Rating/Rating.d.ts +16 -0
- package/dist/mjs/Shared/Rating/Rating.js +18 -0
- package/dist/mjs/Shared/Rating/Rating.module.css +18 -0
- package/dist/mjs/Shared/Rating/Rating.stories.d.ts +15 -0
- package/dist/mjs/Shared/Rating/Rating.stories.js +59 -0
- package/dist/mjs/Shared/Rating/Ratings/LikeRating.d.ts +4 -0
- package/dist/mjs/Shared/Rating/Ratings/LikeRating.js +31 -0
- package/dist/mjs/Shared/Rating/Ratings/SatisfactionRating.d.ts +4 -0
- package/dist/mjs/Shared/Rating/Ratings/SatisfactionRating.js +49 -0
- package/dist/mjs/Shared/Rating/Ratings/ScaleRating.d.ts +4 -0
- package/dist/mjs/Shared/Rating/Ratings/ScaleRating.js +35 -0
- package/dist/mjs/Shared/RoundedButton/RoundedButton.d.ts +30 -0
- package/dist/mjs/Shared/RoundedButton/RoundedButton.js +33 -0
- package/dist/mjs/Shared/RoundedButton/RoundedButton.stories.d.ts +23 -0
- package/dist/mjs/Shared/RoundedButton/RoundedButton.stories.js +36 -0
- package/dist/mjs/Shared/RoundedCheckBox/RoundedCheckBox.d.ts +24 -0
- package/dist/mjs/Shared/RoundedCheckBox/RoundedCheckBox.js +56 -0
- package/dist/mjs/Shared/RoundedCheckBox/RoundedCheckBox.stories.d.ts +21 -0
- package/dist/mjs/Shared/RoundedCheckBox/RoundedCheckBox.stories.js +50 -0
- package/dist/mjs/Shared/RoundedDatePicker/RoundedDatePicker.d.ts +49 -0
- package/dist/mjs/Shared/RoundedDatePicker/RoundedDatePicker.js +297 -0
- package/dist/mjs/Shared/RoundedDatePicker/RoundedDatePicker.stories.d.ts +36 -0
- package/dist/mjs/Shared/RoundedDatePicker/RoundedDatePicker.stories.js +137 -0
- package/dist/mjs/Shared/RoundedSelect/RoundedSelect.d.ts +68 -0
- package/dist/mjs/Shared/RoundedSelect/RoundedSelect.js +160 -0
- package/dist/mjs/Shared/RoundedSelect/RoundedSelect.stories.d.ts +28 -0
- package/dist/mjs/Shared/RoundedSelect/RoundedSelect.stories.js +79 -0
- package/dist/mjs/Shared/RoundedSmartSelect/RoundedSmartSelect.d.ts +63 -0
- package/dist/mjs/Shared/RoundedSmartSelect/RoundedSmartSelect.js +197 -0
- package/dist/mjs/Shared/RoundedSmartSelect/RoundedSmartSelect.stories.d.ts +36 -0
- package/dist/mjs/Shared/RoundedSmartSelect/RoundedSmartSelect.stories.js +182 -0
- package/dist/mjs/Shared/RoundedTextField/RoundedTextField.d.ts +45 -0
- package/dist/mjs/Shared/RoundedTextField/RoundedTextField.js +129 -0
- package/dist/mjs/Shared/RoundedTextField/RoundedTextField.stories.d.ts +37 -0
- package/dist/mjs/Shared/RoundedTextField/RoundedTextField.stories.js +138 -0
- package/dist/mjs/States/GlobalSlice.d.ts +34 -0
- package/dist/mjs/States/GlobalSlice.js +23 -0
- package/dist/mjs/States/SiteSlice.d.ts +65 -0
- package/dist/mjs/States/SiteSlice.js +116 -0
- package/dist/mjs/States/WidthStatsSlice.d.ts +7 -0
- package/dist/mjs/States/WidthStatsSlice.js +22 -0
- package/dist/mjs/Utils/AxiosAPI.d.ts +2 -0
- package/dist/mjs/Utils/AxiosAPI.js +8 -0
- package/dist/mjs/Utils/AxiosWidget.d.ts +2 -0
- package/dist/mjs/Utils/AxiosWidget.js +8 -0
- package/dist/mjs/Utils/CBRFunctions.d.ts +8 -0
- package/dist/mjs/Utils/CBRFunctions.js +52 -0
- package/dist/mjs/Utils/DraftFunctions.d.ts +3 -0
- package/dist/mjs/Utils/DraftFunctions.js +43 -0
- package/dist/mjs/Utils/MaterialProviders.d.ts +6 -0
- package/dist/mjs/Utils/MaterialProviders.js +19 -0
- package/dist/mjs/Utils/TestUtils.d.ts +77 -0
- package/dist/mjs/Utils/TestUtils.js +41 -0
- package/dist/mjs/Utils/store.d.ts +27 -0
- package/dist/mjs/Utils/store.js +29 -0
- package/dist/mjs/Widget.d.ts +1 -0
- package/dist/mjs/Widget.js +51 -0
- package/dist/mjs/__mocks__/axios.js +2 -0
- package/dist/mjs/constants/AYFFormStepTypes.d.ts +9 -0
- package/dist/mjs/constants/CBRFormStepTypes.d.ts +21 -0
- package/dist/mjs/constants/Files/FileExtensions.d.ts +3 -0
- package/dist/mjs/constants/Files/FileExtensions.js +68 -0
- package/dist/mjs/constants/Files/FileMaxSize.d.ts +2 -0
- package/dist/mjs/constants/Files/FileMaxSize.js +2 -0
- package/dist/mjs/constants/FormStepTypes.d.ts +59 -0
- package/dist/mjs/constants/IconTypes.d.ts +12 -0
- package/dist/mjs/constants/InternalFormStyle.d.ts +3 -0
- package/dist/mjs/constants/InternalFormStyle.js +16 -0
- package/dist/mjs/constants/MaterialClassNameSeed.d.ts +1 -0
- package/dist/mjs/constants/MaterialClassNameSeed.js +1 -0
- package/dist/mjs/hooks.d.ts +7 -0
- package/dist/mjs/hooks.js +23 -0
- package/dist/mjs/index.d.ts +1 -0
- package/dist/mjs/index.js +20 -0
- package/dist/mjs/index.lib.d.ts +7 -0
- package/dist/mjs/index.module.css +14 -0
- package/dist/mjs/setupTests.d.ts +1 -0
- package/fixup.sh +5 -0
- package/jest.config.js +5 -0
- package/package.json +10 -6
- package/public/favicon.ico +0 -0
- package/public/index.html +22 -0
- package/src/@Types/@Types.ts +2 -0
- package/src/@Types/AYFFormStep.ts +29 -0
- package/src/@Types/Branding.ts +13 -0
- package/src/@Types/CBRFormStep.ts +110 -0
- package/src/@Types/Form.ts +73 -0
- package/src/@Types/FormStep.ts +257 -0
- package/src/@Types/GenericFormSteps.ts +66 -0
- package/src/@Types/MapperElement.ts +8 -0
- package/src/@Types/Organization.ts +10 -0
- package/src/@Types/index.ts +1 -0
- package/src/App/App.css +6 -0
- package/src/App/App.module.css +34 -0
- package/src/App/App.tsx +160 -0
- package/src/App/AppFunctions.test.ts +747 -0
- package/src/App/AppFunctions.ts +240 -0
- package/src/App/AppHooks.test.ts +139 -0
- package/src/App/AppHooks.ts +217 -0
- package/src/Contexts/CustomContext.ts +16 -0
- package/src/Contexts/FormContext.ts +22 -0
- package/src/Contexts/SectionContext.ts +5 -0
- package/src/Form/ConfirmationDialog/ConfirmationDialog.module.css +64 -0
- package/src/Form/ConfirmationDialog/ConfirmationDialog.tsx +79 -0
- package/src/Form/Form.module.css +39 -0
- package/src/Form/Form.tsx +295 -0
- package/src/Form/FormFunctions.test.ts +583 -0
- package/src/Form/FormFunctions.ts +263 -0
- package/src/Form/FormHooks.ts +68 -0
- package/src/Form/FormTypes/ColumnForm/ColumnForm.module.css +19 -0
- package/src/Form/FormTypes/ColumnForm/ColumnForm.tsx +85 -0
- package/src/Form/FormTypes/StepperForm/StepperForm.module.css +26 -0
- package/src/Form/FormTypes/StepperForm/StepperForm.tsx +120 -0
- package/src/Form/Section/MaterialSection/MaterialSection.module.css +8 -0
- package/src/Form/Section/MaterialSection/MaterialSection.tsx +44 -0
- package/src/Form/Section/Section.tsx +25 -0
- package/src/Form/Terms/Term/MaterialTerm/MaterialTerm.module.css +83 -0
- package/src/Form/Terms/Term/MaterialTerm/MaterialTerm.tsx +160 -0
- package/src/Form/Terms/Term/Term.tsx +20 -0
- package/src/Form/Terms/Terms.module.css +3 -0
- package/src/Form/Terms/Terms.tsx +54 -0
- package/src/FormSteps/@Construction/CBRElementStep/CBRElementStep.tsx +129 -0
- package/src/FormSteps/@Construction/CBRIncidentsStep/CBRIncidentsStep.tsx +20 -0
- package/src/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.module.css +60 -0
- package/src/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.tsx +81 -0
- package/src/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.module.css +34 -0
- package/src/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.tsx +210 -0
- package/src/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.module.css +54 -0
- package/src/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.tsx +183 -0
- package/src/FormSteps/AYFStepMapper.tsx +177 -0
- package/src/FormSteps/ApiSelectorStep/ApiSelectorStep.tsx +28 -0
- package/src/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.module.css +0 -0
- package/src/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.tsx +126 -0
- package/src/FormSteps/CBRStepMapper.tsx +256 -0
- package/src/FormSteps/CheckBoxStep/CheckBoxStep.tsx +20 -0
- package/src/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.module.css +26 -0
- package/src/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.tsx +83 -0
- package/src/FormSteps/ClassifierSelectorStep/ClassifierSelectorStep.tsx +22 -0
- package/src/FormSteps/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.tsx +120 -0
- package/src/FormSteps/CollapsibleStep/CollapsibleStep.tsx +24 -0
- package/src/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.module.css +62 -0
- package/src/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.tsx +129 -0
- package/src/FormSteps/CustomStep.tsx +57 -0
- package/src/FormSteps/DatePickerStep/DatePickerStep.tsx +22 -0
- package/src/FormSteps/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.tsx +51 -0
- package/src/FormSteps/EntityValueStep/EntityValuePickerStep.tsx +28 -0
- package/src/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.tsx +132 -0
- package/src/FormSteps/FileUploadStep/FileUploadStep.tsx +20 -0
- package/src/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.module.css +53 -0
- package/src/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.tsx +142 -0
- package/src/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.module.css +52 -0
- package/src/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.tsx +294 -0
- package/src/FormSteps/MapperStep/MapperStep.tsx +40 -0
- package/src/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.module.css +72 -0
- package/src/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.tsx +108 -0
- package/src/FormSteps/MapperStep/MaterialMapperStep/Element/MapperElementComponent.tsx +76 -0
- package/src/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.module.css +71 -0
- package/src/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.tsx +95 -0
- package/src/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.module.css +41 -0
- package/src/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.tsx +296 -0
- package/src/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.module.css +30 -0
- package/src/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.tsx +98 -0
- package/src/FormSteps/RatingStep/RatingStep.tsx +20 -0
- package/src/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.module.css +9 -0
- package/src/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.tsx +105 -0
- package/src/FormSteps/SelectorStep/SelectorStep.tsx +20 -0
- package/src/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.module.css +7 -0
- package/src/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.tsx +20 -0
- package/src/FormSteps/SeparatorStep/SeparatorStep.tsx +21 -0
- package/src/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.tsx +216 -0
- package/src/FormSteps/SmartSelectStep/SmartSelectStep.tsx +48 -0
- package/src/FormSteps/Step.tsx +228 -0
- package/src/FormSteps/StepFunctions.test.ts +882 -0
- package/src/FormSteps/StepFunctions.ts +315 -0
- package/src/FormSteps/StepHooks.ts +204 -0
- package/src/FormSteps/TextAreaStep/MaterialTextAreaStep/DraftEditor.css +96 -0
- package/src/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.tsx +209 -0
- package/src/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.module.css +84 -0
- package/src/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.tsx +89 -0
- package/src/FormSteps/TextAreaStep/TextAreaStep.tsx +23 -0
- package/src/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.module.css +9 -0
- package/src/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.tsx +80 -0
- package/src/FormSteps/TextInputStep/TextInputStep.tsx +28 -0
- package/src/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.module.css +18 -0
- package/src/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.tsx +64 -0
- package/src/FormSteps/TitleStep/TitleStep.tsx +21 -0
- package/src/FormSteps/Utils/@StepFiller/StepFiller.module.css +16 -0
- package/src/FormSteps/Utils/@StepFiller/StepFiller.tsx +69 -0
- package/src/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.module.css +9 -0
- package/src/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.tsx +55 -0
- package/src/Icons/Construction/LeakIcon.tsx +21 -0
- package/src/Icons/Construction/ProjectIcon.tsx +17 -0
- package/src/Icons/Construction/PropertyIcon.tsx +22 -0
- package/src/Icons/Construction/SpaceIcon.tsx +25 -0
- package/src/Icons/DocumentIcon.tsx +19 -0
- package/src/Icons/Entities/CheckListIcon.tsx +30 -0
- package/src/Icons/Entities/GenericEntityIcon.tsx +19 -0
- package/src/Icons/Entities/HandshakeIcon.tsx +20 -0
- package/src/Icons/Entities/SupplierIcon.tsx +21 -0
- package/src/Services/FileService.ts +50 -0
- package/src/Services/FormService.ts +20 -0
- package/src/Services/OrganizationService.ts +19 -0
- package/src/Shared/CustomBtn/CustomBtn.module.css +61 -0
- package/src/Shared/CustomBtn/CustomBtn.tsx +83 -0
- package/src/Shared/InputIcon/InputIcon.tsx +134 -0
- package/src/Shared/Loader/Loader.module.css +12 -0
- package/src/Shared/Loader/Loader.tsx +40 -0
- package/src/Shared/Navbar/Navbar.module.css +8 -0
- package/src/Shared/Navbar/Navbar.stories.tsx +20 -0
- package/src/Shared/Navbar/Navbar.tsx +21 -0
- package/src/Shared/Rating/Rating.module.css +18 -0
- package/src/Shared/Rating/Rating.stories.tsx +70 -0
- package/src/Shared/Rating/Rating.tsx +33 -0
- package/src/Shared/Rating/Ratings/LikeRating.tsx +75 -0
- package/src/Shared/Rating/Ratings/SatisfactionRating.tsx +115 -0
- package/src/Shared/Rating/Ratings/ScaleRating.tsx +85 -0
- package/src/Shared/RoundedButton/RoundedButton.stories.tsx +45 -0
- package/src/Shared/RoundedButton/RoundedButton.tsx +80 -0
- package/src/Shared/RoundedCheckBox/RoundedCheckBox.stories.tsx +61 -0
- package/src/Shared/RoundedCheckBox/RoundedCheckBox.tsx +102 -0
- package/src/Shared/RoundedDatePicker/RoundedDatePicker.stories.tsx +156 -0
- package/src/Shared/RoundedDatePicker/RoundedDatePicker.tsx +453 -0
- package/src/Shared/RoundedSelect/RoundedSelect.stories.tsx +102 -0
- package/src/Shared/RoundedSelect/RoundedSelect.tsx +297 -0
- package/src/Shared/RoundedSmartSelect/RoundedSmartSelect.stories.tsx +206 -0
- package/src/Shared/RoundedSmartSelect/RoundedSmartSelect.tsx +420 -0
- package/src/Shared/RoundedTextField/RoundedTextField.stories.tsx +165 -0
- package/src/Shared/RoundedTextField/RoundedTextField.tsx +226 -0
- package/src/States/GlobalSlice.ts +45 -0
- package/src/States/SiteSlice.ts +205 -0
- package/src/States/WidthStatsSlice.ts +29 -0
- package/src/Utils/AxiosAPI.ts +11 -0
- package/src/Utils/AxiosWidget.ts +11 -0
- package/src/Utils/CBRFunctions.ts +105 -0
- package/src/Utils/DraftFunctions.ts +47 -0
- package/src/Utils/MaterialProviders.tsx +42 -0
- package/src/Utils/TestUtils.tsx +74 -0
- package/src/Utils/store.ts +56 -0
- package/src/Widget.tsx +58 -0
- package/src/__mocks__/axios.ts +2 -0
- package/src/constants/AYFFormStepTypes.ts +10 -0
- package/src/constants/CBRFormStepTypes.ts +21 -0
- package/src/constants/Files/FileExtensions.ts +70 -0
- package/src/constants/Files/FileMaxSize.ts +2 -0
- package/src/constants/FormStepTypes.ts +70 -0
- package/src/constants/IconTypes.ts +12 -0
- package/src/constants/InternalFormStyle.ts +18 -0
- package/src/constants/MaterialClassNameSeed.ts +1 -0
- package/src/hooks.ts +47 -0
- package/src/index.lib.ts +7 -0
- package/src/index.module.css +14 -0
- package/src/index.tsx +28 -0
- package/src/setupTests.ts +5 -0
- package/src/types.d.ts +1 -0
- package/template.yaml +137 -0
- package/tsconfig.json +8 -0
- package/webpack.config.cjs +17 -0
- package/dist/App/App.js +0 -79
- package/dist/App/AppFunctions.js +0 -210
- package/dist/App/AppHooks.js +0 -242
- package/dist/Contexts/CustomContext.js +0 -6
- package/dist/Contexts/FormContext.js +0 -19
- package/dist/Contexts/SectionContext.js +0 -3
- package/dist/Form/ConfirmationDialog/ConfirmationDialog.js +0 -33
- package/dist/Form/Form.js +0 -216
- package/dist/Form/FormFunctions.js +0 -229
- package/dist/Form/FormHooks.js +0 -49
- package/dist/Form/FormTypes/ColumnForm/ColumnForm.js +0 -95
- package/dist/Form/FormTypes/StepperForm/StepperForm.js +0 -122
- package/dist/Form/Section/MaterialSection/MaterialSection.js +0 -41
- package/dist/Form/Section/Section.js +0 -29
- package/dist/Form/Terms/Term/MaterialTerm/MaterialTerm.js +0 -101
- package/dist/Form/Terms/Term/Term.js +0 -25
- package/dist/Form/Terms/Terms.js +0 -45
- package/dist/FormSteps/@Construction/CBRElementStep/CBRElementStep.js +0 -137
- package/dist/FormSteps/@Construction/CBRIncidentsStep/CBRIncidentsStep.js +0 -25
- package/dist/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.js +0 -55
- package/dist/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.js +0 -129
- package/dist/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.js +0 -146
- package/dist/FormSteps/AYFStepMapper.js +0 -160
- package/dist/FormSteps/ApiSelectorStep/ApiSelectorStep.js +0 -25
- package/dist/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.js +0 -157
- package/dist/FormSteps/CBRStepMapper.js +0 -206
- package/dist/FormSteps/CheckBoxStep/CheckBoxStep.js +0 -25
- package/dist/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.js +0 -47
- package/dist/FormSteps/ClassifierSelectorStep/ClassifierSelectorStep.js +0 -25
- package/dist/FormSteps/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.js +0 -73
- package/dist/FormSteps/CollapsibleStep/CollapsibleStep.js +0 -39
- package/dist/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.js +0 -83
- package/dist/FormSteps/CustomStep.js +0 -39
- package/dist/FormSteps/DatePickerStep/DatePickerStep.js +0 -25
- package/dist/FormSteps/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.js +0 -29
- package/dist/FormSteps/EntityValueStep/EntityValuePickerStep.js +0 -25
- package/dist/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.js +0 -146
- package/dist/FormSteps/FileUploadStep/FileUploadStep.js +0 -25
- package/dist/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.js +0 -131
- package/dist/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.js +0 -266
- package/dist/FormSteps/MapperStep/MapperStep.js +0 -25
- package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.js +0 -52
- package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/MapperElementComponent.js +0 -51
- package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.js +0 -50
- package/dist/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.js +0 -157
- package/dist/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.js +0 -61
- package/dist/FormSteps/RatingStep/RatingStep.js +0 -25
- package/dist/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.js +0 -60
- package/dist/FormSteps/SelectorStep/SelectorStep.js +0 -25
- package/dist/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.js +0 -13
- package/dist/FormSteps/SeparatorStep/SeparatorStep.js +0 -25
- package/dist/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.js +0 -195
- package/dist/FormSteps/SmartSelectStep/SmartSelectStep.js +0 -25
- package/dist/FormSteps/Step.js +0 -122
- package/dist/FormSteps/StepFunctions.js +0 -268
- package/dist/FormSteps/StepHooks.js +0 -143
- package/dist/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.js +0 -150
- package/dist/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.js +0 -38
- package/dist/FormSteps/TextAreaStep/TextAreaStep.js +0 -29
- package/dist/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.js +0 -52
- package/dist/FormSteps/TextInputStep/TextInputStep.js +0 -25
- package/dist/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.js +0 -45
- package/dist/FormSteps/TitleStep/TitleStep.js +0 -25
- package/dist/FormSteps/Utils/@StepFiller/StepFiller.js +0 -48
- package/dist/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.js +0 -32
- package/dist/Icons/Construction/LeakIcon.js +0 -17
- package/dist/Icons/Construction/ProjectIcon.js +0 -17
- package/dist/Icons/Construction/PropertyIcon.js +0 -17
- package/dist/Icons/Construction/SpaceIcon.js +0 -17
- package/dist/Icons/DocumentIcon.js +0 -17
- package/dist/Icons/Entities/CheckListIcon.js +0 -17
- package/dist/Icons/Entities/GenericEntityIcon.js +0 -17
- package/dist/Icons/Entities/HandshakeIcon.js +0 -17
- package/dist/Icons/Entities/SupplierIcon.js +0 -17
- package/dist/Services/FileService.js +0 -92
- package/dist/Services/FormService.js +0 -59
- package/dist/Services/OrganizationService.js +0 -65
- package/dist/Shared/CustomBtn/CustomBtn.js +0 -96
- package/dist/Shared/InputIcon/InputIcon.js +0 -94
- package/dist/Shared/Loader/Loader.js +0 -26
- package/dist/Shared/Navbar/Navbar.js +0 -18
- package/dist/Shared/Navbar/Navbar.stories.js +0 -13
- package/dist/Shared/Rating/Rating.js +0 -41
- package/dist/Shared/Rating/Rating.stories.js +0 -59
- package/dist/Shared/Rating/Ratings/LikeRating.js +0 -43
- package/dist/Shared/Rating/Ratings/SatisfactionRating.js +0 -61
- package/dist/Shared/Rating/Ratings/ScaleRating.js +0 -62
- package/dist/Shared/RoundedButton/RoundedButton.js +0 -45
- package/dist/Shared/RoundedButton/RoundedButton.stories.js +0 -36
- package/dist/Shared/RoundedCheckBox/RoundedCheckBox.js +0 -101
- package/dist/Shared/RoundedCheckBox/RoundedCheckBox.stories.js +0 -50
- package/dist/Shared/RoundedDatePicker/RoundedDatePicker.js +0 -348
- package/dist/Shared/RoundedDatePicker/RoundedDatePicker.stories.js +0 -223
- package/dist/Shared/RoundedSelect/RoundedSelect.js +0 -214
- package/dist/Shared/RoundedSelect/RoundedSelect.stories.js +0 -91
- package/dist/Shared/RoundedSmartSelect/RoundedSmartSelect.js +0 -236
- package/dist/Shared/RoundedSmartSelect/RoundedSmartSelect.stories.js +0 -318
- package/dist/Shared/RoundedTextField/RoundedTextField.js +0 -175
- package/dist/Shared/RoundedTextField/RoundedTextField.stories.js +0 -224
- package/dist/States/GlobalSlice.js +0 -34
- package/dist/States/SiteSlice.js +0 -129
- package/dist/States/WidthStatsSlice.js +0 -23
- package/dist/Utils/AxiosAPI.js +0 -8
- package/dist/Utils/AxiosWidget.js +0 -8
- package/dist/Utils/CBRFunctions.js +0 -53
- package/dist/Utils/DraftFunctions.js +0 -43
- package/dist/Utils/MaterialProviders.js +0 -31
- package/dist/Utils/TestUtils.js +0 -65
- package/dist/Utils/store.js +0 -84
- package/dist/Widget.js +0 -59
- package/dist/constants/Files/FileExtensions.js +0 -68
- package/dist/constants/Files/FileMaxSize.js +0 -2
- package/dist/constants/InternalFormStyle.js +0 -16
- package/dist/constants/MaterialClassNameSeed.js +0 -1
- package/dist/hooks.js +0 -25
- package/dist/index.js +0 -31
- /package/dist/{@Types → cjs/@Types}/@Types.d.ts +0 -0
- /package/dist/{@Types → cjs/@Types}/AYFFormStep.d.ts +0 -0
- /package/dist/{@Types → cjs/@Types}/Branding.d.ts +0 -0
- /package/dist/{@Types → cjs/@Types}/CBRFormStep.d.ts +0 -0
- /package/dist/{@Types → cjs/@Types}/Form.d.ts +0 -0
- /package/dist/{@Types → cjs/@Types}/FormStep.d.ts +0 -0
- /package/dist/{@Types → cjs/@Types}/GenericFormSteps.d.ts +0 -0
- /package/dist/{@Types → cjs/@Types}/MapperElement.d.ts +0 -0
- /package/dist/{@Types → cjs/@Types}/Organization.d.ts +0 -0
- /package/dist/{@Types → cjs/@Types}/index.d.ts +0 -0
- /package/dist/{App → cjs/App}/App.css +0 -0
- /package/dist/{App → cjs/App}/App.d.ts +0 -0
- /package/dist/{App → cjs/App}/App.module.css +0 -0
- /package/dist/{App → cjs/App}/AppFunctions.d.ts +0 -0
- /package/dist/{App → cjs/App}/AppHooks.d.ts +0 -0
- /package/dist/{Contexts → cjs/Contexts}/CustomContext.d.ts +0 -0
- /package/dist/{Contexts → cjs/Contexts}/FormContext.d.ts +0 -0
- /package/dist/{Contexts → cjs/Contexts}/SectionContext.d.ts +0 -0
- /package/dist/{Form → cjs/Form}/ConfirmationDialog/ConfirmationDialog.d.ts +0 -0
- /package/dist/{Form → cjs/Form}/ConfirmationDialog/ConfirmationDialog.module.css +0 -0
- /package/dist/{Form → cjs/Form}/Form.d.ts +0 -0
- /package/dist/{Form → cjs/Form}/Form.module.css +0 -0
- /package/dist/{Form → cjs/Form}/FormFunctions.d.ts +0 -0
- /package/dist/{Form → cjs/Form}/FormHooks.d.ts +0 -0
- /package/dist/{Form → cjs/Form}/FormTypes/ColumnForm/ColumnForm.d.ts +0 -0
- /package/dist/{Form → cjs/Form}/FormTypes/ColumnForm/ColumnForm.module.css +0 -0
- /package/dist/{Form → cjs/Form}/FormTypes/StepperForm/StepperForm.d.ts +0 -0
- /package/dist/{Form → cjs/Form}/FormTypes/StepperForm/StepperForm.module.css +0 -0
- /package/dist/{Form → cjs/Form}/Section/MaterialSection/MaterialSection.d.ts +0 -0
- /package/dist/{Form → cjs/Form}/Section/MaterialSection/MaterialSection.module.css +0 -0
- /package/dist/{Form → cjs/Form}/Section/Section.d.ts +0 -0
- /package/dist/{Form → cjs/Form}/Terms/Term/MaterialTerm/MaterialTerm.d.ts +0 -0
- /package/dist/{Form → cjs/Form}/Terms/Term/MaterialTerm/MaterialTerm.module.css +0 -0
- /package/dist/{Form → cjs/Form}/Terms/Term/Term.d.ts +0 -0
- /package/dist/{Form → cjs/Form}/Terms/Terms.d.ts +0 -0
- /package/dist/{Form → cjs/Form}/Terms/Terms.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/@Construction/CBRElementStep/CBRElementStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/@Construction/CBRIncidentsStep/CBRIncidentsStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/@Construction/CBRPropertyStep/CBRPropertyStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/@Construction/CBRPropertyStep/CBRPropertyStep.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/AYFStepMapper.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/ApiSelectorStep/ApiSelectorStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/CBRStepMapper.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/CheckBoxStep/CheckBoxStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/ClassifierSelectorStep/ClassifierSelectorStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/CollapsibleStep/CollapsibleStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/CustomStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/DatePickerStep/DatePickerStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/EntityValueStep/EntityValuePickerStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/FileUploadStep/FileUploadStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/MapperStep/MapperStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/MapperStep/MaterialMapperStep/Element/MapperElementComponent.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/MapperStep/MaterialMapperStep/MaterialMapperStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/MapperStep/MaterialMapperStep/MaterialMapperStep.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/RatingStep/MaterialRatingStep/MaterialRatingStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/RatingStep/MaterialRatingStep/MaterialRatingStep.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/RatingStep/RatingStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/SelectorStep/SelectorStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/SeparatorStep/SeparatorStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/SmartSelectStep/SmartSelectStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/Step.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/StepFunctions.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/StepHooks.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/TextAreaStep/MaterialTextAreaStep/DraftEditor.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/TextAreaStep/TextAreaStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/TextInputStep/TextInputStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/TitleStep/MaterialTitleStep/MaterialTitleStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/TitleStep/MaterialTitleStep/MaterialTitleStep.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/TitleStep/TitleStep.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/Utils/@StepFiller/StepFiller.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/Utils/@StepFiller/StepFiller.module.css +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/Utils/MaterialInputContainer/MaterialInputContainer.d.ts +0 -0
- /package/dist/{FormSteps → cjs/FormSteps}/Utils/MaterialInputContainer/MaterialInputContainer.module.css +0 -0
- /package/dist/{Icons → cjs/Icons}/Construction/LeakIcon.d.ts +0 -0
- /package/dist/{Icons → cjs/Icons}/Construction/ProjectIcon.d.ts +0 -0
- /package/dist/{Icons → cjs/Icons}/Construction/PropertyIcon.d.ts +0 -0
- /package/dist/{Icons → cjs/Icons}/Construction/SpaceIcon.d.ts +0 -0
- /package/dist/{Icons → cjs/Icons}/DocumentIcon.d.ts +0 -0
- /package/dist/{Icons → cjs/Icons}/Entities/CheckListIcon.d.ts +0 -0
- /package/dist/{Icons → cjs/Icons}/Entities/GenericEntityIcon.d.ts +0 -0
- /package/dist/{Icons → cjs/Icons}/Entities/HandshakeIcon.d.ts +0 -0
- /package/dist/{Icons → cjs/Icons}/Entities/SupplierIcon.d.ts +0 -0
- /package/dist/{Services → cjs/Services}/FileService.d.ts +0 -0
- /package/dist/{Services → cjs/Services}/FormService.d.ts +0 -0
- /package/dist/{Services → cjs/Services}/OrganizationService.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/CustomBtn/CustomBtn.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/CustomBtn/CustomBtn.module.css +0 -0
- /package/dist/{Shared → cjs/Shared}/InputIcon/InputIcon.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/Loader/Loader.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/Loader/Loader.module.css +0 -0
- /package/dist/{Shared → cjs/Shared}/Navbar/Navbar.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/Navbar/Navbar.module.css +0 -0
- /package/dist/{Shared → cjs/Shared}/Navbar/Navbar.stories.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/Rating/Rating.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/Rating/Rating.module.css +0 -0
- /package/dist/{Shared → cjs/Shared}/Rating/Rating.stories.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/Rating/Ratings/LikeRating.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/Rating/Ratings/SatisfactionRating.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/Rating/Ratings/ScaleRating.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/RoundedButton/RoundedButton.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/RoundedButton/RoundedButton.stories.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/RoundedCheckBox/RoundedCheckBox.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/RoundedCheckBox/RoundedCheckBox.stories.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/RoundedDatePicker/RoundedDatePicker.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/RoundedDatePicker/RoundedDatePicker.stories.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/RoundedSelect/RoundedSelect.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/RoundedSelect/RoundedSelect.stories.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/RoundedSmartSelect/RoundedSmartSelect.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/RoundedSmartSelect/RoundedSmartSelect.stories.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/RoundedTextField/RoundedTextField.d.ts +0 -0
- /package/dist/{Shared → cjs/Shared}/RoundedTextField/RoundedTextField.stories.d.ts +0 -0
- /package/dist/{States → cjs/States}/GlobalSlice.d.ts +0 -0
- /package/dist/{States → cjs/States}/SiteSlice.d.ts +0 -0
- /package/dist/{States → cjs/States}/WidthStatsSlice.d.ts +0 -0
- /package/dist/{Utils → cjs/Utils}/AxiosAPI.d.ts +0 -0
- /package/dist/{Utils → cjs/Utils}/AxiosWidget.d.ts +0 -0
- /package/dist/{Utils → cjs/Utils}/CBRFunctions.d.ts +0 -0
- /package/dist/{Utils → cjs/Utils}/DraftFunctions.d.ts +0 -0
- /package/dist/{Utils → cjs/Utils}/MaterialProviders.d.ts +0 -0
- /package/dist/{Utils → cjs/Utils}/TestUtils.d.ts +0 -0
- /package/dist/{Utils → cjs/Utils}/store.d.ts +0 -0
- /package/dist/{Widget.d.ts → cjs/Widget.d.ts} +0 -0
- /package/dist/{__mocks__ → cjs/__mocks__}/axios.d.ts +0 -0
- /package/dist/{constants → cjs/constants}/AYFFormStepTypes.d.ts +0 -0
- /package/dist/{constants → cjs/constants}/CBRFormStepTypes.d.ts +0 -0
- /package/dist/{constants → cjs/constants}/Files/FileExtensions.d.ts +0 -0
- /package/dist/{constants → cjs/constants}/Files/FileMaxSize.d.ts +0 -0
- /package/dist/{constants → cjs/constants}/FormStepTypes.d.ts +0 -0
- /package/dist/{constants → cjs/constants}/IconTypes.d.ts +0 -0
- /package/dist/{constants → cjs/constants}/InternalFormStyle.d.ts +0 -0
- /package/dist/{constants → cjs/constants}/MaterialClassNameSeed.d.ts +0 -0
- /package/dist/{hooks.d.ts → cjs/hooks.d.ts} +0 -0
- /package/dist/{index.d.ts → cjs/index.d.ts} +0 -0
- /package/dist/{index.lib.d.ts → cjs/index.lib.d.ts} +0 -0
- /package/dist/{index.module.css → cjs/index.module.css} +0 -0
- /package/dist/{setupTests.d.ts → cjs/setupTests.d.ts} +0 -0
- /package/dist/{@Types → mjs/@Types}/@Types.js +0 -0
- /package/dist/{@Types → mjs/@Types}/AYFFormStep.js +0 -0
- /package/dist/{@Types → mjs/@Types}/Branding.js +0 -0
- /package/dist/{@Types → mjs/@Types}/CBRFormStep.js +0 -0
- /package/dist/{@Types → mjs/@Types}/Form.js +0 -0
- /package/dist/{@Types → mjs/@Types}/FormStep.js +0 -0
- /package/dist/{@Types → mjs/@Types}/GenericFormSteps.js +0 -0
- /package/dist/{@Types → mjs/@Types}/MapperElement.js +0 -0
- /package/dist/{@Types → mjs/@Types}/Organization.js +0 -0
- /package/dist/{@Types/index.js → mjs/@Types/index.d.ts} +0 -0
- /package/dist/{__mocks__/axios.js → mjs/__mocks__/axios.d.ts} +0 -0
- /package/dist/{constants → mjs/constants}/AYFFormStepTypes.js +0 -0
- /package/dist/{constants → mjs/constants}/CBRFormStepTypes.js +0 -0
- /package/dist/{constants → mjs/constants}/FormStepTypes.js +0 -0
- /package/dist/{constants → mjs/constants}/IconTypes.js +0 -0
- /package/dist/{index.lib.js → mjs/index.lib.js} +0 -0
- /package/dist/{setupTests.js → mjs/setupTests.js} +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const hooks_1 = require("../../hooks");
|
|
8
|
+
const FormStepTypes_1 = require("../../constants/FormStepTypes");
|
|
9
|
+
const MaterialTextAreaStep_1 = __importDefault(require("./MaterialTextAreaStep/MaterialTextAreaStep"));
|
|
10
|
+
const MaterialTextAreaEditorStep_1 = __importDefault(require("./MaterialTextAreaStep/MaterialTextAreaEditorStep"));
|
|
11
|
+
function TextAreaStep(props) {
|
|
12
|
+
const { formStyle } = (0, hooks_1.useAppSelector)((state) => state.global);
|
|
13
|
+
switch (formStyle.type) {
|
|
14
|
+
case FormStepTypes_1.FormStyleTypes.MATERIAL:
|
|
15
|
+
default: {
|
|
16
|
+
if (props.step.hasTextEditor)
|
|
17
|
+
return (0, jsx_runtime_1.jsx)(MaterialTextAreaEditorStep_1.default, Object.assign({}, props));
|
|
18
|
+
else
|
|
19
|
+
return (0, jsx_runtime_1.jsx)(MaterialTextAreaStep_1.default, Object.assign({}, props));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.default = TextAreaStep;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const RoundedTextField_1 = __importDefault(require("../../../Shared/RoundedTextField/RoundedTextField"));
|
|
8
|
+
const MaterialTextInputStep_module_css_1 = __importDefault(require("./MaterialTextInputStep.module.css"));
|
|
9
|
+
const StepFunctions_1 = require("../../StepFunctions");
|
|
10
|
+
const react_1 = require("react");
|
|
11
|
+
const FormContext_1 = __importDefault(require("../../../Contexts/FormContext"));
|
|
12
|
+
const hooks_1 = require("../../../hooks");
|
|
13
|
+
const StepHooks_1 = require("../../StepHooks");
|
|
14
|
+
function TextInputStep({ icon, step, editable, maxLength, defaultValue, validation = step.validation, }) {
|
|
15
|
+
var _a;
|
|
16
|
+
const currentBreakPoint = (0, hooks_1.useAppSelector)(hooks_1.selectBreakPoint);
|
|
17
|
+
const { formStyle, postview } = (0, hooks_1.useAppSelector)((state) => state.global);
|
|
18
|
+
const form = (0, react_1.useContext)(FormContext_1.default);
|
|
19
|
+
const { ref, value, onChange, error, field } = (0, StepHooks_1.useFormStep)(step, {
|
|
20
|
+
defaultValue: defaultValue !== null && defaultValue !== void 0 ? defaultValue : '',
|
|
21
|
+
debounce: true,
|
|
22
|
+
rules: {
|
|
23
|
+
required: step.required ? 'Este campo es obligatorio' : undefined,
|
|
24
|
+
pattern: validation
|
|
25
|
+
? {
|
|
26
|
+
value: new RegExp(validation.type === 'EMAIL'
|
|
27
|
+
? // eslint-disable-next-line no-control-regex
|
|
28
|
+
/^(?:[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/
|
|
29
|
+
: validation.value),
|
|
30
|
+
message: validation.message,
|
|
31
|
+
}
|
|
32
|
+
: undefined,
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: MaterialTextInputStep_module_css_1.default.container, style: {
|
|
36
|
+
width: currentBreakPoint <= step.size
|
|
37
|
+
? '100%'
|
|
38
|
+
: (0, StepFunctions_1.calcStepWidth)(step.size, form.size),
|
|
39
|
+
minHeight: step.description ||
|
|
40
|
+
(!postview && editable && (step.required || validation))
|
|
41
|
+
? '55px'
|
|
42
|
+
: '43px',
|
|
43
|
+
} }, { children: (0, jsx_runtime_1.jsx)(RoundedTextField_1.default, Object.assign({}, field, { inputRef: ref, value: value, onChange: (e) => onChange(e.target.value), maxLength: maxLength, "data-testid": step.id, label: step.label, cantEdit: !editable || postview, required: step.required, fontWeight: 400, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, textColor: formStyle.textColor, errorColor: formStyle.errorColor, backgroundColor: formStyle.stepBackgroundColor, helperText: (_a = error === null || error === void 0 ? void 0 : error.message) !== null && _a !== void 0 ? _a : step.description, helperTextColor: formStyle.descriptionTextColor, error: !!error, icon: step.showIcon ? icon : undefined })) })));
|
|
44
|
+
}
|
|
45
|
+
exports.default = TextInputStep;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const FormStepTypes_1 = require("../../constants/FormStepTypes");
|
|
8
|
+
const MaterialTextInputStep_1 = __importDefault(require("./MaterialTextInputStep/MaterialTextInputStep"));
|
|
9
|
+
const hooks_1 = require("../../hooks");
|
|
10
|
+
function TextInputStep(props) {
|
|
11
|
+
const { formStyle } = (0, hooks_1.useAppSelector)((state) => state.global);
|
|
12
|
+
switch (formStyle.type) {
|
|
13
|
+
case FormStepTypes_1.FormStyleTypes.MATERIAL:
|
|
14
|
+
default: {
|
|
15
|
+
return (0, jsx_runtime_1.jsx)(MaterialTextInputStep_1.default, Object.assign({}, props));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.default = TextInputStep;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const StepFunctions_1 = require("../../StepFunctions");
|
|
8
|
+
const MaterialTitleStep_module_css_1 = __importDefault(require("./MaterialTitleStep.module.css"));
|
|
9
|
+
const hooks_1 = require("../../../hooks");
|
|
10
|
+
const FormContext_1 = __importDefault(require("../../../Contexts/FormContext"));
|
|
11
|
+
const react_1 = require("react");
|
|
12
|
+
const StepHooks_1 = require("../../StepHooks");
|
|
13
|
+
function TitleStep({ step }) {
|
|
14
|
+
var _a, _b, _c;
|
|
15
|
+
const { value } = (0, StepHooks_1.useFormStep)(step, {
|
|
16
|
+
defaultValue: undefined,
|
|
17
|
+
});
|
|
18
|
+
const title = (_a = value === null || value === void 0 ? void 0 : value.title) !== null && _a !== void 0 ? _a : step.title;
|
|
19
|
+
const description = (_b = value === null || value === void 0 ? void 0 : value.description) !== null && _b !== void 0 ? _b : step.description;
|
|
20
|
+
const { formStyle } = (0, hooks_1.useAppSelector)((state) => state.global);
|
|
21
|
+
const form = (0, react_1.useContext)(FormContext_1.default);
|
|
22
|
+
const widthStats = (0, hooks_1.useAppSelector)((state) => state.widthStats);
|
|
23
|
+
const size = (_c = step.size) !== null && _c !== void 0 ? _c : form.size.blockNum;
|
|
24
|
+
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: MaterialTitleStep_module_css_1.default.container, style: {
|
|
25
|
+
color: formStyle.textColor,
|
|
26
|
+
width: widthStats.currentBreakPoint <= size
|
|
27
|
+
? '100%'
|
|
28
|
+
: (0, StepFunctions_1.calcStepWidth)(size, form.size),
|
|
29
|
+
} }, { children: [title && ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: MaterialTitleStep_module_css_1.default.titleLbl, style: {
|
|
30
|
+
textAlign: widthStats.isMobile &&
|
|
31
|
+
widthStats.currentBreakPoint <= size
|
|
32
|
+
? 'center'
|
|
33
|
+
: 'start',
|
|
34
|
+
} }, { children: title }))), description && ((0, jsx_runtime_1.jsx)("p", Object.assign({ className: MaterialTitleStep_module_css_1.default.descriptionPar, style: {
|
|
35
|
+
margin: title ? '10px 0px' : '0px 0px 5px 0px',
|
|
36
|
+
} }, { children: description })))] })));
|
|
37
|
+
}
|
|
38
|
+
exports.default = TitleStep;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const FormStepTypes_1 = require("../../constants/FormStepTypes");
|
|
8
|
+
const MaterialTitleStep_1 = __importDefault(require("./MaterialTitleStep/MaterialTitleStep"));
|
|
9
|
+
const hooks_1 = require("../../hooks");
|
|
10
|
+
function TitleStep(props) {
|
|
11
|
+
const { formStyle } = (0, hooks_1.useAppSelector)((state) => state.global);
|
|
12
|
+
switch (formStyle.type) {
|
|
13
|
+
case FormStepTypes_1.FormStyleTypes.MATERIAL:
|
|
14
|
+
default: {
|
|
15
|
+
return (0, jsx_runtime_1.jsx)(MaterialTitleStep_1.default, Object.assign({}, props));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.default = TitleStep;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SizeChangeContext = void 0;
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const react_1 = require("react");
|
|
9
|
+
const react_hook_form_1 = require("react-hook-form");
|
|
10
|
+
const StepFunctions_1 = require("../../StepFunctions");
|
|
11
|
+
const FormContext_1 = __importDefault(require("../../../Contexts/FormContext"));
|
|
12
|
+
const StepFiller_module_css_1 = __importDefault(require("./StepFiller.module.css"));
|
|
13
|
+
const hooks_1 = require("../../../hooks");
|
|
14
|
+
exports.SizeChangeContext = (0, react_1.createContext)(undefined);
|
|
15
|
+
function StepFiller({ step, children }) {
|
|
16
|
+
const { getValues } = (0, react_hook_form_1.useFormContext)();
|
|
17
|
+
const form = (0, react_1.useContext)(FormContext_1.default);
|
|
18
|
+
const [fillerSize, setFillerSize] = (0, react_1.useState)((0, StepFunctions_1.calcFillerSize)(step, form.steps, getValues(), form.size));
|
|
19
|
+
const currentBreakPoint = (0, hooks_1.useAppSelector)(hooks_1.selectBreakPoint);
|
|
20
|
+
const handleSizeChange = (0, react_1.useCallback)(() => {
|
|
21
|
+
setFillerSize((0, StepFunctions_1.calcFillerSize)(step, form.steps, getValues(), form.size));
|
|
22
|
+
}, []);
|
|
23
|
+
if (step.maxSize && step.maxSize < form.size.blockNum) {
|
|
24
|
+
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: StepFiller_module_css_1.default.firstLvlContainer, style: {
|
|
25
|
+
width: currentBreakPoint <= step.size ? '100%' : 'fit-content',
|
|
26
|
+
} }, { children: [(0, jsx_runtime_1.jsx)(exports.SizeChangeContext.Provider, Object.assign({ value: handleSizeChange }, { children: children })), (0, jsx_runtime_1.jsx)("div", { className: StepFiller_module_css_1.default.smallSeparator, style: {
|
|
27
|
+
width: fillerSize,
|
|
28
|
+
} })] })));
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
return ((0, jsx_runtime_1.jsxs)(exports.SizeChangeContext.Provider, Object.assign({ value: handleSizeChange }, { children: [children, step.maxSize && (0, jsx_runtime_1.jsx)("div", { className: StepFiller_module_css_1.default.separator })] })));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
function StepFillerContainer({ step, children, }) {
|
|
35
|
+
const handleSizeChange = (0, react_1.useContext)(exports.SizeChangeContext);
|
|
36
|
+
if (handleSizeChange)
|
|
37
|
+
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children });
|
|
38
|
+
else
|
|
39
|
+
return (0, jsx_runtime_1.jsx)(StepFiller, { step: step, children: children });
|
|
40
|
+
}
|
|
41
|
+
exports.default = StepFillerContainer;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const react_1 = require("react");
|
|
8
|
+
const FormContext_1 = __importDefault(require("../../../Contexts/FormContext"));
|
|
9
|
+
const hooks_1 = require("../../../hooks");
|
|
10
|
+
const StepFunctions_1 = require("../../StepFunctions");
|
|
11
|
+
const MaterialInputContainer_module_css_1 = __importDefault(require("./MaterialInputContainer.module.css"));
|
|
12
|
+
function MaterialInputContainer({ step, editable, children, onClick, }) {
|
|
13
|
+
const form = (0, react_1.useContext)(FormContext_1.default);
|
|
14
|
+
const currentBreakPoint = (0, hooks_1.useAppSelector)(hooks_1.selectBreakPoint);
|
|
15
|
+
const postview = (0, hooks_1.useAppSelector)((state) => state.global.postview);
|
|
16
|
+
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: MaterialInputContainer_module_css_1.default.container, style: {
|
|
17
|
+
width: currentBreakPoint <= step.size
|
|
18
|
+
? '100%'
|
|
19
|
+
: (0, StepFunctions_1.calcStepWidth)(step.size, form.size),
|
|
20
|
+
minHeight: step.description || (!postview && editable && step.required)
|
|
21
|
+
? '55px'
|
|
22
|
+
: '43px',
|
|
23
|
+
}, onClick: onClick, "data-testid": step.id }, { children: children })));
|
|
24
|
+
}
|
|
25
|
+
exports.default = MaterialInputContainer;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
function LeakIcon(props) {
|
|
5
|
+
var _a;
|
|
6
|
+
return ((0, jsx_runtime_1.jsxs)("svg", Object.assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', height: "512pt", viewBox: "0 -86 512.00056 512", width: "512pt", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "m203.484375 196.359375c2.402344 0 4.753906-.867187 6.601563-2.492187l26.621093-23.394532c3.03125-2.664062 4.164063-6.890625 2.871094-10.714844l-9.21875-27.257812 21.613281-18.996094c3.03125-2.664062 4.164063-6.890625 2.871094-10.714844l-11.359375-33.570312c-1.070313-3.167969-3.652344-5.589844-6.882813-6.457031l-57.925781-15.519531c-5.335937-1.433594-10.816406 1.734374-12.246093 7.070312-1.429688 5.335938 1.734374 10.820312 7.070312 12.25l52.753906 14.132812 7.507813 22.1875-21.613281 18.996094c-3.03125 2.664063-4.164063 6.890625-2.871094 10.714844l9.21875 27.257812-17.59375 15.460938-130.027344-34.839844 30.992188-115.667968c.6875-2.5625.328124-5.292969-.996094-7.589844-1.328125-2.296875-3.511719-3.972656-6.074219-4.660156l-45.574219-12.210938c-5.332031-1.429688-10.816406 1.734375-12.246094 7.070312l-36.636718 136.722657c-.6875 2.5625-.324219 5.292969 1 7.589843 1.324218 2.292969 3.511718 3.972657 6.070312 4.65625l45.574219 12.210938c.867187.234375 1.738281.34375 2.597656.34375 4.414063 0 8.453125-2.945312 9.652344-7.414062l.464844-1.734376 135.199219 36.226563c.851562.230469 1.722656.34375 2.585937.34375zm-181.238281-56.703125 31.460937-117.40625 26.253907 7.035156-31.457032 117.40625zm0 0" }), (0, jsx_runtime_1.jsx)("path", { d: "m511.660156 144.136719-36.636718-136.722657c-1.429688-5.332031-6.910157-8.5-12.246094-7.070312l-45.574219 12.210938c-2.5625.6875-4.746094 2.363281-6.070313 4.660156-1.328124 2.296875-1.6875 5.023437-1 7.585937l.464844 1.734375-135.199218 36.226563c-3.28125.878906-5.894532 3.367187-6.933594 6.605469-1.039063 3.238281-.363282 6.777343 1.796875 9.40625l19.121093 23.265624-5.867187 25.070313c-.796875 3.40625.242187 6.980469 2.738281 9.425781l19.386719 18.988282-6.847656 28.496093c-.824219 3.429688.21875 7.039063 2.742187 9.5 1.894532 1.84375 4.40625 2.839844 6.980469 2.839844.863281 0 1.730469-.113281 2.585937-.34375l57.925782-15.519531c5.335937-1.429688 8.5-6.914063 7.070312-12.25-1.429687-5.332032-6.914062-8.5-12.246094-7.070313l-41.683593 11.171875 4.246093-17.664062c.820313-3.421875-.214843-7.023438-2.726562-9.484375l-19.417969-19.015625 5.714844-24.398438c.710937-3.035156-.035156-6.222656-2.011719-8.628906l-12.40625-15.09375 120.207032-32.207031 30.992187 115.667969c1.199219 4.46875 5.238281 7.414062 9.65625 7.414062.855469 0 1.726563-.109375 2.59375-.339844l45.574219-12.210937c2.5625-.6875 4.746094-2.363281 6.070312-4.660157 1.328125-2.296874 1.6875-5.027343 1-7.589843zm-48.160156 2.554687-30.996094-115.667968s0 0 0-.003907v-.003906l-.464844-1.730469 26.257813-7.035156 31.457031 117.40625zm0 0" }), (0, jsx_runtime_1.jsx)("path", { d: "m263.386719 203.265625c-1.894531-2.078125-4.574219-3.261719-7.386719-3.261719-2.808594 0-5.492188 1.183594-7.386719 3.261719-.78125.855469-1.640625 1.789063-2.570312 2.792969-14.488281 15.730468-44.640625 48.457031-44.640625 79.34375 0 30.105468 24.492187 54.601562 54.597656 54.601562s54.597656-24.496094 54.597656-54.601562c0-30.886719-30.148437-63.613282-44.640625-79.339844-.925781-1.007812-1.789062-1.941406-2.570312-2.796875zm-7.386719 116.738281c-19.078125 0-34.597656-15.523437-34.597656-34.601562 0-20.492188 20.960937-45.539063 34.597656-60.601563 13.636719 15.0625 34.597656 40.109375 34.597656 60.601563 0 19.078125-15.519531 34.601562-34.597656 34.601562zm0 0" }), (0, jsx_runtime_1.jsx)("path", { d: "m129.878906 54.871094c.917969.261718 1.839844.386718 2.75.386718 4.351563 0 8.355469-2.863281 9.609375-7.253906 1.519531-5.3125-1.554687-10.847656-6.867187-12.363281h-.007813c-5.308593-1.519531-10.839843 1.554687-12.359375 6.867187-1.515625 5.308594 1.5625 10.847657 6.875 12.363282zm0 0" }), (0, jsx_runtime_1.jsx)("path", { d: "m407.335938 149.527344-.007813.003906c-5.335937 1.421875-8.507813 6.898438-7.082031 12.238281 1.191406 4.472657 5.238281 7.421875 9.65625 7.421875.855468 0 1.722656-.109375 2.585937-.339844 5.335938-1.421874 8.507813-6.902343 7.085938-12.238281-1.425781-5.335937-6.90625-8.511719-12.238281-7.085937zm0 0" })] })));
|
|
7
|
+
}
|
|
8
|
+
exports.default = LeakIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
function ProjectIcon(props) {
|
|
5
|
+
var _a;
|
|
6
|
+
return ((0, jsx_runtime_1.jsx)("svg", Object.assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', height: "480pt", viewBox: "0 -8 480 480", width: "480pt", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { d: "m440 448v-49.960938c10.546875-6.214843 16.726562-17.816406 16-30.039062 0-17.671875-10.742188-32-24-32s-24 14.328125-24 32c-.726562 12.222656 5.453125 23.824219 16 30.039062v49.960938h-56v-243.054688l-48-24v43.054688h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v16h-16v-321.96875l-96-27.421875v29.390625h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v16h-16v-448h-144v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v16h-48v16h480v-16zm0 0" }) })));
|
|
7
|
+
}
|
|
8
|
+
exports.default = ProjectIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
function PropertyIcon(props) {
|
|
5
|
+
var _a;
|
|
6
|
+
return ((0, jsx_runtime_1.jsx)("svg", Object.assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', height: "512", viewBox: "0 0 512 512", width: "512", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("g", Object.assign({ id: "_01-home", "data-name": "01-home" }, { children: (0, jsx_runtime_1.jsxs)("g", Object.assign({ id: "glyph" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "m256 4c-108.075 0-196 87.925-196 196 0 52.5 31.807 119.92 94.537 200.378a1065.816 1065.816 0 0 0 93.169 104.294 12 12 0 0 0 16.588 0 1065.816 1065.816 0 0 0 93.169-104.294c62.73-80.458 94.537-147.878 94.537-200.378 0-108.075-87.925-196-196-196zm0 336c-77.2 0-140-62.8-140-140s62.8-140 140-140 140 62.8 140 140-62.8 140-140 140z" }), (0, jsx_runtime_1.jsx)("path", { d: "m352.072 183.121-88-80a12 12 0 0 0 -16.144 0l-88 80a12.006 12.006 0 0 0 -2.23 15.039 12.331 12.331 0 0 0 10.66 5.84h11.642v76a12 12 0 0 0 12 12h28a12 12 0 0 0 12-12v-44a12 12 0 0 1 12-12h24a12 12 0 0 1 12 12v44a12 12 0 0 0 12 12h28a12 12 0 0 0 12-12v-76h11.642a12.331 12.331 0 0 0 10.66-5.84 12.006 12.006 0 0 0 -2.23-15.039z" })] })) })) })));
|
|
7
|
+
}
|
|
8
|
+
exports.default = PropertyIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
function SpaceIcon(props) {
|
|
5
|
+
var _a;
|
|
6
|
+
return ((0, jsx_runtime_1.jsxs)("svg", Object.assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', width: "512pt", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64" }, { children: [(0, jsx_runtime_1.jsx)("title", { children: "SpaceType" }), (0, jsx_runtime_1.jsxs)("g", Object.assign({ id: "space_type", "data-name": "space type" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M29.74,39A10.21,10.21,0,0,0,27.61,39,1.63,1.63,0,0,0,26,40.61V53.35A1.63,1.63,0,0,0,27.61,55h1.74A1.63,1.63,0,0,0,31,53.35V40.61A1.63,1.63,0,0,0,29.74,39Z" }), (0, jsx_runtime_1.jsx)("path", { d: "M57.35,39a10.27,10.27,0,0,0-2.13.05A1.63,1.63,0,0,0,54,40.61V53.35A1.63,1.63,0,0,0,55.61,55h1.74A1.63,1.63,0,0,0,59,53.35V40.61A1.63,1.63,0,0,0,57.35,39Z" }), (0, jsx_runtime_1.jsx)("path", { d: "M33,54a1,1,0,0,0,1,1H51a1,1,0,0,0,1-1V49H33Z" }), (0, jsx_runtime_1.jsx)("path", { d: "M49,42H36a3,3,0,0,0-3,3v2H52V45A3,3,0,0,0,49,42Z" }), (0, jsx_runtime_1.jsx)("path", { d: "M54,31a5,5,0,0,0-5-5H36a5,5,0,0,0-5,5v6.39a3.62,3.62,0,0,1,1.86,2.24A4.68,4.68,0,0,1,33,41c1.37-1.37,4.2-1,16-1a5,5,0,0,1,2.68.78c.64.39.07.39.46-1.15a3.65,3.65,0,0,1,1.43-2C54.15,37.19,54,38.41,54,31Z" }), (0, jsx_runtime_1.jsx)("path", { d: "M17,32c-5.85,0-4.33,0-4-.05a7.06,7.06,0,0,0,6-7,7,7,0,0,0-4.47,1.59,7.08,7.08,0,0,0-2.07-5.05,7.06,7.06,0,0,0-2.07,5.05,7,7,0,0,0-4.47-1.59,7.07,7.07,0,0,0,6,7c.36.08,1.89.05-4,.05l1.71,6H3V55H5V50H20v5h2V38H15.26ZM15,45H10V43h5Z" }), (0, jsx_runtime_1.jsx)("path", { d: "M26,21h6L31,10H19L18,21h6V40.61a3.63,3.63,0,0,1,2-3.24Z" })] }))] })));
|
|
7
|
+
}
|
|
8
|
+
exports.default = SpaceIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
function DocumentIcon(props) {
|
|
5
|
+
var _a;
|
|
6
|
+
return ((0, jsx_runtime_1.jsx)("svg", Object.assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', id: "bold", enableBackground: "new 0 0 24 24", height: "512", viewBox: "0 0 24 24", width: "512", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { d: "m21.25 3h-18.5c-1.517 0-2.75 1.233-2.75 2.75v12.5c0 1.517 1.233 2.75 2.75 2.75h18.5c1.517 0 2.75-1.233 2.75-2.75v-12.5c0-1.517-1.233-2.75-2.75-2.75zm-13.75 4c1.378 0 2.5 1.122 2.5 2.5s-1.122 2.5-2.5 2.5-2.5-1.122-2.5-2.5 1.122-2.5 2.5-2.5zm4.5 9.25c0 .414-.336.75-.75.75h-7.5c-.414 0-.75-.336-.75-.75v-.5c0-1.517 1.233-2.75 2.75-2.75h3.5c1.517 0 2.75 1.233 2.75 2.75zm8.25.75h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75z" }) })));
|
|
7
|
+
}
|
|
8
|
+
exports.default = DocumentIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
function CheckListIcon(props) {
|
|
5
|
+
var _a;
|
|
6
|
+
return ((0, jsx_runtime_1.jsxs)("svg", Object.assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', height: "480pt", viewBox: "0 0 60 70", width: "480pt", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M24.79,8.7c1.27,0,2.29-1.03,2.29-2.3c0-1.26-1.03-2.29-2.29-2.29c-1.27,0-2.3,1.03-2.3,2.29 C22.49,7.67,23.52,8.7,24.79,8.7z" }), (0, jsx_runtime_1.jsx)("path", { d: "M13.61,53.84H8.14c-0.41,0-0.75,0.34-0.75,0.75v4.1c0,0.41,0.34,0.75,0.75,0.75h5.46c0.41,0,0.75-0.34,0.75-0.75v-4.1 C14.36,54.18,14.02,53.84,13.61,53.84z" }), (0, jsx_runtime_1.jsx)("path", { d: "M22.88,47.19h-5.46c-0.41,0-0.75,0.34-0.75,0.75v10.75c0,0.41,0.34,0.75,0.75,0.75h5.46c0.41,0,0.75-0.34,0.75-0.75V47.94 C23.63,47.53,23.3,47.19,22.88,47.19z" }), (0, jsx_runtime_1.jsx)("path", { d: "M32.16,43.19h-5.46c-0.41,0-0.75,0.34-0.75,0.75v14.75c0,0.41,0.34,0.75,0.75,0.75h5.46c0.41,0,0.75-0.34,0.75-0.75V43.94 C32.91,43.53,32.57,43.19,32.16,43.19z" }), (0, jsx_runtime_1.jsx)("path", { d: "M41.43,51.06h-5.46c-0.41,0-0.75,0.34-0.75,0.75v6.89c0,0.41,0.34,0.75,0.75,0.75h5.46c0.41,0,0.75-0.34,0.75-0.75v-6.89 C42.18,51.39,41.85,51.06,41.43,51.06z" }), (0, jsx_runtime_1.jsx)("path", { d: "M41.91,18.96H24.27c-0.41,0-0.75,0.34-0.75,0.75s0.34,0.75,0.75,0.75h17.64c0.41,0,0.75-0.34,0.75-0.75 S42.33,18.96,41.91,18.96z" }), (0, jsx_runtime_1.jsx)("path", { d: "M9.93,27.1h5.33c1.26,0,2.29-1.03,2.29-2.29v-5.39c0-1.26-1.03-2.29-2.29-2.29H9.93c-1.26,0-2.29,1.03-2.29,2.29v5.39 C7.64,26.07,8.67,27.1,9.93,27.1z M9.14,19.42c0-0.44,0.35-0.79,0.79-0.79h5.33c0.44,0,0.79,0.35,0.79,0.79v5.39 c0,0.43-0.35,0.79-0.79,0.79H9.93c-0.43,0-0.79-0.35-0.79-0.79V19.42z" }), (0, jsx_runtime_1.jsx)("path", { d: "M17.55,38.48v-5.39c0-1.26-1.03-2.29-2.29-2.29H9.93c-1.26,0-2.29,1.03-2.29,2.29v5.39c0,1.26,1.03,2.29,2.29,2.29h5.33 C16.52,40.76,17.55,39.74,17.55,38.48z M16.05,38.48c0,0.43-0.35,0.79-0.79,0.79H9.93c-0.43,0-0.79-0.35-0.79-0.79v-5.39 c0-0.43,0.35-0.79,0.79-0.79h5.33c0.44,0,0.79,0.35,0.79,0.79V38.48z" }), (0, jsx_runtime_1.jsx)("path", { d: "M23.55,25.28h11.61c0.41,0,0.75-0.34,0.75-0.75s-0.34-0.75-0.75-0.75H23.55c-0.41,0-0.75,0.34-0.75,0.75 S23.13,25.28,23.55,25.28z" }), (0, jsx_runtime_1.jsx)("path", { d: "M23.55,34.12h17.64c0.41,0,0.75-0.34,0.75-0.75s-0.34-0.75-0.75-0.75H23.55c-0.41,0-0.75,0.34-0.75,0.75 S23.13,34.12,23.55,34.12z" }), (0, jsx_runtime_1.jsx)("path", { d: "M35.91,38.19c0-0.41-0.34-0.75-0.75-0.75H23.55c-0.41,0-0.75,0.34-0.75,0.75s0.34,0.75,0.75,0.75h11.61 C35.57,38.94,35.91,38.6,35.91,38.19z" }), (0, jsx_runtime_1.jsx)("path", { d: "M11.34,23.42c0.12,0.17,0.3,0.27,0.5,0.3c0.03,0,0.07,0.01,0.1,0.01c0.17,0,0.33-0.06,0.47-0.16l2.17-1.72 c0.32-0.26,0.38-0.73,0.12-1.05c-0.26-0.32-0.73-0.38-1.05-0.12l-1.56,1.23l-0.41-0.55c-0.25-0.33-0.71-0.41-1.05-0.16 c-0.33,0.25-0.41,0.71-0.16,1.05L11.34,23.42z" }), (0, jsx_runtime_1.jsx)("path", { d: "M13.65,34.33l-1.56,1.23l-0.41-0.55c-0.24-0.33-0.71-0.41-1.05-0.16c-0.33,0.24-0.41,0.71-0.16,1.05l0.87,1.18 c0.12,0.16,0.3,0.27,0.5,0.3c0.03,0,0.07,0.01,0.1,0.01c0.17,0,0.33-0.06,0.47-0.16l2.17-1.72c0.32-0.26,0.38-0.73,0.12-1.05 C14.44,34.13,13.97,34.08,13.65,34.33z" }), (0, jsx_runtime_1.jsx)("path", { d: "M62.2,14.25l-1.59-0.3c-0.13-0.02-0.23-0.13-0.27-0.27c-0.28-1.01-0.68-1.98-1.19-2.88c-0.07-0.13-0.07-0.27-0.01-0.37 l0.91-1.34c0.49-0.73,0.4-1.7-0.22-2.32L58.3,5.21C57.68,4.6,56.7,4.5,55.98,5l-1.35,0.92c-0.1,0.07-0.25,0.07-0.37,0 C53.36,5.4,52.39,5,51.39,4.72c-0.12-0.03-0.25-0.12-0.28-0.26l-0.3-1.6C50.65,2,49.9,1.37,49.02,1.37h-2.19 c-0.88,0-1.63,0.63-1.8,1.49l-0.3,1.6c-0.02,0.13-0.13,0.23-0.27,0.27C43.45,5,42.49,5.4,41.58,5.91c-0.12,0.07-0.26,0.07-0.36,0 l-1.36-0.92c-0.73-0.48-1.7-0.39-2.31,0.23L36,6.76c-0.54,0.54-0.66,1.35-0.35,2.04h-0.77V8.06c0-1.14-0.93-2.08-2.08-2.08h-2.52 c-0.45-2.64-2.73-4.62-5.49-4.62c-2.75,0-5.03,1.98-5.48,4.62h-2.53c-1.14,0-2.07,0.93-2.07,2.08V8.8H7.38 c-2.8,0-5.07,2.27-5.07,5.07v45.7c0,2.79,2.27,5.07,5.07,5.07H42.2c1.72,0,3.24-0.87,4.16-2.18h1.07c0.79,0,1.47-0.56,1.62-1.34 l0.25-1.33c0.01-0.07,0.08-0.11,0.13-0.12c0.86-0.24,1.67-0.57,2.42-1c0.06-0.03,0.13-0.04,0.18-0.01l1.12,0.76 c0.65,0.44,1.53,0.36,2.09-0.19l1.29-1.29c0.56-0.56,0.64-1.44,0.2-2.09l-0.76-1.12c-0.03-0.04-0.02-0.11,0.01-0.17 c0.44-0.77,0.77-1.58,1-2.42c0.01-0.04,0.04-0.12,0.12-0.14l1.32-0.25c0.78-0.14,1.34-0.82,1.34-1.62v-1.82 c0-0.79-0.56-1.47-1.34-1.62l-1.32-0.25c-0.08-0.02-0.12-0.1-0.12-0.13c-0.23-0.85-0.57-1.67-1-2.43c-0.03-0.06-0.04-0.13-0.01-0.18 l0.76-1.12c0.44-0.65,0.36-1.53-0.2-2.09l-1.29-1.29c-0.56-0.55-1.43-0.64-2.09-0.19l-1.12,0.76c-0.04,0.03-0.12,0.03-0.17-0.01 c-0.75-0.43-1.57-0.77-2.42-1c-0.06-0.02-0.13-0.06-0.14-0.12l-0.25-1.33c-0.14-0.78-0.82-1.34-1.62-1.34h-0.16v-3.05h1.75 c0.88,0,1.64-0.63,1.8-1.49l0.3-1.59c0.03-0.15,0.16-0.24,0.27-0.27c1.02-0.28,1.99-0.68,2.88-1.19c0.13-0.07,0.28-0.07,0.38,0 l1.35,0.91c0.73,0.49,1.7,0.4,2.32-0.21l1.55-1.55c0.62-0.62,0.72-1.6,0.22-2.33l-0.91-1.34c-0.07-0.1-0.06-0.25,0-0.37 c0.52-0.91,0.92-1.88,1.19-2.88c0.02-0.07,0.09-0.24,0.26-0.27l1.59-0.3c0.86-0.16,1.49-0.92,1.49-1.8v-2.19 C63.69,15.17,63.07,14.41,62.2,14.25z M47.92,11.29c3.23,0,5.85,2.63,5.85,5.85c0,3.23-2.63,5.85-5.85,5.85 c-0.21,0-0.43-0.01-0.65-0.04v-9.09c0-0.88-0.25-1.69-0.64-2.42C47.05,11.35,47.48,11.29,47.92,11.29z M51.26,49.21 c0,2.36-1.73,4.3-3.99,4.66v-9.33C49.53,44.9,51.26,46.85,51.26,49.21z M16.2,8.06c0-0.32,0.25-0.58,0.57-0.58h3.2 c0.4,0,0.73-0.32,0.75-0.72c0.09-2.19,1.88-3.9,4.06-3.9c2.2,0,3.98,1.71,4.07,3.9c0.02,0.4,0.35,0.72,0.75,0.72h3.2 c0.32,0,0.58,0.25,0.58,0.58v3.28c0,0.31-0.26,0.57-0.58,0.57H16.77c-0.31,0-0.57-0.25-0.57-0.57V8.06z M42.2,63.13H7.38 c-1.97,0-3.57-1.6-3.57-3.57v-45.7c0-1.97,1.6-3.57,3.57-3.57h7.33v1.05c0,1.14,0.93,2.07,2.07,2.07H32.8 c1.14,0,2.08-0.93,2.08-2.07V10.3h7.33c1.97,0,3.57,1.6,3.57,3.57v45.7C45.77,61.53,44.17,63.13,42.2,63.13z" })] })));
|
|
7
|
+
}
|
|
8
|
+
exports.default = CheckListIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
const GenericEntityIcon = (props) => {
|
|
5
|
+
var _a;
|
|
6
|
+
return ((0, jsx_runtime_1.jsxs)("svg", Object.assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', version: "1.1", width: "500pt", height: "500pt", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M10 5H4c-.55 0-1 .45-1 1s.45 1 1 1h2v3c0 .55.45 1 1 1s1-.45 1-1V7h2c.55 0 1-.45 1-1s-.45-1-1-1zM10 2H4c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1zM20.89 13.11a.9959.9959 0 00-1.41 0l-6.36 6.36c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41z" }), (0, jsx_runtime_1.jsx)("circle", { cx: "14.5", cy: "14.5", r: "1.5" }), (0, jsx_runtime_1.jsx)("circle", { cx: "19.5", cy: "19.5", r: "1.5" }), (0, jsx_runtime_1.jsx)("path", { d: "M15.5 11c1.38 0 2.5-1.12 2.5-2.5V4h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1v3.51c-.42-.32-.93-.51-1.5-.51C14.12 6 13 7.12 13 8.5s1.12 2.5 2.5 2.5zM10.45 18.09c.39-.39.39-1.02 0-1.41a.9959.9959 0 00-1.41 0l-.71.71-.71-.71.35-.35c.98-.98.98-2.56 0-3.54-.49-.49-1.13-.73-1.77-.73-.64 0-1.28.24-1.77.73-.98.98-.98 2.56 0 3.54l.35.35-1.06 1.06c-.98.98-.98 2.56 0 3.54.5.48 1.14.72 1.78.72.64 0 1.28-.24 1.77-.73l1.06-1.06.71.71c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41l-.71-.71.71-.71zm-4.6-3.89c.12-.12.26-.15.35-.15s.23.03.35.15c.19.2.19.51 0 .71l-.35.35-.35-.36c-.12-.12-.15-.26-.15-.35s.03-.23.15-.35zm0 5.65c-.12.12-.26.15-.35.15s-.23-.03-.35-.15c-.12-.12-.15-.26-.15-.35s.03-.23.15-.35l1.06-1.06.71.71-1.07 1.05z" })] })));
|
|
7
|
+
};
|
|
8
|
+
exports.default = GenericEntityIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
const HandShakeIcon = (props) => {
|
|
5
|
+
var _a;
|
|
6
|
+
return ((0, jsx_runtime_1.jsxs)("svg", Object.assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', version: "1.1", width: "511pt", height: "511pt", viewBox: "0 -3 511.99992 511", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "m509.914062 214.859375-85.695312-111.320313c-3.171875-4.117187-8.957031-5.132812-13.34375-2.34375l-55.328125 35.1875h-72.160156c-.933594 0-1.863281.199219-2.761719.460938l-55.949219 16.105469-58.054687-15.878907-56.410156-35.875c-4.3125-2.742187-9.992188-1.8125-13.199219 2.164063l-94.785157 117.40625c-3.40625 4.21875-2.84375 10.378906 1.265626 13.914063l49.679687 42.753906 44.570313 60.0625c-13.035157 13.886718-12.78125 35.789062.78125 49.355468 6.011718 6.007813 13.65625 9.402344 21.519531 10.191407-.273438 1.78125-.414063 3.589843-.414063 5.425781 0 9.476562 3.691406 18.386719 10.390625 25.085938 6.703125 6.703124 15.613281 10.394531 25.089844 10.394531.128906 0 .253906-.007813.378906-.011719-.003906.242188-.015625.480469-.015625.722656 0 9.476563 3.691406 18.386719 10.390625 25.089844 6.703125 6.699219 15.613281 10.390625 25.089844 10.390625 1.871094 0 3.722656-.152344 5.539063-.433594.769531 7.890625 4.171874 15.570313 10.203124 21.601563 6.914063 6.917968 16 10.375 25.085938 10.375s18.171875-3.457032 25.089844-10.375l5.425781-5.425782 2.277344 1.835938c6.859375 6.644531 15.765625 9.964844 24.671875 9.964844 9.085937 0 18.171875-3.457032 25.085937-10.375 7.058594-7.058594 10.515625-16.375 10.371094-25.644532 9.265625.140626 18.585937-3.3125 25.644531-10.367187 7.050782-7.054687 10.507813-16.363281 10.371094-25.628906 9.652344.152343 18.808594-3.554688 25.640625-10.386719 7.058594-7.058594 10.515625-16.375 10.371094-25.644531 9.273437.140625 18.585937-3.3125 25.644531-10.371094 12.046875-12.046875 13.597656-30.667969 4.664062-44.414063l32.542969-68.15625 48.925781-42.101562c4.042969-3.480469 4.660157-9.511719 1.40625-13.734375zm-402.914062-91.910156 40.5625 25.792969-88.238281 107.5-35.359375-30.433594zm5.722656 227.921875 12.242188-12.242188c.371094-.371094.761718-.722656 1.160156-1.050781 2.394531-1.953125 5.292969-3.117187 8.363281-3.394531.085938-.007813.175781-.007813.261719-.011719.4375-.035156.875-.058594 1.316406-.054687 4.195313.058593 8.09375 1.773437 10.984375 4.824218 5.671875 5.996094 5.367188 15.792969-.679687 21.839844l-11.871094 11.871094c-6.003906 6.003906-15.773438 6.003906-21.777344 0-6.003906-6.007813-6.003906-15.777344 0-21.78125zm31.496094 62.484375c-2.910156-2.90625-4.511719-6.773438-4.511719-10.886719s1.601563-7.980469 4.511719-10.890625l23.738281-23.738281c4.546875-4.546875 11.695313-5.792969 17.507813-3.023438 5.992187 2.855469 9.363281 9.359375 8.484375 15.902344-.46875 3.492188-2.09375 6.78125-4.585938 9.277344l-23.363281 23.359375c-2.910156 2.910156-6.777344 4.511719-10.890625 4.511719s-7.980469-1.601563-10.890625-4.511719zm35.84375 36.191406c-2.910156-2.90625-4.511719-6.773437-4.511719-10.886719 0-4.113281 1.601563-7.980468 4.511719-10.890625l23.734375-23.738281c4.863281-4.859375 12.664063-5.90625 18.617187-2.441406 5.4375 3.164062 8.285157 9.375 7.351563 15.5625-.511719 3.402344-2.128906 6.601562-4.5625 9.035156l-23.359375 23.359375c-2.910156 2.910156-6.777344 4.511719-10.890625 4.511719s-7.980469-1.601563-10.890625-4.511719zm40.828125 31.5625c-6.003906-6.003906-6.003906-15.773437 0-21.777344l12.242187-12.242187c.371094-.371094.757813-.71875 1.15625-1.046875.011719-.007813.019532-.015625.027344-.023438 1.992188-1.617187 4.332032-2.699219 6.828125-3.171875.058594-.007812.117188-.015625.175781-.023437.429688-.078125.867188-.140625 1.304688-.179688.175781-.015625.351562-.015625.53125-.027343.359375-.019532.714844-.042969 1.078125-.039063 4.191406.058594 8.09375 1.769531 10.984375 4.824219.355469.375.6875.765625.992188 1.167968 4.617187 6.035157 3.996093 15-1.734376 20.734376l-11.808593 11.808593c-6.003907 6.003907-15.773438 6-21.777344-.003906zm187.285156-112.042969c-6.003906 6.007813-15.773437 6.003906-21.777343 0-.21875-.21875-.449219-.421875-.683594-.613281l-64.554688-65.234375c-3.902344-3.941406-10.257812-3.972656-14.199218-.070312-3.941407 3.898437-3.972657 10.253906-.074219 14.195312l65.253906 65.933594c.007813.007812.015625.015625.023437.023437 6.003907 6.003907 6.003907 15.777344 0 21.78125-2.910156 2.910157-6.777343 4.511719-10.890624 4.511719-4.117188 0-7.984376-1.601562-10.890626-4.511719l-43.652343-44.105469c-3.898438-3.941406-10.253907-3.972656-14.195313-.074218-3.941406 3.902344-3.972656 10.257812-.074218 14.199218l42.984374 43.429688c.21875.273438.453126.535156.703126.785156 6.003906 6.003906 6.003906 15.777344 0 21.78125-6.007813 6.003906-15.78125 6-21.785157-.003906l-23.824219-24.074219c-3.902343-3.941406-10.257812-3.976562-14.199218-.074219-3.941406 3.898438-3.972656 10.253907-.074219 14.195313l23.160156 23.398437c.21875.273438.453125.539063.707031.789063 6.003907 6.003906 6.003907 15.777344 0 21.78125-6.003906 6.007813-15.773437 6.003906-21.777343 0-.691407-.691406-1.503907-1.222656-2.277344-1.816406-.65625-.5-.828125-.847657-.5-1.644531.332031-.808594.828125-1.539063 1.160156-2.351563.367188-.90625.664063-1.839844.953125-2.777344 1.539063-4.960937 1.992188-10.296875 1.300782-15.445312-1.328126-9.878907-6.761719-18.792969-14.996094-24.433594-4.449219-3.042969-9.597656-5.039063-14.933594-5.789063 2.585938-11.40625-.519531-23.773437-8.597656-32.308593-6.648438-7.023438-15.628906-10.964844-25.289063-11.097657-.351562-.003906-.703125-.003906-1.058593 0 .214843-9.21875-3.136719-18.378906-9.492188-25.09375-6.652344-7.023437-15.632812-10.964843-25.289062-11.097656-2.871094-.039062-5.769532.265625-8.566407.910156-1.195312-8.316406-5.386719-16.011718-11.734375-21.515624-6.308594-5.460938-14.242187-8.492188-22.691406-8.609376-8.894531-.128906-17.632812 3.152344-24.238281 9.117188l-38.808594-52.292969 92.84375-113.109375 29.589844 8.09375-38.644531 68.191406c-4.671876 8.246094-5.851563 17.816407-3.324219 26.949219 2.527343 9.136719 8.457031 16.738281 16.703125 21.410157.515625.292968 1.035156.570312 1.5625.835937.039062.019531.078125.039063.121094.058594 1.386718.691406 2.8125 1.285156 4.257812 1.785156 6.730469 2.332031 14 2.585937 21.011719.648437 9.132812-2.527343 16.734375-8.460937 21.40625-16.703124l25.113281-44.316407 44.839844 3.179688 119.402344 119.398437c6 6.007813 6 15.777344-.003907 21.78125zm4.160157-46.019531-112.011719-112.007813c-.210938-.214843-.433594-.417968-.664063-.609374-1.613281-1.34375-3.613281-2.15625-5.722656-2.304688l-54.902344-3.894531c-3.796875-.261719-7.570312 1.757812-9.445312 5.066406l-28.234375 49.828125c-2.027344 3.578125-5.328125 6.152344-9.292969 7.25-3.960938 1.097656-8.117188.582031-11.699219-1.445312-3.578125-2.027344-6.152343-5.328126-7.25-9.292969-1.097656-3.964844-.585937-8.121094 1.445313-11.699219l37.691406-66.519531 15.273438-4.394531c.101562-.03125.199218-.070313.300781-.101563l57.003906-16.460937h68.875l85.984375 109.304687zm40.503906-73.039063-79.515625-101.136718 40.582031-25.808594 74.300781 96.511719zm0 0" }), (0, jsx_runtime_1.jsx)("path", { d: "m310.183594 117.53125c2.570312 0 5.140625-.980469 7.101562-2.941406l68.578125-68.578125c3.921875-3.921875 3.921875-10.277344 0-14.199219s-10.277343-3.921875-14.199219 0l-68.578124 68.578125c-3.921876 3.921875-3.921876 10.277344 0 14.199219 1.960937 1.960937 4.53125 2.941406 7.097656 2.941406zm0 0" }), (0, jsx_runtime_1.jsx)("path", { d: "m194.714844 114.589844c1.960937 1.960937 4.53125 2.941406 7.101562 2.941406 2.566406 0 5.136719-.980469 7.097656-2.941406 3.921876-3.921875 3.921876-10.277344 0-14.199219l-68.578124-68.578125c-3.921876-3.921875-10.277344-3.921875-14.199219 0s-3.921875 10.277344 0 14.199219zm0 0" }), (0, jsx_runtime_1.jsx)("path", { d: "m256 117.53125c5.542969 0 10.039062-4.496094 10.039062-10.039062v-56.753907c0-5.542969-4.496093-10.039062-10.039062-10.039062s-10.039062 4.496093-10.039062 10.039062v56.753907c0 5.542968 4.496093 10.039062 10.039062 10.039062zm0 0" }), (0, jsx_runtime_1.jsx)("path", { d: "m246.734375 14.351562c1.59375 3.863282 5.566406 6.398438 9.757813 6.179688 4.140624-.214844 7.777343-3.011719 9.058593-6.953125 1.285157-3.972656-.113281-8.5-3.441406-11.03125-3.394531-2.5859375-8.128906-2.730469-11.679687-.382813-3.960938 2.617188-5.496094 7.828126-3.695313 12.1875zm0 0" })] })));
|
|
7
|
+
};
|
|
8
|
+
exports.default = HandShakeIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
const SupplierIcon = (props) => {
|
|
5
|
+
var _a;
|
|
6
|
+
return ((0, jsx_runtime_1.jsx)("svg", Object.assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', width: "512", height: "512", version: "1.1", viewBox: "0 0 160 160", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsxs)("g", { children: [(0, jsx_runtime_1.jsx)("path", { d: "M146.227,105.699l-27.514,5.464l-0.974-4.922l-1.858-9.362l-14.284,2.843l1.858,9.362l0.974,4.922l-7.976,1.587 c-0.743-1.627-1.627-3.164-2.622-4.601c-4.37-6.298-11.009-10.738-18.493-12.366c-1.708-0.372-3.466-0.593-5.254-0.663 l-9.884-49.784c-0.271-1.356,0.613-2.682,1.969-2.943l27.514-5.465l0.974,4.922l1.868,9.362l14.284-2.843l-1.858-9.362 l-0.974-4.922l27.504-5.465c1.366-0.271,2.682,0.613,2.953,1.979l13.772,69.301C148.477,104.112,147.593,105.428,146.227,105.699z" }), (0, jsx_runtime_1.jsx)("path", { d: "M149.741,108.588l-51.994,10.327c0.356,1.106,0.66,2.24,0.891,3.407c0.232,1.167,0.385,2.331,0.478,3.489l51.994-10.327 c1.905-0.378,3.142-2.229,2.764-4.133C153.496,109.447,151.645,108.209,149.741,108.588z" }), (0, jsx_runtime_1.jsx)("path", { d: "M32.325,7.401c-0.554-1.651-2.248-2.682-4.002-2.333c-1.158,0.23-2.062,1.005-2.509,2.005 c-0.508,1.137-1.618,1.89-2.84,2.133L8.982,11.985c-1.646,0.327-2.918,1.739-2.924,3.417c-0.008,2.308,2.064,3.923,4.203,3.498 l14.083-2.797c1.221-0.243,2.535,0.029,3.439,0.886c0.795,0.753,1.927,1.124,3.085,0.894c1.718-0.341,2.881-1.882,2.817-3.579 c4.769-0.432,9.207,2.805,10.161,7.605l15.416,77.618c1.219-0.41,2.473-0.755,3.768-1.012c1.039-0.206,2.077-0.356,3.11-0.452 L50.743,20.538C49.035,11.938,40.899,6.239,32.325,7.401z" }), (0, jsx_runtime_1.jsx)("path", { d: "M63.715,101.963c-14.503,2.88-23.925,16.973-21.044,31.475c2.88,14.503,16.972,23.925,31.475,21.044 c14.503-2.881,23.925-16.973,21.044-31.475S78.218,99.082,63.715,101.963z M70.914,138.208c-5.506,1.094-10.876-2.496-11.969-8.003 c-1.094-5.506,2.496-10.876,8.003-11.969c5.506-1.094,10.876,2.496,11.969,8.003C80.01,131.745,76.42,137.115,70.914,138.208z" })] }) })));
|
|
7
|
+
};
|
|
8
|
+
exports.default = SupplierIcon;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.postFile = exports.getUploadUrls = void 0;
|
|
16
|
+
const axios_1 = __importDefault(require("axios"));
|
|
17
|
+
const AxiosAPI_1 = __importDefault(require("../Utils/AxiosAPI"));
|
|
18
|
+
const AxiosWidget_1 = __importDefault(require("../Utils/AxiosWidget"));
|
|
19
|
+
function getUploadUrls(files, idOrganization) {
|
|
20
|
+
var _a;
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
const filesArray = files.map((file) => ({
|
|
23
|
+
publicFile: false,
|
|
24
|
+
extension: file.name.split('.').pop(),
|
|
25
|
+
}));
|
|
26
|
+
let response;
|
|
27
|
+
if (idOrganization) {
|
|
28
|
+
response = yield AxiosWidget_1.default.post(`/uploadfile?idOrganization=${idOrganization}`, filesArray);
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
response = yield AxiosAPI_1.default.post('/uploadfile', filesArray);
|
|
32
|
+
}
|
|
33
|
+
return (_a = response.data) !== null && _a !== void 0 ? _a : undefined;
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
exports.getUploadUrls = getUploadUrls;
|
|
37
|
+
function postFile(file, postInfo) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
const formData = new FormData();
|
|
40
|
+
Object.keys(postInfo.postInfo.fields).forEach((key) => {
|
|
41
|
+
formData.append(key, postInfo.postInfo.fields[key]);
|
|
42
|
+
});
|
|
43
|
+
// Actual file has to be appended last.
|
|
44
|
+
formData.append('file', file);
|
|
45
|
+
yield axios_1.default.post(postInfo.postInfo.url, formData, {
|
|
46
|
+
timeout: 300000,
|
|
47
|
+
headers: {
|
|
48
|
+
'Content-Type': 'multipart/form-data',
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
return {
|
|
52
|
+
fileName: file.name,
|
|
53
|
+
S3Key: postInfo.S3Key,
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
exports.postFile = postFile;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.fetchForm = void 0;
|
|
16
|
+
const AxiosAPI_1 = __importDefault(require("../Utils/AxiosAPI"));
|
|
17
|
+
const AxiosWidget_1 = __importDefault(require("../Utils/AxiosWidget"));
|
|
18
|
+
function fetchForm(apiKey, idOrganization) {
|
|
19
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20
|
+
try {
|
|
21
|
+
const response = yield (idOrganization
|
|
22
|
+
? AxiosWidget_1.default.get(`/form/${apiKey}?idOrganization=${idOrganization}`)
|
|
23
|
+
: AxiosAPI_1.default.get(`/form/${apiKey}`));
|
|
24
|
+
return response.data;
|
|
25
|
+
}
|
|
26
|
+
catch (error) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
exports.fetchForm = fetchForm;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.fetchOrganization = void 0;
|
|
16
|
+
const AxiosAPI_1 = __importDefault(require("../Utils/AxiosAPI"));
|
|
17
|
+
const AxiosWidget_1 = __importDefault(require("../Utils/AxiosWidget"));
|
|
18
|
+
function fetchOrganization(idOrganization) {
|
|
19
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20
|
+
try {
|
|
21
|
+
const response = idOrganization
|
|
22
|
+
? yield AxiosWidget_1.default.get(`/organization?idOrganization=${idOrganization}`)
|
|
23
|
+
: yield AxiosAPI_1.default.get('/organization');
|
|
24
|
+
return response.data;
|
|
25
|
+
}
|
|
26
|
+
catch (error) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
exports.fetchOrganization = fetchOrganization;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
12
|
+
var t = {};
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
14
|
+
t[p] = s[p];
|
|
15
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
16
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
17
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
18
|
+
t[p[i]] = s[p[i]];
|
|
19
|
+
}
|
|
20
|
+
return t;
|
|
21
|
+
};
|
|
22
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
23
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
27
|
+
const react_1 = require("react");
|
|
28
|
+
const CustomBtn_module_css_1 = __importDefault(require("./CustomBtn.module.css"));
|
|
29
|
+
const Loader_1 = __importDefault(require("../Loader/Loader"));
|
|
30
|
+
function CustomBtn(_a) {
|
|
31
|
+
var { label, onClick, backgroundColor, color, loading = false, disabled = false, width = 'fit-content' } = _a, others = __rest(_a, ["label", "onClick", "backgroundColor", "color", "loading", "disabled", "width"]);
|
|
32
|
+
const [coords, setCoords] = (0, react_1.useState)(undefined);
|
|
33
|
+
(0, react_1.useEffect)(() => {
|
|
34
|
+
if (coords)
|
|
35
|
+
setCoords(undefined);
|
|
36
|
+
}, [label]);
|
|
37
|
+
return ((0, jsx_runtime_1.jsxs)("button", Object.assign({ className: CustomBtn_module_css_1.default.customBtn, style: {
|
|
38
|
+
width,
|
|
39
|
+
background: backgroundColor,
|
|
40
|
+
color,
|
|
41
|
+
}, "data-testid": others['data-testid'], disabled: disabled || loading, onClick: (e) => __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
const rect = e.target.getBoundingClientRect();
|
|
43
|
+
setCoords({
|
|
44
|
+
x: e.clientX - rect.left,
|
|
45
|
+
y: e.clientY - rect.top,
|
|
46
|
+
});
|
|
47
|
+
setTimeout(() => setCoords(undefined), 600);
|
|
48
|
+
onClick && onClick(e);
|
|
49
|
+
}) }, { children: [coords ? ((0, jsx_runtime_1.jsx)("span", { className: CustomBtn_module_css_1.default.ripple, style: {
|
|
50
|
+
backgroundColor: color,
|
|
51
|
+
left: coords.x,
|
|
52
|
+
top: coords.y,
|
|
53
|
+
} })) : ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {})), (0, jsx_runtime_1.jsx)("div", Object.assign({ style: {
|
|
54
|
+
visibility: loading ? 'hidden' : 'visible',
|
|
55
|
+
margin: '0px 10px',
|
|
56
|
+
} }, { children: label })), loading && ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: CustomBtn_module_css_1.default.loaderContainer }, { children: (0, jsx_runtime_1.jsx)(Loader_1.default, { color: color, position: "unset" }) })))] })));
|
|
57
|
+
}
|
|
58
|
+
exports.default = CustomBtn;
|