@omegagrid/grid 0.10.74 → 0.10.76
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.
package/dist/editors/index.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { BaseEditor } from "./baseEditor";
|
|
2
2
|
import { CellType, EditorFactory } from "@omegagrid/grid-core";
|
|
3
|
+
export * from "./baseEditor";
|
|
4
|
+
export * from "./checkboxEditor";
|
|
5
|
+
export * from "./numberEditor";
|
|
6
|
+
export * from "./textEditor";
|
|
7
|
+
export * from "./dropdownEditor";
|
|
8
|
+
export * from "./dateEditor";
|
|
9
|
+
export * from "./calendarEditor";
|
|
3
10
|
export * from "./formulaEditor";
|
|
4
11
|
export type GridEditorFactory = EditorFactory<BaseEditor>;
|
|
5
12
|
export declare function getEditorFactory(type: CellType): GridEditorFactory;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/editors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO1C,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE/D,cAAc,iBAAiB,CAAC;AAEhC,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC;AAW1D,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,QAAQ,GAAI,iBAAiB,CAEnE"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/editors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO1C,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE/D,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAEhC,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC;AAW1D,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,QAAQ,GAAI,iBAAiB,CAEnE"}
|
package/dist/editors/index.js
CHANGED
|
@@ -4,6 +4,13 @@ import { TextEditor } from "./textEditor";
|
|
|
4
4
|
import { DropdownEditor } from "./dropdownEditor";
|
|
5
5
|
import { DateEditor } from "./dateEditor";
|
|
6
6
|
import { CalendarEditor } from "./calendarEditor";
|
|
7
|
+
export * from "./baseEditor";
|
|
8
|
+
export * from "./checkboxEditor";
|
|
9
|
+
export * from "./numberEditor";
|
|
10
|
+
export * from "./textEditor";
|
|
11
|
+
export * from "./dropdownEditor";
|
|
12
|
+
export * from "./dateEditor";
|
|
13
|
+
export * from "./calendarEditor";
|
|
7
14
|
export * from "./formulaEditor";
|
|
8
15
|
const editorMap = new Map([
|
|
9
16
|
['t', () => new TextEditor()],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/editors/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,cAAc,iBAAiB,CAAC;AAIhC,MAAM,SAAS,GAAG,IAAI,GAAG,CAA8B;IACtD,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,IAAI,UAAU,EAAE,CAAC;IAC7B,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,IAAI,YAAY,EAAE,CAAC;IAC/B,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,IAAI,cAAc,EAAE,CAAC;IACjC,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,IAAI,cAAc,EAAE,CAAC;IACjC,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,IAAI,cAAc,EAAE,CAAC;IACjC,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,IAAI,cAAc,EAAE,CAAC,CAAC,CAAC,IAAI,UAAU,EAAE,CAAC;CAChG,CAAC,CAAC;AAEH,MAAM,UAAU,gBAAgB,CAAC,IAAc;IAC9C,OAAO,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAE,CAAC;AACzD,CAAC","sourcesContent":["import { BaseEditor } from \"./baseEditor\";\nimport { CheckboxEditor } from \"./checkboxEditor\";\nimport { NumberEditor } from \"./numberEditor\";\nimport { TextEditor } from \"./textEditor\";\nimport { DropdownEditor } from \"./dropdownEditor\";\nimport { DateEditor } from \"./dateEditor\";\nimport { CalendarEditor } from \"./calendarEditor\";\nimport { CellType, EditorFactory } from \"@omegagrid/grid-core\";\n\nexport * from \"./formulaEditor\";\n\nexport type GridEditorFactory = EditorFactory<BaseEditor>;\n\nconst editorMap = new Map<CellType, GridEditorFactory>([\n\t['t', () => new TextEditor()],\n\t['n', () => new NumberEditor()],\n\t['b', () => new CheckboxEditor()],\n\t['s', () => new DropdownEditor()],\n\t['m', () => new DropdownEditor()],\n\t['d', (_cell, options) => options?.dateCalendarEditor ? new CalendarEditor() : new DateEditor()],\n]);\n\nexport function getEditorFactory(type: CellType) : GridEditorFactory {\n\treturn editorMap.get(editorMap.has(type) ? type : 't')!;\n}"]}
|
|
1
|
+
{"version":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I,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAE,CAAC;AACzD,CAAC","sourcesContent":["import { BaseEditor } from \"./baseEditor\";\nimport { CheckboxEditor } from \"./checkboxEditor\";\nimport { NumberEditor } from \"./numberEditor\";\nimport { TextEditor } from \"./textEditor\";\nimport { DropdownEditor } from \"./dropdownEditor\";\nimport { DateEditor } from \"./dateEditor\";\nimport { CalendarEditor } from \"./calendarEditor\";\nimport { CellType, EditorFactory } from \"@omegagrid/grid-core\";\n\nexport * from \"./baseEditor\";\nexport * from \"./checkboxEditor\";\nexport * from \"./numberEditor\";\nexport * from \"./textEditor\";\nexport * from \"./dropdownEditor\";\nexport * from \"./dateEditor\";\nexport * from \"./calendarEditor\";\nexport * from \"./formulaEditor\";\n\nexport type GridEditorFactory = EditorFactory<BaseEditor>;\n\nconst editorMap = new Map<CellType, GridEditorFactory>([\n\t['t', () => new TextEditor()],\n\t['n', () => new NumberEditor()],\n\t['b', () => new CheckboxEditor()],\n\t['s', () => new DropdownEditor()],\n\t['m', () => new DropdownEditor()],\n\t['d', (_cell, options) => options?.dateCalendarEditor ? new CalendarEditor() : new DateEditor()],\n]);\n\nexport function getEditorFactory(type: CellType) : GridEditorFactory {\n\treturn editorMap.get(editorMap.has(type) ? type : 't')!;\n}"]}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AAEzC,cAAc,YAAY,CAAC;AAC3B,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AAEzC,cAAc,YAAY,CAAC;AAC3B,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC","sourcesContent":["export * as renderers from './renderers';\nimport * as editors from './editors';\nexport * from './commands';\nexport * from './ui';\nexport * from './types';\nexport * from './gridAdapter';\nexport * from '@omegagrid/grid-core';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omegagrid/grid",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.76",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "Universal datagrid component",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"_prepublish": "yarn test && yarn lint"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@omegagrid/commands": "^0.10.
|
|
39
|
-
"@omegagrid/core": "^0.10.
|
|
40
|
-
"@omegagrid/grid-core": "^0.10.
|
|
41
|
-
"@omegagrid/localize": "^0.10.
|
|
42
|
-
"@omegagrid/tabs": "^0.10.
|
|
43
|
-
"@omegagrid/tree": "^0.10.
|
|
38
|
+
"@omegagrid/commands": "^0.10.76",
|
|
39
|
+
"@omegagrid/core": "^0.10.76",
|
|
40
|
+
"@omegagrid/grid-core": "^0.10.76",
|
|
41
|
+
"@omegagrid/localize": "^0.10.76",
|
|
42
|
+
"@omegagrid/tabs": "^0.10.76",
|
|
43
|
+
"@omegagrid/tree": "^0.10.76",
|
|
44
44
|
"@stdlib/stats": "^0.0.13",
|
|
45
45
|
"date-fns": "^3.2.0",
|
|
46
46
|
"lit": "^3.1.1",
|