pih-appointment-widget 0.0.38 → 0.0.39
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/README.md +70 -70
- package/babel.config.js +5 -5
- package/dist/App.js +10 -9
- package/dist/components/AppointmentPage.js +87 -62
- package/dist/components/ICD10Assistant.js +43 -46
- package/dist/doctor-appointments-widget.umd.js +115 -119
- package/dist/doctor-appointments-widget.umd.min.js +1 -1
- package/dist/hooks/useClipboard.js +3 -3
- package/dist/pih-appointment-widget.umd.js +185 -191
- package/dist/pih-appointment-widget.umd.min.js +1 -1
- package/dist/services/appointmentService.js +20 -20
- package/dist/services/httpService.js +14 -18
- package/dist/services/icdService.js +21 -23
- package/package.json +67 -67
- package/public/index.html +43 -43
- package/public/manifest.json +25 -25
- package/public/robots.txt +3 -3
- package/rollup.config.js +43 -43
- package/src/App.js +50 -50
- package/src/Example.js +14 -14
- package/src/assets/icons/icdIcons.js +23 -23
- package/src/components/AppointmentPage.js +2502 -2498
- package/src/components/ICD10Assistant.jsx +923 -923
- package/src/constants/apiConfig.js +29 -29
- package/src/hooks/useClipboard.js +35 -35
- package/src/index.js +6 -6
- package/src/services/appointmentService.js +92 -92
- package/src/services/httpService.js +103 -103
- package/src/services/icdService.js +76 -76
package/src/Example.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import AppointmentPage from "./components/AppointmentPage.js";
|
|
2
|
-
import ICD10Assistant from "./components/ICD10Assistant.jsx";
|
|
3
|
-
|
|
4
|
-
const Example = () => {
|
|
5
|
-
return (
|
|
6
|
-
<div>
|
|
7
|
-
<AppointmentPage />
|
|
8
|
-
{/* ICD-10 Coding Assistant — floating pill button, always available */}
|
|
9
|
-
<ICD10Assistant />
|
|
10
|
-
</div>
|
|
11
|
-
);
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export default Example;
|
|
1
|
+
import AppointmentPage from "./components/AppointmentPage.js";
|
|
2
|
+
import ICD10Assistant from "./components/ICD10Assistant.jsx";
|
|
3
|
+
|
|
4
|
+
const Example = () => {
|
|
5
|
+
return (
|
|
6
|
+
<div>
|
|
7
|
+
<AppointmentPage />
|
|
8
|
+
{/* ICD-10 Coding Assistant — floating pill button, always available */}
|
|
9
|
+
<ICD10Assistant />
|
|
10
|
+
</div>
|
|
11
|
+
);
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default Example;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
// ─── Image assets ─────────────────────────────────────────────────────────────
|
|
2
|
-
import icdIconImg from "./icdIcon.png";
|
|
3
|
-
|
|
4
|
-
export const IMG = {
|
|
5
|
-
/** Main ICD-10 Assistant branding icon (floating button + panel header) */
|
|
6
|
-
icdIcon: icdIconImg,
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
// ─── Emoji / text icons ───────────────────────────────────────────────────────
|
|
10
|
-
export const ICON = {
|
|
11
|
-
/** Reason / tip indicator on result cards */
|
|
12
|
-
reason: "💡",
|
|
13
|
-
/** Search history chip prefix */
|
|
14
|
-
history: "🕐",
|
|
15
|
-
/** Footer medical disclaimer */
|
|
16
|
-
medical: "⚕️",
|
|
17
|
-
/** Coding note (currently commented out) */
|
|
18
|
-
codingNote: "📋",
|
|
19
|
-
/** Copy success checkmark */
|
|
20
|
-
copied: "✓",
|
|
21
|
-
/** Copy action */
|
|
22
|
-
copy: "⎘",
|
|
23
|
-
};
|
|
1
|
+
// ─── Image assets ─────────────────────────────────────────────────────────────
|
|
2
|
+
import icdIconImg from "./icdIcon.png";
|
|
3
|
+
|
|
4
|
+
export const IMG = {
|
|
5
|
+
/** Main ICD-10 Assistant branding icon (floating button + panel header) */
|
|
6
|
+
icdIcon: icdIconImg,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
// ─── Emoji / text icons ───────────────────────────────────────────────────────
|
|
10
|
+
export const ICON = {
|
|
11
|
+
/** Reason / tip indicator on result cards */
|
|
12
|
+
reason: "💡",
|
|
13
|
+
/** Search history chip prefix */
|
|
14
|
+
history: "🕐",
|
|
15
|
+
/** Footer medical disclaimer */
|
|
16
|
+
medical: "⚕️",
|
|
17
|
+
/** Coding note (currently commented out) */
|
|
18
|
+
codingNote: "📋",
|
|
19
|
+
/** Copy success checkmark */
|
|
20
|
+
copied: "✓",
|
|
21
|
+
/** Copy action */
|
|
22
|
+
copy: "⎘",
|
|
23
|
+
};
|