@datapos/datapos-shared 0.3.446 → 0.3.448

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.
@@ -2,3 +2,7 @@ const e = (l) => new Map(Object.entries(l));
2
2
  e({ "en-gb": "Delimited Text" }), e({ "en-gb": "Entity/Event" }), e({ "en-gb": "JSON" }), e({ "en-gb": "SPSS" }), e({ "en-gb": "XLS" }), e({ "en-gb": "XLSX" }), e({ "en-gb": "XML" });
3
3
  e({ "en-gb": "Newline" }), e({ "en-gb": "Carriage Return" }), e({ "en-gb": "Carriage Return/Newline" });
4
4
  e({ "en-gb": "Colon" }), e({ "en-gb": "Comma" }), e({ "en-gb": "Exclamation Mark" }), e({ "en-gb": "Record Separator" }), e({ "en-gb": "Semicolon" }), e({ "en-gb": "Space" }), e({ "en-gb": "Tab" }), e({ "en-gb": "Underscore" }), e({ "en-gb": "Unit Separator" }), e({ "en-gb": "Vertical Bar" });
5
+ const b = [",", ";", " ", "|", " ", ":", "_", "!", "0x1F", "0x1E"];
6
+ export {
7
+ b as ORDERED_VALUE_DELIMITER_IDS
8
+ };
@@ -52,6 +52,7 @@ interface DataViewPreviewConfig {
52
52
  interface DataViewRelationshipsAuditConfig {
53
53
  placeholder?: string;
54
54
  }
55
+ declare const ORDERED_VALUE_DELIMITER_IDS: ValueDelimiterId[];
55
56
  /**
56
57
  * Parsed value.
57
58
  */
@@ -68,4 +69,5 @@ interface ParseResult {
68
69
  type DataFormatId = 'dtv' | 'e/e' | 'json' | 'spss' | 'xls' | 'xlsx' | 'xml';
69
70
  type RecordDelimiterId = '\n' | '\r' | '\r\n';
70
71
  type ValueDelimiterId = '' | ':' | ',' | '!' | '0x1E' | ';' | ' ' | '\t' | '_' | '0x1F' | '|';
72
+ export { ORDERED_VALUE_DELIMITER_IDS };
71
73
  export type { DataViewContentAuditConfig, DataViewConfig, DataViewPreviewConfig, ParseResult, ParsedValue, ValueDelimiterId };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.446",
3
+ "version": "0.3.448",
4
4
  "description": "A library containing common constants, types and utilities used across all Data Positioning projects.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",
@@ -29,9 +29,9 @@
29
29
  "import": "./dist/datapos-shared-connector.es.js",
30
30
  "types": "./dist/types/src/component/connector/index.d.ts"
31
31
  },
32
- "./component/dataview": {
32
+ "./component/dataView": {
33
33
  "import": "./dist/datapos-shared-dataview.es.js",
34
- "types": "./dist/types/src/component/dataview/index.d.ts"
34
+ "types": "./dist/types/src/component/dataView/index.d.ts"
35
35
  },
36
36
  "./component/tool": {
37
37
  "import": "./dist/datapos-shared-tools.es.js",