@openmrs/esm-framework 4.0.0-pre.0 → 4.0.0-pre.1

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 (33) hide show
  1. package/.turbo/turbo-build.log +19 -18
  2. package/.turbo/turbo-lint.log +1 -1
  3. package/.turbo/turbo-test.log +451 -451
  4. package/.turbo/turbo-typescript.log +2 -2
  5. package/dist/openmrs-esm-framework.js +1 -1
  6. package/dist/openmrs-esm-framework.js.LICENSE.txt +13 -0
  7. package/dist/openmrs-esm-framework.js.map +1 -1
  8. package/docs/API.md +371 -75
  9. package/docs/interfaces/ComponentDefinition.md +6 -6
  10. package/docs/interfaces/ConfigurableLinkProps.md +12 -1
  11. package/docs/interfaces/DynamicOfflineData.md +78 -0
  12. package/docs/interfaces/DynamicOfflineDataHandler.md +105 -0
  13. package/docs/interfaces/DynamicOfflineDataSyncState.md +75 -0
  14. package/docs/interfaces/ErrorStateProps.md +30 -0
  15. package/docs/interfaces/ExtensionDefinition.md +12 -12
  16. package/docs/interfaces/FHIRCode.md +13 -2
  17. package/docs/interfaces/FHIRResource.md +3 -0
  18. package/docs/interfaces/ImportMap.md +1 -1
  19. package/docs/interfaces/Lifecycle.md +4 -4
  20. package/docs/interfaces/NavigateOptions.md +12 -1
  21. package/docs/interfaces/OfflinePatientArgs.md +4 -6
  22. package/docs/interfaces/OfflinePatientDataSyncHandler.md +7 -14
  23. package/docs/interfaces/OfflinePatientDataSyncState.md +8 -24
  24. package/docs/interfaces/OfflinePatientDataSyncStore.md +3 -8
  25. package/docs/interfaces/PageDefinition.md +8 -8
  26. package/docs/interfaces/QueueItemDescriptor.md +4 -4
  27. package/docs/interfaces/ResourceLoader.md +1 -1
  28. package/docs/interfaces/SpaConfig.md +5 -5
  29. package/docs/interfaces/SyncItem.md +7 -7
  30. package/docs/interfaces/SyncProcessOptions.md +5 -5
  31. package/docs/interfaces/UserHasAccessProps.md +11 -0
  32. package/mock.tsx +6 -8
  33. package/package.json +13 -13
@@ -1,18 +1,19 @@
1
- @openmrs/esm-framework:build: cache hit, replaying output c3d9b9ea5808db1b
1
+ @openmrs/esm-framework:build: cache hit, replaying output 641b674439b4508b
2
2
  @openmrs/esm-framework:build: $ webpack --mode=production
3
- @openmrs/esm-framework:build: asset openmrs-esm-framework.js 812 KiB [emitted] [minimized] [big] (name: main) 2 related assets
4
- @openmrs/esm-framework:build: orphan modules 5.3 MiB [orphan] 1089 modules
3
+ @openmrs/esm-framework:build: asset openmrs-esm-framework.js 1.8 MiB [emitted] [minimized] [big] (name: main) 2 related assets
4
+ @openmrs/esm-framework:build: orphan modules 5.4 MiB [orphan] 1096 modules
5
5
  @openmrs/esm-framework:build: runtime modules 2.14 KiB 8 modules
6
- @openmrs/esm-framework:build: cacheable modules 2.1 MiB
7
- @openmrs/esm-framework:build:  modules by path ../../../node_modules/ 876 KiB 74 modules
6
+ @openmrs/esm-framework:build: cacheable modules 4.95 MiB
7
+ @openmrs/esm-framework:build:  modules by path ../../../node_modules/ 880 KiB 78 modules
8
+ @openmrs/esm-framework:build:  modules by path ../esm-styleguide/src/ 443 KiB 3 modules
9
+ @openmrs/esm-framework:build:  modules by path ./ 2.5 MiB 2 modules
8
10
  @openmrs/esm-framework:build:  modules by path ../esm-api/ 170 KiB 2 modules
