import { State, Component, Host, h } from '@stencil/core';
export class SparkleGww {
  constructor() {
    this.posts = [{
        ClassFeedPostId: 1,
        Name: "Akash Borad",
        PostText: "This is test text",
        ExternalResourceUrl: "https://girlsinc.blob.core.windows.net/mind-body-images/471fa231-0db6-4551-8c1e-cec8225678a1-med.jpg",
        Created: new Date(),
        Comments: [{
            ClassFeedPostId: 1,
            Created: new Date(),
            Name: "Priyanka",
            Comment: "test comment",
            PostCommentId: 1,
            ProfileImageUrl: ""
          },
          {
            ClassFeedPostId: 1,
            Created: new Date(),
            Name: "Priyanka",
            Comment: "test comment 1",
            PostCommentId: 2,
            ProfileImageUrl: ""
          }],
        IsPublic: true,
        ProfileImageUrl: ""
      },
      {
        ClassFeedPostId: 2,
        Name: "Dhyani Borad",
        PostText: "This is test text",
        ExternalResourceUrl: "https://pin.it/4yxnuxypap6vjg",
        Created: new Date(),
        Comments: [{
            ClassFeedPostId: 1,
            Created: new Date(),
            Name: "Priyanka",
            Comment: "test comment",
            PostCommentId: 3,
            ProfileImageUrl: ""
          }],
        IsPublic: true,
        ProfileImageUrl: ""
      },
      {
        ClassFeedPostId: 1,
        Name: "Piyu Borad",
        PostText: "This is test text",
        ExternalResourceUrl: "",
        Created: new Date(),
        Comments: [{
            ClassFeedPostId: 1,
            Created: new Date(),
            Name: "Priyanka",
            Comment: "comment 1",
            PostCommentId: 4,
            ProfileImageUrl: ""
          }],
        IsPublic: false,
        ProfileImageUrl: ""
      }];
  }
  render() {
    return (h(Host, null, this.posts.map((item) => h("sparkle-gww-item", { post: item }))));
  }
  static get is() { return "sparkle-gww"; }
  static get originalStyleUrls() { return {
    "$": ["sparkle-gww.css"]
  }; }
  static get styleUrls() { return {
    "$": ["sparkle-gww.css"]
  }; }
  static get states() { return {
    "posts": {}
  }; }
}
