@moa1h/react-advanced-odontogram 0.0.0-stage → 2.8.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.
- package/LICENSE +21 -0
- package/README.md +175 -3
- package/THIRD-PARTY-NOTICES.md +211 -0
- package/dist/ar-BRtIm0sw.js +1011 -0
- package/dist/ar-BRtIm0sw.js.map +1 -0
- package/dist/index.d.ts +2131 -0
- package/dist/loader-DFvzjYP1.js +79 -0
- package/dist/loader-DFvzjYP1.js.map +1 -0
- package/dist/measured-D4LRLicF.js +19928 -0
- package/dist/measured-D4LRLicF.js.map +1 -0
- package/dist/notoArabic-En58EmGw.js +9 -0
- package/dist/notoArabic-En58EmGw.js.map +1 -0
- package/dist/odontogram.js +19011 -0
- package/dist/odontogram.js.map +1 -0
- package/dist/roboto-Bywi16HJ.js +9 -0
- package/dist/roboto-Bywi16HJ.js.map +1 -0
- package/dist/style.css +1 -0
- package/package.json +111 -6
- package/tooth-settings.json +113 -0
package/package.json
CHANGED
|
@@ -1,6 +1,111 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@moa1h/react-advanced-odontogram",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@moa1h/react-advanced-odontogram",
|
|
3
|
+
"version": "2.8.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "Interactive, SVG-based dental odontogram (dental chart) for React + TypeScript, with per-tooth charting settings and JSON state export.",
|
|
7
|
+
"author": "Zoltán Dul",
|
|
8
|
+
"homepage": "https://react-advanced-odontogram.vercel.app/",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/ZoliQua/React-Advanced-Odontogram.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/ZoliQua/React-Advanced-Odontogram/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"odontogram",
|
|
18
|
+
"dental-chart",
|
|
19
|
+
"dental-charting",
|
|
20
|
+
"dentistry",
|
|
21
|
+
"dental-records",
|
|
22
|
+
"react",
|
|
23
|
+
"typescript",
|
|
24
|
+
"svg",
|
|
25
|
+
"fhir",
|
|
26
|
+
"icdas"
|
|
27
|
+
],
|
|
28
|
+
"sideEffects": [
|
|
29
|
+
"**/*.css"
|
|
30
|
+
],
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist",
|
|
36
|
+
"tooth-settings.json",
|
|
37
|
+
"THIRD-PARTY-NOTICES.md"
|
|
38
|
+
],
|
|
39
|
+
"main": "./dist/odontogram.js",
|
|
40
|
+
"module": "./dist/odontogram.js",
|
|
41
|
+
"types": "./dist/index.d.ts",
|
|
42
|
+
"exports": {
|
|
43
|
+
".": {
|
|
44
|
+
"types": "./dist/index.d.ts",
|
|
45
|
+
"import": "./dist/odontogram.js"
|
|
46
|
+
},
|
|
47
|
+
"./controls": {
|
|
48
|
+
"types": "./dist/index.d.ts",
|
|
49
|
+
"import": "./dist/odontogram.js"
|
|
50
|
+
},
|
|
51
|
+
"./tooth-settings.json": "./tooth-settings.json",
|
|
52
|
+
"./style.css": "./dist/style.css"
|
|
53
|
+
},
|
|
54
|
+
"engines": {
|
|
55
|
+
"node": ">=20.19.0"
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"dev": "vite",
|
|
59
|
+
"build": "tsc -b && vite build",
|
|
60
|
+
"build:lib": "vite build --config vite.lib.config.ts",
|
|
61
|
+
"lint": "eslint .",
|
|
62
|
+
"preview": "vite preview",
|
|
63
|
+
"test": "vitest run",
|
|
64
|
+
"test:watch": "vitest",
|
|
65
|
+
"test:coverage": "vitest run --coverage",
|
|
66
|
+
"parity:capture": "PARITY_CAPTURE=1 vitest run src/__tests__/parity/capture.test.ts",
|
|
67
|
+
"docs": "typedoc",
|
|
68
|
+
"prepublishOnly": "npm run build:lib",
|
|
69
|
+
"fhir:codesystem": "FHIR_CODESYSTEM_WRITE=1 vitest run src/__tests__/fhir-codesystem.test.ts src/__tests__/fhir-valuesets.test.ts",
|
|
70
|
+
"test:e2e": "playwright test"
|
|
71
|
+
},
|
|
72
|
+
"peerDependencies": {
|
|
73
|
+
"react": "^18 || ^19",
|
|
74
|
+
"react-dom": "^18 || ^19"
|
|
75
|
+
},
|
|
76
|
+
"dependencies": {
|
|
77
|
+
"dompurify": "^3.4.16",
|
|
78
|
+
"jspdf": "^4.2.1"
|
|
79
|
+
},
|
|
80
|
+
"devDependencies": {
|
|
81
|
+
"@eslint/js": "^9.39.2",
|
|
82
|
+
"@microsoft/api-extractor": "^7.58.12",
|
|
83
|
+
"@playwright/test": "^1.63.0",
|
|
84
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
85
|
+
"@testing-library/react": "^16.3.2",
|
|
86
|
+
"@types/fhir": "^0.0.44",
|
|
87
|
+
"@types/jsdom": "^28.0.0",
|
|
88
|
+
"@types/react": "^18.3.3",
|
|
89
|
+
"@types/react-dom": "^18.3.0",
|
|
90
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
91
|
+
"autoprefixer": "^10.4.20",
|
|
92
|
+
"eslint": "^9.39.2",
|
|
93
|
+
"eslint-plugin-react": "^7.37.5",
|
|
94
|
+
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
|
|
95
|
+
"eslint-plugin-react-refresh": "^0.4.9",
|
|
96
|
+
"gh-pages": "^6.3.0",
|
|
97
|
+
"globals": "^15.15.0",
|
|
98
|
+
"jiti": "^2.6.1",
|
|
99
|
+
"jsdom": "^28.1.0",
|
|
100
|
+
"postcss": "^8.4.45",
|
|
101
|
+
"react": "^18.3.1",
|
|
102
|
+
"react-dom": "^18.3.1",
|
|
103
|
+
"tailwindcss": "^3.4.10",
|
|
104
|
+
"typedoc": "^0.28.17",
|
|
105
|
+
"typescript": "^5.5.3",
|
|
106
|
+
"typescript-eslint": "^8.53.1",
|
|
107
|
+
"vite": "^7.3.1",
|
|
108
|
+
"vite-plugin-dts": "^5.0.3",
|
|
109
|
+
"vitest": "^4.0.18"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"numberingSystem": "FDI",
|
|
4
|
+
"teeth": {
|
|
5
|
+
"permanent": [
|
|
6
|
+
18, 17, 16, 15, 14, 13, 12, 11,
|
|
7
|
+
21, 22, 23, 24, 25, 26, 27, 28,
|
|
8
|
+
48, 47, 46, 45, 44, 43, 42, 41,
|
|
9
|
+
31, 32, 33, 34, 35, 36, 37, 38
|
|
10
|
+
],
|
|
11
|
+
"primary": [
|
|
12
|
+
55, 54, 53, 52, 51,
|
|
13
|
+
61, 62, 63, 64, 65,
|
|
14
|
+
85, 84, 83, 82, 81,
|
|
15
|
+
71, 72, 73, 74, 75
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"settings": {
|
|
19
|
+
"toothSelection": {
|
|
20
|
+
"type": "enum",
|
|
21
|
+
"options": ["none", "tooth-base", "milktooth", "implant", "tooth-under-gum"]
|
|
22
|
+
},
|
|
23
|
+
"toothSubstrate": {
|
|
24
|
+
"type": "enum",
|
|
25
|
+
"options": ["natural", "radix", "broken", "crownprep"]
|
|
26
|
+
},
|
|
27
|
+
"caries": {
|
|
28
|
+
"type": "surfaceSet",
|
|
29
|
+
"options": [
|
|
30
|
+
"caries-subcrown",
|
|
31
|
+
"caries-buccal",
|
|
32
|
+
"caries-lingual",
|
|
33
|
+
"caries-mesial",
|
|
34
|
+
"caries-distal",
|
|
35
|
+
"caries-occlusal"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"cariesSeverity": {
|
|
39
|
+
"type": "surfaceMap",
|
|
40
|
+
"surfaces": ["buccal", "lingual", "mesial", "distal", "occlusal"],
|
|
41
|
+
"values": [0, 1, 2, 3, 4, 5, 6]
|
|
42
|
+
},
|
|
43
|
+
"rootCaries": {
|
|
44
|
+
"type": "enum",
|
|
45
|
+
"options": ["none", "active", "arrested", "active-cavitated"]
|
|
46
|
+
},
|
|
47
|
+
"restoration": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"fields": ["restorationType", "restorationMaterial", "fillingSurfaceMaterials", "fissureSealing", "fillingDefect"]
|
|
50
|
+
},
|
|
51
|
+
"pulpAndApicalDiagnosis": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"fields": ["endo", "pulpDx", "pulpLatin", "apicalDx", "periapicalType", "resorptionType", "endoResection"]
|
|
54
|
+
},
|
|
55
|
+
"orthodontics": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"fields": ["orthoAppliance", "orthoDrift", "orthoVertical", "orthoRotation"]
|
|
58
|
+
},
|
|
59
|
+
"toothDetails": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"fields": [
|
|
62
|
+
"prosthesis",
|
|
63
|
+
"mobility",
|
|
64
|
+
"wearEdge",
|
|
65
|
+
"wearCervical",
|
|
66
|
+
"discoloration",
|
|
67
|
+
"brokenMesial",
|
|
68
|
+
"brokenIncisal",
|
|
69
|
+
"brokenDistal",
|
|
70
|
+
"contactMesial",
|
|
71
|
+
"contactDistal",
|
|
72
|
+
"extractionWound",
|
|
73
|
+
"extractionPlan",
|
|
74
|
+
"missingClosed",
|
|
75
|
+
"bridgePillar",
|
|
76
|
+
"crownLeakage",
|
|
77
|
+
"crownReplace",
|
|
78
|
+
"crownNeeded",
|
|
79
|
+
"parapulpalPin"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"periodontalFindings": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"fields": [
|
|
85
|
+
"calculus",
|
|
86
|
+
"mods",
|
|
87
|
+
"periImplant",
|
|
88
|
+
"cejVisibility",
|
|
89
|
+
"rootConcavity",
|
|
90
|
+
"gingivalThickness",
|
|
91
|
+
"millerClass",
|
|
92
|
+
"perio"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"diagnoses": {
|
|
96
|
+
"type": "map",
|
|
97
|
+
"field": "dxOverrides"
|
|
98
|
+
},
|
|
99
|
+
"notesAndExtensions": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"fields": ["note", "customStates"]
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"availability": {
|
|
105
|
+
"sharedByAllTeeth": true,
|
|
106
|
+
"surfaces": ["buccal", "lingual", "mesial", "distal", "occlusal"],
|
|
107
|
+
"conditionalFields": {
|
|
108
|
+
"periImplant": "implant teeth",
|
|
109
|
+
"perio": "periodontal charting data",
|
|
110
|
+
"cariesSeverity": "surface-specific; supported values are 0 through 6"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|