@seedtactics/insight-client 16.8.0 → 16.8.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 (150) hide show
  1. package/README.md +23 -29
  2. package/dist/assets/index-BGjv3-QV.js +388 -0
  3. package/dist/cell-status/current-status.js +4 -1
  4. package/dist/cell-status/estimated-cycle-times.js +2 -1
  5. package/dist/cell-status/inspections.js +1 -1
  6. package/dist/cell-status/loading.js +1 -1
  7. package/dist/cell-status/material-summary.js +4 -2
  8. package/dist/cell-status/names.js +1 -1
  9. package/dist/cell-status/rebookings.js +3 -1
  10. package/dist/cell-status/scheduled-jobs.js +1 -1
  11. package/dist/cell-status/sim-production.js +6 -2
  12. package/dist/cell-status/station-cycles.js +3 -1
  13. package/dist/cell-status/tool-replacements.js +21 -7
  14. package/dist/cell-status/tool-usage.js +7 -2
  15. package/dist/components/App.d.ts +2 -2
  16. package/dist/components/App.js +13 -5
  17. package/dist/components/AxisAndGrid.d.ts +6 -6
  18. package/dist/components/BarcodeScanning.d.ts +2 -2
  19. package/dist/components/BarcodeScanning.js +8 -2
  20. package/dist/components/ChartTooltip.d.ts +2 -2
  21. package/dist/components/ChooseMode.js +6 -1
  22. package/dist/components/ChooseOperator.d.ts +1 -1
  23. package/dist/components/ErrorsAndLoading.d.ts +3 -3
  24. package/dist/components/LoadingIcon.d.ts +1 -1
  25. package/dist/components/LoadingIcon.js +1 -1
  26. package/dist/components/LogEntry.d.ts +2 -2
  27. package/dist/components/LogEntry.js +10 -8
  28. package/dist/components/ManualSerialEntry.d.ts +2 -2
  29. package/dist/components/MonthSelect.d.ts +1 -1
  30. package/dist/components/MonthSelect.js +3 -1
  31. package/dist/components/Navigation.d.ts +2 -2
  32. package/dist/components/Navigation.js +1 -1
  33. package/dist/components/VerboseLogging.d.ts +1 -1
  34. package/dist/components/analysis/AnalysisSelectToolbar.d.ts +1 -1
  35. package/dist/components/analysis/BasketCycleCards.d.ts +1 -1
  36. package/dist/components/analysis/BasketCycleCards.js +1 -1
  37. package/dist/components/analysis/BufferChart.d.ts +1 -1
  38. package/dist/components/analysis/BufferChart.js +23 -4
  39. package/dist/components/analysis/CostPerPiece.d.ts +2 -2
  40. package/dist/components/analysis/CostPerPiece.js +2 -2
  41. package/dist/components/analysis/CycleChart.d.ts +1 -1
  42. package/dist/components/analysis/CycleChart.js +17 -4
  43. package/dist/components/analysis/DataTable.js +4 -2
  44. package/dist/components/analysis/EfficiencyPage.d.ts +2 -2
  45. package/dist/components/analysis/EfficiencyPage.js +1 -1
  46. package/dist/components/analysis/HeatChart.d.ts +1 -1
  47. package/dist/components/analysis/HeatChart.js +12 -3
  48. package/dist/components/analysis/InspectionDataTable.d.ts +1 -1
  49. package/dist/components/analysis/InspectionDataTable.js +6 -1
  50. package/dist/components/analysis/InspectionSankey.d.ts +1 -1
  51. package/dist/components/analysis/InspectionSankey.js +16 -6
  52. package/dist/components/analysis/PalletCycleCards.d.ts +1 -1
  53. package/dist/components/analysis/PalletCycleCards.js +5 -3
  54. package/dist/components/analysis/PartCycleCards.d.ts +2 -2
  55. package/dist/components/analysis/PartCycleCards.js +16 -6
  56. package/dist/components/analysis/QualityPage.d.ts +1 -1
  57. package/dist/components/analysis/ScheduleHistory.d.ts +1 -1
  58. package/dist/components/analysis/ScheduleHistory.js +1 -1
  59. package/dist/components/analysis/StationDataTable.d.ts +1 -1
  60. package/dist/components/analysis/ToolReplacements.d.ts +1 -1
  61. package/dist/components/analysis/ToolReplacements.js +7 -3
  62. package/dist/components/operations/AllMaterial.d.ts +1 -1
  63. package/dist/components/operations/ChartRangeEdit.d.ts +1 -1
  64. package/dist/components/operations/ChartRangeEdit.js +13 -4
  65. package/dist/components/operations/CloseoutReport.js +1 -1
  66. package/dist/components/operations/CompletedParts.js +2 -2
  67. package/dist/components/operations/CurrentWorkorders.js +2 -2
  68. package/dist/components/operations/Dashboard.d.ts +2 -2
  69. package/dist/components/operations/OEEChart.d.ts +4 -4
  70. package/dist/components/operations/OEEChart.js +7 -2
  71. package/dist/components/operations/Outliers.d.ts +1 -1
  72. package/dist/components/operations/Programs.js +9 -4
  73. package/dist/components/operations/Rebookings.d.ts +1 -1
  74. package/dist/components/operations/Rebookings.js +3 -1
  75. package/dist/components/operations/RecentCycleChart.d.ts +1 -1
  76. package/dist/components/operations/RecentCycleChart.js +2 -2
  77. package/dist/components/operations/RecentProduction.js +3 -3
  78. package/dist/components/operations/RecentSchedules.js +3 -1
  79. package/dist/components/operations/RecentStationCycles.d.ts +1 -1
  80. package/dist/components/operations/RecentStationCycles.js +1 -1
  81. package/dist/components/operations/ShiftSettings.d.ts +1 -1
  82. package/dist/components/operations/SimDayUsage.d.ts +1 -1
  83. package/dist/components/operations/ToolReport.js +17 -6
  84. package/dist/components/operations/WorkorderGantt.d.ts +1 -1
  85. package/dist/components/quality/QualityMaterial.d.ts +2 -2
  86. package/dist/components/quality/QualityMaterial.js +1 -1
  87. package/dist/components/quality/QualityPaths.d.ts +1 -1
  88. package/dist/components/quality/RecentFailedInspections.d.ts +1 -1
  89. package/dist/components/routes.d.ts +1 -1
  90. package/dist/components/routes.js +1 -1
  91. package/dist/components/station-monitor/BulkRawMaterial.d.ts +2 -2
  92. package/dist/components/station-monitor/BulkRawMaterial.js +11 -5
  93. package/dist/components/station-monitor/Closeout.js +6 -2
  94. package/dist/components/station-monitor/Inspection.js +3 -1
  95. package/dist/components/station-monitor/InvalidateCycle.d.ts +3 -3
  96. package/dist/components/station-monitor/InvalidateCycle.js +10 -3
  97. package/dist/components/station-monitor/JobDetails.js +4 -2
  98. package/dist/components/station-monitor/LoadStation.d.ts +1 -1
  99. package/dist/components/station-monitor/LoadStation.js +6 -3
  100. package/dist/components/station-monitor/Material.d.ts +10 -10
  101. package/dist/components/station-monitor/Material.js +28 -20
  102. package/dist/components/station-monitor/Material.test.js +1 -1
  103. package/dist/components/station-monitor/MoveMaterialArrows.d.ts +2 -2
  104. package/dist/components/station-monitor/PrintedLabel.d.ts +3 -3
  105. package/dist/components/station-monitor/PrintedLabel.js +9 -4
  106. package/dist/components/station-monitor/QuarantineButton.d.ts +1 -1
  107. package/dist/components/station-monitor/QuarantineButton.js +4 -2
  108. package/dist/components/station-monitor/Queues.d.ts +2 -2
  109. package/dist/components/station-monitor/Queues.js +6 -4
  110. package/dist/components/station-monitor/QueuesAddMaterial.d.ts +3 -3
  111. package/dist/components/station-monitor/QueuesAddMaterial.js +20 -7
  112. package/dist/components/station-monitor/SelectInspType.d.ts +2 -2
  113. package/dist/components/station-monitor/SelectWorkorder.d.ts +1 -1
  114. package/dist/components/station-monitor/StationToolbar.d.ts +1 -1
  115. package/dist/components/station-monitor/StationToolbar.js +13 -3
  116. package/dist/components/station-monitor/SystemOverview.d.ts +4 -4
  117. package/dist/components/station-monitor/SystemOverview.js +36 -16
  118. package/dist/components/station-monitor/Whiteboard.d.ts +1 -1
  119. package/dist/data/all-material-bins.js +2 -1
  120. package/dist/data/cost-per-piece.js +3 -1
  121. package/dist/data/move-arrows.js +3 -1
  122. package/dist/data/part-summary.js +1 -1
  123. package/dist/data/results.cycles.js +13 -4
  124. package/dist/data/tools-programs.js +3 -2
  125. package/dist/index.html +1 -1
  126. package/dist/network/api.d.ts +18 -0
  127. package/dist/network/api.js +502 -371
  128. package/dist/util/chart-colors.js +12 -1
  129. package/docs/client-efficiency.md +226 -263
  130. package/docs/client-engineering.md +27 -28
  131. package/docs/client-launch.md +32 -33
  132. package/docs/client-operations.md +50 -53
  133. package/docs/client-quality.md +39 -43
  134. package/docs/client-sales.md +36 -40
  135. package/docs/client-scanners.md +27 -27
  136. package/docs/client-station-monitor.md +86 -96
  137. package/docs/client-tools-programs.md +47 -44
  138. package/docs/improve-fms.md +73 -78
  139. package/docs/makino.md +21 -25
  140. package/docs/material-quarantine.md +50 -64
  141. package/docs/material-tracking.md +162 -195
  142. package/docs/mazak.md +78 -91
  143. package/docs/niigata.md +145 -168
  144. package/docs/operator-procedures.md +72 -76
  145. package/docs/part-instructions.md +36 -36
  146. package/docs/security.md +87 -81
  147. package/docs/server-config.md +36 -45
  148. package/docs/server-errors.md +21 -22
  149. package/package.json +25 -24
  150. package/dist/assets/index-BwbaiELK.js +0 -364
