@deephaven/jsapi-utils 0.13.3-treemap.2 → 0.14.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":"TableColumnFormatter.d.ts","sourceRoot":"","sources":["../../src/formatters/TableColumnFormatter.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,oBAAY,qBAAqB,GAC7B,aAAa,GACb,qBAAqB,GACrB,qBAAqB,CAAC;AAE1B,oBAAY,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,qBAAqB,CAAC;CAC7B,CAAC;AAEF,qBAAa,oBAAoB,CAAC,CAAC,GAAG,OAAO;IAC3C,MAAM,CAAC,WAAW,EAAE,qBAAqB,CAAiB;IAE1D,MAAM,CAAC,mBAAmB,EAAE,qBAAqB,CAAyB;IAE1E,MAAM,CAAC,mBAAmB,EAAE,qBAAqB,CAAyB;IAE1E;;;;OAIG;IACH,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO;IAIlD;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CACjB,OAAO,CAAC,EAAE,iBAAiB,EAC3B,OAAO,CAAC,EAAE,iBAAiB,GAC1B,OAAO;IAIV;;;;;;OAMG;IACH,MAAM,CAAC,UAAU,CACf,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,qBAAqB,GAC1B,iBAAiB;IAIpB;;;;OAIG;IACH,MAAM,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,iBAAiB,GAAG,MAAM;CAGrD;AAED,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"TableColumnFormatter.d.ts","sourceRoot":"","sources":["../../src/formatters/TableColumnFormatter.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,oBAAY,qBAAqB,GAC7B,aAAa,GACb,qBAAqB,GACrB,qBAAqB,CAAC;AAE1B,oBAAY,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,qBAAqB,CAAC;CAC7B,CAAC;AAEF,qBAAa,oBAAoB,CAAC,CAAC,GAAG,OAAO;IAC3C,MAAM,CAAC,WAAW,EAAE,qBAAqB,CAAiB;IAE1D,MAAM,CAAC,mBAAmB,EAAE,qBAAqB,CAAyB;IAE1E,MAAM,CAAC,mBAAmB,EAAE,qBAAqB,CAAyB;IAE1E;;;;OAIG;IACH,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO;IAIlD;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CACjB,OAAO,CAAC,EAAE,iBAAiB,EAC3B,OAAO,CAAC,EAAE,iBAAiB,GAC1B,OAAO;IAIV;;;;;;OAMG;IACH,MAAM,CAAC,UAAU,CACf,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,qBAAqB,GAC1B,iBAAiB;IAIpB;;;;OAIG;IACH,MAAM,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,MAAM;CAG9D;AAED,eAAe,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/formatters/TableColumnFormatter.ts"],"names":["TableColumnFormatter","isValid","format","isSameFormat","formatA","formatB","Error","makeFormat","label","formatString","type","value"],"mappings":";;AAAA;;AACA;AACA;AACA;AACA;AAaA,OAAO,MAAMA,oBAAN,CAAwC;AAO7C;AACF;AACA;AACA;AACA;AACgB,SAAPC,OAAO,CAACC,MAAD,EAAqC;AACjD,WAAO,IAAP;AACD;AAED;AACF;AACA;AACA;AACA;AACA;;;AACqB,SAAZC,YAAY,CACjBC,OADiB,EAEjBC,OAFiB,EAGR;AACT,UAAM,IAAIC,KAAJ,CAAU,8BAAV,CAAN;AACD;AAED;AACF;AACA;AACA;AACA;AACA;AACA;;;AACmB,SAAVC,UAAU,CACfC,KADe,EAEfC,YAFe,EAGfC,IAHe,EAII;AACnB,WAAO;AAAEF,MAAAA,KAAF;AAASC,MAAAA,YAAT;AAAuBC,MAAAA;AAAvB,KAAP;AACD;AAED;AACF;AACA;AACA;AACA;;;AACER,EAAAA,MAAM,CAACS,KAAD,EAAWT,MAAX,EAA+C;AACnD,WAAO,EAAP;AACD;;AAnD4C;;gBAAlCF,oB,iBACiC,a;;gBADjCA,oB,yBAGyC,qB;;gBAHzCA,oB,yBAKyC,qB;;AAiDtD,eAAeA,oBAAf","sourcesContent":["/* eslint class-methods-use-this: \"off\" */\n/**\n * Default column data formatter. Just interpolates the value as a string and returns.\n * Extend this class and register with TableUtils to make use of it.\n */\n\nexport type TableColumnFormatType =\n | 'type-global'\n | 'type-context-preset'\n | 'type-context-custom';\n\nexport type TableColumnFormat = {\n label: string;\n formatString: string;\n type: TableColumnFormatType;\n};\n\nexport class TableColumnFormatter<T = unknown> {\n static TYPE_GLOBAL: TableColumnFormatType = 'type-global';\n\n static TYPE_CONTEXT_PRESET: TableColumnFormatType = 'type-context-preset';\n\n static TYPE_CONTEXT_CUSTOM: TableColumnFormatType = 'type-context-custom';\n\n /**\n * Validates format object\n * @param format Format object\n * @returns true for valid object\n */\n static isValid(format: TableColumnFormat): boolean {\n return true;\n }\n\n /**\n * Check if the given formats match\n * @param formatA format object to check\n * @param formatB format object to check\n * @returns True if the formats match\n */\n static isSameFormat(\n formatA?: TableColumnFormat,\n formatB?: TableColumnFormat\n ): boolean {\n throw new Error('isSameFormat not implemented');\n }\n\n /**\n * Create and return a Format object\n * @param label The label of the format object\n * @param formatString Format string to use for the format\n * @param type The type of column to use for this format\n * @returns A format object\n */\n static makeFormat(\n label: string,\n formatString: string,\n type: TableColumnFormatType\n ): TableColumnFormat {\n return { label, formatString, type };\n }\n\n /**\n * @param value The value to format\n * @param format Optional format object with value transformation options\n * @returns String the formatted text string of the value passed in.\n */\n format(value: T, format?: TableColumnFormat): string {\n return '';\n }\n}\n\nexport default TableColumnFormatter;\n"],"file":"TableColumnFormatter.js"}
1
+ {"version":3,"sources":["../../src/formatters/TableColumnFormatter.ts"],"names":["TableColumnFormatter","isValid","format","isSameFormat","formatA","formatB","Error","makeFormat","label","formatString","type","value"],"mappings":";;AAAA;;AACA;AACA;AACA;AACA;AAaA,OAAO,MAAMA,oBAAN,CAAwC;AAO7C;AACF;AACA;AACA;AACA;AACgB,SAAPC,OAAO,CAACC,MAAD,EAAqC;AACjD,WAAO,IAAP;AACD;AAED;AACF;AACA;AACA;AACA;AACA;;;AACqB,SAAZC,YAAY,CACjBC,OADiB,EAEjBC,OAFiB,EAGR;AACT,UAAM,IAAIC,KAAJ,CAAU,8BAAV,CAAN;AACD;AAED;AACF;AACA;AACA;AACA;AACA;AACA;;;AACmB,SAAVC,UAAU,CACfC,KADe,EAEfC,YAFe,EAGfC,IAHe,EAII;AACnB,WAAO;AAAEF,MAAAA,KAAF;AAASC,MAAAA,YAAT;AAAuBC,MAAAA;AAAvB,KAAP;AACD;AAED;AACF;AACA;AACA;AACA;;;AACER,EAAAA,MAAM,CAACS,KAAD,EAAWT,MAAX,EAAwD;AAC5D,WAAO,EAAP;AACD;;AAnD4C;;gBAAlCF,oB,iBACiC,a;;gBADjCA,oB,yBAGyC,qB;;gBAHzCA,oB,yBAKyC,qB;;AAiDtD,eAAeA,oBAAf","sourcesContent":["/* eslint class-methods-use-this: \"off\" */\n/**\n * Default column data formatter. Just interpolates the value as a string and returns.\n * Extend this class and register with TableUtils to make use of it.\n */\n\nexport type TableColumnFormatType =\n | 'type-global'\n | 'type-context-preset'\n | 'type-context-custom';\n\nexport type TableColumnFormat = {\n label: string;\n formatString: string;\n type: TableColumnFormatType;\n};\n\nexport class TableColumnFormatter<T = unknown> {\n static TYPE_GLOBAL: TableColumnFormatType = 'type-global';\n\n static TYPE_CONTEXT_PRESET: TableColumnFormatType = 'type-context-preset';\n\n static TYPE_CONTEXT_CUSTOM: TableColumnFormatType = 'type-context-custom';\n\n /**\n * Validates format object\n * @param format Format object\n * @returns true for valid object\n */\n static isValid(format: TableColumnFormat): boolean {\n return true;\n }\n\n /**\n * Check if the given formats match\n * @param formatA format object to check\n * @param formatB format object to check\n * @returns True if the formats match\n */\n static isSameFormat(\n formatA?: TableColumnFormat,\n formatB?: TableColumnFormat\n ): boolean {\n throw new Error('isSameFormat not implemented');\n }\n\n /**\n * Create and return a Format object\n * @param label The label of the format object\n * @param formatString Format string to use for the format\n * @param type The type of column to use for this format\n * @returns A format object\n */\n static makeFormat(\n label: string,\n formatString: string,\n type: TableColumnFormatType\n ): TableColumnFormat {\n return { label, formatString, type };\n }\n\n /**\n * @param value The value to format\n * @param format Optional format object with value transformation options\n * @returns String the formatted text string of the value passed in.\n */\n format(value: T, format?: Partial<TableColumnFormat>): string {\n return '';\n }\n}\n\nexport default TableColumnFormatter;\n"],"file":"TableColumnFormatter.js"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './formatters';
2
2
  export * from './DateUtils';
3
3
  export * from './Formatter';
4
+ export { default as FormatterUtils } from './FormatterUtils';
4
5
  export * from './FormatterUtils';
5
6
  export * from './TableUtils';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC"}
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./formatters/index.js";
2
2
  export * from "./DateUtils.js";
3
3
  export * from "./Formatter.js";
4
+ export { default as FormatterUtils } from "./FormatterUtils.js";
4
5
  export * from "./FormatterUtils.js";
5
6
  export * from "./TableUtils.js";
6
7
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"index.js"}
1
+ {"version":3,"sources":["../src/index.ts"],"names":["default","FormatterUtils"],"mappings":";;;SAGSA,OAAO,IAAIC,c","sourcesContent":["export * from './formatters';\nexport * from './DateUtils';\nexport * from './Formatter';\nexport { default as FormatterUtils } from './FormatterUtils';\nexport * from './FormatterUtils';\nexport * from './TableUtils';\n"],"file":"index.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven/jsapi-utils",
3
- "version": "0.13.3-treemap.2+638dca5",
3
+ "version": "0.14.0",
4
4
  "description": "Deephaven JSAPI Utils",
5
5
  "author": "Deephaven Data Labs LLC",
6
6
  "license": "Apache-2.0",
@@ -27,13 +27,13 @@
27
27
  "start": "cross-env NODE_ENV=development npm run watch"
28
28
  },
29
29
  "dependencies": {
30
- "@deephaven/filters": "^0.13.3-treemap.2+638dca5",
31
- "@deephaven/jsapi-shim": "^0.13.3-treemap.2+638dca5",
32
- "@deephaven/log": "^0.13.3-treemap.2+638dca5",
33
- "@deephaven/utils": "^0.13.3-treemap.2+638dca5"
30
+ "@deephaven/filters": "^0.14.0",
31
+ "@deephaven/jsapi-shim": "^0.14.0",
32
+ "@deephaven/log": "^0.14.0",
33
+ "@deephaven/utils": "^0.14.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@deephaven/tsconfig": "^0.13.3-treemap.2+638dca5"
36
+ "@deephaven/tsconfig": "^0.14.0"
37
37
  },
38
38
  "files": [
39
39
  "dist"
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "638dca59f1a244e8aea4234c5af7a09e472206e1"
44
+ "gitHead": "9f92c76132a89ebc8a59755adcb4c515d02b7191"
45
45
  }