hplx-feature-library 1.0.100 → 1.0.101

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.
Files changed (56) hide show
  1. package/dist/Attachments/Attachments.d.ts +26 -0
  2. package/dist/Attachments/components/AttachmentPreviewPopup.d.ts +2 -0
  3. package/dist/Attachments/components/ImagePreview.d.ts +4 -0
  4. package/dist/Attachments/components/VideoPreview.d.ts +4 -0
  5. package/dist/Attachments/components/attachments-header.d.ts +12 -0
  6. package/dist/Attachments/components/compare-mode-bar.d.ts +3 -0
  7. package/dist/Attachments/components/document-canvas/KonvaDrawingCanvas.d.ts +7 -0
  8. package/dist/Attachments/components/document-canvas/document-color-options.d.ts +2 -0
  9. package/dist/Attachments/components/document-canvas/document-pen-tool.d.ts +2 -0
  10. package/dist/Attachments/components/document-canvas/document-tool-shape.d.ts +2 -0
  11. package/dist/Attachments/components/document-canvas/index.d.ts +7 -0
  12. package/dist/Attachments/components/document-compare/document-compare-header.d.ts +7 -0
  13. package/dist/Attachments/components/document-compare/document-compare-images.d.ts +5 -0
  14. package/dist/Attachments/components/document-compare/index.d.ts +2 -0
  15. package/dist/Attachments/components/document-container.d.ts +10 -0
  16. package/dist/Attachments/components/document-image-view.d.ts +7 -0
  17. package/dist/Attachments/components/document-preview/document-image-pane.d.ts +8 -0
  18. package/dist/Attachments/components/document-preview/index.d.ts +2 -0
  19. package/dist/Attachments/components/document-preview/preview-side-pane.d.ts +10 -0
  20. package/dist/Attachments/components/document-view/document-view-grid.d.ts +10 -0
  21. package/dist/Attachments/components/document-view/documet-view-date.d.ts +10 -0
  22. package/dist/Attachments/components/drag-drop-container.d.ts +9 -0
  23. package/dist/Attachments/components/drag-drop-overlay.d.ts +6 -0
  24. package/dist/Attachments/components/edit-document-modal.d.ts +9 -0
  25. package/dist/Attachments/components/more-dropdown.d.ts +10 -0
  26. package/dist/Attachments/constants/index.d.ts +15 -0
  27. package/dist/Attachments/context/index.d.ts +3 -0
  28. package/dist/Attachments/hooks/useAttachmentContext.d.ts +2 -0
  29. package/dist/Attachments/hooks/useCompareContext.d.ts +2 -0
  30. package/dist/Attachments/hooks/useDragAndDrop.d.ts +16 -0
  31. package/dist/Attachments/hooks/useDropdownPosition.d.ts +15 -0
  32. package/dist/Attachments/index.d.ts +1 -0
  33. package/dist/Attachments/index.js +24978 -0
  34. package/dist/Attachments/store/document-store.d.ts +20 -0
  35. package/dist/Attachments/store/pen-tools.store.d.ts +14 -0
  36. package/dist/Attachments/utils/fileValidation.d.ts +15 -0
  37. package/dist/Attachments/utils/index.d.ts +4 -0
  38. package/dist/CameraCapture/index.d.ts +7 -0
  39. package/dist/CameraCapture/utils/index.d.ts +2 -0
  40. package/dist/PediatricsCalculator/index.js +1 -1
  41. package/dist/PediatricsCalculatorTable-BSfspmzA.cjs +40 -0
  42. package/dist/PediatricsCalculatorTable-CEIcs8fu.js +2163 -0
  43. package/dist/common/components/CustomLoader/index.d.ts +2 -0
  44. package/dist/common/components/HxSvgIcons/index.d.ts +9 -0
  45. package/dist/common/components/ReusableModal/ReusableModal.d.ts +13 -0
  46. package/dist/common/hooks/useInfiniteScroll.d.ts +8 -0
  47. package/dist/constants/AttachmentConstants/index.js +35 -0
  48. package/dist/hplx-feature-library.css +1 -1
  49. package/dist/index.js +1 -1
  50. package/dist/types/AttachmentTypes/index.js +9 -0
  51. package/dist/types/AttachmentsTypes.d.ts +119 -0
  52. package/dist/useOutsideClick-DDF4hEI5.js +6684 -0
  53. package/dist/useOutsideClick-t7zJNned.cjs +84 -0
  54. package/package.json +31 -6
  55. package/dist/PediatricsCalculatorTable-B5jYAJ6N.cjs +0 -124
  56. package/dist/PediatricsCalculatorTable-Ca-lFjJ8.js +0 -11456