@@ -2,55 +2,46 @@
2
2
  title: FMS Insight Server Configuration
3
3
  nav: FMS Insight Server > Configuration
4
4
  description: >-
5
- The FMS Insight server runs on the cell controller and is configured by
6
- a config.ini file.
5
+ The FMS Insight server runs on the cell controller and is configured by a config.ini file.
7
6
  ---
8
7
 
9
8
  # FMS Insight Server Configuration
10
9
 
11
- The FMS Insight server is configured via a file
12
- `SeedTactics\FMSInsight\config.ini` located in the Windows Common AppData
13
- folder. On a default Windows install, this has a full path of
14
- `c:\ProgramData\SeedTactics\FMSInsight\config.ini`. The config file itself
15
- describes the settings in detail, but they fall into three groups: server
16
- settings such as network ports and SSL, FMS settings such as automatic serial
17
- assignment, and finally cell controller specific settings.
18
-
19
- The first time FMS Insight starts, if the `config.ini` file does not exist,
20
- FMS Insight will create a default config file. FMS Insight should run fine
21
- with the default settings, so typically when first getting started no config
22
- file settings need to be changed. Any changes to settings in `config.ini`
23
- require the FMS Insight server to be restarted before they take effect.
24
-
25
- The `config.ini` file is an [INI file](https://en.wikipedia.org/wiki/INI_file).
26
- The default config file contains a large number of comments describing each option.
27
- Comments describing each option are prefixed by a hash (`#`) and the options themselves
28
- are prefixed by a semicolon (`;`). To edit an option, remove the leading semicolon (`;`)
29
- and then edit the option value. Remember to restart the FMS Insight server. If any configuration
30
- errors are present, FMS Insight will generate an error message with details into the
31
- [event log](server-errors).
10
+ The FMS Insight server is configured via a file `SeedTactics\FMSInsight\config.ini` located in the
11
+ Windows Common AppData folder. On a default Windows install, this has a full path of
12
+ `c:\ProgramData\SeedTactics\FMSInsight\config.ini`. The config file itself describes the settings in
13
+ detail, but they fall into three groups: server settings such as network ports and SSL, FMS settings
14
+ such as automatic serial assignment, and finally cell controller specific settings.
15
+
16
+ The first time FMS Insight starts, if the `config.ini` file does not exist, FMS Insight will create
17
+ a default config file. FMS Insight should run fine with the default settings, so typically when
18
+ first getting started no config file settings need to be changed. Any changes to settings in
19
+ `config.ini` require the FMS Insight server to be restarted before they take effect.
20
+
21
+ The `config.ini` file is an [INI file](https://en.wikipedia.org/wiki/INI_file). The default config
22
+ file contains a large number of comments describing each option. Comments describing each option are
23
+ prefixed by a hash (`#`) and the options themselves are prefixed by a semicolon (`;`). To edit an
24
+ option, remove the leading semicolon (`;`) and then edit the option value. Remember to restart the
25
+ FMS Insight server. If any configuration errors are present, FMS Insight will generate an error
26
+ message with details into the [event log](server-errors).
32
27
 
33
28
  ## Databases
34
29
 
35
- FMS Insight uses [SQLite](https://www.sqlite.org/) to store data about the cell.
36
- The primary data stored is a log of the activity of all parts, pallets, machines, jobs,
37
- schedules, inspections, serial numbers, orders, and other data. In addition, FMS Insight
38
- stores a small amount of temporary data to assist with monitoring.
39
-
40
- The SQLite databases are by default stored locally in the Windows Common
41
- AppData folder which on a default Windows install is
42
- `c:\ProgramData\SeedTactics\FMSInsight`. This path can be changed in the
43
- `config.ini` file if needed, but we suggest that the databases are kept on
44
- the local drive for performance and data integrity (SQLite works best on a
45
- local drive). The SQLite databases are not large, typically under 100
46
- megabytes, so disk space is not a problem.
47
-
48
- Every time FMS Insight starts, it checks for the existence of the SQLite
49
- databases and if they are missing it creates them. For this reason, the
50
- databases can be deleted without impacting the operation of the cell (as long
51
- as FMS Insight is restarted). Also, since the databases just store a log of
52
- past activity and all complex logic is outside FMS Insight, if the databases
53
- are deleted (and recreated) the cell will continue to operate just fine in
54
- the future (minus the historical data). Thus it is not necessary to backup
55
- the databases (but of course you can if you want to preserve historical
56
- data).
30
+ FMS Insight uses [SQLite](https://www.sqlite.org/) to store data about the cell. The primary data
31
+ stored is a log of the activity of all parts, pallets, machines, jobs, schedules, inspections,
32
+ serial numbers, orders, and other data. In addition, FMS Insight stores a small amount of temporary
33
+ data to assist with monitoring.
34
+
35
+ The SQLite databases are by default stored locally in the Windows Common AppData folder which on a
36
+ default Windows install is `c:\ProgramData\SeedTactics\FMSInsight`. This path can be changed in the
37
+ `config.ini` file if needed, but we suggest that the databases are kept on the local drive for
38
+ performance and data integrity (SQLite works best on a local drive). The SQLite databases are not
39
+ large, typically under 100 megabytes, so disk space is not a problem.
40
+
41
+ Every time FMS Insight starts, it checks for the existence of the SQLite databases and if they are
42
+ missing it creates them. For this reason, the databases can be deleted without impacting the
43
+ operation of the cell (as long as FMS Insight is restarted). Also, since the databases just store a
44
+ log of past activity and all complex logic is outside FMS Insight, if the databases are deleted (and
45
+ recreated) the cell will continue to operate just fine in the future (minus the historical data).
46
+ Thus it is not necessary to backup the databases (but of course you can if you want to preserve
47
+ historical data).
@@ -2,8 +2,8 @@
2
2
  title: FMS Insight Errors
3
3
  nav: FMS Insight Server > Errors
4
4
  description: >-
5
- The FMS Insight server runs on the cell controller and logs errors and warnings
6
- into the Windows Event Viewer.
5
+ The FMS Insight server runs on the cell controller and logs errors and warnings into the Windows
6
+ Event Viewer.
7
7
  ---
8
8
 
9
9
  # FMS Insight Error Logging
@@ -11,34 +11,33 @@ description: >-
11
11
  When the FMS Insight server encounters an error, it reports the error back over the network to the
12
12
  software that requested the operation (such as the Insight client web page). The FMS Insight server
13
13
  also logs the error with more details into the Windows Event Log. Thus, when the Insight web page or
14
- any other software reports an error you can check the Windows Event Log on the cell controller
15
- for more information.
14
+ any other software reports an error you can check the Windows Event Log on the cell controller for
15
+ more information.
16
16
 
17
17
  ## Windows Event Viewer
18
18
 
19
- The location of the viewer is different in different versions of Windows;
20
- on Windows 10 and 11, open the start menu and search for "Event Viewer" and on Windows 7 open the "Control Panel",
21
- navigate to "Administrative Tools", and then open the "Event Viewer". To view the events in the event viewer,
22
- navigate to "Windows Logs" and then "Application" in the tree on the left (see the screenshot below).
19
+ The location of the viewer is different in different versions of Windows; on Windows 10 and 11, open
20
+ the start menu and search for "Event Viewer" and on Windows 7 open the "Control Panel", navigate to
21
+ "Administrative Tools", and then open the "Event Viewer". To view the events in the event viewer,
22
+ navigate to "Windows Logs" and then "Application" in the tree on the left (see the screenshot
23
+ below).
23
24
 
24
25
  ![Screenshot of Windows 10 Event Viewer](screenshots/insight-event-viewer.jpg)
25
26
 
26
- The windows event viewer shows events from all applications. FMS Insight generates events "FMS Insight"
27
- as the event source, which allows you to create a custom view to filter only the events from FMS Insight.
28
- To do so, go to the action menu, click "Create Custom View", and fill in "FMS Insight" as the event source
29
- (see the screenshot below).
27
+ The windows event viewer shows events from all applications. FMS Insight generates events "FMS
28
+ Insight" as the event source, which allows you to create a custom view to filter only the events
29
+ from FMS Insight. To do so, go to the action menu, click "Create Custom View", and fill in "FMS
30
+ Insight" as the event source (see the screenshot below).
30
31
 
31
32
  ![Screenshot of creating a custom event view](screenshots/insight-event-custom-view.jpg)
32
33
 
33
34
  ## Debug Log
34
35
 
35
- To assist with debugging, FMS Insight has the ability to output a trace of
36
- activity with events for almost all actions that FMS Insight takes. The debug
37
- trace is disabled by default because it generates a lot of data. To enable
38
- it, edit the [config file](server-config) and change the setting
39
- "EnableDebugLog" to true. The FMS Insight server must be restarted before the
40
- config setting takes effect. The debug trace log will be generated into the
41
- global AppData folder, which defaults to `c:\ProgramData\SeedTactics\FMSInsight`.
42
- The debug trace files are named `fmsinsight-debug.txt`, there will be one file
43
- per day, and the file is JSON formatted. Remember to disable the trace log after
44
- a day or two because it generates a lot of data.
36
+ To assist with debugging, FMS Insight has the ability to output a trace of activity with events for
37
+ almost all actions that FMS Insight takes. The debug trace is disabled by default because it
38
+ generates a lot of data. To enable it, edit the [config file](server-config) and change the setting
39
+ "EnableDebugLog" to true. The FMS Insight server must be restarted before the config setting takes
40
+ effect. The debug trace log will be generated into the global AppData folder, which defaults to
41
+ `c:\ProgramData\SeedTactics\FMSInsight`. The debug trace files are named `fmsinsight-debug.txt`,
42
+ there will be one file per day, and the file is JSON formatted. Remember to disable the trace log
43
+ after a day or two because it generates a lot of data.
package/package.json CHANGED
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "@seedtactics/insight-client",
3
- "version": "16.8.0",
3
+ "version": "16.8.1",
4
4
  "license": "BSD-3-Clause",
5
- "type": "module",
6
5
  "repository": {
7
6
  "url": "https://github.com/SeedTactics/fms-insight"
8
7
  },
8
+ "files": [
9
+ "dist",
10
+ "docs"
11
+ ],
12
+ "type": "module",
9
13
  "exports": {
10
14
  "./cell-status/*": "./dist/cell-status/*.js",
11
15
  "./components/*": "./dist/components/*.js",
@@ -17,20 +21,16 @@
17
21
  "./network/*": "./dist/network/*.js",
18
22
  "./util/*": "./dist/util/*.js"
19
23
  },
20
- "files": [
21
- "dist",
22
- "docs"
23
- ],
24
24
  "dependencies": {
25
25
  "@dnd-kit/core": "^6.3.1",
26
26
  "@dnd-kit/sortable": "^10.0.0",
27
27
  "@emotion/react": "^11.14.0",
28
28
  "@emotion/styled": "^11.14.1",
29
29
  "@fontsource/roboto": "^5.2.10",
30
- "@mui/icons-material": "^9.0.1",
31
- "@mui/material": "^9.0.1",
32
- "@react-spring/rafz": "^10.1.0",
33
- "@react-spring/web": "^10.1.0",
30
+ "@mui/icons-material": "^9.1.1",
31
+ "@mui/material": "^9.1.2",
32
+ "@react-spring/rafz": "^10.1.2",
33
+ "@react-spring/web": "^10.1.2",
34
34
  "@seedtactics/immutable-collections": "^1.1.1",
35
35
  "@yudiel/react-qr-scanner": "^2.6.0",
36
36
  "copy-to-clipboard": "^4.0.2",
@@ -38,16 +38,16 @@
38
38
  "d3-sankey": "^0.12.3",
39
39
  "d3-scale": "^4.0.2",
40
40
  "d3-shape": "^3.2.0",
41
- "date-fns": "^4.3.0",
41
+ "date-fns": "^4.4.0",
42
42
  "highlight.js": "^11.11.1",
43
43
  "jdenticon": "^3.3.0",
44
- "jotai": "^2.20.0",
44
+ "jotai": "^2.20.1",
45
45
  "jotai-family": "^1.0.2",
46
46
  "jsbarcode": "^3.12.3",
47
47
  "oidc-client-ts": "^3.5.0",
48
- "react": "^19.2.6",
48
+ "react": "^19.2.7",
49
49
  "react-calendar": "^6.0.1",
50
- "react-dom": "^19.2.6",
50
+ "react-dom": "^19.2.7",
51
51
  "react-error-boundary": "^6.1.2",
52
52
  "react-resize-detector": "^12.3.0",
53
53
  "react-timeago": "^8.3.0",
@@ -55,28 +55,29 @@
55
55
  "urlpattern-polyfill": "^10.1.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@faker-js/faker": "^10.4.0",
58
+ "@faker-js/faker": "^10.5.0",
59
59
  "@types/d3-interpolate-path": "^2.0.3",
60
60
  "@types/d3-sankey": "^0.12.5",
61
61
  "@types/d3-scale": "^4.0.9",
62
62
  "@types/d3-shape": "^3.1.8",
63
- "@types/node": "^25.9.1",
64
- "@types/react": "^19.2.15",
63
+ "@types/node": "^26.0.1",
64
+ "@types/react": "^19.2.17",
65
65
  "@types/react-dom": "^19.2.3",
66
- "@vitejs/plugin-react": "^6.0.2",
67
- "@vitest/browser-playwright": "^4.1.7",
66
+ "@vitejs/plugin-react": "^6.0.3",
67
+ "@vitest/browser-playwright": "^4.1.9",
68
68
  "jsdom": "^29.1.1",
69
69
  "nswag": "^14.7.1",
70
- "oxlint": "^1.66.0",
70
+ "oxfmt": "^0.56.0",
71
+ "oxlint": "^1.71.0",
71
72
  "oxlint-tsgolint": "^0.23.0",
72
- "prettier": "^3.8.3",
73
73
  "typescript": "^6.0.3",
74
- "vite": "^8.0.14",
75
- "vitest": "^4.1.7",
74
+ "vite": "^8.1.0",
75
+ "vitest": "^4.1.9",
76
76
  "vitest-browser-react": "^2.2.0"
77
77
  },
78
78
  "scripts": {
79
- "check": "tsc --noEmit --skipLibCheck && oxlint --type-aware",
79
+ "type-check": "tsc --noEmit --skipLibCheck",
80
+ "lint": "oxlint --type-aware",
80
81
  "build": "tsc --noEmit --skipLibCheck && vite build",
81
82
  "build:package": "tsc --project tsconfig.publish.json && cp -Tr ../../docs ./docs",
82
83
  "start": "vite",