diff --git a/main.mjs b/main.mjs deleted file mode 100644 index 51bfcbcdd..000000000 --- a/main.mjs +++ /dev/null @@ -1,109 +0,0 @@ -const data = { - uid: '3jiixjqak8v', - collection: 'records', - measures: [ - { - field: ['items', 'count'], - aggregation: 'sum', - alias: 'items.count', - }, - ], - dimensions: [ - { - field: ['items', 'product_id'], - }, - { - field: ['movement'], - }, - ], - filter: { - $and: [ - { - date: { - $dateBetween: [new Date('2024-02-29T16:00:00.000Z'), new Date('2024-03-31T15:59:59.999Z')], - }, - }, - ], - }, - orders: [], -}; -// const result = await fetch("https://shcx.daoyoucloud.com/api/charts:query", { -// "headers": { -// "accept": "application/json, text/plain, */*", -// "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6", -// "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjQsImlhdCI6MTcxMDMxNDA2MywiZXhwIjoxNzEwOTE4ODYzfQ.aLc66wn-egDk_VOoackTph0kghLAquqp-Hdr1qN9gdU", -// "content-type": "application/json", -// "sec-ch-ua": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Microsoft Edge\";v=\"122\"", -// "sec-ch-ua-mobile": "?0", -// "sec-ch-ua-platform": "\"macOS\"", -// "sec-fetch-dest": "empty", -// "sec-fetch-mode": "cors", -// "sec-fetch-site": "same-origin", -// "x-authenticator": "basic", -// "x-hostname": "shcx.daoyoucloud.com", -// "x-locale": "zh-CN", -// "x-role": "admin", -// "x-timezone": "+08:00", -// "x-with-acl-meta": "true", -// "Referer": "https://shcx.daoyoucloud.com/admin/sujj53fixe7?", -// "Referrer-Policy": "strict-origin-when-cross-origin" -// }, -// "body": JSON.stringify(data), -// "method": "POST" -// }); - -// { -// "uid": "9bismho25ro", -// "collection": "view_record_items", -// "measures": Array[5], -// "dimensions": Array[3], -// "filter": { -// "$and": [ -// { -// "$and": [ -// { -// "record": { -// "date": { -// "$dateBetween": [ -// "2024-02-29T16:00:00.000Z", -// "2024-03-31T15:59:59.999Z" -// ] -// } -// } -// } -// ] -// } -// ] -// }, -// "orders": [ - -// ] -// } - -const result = await fetch('http://127.0.0.1:15000/api/charts:query', { - headers: { - accept: 'application/json, text/plain, */*', - 'accept-language': 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6', - authorization: - 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjQsImlhdCI6MTcxMDQyNDM2NywiZXhwIjoxNzExMDI5MTY3fQ.6XqA8aTAHwkr9UDRjPgQey2c3_pwxfJZJ8gdDn4NxJc', - 'content-type': 'application/json', - 'sec-ch-ua': '"Chromium";v="122", "Not(A:Brand";v="24", "Microsoft Edge";v="122"', - 'sec-ch-ua-mobile': '?0', - 'sec-ch-ua-platform': '"macOS"', - 'sec-fetch-dest': 'empty', - 'sec-fetch-mode': 'cors', - 'sec-fetch-site': 'same-origin', - 'x-authenticator': 'basic', - 'x-hostname': '127.0.0.1', - 'x-locale': 'zh-CN', - 'x-role': 'root', - 'x-timezone': '+08:00', - 'x-with-acl-meta': 'true', - Referer: 'http://127.0.0.1:15000/admin/dihuq9gj0cl', - 'Referrer-Policy': 'strict-origin-when-cross-origin', - }, - body: JSON.stringify(data), - method: 'POST', -}); - -console.log(await result.json()); diff --git a/packages/core/app/client/public/cmaps/78-EUC-H.bcmap b/packages/core/app/client/public/cmaps/78-EUC-H.bcmap new file mode 100644 index 000000000..2655fc70a Binary files /dev/null and b/packages/core/app/client/public/cmaps/78-EUC-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/78-EUC-V.bcmap b/packages/core/app/client/public/cmaps/78-EUC-V.bcmap new file mode 100644 index 000000000..f1ed85382 Binary files /dev/null and b/packages/core/app/client/public/cmaps/78-EUC-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/78-H.bcmap b/packages/core/app/client/public/cmaps/78-H.bcmap new file mode 100644 index 000000000..39e89d333 Binary files /dev/null and b/packages/core/app/client/public/cmaps/78-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/78-RKSJ-H.bcmap b/packages/core/app/client/public/cmaps/78-RKSJ-H.bcmap new file mode 100644 index 000000000..e4167cb51 Binary files /dev/null and b/packages/core/app/client/public/cmaps/78-RKSJ-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/78-RKSJ-V.bcmap b/packages/core/app/client/public/cmaps/78-RKSJ-V.bcmap new file mode 100644 index 000000000..50b1646e9 Binary files /dev/null and b/packages/core/app/client/public/cmaps/78-RKSJ-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/78-V.bcmap b/packages/core/app/client/public/cmaps/78-V.bcmap new file mode 100644 index 000000000..d7af99b5e Binary files /dev/null and b/packages/core/app/client/public/cmaps/78-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/78ms-RKSJ-H.bcmap b/packages/core/app/client/public/cmaps/78ms-RKSJ-H.bcmap new file mode 100644 index 000000000..37077d01e Binary files /dev/null and b/packages/core/app/client/public/cmaps/78ms-RKSJ-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/78ms-RKSJ-V.bcmap b/packages/core/app/client/public/cmaps/78ms-RKSJ-V.bcmap new file mode 100644 index 000000000..acf23231a Binary files /dev/null and b/packages/core/app/client/public/cmaps/78ms-RKSJ-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/83pv-RKSJ-H.bcmap b/packages/core/app/client/public/cmaps/83pv-RKSJ-H.bcmap new file mode 100644 index 000000000..2359bc529 Binary files /dev/null and b/packages/core/app/client/public/cmaps/83pv-RKSJ-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/90ms-RKSJ-H.bcmap b/packages/core/app/client/public/cmaps/90ms-RKSJ-H.bcmap new file mode 100644 index 000000000..af8293829 Binary files /dev/null and b/packages/core/app/client/public/cmaps/90ms-RKSJ-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/90ms-RKSJ-V.bcmap b/packages/core/app/client/public/cmaps/90ms-RKSJ-V.bcmap new file mode 100644 index 000000000..780549de1 Binary files /dev/null and b/packages/core/app/client/public/cmaps/90ms-RKSJ-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/90msp-RKSJ-H.bcmap b/packages/core/app/client/public/cmaps/90msp-RKSJ-H.bcmap new file mode 100644 index 000000000..bfd3119c6 Binary files /dev/null and b/packages/core/app/client/public/cmaps/90msp-RKSJ-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/90msp-RKSJ-V.bcmap b/packages/core/app/client/public/cmaps/90msp-RKSJ-V.bcmap new file mode 100644 index 000000000..25ef14ab4 Binary files /dev/null and b/packages/core/app/client/public/cmaps/90msp-RKSJ-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/90pv-RKSJ-H.bcmap b/packages/core/app/client/public/cmaps/90pv-RKSJ-H.bcmap new file mode 100644 index 000000000..02f713bb8 Binary files /dev/null and b/packages/core/app/client/public/cmaps/90pv-RKSJ-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/90pv-RKSJ-V.bcmap b/packages/core/app/client/public/cmaps/90pv-RKSJ-V.bcmap new file mode 100644 index 000000000..d08e0cc5d Binary files /dev/null and b/packages/core/app/client/public/cmaps/90pv-RKSJ-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Add-H.bcmap b/packages/core/app/client/public/cmaps/Add-H.bcmap new file mode 100644 index 000000000..59442acaf Binary files /dev/null and b/packages/core/app/client/public/cmaps/Add-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Add-RKSJ-H.bcmap b/packages/core/app/client/public/cmaps/Add-RKSJ-H.bcmap new file mode 100644 index 000000000..a3065e441 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Add-RKSJ-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Add-RKSJ-V.bcmap b/packages/core/app/client/public/cmaps/Add-RKSJ-V.bcmap new file mode 100644 index 000000000..040014cfc Binary files /dev/null and b/packages/core/app/client/public/cmaps/Add-RKSJ-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Add-V.bcmap b/packages/core/app/client/public/cmaps/Add-V.bcmap new file mode 100644 index 000000000..2f816d320 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Add-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-CNS1-0.bcmap b/packages/core/app/client/public/cmaps/Adobe-CNS1-0.bcmap new file mode 100644 index 000000000..88ec04af4 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-CNS1-0.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-CNS1-1.bcmap b/packages/core/app/client/public/cmaps/Adobe-CNS1-1.bcmap new file mode 100644 index 000000000..03a501477 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-CNS1-1.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-CNS1-2.bcmap b/packages/core/app/client/public/cmaps/Adobe-CNS1-2.bcmap new file mode 100644 index 000000000..2aa95141f Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-CNS1-2.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-CNS1-3.bcmap b/packages/core/app/client/public/cmaps/Adobe-CNS1-3.bcmap new file mode 100644 index 000000000..86d8b8c79 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-CNS1-3.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-CNS1-4.bcmap b/packages/core/app/client/public/cmaps/Adobe-CNS1-4.bcmap new file mode 100644 index 000000000..f50fc6c14 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-CNS1-4.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-CNS1-5.bcmap b/packages/core/app/client/public/cmaps/Adobe-CNS1-5.bcmap new file mode 100644 index 000000000..6caf4a831 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-CNS1-5.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-CNS1-6.bcmap b/packages/core/app/client/public/cmaps/Adobe-CNS1-6.bcmap new file mode 100644 index 000000000..b77fb0705 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-CNS1-6.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-CNS1-UCS2.bcmap b/packages/core/app/client/public/cmaps/Adobe-CNS1-UCS2.bcmap new file mode 100644 index 000000000..69d79a2c2 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-CNS1-UCS2.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-GB1-0.bcmap b/packages/core/app/client/public/cmaps/Adobe-GB1-0.bcmap new file mode 100644 index 000000000..36101083f Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-GB1-0.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-GB1-1.bcmap b/packages/core/app/client/public/cmaps/Adobe-GB1-1.bcmap new file mode 100644 index 000000000..707bb1065 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-GB1-1.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-GB1-2.bcmap b/packages/core/app/client/public/cmaps/Adobe-GB1-2.bcmap new file mode 100644 index 000000000..f7648cc3f Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-GB1-2.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-GB1-3.bcmap b/packages/core/app/client/public/cmaps/Adobe-GB1-3.bcmap new file mode 100644 index 000000000..852145890 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-GB1-3.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-GB1-4.bcmap b/packages/core/app/client/public/cmaps/Adobe-GB1-4.bcmap new file mode 100644 index 000000000..e40c63ab1 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-GB1-4.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-GB1-5.bcmap b/packages/core/app/client/public/cmaps/Adobe-GB1-5.bcmap new file mode 100644 index 000000000..d7623b500 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-GB1-5.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-GB1-UCS2.bcmap b/packages/core/app/client/public/cmaps/Adobe-GB1-UCS2.bcmap new file mode 100644 index 000000000..758652593 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-GB1-UCS2.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-Japan1-0.bcmap b/packages/core/app/client/public/cmaps/Adobe-Japan1-0.bcmap new file mode 100644 index 000000000..f0e94ec19 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-Japan1-0.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-Japan1-1.bcmap b/packages/core/app/client/public/cmaps/Adobe-Japan1-1.bcmap new file mode 100644 index 000000000..dad42c5ad Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-Japan1-1.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-Japan1-2.bcmap b/packages/core/app/client/public/cmaps/Adobe-Japan1-2.bcmap new file mode 100644 index 000000000..090819a06 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-Japan1-2.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-Japan1-3.bcmap b/packages/core/app/client/public/cmaps/Adobe-Japan1-3.bcmap new file mode 100644 index 000000000..087dfc155 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-Japan1-3.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-Japan1-4.bcmap b/packages/core/app/client/public/cmaps/Adobe-Japan1-4.bcmap new file mode 100644 index 000000000..46aa9bffe Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-Japan1-4.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-Japan1-5.bcmap b/packages/core/app/client/public/cmaps/Adobe-Japan1-5.bcmap new file mode 100644 index 000000000..5b4b65cc6 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-Japan1-5.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-Japan1-6.bcmap b/packages/core/app/client/public/cmaps/Adobe-Japan1-6.bcmap new file mode 100644 index 000000000..e77d699ab Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-Japan1-6.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-Japan1-UCS2.bcmap b/packages/core/app/client/public/cmaps/Adobe-Japan1-UCS2.bcmap new file mode 100644 index 000000000..128a14107 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-Japan1-UCS2.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-Korea1-0.bcmap b/packages/core/app/client/public/cmaps/Adobe-Korea1-0.bcmap new file mode 100644 index 000000000..cef1a9985 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-Korea1-0.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-Korea1-1.bcmap b/packages/core/app/client/public/cmaps/Adobe-Korea1-1.bcmap new file mode 100644 index 000000000..11ffa36df Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-Korea1-1.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-Korea1-2.bcmap b/packages/core/app/client/public/cmaps/Adobe-Korea1-2.bcmap new file mode 100644 index 000000000..3172308c7 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-Korea1-2.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Adobe-Korea1-UCS2.bcmap b/packages/core/app/client/public/cmaps/Adobe-Korea1-UCS2.bcmap new file mode 100644 index 000000000..f3371c0cb Binary files /dev/null and b/packages/core/app/client/public/cmaps/Adobe-Korea1-UCS2.bcmap differ diff --git a/packages/core/app/client/public/cmaps/B5-H.bcmap b/packages/core/app/client/public/cmaps/B5-H.bcmap new file mode 100644 index 000000000..beb4d2281 Binary files /dev/null and b/packages/core/app/client/public/cmaps/B5-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/B5-V.bcmap b/packages/core/app/client/public/cmaps/B5-V.bcmap new file mode 100644 index 000000000..2d4f87d50 Binary files /dev/null and b/packages/core/app/client/public/cmaps/B5-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/B5pc-H.bcmap b/packages/core/app/client/public/cmaps/B5pc-H.bcmap new file mode 100644 index 000000000..ce0013167 Binary files /dev/null and b/packages/core/app/client/public/cmaps/B5pc-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/B5pc-V.bcmap b/packages/core/app/client/public/cmaps/B5pc-V.bcmap new file mode 100644 index 000000000..73b99ff2f Binary files /dev/null and b/packages/core/app/client/public/cmaps/B5pc-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/CNS-EUC-H.bcmap b/packages/core/app/client/public/cmaps/CNS-EUC-H.bcmap new file mode 100644 index 000000000..61d1d0cb0 Binary files /dev/null and b/packages/core/app/client/public/cmaps/CNS-EUC-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/CNS-EUC-V.bcmap b/packages/core/app/client/public/cmaps/CNS-EUC-V.bcmap new file mode 100644 index 000000000..1a393a51e Binary files /dev/null and b/packages/core/app/client/public/cmaps/CNS-EUC-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/CNS1-H.bcmap b/packages/core/app/client/public/cmaps/CNS1-H.bcmap new file mode 100644 index 000000000..f738e218a Binary files /dev/null and b/packages/core/app/client/public/cmaps/CNS1-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/CNS1-V.bcmap b/packages/core/app/client/public/cmaps/CNS1-V.bcmap new file mode 100644 index 000000000..9c3169f0d Binary files /dev/null and b/packages/core/app/client/public/cmaps/CNS1-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/CNS2-H.bcmap b/packages/core/app/client/public/cmaps/CNS2-H.bcmap new file mode 100644 index 000000000..c89b3527f Binary files /dev/null and b/packages/core/app/client/public/cmaps/CNS2-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/CNS2-V.bcmap b/packages/core/app/client/public/cmaps/CNS2-V.bcmap new file mode 100644 index 000000000..7588cec83 --- /dev/null +++ b/packages/core/app/client/public/cmaps/CNS2-V.bcmap @@ -0,0 +1,3 @@ +àRCopyright 1990-2009 Adobe Systems Incorporated. +All rights reserved. +See ./LICENSEáCNS2-H \ No newline at end of file diff --git a/packages/core/app/client/public/cmaps/ETHK-B5-H.bcmap b/packages/core/app/client/public/cmaps/ETHK-B5-H.bcmap new file mode 100644 index 000000000..cb29415de Binary files /dev/null and b/packages/core/app/client/public/cmaps/ETHK-B5-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/ETHK-B5-V.bcmap b/packages/core/app/client/public/cmaps/ETHK-B5-V.bcmap new file mode 100644 index 000000000..f09aec631 Binary files /dev/null and b/packages/core/app/client/public/cmaps/ETHK-B5-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/ETen-B5-H.bcmap b/packages/core/app/client/public/cmaps/ETen-B5-H.bcmap new file mode 100644 index 000000000..c2d77462d Binary files /dev/null and b/packages/core/app/client/public/cmaps/ETen-B5-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/ETen-B5-V.bcmap b/packages/core/app/client/public/cmaps/ETen-B5-V.bcmap new file mode 100644 index 000000000..89bff159e Binary files /dev/null and b/packages/core/app/client/public/cmaps/ETen-B5-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/ETenms-B5-H.bcmap b/packages/core/app/client/public/cmaps/ETenms-B5-H.bcmap new file mode 100644 index 000000000..a7d69db5e --- /dev/null +++ b/packages/core/app/client/public/cmaps/ETenms-B5-H.bcmap @@ -0,0 +1,3 @@ +àRCopyright 1990-2009 Adobe Systems Incorporated. +All rights reserved. +See ./LICENSEá ETen-B5-H` ^ \ No newline at end of file diff --git a/packages/core/app/client/public/cmaps/ETenms-B5-V.bcmap b/packages/core/app/client/public/cmaps/ETenms-B5-V.bcmap new file mode 100644 index 000000000..adc5d618d Binary files /dev/null and b/packages/core/app/client/public/cmaps/ETenms-B5-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/EUC-H.bcmap b/packages/core/app/client/public/cmaps/EUC-H.bcmap new file mode 100644 index 000000000..e92ea5b3b Binary files /dev/null and b/packages/core/app/client/public/cmaps/EUC-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/EUC-V.bcmap b/packages/core/app/client/public/cmaps/EUC-V.bcmap new file mode 100644 index 000000000..7a7c18322 Binary files /dev/null and b/packages/core/app/client/public/cmaps/EUC-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Ext-H.bcmap b/packages/core/app/client/public/cmaps/Ext-H.bcmap new file mode 100644 index 000000000..3b5cde44d Binary files /dev/null and b/packages/core/app/client/public/cmaps/Ext-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Ext-RKSJ-H.bcmap b/packages/core/app/client/public/cmaps/Ext-RKSJ-H.bcmap new file mode 100644 index 000000000..ea4d2d97b Binary files /dev/null and b/packages/core/app/client/public/cmaps/Ext-RKSJ-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Ext-RKSJ-V.bcmap b/packages/core/app/client/public/cmaps/Ext-RKSJ-V.bcmap new file mode 100644 index 000000000..3457c2770 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Ext-RKSJ-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Ext-V.bcmap b/packages/core/app/client/public/cmaps/Ext-V.bcmap new file mode 100644 index 000000000..4999ca404 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Ext-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GB-EUC-H.bcmap b/packages/core/app/client/public/cmaps/GB-EUC-H.bcmap new file mode 100644 index 000000000..e39908b98 Binary files /dev/null and b/packages/core/app/client/public/cmaps/GB-EUC-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GB-EUC-V.bcmap b/packages/core/app/client/public/cmaps/GB-EUC-V.bcmap new file mode 100644 index 000000000..d5be5446a Binary files /dev/null and b/packages/core/app/client/public/cmaps/GB-EUC-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GB-H.bcmap b/packages/core/app/client/public/cmaps/GB-H.bcmap new file mode 100644 index 000000000..39189c54e --- /dev/null +++ b/packages/core/app/client/public/cmaps/GB-H.bcmap @@ -0,0 +1,4 @@ +àRCopyright 1990-2009 Adobe Systems Incorporated. +All rights reserved. +See ./LICENSE!!º]aX!!]`21> pz$]‚"R‚d-Uƒ7*„ 4„%+ „Z „{/…%…<9K…b1]†."‡‰`]‡,"]ˆ +"]ˆh"]‰F"]Š$"]‹"]‹`"]Œ>"]"]z"]ŽX"]6"]"]r"]‘P"]’."]“"]“j"]”H"]•&"]–"]–b"]—@"]˜"]˜|"]™Z"]š8"]›"]›t"]œR"]0"]ž"]žl"]ŸJ"] ("]¡"]¡d"]¢B"]£ "X£~']¤W"]¥5"]¦"]¦q"]§O"]¨-"]©"]©i"]ªG"]«%"]¬"]¬a"]?"]®"]®{"]¯Y"]°7"]±"]±s"]²Q"]³/"]´ "]´k"]µI"]¶'"]·"]·c"]¸A"]¹"]¹}"]º["]»9 \ No newline at end of file diff --git a/packages/core/app/client/public/cmaps/GB-V.bcmap b/packages/core/app/client/public/cmaps/GB-V.bcmap new file mode 100644 index 000000000..310834512 Binary files /dev/null and b/packages/core/app/client/public/cmaps/GB-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBK-EUC-H.bcmap b/packages/core/app/client/public/cmaps/GBK-EUC-H.bcmap new file mode 100644 index 000000000..05fff7e82 Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBK-EUC-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBK-EUC-V.bcmap b/packages/core/app/client/public/cmaps/GBK-EUC-V.bcmap new file mode 100644 index 000000000..0cdf6bed6 Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBK-EUC-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBK2K-H.bcmap b/packages/core/app/client/public/cmaps/GBK2K-H.bcmap new file mode 100644 index 000000000..46f6ba596 Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBK2K-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBK2K-V.bcmap b/packages/core/app/client/public/cmaps/GBK2K-V.bcmap new file mode 100644 index 000000000..d9a947984 Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBK2K-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBKp-EUC-H.bcmap b/packages/core/app/client/public/cmaps/GBKp-EUC-H.bcmap new file mode 100644 index 000000000..5cb0af687 Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBKp-EUC-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBKp-EUC-V.bcmap b/packages/core/app/client/public/cmaps/GBKp-EUC-V.bcmap new file mode 100644 index 000000000..bca93b8ef Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBKp-EUC-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBT-EUC-H.bcmap b/packages/core/app/client/public/cmaps/GBT-EUC-H.bcmap new file mode 100644 index 000000000..4b4e2d322 Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBT-EUC-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBT-EUC-V.bcmap b/packages/core/app/client/public/cmaps/GBT-EUC-V.bcmap new file mode 100644 index 000000000..38f706699 Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBT-EUC-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBT-H.bcmap b/packages/core/app/client/public/cmaps/GBT-H.bcmap new file mode 100644 index 000000000..8437ac337 Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBT-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBT-V.bcmap b/packages/core/app/client/public/cmaps/GBT-V.bcmap new file mode 100644 index 000000000..697ab4a8e Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBT-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBTpc-EUC-H.bcmap b/packages/core/app/client/public/cmaps/GBTpc-EUC-H.bcmap new file mode 100644 index 000000000..f6e50e893 Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBTpc-EUC-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBTpc-EUC-V.bcmap b/packages/core/app/client/public/cmaps/GBTpc-EUC-V.bcmap new file mode 100644 index 000000000..6c0d71a2d Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBTpc-EUC-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBpc-EUC-H.bcmap b/packages/core/app/client/public/cmaps/GBpc-EUC-H.bcmap new file mode 100644 index 000000000..c9edf67cf Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBpc-EUC-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/GBpc-EUC-V.bcmap b/packages/core/app/client/public/cmaps/GBpc-EUC-V.bcmap new file mode 100644 index 000000000..31450c97f Binary files /dev/null and b/packages/core/app/client/public/cmaps/GBpc-EUC-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/H.bcmap b/packages/core/app/client/public/cmaps/H.bcmap new file mode 100644 index 000000000..7b24ea462 Binary files /dev/null and b/packages/core/app/client/public/cmaps/H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/HKdla-B5-H.bcmap b/packages/core/app/client/public/cmaps/HKdla-B5-H.bcmap new file mode 100644 index 000000000..7d30c0500 Binary files /dev/null and b/packages/core/app/client/public/cmaps/HKdla-B5-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/HKdla-B5-V.bcmap b/packages/core/app/client/public/cmaps/HKdla-B5-V.bcmap new file mode 100644 index 000000000..78946940d Binary files /dev/null and b/packages/core/app/client/public/cmaps/HKdla-B5-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/HKdlb-B5-H.bcmap b/packages/core/app/client/public/cmaps/HKdlb-B5-H.bcmap new file mode 100644 index 000000000..d829a2310 Binary files /dev/null and b/packages/core/app/client/public/cmaps/HKdlb-B5-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/HKdlb-B5-V.bcmap b/packages/core/app/client/public/cmaps/HKdlb-B5-V.bcmap new file mode 100644 index 000000000..2b572b50a Binary files /dev/null and b/packages/core/app/client/public/cmaps/HKdlb-B5-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/HKgccs-B5-H.bcmap b/packages/core/app/client/public/cmaps/HKgccs-B5-H.bcmap new file mode 100644 index 000000000..971a4f23f Binary files /dev/null and b/packages/core/app/client/public/cmaps/HKgccs-B5-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/HKgccs-B5-V.bcmap b/packages/core/app/client/public/cmaps/HKgccs-B5-V.bcmap new file mode 100644 index 000000000..d353ca256 Binary files /dev/null and b/packages/core/app/client/public/cmaps/HKgccs-B5-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/HKm314-B5-H.bcmap b/packages/core/app/client/public/cmaps/HKm314-B5-H.bcmap new file mode 100644 index 000000000..576dc0111 Binary files /dev/null and b/packages/core/app/client/public/cmaps/HKm314-B5-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/HKm314-B5-V.bcmap b/packages/core/app/client/public/cmaps/HKm314-B5-V.bcmap new file mode 100644 index 000000000..0e96d0e22 Binary files /dev/null and b/packages/core/app/client/public/cmaps/HKm314-B5-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/HKm471-B5-H.bcmap b/packages/core/app/client/public/cmaps/HKm471-B5-H.bcmap new file mode 100644 index 000000000..11d170c75 Binary files /dev/null and b/packages/core/app/client/public/cmaps/HKm471-B5-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/HKm471-B5-V.bcmap b/packages/core/app/client/public/cmaps/HKm471-B5-V.bcmap new file mode 100644 index 000000000..54959bf9e Binary files /dev/null and b/packages/core/app/client/public/cmaps/HKm471-B5-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/HKscs-B5-H.bcmap b/packages/core/app/client/public/cmaps/HKscs-B5-H.bcmap new file mode 100644 index 000000000..6ef7857ad Binary files /dev/null and b/packages/core/app/client/public/cmaps/HKscs-B5-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/HKscs-B5-V.bcmap b/packages/core/app/client/public/cmaps/HKscs-B5-V.bcmap new file mode 100644 index 000000000..1fb2fa2a2 Binary files /dev/null and b/packages/core/app/client/public/cmaps/HKscs-B5-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Hankaku.bcmap b/packages/core/app/client/public/cmaps/Hankaku.bcmap new file mode 100644 index 000000000..4b8ec7fce Binary files /dev/null and b/packages/core/app/client/public/cmaps/Hankaku.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Hiragana.bcmap b/packages/core/app/client/public/cmaps/Hiragana.bcmap new file mode 100644 index 000000000..17e983e77 Binary files /dev/null and b/packages/core/app/client/public/cmaps/Hiragana.bcmap differ diff --git a/packages/core/app/client/public/cmaps/KSC-EUC-H.bcmap b/packages/core/app/client/public/cmaps/KSC-EUC-H.bcmap new file mode 100644 index 000000000..a45c65f00 Binary files /dev/null and b/packages/core/app/client/public/cmaps/KSC-EUC-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/KSC-EUC-V.bcmap b/packages/core/app/client/public/cmaps/KSC-EUC-V.bcmap new file mode 100644 index 000000000..0e7b21f0a Binary files /dev/null and b/packages/core/app/client/public/cmaps/KSC-EUC-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/KSC-H.bcmap b/packages/core/app/client/public/cmaps/KSC-H.bcmap new file mode 100644 index 000000000..b9b22b678 Binary files /dev/null and b/packages/core/app/client/public/cmaps/KSC-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/KSC-Johab-H.bcmap b/packages/core/app/client/public/cmaps/KSC-Johab-H.bcmap new file mode 100644 index 000000000..2531ffcf4 Binary files /dev/null and b/packages/core/app/client/public/cmaps/KSC-Johab-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/KSC-Johab-V.bcmap b/packages/core/app/client/public/cmaps/KSC-Johab-V.bcmap new file mode 100644 index 000000000..367ceb226 Binary files /dev/null and b/packages/core/app/client/public/cmaps/KSC-Johab-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/KSC-V.bcmap b/packages/core/app/client/public/cmaps/KSC-V.bcmap new file mode 100644 index 000000000..6ae2f0b6b Binary files /dev/null and b/packages/core/app/client/public/cmaps/KSC-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/KSCms-UHC-H.bcmap b/packages/core/app/client/public/cmaps/KSCms-UHC-H.bcmap new file mode 100644 index 000000000..a8d4240e6 Binary files /dev/null and b/packages/core/app/client/public/cmaps/KSCms-UHC-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/KSCms-UHC-HW-H.bcmap b/packages/core/app/client/public/cmaps/KSCms-UHC-HW-H.bcmap new file mode 100644 index 000000000..8b4ae18fd Binary files /dev/null and b/packages/core/app/client/public/cmaps/KSCms-UHC-HW-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/KSCms-UHC-HW-V.bcmap b/packages/core/app/client/public/cmaps/KSCms-UHC-HW-V.bcmap new file mode 100644 index 000000000..b655dbcfb Binary files /dev/null and b/packages/core/app/client/public/cmaps/KSCms-UHC-HW-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/KSCms-UHC-V.bcmap b/packages/core/app/client/public/cmaps/KSCms-UHC-V.bcmap new file mode 100644 index 000000000..21f97f65b Binary files /dev/null and b/packages/core/app/client/public/cmaps/KSCms-UHC-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/KSCpc-EUC-H.bcmap b/packages/core/app/client/public/cmaps/KSCpc-EUC-H.bcmap new file mode 100644 index 000000000..e06f361eb Binary files /dev/null and b/packages/core/app/client/public/cmaps/KSCpc-EUC-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/KSCpc-EUC-V.bcmap b/packages/core/app/client/public/cmaps/KSCpc-EUC-V.bcmap new file mode 100644 index 000000000..f3c9113fc Binary files /dev/null and b/packages/core/app/client/public/cmaps/KSCpc-EUC-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Katakana.bcmap b/packages/core/app/client/public/cmaps/Katakana.bcmap new file mode 100644 index 000000000..524303c4f Binary files /dev/null and b/packages/core/app/client/public/cmaps/Katakana.bcmap differ diff --git a/packages/core/app/client/public/cmaps/LICENSE b/packages/core/app/client/public/cmaps/LICENSE new file mode 100644 index 000000000..b1ad168ad --- /dev/null +++ b/packages/core/app/client/public/cmaps/LICENSE @@ -0,0 +1,36 @@ +%%Copyright: ----------------------------------------------------------- +%%Copyright: Copyright 1990-2009 Adobe Systems Incorporated. +%%Copyright: All rights reserved. +%%Copyright: +%%Copyright: Redistribution and use in source and binary forms, with or +%%Copyright: without modification, are permitted provided that the +%%Copyright: following conditions are met: +%%Copyright: +%%Copyright: Redistributions of source code must retain the above +%%Copyright: copyright notice, this list of conditions and the following +%%Copyright: disclaimer. +%%Copyright: +%%Copyright: Redistributions in binary form must reproduce the above +%%Copyright: copyright notice, this list of conditions and the following +%%Copyright: disclaimer in the documentation and/or other materials +%%Copyright: provided with the distribution. +%%Copyright: +%%Copyright: Neither the name of Adobe Systems Incorporated nor the names +%%Copyright: of its contributors may be used to endorse or promote +%%Copyright: products derived from this software without specific prior +%%Copyright: written permission. +%%Copyright: +%%Copyright: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +%%Copyright: CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +%%Copyright: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +%%Copyright: MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +%%Copyright: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +%%Copyright: CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +%%Copyright: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +%%Copyright: NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +%%Copyright: LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +%%Copyright: HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +%%Copyright: CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +%%Copyright: OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +%%Copyright: SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +%%Copyright: ----------------------------------------------------------- diff --git a/packages/core/app/client/public/cmaps/NWP-H.bcmap b/packages/core/app/client/public/cmaps/NWP-H.bcmap new file mode 100644 index 000000000..afc5e4b05 Binary files /dev/null and b/packages/core/app/client/public/cmaps/NWP-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/NWP-V.bcmap b/packages/core/app/client/public/cmaps/NWP-V.bcmap new file mode 100644 index 000000000..bb5785e32 Binary files /dev/null and b/packages/core/app/client/public/cmaps/NWP-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/RKSJ-H.bcmap b/packages/core/app/client/public/cmaps/RKSJ-H.bcmap new file mode 100644 index 000000000..fb8d298e9 Binary files /dev/null and b/packages/core/app/client/public/cmaps/RKSJ-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/RKSJ-V.bcmap b/packages/core/app/client/public/cmaps/RKSJ-V.bcmap new file mode 100644 index 000000000..a2555a6c0 Binary files /dev/null and b/packages/core/app/client/public/cmaps/RKSJ-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/Roman.bcmap b/packages/core/app/client/public/cmaps/Roman.bcmap new file mode 100644 index 000000000..f896dcf1c Binary files /dev/null and b/packages/core/app/client/public/cmaps/Roman.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniCNS-UCS2-H.bcmap b/packages/core/app/client/public/cmaps/UniCNS-UCS2-H.bcmap new file mode 100644 index 000000000..d5db27c5c Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniCNS-UCS2-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniCNS-UCS2-V.bcmap b/packages/core/app/client/public/cmaps/UniCNS-UCS2-V.bcmap new file mode 100644 index 000000000..1dc9b7a21 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniCNS-UCS2-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniCNS-UTF16-H.bcmap b/packages/core/app/client/public/cmaps/UniCNS-UTF16-H.bcmap new file mode 100644 index 000000000..961afefb6 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniCNS-UTF16-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniCNS-UTF16-V.bcmap b/packages/core/app/client/public/cmaps/UniCNS-UTF16-V.bcmap new file mode 100644 index 000000000..df0cffe86 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniCNS-UTF16-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniCNS-UTF32-H.bcmap b/packages/core/app/client/public/cmaps/UniCNS-UTF32-H.bcmap new file mode 100644 index 000000000..1ab18a143 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniCNS-UTF32-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniCNS-UTF32-V.bcmap b/packages/core/app/client/public/cmaps/UniCNS-UTF32-V.bcmap new file mode 100644 index 000000000..ad14662e2 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniCNS-UTF32-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniCNS-UTF8-H.bcmap b/packages/core/app/client/public/cmaps/UniCNS-UTF8-H.bcmap new file mode 100644 index 000000000..83c6bd7c4 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniCNS-UTF8-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniCNS-UTF8-V.bcmap b/packages/core/app/client/public/cmaps/UniCNS-UTF8-V.bcmap new file mode 100644 index 000000000..22a27e4dd Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniCNS-UTF8-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniGB-UCS2-H.bcmap b/packages/core/app/client/public/cmaps/UniGB-UCS2-H.bcmap new file mode 100644 index 000000000..5bd6228ce Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniGB-UCS2-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniGB-UCS2-V.bcmap b/packages/core/app/client/public/cmaps/UniGB-UCS2-V.bcmap new file mode 100644 index 000000000..53c534b7f Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniGB-UCS2-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniGB-UTF16-H.bcmap b/packages/core/app/client/public/cmaps/UniGB-UTF16-H.bcmap new file mode 100644 index 000000000..b95045b40 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniGB-UTF16-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniGB-UTF16-V.bcmap b/packages/core/app/client/public/cmaps/UniGB-UTF16-V.bcmap new file mode 100644 index 000000000..51f023e0d Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniGB-UTF16-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniGB-UTF32-H.bcmap b/packages/core/app/client/public/cmaps/UniGB-UTF32-H.bcmap new file mode 100644 index 000000000..f0dbd14f3 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniGB-UTF32-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniGB-UTF32-V.bcmap b/packages/core/app/client/public/cmaps/UniGB-UTF32-V.bcmap new file mode 100644 index 000000000..ce9c30a98 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniGB-UTF32-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniGB-UTF8-H.bcmap b/packages/core/app/client/public/cmaps/UniGB-UTF8-H.bcmap new file mode 100644 index 000000000..982ca462b Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniGB-UTF8-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniGB-UTF8-V.bcmap b/packages/core/app/client/public/cmaps/UniGB-UTF8-V.bcmap new file mode 100644 index 000000000..f78020dd4 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniGB-UTF8-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS-UCS2-H.bcmap b/packages/core/app/client/public/cmaps/UniJIS-UCS2-H.bcmap new file mode 100644 index 000000000..7daf56afa Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS-UCS2-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS-UCS2-HW-H.bcmap b/packages/core/app/client/public/cmaps/UniJIS-UCS2-HW-H.bcmap new file mode 100644 index 000000000..ac9975c58 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS-UCS2-HW-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS-UCS2-HW-V.bcmap b/packages/core/app/client/public/cmaps/UniJIS-UCS2-HW-V.bcmap new file mode 100644 index 000000000..3da0a1c62 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS-UCS2-HW-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS-UCS2-V.bcmap b/packages/core/app/client/public/cmaps/UniJIS-UCS2-V.bcmap new file mode 100644 index 000000000..c50b9ddfd Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS-UCS2-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS-UTF16-H.bcmap b/packages/core/app/client/public/cmaps/UniJIS-UTF16-H.bcmap new file mode 100644 index 000000000..676134463 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS-UTF16-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS-UTF16-V.bcmap b/packages/core/app/client/public/cmaps/UniJIS-UTF16-V.bcmap new file mode 100644 index 000000000..70bf90c0e Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS-UTF16-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS-UTF32-H.bcmap b/packages/core/app/client/public/cmaps/UniJIS-UTF32-H.bcmap new file mode 100644 index 000000000..7a83d53ae Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS-UTF32-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS-UTF32-V.bcmap b/packages/core/app/client/public/cmaps/UniJIS-UTF32-V.bcmap new file mode 100644 index 000000000..7a8713539 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS-UTF32-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS-UTF8-H.bcmap b/packages/core/app/client/public/cmaps/UniJIS-UTF8-H.bcmap new file mode 100644 index 000000000..9f0334cac Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS-UTF8-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS-UTF8-V.bcmap b/packages/core/app/client/public/cmaps/UniJIS-UTF8-V.bcmap new file mode 100644 index 000000000..808a94f0f Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS-UTF8-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS2004-UTF16-H.bcmap b/packages/core/app/client/public/cmaps/UniJIS2004-UTF16-H.bcmap new file mode 100644 index 000000000..d768bf811 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS2004-UTF16-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS2004-UTF16-V.bcmap b/packages/core/app/client/public/cmaps/UniJIS2004-UTF16-V.bcmap new file mode 100644 index 000000000..3d5bf6fb4 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS2004-UTF16-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS2004-UTF32-H.bcmap b/packages/core/app/client/public/cmaps/UniJIS2004-UTF32-H.bcmap new file mode 100644 index 000000000..09eee10d4 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS2004-UTF32-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS2004-UTF32-V.bcmap b/packages/core/app/client/public/cmaps/UniJIS2004-UTF32-V.bcmap new file mode 100644 index 000000000..6c5460013 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS2004-UTF32-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS2004-UTF8-H.bcmap b/packages/core/app/client/public/cmaps/UniJIS2004-UTF8-H.bcmap new file mode 100644 index 000000000..1b1a64f50 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS2004-UTF8-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJIS2004-UTF8-V.bcmap b/packages/core/app/client/public/cmaps/UniJIS2004-UTF8-V.bcmap new file mode 100644 index 000000000..994aa9ef9 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJIS2004-UTF8-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJISPro-UCS2-HW-V.bcmap b/packages/core/app/client/public/cmaps/UniJISPro-UCS2-HW-V.bcmap new file mode 100644 index 000000000..643f921b6 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJISPro-UCS2-HW-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJISPro-UCS2-V.bcmap b/packages/core/app/client/public/cmaps/UniJISPro-UCS2-V.bcmap new file mode 100644 index 000000000..c148f67f5 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJISPro-UCS2-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJISPro-UTF8-V.bcmap b/packages/core/app/client/public/cmaps/UniJISPro-UTF8-V.bcmap new file mode 100644 index 000000000..1849d809a Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJISPro-UTF8-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJISX0213-UTF32-H.bcmap b/packages/core/app/client/public/cmaps/UniJISX0213-UTF32-H.bcmap new file mode 100644 index 000000000..a83a677c5 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJISX0213-UTF32-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJISX0213-UTF32-V.bcmap b/packages/core/app/client/public/cmaps/UniJISX0213-UTF32-V.bcmap new file mode 100644 index 000000000..f527248ad Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJISX0213-UTF32-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJISX02132004-UTF32-H.bcmap b/packages/core/app/client/public/cmaps/UniJISX02132004-UTF32-H.bcmap new file mode 100644 index 000000000..e1a988dc9 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJISX02132004-UTF32-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniJISX02132004-UTF32-V.bcmap b/packages/core/app/client/public/cmaps/UniJISX02132004-UTF32-V.bcmap new file mode 100644 index 000000000..47e054a96 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniJISX02132004-UTF32-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniKS-UCS2-H.bcmap b/packages/core/app/client/public/cmaps/UniKS-UCS2-H.bcmap new file mode 100644 index 000000000..b5b94852a Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniKS-UCS2-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniKS-UCS2-V.bcmap b/packages/core/app/client/public/cmaps/UniKS-UCS2-V.bcmap new file mode 100644 index 000000000..026adcaad Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniKS-UCS2-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniKS-UTF16-H.bcmap b/packages/core/app/client/public/cmaps/UniKS-UTF16-H.bcmap new file mode 100644 index 000000000..fd4e66e81 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniKS-UTF16-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniKS-UTF16-V.bcmap b/packages/core/app/client/public/cmaps/UniKS-UTF16-V.bcmap new file mode 100644 index 000000000..075efb705 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniKS-UTF16-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniKS-UTF32-H.bcmap b/packages/core/app/client/public/cmaps/UniKS-UTF32-H.bcmap new file mode 100644 index 000000000..769d2142c Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniKS-UTF32-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniKS-UTF32-V.bcmap b/packages/core/app/client/public/cmaps/UniKS-UTF32-V.bcmap new file mode 100644 index 000000000..bdab208b6 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniKS-UTF32-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniKS-UTF8-H.bcmap b/packages/core/app/client/public/cmaps/UniKS-UTF8-H.bcmap new file mode 100644 index 000000000..6ff8674af Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniKS-UTF8-H.bcmap differ diff --git a/packages/core/app/client/public/cmaps/UniKS-UTF8-V.bcmap b/packages/core/app/client/public/cmaps/UniKS-UTF8-V.bcmap new file mode 100644 index 000000000..8dfa76a58 Binary files /dev/null and b/packages/core/app/client/public/cmaps/UniKS-UTF8-V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/V.bcmap b/packages/core/app/client/public/cmaps/V.bcmap new file mode 100644 index 000000000..fdec99066 Binary files /dev/null and b/packages/core/app/client/public/cmaps/V.bcmap differ diff --git a/packages/core/app/client/public/cmaps/WP-Symbol.bcmap b/packages/core/app/client/public/cmaps/WP-Symbol.bcmap new file mode 100644 index 000000000..46729bbf3 Binary files /dev/null and b/packages/core/app/client/public/cmaps/WP-Symbol.bcmap differ diff --git a/packages/core/app/client/public/standard_fonts/FoxitDingbats.pfb b/packages/core/app/client/public/standard_fonts/FoxitDingbats.pfb new file mode 100644 index 000000000..30d52963e Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/FoxitDingbats.pfb differ diff --git a/packages/core/app/client/public/standard_fonts/FoxitFixed.pfb b/packages/core/app/client/public/standard_fonts/FoxitFixed.pfb new file mode 100644 index 000000000..f12dcbce5 Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/FoxitFixed.pfb differ diff --git a/packages/core/app/client/public/standard_fonts/FoxitFixedBold.pfb b/packages/core/app/client/public/standard_fonts/FoxitFixedBold.pfb new file mode 100644 index 000000000..cf8e24aee Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/FoxitFixedBold.pfb differ diff --git a/packages/core/app/client/public/standard_fonts/FoxitFixedBoldItalic.pfb b/packages/core/app/client/public/standard_fonts/FoxitFixedBoldItalic.pfb new file mode 100644 index 000000000..d2880017c Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/FoxitFixedBoldItalic.pfb differ diff --git a/packages/core/app/client/public/standard_fonts/FoxitFixedItalic.pfb b/packages/core/app/client/public/standard_fonts/FoxitFixedItalic.pfb new file mode 100644 index 000000000..d71697d4b Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/FoxitFixedItalic.pfb differ diff --git a/packages/core/app/client/public/standard_fonts/FoxitSerif.pfb b/packages/core/app/client/public/standard_fonts/FoxitSerif.pfb new file mode 100644 index 000000000..3fa682efb Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/FoxitSerif.pfb differ diff --git a/packages/core/app/client/public/standard_fonts/FoxitSerifBold.pfb b/packages/core/app/client/public/standard_fonts/FoxitSerifBold.pfb new file mode 100644 index 000000000..ff7c6ddec Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/FoxitSerifBold.pfb differ diff --git a/packages/core/app/client/public/standard_fonts/FoxitSerifBoldItalic.pfb b/packages/core/app/client/public/standard_fonts/FoxitSerifBoldItalic.pfb new file mode 100644 index 000000000..460231fb8 Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/FoxitSerifBoldItalic.pfb differ diff --git a/packages/core/app/client/public/standard_fonts/FoxitSerifItalic.pfb b/packages/core/app/client/public/standard_fonts/FoxitSerifItalic.pfb new file mode 100644 index 000000000..d03a7c781 Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/FoxitSerifItalic.pfb differ diff --git a/packages/core/app/client/public/standard_fonts/FoxitSymbol.pfb b/packages/core/app/client/public/standard_fonts/FoxitSymbol.pfb new file mode 100644 index 000000000..c8f9bca78 Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/FoxitSymbol.pfb differ diff --git a/packages/core/app/client/public/standard_fonts/LICENSE_FOXIT b/packages/core/app/client/public/standard_fonts/LICENSE_FOXIT new file mode 100644 index 000000000..8b4ed6ddd --- /dev/null +++ b/packages/core/app/client/public/standard_fonts/LICENSE_FOXIT @@ -0,0 +1,27 @@ +// Copyright 2014 PDFium Authors. All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/packages/core/app/client/public/standard_fonts/LICENSE_LIBERATION b/packages/core/app/client/public/standard_fonts/LICENSE_LIBERATION new file mode 100644 index 000000000..aba73e8a4 --- /dev/null +++ b/packages/core/app/client/public/standard_fonts/LICENSE_LIBERATION @@ -0,0 +1,102 @@ +Digitized data copyright (c) 2010 Google Corporation + with Reserved Font Arimo, Tinos and Cousine. +Copyright (c) 2012 Red Hat, Inc. + with Reserved Font Name Liberation. + +This Font Software is licensed under the SIL Open Font License, +Version 1.1. + +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 + +PREAMBLE The goals of the Open Font License (OFL) are to stimulate +worldwide development of collaborative font projects, to support the font +creation efforts of academic and linguistic communities, and to provide +a free and open framework in which fonts may be shared and improved in +partnership with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. +The fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply to +any document created using the fonts or their derivatives. + + + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. +This may include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components +as distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting ? in part or in whole ? +any of the components of the Original Version, by changing formats or +by porting the Font Software to a new environment. + +"Author" refers to any designer, engineer, programmer, technical writer +or other person who contributed to the Font Software. + + +PERMISSION & CONDITIONS + +Permission is hereby granted, free of charge, to any person obtaining a +copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components,in + Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, + redistributed and/or sold with any software, provided that each copy + contains the above copyright notice and this license. These can be + included either as stand-alone text files, human-readable headers or + in the appropriate machine-readable metadata fields within text or + binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font + Name(s) unless explicit written permission is granted by the + corresponding Copyright Holder. This restriction only applies to the + primary font name as presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font + Software shall not be used to promote, endorse or advertise any + Modified Version, except to acknowledge the contribution(s) of the + Copyright Holder(s) and the Author(s) or with their explicit written + permission. + +5) The Font Software, modified or unmodified, in part or in whole, must + be distributed entirely under this license, and must not be distributed + under any other license. The requirement for fonts to remain under + this license does not apply to any document created using the Font + Software. + + + +TERMINATION +This license becomes null and void if any of the above conditions are not met. + + + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER +DEALINGS IN THE FONT SOFTWARE. + diff --git a/packages/core/app/client/public/standard_fonts/LiberationSans-Bold.ttf b/packages/core/app/client/public/standard_fonts/LiberationSans-Bold.ttf new file mode 100644 index 000000000..ee2371540 Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/LiberationSans-Bold.ttf differ diff --git a/packages/core/app/client/public/standard_fonts/LiberationSans-BoldItalic.ttf b/packages/core/app/client/public/standard_fonts/LiberationSans-BoldItalic.ttf new file mode 100644 index 000000000..42b5717dd Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/LiberationSans-BoldItalic.ttf differ diff --git a/packages/core/app/client/public/standard_fonts/LiberationSans-Italic.ttf b/packages/core/app/client/public/standard_fonts/LiberationSans-Italic.ttf new file mode 100644 index 000000000..0cf612634 Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/LiberationSans-Italic.ttf differ diff --git a/packages/core/app/client/public/standard_fonts/LiberationSans-Regular.ttf b/packages/core/app/client/public/standard_fonts/LiberationSans-Regular.ttf new file mode 100644 index 000000000..366d1489c Binary files /dev/null and b/packages/core/app/client/public/standard_fonts/LiberationSans-Regular.ttf differ diff --git a/packages/plugins/@hera/plugin-core/src/__tests__/utils.test.ts b/packages/plugins/@hera/plugin-core/src/__tests__/utils.test.ts deleted file mode 100644 index 7fb9c08b4..000000000 --- a/packages/plugins/@hera/plugin-core/src/__tests__/utils.test.ts +++ /dev/null @@ -1,15 +0,0 @@ -import format, { formatCurrency } from '../utils/currencyUtils'; - -describe('utils', () => { - beforeEach(async () => {}); - - afterEach(() => {}); - - describe('currencyUtils', () => { - it('formatCurrency', async () => { - expect(formatCurrency(100, 2)).toBe('Â¥100.00'); - expect(formatCurrency(null, 2)).toBe('Â¥0.00'); - expect(formatCurrency(undefined, 2)).toBe('Â¥0.00'); - }); - }); -}); diff --git a/packages/plugins/@hera/plugin-core/src/client/components/CustomComponentDispatcher.tsx b/packages/plugins/@hera/plugin-core/src/client/components/CustomComponentDispatcher.tsx index 690186b2e..eb4214c2a 100644 --- a/packages/plugins/@hera/plugin-core/src/client/components/CustomComponentDispatcher.tsx +++ b/packages/plugins/@hera/plugin-core/src/client/components/CustomComponentDispatcher.tsx @@ -3,8 +3,8 @@ import React from 'react'; import { useTranslation } from '../locale'; import { useField, useFieldSchema } from '@formily/react'; import { Field } from '@nocobase/database'; -import { CUSTOM_COMPONENT_TYPE_FORM_ITEM } from '..'; import { useCustomComponent } from '../hooks/useCustomComponent'; +import { CustomComponentType } from '../custom-components'; export const CustomComponentStub = (props) => { return
{index + 1}/{numPages}页
diff --git a/packages/plugins/@hera/plugin-core/src/client/custom-components.ts b/packages/plugins/@hera/plugin-core/src/client/custom-components.ts new file mode 100644 index 000000000..c82d3fc77 --- /dev/null +++ b/packages/plugins/@hera/plugin-core/src/client/custom-components.ts @@ -0,0 +1,25 @@ +import { ReactFC } from '@formily/react'; +import { ComponentType, MemoExoticComponent } from 'react'; + +export interface CustomFunctionComponentextends React.FunctionComponent
{ + __componentType: CustomComponentType; + __componentLabel: string; +} + +export interface CustomFC
extends MemoExoticComponent item.category === 'optional')
- .map((item) => item.namespace + '.' + item.function),
- );
- setSelectedUserCollections(
- selectedRows.filter((item) => item.category === 'user').map((item) => item.name),
- );
- },
- getCheckboxProps(record) {
- return {
- disabled: record.category === 'required',
- };
- },
- defaultSelectedRowKeys: requiredGroups.map(keyFn),
- }}
- pagination={{
- pageSize: 200,
- }}
- />
- )}
-
-
- >
- );
-};
-export const BackupCenterPanel = () => {
- const api = useAPIClient();
- const [requiredGroups, setRequiredGroups] = useState([]);
- const [optionalGroups, setOptionalGroups] = useState([]);
- const [userCollections, setUserCollections] = useState([]);
- const [selectedOptionalGroups, setSelectedOptionalGroups] = useState([]);
- const [selectedUserCollections, setSelectedUserCollections] = useState([]);
- useEffect(() => {
- api
- .resource('duplicator')
- .dumpableCollections()
- .then((res) => {
- const { requiredGroups, optionalGroups, userCollections } = res.data;
- setRequiredGroups(requiredGroups.map((i) => ({ ...i, category: 'required' })));
- setOptionalGroups(optionalGroups.map((i) => ({ ...i, category: 'optional' })));
- setUserCollections(
- userCollections
- .filter((i: { name: string }) => !i.name.startsWith('view_'))
- .map((i) => ({ ...i, category: 'user' })),
- );
- })
- .catch(() => {
- // ignore-error
- });
- }, [api]);
- if (requiredGroups.length === 0) {
- return null;
- }
- return (
-
item.category === 'optional')
- .map((item) => item.namespace + '.' + item.function),
- );
- setSelectedUserCollections(
- selectedRows.filter((item) => item.category === 'user').map((item) => item.name),
- );
- },
- getCheckboxProps(record) {
- return {
- disabled: record.category === 'required',
- };
- },
- defaultSelectedRowKeys: requiredGroups.map(keyFn),
- }}
- pagination={{
- pageSize: 200,
- }}
- />
-
- );
-};
diff --git a/packages/plugins/@hera/plugin-core/src/client/schema-components/PDFViewer.tsx b/packages/plugins/@hera/plugin-core/src/client/schema-components/PDFViewer.tsx
index 37cfcba1b..5b3708881 100644
--- a/packages/plugins/@hera/plugin-core/src/client/schema-components/PDFViewer.tsx
+++ b/packages/plugins/@hera/plugin-core/src/client/schema-components/PDFViewer.tsx
@@ -1,4 +1,4 @@
-import React, { useLayoutEffect, useRef, useState } from 'react';
+import React, { useEffect, useRef, useState } from 'react';
import { PDFViewer } from '../components/PDFViewer';
import { Space } from 'antd';
import { css } from '@nocobase/client';
@@ -9,10 +9,12 @@ export const InternalPDFViewer = (props) => {
const containerRef = useRef(null);
const [width, setWidth] = useState(0);
const [, setHeight] = useState(0);
- useLayoutEffect(() => {
- setWidth(containerRef.current.offsetWidth);
- setHeight(containerRef.current.offsetHeight);
- });
+ useEffect(() => {
+ if (containerRef.current) {
+ setWidth(containerRef.current.offsetWidth);
+ setHeight(containerRef.current.offsetHeight);
+ }
+ }, [containerRef]);
const ref = usePDFViewerRef();
const usePdfPath = useMaybePdfPath ?? (() => '');
const pdfPath = usePdfPath();
@@ -36,6 +38,8 @@ export const InternalPDFViewer = (props) => {
border: 1px dashed black;
margin-top: 12px;
overflow: hidden;
+ display: flex;
+ justify-content: center;
`}
>
{pdfPath ?