@everymatrix/blog-articles-grid
Advanced tools
Comparing version 1.13.12 to 1.13.13
@@ -1,1 +0,1 @@ | ||
import{p as e,b as t}from"./p-ed2f13d0.js";(()=>{const t=import.meta.url,n={};return""!==t&&(n.resourcesUrl=new URL(".",t).href),e(n)})().then((e=>t([["p-369fb926",[[1,"blog-articles-grid",{cmsEndpoint:[1,"cms-endpoint"],language:[1],handleClick:[1,"handle-click"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],showPublishingDate:[4,"show-publishing-date"],showImage:[4,"show-image"],showTitle:[4,"show-title"],showContent:[4,"show-content"],showButton:[4,"show-button"],usePostmessage:[4,"use-postmessage"],postMessageEvent:[1,"post-message-event"],blogsLimit:[514,"blogs-limit"],paginationActive:[516,"pagination-active"],arrowsActive:[516,"arrows-active"],secondaryArrowsActive:[516,"secondary-arrows-active"],numberedNavActive:[516,"numbered-nav-active"],paginationBlogList:[32],currentPage:[32],hasErrors:[32],limitStylingAppends:[32],isLoading:[32],bannerMatrixReady:[32],nextPage:[32],previousPage:[32],device:[32]},[[8,"BannerMatrixReady","handleBannerReady"],[0,"hpPageChange","hpPageChange"]]],[1,"helper-pagination",{nextPage:[1537,"next-page"],prevPage:[1537,"prev-page"],offset:[1538],limit:[1538],total:[1538],language:[1537],clientStyling:[1537,"client-styling"],clientStylingUrlContent:[1537,"client-styling-url-content"],arrowsActive:[1540,"arrows-active"],secondaryArrowsActive:[1540,"secondary-arrows-active"],numberedNavActive:[1540,"numbered-nav-active"],offsetInt:[32],lastPage:[32],previousPage:[32],limitInt:[32],totalInt:[32],pagesArray:[32],endInt:[32],limitStylingAppends:[32]}]]]],e))); | ||
import{p as e,b as t}from"./p-ed2f13d0.js";(()=>{const t=import.meta.url,n={};return""!==t&&(n.resourcesUrl=new URL(".",t).href),e(n)})().then((e=>t([["p-a9245245",[[1,"blog-articles-grid",{cmsEndpoint:[1,"cms-endpoint"],language:[1],handleClick:[1,"handle-click"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],showPublishingDate:[4,"show-publishing-date"],showImage:[4,"show-image"],showTitle:[4,"show-title"],showContent:[4,"show-content"],showButton:[4,"show-button"],usePostmessage:[4,"use-postmessage"],postMessageEvent:[1,"post-message-event"],blogsLimit:[514,"blogs-limit"],paginationActive:[516,"pagination-active"],arrowsActive:[516,"arrows-active"],secondaryArrowsActive:[516,"secondary-arrows-active"],numberedNavActive:[516,"numbered-nav-active"],paginationBlogList:[32],currentPage:[32],hasErrors:[32],limitStylingAppends:[32],isLoading:[32],bannerMatrixReady:[32],nextPage:[32],previousPage:[32],device:[32]},[[8,"BannerMatrixReady","handleBannerReady"],[0,"hpPageChange","hpPageChange"]]],[1,"helper-pagination",{nextPage:[1537,"next-page"],prevPage:[1537,"prev-page"],offset:[1538],limit:[1538],total:[1538],language:[1537],clientStyling:[1537,"client-styling"],clientStylingUrlContent:[1537,"client-styling-url-content"],arrowsActive:[1540,"arrows-active"],secondaryArrowsActive:[1540,"secondary-arrows-active"],numberedNavActive:[1540,"numbered-nav-active"],offsetInt:[32],lastPage:[32],previousPage:[32],limitInt:[32],totalInt:[32],pagesArray:[32],endInt:[32],limitStylingAppends:[32]}]]]],e))); |
@@ -208,2 +208,4 @@ 'use strict'; | ||
return; | ||
if (this.currentPage - 1 < this.firstPage) | ||
return; | ||
this.getBlogArticleGrid(); | ||
@@ -221,5 +223,2 @@ } | ||
window.postMessage({ type: 'BlogArticlesGridLoaded' }, window.location.href); | ||
this.detectAndAlertDeviceType(); | ||
} | ||
detectAndAlertDeviceType() { | ||
this.device = checkDeviceType(); | ||
@@ -268,2 +267,3 @@ } | ||
this.lastPage = +blogContent.pages.last.slice(blogContent.pages.last.lastIndexOf('=') + 1); | ||
this.firstPage = +blogContent.pages.first.slice(blogContent.pages.first.lastIndexOf('=') + 1); | ||
let blogItems = blogContent.items; | ||
@@ -270,0 +270,0 @@ this.nextPage = blogContent.pages.next; |
@@ -155,2 +155,4 @@ import { Component, Prop, State, Event, Watch, h, Listen } from '@stencil/core'; | ||
return; | ||
if (this.currentPage - 1 < this.firstPage) | ||
return; | ||
this.getBlogArticleGrid(); | ||
@@ -168,5 +170,2 @@ } | ||
window.postMessage({ type: 'BlogArticlesGridLoaded' }, window.location.href); | ||
this.detectAndAlertDeviceType(); | ||
} | ||
detectAndAlertDeviceType() { | ||
this.device = checkDeviceType(); | ||
@@ -215,2 +214,3 @@ } | ||
this.lastPage = +blogContent.pages.last.slice(blogContent.pages.last.lastIndexOf('=') + 1); | ||
this.firstPage = +blogContent.pages.first.slice(blogContent.pages.first.lastIndexOf('=') + 1); | ||
let blogItems = blogContent.items; | ||
@@ -217,0 +217,0 @@ this.nextPage = blogContent.pages.next; |
@@ -207,2 +207,4 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client'; | ||
return; | ||
if (this.currentPage - 1 < this.firstPage) | ||
return; | ||
this.getBlogArticleGrid(); | ||
@@ -220,5 +222,2 @@ } | ||
window.postMessage({ type: 'BlogArticlesGridLoaded' }, window.location.href); | ||
this.detectAndAlertDeviceType(); | ||
} | ||
detectAndAlertDeviceType() { | ||
this.device = checkDeviceType(); | ||
@@ -267,2 +266,3 @@ } | ||
this.lastPage = +blogContent.pages.last.slice(blogContent.pages.last.lastIndexOf('=') + 1); | ||
this.firstPage = +blogContent.pages.first.slice(blogContent.pages.first.lastIndexOf('=') + 1); | ||
let blogItems = blogContent.items; | ||
@@ -269,0 +269,0 @@ this.nextPage = blogContent.pages.next; |
@@ -204,2 +204,4 @@ import { r as registerInstance, c as createEvent, h } from './index-c02b7464.js'; | ||
return; | ||
if (this.currentPage - 1 < this.firstPage) | ||
return; | ||
this.getBlogArticleGrid(); | ||
@@ -217,5 +219,2 @@ } | ||
window.postMessage({ type: 'BlogArticlesGridLoaded' }, window.location.href); | ||
this.detectAndAlertDeviceType(); | ||
} | ||
detectAndAlertDeviceType() { | ||
this.device = checkDeviceType(); | ||
@@ -264,2 +263,3 @@ } | ||
this.lastPage = +blogContent.pages.last.slice(blogContent.pages.last.lastIndexOf('=') + 1); | ||
this.firstPage = +blogContent.pages.first.slice(blogContent.pages.first.lastIndexOf('=') + 1); | ||
let blogItems = blogContent.items; | ||
@@ -266,0 +266,0 @@ this.nextPage = blogContent.pages.next; |
@@ -84,2 +84,3 @@ import { EventEmitter } from '../../stencil-public-runtime'; | ||
lastPage: number; | ||
firstPage: number; | ||
handleBannerReady(): void; | ||
@@ -94,3 +95,2 @@ watchEndpoint(newValue: string, oldValue: string): void; | ||
componentDidLoad(): void; | ||
detectAndAlertDeviceType(): void; | ||
sortArticlesByDate(arr: any): any; | ||
@@ -97,0 +97,0 @@ findLatestFeatured(array: any): any; |
{ | ||
"name": "@everymatrix/blog-articles-grid", | ||
"version": "1.13.12", | ||
"version": "1.13.13", | ||
"main": "./dist/index.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist/index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
444240
12