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AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP,6CAA6C;AAC7C;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA","sources":["./projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/issue.service.ts","./projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/share-request.ts","./projects/lwlib/src/case-tag-popup/case-tag-popup-opener.service.ts","./projects/lwlib/src/detail-info-click-window/detail-info-click-window-option.ts","./projects/lwlib/src/detail-info-click-window/detail-info-click-window-tab-id.enum.ts","./projects/lwlib/src/detail-info-click-window/detail-info-click-window-tab.ts","./projects/lwlib/src/detail-info-click-window/detail-info-click-window.component.ts","./projects/lwlib/src/detail-info-click-window/detail-info-click-window.component.html","./projects/lwlib/src/detail-info-click-window/detail-info-click-window.module.ts","./projects/lwlib/src/detail-info-click-window/detail-info-click-window.service.ts","./projects/lwlib/src/detail-info-click-window/display-content-block-basic-info/display-content-block-basic-info-option.ts","./projects/lwlib/src/detail-info-click-window/display-content-block-basic-info/display-content-block-basic-info.component.ts","./projects/lwlib/src/detail-info-click-window/display-content-block-basic-info/display-content-block-basic-info.component.html","./projects/lwlib/src/detail-info-click-window/display-content-block-basic-info/display-content-block-basic-info.module.ts","./projects/lwlib/src/detail-info-click-window/display-content-block-issue-sort-out/display-content-block-issue-sort-out-option.ts","./projects/lwlib/src/detail-info-click-window/display-content-block-issue-sort-out/display-content-block-issue-sort-out.component.ts","./projects/lwlib/src/detail-info-click-window/display-content-block-issue-sort-out/display-content-block-issue-sort-out.component.html","./projects/lwlib/src/detail-info-click-window/display-content-block-issue-sort-out/display-content-block-issue-sort-out.module.ts","./projects/lwlib/src/detail-info-click-window/display-content-block-put-in/display-content-block-put-in.component.ts","./projects/lwlib/src/detail-info-click-window/display-content-block-put-in/display-content-block-put-in.component.html","./projects/lwlib/src/detail-info-click-window/display-content-block-put-in/display-content-block-put-in.module.ts","./projects/lwlib/src/detail-info-click-window/display-content-block-share-info/display-content-block-share-info-option.ts","./projects/lwlib/src/detail-info-click-window/display-content-block-share-info/display-content-block-share-info.component.ts","./projects/lwlib/src/detail-info-click-window/display-content-block-share-info/display-content-block-share-info.component.html","./projects/lwlib/src/detail-info-click-window/display-content-block-share-info/display-content-block-share-info.module.ts","./projects/lwlib/src/summary-window/summary-window-option.ts","./node_modules/ngx-textarea-autosize/fesm2015/ngx-textarea-autosize.js","tslib"],"sourcesContent":["import { Injectable } from '@angular/core';\r\nimport { IssueEditRequest } from './issue-edit-request';\r\nimport { Observable } from 'rxjs';\r\nimport { IssueOrderRequest } from './issue-order-request';\r\nimport { IssueDeleteRequest } from './issue-delete-request';\r\nimport { AppService } from 'projects/desktop/src/app/app.service';\r\nimport { map } from 'rxjs/operators';\r\nimport { IssueAddRequest } from './issue-add-request';\r\nimport { CaseType } from 'projects/lwlib/src/personal-config-popup/personal-config-popup.service';\r\nimport { Issue } from './issue';\r\nimport { Serializable } from 'projects/lwlib/src/serializable';\r\nimport { IssueBlukRequest } from './issue-bluk-request';\r\nimport { IssueLinkSummaryRequest } from './issue-link-summary-request';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class IssueService {\r\n\r\n constructor(\r\n private service: AppService,\r\n ) { }\r\n\r\n typeTable: {\r\n [key in keyof typeof CaseType]: {\r\n add: (request: IssueAddRequest) => Observable,\r\n update: (request: IssueEditRequest) => Observable,\r\n order: (request: IssueOrderRequest) => Observable,\r\n delete: (request: IssueDeleteRequest) => Observable,\r\n }\r\n } = {\r\n Judgment: {\r\n add: (request) => this.addJudgmentObserver(request),\r\n update: (request) => this.updateJudgmentObserver(request),\r\n order: (request) => this.orderJudgmentObserver(request),\r\n delete: (request) => this.deleteJudgmentObserver(request),\r\n },\r\n JudicialInterpret: {\r\n add: (request) => this.addJudicialInterpretObserver(request),\r\n update: (request) => this.updateJudicialInterpretObserver(request),\r\n order: (request) => this.orderJudicialInterpretObserver(request),\r\n delete: (request) => this.deleteJudicialInterpretObserver(request),\r\n },\r\n LawRule: null,\r\n Indictment: {\r\n add: (request) => this.addIndictmentObserver(request),\r\n update: (request) => this.updateIndictmentObserver(request),\r\n order: (request) => this.orderIndictmentObserver(request),\r\n delete: (request) => this.deleteIndictmentObserver(request),\r\n }\r\n };\r\n\r\n addObserver(type: CaseType, request: IssueAddRequest): Observable {\r\n return this.typeTable[CaseType[type]].add(request);\r\n // return this.service.post('judgment/issue_add', request);\r\n }\r\n updateObserver(type: CaseType, request: IssueEditRequest): Observable {\r\n return this.typeTable[CaseType[type]].update(request);\r\n // return this.service.post('judgment/issue_edit', request);\r\n }\r\n orderObserver(type: CaseType, request: IssueOrderRequest): Observable {\r\n return this.typeTable[CaseType[type]].order(request);\r\n // return this.service.post('judgment/issue_order', request);\r\n }\r\n deleteObserver(type: CaseType, request: IssueDeleteRequest): Observable {\r\n return this.typeTable[CaseType[type]].delete(request);\r\n // return this.service.post('judgment/issue_delete', request);\r\n }\r\n\r\n\r\n getJudgmentIssueListObserver(note_id: string, team_id?: string): Observable {\r\n let url = 'judgment/issue_list?id=' + note_id;\r\n if (team_id) {\r\n url += '&team_id=' + team_id;\r\n }\r\n return this.service.get(url)\r\n .pipe(\r\n map(list => {\r\n return list.map(s => Serializable.extendObjectFromResponseObject(new Issue(), s));\r\n })\r\n );\r\n }\r\n addJudgmentObserver(request: IssueAddRequest): Observable {\r\n return this.service.post('judgment/issue_add', request);\r\n }\r\n updateJudgmentObserver(request: IssueEditRequest): Observable {\r\n return this.service.post('judgment/issue_edit', request);\r\n }\r\n orderJudgmentObserver(request: IssueOrderRequest): Observable {\r\n return this.service.post('judgment/issue_order', request);\r\n }\r\n deleteJudgmentObserver(request: IssueDeleteRequest): Observable {\r\n return this.service.post('judgment/issue_delete', request);\r\n }\r\n linkSummaryJudgmentObserver(request: IssueLinkSummaryRequest): Observable {\r\n return this.service.post('judgment/issue_summary_link', request);\r\n }\r\n blukJudgmentObserver(request: IssueBlukRequest): Observable {\r\n return this.service.post('judgment/issue_bluk', request);\r\n }\r\n\r\n\r\n\r\n getJudicialInterpretIssueListObserver(note_id: string, team_id?: string): Observable {\r\n let url = 'judicial_interpret/issue_list?id=' + note_id;\r\n if (team_id) {\r\n url += '&team_id=' + team_id;\r\n }\r\n return this.service.get(url)\r\n // return this.service.get('judicial_interpret/issue_list?id=' + note_id)\r\n .pipe(\r\n map(list => {\r\n return list.map(s => Serializable.extendObjectFromResponseObject(new Issue(), s));\r\n })\r\n );\r\n }\r\n addJudicialInterpretObserver(request: IssueAddRequest): Observable {\r\n return this.service.post('judicial_interpret/issue_add', request);\r\n }\r\n updateJudicialInterpretObserver(request: IssueEditRequest): Observable {\r\n return this.service.post('judicial_interpret/issue_edit', request);\r\n }\r\n orderJudicialInterpretObserver(request: IssueOrderRequest): Observable {\r\n return this.service.post('judicial_interpret/issue_order', request);\r\n }\r\n deleteJudicialInterpretObserver(request: IssueDeleteRequest): Observable {\r\n return this.service.post('judicial_interpret/issue_delete', request);\r\n }\r\n linkSummaryJudicialInterpretObserver(request: IssueLinkSummaryRequest): Observable {\r\n return this.service.post('judicial_interpret/issue_summary_link', request);\r\n }\r\n blukJudicialInterpretObserver(request: IssueBlukRequest): Observable {\r\n return this.service.post('judicial_interpret/issue_bluk', request);\r\n }\r\n\r\n\r\n\r\n getIndictmentIssueListObserver(note_id: string, team_id?: string): Observable {\r\n let url = 'indictment/issue_list?id=' + note_id;\r\n if (team_id) {\r\n url += '&team_id=' + team_id;\r\n }\r\n return this.service.get(url)\r\n // return this.service.get('indictment/issue_list?id=' + note_id)\r\n .pipe(\r\n map(list => {\r\n return list.map(s => Serializable.extendObjectFromResponseObject(new Issue(), s));\r\n })\r\n );\r\n }\r\n addIndictmentObserver(request: IssueAddRequest): Observable {\r\n return this.service.post('indictment/issue_add', request);\r\n }\r\n updateIndictmentObserver(request: IssueEditRequest): Observable {\r\n return this.service.post('indictment/issue_edit', request);\r\n }\r\n orderIndictmentObserver(request: IssueOrderRequest): Observable {\r\n return this.service.post('indictment/issue_order', request);\r\n }\r\n deleteIndictmentObserver(request: IssueDeleteRequest): Observable {\r\n return this.service.post('indictment/issue_delete', request);\r\n }\r\n linkSummaryIndictmentObserver(request: IssueLinkSummaryRequest): Observable {\r\n return this.service.post('indictment/issue_summary_link', request);\r\n }\r\n blukIndictmentObserver(request: IssueBlukRequest): Observable {\r\n return this.service.post('indictment/issue_bluk', request);\r\n }\r\n}\r\n","import { CaseType } from 'projects/lwlib/src/personal-config-popup/personal-config-popup.service';\r\n\r\nexport class ShareRequest {\r\n type: CaseType;\r\n note_id: string;\r\n enable: boolean;\r\n\r\n team_id: string;\r\n team_note_id: string;\r\n}\r\n","import { Injectable, ComponentFactoryResolver, Injector, ApplicationRef, ComponentRef } from '@angular/core';\r\nimport { PopupManagerService } from '../popup-manager/popup-manager.service';\r\nimport { CaseTagPopupComponent } from './case-tag-popup.component';\r\nimport { CaseTag } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/case-tag';\r\nimport { JudgmentCase } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/judgment-case';\r\nimport { JudicialInterpretCase } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judicial-interpret/judicial-interpret-case';\r\nimport { CaseType } from '../personal-config-popup/personal-config-popup.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CaseTagPopupOpenerService {\r\n\r\n constructor(\r\n private componentFactoryResolver: ComponentFactoryResolver,\r\n private injector: Injector,\r\n private appRef: ApplicationRef,\r\n private popupManagerService: PopupManagerService\r\n ) { }\r\n\r\n buildPopup(): ComponentRef {\r\n const component = this.componentFactoryResolver\r\n .resolveComponentFactory(CaseTagPopupComponent)\r\n .create(this.injector);\r\n\r\n component.instance.componentRef = component;\r\n\r\n component.location.nativeElement.setAttribute('popup', '');\r\n document.body.appendChild(component.location.nativeElement);\r\n\r\n this.appRef.attachView(component.hostView);\r\n\r\n return component;\r\n }\r\n\r\n // openPopup(type: CaseType, caseTagList: CaseTag[], note: JudgmentCase | JudicialInterpretCase): ComponentRef {\r\n // const component = this.buildPopup();\r\n\r\n // component.instance.onAfterContentInit$.subscribe(() => {\r\n // const instance = component.instance;\r\n // instance.initPopup(type, caseTagList, note);\r\n // });\r\n\r\n // this.popupManagerService.open(component);\r\n // return component;\r\n // }\r\n openPopup(type: CaseType, caseTagList: CaseTag[]): ComponentRef {\r\n const component = this.buildPopup();\r\n\r\n component.instance.onAfterContentInit$.subscribe(() => {\r\n const instance = component.instance;\r\n instance.initPopup(type, caseTagList);\r\n });\r\n\r\n this.popupManagerService.open(component);\r\n return component;\r\n }\r\n\r\n}\r\n","import { SummaryTypeItem } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/summary-type-item';\r\nimport { CaseTag } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/case-tag';\r\nimport { Observable } from 'rxjs';\r\nimport { CaseType } from '../personal-config-popup/personal-config-popup.service';\r\nimport { DetailInfoClickWindowTabId } from './detail-info-click-window-tab-id.enum';\r\nimport { Issue } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/issue';\r\nimport { ShareInfo } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/share-info';\r\nimport { SummarySave } from '../summary-list/summary-save';\r\nimport { Summary } from '../summary-list/summary';\r\nimport { DisplayContentBlockShareInfoOption } from './display-content-block-share-info/display-content-block-share-info-option';\r\nimport { DisplayContentBlockBasicInfoOption } from './display-content-block-basic-info/display-content-block-basic-info-option';\r\nimport { DisplayContentBlockIssueSortOutOption } from './display-content-block-issue-sort-out/display-content-block-issue-sort-out-option';\r\nimport { DisplayContentBlockPutInOption } from './display-content-block-put-in/display-content-block-put-in-option';\r\nimport { SummaryWindowService } from '../summary-window/summary-window.service';\r\nimport { DetailInfoClickWindowTab } from './detail-info-click-window-tab';\r\nimport { FilterCondition } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/filter-condition';\r\n\r\nexport class DetailInfoClickWindowOption {\r\n /** 預設視窗分頁 */\r\n tab_id: DetailInfoClickWindowTabId;\r\n get tab_id_text(): string { return DetailInfoClickWindowTabId[this.tab_id]; }\r\n\r\n /** 開啟中的筆記ID */\r\n note_id: string;\r\n /** 開啟中的筆記種類 */\r\n caseType: CaseType;\r\n /** 搜尋條件 */\r\n filterCondition: FilterCondition;\r\n\r\n /** 視窗側邊陰影開關 */\r\n showSideShadow: boolean = true;\r\n /** 關閉編輯 */\r\n disableAllEdit: boolean = false;\r\n\r\n isShare: boolean = false;\r\n\r\n /** 視窗顯示中 */\r\n onWindowShow: () => void;\r\n /** 視窗顯示動畫結束 */\r\n onWindowAfterShow: () => void;\r\n /** 視窗隱藏 */\r\n onWindowHide: () => void;\r\n /** 視窗隱藏動畫結束 */\r\n onWindowAfterHide: () => void;\r\n /** 視窗分頁切換 */\r\n onTabChange: (tab: DetailInfoClickWindowTab) => void;\r\n\r\n /** 基本資訊 */\r\n basicInfoOption: DisplayContentBlockBasicInfoOption;\r\n /** 爭點整理 */\r\n issueSortOutOption: DisplayContentBlockIssueSortOutOption;\r\n /** 分享資訊 */\r\n shareInfoOption: DisplayContentBlockShareInfoOption;\r\n /** 團隊 */\r\n putInOption: DisplayContentBlockPutInOption;\r\n\r\n // case_type: CaseType;\r\n // note_id: string;\r\n // reason: string;\r\n // // 設定外部取值\r\n // get_edit_date: () => number;\r\n // get edit_date(): number { return this.get_edit_date(); }\r\n // // 設定外部取值\r\n // get_summaryTypeItemList: () => SummaryTypeItem[];\r\n // get summaryTypeItemList(): SummaryTypeItem[] { return this.get_summaryTypeItemList(); }\r\n\r\n // get_case_tag_list: () => CaseTag[];\r\n // get case_tag_list(): CaseTag[] { return this.get_case_tag_list(); }\r\n\r\n // get_comment: () => string;\r\n // get comment(): string { return this.get_comment(); }\r\n\r\n // // 開啟標籤編輯,彈窗直接整個功能引用\r\n // editCaseTag: () => void;\r\n // // 開啟備註編輯,彈窗直接整個功能引用\r\n // editComment: () => void;\r\n\r\n // // 爭點編輯\r\n // get_issue_list: () => Issue[];\r\n // get issue_list(): Issue[] { return this.get_issue_list(); }\r\n // addIssue: (issue: Issue) => void;\r\n // editIssue: (issue: Issue) => void;\r\n // deleteIssue: (issue: Issue) => void;\r\n // pullIssueList: () => void;\r\n // clearIssueSummaryLink: (issue: Issue) => void;\r\n // updateIssueSummaryLink: (issue: Issue) => void;\r\n // linkingIssue: Issue;\r\n // sourceIssueHasAnswer: boolean;\r\n\r\n // // 摘要視窗\r\n // showedSummaryWindow: () => boolean;\r\n // showSummaryWindow: (issue: Issue) => void;\r\n // hideSummaryWindow: () => void;\r\n // getSummaryObserver: (case_id: string) => Observable;\r\n // selectSummary: (summary: Summary) => void;\r\n // // orderIssueListObserver: () => Observable;\r\n // summaryWindowTitle: string = '';\r\n\r\n\r\n // // 筆記分享\r\n // // enable_share: boolean;\r\n // updateNoteShare: (enable: boolean) => void;\r\n // // get_share_id: () => string;\r\n // // get share_id(): string { return this.get_share_id(); }\r\n // // get_share_click_count: () => number;\r\n // // get share_click_count(): number { return this.get_share_click_count(); }\r\n // share_id: string;\r\n // share_click_count: number;\r\n\r\n // // 過濾條件,高亮關鍵字用\r\n // filterCondition: FilterCondition;\r\n}\r\n","export enum DetailInfoClickWindowTabId {\r\n None = 0,\r\n BasicInfo = 1,\r\n IssueSortOut = 2,\r\n ShareInfo = 3,\r\n PutIn = 4,\r\n}\r\n","import { DetailInfoClickWindowService } from './detail-info-click-window.service';\r\nimport { DetailInfoClickWindowTabId } from './detail-info-click-window-tab-id.enum';\r\n\r\nexport class DetailInfoClickWindowTab {\r\n // id: DetailInfoClickWindowTabId;\r\n // name: string;\r\n // component: Component;\r\n // detailInfoClickWindowService: DetailInfoClickWindowService;\r\n\r\n constructor(\r\n public id: DetailInfoClickWindowTabId,\r\n public name: string,\r\n public component: any,\r\n public detailInfoClickWindowService: DetailInfoClickWindowService,\r\n ) {\r\n // this.id = id;\r\n // this.name = name;\r\n // this.component = component;\r\n // this.detailInfoClickWindowService = detailInfoClickWindowService;\r\n }\r\n}\r\n","import { Component, OnInit, Input, ElementRef, ViewChild, AfterViewInit, HostListener, EventEmitter, Output } from '@angular/core';\r\nimport { JudgmentCase } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/judgment-case';\r\nimport { Subject } from 'rxjs';\r\nimport { PopupManagerService } from '../popup-manager/popup-manager.service';\r\nimport { CaseType } from '../personal-config-popup/personal-config-popup.service';\r\nimport { DetailInfoClickWindowOption } from './detail-info-click-window-option';\r\nimport { DetailInfoClickWindowService } from './detail-info-click-window.service';\r\nimport { DetailInfoClickWindowTabId } from './detail-info-click-window-tab-id.enum';\r\nimport { DetailInfoClickWindowTab } from './detail-info-click-window-tab';\r\nimport { getClickEventPath } from '../lib/lw-ext';\r\n\r\n@Component({\r\n selector: 'app-detail-info-click-window',\r\n templateUrl: './detail-info-click-window.component.html',\r\n styleUrls: ['./detail-info-click-window.component.scss'],\r\n // animations:[],\r\n})\r\nexport class DetailInfoClickWindowComponent implements OnInit {\r\n // detailInfoClickWindowTabId: any = DetailInfoClickWindowTabId;\r\n // detailInfoClickWindow: DetailInfoClickWindowComponent = this;\r\n // onChangeTab$: Subject = new Subject();\r\n onHideWindow$: Subject = new Subject();\r\n // onChangeNote$: Subject = new Subject();\r\n // onChangeNoteOption$: Subject = new Subject();\r\n // note: JudgmentCase;\r\n\r\n get tabs(): { [key in keyof typeof DetailInfoClickWindowTabId]: DetailInfoClickWindowTab } { return this.detailInfoClickWindowService.tabs; }\r\n get selectedTab(): DetailInfoClickWindowTab { return this.detailInfoClickWindowService.selectedTab; }\r\n\r\n get left(): number { return this.detailInfoClickWindowService.translateX; }\r\n get showWindow(): boolean { return this.detailInfoClickWindowService.windowShowed; }\r\n\r\n clickShowWindow: boolean = false;\r\n clickShowWindowAnimate: boolean = false;\r\n // showByElement: Element;\r\n // selectedInfoTab: string = 'basic-info';\r\n get enableShadow(): boolean {\r\n return !this.checkSummaryWindowShow();\r\n }\r\n enableTabBasicInfo: boolean = true;\r\n enableTabIssue: boolean = true;\r\n enableTabShare: boolean = true;\r\n // lockClickEmptyCheck: boolean = false;\r\n // lockClickEmptyCheckTime: number = 100;\r\n // animateTime: number = 100;\r\n\r\n // type: CaseType;\r\n\r\n element: Element;\r\n // displayContentBlockElement: Element;\r\n // hideOneTimeCallbacks: Function[] = [];\r\n\r\n\r\n\r\n cancelFixWindow: boolean = false;\r\n onClickCloseWindow: () => void;\r\n\r\n\r\n constructor(\r\n elementRef: ElementRef,\r\n private popupManagerService: PopupManagerService,\r\n private detailInfoClickWindowService: DetailInfoClickWindowService,\r\n ) {\r\n this.element = elementRef.nativeElement;\r\n }\r\n\r\n ngOnInit() {\r\n // this.onChangeNote$.subscribe(note => {\r\n // this.note = note;\r\n // });\r\n }\r\n\r\n // onHideOneTime(callback: Function) {\r\n // this.hideOneTimeCallbacks.push(callback);\r\n // }\r\n\r\n selectTab(tabId: DetailInfoClickWindowTabId): void {\r\n // if (this.selectedInfoTab !== tab) {\r\n // this.onChangeTab$.next();\r\n // }\r\n // if (tab) {\r\n // this.selectedInfoTab = tab;\r\n // }\r\n const tab = this.detailInfoClickWindowService.tabs[DetailInfoClickWindowTabId[tabId]];\r\n if (this.detailInfoClickWindowService.selectedTab !== tab) {\r\n this.detailInfoClickWindowService.onChangeTabBefore$.next(tab);\r\n }\r\n this.detailInfoClickWindowService.selectTab(tab);\r\n }\r\n\r\n // // 顯示點擊視窗\r\n // showClickWindow(option: DetailInfoClickWindowOption): void {\r\n // // 設定視窗選項\r\n // this.detailInfoClickWindowService.updateOption(option);\r\n // // this.detailInfoClickWindowService.option = option;\r\n\r\n // // 設定選擇的分頁\r\n // const optionTab = this.detailInfoClickWindowService.tabs[option.tab_id_text];\r\n // this.detailInfoClickWindowService.selectTab(optionTab);\r\n // // this.selectTab(option.tab_name);\r\n\r\n // // this.showByElement = fromElement;\r\n // this.clickShowWindow = true;\r\n // this.lockClickEmptyCheck = true;\r\n\r\n // // if (this.note !== noteData) {\r\n // // this.onChangeNote$.next(noteData);\r\n // // }\r\n\r\n // setTimeout(() => {\r\n // this.clickShowWindowAnimate = true;\r\n // // this.displayContentBlockElement = this.element.querySelector(':scope>.detail-info-click-window>.window-content>.info-content>.display-content-block');\r\n // }, 0);\r\n // setTimeout(() => {\r\n // this.lockClickEmptyCheck = false;\r\n // }, this.lockClickEmptyCheckTime);\r\n // }\r\n // showClickWindow(type: CaseType, tab: string, noteData: JudgmentCase): void {\r\n // this.type = type;\r\n // this.selectTab(tab);\r\n // // this.showByElement = fromElement;\r\n // this.clickShowWindow = true;\r\n // this.lockClickEmptyCheck = true;\r\n // if (this.note !== noteData) {\r\n // this.onChangeNote$.next(noteData);\r\n // }\r\n\r\n // setTimeout(() => {\r\n // this.clickShowWindowAnimate = true;\r\n // this.displayContentBlockElement = this.element.querySelector(':scope>.detail-info-click-window>.window-content>.info-content>.display-content-block');\r\n // }, 0);\r\n // setTimeout(() => {\r\n // this.lockClickEmptyCheck = false;\r\n // }, this.lockClickEmptyCheckTime);\r\n // }\r\n // 隱藏點擊視窗\r\n hideClickWindow(): void {\r\n if (this.cancelFixWindow) {\r\n if (this.onClickCloseWindow) {\r\n this.onClickCloseWindow();\r\n }\r\n return;\r\n }\r\n this.detailInfoClickWindowService.hideWindow();\r\n // this.clickShowWindowAnimate = false;\r\n // // this.showByElement = null;\r\n // setTimeout(() => {\r\n // this.lockClickEmptyCheck = false;\r\n // }, this.lockClickEmptyCheckTime);\r\n // setTimeout(() => {\r\n // this.clickShowWindow = false;\r\n // this.onHideWindow$.next();\r\n // this.hideOneTimeCallbacks.forEach(c => {\r\n // if (c) { c(); }\r\n // });\r\n // this.hideOneTimeCallbacks = [];\r\n // }, this.animateTime);\r\n }\r\n // 檢查按下的按鍵\r\n @HostListener('document:keydown', ['$event']) closeLast(ev: KeyboardEvent) {\r\n if (\r\n ev.keyCode === 27\r\n && this.detailInfoClickWindowService.windowShowed\r\n && !this.popupManagerService.closeLast()\r\n && !this.checkSummaryWindowShow()\r\n ) {\r\n this.hideClickWindow();\r\n }\r\n }\r\n checkSummaryWindowShow(): boolean {\r\n if (this.detailInfoClickWindowService.option\r\n && this.detailInfoClickWindowService.option.issueSortOutOption\r\n && this.detailInfoClickWindowService.option.issueSortOutOption.summaryWindowService\r\n ) {\r\n return this.detailInfoClickWindowService.option.issueSortOutOption.summaryWindowService.windowShowed;\r\n }\r\n return false;\r\n }\r\n\r\n // 檢查指標是否點擊在不可關閉的目標上\r\n checkClickPathTarget(path: EventTarget[]): boolean {\r\n return path.some((a: Element) => a === this.element)\r\n || path.some((a: Element) => a.hasAttribute && (a as Element).hasAttribute('popup'))\r\n || path.some((a: Element) => a.classList && a.classList.contains('summary-window'));\r\n }\r\n\r\n // 檢查點擊視窗關閉與否\r\n // @HostListener('document:mobile_tap', ['$event'])\r\n @HostListener('document:click', ['$event'])\r\n checkClickWindowCloseOrNot(ev: MouseEvent): void {\r\n const path = getClickEventPath(ev);\r\n\r\n setTimeout(() => {\r\n if (!this.detailInfoClickWindowService.optionUpdated\r\n && this.detailInfoClickWindowService.windowShowed\r\n && !this.detailInfoClickWindowService.windowShowing) {\r\n if (!this.checkClickPathTarget(path)) {\r\n this.hideClickWindow();\r\n // if (this.detailInfoClickWindowService.option.hideSummaryWindow) {\r\n // this.detailInfoClickWindowService.option.hideSummaryWindow();\r\n // }\r\n }\r\n }\r\n if (this.detailInfoClickWindowService.optionUpdated) {\r\n this.detailInfoClickWindowService.optionUpdated = false;\r\n }\r\n });\r\n // if (this.lockClickEmptyCheck) {\r\n // return;\r\n // }\r\n // if (!this.clickShowWindow) {\r\n // return;\r\n // }\r\n // if (this.popupManagerService.getLastComponentRef()) {\r\n // return;\r\n // }\r\n }\r\n\r\n\r\n\r\n showInfo(): void {\r\n console.log(this.detailInfoClickWindowService);\r\n }\r\n reset(): void {\r\n\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
詳細資料
\r\n
\r\n
關閉 [Esc]
\r\n
\r\n
\r\n
\r\n
\r\n
基本資訊
\r\n
爭點整理
\r\n
分享資訊
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { DetailInfoClickWindowComponent } from './detail-info-click-window.component';\r\nimport { DisplayContentBlockBasicInfoModule } from './display-content-block-basic-info/display-content-block-basic-info.module';\r\nimport { DisplayContentBlockPutInModule } from './display-content-block-put-in/display-content-block-put-in.module';\r\nimport { DisplayContentBlockShareInfoModule } from './display-content-block-share-info/display-content-block-share-info.module';\r\nimport { DisplayContentBlockIssueSortOutModule } from './display-content-block-issue-sort-out/display-content-block-issue-sort-out.module';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n DisplayContentBlockBasicInfoModule,\r\n DisplayContentBlockPutInModule,\r\n DisplayContentBlockShareInfoModule,\r\n DisplayContentBlockIssueSortOutModule,\r\n ],\r\n declarations: [\r\n DetailInfoClickWindowComponent\r\n ],\r\n exports: [\r\n DetailInfoClickWindowComponent,\r\n ]\r\n})\r\nexport class DetailInfoClickWindowModule { }\r\n","import { Injectable } from '@angular/core';\r\nimport { DetailInfoClickWindowTab } from './detail-info-click-window-tab';\r\nimport { DetailInfoClickWindowTabId } from './detail-info-click-window-tab-id.enum';\r\nimport { DetailInfoClickWindowOption } from './detail-info-click-window-option';\r\nimport { Subject, Observable } from 'rxjs';\r\nimport { DisplayContentBlockBasicInfoComponent } from './display-content-block-basic-info/display-content-block-basic-info.component';\r\n\r\n@Injectable()\r\nexport class DetailInfoClickWindowService {\r\n constructor() { }\r\n\r\n tabs: { [key in keyof typeof DetailInfoClickWindowTabId]: DetailInfoClickWindowTab } = {\r\n None: null,\r\n BasicInfo: new DetailInfoClickWindowTab(DetailInfoClickWindowTabId.BasicInfo, 'basic-info', null, this),\r\n IssueSortOut: new DetailInfoClickWindowTab(DetailInfoClickWindowTabId.IssueSortOut, 'issue-sort-out', null, this),\r\n ShareInfo: new DetailInfoClickWindowTab(DetailInfoClickWindowTabId.ShareInfo, 'share-info', null, this),\r\n PutIn: new DetailInfoClickWindowTab(DetailInfoClickWindowTabId.PutIn, 'put-in', null, this),\r\n };\r\n\r\n _option: DetailInfoClickWindowOption;\r\n get option(): DetailInfoClickWindowOption { return this._option; }\r\n onChangeNoteOptionBefore$: Subject = new Subject();\r\n\r\n selectedTab: DetailInfoClickWindowTab;\r\n onChangeTabBefore$: Subject = new Subject();\r\n\r\n translateX: number = -700;\r\n windowShowing: boolean = false;\r\n windowHiding: boolean = false;\r\n windowShowed: boolean = false;\r\n windowHideLock: boolean = false;\r\n optionUpdated: boolean = false;\r\n\r\n\r\n // data: any;\r\n // hideWindow$: Subject = new Subject();\r\n\r\n // updateOption(option: DetailInfoClickWindowOption): void {\r\n // if (this.option\r\n // && this.option.note_id !== option.note_id) {\r\n // this.onChangeNoteOptionBefore$.next(option);\r\n // }\r\n // this.option = option;\r\n // }\r\n selectTab(tab: DetailInfoClickWindowTab): void {\r\n this.selectedTab = tab;\r\n if (this.option.onTabChange) {\r\n this.option.onTabChange(tab);\r\n }\r\n }\r\n showWindowObserver(): Observable {\r\n return new Observable(s => {\r\n // console.log('show window');\r\n // this.windowShowing = true;\r\n this.option.onWindowShow();\r\n setTimeout(() => {\r\n // this.windowShowing = false;\r\n // this.windowShowed = true;\r\n this.option.onWindowAfterShow();\r\n s.next();\r\n s.complete();\r\n s.unsubscribe();\r\n }, 100);\r\n });\r\n }\r\n hideWindowObserver(): Observable {\r\n return new Observable(s => {\r\n // this.windowShowed = false;\r\n this.option.onWindowHide();\r\n setTimeout(() => {\r\n this.option.onWindowAfterHide();\r\n s.next();\r\n s.complete();\r\n s.unsubscribe();\r\n }, 100);\r\n });\r\n }\r\n\r\n showWindow(): void {\r\n this.showWindowObserver().subscribe();\r\n }\r\n hideWindow(): void {\r\n this.hideWindowObserver().subscribe();\r\n }\r\n}\r\n","import { SummaryTypeItem } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/summary-type-item';\r\nimport { CaseTag } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/case-tag';\r\nimport { DetailInfoClickWindowOption } from '../detail-info-click-window-option';\r\nimport { ViewChild } from '@angular/core';\r\n\r\nexport class DisplayContentBlockBasicInfoOption {\r\n rootOption: DetailInfoClickWindowOption;\r\n\r\n enableAuthor: boolean = false;\r\n authorPicture: string;\r\n authorName: string = '';\r\n\r\n\r\n /** 案由 */\r\n reason: string;\r\n /** 保存日期 */\r\n get_edit_date: () => number;\r\n get edit_date(): number { return this.get_edit_date(); }\r\n\r\n /** 筆記情況 */\r\n get_summaryTypeItemList: () => SummaryTypeItem[];\r\n get summaryTypeItemList(): SummaryTypeItem[] { return this.get_summaryTypeItemList(); }\r\n\r\n /** 案件標籤 */\r\n get_case_tag_list: () => CaseTag[];\r\n get case_tag_list(): CaseTag[] { return this.get_case_tag_list(); }\r\n\r\n /** 隨意備註 */\r\n get_comment: () => string;\r\n get comment(): string { return this.get_comment(); }\r\n\r\n /** 高亮關鍵字 */\r\n highlightKeywords: string[] = [];\r\n\r\n\r\n /** 編輯案件標籤 */\r\n editCaseTag: () => void;\r\n\r\n /** 編輯隨意備註 */\r\n editComment: () => void;\r\n\r\n\r\n /** 開啟摘要預覽視窗 */\r\n openSummaryPreviewWindow: (summaryTypeItem: SummaryTypeItem) => void;\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { DetailInfoClickWindowComponent } from '../detail-info-click-window.component';\r\nimport { JudgmentCase } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/judgment-case';\r\nimport { AppCommonService } from 'projects/desktop/src/app/app-common.service';\r\nimport { SummaryTypeItem } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/summary-type-item';\r\nimport { NoteSummaryListType } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/note-summary-list-type';\r\nimport { BookmarkType } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/bookmark-type';\r\nimport { SummaryTypeId } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/summary-type-id.enum';\r\n\r\nimport { SearcherKeywordKind } from '../../keyword-searcher/searcher-keyword-kind';\r\nimport { CommentPopupOpenerService } from '../../comment-popup/comment-popup-opener.service';\r\nimport { CommentService } from 'projects/desktop/src/app/root/root-main/comment.service';\r\nimport { CaseTagPopupOpenerService } from '../../case-tag-popup/case-tag-popup-opener.service';\r\nimport { CaseTag } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/case-tag';\r\nimport { JudicialInterpretCase } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judicial-interpret/judicial-interpret-case';\r\nimport { CaseType } from '../../personal-config-popup/personal-config-popup.service';\r\nimport { DetailInfoClickWindowService } from '../detail-info-click-window.service';\r\nimport { DisplayContentBlockBasicInfoOption } from './display-content-block-basic-info-option';\r\nimport { FilterCondition } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/filter-condition';\r\n\r\n@Component({\r\n selector: 'app-display-content-block-basic-info',\r\n templateUrl: './display-content-block-basic-info.component.html',\r\n styleUrls: ['./display-content-block-basic-info.component.scss']\r\n})\r\nexport class DisplayContentBlockBasicInfoComponent implements OnInit {\r\n // @Input() detailInfoClickWindow: DetailInfoClickWindowComponent;\r\n searcherKeywordKind: any = SearcherKeywordKind;\r\n\r\n\r\n get option(): DisplayContentBlockBasicInfoOption { return this.detailInfoClickWindowService.option.basicInfoOption; }\r\n get filter(): FilterCondition { return this.option.rootOption.filterCondition; }\r\n // get type(): CaseType { return this.option.rootOption.caseType; }\r\n\r\n get note_reason(): string { return this.option.reason || ''; }\r\n get note_edit_date(): number { return this.option.edit_date; }\r\n get note_summary_type_item_list(): SummaryTypeItem[] { return this.option.summaryTypeItemList; }\r\n get note_case_tag_list(): CaseTag[] { return this.option.case_tag_list; }\r\n get note_comment(): string { return this.option.comment; }\r\n // type: CaseType;\r\n // note: JudgmentCase | JudicialInterpretCase;\r\n\r\n constructor(\r\n public appCommonService: AppCommonService,\r\n private commentPopupService: CommentService,\r\n private commentPopupOpenerService: CommentPopupOpenerService,\r\n private caseTagPopupOpenerService: CaseTagPopupOpenerService,\r\n private detailInfoClickWindowService: DetailInfoClickWindowService,\r\n ) { }\r\n\r\n ngOnInit() {\r\n // 設定Service的基本資訊頁面Component\r\n this.detailInfoClickWindowService.tabs.BasicInfo.component = this;\r\n // this.note = this.detailInfoClickWindow.note;\r\n // this.filter = this.detailInfoClickWindow.importFilterCondition;\r\n\r\n // this.detailInfoClickWindow.onChangeNote$.subscribe(note => {\r\n // this.note = note;\r\n // });\r\n\r\n // this.type = this.detailInfoClickWindow.type;\r\n }\r\n\r\n // getNoteReason(note: JudgmentCase | JudicialInterpretCase): string {\r\n // return note['case_reason'] || '';\r\n // }\r\n convertTimeText(tick: number): string {\r\n if (isNaN(tick) || tick === 0) {\r\n return '';\r\n }\r\n return this.appCommonService.convertTimeTickToPastTimeText1(tick);\r\n }\r\n convertSummaryItemToClass(item: SummaryTypeItem): string {\r\n // debugger;\r\n if (item.list_type === NoteSummaryListType.Bookmark) {\r\n return this.appCommonService.convertText_CamelCaseToLowerDash(BookmarkType[item.list_type].toString());\r\n } else {\r\n return this.appCommonService.convertText_CamelCaseToLowerDash(SummaryTypeId[item.item_type].toString());\r\n }\r\n }\r\n\r\n openCaseTagPopup(): void {\r\n this.detailInfoClickWindowService.option.basicInfoOption.editCaseTag();\r\n }\r\n openCommentPopup(): void {\r\n this.detailInfoClickWindowService.option.basicInfoOption.editComment();\r\n }\r\n // openCommentPopup(sourceText: string): void {\r\n // const componentRef = this.commentPopupOpenerService.openPopup(sourceText);\r\n // componentRef.instance.submit.subscribe(r => {\r\n // this.note.comment = r;\r\n // this.commentPopupService.pushCommentObserver(this.detailInfoClickWindow.type, this.note, r)\r\n // .subscribe();\r\n // });\r\n // }\r\n // openCaseTagPopup(caseTagList: CaseTag[]): void {\r\n // // const componentRef = this.caseTagPopupOpenerService.openPopup(this.detailInfoClickWindow.type, caseTagList, this.note as JudgmentCase | JudicialInterpretCase);\r\n\r\n // const componentRef = this.caseTagPopupOpenerService.openPopup(this.detailInfoClickWindow.type, caseTagList);\r\n // componentRef.instance.confirm.subscribe((list: CaseTag[]) => {\r\n // // 更新到S\r\n // this.judgmentService.updateNoteCaseTagListObserver(note.judgment_note_id, list)\r\n // .subscribe(() => {\r\n // // 更新本地\r\n // note.case_tag_list = list;\r\n // // 關閉彈窗\r\n // componentRef.instance.closePopup();\r\n // });\r\n // });\r\n // componentRef.onDestroy(() => { });\r\n // }\r\n openSummaryPreviewWindow(summaryTypeItem: SummaryTypeItem): void {\r\n this.option.openSummaryPreviewWindow(summaryTypeItem);\r\n }\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
筆記作者:
\r\n
\r\n
\r\n
\r\n
{{option.authorName}}
\r\n
\r\n
\r\n
\r\n
\r\n
所屬案由:
\r\n
\r\n
{{note_reason}}
\r\n
\r\n
\r\n
\r\n
保存日期:
\r\n
\r\n
{{convertTimeText(note_edit_date)}}
\r\n
\r\n
\r\n
\r\n
筆記情況:
\r\n
\r\n
\r\n
\r\n
\r\n
{{summaryTypeItem.count}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
案件標籤:
\r\n
\r\n
\r\n
編輯
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
隨意備註:
\r\n
\r\n
\r\n
編輯
\r\n
\r\n
\r\n
\r\n    
\r\n
","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { DisplayContentBlockBasicInfoComponent } from './display-content-block-basic-info.component';\r\nimport { PipeHighlightModule } from 'projects/lwlib/src/pipe-highlight/pipe-highlight.module';\r\nimport { CommentPopupModule } from '../../comment-popup/comment-popup.module';\r\nimport { CaseTagPopupModule } from '../../case-tag-popup/case-tag-popup.module';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n PipeHighlightModule,\r\n CommentPopupModule,\r\n CaseTagPopupModule,\r\n ],\r\n declarations: [DisplayContentBlockBasicInfoComponent],\r\n exports: [\r\n DisplayContentBlockBasicInfoComponent,\r\n CommentPopupModule\r\n ]\r\n})\r\nexport class DisplayContentBlockBasicInfoModule { }\r\n","import { DetailInfoClickWindowOption } from '../detail-info-click-window-option';\r\nimport { Issue } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/issue';\r\nimport { SummaryWindowOption } from '../../summary-window/summary-window-option';\r\nimport { SummaryWindowService } from '../../summary-window/summary-window.service';\r\n\r\nexport class DisplayContentBlockIssueSortOutOption {\r\n rootOption: DetailInfoClickWindowOption;\r\n\r\n /** 取爭點清單 */\r\n get_issue_list: () => Issue[];\r\n get issue_list(): Issue[] { return this.get_issue_list(); }\r\n\r\n /** 選擇爭點(點擊) */\r\n selectIssue: (issue: Issue) => void;\r\n\r\n /** 新增 */\r\n addIssue: (issue: Issue) => void;\r\n /** 編輯 */\r\n editIssue: (issue: Issue) => void;\r\n /** 刪除 */\r\n deleteIssue: (issue: Issue) => void;\r\n /** 連結摘要 */\r\n linkSummary: (issue: Issue) => void;\r\n /** 排序爭點 */\r\n orderIssue: (callback?: () => void) => void;\r\n /** 更新爭點清單 */\r\n pullIssueList: () => void;\r\n /** 向上移動 */\r\n moveUpIssue: (issue: Issue) => void;\r\n /** 向下移動 */\r\n moveDownIssue: (issue: Issue) => void;\r\n /** 移植摘要 */\r\n portingSummary: (issue: Issue) => void;\r\n /** 連結中爭點 */\r\n linkingIssue: Issue;\r\n /** 啟用確認連結按鈕 */\r\n enableLinkConfirmButton: boolean;\r\n enablePortingSummary: boolean = false;\r\n disableMoveOption: boolean = false;\r\n\r\n /** 顯示摘要視窗 */\r\n showSummaryWindow: () => void;\r\n summaryWindowOption: SummaryWindowOption;\r\n\r\n /** 摘要視窗Service */\r\n summaryWindowService: SummaryWindowService;\r\n\r\n issueLinkBackup: { [key: string]: string } = {};\r\n issueAnswerBackup: { [key: string]: string } = {};\r\n\r\n confirmLink: () => void;\r\n cancelLink: () => void;\r\n}\r\n","import { Component, OnInit, Input, ViewChildren, QueryList, ElementRef, ViewChild, OnDestroy } from '@angular/core';\r\nimport { AppCommonService } from 'projects/desktop/src/app/app-common.service';\r\nimport { JudgmentCase } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/judgment-case';\r\nimport { Subject } from 'rxjs';\r\nimport { DetailInfoClickWindowComponent } from '../detail-info-click-window.component';\r\nimport { Issue } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/issue';\r\nimport { SearcherKeywordKind } from '../../keyword-searcher/searcher-keyword-kind';\r\n\r\nimport { IssueService } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/issue.service';\r\nimport { IssueEditor } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/issue-editor';\r\nimport { IssueEditRequest } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/issue-edit-request';\r\nimport { IssueAddRequest } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/issue-add-request';\r\nimport { DeleteConfirmPopupOpenerService } from '../../delete-confirm-popup/delete-confirm-popup-opener.service';\r\nimport { IssueDeleteRequest } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/judgment/issue-delete-request';\r\nimport { DeleteConfirmPopupType } from '../../delete-confirm-popup/delete-confirm-popup-type';\r\nimport { CaseHelper } from 'projects/lwlib/src/case-helper';\r\nimport { DetailInfoClickWindowService } from '../detail-info-click-window.service';\r\nimport { CaseType } from '../../personal-config-popup/personal-config-popup.service';\r\nimport { DisplayContentBlockIssueSortOutOption } from './display-content-block-issue-sort-out-option';\r\nimport { trigger, state, style, transition, animate, keyframes } from '@angular/animations';\r\nimport { FilterCondition } from 'projects/desktop/src/app/root/root-main/child-content-storage-personal/filter-condition';\r\nimport { AppService } from 'projects/desktop/src/app/app.service';\r\n\r\n@Component({\r\n selector: 'app-display-content-block-issue-sort-out',\r\n templateUrl: './display-content-block-issue-sort-out.component.html',\r\n styleUrls: ['./display-content-block-issue-sort-out.component.scss'],\r\n animations: [\r\n trigger('highlightShining', [\r\n state('stop', style({ backgroundColor: '' })),\r\n state('play', style({ backgroundColor: '#7ee' })),\r\n transition('stop=>play', animate('1000ms', keyframes([\r\n style({ backgroundColor: 'transparent' }),\r\n style({ backgroundColor: '#7ee' }),\r\n style({ backgroundColor: 'transparent' }),\r\n style({ backgroundColor: '#7ee' }),\r\n style({ backgroundColor: 'transparent' }),\r\n ]))),\r\n transition('play=>stop', style({ backgroundColor: '' }))\r\n ])\r\n ]\r\n})\r\nexport class DisplayContentBlockIssueSortOutComponent implements OnInit, OnDestroy {\r\n @ViewChildren('issueTextarea') issueTextarea: QueryList;\r\n @ViewChildren('answerTextarea') answerTextarea: QueryList;\r\n @ViewChildren('newIssueTextInputElementRef') newIssueTextInputElementRef: QueryList;\r\n\r\n searcherKeywordKind: any = SearcherKeywordKind;\r\n\r\n get option(): DisplayContentBlockIssueSortOutOption { return this.detailInfoClickWindowService.option.issueSortOutOption; }\r\n get filter(): FilterCondition { return this.option.rootOption.filterCondition; }\r\n // get type(): CaseType { return this.option.case_type; }\r\n\r\n get list(): Issue[] { return this.option.issue_list; }\r\n newIssue: Issue = new Issue();\r\n\r\n get linkingIssue(): Issue { return this.option.linkingIssue; }\r\n get disableMoveButton(): boolean { return this.option.disableMoveOption; }\r\n\r\n\r\n\r\n // 用 editingIssue是否等於現在的issue判斷,編輯狀態\r\n // editingIssue: Issue;\r\n // 用 editingAnswer是否等於現在的issue判斷,編輯狀態\r\n // editingAnswer: Issue;\r\n // editIssueText: string = '';\r\n // editAnswerText: string = '';\r\n\r\n // note: JudgmentCase;\r\n // clickEditNewIssue: boolean = false;\r\n // newIssueEditor: IssueEditor;\r\n // issueList: IssueEditor[] = [];\r\n\r\n constructor(\r\n public appCommonService: AppCommonService,\r\n private elementRef: ElementRef,\r\n private issueService: IssueService,\r\n private deleteConfirmPopupOpenerService: DeleteConfirmPopupOpenerService,\r\n private detailInfoClickWindowService: DetailInfoClickWindowService,\r\n private service: AppService,\r\n ) { }\r\n\r\n ngOnInit() {\r\n // this.issueList = this.option.issue_list;\r\n // this.filter = this.detailInfoClickWindow.importFilterCondition;\r\n\r\n // this.note = this.detailInfoClickWindow.note;\r\n // this.updateIssueEditorList(this.note.issue_list);\r\n // // this.issueList = this.convertIssueToEditor(this.note.issue_list);\r\n\r\n // this.detailInfoClickWindow.onChangeNote$.subscribe(note => {\r\n // this.disableAllIssueList();\r\n // this.disableAddNewIssue();\r\n // this.note = note;\r\n // this.updateIssueEditorList(this.note.issue_list);\r\n // });\r\n // this.detailInfoClickWindow.onHideWindow$.subscribe(() => {\r\n // this.disableAllIssueList();\r\n // this.disableAddNewIssue();\r\n // });\r\n // this.detailInfoClickWindow.onChangeTab$.subscribe(() => {\r\n // this.disableAllIssueList();\r\n // this.disableAddNewIssue();\r\n // });\r\n }\r\n ngOnDestroy() {\r\n this.list.forEach(v => {\r\n this.disableEditIssue(v);\r\n this.disableEditAnswer(v);\r\n });\r\n }\r\n\r\n enableAddIssue(): void {\r\n this.newIssue = new Issue();\r\n this.newIssue.sn = this.list.length;\r\n this.newIssue.issue_text = '';\r\n this.newIssue.answer_text = '';\r\n\r\n this.newIssue.is_new_issue = true;\r\n this.newIssue.editing_issue = true;\r\n this.newIssue.editing_answer = false;\r\n this.newIssue.edit_issue_text = '';\r\n this.newIssue.edit_answer_text = '';\r\n\r\n setTimeout(() => {\r\n this.newIssue.focusIssueInput();\r\n });\r\n }\r\n disableAddIssue(): void {\r\n this.newIssue.is_new_issue = false;\r\n this.newIssue.editing_issue = false;\r\n }\r\n disableAddConfirmButton(): boolean {\r\n if (this.newIssue.edit_issue_text.length === 0) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n confirmAddIssue(): void {\r\n if (this.service.IsGuest) {\r\n this.service.openPopupBlockGuestFunction();\r\n return;\r\n }\r\n\r\n this.newIssue.issue_text = this.newIssue.edit_issue_text;\r\n this.option.addIssue(this.newIssue);\r\n this.disableAddIssue();\r\n }\r\n\r\n\r\n selectIssue(issue: Issue): void {\r\n if (this.option.selectIssue != null) {\r\n this.option.selectIssue(issue);\r\n }\r\n }\r\n\r\n editIssue(issue: Issue): void {\r\n issue.editing_issue = true;\r\n issue.edit_issue_text = issue.issue_text;\r\n setTimeout(() => {\r\n issue.focusIssueInput();\r\n });\r\n // this.editingIssue = issue;\r\n // this.editIssueText = issue.issue_text;\r\n }\r\n editAnswer(issue: Issue): void {\r\n issue.editing_answer = true;\r\n issue.edit_answer_text = issue.answer_text;\r\n setTimeout(() => {\r\n issue.focusAnswerInput();\r\n });\r\n // this.editingAnswer = issue;\r\n // this.editAnswerText = issue.answer_text;\r\n }\r\n disableEditIssue(issue: Issue): void {\r\n issue.editing_issue = false;\r\n }\r\n disableEditAnswer(issue: Issue): void {\r\n issue.editing_answer = false;\r\n }\r\n confirmEditIssue(issue: Issue): void {\r\n if (this.service.IsGuest) {\r\n this.service.openPopupBlockGuestFunction();\r\n return;\r\n }\r\n\r\n issue.issue_text = issue.edit_issue_text;\r\n this.option.editIssue(issue);\r\n this.disableEditIssue(issue);\r\n }\r\n confirmEditAnswer(issue: Issue): void {\r\n if (this.service.IsGuest) {\r\n this.service.openPopupBlockGuestFunction();\r\n return;\r\n }\r\n\r\n issue.answer_text = issue.edit_answer_text;\r\n this.option.editIssue(issue);\r\n this.disableEditAnswer(issue);\r\n }\r\n disableConfirmEditIssue(issue: Issue): boolean {\r\n return issue.issue_text === issue.edit_issue_text;\r\n }\r\n disableConfirmEditAnswer(issue: Issue): boolean {\r\n return issue.answer_text === issue.edit_answer_text;\r\n }\r\n\r\n deleteIssue(issue: Issue): void {\r\n const componentRef = this.deleteConfirmPopupOpenerService.openPopup(DeleteConfirmPopupType.Issue);\r\n componentRef.instance.confirm.subscribe(() => {\r\n if (this.service.IsGuest) {\r\n this.service.openPopupBlockGuestFunction();\r\n return;\r\n }\r\n\r\n this.option.deleteIssue(issue);\r\n componentRef.instance.closePopup();\r\n });\r\n componentRef.onDestroy(() => { });\r\n }\r\n deleteAnswer(issue: Issue): void {\r\n const componentRef = this.deleteConfirmPopupOpenerService.openPopup(DeleteConfirmPopupType.IssueAnswer);\r\n componentRef.instance.confirm.subscribe(() => {\r\n if (this.service.IsGuest) {\r\n this.service.openPopupBlockGuestFunction();\r\n return;\r\n }\r\n \r\n issue.edit_answer_text = '';\r\n this.confirmEditAnswer(issue);\r\n componentRef.instance.closePopup();\r\n });\r\n componentRef.onDestroy(() => { });\r\n }\r\n\r\n\r\n openSummaryWindow(issue: Issue): void {\r\n this.option.linkingIssue = issue;\r\n this.option.showSummaryWindow();\r\n // this.option.showSummaryWindow(issue);\r\n }\r\n removeSummaryLink(issue: Issue): void {\r\n if (this.service.IsGuest) {\r\n this.service.openPopupBlockGuestFunction();\r\n return;\r\n }\r\n\r\n issue.link_summary_id = '';\r\n if (this.option.summaryWindowOption\r\n && this.option.summaryWindowService.windowShowed) {\r\n this.option.enableLinkConfirmButton = true;\r\n this.option.summaryWindowOption.updateSummaryList();\r\n } else {\r\n this.option.linkSummary(issue);\r\n }\r\n }\r\n\r\n\r\n disableLinkConfirmButton(): boolean {\r\n return !this.option.enableLinkConfirmButton;\r\n }\r\n disableLinkIssue(): void {\r\n // this.option.summaryWindowService.hideWindow();\r\n this.option.cancelLink();\r\n }\r\n confirmLinkIssue(): void {\r\n if (this.service.IsGuest) {\r\n this.service.openPopupBlockGuestFunction();\r\n return;\r\n }\r\n\r\n this.option.confirmLink();\r\n // setTimeout(() => {\r\n // this.option.summaryWindowService.hideWindow();\r\n // });\r\n }\r\n\r\n canMoveUp(issue: Issue): boolean {\r\n if (issue.sn <= 0) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n canMoveDown(issue: Issue): boolean {\r\n if (issue.sn >= this.list[this.list.length - 1].sn) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n moveUp(issue: Issue): void {\r\n if (this.service.IsGuest) {\r\n this.service.openPopupBlockGuestFunction();\r\n return;\r\n }\r\n\r\n this.option.moveUpIssue(issue);\r\n // this.playHighlight(issue);\r\n // console.log('play up issue highlight '\r\n // , issue.issue_text, ' '\r\n // , issue.highlightState, '->play');\r\n\r\n // 這裡設定播放兩次,應該是Angular bug,清單切換後,會觸發done一次\r\n // 之後狀態改play會被馬上觸發成done,所以要在play一次來重新播放動畫\r\n // this.list.find(v => v.id === issue.id).highlightState = 'play';\r\n // setTimeout(() => {\r\n // this.list.find(v => v.id === issue.id).highlightState = 'play';\r\n // });\r\n }\r\n moveDown(issue: Issue): void {\r\n if (this.service.IsGuest) {\r\n this.service.openPopupBlockGuestFunction();\r\n return;\r\n }\r\n\r\n this.option.moveDownIssue(issue);\r\n // this.playHighlight(issue);\r\n // console.log('play down issue highlight '\r\n // , issue.issue_text, ' '\r\n // , issue.highlightState, '->play');\r\n // this.list.find(v => v.id === issue.id).highlightState = 'play';\r\n // setTimeout(() => {\r\n // this.list.find(v => v.id === issue.id).highlightState = 'play';\r\n // });\r\n }\r\n playHighlight(issue: Issue): void {\r\n this.list.find(v => v.id === issue.id).highlightState = 'play';\r\n setTimeout(() => {\r\n this.list.find(v => v.id === issue.id).highlightState = 'play';\r\n });\r\n }\r\n resetIssueHighlightState(issue: Issue): void {\r\n // console.log('stop issue highlight '\r\n // , issue.issue_text, ' '\r\n // , issue.highlightState, '->stop');\r\n issue.highlightState = 'stop';\r\n }\r\n\r\n updateIssueInputText(issue: Issue, inputElement: Element): void {\r\n issue.edit_issue_text = inputElement.textContent;\r\n }\r\n updateAnswerInputText(issue: Issue, inputElement: Element): void {\r\n issue.edit_answer_text = inputElement.textContent;\r\n }\r\n\r\n portingSummary(issue: Issue): void {\r\n if (this.option.portingSummary) {\r\n this.option.portingSummary(issue);\r\n }\r\n }\r\n\r\n // updateIssueEditorList(issueList: Issue[]): void {\r\n // this.issueList = this.convertIssueToEditor(issueList);\r\n\r\n // this.issueList.forEach(i => {\r\n // i.confirmEditIssue.subscribe(v => this.confirmEditIssue(v));\r\n // i.confirmEditAnswer.subscribe(v => this.confirmEditAnswer(v));\r\n // i.deleteIssue.subscribe(v => this.deleteIssue(v));\r\n // i.deleteAnswer.subscribe(v => this.deleteAnswer(v));\r\n // });\r\n // }\r\n // convertIssueToEditor(issueList: Issue[]): IssueEditor[] {\r\n // return issueList.map(\r\n // i => new IssueEditor(i)\r\n // );\r\n // }\r\n\r\n // disableAllIssueList(): void {\r\n // // this.note.issue_list.forEach(issue => {\r\n // // issue.disableIssueEdit();\r\n // // issue.disableAnswerEdit();\r\n // // });\r\n // this.issueList.forEach(i => {\r\n // i.disableIssueEdit();\r\n // i.disableAnswerEdit();\r\n // });\r\n // }\r\n\r\n // enableAddNewIssue(newIssueElement: QueryList): void {\r\n // console.log(newIssueElement);\r\n\r\n // this.clickEditNewIssue = true;\r\n\r\n // const newIssue = new Issue();\r\n // newIssue.issue_text = '';\r\n // this.newIssueEditor = new IssueEditor(newIssue);\r\n\r\n // // this.newIssueEditor.enableIssueEdit(this.newIssueElement);\r\n // this.detailInfoClickWindow.displayContentBlockElement.scrollTo(0, Number.MAX_VALUE);\r\n\r\n // setTimeout(() => {\r\n // newIssueElement.first.nativeElement.focus();\r\n // }, 1);\r\n // }\r\n // disableAddNewIssue(): void {\r\n // this.clickEditNewIssue = false;\r\n // }\r\n\r\n\r\n\r\n // confirmAddNewIssue(): void {\r\n // this.newIssueEditor.confirmIssue();\r\n // this.newIssueEditor.issue.sn = this.note.issue_list.length;\r\n // this.newIssueEditor.disableIssueEdit();\r\n // // this.newIssue.issueText = this.newIssue.editIssueText;\r\n // // this.newIssue.sn = this.note.issue_list.length;\r\n // // this.newIssue.disableIssueEdit();\r\n // // this.note.issue_list.push(this.newIssue);\r\n\r\n // // this.issueList.push(this.newIssueEditor);\r\n // this.note.issue_list.push(this.newIssueEditor.issue);\r\n // this.updateIssueEditorList(this.note.issue_list);\r\n\r\n // this.disableAddNewIssue();\r\n\r\n // console.log('confirmAddNewIssue', this.newIssueEditor.issue);\r\n\r\n // const request: IssueAddRequest = {\r\n // case_id: CaseHelper.getCaseIdFromNote(this.detailInfoClickWindow.type, this.note),\r\n // sn: this.newIssueEditor.issue.sn,\r\n // issue_text: this.newIssueEditor.issue.issue_text,\r\n // answer_text: this.newIssueEditor.issue.answer_text,\r\n // } as IssueAddRequest;\r\n\r\n // this.issueService.addObserver(this.detailInfoClickWindow.type, request).subscribe((responseId: string) => {\r\n // this.newIssueEditor.issue.id = responseId;\r\n // });\r\n // }\r\n // confirmEditIssue(issue: Issue): void {\r\n // // console.log('confirmEditIssue', issue);\r\n // const request: IssueEditRequest = {\r\n // case_id: CaseHelper.getCaseIdFromNote(this.detailInfoClickWindow.type, this.note),\r\n // issue: issue,\r\n // };\r\n\r\n // this.issueService.updateObserver(this.detailInfoClickWindow.type, request).subscribe();\r\n // }\r\n // confirmEditAnswer(issue: Issue): void {\r\n // // console.log('confirmEditAnswer', issue);\r\n // const request: IssueEditRequest = {\r\n // case_id: CaseHelper.getCaseIdFromNote(this.detailInfoClickWindow.type, this.note),\r\n // issue: issue,\r\n // };\r\n // this.issueService.updateObserver(this.detailInfoClickWindow.type, request).subscribe();\r\n // }\r\n // deleteIssue(issue: Issue): void {\r\n // const componentRef = this.deleteConfirmPopupOpenerService.openPopup(DeleteConfirmPopupType.Issue);\r\n\r\n // componentRef.instance.confirm.subscribe(() => {\r\n // this.confirmDeleteIssue(issue);\r\n\r\n // componentRef.instance.closePopup();\r\n // });\r\n\r\n // componentRef.onDestroy(() => { });\r\n // }\r\n // deleteAnswer(issue: Issue): void {\r\n // const componentRef = this.deleteConfirmPopupOpenerService.openPopup(DeleteConfirmPopupType.IssueAnswer);\r\n\r\n // componentRef.instance.confirm.subscribe(() => {\r\n // this.confirmDeleteAnswer(issue);\r\n\r\n // componentRef.instance.closePopup();\r\n // });\r\n\r\n // componentRef.onDestroy(() => { });\r\n // }\r\n // confirmDeleteIssue(issue: Issue): void {\r\n // // console.log('confirmDeleteIssue', issue);\r\n // const request: IssueDeleteRequest = {\r\n // case_id: CaseHelper.getCaseIdFromNote(this.detailInfoClickWindow.type, this.note),\r\n // issue_id: issue.id\r\n // } as IssueDeleteRequest;\r\n // this.issueService.deleteObserver(this.detailInfoClickWindow.type, request).subscribe((result: boolean) => {\r\n // console.log('delete issue ', result);\r\n\r\n // if (result) {\r\n // console.log('delete issue ', issue.id, this.note.issue_list);\r\n\r\n // const index1: number = this.note.issue_list.findIndex(a => a.id === issue.id);\r\n // this.note.issue_list.splice(index1, 1);\r\n\r\n // const index2: number = this.issueList.findIndex(a => a.issue.id === issue.id);\r\n // this.issueList.splice(index2, 1);\r\n\r\n // console.log('deleted issue', this.note.issue_list);\r\n\r\n // }\r\n // });\r\n // }\r\n // confirmDeleteAnswer(issue: Issue): void {\r\n // issue.answer_text = '';\r\n // const request: IssueEditRequest = {\r\n // case_id: CaseHelper.getCaseIdFromNote(this.detailInfoClickWindow.type, this.note),\r\n // issue: issue,\r\n // };\r\n // this.issueService.updateObserver(this.detailInfoClickWindow.type, request).subscribe();\r\n // }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n 目前無任何爭點整理,請點擊\r\n
\r\n
\r\n
新增爭點
\r\n
\r\n
\r\n
\r\n
0\" autoscroll>\r\n
\r\n
\r\n
\r\n
\r\n
{{issue.sn+1}}
\r\n
\r\n                    
\r\n
\r\n
\r\n
\r\n
移植摘要
\r\n
\r\n \r\n \r\n
\r\n
\r\n
編輯爭點
\r\n
\r\n \r\n
\r\n
\r\n
編輯簡答
\r\n
\r\n \r\n
\r\n
\r\n
刪除爭點
\r\n
\r\n \r\n
\r\n
\r\n
向上移動
\r\n
\r\n
\r\n
\r\n
向下移動
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{issue.sn+1}}
\r\n
\r\n \r\n
\r\n
\r\n
確定
\r\n
取消
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n                    
\r\n
\r\n
\r\n
\r\n
編輯簡答
\r\n
\r\n
\r\n
\r\n
刪除簡答
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
確定
\r\n
取消
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
新增爭點
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n 確定
\r\n
取消
\r\n
\r\n
\r\n
\r\n \r\n
","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { DisplayContentBlockIssueSortOutComponent } from './display-content-block-issue-sort-out.component';\r\nimport { TextareaAutosizeModule } from 'ngx-textarea-autosize';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { PipeHighlightModule } from 'projects/lwlib/src/pipe-highlight/pipe-highlight.module';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n TextareaAutosizeModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n PipeHighlightModule,\r\n ],\r\n declarations: [DisplayContentBlockIssueSortOutComponent],\r\n exports: [DisplayContentBlockIssueSortOutComponent]\r\n})\r\nexport class DisplayContentBlockIssueSortOutModule { }\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-display-content-block-put-in',\r\n templateUrl: './display-content-block-put-in.component.html',\r\n styleUrls: ['./display-content-block-put-in.component.scss']\r\n})\r\nexport class DisplayContentBlockPutInComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n 團隊分享\r\n
\r\n
\r\n
\r\n 已置入 \r\n 0\r\n 個團隊\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
確定
\r\n
清除
\r\n
\r\n
","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { DisplayContentBlockPutInComponent } from './display-content-block-put-in.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule\r\n ],\r\n declarations: [DisplayContentBlockPutInComponent],\r\n exports: [DisplayContentBlockPutInComponent]\r\n})\r\nexport class DisplayContentBlockPutInModule { }\r\n","import { DetailInfoClickWindowOption } from '../detail-info-click-window-option';\r\n\r\nexport class DisplayContentBlockShareInfoOption {\r\n rootOption: DetailInfoClickWindowOption;\r\n\r\n share_id: string;\r\n share_click_count: number;\r\n updateNoteShare: (enable: boolean) => void;\r\n enableShareSwitch: boolean = true;\r\n}\r\n","import { Component, OnInit, ViewChild, ElementRef } from '@angular/core';\r\nimport { trigger, style, transition, animate, keyframes } from '@angular/animations';\r\nimport { DetailInfoClickWindowService } from '../detail-info-click-window.service';\r\nimport { DisplayContentBlockShareInfoOption } from './display-content-block-share-info-option';\r\nimport { AppService } from 'projects/desktop/src/app/app.service';\r\nimport { environment } from 'projects/desktop/src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-display-content-block-share-info',\r\n templateUrl: './display-content-block-share-info.component.html',\r\n styleUrls: ['./display-content-block-share-info.component.scss'],\r\n animations: [\r\n trigger('copyedTextAnimation', [\r\n transition('*=>true', animate('800ms', keyframes([\r\n style({ color: 'rgba(0,0,0, 1.0)' }),\r\n style({ color: 'rgba(0,0,0, 0.0)' })\r\n ])))\r\n ])\r\n ]\r\n})\r\nexport class DisplayContentBlockShareInfoComponent implements OnInit {\r\n // @Input() detailInfoClickWindow: DetailInfoClickWindowComponent;\r\n @ViewChild('urlElement', { static: true }) urlElement: ElementRef;\r\n\r\n get option(): DisplayContentBlockShareInfoOption { return this.detailInfoClickWindowService.option.shareInfoOption; }\r\n\r\n get share_id(): string { return this.option.share_id; }\r\n get share_click_count(): number { return this.option.share_click_count; }\r\n // note: JudgmentCase;\r\n enableShare: boolean = false;\r\n hasPermissionChangeShare: boolean = false;\r\n // _enableShare: boolean = false;\r\n // get enableShare(): boolean { return !!(this._enableShare && this.share_id); }\r\n // set enableShare(value) { this._enableShare = value; }\r\n\r\n get hasShare(): boolean { return !!(this.enableShare && this.share_id); }\r\n\r\n copyedState: boolean = false;\r\n socialTheme = null;\r\n\r\n constructor(\r\n private detailInfoClickWindowService: DetailInfoClickWindowService,\r\n public service: AppService,\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.enableShare = this.share_id !== '';\r\n // this.note = this.detailInfoClickWindow.note;\r\n // this.hasShare = this.checkShare();\r\n // this.enableShare = this.checkShare();\r\n\r\n // this.detailInfoClickWindow.onChangeNote$.subscribe(note => {\r\n // this.note = note;\r\n // this.hasShare = this.checkShare();\r\n // });\r\n\r\n // console.log(this.urlElement);\r\n }\r\n // 插件主題\r\n getSocialTheme(): string {\r\n return this.hasShare ? 'default' : 'disable';\r\n }\r\n\r\n\r\n\r\n shareChange(): void {\r\n // if (!this.hasPermissionChangeShare) {\r\n // alert('只有管理者可開關分享');\r\n // setTimeout(() => {\r\n // this.enableShare = !!this.share_id;\r\n // console.log(this.enableShare);\r\n // }, 100);\r\n // return;\r\n // }\r\n\r\n this.option.updateNoteShare(this.enableShare);\r\n }\r\n\r\n\r\n\r\n // checkShare(): boolean {\r\n // return false;\r\n // // return this.note.share_info != null;\r\n // }\r\n\r\n getLink(): string {\r\n return this.hasShare ?\r\n `${environment.production ? 'http://legalworks.com.tw' : AppService.BaseUrlWebStatic}/share/${this.share_id}` : '';\r\n }\r\n // getWatchCount(): string {\r\n // return this.checkShare() ? this.note.share_info.click_count.toLocaleString() : '0';\r\n // }\r\n copyText(text: string): void {\r\n const selBox = document.createElement('textarea');\r\n selBox.style.position = 'fixed';\r\n selBox.style.left = '0';\r\n selBox.style.top = '0';\r\n selBox.style.opacity = '0';\r\n selBox.value = text;\r\n document.body.appendChild(selBox);\r\n selBox.focus();\r\n selBox.select();\r\n document.execCommand('copy');\r\n document.body.removeChild(selBox);\r\n }\r\n selectElement(element: Element): void {\r\n const range = document.createRange();\r\n range.selectNode(element);\r\n const selection = window.getSelection();\r\n selection.removeAllRanges();\r\n selection.addRange(range);\r\n }\r\n copyLink(): void {\r\n this.copyText(this.getLink());\r\n this.selectElement(this.urlElement.nativeElement);\r\n this.copyedState = true;\r\n }\r\n resetCopy(): void {\r\n this.copyedState = false;\r\n }\r\n\r\n\r\n\r\n clickEnableShare(): void {\r\n // this.shareService.shareNoteObserver(\r\n // this.detailInfoClickWindow.type,\r\n // CaseHelper.getNoteIdFromNote(this.detailInfoClickWindow.type, this.note),\r\n // this.enableShare)\r\n // .subscribe(r => {\r\n // console.log('set share', r);\r\n\r\n // this.note.share_info = r;\r\n // this.hasShare = r != null;\r\n // });\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n
分享
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n 觀看次數:\r\n {{share_click_count}}\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { DisplayContentBlockShareInfoComponent } from './display-content-block-share-info.component';\r\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ShareButtonsModule } from 'ngx-sharebuttons/buttons';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n HttpClientModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n HttpClientModule, // (Required) for share counts\r\n ShareButtonsModule,\r\n // ShareButtonsModule\r\n // BrowserAnimationsModule,\r\n // ShareButtonsModule.forRoot()\r\n ],\r\n declarations: [DisplayContentBlockShareInfoComponent],\r\n exports: [DisplayContentBlockShareInfoComponent]\r\n})\r\nexport class DisplayContentBlockShareInfoModule { }\r\n","import { SummaryType } from '../summary-list/summary-type';\r\nimport { SummarySave } from '../summary-list/summary-save';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Summary } from '../summary-list/summary';\r\n\r\nexport class SummaryWindowOption {\r\n\r\n static textCopySubscription: Subscription;\r\n static summaryCopyOnlineSubscription: Subscription;\r\n\r\n /** 視窗標題 */\r\n title: string;\r\n\r\n // /** 連結模式 */\r\n // isLinkIssueMode: boolean;\r\n // /** 預覽模式 */\r\n // isPreviewMode: boolean;\r\n\r\n /** 案件ID */\r\n case_id: string;\r\n\r\n /** 視窗顯示中 */\r\n onWindowShow: () => void;\r\n /** 視窗顯示動畫結束 */\r\n onWindowAfterShow: () => void;\r\n /** 視窗隱藏 */\r\n onWindowHide: () => void;\r\n /** 視窗隱藏動畫結束 */\r\n onWindowAfterHide: () => void;\r\n\r\n keyword: string;\r\n summaryType: SummaryType;\r\n selectedSummaryId: string;\r\n // carryKeyword: string;\r\n // carryType: SummaryType;\r\n // carrySelectedSummaryId: string;\r\n\r\n updateSummaryList: () => void;\r\n\r\n onSummarySelected: (summary: Summary) => void;\r\n // get_summary_list: () => Observable;\r\n // setupSummary: (summarySaveList: SummarySave[]) => void;\r\n // disableBottomMenu: boolean = false;\r\n // disableTopRightMenu: boolean = false;\r\n // disableTextCopy: boolean = false;\r\n // disableTypeSelect: boolean = false;\r\n // disableTextEdit: boolean = false;\r\n // disableTagEdit: boolean = false;\r\n // disableCancelSelect: boolean = false;\r\n // disableGistEdit: boolean = false;\r\n\r\n\r\n updateSummary: (summary: Summary) => void;\r\n addSummary: (summary: Summary) => void;\r\n deleteSummary: (summary: Summary[]) => void;\r\n updateSummaryListOrder: (list: Summary[]) => void;\r\n beforeAddSummaryCheck: () => boolean;\r\n}\r\n","import { __decorate, __metadata } from 'tslib';\nimport { HostBinding, Input, HostListener, Directive, ElementRef, Renderer2, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport * as ɵngcc0 from '@angular/core';\nlet AutosizeDirective = class AutosizeDirective {\n constructor(elem, renderer) {\n this.elem = elem;\n this.renderer = renderer;\n this.overflow = 'hidden';\n this.rows = 1;\n }\n ngAfterViewInit() {\n this.resize();\n }\n ngDoCheck() {\n this.resize();\n }\n resize() {\n const textarea = this.elem.nativeElement;\n // Calculate border height which is not included in scrollHeight\n const borderHeight = textarea.offsetHeight - textarea.clientHeight;\n // Reset textarea height to auto that correctly calculate the new height\n this.setHeight('auto');\n // Set new height\n this.setHeight(`${textarea.scrollHeight + borderHeight}px`);\n }\n setHeight(value) {\n this.renderer.setStyle(this.elem.nativeElement, 'height', value);\n }\n};\nAutosizeDirective.ɵfac = function AutosizeDirective_Factory(t) { return new (t || AutosizeDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.Renderer2)); };\nAutosizeDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: AutosizeDirective, selectors: [[\"textarea\", \"autosize\", \"\"]], hostVars: 3, hostBindings: function AutosizeDirective_HostBindings(rf, ctx) { if (rf & 1) {\n ɵngcc0.ɵɵlistener(\"input\", function AutosizeDirective_input_HostBindingHandler() { return ctx.resize(); });\n } if (rf & 2) {\n ɵngcc0.ɵɵhostProperty(\"rows\", ctx.rows);\n ɵngcc0.ɵɵstyleProp(\"overflow\", ctx.overflow);\n } }, inputs: { rows: \"rows\" } });\n__decorate([\n HostBinding('style.overflow'),\n __metadata(\"design:type\", Object)\n], AutosizeDirective.prototype, \"overflow\", void 0);\n__decorate([\n Input(),\n HostBinding('rows'),\n __metadata(\"design:type\", Object)\n], AutosizeDirective.prototype, \"rows\", void 0);\n__decorate([\n HostListener('input'),\n __metadata(\"design:type\", Function),\n __metadata(\"design:paramtypes\", []),\n __metadata(\"design:returntype\", void 0)\n], AutosizeDirective.prototype, \"resize\", null);\nAutosizeDirective = __decorate([ __metadata(\"design:paramtypes\", [ElementRef, Renderer2])\n], AutosizeDirective);\n\nlet TextareaAutosizeModule = class TextareaAutosizeModule {\n};\nTextareaAutosizeModule.ɵfac = function TextareaAutosizeModule_Factory(t) { return new (t || TextareaAutosizeModule)(); };\nTextareaAutosizeModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: TextareaAutosizeModule });\nTextareaAutosizeModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [[CommonModule]] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(AutosizeDirective, [{\n type: Directive,\n args: [{\n selector: 'textarea[autosize]'\n }]\n }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc0.Renderer2 }]; }, { overflow: [{\n type: HostBinding,\n args: ['style.overflow']\n }], rows: [{\n type: Input\n }, {\n type: HostBinding,\n args: ['rows']\n }], resize: [{\n type: HostListener,\n args: ['input']\n }] }); })();\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TextareaAutosizeModule, [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [AutosizeDirective],\n exports: [AutosizeDirective]\n }]\n }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(TextareaAutosizeModule, { declarations: function () { return [AutosizeDirective]; }, imports: function () { return [CommonModule]; }, exports: function () { return [AutosizeDirective]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TextareaAutosizeModule, AutosizeDirective as ɵa };\n\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n"],"names":["map","CaseType","Issue","Serializable","IssueService","constructor","service","Judgment","add","request","addJudgmentObserver","update","updateJudgmentObserver","order","orderJudgmentObserver","delete","deleteJudgmentObserver","JudicialInterpret","addJudicialInterpretObserver","updateJudicialInterpretObserver","orderJudicialInterpretObserver","deleteJudicialInterpretObserver","LawRule","Indictment","addIndictmentObserver","updateIndictmentObserver","orderIndictmentObserver","deleteIndictmentObserver","addObserver","type","typeTable","updateObserver","orderObserver","deleteObserver","getJudgmentIssueListObserver","note_id","team_id","url","get","pipe","list","s","extendObjectFromResponseObject","post","linkSummaryJudgmentObserver","blukJudgmentObserver","getJudicialInterpretIssueListObserver","linkSummaryJudicialInterpretObserver","blukJudicialInterpretObserver","getIndictmentIssueListObserver","linkSummaryIndictmentObserver","blukIndictmentObserver","i0","factory","providedIn","ShareRequest","CaseTagPopupComponent","CaseTagPopupOpenerService","componentFactoryResolver","injector","appRef","popupManagerService","buildPopup","component","resolveComponentFactory","create","instance","componentRef","location","nativeElement","setAttribute","document","body","appendChild","attachView","hostView","openPopup","caseTagList","onAfterContentInit$","subscribe","initPopup","open","DetailInfoClickWindowTabId","DetailInfoClickWindowOption","tab_id_text","tab_id","DetailInfoClickWindowTab","id","name","detailInfoClickWindowService","Subject","getClickEventPath","ctx_r7","ctx_r9","ctx_r11","DetailInfoClickWindowComponent","elementRef","element","tabs","selectedTab","left","translateX","showWindow","windowShowed","enableShadow","checkSummaryWindowShow","ngOnInit","selectTab","tabId","tab","onChangeTabBefore$","next","hideClickWindow","cancelFixWindow","onClickCloseWindow","hideWindow","closeLast","ev","keyCode","option","issueSortOutOption","summaryWindowService","checkClickPathTarget","path","some","a","hasAttribute","classList","contains","checkClickWindowCloseOrNot","setTimeout","optionUpdated","windowShowing","showInfo","console","log","reset","selectors","hostBindings","ctx","CommonModule","DisplayContentBlockBasicInfoModule","DisplayContentBlockPutInModule","DisplayContentBlockShareInfoModule","DisplayContentBlockIssueSortOutModule","DetailInfoClickWindowModule","declarations","imports","exports","Observable","DetailInfoClickWindowService","None","BasicInfo","IssueSortOut","ShareInfo","PutIn","_option","onTabChange","showWindowObserver","onWindowShow","onWindowAfterShow","complete","unsubscribe","hideWindowObserver","onWindowHide","onWindowAfterHide","DisplayContentBlockBasicInfoOption","edit_date","get_edit_date","summaryTypeItemList","get_summaryTypeItemList","case_tag_list","get_case_tag_list","comment","get_comment","NoteSummaryListType","BookmarkType","SummaryTypeId","SearcherKeywordKind","ctx_r6","ctx_r8","ctx_r12","DisplayContentBlockBasicInfoComponent","appCommonService","commentPopupService","commentPopupOpenerService","caseTagPopupOpenerService","basicInfoOption","filter","rootOption","filterCondition","note_reason","reason","note_edit_date","note_summary_type_item_list","note_case_tag_list","note_comment","convertTimeText","tick","isNaN","convertTimeTickToPastTimeText1","convertSummaryItemToClass","item","list_type","Bookmark","convertText_CamelCaseToLowerDash","toString","item_type","openCaseTagPopup","editCaseTag","openCommentPopup","editComment","openSummaryPreviewWindow","summaryTypeItem","decls","vars","consts","template","PipeHighlightModule","CommentPopupModule","CaseTagPopupModule","DisplayContentBlockIssueSortOutOption","issue_list","get_issue_list","DeleteConfirmPopupType","trigger","state","style","transition","animate","keyframes","ctx_r4","ctx_r19","ctx_r22","ctx_r25","ctx_r28","ctx_r31","ctx_r34","ctx_r38","ctx_r42","ctx_r46","ctx_r49","ctx_r53","ctx_r56","ctx_r58","ctx_r66","ctx_r69","ctx_r72","ctx_r75","ctx_r79","ctx_r82","ctx_r84","ctx_r88","ctx_r92","ctx_r95","ctx_r97","ctx_r98","ctx_r99","ctx_r101","DisplayContentBlockIssueSortOutComponent","issueService","deleteConfirmPopupOpenerService","linkingIssue","disableMoveButton","disableMoveOption","ngOnDestroy","forEach","v","disableEditIssue","disableEditAnswer","enableAddIssue","newIssue","sn","length","issue_text","answer_text","is_new_issue","editing_issue","editing_answer","edit_issue_text","edit_answer_text","focusIssueInput","disableAddIssue","disableAddConfirmButton","confirmAddIssue","IsGuest","openPopupBlockGuestFunction","addIssue","selectIssue","issue","editIssue","editAnswer","focusAnswerInput","confirmEditIssue","confirmEditAnswer","disableConfirmEditIssue","disableConfirmEditAnswer","deleteIssue","confirm","closePopup","onDestroy","deleteAnswer","IssueAnswer","openSummaryWindow","showSummaryWindow","removeSummaryLink","link_summary_id","summaryWindowOption","enableLinkConfirmButton","updateSummaryList","linkSummary","disableLinkConfirmButton","disableLinkIssue","cancelLink","confirmLinkIssue","confirmLink","canMoveUp","canMoveDown","moveUp","moveUpIssue","moveDown","moveDownIssue","playHighlight","find","highlightState","resetIssueHighlightState","updateIssueInputText","inputElement","textContent","updateAnswerInputText","portingSummary","viewQuery","backgroundColor","TextareaAutosizeModule","FormsModule","ReactiveFormsModule","DisplayContentBlockPutInComponent","DisplayContentBlockShareInfoOption","AppService","environment","DisplayContentBlockShareInfoComponent","shareInfoOption","share_id","share_click_count","hasShare","enableShare","getSocialTheme","shareChange","updateNoteShare","getLink","production","BaseUrlWebStatic","copyText","text","selBox","createElement","position","top","opacity","value","focus","select","execCommand","removeChild","selectElement","range","createRange","selectNode","selection","window","getSelection","removeAllRanges","addRange","copyLink","urlElement","copyedState","resetCopy","clickEnableShare","color","HttpClientModule","ShareButtonsModule","SummaryWindowOption","__decorate","__metadata","HostBinding","Input","HostListener","Directive","ElementRef","Renderer2","NgModule","ɵngcc0","AutosizeDirective","elem","renderer","overflow","rows","ngAfterViewInit","resize","ngDoCheck","textarea","borderHeight","offsetHeight","clientHeight","setHeight","scrollHeight","setStyle","ɵfac","AutosizeDirective_Factory","t","ɵɵdirectiveInject","ɵdir","ɵɵdefineDirective","hostVars","AutosizeDirective_HostBindings","rf","ɵɵlistener","AutosizeDirective_input_HostBindingHandler","ɵɵhostProperty","ɵɵstyleProp","inputs","Object","prototype","Function","TextareaAutosizeModule_Factory","ɵmod","ɵɵdefineNgModule","ɵinj","ɵɵdefineInjector","ngDevMode","ngJitMode","ɵɵsetNgModuleScope","ɵa"],"sourceRoot":"webpack:///"}