@wix/editor-react-components 1.2806.0 → 1.2807.0
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/site/components/AccordionComponent/component.js +1 -1
- package/dist/site/components/AccordionComponent/manifest.js +1 -1
- package/dist/site/components/AudioPlayer/component.js +1 -1
- package/dist/site/components/AudioPlayer/manifest.js +1 -1
- package/dist/site/components/BoxContainer/component.js +1 -2
- package/dist/site/components/BoxContainer/constants.d.ts +10 -2
- package/dist/site/components/BoxContainer/manifest.js +5 -4
- package/dist/site/components/Breadcrumbs/component.js +7 -6
- package/dist/site/components/Breadcrumbs/constants.d.ts +3 -0
- package/dist/site/components/Breadcrumbs/manifest.js +5 -2
- package/dist/site/components/DatePicker/component.js +4 -6
- package/dist/site/components/DatePicker/constants.d.ts +7 -3
- package/dist/site/components/DatePicker/manifest.js +6 -4
- package/dist/site/components/Dropdown/component.js +8 -2
- package/dist/site/components/Dropdown/constants.d.ts +3 -1
- package/dist/site/components/Dropdown/manifest.js +5 -3
- package/dist/site/components/GoogleMap/component.js +15 -24
- package/dist/site/components/GoogleMap/consts.d.ts +12 -0
- package/dist/site/components/GoogleMap/manifest.js +5 -8
- package/dist/site/components/HTMLComponent/component.js +11 -12
- package/dist/site/components/HTMLComponent/constants.d.ts +5 -1
- package/dist/site/components/HTMLComponent/manifest.js +6 -15
- package/dist/site/components/HipaaIcon/component.js +7 -9
- package/dist/site/components/HipaaIcon/constants.d.ts +7 -0
- package/dist/site/components/HipaaIcon/manifest.js +6 -4
- package/dist/site/components/LinkBar/component.js +9 -5
- package/dist/site/components/LinkBar/constants.d.ts +10 -2
- package/dist/site/components/LinkBar/manifest.js +5 -4
- package/dist/site/components/Lottie/component.js +7 -4
- package/dist/site/components/Lottie/constants.d.ts +5 -0
- package/dist/site/components/Lottie/manifest.js +6 -8
- package/dist/site/components/MarkdownBlock/component.js +7 -7
- package/dist/site/components/MarkdownBlock/constants.d.ts +4 -0
- package/dist/site/components/MarkdownBlock/manifest.js +6 -4
- package/dist/site/components/Menu/component.js +11 -19
- package/dist/site/components/Menu/constants.d.ts +11 -4
- package/dist/site/components/Menu/manifest.js +6 -12
- package/dist/site/components/Repeater/constants.d.ts +4 -0
- package/dist/site/components/Repeater/manifest.js +5 -7
- package/dist/site/components/ShareButtons/component.js +40 -16
- package/dist/site/components/ShareButtons/constants.d.ts +17 -5
- package/dist/site/components/ShareButtons/manifest.js +6 -8
- package/dist/site/components/Slideshow/component.js +7 -4
- package/dist/site/components/Slideshow/constants.d.ts +5 -0
- package/dist/site/components/Slideshow/manifest.js +6 -4
- package/dist/site/components/TextMarquee/component.js +13 -14
- package/dist/site/components/TextMarquee/components/constants.d.ts +4 -0
- package/dist/site/components/TextMarquee/consts.d.ts +1 -0
- package/dist/site/components/TextMarquee/manifest.js +6 -27
- package/dist/site/components/TimePicker/component.js +8 -2
- package/dist/site/components/TimePicker/constants.d.ts +3 -1
- package/dist/site/components/TimePicker/manifest.js +6 -4
- package/dist/site/components/VideoScrub/component.js +8 -11
- package/dist/site/components/VideoScrub/constants.d.ts +3 -1
- package/dist/site/components/VideoScrub/manifest.js +6 -4
- package/dist/site/components/chunks/Slideshow.semanticClassNames.js +7 -0
- package/dist/site/components/chunks/constants2.js +7 -1
- package/dist/site/components/chunks/constants22.js +26 -19
- package/dist/site/components/chunks/constants23.js +2 -0
- package/dist/site/components/chunks/constants27.js +9 -0
- package/dist/site/components/chunks/constants28.js +7 -1
- package/dist/site/components/chunks/constants29.js +7 -0
- package/dist/site/components/chunks/constants31.js +16 -6
- package/dist/site/components/chunks/constants33.js +11 -2
- package/dist/site/components/chunks/constants35.js +21 -16
- package/dist/site/components/chunks/constants36.js +7 -1
- package/dist/site/components/chunks/constants37.js +12 -2
- package/dist/site/components/chunks/constants41.js +6 -2
- package/dist/site/components/chunks/constants42.js +13 -85
- package/dist/site/components/chunks/constants43.js +75 -56
- package/dist/site/components/chunks/constants44.js +72 -0
- package/dist/site/components/chunks/consts.js +19 -114
- package/dist/site/components/chunks/consts2.js +138 -0
- package/dist/site/components/chunks/index4.js +1 -1
- package/dist/site/components/chunks/translationResources.js +46 -0
- package/dist/site/components/chunks/types.js +7 -3
- package/dist/site/components/chunks/useConsentPolicyProps.js +17 -182
- package/dist/site/components/chunks/utils4.js +243 -0
- package/dist/site/components/translations/BoxContainer/messages_ar.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_bg.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_ca.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_cs.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_da.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_de.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_el.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_en.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_es.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_fi.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_fr.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_he.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_hi.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_hr.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_hu.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_id.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_it.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_ja.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_ko.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_lt.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_lv.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_ms.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_nl.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_no.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_pl.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_pt.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_ro.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_ru.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_sv.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_th.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_tl.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_tr.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_uk.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_vi.json +3 -0
- package/dist/site/components/translations/BoxContainer/messages_zh.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ar.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_bg.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ca.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_cs.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_da.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_de.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_el.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_en.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_es.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_fi.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_fr.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_he.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_hi.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_hr.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_hu.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_id.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_it.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ja.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ko.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_lt.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_lv.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ms.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_nl.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_no.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_pl.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_pt.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ro.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_ru.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_sv.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_th.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_tl.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_tr.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_uk.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_vi.json +3 -0
- package/dist/site/components/translations/Breadcrumbs/messages_zh.json +3 -0
- package/dist/site/components/translations/GoogleMap/messages_ar.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_bg.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_ca.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_cs.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_da.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_de.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_el.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_en.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_es.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_fi.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_fr.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_he.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_hi.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_hr.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_hu.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_id.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_it.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_ja.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_ko.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_lt.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_lv.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_ms.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_nl.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_no.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_pl.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_pt.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_ro.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_ru.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_sv.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_th.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_tl.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_tr.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_uk.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_vi.json +22 -0
- package/dist/site/components/translations/GoogleMap/messages_zh.json +22 -0
- package/dist/site/components/translations/HTMLComponent/messages_ar.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_bg.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_ca.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_cs.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_da.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_de.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_el.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_en.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_es.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_fi.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_fr.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_he.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_hi.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_hr.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_hu.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_id.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_it.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_ja.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_ko.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_lt.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_lv.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_ms.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_nl.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_no.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_pl.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_pt.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_ro.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_ru.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_sv.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_th.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_tl.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_tr.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_uk.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_vi.json +19 -0
- package/dist/site/components/translations/HTMLComponent/messages_zh.json +19 -0
- package/dist/site/components/translations/HipaaIcon/messages_ar.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_bg.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_ca.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_cs.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_da.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_de.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_el.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_en.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_es.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_fi.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_fr.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_he.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_hi.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_hr.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_hu.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_id.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_it.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_ja.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_ko.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_lt.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_lv.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_ms.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_nl.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_no.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_pl.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_pt.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_ro.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_ru.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_sv.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_th.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_tl.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_tr.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_uk.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_vi.json +4 -0
- package/dist/site/components/translations/HipaaIcon/messages_zh.json +4 -0
- package/dist/site/components/translations/LinkBar/messages_ar.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_bg.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_ca.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_cs.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_da.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_de.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_el.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_en.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_es.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_fi.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_fr.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_he.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_hi.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_hr.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_hu.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_id.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_it.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_ja.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_ko.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_lt.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_lv.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_ms.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_nl.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_no.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_pl.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_pt.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_ro.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_ru.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_sv.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_th.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_tl.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_tr.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_uk.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_vi.json +3 -0
- package/dist/site/components/translations/LinkBar/messages_zh.json +3 -0
- package/dist/site/components/translations/Lottie/messages_ar.json +4 -0
- package/dist/site/components/translations/Lottie/messages_bg.json +4 -0
- package/dist/site/components/translations/Lottie/messages_ca.json +4 -0
- package/dist/site/components/translations/Lottie/messages_cs.json +4 -0
- package/dist/site/components/translations/Lottie/messages_da.json +4 -0
- package/dist/site/components/translations/Lottie/messages_de.json +4 -0
- package/dist/site/components/translations/Lottie/messages_el.json +4 -0
- package/dist/site/components/translations/Lottie/messages_en.json +4 -0
- package/dist/site/components/translations/Lottie/messages_es.json +4 -0
- package/dist/site/components/translations/Lottie/messages_fi.json +4 -0
- package/dist/site/components/translations/Lottie/messages_fr.json +4 -0
- package/dist/site/components/translations/Lottie/messages_he.json +4 -0
- package/dist/site/components/translations/Lottie/messages_hi.json +4 -0
- package/dist/site/components/translations/Lottie/messages_hr.json +4 -0
- package/dist/site/components/translations/Lottie/messages_hu.json +4 -0
- package/dist/site/components/translations/Lottie/messages_id.json +4 -0
- package/dist/site/components/translations/Lottie/messages_it.json +4 -0
- package/dist/site/components/translations/Lottie/messages_ja.json +4 -0
- package/dist/site/components/translations/Lottie/messages_ko.json +4 -0
- package/dist/site/components/translations/Lottie/messages_lt.json +4 -0
- package/dist/site/components/translations/Lottie/messages_lv.json +4 -0
- package/dist/site/components/translations/Lottie/messages_ms.json +4 -0
- package/dist/site/components/translations/Lottie/messages_nl.json +4 -0
- package/dist/site/components/translations/Lottie/messages_no.json +4 -0
- package/dist/site/components/translations/Lottie/messages_pl.json +4 -0
- package/dist/site/components/translations/Lottie/messages_pt.json +4 -0
- package/dist/site/components/translations/Lottie/messages_ro.json +4 -0
- package/dist/site/components/translations/Lottie/messages_ru.json +4 -0
- package/dist/site/components/translations/Lottie/messages_sv.json +4 -0
- package/dist/site/components/translations/Lottie/messages_th.json +4 -0
- package/dist/site/components/translations/Lottie/messages_tl.json +4 -0
- package/dist/site/components/translations/Lottie/messages_tr.json +4 -0
- package/dist/site/components/translations/Lottie/messages_uk.json +4 -0
- package/dist/site/components/translations/Lottie/messages_vi.json +4 -0
- package/dist/site/components/translations/Lottie/messages_zh.json +4 -0
- package/dist/site/components/translations/Menu/messages_ar.json +6 -0
- package/dist/site/components/translations/Menu/messages_bg.json +6 -0
- package/dist/site/components/translations/Menu/messages_ca.json +6 -0
- package/dist/site/components/translations/Menu/messages_cs.json +6 -0
- package/dist/site/components/translations/Menu/messages_da.json +6 -0
- package/dist/site/components/translations/Menu/messages_de.json +6 -0
- package/dist/site/components/translations/Menu/messages_el.json +6 -0
- package/dist/site/components/translations/Menu/messages_en.json +6 -0
- package/dist/site/components/translations/Menu/messages_es.json +6 -0
- package/dist/site/components/translations/Menu/messages_fi.json +6 -0
- package/dist/site/components/translations/Menu/messages_fr.json +6 -0
- package/dist/site/components/translations/Menu/messages_he.json +6 -0
- package/dist/site/components/translations/Menu/messages_hi.json +6 -0
- package/dist/site/components/translations/Menu/messages_hr.json +6 -0
- package/dist/site/components/translations/Menu/messages_hu.json +6 -0
- package/dist/site/components/translations/Menu/messages_id.json +6 -0
- package/dist/site/components/translations/Menu/messages_it.json +6 -0
- package/dist/site/components/translations/Menu/messages_ja.json +6 -0
- package/dist/site/components/translations/Menu/messages_ko.json +6 -0
- package/dist/site/components/translations/Menu/messages_lt.json +6 -0
- package/dist/site/components/translations/Menu/messages_lv.json +6 -0
- package/dist/site/components/translations/Menu/messages_ms.json +6 -0
- package/dist/site/components/translations/Menu/messages_nl.json +6 -0
- package/dist/site/components/translations/Menu/messages_no.json +6 -0
- package/dist/site/components/translations/Menu/messages_pl.json +6 -0
- package/dist/site/components/translations/Menu/messages_pt.json +6 -0
- package/dist/site/components/translations/Menu/messages_ro.json +6 -0
- package/dist/site/components/translations/Menu/messages_ru.json +6 -0
- package/dist/site/components/translations/Menu/messages_sv.json +6 -0
- package/dist/site/components/translations/Menu/messages_th.json +6 -0
- package/dist/site/components/translations/Menu/messages_tl.json +6 -0
- package/dist/site/components/translations/Menu/messages_tr.json +6 -0
- package/dist/site/components/translations/Menu/messages_uk.json +6 -0
- package/dist/site/components/translations/Menu/messages_vi.json +6 -0
- package/dist/site/components/translations/Menu/messages_zh.json +6 -0
- package/dist/site/components/translations/ShareButtons/messages_ar.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_bg.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_ca.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_cs.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_da.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_de.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_el.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_en.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_es.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_fi.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_fr.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_he.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_hi.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_hr.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_hu.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_id.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_it.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_ja.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_ko.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_lt.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_lv.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_ms.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_nl.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_no.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_pl.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_pt.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_ro.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_ru.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_sv.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_th.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_tl.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_tr.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_uk.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_vi.json +5 -0
- package/dist/site/components/translations/ShareButtons/messages_zh.json +5 -0
- package/dist/site/components/translations/Slideshow/messages_ar.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_bg.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_ca.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_cs.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_da.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_de.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_el.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_en.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_es.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_fi.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_fr.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_he.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_hi.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_hr.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_hu.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_id.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_it.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_ja.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_ko.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_lt.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_lv.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_ms.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_nl.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_no.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_pl.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_pt.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_ro.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_ru.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_sv.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_th.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_tl.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_tr.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_uk.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_vi.json +4 -0
- package/dist/site/components/translations/Slideshow/messages_zh.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ar.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_bg.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ca.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_cs.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_da.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_de.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_el.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_en.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_es.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_fi.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_fr.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_he.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_hi.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_hr.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_hu.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_id.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_it.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ja.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ko.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_lt.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_lv.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ms.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_nl.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_no.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_pl.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_pt.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ro.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_ru.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_sv.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_th.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_tl.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_tr.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_uk.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_vi.json +4 -0
- package/dist/site/components/translations/TextMarquee/messages_zh.json +4 -0
- package/dist/site/components/translations/version_file +1 -0
- package/package.json +6 -4
- package/dist/site/components/HipaaIcon/utils.d.ts +0 -2
- package/dist/site/components/chunks/getTranslation.js +0 -8
|
@@ -4,7 +4,7 @@ import React__default, { useRef, useEffect, useMemo, useState, useCallback, useL
|
|
|
4
4
|
import "react-dom";
|
|
5
5
|
import { c as clsx } from "../chunks/clsx.js";
|
|
6
6
|
import AnimatedIconWithReducedMotion from "../AnimatedIcon/component.js";
|
|
7
|
-
import { D as DesignStates, a as DEFAULT_PROPS } from "../chunks/
|
|
7
|
+
import { D as DesignStates, a as DEFAULT_PROPS } from "../chunks/constants44.js";
|
|
8
8
|
import { g as getDefaultExportFromCjs } from "../chunks/_commonjsHelpers.js";
|
|
9
9
|
import { r as require_baseGetTag, d as require_root, b as require_Symbol, c as requireIsArray, a as requireIsObjectLike, e as require_freeGlobal } from "../chunks/isObjectLike.js";
|
|
10
10
|
import { useService } from "@wix/services-manager-react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as CSS_PROPERTIES, b as DISPLAY_GROUPS, D as DATA, L as LAYOUT, c as ContainerType, a as ACTIONS, E as ELEMENTS, N as NativeStateType, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
|
-
import { D as DesignStates, b as DISPLAY_NAMES, c as accordionManifestDefaults, C as CONTAINER_INITIAL_HEIGHT } from "../chunks/
|
|
2
|
+
import { D as DesignStates, b as DISPLAY_NAMES, c as accordionManifestDefaults, C as CONTAINER_INITIAL_HEIGHT } from "../chunks/constants44.js";
|
|
3
3
|
import { m as manifestFocusable, b as manifestMouseHover, c as manifestClickable } from "../chunks/manifestSdkMixins.js";
|
|
4
4
|
import { w as withSpec } from "../chunks/manifest.js";
|
|
5
5
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
@@ -6,7 +6,7 @@ import { useService } from "@wix/services-manager-react";
|
|
|
6
6
|
import { E as EnvironmentDefinition } from "../chunks/index2.js";
|
|
7
7
|
import { d as directionStyles } from "../chunks/direction.module.js";
|
|
8
8
|
import Image3 from "../Image3/component.js";
|
|
9
|
-
import { A as ARIA_LABELS, s as selectors, d as dataDefaults } from "../chunks/
|
|
9
|
+
import { A as ARIA_LABELS, s as selectors, d as dataDefaults } from "../chunks/constants43.js";
|
|
10
10
|
import { c as commonjsGlobal } from "../chunks/_commonjsHelpers.js";
|
|
11
11
|
import { a as $240e9101ba2842f5$export$7d15b64cf5a3a4c4, e as $240e9101ba2842f5$export$cb6e0bb50bc19463, $ as $ea3928288112382f$export$439d29a4e110a164, d as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../chunks/Button2.js";
|
|
12
12
|
import { b as $64fa3d84918910a7$export$29f1550f4b0d4415, d as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, f as $64fa3d84918910a7$export$4d86445c2cf5e3, g as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, h as $64fa3d84918910a7$export$2881499e37b75b9a, c as $64fa3d84918910a7$export$fabf2dc03a41866e } from "../chunks/filterDOMProps.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as DISPLAY_GROUPS, N as NativeStateType, C as CSS_PROPERTIES, E as ELEMENTS, D as DATA, I as INTERACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { b as manifestMouseHover, e as manifestMediaProgress, d as manifestPlayable } from "../chunks/manifestSdkMixins.js";
|
|
3
|
-
import { D as DesignStates, a as DisplayNames, s as selectors, b as borderDefaultValue } from "../chunks/
|
|
3
|
+
import { D as DesignStates, a as DisplayNames, s as selectors, b as borderDefaultValue } from "../chunks/constants43.js";
|
|
4
4
|
import manifest$1 from "../Image3/manifest.js";
|
|
5
5
|
import { w as withSpec } from "../chunks/manifest.js";
|
|
6
6
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
@@ -3,7 +3,7 @@ import { c as clsx } from "../chunks/clsx.js";
|
|
|
3
3
|
import { useService } from "@wix/services-manager-react";
|
|
4
4
|
import { d as defineService } from "../chunks/index10.js";
|
|
5
5
|
import { T as TranslationsDefinition } from "../chunks/index4.js";
|
|
6
|
-
import { B as BOX_CONTAINER_MIN_HEIGHT_FIX_EXPERIMENT, a as BOX_CONTAINER_MIN_HEIGHT_FIX_VIEWER_EXPERIMENT
|
|
6
|
+
import { B as BOX_CONTAINER_MIN_HEIGHT_FIX_EXPERIMENT, a as BOX_CONTAINER_MIN_HEIGHT_FIX_VIEWER_EXPERIMENT } from "../chunks/constants42.js";
|
|
7
7
|
import { e as getTabIndexAttribute, c as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
|
|
8
8
|
const root = "root__eLvEL";
|
|
9
9
|
const minHeightFix = "minHeightFix__syGSC";
|
|
@@ -65,7 +65,6 @@ function BoxContainer({
|
|
|
65
65
|
BOX_CONTAINER_MIN_HEIGHT_FIX_VIEWER_EXPERIMENT
|
|
66
66
|
)) ?? false;
|
|
67
67
|
const isMinHeightFixEnabled = isEditorMinHeightFixEnabled || isViewerMinHeightFixEnabled;
|
|
68
|
-
translate(ARIA_LABEL_NAMESPACE);
|
|
69
68
|
const a11yAttributes = normalizeBoxContainerA11y(a11y);
|
|
70
69
|
return /* @__PURE__ */ jsx(
|
|
71
70
|
"div",
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
+
export declare const COMPONENT_TYPE = "wixEditorElements.BoxContainer";
|
|
1
2
|
export declare const ARIA_LABEL_NAMESPACE = "ariaLabels";
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
3
|
+
export declare const TranslationKeys: {
|
|
4
|
+
readonly contentOnHoverAriaLabel: "boxContainer.contentOnHover.ariaLabel";
|
|
5
|
+
};
|
|
6
|
+
export declare const LegacyTranslationKeys: {
|
|
7
|
+
readonly contentOnHoverAriaLabel: "interactions_AriaLabel_contentOnHover_message";
|
|
8
|
+
};
|
|
9
|
+
export declare const DefaultTranslations: {
|
|
10
|
+
readonly contentOnHoverAriaLabel: "Interactive element, focus to trigger content change";
|
|
11
|
+
};
|
|
4
12
|
export declare const BOX_CONTAINER_MIN_HEIGHT_FIX_EXPERIMENT = "boxContainerMinHeightFix";
|
|
5
13
|
export declare const BOX_CONTAINER_MIN_HEIGHT_FIX_VIEWER_EXPERIMENT = "boxContainerMinHeightFixViewer";
|
|
6
14
|
export declare const DisplayNames: {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { a as ACTIONS, I as INTERACTIONS, D as DATA, c as ContainerType, A as Archetype, L as LAYOUT } from "../chunks/chunk-LDITHLYN.js";
|
|
2
|
-
import {
|
|
2
|
+
import { g as getTranslationResources } from "../chunks/translationResources.js";
|
|
3
|
+
import { D as DisplayNames, C as COMPONENT_TYPE } from "../chunks/constants42.js";
|
|
3
4
|
const manifest = {
|
|
4
5
|
id: "1f0108be-06bb-4a81-9c55-a1cbd223926c",
|
|
5
|
-
type:
|
|
6
|
+
type: COMPONENT_TYPE,
|
|
6
7
|
description: "A flexible container for grouping and organizing other elements or components on a page",
|
|
7
8
|
installation: {
|
|
8
9
|
initialSize: {
|
|
@@ -110,14 +111,14 @@ const manifest = {
|
|
|
110
111
|
}
|
|
111
112
|
},
|
|
112
113
|
resources: {
|
|
114
|
+
translations: getTranslationResources("BoxContainer"),
|
|
113
115
|
client: {
|
|
114
116
|
componentUrl: "./site/components/BoxContainer/component.tsx",
|
|
115
117
|
moduleSpecifier: "@wix/editor-react-components/BoxContainer",
|
|
116
|
-
serviceDependencies: ["@wix/viewer-service-translations"],
|
|
117
118
|
dependencies: {
|
|
118
119
|
serviceDependencies: [
|
|
119
120
|
"@wix/site-service-experiments",
|
|
120
|
-
"@wix/
|
|
121
|
+
"@wix/site-service-translations"
|
|
121
122
|
]
|
|
122
123
|
}
|
|
123
124
|
}
|
|
@@ -8,7 +8,7 @@ import { useService } from "@wix/services-manager-react";
|
|
|
8
8
|
import { T as TranslationsDefinition } from "../chunks/index4.js";
|
|
9
9
|
import { c as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
|
|
10
10
|
import { d as directionStyles } from "../chunks/direction.module.js";
|
|
11
|
-
import { s as semanticClassNames, D as DesignStates,
|
|
11
|
+
import { s as semanticClassNames, D as DesignStates, c as componentMetadata, t as translationKeys, A as ARIA_LABEL_NAMESPACE, l as legacyTranslationKeys, d as defaultTranslations } from "../chunks/constants41.js";
|
|
12
12
|
import { A as AnimatedIcon } from "../chunks/AnimatedIcon.js";
|
|
13
13
|
import { d as defineService } from "../chunks/index10.js";
|
|
14
14
|
import { E as EnvironmentDefinition } from "../chunks/index2.js";
|
|
@@ -1519,12 +1519,13 @@ function Breadcrumbs2({
|
|
|
1519
1519
|
const generatedItems = useBreadcrumbItems();
|
|
1520
1520
|
const items = itemsFromProps ?? generatedItems;
|
|
1521
1521
|
const collapsedRange = useCollapsedRange(rootRef, items.length);
|
|
1522
|
-
const { translate } = useService(
|
|
1523
|
-
|
|
1524
|
-
);
|
|
1525
|
-
const listAriaLabel = translate(ARIA_LABEL_NAMESPACE)(
|
|
1522
|
+
const { translate } = useService(TranslationsDefinition);
|
|
1523
|
+
const listAriaLabel = translate(componentMetadata.type)(
|
|
1526
1524
|
translationKeys.breadcrumbsAriaLabel,
|
|
1527
|
-
|
|
1525
|
+
translate(ARIA_LABEL_NAMESPACE)(
|
|
1526
|
+
legacyTranslationKeys.breadcrumbsAriaLabel,
|
|
1527
|
+
defaultTranslations.breadcrumbsAriaLabel
|
|
1528
|
+
)
|
|
1528
1529
|
);
|
|
1529
1530
|
useSeoService(items);
|
|
1530
1531
|
return /* @__PURE__ */ jsxs(
|
|
@@ -95,6 +95,9 @@ export declare const defaultStateValues: {
|
|
|
95
95
|
};
|
|
96
96
|
export declare const ARIA_LABEL_NAMESPACE = "ariaLabels";
|
|
97
97
|
export declare const translationKeys: {
|
|
98
|
+
readonly breadcrumbsAriaLabel: "breadcrumbs.trail.ariaLabel";
|
|
99
|
+
};
|
|
100
|
+
export declare const legacyTranslationKeys: {
|
|
98
101
|
readonly breadcrumbsAriaLabel: "breadcrumbs_AriaLabel";
|
|
99
102
|
};
|
|
100
103
|
export declare const defaultTranslations: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { L as LAYOUT, a as ACTIONS, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, E as ELEMENTS, N as NativeStateType, D as DATA, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
|
+
import { g as getTranslationResources } from "../chunks/translationResources.js";
|
|
2
3
|
import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
|
|
3
4
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
4
|
-
import { D as DesignStates, a as DisplayNames, h as homepageModeValues, b as defaultStateValues,
|
|
5
|
+
import { D as DesignStates, a as DisplayNames, h as homepageModeValues, b as defaultStateValues, e as separatorValues, c as componentMetadata, s as semanticClassNames } from "../chunks/constants41.js";
|
|
5
6
|
import { b as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
|
|
6
7
|
const manifest = {
|
|
7
8
|
id: componentMetadata.id,
|
|
@@ -370,6 +371,7 @@ const manifest = {
|
|
|
370
371
|
}
|
|
371
372
|
},
|
|
372
373
|
resources: {
|
|
374
|
+
translations: getTranslationResources("Breadcrumbs"),
|
|
373
375
|
client: {
|
|
374
376
|
componentUrl: "./site/components/Breadcrumbs/component.tsx",
|
|
375
377
|
moduleSpecifier: "@wix/editor-react-components/Breadcrumbs",
|
|
@@ -379,7 +381,7 @@ const manifest = {
|
|
|
379
381
|
"seo/seo-service",
|
|
380
382
|
"@wix/viewer-service-environment",
|
|
381
383
|
"@wix/viewer-service-pages",
|
|
382
|
-
"@wix/
|
|
384
|
+
"@wix/site-service-translations",
|
|
383
385
|
"@wix/viewer-service-url"
|
|
384
386
|
]
|
|
385
387
|
}
|
|
@@ -391,6 +393,7 @@ const manifest = {
|
|
|
391
393
|
"seo/seo-service",
|
|
392
394
|
"@wix/viewer-service-environment",
|
|
393
395
|
"@wix/viewer-service-pages",
|
|
396
|
+
"@wix/site-service-translations",
|
|
394
397
|
"@wix/viewer-service-url"
|
|
395
398
|
]
|
|
396
399
|
}
|
|
@@ -17,7 +17,7 @@ import { T as TranslationsDefinition } from "../chunks/index4.js";
|
|
|
17
17
|
import { a as getDataAttributes } from "../chunks/dataUtils.js";
|
|
18
18
|
import { d as directionStyles } from "../chunks/direction.module.js";
|
|
19
19
|
import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
|
|
20
|
-
import { T as TestIds, s as selectors, D as DesignStates, A as ARIA_LABEL_NAMESPACE, d as defaultValues, a as AriaLabels } from "../chunks/constants37.js";
|
|
20
|
+
import { T as TestIds, s as selectors, D as DesignStates, C as COMPONENT_TYPE, A as ARIA_LABEL_NAMESPACE, d as defaultValues, a as AriaLabels } from "../chunks/constants37.js";
|
|
21
21
|
createContext(null);
|
|
22
22
|
createContext(null);
|
|
23
23
|
createContext(null);
|
|
@@ -4263,11 +4263,9 @@ function DatePicker2(props) {
|
|
|
4263
4263
|
var _a, _b, _c;
|
|
4264
4264
|
const environmentService = useService(EnvironmentDefinition);
|
|
4265
4265
|
const { translate } = useService(TranslationsDefinition);
|
|
4266
|
-
const
|
|
4267
|
-
const
|
|
4268
|
-
|
|
4269
|
-
return translated && translated !== entry.key ? translated : entry.default;
|
|
4270
|
-
};
|
|
4266
|
+
const translateOwn = translate(COMPONENT_TYPE);
|
|
4267
|
+
const translateLegacy = translate(ARIA_LABEL_NAMESPACE);
|
|
4268
|
+
const t = (entry) => translateOwn(entry.key, translateLegacy(entry.legacyKey, entry.default));
|
|
4271
4269
|
const {
|
|
4272
4270
|
id,
|
|
4273
4271
|
className = "",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const COMPONENT_TYPE = "wixEditorElements.DatePicker__DEV__v4";
|
|
1
2
|
export declare const DisplayNames: {
|
|
2
3
|
root: {
|
|
3
4
|
elementDisplayName: string;
|
|
@@ -117,16 +118,19 @@ export declare const DesignStates: {
|
|
|
117
118
|
export declare const PREVIEW_CALENDAR_OPEN = "previewCalendarOpen";
|
|
118
119
|
export declare const ARIA_LABEL_NAMESPACE = "ariaLabels";
|
|
119
120
|
/**
|
|
120
|
-
* Viewer-facing aria labels: each entry is a translation `key`
|
|
121
|
+
* Viewer-facing aria labels: each entry is a translation `key` in the component's
|
|
122
|
+
* own namespace, the `legacyKey` in the legacy namespace, plus an English
|
|
121
123
|
* `default` fallback. Referenced from constants (never as inline string keys).
|
|
122
124
|
*/
|
|
123
125
|
export declare const AriaLabels: {
|
|
124
126
|
readonly root: {
|
|
125
|
-
readonly key: "
|
|
127
|
+
readonly key: "datePicker.field.ariaLabel";
|
|
128
|
+
readonly legacyKey: "datePicker_aria_label";
|
|
126
129
|
readonly default: "Date picker";
|
|
127
130
|
};
|
|
128
131
|
readonly openCalendar: {
|
|
129
|
-
readonly key: "
|
|
132
|
+
readonly key: "datePicker.calendarButton.ariaLabel";
|
|
133
|
+
readonly legacyKey: "datePicker_open_calendar";
|
|
130
134
|
readonly default: "Open calendar";
|
|
131
135
|
};
|
|
132
136
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { C as CSS_PROPERTIES, N as NativeStateType, b as DISPLAY_GROUPS, D as DATA, E as ELEMENTS, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
|
-
import {
|
|
2
|
+
import { g as getTranslationResources } from "../chunks/translationResources.js";
|
|
3
|
+
import { D as DesignStates, P as PREVIEW_CALENDAR_OPEN, d as defaultValues, b as DisplayNames, c as Descriptions, e as PREVIEW_ERROR_MESSAGE, C as COMPONENT_TYPE, s as selectors } from "../chunks/constants37.js";
|
|
3
4
|
import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
|
|
4
5
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
5
6
|
const basePresetName = "baseDatePicker";
|
|
@@ -81,7 +82,7 @@ const dateInputCssProperties = {
|
|
|
81
82
|
};
|
|
82
83
|
const manifest = {
|
|
83
84
|
id: "869c68a7-f703-43fa-806f-3ed8936172b5",
|
|
84
|
-
type:
|
|
85
|
+
type: COMPONENT_TYPE,
|
|
85
86
|
description: "A date picker input. Visitors pick a date from a segmented field or a calendar popover. The selected date is a local date and can be connected to a data field.",
|
|
86
87
|
installation: {
|
|
87
88
|
presets: {
|
|
@@ -415,12 +416,13 @@ const manifest = {
|
|
|
415
416
|
}
|
|
416
417
|
},
|
|
417
418
|
resources: {
|
|
419
|
+
translations: getTranslationResources("DatePicker"),
|
|
418
420
|
client: {
|
|
419
421
|
componentUrl: "./site/components/DatePicker/component.tsx",
|
|
420
422
|
dependencies: {
|
|
421
423
|
serviceDependencies: [
|
|
422
424
|
"@wix/viewer-service-environment",
|
|
423
|
-
"@wix/
|
|
425
|
+
"@wix/site-service-translations"
|
|
424
426
|
]
|
|
425
427
|
}
|
|
426
428
|
},
|
|
@@ -429,7 +431,7 @@ const manifest = {
|
|
|
429
431
|
dependencies: {
|
|
430
432
|
serviceDependencies: [
|
|
431
433
|
"@wix/viewer-service-environment",
|
|
432
|
-
"@wix/
|
|
434
|
+
"@wix/site-service-translations"
|
|
433
435
|
]
|
|
434
436
|
}
|
|
435
437
|
}
|
|
@@ -9,7 +9,7 @@ import { a as getDataAttributes } from "../chunks/dataUtils.js";
|
|
|
9
9
|
import { d as directionStyles } from "../chunks/direction.module.js";
|
|
10
10
|
import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
|
|
11
11
|
import { a as accessibilityStyles } from "../chunks/accessibility.module.js";
|
|
12
|
-
import { A as AriaLabels, T as TestIds, e as editorElementClassNames, D as DesignStates } from "../chunks/constants36.js";
|
|
12
|
+
import { C as COMPONENT_TYPE, A as AriaLabels, T as TestIds, e as editorElementClassNames, D as DesignStates } from "../chunks/constants36.js";
|
|
13
13
|
const root = "root__WnTks";
|
|
14
14
|
const input = "input__pbp9w";
|
|
15
15
|
const option = "option__QJeiF";
|
|
@@ -76,7 +76,13 @@ function Dropdown({
|
|
|
76
76
|
const inErrorState = invalid || Boolean(previewError);
|
|
77
77
|
const { language } = useService(EnvironmentDefinition);
|
|
78
78
|
const { translate } = useService(TranslationsDefinition);
|
|
79
|
-
const ariaLabel = (a11y == null ? void 0 : a11y.ariaLabel) || (label2 ? void 0 : translate(
|
|
79
|
+
const ariaLabel = (a11y == null ? void 0 : a11y.ariaLabel) || (label2 ? void 0 : translate(COMPONENT_TYPE)(
|
|
80
|
+
AriaLabels.root.key,
|
|
81
|
+
translate("ariaLabels")(
|
|
82
|
+
AriaLabels.root.legacyKey,
|
|
83
|
+
AriaLabels.root.default
|
|
84
|
+
)
|
|
85
|
+
));
|
|
80
86
|
const comboboxId = `${id}-combobox`;
|
|
81
87
|
const helperTextId = helperText2 ? `${id}-helper-text` : void 0;
|
|
82
88
|
const errorMessageId = inErrorState ? `${id}-error-message` : void 0;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const COMPONENT_TYPE = "wixEditorElements.Dropdown__DEV__v5";
|
|
1
2
|
export declare const TEXT_PROP_STATIC_VALUE_MAX_LENGTH = 400;
|
|
2
3
|
export declare const DesignStates: {
|
|
3
4
|
readonly input: {
|
|
@@ -92,7 +93,8 @@ export declare const editorElementClassNames: {
|
|
|
92
93
|
};
|
|
93
94
|
export declare const AriaLabels: {
|
|
94
95
|
readonly root: {
|
|
95
|
-
readonly key: "
|
|
96
|
+
readonly key: "dropdown.combobox.ariaLabel";
|
|
97
|
+
readonly legacyKey: "Dropdown_AriaLabel";
|
|
96
98
|
readonly default: "Dropdown";
|
|
97
99
|
};
|
|
98
100
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { b as DISPLAY_GROUPS, D as DATA, E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
|
-
import {
|
|
2
|
+
import { g as getTranslationResources } from "../chunks/translationResources.js";
|
|
3
|
+
import { D as DesignStates, a as DisplayNames, b as TEXT_PROP_STATIC_VALUE_MAX_LENGTH, F as FunctionalStateKeys, e as editorElementClassNames, C as COMPONENT_TYPE } from "../chunks/constants36.js";
|
|
3
4
|
import { w as withSpec } from "../chunks/manifest.js";
|
|
4
5
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
5
6
|
const basePresetName = "baseDropdown";
|
|
6
7
|
const manifest = {
|
|
7
8
|
id: "d46302be-0629-45c8-bdf3-cdb14c6457c8",
|
|
8
|
-
type:
|
|
9
|
+
type: COMPONENT_TYPE,
|
|
9
10
|
description: "A single-select dropdown input. Visitors pick a value from a list of options. Options can be set statically or fed dynamically by a connected data source.",
|
|
10
11
|
installation: {
|
|
11
12
|
presets: {
|
|
@@ -558,12 +559,13 @@ const manifest = {
|
|
|
558
559
|
}
|
|
559
560
|
},
|
|
560
561
|
resources: {
|
|
562
|
+
translations: getTranslationResources("Dropdown"),
|
|
561
563
|
client: {
|
|
562
564
|
componentUrl: "./site/components/Dropdown/component.tsx",
|
|
563
565
|
dependencies: {
|
|
564
566
|
serviceDependencies: [
|
|
565
567
|
"@wix/viewer-service-environment",
|
|
566
|
-
"@wix/
|
|
568
|
+
"@wix/site-service-translations"
|
|
567
569
|
]
|
|
568
570
|
}
|
|
569
571
|
}
|
|
@@ -6,13 +6,12 @@ import { f as formatClassNames } from "../chunks/classNames.js";
|
|
|
6
6
|
import { a as getDataAttributes } from "../chunks/dataUtils.js";
|
|
7
7
|
import { c as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
|
|
8
8
|
import { createPortal } from "react-dom";
|
|
9
|
-
import { G as GOOGLE_MAPS_DIRECTIONS_BASE_URL, M as MIN_ZOOM, a as MAX_ZOOM, T as TestIds, I as INFO_WINDOW_PIXEL_OFFSET, D as DEFAULT_ZOOM, b as MAP_IDS, c as MAP_TYPES, d as MAP_MOBILE_CONTROL_SIZE, A as API_KEY, e as
|
|
9
|
+
import { G as GOOGLE_MAPS_DIRECTIONS_BASE_URL, M as MIN_ZOOM, a as MAX_ZOOM, T as TestIds, I as INFO_WINDOW_PIXEL_OFFSET, D as DEFAULT_ZOOM, b as MAP_IDS, c as MAP_TYPES, d as MAP_MOBILE_CONTROL_SIZE, A as API_KEY, C as COMPONENT_TYPE, e as ConsentTranslations, f as DEFAULT_LOCATION, g as TranslationKeys, L as LegacyTranslationNamespaces, h as LegacyTranslationKeys, i as DefaultTranslations, j as COMPANY_NAME_DEFAULT, k as COMPANY_NAME_KEY, l as COMPONENT_NAME_DEFAULT, m as COMPONENT_NAME_KEY } from "../chunks/consts2.js";
|
|
10
10
|
import { p as parse } from "../chunks/index5.js";
|
|
11
11
|
import { useService } from "@wix/services-manager-react";
|
|
12
12
|
import { E as EnvironmentDefinition } from "../chunks/index2.js";
|
|
13
13
|
import { u as useConsentPolicyProps, C as ConsentPolicyWrapper } from "../chunks/useConsentPolicyProps.js";
|
|
14
14
|
import { T as TranslationsDefinition } from "../chunks/index4.js";
|
|
15
|
-
import { g as getTranslation } from "../chunks/getTranslation.js";
|
|
16
15
|
const mapContainer = "mapContainer__E0LTn";
|
|
17
16
|
const style = {
|
|
18
17
|
mapContainer
|
|
@@ -3408,19 +3407,23 @@ const defaultManifestProps = {
|
|
|
3408
3407
|
mapStyleKey: "CLASSIC"
|
|
3409
3408
|
};
|
|
3410
3409
|
const defaultPinIcon = '<!--?xml version="1.0" encoding="UTF-8"?--><svg data-bbox="1.6 0 20.7 34" viewBox="0 0 24 34" height="34" width="24" xmlns="http://www.w3.org/2000/svg" data-type="color"><g><path d="M11.9 33.4c-.2 0-.5 0-.6-.2l-.2-.2c-.5-.4-.6-.9-.9-2.2-1-4.2-2.1-6.7-3.1-9-.7-1.4-1.4-2.6-2.1-3.7-1.7-2.8-2.8-4.7-2.8-8 0-2.3.9-4.7 2.5-6.5 1.9-1.8 4.6-3 7.2-3h.2c2.7 0 5.4 1.3 7.3 3.3 1.6 1.7 2.6 4.2 2.5 6.5 0 3.3-1.1 5.1-2.8 7.9-.6 1.1-1.3 2.3-2.1 3.8-.9 2.2-2 4.7-3 8.9-.3 1.3-.4 2-1.3 2.3h-.3c-.1.1-.2.2-.3.2Z" fill="#ff4646" data-color="1"></path><path d="M11.9 1.1h.2c2.5 0 5.1 1.2 6.9 3.2 1.5 1.6 2.4 3.9 2.4 6.1 0 3.1-1.1 4.9-2.7 7.7-.6 1.1-1.4 2.3-2.2 3.8-1 2.2-2 4.8-3.1 9-.3 1.2-.4 1.7-1 1.9h-.3c0 .1-.1.1-.2.1s-.2 0-.3-.1l-.2-.2c-.4-.3-.4-.6-.7-1.9-1-4.2-2.1-6.8-3.1-9.1-.8-1.5-1.5-2.7-2.1-3.7-1.6-2.8-2.7-4.6-2.7-7.7 0-2.2.9-4.5 2.4-6.1C7 2.2 9.5 1 12 1m-.1-1C9.1 0 6.3 1.4 4.3 3.5c-1.7 1.8-2.7 4.4-2.7 6.8 0 3.4 1.2 5.4 2.9 8.2.6 1 1.3 2.2 2.1 3.7 1 2.2 2 4.7 3 8.9.3 1.3.4 1.9 1.1 2.4l.2.2q.45.3.9.3h.8c1.1-.5 1.4-1.4 1.7-2.7 1-4.1 2.1-6.6 3-8.8.8-1.5 1.5-2.7 2.1-3.8 1.6-2.8 2.8-4.8 2.9-8.2 0-2.4-1-5-2.7-6.8C17.7 1.5 14.8.1 12 0h-.2Z" fill="#ffffff" data-color="2"></path><path fill="#590000" d="M15.2 10.4a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0" data-color="3"></path></g></svg>';
|
|
3411
|
-
const noopTranslate = () => () =>
|
|
3412
|
-
const translateKey = (translate, key
|
|
3413
|
-
|
|
3414
|
-
key
|
|
3415
|
-
|
|
3416
|
-
|
|
3410
|
+
const noopTranslate = () => (_key, fallback) => fallback;
|
|
3411
|
+
const translateKey = (translate, key) => translate(COMPONENT_TYPE)(
|
|
3412
|
+
TranslationKeys[key],
|
|
3413
|
+
translate(LegacyTranslationNamespaces[key])(
|
|
3414
|
+
LegacyTranslationKeys[key],
|
|
3415
|
+
DefaultTranslations[key]
|
|
3416
|
+
)
|
|
3417
3417
|
);
|
|
3418
3418
|
const useGoogleMapProps = (props) => {
|
|
3419
3419
|
const translationService = useService(TranslationsDefinition);
|
|
3420
3420
|
const translate = (translationService == null ? void 0 : translationService.translate) ?? noopTranslate;
|
|
3421
3421
|
const environment = useService(EnvironmentDefinition);
|
|
3422
3422
|
const siteLanguage = (environment == null ? void 0 : environment.language) ?? "en";
|
|
3423
|
-
const consentPolicyProps = useConsentPolicyProps(
|
|
3423
|
+
const consentPolicyProps = useConsentPolicyProps({
|
|
3424
|
+
namespace: COMPONENT_TYPE,
|
|
3425
|
+
translationEntries: ConsentTranslations
|
|
3426
|
+
});
|
|
3424
3427
|
const cookieConsent = useCookieConsent({
|
|
3425
3428
|
config: {
|
|
3426
3429
|
componentNameKey: COMPONENT_NAME_KEY,
|
|
@@ -3443,11 +3446,7 @@ const useGoogleMapProps = (props) => {
|
|
|
3443
3446
|
return {
|
|
3444
3447
|
...location,
|
|
3445
3448
|
pinIcon: ((_a = props.pinIcon) == null ? void 0 : _a.svgContent) || defaultPinIcon,
|
|
3446
|
-
directionTitle: translateKey(
|
|
3447
|
-
translate,
|
|
3448
|
-
"directionsLink",
|
|
3449
|
-
TRANSLATIONS_NAMESPACES.googleMaps
|
|
3450
|
-
)
|
|
3449
|
+
directionTitle: translateKey(translate, "directionsLink")
|
|
3451
3450
|
};
|
|
3452
3451
|
});
|
|
3453
3452
|
return {
|
|
@@ -3482,16 +3481,8 @@ const useGoogleMapProps = (props) => {
|
|
|
3482
3481
|
customClassNames: [],
|
|
3483
3482
|
a11y: props.a11y,
|
|
3484
3483
|
translations: {
|
|
3485
|
-
title: translateKey(
|
|
3486
|
-
|
|
3487
|
-
"mapAriaLabel",
|
|
3488
|
-
TRANSLATIONS_NAMESPACES.componentLabel
|
|
3489
|
-
),
|
|
3490
|
-
allyTargetBlankDescription: translateKey(
|
|
3491
|
-
translate,
|
|
3492
|
-
"linkOpensNewTab",
|
|
3493
|
-
TRANSLATIONS_NAMESPACES.googleMaps
|
|
3494
|
-
),
|
|
3484
|
+
title: translateKey(translate, "mapAriaLabel"),
|
|
3485
|
+
allyTargetBlankDescription: translateKey(translate, "linkOpensNewTab"),
|
|
3495
3486
|
...cookieConsent.translations
|
|
3496
3487
|
},
|
|
3497
3488
|
lang: siteLanguage,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const COMPONENT_TYPE = "wixEditorElements.GoogleMap";
|
|
1
2
|
export declare const DEFAULT_ZOOM = 14;
|
|
2
3
|
export declare const MIN_ZOOM = 0;
|
|
3
4
|
export declare const MAX_ZOOM = 20;
|
|
@@ -64,10 +65,20 @@ export declare const TRANSLATIONS_NAMESPACES: {
|
|
|
64
65
|
readonly googleMaps: "GoogleMaps";
|
|
65
66
|
};
|
|
66
67
|
export declare const TranslationKeys: {
|
|
68
|
+
readonly mapAriaLabel: "googleMap.map.ariaLabel";
|
|
69
|
+
readonly linkOpensNewTab: "googleMap.link.newTabAriaDescription";
|
|
70
|
+
readonly directionsLink: "googleMap.directions.link";
|
|
71
|
+
};
|
|
72
|
+
export declare const LegacyTranslationKeys: {
|
|
67
73
|
readonly mapAriaLabel: "COMPONENT_LABEL_googleMapsTitle";
|
|
68
74
|
readonly linkOpensNewTab: "googleMaps_ariaLabel_linkOpensNewTab";
|
|
69
75
|
readonly directionsLink: "GoogleMaps_Directions_Link";
|
|
70
76
|
};
|
|
77
|
+
export declare const LegacyTranslationNamespaces: {
|
|
78
|
+
readonly mapAriaLabel: "component_label";
|
|
79
|
+
readonly linkOpensNewTab: "GoogleMaps";
|
|
80
|
+
readonly directionsLink: "GoogleMaps";
|
|
81
|
+
};
|
|
71
82
|
export declare const DefaultTranslations: {
|
|
72
83
|
readonly mapAriaLabel: "Google Maps";
|
|
73
84
|
readonly linkOpensNewTab: "Opens in a new tab";
|
|
@@ -78,6 +89,7 @@ export declare const COMPONENT_NAME_KEY = "CookieConsent_Dataset_Component_Googl
|
|
|
78
89
|
export declare const COMPONENT_NAME_DEFAULT = "Google Maps";
|
|
79
90
|
export declare const COMPANY_NAME_KEY = "CookieConsent_Dataset_Company_Google";
|
|
80
91
|
export declare const COMPANY_NAME_DEFAULT = "Google";
|
|
92
|
+
export declare const ConsentTranslations: import('../../../common/components/ConsentPolicyWrapper/ConsentPolicyWrapper.types').ConsentTranslationEntries;
|
|
81
93
|
export declare const DisplayNames: {
|
|
82
94
|
root: {
|
|
83
95
|
elementDisplayName: string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { b as DISPLAY_GROUPS, D as DATA, M as MEDIA, a as ACTIONS, I as INTERACTIONS, A as Archetype, L as LAYOUT } from "../chunks/chunk-LDITHLYN.js";
|
|
2
|
-
import {
|
|
2
|
+
import { g as getTranslationResources } from "../chunks/translationResources.js";
|
|
3
|
+
import { n as DisplayNames, o as MAP_STYLE_KEYS, p as defaultValues, a as MAX_ZOOM, M as MIN_ZOOM, C as COMPONENT_TYPE } from "../chunks/consts2.js";
|
|
3
4
|
import { b as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
|
|
4
5
|
const manifest = {
|
|
5
6
|
id: "bf8a38af-5784-47d5-92d3-3627a6a60bc6",
|
|
6
|
-
type:
|
|
7
|
+
type: COMPONENT_TYPE,
|
|
7
8
|
description: "Embeds an interactive Google Map, allowing visitors to view locations",
|
|
8
9
|
installation: {
|
|
9
10
|
initialSize: {
|
|
@@ -214,19 +215,15 @@ const manifest = {
|
|
|
214
215
|
}
|
|
215
216
|
},
|
|
216
217
|
resources: {
|
|
218
|
+
translations: getTranslationResources("GoogleMap"),
|
|
217
219
|
client: {
|
|
218
220
|
componentUrl: "./site/components/GoogleMap/component.tsx",
|
|
219
221
|
moduleSpecifier: "@wix/editor-react-components/GoogleMap",
|
|
220
|
-
serviceDependencies: [
|
|
221
|
-
"@wix/viewer-service-consent-policy",
|
|
222
|
-
"@wix/viewer-service-environment",
|
|
223
|
-
"@wix/viewer-service-translations"
|
|
224
|
-
],
|
|
225
222
|
dependencies: {
|
|
226
223
|
serviceDependencies: [
|
|
227
224
|
"@wix/viewer-service-consent-policy",
|
|
228
225
|
"@wix/viewer-service-environment",
|
|
229
|
-
"@wix/
|
|
226
|
+
"@wix/site-service-translations"
|
|
230
227
|
]
|
|
231
228
|
}
|
|
232
229
|
}
|
|
@@ -8,8 +8,8 @@ import { useService } from "@wix/services-manager-react";
|
|
|
8
8
|
import { d as defineStaticService } from "../chunks/staticService.js";
|
|
9
9
|
import { E as EnvironmentDefinition } from "../chunks/index2.js";
|
|
10
10
|
import { T as TranslationsDefinition } from "../chunks/index4.js";
|
|
11
|
+
import { A as ALLOWED_PROTOCOLS, S as SANDBOX, C as COMPONENT_TYPE, H as HTML_COMPONENT_TITLE_KEY, a as ARIA_LABEL_NAMESPACE, L as LEGACY_HTML_COMPONENT_TITLE_KEY, b as HTML_COMPONENT_TITLE_DEFAULT, D as DEFAULT_CONSENT_POLICY, c as ConsentTranslations } from "../chunks/constants35.js";
|
|
11
12
|
import { C as CLASS_NAME_ON_COMPONENT_ROOT_EXPERIMENT, M as MOVE_PREVIEW_IDENTITY_CLASSES_TO_ROOT_EXPERIMENT } from "../chunks/specs.js";
|
|
12
|
-
import { A as ARIA_LABEL_NAMESPACE } from "../chunks/constants35.js";
|
|
13
13
|
const isBrowser = () => typeof window !== "undefined";
|
|
14
14
|
function useIFrame({
|
|
15
15
|
reducer = () => ({}),
|
|
@@ -165,11 +165,6 @@ const HTMLComponent$1 = React.forwardRef((props, forwardRef) => {
|
|
|
165
165
|
) }) });
|
|
166
166
|
});
|
|
167
167
|
const TopologyDefinition = defineStaticService("@wix/viewer-service-topology");
|
|
168
|
-
const HTML_COMPONENT_TITLE_KEY = "HTML_Settings_Aria_Tag";
|
|
169
|
-
const HTML_COMPONENT_TITLE_DEFAULT = "Embedded Content";
|
|
170
|
-
const DEFAULT_CONSENT_POLICY = "essential";
|
|
171
|
-
const SANDBOX = "allow-same-origin allow-forms allow-popups allow-modals allow-scripts allow-pointer-lock";
|
|
172
|
-
const ALLOWED_PROTOCOLS = ["ftp:", "http:", "https:"];
|
|
173
168
|
const setProtocol = (url, staticHTMLComponentUrl) => {
|
|
174
169
|
const topologyProtocol = staticHTMLComponentUrl.startsWith("https") ? "https:" : "http:";
|
|
175
170
|
const protocol = url.startsWith("https") ? "https:" : topologyProtocol;
|
|
@@ -186,21 +181,25 @@ const useHTMLComponentProps = ({
|
|
|
186
181
|
const { topology } = useService(TopologyDefinition);
|
|
187
182
|
const environment = useService(EnvironmentDefinition);
|
|
188
183
|
const { translate } = useService(TranslationsDefinition);
|
|
189
|
-
const consentPolicyProps = useConsentPolicyProps(
|
|
184
|
+
const consentPolicyProps = useConsentPolicyProps({
|
|
185
|
+
namespace: COMPONENT_TYPE,
|
|
186
|
+
translationEntries: ConsentTranslations
|
|
187
|
+
});
|
|
190
188
|
const memoizedProps = useMemo(() => {
|
|
191
189
|
var _a2;
|
|
192
190
|
const sandbox = (environment == null ? void 0 : environment.useSandboxInHTMLComp) ? SANDBOX : void 0;
|
|
193
191
|
const allow = props.allowFullScreen ? "fullscreen" : void 0;
|
|
194
|
-
const tProxy = (namespace, key) => translate(namespace)(key);
|
|
195
192
|
const iframeUrl = setProtocol(
|
|
196
193
|
props.url ?? "",
|
|
197
194
|
(topology == null ? void 0 : topology.staticHTMLComponentUrl) ?? ""
|
|
198
195
|
);
|
|
199
|
-
const
|
|
200
|
-
|
|
201
|
-
|
|
196
|
+
const title = translate(COMPONENT_TYPE)(
|
|
197
|
+
HTML_COMPONENT_TITLE_KEY,
|
|
198
|
+
translate(ARIA_LABEL_NAMESPACE)(
|
|
199
|
+
LEGACY_HTML_COMPONENT_TITLE_KEY,
|
|
200
|
+
HTML_COMPONENT_TITLE_DEFAULT
|
|
201
|
+
)
|
|
202
202
|
);
|
|
203
|
-
const title = translatedTitle !== HTML_COMPONENT_TITLE_KEY ? translatedTitle : HTML_COMPONENT_TITLE_DEFAULT;
|
|
204
203
|
const previewWrapperProps = {};
|
|
205
204
|
return {
|
|
206
205
|
...props,
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
export declare const COMPONENT_TYPE = "wixEditorElements.HTMLComponent";
|
|
1
2
|
export type ConsentPolicyKey = 'essential' | 'functional' | 'analytics' | 'advertising' | 'dataToThirdParty';
|
|
2
|
-
export declare const
|
|
3
|
+
export declare const ARIA_LABEL_NAMESPACE = "ariaLabels";
|
|
4
|
+
export declare const HTML_COMPONENT_TITLE_KEY = "htmlComponent.iframe.title";
|
|
5
|
+
export declare const LEGACY_HTML_COMPONENT_TITLE_KEY = "HTML_Settings_Aria_Tag";
|
|
3
6
|
export declare const HTML_COMPONENT_TITLE_DEFAULT = "Embedded Content";
|
|
7
|
+
export declare const ConsentTranslations: import('../../../common/components/ConsentPolicyWrapper/ConsentPolicyWrapper.types').ConsentTranslationEntries;
|
|
4
8
|
export declare const DEFAULT_CONSENT_POLICY: ConsentPolicyKey;
|
|
5
9
|
export declare const SANDBOX = "allow-same-origin allow-forms allow-popups allow-modals allow-scripts allow-pointer-lock";
|
|
6
10
|
export declare const ALLOWED_PROTOCOLS: string[];
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
var _a, _b;
|
|
2
2
|
import { D as DATA, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
3
|
+
import { g as getTranslationResources } from "../chunks/translationResources.js";
|
|
4
|
+
import { C as COMPONENT_TYPE } from "../chunks/constants35.js";
|
|
3
5
|
import { b as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
|
|
4
6
|
const DisplayNames = {
|
|
5
7
|
root: {
|
|
@@ -42,7 +44,7 @@ typeof window !== "undefined" && ((_a = window == null ? void 0 : window.service
|
|
|
42
44
|
typeof window !== "undefined" && ((_b = window == null ? void 0 : window.serviceTopology) == null ? void 0 : _b.staticHTMLComponentUrl) || "https://static.filesuser.com/";
|
|
43
45
|
const manifest = {
|
|
44
46
|
id: "e81a1c4b-8b8c-4a7e-9f2d-1a3b4c5d6e7f",
|
|
45
|
-
type:
|
|
47
|
+
type: COMPONENT_TYPE,
|
|
46
48
|
description: "HTMLComponent",
|
|
47
49
|
installation: {
|
|
48
50
|
initialSize: {
|
|
@@ -172,38 +174,27 @@ const manifest = {
|
|
|
172
174
|
}
|
|
173
175
|
},
|
|
174
176
|
resources: {
|
|
177
|
+
translations: getTranslationResources("HTMLComponent"),
|
|
175
178
|
editor: {
|
|
176
179
|
componentUrl: "./site/components/HTMLComponent/component.preview.tsx",
|
|
177
|
-
serviceDependencies: [
|
|
178
|
-
"@wix/viewer-service-consent-policy",
|
|
179
|
-
"@wix/viewer-service-environment",
|
|
180
|
-
"@wix/viewer-service-topology",
|
|
181
|
-
"@wix/viewer-service-translations"
|
|
182
|
-
],
|
|
183
180
|
dependencies: {
|
|
184
181
|
serviceDependencies: [
|
|
185
182
|
"@wix/viewer-service-consent-policy",
|
|
186
183
|
"@wix/viewer-service-environment",
|
|
187
184
|
"@wix/viewer-service-topology",
|
|
188
|
-
"@wix/
|
|
185
|
+
"@wix/site-service-translations"
|
|
189
186
|
]
|
|
190
187
|
}
|
|
191
188
|
},
|
|
192
189
|
client: {
|
|
193
190
|
componentUrl: "./site/components/HTMLComponent/component.tsx",
|
|
194
191
|
moduleSpecifier: "@wix/editor-react-components/HTMLComponent",
|
|
195
|
-
serviceDependencies: [
|
|
196
|
-
"@wix/viewer-service-consent-policy",
|
|
197
|
-
"@wix/viewer-service-environment",
|
|
198
|
-
"@wix/viewer-service-topology",
|
|
199
|
-
"@wix/viewer-service-translations"
|
|
200
|
-
],
|
|
201
192
|
dependencies: {
|
|
202
193
|
serviceDependencies: [
|
|
203
194
|
"@wix/viewer-service-consent-policy",
|
|
204
195
|
"@wix/viewer-service-environment",
|
|
205
196
|
"@wix/viewer-service-topology",
|
|
206
|
-
"@wix/
|
|
197
|
+
"@wix/site-service-translations"
|
|
207
198
|
]
|
|
208
199
|
}
|
|
209
200
|
},
|