d2coreui 23.0.61 → 26.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csvExport.js","sourceRoot":"","sources":["../../../../../../components/grid/export/worker/csvExport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAA;AAErC,oHAAoH;AACpH,MAAM,QAAQ,GAAG,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;AAE7C,SAAS,SAAS,CAAC,SAAoB;IACnC,MAAM,WAAW,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QACtC,OAAO,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChB,OAAO,QAAQ,GAAG,WAAW,CAAC;AAClC,CAAC;AAED,MAAM,CAAC,SAAS,CAAC,CAAC","sourcesContent":["import {expose} from \"threads/worker\"\n\n/** UTF-8 byte order mark - without it Excel opens the CSV in the ANSI code page and breaks non-ASCII characters. */\nconst UTF8_BOM = String.fromCharCode(0xFEFF);\n\nfunction csvExport(tableData:string[][]) {\n const textContent = tableData.map((row) => {\n return row.join(\";\");\n }).join(\"\\r\\n\");\n return UTF8_BOM + textContent;\n}\n\nexpose(csvExport);\n"]}
|
|
1
|
+
{"version":3,"file":"csvExport.js","sourceRoot":"","sources":["../../../../../../components/grid/export/worker/csvExport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAA;AAErC,oHAAoH;AACpH,MAAM,QAAQ,GAAG,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;AAE7C,SAAS,SAAS,CAAC,SAAoB;IACnC,MAAM,WAAW,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QACtC,OAAO,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChB,OAAO,QAAQ,GAAG,WAAW,CAAC;AAClC,CAAC;AAED,MAAM,CAAC,SAAS,CAAC,CAAC","sourcesContent":["import {expose} from \"threads/worker\"\r\n\r\n/** UTF-8 byte order mark - without it Excel opens the CSV in the ANSI code page and breaks non-ASCII characters. */\r\nconst UTF8_BOM = String.fromCharCode(0xFEFF);\r\n\r\nfunction csvExport(tableData:string[][]) {\r\n const textContent = tableData.map((row) => {\r\n return row.join(\";\");\r\n }).join(\"\\r\\n\");\r\n return UTF8_BOM + textContent;\r\n}\r\n\r\nexpose(csvExport);\r\n"]}
|