65dc17d4eaa1ab29842e62441ec5176de2913e9495de3a50a352e14e7360d567.json 17 KB

1
  1. {"nodes": [{"id": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "label": "contract-html-to-docx.ts", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L1"}, {"id": "crm_contract_html_to_docx_htmltodocxfn", "label": "HtmlToDocxFn", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L7"}, {"id": "crm_contract_html_to_docx_ensuredocxnodeglobals", "label": "ensureDocxNodeGlobals()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L18"}, {"id": "crm_contract_html_to_docx_loadhtmltodocx", "label": "loadHtmlToDocx()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L34"}, {"id": "crm_contract_html_to_docx_arraybuffertobase64", "label": "arrayBufferToBase64()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L45"}, {"id": "crm_contract_html_to_docx_urltodataurl", "label": "urlToDataUrl()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L55"}, {"id": "crm_contract_html_to_docx_inlineremoteimagesasdataurls", "label": "inlineRemoteImagesAsDataUrls()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L71"}, {"id": "crm_contract_html_to_docx_generatecontractdocxblob", "label": "generateContractDocxBlob()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L102"}, {"id": "crm_contract_html_to_docx_parsecontractsuppliercode", "label": "parseContractSupplierCode()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L126"}, {"id": "crm_contract_html_to_docx_stripcontractlogohtml", "label": "stripContractLogoHtml()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L132"}, {"id": "crm_contract_html_to_docx_toabsoluteasseturls", "label": "toAbsoluteAssetUrls()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L143"}, {"id": "crm_contract_html_to_docx_injectsxwatermarkhtml", "label": "injectSxWatermarkHtml()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L150"}, {"id": "crm_contract_html_to_docx_preparecontracthtmlfordocx", "label": "prepareContractHtmlForDocx()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L157"}, {"id": "crm_contract_html_to_docx_buildcontractdocxfilename", "label": "buildContractDocxFileName()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L180"}], "edges": [{"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "buffer", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L3", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "crm_contract_html_to_docx_htmltodocxfn", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L7", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "crm_contract_html_to_docx_ensuredocxnodeglobals", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L18", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "crm_contract_html_to_docx_loadhtmltodocx", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L34", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "crm_contract_html_to_docx_arraybuffertobase64", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L45", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "crm_contract_html_to_docx_urltodataurl", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L55", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "crm_contract_html_to_docx_inlineremoteimagesasdataurls", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L71", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "crm_contract_html_to_docx_generatecontractdocxblob", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L102", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "crm_contract_html_to_docx_parsecontractsuppliercode", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L126", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "crm_contract_html_to_docx_stripcontractlogohtml", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L132", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "crm_contract_html_to_docx_toabsoluteasseturls", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L143", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "crm_contract_html_to_docx_injectsxwatermarkhtml", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L150", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "crm_contract_html_to_docx_preparecontracthtmlfordocx", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L157", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_web_admin_src_utils_crm_contract_html_to_docx_ts", "target": "crm_contract_html_to_docx_buildcontractdocxfilename", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L180", "weight": 1.0}, {"source": "crm_contract_html_to_docx_loadhtmltodocx", "target": "crm_contract_html_to_docx_ensuredocxnodeglobals", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L35", "weight": 1.0}, {"source": "crm_contract_html_to_docx_loadhtmltodocx", "target": "html_to_docx", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L37", "weight": 1.0}, {"source": "crm_contract_html_to_docx_urltodataurl", "target": "crm_contract_html_to_docx_arraybuffertobase64", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L62", "weight": 1.0}, {"source": "crm_contract_html_to_docx_generatecontractdocxblob", "target": "crm_contract_html_to_docx_ensuredocxnodeglobals", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L106", "weight": 1.0}, {"source": "crm_contract_html_to_docx_generatecontractdocxblob", "target": "crm_contract_html_to_docx_loadhtmltodocx", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L107", "weight": 1.0}, {"source": "crm_contract_html_to_docx_generatecontractdocxblob", "target": "crm_contract_html_to_docx_inlineremoteimagesasdataurls", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L108", "weight": 1.0}, {"source": "crm_contract_html_to_docx_preparecontracthtmlfordocx", "target": "crm_contract_html_to_docx_parsecontractsuppliercode", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L163", "weight": 1.0}, {"source": "crm_contract_html_to_docx_preparecontracthtmlfordocx", "target": "crm_contract_html_to_docx_stripcontractlogohtml", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L168", "weight": 1.0}, {"source": "crm_contract_html_to_docx_preparecontracthtmlfordocx", "target": "crm_contract_html_to_docx_toabsoluteasseturls", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L171", "weight": 1.0}, {"source": "crm_contract_html_to_docx_preparecontracthtmlfordocx", "target": "crm_contract_html_to_docx_injectsxwatermarkhtml", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L174", "weight": 1.0}], "raw_calls": [{"caller_nid": "crm_contract_html_to_docx_arraybuffertobase64", "callee": "fromCharCode", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L50"}, {"caller_nid": "crm_contract_html_to_docx_arraybuffertobase64", "callee": "subarray", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L50"}, {"caller_nid": "crm_contract_html_to_docx_arraybuffertobase64", "callee": "btoa", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L52"}, {"caller_nid": "crm_contract_html_to_docx_urltodataurl", "callee": "fetch", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L57"}, {"caller_nid": "crm_contract_html_to_docx_urltodataurl", "callee": "blob", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L59"}, {"caller_nid": "crm_contract_html_to_docx_urltodataurl", "callee": "arrayBuffer", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L60"}, {"caller_nid": "crm_contract_html_to_docx_inlineremoteimagesasdataurls", "callee": "exec", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L75"}, {"caller_nid": "crm_contract_html_to_docx_inlineremoteimagesasdataurls", "callee": "startsWith", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L77"}, {"caller_nid": "crm_contract_html_to_docx_inlineremoteimagesasdataurls", "callee": "add", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L77"}, {"caller_nid": "crm_contract_html_to_docx_inlineremoteimagesasdataurls", "callee": "all", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L83"}, {"caller_nid": "crm_contract_html_to_docx_inlineremoteimagesasdataurls", "callee": "map", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L84"}, {"caller_nid": "crm_contract_html_to_docx_inlineremoteimagesasdataurls", "callee": "replace", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L92"}, {"caller_nid": "crm_contract_html_to_docx_generatecontractdocxblob", "callee": "HTMLtoDOCX", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L111"}, {"caller_nid": "crm_contract_html_to_docx_parsecontractsuppliercode", "callee": "match", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L128"}, {"caller_nid": "crm_contract_html_to_docx_parsecontractsuppliercode", "callee": "String", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L128"}, {"caller_nid": "crm_contract_html_to_docx_stripcontractlogohtml", "callee": "replace", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L133"}, {"caller_nid": "crm_contract_html_to_docx_stripcontractlogohtml", "callee": "replace", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L139"}, {"caller_nid": "crm_contract_html_to_docx_toabsoluteasseturls", "callee": "replace", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L144"}, {"caller_nid": "crm_contract_html_to_docx_toabsoluteasseturls", "callee": "replace", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L145"}, {"caller_nid": "crm_contract_html_to_docx_preparecontracthtmlfordocx", "callee": "replace", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L162"}, {"caller_nid": "crm_contract_html_to_docx_buildcontractdocxfilename", "callee": "trim", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L184"}, {"caller_nid": "crm_contract_html_to_docx_buildcontractdocxfilename", "callee": "String", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L184"}, {"caller_nid": "crm_contract_html_to_docx_buildcontractdocxfilename", "callee": "trim", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L184"}, {"caller_nid": "crm_contract_html_to_docx_buildcontractdocxfilename", "callee": "String", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L184"}, {"caller_nid": "crm_contract_html_to_docx_buildcontractdocxfilename", "callee": "replace", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/web-admin/src/utils/crm/contract-html-to-docx.ts", "source_location": "L185"}]}