intelicoreact 1.6.7 → 1.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Atomic/FormElements/ActionAlert/ActionAlert.interface.ts +24 -0
- package/dist/Atomic/FormElements/ActionAlert/ActionAlert.js +1 -0
- package/dist/Atomic/FormElements/ActionAlert/index.ts +5 -0
- package/dist/Atomic/FormElements/AdvancedStatus/AdvancedStatus.interface.ts +15 -0
- package/dist/Atomic/FormElements/AdvancedStatus/AdvancedStatus.js +1 -0
- package/dist/Atomic/FormElements/AdvancedStatus/index.ts +4 -0
- package/dist/Atomic/FormElements/Calendar/Calendar.js +1 -0
- package/dist/Atomic/FormElements/Calendar/Calendar.props.js +1 -0
- package/dist/Atomic/FormElements/CheckboxInput/CheckboxInput.interface.ts +16 -0
- package/dist/Atomic/FormElements/CheckboxInput/CheckboxInput.js +1 -0
- package/dist/Atomic/FormElements/CheckboxInput/index.ts +4 -0
- package/dist/Atomic/FormElements/CheckboxesLine/CheckboxesLine.interface.ts +25 -0
- package/dist/Atomic/FormElements/CheckboxesLine/CheckboxesLine.js +1 -0
- package/dist/Atomic/FormElements/CheckboxesLine/index.ts +4 -0
- package/dist/Atomic/FormElements/Datepicker/Datepicker.js +1 -0
- package/dist/Atomic/FormElements/Datepicker/components/Calendar.js +1 -0
- package/dist/Atomic/FormElements/Dropdown/Dropdown.js +1 -0
- package/dist/Atomic/FormElements/Dropdown/components/DropdownLoader.js +1 -0
- package/dist/Atomic/FormElements/DropdownLiveSearch/DropdownLiveSearch.js +1 -0
- package/dist/Atomic/FormElements/FileLoader/FileLoader.js +1 -0
- package/dist/Atomic/FormElements/FileLoader/partial/AnyOuterClass.scss +9 -0
- package/dist/Atomic/FormElements/FileLoader/partial/LoadZone.js +1 -0
- package/dist/Atomic/FormElements/FileLoader/partial/LoadedContent.js +1 -0
- package/dist/Atomic/FormElements/FileLoaderDescription/FileLoaderDescription.js +1 -0
- package/dist/Atomic/FormElements/FileLoaderLocal/FileLoaderLocal.js +1 -0
- package/dist/Atomic/FormElements/FileLoaderLocalGroup/FileLoaderLocalGroup.js +1 -0
- package/dist/Atomic/FormElements/FormattedRawSSN/FormattedRawSSN.js +1 -0
- package/dist/Atomic/FormElements/FormattedRawSSN/FormattedRawSSN_old.js +1 -0
- package/dist/Atomic/FormElements/Input/Input.js +1 -0
- package/dist/Atomic/FormElements/InputCalendar/InputCalendar.js +1 -0
- package/dist/Atomic/FormElements/InputColor/InputColor.js +1 -0
- package/dist/Atomic/FormElements/InputCurrency/InputCurrency.interface.ts +31 -0
- package/dist/Atomic/FormElements/InputCurrency/InputCurrency.js +1 -0
- package/dist/Atomic/FormElements/InputCurrency/index.ts +2 -0
- package/dist/Atomic/FormElements/InputDateRange/InputDateRange.js +1 -0
- package/dist/Atomic/FormElements/InputDateRange/components/DateInput.js +1 -0
- package/dist/Atomic/FormElements/InputDateRange/components/Datepicker.js +1 -0
- package/dist/Atomic/FormElements/InputDateRange/components/OpenedPart.js +1 -0
- package/dist/Atomic/FormElements/InputDateRange/components/SelectItem.js +1 -0
- package/dist/Atomic/FormElements/InputDateRange/dependencies.js +1 -0
- package/dist/Atomic/FormElements/InputLink/InputLink.js +1 -0
- package/dist/Atomic/FormElements/InputMask/InputCarretPosition.js +1 -0
- package/dist/Atomic/FormElements/InputMask/InputMask.js +1 -0
- package/dist/Atomic/FormElements/InputMask/config.js +1 -0
- package/dist/Atomic/FormElements/InputMask/functions.js +1 -0
- package/dist/Atomic/FormElements/InputMask2/InputMask2.js +1 -0
- package/dist/Atomic/FormElements/InputMask2/config.js +1 -0
- package/dist/Atomic/FormElements/InputMask2/functions.js +1 -0
- package/dist/Atomic/FormElements/InputMask3/InputMask3.js +1 -0
- package/dist/Atomic/FormElements/InputMask3/config.js +1 -0
- package/dist/Atomic/FormElements/InputMask3/functions.js +1 -0
- package/dist/Atomic/FormElements/InputWithAction/InputWithAction.js +1 -0
- package/dist/Atomic/FormElements/InputsRow/InputsRow.js +1 -0
- package/dist/Atomic/FormElements/Label/Label.interface.ts +20 -0
- package/dist/Atomic/FormElements/Label/Label.js +1 -0
- package/dist/Atomic/FormElements/Label/index.ts +4 -0
- package/dist/Atomic/FormElements/MobileCalendar/MobileCalendar.js +1 -0
- package/dist/Atomic/FormElements/MultiSelect/MultiSelect.js +1 -0
- package/dist/Atomic/FormElements/NumericInput/NumericInput.js +1 -0
- package/dist/Atomic/FormElements/RadioGroup/RadioGroup.js +1 -0
- package/dist/Atomic/FormElements/RadioGroupWithInput/RadioGroupWithInput.js +1 -0
- package/dist/Atomic/FormElements/RadioInput/RadioInput.js +1 -0
- package/dist/Atomic/FormElements/RadioRowSwitcher/RadioRowSwitcher.js +1 -0
- package/dist/Atomic/FormElements/RangeCalendar/RangeCalendar.js +1 -0
- package/dist/Atomic/FormElements/RangeInputs/RangeInputs.js +1 -0
- package/dist/Atomic/FormElements/RangeList/RangeList.js +1 -0
- package/dist/Atomic/FormElements/RangeList/partial/AnyOuterClass.scss +26 -0
- package/dist/Atomic/FormElements/RangeList/partial/RangeListRow.js +1 -0
- package/dist/Atomic/FormElements/RangeSlider/RangeSlider.js +1 -0
- package/dist/Atomic/FormElements/RangeSlider2/RangeSlider2.js +1 -0
- package/dist/Atomic/FormElements/SwitchableRow/SwitchableRow.js +1 -0
- package/dist/Atomic/FormElements/SwitchableRow/partial/AnyOuterClass.scss +18 -0
- package/dist/Atomic/FormElements/Switcher/Switcher.js +1 -0
- package/dist/Atomic/FormElements/Switcher/partial/AnyOuterClass.scss +7 -0
- package/dist/Atomic/FormElements/SwitcherCheckbox/SwitcherCheckbox.js +1 -0
- package/dist/Atomic/FormElements/SwitcherCheckbox/partial/AnyOuterClass.scss +7 -0
- package/dist/Atomic/FormElements/SwitcherHide/SwitcherHide.js +1 -0
- package/dist/Atomic/FormElements/SwitcherHide/partial/AnyOuterClass.scss +7 -0
- package/dist/Atomic/FormElements/SwitcherRadio/SwitcherRadio.js +1 -0
- package/dist/Atomic/FormElements/SwitcherRadio/partial/AnyOuterClass.scss +7 -0
- package/dist/Atomic/FormElements/SwitcherRange/SwitcherRange.js +1 -0
- package/dist/Atomic/FormElements/SwitcherRangeList/SwitcherRangeList.js +1 -0
- package/dist/Atomic/FormElements/SwitcherRangeList/partial/AnyOuterClass.scss +37 -0
- package/dist/Atomic/FormElements/SwitcherTagsDropdown/SwitcherTagsDropdown.js +1 -0
- package/dist/Atomic/FormElements/SwitcherTagsDropdown/partial/AnyOuterClass.scss +13 -0
- package/dist/Atomic/FormElements/SwitcherTagsDropdown/partial/States.js +1 -0
- package/dist/Atomic/FormElements/SwitcherTextarea/SwitcherTextarea.js +1 -0
- package/dist/Atomic/FormElements/SwitcherTextarea/partial/AnyOuterClass.scss +21 -0
- package/dist/Atomic/FormElements/TagListToDropdown/TagListToDropdown.js +1 -0
- package/dist/Atomic/FormElements/TagsDropdown/TagsDropdown.js +1 -0
- package/dist/Atomic/FormElements/Text/Text.js +1 -0
- package/dist/Atomic/FormElements/TextSwitcher/TextSwitcher.js +1 -0
- package/dist/Atomic/FormElements/TextSwitcher/partial/AnyOuterClass.scss +5 -0
- package/dist/Atomic/FormElements/Textarea/Textarea.js +1 -0
- package/dist/Atomic/FormElements/TieredCheckboxes/TieredCheckboxes.js +1 -0
- package/dist/Atomic/FormElements/TieredCheckboxes/partial/AccordionWithCheckbox.js +1 -0
- package/dist/Atomic/FormElements/TimeRange/TimeRange.interface.ts +8 -0
- package/dist/Atomic/FormElements/TimeRange/TimeRange.js +1 -0
- package/dist/Atomic/FormElements/TimeRange/index.ts +4 -0
- package/dist/Atomic/FormElements/UserContacts/UserContacts.interface.ts +36 -0
- package/dist/Atomic/FormElements/UserContacts/UserContacts.js +1 -0
- package/dist/Atomic/FormElements/UserContacts/index.ts +4 -0
- package/dist/Atomic/FormElements/UserContacts/partial/AnyOuterClass.scss +21 -0
- package/dist/Atomic/FormElements/VariantsListRadio/VariantsListRadio.js +1 -0
- package/dist/Atomic/FormElements/VariantsListRadio/partials/VariantsListRadioItem.js +1 -0
- package/dist/Atomic/FormElements/WidgetPseudoTable/WidgetPseudoTable.js +1 -0
- package/dist/Atomic/FormElements/WidgetPseudoTable/partial/AnyOuterClass.scss +83 -0
- package/dist/Atomic/FormElements/WidgetPseudoTable/partial/constructor.js +1 -0
- package/dist/Atomic/FormElements/WidgetWithSwitchableRows/WidgetWithSwitchableRows.js +1 -0
- package/dist/Atomic/FormElements/WidgetWithSwitchableRows/partial/AnyOuterClass.scss +83 -0
- package/dist/Atomic/FormElements/WidgetWithSwitchableRows/partial/constructor.js +1 -0
- package/dist/Atomic/Layout/Header/Header.js +1 -0
- package/dist/Atomic/Layout/Header/partials/default_ava.png +0 -0
- package/dist/Atomic/Layout/MainMenu/MainMenu.jsx +164 -0
- package/dist/Atomic/Layout/MainMenu/partials/fiLogo.svg +14 -0
- package/dist/Atomic/Layout/MainMenu/partials/finturfLogo.svg +7 -0
- package/dist/Atomic/Layout/Spinner/Spinner.interface.ts +5 -0
- package/dist/Atomic/Layout/Spinner/Spinner.js +1 -0
- package/dist/Atomic/Layout/Spinner/index.ts +4 -0
- package/dist/Atomic/UI/Accordion/Accordion.interface.ts +59 -0
- package/dist/Atomic/UI/Accordion/Accordion.js +1 -0
- package/dist/Atomic/UI/Accordion/AccordionItem.js +1 -0
- package/dist/Atomic/UI/Accordion/index.ts +4 -0
- package/dist/Atomic/UI/AccordionTable/AccordionTable.js +1 -0
- package/dist/Atomic/UI/AccordionText/AccordionText.js +1 -0
- package/dist/Atomic/UI/AdvancedTag/AdvTag.js +1 -0
- package/dist/Atomic/UI/AdvancedTag/AdvancedTags.js +1 -0
- package/dist/Atomic/UI/Alert/Alert.js +1 -0
- package/dist/Atomic/UI/Arrow/Arrow.js +1 -0
- package/dist/Atomic/UI/Box/Box.js +1 -0
- package/dist/Atomic/UI/Button/Button.js +1 -0
- package/dist/Atomic/UI/ButtonsBar/ButtonsBar.js +1 -0
- package/dist/Atomic/UI/Chart/Chart.js +1 -0
- package/dist/Atomic/UI/Chart/partial/AnyOuterClass.scss +39 -0
- package/dist/Atomic/UI/Chart/partial/Chart.constants.js +1 -0
- package/dist/Atomic/UI/Chart/partial/ChartTypeSwitcherIcon/ChartTypeSwitcherIcon.js +1 -0
- package/dist/Atomic/UI/Chart/partial/datasetSetters.js +1 -0
- package/dist/Atomic/UI/Chart/partial/optionsConstructor.js +1 -0
- package/dist/Atomic/UI/Chart/partial/optionsSetters.js +1 -0
- package/dist/Atomic/UI/Chart/partial/utils.js +1 -0
- package/dist/Atomic/UI/CircleProgressBar/CircleProgressBar.js +1 -0
- package/dist/Atomic/UI/DateTime/DateTime.js +1 -0
- package/dist/Atomic/UI/DateTime/partial/AnyOuterClass.scss +10 -0
- package/dist/Atomic/UI/DebugContainer/DebugContainer.js +1 -0
- package/dist/Atomic/UI/DebugContainer/useDebugContainer.js +1 -0
- package/dist/Atomic/UI/DoubleString/DoubleString.js +1 -0
- package/dist/Atomic/UI/DoubleString/partial/AnyOuterClass.scss +18 -0
- package/dist/Atomic/UI/DynamicIcon/DynamicIcon.interface.ts +8 -0
- package/dist/Atomic/UI/DynamicIcon/DynamicIcon.js +1 -0
- package/dist/Atomic/UI/DynamicIcon/index.ts +4 -0
- package/dist/Atomic/UI/ExampleChartIntegration/ExampleChartIntegration.js +1 -0
- package/dist/Atomic/UI/ExampleChartIntegration/partial/AnyOuterClass.scss +68 -0
- package/dist/Atomic/UI/ExampleChartIntegration/partial/utils.js +1 -0
- package/dist/Atomic/UI/Hint/Hint.interface.ts +21 -0
- package/dist/Atomic/UI/Hint/Hint.js +1 -0
- package/dist/Atomic/UI/Hint/index.ts +5 -0
- package/dist/Atomic/UI/Hint/partials/_utils.js +1 -0
- package/dist/Atomic/UI/Modal/Modal.interface.ts +83 -0
- package/dist/Atomic/UI/Modal/Modal.js +1 -0
- package/dist/Atomic/UI/Modal/ModalHOC.js +1 -0
- package/dist/Atomic/UI/Modal/index.ts +6 -0
- package/dist/Atomic/UI/Modal/partials/ModalFooter.js +1 -0
- package/dist/Atomic/UI/Modal/partials/ModalTitle.js +1 -0
- package/dist/Atomic/UI/Modal/partials/useMobileModal.js +1 -0
- package/dist/Atomic/UI/MonoAccordion/MonoAccordion._test.js +1 -0
- package/dist/Atomic/UI/MonoAccordion/MonoAccordion.interface.ts +19 -0
- package/dist/Atomic/UI/MonoAccordion/MonoAccordion.js +1 -0
- package/dist/Atomic/UI/MonoAccordion/index.ts +4 -0
- package/dist/Atomic/UI/MonoAccordion/partial/AnyOuterClass.scss +41 -0
- package/dist/Atomic/UI/NavLine/NavLine.interface.ts +34 -0
- package/dist/Atomic/UI/NavLine/NavLine.js +1 -0
- package/dist/Atomic/UI/NavLine/index.ts +4 -0
- package/dist/Atomic/UI/PageTitle/PageTitle.interface.ts +17 -0
- package/dist/Atomic/UI/PageTitle/PageTitle.js +1 -0
- package/dist/Atomic/UI/PageTitle/index.ts +4 -0
- package/dist/Atomic/UI/PieChart/PieChart.js +1 -0
- package/dist/Atomic/UI/Price/Price.interface.ts +7 -0
- package/dist/Atomic/UI/Price/Price.js +1 -0
- package/dist/Atomic/UI/Price/index.ts +4 -0
- package/dist/Atomic/UI/PriceRange/PriceRange.interface.ts +9 -0
- package/dist/Atomic/UI/PriceRange/PriceRange.js +1 -0
- package/dist/Atomic/UI/PriceRange/index.ts +4 -0
- package/dist/Atomic/UI/ProgressLine/ProgressLine.interface.ts +38 -0
- package/dist/Atomic/UI/ProgressLine/ProgressLine.js +1 -0
- package/dist/Atomic/UI/ProgressLine/index.ts +4 -0
- package/dist/Atomic/UI/Status/Status.interface.ts +17 -0
- package/dist/Atomic/UI/Status/Status.js +1 -0
- package/dist/Atomic/UI/Status/index.ts +4 -0
- package/dist/Atomic/UI/Table/Partials/TdCell.js +1 -0
- package/dist/Atomic/UI/Table/Partials/TdHeader.js +1 -0
- package/dist/Atomic/UI/Table/Partials/TdRow.js +1 -0
- package/dist/Atomic/UI/Table/Partials/TdTitle.js +1 -0
- package/dist/Atomic/UI/Table/Table.js +1 -0
- package/dist/Atomic/UI/Table/TdTypes/TdActions.js +1 -0
- package/dist/Atomic/UI/Table/TdTypes/TdPriority.js +1 -0
- package/dist/Atomic/UI/Table/TdTypes/TdRange.js +1 -0
- package/dist/Atomic/UI/Table/TdTypes/TdWeight.js +1 -0
- package/dist/Atomic/UI/Tag/Tag.interface.ts +18 -0
- package/dist/Atomic/UI/Tag/Tag.js +1 -0
- package/dist/Atomic/UI/Tag/index.ts +4 -0
- package/dist/Atomic/UI/TagList/TagList.js +1 -0
- package/dist/Atomic/UI/UserBox/UserBox.interface.ts +10 -0
- package/dist/Atomic/UI/UserBox/UserBox.js +1 -0
- package/dist/Atomic/UI/UserBox/index.ts +4 -0
- package/dist/Atomic/UI/WizardStepper/constructor.js +1 -0
- package/dist/Atomic/UI/WizardStepper/index.js +1 -0
- package/dist/Atomic/UI/WizardStepper/ui/StateIcon/StateIcon.js +1 -0
- package/dist/Atomic/UI/WizardStepper/ui/StateIcon/index.js +1 -0
- package/dist/Atomic/UI/WizardStepper/ui/StepRow/StepRow.js +1 -0
- package/dist/Atomic/UI/WizardStepper/ui/StepRow/index.js +1 -0
- package/dist/Atomic/UI/WizardStepper/ui/StepWrapper/StepWrapper.js +1 -0
- package/dist/Atomic/UI/WizardStepper/ui/StepWrapper/index.js +1 -0
- package/dist/Atomic/UI/WizardStepper/ui/icons.js +1 -0
- package/dist/Atomic/UI/WizardStepper/ui/index.js +1 -0
- package/dist/Classes/AbortableFetch.js +1 -0
- package/dist/Classes/AnimatedHandler.js +1 -0
- package/dist/Classes/RESTAPI/index.js +1 -0
- package/dist/Classes/RESTAPI/partials/AbortableFetch.js +1 -0
- package/dist/Classes/RESTAPI/partials/ApiBase.js +1 -0
- package/dist/Classes/RESTAPI/partials/ApiRequestCreators.js +1 -0
- package/dist/Classes/RESTAPI/partials/ApiUtils.js +1 -0
- package/dist/Classes/RESTAPI/partials/CredentialsProcessing.js +1 -0
- package/dist/Classes/RESTAPI/partials/Utils.js +1 -0
- package/dist/Classes/RESTAPI/partials/_outerDependencies.js +1 -0
- package/dist/Classes/RESTAPI/partials/_utils.js +1 -0
- package/dist/Classes/RESTAPI/readme.txt +196 -0
- package/dist/Constants/index.constants.js +1 -0
- package/dist/Functions/Portal.js +1 -0
- package/dist/Functions/README.txt +9 -0
- package/dist/Functions/customEventListener.js +1 -0
- package/dist/Functions/dateTime.js +1 -0
- package/dist/Functions/fieldValueFormatters.js +1 -0
- package/dist/Functions/guards/assertions.js +1 -0
- package/dist/Functions/guards/safeValue.js +1 -0
- package/dist/Functions/guards/typeGuards.js +1 -0
- package/dist/Functions/hooks/useFormFieldsChangesManager.js +1 -0
- package/dist/Functions/locale/createTranslator.js +1 -0
- package/dist/Functions/operations.js +1 -0
- package/dist/Functions/presets/inputMaskPresets.js +1 -0
- package/dist/Functions/presets/inputPresets.js +1 -0
- package/dist/Functions/presets/mobileKeyboardTypesPresets.js +1 -0
- package/dist/Functions/schemas.js +1 -0
- package/dist/Functions/useBodyScrollLock.js +1 -0
- package/dist/Functions/useClickOutside.js +1 -0
- package/dist/Functions/useDebounce.js +1 -0
- package/dist/Functions/useFieldFocus.js +1 -0
- package/dist/Functions/useFormTools/form-drivers/ArrayWithObjects.js +1 -0
- package/dist/Functions/useFormTools/form-drivers/ObjectWithIterableObjects.js +1 -0
- package/dist/Functions/useFormTools/form-drivers/ObjectWithNamedKeyObjects.js +1 -0
- package/dist/Functions/useFormTools/functions/General.js +1 -0
- package/dist/Functions/useFormTools/functions/RenderFields.js +1 -0
- package/dist/Functions/useFormTools/functions/usePrevious.js +1 -0
- package/dist/Functions/useFormTools/index.js +1 -0
- package/dist/Functions/useInputHighlightError.js +1 -0
- package/dist/Functions/useIsMobile/index.ts +3 -0
- package/dist/Functions/useIsMobile/useIsMobile.js +1 -0
- package/dist/Functions/useKeyPress/useHandleKeyPress.js +1 -0
- package/dist/Functions/useKeyPress/useKeyPress.js +1 -0
- package/dist/Functions/useLocalStorage.js +1 -0
- package/dist/Functions/useLocationParams.js +1 -0
- package/dist/Functions/useMediaQuery.js +1 -0
- package/dist/Functions/useMetaInfo.js +1 -0
- package/dist/Functions/useMouseUpOutside.js +1 -0
- package/dist/Functions/useOnlineStatus.js +1 -0
- package/dist/Functions/usePasswordChecker.js +1 -0
- package/dist/Functions/usePrevious.js +1 -0
- package/dist/Functions/useResize.js +1 -0
- package/dist/Functions/useScrollTo.js +1 -0
- package/dist/Functions/useToggle.js +1 -0
- package/dist/Functions/utils.js +1 -0
- package/dist/Langs.js +1 -0
- package/dist/Molecular/CustomIcons/components/AffiliateNetworks.js +1 -0
- package/dist/Molecular/CustomIcons/components/AlertCircle.js +1 -0
- package/dist/Molecular/CustomIcons/components/AppStore.js +1 -0
- package/dist/Molecular/CustomIcons/components/Arrow.js +1 -0
- package/dist/Molecular/CustomIcons/components/ArrowDown.js +1 -0
- package/dist/Molecular/CustomIcons/components/ArrowLeft.js +1 -0
- package/dist/Molecular/CustomIcons/components/ArrowRight.js +1 -0
- package/dist/Molecular/CustomIcons/components/ArrowUp.js +1 -0
- package/dist/Molecular/CustomIcons/components/Bell.js +1 -0
- package/dist/Molecular/CustomIcons/components/Button.js +1 -0
- package/dist/Molecular/CustomIcons/components/Campaigns.js +1 -0
- package/dist/Molecular/CustomIcons/components/Check.js +1 -0
- package/dist/Molecular/CustomIcons/components/Check2.js +1 -0
- package/dist/Molecular/CustomIcons/components/ChevronDown.js +1 -0
- package/dist/Molecular/CustomIcons/components/ChevronDownDisabled.js +1 -0
- package/dist/Molecular/CustomIcons/components/ChevronLeft.js +1 -0
- package/dist/Molecular/CustomIcons/components/ChevronRight.js +1 -0
- package/dist/Molecular/CustomIcons/components/ChevronUp.js +1 -0
- package/dist/Molecular/CustomIcons/components/ChevronUpDown.js +1 -0
- package/dist/Molecular/CustomIcons/components/Close.js +1 -0
- package/dist/Molecular/CustomIcons/components/ColumnsOrder.js +1 -0
- package/dist/Molecular/CustomIcons/components/Delete.js +1 -0
- package/dist/Molecular/CustomIcons/components/Edit.js +1 -0
- package/dist/Molecular/CustomIcons/components/Email.js +1 -0
- package/dist/Molecular/CustomIcons/components/FinturfLogo.js +1 -0
- package/dist/Molecular/CustomIcons/components/FinturfLogo2.js +1 -0
- package/dist/Molecular/CustomIcons/components/Flows.js +1 -0
- package/dist/Molecular/CustomIcons/components/Gift.js +1 -0
- package/dist/Molecular/CustomIcons/components/GoogleAuth.js +1 -0
- package/dist/Molecular/CustomIcons/components/GooglePlay.js +1 -0
- package/dist/Molecular/CustomIcons/components/HelpCircle.js +1 -0
- package/dist/Molecular/CustomIcons/components/HelpCircle2.js +1 -0
- package/dist/Molecular/CustomIcons/components/HelpCircleFilled.js +1 -0
- package/dist/Molecular/CustomIcons/components/Home.js +1 -0
- package/dist/Molecular/CustomIcons/components/Home2.js +1 -0
- package/dist/Molecular/CustomIcons/components/Key.js +1 -0
- package/dist/Molecular/CustomIcons/components/Landers.js +1 -0
- package/dist/Molecular/CustomIcons/components/Lock.js +1 -0
- package/dist/Molecular/CustomIcons/components/Mail.js +1 -0
- package/dist/Molecular/CustomIcons/components/Mastercard.js +1 -0
- package/dist/Molecular/CustomIcons/components/Minus.js +1 -0
- package/dist/Molecular/CustomIcons/components/Offers.js +1 -0
- package/dist/Molecular/CustomIcons/components/Pause.js +1 -0
- package/dist/Molecular/CustomIcons/components/PayPal.js +1 -0
- package/dist/Molecular/CustomIcons/components/PayPalLightLarge.js +1 -0
- package/dist/Molecular/CustomIcons/components/Phone.js +1 -0
- package/dist/Molecular/CustomIcons/components/Play.js +1 -0
- package/dist/Molecular/CustomIcons/components/Plus.js +1 -0
- package/dist/Molecular/CustomIcons/components/Profile.js +1 -0
- package/dist/Molecular/CustomIcons/components/QRCode.js +1 -0
- package/dist/Molecular/CustomIcons/components/Rectangle.js +1 -0
- package/dist/Molecular/CustomIcons/components/Revert.js +1 -0
- package/dist/Molecular/CustomIcons/components/Star.js +1 -0
- package/dist/Molecular/CustomIcons/components/Star2.js +1 -0
- package/dist/Molecular/CustomIcons/components/TrafficSources.js +1 -0
- package/dist/Molecular/CustomIcons/components/Trash.js +1 -0
- package/dist/Molecular/CustomIcons/components/TrashRed.js +1 -0
- package/dist/Molecular/CustomIcons/components/Triggers.js +1 -0
- package/dist/Molecular/CustomIcons/components/User.js +1 -0
- package/dist/Molecular/CustomIcons/components/Visa.js +1 -0
- package/dist/Molecular/CustomIcons/components/X.js +1 -0
- package/dist/Molecular/CustomIcons/index.js +1 -0
- package/dist/Molecular/FormElement/FormElement.js +1 -0
- package/dist/Molecular/FormWithDependOn/FormWithDependOn.js +1 -0
- package/dist/Molecular/FormWithDependOn/partials/_utils.js +1 -0
- package/dist/Molecular/InputAddress/InputAddress.js +1 -0
- package/dist/Molecular/InputPassword/InputPassword.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -0
- package/dist/index.ts +5 -0
- package/dist/types/base.interface.ts +7 -0
- package/dist/types/base.types.ts +7 -0
- package/dist/types/declaration/ArrayElement.d.ts +13 -0
- package/dist/types/declaration/AsyncReturnType.d.ts +17 -0
- package/dist/types/declaration/DeepPartial.d.ts +40 -0
- package/dist/types/declaration/DeepReadonly.d.ts +38 -0
- package/dist/types/declaration/DeepRequired.d.ts +50 -0
- package/dist/types/declaration/Flatten.d.ts +34 -0
- package/dist/types/declaration/FunctionType.d.ts +37 -0
- package/dist/types/declaration/If.d.ts +34 -0
- package/dist/types/declaration/KeysType.d.ts +10 -0
- package/dist/types/declaration/NonNullableType.d.ts +13 -0
- package/dist/types/declaration/ObjectType.d.ts +9 -0
- package/dist/types/declaration/OnlyObjectKeys.d.ts +65 -0
- package/dist/types/declaration/PrettyPrint.d.ts +29 -0
- package/dist/types/declaration/RequiredFields.d.ts +21 -0
- package/dist/types/declaration/TupleType.d.ts +10 -0
- package/dist/types/declaration/ValuesType.d.ts +10 -0
- package/dist/types/declaration/index.ts +35 -0
- package/dist/types/index.ts +1 -0
- package/package.json +78 -14
- package/dist/RangeSlider.stories.scss +0 -30
- package/dist/src/Atomic/FormElements/ActionAlert/ActionAlert.interface.js +0 -4
- package/dist/src/Atomic/FormElements/ActionAlert/ActionAlert.js +0 -98
- package/dist/src/Atomic/FormElements/ActionAlert/ActionAlert.stories.js +0 -89
- package/dist/src/Atomic/FormElements/ActionAlert/ActionAlert.test.js +0 -130
- package/dist/src/Atomic/FormElements/ActionAlert/index.js +0 -17
- package/dist/src/Atomic/FormElements/AdvancedStatus/AdvancedStatus.interface.js +0 -4
- package/dist/src/Atomic/FormElements/AdvancedStatus/AdvancedStatus.js +0 -48
- package/dist/src/Atomic/FormElements/AdvancedStatus/AdvancedStatus.stories.js +0 -81
- package/dist/src/Atomic/FormElements/AdvancedStatus/AdvancedStatus.test.js +0 -104
- package/dist/src/Atomic/FormElements/AdvancedStatus/index.js +0 -17
- package/dist/src/Atomic/FormElements/Calendar/Calendar.js +0 -249
- package/dist/src/Atomic/FormElements/Calendar/Calendar.props.js +0 -4
- package/dist/src/Atomic/FormElements/Calendar/Calendar.stories.js +0 -108
- package/dist/src/Atomic/FormElements/CheckboxInput/CheckboxInput.interface.js +0 -4
- package/dist/src/Atomic/FormElements/CheckboxInput/CheckboxInput.js +0 -65
- package/dist/src/Atomic/FormElements/CheckboxInput/CheckboxInput.stories.js +0 -100
- package/dist/src/Atomic/FormElements/CheckboxInput/CheckboxInput.test.js +0 -143
- package/dist/src/Atomic/FormElements/CheckboxInput/index.js +0 -17
- package/dist/src/Atomic/FormElements/CheckboxesLine/CheckboxesLine.interface.js +0 -4
- package/dist/src/Atomic/FormElements/CheckboxesLine/CheckboxesLine.js +0 -52
- package/dist/src/Atomic/FormElements/CheckboxesLine/CheckboxesLine.stories.js +0 -94
- package/dist/src/Atomic/FormElements/CheckboxesLine/CheckboxesLine.test.js +0 -177
- package/dist/src/Atomic/FormElements/CheckboxesLine/index.js +0 -17
- package/dist/src/Atomic/FormElements/Datepicker/Datepicker.js +0 -421
- package/dist/src/Atomic/FormElements/Datepicker/Datepicker.stories.js +0 -51
- package/dist/src/Atomic/FormElements/Datepicker/components/Calendar.js +0 -175
- package/dist/src/Atomic/FormElements/Dropdown/Dropdown.js +0 -699
- package/dist/src/Atomic/FormElements/Dropdown/Dropdown.stories.js +0 -596
- package/dist/src/Atomic/FormElements/Dropdown/components/DropdownLoader.js +0 -33
- package/dist/src/Atomic/FormElements/DropdownLiveSearch/DropdownLiveSearch.js +0 -513
- package/dist/src/Atomic/FormElements/DropdownLiveSearch/DropdownLiveSearch.stories.js +0 -272
- package/dist/src/Atomic/FormElements/FileLoader/FileLoader.js +0 -109
- package/dist/src/Atomic/FormElements/FileLoader/FileLoader.stories.js +0 -182
- package/dist/src/Atomic/FormElements/FileLoader/partial/LoadZone.js +0 -145
- package/dist/src/Atomic/FormElements/FileLoader/partial/LoadedContent.js +0 -115
- package/dist/src/Atomic/FormElements/FileLoaderDescription/FileLoaderDescription.js +0 -271
- package/dist/src/Atomic/FormElements/FileLoaderDescription/FileLoaderDescription.stories.js +0 -327
- package/dist/src/Atomic/FormElements/FileLoaderLocal/FileLoaderLocal.js +0 -162
- package/dist/src/Atomic/FormElements/FileLoaderLocal/FileLoaderLocal.stories.js +0 -186
- package/dist/src/Atomic/FormElements/FileLoaderLocalGroup/FileLoaderLocalGroup.js +0 -233
- package/dist/src/Atomic/FormElements/FileLoaderLocalGroup/FileLoaderLocalGroup.stories.js +0 -84
- package/dist/src/Atomic/FormElements/FormattedRawSSN/FormattedRawSSN.js +0 -165
- package/dist/src/Atomic/FormElements/FormattedRawSSN/FormattedRawSSN.stories.js +0 -107
- package/dist/src/Atomic/FormElements/FormattedRawSSN/FormattedRawSSN_old.js +0 -161
- package/dist/src/Atomic/FormElements/Input/Input.js +0 -382
- package/dist/src/Atomic/FormElements/Input/Input.stories.js +0 -251
- package/dist/src/Atomic/FormElements/InputCalendar/InputCalendar.js +0 -165
- package/dist/src/Atomic/FormElements/InputCalendar/InputCalendar.stories.js +0 -115
- package/dist/src/Atomic/FormElements/InputColor/InputColor.js +0 -62
- package/dist/src/Atomic/FormElements/InputColor/InputColor.stories.js +0 -119
- package/dist/src/Atomic/FormElements/InputCurrency/InputCurrency.interface.js +0 -4
- package/dist/src/Atomic/FormElements/InputCurrency/InputCurrency.js +0 -200
- package/dist/src/Atomic/FormElements/InputCurrency/InputCurrency.stories.js +0 -178
- package/dist/src/Atomic/FormElements/InputCurrency/InputCurrency.test.js +0 -129
- package/dist/src/Atomic/FormElements/InputCurrency/index.js +0 -16
- package/dist/src/Atomic/FormElements/InputDateRange/InputDateRange.js +0 -303
- package/dist/src/Atomic/FormElements/InputDateRange/InputDateRange.stories.js +0 -123
- package/dist/src/Atomic/FormElements/InputDateRange/components/DateInput.js +0 -60
- package/dist/src/Atomic/FormElements/InputDateRange/components/Datepicker.js +0 -657
- package/dist/src/Atomic/FormElements/InputDateRange/components/OpenedPart.js +0 -229
- package/dist/src/Atomic/FormElements/InputDateRange/components/SelectItem.js +0 -36
- package/dist/src/Atomic/FormElements/InputDateRange/dependencies.js +0 -259
- package/dist/src/Atomic/FormElements/InputLink/InputLink.js +0 -124
- package/dist/src/Atomic/FormElements/InputLink/InputLink.stories.js +0 -140
- package/dist/src/Atomic/FormElements/InputMask/InputCarretPosition.js +0 -52
- package/dist/src/Atomic/FormElements/InputMask/InputMask.js +0 -969
- package/dist/src/Atomic/FormElements/InputMask/InputMask.stories.js +0 -303
- package/dist/src/Atomic/FormElements/InputMask/config.js +0 -18
- package/dist/src/Atomic/FormElements/InputMask/functions.js +0 -91
- package/dist/src/Atomic/FormElements/InputMask2/InputMask2.js +0 -595
- package/dist/src/Atomic/FormElements/InputMask2/InputMask2.stories.js +0 -314
- package/dist/src/Atomic/FormElements/InputMask2/config.js +0 -18
- package/dist/src/Atomic/FormElements/InputMask2/functions.js +0 -91
- package/dist/src/Atomic/FormElements/InputMask3/InputMask3.js +0 -673
- package/dist/src/Atomic/FormElements/InputMask3/InputMask3.stories.js +0 -335
- package/dist/src/Atomic/FormElements/InputMask3/config.js +0 -18
- package/dist/src/Atomic/FormElements/InputMask3/functions.js +0 -91
- package/dist/src/Atomic/FormElements/InputWithAction/InputWithAction.js +0 -133
- package/dist/src/Atomic/FormElements/InputWithAction/InputWithAction.stories.js +0 -276
- package/dist/src/Atomic/FormElements/InputsRow/InputsRow.js +0 -188
- package/dist/src/Atomic/FormElements/InputsRow/InputsRow.stories.js +0 -56
- package/dist/src/Atomic/FormElements/Label/Label.interface.js +0 -4
- package/dist/src/Atomic/FormElements/Label/Label.js +0 -87
- package/dist/src/Atomic/FormElements/Label/Label.stories.js +0 -47
- package/dist/src/Atomic/FormElements/Label/Label.test.js +0 -167
- package/dist/src/Atomic/FormElements/Label/index.js +0 -17
- package/dist/src/Atomic/FormElements/MobileCalendar/MobileCalendar.js +0 -457
- package/dist/src/Atomic/FormElements/MobileCalendar/MobileCalendar.stories.js +0 -172
- package/dist/src/Atomic/FormElements/MultiSelect/MultiSelect.js +0 -95
- package/dist/src/Atomic/FormElements/MultiSelect/MultiSelect.stories.js +0 -121
- package/dist/src/Atomic/FormElements/NumericInput/NumericInput.js +0 -324
- package/dist/src/Atomic/FormElements/NumericInput/NumericInput.stories.js +0 -184
- package/dist/src/Atomic/FormElements/RadioGroup/RadioGroup.js +0 -101
- package/dist/src/Atomic/FormElements/RadioGroup/RadioGroup.stories.js +0 -79
- package/dist/src/Atomic/FormElements/RadioGroupWithInput/RadioGroupWithInput.js +0 -74
- package/dist/src/Atomic/FormElements/RadioGroupWithInput/RadioGroupWithInput.stories.js +0 -151
- package/dist/src/Atomic/FormElements/RadioInput/RadioInput.js +0 -57
- package/dist/src/Atomic/FormElements/RadioInput/RadioInput.stories.js +0 -67
- package/dist/src/Atomic/FormElements/RadioRowSwitcher/RadioRowSwitcher.js +0 -59
- package/dist/src/Atomic/FormElements/RadioRowSwitcher/RadioRowSwitcher.stories.js +0 -116
- package/dist/src/Atomic/FormElements/RangeCalendar/RangeCalendar.js +0 -176
- package/dist/src/Atomic/FormElements/RangeCalendar/RangeCalendar.stories.js +0 -107
- package/dist/src/Atomic/FormElements/RangeInputs/RangeInputs.js +0 -206
- package/dist/src/Atomic/FormElements/RangeInputs/RangeInputs.stories.js +0 -92
- package/dist/src/Atomic/FormElements/RangeList/RangeList.js +0 -207
- package/dist/src/Atomic/FormElements/RangeList/RangeList.stories.js +0 -169
- package/dist/src/Atomic/FormElements/RangeList/partial/RangeListRow.js +0 -63
- package/dist/src/Atomic/FormElements/RangeSlider/RangeSlider.js +0 -482
- package/dist/src/Atomic/FormElements/RangeSlider/RangeSlider.stories.js +0 -401
- package/dist/src/Atomic/FormElements/RangeSlider2/RangeSlider2.js +0 -779
- package/dist/src/Atomic/FormElements/RangeSlider2/RangeSlider2.stories.js +0 -314
- package/dist/src/Atomic/FormElements/SwitchableRow/SwitchableRow.js +0 -42
- package/dist/src/Atomic/FormElements/SwitchableRow/SwitchableRow.stories.js +0 -137
- package/dist/src/Atomic/FormElements/Switcher/Switcher.js +0 -58
- package/dist/src/Atomic/FormElements/Switcher/Switcher.stories.js +0 -91
- package/dist/src/Atomic/FormElements/SwitcherCheckbox/SwitcherCheckbox.js +0 -50
- package/dist/src/Atomic/FormElements/SwitcherCheckbox/SwitcherCheckbox.stories.js +0 -104
- package/dist/src/Atomic/FormElements/SwitcherHide/SwitcherHide.js +0 -43
- package/dist/src/Atomic/FormElements/SwitcherHide/SwitcherHide.stories.js +0 -96
- package/dist/src/Atomic/FormElements/SwitcherRadio/SwitcherRadio.js +0 -99
- package/dist/src/Atomic/FormElements/SwitcherRadio/SwitcherRadio.stories.js +0 -140
- package/dist/src/Atomic/FormElements/SwitcherRange/SwitcherRange.js +0 -91
- package/dist/src/Atomic/FormElements/SwitcherRange/SwitcherRange.stories.js +0 -112
- package/dist/src/Atomic/FormElements/SwitcherRangeList/SwitcherRangeList.js +0 -52
- package/dist/src/Atomic/FormElements/SwitcherRangeList/SwitcherRangeList.stories.js +0 -145
- package/dist/src/Atomic/FormElements/SwitcherTagsDropdown/SwitcherTagsDropdown.js +0 -179
- package/dist/src/Atomic/FormElements/SwitcherTagsDropdown/SwitcherTagsDropdown.stories.js +0 -158
- package/dist/src/Atomic/FormElements/SwitcherTagsDropdown/partial/States.js +0 -212
- package/dist/src/Atomic/FormElements/SwitcherTextarea/SwitcherTextarea.js +0 -65
- package/dist/src/Atomic/FormElements/SwitcherTextarea/SwitcherTextarea.stories.js +0 -101
- package/dist/src/Atomic/FormElements/TagListToDropdown/TagListToDropdown.js +0 -148
- package/dist/src/Atomic/FormElements/TagListToDropdown/TagListToDropdown.stories.js +0 -131
- package/dist/src/Atomic/FormElements/TagsDropdown/TagsDropdown.js +0 -1063
- package/dist/src/Atomic/FormElements/TagsDropdown/TagsDropdown.stories.js +0 -357
- package/dist/src/Atomic/FormElements/Text/Text.js +0 -105
- package/dist/src/Atomic/FormElements/Text/Text.stories.js +0 -80
- package/dist/src/Atomic/FormElements/TextSwitcher/TextSwitcher.js +0 -49
- package/dist/src/Atomic/FormElements/TextSwitcher/TextSwitcher.stories.js +0 -106
- package/dist/src/Atomic/FormElements/TextSwitcher/TextSwitcher.test.js +0 -93
- package/dist/src/Atomic/FormElements/Textarea/Textarea.js +0 -109
- package/dist/src/Atomic/FormElements/Textarea/Textarea.stories.js +0 -103
- package/dist/src/Atomic/FormElements/TieredCheckboxes/TieredCheckboxes.js +0 -182
- package/dist/src/Atomic/FormElements/TieredCheckboxes/TieredCheckboxes.stories.js +0 -174
- package/dist/src/Atomic/FormElements/TieredCheckboxes/partial/AccordionWithCheckbox.js +0 -53
- package/dist/src/Atomic/FormElements/TimeRange/TimeRange.interface.js +0 -4
- package/dist/src/Atomic/FormElements/TimeRange/TimeRange.js +0 -119
- package/dist/src/Atomic/FormElements/TimeRange/TimeRange.stories.js +0 -40
- package/dist/src/Atomic/FormElements/TimeRange/TimeRange.test.js +0 -163
- package/dist/src/Atomic/FormElements/TimeRange/index.js +0 -17
- package/dist/src/Atomic/FormElements/UserContacts/UserContact.test.js +0 -381
- package/dist/src/Atomic/FormElements/UserContacts/UserContacts.interface.js +0 -4
- package/dist/src/Atomic/FormElements/UserContacts/UserContacts.js +0 -188
- package/dist/src/Atomic/FormElements/UserContacts/UserContacts.stories.js +0 -74
- package/dist/src/Atomic/FormElements/UserContacts/index.js +0 -17
- package/dist/src/Atomic/FormElements/VariantsListRadio/VariantsListRadio.js +0 -107
- package/dist/src/Atomic/FormElements/VariantsListRadio/VariantsListRadio.stories.js +0 -193
- package/dist/src/Atomic/FormElements/VariantsListRadio/partials/VariantsListRadioItem.js +0 -84
- package/dist/src/Atomic/FormElements/WidgetPseudoTable/WidgetPseudoTable.js +0 -85
- package/dist/src/Atomic/FormElements/WidgetPseudoTable/WidgetPseudoTable.stories.js +0 -147
- package/dist/src/Atomic/FormElements/WidgetPseudoTable/partial/constructor.js +0 -45
- package/dist/src/Atomic/FormElements/WidgetWithSwitchableRows/WidgetWithSwitchableRows.js +0 -108
- package/dist/src/Atomic/FormElements/WidgetWithSwitchableRows/WidgetWithSwitchableRows.stories.js +0 -151
- package/dist/src/Atomic/FormElements/WidgetWithSwitchableRows/partial/constructor.js +0 -46
- package/dist/src/Atomic/Layout/Header/Header.js +0 -154
- package/dist/src/Atomic/Layout/Header/Header.stories.js +0 -71
- package/dist/src/Atomic/Layout/MainMenu/MainMenu.js +0 -222
- package/dist/src/Atomic/Layout/MainMenu/MainMenu.stories.js +0 -115
- package/dist/src/Atomic/Layout/Spinner/Spinner.interface.js +0 -4
- package/dist/src/Atomic/Layout/Spinner/Spinner.js +0 -44
- package/dist/src/Atomic/Layout/Spinner/Spinner.stories.js +0 -46
- package/dist/src/Atomic/Layout/Spinner/Spinner.test.js +0 -54
- package/dist/src/Atomic/Layout/Spinner/index.js +0 -17
- package/dist/src/Atomic/UI/Accordion/Accordion.interface.js +0 -4
- package/dist/src/Atomic/UI/Accordion/Accordion.js +0 -108
- package/dist/src/Atomic/UI/Accordion/Accordion.stories.js +0 -168
- package/dist/src/Atomic/UI/Accordion/Accordion.test.js +0 -54
- package/dist/src/Atomic/UI/Accordion/AccordionItem.js +0 -176
- package/dist/src/Atomic/UI/Accordion/AccordionItem.test.js +0 -50
- package/dist/src/Atomic/UI/Accordion/index.js +0 -17
- package/dist/src/Atomic/UI/AccordionTable/AccordionTable.js +0 -260
- package/dist/src/Atomic/UI/AccordionTable/AccordionTable.stories.js +0 -268
- package/dist/src/Atomic/UI/AccordionText/AccordionText.js +0 -113
- package/dist/src/Atomic/UI/AccordionText/AccordionText.stories.js +0 -125
- package/dist/src/Atomic/UI/AdvancedTag/AdvTag.js +0 -214
- package/dist/src/Atomic/UI/AdvancedTag/AdvancedTags.js +0 -105
- package/dist/src/Atomic/UI/AdvancedTag/AdvancedTags.stories.js +0 -115
- package/dist/src/Atomic/UI/Alert/Alert.js +0 -121
- package/dist/src/Atomic/UI/Alert/Alert.stories.js +0 -81
- package/dist/src/Atomic/UI/Arrow/Arrow.js +0 -170
- package/dist/src/Atomic/UI/Arrow/Arrow.stories.js +0 -62
- package/dist/src/Atomic/UI/Box/Box.js +0 -46
- package/dist/src/Atomic/UI/Box/Box.stories.js +0 -114
- package/dist/src/Atomic/UI/Button/Button.js +0 -48
- package/dist/src/Atomic/UI/Button/Button.stories.js +0 -105
- package/dist/src/Atomic/UI/Button/Button.test.js +0 -147
- package/dist/src/Atomic/UI/ButtonsBar/ButtonsBar.js +0 -66
- package/dist/src/Atomic/UI/ButtonsBar/ButtonsBar.stories.js +0 -129
- package/dist/src/Atomic/UI/Chart/Chart.js +0 -177
- package/dist/src/Atomic/UI/Chart/Chart.stories.js +0 -93
- package/dist/src/Atomic/UI/Chart/partial/Chart.constants.js +0 -147
- package/dist/src/Atomic/UI/Chart/partial/ChartTypeSwitcherIcon/ChartTypeSwitcherIcon.js +0 -98
- package/dist/src/Atomic/UI/Chart/partial/datasetSetters.js +0 -129
- package/dist/src/Atomic/UI/Chart/partial/optionsConstructor.js +0 -344
- package/dist/src/Atomic/UI/Chart/partial/optionsSetters.js +0 -61
- package/dist/src/Atomic/UI/Chart/partial/utils.js +0 -61
- package/dist/src/Atomic/UI/CircleProgressBar/CircleProgressBar.js +0 -151
- package/dist/src/Atomic/UI/CircleProgressBar/CircleProgressBar.stories.js +0 -85
- package/dist/src/Atomic/UI/DateTime/DateTime.js +0 -97
- package/dist/src/Atomic/UI/DateTime/DateTime.stories.js +0 -50
- package/dist/src/Atomic/UI/DebugContainer/DebugContainer.js +0 -98
- package/dist/src/Atomic/UI/DebugContainer/useDebugContainer.js +0 -70
- package/dist/src/Atomic/UI/DoubleString/DoubleString.js +0 -141
- package/dist/src/Atomic/UI/DoubleString/DoubleString.stories.js +0 -79
- package/dist/src/Atomic/UI/DynamicIcon/DynamicIcon.interface.js +0 -4
- package/dist/src/Atomic/UI/DynamicIcon/DynamicIcon.js +0 -70
- package/dist/src/Atomic/UI/DynamicIcon/DynamicIcon.stories.js +0 -98
- package/dist/src/Atomic/UI/DynamicIcon/DynamicIcon.test.js +0 -51
- package/dist/src/Atomic/UI/DynamicIcon/index.js +0 -17
- package/dist/src/Atomic/UI/ExampleChartIntegration/ExampleChartIntegration.js +0 -262
- package/dist/src/Atomic/UI/ExampleChartIntegration/ExampleChartIntegration.stories.js +0 -98
- package/dist/src/Atomic/UI/ExampleChartIntegration/partial/utils.js +0 -115
- package/dist/src/Atomic/UI/Hint/Hint.interface.js +0 -4
- package/dist/src/Atomic/UI/Hint/Hint.js +0 -256
- package/dist/src/Atomic/UI/Hint/Hint.stories.js +0 -106
- package/dist/src/Atomic/UI/Hint/Hint.test.js +0 -96
- package/dist/src/Atomic/UI/Hint/index.js +0 -17
- package/dist/src/Atomic/UI/Hint/partials/_utils.js +0 -64
- package/dist/src/Atomic/UI/Modal/Modal.interface.js +0 -4
- package/dist/src/Atomic/UI/Modal/Modal.js +0 -179
- package/dist/src/Atomic/UI/Modal/Modal.stories.js +0 -370
- package/dist/src/Atomic/UI/Modal/ModalHOC.js +0 -97
- package/dist/src/Atomic/UI/Modal/ModalHOC.stories.js +0 -191
- package/dist/src/Atomic/UI/Modal/ModalHOC.test.js +0 -187
- package/dist/src/Atomic/UI/Modal/index.js +0 -26
- package/dist/src/Atomic/UI/Modal/partials/ModalFooter.js +0 -71
- package/dist/src/Atomic/UI/Modal/partials/ModalFooter.test.js +0 -118
- package/dist/src/Atomic/UI/Modal/partials/ModalTitle.js +0 -110
- package/dist/src/Atomic/UI/Modal/partials/ModalTitle.test.js +0 -126
- package/dist/src/Atomic/UI/Modal/partials/useMobileModal.js +0 -136
- package/dist/src/Atomic/UI/Modal/partials/useMobileModal.test.js +0 -133
- package/dist/src/Atomic/UI/MonoAccordion/MonoAccordion._test.js +0 -84
- package/dist/src/Atomic/UI/MonoAccordion/MonoAccordion.interface.js +0 -4
- package/dist/src/Atomic/UI/MonoAccordion/MonoAccordion.js +0 -124
- package/dist/src/Atomic/UI/MonoAccordion/MonoAccordion.stories.js +0 -512
- package/dist/src/Atomic/UI/MonoAccordion/index.js +0 -17
- package/dist/src/Atomic/UI/NavLine/NavLine.interface.js +0 -4
- package/dist/src/Atomic/UI/NavLine/NavLine.js +0 -317
- package/dist/src/Atomic/UI/NavLine/NavLine.stories.js +0 -434
- package/dist/src/Atomic/UI/NavLine/NavLine.test.js +0 -311
- package/dist/src/Atomic/UI/NavLine/index.js +0 -17
- package/dist/src/Atomic/UI/PageTitle/PageTitle.interface.js +0 -4
- package/dist/src/Atomic/UI/PageTitle/PageTitle.js +0 -77
- package/dist/src/Atomic/UI/PageTitle/PageTitle.stories.js +0 -62
- package/dist/src/Atomic/UI/PageTitle/PageTitle.test.js +0 -181
- package/dist/src/Atomic/UI/PageTitle/index.js +0 -17
- package/dist/src/Atomic/UI/PieChart/PieChart.js +0 -64
- package/dist/src/Atomic/UI/PieChart/PieChart.stories.js +0 -84
- package/dist/src/Atomic/UI/Price/Price.interface.js +0 -4
- package/dist/src/Atomic/UI/Price/Price.js +0 -31
- package/dist/src/Atomic/UI/Price/Price.stories.js +0 -52
- package/dist/src/Atomic/UI/Price/Price.test.js +0 -83
- package/dist/src/Atomic/UI/Price/index.js +0 -17
- package/dist/src/Atomic/UI/PriceRange/PriceRange.interface.js +0 -4
- package/dist/src/Atomic/UI/PriceRange/PriceRange.js +0 -44
- package/dist/src/Atomic/UI/PriceRange/PriceRange.stories.js +0 -51
- package/dist/src/Atomic/UI/PriceRange/PriceRange.test.js +0 -72
- package/dist/src/Atomic/UI/PriceRange/index.js +0 -17
- package/dist/src/Atomic/UI/ProgressLine/ProgressLine.interface.js +0 -4
- package/dist/src/Atomic/UI/ProgressLine/ProgressLine.js +0 -98
- package/dist/src/Atomic/UI/ProgressLine/ProgressLine.stories.js +0 -163
- package/dist/src/Atomic/UI/ProgressLine/ProgressLine.test.js +0 -60
- package/dist/src/Atomic/UI/ProgressLine/index.js +0 -17
- package/dist/src/Atomic/UI/Status/Status.interface.js +0 -4
- package/dist/src/Atomic/UI/Status/Status.js +0 -67
- package/dist/src/Atomic/UI/Status/Status.stories.js +0 -79
- package/dist/src/Atomic/UI/Status/Status.test.js +0 -103
- package/dist/src/Atomic/UI/Status/index.js +0 -17
- package/dist/src/Atomic/UI/Table/Partials/TdCell.js +0 -131
- package/dist/src/Atomic/UI/Table/Partials/TdHeader.js +0 -63
- package/dist/src/Atomic/UI/Table/Partials/TdRow.js +0 -129
- package/dist/src/Atomic/UI/Table/Partials/TdTitle.js +0 -118
- package/dist/src/Atomic/UI/Table/Table.js +0 -67
- package/dist/src/Atomic/UI/Table/Table.stories.js +0 -250
- package/dist/src/Atomic/UI/Table/TdTypes/TdActions.js +0 -114
- package/dist/src/Atomic/UI/Table/TdTypes/TdPriority.js +0 -49
- package/dist/src/Atomic/UI/Table/TdTypes/TdRange.js +0 -28
- package/dist/src/Atomic/UI/Table/TdTypes/TdWeight.js +0 -64
- package/dist/src/Atomic/UI/Tag/Tag.interface.js +0 -4
- package/dist/src/Atomic/UI/Tag/Tag.js +0 -167
- package/dist/src/Atomic/UI/Tag/Tag.stories.js +0 -108
- package/dist/src/Atomic/UI/Tag/Tag.test.js +0 -75
- package/dist/src/Atomic/UI/Tag/index.js +0 -17
- package/dist/src/Atomic/UI/TagList/TagList.js +0 -231
- package/dist/src/Atomic/UI/TagList/TagList.stories.js +0 -169
- package/dist/src/Atomic/UI/UserBox/UserBox.interface.js +0 -4
- package/dist/src/Atomic/UI/UserBox/UserBox.js +0 -86
- package/dist/src/Atomic/UI/UserBox/UserBox.stories.js +0 -57
- package/dist/src/Atomic/UI/UserBox/UserBox.test.js +0 -136
- package/dist/src/Atomic/UI/UserBox/index.js +0 -17
- package/dist/src/Atomic/UI/WizardStepper/WizardStepper.stories.js +0 -70
- package/dist/src/Atomic/UI/WizardStepper/constructor.js +0 -132
- package/dist/src/Atomic/UI/WizardStepper/index.js +0 -17
- package/dist/src/Atomic/UI/WizardStepper/ui/StateIcon/StateIcon.js +0 -61
- package/dist/src/Atomic/UI/WizardStepper/ui/StateIcon/index.js +0 -12
- package/dist/src/Atomic/UI/WizardStepper/ui/StepRow/StepRow.js +0 -90
- package/dist/src/Atomic/UI/WizardStepper/ui/StepRow/index.js +0 -17
- package/dist/src/Atomic/UI/WizardStepper/ui/StepWrapper/StepWrapper.js +0 -55
- package/dist/src/Atomic/UI/WizardStepper/ui/StepWrapper/index.js +0 -17
- package/dist/src/Atomic/UI/WizardStepper/ui/icons.js +0 -143
- package/dist/src/Atomic/UI/WizardStepper/ui/index.js +0 -17
- package/dist/src/Classes/AbortableFetch.js +0 -400
- package/dist/src/Classes/AnimatedHandler.js +0 -37
- package/dist/src/Classes/RESTAPI/index.js +0 -141
- package/dist/src/Classes/RESTAPI/partials/AbortableFetch.js +0 -406
- package/dist/src/Classes/RESTAPI/partials/ApiBase.js +0 -36
- package/dist/src/Classes/RESTAPI/partials/ApiRequestCreators.js +0 -114
- package/dist/src/Classes/RESTAPI/partials/ApiUtils.js +0 -151
- package/dist/src/Classes/RESTAPI/partials/CredentialsProcessing.js +0 -193
- package/dist/src/Classes/RESTAPI/partials/Utils.js +0 -90
- package/dist/src/Classes/RESTAPI/partials/_outerDependencies.js +0 -19
- package/dist/src/Classes/RESTAPI/partials/_utils.js +0 -149
- package/dist/src/Constants/index.constants.js +0 -106
- package/dist/src/Functions/Portal.js +0 -72
- package/dist/src/Functions/customEventListener.js +0 -49
- package/dist/src/Functions/dateTime.js +0 -138
- package/dist/src/Functions/fieldValueFormatters.js +0 -299
- package/dist/src/Functions/guards/assertions.js +0 -294
- package/dist/src/Functions/guards/safeValue.js +0 -75
- package/dist/src/Functions/guards/typeGuards.js +0 -374
- package/dist/src/Functions/hooks/useFormFieldsChangesManager.js +0 -134
- package/dist/src/Functions/locale/createTranslator.js +0 -33
- package/dist/src/Functions/operations.js +0 -145
- package/dist/src/Functions/presets/inputMaskPresets.js +0 -164
- package/dist/src/Functions/presets/inputPresets.js +0 -60
- package/dist/src/Functions/presets/mobileKeyboardTypesPresets.js +0 -36
- package/dist/src/Functions/schemas.js +0 -83
- package/dist/src/Functions/useBodyScrollLock.js +0 -26
- package/dist/src/Functions/useClickOutside.js +0 -26
- package/dist/src/Functions/useDebounce.js +0 -67
- package/dist/src/Functions/useFieldFocus.js +0 -88
- package/dist/src/Functions/useFormTools/form-drivers/ArrayWithObjects.js +0 -42
- package/dist/src/Functions/useFormTools/form-drivers/ObjectWithIterableObjects.js +0 -140
- package/dist/src/Functions/useFormTools/form-drivers/ObjectWithNamedKeyObjects.js +0 -67
- package/dist/src/Functions/useFormTools/functions/General.js +0 -127
- package/dist/src/Functions/useFormTools/functions/RenderFields.js +0 -83
- package/dist/src/Functions/useFormTools/functions/usePrevious.js +0 -21
- package/dist/src/Functions/useFormTools/index.js +0 -661
- package/dist/src/Functions/useInputHighlightError.js +0 -110
- package/dist/src/Functions/useIsMobile/index.js +0 -17
- package/dist/src/Functions/useIsMobile/useIsMobile.js +0 -33
- package/dist/src/Functions/useIsMobile/useIsMobile.test.js +0 -104
- package/dist/src/Functions/useKeyPress/useHandleKeyPress.js +0 -52
- package/dist/src/Functions/useKeyPress/useHandleKeyPress.test.js +0 -96
- package/dist/src/Functions/useKeyPress/useKeyPress.js +0 -52
- package/dist/src/Functions/useKeyPress/useKeyPress.test.js +0 -87
- package/dist/src/Functions/useLocalStorage.js +0 -43
- package/dist/src/Functions/useLocationParams.js +0 -35
- package/dist/src/Functions/useMediaQuery.js +0 -20
- package/dist/src/Functions/useMetaInfo.js +0 -50
- package/dist/src/Functions/useMouseUpOutside.js +0 -26
- package/dist/src/Functions/useOnlineStatus.js +0 -29
- package/dist/src/Functions/usePasswordChecker.js +0 -189
- package/dist/src/Functions/usePrevious.js +0 -21
- package/dist/src/Functions/useResize.js +0 -37
- package/dist/src/Functions/useScrollTo.js +0 -31
- package/dist/src/Functions/useToggle.js +0 -24
- package/dist/src/Functions/utils.js +0 -527
- package/dist/src/Langs.js +0 -176
- package/dist/src/Molecular/CustomIcons/components/AffiliateNetworks.js +0 -78
- package/dist/src/Molecular/CustomIcons/components/AlertCircle.js +0 -80
- package/dist/src/Molecular/CustomIcons/components/AppStore.js +0 -87
- package/dist/src/Molecular/CustomIcons/components/Arrow.js +0 -96
- package/dist/src/Molecular/CustomIcons/components/ArrowDown.js +0 -66
- package/dist/src/Molecular/CustomIcons/components/ArrowLeft.js +0 -74
- package/dist/src/Molecular/CustomIcons/components/ArrowRight.js +0 -74
- package/dist/src/Molecular/CustomIcons/components/ArrowUp.js +0 -66
- package/dist/src/Molecular/CustomIcons/components/Bell.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/Button.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/Campaigns.js +0 -65
- package/dist/src/Molecular/CustomIcons/components/Check.js +0 -65
- package/dist/src/Molecular/CustomIcons/components/Check2.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/ChevronDown.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/ChevronDownDisabled.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/ChevronLeft.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/ChevronRight.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/ChevronUp.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/ChevronUpDown.js +0 -84
- package/dist/src/Molecular/CustomIcons/components/Close.js +0 -67
- package/dist/src/Molecular/CustomIcons/components/ColumnsOrder.js +0 -98
- package/dist/src/Molecular/CustomIcons/components/Delete.js +0 -65
- package/dist/src/Molecular/CustomIcons/components/Edit.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/Email.js +0 -90
- package/dist/src/Molecular/CustomIcons/components/FinturfLogo.js +0 -85
- package/dist/src/Molecular/CustomIcons/components/FinturfLogo2.js +0 -86
- package/dist/src/Molecular/CustomIcons/components/Flows.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/Gift.js +0 -74
- package/dist/src/Molecular/CustomIcons/components/GoogleAuth.js +0 -87
- package/dist/src/Molecular/CustomIcons/components/GooglePlay.js +0 -87
- package/dist/src/Molecular/CustomIcons/components/HelpCircle.js +0 -70
- package/dist/src/Molecular/CustomIcons/components/HelpCircle2.js +0 -71
- package/dist/src/Molecular/CustomIcons/components/HelpCircleFilled.js +0 -70
- package/dist/src/Molecular/CustomIcons/components/Home.js +0 -70
- package/dist/src/Molecular/CustomIcons/components/Home2.js +0 -73
- package/dist/src/Molecular/CustomIcons/components/Key.js +0 -72
- package/dist/src/Molecular/CustomIcons/components/Landers.js +0 -71
- package/dist/src/Molecular/CustomIcons/components/Lock.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/Mail.js +0 -78
- package/dist/src/Molecular/CustomIcons/components/Mastercard.js +0 -131
- package/dist/src/Molecular/CustomIcons/components/Minus.js +0 -82
- package/dist/src/Molecular/CustomIcons/components/Offers.js +0 -65
- package/dist/src/Molecular/CustomIcons/components/Pause.js +0 -82
- package/dist/src/Molecular/CustomIcons/components/PayPal.js +0 -99
- package/dist/src/Molecular/CustomIcons/components/PayPalLightLarge.js +0 -84
- package/dist/src/Molecular/CustomIcons/components/Phone.js +0 -84
- package/dist/src/Molecular/CustomIcons/components/Play.js +0 -82
- package/dist/src/Molecular/CustomIcons/components/Plus.js +0 -82
- package/dist/src/Molecular/CustomIcons/components/Profile.js +0 -72
- package/dist/src/Molecular/CustomIcons/components/QRCode.js +0 -88
- package/dist/src/Molecular/CustomIcons/components/Rectangle.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/Revert.js +0 -70
- package/dist/src/Molecular/CustomIcons/components/Star.js +0 -63
- package/dist/src/Molecular/CustomIcons/components/Star2.js +0 -65
- package/dist/src/Molecular/CustomIcons/components/TrafficSources.js +0 -71
- package/dist/src/Molecular/CustomIcons/components/Trash.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/TrashRed.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/Triggers.js +0 -64
- package/dist/src/Molecular/CustomIcons/components/User.js +0 -74
- package/dist/src/Molecular/CustomIcons/components/Visa.js +0 -91
- package/dist/src/Molecular/CustomIcons/components/X.js +0 -64
- package/dist/src/Molecular/CustomIcons/index.js +0 -78
- package/dist/src/Molecular/FormElement/FormElement.js +0 -50
- package/dist/src/Molecular/FormElement/FormElement.stories.js +0 -92
- package/dist/src/Molecular/FormWithDependOn/FormWithDependOn.js +0 -188
- package/dist/src/Molecular/FormWithDependOn/FormWithDependOn.stories.js +0 -301
- package/dist/src/Molecular/FormWithDependOn/partials/_utils.js +0 -54
- package/dist/src/Molecular/InputAddress/InputAddress.js +0 -518
- package/dist/src/Molecular/InputAddress/InputAddress.stories.js +0 -541
- package/dist/src/Molecular/InputPassword/InputPassword.js +0 -105
- package/dist/src/Molecular/InputPassword/InputPassword.stories.js +0 -86
- package/dist/src/types/base.interface.js +0 -4
- package/dist/src/types/base.types.js +0 -4
- /package/dist/{ActionAlert.scss → Atomic/FormElements/ActionAlert/ActionAlert.scss} +0 -0
- /package/dist/{AdvancedStatus.scss → Atomic/FormElements/AdvancedStatus/AdvancedStatus.scss} +0 -0
- /package/dist/{Calendar.scss → Atomic/FormElements/Calendar/Calendar.scss} +0 -0
- /package/dist/{CheckboxInput.scss → Atomic/FormElements/CheckboxInput/CheckboxInput.scss} +0 -0
- /package/dist/{CheckboxesLine.scss → Atomic/FormElements/CheckboxesLine/CheckboxesLine.scss} +0 -0
- /package/dist/{AnyOuterClass.scss → Atomic/FormElements/CheckboxesLine/partial/AnyOuterClass.scss} +0 -0
- /package/dist/{Datepicker.scss → Atomic/FormElements/Datepicker/Datepicker.scss} +0 -0
- /package/dist/{Dropdown.scss → Atomic/FormElements/Dropdown/Dropdown.scss} +0 -0
- /package/dist/{DropdownLoader.scss → Atomic/FormElements/Dropdown/components/DropdownLoader.scss} +0 -0
- /package/dist/{DropdownLiveSearch.scss → Atomic/FormElements/DropdownLiveSearch/DropdownLiveSearch.scss} +0 -0
- /package/dist/{FileLoader.scss → Atomic/FormElements/FileLoader/FileLoader.scss} +0 -0
- /package/dist/{FileLoaderDescription.scss → Atomic/FormElements/FileLoaderDescription/FileLoaderDescription.scss} +0 -0
- /package/dist/{FileLoaderLocal.scss → Atomic/FormElements/FileLoaderLocal/FileLoaderLocal.scss} +0 -0
- /package/dist/{FileLoaderLocalGroup.scss → Atomic/FormElements/FileLoaderLocalGroup/FileLoaderLocalGroup.scss} +0 -0
- /package/dist/{FormattedRawSSN.scss → Atomic/FormElements/FormattedRawSSN/FormattedRawSSN.scss} +0 -0
- /package/dist/{Input.scss → Atomic/FormElements/Input/Input.scss} +0 -0
- /package/dist/{InputCalendar.scss → Atomic/FormElements/InputCalendar/InputCalendar.scss} +0 -0
- /package/dist/{InputColor.scss → Atomic/FormElements/InputColor/InputColor.scss} +0 -0
- /package/dist/{InputCurrency.scss → Atomic/FormElements/InputCurrency/InputCurrency.scss} +0 -0
- /package/dist/{InputDateRange.scss → Atomic/FormElements/InputDateRange/InputDateRange.scss} +0 -0
- /package/dist/{InputLink.scss → Atomic/FormElements/InputLink/InputLink.scss} +0 -0
- /package/dist/{InputMask.scss → Atomic/FormElements/InputMask/InputMask.scss} +0 -0
- /package/dist/{InputMask2.scss → Atomic/FormElements/InputMask2/InputMask2.scss} +0 -0
- /package/dist/{InputMask3.scss → Atomic/FormElements/InputMask3/InputMask3.scss} +0 -0
- /package/dist/{InputWithAction.scss → Atomic/FormElements/InputWithAction/InputWithAction.scss} +0 -0
- /package/dist/{InputsRow.scss → Atomic/FormElements/InputsRow/InputsRow.scss} +0 -0
- /package/dist/{Label.scss → Atomic/FormElements/Label/Label.scss} +0 -0
- /package/dist/{MobileCalendar.scss → Atomic/FormElements/MobileCalendar/MobileCalendar.scss} +0 -0
- /package/dist/{MultiSelect.scss → Atomic/FormElements/MultiSelect/MultiSelect.scss} +0 -0
- /package/dist/{NumericInput.scss → Atomic/FormElements/NumericInput/NumericInput.scss} +0 -0
- /package/dist/{RadioGroup.scss → Atomic/FormElements/RadioGroup/RadioGroup.scss} +0 -0
- /package/dist/{RadioGroupWithInput.scss → Atomic/FormElements/RadioGroupWithInput/RadioGroupWithInput.scss} +0 -0
- /package/dist/{RadioInput.scss → Atomic/FormElements/RadioInput/RadioInput.scss} +0 -0
- /package/dist/{RadioRowSwitcher.scss → Atomic/FormElements/RadioRowSwitcher/RadioRowSwitcher.scss} +0 -0
- /package/dist/{RangeCalendar.scss → Atomic/FormElements/RangeCalendar/RangeCalendar.scss} +0 -0
- /package/dist/{RangeInputs.scss → Atomic/FormElements/RangeInputs/RangeInputs.scss} +0 -0
- /package/dist/{RangeList.scss → Atomic/FormElements/RangeList/RangeList.scss} +0 -0
- /package/dist/{RangeSlider.scss → Atomic/FormElements/RangeSlider/RangeSlider.scss} +0 -0
- /package/dist/{RangeSlider2.scss → Atomic/FormElements/RangeSlider2/RangeSlider2.scss} +0 -0
- /package/dist/{SwitchableRow.scss → Atomic/FormElements/SwitchableRow/SwitchableRow.scss} +0 -0
- /package/dist/{Switcher.scss → Atomic/FormElements/Switcher/Switcher.scss} +0 -0
- /package/dist/{SwitcherCheckbox.scss → Atomic/FormElements/SwitcherCheckbox/SwitcherCheckbox.scss} +0 -0
- /package/dist/{SwitcherHide.scss → Atomic/FormElements/SwitcherHide/SwitcherHide.scss} +0 -0
- /package/dist/{SwitcherRadio.scss → Atomic/FormElements/SwitcherRadio/SwitcherRadio.scss} +0 -0
- /package/dist/{SwitcherRange.scss → Atomic/FormElements/SwitcherRange/SwitcherRange.scss} +0 -0
- /package/dist/{SwitcherRangeList.scss → Atomic/FormElements/SwitcherRangeList/SwitcherRangeList.scss} +0 -0
- /package/dist/{SwitcherTagsDropdown.scss → Atomic/FormElements/SwitcherTagsDropdown/SwitcherTagsDropdown.scss} +0 -0
- /package/dist/{SwitcherTextarea.scss → Atomic/FormElements/SwitcherTextarea/SwitcherTextarea.scss} +0 -0
- /package/dist/{TagsDropdown.scss → Atomic/FormElements/TagsDropdown/TagsDropdown.scss} +0 -0
- /package/dist/{Text.scss → Atomic/FormElements/Text/Text.scss} +0 -0
- /package/dist/{TextSwitcher.scss → Atomic/FormElements/TextSwitcher/TextSwitcher.scss} +0 -0
- /package/dist/{Textarea.scss → Atomic/FormElements/Textarea/Textarea.scss} +0 -0
- /package/dist/{TieredCheckboxes.scss → Atomic/FormElements/TieredCheckboxes/TieredCheckboxes.scss} +0 -0
- /package/dist/{TimeRange.scss → Atomic/FormElements/TimeRange/TimeRange.scss} +0 -0
- /package/dist/{UserContacts.scss → Atomic/FormElements/UserContacts/UserContacts.scss} +0 -0
- /package/dist/{VariantsListRadio.scss → Atomic/FormElements/VariantsListRadio/VariantsListRadio.scss} +0 -0
- /package/dist/{WidgetPseudoTable.scss → Atomic/FormElements/WidgetPseudoTable/WidgetPseudoTable.scss} +0 -0
- /package/dist/{WidgetWithSwitchableRows.scss → Atomic/FormElements/WidgetWithSwitchableRows/WidgetWithSwitchableRows.scss} +0 -0
- /package/dist/{Header.scss → Atomic/Layout/Header/Header.scss} +0 -0
- /package/dist/{MainMenu.scss → Atomic/Layout/MainMenu/MainMenu.scss} +0 -0
- /package/dist/{Spinner.scss → Atomic/Layout/Spinner/Spinner.scss} +0 -0
- /package/dist/{Accordion.scss → Atomic/UI/Accordion/Accordion.scss} +0 -0
- /package/dist/{AccordionTable.scss → Atomic/UI/AccordionTable/AccordionTable.scss} +0 -0
- /package/dist/{AccordionText.scss → Atomic/UI/AccordionText/AccordionText.scss} +0 -0
- /package/dist/{AdvancedTags.scss → Atomic/UI/AdvancedTag/AdvancedTags.scss} +0 -0
- /package/dist/{Alert.scss → Atomic/UI/Alert/Alert.scss} +0 -0
- /package/dist/{Arrow.scss → Atomic/UI/Arrow/Arrow.scss} +0 -0
- /package/dist/{Box.scss → Atomic/UI/Box/Box.scss} +0 -0
- /package/dist/{Button.scss → Atomic/UI/Button/Button.scss} +0 -0
- /package/dist/{ButtonsBar.scss → Atomic/UI/ButtonsBar/ButtonsBar.scss} +0 -0
- /package/dist/{Chart.scss → Atomic/UI/Chart/Chart.scss} +0 -0
- /package/dist/{ChartTypeSwitcherIcon.scss → Atomic/UI/Chart/partial/ChartTypeSwitcherIcon/ChartTypeSwitcherIcon.scss} +0 -0
- /package/dist/{CircleProgressBar.scss → Atomic/UI/CircleProgressBar/CircleProgressBar.scss} +0 -0
- /package/dist/{DateTime.scss → Atomic/UI/DateTime/DateTime.scss} +0 -0
- /package/dist/{DebugContainer.scss → Atomic/UI/DebugContainer/DebugContainer.scss} +0 -0
- /package/dist/{DoubleString.scss → Atomic/UI/DoubleString/DoubleString.scss} +0 -0
- /package/dist/{Hint.scss → Atomic/UI/Hint/Hint.scss} +0 -0
- /package/dist/{Modal.scss → Atomic/UI/Modal/Modal.scss} +0 -0
- /package/dist/{ModalMobile.scss → Atomic/UI/Modal/ModalMobile.scss} +0 -0
- /package/dist/{MonoAccordion.scss → Atomic/UI/MonoAccordion/MonoAccordion.scss} +0 -0
- /package/dist/{NavLine.scss → Atomic/UI/NavLine/NavLine.scss} +0 -0
- /package/dist/{PageTitle.scss → Atomic/UI/PageTitle/PageTitle.scss} +0 -0
- /package/dist/{PieChart.scss → Atomic/UI/PieChart/PieChart.scss} +0 -0
- /package/dist/{ProgressLine.scss → Atomic/UI/ProgressLine/ProgressLine.scss} +0 -0
- /package/dist/{Status.scss → Atomic/UI/Status/Status.scss} +0 -0
- /package/dist/{Table.scss → Atomic/UI/Table/Table.scss} +0 -0
- /package/dist/{TdTypes.scss → Atomic/UI/Table/TdTypes/TdTypes.scss} +0 -0
- /package/dist/{Tag.scss → Atomic/UI/Tag/Tag.scss} +0 -0
- /package/dist/{TagList.scss → Atomic/UI/TagList/TagList.scss} +0 -0
- /package/dist/{TagListStories.scss → Atomic/UI/TagList/TagListStories.scss} +0 -0
- /package/dist/{UserBox.scss → Atomic/UI/UserBox/UserBox.scss} +0 -0
- /package/dist/{StateIcon.scss → Atomic/UI/WizardStepper/ui/StateIcon/StateIcon.scss} +0 -0
- /package/dist/{StepRow.scss → Atomic/UI/WizardStepper/ui/StepRow/StepRow.scss} +0 -0
- /package/dist/{StepWrapper.scss → Atomic/UI/WizardStepper/ui/StepWrapper/StepWrapper.scss} +0 -0
- /package/dist/{FormElement.scss → Molecular/FormElement/FormElement.scss} +0 -0
- /package/dist/{InputAddress.scss → Molecular/InputAddress/InputAddress.scss} +0 -0
- /package/dist/{InputPassword.scss → Molecular/InputPassword/InputPassword.scss} +0 -0
- /package/dist/{_fonts.scss → scss/_fonts.scss} +0 -0
- /package/dist/{_mixins.scss → scss/_mixins.scss} +0 -0
- /package/dist/{_vars.scss → scss/_vars.scss} +0 -0
- /package/dist/{main.scss → scss/main.scss} +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@import "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap";
|
|
2
|
+
|
|
3
|
+
.any-outer-class__switcher-range-list {
|
|
4
|
+
.switcher {
|
|
5
|
+
font-size: 12px;
|
|
6
|
+
font-style: normal;
|
|
7
|
+
line-height: 20px;
|
|
8
|
+
|
|
9
|
+
color: #1e1e2d;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.switcher-range-list__range-list {
|
|
13
|
+
--border-color: #f4f7f9;
|
|
14
|
+
--labels-font-size: 12px;
|
|
15
|
+
--inputs-font-size: 13px;
|
|
16
|
+
--values-font-size: 13px;
|
|
17
|
+
--button-text-font-size: 13px;
|
|
18
|
+
--labels-color: #1e1e2d;
|
|
19
|
+
--inputs-color: #1e1e2d;
|
|
20
|
+
--values-color: #1e1e2d;
|
|
21
|
+
// font-family: 'Palette Mosaic', 'cursive';
|
|
22
|
+
|
|
23
|
+
font-family: Roboto, sans-serif;
|
|
24
|
+
|
|
25
|
+
.range-list__labels {
|
|
26
|
+
line-height: 20px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.range-list__inputs {
|
|
30
|
+
font-weight: 300;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.range-list__values {
|
|
34
|
+
font-weight: 300;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function n(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e,r,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(t);!(a=(e=o.next()).done)&&(i.push(e.value),!n||i.length!==n);a=!0);}catch(t){l=!0,r=t}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,n)||r(t,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(n){return function(n){if(Array.isArray(n))return t(n)}(n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||r(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(n,e){if(n){if("string"==typeof n)return t(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);if("Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(n,e)}}import{jsx as o,jsxs as i}from"react/jsx-runtime";import{useEffect as a,useMemo as l,useState as c}from"react";import u from"classnames";import s from"../../UI/Button/Button";import d from"../SwitcherHide/SwitcherHide";import f from"../TagsDropdown/TagsDropdown";import m from"../TextSwitcher/TextSwitcher";import v from"../Textarea/Textarea";import"./SwitcherTagsDropdown.scss";var p="switcher-tags-dropdown";export default function(t){var r,b,h,y=t.className,g=t.label,w=t.isLabelBold,_=t.isValuesInTags,C=t.isActive,S=t.isIncluded,A=t.isAdvancedLabelSearch,T=t.disabled,x=t.options,I=void 0===x?[]:x,L=t.chosenOptions,N=void 0===L?[]:L,j=t.setIsActive,O=t.setIsIncluded,k=t.onChange,B=void 0===k?function(){}:k,D=n(c(!1),2),E=D[0],H=D[1],P=n(c(),2),U=P[0],V=P[1],K=l(function(){return I.reduce(function(t,n){return e(t).concat(e(n.groupName?n.list:[n]))},[])},[I]),M=function(){var t,n=null==U||null==(t=U.split)?void 0:t.call(U,",").map(function(t){return t.toString().trim()}).filter(function(t){return!!t});B(I.filter(function(t){return n.find(function(n){var e=null==t?void 0:t.value.toString().toLowerCase(),r=(t.title||t.label||t.name||t.value).toString().toLowerCase(),o=n.toString().toLowerCase(),i=r.includes(o)&&!N.includes(t.value);return _?(o===e||o===r)&&!t.disabled:A?(o===r||o===e||i)&&!t.disabled:(o===r||o===e)&&!t.disabled})}).map(function(t){return t.value}),"chosenOptions"),H(!1)},$=function(t,n){if(13===t.keyCode){var r=null==I?void 0:I.find(function(t){var e;return(null==t||null==(e=t.title)?void 0:e.toLowerCase())===(null==n?void 0:n.toLowerCase())&&!t.disabled}),o=null==N?void 0:N.some(function(t){var n,e;return(null==t||null==(n=t.title)?void 0:n.toLowerCase())===(null==r||null==(e=r.title)?void 0:e.toLowerCase())});r&&!o&&B(e(N).concat([r]),"chosenOptions")}};return a(function(){V((null==N?void 0:N.map(function(t){var n;return _?t:(n=K.find(function(n){return n.value===t})).title||n.label||n.name||n.value})).join(", "))},[N,E]),i(d,{isActive:C,onChange:void 0===j?function(){}:j,label:g,className:u(p,y),isLabelBold:w,disabled:T,children:[i("div",{className:"".concat(p,"__wrap switcher-hide__content"),children:[o(m,{activeText:"is",inactiveText:"is not",isActive:null==S||S,onChange:void 0===O?function(){}:O,className:"".concat(p,"__text-switcher")}),i("div",{className:"filter-select__wrap--buttons",children:[o("button",{onClick:function(){return H(!E)},className:"".concat(p,"__btn"),children:E?"Close":"List view"}),E&&o(s,{label:"Apply",className:"".concat(p,"__apply"),onClick:function(){return M()}}),o("button",{onClick:function(){return B([],"chosenOptions")},className:"".concat(p,"__btn"),children:"Clear"})]})]}),E?o(v,{value:U,onChange:function(t){return V(t)}}):o(f,{options:I,chosenOptions:N,onChange:B,className:"".concat(p,"__tags-dropdown"),onKeyPress:function(t,n){return $(t,n)},tagClassname:u("".concat(p,"__tag"),(r={},b="".concat(p,"__tag_inactive"),h=!S,b in r?Object.defineProperty(r,b,{value:h,enumerable:!0,configurable:!0,writable:!0}):r[b]=h,r)),isValuesInTags:_})]})}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default[{value:"AL",label:"Alabama (AL)"},{value:"AK",label:"Alaska (AK)"},{value:"AZ",label:"Arizona (AZ)"},{value:"AR",label:"Arkansas (AR)"},{value:"CA",label:"California (CA)"},{value:"CO",label:"Colorado (CO)"},{value:"CT",label:"Connecticut (CT)"},{value:"DE",label:"Delaware (DE)"},{value:"FL",label:"Florida (FL)"},{value:"GA",label:"Georgia (GA)"},{value:"HI",label:"Hawaii (HI)"},{value:"ID",label:"Idaho (ID)"},{value:"IL",label:"Illinois (IL)"},{value:"IN",label:"Indiana (IN)"},{value:"IA",label:"Iowa (IA)"},{value:"KS",label:"Kansas (KS)"},{value:"KY",label:"Kentucky (KY)"},{value:"LA",label:"Louisiana (LA)"},{value:"ME",label:"Maine (ME)"},{value:"MD",label:"Maryland (MD)"},{value:"MA",label:"Massachusetts (MA)"},{value:"MI",label:"Michigan (MI)"},{value:"MN",label:"Minnesota (MN)"},{value:"MS",label:"Mississippi (MS)"},{value:"MO",label:"Missouri (MO)"},{value:"MT",label:"Montana (MT)"},{value:"NE",label:"Nebraska (NE)"},{value:"NV",label:"Nevada (NV)"},{value:"NH",label:"New Hampshire (NH)"},{value:"NJ",label:"New Jersey (NJ)"},{value:"NM",label:"New Mexico (NM)"},{value:"NY",label:"New York (NY)"},{value:"NC",label:"North Carolina (NC)"},{value:"ND",label:"North Dakota (ND)"},{value:"OH",label:"Ohio (OH)"},{value:"OK",label:"Oklahoma (OK)"},{value:"OR",label:"Oregon (OR)"},{value:"PA",label:"Pennsylvania (PA)"},{value:"RI",label:"RhodeIsland (RI)"},{value:"SC",label:"South Carolina (SC)"},{value:"SD",label:"South Dakota (SD)"},{value:"TN",label:"Tennessee (TN)"},{value:"TX",label:"Texas (TX)"},{value:"UT",label:"Utah (UT)"},{value:"VT",label:"Vermont (VT)"},{value:"VA",label:"Virginia (VA)"},{value:"WA",label:"Washington (WA)"},{value:"WV",label:"West Virginia (WV)"},{value:"WI",label:"Wisconsin (WI)"},{value:"WY",label:"Wyoming (WY)"}];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as t,Fragment as i}from"react/jsx-runtime";import"react";import a from"classnames";import c from"../SwitcherHide/SwitcherHide";import n from"../TextSwitcher/TextSwitcher";import r from"../Textarea/Textarea";import"./SwitcherTextarea.scss";var s="switcher-textarea";export default function(o){var d=o.label,l=o.isLabelBold,m=o.hint,h=o.className,v=o.isActive,u=o.setIsActive,x=o.isIncluded,f=void 0===x||x,p=o.setIsIncluded,T=void 0===p?function(){}:p,_=o.text,w=o.setText,b=void 0===w?function(){}:w,I=o.activeText,N=o.inactiveText,C=o.placeholder,S=o.disabled,g=o.testId;return e(c,{testId:g,isActive:void 0===v||v,onChange:void 0===u?function(){}:u,label:d,isLabelBold:l,className:a(s,h),hint:m,disabled:S,children:t(i,{children:[t("div",{className:"".concat(s,"__wrap switcher-hide__content"),children:[e(n,{testId:g,activeText:void 0===I?"is":I,inactiveText:void 0===N?"is not":N,isActive:null==f||f,onChange:function(e){return T(e)},className:"".concat(s,"__text-switcher")}),e("button",{onClick:function(){return b("")},className:"".concat(s,"__btn"),children:"Clear"})]}),e(r,{testId:g,value:void 0===_?"":_,placeholder:C,onChange:function(e){return b(e)},className:"".concat(s,"__textarea")})]})})}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.any-outer-class__switcher-textarea {
|
|
2
|
+
font-size: 12px;
|
|
3
|
+
font-style: normal;
|
|
4
|
+
line-height: 20px;
|
|
5
|
+
|
|
6
|
+
color: #1e1e2d;
|
|
7
|
+
|
|
8
|
+
.text-switcher {
|
|
9
|
+
font-size: 10px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.textarea__textarea {
|
|
13
|
+
font-size: 13px;
|
|
14
|
+
|
|
15
|
+
border-radius: 6px;
|
|
16
|
+
|
|
17
|
+
&::placeholder {
|
|
18
|
+
color: dodgerblue;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function n(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.forEach(function(n){var r;r=e[n],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r})}return t}function e(t,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e.push.apply(e,r)}return e})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t}function r(n,e){return function(t){if(Array.isArray(t))return t}(n)||function(t,n){var e,r,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i=[],u=!0,c=!1;try{for(o=o.call(t);!(u=(e=o.next()).done)&&(i.push(e.value),!n||i.length!==n);u=!0);}catch(t){c=!0,r=t}finally{try{u||null==o.return||o.return()}finally{if(c)throw r}}return i}}(n,e)||function(n,e){if(n){if("string"==typeof n)return t(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);if("Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(n,e)}}(n,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}import{jsx as o}from"react/jsx-runtime";import{useEffect as i,useRef as u,useState as c}from"react";import l from"../../UI/TagList/TagList";import a from"../TagsDropdown/TagsDropdown";export default function(t){var f=t.options,s=t.value,p=void 0===s?[]:s,y=t.dropdownProps,d=void 0===y?{}:y,m=t.listProps,b=void 0===m?{}:m,O=t.onChange,g=t.useDropdownCompactMode,v=p.map(function(t){return t.value}),h=r(c(!1),2),w=h[0],j=h[1],C=r(c(!1),2),P=C[0],S=C[1],A=r(c(v),2),D=A[0],T=A[1],I=r(c(!1),2),E=I[0],L=I[1],k=r(c(!1),2),x=k[0],R=k[1],U=u(null),M=function(){if(E){var t;R(!0),L(!1),t=new Promise(function(t){var n,e=O(f.filter(function(t){var n=t.value;return D.includes(n)}));(null!=(n=Promise)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n)?e.then(function(n){return t(n)}):t()}),t.finally(function(){j(!1),R(!1)})}else j(!1)};i(function(){T(v)},[w]);var $=function(t){return o(a,e(n(e(n({},d),{disabled:x,options:f,chosenOptions:D,renderOptionsAsTags:!0,withCreateLogic:!0,isUseLocalOptionsStore:!1,onOptionEdit:null==d?void 0:d.onOptionEdit,onOptionDelete:null==d?void 0:d.onOptionDelete,onOptionCreate:null==d?void 0:d.onOptionCreate,onActionConfirmClick:M,onActionCancelClick:function(){return j(function(t){return!t})},onChange:function(t){T(t),L(!0)}}),t),{isDefaultOpened:w}))},q=function(t){return o(l,n(e(n({disabled:x,refProp:U},b),{items:p,onEditClick:function(){return j(function(t){return!t})}}),t))};return g?$({withActions:!1,withSearchInputInList:!0,customTriggerRef:U,recalculateListContainerStylesTrigger:P,onDropdownListClose:M,renderCustomTrigger:function(t){t.isOpen;var n=t.setIsOpen;return t.inputRef,q({onToggleRenderAll:function(t){return setTimeout(function(){return S(t)},1)},onEditClick:function(){n(!w),w?M():j(!0)}})}}):w?$({withActions:!0}):q()}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(n,e){(null==e||e>n.length)&&(e=n.length);for(var l=0,t=Array(e);l<e;l++)t[l]=n[l];return t}function e(n,e,l){return e in n?Object.defineProperty(n,e,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[e]=l,n}function l(n){for(var l=1;l<arguments.length;l++){var t=null!=arguments[l]?arguments[l]:{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.forEach(function(l){e(n,l,t[l])})}return n}function t(n,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):(function(n,e){var l=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);l.push.apply(l,t)}return l})(Object(e)).forEach(function(l){Object.defineProperty(n,l,Object.getOwnPropertyDescriptor(e,l))}),n}function o(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var l,t,o=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=o){var i=[],r=!0,u=!1;try{for(o=o.call(n);!(r=(l=o.next()).done)&&(i.push(l.value),!e||i.length!==e);r=!0);}catch(n){u=!0,t=n}finally{try{r||null==o.return||o.return()}finally{if(u)throw t}}return i}}(n,e)||r(n,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(e)||r(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,l){if(e){if("string"==typeof e)return n(e,l);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,l)}}import{jsx as u,jsxs as c,Fragment as a}from"react/jsx-runtime";import{createRef as s,useCallback as d,useEffect as v,useLayoutEffect as m,useMemo as f,useRef as p,useState as h}from"react";import g from"classnames";import{createPortal as _}from"react-dom";import{Check as w,ChevronDown as b,ChevronUp as y,Code as N,MoreHorizontal as C,Trash2 as E,X as O}from"react-feather";import{formatToOnlyASCIICodeText as L}from"../../../Functions/fieldValueFormatters";import{useDebounce as S}from"../../../Functions/useDebounce";import I from"../../../Functions/useIsMobile/useIsMobile";import x from"../../FormElements/CheckboxInput/CheckboxInput";import D from"../../FormElements/Input/Input";import k from"../../UI/Button/Button";import F from"../../UI/Tag/Tag";import j from"../../UI/TagList/TagList";import"./TagsDropdown.scss";var A="tags-dropdown",B=["#F1F0F0","#E3E2E0","#EEDFDA","#F9DEC9","#FDECC8","#DBECDB","#D3E4EF","#E8DEEE","#F4E0E9","#FFE2DD","#D3EFED","#ECEEDE"];export default function(n){var r,H,P,T,M,R,z,U=n.options,q=n.chosenOptions,W=void 0===q?[]:q,K=n.onChange,V=n.className,Y=n.tagClassname,X=n.listClassName,$=n.onKeyPress,G=void 0===$?function(){}:$,J=n.placeholder,Q=n.label,Z=n.disabled,nn=n.isValuesInTags,ne=n.error,nl=n.isNotValidateASCII,nt=void 0!==nl&&nl,no=n.noTagsWrap,ni=void 0!==no&&no,nr=n.headerContent,nu=void 0===nr?null:nr,nc=n.footerContent,na=void 0===nc?null:nc,ns=n.selectAllButtonRef,nd=void 0===ns?null:ns,nv=n.unselectAllButtonRef,nm=void 0===nv?null:nv,nf=n.closeOnSelect,np=void 0!==nf&&nf,nh=n.closeOnRemove,ng=void 0!==nh&&nh,n_=n.closeOnRemoveAll,nw=void 0!==n_&&n_,nb=n.closeOnSelectAll,ny=void 0!==nb&&nb,nN=n.closeOnSelectMobile,nC=void 0!==nN&&nN,nE=n.closeOnRemoveMobile,nO=void 0!==nE&&nE,nL=n.closeOnRemoveAllMobile,nS=void 0!==nL&&nL,nI=n.closeOnSelectAllMobile,nx=void 0!==nI&&nI,nD=n.fieldKey,nk=n.id,nF=n.noOptionsText,nj=void 0===nF?"No options available":nF,nA=n.mobileSearchPlaceholder,nB=n.isSearchable,nH=void 0===nB||nB,nP=n.useLiveSearch,nT=n.doRequest,nM=n.attributesOfNativeInput,nR=void 0===nM?{}:nM,nz=n.isUseLocalOptionsStore,nU=void 0===nz||nz,nq=n.isDefaultOpened,nW=void 0!==nq&&nq,nK=n.withMobileLogic,nV=n.withCreateLogic,nY=n.withActions,nX=n.withSearchInputInList,n$=n.renderOptionsAsTags,nG=n.minItemsForShowMobileSearch,nJ=void 0===nG?10:nG,nQ=n.onOptionCreate,nZ=n.onOptionEdit,n0=n.onOptionDelete,n1=n.onActionConfirmClick,n2=n.onActionCancelClick,n3=n.onDropdownListClose,n6=n.customTriggerRef,n8=n.renderCustomTrigger,n5=n.recalculateListContainerStylesTrigger,n9=p(null),n4=p(null),n7=p(null),en=p(null),ee=p(null),el=p(null),et=I().isMobile,eo=et&&nK&&window.screen.width<=768,ei=o(h(nk||nD||Math.random().toString(16).slice(2)),1)[0],er=o(h(!1),2),eu=er[0],ec=er[1],ea=o(h(0),2),es=ea[0],ed=ea[1],ev=o(h(null),2),em=ev[0],ef=ev[1],ep=o(h(null),2),eh=ep[0],eg=ep[1],e_=o(h(null),2),ew=e_[0],eb=e_[1],ey=o(h(!1),2),eN=ey[0],eC=ey[1],eE=o(h(0),2),eO=eE[0],eL=eE[1],eS=o(h(1),2),eI=eS[0],ex=eS[1],eD=p(null),ek=o(h(""),2),eF=ek[0],ej=ek[1],eA=S({searchValue:eF,delay:600}),eB=o(h(!1),2),eH=eB[0],eP=eB[1],eT=function(n){ej(n),eP(eF!==n&&""===n),eD.current=n},eM=p(null),eR=o(h([]),2),ez=eR[0],eU=eR[1],eq=o(h(null),2),eW=eq[0],eK=eq[1],eV=function(n){eK(function(e){return n?t(l({},null!=e?e:{},"function"==typeof n?null==n?void 0:n(e):n),{isChanged:!!e}):n})},eY=f(function(){return!!eW&&(!!ez.filter(function(n){return n.value!==eW.value}).some(function(n){return n.label===eW.label})||null)},[ez,eW]),eX=o(h({}),2),e$=eX[0],eG=eX[1],eJ=f(function(){var n=Math.floor(Math.random()*(B.length-1-0+1))+0;return B[n]},[ez.length]),eQ=null==ez?void 0:ez.reduce(function(n,e){var l,t=function(n,e){var l=null==n?void 0:n.findIndex(function(n){return n.value===(null==e?void 0:e.value)});-1!==l?n[l]=e:n.push(e)};return e.groupName?null==(l=e.list)||l.map(function(e){return t(n,e)}):t(n,e),n},nU?null==(H=Object.keys(e$))?void 0:H.map(function(n){return{value:n,label:null==e$?void 0:e$[n]}}):[]),eZ=function(n){(eo?nO:ng)&&ec(!1),nU&&eG(function(o){return t(l({},o),e({},n,void 0))}),K(W.filter(function(e){return e!==n}),"chosenOptions")},e0=function(){var n,e;return null!=(e=null!=(n=document.querySelector("div#root"))?n:document.querySelector("div#app"))?e:document.querySelector("div#storybook-root")},e1=function(){var n,e=document.createElement("div");if(e.setAttribute("id",ei),e.classList.add("tags-dropdown__container"),X&&e.classList.add(X),eo&&e.addEventListener("click",function(n){n.target.id===ei&&ec(!1)}),eo){try{null==(t=document.getElementById("mlw-".concat(ei)))||t.remove()}catch(n){}var l,t,o=document.createElement("div");o.classList.add("tags-dropdown-mobile"),o.setAttribute("id","mlw-".concat(ei)),null==o||o.append(e),null==(l=e0())||l.append(o)}else null==(n=e0())||n.append(e)},e2=function(){return document.getElementById(ei)},e3=function(){var n=e2();if(!n||!eu)return!1;var e=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,l=null!=(b=null==n7||null==(f=n7.current)?void 0:f.getBoundingClientRect())?b:{},t=l.width,o=l.height,i=l.left,r=l.top,u=null==el?void 0:el.current,c=n.getElementsByClassName("tags-dropdown__list")[0],a=null==u?void 0:u.getElementsByClassName("tags-dropdown__header")[0],s=null==u?void 0:u.getElementsByClassName("tags-dropdown__footer")[0],d=parseInt(null!=(y=null==(h=getComputedStyle(u))||null==(p=h.marginTop)?void 0:p.replace("px",""))?y:0,10),v=null==u||null==(g=u.getBoundingClientRect())?void 0:g.height,m=500-(null!=(N=null==a||null==(_=a.getBoundingClientRect())?void 0:_.height)?N:0)-(null!=(C=null==s||null==(w=s.getBoundingClientRect())?void 0:w.height)?C:0);if(eo&&nK)c.style.maxHeight="".concat(m,"px");else{var f,p,h,g,_,w,b,y,N,C,E,O,L,S,I,x=null==(E=getComputedStyle(c))?void 0:E.maxHeight,D=null!=eh?eh:parseInt(null!=(S=null==x?void 0:x.replace("px",""))?S:0,10);null!==eh||isNaN(D)||eg(D),v>D&&!isNaN(D)&&(v=D-2*d);var k=n8?r-d-(null!=(I=null==n6||null==(L=n6.current)||null==(O=L.getBoundingClientRect())?void 0:O.height)?I:0):r-d,F=e-r-o-2*d,j=em;!em&&ez.length&&ef(j=k<F||F>=v?"bottom":"top"),v>("top"===j?k:F)&&((v=("top"===j?k:F)-3*d)<200&&(v=200),u.style.maxHeight="".concat(v,"px")),n.style.minWidth="".concat(t,"px"),n.style.left="".concat(i,"px"),n.style.top="".concat("bottom"===j?r+o:r-v-2*d,"px")}},e6=function(){var n,e={label:eF,style:{backgroundColor:eJ},isEditable:!0,ref:s()};(null!=(n=null==nQ?void 0:nQ(e))?n:new Promise(function(n){return n()})).then(function(n){var l,t=Math.random().toString(16).slice(2);e.value=null!=(l=null==n?void 0:n.id)?l:t,eU(function(n){return i(n).concat([e])}),ej(""),li(e)})},e8=function(n,e){null==n||n.preventDefault(),null==n||n.stopPropagation(),eV((null==eW?void 0:eW.value)===(null==e?void 0:e.value)?null:e)},e5=function(){var n;(null!=(n=null==n0?void 0:n0(eW))?n:new Promise(function(n){return n()})).then(function(){eZ(null==eW?void 0:eW.value),eU(function(n){return n.filter(function(n){return n.value!==(null==eW?void 0:eW.value)})}),eV(null)})},e9=function(){if(!(null==eW?void 0:eW.isChanged)||eY)return eV(null),!1;null==nZ||nZ(eW),eU(function(n){return n.map(function(n){if(eW&&n.value===(null==eW?void 0:eW.value)){var e=l({},eW);return eV(null),e}return n})})},e4=function(){if(!eW||!(null==ee?void 0:ee.current))return null;var n,e,l,t,o,i=window.scrollX,r=window.scrollY,u={left:"modal-left",right:"modal-right",top:"modal-top",bottom:"modal-bottom"},c=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,a=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,s=null==eW||null==(n=eW.ref)?void 0:n.current,d=null!=(l=null==s?void 0:s.getBoundingClientRect())?l:{},v=d.x,m=d.y,f=d.width,p=d.height,h=null==el||null==(e=el.current)?void 0:e.getBoundingClientRect(),g=c-(null==h?void 0:h.x)-(null==h?void 0:h.width),_=a-m-r-p;Object.values(u).map(function(n){return ee.current.classList.remove(n)}),ee.current.classList.add(null!=(t=null==u?void 0:u[g<200?"left":"right"])?t:""),ee.current.classList.add(null!=(o=null==u?void 0:u[_<200?"top":"bottom"])?o:""),ee.current.style.left="".concat(v+i+f,"px"),ee.current.style.top="".concat(m+r+p,"px"),ee.current.style.transform="translate(".concat(g<200?"calc(-100% + 7px)":"-35px",", ").concat(_<200?"calc(-100% - ".concat(p+10,"px)"):"10px",")")},e7=function(n){var e,l,t,o,i,r,u=n.target;!eu||(null==(e=e2())?void 0:e.contains(u))||ee.current?ee.current&&!(null==(l=ee.current)?void 0:l.contains(u))&&((null==(r=document)||null==(i=r.getElementById)||null==(o=i.call(r,"editTrigger".concat(null==eW?void 0:eW.value)))||null==(t=o.contains)?void 0:t.call(o,u))||e9()):(ec(!1),null==n3||n3(n))},ln=function(n){var e;e7(n),n.target.isEqualNode(null==n9?void 0:n9.current)||null==n9||null==(e=n9.current)||e.blur()},le=function(n){var e,l,t,o;return((null==n?void 0:n.tagName)!=="svg"||(null==n?void 0:n.parentNodclassName)!=="tag__button")&&(null==n?void 0:n.tagName)!=="line"&&((null==n?void 0:n.tagName)==="svg"&&(null==n?void 0:n.parentNodclassName)!=="tag__button"||(null==n||null==(l=n.className)||null==(e=l.indexOf)?void 0:e.call(l,"tag__label"))!==-1||(null==n||null==(o=n.className)||null==(t=o.indexOf)?void 0:t.call(o,"tag-list_wrapper"))!==-1||(null==n?void 0:n.className.indexOf("".concat(A,"__trigger")))!==-1||(null==n?void 0:n.className)==="tags-dropdown__arrow")},ll=function(n){if(n.isHiddenInList)return!1;var e=n.title||n.label;return!eF.length||(null==e?void 0:e.toLowerCase().includes((null==eF?void 0:eF.toLowerCase())||""))},lt=function(n){return null==n?void 0:n.map(function(n){return(null==n?void 0:n.groupName)?null==n?void 0:n.list:n}).flat()},lo=d(function(){return null==ez?void 0:ez.reduce(function(n,e){if(null==e?void 0:e.list){var l;n+=(null==e||null==(l=e.list)?void 0:l.length)||0}else++n;return n},0)},[ez]),li=function(n){return(null==n||!n.isFreezed)&&(((null==n?void 0:n.closeOnOptionSelect)!==void 0?n.closeOnOptionSelect&&ec(!1):(eo?nC:np)&&ec(!1),eT(""),W.some(function(e){return e===n.value}))?eZ(n.value):(nU&&eG(function(o){return t(l({},o),e({},null==n?void 0:n.value,null==n?void 0:n.label))}),K(i(W).concat([n.value]),"chosenOptions")),null)},lr=function(n){var e=n;nt||(e=L(e)),eT(e)},lu=function(n){n.target===(null==n4?void 0:n4.current)&&(n.stopPropagation(),n.preventDefault(),ec(!1))},lc=function(){var n,e=null==(n=lt(ez))?void 0:n.filter(function(n){var e=n.isFreezed,l=n.value;return!e&&!(null==W?void 0:W.includes(l))&&"open_modal"!==l});nU&&eG(function(n){return null==e?void 0:e.reduce(function(n,e){var l=e.value,t=e.label;return n[l]=t,n},n)}),K(i(W).concat(i((null==e?void 0:e.map(function(n){return n.value}))||[])),"chosenOptions"),(eo?nx:ny)&&ec(!1)},la=function(){nU&&eG({}),K(null==W?void 0:W.filter(function(n){var e,l;return null==(l=lt(ez))||null==(e=l.find(function(e){return e.value===n}))?void 0:e.isFreezed}),"chosenOptions"),(eo?nS:nw)&&ec(!1)},ls=d(function(n){nT&&"function"==typeof nT&&Math.round(n.target.clientHeight+n.target.scrollTop)==n.target.scrollHeight&&nT(eD.current,!0)},[ez]),ld=function(n){var l,t=n.description,o=n.title||n.label,i=function(n){var e,l=null==n||null==(e=n.toLowerCase())?void 0:e.indexOf(null==eF?void 0:eF.toLowerCase());return -1===l?n:c("pre",{className:"inherit-styles",children:[u("span",{children:n.substring(0,l)}),u("span",{className:"search-match bg--yellow",children:n.substring(l,l+(null==eF?void 0:eF.length))}),u("span",{children:n.substring(l+(null==eF?void 0:eF.length))})]})};return c("button",{ref:null==n?void 0:n.ref,onClick:function(e){e.preventDefault(),e.stopPropagation(),li(n)},className:g("".concat(A,"__list-item"),e({},"".concat(A,"__list-item_active"),null==W?void 0:W.some(function(e){return e===n.value})),e({},"".concat(A,"__list-item_disabled"),n.disabled),e({},"".concat(A,"__list-item_freezed"),null==n?void 0:n.isFreezed),e({},"".concat(A,"__list-item--editing"),(null==n?void 0:n.value)===(null==eW?void 0:eW.value)),n.className),children:[!eo&&u("span",{className:g("".concat(A,"__active-icon"),e({},"".concat(A,"__active-icon_active"),null==W?void 0:W.some(function(e){return e===n.value}))),children:u(w,{width:16,height:16,className:"color--text"})}),c("div",{className:g("".concat(A,"__list-item-body")),children:[n$?u(F,{className:g("".concat(A,"__list-item-title"),null==n?void 0:n.labelClassName,{"tag_with-btn":!(null==n?void 0:n.isFreezed)}),label:i(o),style:null==n?void 0:n.style,isNoDismiss:!0},null==n?void 0:n.value):u("span",{className:g("".concat(A,"__list-item-title"),n.labelClassName),children:i(o)}),t&&u("span",{className:g("".concat(A,"__list-item-description")),children:t})]}),!eo&&(null==n?void 0:n.isEditable)&&nZ&&n0&&u("div",{id:"editTrigger".concat(null==n?void 0:n.value),className:g("".concat(A,"__list-item-edit-trigger")),onClick:function(e){return e8(e,n)},children:u(C,{})}),eo?null!=(l=null==n?void 0:n.customMobileIcon)?l:u(x,{value:null==W?void 0:W.some(function(e){return e===n.value}),onChange:function(){li(n)}}):""]},"".concat(A,"__list-item-").concat(n.id||n.value))},lv=function(){return u(D,l({ref:n9,className:g("".concat(A,"__input"),e({},"".concat(A,"__input--in-list"),nX)),value:eF,onChange:lr,placeholder:J||"Select from list",attributesOfNativeInput:t(l({},nR),{onKeyDown:function(n){13===n.keyCode&&nV&&nQ&&eQ.every(function(n){var e=n.label;return(null==e?void 0:e.toLowerCase())!==(null==eF?void 0:eF.toLowerCase())})&&e6(),G(n,eF)}})},nV?{symbolsLimit:50}:{}))},lm=d(function(){var n;return null!=(n=null==n8?void 0:n8({chosenOptions:W,singleLevelOptions:eQ,deleteChosen:eZ,inputRef:n9,onSearchHandler:lr,isOpen:eu,setIsOpen:ec}))?n:c("div",{className:g("".concat(A,"__trigger"),e({"tags-dropdown__error":ne},"".concat(A,"__trigger--with-actions"),nY)),onClick:function(n){var e=n.target;(null==e?void 0:e.tagName)==="INPUT"?ec(!0):le(e)&&ec(function(n){return!n})},children:[ni?u(j,{items:null==W?void 0:W.map(function(n,e){var l=null==eQ?void 0:eQ.find(function(e){return e.value==n});return{value:n,label:nn?null==l?void 0:l.value:(null==l?void 0:l.label)||(null==l?void 0:l.name)||(null==l?void 0:l.title),id:e,className:null==l?void 0:l.labelClassName,style:null==l?void 0:l.style}}),disableShowMore:!0}):null==W?void 0:W.map(function(n){var e=null==eQ?void 0:eQ.find(function(e){return e.value==n}),l=nn?null==e?void 0:e.value:(null==e?void 0:e.label)||(null==e?void 0:e.name)||(null==e?void 0:e.title);return u(F,{className:g(Y,null==e?void 0:e.labelClassName,{"tag_with-btn":!(null==e?void 0:e.isFreezed)}),label:l,style:null==e?void 0:e.style,removeItem:(null==e?void 0:e.isFreezed)?null:function(){return eZ(n)},isNoDismiss:!1},n)}),0!==W.length&&ni?"":lv(),u("span",{className:g("".concat(A,"__arrow"),e({},"".concat(A,"__arrow_active"),eu)),children:eo?u(N,{className:"mobile-icon"}):eu?u(y,{className:"color--text"}):u(b,{className:"color--text"})})]})},[W,eQ,n9,eu]);return m(function(){return e1(),nW&&!et&&ec(!0),function(){var n,e;null==(n=e2())||n.remove(),null==(e=document.getElementById("mlw-".concat(ei)))||e.remove()}},[]),m(function(){var n;return eo?(window.removeEventListener("mousewheel",ln),window.removeEventListener("wheel",ln),window.removeEventListener("touchmove",ln),window.removeEventListener("mouseup",e7)):(window.addEventListener("mousewheel",ln),window.addEventListener("wheel",ln),window.addEventListener("touchmove",ln),window.addEventListener("mouseup",e7)),null==(n=e2())||n.addEventListener("click",ln),function(){var n;window.removeEventListener("mousewheel",ln),window.removeEventListener("mouseup",e7),window.removeEventListener("wheel",ln),window.removeEventListener("touchmove",ln),null==(n=e2())||n.removeEventListener("click",ln)}},[e2,eo]),m(function(){eu&&(e3(),e4())},[eu,U,W,eF,eo,null==el||null==(T=el.current)||null==(P=T.getBoundingClientRect())?void 0:P.height,n5]),v(function(){nU&&W.length!==Object.keys(e$).length&&ez.map(function(n){(null==e$?void 0:e$[null==n?void 0:n.value])||eG(function(o){return t(l({},o),e({},null==n?void 0:n.value,null==n?void 0:n.label))})})},[W,nU]),v(function(){var n,e,l,t,o,i,r,u,c=function(n){ed(window.scrollY)},a=eu?"addEventListener":"removeEventListener";null==nd||null==(n=nd.current)||n[a]("click",lc,!0),null==nm||null==(e=nm.current)||e[a]("click",la,!0),eu?(eo&&nK||window.removeEventListener("scroll",c),(null==n6?void 0:n6.current)&&(n6.current.style.pointerEvents="none"),null==(l=e2())||l.classList.add("tags-dropdown__container--opened"),eo?null==n9||null==(r=n9.current)||null==(i=r.blur)||i.call(r):null==n9||null==(o=n9.current)||null==(t=o.focus)||t.call(o)):(eo&&nK||window.addEventListener("scroll",c),(null==n6?void 0:n6.current)&&(n6.current.style.pointerEvents="auto"),null==(u=e2())||u.classList.remove("tags-dropdown__container--opened"),nX&&eT(""),ef(null),ej(""))},[eu]),v(function(){var n,e,l,t,o,i=function(n){eL(parseInt(n.target.scrollTop,10))},r=function(n){n.preventDefault(),window.scrollTo({top:es})};return eu&&eo&&(null==en?void 0:en.current)&&(null==en||null==(n=en.current)||n.addEventListener("scroll",i),eb((null==en||null==(e=en.current)?void 0:e.scrollHeight)>(null==en||null==(l=en.current)?void 0:l.clientHeight)),null===ew&&eC((null==en||null==(t=en.current)?void 0:t.scrollHeight)>(null==en||null==(o=en.current)?void 0:o.clientHeight))),eu&&en&&en.current&&(en.current.addEventListener("scroll",ls),eo&&nK||window.addEventListener("scroll",r)),function(){var n,e;eo&&nK||window.removeEventListener("scroll",r),null==en||null==(n=en.current)||n.removeEventListener("scroll",ls),null==en||null==(e=en.current)||e.removeEventListener("scroll",i)}},[eu,eo,null==en?void 0:en.current,null==en||null==(M=en.current)?void 0:M.scrollHeight,null==en||null==(R=en.current)?void 0:R.clientHeight]),v(function(){if(null==en?void 0:en.current){var n,e;ex(parseInt((null==en||null==(n=en.current)?void 0:n.scrollHeight)-(null==en||null==(e=en.current)?void 0:e.clientHeight),10))}},[eO,null==en?void 0:en.current]),v(function(){nH&&nP&&(eA||eH||eu)&&(null==nT||nT(eA))},[eu,eA,eH]),v(function(){eU(U.map(function(n){return t(l({},n),{ref:s()})}))},[U]),v(function(){if(eW){var n,e;e4(),null==eM||null==(e=eM.current)||null==(n=e.focus)||n.call(e)}},[null==eW?void 0:eW.value]),c("div",{className:g(A,V,(e(z={},"".concat(A,"_disabled"),Z),e(z,"".concat(A,"-mobile"),eo),e(z,"".concat(A,"--focused"),eu&&!(null==n6?void 0:n6.current)&&!eo),e(z,"".concat(A,"--custom-trigger"),!!(null==n6?void 0:n6.current)),z)),ref:n7,children:[lm(),nY&&c("div",{className:g("".concat(A,"__actions")),children:[u("div",{className:g("".concat(A,"__actions-item")),onClick:n1,children:u(w,{})}),u("div",{className:g("".concat(A,"__actions-item")),onClick:n2,children:u(O,{})})]}),eu&&((r=e2())?_(function(){var n,o,i,r=null==ez?void 0:ez.reduce(function(n,e){if(e.groupName){var o,i=null==e||null==(o=e.list)?void 0:o.filter(function(n){return ll(n)});(null==i?void 0:i.length)&&n.push(t(l({},e),{list:i}))}else ll(e)&&n.push(e);return n},[]),s=[],d=!0,v=!1,m=void 0;try{for(var f,p,h,b=r[Symbol.iterator]();!(d=(h=b.next()).done);d=!0){var y,N,C,L=h.value;L.groupName?s.push(c("div",{className:g("".concat(A,"-group"),L.className),children:[u("span",{className:"".concat(A,"-group__name"),children:L.groupName}),null==(y=L.list)?void 0:y.map(function(n){return ld(n)})]},null==(C=L.groupName)||null==(N=C.toString())?void 0:N.replace(/ /g,"_").concat(Date.now()))):s.push(ld(L))}}catch(n){v=!0,m=n}finally{try{d||null==b.return||b.return()}finally{if(v)throw m}}return u("div",{className:g("".concat(A,"__container-wrapper")),ref:n4,onClick:eo?lu:function(){},children:c("div",{ref:el,className:g("".concat(A,"__selector-wrapper"),e({},"".concat(A,"__selector-wrapper--fixed-height"),eN&&eo)),children:[nu||eo?c("div",{className:g("".concat(A,"__header"),(e(o={},"".concat(A,"__header-with-shadow"),ew&&eo),e(o,"".concat(A,"__header-with-shadow-hidden"),0===eO),o)),children:[eo&&c(a,{children:[c("div",{className:g("".concat(A,"__header-row")),children:[u("div",{className:g("".concat(A,"__label")),children:Q}),u("div",{className:g("".concat(A,"__close-icon")),onClick:function(n){n.stopPropagation(),ec(!1)},children:u(O,{onClick:function(n){n.stopPropagation(),ec(!1)}})})]}),lo()>(nJ||10)&&u("div",{className:g("".concat(A,"__header-row")),children:u(D,l({className:"".concat(A,"__input"),value:eF,onChange:function(n){return eT(n)},placeholder:nA||"Search",withDelete:!0,onMouseDown:function(){eu||ec(!0)}},nR))})]}),nu&&u("div",{className:g("".concat(A,"__header-row")),children:nu})]}):null,nX&&u("div",{className:g("".concat(A,"__input-list-wrapper")),children:lv()}),nV&&nQ&&eF&&r.length&&eQ.every(function(n){var e=n.label;return(null==e?void 0:e.toLowerCase())!==(null==eF?void 0:eF.toLowerCase())})?u("div",{className:g("".concat(A,"__creatable-helper")),children:"Select an option or create one"}):null,c("div",{ref:en,className:"".concat(A,"__list ").concat(nu||eo?"".concat(A,"__list--with-header"):""," ").concat(na?"".concat(A,"__list--with-footer"):""),children:[s,(null==(f=r.filter(function(n){return"open_modal"!==n.value}))?void 0:f.length)!==0||nV&&eF?null:u("div",{className:"".concat(A,"__no-options"),children:nj})]}),(na||eo)&&(null==(p=r.filter(function(n){return"open_modal"!==n.value}))?void 0:p.length)>0?c("div",{className:g("".concat(A,"__footer"),(e(i={},"".concat(A,"__footer-with-shadow"),eo&&ew),e(i,"".concat(A,"__footer-with-shadow-hidden"),eO===eI),i)),children:[na,eo&&c("button",{onClick:function(){return ec(!1)},children:["Apply",(null==W?void 0:W.length)?"(".concat(null==W?void 0:W.length,")"):""]})]}):null,eW&&_(c("div",{ref:ee,className:g("".concat(A,"__edit-option-modal")),children:[c("div",{className:g("".concat(A,"__edit-option-modal-section")),children:[u(D,{value:eW.label,onChange:function(n){return eV(function(e){return t(l({},e),{label:n})})},error:eY,onKeyDown:function(n){13===n&&e9()},symbolsLimit:"50",ref:eM}),u(k,{variant:"link",icon:u(E,{}),label:"Delete",onClick:e5})]}),u("div",{className:g("".concat(A,"__edit-option-modal-section-divider"))}),c("div",{className:g("".concat(A,"__edit-option-modal-section")),children:[u("h3",{children:"Colors"}),u("div",{className:g("".concat(A,"__edit-option-modal-section-colors")),children:B.map(function(n){var e;return u("div",{className:"color-block",style:{backgroundColor:n},onClick:function(){return eV(function(e){return t(l({},e),{style:t(l({},e.style),{backgroundColor:n})})})},children:(null==eW||null==(e=eW.style)?void 0:e.backgroundColor)===n?u(w,{}):null},n)})})]})]},"editOptionModal".concat(null==eW?void 0:eW.value)),null!=(n=document.getElementById("app"))?n:document.body),nV&&nQ&&eF&&eQ.every(function(n){var e=n.label;return(null==e?void 0:e.toLowerCase())!==(null==eF?void 0:eF.toLowerCase())})&&c("div",{className:g("".concat(A,"__create-option")),onClick:e6,children:["Create",u(F,{label:eF,style:{backgroundColor:eJ},isNoDismiss:!0})]})]})})}(),r):null)]})}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(r){e(t,r,n[r])})}return t}import{jsx as r,jsxs as n,Fragment as o}from"react/jsx-runtime";import"react";import c from"classnames";import"./Text.scss";var i="text";export default function(a){var s,l,f,p,u=a.value,y=a.className,b=a.classesObj,O=a.icon,m=a.link,j=a.align,d=void 0===j?"left":j,g=a.testId;if(!u)return null;var v=(null!=(s=Object)&&"undefined"!=typeof Symbol&&s[Symbol.hasInstance]?!!s[Symbol.hasInstance](m):m instanceof s)&&!Array.isArray(m),h="string"==typeof m,P=v||h,w=v?m:{},S=w.path,x=w.target,D=w.redirect,k=w.onClick,N=w.isNoPreventDefault,I=w.isNoStopPropagation,_=P?v?void 0===S?"":S:m:"",A={};("function"==typeof k||"function"==typeof D)&&(A.onClick=function(e){if(N||e.preventDefault(),I||e.stopPropagation(),k)return void k(t({ev:e},m));D(_)});var C=n(o,{children:[O&&r("div",{className:"".concat(i,"__icon-container"),children:O}),u]});return r("div",{"data-testid":void 0===g?"text-lib-component":g,className:c(i,y,t((e(p={},"".concat(i,"-left"),"left"===d),e(p,"".concat(i,"-center"),"center"===d),e(p,"".concat(i,"-right"),"right"===d),e(p,"".concat(i,"-justify"),"justify"===d),p),b)),children:P?r("a",(l=t({},A),f=f={href:_,target:null!=x?x:"_self",rel:"noreferrer",children:C},Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(f)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(f)).forEach(function(e){Object.defineProperty(l,e,Object.getOwnPropertyDescriptor(f,e))}),l)):C})}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return i}});var t,a=require("react/jsx-runtime"),n=(t=require("classnames"))&&t.__esModule?t:{default:t};require("react"),require("./TextSwitcher.scss");var c="text-switcher",i=function(t){var i,r=t.isActive,s=t.onChange,l=t.className,d=t.disabled,o=t.activeText,u=t.inactiveText,_=void 0===u?"is not":u,b=t.testId,f=void 0===b?c:b,v=null==r;return(0,a.jsxs)("button",{type:"button","data-testid":f,className:(0,n.default)(c,(e(i={},"".concat(c,"_active"),r),e(i,"".concat(c,"_disabled"),d),i),l),onClick:function(){return s(!r)},disabled:d,children:[(0,a.jsx)("span",{className:"".concat(c,"__btn"),children:void 0===o?"is":o}),_&&(0,a.jsx)("span",{className:(0,n.default)("".concat(c,"__btn"),"".concat(c,"__btn_off")),children:_}),!v&&(0,a.jsx)("div",{className:(0,n.default)("".concat(c,"__slider"),e({},"".concat(c,"__slider_inactive"),!r))})]})};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{forwardRef as e,useEffect as a,useRef as o}from"react";import n from"classnames";import{formatToOnlyASCIICodeText as r}from"../../../Functions/fieldValueFormatters";import"./Textarea.scss";var i="textarea",l=e(function(e,l){var c=e.id,s=e.value,u=e.onChange,d=e.onFocus,m=e.onBlur,f=e.placeholder,h=e.disabled,v=e.className,p=e.isNotValidateASCII,x=void 0!==p&&p,g=e.testId,w=void 0===g?i:g,y=e.withAutoGrow,F=e.onKeyDown,N=o(),C=l||N,I=function(t){var e=t;x||(e=r(e)),u(e)},b=function(t){t.style.height="5px",t.style.height=t.scrollHeight+"px"};return a(function(){y&&b(null==C?void 0:C.current)},[s,y]),t("div",{"data-testid":w,className:n("".concat(i),v),children:t("textarea",{id:null!=c?c:Math.random().toString(16).slice(2),"data-testid":"".concat(w,"-textarea"),className:"".concat(i,"__textarea"),value:s,onChange:function(t){return I(t.target.value)},placeholder:f,disabled:h,onKeyDown:void 0===F?function(){}:F,ref:C,onFocus:function(t){null==d||d(t)},onBlur:function(t){null==m||m(t)}})})});export default l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,n){(null==n||n>e.length)&&(n=e.length);for(var r=0,t=Array(n);r<n;r++)t[r]=e[r];return t}function n(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function r(n){return function(n){if(Array.isArray(n))return e(n)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(n,r){if(n){if("string"==typeof n)return e(n,void 0);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return e(n,r)}}(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}import{jsx as t}from"react/jsx-runtime";import{createElement as i}from"react";import{useMemo as o}from"react";import a from"classnames";import{compareAlphabetical as c}from"../../../Functions/utils";import l from"../CheckboxInput/CheckboxInput";import u from"./partial/AccordionWithCheckbox";import"./TieredCheckboxes.scss";var s="tiered-checkboxes";export default function(e){var d=e.items,f=void 0===d?{}:d,p=e.className,v=e.onChange,y=e.isUseParentsClassesAsDataset,b=e.isUseAccordionForGroup,h=e.accordionIcons,m=e.isOnlyOne,O=void 0!==m&&m,k=e.sortGroups,g=void 0!==k&&k,j=e.sortGroupItems,P=void 0!==j&&j,C={changeParent:function(e,n,t){var i=f.find(function(e){return e.key===n});t?i[t]=e:i.value=e,t||(e?i.children.filter(function(e){return!e.disabled}).forEach(function(e){return e.value=!0}):i.children.filter(function(e){return!e.disabled}).forEach(function(e){return e.value=!1})),v(r(f))},changeChild:function(e,n,t){if(O){var i=f.find(function(e){return e.key===t});i.children.find(function(e){return e.key===n}).value=e,i.children.map(function(r){return r.key!==n&&!0===e?(r.disabled=!0,i.disabled=!0):r.key!==n&&!1===e?(r.disabled=!1,i.disabled=!1):r.disabled=!1,r}),i.disabled=!0}else{var o=f.find(function(e){return e.key===t});o.children.find(function(e){return e.key===n}).value=e,o.children.every(function(e){return e.value})?o.value=!0:o.value=!1}v(r(f))},isAllChecked:function(e){return(null==e?void 0:e.children.some(function(e){return e.value}))&&!(null==e?void 0:e.children.every(function(e){return e.value}))}},A=o(function(){var e=r(f);return g&&(e=null==e?void 0:e.sort(c)),P&&(e=null==e?void 0:e.map(function(e){if(null==e?void 0:e.children){var n;e.children=null==e||null==(n=e.children)?void 0:n.sort(c)}return e})),e},[f]),w=function(e){return e.children&&e.children.map(function(n){return t("div",{className:"".concat(s,"__children"),children:t(l,{testId:n.key,label:n.label,value:n.value,disabled:null==n?void 0:n.disabled,onChange:function(r){return C.changeChild(r,n.key,e.key)}})},n.key)})};return t("div",{className:a(s,p),children:A.map(function(e){var r,o,c=y&&(null==e?void 0:e.className)?{"data-key":null==e?void 0:e.className}:{};return b?t(u,{RC:s,parent:e,datasetProp:c,isUseParentsClassesAsDataset:y,className:"".concat(s,"__mono-accordion"),setIsOpen:function(){return C.changeParent(!e.isOpen,e.key,"isOpen")},onChange:function(n){return C.changeParent(n,e.key)},icon:e.isOpen?(null==h?void 0:h[1])||null:(null==h?void 0:h[0])||null,children:w(e)},e.key):i("div",(r=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.forEach(function(r){n(e,r,t[r])})}return e}({},c),o=o={key:e.key,className:a("".concat(s,"__parents"),n({},"".concat(e.className),!y)),children:[t(l,{isStark:C.isAllChecked(e),label:e.label,value:e.value,onChange:function(n){return C.changeParent(n,e.key)},disabled:e.children.every(function(e){return!0===e.disabled})||e.disabled}),t("div",{className:a("".concat(s,"__parent__children")),children:w(e)})]},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r})(Object(o)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}),r))})})}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as n,Fragment as l}from"react/jsx-runtime";import"react";import a from"classnames";import c from"../../../UI/MonoAccordion/MonoAccordion";import r from"../../CheckboxInput/CheckboxInput";import"../TieredCheckboxes.scss";export default function(t){var i,o,s,d,u,m,h,p,b,f=t.children,v=t.parent,x=t.onChange,C=t.className,g=t.RC,k=t.setIsOpen,N=t.icon,j=t.disabled,I=t.datasetProp,O=t.isUseParentsClassesAsDataset;return e(c,{datasetProp:I,className:a(C,(i={},o="".concat(v.className),s=!O,o in i?Object.defineProperty(i,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[o]=s,i)),isOpen:v.isOpen,onClick:k,icon:N,disabled:j,titleJSX:n(l,{children:[e(r,{className:"".concat(g,"__checkbox-input"),isStark:(null==v||null==(u=v.children)||null==(d=u.some)?void 0:d.call(u,function(e){return e.value}))&&!(null==v||null==(h=v.children)||null==(m=h.every)?void 0:m.call(h,function(e){return e.value})),label:v.label,value:v.value,onChange:x,disabled:v.children.every(function(e){return!0===e.disabled})||v.disabled}),e("span",{className:"".concat(g,"__description-checked"),children:(null==v||null==(p=v.children)?void 0:p.length)?"Selected ".concat(v.children.filter(function(e){return e.value}).length," from ").concat(null==(b=v.children)?void 0:b.length):null})]}),children:f})}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function t(t,r){return function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r,n,u=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=u){var a=[],o=!0,i=!1;try{for(u=u.call(e);!(o=(r=u.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){i=!0,n=e}finally{try{o||null==u.return||u.return()}finally{if(i)throw n}}return a}}(t,r)||function(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,r)}}(t,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return d}});var r=require("react/jsx-runtime"),n=f(require("classnames")),u=f(require("moment")),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||(void 0===e?"undefined":e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)!="object"&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=u?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(require("react")),o=f(require("../../../Functions/useToggle")),i=f(require("../Input/Input")),l=f(require("../Label"));function f(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}require("./TimeRange.scss");var c="time-range",d=function(e){var f=e.className,s=e.from,d=e.to,m=e.labelFrom,p=e.labelTo,y=e.testId,b=void 0===y?c:y,g=t((0,a.useState)(void 0===s?"":s),2),v=g[0],j=g[1],h=t((0,a.useState)(void 0===d?"":d),2),_=h[0],M=h[1],H=(0,o.default)().isToggled,O=(0,o.default)().isToggled,x=(0,a.useMemo)(function(){return(0,u.default)(v,"HH:mm",!0).isValid()},[v]),S=(0,a.useMemo)(function(){return(0,u.default)(_,"HH:mm",!0).isValid()},[_]),q=function(e,t){t(e?(0,u.default)(e,"HH:mm").format("HH:mm"):"")};return(0,r.jsx)("div",{"data-testid":b,className:(0,n.default)(c,f),children:(0,r.jsxs)("div",{className:"time-range__range",children:[(0,r.jsx)(l.default,{label:m||"Between"}),(0,r.jsx)(i.default,{className:"time-range__input",value:v,onChange:function(e){return j(e)},placeholder:"00:00",onBlur:function(){return q(v,j)},error:H||!x?"HH:MM format":"",testId:"start-time-input"}),(0,r.jsx)(l.default,{label:p||"and"}),(0,r.jsx)(i.default,{className:"time-range__input",value:_,onChange:function(e){return M(e)},placeholder:"00:00",onBlur:function(){return q(_,M)},error:O||!S?"HH:MM format":"",testId:"end-time-input"})]})})};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
import type { IUniProps } from '../../../types/base.interface';
|
|
4
|
+
|
|
5
|
+
export interface TContactPrefix {
|
|
6
|
+
prefix?: string;
|
|
7
|
+
postfix?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface TMainContactsDescriptions {
|
|
11
|
+
isDisputeContact: string;
|
|
12
|
+
isSalesContact: string;
|
|
13
|
+
isAccountingContact: string;
|
|
14
|
+
isBusinessContact: string;
|
|
15
|
+
isTechnicalContact: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface IUserContactProps extends IUniProps {
|
|
19
|
+
email?: string;
|
|
20
|
+
phone?: string;
|
|
21
|
+
EmailIcon?: ReactNode | JSX.Element;
|
|
22
|
+
PhoneIcon?: ReactNode | JSX.Element;
|
|
23
|
+
isFirstPhone?: boolean;
|
|
24
|
+
maxWidth?: number;
|
|
25
|
+
isUseCommaSeparator?: boolean;
|
|
26
|
+
generalizingWord?: string;
|
|
27
|
+
isNotRenderGeneralizingWord?: boolean;
|
|
28
|
+
Lng?: (value: string) => string;
|
|
29
|
+
otherContacts?: string[];
|
|
30
|
+
isOtherTogetherMainContacts?: boolean;
|
|
31
|
+
isDisputeContact?: boolean | TContactPrefix;
|
|
32
|
+
isSalesContact?: boolean | TContactPrefix;
|
|
33
|
+
isAccountingContact?: boolean | TContactPrefix;
|
|
34
|
+
isBusinessContact?: boolean | TContactPrefix;
|
|
35
|
+
isTechnicalContact?: boolean | TContactPrefix;
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],c=!0,i=!1;try{for(o=o.call(e);!(c=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==o.return||o.return()}finally{if(i)throw r}}return a}}(e,t)||o(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||o(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function o(t,n){if(t){if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}}Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return d}});var a,c=require("react/jsx-runtime"),i=(a=require("classnames"))&&a.__esModule?a:{default:a},u=function(e,t){if(e&&e.__esModule)return e;if(null===e||(void 0===e?"undefined":r(e))!=="object"&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var i=a?Object.getOwnPropertyDescriptor(e,c):null;i&&(i.get||i.set)?Object.defineProperty(o,c,i):o[c]=e[c]}return o.default=e,n&&n.set(e,o),o}(require("react")),l=require("../../../Molecular/CustomIcons");function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}require("./UserContacts.scss");var f="user-contacts",d=function(e){var o,a,s,d=e||{},p=d.testId,m=void 0===p?f:p,h=d.className,y=d.email,v=d.phone,b=d.EmailIcon,g=d.PhoneIcon,j=d.isFirstPhone,O=void 0!==j&&j,S=d.maxWidth,_=d.isUseCommaSeparator,w=void 0===_||_,x=d.generalizingWord,P=void 0===x?"contact":x,C=d.isNotRenderGeneralizingWord,A=d.Lng,I=void 0===A?function(e){return e}:A,W=d.otherContacts,M=void 0===W?[]:W,N=d.isOtherTogetherMainContacts,E=void 0!==N&&N,k=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(d,["testId","className","email","phone","EmailIcon","PhoneIcon","isFirstPhone","maxWidth","isUseCommaSeparator","generalizingWord","isNotRenderGeneralizingWord","Lng","otherContacts","isOtherTogetherMainContacts"]),R={isDisputeContact:"Dispute",isSalesContact:"Sales",isAccountingContact:"Accounting",isBusinessContact:"Business",isTechnicalContact:"Technical"},T=function(e){var t=k[e],n=(void 0===t?"undefined":r(t))==="object"?t:{},o=n.prefix,a=void 0===o?"":o,c=n.postfix,i=void 0===c?"":c;return"".concat(a?"".concat(I(a.toString())," "):"").concat(I(R[e])).concat(i?" ".concat(I(i.toString())):"")},q=Object.keys(k).reduce(function(e,t){return k[t]&&t in R?n(e).concat([T(t)]):e},[]),z=(q=E?n(q).concat(n(Array.isArray(M)?M.map(function(e){return I(e)}):[])):q).length,D=(null==M?void 0:M.length)||0,U=!!z||!!D,L=!!z,B=(0,u.useRef)(null),F=(0,u.useRef)(null),G=(0,u.useRef)(null),J=(0,u.useRef)(null),$=t((0,u.useState)(!1),2),H=$[0],K=$[1],Q=t((0,u.useState)(null),2),V=Q[0],X=Q[1],Y=function(e){var t=w?", ":" ";switch(e){case"main":return z-- >1?t:"";case"other":return D-- >1?t:"";default:return t}},Z=O?"phone":"email",ee=O?"email":"phone",et=function(e){switch(e){case"email":return b||(0,c.jsx)(l.Email,{});case"phone":return g||(0,c.jsx)(l.Phone,{});default:return null}},en=function(e){switch(e){case"email":return"mailto:";case"phone":return"tel:";default:return"https://"}},er=function(e){var t,n;return(0,i.default)("no-wrap","".concat(f,"__").concat(e?Z:ee),(t={},n="".concat(f,"__").concat(e?Z:ee,"_icon-mode"),n in t?Object.defineProperty(t,n,{value:H,enumerable:!0,configurable:!0,writable:!0}):t[n]=H,t))};return(0,u.useLayoutEffect)(function(){if(B.current&&F.current&&G.current&&J.current){var e=S||B.current.clientWidth;F.current.clientWidth+G.current.clientWidth+J.current.clientWidth>e?K(!0):K(!1)}},[V]),(0,u.useEffect)(function(){return X({}),function(){return K(!1)}},[y,v,JSON.stringify(q),Number(S)]),(0,c.jsxs)("div",{"data-testid":m,ref:B,className:(0,i.default)("j4",f,h),children:[!!e[Z]&&(0,c.jsx)("a",{ref:F,href:"".concat(en(Z)).concat(null==(o=e[Z])?void 0:o.trim()),target:"_blank",rel:"noreferrer",className:er(!0),children:H?et(Z):"".concat(e[Z]).concat(e[ee]||U?Y():"")}),!!e[ee]&&(0,c.jsx)("a",{ref:G,href:"".concat(en(ee)).concat(null==(a=e[ee])?void 0:a.trim()),target:"_blank",rel:"noreferrer",className:er(!1),children:H?et(ee):"".concat(e[ee]).concat(U?Y():"")}),U&&(0,c.jsxs)("span",{ref:J,className:(0,i.default)("no-wrap","".concat(f,"__contacts")),children:[L?q.map(function(e){return"".concat(e).concat(Y("main"))}):null,L&&P&&!(void 0!==C&&C)?" ".concat(I(P)):"",L&&M&&(null==M?void 0:M.length)&&!E?Y():"",M&&(null==M?void 0:M.length)&&!E?null==M||null==(s=M.map)?void 0:s.call(M,function(e){return"".concat(e).concat(Y("other"))}):null]})]})};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@import "https://fonts.googleapis.com/css2?family=Sarabun&display=swap";
|
|
2
|
+
|
|
3
|
+
.any-outer-class__user-contacts {
|
|
4
|
+
.user-contacts__email,
|
|
5
|
+
.user-contacts__phone,
|
|
6
|
+
.user-contacts__contacts {
|
|
7
|
+
font-family: Sarabun, sans-serif;
|
|
8
|
+
font-size: 14px;
|
|
9
|
+
font-weight: 400;
|
|
10
|
+
font-style: normal;
|
|
11
|
+
line-height: 20px;
|
|
12
|
+
text-decoration: none;
|
|
13
|
+
letter-spacing: 0.2px;
|
|
14
|
+
|
|
15
|
+
color: #1f7499;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.user-contacts__contacts {
|
|
19
|
+
color: #3b414b;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function r(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function e(r,e){return function(t){if(Array.isArray(t))return t}(r)||function(t,r){var e,n,i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(t);!(a=(e=i.next()).done)&&(o.push(e.value),!r||o.length!==r);a=!0);}catch(t){s=!0,n=t}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(r,e)||function(r,e){if(r){if("string"==typeof r)return t(r,e);var n=Object.prototype.toString.call(r).slice(8,-1);if("Object"===n&&r.constructor&&(n=r.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(r,e)}}(r,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}import{jsx as n}from"react/jsx-runtime";import{useEffect as i,useState as o}from"react";import a from"classnames";import{compare as s}from"../../../Functions/utils";import c from"./partials/VariantsListRadioItem";import"./VariantsListRadio.scss";var l="variants-list-radio";export default function(t){var u,f=t.items,d=t.value,p=t.onChange,b=void 0===p?function(){}:p,m=t.isWithBorders,y=t.itemsContentRenderMode,v=t.isRadioPositionReverse,O=t.isUseAsOptionsList,h=t.disabled,j=t.isDisabled,g=t.id,P=t.className,w=t.testId,A=t.attributesOfNativeInput,S=t.isMixWithPersonalAttributes,D=e(o(f),2),I=D[0],R=D[1],x=e(o(d),2),C=x[0],L=x[1],M=g||"variantsListRadio",N=h||j,E=function(t){L(t),b(t)};return i(function(){s(f,I)||R(f)},[f]),i(function(){C!==d&&L(d)},[d]),n("div",{id:M,"data-testid":void 0===w?"variants-list-radio":w,className:a(l,"".concat(l,"_items-content-").concat("col"===y?"col":"row"),P,(r(u={},"".concat(l,"_with-borders"),m&&!O),r(u,"".concat(l,"_radio-position-reverse"),v),u)),children:I.map(function(t){var e,i;return n(c,{RC:l,parentId:M,item:(e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){r(t,e,n[e])})}return t}({},t),i=i={isDisabled:t.disabled||t.isDisabled||N||!1},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):(function(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e.push.apply(e,n)}return e})(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}),e),value:C,onChange:E,attributesOfNativeInput:A,isMixWithPersonalAttributes:S,parentDisabled:h,isUseAsOptionsList:O},"variants-list-radio-id-".concat(M,"-item-id-").concat(t.value))})})}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function e(e){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),a.forEach(function(i){t(e,i,n[i])})}return e}import{jsx as i,jsxs as n}from"react/jsx-runtime";import"react";import a from"classnames";import{getIsOnlyAnObject as c}from"../../../../Functions/utils";export default function(r){var o,s=r.RC,l=r.parentId,d=r.item,m=r.value,u=r.onChange,_=void 0===u?function(){}:u,p=r.attributesOfNativeInput,v=void 0===p?{}:p,f=r.isMixWithPersonalAttributes,b=r.isUseAsOptionsList,h=r.testId,N=void 0===h?"variants-list-radio-item":h;if(!l||!c(d))return null;var O=d.value,g=d.label,y=d.description,j=d.isDisabled,w=d.attributesOfNativeInput,x="".concat(l.toString(),"--item-").concat(O),P=l.toString(),I=m===O,S=f?e({},v,w):w||v||{};return n("label",{"data-testid":N,className:a("".concat(s,"__item"),(t(o={},"".concat(s,"__item_disabled"),j),t(o,"".concat(s,"__item_active"),I),t(o,"".concat(s,"__item_as-option"),b),o)),htmlFor:x,children:[i("div",{className:a("".concat(s,"__item-radio-container")),children:n("div",{className:a("".concat(s,"__item-radio")),children:[i("input",e({id:x,"data-testid":"".concat(N,"-input"),type:"radio",checked:I,className:"".concat(s,"__item-radio-input"),onChange:function(){return _(O)},name:P,disabled:j},S)),i("div",{className:"".concat(s,"__item-radio-mark")})]})}),n("div",{className:a("".concat(s,"__item-content")),children:[g&&i("div",{className:a("".concat(s,"__item-content-wrapper")),children:i("div",{className:a("".concat(s,"__item-content-label")),children:g})}),y&&!b&&i("div",{className:a("".concat(s,"__item-content-wrapper")),children:i("div",{className:a("".concat(s,"__item-content-description")),children:y})})]})]})}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(t){for(var n=1;n<arguments.length;n++){var c=null!=arguments[n]?arguments[n]:{},a=Object.keys(c);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(c).filter(function(e){return Object.getOwnPropertyDescriptor(c,e).enumerable}))),a.forEach(function(n){e(t,n,c[n])})}return t}function n(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);n.push.apply(n,c)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}import{jsx as c,jsxs as a}from"react/jsx-runtime";import"react";import r from"classnames";import"./WidgetPseudoTable.scss";var o="widget-pseudo-table";export default function(l){var i=l||{},s=i.className,d=i.title,u=i.rightHeaderContent,m=i.nullContentData,p=i.isNotRenderThead,h=i.isNoHeader,b=i.columns,_=void 0===b?[]:b,f=i.rows,y=i.CellComponent,v=i.CellComponentProps,O=i.onChange;return a("div",{className:r(o,s),children:[!(void 0!==h&&h)&&a("div",{className:r("".concat(o,"__header")),children:[c("div",{className:r("".concat(o,"__title-block")),children:d}),c("div",{className:r("".concat(o,"__right-header-content-block")),children:u})]}),a("div",{className:r("".concat(o,"__body"),e({},"".concat(o,"__body_no-content"),!(null==f?void 0:f.length))),children:[!!(null==f?void 0:f.length)&&!(void 0!==p&&p)&&c("div",{className:r("".concat(o,"__thead")),children:_.map(function(t){return c("div",{className:r("".concat(o,"__thead-cell"),t.theadCellClassName,t.columnClassName,e({},"".concat(o,"__thead-cell_reqiured"),t.isRequired)),"data-key":t.key,children:t.label},"thead-".concat(t.key))})}),c("div",{className:r("".concat(o,"__table")),children:(null==f?void 0:f.length)?f.map(function(e){return c("div",{className:r("".concat(o,"__row")),"data-id":e.id,children:_.map(function(a){return c("div",{className:r("".concat(o,"__cell"),a.cellClassName,a.columnClassName),children:c(y,n(t({},v),{field:n(t({},a),{value:e[a.key],rowData:e}),onChange:function(t,n){return O(n,a.key,e.id)}}))},"row-".concat(e.id,"-cell-").concat(a.key))})},"row-".concat(e.id))}):c("div",{className:r("".concat(o,"__row")),"data-id":"empty-row",children:c("span",{className:r("".concat(o,"__no-data-content")),children:null!=m?m:"No data"})})})]})]})}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
@import "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap";
|
|
2
|
+
|
|
3
|
+
.any-outer-class__widget-pseudo-table {
|
|
4
|
+
&.widget-pseudo-table {
|
|
5
|
+
--grid-template-columns: 40% repeat(2, 1fr);
|
|
6
|
+
width: 565px;
|
|
7
|
+
|
|
8
|
+
border: none;
|
|
9
|
+
border-radius: 6px;
|
|
10
|
+
box-shadow:
|
|
11
|
+
0 0.7px 2px rgb(60 77 106 / 10%),
|
|
12
|
+
0 1.9px 2px rgb(60 77 106 / 7%),
|
|
13
|
+
0 4.5px 6px rgb(60 77 106 / 5%);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.widget-pseudo-table__title-block {
|
|
17
|
+
font-family: Roboto, sans-serif;
|
|
18
|
+
font-size: 13px;
|
|
19
|
+
font-weight: 500;
|
|
20
|
+
font-style: normal;
|
|
21
|
+
line-height: 20px;
|
|
22
|
+
|
|
23
|
+
color: #1e1e2d;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.widget-pseudo-table__thead-cell {
|
|
27
|
+
font-family: Roboto, sans-serif;
|
|
28
|
+
font-size: 10px;
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
font-style: normal;
|
|
31
|
+
line-height: 20px;
|
|
32
|
+
|
|
33
|
+
color: #9aa0b9;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.widget-pseudo-table__cell {
|
|
37
|
+
.input__wrap {
|
|
38
|
+
width: 60px;
|
|
39
|
+
|
|
40
|
+
border: 1px solid #e2e5ec;
|
|
41
|
+
border-radius: 0;
|
|
42
|
+
background: #f7fafc;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.input {
|
|
46
|
+
font-family: Roboto, sans-serif;
|
|
47
|
+
font-size: 13px;
|
|
48
|
+
font-weight: 300;
|
|
49
|
+
font-style: normal;
|
|
50
|
+
line-height: 20px;
|
|
51
|
+
|
|
52
|
+
color: #1e1e2d;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.switcher__button-content_active {
|
|
56
|
+
background-color: #2680c1;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.switcher__label {
|
|
60
|
+
font-family: Roboto, sans-serif;
|
|
61
|
+
font-size: 13px;
|
|
62
|
+
font-weight: 400;
|
|
63
|
+
font-style: normal;
|
|
64
|
+
line-height: 20px;
|
|
65
|
+
|
|
66
|
+
color: #1e1e2d;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.delete-icon {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-flow: row nowrap;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
align-items: center;
|
|
76
|
+
|
|
77
|
+
width: 16px;
|
|
78
|
+
height: 16px;
|
|
79
|
+
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
|
|
82
|
+
color: red;
|
|
83
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default[{key:"key1",type:"label",label:"lender",cellClassName:""},{key:"key2",type:"input",label:"Transaction Fee split, %",isRequired:!0,theadCellClassName:"",cellClassName:"",columnClassName:"",onlyNumbers:{type:"float",decimalPlaces:2}},{key:"key3",type:"input",label:"Revenue Share split, %",isRequired:!0,theadCellClassName:"",cellClassName:"",columnClassName:"",onlyNumbers:{type:"float",decimalPlaces:2}}];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(r){t(e,r,n[r])})}return e}function n(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}import{jsx as a,jsxs as c}from"react/jsx-runtime";import"react";import o from"classnames";import"./WidgetWithSwitchableRows.scss";var i="widget-with-switchable-rows";export default function(l){var s,d=l||{},u=d.className,m=d.title,b=d.rightHeaderContent,y=d.nullContentData,f=d.columns,p=void 0===f?[]:f,h=d.rows,v=d.CellComponent,_=d.CellComponentProps,w=d.onChange,g=d.isNoHeader,O=[n(r({},p[0]),{key:"isActive",type:"switcher"})].concat(function(t){if(Array.isArray(t))return e(t)}(s=p.slice(1))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(t,r){if(t){if("string"==typeof t)return e(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,r)}}(s)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());return c("div",{className:o(i,u),children:[!(void 0!==g&&g)&&c("div",{className:o("".concat(i,"__header")),children:[a("div",{className:o("".concat(i,"__title-block")),children:m}),a("div",{className:o("".concat(i,"__right-header-content-block")),children:b})]}),c("div",{className:o("".concat(i,"__body"),t({},"".concat(i,"__body_no-content"),!(null==h?void 0:h.length))),children:[!!(null==h?void 0:h.length)&&a("div",{className:o("".concat(i,"__thead")),children:O.map(function(e){return a("div",{className:o("".concat(i,"__thead-cell"),e.theadCellClassName,e.columnClassName,t({},"".concat(i,"__thead-cell_reqiured"),e.isRequired)),"data-key":e.key,children:e.label},"thead-".concat(e.key))})}),a("div",{className:o("".concat(i,"__table")),children:(null==h?void 0:h.length)?h.map(function(e){return a("div",{className:o("".concat(i,"__row")),"data-id":e.id,children:O.map(function(t){return a("div",{className:o("".concat(i,"__cell"),t.cellClassName,t.columnClassName),children:a(v,n(r({},_),{field:r(n(r({},t),{value:e[t.key],rowData:e}),"isActive"===t.key?{disabled:t.disabled,label:e.label,isActive:e.isActive}:{disabled:!e.isActive,label:t.label}),onChange:function(r,n,a,c,o){return w({value:n,additional:o,propName:a,innerFieldKey:c,key:t.key||r,rowId:e.id})}}))},"row-".concat(e.id,"-cell-").concat(t.key))})},"row-".concat(e.id))}):a("div",{className:o("".concat(i,"__row")),"data-id":"empty-row",children:a("span",{className:o("".concat(i,"__no-data-content")),children:null!=y?y:"No data"})})})]})]})}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
@import "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap";
|
|
2
|
+
|
|
3
|
+
.any-outer-class__widget-with-switchable-rows {
|
|
4
|
+
&.widget-with-switchable-rows {
|
|
5
|
+
--grid-template-columns: 40% repeat(2, 1fr);
|
|
6
|
+
width: 565px;
|
|
7
|
+
|
|
8
|
+
border: none;
|
|
9
|
+
border-radius: 6px;
|
|
10
|
+
box-shadow:
|
|
11
|
+
0 0.7px 2px rgb(60 77 106 / 10%),
|
|
12
|
+
0 1.9px 2px rgb(60 77 106 / 7%),
|
|
13
|
+
0 4.5px 6px rgb(60 77 106 / 5%);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.widget-with-switchable-rows__title-block {
|
|
17
|
+
font-family: Roboto, sans-serif;
|
|
18
|
+
font-size: 13px;
|
|
19
|
+
font-weight: 500;
|
|
20
|
+
font-style: normal;
|
|
21
|
+
line-height: 20px;
|
|
22
|
+
|
|
23
|
+
color: #1e1e2d;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.widget-with-switchable-rows__thead-cell {
|
|
27
|
+
font-family: Roboto, sans-serif;
|
|
28
|
+
font-size: 10px;
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
font-style: normal;
|
|
31
|
+
line-height: 20px;
|
|
32
|
+
|
|
33
|
+
color: #9aa0b9;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.widget-with-switchable-rows__cell {
|
|
37
|
+
.input__wrap {
|
|
38
|
+
width: 60px;
|
|
39
|
+
|
|
40
|
+
border: 1px solid #e2e5ec;
|
|
41
|
+
border-radius: 0;
|
|
42
|
+
background: #f7fafc;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.input {
|
|
46
|
+
font-family: Roboto, sans-serif;
|
|
47
|
+
font-size: 13px;
|
|
48
|
+
font-weight: 300;
|
|
49
|
+
font-style: normal;
|
|
50
|
+
line-height: 20px;
|
|
51
|
+
|
|
52
|
+
color: #1e1e2d;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.switcher__button-content_active {
|
|
56
|
+
background-color: #2680c1;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.switcher__label {
|
|
60
|
+
font-family: Roboto, sans-serif;
|
|
61
|
+
font-size: 13px;
|
|
62
|
+
font-weight: 400;
|
|
63
|
+
font-style: normal;
|
|
64
|
+
line-height: 20px;
|
|
65
|
+
|
|
66
|
+
color: #1e1e2d;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.delete-icon {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-flow: row nowrap;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
align-items: center;
|
|
76
|
+
|
|
77
|
+
width: 16px;
|
|
78
|
+
height: 16px;
|
|
79
|
+
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
|
|
82
|
+
color: red;
|
|
83
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default[{label:"lender",cellClassName:""},{key:"key1",label:"Transaction Fee split, %",isRequired:!0,theadCellClassName:"",cellClassName:"",columnClassName:"",onlyNumbers:{type:"float",decimalPlaces:2}},{key:"key2",label:"Revenue Share split, %",isRequired:!0,theadCellClassName:"",cellClassName:"",columnClassName:"",onlyNumbers:{type:"float",decimalPlaces:2},min:0,max:50}];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}import{jsx as r,jsxs as t}from"react/jsx-runtime";import{useRef as n,useState as a}from"react";import i from"classnames";import{Bell as o,ChevronRight as l,Power as s}from"react-feather";import c from"../../UI/Hint/Hint";import"./Header.scss";export default function(u){var m,d=u.className,f=u.name,h=u.surname,v=u.status,p=u.img,g=u.hintLabel,y=u.hintText,N=(m=a(!1),function(e){if(Array.isArray(e))return e}(m)||function(e,r){var t,n,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var i=[],o=!0,l=!1;try{for(a=a.call(e);!(o=(t=a.next()).done)&&(i.push(t.value),i.length!==r);o=!0);}catch(e){l=!0,n=e}finally{try{o||null==a.return||a.return()}finally{if(l)throw n}}return i}}(m,2)||function(r,t){if(r){if("string"==typeof r)return e(r,2);var n=Object.prototype.toString.call(r).slice(8,-1);if("Object"===n&&r.constructor&&(n=r.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(r,t)}}(m,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),b=N[0],j=N[1],x=n(null),A={toggleMenu:function(){b||j(!b)},closeMenu:function(){setTimeout(function(){return j(!1)},50)},logout:function(){A.toggleMenu()}};return t("header",{className:i("header",d),children:[r("div",{className:"df",children:r(c,{side:"bottom",hint:void 0===y?"Hint text":y,className:"header__hint",label:void 0===g?"Help":g,iconOutline:!0})}),t("div",{className:"j6 user-menu",children:[t("div",{onClick:function(){},className:"header--bell",children:[r(o,{className:"header--bell-icon"}),r("div",{className:"header--bell-notification-icon"})]}),r("div",{className:"header--user-ava",children:r("img",{src:void 0===p?"":p,alt:""})}),t("div",{className:"dfc mr10",children:[t("span",{className:"header--user-name",children:[void 0===f?"John":f," ",void 0===h?"Silver":h]}),r("span",{className:"header--user-status",children:void 0===v?"admin":v})]}),r(l,{onClick:A.toggleMenu,className:i("accordion--title-chevron",{"accordion--title-chevron-open":b})}),b&&r("div",{className:"user-menu__dropdown",ref:x,children:t("div",{className:"user-menu__item",onClick:A.logout,children:[r(s,{className:"mr10"})," Logout"]})})]})]})}
|
|
Binary file
|