9
- @openmrs/esm-framework:build:  modules by path ../esm-config/ 134 KiB 2 modules
11
+ @openmrs/esm-framework:build:  modules by path ../esm-config/ 141 KiB 2 modules
10
12
  @openmrs/esm-framework:build:  modules by path ../esm-extensions/ 80.3 KiB 2 modules
11
13
  @openmrs/esm-framework:build:  modules by path ../esm-globals/ 10.8 KiB 2 modules
12
- @openmrs/esm-framework:build:  modules by path ../esm-react-utils/ 595 KiB 2 modules
14
+ @openmrs/esm-framework:build:  modules by path ../esm-react-utils/ 592 KiB 2 modules
13
15
  @openmrs/esm-framework:build:  modules by path ../esm-state/ 10.4 KiB 2 modules
14
- @openmrs/esm-framework:build:  modules by path ../esm-styleguide/src/ 104 KiB 2 modules
15
- @openmrs/esm-framework:build:  + 4 modules
16
+ @openmrs/esm-framework:build:  + 3 modules
16
17
  @openmrs/esm-framework:build: 
17
18
  @openmrs/esm-framework:build: WARNING in ../esm-config/src/public.ts 7:0-68
18
19
  @openmrs/esm-framework:build: export 'ConfigStore' (reexported as 'ConfigStore') was not found in './module-config/state' (possible exports: configExtensionStore, configInternalStore, getConfigStore, getExtensionConfig, getExtensionConfigFromStore, getExtensionSlotConfig, getExtensionSlotConfigFromStore, getExtensionSlotsConfigStore, getExtensionsConfigStore, implementerToolsConfigStore, temporaryConfigStore)
@@ -70,16 +71,16 @@
70
71
  @openmrs/esm-framework:build: export 'OfflineModeResult' (reexported as 'OfflineModeResult') was not found in './mode' (possible exports: activateOfflineCapability, getCurrentOfflineMode, setCurrentOfflineMode)
71
72
  @openmrs/esm-framework:build:  @ ./src/index.ts
72
73
  @openmrs/esm-framework:build: 
73
- @openmrs/esm-framework:build: WARNING in ../esm-offline/src/public.ts 6:0-340
74
- @openmrs/esm-framework:build: export 'QueueItemDescriptor' (reexported as 'QueueItemDescriptor') was not found in './sync' (possible exports: beginEditSynchronizationItem, canBeginEditSynchronizationItemsOfType, deleteSynchronizationItem, getFullSynchronizationItems, getFullSynchronizationItemsFor, getOfflineDb, getOfflineSynchronizationStore, getSynchronizationItem, getSynchronizationItems, getSynchronizationItemsFor, queueSynchronizationItem, queueSynchronizationItemFor, runSynchronization, setupOfflineSync)
74
+ @openmrs/esm-framework:build: WARNING in ../esm-offline/src/public.ts 6:0-326
75
+ @openmrs/esm-framework:build: export 'QueueItemDescriptor' (reexported as 'QueueItemDescriptor') was not found in './sync' (possible exports: beginEditSynchronizationItem, canBeginEditSynchronizationItemsOfType, deleteSynchronizationItem, getFullSynchronizationItems, getFullSynchronizationItemsFor, getOfflineSynchronizationStore, getSynchronizationItem, getSynchronizationItems, getSynchronizationItemsFor, queueSynchronizationItem, queueSynchronizationItemFor, runSynchronization, setupOfflineSync)
75
76
  @openmrs/esm-framework:build:  @ ./src/index.ts
76
77
  @openmrs/esm-framework:build: 
