@pronto-tools-and-more/files 4.5.0 → 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/files/framework/src/default/content/assets/FONTAWESOME_LICENSE.txt +34 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-BoldItalic.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-ExtraBold.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-Italic.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-Light.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-LightItalic.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/RobotoSlab-Bold.ttf +0 -0
- package/files/framework/src/default/content/assets/ic_arrow.svg +1 -0
- package/files/framework/src/default/content/assets/ic_audio.svg +19 -0
- package/files/framework/src/default/content/assets/ic_bookmark.svg +10 -0
- package/files/framework/src/default/content/assets/ic_bookmark_active.svg +9 -0
- package/files/framework/src/default/content/assets/ic_close.svg +16 -0
- package/files/framework/src/default/content/assets/ic_download.svg +13 -0
- package/files/framework/src/default/content/assets/ic_download_circle.svg +15 -0
- package/files/framework/src/default/content/assets/ic_download_completed.svg +12 -0
- package/files/framework/src/default/content/assets/ic_download_completed_circle.svg +12 -0
- package/files/framework/src/default/content/assets/ic_downloading.svg +13 -0
- package/files/framework/src/default/content/assets/ic_downloading_circle.svg +15 -0
- package/files/framework/src/default/content/assets/ic_font_size.svg +1 -0
- package/files/framework/src/default/content/assets/ic_left.svg +15 -0
- package/files/framework/src/default/content/assets/ic_left_arrow.svg +11 -0
- package/files/framework/src/default/content/assets/ic_night_mode.svg +20 -0
- package/files/framework/src/default/content/assets/ic_night_mode_active.svg +20 -0
- package/files/framework/src/default/content/assets/ic_overlay_loading.svg +13 -0
- package/files/framework/src/default/content/assets/ic_pause.svg +19 -0
- package/files/framework/src/default/content/assets/ic_play.svg +16 -0
- package/files/framework/src/default/content/assets/ic_player.svg +19 -0
- package/files/framework/src/default/content/assets/ic_player_active.svg +19 -0
- package/files/framework/src/default/content/assets/ic_right.svg +15 -0
- package/files/framework/src/default/content/assets/ic_right_arrow.svg +11 -0
- package/files/framework/src/default/content/assets/ic_seek_back.svg +19 -0
- package/files/framework/src/default/content/assets/ic_seek_forward.svg +19 -0
- package/files/framework/src/default/content/assets/ic_settings.svg +16 -0
- package/files/framework/src/default/content/assets/ic_share_android.svg +11 -0
- package/files/framework/src/default/content/assets/ic_share_ios.svg +13 -0
- package/files/framework/src/default/content/assets/ic_speech.svg +15 -0
- package/files/framework/src/default/content/assets/ic_speech_female.svg +11 -0
- package/files/framework/src/default/content/assets/ic_speech_male.svg +11 -0
- package/files/framework/src/default/content/assets/ic_speech_rate.svg +11 -0
- package/files/framework/src/default/content/assets/ic_toc.svg +22 -0
- package/files/framework/src/default/content/assets/ic_video.svg +21 -0
- package/files/framework/src/default/content/assets/ic_zoom.svg +1 -0
- package/files/framework/src/default/content/assets/img/spinner.gif +0 -0
- package/files/framework/src/default/content/assets/logo.png +0 -0
- package/files/framework/src/default/content/assets/swiper/swiper-bundle.min.css +13 -0
- package/files/framework/src/default/content/assets/swiper/swiper-bundle.min.js +1 -0
- package/files/framework/src/default/content/assets/tail-spin.gif +0 -0
- package/files/framework/src/default/content/assets/tail-spin.svg +32 -0
- package/files/framework/src/default/content/core.css +29 -0
- package/files/framework/src/default/content/core.js +10896 -0
- package/files/framework/src/default/content/functions.css +2 -0
- package/files/framework/src/default/content/functions.js +1 -0
- package/files/framework/src/default/content/publish-press-author.css +407 -0
- package/files/framework/src/default/content/publish-press-author.js +290 -0
- package/files/framework/src/default/content/resources.json +1 -0
- package/files/framework/src/default/content/theme.css +16 -0
- package/files/framework/src/default/content/theme.js +720 -0
- package/files/framework/src/default/content/tts.css +7 -0
- package/files/framework/src/default/content/tts.js +5 -0
- package/files/framework/src/default/content/uag.css +20 -0
- package/files/framework/src/default/content/uag.js +166 -0
- package/files/framework/src/default/info/css/style.css +328 -0
- package/files/framework/src/default/info/font-awesome/HELP-US-OUT.txt +7 -0
- package/files/framework/src/default/info/font-awesome/css/font-awesome.css +2337 -0
- package/files/framework/src/default/info/font-awesome/css/font-awesome.min.css +4 -0
- package/files/framework/src/default/info/font-awesome/fonts/FontAwesome.otf +0 -0
- package/files/framework/src/default/info/font-awesome/fonts/fontawesome-webfont.eot +0 -0
- package/files/framework/src/default/info/font-awesome/fonts/fontawesome-webfont.svg +2671 -0
- package/files/framework/src/default/info/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
- package/files/framework/src/default/info/font-awesome/fonts/fontawesome-webfont.woff +0 -0
- package/files/framework/src/default/info/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
- package/files/framework/src/default/info/font-awesome/less/animated.less +34 -0
- package/files/framework/src/default/info/font-awesome/less/bordered-pulled.less +25 -0
- package/files/framework/src/default/info/font-awesome/less/core.less +12 -0
- package/files/framework/src/default/info/font-awesome/less/fixed-width.less +6 -0
- package/files/framework/src/default/info/font-awesome/less/font-awesome.less +18 -0
- package/files/framework/src/default/info/font-awesome/less/icons.less +789 -0
- package/files/framework/src/default/info/font-awesome/less/larger.less +13 -0
- package/files/framework/src/default/info/font-awesome/less/list.less +19 -0
- package/files/framework/src/default/info/font-awesome/less/mixins.less +60 -0
- package/files/framework/src/default/info/font-awesome/less/path.less +15 -0
- package/files/framework/src/default/info/font-awesome/less/rotated-flipped.less +20 -0
- package/files/framework/src/default/info/font-awesome/less/screen-reader.less +5 -0
- package/files/framework/src/default/info/font-awesome/less/stacked.less +20 -0
- package/files/framework/src/default/info/font-awesome/less/variables.less +800 -0
- package/files/framework/src/default/info/font-awesome/scss/_animated.scss +34 -0
- package/files/framework/src/default/info/font-awesome/scss/_bordered-pulled.scss +25 -0
- package/files/framework/src/default/info/font-awesome/scss/_core.scss +12 -0
- package/files/framework/src/default/info/font-awesome/scss/_fixed-width.scss +6 -0
- package/files/framework/src/default/info/font-awesome/scss/_icons.scss +789 -0
- package/files/framework/src/default/info/font-awesome/scss/_larger.scss +13 -0
- package/files/framework/src/default/info/font-awesome/scss/_list.scss +19 -0
- package/files/framework/src/default/info/font-awesome/scss/_mixins.scss +60 -0
- package/files/framework/src/default/info/font-awesome/scss/_path.scss +15 -0
- package/files/framework/src/default/info/font-awesome/scss/_rotated-flipped.scss +20 -0
- package/files/framework/src/default/info/font-awesome/scss/_screen-reader.scss +5 -0
- package/files/framework/src/default/info/font-awesome/scss/_stacked.scss +20 -0
- package/files/framework/src/default/info/font-awesome/scss/_variables.scss +800 -0
- package/files/framework/src/default/info/font-awesome/scss/font-awesome.scss +18 -0
- package/files/framework/src/default/info/fonts/Roboto-Bold.ttf +0 -0
- package/files/framework/src/default/info/fonts/Roboto-Italic.ttf +0 -0
- package/files/framework/src/default/info/fonts/Roboto-Light.ttf +0 -0
- package/files/framework/src/default/info/fonts/Roboto-LightItalic.ttf +0 -0
- package/files/framework/src/default/info/fonts/Roboto-Medium.ttf +0 -0
- package/files/framework/src/default/info/fonts/Roboto-MediumItalic.ttf +0 -0
- package/files/framework/src/default/info/fonts/Roboto-Regular.ttf +0 -0
- package/files/framework/src/default/info/img/banner.png +0 -0
- package/files/framework/src/default/info/index.html +94 -0
- package/files/framework/src/default/info/theme.css +181 -0
- package/files/framework/src/default/menuicons/account.png +0 -0
- package/files/framework/src/default/menuicons/account@2x.png +0 -0
- package/files/framework/src/default/menuicons/account@3x.png +0 -0
- package/files/framework/src/default/menuicons/bookmarks.png +0 -0
- package/files/framework/src/default/menuicons/bookmarks@2x.png +0 -0
- package/files/framework/src/default/menuicons/bookmarks@3x.png +0 -0
- package/files/framework/src/default/menuicons/calendar.png +0 -0
- package/files/framework/src/default/menuicons/calendar@2x.png +0 -0
- package/files/framework/src/default/menuicons/calendar@3x.png +0 -0
- package/files/framework/src/default/menuicons/chain.png +0 -0
- package/files/framework/src/default/menuicons/chain@2x.png +0 -0
- package/files/framework/src/default/menuicons/chain@3x.png +0 -0
- package/files/framework/src/default/menuicons/feedback.png +0 -0
- package/files/framework/src/default/menuicons/feedback@2x.png +0 -0
- package/files/framework/src/default/menuicons/feedback@3x.png +0 -0
- package/files/framework/src/default/menuicons/forum.png +0 -0
- package/files/framework/src/default/menuicons/forum@2x.png +0 -0
- package/files/framework/src/default/menuicons/forum@3x.png +0 -0
- package/files/framework/src/default/menuicons/info.png +0 -0
- package/files/framework/src/default/menuicons/kiosk.png +0 -0
- package/files/framework/src/default/menuicons/kiosk@2x.png +0 -0
- package/files/framework/src/default/menuicons/kiosk@3x.png +0 -0
- package/files/framework/src/default/menuicons/legal.png +0 -0
- package/files/framework/src/default/menuicons/legal@2x.png +0 -0
- package/files/framework/src/default/menuicons/legal@3x.png +0 -0
- package/files/framework/src/default/menuicons/login.png +0 -0
- package/files/framework/src/default/menuicons/login@2x.png +0 -0
- package/files/framework/src/default/menuicons/login@3x.png +0 -0
- package/files/framework/src/default/menuicons/logout.png +0 -0
- package/files/framework/src/default/menuicons/logout@2x.png +0 -0
- package/files/framework/src/default/menuicons/logout@3x.png +0 -0
- package/files/framework/src/default/menuicons/newsfeed.png +0 -0
- package/files/framework/src/default/menuicons/newsfeed@2x.png +0 -0
- package/files/framework/src/default/menuicons/newsfeed@3x.png +0 -0
- package/files/framework/src/default/menuicons/newsstand.png +0 -0
- package/files/framework/src/default/menuicons/newsstand@2x.png +0 -0
- package/files/framework/src/default/menuicons/newsstand@3x.png +0 -0
- package/files/framework/src/default/menuicons/purple.png +0 -0
- package/files/framework/src/default/menuicons/purple@2x.png +0 -0
- package/files/framework/src/default/menuicons/purple@3x.png +0 -0
- package/files/framework/src/default/menuicons/restore.png +0 -0
- package/files/framework/src/default/menuicons/restore@2x.png +0 -0
- package/files/framework/src/default/menuicons/restore@3x.png +0 -0
- package/files/framework/src/default/menuicons/settings.png +0 -0
- package/files/framework/src/default/menuicons/share.png +0 -0
- package/files/framework/src/default/menuicons/share@2x.png +0 -0
- package/files/framework/src/default/menuicons/share@3x.png +0 -0
- package/files/framework/src/default/menuicons/shop.png +0 -0
- package/files/framework/src/default/menuicons/shop@2x.png +0 -0
- package/files/framework/src/default/menuicons/shop@3x.png +0 -0
- package/files/framework/src/default/menuicons/socialmedia.png +0 -0
- package/files/framework/src/default/menuicons/socialmedia@2x.png +0 -0
- package/files/framework/src/default/menuicons/socialmedia@3x.png +0 -0
- package/files/framework/src/default/menuicons/subscriptions.png +0 -0
- package/files/framework/src/default/menuicons/subscriptions@2x.png +0 -0
- package/files/framework/src/default/menuicons/subscriptions@3x.png +0 -0
- package/files/framework/src/default/menuicons/voucher.png +0 -0
- package/files/framework/src/default/menuicons/voucher@2x.png +0 -0
- package/files/framework/src/default/menuicons/voucher@3x.png +0 -0
- package/files/framework/src/default/menuicons/website.png +0 -0
- package/files/framework/src/default/menuicons/website@2x.png +0 -0
- package/files/framework/src/default/menuicons/website@3x.png +0 -0
- package/files/framework/src/default/onboarding/3rdpartylicenses.txt +574 -0
- package/files/framework/src/default/onboarding/assets/config/message.json +7 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding.json +48 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/1_Welcome.png +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/2_MenuPhone.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/2_MenuTablet.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/3_NewsstandPhone.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/3_NewsstandTablet.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/4_PublicationPhone.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/4_PublicationTablet.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/5_NewsfeedPhone.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/5_NewsfeedTablet.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/6_FeaturesPhone.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/6_FeaturesTablet.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_videos/BLI_Cover-Image-Video_1.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_videos/BLI_Cover-Image-Video_4.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/style.json +19 -0
- package/files/framework/src/default/onboarding/assets/config/url.json +5 -0
- package/files/framework/src/default/onboarding/assets/font/Ionicons/ionicons.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-Bold.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-BoldItalic.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-ExtraBold.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-ExtraBoldItalic.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-Italic.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-Light.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-LightItalic.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-Regular.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-SemiBold.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-SemiBoldItalic.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/fonts.css +73 -0
- package/files/framework/src/default/onboarding/favicon.ico +0 -0
- package/files/framework/src/default/onboarding/index.html +15 -0
- package/files/framework/src/default/onboarding/main.js +1 -0
- package/files/framework/src/default/onboarding/polyfills-es5.js +1 -0
- package/files/framework/src/default/onboarding/polyfills.js +1 -0
- package/files/framework/src/default/onboarding/runtime.js +1 -0
- package/files/framework/src/default/onboarding/styles.css +1 -0
- package/files/framework/src/default/onboarding/vendor.js +1 -0
- package/files/framework/src/default/readmode/custom.js +40 -0
- package/files/framework/src/default/readmode/ic_audio.svg +19 -0
- package/files/framework/src/default/readmode/ic_close.svg +16 -0
- package/files/framework/src/default/readmode/ic_font_size.svg +1 -0
- package/files/framework/src/default/readmode/ic_night_mode.svg +20 -0
- package/files/framework/src/default/readmode/ic_pause.svg +19 -0
- package/files/framework/src/default/readmode/ic_play.svg +16 -0
- package/files/framework/src/default/readmode/ic_speech.svg +15 -0
- package/files/framework/src/default/readmode/ic_speech_female.svg +11 -0
- package/files/framework/src/default/readmode/ic_speech_male.svg +11 -0
- package/files/framework/src/default/storefront/3rdpartylicenses.txt +962 -0
- package/files/framework/src/default/storefront/assets/access.json +10 -0
- package/files/framework/src/default/storefront/assets/appBar.json +1 -0
- package/files/framework/src/default/storefront/assets/banner/banner_not_found.jpg +0 -0
- package/files/framework/src/default/storefront/assets/downloadOptions.json +1 -0
- package/files/framework/src/default/storefront/assets/faq.html +87 -0
- package/files/framework/src/default/storefront/assets/features.json +3 -0
- package/files/framework/src/default/storefront/assets/generic-widget.json +1 -0
- package/files/framework/src/default/storefront/assets/login.html +329 -0
- package/files/framework/src/default/storefront/assets/navigation.json +1 -0
- package/files/framework/src/default/storefront/assets/platform.css +7 -0
- package/files/framework/src/default/storefront/assets/submit.css +7 -0
- package/files/framework/src/default/storefront/assets/subscription-benefits.json +11 -0
- package/files/framework/src/default/storefront/assets/termsofuse.html +123 -0
- package/files/framework/src/default/storefront/assets/tts_config.json +3 -0
- package/files/framework/src/default/storefront/assets/urls.json +11 -0
- package/files/framework/src/default/storefront/buildInfo.json +7 -0
- package/files/framework/src/default/storefront/deep-link-landing/index.html +1 -0
- package/files/framework/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +842 -0
- package/files/framework/src/default/storefront/deep-link-landing/purple-deep-link-landing.js.LICENSE.txt +13 -0
- package/files/framework/src/default/storefront/index.html +21 -0
- package/files/framework/src/default/storefront/modules/DS_logo.svg +1 -0
- package/files/framework/src/default/storefront/modules/alphaMask.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_backward.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_first.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_forward.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_fullwidth.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_fullwidth_active.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_last.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_pin.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_toc.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_zoom.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_zoom_active.png +0 -0
- package/files/framework/src/default/storefront/modules/common.js +1 -0
- package/files/framework/src/default/storefront/modules/default-node_modules_angular_forms_fesm2022_forms_mjs.js +1 -0
- package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_component_base-component_base-datacollection_component_ts-4706f8.js +1 -0
- package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_component_content_content_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_component_issue_issue_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_service_tts_tts_service_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/ic_backward.svg +16 -0
- package/files/framework/src/default/storefront/modules/ic_close.svg +16 -0
- package/files/framework/src/default/storefront/modules/ic_forward.svg +16 -0
- package/files/framework/src/default/storefront/modules/ic_fullscreen.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_fullscreen@2x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_fullscreen@3x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_overlay_loading.svg +13 -0
- package/files/framework/src/default/storefront/modules/ic_pause.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_pause.svg +19 -0
- package/files/framework/src/default/storefront/modules/ic_pause@2x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_pause@3x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_play.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_play.svg +16 -0
- package/files/framework/src/default/storefront/modules/ic_play@2x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_play@3x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_player.svg +17 -0
- package/files/framework/src/default/storefront/modules/ic_player_active.svg +17 -0
- package/files/framework/src/default/storefront/modules/ic_refresh.svg +16 -0
- package/files/framework/src/default/storefront/modules/ic_seek_back.svg +19 -0
- package/files/framework/src/default/storefront/modules/ic_seek_forward.svg +19 -0
- package/files/framework/src/default/storefront/modules/ic_settings.svg +16 -0
- package/files/framework/src/default/storefront/modules/ic_smallscreen.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_smallscreen@2x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_smallscreen@3x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_speech.svg +15 -0
- package/files/framework/src/default/storefront/modules/ic_speech_female.svg +11 -0
- package/files/framework/src/default/storefront/modules/ic_speech_male.svg +11 -0
- package/files/framework/src/default/storefront/modules/icon_close.png +0 -0
- package/files/framework/src/default/storefront/modules/main.js +1 -0
- package/files/framework/src/default/storefront/modules/node_modules_clientjs_dist_client_base_min_js.js +1 -0
- package/files/framework/src/default/storefront/modules/node_modules_mustache_mustache_js.js +1 -0
- package/files/framework/src/default/storefront/modules/node_modules_purple_web-player_dist_webPresenter_js_vendor_js.js +1 -0
- package/files/framework/src/default/storefront/modules/node_modules_purple_web-player_dist_webPresenter_js_webPresenter_min_js.js +1 -0
- package/files/framework/src/default/storefront/modules/polyfills.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-94b9b6.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_action-executor_action-executor_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_app-menu-xml_app-menu-xml_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_bookmark_bookmark_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-featured-image_content-featured-c9ba26.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_category_category_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_collection_collection_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_component_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_coupon_coupon_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_dev-components_user-tag-testing_user-tag-testing_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_download-issues_download-issues_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_dropdown_dropdown_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_embeddable-view_embeddable-view_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_iframe_iframe_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_issue-search-result_issue-search-result_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_login_login_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_menu_menu_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_product_product_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_publication-completion_publication-completion_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_publication_publication_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_recommendations_recommendations_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_search-field_search-field_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_subscription_subscription_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_swiper_swiper_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_ticker_ticker_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_toggle_toggle_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_toolbar_toolbar_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_web-presenter_presenter_presenter_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_widget_widget_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_config_common_config_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/runtime.js +1 -0
- package/files/framework/src/default/storefront/modules/styles.css +1 -0
- package/package.json +1 -1
@@ -0,0 +1,407 @@
|
|
1
|
+
.inline-edit-group.inline-edit-coauthors {
|
2
|
+
display: none;
|
3
|
+
}
|
4
|
+
|
5
|
+
.inline-edit-group.inline-edit-coauthors #coauthors-edit {
|
6
|
+
margin-left: 5em;
|
7
|
+
}
|
8
|
+
|
9
|
+
#coauthors-list {
|
10
|
+
width: 100%;
|
11
|
+
padding: 0;
|
12
|
+
border-top: 1px solid #655997;
|
13
|
+
}
|
14
|
+
|
15
|
+
#coauthors-list td {
|
16
|
+
padding-left: 0;
|
17
|
+
padding-right: 0;
|
18
|
+
vertical-align: middle;
|
19
|
+
background: #F9F9F9;
|
20
|
+
}
|
21
|
+
|
22
|
+
#coauthors-list .coauthor-row:not(:last-of-type) {
|
23
|
+
overflow: hidden;
|
24
|
+
border-bottom: 1px solid #655997;
|
25
|
+
}
|
26
|
+
|
27
|
+
#coauthors-list .coauthor-row:hover:not(:last-of-type) {
|
28
|
+
background: #E8E6F0;
|
29
|
+
}
|
30
|
+
|
31
|
+
#coauthors-list .coauthor-tag {
|
32
|
+
width: 200px;
|
33
|
+
display: block;
|
34
|
+
padding: 10px 0 5px 5px;
|
35
|
+
font-size: 13px;
|
36
|
+
color: #655997;
|
37
|
+
cursor: text;
|
38
|
+
float: left;
|
39
|
+
}
|
40
|
+
|
41
|
+
#coauthors-list .coauthor-tag:hover {
|
42
|
+
cursor: text;
|
43
|
+
color: #655997;
|
44
|
+
cursor: grabbing;
|
45
|
+
cursor: -moz-grabbing;
|
46
|
+
cursor: -webkit-grabbing;
|
47
|
+
}
|
48
|
+
|
49
|
+
#coauthors-list .ui-state-highlight {
|
50
|
+
border: 2px dashed #655997;
|
51
|
+
height: 31px;
|
52
|
+
margin-top: 3px;
|
53
|
+
width: 100%;
|
54
|
+
background: #fff;
|
55
|
+
box-sizing: border-box;
|
56
|
+
-moz-box-sizing: border-box;
|
57
|
+
-webkit-box-sizing: border-box;
|
58
|
+
}
|
59
|
+
|
60
|
+
#coauthors-list .ui-sortable-helper .coauthor-tag {
|
61
|
+
cursor: grabbing;
|
62
|
+
cursor: -moz-grabbing;
|
63
|
+
cursor: -webkit-grabbing;
|
64
|
+
}
|
65
|
+
|
66
|
+
#coauthors-list .coauthor-gravatar {
|
67
|
+
float: right;
|
68
|
+
height: 25px;
|
69
|
+
margin-right: 5px;
|
70
|
+
margin-top: -5px;
|
71
|
+
width: 25px;
|
72
|
+
}
|
73
|
+
|
74
|
+
#coauthors-list .coauthor-suggest {
|
75
|
+
border: 1px solid #ddd;
|
76
|
+
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .07);
|
77
|
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .07);
|
78
|
+
background-color: #fff;
|
79
|
+
color: #32373c;
|
80
|
+
outline: 0;
|
81
|
+
margin: 5px 0 5px 5px;
|
82
|
+
width: 200px;
|
83
|
+
}
|
84
|
+
|
85
|
+
#coauthors-list .coauthor-suggest:focus {
|
86
|
+
color: #333;
|
87
|
+
}
|
88
|
+
|
89
|
+
#coauthors-list .coauthors-author-options {
|
90
|
+
overflow: hidden;
|
91
|
+
padding: 7px 5px 0 7px;
|
92
|
+
float: right;
|
93
|
+
}
|
94
|
+
|
95
|
+
#coauthors-list .delete-coauthor {
|
96
|
+
display: block;
|
97
|
+
float: right;
|
98
|
+
text-decoration: none;
|
99
|
+
color: #FF0000;
|
100
|
+
font-size: 18px;
|
101
|
+
}
|
102
|
+
|
103
|
+
#coauthors-list .delete-coauthor:hover {
|
104
|
+
cursor: pointer;
|
105
|
+
background: #FF0000;
|
106
|
+
color: #fff;
|
107
|
+
|
108
|
+
border: 1px solid #FF0000;
|
109
|
+
border-radius: 3px;
|
110
|
+
-moz-border-radius: 3px;
|
111
|
+
-webkit-border-radius: 3px;
|
112
|
+
}
|
113
|
+
|
114
|
+
#coauthors-loading {
|
115
|
+
margin: 10px 0px 5px 10px;
|
116
|
+
}
|
117
|
+
|
118
|
+
#coauthors-readonly {
|
119
|
+
}
|
120
|
+
|
121
|
+
#coauthors-readonly ul {
|
122
|
+
list-style: none;
|
123
|
+
padding: 0;
|
124
|
+
margin: 0;
|
125
|
+
}
|
126
|
+
|
127
|
+
#coauthors-readonly ul li {
|
128
|
+
}
|
129
|
+
|
130
|
+
#coauthors-readonly ul li .avatar {
|
131
|
+
float: left;
|
132
|
+
}
|
133
|
+
|
134
|
+
#coauthors-readonly ul li .coauthor-tag {
|
135
|
+
display: block;
|
136
|
+
padding: 5px 3px;
|
137
|
+
margin-left: 30px;
|
138
|
+
font-size: 13px;
|
139
|
+
}
|
140
|
+
|
141
|
+
/* Bylines merge */
|
142
|
+
|
143
|
+
ul.authors-list li {
|
144
|
+
border: 1px solid #cccccc;
|
145
|
+
background-color: #fdfdfd;
|
146
|
+
padding-top: 7px;
|
147
|
+
padding-bottom: 5px;
|
148
|
+
padding-left: 10px;
|
149
|
+
padding-right: 10px;
|
150
|
+
position: relative;
|
151
|
+
max-width: 250px;
|
152
|
+
}
|
153
|
+
|
154
|
+
ul.authors-list li .author-remove {
|
155
|
+
display: none;
|
156
|
+
}
|
157
|
+
|
158
|
+
ul.authors-list li.ui-sortable-helper {
|
159
|
+
cursor: move;
|
160
|
+
}
|
161
|
+
|
162
|
+
ul.authors-list.authors-current-user-can-assign li:hover {
|
163
|
+
cursor: move;
|
164
|
+
}
|
165
|
+
|
166
|
+
ul.authors-list.authors-current-user-can-assign li .author-remove {
|
167
|
+
position: absolute;
|
168
|
+
display: block;
|
169
|
+
right: 5px;
|
170
|
+
width: 16px;
|
171
|
+
z-index: 1;
|
172
|
+
top: 50%;
|
173
|
+
-webkit-transform: translateY(-50%);
|
174
|
+
transform: translateY(-50%);
|
175
|
+
cursor: pointer;
|
176
|
+
}
|
177
|
+
|
178
|
+
ul.authors-list.authors-current-user-can-assign li .author-remove .dashicons {
|
179
|
+
height: 16px;
|
180
|
+
width: 16px;
|
181
|
+
font-size: 16px;
|
182
|
+
}
|
183
|
+
|
184
|
+
body.taxonomy-author .form-field.term-description-wrap {
|
185
|
+
display: none;
|
186
|
+
}
|
187
|
+
|
188
|
+
.authors-select2-user-select {
|
189
|
+
min-width: 150px;
|
190
|
+
}
|
191
|
+
|
192
|
+
.column-author_name img {
|
193
|
+
float: left;
|
194
|
+
margin-right: 10px;
|
195
|
+
margin-top: 1px;
|
196
|
+
}
|
197
|
+
|
198
|
+
.author-image-field-container img {
|
199
|
+
max-width: 150px;
|
200
|
+
height: auto;
|
201
|
+
}
|
202
|
+
|
203
|
+
.authors-list img.avatar {
|
204
|
+
vertical-align: middle;
|
205
|
+
}
|
206
|
+
|
207
|
+
.authors-list span.display-name {
|
208
|
+
margin-left: 5px;
|
209
|
+
}
|
210
|
+
|
211
|
+
/* Fix the width of the Mapped user field in the New Author form */
|
212
|
+
.edit-tags-php.taxonomy-author .authors-select2-user-select,
|
213
|
+
.term-php.taxonomy-author .authors-select2-user-select {
|
214
|
+
width: 95%;
|
215
|
+
}
|
216
|
+
|
217
|
+
/* Hide the slug field in the author list page */
|
218
|
+
.edit-tags-php.taxonomy-author #addtag .term-slug-wrap {
|
219
|
+
display: none;
|
220
|
+
}
|
221
|
+
|
222
|
+
/* Hide the default author field when Gutenberg is loaded */
|
223
|
+
body.block-editor-page label[for^="post-author-selector-"],
|
224
|
+
body.block-editor-page select[id^="post-author-selector-"] {
|
225
|
+
display: none !important;
|
226
|
+
}
|
227
|
+
|
228
|
+
/* Fix the size of a settings field */
|
229
|
+
#multiple_authors_multiple_authors_options_author_for_new_users_chosen {
|
230
|
+
max-width: 350px;
|
231
|
+
}
|
232
|
+
|
233
|
+
/* Hide the author field in the quick-edit panel until we support it */
|
234
|
+
.inline-edit-author {
|
235
|
+
display: none !important;
|
236
|
+
}
|
237
|
+
|
238
|
+
|
239
|
+
#delete-link {
|
240
|
+
margin-left: 28px;
|
241
|
+
}
|
242
|
+
|
243
|
+
#ppma_maintenance_settings .ppma_maintenance_action_wrapper {
|
244
|
+
border-bottom: 1px solid silver;
|
245
|
+
padding-bottom: 10px;
|
246
|
+
}
|
247
|
+
|
248
|
+
#ppma_maintenance_settings .ppma_warning {
|
249
|
+
background-color: #f9fbe4;
|
250
|
+
border: 1px solid #d6d8b6;
|
251
|
+
box-sizing: border-box;
|
252
|
+
padding: 13px 20px;
|
253
|
+
margin-bottom: 10px;
|
254
|
+
}
|
255
|
+
|
256
|
+
#ppma_maintenance_settings .ppma_maintenance_button {
|
257
|
+
margin-bottom: 5px;
|
258
|
+
margin-right: 10px;
|
259
|
+
}
|
260
|
+
|
261
|
+
#ppma_maintenance_settings .ppma_maintenance_button .dashicons {
|
262
|
+
height: 12px;
|
263
|
+
margin-right: 10px;
|
264
|
+
margin-top: -9px;
|
265
|
+
}
|
266
|
+
|
267
|
+
#ppma_maintenance_settings .ppma_maintenance_button .dashicons-warning {
|
268
|
+
color: #f35f5f;
|
269
|
+
}
|
270
|
+
|
271
|
+
|
272
|
+
.ppma_settings_field_description {
|
273
|
+
margin-bottom: 10px !important;
|
274
|
+
color: gray;
|
275
|
+
}
|
276
|
+
|
277
|
+
.ppma-module-settings table[id="ppma-tab-maintenance"] th {
|
278
|
+
display: none;
|
279
|
+
}
|
280
|
+
|
281
|
+
.ppma-module-settings input[type="submit"] {
|
282
|
+
margin-top: 20px;
|
283
|
+
}
|
284
|
+
.pp-multiple-authors-layout-simple_list ul,
|
285
|
+
.pp-multiple-authors-layout-boxed ul {
|
286
|
+
padding-left: 0;
|
287
|
+
margin-left: 0;
|
288
|
+
}
|
289
|
+
|
290
|
+
.pp-multiple-authors-layout-simple_list ul li {
|
291
|
+
list-style: none;
|
292
|
+
position: relative;
|
293
|
+
min-height: 35px;
|
294
|
+
line-height: 35px;
|
295
|
+
border-bottom: 1px solid #dddddd;
|
296
|
+
border-top: 1px solid #dddddd;
|
297
|
+
border-bottom: 1px solid #dddddd;
|
298
|
+
border-top: 1px solid #dddddd;
|
299
|
+
padding: 0.5em 0;
|
300
|
+
margin: -1px 0 0 0;
|
301
|
+
}
|
302
|
+
|
303
|
+
.pp-multiple-authors-layout-simple_list .avatar,
|
304
|
+
.pp-multiple-authors-layout-simple_list .photo {
|
305
|
+
float: left;
|
306
|
+
margin-right: 10px;
|
307
|
+
width: 35px;
|
308
|
+
height: 35px;
|
309
|
+
display: block;
|
310
|
+
min-height: 35px;
|
311
|
+
}
|
312
|
+
|
313
|
+
.pp-multiple-authors-layout-boxed ul li {
|
314
|
+
list-style: none;
|
315
|
+
position: relative;
|
316
|
+
min-height: 120px;
|
317
|
+
border: 1px solid #dddddd;
|
318
|
+
padding: 1em;
|
319
|
+
margin-bottom: 1em;
|
320
|
+
}
|
321
|
+
|
322
|
+
.pp-multiple-authors-layout-boxed .avatar,
|
323
|
+
.pp-multiple-authors-layout-boxed .photo {
|
324
|
+
position: static;
|
325
|
+
float: left;
|
326
|
+
margin-right: 1em;
|
327
|
+
width: 80px;
|
328
|
+
height: 80px;
|
329
|
+
min-height: 80px;
|
330
|
+
}
|
331
|
+
|
332
|
+
.pp-multiple-authors-layout-boxed a {
|
333
|
+
font-size: 1.2em;
|
334
|
+
margin-bottom: 10px;
|
335
|
+
display: inline-block;
|
336
|
+
}
|
337
|
+
|
338
|
+
.pp-multiple-authors-layout-boxed p {
|
339
|
+
font-size: 0.85em;
|
340
|
+
}
|
341
|
+
|
342
|
+
.pp-multiple-authors-layout-boxed .ppma-links {
|
343
|
+
position: absolute;
|
344
|
+
top: 10px;
|
345
|
+
right: 10px;
|
346
|
+
}
|
347
|
+
|
348
|
+
.pp-multiple-authors-layout-centered .ppma-links a,
|
349
|
+
.pp-multiple-authors-layout-boxed .ppma-links a {
|
350
|
+
color: #dddddd;
|
351
|
+
text-decoration: none;
|
352
|
+
border-bottom: none;
|
353
|
+
-webkit-box-shadow: none;
|
354
|
+
-moz-box-shadow: none;
|
355
|
+
box-shadow: none;
|
356
|
+
}
|
357
|
+
|
358
|
+
.pp-multiple-authors-layout-centered ul {
|
359
|
+
margin: 0;
|
360
|
+
padding: 0;
|
361
|
+
}
|
362
|
+
|
363
|
+
.pp-multiple-authors-layout-centered ul li {
|
364
|
+
list-style: none;
|
365
|
+
position: relative;
|
366
|
+
min-height: 120px;
|
367
|
+
border: 1px solid #dddddd;
|
368
|
+
padding: 1em;
|
369
|
+
margin-bottom: 1em;
|
370
|
+
text-align: center;
|
371
|
+
}
|
372
|
+
|
373
|
+
.pp-multiple-authors-layout-centered .avatar,
|
374
|
+
.pp-multiple-authors-layout-centered .photo {
|
375
|
+
width: 80px;
|
376
|
+
height: 80px;
|
377
|
+
border-radius: 50%;
|
378
|
+
-moz-border-radius: 50%;
|
379
|
+
-webkit-border-radius: 50%;
|
380
|
+
min-height: 80px;
|
381
|
+
margin: 0 auto;
|
382
|
+
}
|
383
|
+
|
384
|
+
.pp-multiple-authors-layout-centered a {
|
385
|
+
font-size: 1.2em;
|
386
|
+
}
|
387
|
+
|
388
|
+
.pp-multiple-authors-layout-centered a .dashicons,
|
389
|
+
.pp-multiple-authors-layout-centered a:hover .dashicons,
|
390
|
+
.pp-multiple-authors-layout-centered a:focus .dashicons,
|
391
|
+
.pp-multiple-authors-layout-centered a:active .dashicons {
|
392
|
+
text-decoration: none;
|
393
|
+
}
|
394
|
+
|
395
|
+
.pp-multiple-authors-layout-centered p {
|
396
|
+
font-size: 0.85em;
|
397
|
+
margin: 5px 0;
|
398
|
+
}
|
399
|
+
|
400
|
+
.pp-multiple-authors-layout-inline .avatar,
|
401
|
+
.pp-multiple-authors-layout-inline .photo {
|
402
|
+
width: 30px;
|
403
|
+
height: 30px;
|
404
|
+
margin: auto 2px auto auto;
|
405
|
+
vertical-align: middle;
|
406
|
+
display: inline-block;
|
407
|
+
}
|
@@ -0,0 +1,290 @@
|
|
1
|
+
/**
|
2
|
+
* @package MultipleAuthors
|
3
|
+
* @author PublishPress <help@publishpress.com>
|
4
|
+
* @copyright Copyright (C) 2018 PublishPress. All rights reserved.
|
5
|
+
* @license GPLv2 or later
|
6
|
+
* @since 1.0.0
|
7
|
+
*/
|
8
|
+
jQuery(document).ready(function ($) {
|
9
|
+
// Copied from ExtJS.
|
10
|
+
window.htmlEnDeCode = (function () {
|
11
|
+
var charToEntityRegex,
|
12
|
+
entityToCharRegex,
|
13
|
+
charToEntity,
|
14
|
+
entityToChar;
|
15
|
+
|
16
|
+
function resetCharacterEntities () {
|
17
|
+
charToEntity = {};
|
18
|
+
entityToChar = {};
|
19
|
+
// add the default set
|
20
|
+
addCharacterEntities({
|
21
|
+
'&': '&',
|
22
|
+
'>': '>',
|
23
|
+
'<': '<',
|
24
|
+
'"': '"',
|
25
|
+
''': '\''
|
26
|
+
});
|
27
|
+
}
|
28
|
+
|
29
|
+
function addCharacterEntities (newEntities) {
|
30
|
+
var charKeys = [],
|
31
|
+
entityKeys = [],
|
32
|
+
key, echar;
|
33
|
+
for (key in newEntities) {
|
34
|
+
echar = newEntities[key];
|
35
|
+
entityToChar[key] = echar;
|
36
|
+
charToEntity[echar] = key;
|
37
|
+
charKeys.push(echar);
|
38
|
+
entityKeys.push(key);
|
39
|
+
}
|
40
|
+
charToEntityRegex = new RegExp('(' + charKeys.join('|') + ')', 'g');
|
41
|
+
entityToCharRegex = new RegExp('(' + entityKeys.join('|') + '|&#[0-9]{1,5};' + ')', 'g');
|
42
|
+
}
|
43
|
+
|
44
|
+
function htmlEncode (value) {
|
45
|
+
var htmlEncodeReplaceFn = function (match, capture) {
|
46
|
+
return charToEntity[capture];
|
47
|
+
};
|
48
|
+
|
49
|
+
return (!value) ? value : String(value).replace(charToEntityRegex, htmlEncodeReplaceFn);
|
50
|
+
}
|
51
|
+
|
52
|
+
function htmlDecode (value) {
|
53
|
+
var htmlDecodeReplaceFn = function (match, capture) {
|
54
|
+
return (capture in entityToChar) ? entityToChar[capture] : String.fromCharCode(parseInt(capture.substr(2), 10));
|
55
|
+
};
|
56
|
+
|
57
|
+
return (!value) ? value : String(value).replace(entityToCharRegex, htmlDecodeReplaceFn);
|
58
|
+
}
|
59
|
+
|
60
|
+
resetCharacterEntities();
|
61
|
+
|
62
|
+
return {
|
63
|
+
htmlEncode: htmlEncode,
|
64
|
+
htmlDecode: htmlDecode
|
65
|
+
};
|
66
|
+
})();
|
67
|
+
|
68
|
+
//==================================================================
|
69
|
+
/**
|
70
|
+
* Based on Bylines.
|
71
|
+
*/
|
72
|
+
$('.authors-select2.authors-search').each(function () {
|
73
|
+
var authorsSearch = $(this).ppma_select2({
|
74
|
+
placeholder: $(this).data('placeholder'),
|
75
|
+
allowClear: true,
|
76
|
+
ajax: {
|
77
|
+
url: window.ajaxurl + '?action=authors_search&nonce=' + $(this).data('nonce'),
|
78
|
+
dataType: 'json',
|
79
|
+
data: function (params) {
|
80
|
+
var ignored = [];
|
81
|
+
$('.authors-list input').each(function () {
|
82
|
+
ignored.push($(this).val());
|
83
|
+
});
|
84
|
+
return {
|
85
|
+
q: params.term,
|
86
|
+
ignored: ignored
|
87
|
+
};
|
88
|
+
}
|
89
|
+
}
|
90
|
+
});
|
91
|
+
authorsSearch.on('select2:select', function (e) {
|
92
|
+
var template = wp.template('authors-author-partial');
|
93
|
+
$('.authors-list').append(window.htmlEnDeCode.htmlDecode(template(e.params.data)));
|
94
|
+
authorsSearch.val(null).trigger('change');
|
95
|
+
});
|
96
|
+
});
|
97
|
+
$('.authors-list.authors-current-user-can-assign').sortable()
|
98
|
+
.on('click', '.author-remove', function () {
|
99
|
+
|
100
|
+
var el = $(this);
|
101
|
+
el.closest('li').remove();
|
102
|
+
});
|
103
|
+
|
104
|
+
$('.authors-select2-user-select').each(function () {
|
105
|
+
$(this).ppma_select2({
|
106
|
+
allowClear: true,
|
107
|
+
placeholder: $(this).attr('placeholder'),
|
108
|
+
ajax: {
|
109
|
+
url: window.ajaxurl + '?action=authors_users_search&nonce=' + $(this).data('nonce'),
|
110
|
+
dataType: 'json',
|
111
|
+
data: function (params) {
|
112
|
+
return {
|
113
|
+
q: params.term
|
114
|
+
};
|
115
|
+
}
|
116
|
+
}
|
117
|
+
});
|
118
|
+
});
|
119
|
+
|
120
|
+
$('.author-image-field-wrapper').each(function () {
|
121
|
+
var frame,
|
122
|
+
target = $(this), // Your meta box id here
|
123
|
+
deleteImgLink = target.find('.select-author-image-field'),
|
124
|
+
delImgLink = target.find('.delete-author-image-field'),
|
125
|
+
imgContainer = target.find('.author-image-field-container'),
|
126
|
+
imgIdInput = target.find('.author-image-field-id');
|
127
|
+
|
128
|
+
deleteImgLink.on('click', function (event) {
|
129
|
+
event.preventDefault();
|
130
|
+
|
131
|
+
if (frame) {
|
132
|
+
frame.open();
|
133
|
+
return;
|
134
|
+
}
|
135
|
+
frame = wp.media({
|
136
|
+
// title: 'title',
|
137
|
+
// button: {
|
138
|
+
// text: 'select'
|
139
|
+
// },
|
140
|
+
multiple: false,
|
141
|
+
library: {
|
142
|
+
type: 'image'
|
143
|
+
}
|
144
|
+
});
|
145
|
+
frame.on('select', function () {
|
146
|
+
var attachment = frame.state().get('selection').first().toJSON();
|
147
|
+
var attachment_src = ('undefined' === typeof attachment.sizes.thumbnail ? attachment.url : attachment.sizes.thumbnail.url);
|
148
|
+
var imgEl = $('<img />');
|
149
|
+
imgEl.attr('src', attachment_src);
|
150
|
+
imgContainer.append(imgEl);
|
151
|
+
imgIdInput.val(attachment.id);
|
152
|
+
deleteImgLink.addClass('hidden');
|
153
|
+
delImgLink.removeClass('hidden');
|
154
|
+
});
|
155
|
+
|
156
|
+
frame.open();
|
157
|
+
});
|
158
|
+
|
159
|
+
delImgLink.on('click', function (event) {
|
160
|
+
event.preventDefault();
|
161
|
+
imgContainer.html('');
|
162
|
+
deleteImgLink.removeClass('hidden');
|
163
|
+
delImgLink.addClass('hidden');
|
164
|
+
imgIdInput.val('');
|
165
|
+
});
|
166
|
+
|
167
|
+
});
|
168
|
+
//==================================================================
|
169
|
+
|
170
|
+
// Fix the admin menu selection for Authors.
|
171
|
+
if ((window.location.pathname === '/wp-admin/edit-tags.php' || window.location.pathname === '/wp-admin/term.php')
|
172
|
+
&& window.location.search.search('taxonomy=author') === 1) {
|
173
|
+
|
174
|
+
$('#menu-posts')
|
175
|
+
.removeClass('wp-has-current-submenu wp-menu-open')
|
176
|
+
.addClass('wp-not-current-submenu');
|
177
|
+
$('#menu-posts > a')
|
178
|
+
.removeClass('wp-current-submenu wp-has-current-submenu wp-menu-open')
|
179
|
+
.addClass('wp-not-current-submenu wp-menu-open open-if-no-js menu-top-first');
|
180
|
+
$('#toplevel_page_' + MultipleAuthorsStrings.menu_slug)
|
181
|
+
.removeClass('wp-not-current-submenu')
|
182
|
+
.addClass('wp-has-current-submenu wp-menu-open toplevel_page_' + MultipleAuthorsStrings.menu_slug);
|
183
|
+
$('#toplevel_page_' + MultipleAuthorsStrings.menu_slug + ' > a')
|
184
|
+
.removeClass('wp-not-current-submenu')
|
185
|
+
.addClass('wp-has-current-submenu wp-menu-open open-if-no-js menu-top-first');
|
186
|
+
}
|
187
|
+
|
188
|
+
var $mappedUser = $('select[name="authors-user_id"]');
|
189
|
+
var $slug = $('#slug');
|
190
|
+
|
191
|
+
// Add action to the Mapped User field in the Author form.
|
192
|
+
if ($mappedUser.length > 0) {
|
193
|
+
// Disable the slug field if there is a mapped user.
|
194
|
+
$slug.attr('disabled', $mappedUser.val() !== '');
|
195
|
+
|
196
|
+
// Fix the order of fields
|
197
|
+
$($slug.parent().parent().before($mappedUser.parent().parent()));
|
198
|
+
|
199
|
+
$mappedUser.on('change', function (event) {
|
200
|
+
var selected = $mappedUser.val();
|
201
|
+
|
202
|
+
// Update the status of the slug field
|
203
|
+
$slug.attr('disabled', $mappedUser.val() !== '');
|
204
|
+
|
205
|
+
if (selected === '') {
|
206
|
+
return;
|
207
|
+
}
|
208
|
+
|
209
|
+
$.getJSON(
|
210
|
+
MultipleAuthorsStrings.ajax_get_author_data_url,
|
211
|
+
{
|
212
|
+
'user_id': selected
|
213
|
+
},
|
214
|
+
function (data) {
|
215
|
+
var fields = [
|
216
|
+
'first_name',
|
217
|
+
'last_name',
|
218
|
+
'user_email',
|
219
|
+
'user_url'
|
220
|
+
];
|
221
|
+
|
222
|
+
$.each(fields, function (i, item) {
|
223
|
+
var $field = $('input[name="authors-' + item + '"]');
|
224
|
+
if ($field.val() === '') {
|
225
|
+
$field.val(data[item]);
|
226
|
+
}
|
227
|
+
});
|
228
|
+
|
229
|
+
var $field = $('textarea[name="authors-description"]');
|
230
|
+
if ($field.val() === '') {
|
231
|
+
$field.val(data.description);
|
232
|
+
}
|
233
|
+
|
234
|
+
// Slug always change to be in sync
|
235
|
+
$slug.val(data.slug);
|
236
|
+
}
|
237
|
+
);
|
238
|
+
});
|
239
|
+
}
|
240
|
+
|
241
|
+
// Add action to the Mapped User Field in the New Author form.
|
242
|
+
$mappedUser = $('.taxonomy-author .authors-select2-user-select');
|
243
|
+
|
244
|
+
if ($mappedUser.length > 0) {
|
245
|
+
$mappedUser.on('change', function () {
|
246
|
+
if ($('#tag-name').val() == '') {
|
247
|
+
$('#tag-name').val($mappedUser[0].options[$mappedUser[0].selectedIndex].text);
|
248
|
+
}
|
249
|
+
});
|
250
|
+
}
|
251
|
+
|
252
|
+
// Reset the field after the form was submitted.
|
253
|
+
$('#submit').click(function (event) {
|
254
|
+
window.setTimeout(function () {
|
255
|
+
$mappedUser.val('').trigger('change');
|
256
|
+
$('#tag-name').focus();
|
257
|
+
}, 1000);
|
258
|
+
|
259
|
+
return true;
|
260
|
+
});
|
261
|
+
|
262
|
+
/**
|
263
|
+
* Displays a confirmation popup before clicking on the restore authors buttons.
|
264
|
+
*/
|
265
|
+
|
266
|
+
var buttons = [
|
267
|
+
'#create_post_authors',
|
268
|
+
'#create_role_authors',
|
269
|
+
'#delete_mapped_authors',
|
270
|
+
'#delete_guest_authors',
|
271
|
+
];
|
272
|
+
var msg;
|
273
|
+
|
274
|
+
$.each(buttons, function (index, item) {
|
275
|
+
$(item).click(function (event) {
|
276
|
+
msg = 'confirm_' + item.replace('#', '');
|
277
|
+
if (confirm(MultipleAuthorsStrings[msg])) {
|
278
|
+
return true;
|
279
|
+
}
|
280
|
+
|
281
|
+
event.preventDefault();
|
282
|
+
return false;
|
283
|
+
});
|
284
|
+
});
|
285
|
+
});
|
286
|
+
|
287
|
+
if (typeof (console) === 'undefined') {
|
288
|
+
var console = {};
|
289
|
+
console.log = console.error = function () {};
|
290
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
["theme.css","theme.js"]
|