package/package.json CHANGED
@@ -1,16 +1,24 @@
1
1
  {
2
2
  "name": "hplx-feature-library",
3
3
  "private": false,
4
- "version": "1.0.100",
4
+ "version": "1.0.101",
5
5
  "type": "module",
6
6
  "scripts": {
7
- "dev": "vite",
7
+ "dev": "npm i hplx-react-elements-dev@qa && vite",
8
8
  "lint:fix": "eslint ./lib --quiet --fix",
9
9
  "lint:format": "eslint --fix",
10
10
  "lint": "eslint . --report-unused-disable-directives --max-warnings 0",
11
- "prebuild": "rm -rf dist",
11
+ "prebuild:qa": "npm i hplx-react-elements-dev@qa && rm -rf dist",
12
+ "prebuild:preprod": "npm i hplx-react-elements-dev@preprod && rm -rf dist",
13
+ "prebuild:preprod-blue": "npm i hplx-react-elements-dev@preprod-blue && rm -rf dist",
14
+ "prebuild:blue": "npm i hplx-react-elements-dev@blue && rm -rf dist",
15
+ "prebuild": "npm i hplx-react-elements-dev@latest && rm -rf dist",
12
16
  "prebuild:validate": "npm run lint",
13
- "build": "npm run prebuild:validate && tsc && vite build",
17
+ "build": "npm run prebuild && npm run prebuild:validate && tsc && vite build",
18
+ "build:qa": "npm run prebuild:qa && npm run prebuild:validate && tsc && vite build",
19
+ "build:preprod": "npm run prebuild:preprod && npm run prebuild:validate && tsc && vite build",
20
+ "build:preprod:blue": "npm run prebuild:preprod-blue && npm run prebuild:validate && tsc && vite build",
21
+ "build:blue": "npm run prebuild:blue && npm run prebuild:validate && tsc && vite build",
14
22
  "build:esm": "rm -rf dist/ && tsc && vite build",
15
23
  "format": "prettier --write ./lib",
16
24
  "preview": "vite preview",
@@ -42,16 +50,32 @@
42
50
  "./Constants/PediatricsCalculatorConstants": {
43
51
  "import": "./dist/constants/PediatricsCalculatorConstants/index.js",
44
52
  "types": "./dist/constants/PediatricsCalculatorConstants.d.ts"
53
+ },
54
+ "./Attachments": {
55
+ "import": "./dist/Attachments/index.js",
56
+ "types": "./dist/Attachments/index.d.ts"
57
+ },
58
+ "./Types/AttachmentTypes": {
59
+ "import": "./dist/types/AttachmentTypes/index.js",
60
+ "types": "./dist/types/AttachmentTypes.d.ts"
61
+ },
62
+ "./Constants/AttachmentConstants": {
63
+ "import": "./dist/constants/AttachmentConstants/index.js",
64
+ "types": "./dist/constants/AttachmentConstants.d.ts"
45
65
  }
46
66
  },
47
67
  "dependencies": {
68
+ "date-fns": "^4.1.0",
48
69
  "hplx-font-icons": "^2.20.0",
49
- "hplx-react-elements-dev": "1.3.54",
70
+ "hplx-react-elements-dev": "^1.3.95",
71
+ "konva": "^9.3.22",
50
72
  "lodash.debounce": "^4.0.8",
51
73
  "nanoid": "^5.1.5",
52
74
  "react": "^18.3.1",
53
75
  "react-dom": "^18.3.1",
54
- "react-modal": "^3.16.3"
76
+ "react-konva": "^18.2.12",
77
+ "swr": "^2.3.4",
78
+ "zustand": "^5.0.6"
55
79
  },
56
80
  "peerDependencies": {
57
81
  "hplx-font-icons": "^2.20.0",
@@ -67,6 +91,7 @@
67
91
  "@types/react-modal": "^3.16.3",
68
92
  "@vitejs/plugin-react": "^4.5.2",
69
93
  "autoprefixer": "^10.4.21",
94
+ "axios": "^1.11.0",
70
95
  "eslint": "^9.29.0",
71
96
  "eslint-config-prettier": "^10.1.5",
72
97
  "eslint-plugin-import": "^2.32.0",