@scbt-ecom/ui 0.145.0 → 0.145.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/widgets/header/model/helpers.js +1 -1
- package/dist/lib/widgets/header/model/helpers.js.map +1 -1
- package/dist/lib/widgets/model/helpers.js +2 -2
- package/dist/lib/widgets/model/helpers.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/Menu.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/Menu.js.map +1 -1
- package/dist/stats.html +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{ButtonWithHandlers as i}from"../../buttonWithHandlers/ButtonWithHandlers.js";import"../../../../node_modules/classnames/index.js";import"react";import"../../../shared/ui/button/Button.js";import"../../../shared/ui/buttonIcon/ButtonIcon.js";import{PhoneView as m}from"../../../shared/ui/phoneView/PhoneView.js";import"../../../shared/ui/calendar/Calendar.js";import"../../../shared/ui/calendar/model/utils.js";import"../../../shared/ui/accordion/Accordion.js";import"react-hook-form";import"react-dom";import"../../../shared/ui/modal/ui/IframeModalContent.js";import"../../../../node_modules/react-hot-toast/dist/index.js";import"../../../shared/ui/table/ui/primitives/Primitives.js";import"../../../shared/ui/carousel/ui/CarouselContent.js";import"../../../shared/ui/slot/Slot.js";import"../../../shared/ui/formElements/uncontrolled/autocomplete/Autocomplete.js";import"../../../shared/ui/formElements/uncontrolled/checkbox/Checkbox.js";import"../../../shared/ui/formElements/uncontrolled/combobox/combobox.js";import"../../../shared/ui/formElements/uncontrolled/dayPicker/DayPicker.js";import"../../../shared/ui/formElements/uncontrolled/input/Input.js";import"../../../shared/ui/formElements/uncontrolled/inputOtp/InputOtpBase.js";import"../../../shared/ui/formElements/uncontrolled/maskInput/MaskInput.js";import"../../../shared/ui/formElements/uncontrolled/radio/RadioGroup.js";import"../../../shared/ui/formElements/uncontrolled/radio/ui/RadioItem.js";import"../../../shared/ui/formElements/uncontrolled/slider/SliderBase.js";import"../../../shared/ui/formElements/uncontrolled/switch/Switch.js";import"../../../shared/ui/formElements/uncontrolled/textarea/Textarea.js";import"../../../shared/ui/formElements/uncontrolled/uploader/UploaderBase.js";import"../../../shared/ui/formElements/uncontrolled/inputCurrency/InputCurrency.js";import"../../../../src/configs/api.js";import"../../../shared/ui/formElements/controlled/editor/ui/Editor.js";import"../../../shared/ui/formElements/controlled/input/MaskInputControl.js";import"../../../shared/ui/dropdownList/ui/dropdownItem/DropdownItem.js";const L=({variant:o,details:t})=>{switch(o){case"withButton":return r(i,{...t});case"withPhone":return r(m,{classes:{root:"items-end"},...t,phone:t.phone});default:return null}};export{L as renderContentVariant};
|
|
2
2
|
//# sourceMappingURL=helpers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.js","sources":["../../../../../lib/widgets/header/model/helpers.tsx"],"sourcesContent":["import { ButtonWithHandlers } from '../../buttonWithHandlers'\nimport type { HeaderProps, HeaderVariantType } from './types'\nimport { PhoneView } from '$/shared/ui'\
|
|
1
|
+
{"version":3,"file":"helpers.js","sources":["../../../../../lib/widgets/header/model/helpers.tsx"],"sourcesContent":["import { ButtonWithHandlers } from '../../buttonWithHandlers'\nimport type { HeaderProps, HeaderVariantType } from './types'\nimport { PhoneView } from '$/shared/ui'\n\nexport const renderContentVariant = <Type extends HeaderVariantType>({ variant, details }: HeaderProps<Type>) => {\n switch (variant) {\n case 'withButton':\n return <ButtonWithHandlers {...details} />\n case 'withPhone':\n return <PhoneView classes={{ root: 'items-end' }} {...details} phone={details.phone} />\n default:\n return null\n }\n}\n"],"names":["renderContentVariant","variant","details","jsx","ButtonWithHandlers","PhoneView"],"mappings":"+lEAIO,MAAMA,EAAuB,CAAiC,CAAE,QAAAC,EAAS,QAAAC,KAAiC,CAC/G,OAAQD,EAAA,CACN,IAAK,aACH,OAAOE,EAACC,EAAA,CAAoB,GAAGF,CAAA,CAAS,EAC1C,IAAK,YACH,OAAOC,EAACE,EAAA,CAAU,QAAS,CAAE,KAAM,WAAA,EAAgB,GAAGH,EAAS,MAAOA,EAAQ,KAAA,CAAO,EACvF,QACE,OAAO,IAAA,CAEb"}
|