@egen-civitas/esm-framework 2.0.0 → 3.0.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/CHANGELOG.md +52 -0
- package/mock-jest.tsx +0 -15
- package/mock.tsx +0 -15
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
# @egen-civitas/esm-framework
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 159db44: Framework généraliste : suppression de la couche clinique héritée d'un autre projet (patients, FHIR, santé).
|
|
8
|
+
|
|
9
|
+
Retirés :
|
|
10
|
+
- `esm-styleguide` : `EntityBanner*`, `EntityPhoto`/`useEntityPhoto`, `NumericDataPoint`, 17 pictogrammes de départements hospitaliers (labo, pharmacie, cardiologie, radio, triage, patients…) et 15 icônes cliniques (seringue, lit d'hôpital, ordres médicaux…), clés de config `entityPhotoConceptUuid`, `contactAttributeTypes`, `excludeEntityIdentifierCodeTypes`.
|
|
11
|
+
- `esm-react-utils` : `useEntity`, `usePrimaryIdentifierResource`, `useFhirFetchAll`, `useFhirInfinite`, `useFhirPagination` (utiliser `useEgenFetchAll`, `useEgenInfinite`, `useEgenPagination`).
|
|
12
|
+
- `esm-data-api` : `getCurrentEntity`/`CurrentEntity`, types FHIR (`FHIRResource`, `FHIRCode`, `fhir.*`), `Task`, `CatalogItem` ; `DataPoint` et `Classification` utilisent `ReferenceTerm` au lieu de `Concept`.
|
|
13
|
+
- `esm-api` : types `Concept*` remplacés par `ReferenceTerm` ; champs cliniques de `Person` (décès).
|
|
14
|
+
- `esm-config` : types `ConceptUuid`, `PersonAttributeTypeUuid`, `EntityIdentifierTypeUuid`.
|
|
15
|
+
- `esm-utils` : `getEntityName`, `formatEntityName`, `selectPreferredName` (noms FHIR) ; `esm-globals` : `NameUse`.
|
|
16
|
+
- Dépendance `@types/fhir` retirée.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [75af6f5]
|
|
21
|
+
- Updated dependencies [cf941e7]
|
|
22
|
+
- Updated dependencies [fc70c70]
|
|
23
|
+
- Updated dependencies [4c84714]
|
|
24
|
+
- Updated dependencies [8a39e13]
|
|
25
|
+
- Updated dependencies [159db44]
|
|
26
|
+
- @egen-civitas/esm-styleguide@3.0.0
|
|
27
|
+
- @egen-civitas/esm-extensions@2.1.0
|
|
28
|
+
- @egen-civitas/esm-routes@1.1.0
|
|
29
|
+
- @egen-civitas/esm-api@2.0.0
|
|
30
|
+
- @egen-civitas/esm-data-api@2.0.0
|
|
31
|
+
- @egen-civitas/esm-config@2.0.0
|
|
32
|
+
- @egen-civitas/esm-react-utils@3.0.0
|
|
33
|
+
- @egen-civitas/esm-utils@2.0.0
|
|
34
|
+
- @egen-civitas/esm-globals@2.0.0
|
|
35
|
+
- @egen-civitas/esm-translations@1.0.3
|
|
36
|
+
- @egen-civitas/esm-ai-framework@1.3.3
|
|
37
|
+
- @egen-civitas/esm-offline@1.0.3
|
|
38
|
+
- @egen-civitas/esm-state@1.0.3
|
|
39
|
+
- @egen-civitas/esm-context@1.0.2
|
|
40
|
+
- @egen-civitas/esm-dynamic-loading@2.0.1
|
|
41
|
+
- @egen-civitas/esm-error-handling@1.0.2
|
|
42
|
+
- @egen-civitas/esm-feature-flags@1.0.2
|
|
43
|
+
|
|
44
|
+
## 2.1.0
|
|
45
|
+
|
|
46
|
+
### Minor Changes
|
|
47
|
+
|
|
48
|
+
- d5c883a: Zones : l'en-tête expose un emplacement d'actions entre le titre et le bouton de fermeture, alimenté par le composant `ToolWindowHeader` (portail) depuis le contenu d'une fenêtre d'outils. Rendu sur place hors zone.
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- Updated dependencies [d5c883a]
|
|
53
|
+
- @egen-civitas/esm-styleguide@2.1.0
|
|
54
|
+
|
|
3
55
|
## 2.0.0
|
|
4
56
|
|
|
5
57
|
### Major Changes
|
package/mock-jest.tsx
CHANGED
|
@@ -92,19 +92,6 @@ export const CustomOverflowMenuItem = jest.fn(({ itemText, ...props }) => (
|
|
|
92
92
|
{itemText}
|
|
93
93
|
</button>
|
|
94
94
|
));
|
|
95
|
-
export const EntityBannerActionsMenu = jest.fn(() => <div>Entity Banner Actions Menu</div>);
|
|
96
|
-
export const EntityBannerContactDetails = jest.fn(() => <div>Entity Banner Contact Details</div>);
|
|
97
|
-
export const EntityBannerEntityInfo = jest.fn(() => <div>Entity Banner Entity Info</div>);
|
|
98
|
-
export const EntityBannerEntityIdentifiers = jest.fn(() => <div>Entity Banner Entity Identifier</div>);
|
|
99
|
-
export const EntityBannerToggleContactDetailsButton = jest.fn(() => (
|
|
100
|
-
<div>Entity Banner Toggle Contact Details Button</div>
|
|
101
|
-
));
|
|
102
|
-
export const EntityPhoto = jest.fn(() => <div>Entity Photo</div>);
|
|
103
|
-
export const useEntityPhoto = jest.fn(() => ({
|
|
104
|
-
isLoading: true,
|
|
105
|
-
data: null,
|
|
106
|
-
error: null,
|
|
107
|
-
}));
|
|
108
95
|
|
|
109
96
|
export const ActionMenuButton = jest.fn(({ handler }) => <button onClick={handler}>Action Menu Button</button>);
|
|
110
97
|
export const ActionMenuButton2 = jest.fn(({ label, tagContent, icon }) => (
|
|
@@ -170,8 +157,6 @@ export const EgenDateRangePicker = jest.fn(({ id, labelText, value = [], onChang
|
|
|
170
157
|
/* esm-utils */
|
|
171
158
|
export {
|
|
172
159
|
getDefaultsFromConfigSchema,
|
|
173
|
-
getEntityName,
|
|
174
|
-
formatEntityName,
|
|
175
160
|
selectPreferredName,
|
|
176
161
|
} from '@egen-civitas/esm-utils';
|
|
177
162
|
|
package/mock.tsx
CHANGED
|
@@ -93,19 +93,6 @@ export const CustomOverflowMenuItem = vi.fn(({ itemText, ...props }) => (
|
|
|
93
93
|
{itemText}
|
|
94
94
|
</button>
|
|
95
95
|
));
|
|
96
|
-
export const EntityBannerActionsMenu = vi.fn(() => <div>Entity Banner Actions Menu</div>);
|
|
97
|
-
export const EntityBannerContactDetails = vi.fn(() => <div>Entity Banner Contact Details</div>);
|
|
98
|
-
export const EntityBannerEntityInfo = vi.fn(() => <div>Entity Banner Entity Info</div>);
|
|
99
|
-
export const EntityBannerEntityIdentifiers = vi.fn(() => <div>Entity Banner Entity Identifier</div>);
|
|
100
|
-
export const EntityBannerToggleContactDetailsButton = vi.fn(() => (
|
|
101
|
-
<div>Entity Banner Toggle Contact Details Button</div>
|
|
102
|
-
));
|
|
103
|
-
export const EntityPhoto = vi.fn(() => <div>Entity Photo</div>);
|
|
104
|
-
export const useEntityPhoto = vi.fn(() => ({
|
|
105
|
-
isLoading: true,
|
|
106
|
-
data: null,
|
|
107
|
-
error: null,
|
|
108
|
-
}));
|
|
109
96
|
|
|
110
97
|
export const ActionMenuButton = vi.fn(({ handler }) => <button onClick={handler}>Action Menu Button</button>);
|
|
111
98
|
export const ActionMenuButton2 = vi.fn(({ label, tagContent, icon }) => (
|
|
@@ -171,8 +158,6 @@ export const EgenDateRangePicker = vi.fn(({ id, labelText, value = [], onChange,
|
|
|
171
158
|
/* esm-utils */
|
|
172
159
|
export {
|
|
173
160
|
getDefaultsFromConfigSchema,
|
|
174
|
-
getEntityName,
|
|
175
|
-
formatEntityName,
|
|
176
161
|
selectPreferredName,
|
|
177
162
|
} from '@egen-civitas/esm-utils';
|
|
178
163
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egen-civitas/esm-framework",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -66,26 +66,26 @@
|
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@egen-civitas/esm-ai-framework": "^1.
|
|
70
|
-
"@egen-civitas/esm-api": "^
|
|
71
|
-
"@egen-civitas/esm-config": "^
|
|
72
|
-
"@egen-civitas/esm-context": "^1.0.
|
|
73
|
-
"@egen-civitas/esm-data-api": "^
|
|
74
|
-
"@egen-civitas/esm-dynamic-loading": "^2.0.
|
|
75
|
-
"@egen-civitas/esm-error-handling": "^1.0.
|
|
69
|
+
"@egen-civitas/esm-ai-framework": "^1.3.3",
|
|
70
|
+
"@egen-civitas/esm-api": "^2.0.0",
|
|
71
|
+
"@egen-civitas/esm-config": "^2.0.0",
|
|
72
|
+
"@egen-civitas/esm-context": "^1.0.2",
|
|
73
|
+
"@egen-civitas/esm-data-api": "^2.0.0",
|
|
74
|
+
"@egen-civitas/esm-dynamic-loading": "^2.0.1",
|
|
75
|
+
"@egen-civitas/esm-error-handling": "^1.0.2",
|
|
76
76
|
"@egen-civitas/esm-expression-evaluator": "^1.0.0",
|
|
77
|
-
"@egen-civitas/esm-extensions": "^2.
|
|
78
|
-
"@egen-civitas/esm-feature-flags": "^1.0.
|
|
79
|
-
"@egen-civitas/esm-globals": "^
|
|
77
|
+
"@egen-civitas/esm-extensions": "^2.1.0",
|
|
78
|
+
"@egen-civitas/esm-feature-flags": "^1.0.2",
|
|
79
|
+
"@egen-civitas/esm-globals": "^2.0.0",
|
|
80
80
|
"@egen-civitas/esm-navigation": "^1.0.0",
|
|
81
|
-
"@egen-civitas/esm-offline": "^1.0.
|
|
82
|
-
"@egen-civitas/esm-react-utils": "^
|
|
83
|
-
"@egen-civitas/esm-routes": "^1.0
|
|
84
|
-
"@egen-civitas/esm-state": "^1.0.
|
|
85
|
-
"@egen-civitas/esm-styleguide": "^
|
|
81
|
+
"@egen-civitas/esm-offline": "^1.0.3",
|
|
82
|
+
"@egen-civitas/esm-react-utils": "^3.0.0",
|
|
83
|
+
"@egen-civitas/esm-routes": "^1.1.0",
|
|
84
|
+
"@egen-civitas/esm-state": "^1.0.3",
|
|
85
|
+
"@egen-civitas/esm-styleguide": "^3.0.0",
|
|
86
86
|
"@egen-civitas/esm-tenant": "^1.0.0",
|
|
87
|
-
"@egen-civitas/esm-translations": "^1.0.
|
|
88
|
-
"@egen-civitas/esm-utils": "^
|
|
87
|
+
"@egen-civitas/esm-translations": "^1.0.3",
|
|
88
|
+
"@egen-civitas/esm-utils": "^2.0.0"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"dayjs": "1.x",
|