@seedtactics/insight-client 16.8.4-beta.9 → 17.0.0-beta.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/README.md +21 -0
- package/dist/assets/index-BkKYqUM0.js +388 -0
- package/dist/cell-status/material-details.d.ts +19 -5
- package/dist/cell-status/material-details.js +71 -37
- package/dist/components/LogEntry.js +2 -9
- package/dist/components/log-entry-container-name.d.ts +2 -0
- package/dist/components/log-entry-container-name.js +10 -0
- package/dist/components/operations/AllMaterial.js +4 -3
- package/dist/components/station-monitor/BasketLoadStationWork.js +12 -8
- package/dist/components/station-monitor/BulkRawMaterial.js +4 -4
- package/dist/components/station-monitor/CancelLoadButton.d.ts +4 -0
- package/dist/components/station-monitor/CancelLoadButton.js +60 -0
- package/dist/components/station-monitor/Closeout.js +2 -1
- package/dist/components/station-monitor/Inspection.js +2 -1
- package/dist/components/station-monitor/InvalidateCycle.d.ts +4 -1
- package/dist/components/station-monitor/InvalidateCycle.js +104 -38
- package/dist/components/station-monitor/LoadStation.js +25 -15
- package/dist/components/station-monitor/Material.js +14 -1
- package/dist/components/station-monitor/QuarantineButton.js +160 -90
- package/dist/components/station-monitor/Queues.js +2 -1
- package/dist/components/station-monitor/QueuesAddMaterial.js +65 -57
- package/dist/components/station-monitor/SystemOverview.js +2 -1
- package/dist/components/station-monitor/Whiteboard.js +2 -2
- package/dist/data/material-operation-policy.d.ts +21 -0
- package/dist/data/material-operation-policy.js +89 -0
- package/dist/extension.d.ts +4 -4
- package/dist/extension.js +15 -3
- package/dist/index.html +1 -2
- package/dist/index.js +1 -1
- package/dist/network/api.d.ts +20 -4
- package/dist/network/api.js +163 -2
- package/dist/network/backend-mock.js +6 -0
- package/dist/network/backend.d.ts +2 -0
- package/dist/network/backend.js +2 -1
- package/package.json +11 -11
- package/dist/assets/index-DHusyIyb.js +0 -388
- package/dist/assets/manifest-BzJli0lx.webmanifest +0 -15
- package/dist/bootstrap.d.ts +0 -5
- package/dist/bootstrap.js +0 -56
- package/dist/components/station-monitor/Material.test.d.ts +0 -1
- package/dist/components/station-monitor/Material.test.js +0 -199
package/README.md
CHANGED
|
@@ -15,6 +15,27 @@ just using FMS Insight and don't intend any changes to the client, you can just
|
|
|
15
15
|
BlackMaple.MachineFramework nuget. This npm package is needed only if you wish to modify the client
|
|
16
16
|
or import portions of the client into your own pages.
|
|
17
17
|
|
|
18
|
+
## Extending the Client
|
|
19
|
+
|
|
20
|
+
The supported entry point for embedding a customized FMS Insight application is
|
|
21
|
+
`@seedtactics/insight-client/extension`. It exports:
|
|
22
|
+
|
|
23
|
+
- `bootstrapInsight` to start the application in a supplied element, or in the element with ID
|
|
24
|
+
`root`.
|
|
25
|
+
- `AppProps` to add custom routes, change the mode chooser, or replace the basket load-station
|
|
26
|
+
command.
|
|
27
|
+
- `customState`, a read-only Jotai atom containing the server's opaque custom state.
|
|
28
|
+
- `authenticatedFetch` for extension requests which should use the current Insight user's bearer
|
|
29
|
+
token.
|
|
30
|
+
- `defaultChooseModes` and `RouteLocation` for composing custom navigation.
|
|
31
|
+
|
|
32
|
+
The host application must provide compatible versions of the package's React, React DOM, and Jotai
|
|
33
|
+
peer dependencies. This ensures custom components and Insight use the same React runtime and Jotai
|
|
34
|
+
store.
|
|
35
|
+
|
|
36
|
+
Other package subpaths expose reusable Insight internals. They remain available for existing
|
|
37
|
+
integrations, but `extension` is the intentionally small application-composition API.
|
|
38
|
+
|
|
18
39
|
## Code Overview
|
|
19
40
|
|
|
20
41
|
The client stores data in [jotai](https://jotai.org/) stores. We use a thick-client approach: each
|