intelicoreact 1.8.9 → 1.8.11
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/Dropdown/components/DropdownLoader.js +1 -0
- package/dist/Atomic/FormElements/FormattedRawSSN/{FormattedRawSSN_old.jsx → FormattedRawSSN_old.js} +1 -1
- package/dist/Atomic/FormElements/MobileCalendar/{MobileCalendar.jsx → MobileCalendar.js} +1 -1
- package/dist/Atomic/FormElements/NumericInput/NumericInput.js +1 -0
- package/dist/Atomic/FormElements/RadioGroup/{RadioGroup.jsx → RadioGroup.js} +1 -1
- package/dist/Atomic/FormElements/RadioGroupWithInput/RadioGroupWithInput.js +1 -0
- package/dist/Atomic/FormElements/RangeCalendar/{RangeCalendar.jsx → RangeCalendar.js} +1 -1
- package/dist/Atomic/FormElements/RangeInputs/RangeInputs.js +1 -1
- package/dist/Atomic/FormElements/RangeList/{RangeList.jsx → RangeList.js} +1 -1
- 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/SwitcherCheckbox/SwitcherCheckbox.js +1 -0
- package/dist/Atomic/FormElements/SwitcherRangeList/SwitcherRangeList.js +1 -0
- package/dist/Atomic/FormElements/SwitcherTagsDropdown/{SwitcherTagsDropdown.jsx → SwitcherTagsDropdown.js} +1 -1
- package/dist/Atomic/FormElements/SwitcherTextarea/SwitcherTextarea.js +1 -0
- package/dist/Atomic/FormElements/TagsDropdown/TagsDropdown.interface.ts +3 -3
- package/dist/Atomic/FormElements/TagsDropdown/TagsDropdown.js +1 -1
- package/dist/Atomic/FormElements/Text/Text.js +1 -0
- package/dist/Atomic/FormElements/Textarea/Textarea.js +1 -0
- package/dist/Atomic/FormElements/TieredCheckboxes/{TieredCheckboxes.jsx → TieredCheckboxes.js} +1 -1
- package/dist/Atomic/FormElements/TieredCheckboxes/partial/AccordionWithCheckbox.js +1 -0
- package/dist/Atomic/FormElements/VariantsListRadio/{VariantsListRadio.jsx → VariantsListRadio.js} +1 -1
- package/dist/Atomic/FormElements/VariantsListRadio/partials/VariantsListRadioItem.js +1 -0
- package/dist/Atomic/FormElements/WidgetPseudoTable/WidgetPseudoTable.js +1 -0
- package/dist/Atomic/FormElements/WidgetWithSwitchableRows/WidgetWithSwitchableRows.js +1 -0
- package/dist/Atomic/Layout/Header/{Header.jsx → Header.js} +1 -1
- package/dist/Atomic/Layout/MainMenu/MainMenu.js +1 -0
- package/dist/Atomic/Layout/MainMenu/MainMenu.jsx +164 -1
- package/dist/Atomic/UI/AccordionTable/{AccordionTable.jsx → AccordionTable.js} +1 -1
- package/dist/Atomic/UI/AccordionText/AccordionText.js +1 -0
- package/dist/Atomic/UI/Arrow/{Arrow.jsx → Arrow.js} +1 -1
- package/dist/Atomic/UI/Box/Box.js +1 -0
- package/dist/Atomic/UI/Chart/Chart.js +1 -0
- package/dist/Atomic/UI/Chart/partial/ChartTypeSwitcherIcon/ChartTypeSwitcherIcon.js +1 -0
- package/dist/Atomic/UI/CircleProgressBar/{CircleProgressBar.jsx → CircleProgressBar.js} +1 -1
- package/dist/Atomic/UI/DateTime/DateTime.js +1 -0
- package/dist/Atomic/UI/ExampleChartIntegration/ExampleChartIntegration.js +1 -0
- package/dist/Atomic/UI/MonoAccordion/{MonoAccordion.jsx → MonoAccordion.js} +1 -1
- package/dist/Atomic/UI/PieChart/PieChart.js +1 -0
- package/dist/Atomic/UI/Table/Partials/TdHeader.js +1 -0
- package/dist/Atomic/UI/Table/Partials/{TdRow.jsx → TdRow.js} +1 -1
- 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/{TdWeight.jsx → TdWeight.js} +1 -1
- package/dist/Atomic/UI/Tag/Tag.interface.ts +1 -1
- package/dist/Atomic/UI/Tag/Tag.js +1 -1
- package/dist/Atomic/UI/WizardStepper/constructor.js +1 -0
- package/dist/Classes/RESTAPI/partials/CredentialsProcessing.js +1 -0
- package/dist/Functions/operations.js +1 -0
- package/dist/Functions/useFormTools/functions/RenderFields.js +1 -0
- package/dist/Functions/usePasswordChecker.js +1 -0
- package/dist/Functions/utils.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/FormElement/FormElement.js +1 -0
- package/dist/Molecular/FormWithDependOn/FormWithDependOn.js +1 -0
- package/dist/Molecular/InputAddress/InputAddress.js +1 -0
- package/dist/Molecular/InputPassword/{InputPassword.jsx → InputPassword.js} +1 -1
- package/package.json +8 -15
- package/dist/Atomic/FormElements/Dropdown/components/DropdownLoader.jsx +0 -1
- package/dist/Atomic/FormElements/NumericInput/NumericInput.jsx +0 -1
- package/dist/Atomic/FormElements/RadioGroupWithInput/RadioGroupWithInput.jsx +0 -1
- package/dist/Atomic/FormElements/RangeList/partial/RangeListRow.jsx +0 -1
- package/dist/Atomic/FormElements/RangeSlider/RangeSlider.jsx +0 -1
- package/dist/Atomic/FormElements/RangeSlider2/RangeSlider2.jsx +0 -1
- package/dist/Atomic/FormElements/SwitchableRow/SwitchableRow.jsx +0 -1
- package/dist/Atomic/FormElements/SwitcherCheckbox/SwitcherCheckbox.jsx +0 -1
- package/dist/Atomic/FormElements/SwitcherRangeList/SwitcherRangeList.jsx +0 -1
- package/dist/Atomic/FormElements/SwitcherTextarea/SwitcherTextarea.jsx +0 -1
- package/dist/Atomic/FormElements/Text/Text.jsx +0 -1
- package/dist/Atomic/FormElements/Textarea/Textarea.jsx +0 -1
- package/dist/Atomic/FormElements/TieredCheckboxes/partial/AccordionWithCheckbox.jsx +0 -1
- package/dist/Atomic/FormElements/VariantsListRadio/partials/VariantsListRadioItem.jsx +0 -1
- package/dist/Atomic/FormElements/WidgetPseudoTable/WidgetPseudoTable.jsx +0 -1
- package/dist/Atomic/FormElements/WidgetWithSwitchableRows/WidgetWithSwitchableRows.jsx +0 -1
- package/dist/Atomic/UI/AccordionText/AccordionText.jsx +0 -1
- package/dist/Atomic/UI/Box/Box.jsx +0 -1
- package/dist/Atomic/UI/Chart/Chart.jsx +0 -1
- package/dist/Atomic/UI/Chart/partial/ChartTypeSwitcherIcon/ChartTypeSwitcherIcon.jsx +0 -1
- package/dist/Atomic/UI/DateTime/DateTime.jsx +0 -1
- package/dist/Atomic/UI/ExampleChartIntegration/ExampleChartIntegration.jsx +0 -1
- package/dist/Atomic/UI/PieChart/PieChart.jsx +0 -1
- package/dist/Atomic/UI/Table/Partials/TdHeader.jsx +0 -1
- package/dist/Atomic/UI/Table/Partials/TdTitle.jsx +0 -1
- package/dist/Atomic/UI/Table/Table.jsx +0 -1
- package/dist/Atomic/UI/Table/TdTypes/TdActions.jsx +0 -1
- package/dist/Atomic/UI/Table/TdTypes/TdPriority.jsx +0 -1
- package/dist/Atomic/UI/WizardStepper/constructor.jsx +0 -1
- package/dist/Classes/RESTAPI/partials/CredentialsProcessing.jsx +0 -1
- package/dist/Functions/operations.jsx +0 -1
- package/dist/Functions/useFormTools/functions/RenderFields.jsx +0 -1
- package/dist/Functions/usePasswordChecker.jsx +0 -1
- package/dist/Functions/utils.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/AffiliateNetworks.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/AlertCircle.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/AppStore.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Arrow.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/ArrowDown.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/ArrowLeft.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/ArrowRight.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/ArrowUp.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Bell.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Button.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Campaigns.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Check.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Check2.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/ChevronDown.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/ChevronDownDisabled.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/ChevronLeft.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/ChevronRight.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/ChevronUp.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/ChevronUpDown.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Close.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/ColumnsOrder.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Delete.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Edit.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Email.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/FinturfLogo.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/FinturfLogo2.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Flows.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Gift.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/GoogleAuth.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/GooglePlay.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/HelpCircle.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/HelpCircle2.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/HelpCircleFilled.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Home.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Home2.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Key.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Landers.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Lock.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Mail.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Mastercard.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Minus.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Offers.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Pause.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/PayPal.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/PayPalLightLarge.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Phone.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Play.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Plus.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Profile.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/QRCode.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Rectangle.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Revert.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Star.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Star2.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/TrafficSources.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Trash.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/TrashRed.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Triggers.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/User.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/Visa.jsx +0 -1
- package/dist/Molecular/CustomIcons/components/X.jsx +0 -1
- package/dist/Molecular/FormElement/FormElement.jsx +0 -1
- package/dist/Molecular/FormWithDependOn/FormWithDependOn.jsx +0 -1
- package/dist/Molecular/InputAddress/InputAddress.jsx +0 -1
- /package/dist/Atomic/FormElements/MultiSelect/{MultiSelect.jsx → MultiSelect.js} +0 -0
- /package/dist/Atomic/FormElements/RadioRowSwitcher/{RadioRowSwitcher.jsx → RadioRowSwitcher.js} +0 -0
- /package/dist/Atomic/FormElements/TagListToDropdown/{TagListToDropdown.jsx → TagListToDropdown.js} +0 -0
- /package/dist/Atomic/UI/Chart/partial/{optionsConstructor.jsx → optionsConstructor.js} +0 -0
- /package/dist/Atomic/UI/DebugContainer/{DebugContainer.jsx → DebugContainer.js} +0 -0
- /package/dist/Atomic/UI/DebugContainer/{useDebugContainer.jsx → useDebugContainer.js} +0 -0
- /package/dist/Atomic/UI/MonoAccordion/{MonoAccordion._test.jsx → MonoAccordion._test.js} +0 -0
- /package/dist/Atomic/UI/Table/Partials/{TdCell.jsx → TdCell.js} +0 -0
- /package/dist/Atomic/UI/Table/TdTypes/{TdRange.jsx → TdRange.js} +0 -0
- /package/dist/Atomic/UI/TagList/{TagList.jsx → TagList.js} +0 -0
- /package/dist/Functions/{customEventListener.jsx → customEventListener.js} +0 -0
- /package/dist/Functions/useFormTools/{index.jsx → index.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as l}from"react/jsx-runtime";import"react";export var Mastercard=function(t){var r,i;return l("svg",(r=function(e){for(var l=1;l<arguments.length;l++){var t=null!=arguments[l]?arguments[l]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(l){var r;r=t[l],l in e?Object.defineProperty(e,l,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[l]=r})}return e}({xmlns:"http://www.w3.org/2000/svg",width:38,height:24,fill:"none"},t),i=i={children:[l("g",{clipPath:"url(#a)",children:[e("path",{fill:"#fff",fillRule:"evenodd",d:"M0 1.784C0 .799.799 0 1.784 0H36.27c.985 0 1.784.799 1.784 1.784v21.405c0 .985-.799 1.784-1.784 1.784H1.784A1.784 1.784 0 0 1 0 23.189V1.784Z",clipRule:"evenodd"}),e("path",{fill:"#D8232A",fillRule:"evenodd",d:"M14.865 19.027a6.54 6.54 0 1 0 0-13.081 6.54 6.54 0 0 0 0 13.081Z",clipRule:"evenodd"}),e("path",{fill:"#ED9F2D",fillRule:"evenodd",d:"M19.026 17.532a6.54 6.54 0 1 0 0-10.091 6.527 6.527 0 0 1 2.379 5.045 6.527 6.527 0 0 1-2.379 5.046Z",clipRule:"evenodd"}),e("path",{fill:"#D8232A",fillRule:"evenodd",d:"M19.027 7.44a6.527 6.527 0 0 0-2.379 5.046c0 2.031.926 3.846 2.379 5.046a6.527 6.527 0 0 0 2.378-5.046 6.527 6.527 0 0 0-2.378-5.045Z",clipRule:"evenodd"}),e("mask",{id:"b",width:6,height:11,x:16,y:7,"mask-type":"alpha",maskUnits:"userSpaceOnUse",children:e("path",{fill:"#fff",fillRule:"evenodd",d:"M19.027 7.44a6.527 6.527 0 0 0-2.379 5.046c0 2.031.926 3.846 2.379 5.046a6.527 6.527 0 0 0 2.378-5.046 6.527 6.527 0 0 0-2.378-5.045Z",clipRule:"evenodd"})}),e("g",{mask:"url(#b)",children:e("path",{fill:"#ED9F2D",fillRule:"evenodd",d:"M16.054 7.73H22v.594h-5.946V7.73Zm0 1.189H22v.595h-5.946v-.595ZM22 10.109h-5.946v.594H22v-.595Zm-5.946 1.188H22v.595h-5.946v-.595ZM22 12.487h-5.946v.594H22v-.595Zm-5.946 1.189H22v.594h-5.946v-.594ZM22 14.865h-5.946v.594H22v-.594Zm-5.946 1.189H22v.595h-5.946v-.595ZM22 17.244h-5.946v.594H22v-.595Z",clipRule:"evenodd"})}),e("path",{fill:"#E5E5E5",fillOpacity:.01,fillRule:"evenodd",d:"M0 1.784C0 .799.799 0 1.784 0H36.27c.985 0 1.784.799 1.784 1.784v21.405c0 .985-.799 1.784-1.784 1.784H1.784A1.784 1.784 0 0 1 0 23.189V1.784Z",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"a",children:e("path",{fill:"#fff",d:"M0 0h38v24H0z"})})})]},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):(function(e,l){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))}),r))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import"react";export var Minus=function(r){var n,o;return t("svg",(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},r),o=o={children:[e("mask",{id:"a",width:16,height:16,x:0,y:0,"mask-type":"alpha",maskUnits:"userSpaceOnUse",children:e("path",{stroke:"#000",d:"M3.333 8h9.334"})}),e("g",{mask:"url(#a)",children:e("path",{fill:"#1E1E2D",d:"M0 0h16v16H0z"})})]},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"react";export var Offers=function(r){var t,n;return e("svg",(t=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 16 16"},r),n=n={children:e("path",{fill:"none",stroke:"#9AA0B9",strokeMiterlimit:10,d:"M2.7 10s.7-.7 2.7-.7 3.3 1.3 5.3 1.3 2.7-.7 2.7-.7V2s-.7.7-2.7.7-3.3-1.3-5.3-1.3-2.7.6-2.7.6v8zM2.7 14.7V10"})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import"react";export var Pause=function(r){var n,o;return t("svg",(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},r),o=o={children:[e("mask",{id:"a",width:16,height:16,x:0,y:0,"mask-type":"alpha",maskUnits:"userSpaceOnUse",children:e("path",{stroke:"#000",d:"M6.667 2.667H4v10.666h2.667V2.667ZM12 2.667H9.333v10.666H12V2.667Z"})}),e("g",{mask:"url(#a)",children:e("path",{fill:"#F06D8D",d:"M0 0h16v16H0z"})})]},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as c,jsxs as h}from"react/jsx-runtime";import"react";export var PayPal=function(t){var e,r;return h("svg",(e=function(c){for(var h=1;h<arguments.length;h++){var t=null!=arguments[h]?arguments[h]:{},e=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(t).filter(function(c){return Object.getOwnPropertyDescriptor(t,c).enumerable}))),e.forEach(function(h){var e;e=t[h],h in c?Object.defineProperty(c,h,{value:e,enumerable:!0,configurable:!0,writable:!0}):c[h]=e})}return c}({xmlns:"http://www.w3.org/2000/svg",width:201,height:42,fill:"none"},t),r=r={children:[c("rect",{width:200,height:41,x:.5,y:.5,fill:"#fff",stroke:"#6B81DD",rx:3.5}),c("rect",{width:61,height:40,x:1,y:1,fill:"#fff",rx:4}),c("path",{fill:"#253D80",d:"m26.85 32.65.444-2.75H21.626l3.253-20.325a.261.261 0 0 1 .09-.163.308.308 0 0 1 .177-.062h7.892c2.63 0 4.435.537 5.388 1.6.422.446.716.994.852 1.588a5.437 5.437 0 0 1 0 2.187v.625l.445.25c.338.166.644.39.902.662.388.462.64 1.02.724 1.613.096.775.061 1.56-.101 2.325a8.016 8.016 0 0 1-.979 2.637 5.41 5.41 0 0 1-1.538 1.663 6.485 6.485 0 0 1-2.071.913c-.83.206-1.685.306-2.542.3h-.622c-.437 0-.86.15-1.195.424-.337.28-.559.671-.623 1.1v.25l-.775 4.85v.188c.01.033.01.067 0 .1h-.076l-3.978.025Z"}),c("path",{fill:"#189BD7",d:"m40.141 14.85-.076.463c-1.042 5.25-4.613 7.074-9.163 7.074H28.59c-.556 0-1.03.397-1.118.938l-1.182 7.4-.343 2.1a.58.58 0 0 0 .136.468c.112.13.276.205.449.207h4.117c.488 0 .904-.35.979-.825v-.2l.775-4.838v-.262a.973.973 0 0 1 .966-.825h.673c3.978 0 7.104-1.588 8.007-6.25a5.23 5.23 0 0 0-.814-4.663 4.098 4.098 0 0 0-1.093-.787Z"}),c("path",{fill:"#242E65",d:"m39.049 14.425-.483-.125-.534-.1A13.012 13.012 0 0 0 36 14.063h-6.202a.952.952 0 0 0-.966.813l-1.27 8.211v.238c.087-.54.561-.938 1.118-.938h2.313c4.55 0 8.12-1.825 9.162-7.075l.077-.462a5.762 5.762 0 0 0-.852-.35l-.33-.075Z"}),c("path",{fill:"#253D80",d:"M28.831 14.875a.952.952 0 0 1 .966-.813H36c.68-.007 1.36.039 2.033.138l.534.1.483.125.241.075c.293.094.578.21.852.35a4.938 4.938 0 0 0-1.017-4.463C37.855 9.063 35.77 8.5 33.05 8.5h-7.904c-.557 0-1.03.397-1.118.938L20.736 29.95c-.03.193.028.39.157.539.13.148.318.235.517.236h4.88l1.27-7.638 1.271-8.212Z"}),c("path",{fill:"#6B81DD",d:"M66.871 22.067c-.114.978-.476 1.733-1.085 2.267-.606.529-1.412.793-2.419.793-1.092 0-1.968-.392-2.628-1.174-.656-.783-.984-1.83-.984-3.142v-.89c0-.858.153-1.613.457-2.265.31-.652.745-1.151 1.308-1.498.563-.352 1.214-.527 1.955-.527.982 0 1.769.275 2.361.825.593.546.938 1.303 1.035 2.273h-1.225c-.106-.737-.336-1.27-.692-1.6-.351-.33-.844-.495-1.479-.495-.779 0-1.39.288-1.834.863-.44.576-.66 1.394-.66 2.457v.895c0 1.003.209 1.8.628 2.393.419.592 1.005.888 1.758.888.677 0 1.196-.152 1.555-.457.364-.309.606-.844.724-1.606h1.225Zm2.66-3.104c.52-.639 1.197-.958 2.031-.958 1.451 0 2.184.819 2.196 2.456V25h-1.174v-4.545c-.004-.495-.118-.861-.343-1.098-.22-.237-.565-.355-1.034-.355-.381 0-.716.101-1.003.304-.288.203-.512.47-.673.8V25h-1.175v-9.75h1.175v3.713Zm8.836 6.164c-.931 0-1.689-.305-2.273-.914-.584-.614-.876-1.433-.876-2.457v-.215c0-.682.13-1.289.388-1.822a3.048 3.048 0 0 1 1.091-1.257c.47-.305.978-.457 1.524-.457.893 0 1.587.294 2.082.882.495.588.742 1.43.742 2.527v.488h-4.652c.016.677.213 1.225.59 1.644.38.415.863.623 1.447.623.415 0 .766-.085 1.054-.254.288-.17.54-.394.755-.673l.718.558c-.576.885-1.44 1.327-2.59 1.327Zm-.146-6.157c-.474 0-.872.173-1.194.52-.321.343-.52.825-.596 1.448h3.44v-.09c-.034-.596-.195-1.057-.482-1.383-.288-.33-.677-.495-1.168-.495Zm6.944 5.199c.419 0 .785-.128 1.098-.381a1.34 1.34 0 0 0 .52-.953h1.111a2.129 2.129 0 0 1-.406 1.124 2.67 2.67 0 0 1-1.003.85 2.866 2.866 0 0 1-1.32.318c-.935 0-1.68-.311-2.234-.933-.55-.627-.825-1.481-.825-2.565v-.196c0-.669.122-1.264.368-1.784.245-.52.596-.925 1.053-1.213.462-.287 1.005-.431 1.632-.431.77 0 1.409.23 1.917.692.512.461.785 1.06.819 1.796h-1.111c-.034-.444-.203-.808-.508-1.092-.3-.287-.673-.431-1.117-.431-.597 0-1.06.216-1.39.647-.326.428-.49 1.048-.49 1.86v.222c0 .792.164 1.4.49 1.828.325.428.79.642 1.396.642Zm5.967-2.35-.737.769V25h-1.174v-9.75h1.174v5.897l.629-.755 2.14-2.26h1.427L91.92 21 94.902 25h-1.377l-2.393-3.18Zm4.36-.317c0-.672.132-1.278.394-1.815a2.988 2.988 0 0 1 1.105-1.244 3.023 3.023 0 0 1 1.618-.438c.936 0 1.691.324 2.266.971.58.648.87 1.509.87 2.584v.082c0 .669-.129 1.27-.387 1.803-.254.529-.62.941-1.098 1.238-.474.296-1.02.444-1.638.444-.93 0-1.686-.324-2.266-.971-.576-.648-.863-1.505-.863-2.571v-.083Zm1.181.14c0 .762.176 1.373.527 1.835.356.46.83.692 1.422.692.597 0 1.07-.233 1.422-.699.351-.47.527-1.125.527-1.968 0-.753-.18-1.362-.54-1.828a1.693 1.693 0 0 0-1.422-.704c-.58 0-1.047.23-1.402.692-.356.46-.534 1.121-.534 1.98Zm10.785 2.679c-.457.537-1.128.806-2.012.806-.732 0-1.291-.212-1.676-.635-.381-.427-.573-1.058-.578-1.891v-4.47h1.175v4.438c0 1.04.423 1.561 1.269 1.561.897 0 1.494-.334 1.79-1.003v-4.995h1.175V25h-1.118l-.025-.68Zm4.526-7.852v1.663h1.282v.908h-1.282v4.259c0 .275.057.482.171.622.115.135.309.203.584.203.136 0 .322-.025.559-.076V25c-.309.085-.61.127-.902.127-.524 0-.92-.159-1.187-.476-.266-.317-.399-.768-.399-1.352v-4.26h-1.251v-.907h1.251v-1.663h1.174Zm11.965 6.912 1.321-5.25h1.174l-2 6.869h-.952l-1.669-5.205L120.198 25h-.952l-1.994-6.868h1.168l1.352 5.141 1.6-5.141h.946l1.631 5.25Zm4.97 1.619h-1.174v-6.868h1.174V25Zm-1.269-8.69a.71.71 0 0 1 .171-.482c.119-.131.292-.197.521-.197.228 0 .402.066.52.197a.692.692 0 0 1 .178.482c0 .19-.059.35-.178.476-.118.127-.292.19-.52.19-.229 0-.402-.063-.521-.19a.686.686 0 0 1-.171-.476Zm4.748.159v1.663h1.282v.908h-1.282v4.259c0 .275.057.482.171.622.115.135.309.203.584.203.136 0 .322-.025.559-.076V25a3.404 3.404 0 0 1-.901.127c-.525 0-.921-.159-1.187-.476-.267-.317-.4-.768-.4-1.352v-4.26h-1.251v-.907h1.251v-1.663h1.174Zm3.834 2.494c.52-.639 1.198-.958 2.031-.958 1.452 0 2.184.819 2.196 2.456V25h-1.174v-4.545c-.004-.495-.118-.861-.343-1.098-.22-.237-.565-.355-1.034-.355-.381 0-.715.101-1.003.304-.288.203-.512.47-.673.8V25h-1.174v-9.75h1.174v3.713Zm10.613 2.419V25h-1.219v-9.242h3.409c1.012 0 1.803.258 2.374.774.576.517.863 1.2.863 2.05 0 .898-.281 1.59-.844 2.076-.558.483-1.36.724-2.406.724h-2.177Zm0-.997h2.19c.652 0 1.151-.152 1.498-.457.347-.309.521-.753.521-1.333 0-.55-.174-.99-.521-1.32-.347-.33-.823-.502-1.428-.514h-2.26v3.624ZM157.808 25c-.068-.135-.123-.377-.165-.724-.546.567-1.198.851-1.955.851-.678 0-1.234-.19-1.67-.571a1.87 1.87 0 0 1-.647-1.46c0-.715.27-1.27.812-1.663.546-.398 1.312-.597 2.298-.597h1.143v-.54c0-.41-.123-.736-.369-.977-.245-.246-.607-.368-1.085-.368-.419 0-.77.105-1.054.317-.283.212-.425.468-.425.768h-1.181c0-.343.121-.673.362-.99.246-.322.576-.576.99-.762.419-.186.878-.28 1.378-.28.791 0 1.411.2 1.86.598.448.393.681.937.698 1.63v3.162c0 .63.08 1.132.241 1.504V25h-1.231Zm-1.949-.895c.368 0 .717-.095 1.047-.286.33-.19.569-.438.718-.742v-1.41h-.921c-1.439 0-2.158.421-2.158 1.264 0 .368.123.656.368.863.246.207.561.311.946.311Zm6.925-.825 1.6-5.148h1.257l-2.762 7.928c-.427 1.143-1.106 1.714-2.037 1.714l-.222-.02-.438-.082v-.952l.317.026c.398 0 .707-.08.927-.242.224-.16.408-.455.552-.882l.26-.698-2.45-6.792h1.282l1.714 5.148Zm5.313-1.898V25h-1.219v-9.242h3.409c1.012 0 1.803.258 2.374.774.576.517.863 1.2.863 2.05 0 .898-.281 1.59-.844 2.076-.558.483-1.36.724-2.406.724h-2.177Zm0-.997h2.19c.652 0 1.151-.152 1.498-.457.347-.309.521-.753.521-1.333 0-.55-.174-.99-.521-1.32-.347-.33-.823-.502-1.428-.514h-2.26v3.624ZM179.06 25c-.068-.135-.123-.377-.165-.724-.546.567-1.198.851-1.956.851-.677 0-1.233-.19-1.669-.571a1.87 1.87 0 0 1-.647-1.46c0-.715.27-1.27.812-1.663.546-.398 1.312-.597 2.298-.597h1.142v-.54c0-.41-.122-.736-.368-.977-.245-.246-.607-.368-1.085-.368-.419 0-.77.105-1.054.317-.283.212-.425.468-.425.768h-1.181c0-.343.121-.673.362-.99a2.51 2.51 0 0 1 .99-.762c.419-.186.878-.28 1.378-.28.791 0 1.411.2 1.86.598.448.393.681.937.698 1.63v3.162c0 .63.08 1.132.241 1.504V25h-1.231Zm-1.949-.895c.368 0 .717-.095 1.047-.286.33-.19.569-.438.717-.742v-1.41h-.92c-1.439 0-2.158.421-2.158 1.264 0 .368.123.656.368.863.245.207.561.311.946.311Zm6.056.895h-1.175v-9.75h1.175V25Z"})]},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):(function(c,h){var t=Object.keys(c);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(c);t.push.apply(t,e)}return t})(Object(r)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(r,c))}),e))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import"react";export var PayPalLightLarge=function(r){var c,n;return t("svg",(c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},c=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(c=c.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),c.forEach(function(t){var c;c=r[t],t in e?Object.defineProperty(e,t,{value:c,enumerable:!0,configurable:!0,writable:!0}):e[t]=c})}return e}({xmlns:"http://www.w3.org/2000/svg",width:61,height:40,fill:"none"},r),n=n={children:[e("rect",{width:61,height:40,fill:"#fff",rx:4}),e("path",{fill:"#253D80",d:"m25.85 31.65.444-2.75H20.626l3.253-20.325a.261.261 0 0 1 .09-.163.308.308 0 0 1 .177-.062h7.892c2.63 0 4.435.537 5.388 1.6.422.446.716.994.852 1.588a5.437 5.437 0 0 1 0 2.187v.625l.445.25c.338.166.644.39.902.662.388.462.64 1.02.724 1.613.096.775.061 1.56-.101 2.325a8.016 8.016 0 0 1-.979 2.637 5.41 5.41 0 0 1-1.538 1.663 6.485 6.485 0 0 1-2.071.913c-.83.206-1.685.306-2.542.3h-.622c-.437 0-.86.15-1.195.424-.337.28-.559.671-.623 1.1v.25l-.775 4.85v.188c.01.033.01.067 0 .1h-.076l-3.978.025Z"}),e("path",{fill:"#189BD7",d:"m39.141 13.85-.076.463c-1.042 5.25-4.613 7.074-9.163 7.074H27.59c-.556 0-1.03.397-1.118.938l-1.182 7.4-.343 2.1a.58.58 0 0 0 .136.469c.112.129.276.204.449.206h4.117c.488 0 .904-.35.979-.825v-.2l.775-4.838v-.262a.973.973 0 0 1 .966-.825h.673c3.978 0 7.104-1.588 8.007-6.25a5.23 5.23 0 0 0-.814-4.663 4.098 4.098 0 0 0-1.093-.787Z"}),e("path",{fill:"#242E65",d:"m38.049 13.425-.483-.125-.534-.1A13.012 13.012 0 0 0 35 13.063h-6.202a.952.952 0 0 0-.966.813l-1.27 8.211v.238c.087-.54.561-.938 1.118-.938h2.313c4.55 0 8.12-1.825 9.162-7.075l.077-.462a5.762 5.762 0 0 0-.852-.35l-.33-.075Z"}),e("path",{fill:"#253D80",d:"M27.831 13.875a.952.952 0 0 1 .966-.813H35c.68-.007 1.36.039 2.033.138l.534.1.483.125.241.075c.293.094.578.21.852.35a4.938 4.938 0 0 0-1.017-4.463C36.855 8.063 34.77 7.5 32.05 7.5h-7.904c-.557 0-1.03.397-1.118.938L19.736 28.95c-.03.193.028.39.157.539.13.148.318.235.517.236h4.88l1.27-7.638 1.271-8.212Z"})]},Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(n)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);r.push.apply(r,c)}return r})(Object(n)).forEach(function(e){Object.defineProperty(c,e,Object.getOwnPropertyDescriptor(n,e))}),c))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import"react";export var Phone=function(r){var n,o;return t("svg",(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},r),o=o={children:[e("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{masktype:"""},children:e("path",{stroke:"#000",d:"M11.333 1.333H4.667c-.737 0-1.334.597-1.334 1.334v10.666c0 .737.597 1.334 1.334 1.334h6.666c.737 0 1.334-.597 1.334-1.334V2.667c0-.737-.597-1.334-1.334-1.334ZM8 12h.008"})}),e("g",{mask:"url(#a)",children:e("path",{fill:"#1F7499",d:"M0 0h16v16H0z"})})]},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import"react";export var Play=function(r){var n,o;return t("svg",(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},r),o=o={children:[e("mask",{id:"a",width:16,height:16,x:0,y:0,"mask-type":"alpha",maskUnits:"userSpaceOnUse",children:e("path",{stroke:"#000",d:"M3.444 1.857 13 8l-9.556 6.143V1.857Z"})}),e("g",{mask:"url(#a)",children:e("path",{fill:"#00B031",d:"M0 0h16v16H0z"})})]},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import"react";export var Plus=function(r){var n,o;return t("svg",(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},r),o=o={children:[e("mask",{id:"a",width:16,height:16,x:0,y:0,"mask-type":"alpha",maskUnits:"userSpaceOnUse",children:e("path",{stroke:"#1E1E2D",d:"M8 3.333v9.334M3.333 8h9.334"})}),e("g",{mask:"url(#a)",children:e("path",{fill:"#1E1E2D",d:"M0 0h16v16H0z"})})]},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import"react";export var Profile=function(t){var n,o;return r("svg",(n=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},t),o=o={children:[e("circle",{cx:12,cy:12,r:12,fill:"#F4F6FF"}),e("path",{stroke:"#9AA0B9",d:"M17.333 18v-1.333A2.667 2.667 0 0 0 14.667 14H9.333a2.667 2.667 0 0 0-2.666 2.667V18M12 11.333A2.667 2.667 0 1 0 12 6a2.667 2.667 0 0 0 0 5.333Z"})]},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as A,jsxs as e}from"react/jsx-runtime";import"react";export var QRCode=function(g){var Q,o;return e("svg",(Q=function(A){for(var e=1;e<arguments.length;e++){var g=null!=arguments[e]?arguments[e]:{},Q=Object.keys(g);"function"==typeof Object.getOwnPropertySymbols&&(Q=Q.concat(Object.getOwnPropertySymbols(g).filter(function(A){return Object.getOwnPropertyDescriptor(g,A).enumerable}))),Q.forEach(function(e){var Q;Q=g[e],e in A?Object.defineProperty(A,e,{value:Q,enumerable:!0,configurable:!0,writable:!0}):A[e]=Q})}return A}({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:168,height:168,fill:"none"},g),o=o={children:[A("path",{fill:"url(#a)",stroke:"#E2E5EC",d:"M.5.5h167v167H.5z"}),e("defs",{children:[A("pattern",{id:"a",width:1,height:1,patternContentUnits:"objectBoundingBox",children:A("use",{xlinkHref:"#b",transform:"scale(.0039)"})}),A("image",{xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAN8UlEQVR4Ae2d265cxw0FdYL8/y+fQHYehFFtYY36QvZ05cmi2VxkcbCwQdjx1/f39/cP/ycBCVxJ4D9XTu3QEpDAPwQ0AH8IEriYgAZw8fIdXQIagL8BCVxMQAO4ePmOLgENwN+ABC4moAFcvHxHl4AG4G9AAhcT0AAuXr6jS0AD8DcggYsJaAAXL9/RJaAB+BuQwMUENICLl+/oEtAA/A1I4GICGsDFy3d0CWgA/gYkcDEBDeDi5Tu6BDQAfwMSuJiABnDx8h1dAhqAvwEJXExAA7h4+Y4uAQ3A34AELiagAVy8fEeXgAbgb0ACFxPQAC5evqNLQAPwNyCBiwloABcv39EloAH4G5DAxQQ0gIuX7+gS0AD8DUjgYgIawMXLd3QJaAD+BiRwMQEN4OLlO7oENAB/AxK4mMB/O83+9fXVpp3v7+/fehnpj+r9JvDjxw/SoLfd80Zmo7cUG2FA9XbEaJc7dJ80/AJ4ImNcAhcQ0AAuWLIjSuCJgAbwRMa4BC4goAFcsGRHlMATgVZHQGpyx9GEjknUSxpLex7RTTUoj3QpL513pB69Jd2R/nbUI410Nnq7K+YXwC7S6kigIQENoOFSbEkCuwhoALtIqyOBhgQ0gIZLsSUJ7CLQ/ghIIEaOKyPHJHpLvVCM3lKM3hKDNEb1Ul3KI13Km62b1qP+0hhppG+JQfq2Ms8vgEr6akugmIAGULwA5SVQSUADqKSvtgSKCWgAxQtQXgKVBI48AlYCe9VOjz90YKK3FEvfdsp75fTOn2fP8Y72bbl+Ady2ceeVwC8ENIBfYPiXEriNgAZw28adVwK/ENAAfoHhX0rgNgIeAd/YeKfj1Oxe0nqEKz1c0luKUb2RPHpr7F8CfgH4S5DAxQQ0gIuX7+gS0AD8DUjgYgIawMXLd3QJHHkETI9EO9ZLx7NUN32bzkv16O3sPJo31aW3VTHquaqXXbp+AewirY4EGhLQABouxZYksIuABrCLtDoSaEhAA2i4FFuSwC4C7Y+AdLDaBSfRocPRSM9pPcpL+l2RQ/Om/VFeWi/No5npLeV9eswvgE/fsPNJ4A8ENIA/wPFvSeDTCWgAn75h55PAHwhoAH+A49+SwKcT+PqmK8ynT/2X86WHoxQp1Uvf/uUIbz2r6o90qfFOrKi/E2J+AZywJXuUwCICGsAisJaVwAkENIATtmSPElhEQANYBNayEjiBQKt/EjA9/hDY9CCUaqT1qJeRGPVHvezIozlS3ZG36bypBuWlMeqF3hIXykvr0dsVMb8AVlC1pgQOIaABHLIo25TACgIawAqq1pTAIQQ0gEMWZZsSWEGg1REwHZAOKbOPMGm9tOfZeSkDyqNeKK87g9n9pQwoj5ieEPML4IQt2aMEFhHQABaBtawETiCgAZywJXuUwCICGsAisJaVwAkE2h8B6eBCxx/KSxeQ1hvJo17SnkmX6lGM3pIu5VE9is1+S/2RLsXoLfVHeVSPYmk9yqN6lTG/ACrpqy2BYgIaQPEClJdAJQENoJK+2hIoJqABFC9AeQlUEmh1BKTDDB1SKI8g0lvKS+vRW9JI6428JY2RejQbxXbo0hzUy+xYqruDwezZnur5BfBExrgELiCgAVywZEeUwBMBDeCJjHEJXEBAA7hgyY4ogScCR/6HQehYQ4eZp6Ff41TvNefpz6nubA2qR72M5D3N/Bon3decFX+ePRvNkWrQfCNvqd6KmF8AK6haUwKHENAADlmUbUpgBQENYAVVa0rgEAIawCGLsk0JrCDQ6p8EpKMJDU3HGsobqUdvZ+tSz2mMekl77p5HDNKe6e1ILOU8olH51i+ASvpqS6CYgAZQvADlJVBJQAOopK+2BIoJaADFC1BeApUEWh0BdxxcUo00j5Y38pbq0QGM8kZipDEyB9VL+0vfpnk0x+xeSCPtL+1lRZ5fACuoWlMChxDQAA5ZlG1KYAUBDWAFVWtK4BACGsAhi7JNCawg0OoISAOmxxXKo9hsDaqXHn/S/mbXo54pRrrU80ge6VKMdCmPeqG8NDaim75Ne1mR5xfACqrWlMAhBDSAQxZlmxJYQUADWEHVmhI4hIAGcMiibFMCKwi0//8ETI86dHCht2neCth/W5N6TmulDKgevaU86o/eUh7Vmx3b0Qtp0BxVDKiXnzG/AJ7IGJfABQQ0gAuW7IgSeCKgATyRMS6BCwhoABcs2REl8ESg/T8JSI2nh5TZeXToSTVojrTeSB7pjsTSeSlvxxykS/OmvYy8JQ2qVxnzC6CSvtoSKCagARQvQHkJVBLQACrpqy2BYgIaQPEClJdAJYH2R8CRo04V2PT4k85GeaSR5hGXtF76lvJmx2he0kjziMFIPXrbLeYXQLeN2I8ENhLQADbCVkoC3QhoAN02Yj8S2EhAA9gIWykJdCPQ/l8HHgHW/ahD/dHBqiovZZ/2l9ZL82brzq6XzlGZ5xdAJX21JVBMQAMoXoDyEqgkoAFU0ldbAsUENIDiBSgvgUoCH3META84lJcuID3QUT16S3nUH72lPKpHMapHeRQjXaqX5pEGxage5Y3ERuZI+yONkZ5H3/oFMErQ9xI4mIAGcPDybF0CowQ0gFGCvpfAwQQ0gIOXZ+sSGCXQ/l8HpgHp4DJyXKG3pEG9pDGqR7oUIw3KSzVG8qgXio30R/U6xYhfp/7e6cUvgHdomSuBDyOgAXzYQh1HAu8Q0ADeoWWuBD6MgAbwYQt1HAm8Q6DVEZCOK3RMemfA11yql+pS3mv9n39ONdJ6pEEx0k3zZvdC9ai/NI/mGIlRL1QvzaO3NBvlVcb8Aqikr7YEigloAMULUF4ClQQ0gEr6akugmIAGULwA5SVQSaD9vw6cHlLoWDP77YgGLZnqUR7NQW/TvBGN2W9H6s2el3ohzpR3aswvgFM3Z98SmEBAA5gA0RISOJWABnDq5uxbAhMIaAATIFpCAqcSOPKfBKTjD8XSA076lvK6L556TrnQbCP10rfUH72l/iiWvk11KS/VTd9SvRUxvwBWULWmBA4hoAEcsijblMAKAhrACqrWlMAhBDSAQxZlmxJYQaDVEZAOJOkBJ4VD9VLdNG92L6SbalDeCAOqNztG/Y1o7OA30l/lW78AKumrLYFiAhpA8QKUl0AlAQ2gkr7aEigmoAEUL0B5CVQSaHUETI8/dNRJ3xJseptqpHmkS28pj2IjPaf1KC/teaQ/0qB61F+aR28pRr1QHsVm90IaozG/AEYJ+l4CBxPQAA5enq1LYJSABjBK0PcSOJiABnDw8mxdAqMEWh0BRw4uVW/TBVB/dCSiPNKgvJF6pEH1RvLoLc1BeWlsdj1iQBqUl/ZcmecXQCV9tSVQTEADKF6A8hKoJKABVNJXWwLFBDSA4gUoL4FKAq3+wyDpISU9wlAewZ6tSxppbHbPpDtbg+rNZjqiQQzSGOmmb0/I8wvghC3ZowQWEdAAFoG1rAROIKABnLAle5TAIgIawCKwlpXACQRaHQG7A5t92ErnTQ9R1B+97ZQ3wiCdI9WgevSWmFIe1UvfUr0VMb8AVlC1pgQOIaABHLIo25TACgIawAqq1pTAIQQ0gEMWZZsSWEGg1b8OTEeTFUMnNelYQ7GRntN6IxrJrD9zZmtQvXReykvnoLy0F3pLsdn1SGNXzC+AXaTVkUBDAhpAw6XYkgR2EdAAdpFWRwINCWgADZdiSxLYRaDVEZCGnn0QIg066qR51B/Vm51H/ZEG5aWxtB7lEQPSHXlL9ShGGpSXxqgezUt5qcauPL8AdpFWRwINCWgADZdiSxLYRUAD2EVaHQk0JKABNFyKLUlgF4H2R0ACQQcXyqPYyGFm5C31nNZL82jeVJfyRupRz6nGyNtUg2a7MeYXwI1bd2YJ/J+ABuBPQQIXE9AALl6+o0tAA/A3IIGLCRx5BOy0Lzo6pUeskbepRidWs3tJGaR5aX+z95bqrsjzC2AFVWtK4BACGsAhi7JNCawgoAGsoGpNCRxCQAM4ZFG2KYEVBDwCvkE1Pf6kJek4lb5Ne6E8ipEu5VHPlEf1ZsdIl/ojXcobqUcaJ8T8AjhhS/YogUUENIBFYC0rgRMIaAAnbMkeJbCIgAawCKxlJXACgSOPgHTAqYJNh6OqXkiXWFHPlEf1ZsdIN+2P8qg/yiNdiqVvSZfqUV5lzC+ASvpqS6CYgAZQvADlJVBJQAOopK+2BIoJaADFC1BeApUE2h8B6QhTCexVmw49s3veofE6188/p3NQf2k90kjrkcZIbHYvs+uNzPb01i+AJzLGJXABAQ3ggiU7ogSeCGgAT2SMS+ACAhrABUt2RAk8Efj6rrq4PHVkXAIS2EbAL4BtqBWSQD8CGkC/ndiRBLYR0AC2oVZIAv0IaAD9dmJHEthGQAPYhlohCfQjoAH024kdSWAbAQ1gG2qFJNCPgAbQbyd2JIFtBDSAbagVkkA/AhpAv53YkQS2EdAAtqFWSAL9CGgA/XZiRxLYRkAD2IZaIQn0I6AB9NuJHUlgGwENYBtqhSTQj4AG0G8ndiSBbQQ0gG2oFZJAPwIaQL+d2JEEthHQALahVkgC/QhoAP12YkcS2EZAA9iGWiEJ9COgAfTbiR1JYBsBDWAbaoUk0I+ABtBvJ3YkgW0ENIBtqBWSQD8CGkC/ndiRBLYR0AC2oVZIAv0IaAD9dmJHEthGQAPYhlohCfQjoAH024kdSWAbAQ1gG2qFJNCPgAbQbyd2JIFtBDSAbagVkkA/AhpAv53YkQS2EdAAtqFWSAL9CPwPPHQCMytvcDkAAAAASUVORK5CYII=",id:"b",width:256,height:256})]})]},Object.getOwnPropertyDescriptors?Object.defineProperties(Q,Object.getOwnPropertyDescriptors(o)):(function(A,e){var g=Object.keys(A);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(A);g.push.apply(g,Q)}return g})(Object(o)).forEach(function(A){Object.defineProperty(Q,A,Object.getOwnPropertyDescriptor(o,A))}),Q))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"react";export var Rectangle=function(t){var r,n;return e("svg",(r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",width:215,height:440,fill:"none"},t),n=n={children:e("path",{fill:"#C4C4C4",d:"M0 0h215v440H0z"})},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}),r))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import"react";export var Revert=function(r){var n,o;return t("svg",(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},r),o=o={children:[e("path",{stroke:"#000",d:"M1 3v4h4"}),e("path",{stroke:"#F06D8D",d:"M2.34 10a6 6 0 1 0 1.42-6.24S2.5 5 2 6.5"})]},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"react";export var Star=function(r){var t,n;return e("svg",(t=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 16 16"},r),n=n={children:e("path",{fill:"#F59A2F",d:"m8 .1 2.5 5 5.5.8-3.9 3.8 1 5.5-5-2.6-4.9 2.6 1-5.5L0 5.9l5.5-.8L8 .1z"})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"react";export var Star2=function(r){var t,n;return e("svg",(t=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 16 16"},r),n=n={children:e("path",{fill:"none",stroke:"#9AA0B9",strokeMiterlimit:10,d:"m8 1.2 2.1 4.2 4.6.7-3.3 3.2.8 4.6L8 11.7l-4.1 2.2.8-4.6-3.4-3.2 4.6-.7L8 1.2z"})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import"react";export var TrafficSources=function(t){var n,o;return e("svg",(n=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 16 16"},t),o=o={children:r("g",{fill:"none",stroke:"#9AA0B9",children:[e("path",{d:"M4.7 10.7 8 14l3.3-3.3"}),e("path",{d:"M.7 2.7h4.7c.7 0 1.4.3 1.9.8.4.4.7 1.1.7 1.8v8M15.3 2.7h-4.7c-.7 0-1.4.3-1.9.8S8 4.6 8 5.3v8"})]})},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"react";export var Trash=function(r){var t,n;return e("svg",(t=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 16 16"},r),n=n={children:e("path",{fill:"none",stroke:"currentColor",d:"M2 4h12M5.3 4V2.7c0-.4.1-.7.4-.9.3-.3.6-.5 1-.5h2.7c.4 0 .7.1.9.4.3.3.4.6.4.9V4m2 0v9.3c0 .4-.1.7-.4.9-.3.3-.6.4-.9.4H4.7c-.4 0-.7-.1-.9-.4-.3-.3-.4-.6-.4-.9V4h9.3zM6.7 7.3v4M9.3 7.3v4"})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"react";export var TrashRed=function(r){var t,n;return e("svg",(t=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 16 16"},r),n=n={children:e("path",{fill:"none",stroke:"#F06D8D",d:"M2 4h12M5.3 4V2.7c0-.4.1-.7.4-.9.3-.3.6-.5 1-.5h2.7c.4 0 .7.1.9.4.3.3.4.6.4.9V4m2 0v9.3c0 .4-.1.7-.4.9-.3.3-.6.4-.9.4H4.7c-.4 0-.7-.1-.9-.4-.3-.3-.4-.6-.4-.9V4h9.3zM6.7 7.3v4M9.3 7.3v4"})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"react";export var Triggers=function(r){var t,n;return e("svg",(t=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 24 24"},r),n=n={children:e("path",{fill:"none",stroke:"#9AA0B9",d:"M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6"})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import"react";export var User=function(t){var n,o;return r("svg",(n=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"Layer_1",x:0,y:0,style:{enableBackground:"new 0 0 16 16"},viewBox:"0 0 16 16"},t),o=o={children:[e("style",{children:".st0{fill:none;stroke:#9aa0b9;strokeWidth:1.07;strokeLinecap:round;strokeLinejoin:round}"}),e("path",{d:"M13.3 14v-1.3a2.732 2.732 0 0 0-2.7-2.7H5.3a2.732 2.732 0 0 0-2.7 2.7V14M8 7.3c1.5 0 2.7-1.2 2.7-2.7S9.5 2 8 2 5.3 3.2 5.3 4.7 6.5 7.3 8 7.3z",className:"st0"})]},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import"react";export var Visa=function(r){var c,l;return t("svg",(c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},c=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(c=c.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),c.forEach(function(t){var c;c=r[t],t in e?Object.defineProperty(e,t,{value:c,enumerable:!0,configurable:!0,writable:!0}):e[t]=c})}return e}({xmlns:"http://www.w3.org/2000/svg",width:38,height:24,fill:"none"},r),l=l={children:[t("g",{fillRule:"evenodd",clipPath:"url(#a)",clipRule:"evenodd",children:[e("path",{fill:"#fff",d:"M0 1.784C0 .799.799 0 1.784 0H36.27c.985 0 1.784.799 1.784 1.784v21.405c0 .985-.799 1.784-1.784 1.784H1.784A1.784 1.784 0 0 1 0 23.189V1.784Z"}),e("path",{fill:"#0071CE",d:"M23.325 9.21a4.132 4.132 0 0 0-1.543-.291c-1.702 0-2.9.938-2.91 2.281-.01.994.855 1.548 1.508 1.878.67.339.896.555.893.858-.004.463-.535.675-1.03.675-.69 0-1.055-.104-1.622-.363l-.221-.11-.24 1.548c.4.192 1.145.36 1.917.368 1.81 0 2.984-.927 2.998-2.36.006-.789-.452-1.386-1.446-1.88-.601-.32-.97-.532-.966-.856 0-.288.311-.595.986-.595.563-.01.97.125 1.288.265l.155.08.233-1.499Zm-7.966 6.742 1.077-6.913h1.721l-1.077 6.913H15.36Zm10.944-4.383s-.543 1.535-.685 1.932h1.429c-.068-.346-.399-1.995-.399-1.995l-.116-.597c-.046.137-.11.318-.158.456v.001a4.467 4.467 0 0 0-.07.203Zm1.438-2.523h-1.33c-.413 0-.722.123-.902.573l-2.557 6.335h1.808s.295-.852.362-1.04l.994.002 1.211.002c.052.242.21 1.036.21 1.036h1.598L27.74 9.046Zm-13.826 0-1.685 4.712-.18-.958-.001-.003-.603-3.173c-.104-.438-.407-.568-.78-.583H7.888l-.023.143c.676.179 1.28.437 1.81.758l1.53 6.004 1.822-.002 2.711-6.899h-1.824Z"}),e("path",{fill:"#E5E5E5",fillOpacity:.01,d:"M0 1.784C0 .799.799 0 1.784 0H36.27c.985 0 1.784.799 1.784 1.784v21.405c0 .985-.799 1.784-1.784 1.784H1.784A1.784 1.784 0 0 1 0 23.189V1.784Z"})]}),e("defs",{children:e("clipPath",{id:"a",children:e("path",{fill:"#fff",d:"M0 0h38v24H0z"})})})]},Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(l)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);r.push.apply(r,c)}return r})(Object(l)).forEach(function(e){Object.defineProperty(c,e,Object.getOwnPropertyDescriptor(l,e))}),c))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"react";export var X=function(t){var r,n;return e("svg",(r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},t),n=n={children:e("path",{stroke:"#000",d:"m12 4-8 8M4 4l8 8"})},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}),r))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}import{jsx as r,jsxs as t}from"react/jsx-runtime";import"react";import a from"classnames";import l from"../../Atomic/FormElements/Label/Label";import n from"./../../Atomic/UI/Alert/Alert";import"./FormElement.scss";var o="form-element";export default function(c){var i=c.label,s=c.required,m=c.children,b=c.error,u=c.className,f=c.hint,p=c.isLabelBolt,d=c.isNoLabel,h=c.alert,j=c.onClickHintCallback,y=c.note;return t("div",{className:a(u,o),children:[i&&!d&&r(l,{className:"".concat(o,"__label"),label:i,hint:f,note:y,isRequired:s,isLabelBolt:p,onClickHintCallback:j}),m,b&&r("span",{className:a("".concat(o,"__error"),e({},"".concat(o,"__error--with-alert"),h)),children:b}),h&&r(n,function(r){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{},l=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(a).filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),l.forEach(function(t){e(r,t,a[t])})}return r}({className:"".concat(o,"__alert")},h))]})}
|
|
@@ -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){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function r(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 n}from"react/jsx-runtime";import o,{useEffect as i,useState as a}from"react";import f from"classnames";import l from"../../Functions/hooks/useFormFieldsChangesManager";import{clone as u,getIsOnlyAnObject as c}from"../../Functions/utils";import{getDependOnStarter as s}from"./partials/_utils";var y=o.forwardRef(function(o,y){var p,d=o.form,m=o.formId,b=o.setForm,g=o.getActualForm,O=o.onChange,v=o.renderField,h=o.getAnotherActions,j=o.className,F=o.isInitializeByDependOn,w=o.isFormDisabled,A=o.typeOfUse,P=void 0===A?"default":A,I=(p=a(u(d)),function(e){if(Array.isArray(e))return e}(p)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,f=!1;try{for(o=o.call(e);!(a=(r=o.next()).done)&&(i.push(r.value),i.length!==t);a=!0);}catch(e){f=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(f)throw n}}return i}}(p,1)||function(t,r){if(t){if("string"==typeof t)return e(t,1);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)}}(p,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],S="function"==typeof b?b:function(){},K="function"==typeof O?O:function(){},k="function"==typeof g?g:function(){return d},C=l({form:Array.isArray(d)?d:[],setForm:S}).assignChangesToField,D="function"==typeof h?h({setForm:b,assign:C,getActualForm:k}):{},x=function(e,n){return r(t({formId:m,actions:D,isInit:!0},c(n)?n:{}),{onChange:e,setForm:S,assign:C,getActualForm:k,initialForm:I,typeOfUse:P})},E=s({assign:C,getActualForm:k}),U=function(e,n,o,i){var a=c(i)?i:{},f=a.updatedForm,l=void 0===f?null:f,s=a.isMakeChangesAnyway,y=a.isUseActualForm,p=u(void 0!==y&&y?k():Array.isArray(l)?l:d),m=u(p.find(function(e){return e.key===n}));if((m[o||"value"]!==e||void 0!==s&&s)&&(K(e,n,o,r(t({},i),{updatedForm:p})),E({newValue:e,fieldKey:n,propKey:o,field:m,form:p,additional:x(U,i)}),"function"==typeof D.all&&D.all({newValue:e,fieldKey:n,propKey:o,field:m,form:p,additional:x(U,i)}),n in D&&"function"==typeof D[n])){var b=D[n]({newValue:e,fieldKey:n,propKey:o,field:m,form:p,additional:x(U,i)});b&&C(b,n)}};return i(function(){F&&"function"==typeof b&&"function"==typeof O&&d.forEach(function(e){E({newValue:e.value,fieldKey:e.key,field:e,form:d,additional:r(t({},x(U)),{isInitialization:!0,isInit:!1})})})},[F]),n("div",r(t({},m?{id:m}:{}),{className:f("form-with-depend-on",j),children:"function"==typeof v?d.map(function(e){return v(r(t({},x(U)),{field:r(t({},e),{disabled:!!(w||e.disabled)})}))}):null}))});export default y;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}function e(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function t(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t,r,i=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=i){var l=[],o=!0,u=!1;try{for(i=i.call(n);!(o=(t=i.next()).done)&&(l.push(t.value),!e||l.length!==e);o=!0);}catch(n){u=!0,r=n}finally{try{o||null==i.return||i.return()}finally{if(u)throw r}}return l}}(n,e)||i(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 r(n){return n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n}function i(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}import{jsx as l,jsxs as o,Fragment as u}from"react/jsx-runtime";import{useEffect as s,useMemo as a,useRef as d,useState as c}from"react";import f from"classnames";import{AlertTriangle as m,X as p}from"react-feather";import v from"../../Atomic/FormElements/Input/Input";import h from"../../Atomic/Layout/Spinner/Spinner";import y from"../../Atomic/UI/Hint/Hint";import g from"../../Functions/useIsMobile/useIsMobile";import{compare as _,getIsOnlyAnObject as b}from"../../Functions/utils";import"./InputAddress.scss";var N="input-address",I=function(n,e){return(void 0===n?"undefined":r(n))===(void 0===e?"undefined":r(e))&&(b(n)?_(n,e):n===e)},w=function(e,t){var r=null;return function(){for(var l=arguments.length,o=Array(l),u=0;u<l;u++)o[u]=arguments[u];r&&clearTimeout(r),r=setTimeout(function(){e.apply(void 0,function(e){if(Array.isArray(e))return n(e)}(o)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(o)||i(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},t)}},C=function(n){return!!n&&"number"==typeof n&&!Number.isNaN(n)};export default function(n){var r,i,_,S,A=n.label,T=n.className,M=void 0===T?"":T,D=n.isClearable,j=void 0===D||D,x=n.isKeyboardControlled,O=void 0===x||x,P=n.fieldKey,B=void 0===P?"":P,F=n.testId,k=void 0===F?"":F,R=n.throttle,E=void 0===R?500:R,H=n.additionalThrottleTimeForListingRequest,L=void 0===H?0:H,q=n.loader,K=void 0===q?"":q,z=n.noItemsMessage,U=void 0===z?"":z,V=n.error,$=n.value,G=void 0===$?"":$,J=n.onChange,Q=void 0===J?function(){}:J,W=n.onChangeValueTransformer,X=n.disabled,Y=n.isDisabled,Z=n.getListItems,nn=void 0===Z?function(){}:Z,ne=n.clarifyAddressInfo,nt=n.noValidate,nr=void 0!==nt&&nt,ni=n.renderSelectedItem,nl=n.renderListItem,no=n.renderHintMessage,nu=n.attributesOfNativeInput,ns=g().isMobile,na=d(null),nd=d(null),nc=d(null),nf=d(null),nm=d(null),np=d(G),nv=t(c(!1),2);nv[0],nv[1];var nh=t(c(null),2),ny=nh[0];nh[1];var ng=t(c(0),2),n_=ng[0];ng[1];var nb=t(c(1),2);nb[0],nb[1];var nN=t(c(G),2),nI=nN[0],nw=nN[1],nC=t(c(null),2),nS=nC[0],nA=nC[1],nT=t(c(null),2);nT[0],nT[1];var nM=t(c([]),2),nD=nM[0],nj=nM[1],nx=t(c(!1),2),nO=nx[0],nP=nx[1],nB=t(c(!1),2),nF=nB[0],nk=nB[1],nR=t(c(null),2),nE=nR[0],nH=nR[1],nL=t(c(!1),2),nq=nL[0],nK=nL[1],nz=t(c(!1),2),nU=nz[0],nV=nz[1],n$=a(function(){var n;return!nr&&""!==nI&&!((null==nI?void 0:nI.hasOwnProperty("streetNumber"))&&(null==nI?void 0:nI.streetNumber)&&(null==nI?void 0:nI.hasOwnProperty("street"))&&(null==nI||null==(n=nI.street)?void 0:n.fullName))},[nI]),nG=function(n,e){var t;(null!=(t=Event)&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](n):n instanceof t)&&(n.preventDefault(),n.stopPropagation()),setTimeout(function(){nw(e),ns&&nV(!1)},0)},nJ=a(function(){return function(n){var e;return null==(e=nn(n))?void 0:e.then(nj).finally(function(){return nk(!1)})}},[nn]),nQ=a(function(){var n=C(L)?w(nJ,L):nJ;return C(E)?w(n,E):n},[nJ,L,E]),nW=function(n){var e;n.preventDefault(),n.stopPropagation(),ns||nV(!1),nw(""),null==na||null==(e=na.current)||e.focus(),setTimeout(function(){return nK(!0)},0)},nX=function(n){if(!nU||!O)return!1;if(13===n){var e;nG(null,nD[nE]),nH(null),null==na||null==(e=na.current)||e.blur()}else{var t,r,i,l,o,u,s,a,d=null,c=document.getElementsByClassName("input-address__list--item"),f=null==nd||null==(r=nd.current)||null==(t=r.getBoundingClientRect())?void 0:t.height,m=(null==nd||null==(i=nd.current)?void 0:i.scrollTop)||0,p=parseInt(null==nD?void 0:nD.length,10)-1;40===n?null===nE||nE===p?d=0:nE+1<(null==nD?void 0:nD.length)&&(d=nE+1):38===n&&(null===nE||0===nE?d=p:nE-1>=0&&(d=nE-1));var v=c[d],h=null==v||null==(l=v.getBoundingClientRect())?void 0:l.height,y=null==v?void 0:v.offsetTop;y+h>m+f?Math.abs(y+h-(m+f))<=h?null==nd||null==(o=nd.current)||o.scrollTo(0,m+h):null==nd||null==(u=nd.current)||u.scrollTo(0,y):y<m&&(Math.abs(y-m)<h?null==nd||null==(s=nd.current)||s.scrollTo(0,m-h):null==nd||null==(a=nd.current)||a.scrollTo(0,y)),ns||nH(d)}},nY=function(){var n,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nI;if(!e)return"";if("string"==typeof e)return e;"function"==typeof ni&&ni(e);var t="".concat((null==e?void 0:e.streetNumber)||""," ").concat((null==e||null==(n=e.street)?void 0:n.fullName)||"").trim();return!t&&nO?np.current:t},nZ=function(){if((null==nf?void 0:nf.current)&&(null==nm?void 0:nm.current)&&nd.current){var n,e,t,r,i=null==nf||null==(e=nf.current)||null==(n=e.getBoundingClientRect())?void 0:n.height,l=getComputedStyle(null==nf?void 0:nf.current),o=i-(null==nm||null==(r=nm.current)||null==(t=r.getBoundingClientRect())?void 0:t.height)-parseInt(l.paddingBottom,10);nd.current.style.maxHeight="".concat(o,"px")}},n0=function(){nd.current&&(nd.current.style.maxHeight="initial")};s(function(){if(!I(nI,np.current)){var n,e,t=b(nI),r=t&&"streetNumber"in nI&&"street"in nI&&"city"in nI&&"state"in nI&&"country"in nI&&"zipCode"in nI;r&&(Q(nI),nP(!1)),t&&!r&&("function"==typeof ne?(nP(!0),null==(e=ne(nI))||null==(n=e.then)||n.call(e,function(n){return n?nw(n):(nw(np.current),setTimeout(function(){na.current.focus(),na.current.setSelectionRange(np.current.length,np.current.length)},0)),nP(!1),n})):nw(nY(nI))),!t&&((nI||!nO)&&Q(nI),nI&&!nU&&nV(!0),nq&&nI&&(null==nI?void 0:nI.length)&&(nk(!0),nQ(nI)))}},[nI]),s(function(){nq||ns||(nV(!1),nH(null))},[nq]),s(function(){nU||(nj([]),n0()),ns&&nU&&(nA(nI),nZ())},[nU]),s(function(){I(G,nI)||nw(G),np.current=G},[G]);var n1=function(){var n=nY();return o("div",{className:f("input-address__input-wrapper"),children:[l(v,{ref:na,testId:"inputAddress--input--key-".concat(k||B),className:f("input-address__input",M),value:n,onChange:nw,onFocus:function(n){nK(!0)},onBlur:function(){return nK(!1)},onKeyDown:nX,attributesOfNativeInput:nu,disabled:X||Y,isDisabled:X||Y}),n$&&l("div",{className:f("input-address__alert",{"input-address__alert--visible":!nq}),children:l(y,{side:"left",hint:no&&"function"==typeof no?no(nI):"Select the correct address from the list of suggestions (must contains house number and street name)",icon:l(m,{}),handleOpenType:"hover"})}),j&&(!n$||nq)&&!(X||Y)&&l("div",{className:f("input-address__clear-query",{"input-address__clear-query--input-focused":nq}),children:l(p,{onClick:nW})})]})},n2=function(){return l("div",{className:"input-address__list--loader",children:K||"Loading..."})};return o("div",{className:f("input-address",{"input-address--error":V||n$&&!nq,"input-address--disabled":X||Y}),children:[nO&&l(h,{size:"small"}),ns?(r=nY(nU?nS:nI),l("div",{className:f("input-address__input-wrapper"),children:l(v,{testId:"inputAddress--input--key-".concat(k||B),className:f("input-address__input",M),value:r,onChange:nw,onFocus:function(n){var e;nV(!0),null==n||null==(e=n.target)||e.blur(),setTimeout(function(){var n;return null==na||null==(n=na.current)?void 0:n.focus()},200)},disabled:X||Y,isDisabled:X||Y})})):n1(),nU&&(i=function(n,e){return l("div",{className:f("input-address__list--item",{"input-address__list--item-hightlighted":e===nE}),onMouseDown:function(e){return nG(e,n)},children:"string"==typeof n?n:nl&&"function"==typeof nl?nl(n):null==n?void 0:n.fullPrediction},"input-address__list-item".concat(e))},_=function(){return l("div",{className:"input-address__list--no-items",children:!ns||(null==nI?void 0:nI.length)?U||"No Items":"Please begin entering your address"})},ns?l("div",{className:"input-address__list-overlay",ref:nc,onClick:function(n){n.target===(null==nc?void 0:nc.current)&&(n.stopPropagation(),n.preventDefault(),nV(!1),nw(nS),Q("string"!=typeof nI&&W&&"function"==typeof W?W(nI):nI))},children:o("div",{className:"input-address__list-wrapper",ref:nf,children:[ns&&o("div",{ref:nm,className:f("".concat(N,"__list-header"),(e(S={},"".concat(N,"__list-header-with-shadow"),ny&&ns),e(S,"".concat(N,"__list-header-with-shadow-hidden"),0===n_),S)),children:[o("div",{className:f("".concat(N,"__list-header-row")),children:[l("div",{className:f("".concat(N,"__list-label")),children:A||"Address"}),l("div",{className:f("".concat(N,"__list-close-icon")),onClick:function(){return nV(!1)},children:l(p,{onClick:function(){return nV(!1)}})})]}),l("div",{className:f("".concat(N,"__list-header-row")),children:n1()})]}),l("div",{className:"input-address__list",ref:nd,children:nF?n2():o(u,{children:[nY()&&o("div",{className:f("input-address__list--item","input-address__list--item-custom"),onMouseDown:function(n){return nG(n,nY())},children:[nY(),l(m,{}),l("span",{children:"Choose this only if your address is not listed below"})]},"input-address__list-item--custom"),null==nD?void 0:nD.map(i),!(null==nD?void 0:nD.length)&&!nY()&&_()]})})]})}):l("div",{className:"input-address__list-wrapper",ref:nf,children:l("div",{className:"input-address__list",ref:nd,children:nF?n2():(null==nD?void 0:nD.length)?null==nD?void 0:nD.map(i):_()})}))]})}
|
|
@@ -1 +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}import{jsx as r,jsxs as e}from"react/jsx-runtime";import
|
|
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}import{jsx as r,jsxs as e}from"react/jsx-runtime";import{useRef as n,useState as o}from"react";import i from"classnames";import{Eye as a,EyeOff as s}from"react-feather";import c from"../../Atomic/FormElements/Input/Input";import{setCarretToEnd as l}from"../../Functions/utils";import"./InputPassword.scss";export default function(u){var p,f,y,m=u.field,d=void 0===m?{}:m,b=u.onChange,O=u.testId,h=void 0===O?"input-password":O,v=(p=o(!1),function(t){if(Array.isArray(t))return t}(p)||function(t,r){var e,n,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(t);!(a=(e=o.next()).done)&&(i.push(e.value),i.length!==r);a=!0);}catch(t){s=!0,n=t}finally{try{a||null==o.return||o.return()}finally{if(s)throw n}}return i}}(p,2)||function(r,e){if(r){if("string"==typeof r)return t(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 t(r,e)}}(p,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.")}()),j=v[0],w=v[1],g=n(null);return e("div",{"data-testid":h,className:"password",ref:g,children:[r(c,(f=function(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{},n=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.forEach(function(r){var n;n=e[r],r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n})}return t}({},d),y=y={testId:"inputPassword--input--key-".concat(h||d.key),className:i("input-fin",null==d?void 0:d.key),onChange:void 0===b?function(){}:b,type:j?"text":"password"},Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(y)):(function(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e.push.apply(e,n)}return e})(Object(y)).forEach(function(t){Object.defineProperty(f,t,Object.getOwnPropertyDescriptor(y,t))}),f)),e("span",{className:"password-eye-holder",onClick:function(){var t,r=null==g||null==(t=g.current)?void 0:t.querySelector("input");null==r||r.focus(),l(r),w(!j)},children:[" ",j?r(s,{strokeWidth:1,className:"password-icon"}):r(a,{strokeWidth:1,className:"password-icon"})]})]})}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intelicoreact",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.11",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Andrey Isakov",
|
|
6
6
|
"license": "ISC",
|
|
@@ -44,18 +44,10 @@
|
|
|
44
44
|
"types": "dist/index.d.ts",
|
|
45
45
|
"typesVersions": {
|
|
46
46
|
"*": {
|
|
47
|
-
"types": [
|
|
48
|
-
|
|
49
|
-
],
|
|
50
|
-
"
|
|
51
|
-
"./dist/types/*.d.ts"
|
|
52
|
-
],
|
|
53
|
-
"types/declaration/*": [
|
|
54
|
-
"./dist/types/declaration/*.d.ts"
|
|
55
|
-
],
|
|
56
|
-
"dist/*": [
|
|
57
|
-
"./dist/*"
|
|
58
|
-
]
|
|
47
|
+
"types": ["./dist/types/index.d.ts"],
|
|
48
|
+
"types/*": ["./dist/types/*.d.ts"],
|
|
49
|
+
"types/declaration/*": ["./dist/types/declaration/*.d.ts"],
|
|
50
|
+
"dist/*": ["./dist/*"]
|
|
59
51
|
}
|
|
60
52
|
},
|
|
61
53
|
"files": [
|
|
@@ -75,9 +67,9 @@
|
|
|
75
67
|
"moment": "2.30.1",
|
|
76
68
|
"moment-timezone": "0.5.48",
|
|
77
69
|
"node-fetch": "3.3.2",
|
|
78
|
-
"react": "19.1.
|
|
70
|
+
"react": "19.1.0",
|
|
79
71
|
"react-chartjs-2": "5.3.0",
|
|
80
|
-
"react-dom": "19.1.
|
|
72
|
+
"react-dom": "19.1.0",
|
|
81
73
|
"react-feather": "2.0.10",
|
|
82
74
|
"react-input-mask": "2.0.4"
|
|
83
75
|
},
|
|
@@ -88,6 +80,7 @@
|
|
|
88
80
|
"classnames": "2.5.1",
|
|
89
81
|
"copy-webpack-plugin": "13.0.0",
|
|
90
82
|
"css-loader": "7.1.2",
|
|
83
|
+
"glob": "11.0.1",
|
|
91
84
|
"https-browserify": "1.0.0",
|
|
92
85
|
"mini-css-extract-plugin": "2.9.2",
|
|
93
86
|
"os-browserify": "0.3.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as i,jsxs as r}from"react/jsx-runtime";import"./DropdownLoader.scss";export default function(d){var s=d.variant;return i("div",{className:"dropdown-loader-box j5",children:r("div",{className:"lds-ring".concat("little"===(void 0===s?"":s)?" lds-ring_little":""),children:[i("div",{}),i("div",{}),i("div",{}),i("div",{})]})})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function n(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}function e(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function t(n){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable}))),o.forEach(function(t){e(n,t,r[t])})}return n}function r(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t,r,o=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=o){var u=[],i=!0,a=!1;try{for(o=o.call(n);!(i=(t=o.next()).done)&&(u.push(t.value),!e||u.length!==e);i=!0);}catch(n){a=!0,r=n}finally{try{i||null==o.return||o.return()}finally{if(a)throw r}}return u}}(n,e)||o(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 o(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}import{jsx as u,jsxs as i,Fragment as a}from"react/jsx-runtime";import l from"classnames";import{useEffect as c,useRef as s,useState as f}from"react";import{Minus as m,Plus as d}from"react-feather";import{KEYBOARD_SERVICE_KEYS as p}from"../../../Constants/index.constants";import{formatToAddBitDepthPoints as y,filterNumeric as b,formatToRemoveComa as v}from"../../../Functions/fieldValueFormatters";import h from"../../Layout/Spinner/Spinner";import"./NumericInput.scss";export default function(g){var N,O,w,j=g.disabled,S=g.withDelete,_=g.numStep,k=void 0===_?1:_,A=g.min,D=void 0===A?0:A,P=g.max,C=g.value,x=g.placeholder,F=g.className,I=g.testId,T=void 0===I?"numeric-input":I,E=g.name,U=g.fieldKey,B=g.id,K=g.onChange,L=void 0===K?function(){}:K,M=g.onBlur,R=void 0===M?function(){}:M,V=g.onFocus,z=void 0===V?function(){}:V,$=g.onKeyUp,q=void 0===$?function(){}:$,G=g.onKeyDown,H=void 0===G?function(){}:G,J=g.maskChar,Q=g.formatChars,W=g.error,X=g.icon,Y=g.isNotBlinkErrors,Z=g.blinkTime,nn=g.isPriceInput,ne=g.isFocusDefault,nt=void 0!==ne&&ne,nr=g.isNotRenderButtons,no=g.isUseAutoSelect,nu=void 0===no||no,ni=g.isLoading,na=void 0!==ni&&ni,nl=g.isAllowNullValue,nc=g.onlyNumbers,ns=void 0===nc?{type:"int"}:nc,nf=g.attributesOfNativeInput,nm=s(null),nd=s(null),np=s(null),ny=s(null),nb=void 0!==nl&&nl?"":D,nv=r(f(C||nb),2),nh=nv[0],ng=nv[1],nN=r(f(nh),2),nO=nN[0],nw=nN[1],nj=r(f(0),2),nS=nj[0],n_=nj[1],nk=r(f(!1),2),nA=nk[0],nD=nk[1],nP=r(f(!1),2),nC=nP[0],nx=nP[1],nF=r(f(!1),2),nI=nF[0],nT=nF[1],nE=r(f(C||nb),2),nU=nE[0],nB=nE[1],nK=function(){var n,e=nm.current,t=null==e||null==(n=e.value)?void 0:n.length;e&&setTimeout(function(){return e.setSelectionRange(t,t)},10)},nL={change:function(n){ng((n.target?b(n.target.value,ns):b(n,ns)).toString())},clear:function(){nL.change(nb||"")},focus:function(n){nD(!0),z&&z(n)},blur:function(n){nD(!1),(Number.isNaN(nh)||nh<D)&&ng(nb),P&&Number(P)<nh&&ng(P),R&&R(n)},keyDown:function(n){var e;nB(null==n||null==(e=n.target)?void 0:e.value),H(n.keyCode,n)},keyUp:function(n){if(!Y){var e=String(null!=C?C:""),t=String(nU),r=t.length<=e.length?t:e,o=t.length>e.length?t:e,u=r.split("").reduce(function(n,e,t){return n.countOn&&e===o[t]?n.same.push(e):(n.countOn=!1,n.differences.push([t,e])),n},{same:[],countOn:!0,differences:[]}),i=u.same.join(""),a=u.differences.length,l=null==e?void 0:e.replace(i,"");p.includes(n.key)||e!==t||nx(!(!a&&n.key===l))}q&&q(n.keyCode,n.target.value)},decrement:function(n){var e=Number(nS)-Number(k);e<D?e=D:e>P&&(e=P),nL.change(e),setTimeout(function(){var n;null==nm||null==(n=nm.current)||n.focus(),nK()},100)},increment:function(n){var e=Number(nS)+Number(k);e<D?e=D:e>P&&(e=P),nL.change(e),setTimeout(function(){var n;null==nm||null==(n=nm.current)||n.focus(),nK()},100)}};return c(function(){var n=function(n){ny.current.contains(n.target)||nD(!1)};return document.addEventListener("mousedown",n,!0),function(){return document.removeEventListener("mousedown",n,!0)}},[]),c(function(){!Y&&nC&&(nx(!1),nT(!0),setTimeout(function(){nT(!1)},Z||200))},[nC]),c(function(){C&&C!==nh&&ng(C)},[C]),c(function(){nh!==C&&nD(!0),nw(nn&&(null==nh?void 0:nh.length)>0?nA?v(nh):y(nh):nh),n_(v(nh)),"function"==typeof L&&void 0!==C&&+nh!=+C&&L(null==nh?void 0:nh.toString())},[nh]),c(function(){isNaN(nS)&&n_(D||0)},[nS]),c(function(){var n,e,t=nh;nn&&(t=nA?v(nh):y(nh)),nw(t),nA?("function"==typeof z&&z({target:null==nm?void 0:nm.current}),null==nm||null==(n=nm.current)||n.focus()):("function"==typeof R&&R({target:null==nm?void 0:nm.current}),null==nm||null==(e=nm.current)||e.blur())},[nA]),c(function(){(null==nm?void 0:nm.current)&&"boolean"==typeof nt&&nD(nt)},[nm,nt]),i("div",{"data-testid":T,ref:ny,className:l("input__wrap",e({},"input__wrap_focus",nA),e({},"input__wrap_error",W||nI),e({},"input__wrap--disabled",j||na)),children:[(N=t({name:E||U||B||T||"",className:"input ".concat(F||""),placeholder:x,value:nO,disabled:j,onChange:nL.change,onFocus:nL.focus,onBlur:nL.blur,onKeyDown:nL.keyDown,onKeyUp:nL.keyUp,min:D,max:P},J?{maskChar:J}:{},Q?{formatChars:Q}:{}),i(a,{children:[u("input",t((O=t({},N),w=w={"data-testid":"".concat(T,"-input"),value:(null==C?void 0:C.length)>0?y(v(C)):C,ref:nm,type:"text",onFocus:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];nu&&nm.current.select(),N.onFocus&&N.onFocus.apply(N,function(e){if(Array.isArray(e))return n(e)}(t)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(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.")}())}},Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(w)):(function(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t.push.apply(t,r)}return t})(Object(w)).forEach(function(n){Object.defineProperty(O,n,Object.getOwnPropertyDescriptor(w,n))}),O),void 0===nf?{}:nf)),void 0!==nr&&nr?null:i("div",{className:"input__nums",children:[u("button",{"data-testid":"".concat(T,"-minus-btn"),ref:nd,className:l("input__num-btn",{"events-none":Number(C)<=D}),onMouseDown:function(n){return nL.decrement(n)},children:u(m,{className:l({disabled:Number(C)<=D})})}),u("button",{"data-testid":"-".concat(T,"-plus-btn"),ref:np,className:l("input__num-btn",{"events-none":Number(C)>=P}),onMouseDown:function(n){return nL.increment(n)},children:u(d,{className:l({disabled:Number(C)>=P})})})]})]})),X,S&&u("span",{className:l("input__close",{hidden:!nh}),onClick:function(){return nL.clear()}}),na&&u(h,{size:"small"})]})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function e(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function t(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 r,jsxs as n}from"react/jsx-runtime";import o from"classnames";import i from"../../../Molecular/FormElement/FormElement";import c from"../../UI/Alert/Alert";import u from"./../Input/Input";import a from"./../RadioInput/RadioInput";import"./RadioGroupWithInput.scss";export default function(p){var l=p.alert,s=p.className,d=p.disabled,m=p.onChange,f=void 0===m?function(){}:m,b=p.direction,g=p.options,O=void 0===g?[]:g,h={changeRadio:function(r,n){f(O.map(function(r){return t(e({},r),{checked:n.value===r.value&&r.value})}))},changeInput:function(e,t){t.input.value=e,f(O)}};return n("div",{className:"radio-group-input-box",children:[l&&r(c,e({className:"mb10"},l)),r("div",{className:o("radio-group-input",s,"radio-group-input--".concat(void 0===b?"row":b),{"radio-group-input--disabled":d}),children:null==O?void 0:O.map(function(c){return n("div",{className:o("radio-group-input-item","radio-group-input-item-".concat(c.id)),children:[r(a,t(e({},c),{onChange:function(e){return h.changeRadio(e,c)},checked:c.checked})),c.input&&c.checked&&r(i,t(e({},c.input),{children:r(u,e({onChange:function(e){return h.changeInput(e,c)}},c.input))}))]},c.id)})})]})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function e(e,c,a){return c in e?Object.defineProperty(e,c,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[c]=a,e}import{jsx as c,jsxs as a}from"react/jsx-runtime";import l from"classnames";import{Trash2 as n}from"react-feather";var t="range-list";export function RangeListCell(a){var n=a.children,r=a.idx,i=a.className,o=a.onClick;return c("div",{className:l("".concat(t,"__cell"),i,e({},"".concat(t,"__cell-").concat(r),r)),onClick:o,children:n})}export default function(r){var i=r.from,o=r.to,s=r.idx,u=r.actionClick;return a("div",{className:l("".concat(t,"__row"),"".concat(t,"__values"),e({},"".concat(t,"__values_first-value"),0===s)),children:[c(RangeListCell,{idx:1,className:"".concat(t,"__cell-value"),children:i}),c(RangeListCell,{idx:2,className:"".concat(t,"__cell-value"),children:o}),c(RangeListCell,{idx:3,className:"".concat(t,"__cell-action"),onClick:function(){return u(s)},children:c(n,{})})]})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e;function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function t(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function r(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(n){t(e,n,r[n])})}return e}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],u=!0,a=!1;try{for(o=o.call(e);!(u=(t=o.next()).done)&&(i.push(t.value),!n||i.length!==n);u=!0);}catch(e){a=!0,r=e}finally{try{u||null==o.return||o.return()}finally{if(a)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}(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.")}()}import{jsx as i,jsxs as u}from"react/jsx-runtime";import a from"classnames";import{useEffect as l,useLayoutEffect as c,useRef as s,useState as d}from"react";import{X as f}from"react-feather";import{formatToAddBitDepthPoints as m}from"../../../Functions/fieldValueFormatters";import{NUMERIC_KEYBOARD as v}from"../../../Functions/presets/mobileKeyboardTypesPresets";import g from"../../../Functions/useIsMobile/useIsMobile";import p from"../Input/Input";import"./RangeSlider.scss";function h(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:800,r=this;return function(){for(var o=arguments.length,i=Array(o),u=0;u<o;u++)i[u]=arguments[u];clearTimeout(e),e=setTimeout(function(){n.apply(r,i)},t)}}export default function _(e){var n,_,y,b,O=e.required,j=e.noTrack,N=e.rangeSymbol,w=e.min,P=void 0===w?0:w,k=e.max,S=void 0===k?100:k,x=e.decimalPlaces,T=void 0===x?2:x,C=e.minRange,I=void 0===C?0:C,E=e.precision,M=void 0===E?0:E,A=e.testId,B=void 0===A?"range-slider":A,D=e.value,F=void 0===D?{from:P,to:S}:D,R=e.unit,L=e.label,q=e.isUseBitPoints,U=void 0===q||q,K=e.onChange,V=void 0===K?function(){}:K,X=g().isMobile,$=s(0),z=o(d(0),2),G=z[0],H=z[1],J=o(d(0),2),Q=J[0],W=J[1],Y=s(0),Z=s(0),ee=function(e){return Number.parseInt(Number.parseFloat(e)*Math.pow(10,M),10)/Math.pow(10,M)},en=o(d(null!=(y=null==F?void 0:F.from)?y:P),2),et=en[0],er=en[1],eo=function(e){return er(ee(e))},ei=o(d(null!=(b=null==F?void 0:F.to)?b:S),2),eu=ei[0],ea=ei[1],el=function(e){return ea(ee(e))},ec=o(d(null),2);ec[0],ec[1];var es=o(d(null),2),ed=es[0],ef=es[1],em=o(d({from:!1,to:!1}),2),ev=em[0],eg=em[1],ep=function(e,n){return eg(function(o){var i,u;return i=r({},o),u=null!=(u=t({},e,n))?u:{},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(u)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(u,e))}),i})},eh=ed?null==ed?void 0:ed.from:et,e_=ed?null==ed?void 0:ed.to:eu,ey=o(d(null),2),eb=ey[0];ey[1];var eO=o(d(null),2),ej=eO[0],eN=eO[1],ew=o(d(null),2),eP=ew[0],ek=ew[1],eS=o(d(!1),2),ex=eS[0],eT=eS[1],eC=o(d(0),2),eI=eC[0],eE=eC[1],eM=o(d(0),2);eM[0],eM[1];var eA=o(d(0),2);eA[0],eA[1];var eB=function(e){return(e-P)/eI},eD=function(e,n){var t=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=!(arguments.length>3)||void 0===arguments[3]||arguments[3];switch(t&&(n=ee(n)),isNaN(n)&&(n=0),e){case"from":var o=function(e){return(!e&&0!==e||e<P)&&(e=P),e>eu-I&&(e=eu-I),e};t&&(n=o(n)),t?eo(n):er(n),!ex&&r&&h(function(){var e={from:ee(o(n)),to:eu};V(e),ef(e)},800)();break;case"to":var i=function(e){return(!e&&0!==e||e>S)&&(e=S),e<et+I&&(e=et+I),e};t&&(n=i(n)),t?el(n):ea(n),!ex&&r&&h(function(){var e={from:et,to:ee(i(n))};V(e),ef(e)},800)()}},eF=function(e,n){(0===e.button||X)&&(eN(e.target),ek(n),eT(!0))},eR=function(e){if(X||(e.preventDefault(),e.stopPropagation()),ex||eT(!0),!ej)return!1;var n,t=(X?null==e||null==(n=e.touches)?void 0:n[0]:e).clientX,r=((null==ej?void 0:ej.getBoundingClientRect())||{}).width,o=void 0===r?16:r;if(t<Q||t>Q+G+o)return!1;eD(eP,((t-=o/2)-Q)*eI+P)},eL=function(){eN(null),ek(null),eT(!1)},eq=function(e,n){setTimeout(function(){return ep(n,!0)},1)},eU=function(e,n){ep(n,!1)};l(function(){var e,n;eD("from",null!=(e=null==F?void 0:F.from)?e:S,!0,!1),eD("to",null!=(n=null==F?void 0:F.to)?n:P,!0,!1)},[]),l(function(){return document.addEventListener("mouseup",eL),function(){document.removeEventListener("mouseup",eL)}},[]),l(function(){if(ej&&ex){var e=function(e){eR(e)};return document.addEventListener("mousemove",e),function(){document.removeEventListener("mousemove",e)}}},[ej,ex]),l(function(){eb&&document.addEventListener("mousemove",eR,{signal:null==eb?void 0:eb.signal})},[eb]),l(function(){ef(null)},[ex]),l(function(){Object.values(ev).every(function(e){return!e})&&!ex&&(F.from!==et||F.to!==eu)&&V({from:et,to:eu}),ex&&ef({from:et,to:eu})},[et,eu,ex]),c(function(){eo(F.from),el(F.to)},[F]),c(function(){var e,n,t,r,o,i=(null==$||null==(e=$.current)?void 0:e.getBoundingClientRect())||{},u=i.width,a=i.x;eE((S-P)/(u-=(null==Y||null==(t=Y.current)||null==(n=t.getBoundingClientRect())?void 0:n.width)||(null==Z||null==(o=Z.current)||null==(r=o.getBoundingClientRect())?void 0:r.width))),H(u),W(a)},[$]),l(function(){Object.values(ev).every(function(e){return!e})?ef(!1):ef({from:et,to:eu})},[ev]);return u("div",{"data-testid":B,className:"range-slider",children:[u("div",{className:"range-slider__header",children:[u("div",{className:"range-slider__header__label",children:[void 0===L?"":L,O&&i("span",{className:"label_isRequired",children:"*"})]}),P!==eh||S!==e_?u("div",{className:"range-slider__header__selected-range",children:[u("div",{className:"range-slider__header__selected-range--text",children:["from"," ",U?m(eh):eh," ","to"," ",U?m(e_):e_,N,void 0===R?"":R]}),i("div",{className:"range-slider__header__selected-range--reset",onClick:function(){eo(P),el(S)},children:i(f,{})})]}):null]}),u("div",{className:"range-slider__inputs",children:[i("div",{className:"range-slider__inputs--from",children:i(p,r({"data-testid":"".concat(B,"-input-from"),value:et.toString(),onFocus:function(e){return eq(e,"from")},onBlur:function(e){return eU(e,"from")},onChange:function(e){return eD("from",e,!1)},onlyNumbers:{type:"float",decimalPlaces:T,min:P,max:S},isPriceInput:U},v))}),i("div",{className:"range-slider__inputs__input",children:i(p,r({"data-testid":"".concat(B,"-input-to"),value:eu.toString(),onFocus:function(e){return eq(e,"to")},onBlur:function(e){return eU(e,"to")},onChange:function(e){return eD("to",e,!1)},onlyNumbers:{type:"float",decimalPlaces:T,min:P,max:S},isPriceInput:U},v))})]}),u("div",{className:a("range-slider__track",{hidden:j}),ref:$,children:[i("div",{className:"range-slider__track__line"}),i("div",{className:"range-slider__track__range",style:{width:"".concat(eB(e_)-eB(eh),"px"),left:"".concat(eB(eh),"px")}}),(n={left:"".concat(eB(eh),"px")},_={left:"".concat(eB(e_),"px")},u("div",{className:"range-slider__track__range-triggers",children:[i("div",{"data-testid":"".concat(B,"-track-from"),ref:Y,style:n,className:"range-slider__track__range-triggers--trigger range-slider__track__range-triggers--trigger-left",onMouseDown:function(e){return X?{}:eF(e,"from")},onTouchStart:function(e){return eF(e,"from")},onTouchMove:eR,onTouchEnd:eL,onClick:function(){}}),i("div",{"data-testid":"".concat(B,"-track-to"),ref:Z,style:_,className:"range-slider__track__range-triggers--trigger range-slider__track__range-triggers--trigger-right",onMouseDown:function(e){return X?{}:eF(e,"to")},onTouchStart:function(e){return eF(e,"to")},onTouchMove:eR,onTouchEnd:eL,onClick:function(){}})]}))]})]})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function n(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,e=Array(t);r<t;r++)e[r]=n[r];return e}function t(n,t,r){return t in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}function r(n){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{},i=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.forEach(function(r){t(n,r,e[r])})}return n}function e(n,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(n,t){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);r.push.apply(r,e)}return r})(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))}),n}function i(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var r,e,i=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(n);!(l=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);l=!0);}catch(n){a=!0,e=n}finally{try{l||null==i.return||i.return()}finally{if(a)throw e}}return o}}(n,t)||l(n,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 o(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(t)||l(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 l(t,r){if(t){if("string"==typeof t)return n(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return n(t,r)}}import{jsx as a,jsxs as u}from"react/jsx-runtime";import c from"classnames";import{useEffect as d,useLayoutEffect as s,useMemo as v,useRef as f,useState as _}from"react";import{ChevronLeft as g,ChevronRight as m,Plus as p,X as h}from"react-feather";import b from"../../../Functions/useIsMobile/useIsMobile";import{compare as O}from"../../../Functions/utils";import"./RangeSlider2.scss";var y="range-slider2",N=Object.freeze({NO_COLLISION:0,LEFT_COLLISSION:-1,RIGHT_COLLISION:1,BOTH_COLLISION:2}),k=N.LEFT_COLLISSION,I=N.RIGHT_COLLISION,C=N.BOTH_COLLISION,L=N.NO_COLLISION,S=Object.freeze({ASSIGN_TO_LEFT:-1,ASSIGN_TO_RIGHT:1}),T=S.ASSIGN_TO_LEFT,j=S.ASSIGN_TO_RIGHT,w=Object.freeze({FROM:"from",TO:"to",BOTH:"both"});export default function x(n){var l,N,S,x,M,E,R,F,P,A,H,B=n.min,D=void 0===B?300:B,G=n.max,V=void 0===G?850:G,z=n.minRange,U=void 0===z?50:z,X=n.dividersRange,$=void 0===X?50:X,q=n.pointValueType,J=void 0===q?w.FROM:q,K=n.precision,Q=void 0===K?0:K,W=n.step,Y=void 0===W?5:W,Z=n.className,nn=n.value,nt=void 0===nn?[]:nn,nr=n.onChange,ne=void 0===nr?function(){}:nr,ni=n.transformDataOnConcat,no=void 0===ni?function(n,t){return[]}:ni,nl=b().isMobile,na=i(_([]),2),nu=na[0],nc=na[1],nd=f(null),ns=f(null),nv=i(_(0),2),nf=nv[0],n_=nv[1],ng=i(_(0),2),nm=ng[0],np=ng[1],nh=i(_(0),2),nb=nh[0],nO=nh[1],ny=i(_(nt),2),nN=ny[0],nk=ny[1],nI=function(n){var t=n.from,r=n.to,e=n.label,i=n.value,l=n.data,a=void 0===l?[]:l,u=n.id,c=void 0===u?null:u;return nk(function(n){return c||(c=-(((null==n?void 0:n.length)+1)*1)),o(n).concat([{id:c,from:t,to:r,label:e,data:a,value:Number.isInteger(i)?i:0}]).sort(function(n,t){return n.from-t.from})})},nC=function(n){var t=n.from,r=n.to,e=n.label,i=n.value,l=n.data,a=n.id;return nk(function(n){var u=o(n),c=null==u?void 0:u.find(function(n){return n.id===a});return c&&(c.from=null!=t?t:null==c?void 0:c.from,c.to=null!=r?r:null==c?void 0:c.to,c.label=null!=e?e:null==c?void 0:c.label,c.value=void 0!==i?Number.isInteger(i)?i:0:null==c?void 0:c.value,c.data=void 0!==l?l:null==c?void 0:c.data),u})},nL=function(n){var t,r=null==nx||null==(t=nx.find(function(t){return t.id===(null==n?void 0:n.id)}))?void 0:t.value,e=null==n?void 0:n.value,i=null==nN?void 0:nN.find(function(n){return(null==n?void 0:n.to)===e}),o=null==nN?void 0:nN.find(function(n){return(null==n?void 0:n.from)===e+1});i&&o&&(nC({from:null==i?void 0:i.from,to:r,id:null==i?void 0:i.id}),nC({from:r+1,to:null==o?void 0:o.to,id:null==o?void 0:o.id}))},nS=function(n){var t=null==nN?void 0:nN.find(function(t){var r=t.from,e=t.to;return r+U<=n+1&&n<=e-U});if(t){var i=n6||{},o=i.value,l=void 0===o?0:o,a=i.label,u=i.data;nI({value:te===j?l:0,data:te===j?u:null,label:a,from:n+1,to:null==t?void 0:t.to,id:null}),nC(e(r({},t),{value:te===T?l:0,data:te===T?u:null,label:a,to:n})),tn&&tl()}},nT=function(n){var t=i(null==nN?void 0:nN.filter(function(t){var r=t.from,e=t.to;return r===n+1||n===e}),2),r=t[0],e=t[1],o=no(r,e),l=o.data,a=o.value;nC({from:null==r?void 0:r.from,to:null==e?void 0:e.to,id:null==r?void 0:r.id,data:l,value:a}),nj(null==e?void 0:e.id)},nj=function(n){return nk(function(t){return null==t?void 0:t.filter(function(t){return(null==t?void 0:t.id)!==n})})},nw=i(_([]),2),nx=nw[0],nM=nw[1],nE=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isFixed,e=void 0!==r&&r,i=t.isHidden,l=void 0!==i&&i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=a.withRange,c=void 0===u||u,d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:nx.length;return nM(function(t){c&&nS(n);var r,i=o(t),a=(null==t?void 0:t.length)?(r=Math).max.apply(r,o(null==t?void 0:t.map(function(n){return n.id})))+1:0;return i.splice(d,0,{id:a,value:n,isFixed:e,isHidden:l}),i.sort(function(n,t){return n.value<t.value?-1:1})})},nR=i(_(null),2),nF=nR[0],nP=nR[1],nA=i(_(null),2),nH=nA[0],nB=nA[1],nD=i(_(null),2),nG=nD[0],nV=nD[1],nz=i(_(null),2),nU=nz[0],nX=nz[1],n$=i(_(!1),2),nq=n$[0],nJ=n$[1],nK=i(_(!1),2),nQ=nK[0],nW=nK[1],nY=function(){return nW(!0)},nZ=function(){return nW(!1)},n0=i(_(!1),2),n1=n0[0],n2=n0[1],n3=i(_(null),2),n5=n3[0],n8=n3[1],n4=i(_(null),2),n6=n4[0],n7=n4[1],n9=i(_(!1),2),tn=n9[0],tt=n9[1],tr=i(_(T),2),te=tr[0],ti=tr[1],to=function(n,t){n8(n),n7(t),tt(!0)},tl=function(n){null==n||n.stopPropagation(),null==n||n.preventDefault(),n8(null),n7(null),tt(!1),ti(T)},ta=i(_(0),2),tu=ta[0],tc=ta[1],td=function(n){return(n-D)/tu},ts=function(n){var t=(n-nm)*tu+D;return(t-=t%Y)<D&&(t=D),t>V&&(t=V),t-1},tv=function(n,t){if(n<=0)return t;var r,e,i=[(null==nx||null==(r=nx[n-1])?void 0:r.value)+U-1,(null==nx||null==(e=nx[n+1])?void 0:e.value)-U-1],o=i[0],l=i[1];return o===l?C:t===o?k:t===l?I:L},tf=function(n,t){if(n<=0)return t;var r,e,i=[(null==nx||null==(r=nx[n-1])?void 0:r.value)+U-1,(null==nx||null==(e=nx[n+1])?void 0:e.value)-U-1],o=i[0],l=i[1];return t<o?o:t>l?l:t},t_=function(n){var t=tg(n),r=tp(t);if(!r)return 0;var e=r.from,i=r.to,o=e+U-1,l=i-U-1;return o===l?C:t<=o?k:t>=l?I:L},tg=function(n){var t=ts(n),i=null==(o=tm())?void 0:o.reduce(function(n,r){var e=r.from,i=r.to;return i-e+1<=2*U&&e<=t&&t<=i?null:e<=t&&t<=e+U?e+U-1:i-U<=t&&t<=i?i-U-1:n},t);if(!i){var o,l,a,u=null==(a=tm())||null==(l=a.filter(function(n){var t=n.from;return n.to-t+1>=2*U}))?void 0:l.reduce(function(n,i){var o=Math.abs((i.to+i.from)/2-t);return!n||o<(null==n?void 0:n.distance)?e(r({},i),{distance:o}):n},null);u&&((null==u?void 0:u.to)<t&&(i=(null==u?void 0:u.to)-U-1),t<(null==u?void 0:u.from)&&(i=(null==u?void 0:u.from)+U-1))}return i},tm=function(){return nx.map(function(n){return n.value}).sort().reduce(function(n,t,r,e){return 0!==r&&n.push({from:e[r-1],to:t}),n},[])},tp=function(n){return null==nN?void 0:nN.find(function(t){var r=t.from,e=t.to;return r<=n&&n<=e})},th=function(n){switch(J){case w.FROM:return"".concat(n+1);case w.TO:return"".concat(n);case w.BOTH:default:return"".concat(n," | ").concat(n+1)}},tb=function(n,t){var i,l=!(arguments.length>2)||void 0===arguments[2]||arguments[2];l&&(t=Number.parseInt(Number.parseFloat(t)*Math.pow(10,Q),10)/Math.pow(10,Q)),isNaN(t)&&(t=0),i=t,nM(function(t){var l=o(t);return l[n]=e(r({},l[n]),{value:i}),l})},tO=function(n,t){nB(n.target),nV(t),nX(r({},nx[t]))},ty=function(n){if((null==n?void 0:n.cancelable)&&(null==n||n.preventDefault()),null==n||n.stopPropagation(),!nG||!nH)return!1;nq||nJ(!0);var t,r,e=(null!=(r=null==n||null==(t=n.touches)?void 0:t[0])?r:n).clientX,i=((null==nH?void 0:nH.getBoundingClientRect())||{}).width;if(e<nm||e>nm+nf+i)return!1;var o=tf(nG,ts(e));tb(nG,o)},tN=function(){setTimeout(function(){nB(null),nV(null)},1)};d(function(){return nl?document.addEventListener("touchend",tN):document.addEventListener("mouseup",tN),function(){nl?document.removeEventListener("touchend",tN):document.removeEventListener("mouseup",tN)}},[]),d(function(){var n;!nH&&nq?(null==nF||nF.abort(),nJ(!1),nP(null)):nH&&!nq&&nP(new AbortController),null==(n=document.getElementsByTagName("body")[0].classList)||n[nH?"add":"remove"]("moving-cursor")},[nH]),d(function(){return nF&&(nl?document.addEventListener("touchmove",ty,{signal:null==nF?void 0:nF.signal}):document.addEventListener("mousemove",ty,{signal:null==nF?void 0:nF.signal})),function(){nl?document.removeEventListener("touchmove",ty,{signal:null==nF?void 0:nF.signal,passive:!1}):document.removeEventListener("mousemove",ty,{signal:null==nF?void 0:nF.signal})}},[nF]),s(function(){var n,t=(null==nd||null==(n=nd.current)?void 0:n.getBoundingClientRect())||{},r=t.width,e=t.x;tc((V-D)/r),n_(r),np(e)},[nd]),d(function(){ne(nN,nx)},[nN]),d(function(){if(nk([]),nM([]),(null==nu?void 0:nu.length)===0)nI({from:D,to:V}),nE(D,{isFixed:!0,isHidden:!0}),nE(V,{isFixed:!0,isHidden:!0});else{var n,t,e;null==nu||null==(e=nu.reduce(function(n,t){return nI(r({},t)),n.find(function(n){return n===(null==t?void 0:t.from)})||n.splice((null==n?void 0:n.length)-1,0,null==t?void 0:t.from),n.find(function(n){return n===(null==t?void 0:t.to)})||n.splice((null==n?void 0:n.length)-1,0,null==t?void 0:t.to),n},[]))||null==(t=e.sort(function(n,t){return n<t?-1:1}))||null==(n=t.filter(function(n,t,r){return 0===t||n-1!==r[t-1]}))||n.map(function(n,t,r){if(0===t||n-1!==r[t-1]){var e=n===D||n===V;nE(n,{isFixed:e,isHidden:e},{withRange:!1})}})}},[nu]),d(function(){O(nt,nu)||nc(nt)},[nt]),d(function(){!nG&&nU&&(nL(r({},nU)),nX(null))},[nG]);var tk=function(n){var t,r,e=n.isCollisionVisible,i=n.isLeftCollision,o=n.isRightCollision,l=n.isBothCollision,u=n.className,d=Number.parseInt((V-D)/U,10),s=(null!=(r=null==nd||null==(t=nd.current)?void 0:t.getBoundingClientRect())?r:{}).width/d-4,v=e?l?2*s:i||o?s:0:0;return a("div",{className:c("collision",u,{"collision--visible":e,"collision--left":i&&!l,"collision--right":o&&!l,"collision--both":l}),style:{width:v}})},tI=function(){var n=n6||{},t=n.label,r=n.value;return u("div",{className:"".concat(y,"__track__range-triggers--add-trigger__settings"),children:[u("div",{className:"".concat(y,"__track__range-triggers--add-trigger__settings-body"),children:[a("div",{className:"".concat(y,"__track__range-triggers--add-trigger__settings-body--assign-left"),onClick:function(n){n.stopPropagation(),ti(T)},"attr-is-active":"".concat(te===T),children:a(g,{})}),u("div",{className:"".concat(y,"__track__range-triggers--add-trigger__settings-body--lenders-count"),children:[t,r]}),a("div",{className:"".concat(y,"__track__range-triggers--add-trigger__settings-body--assign-right"),onClick:function(n){n.stopPropagation(),ti(j)},"attr-is-active":"".concat(te===j),children:a(m,{})})]}),u("div",{className:"".concat(y,"__track__range-triggers--add-trigger__settings-actions"),children:[a("div",{className:"".concat(y,"__track__range-triggers--add-trigger__settings-actions--cancel"),onClick:function(n){return tl(n)},children:"Cancel"}),a("div",{className:"".concat(y,"__track__range-triggers--add-trigger__settings-actions--apply"),onClick:function(n){n.stopPropagation(),nE(n5)},children:"Apply"})]})]})},tC=v(function(){for(var n=Number.parseInt((V-D)/$,10),t=[],r=0;r<n;++r)t.push(function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return a("div",{className:"".concat(y,"__track__line__dividers--item")},n)}(r));return a("div",{className:"".concat(y,"__track__line__dividers"),children:t})},[nd,U,D,V]);return a("div",{className:y,onMouseOver:function(){return n2(!0)},onMouseLeave:function(){return n2(!1)},onMouseMove:function(n){return nO(null==n?void 0:n.clientX)},children:u("div",{className:c("".concat(y,"__track"),Z),ref:nd,children:[u("div",{className:"".concat(y,"__track__line"),children:[a("div",{className:"".concat(y,"__track__line__extremum--min"),children:D}),tC,a("div",{className:"".concat(y,"__track__line__extremum--max"),children:V})]}),(N=!(null==nx?void 0:nx.filter(function(n){return!n.isHidden}).length),S=tn?td(n5):nb,x=tn?n5:N&&!n1?(D+V)/2-1:tg(S),E=(M=tn?L:t_(S))===k,R=M===I,F=M===C,P=(E||R||F)&&!(N&&!n1),A=td(x),H=tp(x),(null==nx?void 0:nx.find(function(n){return n.value===x}))||nH||nQ?null:u("div",{className:c("".concat(y,"__track__range-triggers--add-trigger"),(t(l={},"".concat(y,"__track__range-triggers--add-trigger--fixed"),tn),t(l,"".concat(y,"__track__range-triggers--add-trigger--force-visible"),N),t(l,"".concat(y,"__track__range-triggers--add-trigger--moved-smoothly"),N&&!n1),l)),style:{left:"".concat(A,"px")},onClick:function(){return(null==H?void 0:H.value)?to(x,H):nE(x)},children:[a("div",{ref:ns,className:c("".concat(y,"__track__range-triggers--add-trigger__point"),t({},"".concat(y,"__track__range-triggers--add-trigger__point--shake"),P)),"data-point-value":th(x),children:a(p,{})}),tn&&tI(),tk({isCollisionVisible:P,isLeftCollision:E,isRightCollision:R,isBothCollision:F})]})),a("div",{className:"".concat(y,"__track__range-triggers"),children:null==nx?void 0:nx.map(function(n,i){var l,d=n.value,s=n.isFixed,v=n.isHidden,f=tv(i,d),_=f===k,g=f===I,m=f===C,p=i===nG,b=p&&nq&&(_||g||m);return u("div",e(r({style:{left:td(d).toString().concat("px")},className:c("".concat(y,"__track__range-triggers--trigger"),(t(l={},"".concat(y,"__track__range-triggers--trigger__moving"),p),t(l,"".concat(y,"__track__range-triggers--trigger__fixed"),s),t(l,"".concat(y,"__track__range-triggers--trigger__hidden"),v),l))},nl?{}:{onMouseOver:nY,onMouseLeave:nZ}),{children:[a("div",r({className:c("".concat(y,"__track__range-triggers--trigger__point"),t({},"".concat(y,"__track__range-triggers--trigger__point--shake"),b)),"data-point-value":th(d)},nl?{onTouchStart:function(n){return tO(n,i)},onTouchEnd:tN}:{onMouseDown:function(n){return tO(n,i)},onMouseUp:tN})),a("div",{className:c("".concat(y,"__track__range-triggers--trigger__actions"),t({},"".concat(y,"__track__range-triggers--trigger__actions--hidden"),p)),children:a("div",{className:"".concat(y,"__track__range-triggers--trigger__actions--remove"),onClick:function(){return nM(function(n){nT(null==(t=n[i])?void 0:t.value);var t,r=o(n);return r.splice(i,1),r})},children:a(h,{})})}),tk({isCollisionVisible:b,isLeftCollision:_,isRightCollision:g,isBothCollision:m,className:"".concat(y,"__track__range-triggers--trigger__collision")})]}),"".concat(y,"__track__range-triggers--trigger-").concat(i))})}),a("div",{className:c("".concat(y,"__track__ranges-value")),children:null==nN?void 0:nN.map(function(n,t){var r=n.from,e=n.to,i=n.label,o=n.value;if(!o)return null;var l=td((e+r)/2);return u("div",{className:c("".concat(y,"__track__ranges-value--item")),style:{left:"".concat(l,"px")},children:[a("div",{className:c("".concat(y,"__track__ranges-value--item__label")),children:i}),a("div",{className:c("".concat(y,"__track__ranges-value--item__value")),children:o})]},"".concat(y,"__track__ranges-value--item-").concat(t))})})]})})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t}from"react/jsx-runtime";import s from"classnames";import i from"../Switcher/Switcher";import"./SwitchableRow.scss";var a="switchable-row";export default function(c){var r=c||{},l=r.RC,o=void 0===l?a:l,d=r.className,m=r.children,n=r.isActive,h=r.setIsActive,v=r.switcherLabel,w=r.isSwitcherLabelBold,b=r.testId,f=void 0===b?a:b;return t("div",{className:s(o,d),"data-testid":f,children:[e("div",{className:s("".concat(o,"__cell")),children:e(i,{isActive:n,onChange:h,isLabelBold:w,label:v,"data-testid":"".concat(f,"-switcher")})}),m]})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function e(e,i,n){return i in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n,e}import{jsx as i,jsxs as n}from"react/jsx-runtime";import t from"classnames";import o from"../CheckboxesLine/CheckboxesLine";import r from"../Switcher/Switcher";import"./SwitcherCheckbox.scss";var a="switcher-hide";export default function(c){var s,l=c.label,d=c.hint,h=c.items,m=void 0===h?[]:h,u=c.value,b=void 0===u?[]:u,f=c.className,v=c.isLabelBold,C=c.isActive,p=c.hintSide,w=c.disabled,x=c.hideChildren,S=c.onSwitcherChange,g=void 0===S?function(){}:S,j=c.onChange,L=void 0===j?function(){}:j,_=function(){return i(o,{items:m,value:b,onChange:L})};return n("div",{className:t(a,f,(e(s={},"".concat(a,"_closed"),!C),e(s,"".concat(a,"_disabled"),w),s)),children:[i(r,{className:"".concat(a,"__switcher"),hintSide:p,label:l,isActive:C,onChange:function(e){return g(e)},isLabelBold:v,hint:d}),C?_():void 0===x||x?"":_()]})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import i from"classnames";import a from"../RangeList/RangeList";import t from"../SwitcherHide/SwitcherHide";import"./SwitcherRangeList.scss";var r="switcher-range-list";export default function(s){var l=s.className,n=s.label,o=s.isLabelBold,c=s.hint,d=s.hintSide,m=s.disabled,u=s.isActive,h=s.value,v=s.validateErrors,f=s.isFloatValues,g=s.decimalPlaces,w=s.error,x=s.defaultErrorText,b=s.nullValueText,p=s.isOnlyOneRow,L=s.setIsActive,R=s.onChange,S=s.testId;return e(t,{isActive:u,onChange:void 0===L?function(){}:L,label:n,isLabelBold:o,hint:c,hintSide:d,className:i(r,l),disabled:m,children:e("div",{className:"switcher-range-list__row",children:e(a,{testId:S,className:"".concat(r,"__range-list"),value:h,isOnlyOneRow:p,onChange:void 0===R?function(){}:R,validateErrors:v,isFloatValues:f,decimalPlaces:g,error:w,defaultErrorText:x,nullValueText:b})})})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t,Fragment as i}from"react/jsx-runtime";import a from"classnames";import c from"../SwitcherHide/SwitcherHide";import n from"../Textarea/Textarea";import s from"../TextSwitcher/TextSwitcher";import"./SwitcherTextarea.scss";var r="switcher-textarea";export default function(o){var d=o.label,l=o.isLabelBold,h=o.hint,m=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(r,m),hint:h,disabled:S,children:t(i,{children:[t("div",{className:"".concat(r,"__wrap switcher-hide__content"),children:[e(s,{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(r,"__text-switcher")}),e("button",{onClick:function(){return b("")},className:"".concat(r,"__btn"),children:"Clear"})]}),e(n,{testId:g,value:void 0===_?"":_,placeholder:C,onChange:function(e){return b(e)},className:"".concat(r,"__textarea")})]})})}
|
|
@@ -1 +0,0 @@
|
|
|
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 c from"classnames";import"./Text.scss";var i="text";export default function(a){var s,l,f,u,p=a.value,y=a.className,b=a.classesObj,O=a.icon,j=a.link,m=a.align,d=void 0===m?"left":m,g=a.testId;if(!p)return null;var v=(null!=(s=Object)&&"undefined"!=typeof Symbol&&s[Symbol.hasInstance]?!!s[Symbol.hasInstance](j):j instanceof s)&&!Array.isArray(j),h="string"==typeof j,P=v||h,w=v?j:{},S=w.path,x=w.target,D=w.redirect,k=w.onClick,N=w.isNoPreventDefault,I=w.isNoStopPropagation,_=P?v?void 0===S?"":S:j:"",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},j));D(_)});var C=n(o,{children:[O&&r("div",{className:"".concat(i,"__icon-container"),children:O}),p]});return r("div",{"data-testid":void 0===g?"text-lib-component":g,className:c(i,y,t((e(u={},"".concat(i,"-left"),"left"===d),e(u,"".concat(i,"-center"),"center"===d),e(u,"".concat(i,"-right"),"right"===d),e(u,"".concat(i,"-justify"),"justify"===d),u),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})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import e from"classnames";import{useEffect as a,useRef as o}from"react";import{formatToOnlyASCIICodeText as n}from"../../../Functions/fieldValueFormatters";import"./Textarea.scss";var r="textarea";export default function(i){var l=i.ref,c=i.id,s=i.value,u=i.onChange,d=i.onFocus,f=i.onBlur,m=i.placeholder,h=i.disabled,v=i.className,p=i.isNotValidateASCII,x=void 0!==p&&p,g=i.testId,w=void 0===g?r:g,y=i.withAutoGrow,F=i.onKeyDown,N=o(),C=l||N,I=function(t){var e=t;x||(e=n(e)),u(e)},b=function(t){t.style.height="5px",t.style.height="".concat(t.scrollHeight,"px")};return a(function(){y&&b(null==C?void 0:C.current)},[s,y]),t("div",{"data-testid":w,className:e("".concat(r),v),children:t("textarea",{id:null!=c?c:Math.random().toString(16).slice(2),"data-testid":"".concat(w,"-textarea"),className:"".concat(r,"__textarea"),value:s,onChange:function(t){return I(t.target.value)},placeholder:m,disabled:h,onKeyDown:void 0===F?function(){}:F,ref:C,onFocus:function(t){null==d||d(t)},onBlur:function(t){null==f||f(t)}})})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as n,Fragment as l}from"react/jsx-runtime";import a from"classnames";import c from"../../../UI/MonoAccordion/MonoAccordion";import r from"../../CheckboxInput/CheckboxInput";import"../TieredCheckboxes.scss";export default function(i){var t,o,s,d,u,h,m,p,b,f=i.children,v=i.parent,x=i.onChange,C=i.className,g=i.RC,k=i.setIsOpen,N=i.icon,j=i.disabled,I=i.datasetProp,O=i.isUseParentsClassesAsDataset;return e(c,{datasetProp:I,className:a(C,(t={},o="".concat(v.className),s=!O,o in t?Object.defineProperty(t,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[o]=s,t)),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==(m=v.children)||null==(h=m.every)?void 0:h.call(m,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})}
|
|
@@ -1 +0,0 @@
|
|
|
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 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})})]})]})}
|
|
@@ -1 +0,0 @@
|
|
|
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 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"})})})]})]})}
|
|
@@ -1 +0,0 @@
|
|
|
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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),a.forEach(function(n){t(e,n,r[n])})}return e}function r(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 r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}import{jsx as a,jsxs as c}from"react/jsx-runtime";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=[r(n({},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,n){if(t){if("string"==typeof t)return e(t,void 0);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)}}(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,r(n({},_),{field:n(r(n({},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(n,r,a,c,o){return w({value:r,additional:o,propName:a,innerFieldKey:c,key:t.key||n,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"})})})]})]})}
|
|
@@ -1 +0,0 @@
|
|
|
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(r,e){return function(t){if(Array.isArray(t))return t}(r)||function(t,r){var e,n,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i=[],a=!0,c=!1;try{for(o=o.call(t);!(a=(e=o.next()).done)&&(i.push(e.value),!r||i.length!==r);a=!0);}catch(t){c=!0,n=t}finally{try{a||null==o.return||o.return()}finally{if(c)throw n}}return i}}(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 e,jsxs as n}from"react/jsx-runtime";import o from"classnames";import{useEffect as i,useRef as a,useState as c}from"react";import{ChevronDown as u,ChevronUp as l}from"react-feather";import"./AccordionText.scss";export default function(t){var s=t.isDefaultOpen,d=t.isOuterOpen,m=void 0!==d&&d,f=t.className,p=t.text,v=void 0===p?"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.":p,y=t.shortText,b=void 0===y?null:y,h=a(null),x=r(c(void 0!==s&&s),2),g=x[0],A=x[1],j=r(c(!1),2),O=j[0],S=j[1];return i(function(){A(m)},[m]),i(function(){var t=function(){h.current&&S(h.current.scrollWidth>h.current.clientWidth)},r=new ResizeObserver(function(){t()});return h.current&&(r.observe(h.current),t()),function(){h.current&&r.unobserve(h.current)}},[v]),n("div",{className:o("accordion-text",f,{"accordion-text--open":g}),onClick:function(){return A(function(t){return!t})},children:[e("div",{className:o("accordion-text__body",{"accordion-text__body--trim-text":O&&!g}),ref:h,children:b?g?v:b:v}),e("div",{className:"accordion-text__toggle",children:g?e(l,{}):e(u,{})})]})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import r from"classnames";import"./Box.scss";var t={column:"column",row:"row"},n={s:"s",m:"m"};export default function(o){var c,i,a=o.children,l=o.paddingVariant,s=void 0===l?n.m:l,b=o.radiiVariant,f=void 0===b?n.s:b,p=o.direction,u=void 0===p?t.column:p,O=o.className,d=function(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)t=c[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n<c.length;n++)t=c[n],!(r.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(o,["children","paddingVariant","radiiVariant","direction","className"]);return e("div",(c=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({style:{flexDirection:u},className:r("box","box--padding-".concat(s),"box--radii-".concat(f),O,{df:u===t.row,"dfc-jc":u===t.column})},d),i=i={children:a},Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(i)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(i)).forEach(function(e){Object.defineProperty(c,e,Object.getOwnPropertyDescriptor(i,e))}),c))}
|
|
@@ -1 +0,0 @@
|
|
|
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(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}function n(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=[],c=!0,a=!1;try{for(i=i.call(t);!(c=(e=i.next()).done)&&(o.push(e.value),!r||o.length!==r);c=!0);}catch(t){a=!0,n=t}finally{try{c||null==i.return||i.return()}finally{if(a)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 i,jsxs as o}from"react/jsx-runtime";import{BarElement as c,CategoryScale as a,Chart as l,Filler as u,LinearScale as s,LineElement as f,PointElement as p,Tooltip as d}from"chart.js";import m from"classnames";import{useCallback as y,useEffect as h,useLayoutEffect as b,useMemo as v,useRef as O,useState as j}from"react";import*as g from"react-chartjs-2";import{clone as w}from"../../../Functions/utils";import{COMPONENT_OPTIONS as _,DEFAULT_CHART_MODEL as S,ICON_MODELS as P}from"./partial/Chart.constants";import C from"./partial/ChartTypeSwitcherIcon/ChartTypeSwitcherIcon";import{correctModelKey as A,getChartTypeKey as N,getNotLibraryOptionsOptions as D,getOptions as T,prepareData as x}from"./partial/utils";import"./Chart.scss";var L="chart";l.register(a,s,c,p,f,u,d);export default function(t){var c,a,l,u=t.className,s=t.initialModel,f=t.modelsForSwitch,p=t.setModelExternalValue,d=t.description,I=t.customOptions,k=t.data,E=t.addToDatasets,F=t.modifyOptions;if(!k)return null;var M=d||{},B=M.label,U=M.value,V=n(j(S),2),$=V[0],q=V[1],z=n(j(k),2),G=z[0],H=z[1],J=O(null),K=O(null),Q=v(function(){return I||(F?F(T($)):T($))},[I,$,null==F||null==(l=F.toString)?void 0:l.call(F),k]),R=v(function(){return I?null==I?void 0:I.notLibraryOptions:D($)},[I,$,k]),W=y(function(t){return i(g[N($)],e({ref:J},t))},[$]),X=_.disableDescriptionsFor.includes($),Y=_.disableChartTypeSwitcherFor.includes($);return b(function(){p&&"emptyLayout"!==$&&p($)},[$]),b(function(){var t,r,e=(R||{}).setCanvasDimensions;K.current&&(K.current.style.width=null!=(t=null==e?void 0:e.width)?t:"",K.current.style.height=null!=(r=null==e?void 0:e.height)?r:"")},[R]),h(function(){q(A(s))},[s]),h(function(){H(x($,w(k),J.current,E))},[$,k]),o("div",{className:m(L,r({},"".concat(L,"_icon-mode"),P.includes($)),u),children:[o("div",{className:m("".concat(L,"__header"),r({},"".concat(L,"__header_only-switcher"),!d)),children:[d&&!X?o("div",{className:m("".concat(L,"__description")),children:[B?i("span",{className:m("".concat(L,"__description-title")),children:B}):null,U?i("div",{className:m("".concat(L,"__description-value")),children:U}):null]}):null,Y?null:o("div",{className:m("".concat(L,"__type-switcher")),children:[i(C,{iconType:"Bar",isActive:"Bar"===N($),onClick:function(){return q((null==f?void 0:f[0])||"barLayout")}}),i(C,{iconType:"Line",isActive:"Line"===N($),onClick:function(){return q((null==f?void 0:f[1])||"lineLayout")}})]})]}),i("div",{ref:K,className:m("".concat(L,"__chart-wrapper")),children:i(W,(c=e({},Q),a=a={data:G},Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(a)):(function(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e.push.apply(e,n)}return e})(Object(a)).forEach(function(t){Object.defineProperty(c,t,Object.getOwnPropertyDescriptor(a,t))}),c))})]})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t}from"react/jsx-runtime";import r from"classnames";import"./ChartTypeSwitcherIcon.scss";var i="chart__type-switcher-icon";export default function(n){var o,s,c=n.iconType,a=n.isActive,h=n.className,d=n.onClick;return e("div",{className:r(i,(o={},s="".concat(i,"_active"),s in o?Object.defineProperty(o,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[s]=a,o),h),onClick:d,children:function(r){switch(r){case"Bar":return t("svg",{width:"24",height:"24",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("rect",{y:"0.5",width:"24",height:"24",rx:"4",fill:"#EAF2FF"}),e("path",{d:"M18 18V11",stroke:"#1F7499",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M12 18V6",stroke:"#1F7499",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M6 18V13",stroke:"#1F7499",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]});case"Line":return t("svg",{width:"24",height:"24",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("rect",{y:"0.5",width:"24",height:"24",rx:"4",fill:"#EAF2FF"}),e("path",{d:"M21 8L15.2544 13.2668C14.1075 14.3181 12.3288 14.3014 11.1818 13.25V13.25C10.0349 12.1986 8.25615 12.1819 7.10919 13.2332L3 17",stroke:"#1F7499",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]});default:return null}}(c)})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as t,jsxs as e}from"react/jsx-runtime";import a from"classnames";import r from"moment-timezone";import{useMemo as m}from"react";import"./DateTime.scss";var o="date-time";export default function(i){var s,c,n,d=i.className,l=i.value,u=i.valueFormat,f=i.dateFormat,p=i.timeFormat,v=i.isNoDate,N=i.isNoTime,_=i.testId,b=void 0===_?"date-time":_,j=f||"DD.MM.YYYY",x=p||"HH:mm:ss",D=m(function(){return(u?r(l,u):r(l)).format(j)},[l,u,j]),Y=m(function(){return(u?r(l,u):r(l)).format(x)},[l,u,x]);return e("div",{"data-testid":b,className:a(o,d),children:[!v&&t("span",{"data-testid":"".concat(b,"-date"),className:a("".concat(o,"__date")),children:D}),!N&&t("span",{"data-testid":"".concat(b,"-time"),className:a("".concat(o,"__time"),(s={},c="".concat(o,"_color--pause"),n=!v,c in s?Object.defineProperty(s,c,{value:n,enumerable:!0,configurable:!0,writable:!0}):s[c]=n,s)),children:Y})]})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function t(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r<n;r++)e[r]=t[r];return e}function n(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(n){var e;e=r[n],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e})}return t}function r(t,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r.push.apply(r,e)}return r})(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}),t}function e(n,r){return function(t){if(Array.isArray(t))return t}(n)||function(t,n){var r,e,a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var o=[],i=!0,l=!1;try{for(a=a.call(t);!(i=(r=a.next()).done)&&(o.push(r.value),!n||o.length!==n);i=!0);}catch(t){l=!0,e=t}finally{try{i||null==a.return||a.return()}finally{if(l)throw e}}return o}}(n,r)||function(n,r){if(n){if("string"==typeof n)return t(n,r);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return t(n,r)}}(n,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.")}()}import{jsx as a,jsxs as o}from"react/jsx-runtime";import{createElement as i}from"react";import l from"classnames";import{useLayoutEffect as u,useMemo as c,useState as s}from"react";import{formatToPriceWithUSD as b}from"../../../Functions/fieldValueFormatters";import{clone as f}from"../../../Functions/utils";import p from"../../FormElements/InputDateRange/InputDateRange";import d from"../Chart/Chart";import{getLabels as m,getMockValue as y,getSafelyDateRange as h,getTab as g}from"./partial/utils";import"./partial/AnyOuterClass.scss";export default function(t){var v=t||{},O=v.inputDateRangeProps,j=v.chartProps,w=O||{},C=w.value,P=w.onChange,k=(j||{}).initialChartType,L=c(function(){return h(C)},[C]),S=e(s(k||"Bar"),2),T=S[0],B=S[1],M=e(s("tab1"),2),D=M[0],x=M[1],A=e(s("Bar"===T?"finturfLoadingModeBar":"finturfLoadingModeLine"),2),N=A[0],E=A[1],F=e(s(null),2),I=F[0],_=F[1],R=e(s(null),2),V=R[0],J=R[1],U=e(s(null),2),$=U[0],q=U[1],z=e(s(null),2),G=z[0],H=z[1],K=e(s(null),2),Q=K[0],W=K[1],X=function(){var t=m(L);return{labels:t,datasets:[{data:t.map(function(t){return y()})}]}},Y=function(t){switch(t){case"tab1":return I?f(I):null;case"tab2":return V?f(V):null;case"tab3":return $?f($):null;case"tab4":return G?f(G):null;default:return null}},Z=c(function(){return Y(D)?["finturfChartBar","finturfChartLine"]:["finturfLoadingModeBar","finturfLoadingModeLine"]},[!!Y(D)]),tt=function(t,n){switch(n){case"tab1":_(t);break;case"tab2":J(t);break;case"tab3":q(t);break;case"tab4":H(t)}return t};return u(function(){_(null),J(null),q(null),H(null),Promise.all([g("tab1",L,tt),g("tab2",L,tt),g("tab3",L,tt),g("tab4",L,tt)])},[L]),u(function(){E(Y(D)?"Bar"===T?"finturfChartBar":"finturfChartLine":"Bar"===T?"finturfLoadingModeBar":"finturfLoadingModeLine"),W(Y(D)?Y(D):X())},[!!Y(D),D,T]),o("div",{className:"example-wrapper",children:[a(p,r(n({},O),{value:C,onChange:P})),o("div",{className:"buttons-block",children:[a("button",{className:l("tab-button",{"tab-button_active":"tab1"===D}),onClick:function(){return x("tab1")},children:"Tab 1"}),a("button",{className:l("tab-button",{"tab-button_active":"tab2"===D}),onClick:function(){return x("tab2")},children:"Tab 2"}),a("button",{className:l("tab-button",{"tab-button_active":"tab3"===D}),onClick:function(){return x("tab3")},children:"Tab 3"}),a("button",{className:l("tab-button",{"tab-button_active":"tab4"===D}),onClick:function(){return x("tab4")},children:"Tab 4"})]}),i(d,r(n({},j),{key:JSON.stringify(Q),data:Q,setModelExternalValue:function(t){B(t.includes("Line")?"Line":"Bar"),E(t)},initialModel:N,modelsForSwitch:Z,description:{label:function(t){switch(t){case"tab1":return"Tab 1";case"tab2":return"Tab 2";case"tab3":return"Tab 3";case"tab4":return"Tab 4";default:return null}}(D)},addToDatasets:{id:D},modifyOptions:function(t){var e,a,o,i,l,u;return r(n({},t),{options:r(n({},null==t?void 0:t.options),{plugins:r(n({},null==t||null==(e=t.options)?void 0:e.plugins),{tooltip:r(n({},null==t||null==(o=t.options)||null==(a=o.plugins)?void 0:a.tooltip),{callbacks:r(n({},null==t||null==(u=t.options)||null==(l=u.plugins)||null==(i=l.tooltip)?void 0:i.callbacks),{label:function(t){return"tab3"===t.dataset.id||"tab4"===t.dataset.id?b(t.raw||"0"):t.raw||"0"}})})})})})}}))]})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{ArcElement as a,Chart as r,Tooltip as s}from"chart.js";import{Pie as i}from"react-chartjs-2";import"./PieChart.scss";r.register(a,s);export default function(a){var r=a.data,s=a.cutout,l=a.resultLabel,c=a.resultValue,d=a.withLegend;return t("div",{className:"pie-chart-box",style:{maxWidth:"320px"},children:[e(i,{data:r,options:{cutout:void 0===s?"80%":s,plugins:{legend:{display:void 0!==d&&d}}}}),!!l&&t("div",{className:"pie-chart__result",children:[t("div",{className:"pie-chart__result-value",children:[void 0===c?0:c,e("span",{className:"pie-chart__result-percent",children:"%"})," "]}),e("div",{className:"pie-chart__result-label",children:l})]})]})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t}from"react/jsx-runtime";import a from"classnames";import s from"../../../../Langs";import"../Table.scss";export default function(l){var i=l.item,d=l.testId,r=void 0===d?"td-header":d,c=s[globalThis.lng];return"double"===i.type?e("th",{"data-testid":r,children:t("div",{className:"j46",children:[e("div",{className:"",children:c.labels[i.left]||i.left}),e("div",{className:"",children:c.labels[i.right]||i.right})]})}):e("th",{"data-testid":r,className:a(i.className),children:t("div",{className:a({df:i.button}),children:[e("div",{className:"mr5",children:c.labels[i.label]||i.label}),i.button&&e("div",{className:"cards-table__btn",children:c.buttons[i.button]||i.button})]})})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,l=Array(e);r<e;r++)l[r]=t[r];return l}import{jsx as e,jsxs as r}from"react/jsx-runtime";import{useState as l}from"react";import n from"../../../../../Langs";import a from"../../Modal/Modal";import i from"../../Tag/Tag";import"../Table.scss";export default function(o){var s,c=o.locations,d=o.title,u=n[globalThis.lng],m=(s=l(!1),function(t){if(Array.isArray(t))return t}(s)||function(t,e){var r,l,n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var a=[],i=!0,o=!1;try{for(n=n.call(t);!(i=(r=n.next()).done)&&(a.push(r.value),a.length!==e);i=!0);}catch(t){o=!0,l=t}finally{try{i||null==n.return||n.return()}finally{if(o)throw l}}return a}}(s,2)||function(e,r){if(e){if("string"==typeof e)return t(e,2);var l=Object.prototype.toString.call(e).slice(8,-1);if("Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l)return Array.from(l);if("Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return t(e,r)}}(s,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.")}()),f=m[0],b=m[1];return r("div",{className:"cards-table__title-box",children:[r("div",{className:"cards-table__title-box--left",children:[e("div",{className:"cards-table__title-box--title",children:u.titles[d]||d}),r("div",{className:"cards-table__title-box--tags",children:[r("span",{className:"mr5",children:[u.labels.locations.toUpperCase(),":"]}),null==c?void 0:c.map(function(t,r){return e(i,{label:t.label},r)})]})]}),r("div",{className:"cards-table__title-box--right",children:[e("span",{onClick:function(){return b(!0)},className:"cards-table__title-edit-btn mr5",children:u.buttons.edit}),e(a,{mode:"edit",closeModal:function(){return b(!1)},isOpen:f,title:u.titles.pingTree,size:"420",children:"test"}),e("span",{className:"cards-table__title-delete-btn",children:u.buttons.deletePingTree})]})]})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function r(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=Array(t);e<t;e++)n[e]=r[e];return n}function t(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(t)||function(t,e){if(t){if("string"==typeof t)return r(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 r(t,e)}}(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.")}()}import{jsx as e,jsxs as n}from"react/jsx-runtime";import o from"classnames";import i from"./Partials/TdHeader";import a from"./Partials/TdRow";import"./Table.scss";export default function(r){var l,c,u=r.rows,d=r.onChange,s=r.className,m=r.header,f=r.onActionClick,b=r.testId,p=function(r,e){u[e]=r,d({header:t(m),rows:t(u)})};return e("div",{"data-testid":void 0===b?"table":b,className:o("simple-table",(l={},c="simple-table--".concat(s),c in l?Object.defineProperty(l,c,{value:s,enumerable:!0,configurable:!0,writable:!0}):l[c]=s,l)),children:n("table",{children:[e("thead",{children:e("tr",{children:null==m?void 0:m.map(function(r){return e(i,{item:r},r.key)})})}),e("tbody",{children:u&&(null==u?void 0:u.length)?null==u?void 0:u.map(function(r,t){var n;return e(a,{onActionClick:f,rowIndex:t,item:r,header:m,onChange:function(r){return p(r,t)}},"object"==((n=r.id)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)?r.id.value:r.id)}):e("tr",{children:e("td",{className:"row--not-found",colSpan:null==m?void 0:m.length,children:"Not set"})})})]})})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function t(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}function r(r,n){if(r){if("string"==typeof r)return t(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);if("Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return t(r,n)}}import{jsx as n}from"react/jsx-runtime";import{useState as e}from"react";import*as o from"react-feather";import i from"../../../FormElements/Switcher/Switcher";import"./TdTypes.scss";export function TdActions(a){var l,c=a.actions,u=a.onChange,s=a.onActionClick,d=a.rowItem;if(!c)return!1;var f=(l=e(c),function(t){if(Array.isArray(t))return t}(l)||function(t,r){var n,e,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=(n=o.next()).done)&&(i.push(n.value),i.length!==r);a=!0);}catch(t){l=!0,e=t}finally{try{a||null==o.return||o.return()}finally{if(l)throw e}}return i}}(l,2)||r(l,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.")}()),m=f[0],y=f[1],h=function(n,e,o){m[e][o]=n,y(function(r){if(Array.isArray(r))return t(r)}(m)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(m)||r(m)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u(m)};return n("div",{className:"j6",children:null==c?void 0:c.map(function(t,r){switch(t.type){case"download":return n("div",{className:"td-actions--item td-actions--download",onClick:function(){},children:n(o.Download,{})},r);case"edit":return n("div",{className:"td-actions--item td-actions--edit",onClick:function(){},children:n(o.Edit3,{})},r);case"delete":return n("div",{className:"td-actions--item td-actions--delete",onClick:function(){return s("delete",d)},children:n(o.Trash2,{})},r);case"undo":return n("div",{className:"td-actions--item td-actions--undo",onClick:function(){return s("undo",d)},children:n(o.RotateCcw,{})},r);case"switcher":return n("div",{className:"df",children:n(i,{label:t.label||null,isActive:null==t?void 0:t.value,onChange:function(t){return h(t,r,"value")}})},r);default:return null}})})}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as a,jsxs as r}from"react/jsx-runtime";import e from"classnames";import{ArrowDown as s,ArrowUp as c}from"react-feather";import"../Table.scss";export default function(i){var n=i.onClick,t=i.rowIndex,l=i.cardLength;return r("div",{className:"cards-table__priority",children:[a("span",{className:"mr5",children:t+1}),r("div",{className:"df",children:[a(s,{onClick:function(){return n(t)},className:e("table--icon",{disabled:t+1===l})}),a(c,{onClick:function(){return n(t,!0)},className:e("table--icon",{disabled:0===t})})]})]})}
|