77
- @openmrs/esm-framework:build: WARNING in ../esm-offline/src/public.ts 6:0-340
78
- @openmrs/esm-framework:build: export 'SyncItem' (reexported as 'SyncItem') was not found in './sync' (possible exports: beginEditSynchronizationItem, canBeginEditSynchronizationItemsOfType, deleteSynchronizationItem, getFullSynchronizationItems, getFullSynchronizationItemsFor, getOfflineDb, getOfflineSynchronizationStore, getSynchronizationItem, getSynchronizationItems, getSynchronizationItemsFor, queueSynchronizationItem, queueSynchronizationItemFor, runSynchronization, setupOfflineSync)
78
+ @openmrs/esm-framework:build: WARNING in ../esm-offline/src/public.ts 6:0-326
79
+ @openmrs/esm-framework:build: export 'SyncItem' (reexported as 'SyncItem') was not found in './sync' (possible exports: beginEditSynchronizationItem, canBeginEditSynchronizationItemsOfType, deleteSynchronizationItem, getFullSynchronizationItems, getFullSynchronizationItemsFor, getOfflineSynchronizationStore, getSynchronizationItem, getSynchronizationItems, getSynchronizationItemsFor, queueSynchronizationItem, queueSynchronizationItemFor, runSynchronization, setupOfflineSync)
79
80
  @openmrs/esm-framework:build:  @ ./src/index.ts
80
81
  @openmrs/esm-framework:build: 
81
- @openmrs/esm-framework:build: WARNING in ../esm-offline/src/public.ts 6:0-340
82
- @openmrs/esm-framework:build: export 'SyncProcessOptions' (reexported as 'SyncProcessOptions') was not found in './sync' (possible exports: beginEditSynchronizationItem, canBeginEditSynchronizationItemsOfType, deleteSynchronizationItem, getFullSynchronizationItems, getFullSynchronizationItemsFor, getOfflineDb, getOfflineSynchronizationStore, getSynchronizationItem, getSynchronizationItems, getSynchronizationItemsFor, queueSynchronizationItem, queueSynchronizationItemFor, runSynchronization, setupOfflineSync)
82
+ @openmrs/esm-framework:build: WARNING in ../esm-offline/src/public.ts 6:0-326
83
+ @openmrs/esm-framework:build: export 'SyncProcessOptions' (reexported as 'SyncProcessOptions') was not found in './sync' (possible exports: beginEditSynchronizationItem, canBeginEditSynchronizationItemsOfType, deleteSynchronizationItem, getFullSynchronizationItems, getFullSynchronizationItemsFor, getOfflineSynchronizationStore, getSynchronizationItem, getSynchronizationItems, getSynchronizationItemsFor, queueSynchronizationItem, queueSynchronizationItemFor, runSynchronization, setupOfflineSync)
83
84
  @openmrs/esm-framework:build:  @ ./src/index.ts
84
85
  @openmrs/esm-framework:build: 
85
86
  @openmrs/esm-framework:build: WARNING in ../esm-react-utils/src/public.ts 1:0-51
@@ -113,15 +114,15 @@
113
114
  @openmrs/esm-framework:build: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
114
115
  @openmrs/esm-framework:build: This can impact web performance.
115
116
  @openmrs/esm-framework:build: Assets:
116
- @openmrs/esm-framework:build:  openmrs-esm-framework.js (812 KiB)
117
+ @openmrs/esm-framework:build:  openmrs-esm-framework.js (1.8 MiB)
117
118
  @openmrs/esm-framework:build: 
118
119
  @openmrs/esm-framework:build: WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
119
120
  @openmrs/esm-framework:build: Entrypoints:
120
- @openmrs/esm-framework:build:  main (812 KiB)
121
+ @openmrs/esm-framework:build:  main (1.8 MiB)
121
122
  @openmrs/esm-framework:build:  openmrs-esm-framework.js
122
123
  @openmrs/esm-framework:build: 
123
124
  @openmrs/esm-framework:build: WARNING in webpack performance recommendations:
124
125
  @openmrs/esm-framework:build: You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
125
126
  @openmrs/esm-framework:build: For more info visit https://webpack.js.org/guides/code-splitting/
126
127
  @openmrs/esm-framework:build: 
127
- @openmrs/esm-framework:build: webpack 5.70.0 compiled with 27 warnings in 21893 ms
128
+ @openmrs/esm-framework:build: webpack 5.70.0 compiled with 27 warnings in 70001 ms
@@ -1,2 +1,2 @@
1
- @openmrs/esm-framework:lint: cache hit, replaying output 68fa5c864bd166d0
1
+ @openmrs/esm-framework:lint: cache hit, replaying output bb4a9a18e1cd3586
2
2
  @openmrs/esm-framework:lint: $ eslint src --ext ts,tsx