@useinsider/guido 3.14.0-beta.1abaa5e → 3.14.0-beta.2bae355
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/components/organisms/header/EditorActions.vue.js +1 -1
- package/dist/components/organisms/header/EditorActions.vue2.js +47 -39
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +30 -28
- package/dist/composables/useAllowlist.js +30 -48
- package/dist/composables/useHtmlCompiler.js +16 -19
- package/dist/{src/composables → composables}/useHttp.d.ts +6 -0
- package/dist/composables/useHttp.js +66 -59
- package/dist/config/compiler/htmlCompilerRules.js +7 -34
- package/dist/guido.css +1 -1
- package/package.json +1 -1
- /package/dist/{src/@types → @types}/config/defaults.d.ts +0 -0
- /package/dist/{src/@types → @types}/config/index.d.ts +0 -0
- /package/dist/{src/@types → @types}/config/schemas.d.ts +0 -0
- /package/dist/{src/@types → @types}/config/types.d.ts +0 -0
- /package/dist/{src/@types → @types}/config/validator.d.ts +0 -0
- /package/dist/{src/@types → @types}/events.d.ts +0 -0
- /package/dist/{src/@types → @types}/extensions/block.d.ts +0 -0
- /package/dist/{src/@types → @types}/generic.d.ts +0 -0
- /package/dist/{src/@types → @types}/save-as-template.d.ts +0 -0
- /package/dist/{src/App.vue.d.ts → App.vue.d.ts} +0 -0
- /package/dist/{src/components → components}/Guido.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/AutoSaveController.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/LoadingWrapper.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/base/Toaster.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/email-preview/PreviewContainer.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/email-preview/amp/AmpErrorModal.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/email-preview/amp/AmpToggle.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/email-preview/desktop-preview/DesktopBrowserHeader.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/email-preview/desktop-preview/DesktopPreview.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/email-preview/desktop-preview/EmailHeaderInfo.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/email-preview/desktop-preview/EmailSizeIndicator.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/email-preview/mobile-preview/ContentView.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/email-preview/mobile-preview/InboxView.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/email-preview/mobile-preview/MobilePreview.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/extensions/recommendation/FilterItem.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/extensions/recommendation/FilterSelectionDrawer.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/extensions/recommendation/Filters.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/extensions/recommendation/LogicAdapter.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/header/AutoSaveToggle.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/header/EditorActions.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/header/EditorToolbar.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/header/HeaderWrapper.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/header/LeftSlot.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/header/MiddleSlot.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/header/MigrationConfirmModal.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/header/RightSlot.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/header/ViewOptions.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/header/version-history/RestoreButton.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/header/version-history/VersionHistory.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/header/version-history/VersionHistoryItem.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/header/version-history/ViewOptions.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/onboarding/AMPOnboarding.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/onboarding/GenericOnboarding.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/onboarding/ItemsOnboarding.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/onboarding/NewVersionPopup.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/onboarding/OnboardingWrapper.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/onboarding/TextBlockOnboarding.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/onboarding/VersionHistoryOnboarding.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/save-as-template/SaveAsTemplateDrawer.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/unsubscribe/UnsubscribeBreadcrumb.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/unsubscribe/UnsubscribePageSelection.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/unsubscribe/UnsubscribeTypeSelection.vue.d.ts +0 -0
- /package/dist/{src/components → components}/organisms/unsubscribe/UnsubscribeWrapper.vue.d.ts +0 -0
- /package/dist/{src/components → components}/wrappers/WpDrawer.vue.d.ts +0 -0
- /package/dist/{src/components → components}/wrappers/WpModal.vue.d.ts +0 -0
- /package/dist/{src/composables → composables}/useActionsApi.d.ts +0 -0
- /package/dist/{src/composables → composables}/useAllowlist.d.ts +0 -0
- /package/dist/{src/composables → composables}/useAutoSave.d.ts +0 -0
- /package/dist/{src/composables → composables}/useBlocksConfig.d.ts +0 -0
- /package/dist/{src/composables → composables}/useCodeEditorApi.d.ts +0 -0
- /package/dist/{src/composables → composables}/useConfig.d.ts +0 -0
- /package/dist/{src/composables → composables}/useCortexBlueprintBridge.d.ts +0 -0
- /package/dist/{src/composables → composables}/useCustomInterfaceAppearance.d.ts +0 -0
- /package/dist/{src/composables → composables}/useDebounce.d.ts +0 -0
- /package/dist/{src/composables → composables}/useEmailTemplateApplier.d.ts +0 -0
- /package/dist/{src/composables → composables}/useExport.d.ts +0 -0
- /package/dist/{src/composables → composables}/useFullStoryBridge.d.ts +0 -0
- /package/dist/{src/composables → composables}/useGuidoActions.d.ts +0 -0
- /package/dist/{src/composables → composables}/useGuidoStateBridge.d.ts +0 -0
- /package/dist/{src/composables → composables}/useHtmlCompiler.d.ts +0 -0
- /package/dist/{src/composables → composables}/useHtmlValidator.d.ts +0 -0
- /package/dist/{src/composables → composables}/useModuleDynamicContentRepair.d.ts +0 -0
- /package/dist/{src/composables → composables}/usePartner.d.ts +0 -0
- /package/dist/{src/composables → composables}/usePreviewInteractionGuard.d.ts +0 -0
- /package/dist/{src/composables → composables}/usePreviewMode.d.ts +0 -0
- /package/dist/{src/composables → composables}/useProvideInject.d.ts +0 -0
- /package/dist/{src/composables → composables}/useRecommendation.d.ts +0 -0
- /package/dist/{src/composables → composables}/useRecommendationPreview.d.ts +0 -0
- /package/dist/{src/composables → composables}/useResponsivePreview.d.ts +0 -0
- /package/dist/{src/composables → composables}/useRibbonOffset.d.ts +0 -0
- /package/dist/{src/composables → composables}/useSave.d.ts +0 -0
- /package/dist/{src/composables → composables}/useStripo.d.ts +0 -0
- /package/dist/{src/composables → composables}/useStripoEventHandler.d.ts +0 -0
- /package/dist/{src/composables → composables}/useStripoNotifications.d.ts +0 -0
- /package/dist/{src/composables → composables}/useSyncModuleExtractor.d.ts +0 -0
- /package/dist/{src/composables → composables}/useTimerClone.d.ts +0 -0
- /package/dist/{src/composables → composables}/useToaster.d.ts +0 -0
- /package/dist/{src/composables → composables}/useTranslations.d.ts +0 -0
- /package/dist/{src/composables → composables}/useUserRole.d.ts +0 -0
- /package/dist/{src/composables → composables}/useValidation.d.ts +0 -0
- /package/dist/{src/composables → composables}/useVersionHistoryApi.d.ts +0 -0
- /package/dist/{src/composables → composables}/validators/saveAsTemplate.d.ts +0 -0
- /package/dist/{src/composables → composables}/validators/useCouponBlockValidator.d.ts +0 -0
- /package/dist/{src/composables → composables}/validators/useLiquidValidator.d.ts +0 -0
- /package/dist/{src/composables → composables}/validators/useUnsubscribeBlockValidator.d.ts +0 -0
- /package/dist/{src/config → config}/compiler/htmlCompilerRules.d.ts +0 -0
- /package/dist/{src/config → config}/compiler/itemsCompilerRules.d.ts +0 -0
- /package/dist/{src/config → config}/compiler/liquidCompilerRules.d.ts +0 -0
- /package/dist/{src/config → config}/compiler/outlookCompilerRules.d.ts +0 -0
- /package/dist/{src/config → config}/compiler/recommendationCompilerRules.d.ts +0 -0
- /package/dist/{src/config → config}/compiler/socialCompilerRules.d.ts +0 -0
- /package/dist/{src/config → config}/compiler/unsubscribeCompilerRules.d.ts +0 -0
- /package/dist/{src/config → config}/compiler/utils/recommendationCompilerUtils.d.ts +0 -0
- /package/dist/{src/config → config}/compiler/utils/recommendationIgnoreUtils.d.ts +0 -0
- /package/dist/{src/config → config}/i18n/en/index.d.ts +0 -0
- /package/dist/{src/config → config}/i18n/index.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/checkboxMigrator.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/couponBlockMigrator.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/index.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/itemsBlockMigrator.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/radioButtonMigrator.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/recommendation/compositionMapper.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/recommendation/extractors.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/recommendation/htmlBuilder.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/recommendation/parseLegacyConfig.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/recommendation/settingsMapper.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/recommendation/themeMapper.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/recommendation/types.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/recommendationMigrator.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/socialIconMigrator.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/textBlockMigration.d.ts +0 -0
- /package/dist/{src/config → config}/migrator/unsubscribeMigrator.d.ts +0 -0
- /package/dist/{src/enums → enums}/academy.d.ts +0 -0
- /package/dist/{src/enums → enums}/block.d.ts +0 -0
- /package/dist/{src/enums → enums}/date.d.ts +0 -0
- /package/dist/{src/enums → enums}/defaults.d.ts +0 -0
- /package/dist/{src/enums → enums}/extensions/recommendationBlock.d.ts +0 -0
- /package/dist/{src/enums → enums}/html-validator.d.ts +0 -0
- /package/dist/{src/enums → enums}/onboarding.d.ts +0 -0
- /package/dist/{src/enums → enums}/preview.d.ts +0 -0
- /package/dist/{src/enums → enums}/recommendation.d.ts +0 -0
- /package/dist/{src/enums → enums}/roles.d.ts +0 -0
- /package/dist/{src/enums → enums}/toaster.d.ts +0 -0
- /package/dist/{src/enums → enums}/unsubscribe.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Checkbox/block.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Checkbox/control.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Checkbox/extension.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Checkbox/iconsRegistry.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Checkbox/settingsPanel.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Checkbox/template.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/CouponBlock/block.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/CouponBlock/constants.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/CouponBlock/controls/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/CouponBlock/extension.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/CouponBlock/iconsRegistry.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/CouponBlock/settingsPanel.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/CouponBlock/template.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/block.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/controls/button/link.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/controls/cardComposition.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/controls/image/link.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/controls/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/controls/name/trimming.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/controls/price/currencyLocation.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/controls/price/currencySymbol.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/controls/price/formattedPrice.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/controls/price/hideDiscount.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/controls/price/priceOrientation.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/controls/price/singlePrice.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/controls/settingsControl.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/enums/controlEnums.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/enums/productEnums.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/enums/settingsEnums.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/extension.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/iconsRegistry.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/settingsPanel.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/template.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Items/utils/nodeConfigUtils.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/RadioButton/block.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/RadioButton/control.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/RadioButton/extension.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/RadioButton/iconsRegistry.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/RadioButton/settingsPanel.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/RadioButton/template.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/block.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/constants/blockIds.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/constants/controlIds.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/constants/defaultConfig.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/constants/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/constants/layout.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/constants/selectors.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/blockBackground/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/button/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/cardBackground/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/cardComposition/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/customAttribute/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/customAttribute/textTrim.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/image/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/main/algorithm.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/main/currency.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/main/filters.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/main/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/main/layoutOrientation.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/main/locale.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/main/pricePlacement.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/main/productCount.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/main/productLayout.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/main/shuffle.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/main/utils.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/mobileLayout/cssRules.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/name/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/name/textTrim.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/oldPrice/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/omnibusDiscount/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/omnibusDiscount/textAfter.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/omnibusDiscount/textBefore.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/omnibusPrice/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/omnibusPrice/textAfter.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/omnibusPrice/textBefore.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/price/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/shared/textTrimCssRules.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/spacing/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/controls/syncInfoMessage.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/extension.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/iconsRegistry.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/services/configService.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/services/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/settingsPanel.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/store/recommendation.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/templates/grid/elementRenderer.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/templates/grid/migration.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/templates/grid/template.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/templates/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/templates/list/elementRenderer.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/templates/list/migration.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/templates/list/template.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/templates/utils.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/types/index.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/types/nodeConfig.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/useRecommendationBlockWarning.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/utils/captureStyleTemplates.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/utils/filterUtil.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/utils/legacyStrategyMap.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/utils/partnerCustomizations.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/utils/priceFormatter.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/utils/recommendationBlockCount.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/utils/tagName.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/validation/filterSchema.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Recommendation/validation/requiredFields.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/block.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/control.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/elements/preview.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/extension.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/iconsRegistry.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/settingsPanel.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/tagRegistry.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/template.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/utils/constants.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/Unsubscribe/utils/utils.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/_Boilerplate/block.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/_Boilerplate/control.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/_Boilerplate/extension.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/_Boilerplate/iconsRegistry.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/_Boilerplate/settingsPanel.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/_Boilerplate/template.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/common-control.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/Blocks/controlFactories.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/DynamicContent/dynamic-content-modal.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/DynamicContent/dynamic-content.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/DynamicContent/extension.d.ts +0 -0
- /package/dist/{src/extensions → extensions}/ModulesTabIcons/extension.d.ts +0 -0
- /package/dist/{src/library.d.ts → library.d.ts} +0 -0
- /package/dist/{src/main.d.ts → main.d.ts} +0 -0
- /package/dist/{src/mock → mock}/api/auth.d.ts +0 -0
- /package/dist/{src/mock → mock}/api/custom-fonts.d.ts +0 -0
- /package/dist/{src/mock → mock}/api/default-template.d.ts +0 -0
- /package/dist/{src/mock → mock}/api/recommendation.d.ts +0 -0
- /package/dist/{src/mock → mock}/api/settings.d.ts +0 -0
- /package/dist/{src/mock → mock}/api/template-library.d.ts +0 -0
- /package/dist/{src/mock → mock}/api/unsubscribe.d.ts +0 -0
- /package/dist/{src/mock → mock}/api/user-modal-state.d.ts +0 -0
- /package/dist/{src/mock → mock}/api/validator.d.ts +0 -0
- /package/dist/{src/mock → mock}/browser.d.ts +0 -0
- /package/dist/{src/mock → mock}/handlers.d.ts +0 -0
- /package/dist/{src/services → services}/allowlistApi.d.ts +0 -0
- /package/dist/{src/services → services}/blankTemplate.d.ts +0 -0
- /package/dist/{src/services → services}/onboardingApi.d.ts +0 -0
- /package/dist/{src/services → services}/recommendationApi.d.ts +0 -0
- /package/dist/{src/services → services}/stripoApi.d.ts +0 -0
- /package/dist/{src/services → services}/templateLibraryApi.d.ts +0 -0
- /package/dist/{src/services → services}/unsubscribeApi.d.ts +0 -0
- /package/dist/{src/stores → stores}/autosave.d.ts +0 -0
- /package/dist/{src/stores → stores}/config.d.ts +0 -0
- /package/dist/{src/stores → stores}/dynamic-content.d.ts +0 -0
- /package/dist/{src/stores → stores}/editor.d.ts +0 -0
- /package/dist/{src/stores → stores}/guido-email-editor.d.ts +0 -0
- /package/dist/{src/stores → stores}/onboarding.d.ts +0 -0
- /package/dist/{src/stores → stores}/preview.d.ts +0 -0
- /package/dist/{src/stores → stores}/recommendation.d.ts +0 -0
- /package/dist/{src/stores → stores}/save-as-template.d.ts +0 -0
- /package/dist/{src/stores → stores}/template.d.ts +0 -0
- /package/dist/{src/stores → stores}/toaster.d.ts +0 -0
- /package/dist/{src/stores → stores}/unsubscribe.d.ts +0 -0
- /package/dist/{src/stores → stores}/version-history.d.ts +0 -0
- /package/dist/{src/utils → utils}/ampErrorFilter.d.ts +0 -0
- /package/dist/{src/utils → utils}/arrayUtil.d.ts +0 -0
- /package/dist/{src/utils → utils}/base64.d.ts +0 -0
- /package/dist/{src/utils → utils}/dateUtil.d.ts +0 -0
- /package/dist/{src/utils → utils}/dynamicContentConverter.d.ts +0 -0
- /package/dist/{src/utils → utils}/environmentUtil.d.ts +0 -0
- /package/dist/{src/utils → utils}/genericUtil.d.ts +0 -0
- /package/dist/{src/utils → utils}/htmlCompiler.d.ts +0 -0
- /package/dist/{src/utils → utils}/htmlEscape.d.ts +0 -0
- /package/dist/{src/utils → utils}/migrationBannerHtml.d.ts +0 -0
- /package/dist/{src/utils → utils}/pairProductVariables.d.ts +0 -0
- /package/dist/{src/utils → utils}/preserveTextStyles.d.ts +0 -0
- /package/dist/{src/utils → utils}/stripFontTags.d.ts +0 -0
- /package/dist/{src/utils → utils}/templatePreparation.d.ts +0 -0
- /package/dist/{src/utils → utils}/timeUtil.d.ts +0 -0
- /package/dist/{src/utils → utils}/tooltipUtils.d.ts +0 -0
- /package/dist/{src/utils → utils}/urlSchemes.d.ts +0 -0
|
@@ -1,66 +1,74 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useActionsApi as
|
|
3
|
-
import { useConfig as
|
|
4
|
-
import { useExport as
|
|
5
|
-
import { useTestEmailClick as
|
|
6
|
-
import { useHtmlCompiler as
|
|
7
|
-
import { useSave as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
1
|
+
import { defineComponent as q, ref as a, computed as T } from "vue";
|
|
2
|
+
import { useActionsApi as D } from "../../../composables/useActionsApi.js";
|
|
3
|
+
import { useConfig as F } from "../../../composables/useConfig.js";
|
|
4
|
+
import { useExport as b } from "../../../composables/useExport.js";
|
|
5
|
+
import { useTestEmailClick as k } from "../../../composables/useGuidoActions.js";
|
|
6
|
+
import { useHtmlCompiler as B } from "../../../composables/useHtmlCompiler.js";
|
|
7
|
+
import { useSave as I } from "../../../composables/useSave.js";
|
|
8
|
+
import { useToaster as L } from "../../../composables/useToaster.js";
|
|
9
|
+
import { useTranslations as R } from "../../../composables/useTranslations.js";
|
|
10
|
+
import { useVersionHistoryApi as z } from "../../../composables/useVersionHistoryApi.js";
|
|
11
|
+
import { useLiquidValidator as G } from "../../../composables/validators/useLiquidValidator.js";
|
|
12
|
+
import { useEditorStore as P } from "../../../stores/editor.js";
|
|
13
|
+
import { useTemplateStore as U } from "../../../stores/template.js";
|
|
13
14
|
import { getTooltipOptions as j } from "../../../utils/tooltipUtils.js";
|
|
14
|
-
import { InButtonV2 as
|
|
15
|
-
import { storeToRefs as
|
|
16
|
-
import
|
|
17
|
-
const
|
|
15
|
+
import { InButtonV2 as J } from "@useinsider/design-system-vue";
|
|
16
|
+
import { storeToRefs as K } from "pinia";
|
|
17
|
+
import N from "./MigrationConfirmModal.vue.js";
|
|
18
|
+
const pt = /* @__PURE__ */ q({
|
|
18
19
|
__name: "EditorActions",
|
|
19
|
-
setup(
|
|
20
|
-
const { config:
|
|
20
|
+
setup(Q, { expose: x }) {
|
|
21
|
+
const { config: n, isFeatureEnabled: l } = F(), { exportHtml: m } = b(), { save: u } = I(), { openVersionHistory: c, closeVersionHistory: f } = z(), { getCompiledEmail: p } = D(), { compileHtml: d } = B(), { validateLiquidSyntax: v } = G(), { handleError: y } = L(), e = P(), g = U(), { hasMigrations: S } = K(g), r = R(), s = a(!1), i = a(!1), H = a(), V = k(), _ = () => {
|
|
21
22
|
if (e.isVersionHistoryOpen) {
|
|
22
|
-
|
|
23
|
+
f();
|
|
23
24
|
return;
|
|
24
25
|
}
|
|
25
26
|
c();
|
|
26
27
|
}, w = async () => {
|
|
27
|
-
|
|
28
|
-
},
|
|
28
|
+
s.value = !0, await m(), s.value = !1;
|
|
29
|
+
}, A = () => {
|
|
29
30
|
e.isSaveAsTemplateDrawerOpen = !0;
|
|
30
|
-
}, C =
|
|
31
|
+
}, C = T(() => e.isVersionHistoryOpen ? r("newsletter.close-version-history") : r("newsletter.version-history")), O = T(
|
|
31
32
|
() => {
|
|
32
|
-
var
|
|
33
|
-
return ((
|
|
33
|
+
var o, t;
|
|
34
|
+
return ((t = (o = n.value) == null ? void 0 : o.features) == null ? void 0 : t.versionHistory) && !e.isPreviewModeOpen;
|
|
34
35
|
}
|
|
35
|
-
),
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
(o = S.value) == null || o.open();
|
|
36
|
+
), E = async (o) => {
|
|
37
|
+
i.value = !0, o || (e.loadingStatus = !0);
|
|
38
|
+
try {
|
|
39
|
+
const t = await u(o);
|
|
40
|
+
return !o && !t && (e.loadingStatus = !1), t;
|
|
41
|
+
} catch (t) {
|
|
42
|
+
console.error("[GUIDO_SAVE] save failed", t), y(t, "Failed to save template"), o || (e.loadingStatus = !1);
|
|
43
43
|
return;
|
|
44
|
+
} finally {
|
|
45
|
+
i.value = !1;
|
|
44
46
|
}
|
|
45
|
-
|
|
47
|
+
}, h = (o) => {
|
|
48
|
+
var t;
|
|
49
|
+
if (!o && S.value) {
|
|
50
|
+
(t = H.value) == null || t.open();
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
return E(o);
|
|
46
54
|
}, M = async () => {
|
|
47
55
|
if (l("liquidSyntax")) {
|
|
48
56
|
e.loadingStatus = !0;
|
|
49
57
|
try {
|
|
50
|
-
const { html:
|
|
51
|
-
if (!await v(
|
|
58
|
+
const { html: o } = await p({ minimize: !0, resetDataSavedFlag: !1 }), { compiledHtml: t } = d(o);
|
|
59
|
+
if (!await v(t))
|
|
52
60
|
return;
|
|
53
61
|
} finally {
|
|
54
62
|
e.loadingStatus = !1;
|
|
55
63
|
}
|
|
56
64
|
}
|
|
57
|
-
|
|
65
|
+
V();
|
|
58
66
|
};
|
|
59
67
|
return x({
|
|
60
|
-
handleSave:
|
|
61
|
-
}), { __sfc: !0, config:
|
|
68
|
+
handleSave: h
|
|
69
|
+
}), { __sfc: !0, config: n, isFeatureEnabled: l, exportHtml: m, save: u, openVersionHistory: c, closeVersionHistory: f, getCompiledEmail: p, compileHtml: d, validateLiquidSyntax: v, handleError: y, editorStore: e, templateStore: g, hasMigrations: S, trans: r, isExporting: s, isSaving: i, migrationModalRef: H, testEmailClick: V, handleVersionHistory: _, handleExport: w, handleSaveAs: A, versionHistoryTooltipText: C, isVersionHistoryButtonVisible: O, executeSave: E, handleSave: h, handleTestEmail: M, getTooltipOptions: j, InButtonV2: J, MigrationConfirmModal: N };
|
|
62
70
|
}
|
|
63
71
|
});
|
|
64
72
|
export {
|
|
65
|
-
|
|
73
|
+
pt as default
|
|
66
74
|
};
|
|
@@ -1,46 +1,48 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as O, computed as e, onMounted as b, watch as t } from "vue";
|
|
2
2
|
import u from "./AMPOnboarding.vue.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { usePartner as
|
|
9
|
-
import { useEditorStore as
|
|
3
|
+
import l from "./GenericOnboarding.vue.js";
|
|
4
|
+
import v from "./ItemsOnboarding.vue.js";
|
|
5
|
+
import h from "./NewVersionPopup.vue.js";
|
|
6
|
+
import y from "./TextBlockOnboarding.vue.js";
|
|
7
|
+
import S from "./VersionHistoryOnboarding.vue.js";
|
|
8
|
+
import { usePartner as P } from "../../../composables/usePartner.js";
|
|
9
|
+
import { useEditorStore as w } from "../../../stores/editor.js";
|
|
10
10
|
import { useOnboardingStore as _ } from "../../../stores/onboarding.js";
|
|
11
11
|
import { usePreviewStore as A } from "../../../stores/preview.js";
|
|
12
|
-
const
|
|
12
|
+
const R = /* @__PURE__ */ O({
|
|
13
13
|
__name: "OnboardingWrapper",
|
|
14
14
|
emits: ["onboarding-finished"],
|
|
15
15
|
setup(H, { emit: f }) {
|
|
16
|
-
const
|
|
17
|
-
{ type: "newVersionPopup", component:
|
|
18
|
-
{ type: "genericOnboarding", component:
|
|
19
|
-
{ type: "textBlockOnboarding", component:
|
|
20
|
-
{ type: "versionHistoryOnboarding", component:
|
|
16
|
+
const r = _(), n = w(), s = A(), { isTestPartner: a } = P(), p = e(() => n.isStripoInitialized), d = e(() => a()), m = [
|
|
17
|
+
{ type: "newVersionPopup", component: h },
|
|
18
|
+
{ type: "genericOnboarding", component: l },
|
|
19
|
+
{ type: "textBlockOnboarding", component: y },
|
|
20
|
+
{ type: "versionHistoryOnboarding", component: S },
|
|
21
21
|
{ type: "ampOnboarding", component: u },
|
|
22
|
-
{ type: "itemsOnboarding", component:
|
|
23
|
-
], c = (
|
|
24
|
-
return
|
|
25
|
-
|
|
22
|
+
{ type: "itemsOnboarding", component: v }
|
|
23
|
+
], c = (o) => d.value || !p.value ? !1 : o === "newVersionPopup" ? r.shouldShowOnboarding(o) : r.isActive(o), g = e(() => m.filter((o) => c(o.type)));
|
|
24
|
+
return b(() => {
|
|
25
|
+
r.fetchUserModalState().catch((o) => {
|
|
26
|
+
console.error("[GUIDO_ONBOARDING] user modal state prefetch failed", o);
|
|
27
|
+
});
|
|
26
28
|
}), t(
|
|
27
|
-
() =>
|
|
28
|
-
(
|
|
29
|
-
|
|
29
|
+
() => n.isVersionHistoryOpen,
|
|
30
|
+
(o, i) => {
|
|
31
|
+
o && !i && r.shouldShowOnboarding("versionHistoryOnboarding") && r.start("versionHistoryOnboarding"), !o && i && r.isActive("versionHistoryOnboarding") && r.close("versionHistoryOnboarding");
|
|
30
32
|
}
|
|
31
33
|
), t(
|
|
32
34
|
() => s.emailFormat,
|
|
33
|
-
(
|
|
34
|
-
i !== "AMP" &&
|
|
35
|
+
(o, i) => {
|
|
36
|
+
i !== "AMP" && o === "AMP" && r.shouldShowOnboarding("ampOnboarding") && r.start("ampOnboarding");
|
|
35
37
|
}
|
|
36
38
|
), t(
|
|
37
|
-
() =>
|
|
38
|
-
(
|
|
39
|
-
!
|
|
39
|
+
() => n.isPreviewModeOpen,
|
|
40
|
+
(o) => {
|
|
41
|
+
!o && r.isActive("ampOnboarding") && r.close("ampOnboarding");
|
|
40
42
|
}
|
|
41
|
-
), { __sfc: !0, emit: f, onboardingStore:
|
|
43
|
+
), { __sfc: !0, emit: f, onboardingStore: r, editorStore: n, previewStore: s, isTestPartner: a, isStripoReady: p, isTestPartnerActive: d, onboardingConfigs: m, shouldShow: c, visibleOnboardings: g };
|
|
42
44
|
}
|
|
43
45
|
});
|
|
44
46
|
export {
|
|
45
|
-
|
|
47
|
+
R as default
|
|
46
48
|
};
|
|
@@ -1,68 +1,50 @@
|
|
|
1
1
|
import { useAllowlistApi as A } from "../services/allowlistApi.js";
|
|
2
|
-
import { base64EncodeWithSpecialChars as
|
|
3
|
-
import { useTranslations as
|
|
4
|
-
import { useUserRole as
|
|
5
|
-
const
|
|
6
|
-
"insider-email",
|
|
7
|
-
"web-image.useinsider.com",
|
|
8
|
-
"image.useinsider.com",
|
|
9
|
-
"panel-assets.useinsider.com",
|
|
10
|
-
"stripo-editor-image"
|
|
11
|
-
], N = ({ hostname: r, pathname: l }) => {
|
|
12
|
-
const n = r.toLowerCase();
|
|
13
|
-
if (n === w) {
|
|
14
|
-
const i = l.split("/")[1].toLowerCase();
|
|
15
|
-
return d.includes(i);
|
|
16
|
-
}
|
|
17
|
-
return d.some((i) => n === `${i}.${w}`);
|
|
18
|
-
}, m = {
|
|
2
|
+
import { base64EncodeWithSpecialChars as p } from "../utils/base64.js";
|
|
3
|
+
import { useTranslations as h } from "./useTranslations.js";
|
|
4
|
+
import { useUserRole as D } from "./useUserRole.js";
|
|
5
|
+
const f = /(?:https?:\/\/|www\.)[^\s"'<>()]+/gi, E = /"\/\//gi, i = {
|
|
19
6
|
MANAGE: "journey-builder.domain-allowlist-warning",
|
|
20
7
|
NON_MANAGE: "settings.allow-list-warning-not-admin-architect",
|
|
21
8
|
ADD_BUTTON: "settings.allow-list-warning-add-button"
|
|
22
|
-
},
|
|
23
|
-
const { checkDomain:
|
|
24
|
-
const
|
|
25
|
-
return
|
|
26
|
-
const
|
|
9
|
+
}, w = /* @__PURE__ */ new Set(), O = (n) => `/settings?openAddModal=true&type=domain&values=${p(n)}#security`, M = () => {
|
|
10
|
+
const { checkDomain: n } = A(), { getIsManageUser: l } = D(), a = h(), d = (t, s) => {
|
|
11
|
+
const c = `${t || ""} ${s || ""}`.replace(E, "https://").match(f) || [], e = /* @__PURE__ */ new Set();
|
|
12
|
+
return c.forEach((r) => {
|
|
13
|
+
const g = /^https?:\/\//i.test(r) ? r : `https://${r}`;
|
|
27
14
|
try {
|
|
28
|
-
const u = new URL(
|
|
29
|
-
|
|
30
|
-
return;
|
|
31
|
-
u.hostname && s.add(u.hostname.replace(/^www\./i, "").toLowerCase());
|
|
15
|
+
const { hostname: u } = new URL(g);
|
|
16
|
+
u && e.add(u.replace(/^www\./i, "").toLowerCase());
|
|
32
17
|
} catch {
|
|
33
18
|
}
|
|
34
|
-
}), [...
|
|
35
|
-
},
|
|
36
|
-
if (
|
|
19
|
+
}), [...e];
|
|
20
|
+
}, m = async (t) => {
|
|
21
|
+
if (w.has(t))
|
|
37
22
|
return !0;
|
|
38
23
|
try {
|
|
39
|
-
const
|
|
40
|
-
return
|
|
41
|
-
} catch (
|
|
42
|
-
return console.error("[GUIDO_ALLOWLIST] isDomainAllowlisted failed", t,
|
|
24
|
+
const s = await n(t);
|
|
25
|
+
return s && w.add(t), s;
|
|
26
|
+
} catch (s) {
|
|
27
|
+
return console.error("[GUIDO_ALLOWLIST] isDomainAllowlisted failed", t, s), !0;
|
|
43
28
|
}
|
|
44
29
|
};
|
|
45
|
-
return { getBlockedDomains: async (t,
|
|
30
|
+
return { getBlockedDomains: async (t, s) => {
|
|
46
31
|
try {
|
|
47
|
-
const o =
|
|
32
|
+
const o = d(t, s);
|
|
48
33
|
return o.length ? (await Promise.all(
|
|
49
|
-
o.map(async (
|
|
50
|
-
)).filter((
|
|
34
|
+
o.map(async (e) => ({ domain: e, allowlisted: await m(e) }))
|
|
35
|
+
)).filter((e) => !e.allowlisted).map((e) => e.domain) : [];
|
|
51
36
|
} catch (o) {
|
|
52
37
|
return console.error("[GUIDO_ALLOWLIST] getBlockedDomains failed", o), [];
|
|
53
38
|
}
|
|
54
|
-
}, resolveToast: async (t) => {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
} : { message: a(n(m.NON_MANAGE)) };
|
|
63
|
-
} };
|
|
39
|
+
}, resolveToast: async (t) => await l() ? {
|
|
40
|
+
message: a(i.MANAGE),
|
|
41
|
+
actionButton: {
|
|
42
|
+
text: a(i.ADD_BUTTON),
|
|
43
|
+
onClick: () => window.open(O(t.join(",")), "_blank")
|
|
44
|
+
}
|
|
45
|
+
} : { message: a(i.NON_MANAGE) } };
|
|
64
46
|
};
|
|
65
47
|
export {
|
|
66
48
|
O as buildAllowlistSettingsUrl,
|
|
67
|
-
|
|
49
|
+
M as useAllowlist
|
|
68
50
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defaultHtmlCompilerRules as
|
|
2
|
-
import { itemsCompilerRules as
|
|
3
|
-
import { liquidCompilerRules as
|
|
4
|
-
import { outlookCompilerRules as
|
|
1
|
+
import { defaultHtmlCompilerRules as R } from "../config/compiler/htmlCompilerRules.js";
|
|
2
|
+
import { itemsCompilerRules as g } from "../config/compiler/itemsCompilerRules.js";
|
|
3
|
+
import { liquidCompilerRules as C } from "../config/compiler/liquidCompilerRules.js";
|
|
4
|
+
import { outlookCompilerRules as b } from "../config/compiler/outlookCompilerRules.js";
|
|
5
5
|
import { recommendationCompilerRules as v } from "../config/compiler/recommendationCompilerRules.js";
|
|
6
|
-
import { socialCompilerRules as
|
|
7
|
-
import { unsubscribeCompilerRules as
|
|
6
|
+
import { socialCompilerRules as H } from "../config/compiler/socialCompilerRules.js";
|
|
7
|
+
import { unsubscribeCompilerRules as x } from "../config/compiler/unsubscribeCompilerRules.js";
|
|
8
8
|
import { createHtmlCompiler as s } from "../utils/htmlCompiler.js";
|
|
9
|
-
import { useConfig as
|
|
10
|
-
const
|
|
9
|
+
import { useConfig as k } from "./useConfig.js";
|
|
10
|
+
const y = /* @__PURE__ */ new Set([
|
|
11
11
|
// URL/tag encoding fixes — keep merge-tag and placeholder integrity intact.
|
|
12
12
|
"fix-url-encoding-start",
|
|
13
13
|
"fix-url-encoding-end",
|
|
@@ -18,9 +18,6 @@ const h = /* @__PURE__ */ new Set([
|
|
|
18
18
|
// Image domain corrections — plain string replacement.
|
|
19
19
|
"replace-old-image-domain",
|
|
20
20
|
"replace-old-v2-image-domain",
|
|
21
|
-
"replace-s3-path-style-web-image-domain",
|
|
22
|
-
"replace-s3-path-style-image-domain",
|
|
23
|
-
"replace-s3-path-style-panel-assets-domain",
|
|
24
21
|
// Unsubscribe domain — the actual fix: injects the real unsubscribe href in
|
|
25
22
|
// place of the `{{ins-*-unsubscribe-link}}` placeholders, plus related
|
|
26
23
|
// unsubscribe-only cleanups. All pure regex/text, no AMP-forbidden output.
|
|
@@ -35,21 +32,21 @@ const h = /* @__PURE__ */ new Set([
|
|
|
35
32
|
"remove-contenteditable"
|
|
36
33
|
]), M = () => {
|
|
37
34
|
var i, m, r;
|
|
38
|
-
const { compiler: o, isFeatureEnabled:
|
|
39
|
-
...!!((m = o.value) != null && m.ignoreDefaultRules) ? [] :
|
|
35
|
+
const { compiler: o, isFeatureEnabled: n, partner: a } = k(), p = ((i = o.value) == null ? void 0 : i.customRules) || [], l = [
|
|
36
|
+
...!!((m = o.value) != null && m.ignoreDefaultRules) ? [] : R,
|
|
40
37
|
...v,
|
|
38
|
+
...x,
|
|
39
|
+
...g,
|
|
40
|
+
...b,
|
|
41
41
|
...H,
|
|
42
|
-
...
|
|
43
|
-
...C,
|
|
44
|
-
...y,
|
|
45
|
-
...a("liquidSyntax") ? b : [],
|
|
42
|
+
...n("liquidSyntax") ? C : [],
|
|
46
43
|
...p.map((e, f) => ({
|
|
47
44
|
...e,
|
|
48
45
|
priority: e.priority + 1e3 + f
|
|
49
46
|
// Ensure additional rules run after default rules
|
|
50
47
|
}))
|
|
51
|
-
],
|
|
52
|
-
return { compileHtml: (e) =>
|
|
48
|
+
], u = s(l), c = l.filter((e) => y.has(e.id)), d = s(c), t = (r = a.value) == null ? void 0 : r.fallbackFont;
|
|
49
|
+
return { compileHtml: (e) => u.compile(e, void 0, t), compileAmpHtml: (e) => d.compile(e, void 0, t) };
|
|
53
50
|
};
|
|
54
51
|
export {
|
|
55
52
|
M as useHtmlCompiler
|
|
@@ -17,6 +17,12 @@ export interface HttpError {
|
|
|
17
17
|
statusText?: string;
|
|
18
18
|
response?: Response;
|
|
19
19
|
}
|
|
20
|
+
export declare const TIMEOUT_ERROR_NAME = "TimeoutError";
|
|
21
|
+
export interface TimeoutErrorContext {
|
|
22
|
+
url: string;
|
|
23
|
+
method: HttpMethod;
|
|
24
|
+
timeout: number;
|
|
25
|
+
}
|
|
20
26
|
export declare const useHttp: (defaultOptions?: HttpOptions) => {
|
|
21
27
|
loading: import("vue").ComputedRef<boolean>;
|
|
22
28
|
error: import("vue").ComputedRef<{
|
|
@@ -1,86 +1,93 @@
|
|
|
1
|
-
import { getCsrfToken as
|
|
2
|
-
import { ref as
|
|
3
|
-
const
|
|
4
|
-
const
|
|
1
|
+
import { getCsrfToken as j } from "../utils/genericUtil.js";
|
|
2
|
+
import { ref as v, computed as y } from "vue";
|
|
3
|
+
const N = "TimeoutError", F = ($ = {}) => {
|
|
4
|
+
const T = v(!1), a = v(null), f = v(null), P = y(() => T.value), R = y(() => a.value !== null), g = {
|
|
5
5
|
baseURL: "",
|
|
6
6
|
timeout: 1e4,
|
|
7
7
|
retry: 0,
|
|
8
8
|
retryDelay: 1e3,
|
|
9
9
|
headers: {
|
|
10
10
|
"Content-Type": "application/json",
|
|
11
|
-
"X-CSRF-TOKEN":
|
|
11
|
+
"X-CSRF-TOKEN": j()
|
|
12
12
|
},
|
|
13
|
-
|
|
14
|
-
},
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
17
|
-
const
|
|
18
|
-
return
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
13
|
+
...$
|
|
14
|
+
}, x = (t, r) => {
|
|
15
|
+
if (t.startsWith("http://") || t.startsWith("https://"))
|
|
16
|
+
return t;
|
|
17
|
+
const s = r || g.baseURL || "";
|
|
18
|
+
return s.endsWith("/") && t.startsWith("/") ? `${s}${t.slice(1)}` : s.endsWith("/") || t.startsWith("/") ? `${s}${t}` : `${s}/${t}`;
|
|
19
|
+
}, C = (t, r, s, h) => {
|
|
20
|
+
let o;
|
|
21
|
+
return { promise: new Promise((u, d) => {
|
|
22
|
+
o = setTimeout(() => {
|
|
23
|
+
const n = new Error(
|
|
24
|
+
`Request timeout after ${t}ms: ${r} ${s.split("?")[0]}`
|
|
25
|
+
);
|
|
26
|
+
n.name = N, n.url = s, n.method = r, n.timeout = t, d(n), h.abort(n);
|
|
27
|
+
}, t);
|
|
28
|
+
}), clear: () => clearTimeout(o) };
|
|
29
|
+
}, O = (t) => new Promise((r) => {
|
|
30
|
+
setTimeout(r, t);
|
|
31
|
+
}), l = async (t, r, s, h = {}) => {
|
|
32
|
+
a.value = null, T.value = !0;
|
|
33
|
+
const o = { ...g, ...h }, m = x(r, o.baseURL), u = {
|
|
34
|
+
method: t,
|
|
35
|
+
headers: { ...o.headers },
|
|
36
|
+
...o
|
|
32
37
|
};
|
|
33
|
-
|
|
34
|
-
const
|
|
38
|
+
s && ["POST", "PUT", "PATCH"].includes(t) && (s instanceof FormData ? (delete u.headers["Content-Type"], u.body = s) : u.body = JSON.stringify(s));
|
|
39
|
+
const d = async (n = 0) => {
|
|
40
|
+
const E = new AbortController();
|
|
41
|
+
f.value = E;
|
|
42
|
+
const w = { ...u, signal: E.signal }, b = o.timeout ? C(o.timeout, t, m, E) : null;
|
|
35
43
|
try {
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
const O = `HTTP Error: ${r.status} ${r.statusText}`, d = new Error(O);
|
|
41
|
-
throw d.status = r.status, d.statusText = r.statusText, d.response = r, d;
|
|
44
|
+
const e = await (b ? Promise.race([fetch(m, w), b.promise]).finally(b.clear) : fetch(m, w));
|
|
45
|
+
if (!e.ok) {
|
|
46
|
+
const S = `HTTP Error: ${e.status} ${e.statusText}`, p = new Error(S);
|
|
47
|
+
throw p.status = e.status, p.statusText = e.statusText, p.response = e, p;
|
|
42
48
|
}
|
|
43
|
-
let
|
|
44
|
-
const
|
|
45
|
-
return
|
|
46
|
-
data:
|
|
47
|
-
status:
|
|
48
|
-
statusText:
|
|
49
|
-
headers:
|
|
49
|
+
let i;
|
|
50
|
+
const c = e.headers.get("content-type");
|
|
51
|
+
return c != null && c.includes("application/json") ? i = await e.json() : c != null && c.includes("text/") ? i = await e.text() : i = await e.blob(), {
|
|
52
|
+
data: i,
|
|
53
|
+
status: e.status,
|
|
54
|
+
statusText: e.statusText,
|
|
55
|
+
headers: e.headers
|
|
50
56
|
};
|
|
51
|
-
} catch (
|
|
52
|
-
const
|
|
53
|
-
if (
|
|
54
|
-
return await
|
|
55
|
-
throw
|
|
57
|
+
} catch (e) {
|
|
58
|
+
const i = e instanceof Error && e.name === "AbortError";
|
|
59
|
+
if (n < (o.retry || 0) && !i)
|
|
60
|
+
return await O(o.retryDelay || 1e3), d(n + 1);
|
|
61
|
+
throw e instanceof Error ? e.name === "AbortError" ? a.value = { message: "Request was cancelled" } : a.value = { message: e.message } : a.value = e, e;
|
|
56
62
|
}
|
|
57
63
|
};
|
|
58
64
|
try {
|
|
59
|
-
return await
|
|
65
|
+
return await d();
|
|
60
66
|
} finally {
|
|
61
|
-
|
|
67
|
+
T.value = !1, f.value = null;
|
|
62
68
|
}
|
|
63
|
-
},
|
|
64
|
-
|
|
69
|
+
}, U = (t, r) => l("GET", t, void 0, r), A = (t, r, s) => l("POST", t, r, s), H = (t, r, s) => l("PUT", t, r, s), W = (t, r, s) => l("PATCH", t, r, s), D = (t, r) => l("DELETE", t, void 0, r), L = (t) => {
|
|
70
|
+
f.value && f.value.abort(t);
|
|
65
71
|
}, q = () => {
|
|
66
72
|
a.value = null;
|
|
67
73
|
};
|
|
68
74
|
return {
|
|
69
75
|
// State
|
|
70
|
-
loading:
|
|
71
|
-
error:
|
|
72
|
-
hasError:
|
|
76
|
+
loading: P,
|
|
77
|
+
error: y(() => a.value),
|
|
78
|
+
hasError: R,
|
|
73
79
|
// Methods
|
|
74
|
-
request:
|
|
75
|
-
get:
|
|
76
|
-
post:
|
|
77
|
-
put:
|
|
78
|
-
patch:
|
|
79
|
-
delete:
|
|
80
|
-
cancel:
|
|
80
|
+
request: l,
|
|
81
|
+
get: U,
|
|
82
|
+
post: A,
|
|
83
|
+
put: H,
|
|
84
|
+
patch: W,
|
|
85
|
+
delete: D,
|
|
86
|
+
cancel: L,
|
|
81
87
|
clearError: q
|
|
82
88
|
};
|
|
83
89
|
};
|
|
84
90
|
export {
|
|
85
|
-
|
|
91
|
+
N as TIMEOUT_ERROR_NAME,
|
|
92
|
+
F as useHttp
|
|
86
93
|
};
|
|
@@ -122,10 +122,10 @@ const d = [
|
|
|
122
122
|
], i = /<head>([\S\s]*)<\/head>/, o = new RegExp(i);
|
|
123
123
|
if (!e.match(o))
|
|
124
124
|
return e;
|
|
125
|
-
let
|
|
126
|
-
return t.forEach((
|
|
127
|
-
|
|
128
|
-
}),
|
|
125
|
+
let r = e;
|
|
126
|
+
return t.forEach((s) => {
|
|
127
|
+
r = r.replace("</head>", `${s}</head>`);
|
|
128
|
+
}), r;
|
|
129
129
|
},
|
|
130
130
|
priority: 30
|
|
131
131
|
},
|
|
@@ -147,33 +147,6 @@ const d = [
|
|
|
147
147
|
replaceAll: !0,
|
|
148
148
|
priority: 41
|
|
149
149
|
},
|
|
150
|
-
{
|
|
151
|
-
id: "replace-s3-path-style-web-image-domain",
|
|
152
|
-
description: "Rewriting path-style S3 asset URLs to the web-image.useinsider.com domain",
|
|
153
|
-
type: "replace",
|
|
154
|
-
search: "s3-eu-west-1.amazonaws.com/web-image.useinsider.com",
|
|
155
|
-
replacement: "web-image.useinsider.com",
|
|
156
|
-
replaceAll: !0,
|
|
157
|
-
priority: 42
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
id: "replace-s3-path-style-image-domain",
|
|
161
|
-
description: "Rewriting path-style S3 asset URLs to the image.useinsider.com domain",
|
|
162
|
-
type: "replace",
|
|
163
|
-
search: "s3-eu-west-1.amazonaws.com/image.useinsider.com",
|
|
164
|
-
replacement: "image.useinsider.com",
|
|
165
|
-
replaceAll: !0,
|
|
166
|
-
priority: 43
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
id: "replace-s3-path-style-panel-assets-domain",
|
|
170
|
-
description: "Rewriting path-style S3 asset URLs to the panel-assets.useinsider.com domain",
|
|
171
|
-
type: "replace",
|
|
172
|
-
search: "s3-eu-west-1.amazonaws.com/panel-assets.useinsider.com",
|
|
173
|
-
replacement: "panel-assets.useinsider.com",
|
|
174
|
-
replaceAll: !0,
|
|
175
|
-
priority: 46
|
|
176
|
-
},
|
|
177
150
|
{
|
|
178
151
|
id: "convert-rgb-to-hex",
|
|
179
152
|
// SD-142395: rgb()/6-digit hex are verbose; hex/3-digit shorthand is byte-identical
|
|
@@ -183,9 +156,9 @@ const d = [
|
|
|
183
156
|
type: "custom",
|
|
184
157
|
processor: (e) => {
|
|
185
158
|
const t = (i) => i.toString(16).padStart(2, "0");
|
|
186
|
-
return e.replace(/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/gi, (i, o,
|
|
187
|
-
const [
|
|
188
|
-
return
|
|
159
|
+
return e.replace(/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/gi, (i, o, n, r) => {
|
|
160
|
+
const [s, a, c] = [Number(o), Number(n), Number(r)];
|
|
161
|
+
return s > 255 || a > 255 || c > 255 ? i : `#${t(s)}${t(a)}${t(c)}`;
|
|
189
162
|
}).replace(/#([0-9a-f])\1([0-9a-f])\2([0-9a-f])\3\b/gi, "#$1$2$3");
|
|
190
163
|
},
|
|
191
164
|
priority: 44
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-73199fa4] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.view-options-wrapper[data-v-87033101]{position:relative;display:inline-block}.new-tag[data-v-87033101]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-87033101] .guido__view-option-selection-desktop svg,[data-v-87033101] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-87033101] .in-segments-wrapper__button_selected,[data-v-87033101] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-87033101] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-fad98586]{gap:8px}.version-history__toolbar[data-v-fad98586]{gap:4px}.view-options-wrapper[data-v-6ebabfe4]{position:relative;display:inline-block}.new-tag[data-v-6ebabfe4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-6ebabfe4] .guido__verion-history-view-option-selection-desktop svg,[data-v-6ebabfe4] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6ebabfe4] .in-segments-wrapper__button_selected,[data-v-6ebabfe4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-6ebabfe4] .in-tooltip-wrapper-v2__icon{cursor:pointer}.auto-save-toggle[data-v-2c964af4]{position:relative}.auto-save-toggle__info-box[data-v-2c964af4]{position:absolute;top:100%;left:0;z-index:10;width:280px}.editor-actions[data-v-
|
|
1
|
+
.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-73199fa4] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.view-options-wrapper[data-v-87033101]{position:relative;display:inline-block}.new-tag[data-v-87033101]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-87033101] .guido__view-option-selection-desktop svg,[data-v-87033101] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-87033101] .in-segments-wrapper__button_selected,[data-v-87033101] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-87033101] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-fad98586]{gap:8px}.version-history__toolbar[data-v-fad98586]{gap:4px}.view-options-wrapper[data-v-6ebabfe4]{position:relative;display:inline-block}.new-tag[data-v-6ebabfe4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-6ebabfe4] .guido__verion-history-view-option-selection-desktop svg,[data-v-6ebabfe4] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6ebabfe4] .in-segments-wrapper__button_selected,[data-v-6ebabfe4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-6ebabfe4] .in-tooltip-wrapper-v2__icon{cursor:pointer}.auto-save-toggle[data-v-2c964af4]{position:relative}.auto-save-toggle__info-box[data-v-2c964af4]{position:absolute;top:100%;left:0;z-index:10;width:280px}.editor-actions[data-v-4c9f1588]{gap:4px}.header-wrapper[data-v-d11dd577]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-5079a1c8]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-5079a1c8]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-5079a1c8]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-91a26acd]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-91a26acd]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-91a26acd]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-91a26acd]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-91a26acd]{object-fit:cover;transform:scale(1)}[data-v-b9a93c6e] .guido__verion-history-view-option-selection-desktop svg,[data-v-b9a93c6e] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-b9a93c6e] .in-segments-wrapper__button_selected,[data-v-b9a93c6e] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-cf946232]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-cf946232]{min-height:504px}.iframe-wrapper[data-v-f255b2bb]{width:258px}.iframe-scaled[data-v-f255b2bb]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-6bcaca8a] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-f16f20f8] .vueperslides__bullets{pointer-events:none!important}[data-v-f16f20f8] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-bb3cca55] .vueperslides__bullets{pointer-events:none!important}[data-v-bb3cca55] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-b09e80c4] .vueperslides__bullets{pointer-events:none!important}[data-v-b09e80c4] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-9bdef600] .vueperslides__parallax-wrapper{padding-bottom:110px!important}
|