{"action":"created","comment":{"url":"https://api.github.com/repos/ex-em/EVUI/pulls/comments/167773835","pull_request_review_id":96037621,"id":167773835,"diff_hunk":"@@ -0,0 +1,215 @@\n+<template>\n+  <div\n+    :class=\"classnames\"\n+    :style=\"userSelectStyle\"\n+    :flex=\"flexVal\"\n+    :id =\"c_id\"\n+    @click=\"OnCantainerClick\">\n+    <slot></slot>\n+  </div>\n+</template>\n+\n+<script>\n+  import ContainerFlex from './ContainerFlex.js';\n+\n+  const LAYOUT_HORIZONTAL = 'Hbox';\n+  const LAYOUT_VERTICAL = 'Vbox';\n+\n+  export default {\n+    name: 'Container',\n+\n+    props: {\n+      /**\n+       * Container  ID를 지정합니다.\n+       */\n+      id: {\n+        type: String,\n+        default: function () {\n+          return 'evui-'+ 'Container-' + this._uid;\n+        },\n+      },\n+      /**\n+       * Container 세로, 수직  지정합니다.\n+       */\n+      layout: {\n+        type: String,\n+        default: LAYOUT_VERTICAL,\n+      },\n+      /**\n+       * Container css style를 적용합니다.\n+       */\n+      wrapperStyles: {\n+        type: Object,\n+        default: null,\n+      },\n+      /**\n+       * Container 넓이 설정합니다.\n+       */\n+      width: {\n+        type: [String,Number],\n+        default: '100%'\n+      },\n+      /**\n+       * Container 높이를 설정합니다.\n+       */\n+      height: {\n+        type: [Number,String],\n+        default: '100%'\n+      },\n+      /**\n+       * Container flex 비율로 넓이/높이를 지정합니다.\n+       */\n+      flex: {\n+        type: Number,\n+        default: null,\n+      }\n+    },\n+\n+    data() {\n+      return {\n+        parentHeight: null,\n+        parentWidth: null,\n+        parentLayout: null,\n+        sumflex: 0,\n+      };\n+    },\n+\n+    computed: {\n+      c_id(){\n+        return this.id;\n+      },\n+      classnames() {\n+        return [\n+          'Container'\n+          // `layout-${this.layout.slice(0, 1)}`\n+        ];\n+      },\n+      userSelectStyle() {\n+        this.wrapperStyles =  typeof  this.wrapperStyles === 'object' ? this.wrapperStyles : null;\n+        return Object.assign({\n+          width     : this.containerWidth,\n+          height    : this.containerHeight,\n+        }, this.wrapperStyles);\n+      },\n+      containerWidth(){\n+\n+      if(this.$data.parentLayout=== LAYOUT_HORIZONTAL && this.$data.sumflex !== 0){\n+          let flexdata =new ContainerFlex({","path":"src/components/Container/Container.vue","position":97,"original_position":97,"commit_id":"2688d00aa546f33207eb2d44c68d0509f1d951cb","original_commit_id":"2688d00aa546f33207eb2d44c68d0509f1d951cb","user":{"login":"jwlee1108","id":30035674,"avatar_url":"https://avatars3.githubusercontent.com/u/30035674?v=4","gravatar_id":"","url":"https://api.github.com/users/jwlee1108","html_url":"https://github.com/jwlee1108","followers_url":"https://api.github.com/users/jwlee1108/followers","following_url":"https://api.github.com/users/jwlee1108/following{/other_user}","gists_url":"https://api.github.com/users/jwlee1108/gists{/gist_id}","starred_url":"https://api.github.com/users/jwlee1108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwlee1108/subscriptions","organizations_url":"https://api.github.com/users/jwlee1108/orgs","repos_url":"https://api.github.com/users/jwlee1108/repos","events_url":"https://api.github.com/users/jwlee1108/events{/privacy}","received_events_url":"https://api.github.com/users/jwlee1108/received_events","type":"User","site_admin":false},"body":"            vm: this,\r\n            FlexTotalVal: this.$data.SumFlex,\r\n            parentWidth: this.$data.ParentWidth,\r\n            layout: this.$data.Parentlayout,\r\n            flex: this.flex 이런형태로 통일하던지 하나의 방안이 필요할 것 같습니다. ","created_at":"2018-02-13T06:49:23Z","updated_at":"2018-02-13T06:52:19Z","html_url":"https://github.com/ex-em/EVUI/pull/85#discussion_r167773835","pull_request_url":"https://api.github.com/repos/ex-em/EVUI/pulls/85","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ex-em/EVUI/pulls/comments/167773835"},"html":{"href":"https://github.com/ex-em/EVUI/pull/85#discussion_r167773835"},"pull_request":{"href":"https://api.github.com/repos/ex-em/EVUI/pulls/85"}},"in_reply_to_id":167773459},"pull_request":{"url":"https://api.github.com/repos/ex-em/EVUI/pulls/85","id":168765561,"html_url":"https://github.com/ex-em/EVUI/pull/85","diff_url":"https://github.com/ex-em/EVUI/pull/85.diff","patch_url":"https://github.com/ex-em/EVUI/pull/85.patch","issue_url":"https://api.github.com/repos/ex-em/EVUI/issues/85","number":85,"state":"open","locked":false,"title":"Layout 개발","user":{"login":"Junyong34","id":25451713,"avatar_url":"https://avatars1.githubusercontent.com/u/25451713?v=4","gravatar_id":"","url":"https://api.github.com/users/Junyong34","html_url":"https://github.com/Junyong34","followers_url":"https://api.github.com/users/Junyong34/followers","following_url":"https://api.github.com/users/Junyong34/following{/other_user}","gists_url":"https://api.github.com/users/Junyong34/gists{/gist_id}","starred_url":"https://api.github.com/users/Junyong34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Junyong34/subscriptions","organizations_url":"https://api.github.com/users/Junyong34/orgs","repos_url":"https://api.github.com/users/Junyong34/repos","events_url":"https://api.github.com/users/Junyong34/events{/privacy}","received_events_url":"https://api.github.com/users/Junyong34/received_events","type":"User","site_admin":false},"body":"- BDD 관련 기본 구조 샘플 파일 추가","created_at":"2018-02-13T06:40:59Z","updated_at":"2018-02-13T06:52:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a3d1a888a35b2596306667ecf6d1cef7eb3eadda","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ex-em/EVUI/pulls/85/commits","review_comments_url":"https://api.github.com/repos/ex-em/EVUI/pulls/85/comments","review_comment_url":"https://api.github.com/repos/ex-em/EVUI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ex-em/EVUI/issues/85/comments","statuses_url":"https://api.github.com/repos/ex-em/EVUI/statuses/2688d00aa546f33207eb2d44c68d0509f1d951cb","head":{"label":"ex-em:pr_83_layout_pjy","ref":"pr_83_layout_pjy","sha":"2688d00aa546f33207eb2d44c68d0509f1d951cb","user":{"login":"ex-em","id":30035546,"avatar_url":"https://avatars0.githubusercontent.com/u/30035546?v=4","gravatar_id":"","url":"https://api.github.com/users/ex-em","html_url":"https://github.com/ex-em","followers_url":"https://api.github.com/users/ex-em/followers","following_url":"https://api.github.com/users/ex-em/following{/other_user}","gists_url":"https://api.github.com/users/ex-em/gists{/gist_id}","starred_url":"https://api.github.com/users/ex-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ex-em/subscriptions","organizations_url":"https://api.github.com/users/ex-em/orgs","repos_url":"https://api.github.com/users/ex-em/repos","events_url":"https://api.github.com/users/ex-em/events{/privacy}","received_events_url":"https://api.github.com/users/ex-em/received_events","type":"User","site_admin":false},"repo":{"id":96735983,"name":"EVUI","full_name":"ex-em/EVUI","owner":{"login":"ex-em","id":30035546,"avatar_url":"https://avatars0.githubusercontent.com/u/30035546?v=4","gravatar_id":"","url":"https://api.github.com/users/ex-em","html_url":"https://github.com/ex-em","followers_url":"https://api.github.com/users/ex-em/followers","following_url":"https://api.github.com/users/ex-em/following{/other_user}","gists_url":"https://api.github.com/users/ex-em/gists{/gist_id}","starred_url":"https://api.github.com/users/ex-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ex-em/subscriptions","organizations_url":"https://api.github.com/users/ex-em/orgs","repos_url":"https://api.github.com/users/ex-em/repos","events_url":"https://api.github.com/users/ex-em/events{/privacy}","received_events_url":"https://api.github.com/users/ex-em/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ex-em/EVUI","description":"Exem Visualization UI","fork":false,"url":"https://api.github.com/repos/ex-em/EVUI","forks_url":"https://api.github.com/repos/ex-em/EVUI/forks","keys_url":"https://api.github.com/repos/ex-em/EVUI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ex-em/EVUI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ex-em/EVUI/teams","hooks_url":"https://api.github.com/repos/ex-em/EVUI/hooks","issue_events_url":"https://api.github.com/repos/ex-em/EVUI/issues/events{/number}","events_url":"https://api.github.com/repos/ex-em/EVUI/events","assignees_url":"https://api.github.com/repos/ex-em/EVUI/assignees{/user}","branches_url":"https://api.github.com/repos/ex-em/EVUI/branches{/branch}","tags_url":"https://api.github.com/repos/ex-em/EVUI/tags","blobs_url":"https://api.github.com/repos/ex-em/EVUI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ex-em/EVUI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ex-em/EVUI/git/refs{/sha}","trees_url":"https://api.github.com/repos/ex-em/EVUI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ex-em/EVUI/statuses/{sha}","languages_url":"https://api.github.com/repos/ex-em/EVUI/languages","stargazers_url":"https://api.github.com/repos/ex-em/EVUI/stargazers","contributors_url":"https://api.github.com/repos/ex-em/EVUI/contributors","subscribers_url":"https://api.github.com/repos/ex-em/EVUI/subscribers","subscription_url":"https://api.github.com/repos/ex-em/EVUI/subscription","commits_url":"https://api.github.com/repos/ex-em/EVUI/commits{/sha}","git_commits_url":"https://api.github.com/repos/ex-em/EVUI/git/commits{/sha}","comments_url":"https://api.github.com/repos/ex-em/EVUI/comments{/number}","issue_comment_url":"https://api.github.com/repos/ex-em/EVUI/issues/comments{/number}","contents_url":"https://api.github.com/repos/ex-em/EVUI/contents/{+path}","compare_url":"https://api.github.com/repos/ex-em/EVUI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ex-em/EVUI/merges","archive_url":"https://api.github.com/repos/ex-em/EVUI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ex-em/EVUI/downloads","issues_url":"https://api.github.com/repos/ex-em/EVUI/issues{/number}","pulls_url":"https://api.github.com/repos/ex-em/EVUI/pulls{/number}","milestones_url":"https://api.github.com/repos/ex-em/EVUI/milestones{/number}","notifications_url":"https://api.github.com/repos/ex-em/EVUI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ex-em/EVUI/labels{/name}","releases_url":"https://api.github.com/repos/ex-em/EVUI/releases{/id}","deployments_url":"https://api.github.com/repos/ex-em/EVUI/deployments","created_at":"2017-07-10T04:33:40Z","updated_at":"2018-01-25T05:01:43Z","pushed_at":"2018-02-13T06:40:59Z","git_url":"git://github.com/ex-em/EVUI.git","ssh_url":"git@github.com:ex-em/EVUI.git","clone_url":"https://github.com/ex-em/EVUI.git","svn_url":"https://github.com/ex-em/EVUI","homepage":null,"size":39704,"stargazers_count":6,"watchers_count":6,"language":"Vue","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":10,"open_issues":12,"watchers":6,"default_branch":"master"}},"base":{"label":"ex-em:2.0","ref":"2.0","sha":"1ef1ce721586e509a3a04122024f8f624f3f145d","user":{"login":"ex-em","id":30035546,"avatar_url":"https://avatars0.githubusercontent.com/u/30035546?v=4","gravatar_id":"","url":"https://api.github.com/users/ex-em","html_url":"https://github.com/ex-em","followers_url":"https://api.github.com/users/ex-em/followers","following_url":"https://api.github.com/users/ex-em/following{/other_user}","gists_url":"https://api.github.com/users/ex-em/gists{/gist_id}","starred_url":"https://api.github.com/users/ex-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ex-em/subscriptions","organizations_url":"https://api.github.com/users/ex-em/orgs","repos_url":"https://api.github.com/users/ex-em/repos","events_url":"https://api.github.com/users/ex-em/events{/privacy}","received_events_url":"https://api.github.com/users/ex-em/received_events","type":"User","site_admin":false},"repo":{"id":96735983,"name":"EVUI","full_name":"ex-em/EVUI","owner":{"login":"ex-em","id":30035546,"avatar_url":"https://avatars0.githubusercontent.com/u/30035546?v=4","gravatar_id":"","url":"https://api.github.com/users/ex-em","html_url":"https://github.com/ex-em","followers_url":"https://api.github.com/users/ex-em/followers","following_url":"https://api.github.com/users/ex-em/following{/other_user}","gists_url":"https://api.github.com/users/ex-em/gists{/gist_id}","starred_url":"https://api.github.com/users/ex-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ex-em/subscriptions","organizations_url":"https://api.github.com/users/ex-em/orgs","repos_url":"https://api.github.com/users/ex-em/repos","events_url":"https://api.github.com/users/ex-em/events{/privacy}","received_events_url":"https://api.github.com/users/ex-em/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ex-em/EVUI","description":"Exem Visualization UI","fork":false,"url":"https://api.github.com/repos/ex-em/EVUI","forks_url":"https://api.github.com/repos/ex-em/EVUI/forks","keys_url":"https://api.github.com/repos/ex-em/EVUI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ex-em/EVUI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ex-em/EVUI/teams","hooks_url":"https://api.github.com/repos/ex-em/EVUI/hooks","issue_events_url":"https://api.github.com/repos/ex-em/EVUI/issues/events{/number}","events_url":"https://api.github.com/repos/ex-em/EVUI/events","assignees_url":"https://api.github.com/repos/ex-em/EVUI/assignees{/user}","branches_url":"https://api.github.com/repos/ex-em/EVUI/branches{/branch}","tags_url":"https://api.github.com/repos/ex-em/EVUI/tags","blobs_url":"https://api.github.com/repos/ex-em/EVUI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ex-em/EVUI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ex-em/EVUI/git/refs{/sha}","trees_url":"https://api.github.com/repos/ex-em/EVUI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ex-em/EVUI/statuses/{sha}","languages_url":"https://api.github.com/repos/ex-em/EVUI/languages","stargazers_url":"https://api.github.com/repos/ex-em/EVUI/stargazers","contributors_url":"https://api.github.com/repos/ex-em/EVUI/contributors","subscribers_url":"https://api.github.com/repos/ex-em/EVUI/subscribers","subscription_url":"https://api.github.com/repos/ex-em/EVUI/subscription","commits_url":"https://api.github.com/repos/ex-em/EVUI/commits{/sha}","git_commits_url":"https://api.github.com/repos/ex-em/EVUI/git/commits{/sha}","comments_url":"https://api.github.com/repos/ex-em/EVUI/comments{/number}","issue_comment_url":"https://api.github.com/repos/ex-em/EVUI/issues/comments{/number}","contents_url":"https://api.github.com/repos/ex-em/EVUI/contents/{+path}","compare_url":"https://api.github.com/repos/ex-em/EVUI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ex-em/EVUI/merges","archive_url":"https://api.github.com/repos/ex-em/EVUI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ex-em/EVUI/downloads","issues_url":"https://api.github.com/repos/ex-em/EVUI/issues{/number}","pulls_url":"https://api.github.com/repos/ex-em/EVUI/pulls{/number}","milestones_url":"https://api.github.com/repos/ex-em/EVUI/milestones{/number}","notifications_url":"https://api.github.com/repos/ex-em/EVUI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ex-em/EVUI/labels{/name}","releases_url":"https://api.github.com/repos/ex-em/EVUI/releases{/id}","deployments_url":"https://api.github.com/repos/ex-em/EVUI/deployments","created_at":"2017-07-10T04:33:40Z","updated_at":"2018-01-25T05:01:43Z","pushed_at":"2018-02-13T06:40:59Z","git_url":"git://github.com/ex-em/EVUI.git","ssh_url":"git@github.com:ex-em/EVUI.git","clone_url":"https://github.com/ex-em/EVUI.git","svn_url":"https://github.com/ex-em/EVUI","homepage":null,"size":39704,"stargazers_count":6,"watchers_count":6,"language":"Vue","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":10,"open_issues":12,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ex-em/EVUI/pulls/85"},"html":{"href":"https://github.com/ex-em/EVUI/pull/85"},"issue":{"href":"https://api.github.com/repos/ex-em/EVUI/issues/85"},"comments":{"href":"https://api.github.com/repos/ex-em/EVUI/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/ex-em/EVUI/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/ex-em/EVUI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ex-em/EVUI/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/ex-em/EVUI/statuses/2688d00aa546f33207eb2d44c68d0509f1d951cb"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"jwlee1108"}}