@adcops/autocore-react 3.0.39 → 3.1.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.
- package/additional-docs/AutoCoreTagContext.md +441 -0
- package/dist/assets/BlocklyLogo.d.ts +1 -0
- package/dist/assets/BlocklyLogo.d.ts.map +1 -0
- package/dist/assets/Distance.d.ts +1 -0
- package/dist/assets/Distance.d.ts.map +1 -0
- package/dist/assets/JogLong.d.ts +1 -0
- package/dist/assets/JogLong.d.ts.map +1 -0
- package/dist/assets/JogMedium.d.ts +1 -0
- package/dist/assets/JogMedium.d.ts.map +1 -0
- package/dist/assets/JogShort.d.ts +1 -0
- package/dist/assets/JogShort.d.ts.map +1 -0
- package/dist/assets/PythonLogo.d.ts +1 -0
- package/dist/assets/PythonLogo.d.ts.map +1 -0
- package/dist/assets/Rotation3D.d.ts +1 -0
- package/dist/assets/Rotation3D.d.ts.map +1 -0
- package/dist/assets/RotationCcw.d.ts +1 -0
- package/dist/assets/RotationCcw.d.ts.map +1 -0
- package/dist/assets/RotationCcwA.d.ts +1 -0
- package/dist/assets/RotationCcwA.d.ts.map +1 -0
- package/dist/assets/RotationCcwB.d.ts +1 -0
- package/dist/assets/RotationCcwB.d.ts.map +1 -0
- package/dist/assets/RotationCcwC.d.ts +1 -0
- package/dist/assets/RotationCcwC.d.ts.map +1 -0
- package/dist/assets/RotationCw.d.ts +1 -0
- package/dist/assets/RotationCw.d.ts.map +1 -0
- package/dist/assets/RotationCwA.d.ts +1 -0
- package/dist/assets/RotationCwA.d.ts.map +1 -0
- package/dist/assets/RotationCwB.d.ts +1 -0
- package/dist/assets/RotationCwB.d.ts.map +1 -0
- package/dist/assets/RotationCwC.d.ts +1 -0
- package/dist/assets/RotationCwC.d.ts.map +1 -0
- package/dist/assets/Run.d.ts +1 -0
- package/dist/assets/Run.d.ts.map +1 -0
- package/dist/assets/Speed.d.ts +1 -0
- package/dist/assets/Speed.d.ts.map +1 -0
- package/dist/assets/SpeedFast.d.ts +1 -0
- package/dist/assets/SpeedFast.d.ts.map +1 -0
- package/dist/assets/SpeedMedium.d.ts +1 -0
- package/dist/assets/SpeedMedium.d.ts.map +1 -0
- package/dist/assets/SpeedNone.d.ts +1 -0
- package/dist/assets/SpeedNone.d.ts.map +1 -0
- package/dist/assets/SpeedSlow.d.ts +1 -0
- package/dist/assets/SpeedSlow.d.ts.map +1 -0
- package/dist/assets/Walk.d.ts +1 -0
- package/dist/assets/Walk.d.ts.map +1 -0
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.d.ts.map +1 -0
- package/dist/components/AutoCoreDevPanel.d.ts +144 -0
- package/dist/components/AutoCoreDevPanel.d.ts.map +1 -0
- package/dist/components/AutoCoreDevPanel.js +1 -0
- package/dist/components/BlocklyEditor.d.ts +1 -0
- package/dist/components/BlocklyEditor.d.ts.map +1 -0
- package/dist/components/BlocklyEditor.js +1 -1
- package/dist/components/CodeEditor.d.ts +2 -1
- package/dist/components/CodeEditor.d.ts.map +1 -0
- package/dist/components/CodeEditor.js +1 -1
- package/dist/components/FileList.d.ts +1 -0
- package/dist/components/FileList.d.ts.map +1 -0
- package/dist/components/FileList.js +1 -1
- package/dist/components/FileSelect.d.ts +1 -0
- package/dist/components/FileSelect.d.ts.map +1 -0
- package/dist/components/FileSelect.js +1 -1
- package/dist/components/FitText.d.ts +1 -0
- package/dist/components/FitText.d.ts.map +1 -0
- package/dist/components/FitText.js +1 -1
- package/dist/components/Indicator.d.ts +2 -1
- package/dist/components/Indicator.d.ts.map +1 -0
- package/dist/components/Indicator.js +1 -1
- package/dist/components/IndicatorButton.d.ts +23 -137
- package/dist/components/IndicatorButton.d.ts.map +1 -0
- package/dist/components/IndicatorButton.js +1 -1
- package/dist/components/IndicatorRect.d.ts +2 -1
- package/dist/components/IndicatorRect.d.ts.map +1 -0
- package/dist/components/JogPanel.d.ts +1 -0
- package/dist/components/JogPanel.d.ts.map +1 -0
- package/dist/components/Lamp.d.ts +2 -1
- package/dist/components/Lamp.d.ts.map +1 -0
- package/dist/components/Lamp.js +1 -1
- package/dist/components/Osk.d.ts +1 -0
- package/dist/components/Osk.d.ts.map +1 -0
- package/dist/components/Osk.js +1 -1
- package/dist/components/OskDialog.d.ts +1 -0
- package/dist/components/OskDialog.d.ts.map +1 -0
- package/dist/components/ProgressBarWithValue.d.ts +1 -0
- package/dist/components/ProgressBarWithValue.d.ts.map +1 -0
- package/dist/components/ProgressBarWithValue.js +1 -1
- package/dist/components/TextInput.d.ts +62 -103
- package/dist/components/TextInput.d.ts.map +1 -0
- package/dist/components/TextInput.js +1 -1
- package/dist/components/ToggleGroup.d.ts +2 -1
- package/dist/components/ToggleGroup.d.ts.map +1 -0
- package/dist/components/ToggleGroup.js +1 -1
- package/dist/components/ValueDisplay.d.ts +3 -2
- package/dist/components/ValueDisplay.d.ts.map +1 -0
- package/dist/components/ValueDisplay.js +1 -1
- package/dist/components/ValueIndicator.d.ts +2 -1
- package/dist/components/ValueIndicator.d.ts.map +1 -0
- package/dist/components/ValueIndicator.js +1 -1
- package/dist/components/ValueInput.d.ts +2 -1
- package/dist/components/ValueInput.d.ts.map +1 -0
- package/dist/components/ValueInput.js +1 -1
- package/dist/core/ActionMode.d.ts +1 -0
- package/dist/core/ActionMode.d.ts.map +1 -0
- package/dist/core/AutoCoreTagContext.d.ts +224 -0
- package/dist/core/AutoCoreTagContext.d.ts.map +1 -0
- package/dist/core/AutoCoreTagContext.js +1 -0
- package/dist/core/AutoCoreTagTypes.d.ts +162 -0
- package/dist/core/AutoCoreTagTypes.d.ts.map +1 -0
- package/dist/core/AutoCoreTagTypes.js +1 -0
- package/dist/core/EventEmitterContext.d.ts +295 -2
- package/dist/core/EventEmitterContext.d.ts.map +1 -0
- package/dist/core/EventEmitterContext.js +1 -1
- package/dist/core/IndicatorButtonState.d.ts +1 -0
- package/dist/core/IndicatorButtonState.d.ts.map +1 -0
- package/dist/core/IndicatorColor.d.ts +1 -0
- package/dist/core/IndicatorColor.d.ts.map +1 -0
- package/dist/core/MaskPatterns.d.ts +1 -0
- package/dist/core/MaskPatterns.d.ts.map +1 -0
- package/dist/core/NumerableTypes.d.ts +1 -0
- package/dist/core/NumerableTypes.d.ts.map +1 -0
- package/dist/core/NumerableTypes.js +1 -1
- package/dist/core/PositionContext.d.ts +1 -1
- package/dist/core/PositionContext.d.ts.map +1 -0
- package/dist/core/UniqueId.d.ts +1 -0
- package/dist/core/UniqueId.d.ts.map +1 -0
- package/dist/core/ValueSimulator.d.ts +2 -1
- package/dist/core/ValueSimulator.d.ts.map +1 -0
- package/dist/core/ValueSimulator.js +1 -1
- package/dist/core/hoc.d.ts +1 -0
- package/dist/core/hoc.d.ts.map +1 -0
- package/dist/core/hoc.js +1 -1
- package/dist/hooks/adsHooks.d.ts +1 -0
- package/dist/hooks/adsHooks.d.ts.map +1 -0
- package/dist/hooks/adsHooks.js +1 -1
- package/dist/hooks/commandHooks.d.ts +1 -0
- package/dist/hooks/commandHooks.d.ts.map +1 -0
- package/dist/hooks/commandHooks.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useAutoCoreTag.d.ts +26 -0
- package/dist/hooks/useAutoCoreTag.d.ts.map +1 -0
- package/dist/hooks/useAutoCoreTag.js +1 -0
- package/dist/hooks/useScaledValue.d.ts +1 -0
- package/dist/hooks/useScaledValue.d.ts.map +1 -0
- package/dist/hooks/useScaledValue.js +1 -1
- package/dist/hub/CommandMessage.d.ts +1 -0
- package/dist/hub/CommandMessage.d.ts.map +1 -0
- package/dist/hub/HubBase.d.ts +3 -2
- package/dist/hub/HubBase.d.ts.map +1 -0
- package/dist/hub/HubSimulate.d.ts +2 -1
- package/dist/hub/HubSimulate.d.ts.map +1 -0
- package/dist/hub/HubSimulate.js +1 -1
- package/dist/hub/HubTauri.d.ts +2 -1
- package/dist/hub/HubTauri.d.ts.map +1 -0
- package/dist/hub/HubTauri.js +1 -1
- package/dist/hub/HubWebSocket.d.ts +2 -1
- package/dist/hub/HubWebSocket.d.ts.map +1 -0
- package/dist/hub/HubWebSocket.js +1 -1
- package/dist/hub/index.d.ts +2 -1
- package/dist/hub/index.d.ts.map +1 -0
- package/dist/hub/index.js +1 -1
- package/docs/.nojekyll +1 -0
- package/docs/assets/hierarchy.js +1 -0
- package/docs/assets/highlight.css +134 -0
- package/docs/assets/icons.js +18 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +60 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1633 -0
- package/docs/classes/components_CodeEditor.CodeEditor.html +108 -101
- package/docs/classes/components_Indicator.Indicator.html +122 -0
- package/docs/classes/components_IndicatorRect.IndicatorRect.html +121 -0
- package/docs/classes/components_JogPanel.JogPanel.html +104 -106
- package/docs/classes/components_Lamp.Lamp.html +96 -79
- package/docs/classes/components_OskDialog.OskDialog.html +125 -0
- package/docs/classes/components_TextInput.TextInput.html +99 -89
- package/docs/classes/components_ValueDisplay.ValueDisplay.html +148 -0
- package/docs/classes/components_ValueIndicator.ValueIndicator.html +98 -91
- package/docs/classes/core_ValueSimulator.ValueSimulator.html +51 -0
- package/docs/classes/hub_HubBase.HubBase.html +106 -0
- package/docs/classes/hub_HubSimulate.HubSimulate.html +75 -0
- package/docs/classes/hub_HubTauri.HubTauri.html +93 -0
- package/docs/classes/hub_HubWebSocket.HubWebSocket.html +75 -69
- package/docs/documents/core_AutoCoreTagContext.AutoCoreTagContext.html +148 -0
- package/docs/enums/components_JogPanel.JogDistanceAction.html +5 -5
- package/docs/enums/components_JogPanel.JogPanelAction.html +18 -18
- package/docs/enums/components_JogPanel.JogSpeedAction.html +5 -5
- package/docs/enums/core_ActionMode.ActionMode.html +6 -6
- package/docs/enums/core_IndicatorColor.IndicatorColor.html +22 -22
- package/docs/functions/assets.BlocklyLogo.html +1 -0
- package/docs/functions/assets.Distance.html +1 -0
- package/docs/functions/assets.JogLong.html +1 -0
- package/docs/functions/assets.JogMedium.html +1 -0
- package/docs/functions/assets.JogShort.html +1 -0
- package/docs/functions/assets.PythonLogo.html +1 -0
- package/docs/functions/assets.Rotation3D.html +1 -0
- package/docs/functions/assets.RotationCcw.html +1 -0
- package/docs/functions/assets.RotationCcwA.html +1 -0
- package/docs/functions/assets.RotationCcwB.html +1 -0
- package/docs/functions/assets.RotationCcwC.html +1 -0
- package/docs/functions/assets.RotationCw.html +1 -0
- package/docs/functions/assets.RotationCwA.html +1 -0
- package/docs/functions/assets.RotationCwB.html +1 -0
- package/docs/functions/assets.RotationCwC.html +1 -0
- package/docs/functions/assets.Run.html +1 -0
- package/docs/functions/assets.Speed.html +1 -0
- package/docs/functions/assets.SpeedFast.html +1 -0
- package/docs/functions/assets.SpeedMedium.html +1 -0
- package/docs/functions/assets.SpeedNone.html +1 -0
- package/docs/functions/assets.SpeedSlow.html +1 -0
- package/docs/functions/assets.Walk.html +1 -0
- package/docs/functions/components_BlocklyEditor.createCustomToolbox.html +5 -5
- package/docs/functions/core_UniqueId.UniqueId.html +9 -0
- package/docs/functions/core_hoc.hocAddSubscription.html +6 -0
- package/docs/functions/hooks_adsHooks.useAdsRegisterSymbols.html +16 -0
- package/docs/functions/hooks_adsHooks.useAdsTapValue.html +8 -0
- package/docs/functions/hooks_adsHooks.useAdsWriteScaledValue.html +18 -0
- package/docs/functions/hooks_adsHooks.useAdsWriteValue.html +9 -0
- package/docs/functions/hooks_commandHooks.useRegisterSymbols.html +16 -0
- package/docs/functions/hooks_commandHooks.useTapValue.html +10 -0
- package/docs/functions/hooks_commandHooks.useWriteScaledValue.html +18 -0
- package/docs/functions/hooks_commandHooks.useWriteValue.html +11 -0
- package/docs/functions/hooks_useAutoCoreTag.ts.makeAutoCoreTagHooks.html +12 -0
- package/docs/functions/hooks_useScaledValue.useScaledValue.html +18 -0
- package/docs/functions/hub.createHub.html +3 -0
- package/docs/hierarchy.html +1 -0
- package/docs/index.html +148 -0
- package/docs/interfaces/components_IndicatorButton.IndicatorButtonProps.html +654 -0
- package/docs/interfaces/components_IndicatorRect.IndicatorRectProps.html +37 -0
- package/docs/interfaces/components_JogPanel.JogPanelButtonDefinition.html +5 -5
- package/docs/interfaces/components_ToggleGroup.ToggleGroupProps.html +545 -519
- package/docs/interfaces/core_AutoCoreTagTypes.BaseContextValue.html +12 -0
- package/docs/interfaces/core_AutoCoreTagTypes.ScaleConfig.html +13 -0
- package/docs/interfaces/core_EventEmitterContext.Action.html +8 -0
- package/docs/interfaces/core_EventEmitterContext.EventEmitterContextType.html +33 -0
- package/docs/interfaces/core_EventEmitterContext.State.html +8 -0
- package/docs/interfaces/core_EventEmitterContext.Subscription.html +6 -0
- package/docs/interfaces/core_IndicatorButtonState.IndicatorButtonState.html +10 -10
- package/docs/interfaces/core_PositionContext.IPositionContext.html +17 -0
- package/docs/interfaces/hub_CommandMessage.CommandMessage.html +6 -6
- package/docs/interfaces/hub_CommandMessage.CommandMessageResult.html +4 -4
- package/docs/modules/assets.html +1 -23
- package/docs/modules/assets_BlocklyLogo.html +1 -2
- package/docs/modules/assets_Distance.html +1 -2
- package/docs/modules/assets_JogLong.html +1 -2
- package/docs/modules/assets_JogMedium.html +1 -2
- package/docs/modules/assets_JogShort.html +1 -2
- package/docs/modules/assets_PythonLogo.html +1 -2
- package/docs/modules/assets_Rotation3D.html +1 -2
- package/docs/modules/assets_RotationCcw.html +1 -2
- package/docs/modules/assets_RotationCcwA.html +1 -2
- package/docs/modules/assets_RotationCcwB.html +1 -2
- package/docs/modules/assets_RotationCcwC.html +1 -2
- package/docs/modules/assets_RotationCw.html +1 -2
- package/docs/modules/assets_RotationCwA.html +1 -2
- package/docs/modules/assets_RotationCwB.html +1 -2
- package/docs/modules/assets_RotationCwC.html +1 -2
- package/docs/modules/assets_Run.html +1 -2
- package/docs/modules/assets_Speed.html +1 -2
- package/docs/modules/assets_SpeedFast.html +1 -2
- package/docs/modules/assets_SpeedMedium.html +1 -2
- package/docs/modules/assets_SpeedNone.html +1 -2
- package/docs/modules/assets_SpeedSlow.html +1 -2
- package/docs/modules/assets_Walk.html +1 -2
- package/docs/modules/components_AutoCoreDevPanel.html +20 -0
- package/docs/modules/components_BlocklyEditor.html +1 -5
- package/docs/modules/components_CodeEditor.html +1 -3
- package/docs/modules/components_FileList.html +1 -3
- package/docs/modules/components_FileSelect.html +1 -0
- package/docs/modules/components_FitText.html +1 -3
- package/docs/modules/components_Indicator.html +1 -0
- package/docs/modules/components_IndicatorButton.html +1 -0
- package/docs/modules/components_IndicatorRect.html +1 -0
- package/docs/modules/components_JogPanel.html +1 -9
- package/docs/modules/components_Lamp.html +1 -4
- package/docs/modules/components_Osk.html +1 -0
- package/docs/modules/components_OskDialog.html +1 -0
- package/docs/modules/components_ProgressBarWithValue.html +1 -0
- package/docs/modules/components_TextInput.html +1 -2
- package/docs/modules/components_ToggleGroup.html +1 -6
- package/docs/modules/components_ValueDisplay.html +1 -0
- package/docs/modules/components_ValueIndicator.html +1 -4
- package/docs/modules/components_ValueInput.html +1 -2
- package/docs/modules/core_ActionMode.html +1 -2
- package/docs/modules/core_AutoCoreTagContext.html +11 -0
- package/docs/modules/core_AutoCoreTagTypes.html +1 -0
- package/docs/modules/core_EventEmitterContext.html +53 -0
- package/docs/modules/core_IndicatorButtonState.html +1 -2
- package/docs/modules/core_IndicatorColor.html +1 -2
- package/docs/modules/core_MaskPatterns.html +1 -0
- package/docs/modules/core_NumerableTypes.html +1 -0
- package/docs/modules/core_PositionContext.html +1 -0
- package/docs/modules/core_UniqueId.html +1 -0
- package/docs/modules/core_ValueSimulator.html +1 -0
- package/docs/modules/core_hoc.html +1 -0
- package/docs/modules/hooks.html +1 -0
- package/docs/modules/hooks_adsHooks.html +1 -0
- package/docs/modules/hooks_commandHooks.html +1 -0
- package/docs/modules/hooks_useAutoCoreTag.ts.html +52 -0
- package/docs/modules/hooks_useScaledValue.html +1 -0
- package/docs/modules/hub.html +1 -0
- package/docs/modules/hub_CommandMessage.html +1 -3
- package/docs/modules/hub_HubBase.html +1 -0
- package/docs/modules/hub_HubSimulate.html +1 -0
- package/docs/modules/hub_HubTauri.html +1 -0
- package/docs/modules/hub_HubWebSocket.html +1 -2
- package/docs/modules.html +23 -0
- package/docs/types/components_IndicatorButton.IndicatorButtonOptionsType.html +1 -1
- package/docs/types/core_AutoCoreTagTypes.ExtractByTag.html +2 -0
- package/docs/types/core_AutoCoreTagTypes.PrimitiveKind.html +1 -0
- package/docs/types/core_AutoCoreTagTypes.TagConfig.html +16 -0
- package/docs/types/core_AutoCoreTagTypes.TagValueMap.html +1 -0
- package/docs/types/core_AutoCoreTagTypes.TagValueOf.html +1 -0
- package/docs/types/core_EventEmitterContext.EmitterDispatchFunction.html +3 -0
- package/docs/types/core_EventEmitterContext.EmitterSubscribeFunction.html +3 -0
- package/docs/types/core_EventEmitterContext.EmitterUnsubscribeFunction.html +3 -0
- package/docs/types/core_NumerableTypes.NumerableFormatOptions.html +4 -0
- package/docs/types/core_hoc.HocAddSubscriptionProps.html +6 -0
- package/docs/variables/components_AutoCoreDevPanel.AutoCoreDevPanel.html +43 -0
- package/docs/variables/components_BlocklyEditor.BlocklyEditor.html +13 -0
- package/docs/variables/components_BlocklyEditor.StandardToolbox.html +1 -1
- package/docs/variables/components_FileList.FileList.html +23 -0
- package/docs/variables/components_FileSelect.FileSelect.html +1 -0
- package/docs/variables/components_FitText.FitText.html +4 -0
- package/docs/variables/components_IndicatorButton.IndicatorButton.html +1 -0
- package/docs/variables/components_JogPanel.DefaultLinearJogButtons.html +2 -2
- package/docs/variables/components_JogPanel.DefaultRotationJogButtons.html +2 -2
- package/docs/variables/components_Osk.Osk.html +1 -0
- package/docs/variables/components_ProgressBarWithValue.ProgressBarWithValue.html +1 -0
- package/docs/variables/components_ToggleGroup.ToggleGroup.html +1 -0
- package/docs/variables/components_ValueInput.ValueInput.html +4 -0
- package/docs/variables/core_AutoCoreTagContext.AutoCoreTagContext.html +1 -0
- package/docs/variables/core_AutoCoreTagContext.AutoCoreTagProvider.html +7 -0
- package/docs/variables/core_EventEmitterContext.EventEmitterContext.html +64 -0
- package/docs/variables/core_EventEmitterContext.EventEmitterProvider.html +10 -0
- package/docs/variables/core_MaskPatterns.PrimeReactMaskPatterns.html +14 -0
- package/docs/variables/core_MaskPatterns.RegExMaskPatterns.html +15 -0
- package/docs/variables/core_PositionContext.DimensionsContext.html +6 -0
- package/docs/variables/hooks_useScaledValue.kMillimeters2Inches.html +2 -0
- package/docs/variables/hooks_useScaledValue.kNewtons2Pounds.html +2 -0
- package/package.json +32 -27
- package/readme.md +193 -22
- package/src/components/AutoCoreDevPanel.tsx +411 -0
- package/src/components/CodeEditor.tsx +2 -2
- package/src/components/FileList.tsx +2 -2
- package/src/components/Indicator.tsx +2 -2
- package/src/components/IndicatorButton.tsx +187 -333
- package/src/components/IndicatorRect.tsx +2 -2
- package/src/components/Lamp.tsx +3 -3
- package/src/components/TextInput.tsx +159 -240
- package/src/components/ToggleGroup.tsx +3 -3
- package/src/components/ValueDisplay.tsx +4 -4
- package/src/components/ValueIndicator.tsx +2 -2
- package/src/components/ValueInput.tsx +2 -2
- package/src/core/AutoCoreTagContext.tsx +698 -0
- package/src/core/AutoCoreTagTypes.ts +202 -0
- package/src/core/EventEmitterContext.tsx +582 -225
- package/src/core/ValueSimulator.ts +2 -2
- package/src/hooks/useAutoCoreTag.ts +103 -0
- package/src/hub/HubBase.ts +3 -3
- package/src/hub/HubSimulate.ts +2 -2
- package/src/hub/HubTauri.ts +3 -3
- package/src/hub/HubWebSocket.ts +29 -32
- package/src/hub/index.ts +2 -2
- package/tsconfig.json +43 -28
- package/docs/classes/components_BlocklyEditor.BlocklyEditor.html +0 -124
- package/docs/classes/components_ValueInput.ValueInput.html +0 -113
- package/docs/functions/assets_BlocklyLogo.default.html +0 -1
- package/docs/functions/assets_Distance.default.html +0 -1
- package/docs/functions/assets_JogLong.default.html +0 -1
- package/docs/functions/assets_JogMedium.default.html +0 -1
- package/docs/functions/assets_JogShort.default.html +0 -1
- package/docs/functions/assets_PythonLogo.default.html +0 -1
- package/docs/functions/assets_Rotation3D.default.html +0 -1
- package/docs/functions/assets_RotationCcw.default.html +0 -1
- package/docs/functions/assets_RotationCcwA.default.html +0 -1
- package/docs/functions/assets_RotationCcwB.default.html +0 -1
- package/docs/functions/assets_RotationCcwC.default.html +0 -1
- package/docs/functions/assets_RotationCw.default.html +0 -1
- package/docs/functions/assets_RotationCwA.default.html +0 -1
- package/docs/functions/assets_RotationCwB.default.html +0 -1
- package/docs/functions/assets_RotationCwC.default.html +0 -1
- package/docs/functions/assets_Run.default.html +0 -1
- package/docs/functions/assets_Speed.default.html +0 -1
- package/docs/functions/assets_SpeedFast.default.html +0 -1
- package/docs/functions/assets_SpeedMedium.default.html +0 -1
- package/docs/functions/assets_SpeedNone.default.html +0 -1
- package/docs/functions/assets_SpeedSlow.default.html +0 -1
- package/docs/functions/assets_Walk.default.html +0 -1
- package/docs/functions/components_FileList.FileList.html +0 -21
- package/docs/functions/components_FitText.FitText.html +0 -8
- package/docs/functions/components_ToggleGroup.ToggleGroup.html +0 -5
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Created Date: 2024-01-18 12:49:58
|
|
4
4
|
* Author: Thomas C. Bitsky Jr.
|
|
5
5
|
* -----
|
|
6
|
-
* Last Modified:
|
|
6
|
+
* Last Modified: 2025-09-05 14:50:12
|
|
7
7
|
* Modified By: ADC
|
|
8
8
|
* -----
|
|
9
9
|
*
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
import { EmitterDispatchFunction } from "./EventEmitterContext";
|
|
12
|
+
import type { EmitterDispatchFunction } from "./EventEmitterContext";
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2025 Automated Design Corp.. All Rights Reserved.
|
|
3
|
+
* Created Date: 2025-09-05 08:03:32
|
|
4
|
+
* -----
|
|
5
|
+
* Last Modified: 2025-09-10 10:22:31
|
|
6
|
+
* -----
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @module hooks/useAutoCoreTag.ts
|
|
12
|
+
*
|
|
13
|
+
* Factory for generating strongly-typed React hooks to consume AutoCoreTagContext.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import { useCallback, useContext, useMemo } from "react";
|
|
17
|
+
import type { BaseContextValue, TagConfig, TagValueMap } from "../core/AutoCoreTagTypes";
|
|
18
|
+
|
|
19
|
+
export function makeAutoCoreTagHooks<Spec extends readonly TagConfig[]>(
|
|
20
|
+
Context: React.Context<BaseContextValue<TagValueMap<Spec>>>,
|
|
21
|
+
tags: Spec
|
|
22
|
+
) {
|
|
23
|
+
type VMap = TagValueMap<Spec>;
|
|
24
|
+
type TagNames = keyof VMap & string;
|
|
25
|
+
|
|
26
|
+
const findCfg = (tagName: string) =>
|
|
27
|
+
tags.find(t => t.tagName === tagName) as (Spec[number] | undefined);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Access a single tag by name.
|
|
31
|
+
* Returns current value, raw value, direct server writer, and tap helper.
|
|
32
|
+
*/
|
|
33
|
+
const useAutoCoreTag = <K extends TagNames>(tagName: K) => {
|
|
34
|
+
const { values, rawValues, isLoading, write: ctxWrite, tap: ctxTap } = useContext(Context);
|
|
35
|
+
|
|
36
|
+
const cfg = findCfg(tagName as string);
|
|
37
|
+
if (!cfg) throw new Error(`useAutoCoreTag: unknown tagName '${String(tagName)}'`);
|
|
38
|
+
|
|
39
|
+
const write = useCallback(
|
|
40
|
+
(displayValue: VMap[K]) => ctxWrite(tagName, displayValue),
|
|
41
|
+
[ctxWrite, tagName]
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
const tap = useCallback(() => ctxTap?.(tagName), [ctxTap, tagName]);
|
|
45
|
+
|
|
46
|
+
return {
|
|
47
|
+
value: values[tagName] as VMap[K],
|
|
48
|
+
rawValue: rawValues[tagName as string],
|
|
49
|
+
write,
|
|
50
|
+
tap,
|
|
51
|
+
isLoading,
|
|
52
|
+
} as const;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Access multiple tags at once with a bulk writer.
|
|
57
|
+
*/
|
|
58
|
+
const useAutoCoreTags = <K extends TagNames>(tagNames: readonly K[]) => {
|
|
59
|
+
const { values, rawValues, isLoading, write: ctxWrite } = useContext(Context);
|
|
60
|
+
|
|
61
|
+
const subset = useMemo(
|
|
62
|
+
() =>
|
|
63
|
+
Object.fromEntries(
|
|
64
|
+
tagNames.map(k => [k, values[k] as VMap[K]])
|
|
65
|
+
) as { [P in K]: VMap[P] },
|
|
66
|
+
[values, tagNames]
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
const rawSubset = useMemo(
|
|
70
|
+
() =>
|
|
71
|
+
Object.fromEntries(
|
|
72
|
+
tagNames.map(k => [k, rawValues[k as string]])
|
|
73
|
+
) as { [P in K]: unknown },
|
|
74
|
+
[rawValues, tagNames]
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
const write = useCallback(async (tagName: K, value: VMap[K]) => {
|
|
78
|
+
await ctxWrite(tagName, value);
|
|
79
|
+
}, [ctxWrite]);
|
|
80
|
+
|
|
81
|
+
return { values: subset, rawValues: rawSubset, write, isLoading } as const;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Compute a derived value from the full tag state.
|
|
86
|
+
*/
|
|
87
|
+
const useAutoCoreSelect = <R>(selector: (all: Readonly<Partial<VMap>>) => R, deps: any[] = []) => {
|
|
88
|
+
const { values, isLoading } = useContext(Context);
|
|
89
|
+
const selected = useMemo(() => selector(values), [values, ...deps]);
|
|
90
|
+
return { selected, isLoading } as const;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Access scale configurations and update functions.
|
|
95
|
+
*/
|
|
96
|
+
const useScales = () => {
|
|
97
|
+
const { scales, updateScale } = useContext(Context);
|
|
98
|
+
const getScale = useCallback((scaleName: string) => scales[scaleName], [scales]);
|
|
99
|
+
return { scales, updateScale, getScale } as const;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
return { useAutoCoreTag, useAutoCoreTags, useAutoCoreSelect, useScales } as const;
|
|
103
|
+
}
|
package/src/hub/HubBase.ts
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* Created Date: 2023-12-15 14:21:33
|
|
4
4
|
* Author: Thomas C. Bitsky Jr.
|
|
5
5
|
* -----
|
|
6
|
-
* Last Modified: 2025-
|
|
6
|
+
* Last Modified: 2025-09-05 14:50:03
|
|
7
7
|
* Modified By: ADC
|
|
8
8
|
* -----
|
|
9
9
|
*
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
import { EventEmitterContextType} from '../core/EventEmitterContext';
|
|
13
|
-
import {CommandMessageResult} from "./CommandMessage";
|
|
12
|
+
import type { EventEmitterContextType} from '../core/EventEmitterContext';
|
|
13
|
+
import type {CommandMessageResult} from "./CommandMessage";
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
/**
|
package/src/hub/HubSimulate.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (C) 2023 Automated Design Corp. All Rights Reserved.
|
|
3
3
|
* Created Date: 2023-12-17 10:38:21
|
|
4
4
|
* -----
|
|
5
|
-
* Last Modified:
|
|
5
|
+
* Last Modified: 2025-09-05 14:49:57
|
|
6
6
|
* Modified By: ADC
|
|
7
7
|
* -----
|
|
8
8
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
import { HubBase } from './HubBase';
|
|
13
|
-
import { CommandMessageResult } from "./CommandMessage";
|
|
13
|
+
import type { CommandMessageResult } from "./CommandMessage";
|
|
14
14
|
/**
|
|
15
15
|
* Hub for simulating functionality when no backend is present.
|
|
16
16
|
*/
|
package/src/hub/HubTauri.ts
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
* Created Date: 2023-12-17 09:50:23
|
|
4
4
|
* Author: Thomas C. Bitsky Jr.
|
|
5
5
|
* -----
|
|
6
|
-
* Last Modified:
|
|
6
|
+
* Last Modified: 2025-09-05 14:53:18
|
|
7
7
|
* Modified By: ADC
|
|
8
8
|
* -----
|
|
9
9
|
*
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
import { InvokeArgs } from '@tauri-apps/api/tauri';
|
|
12
|
+
import type { InvokeArgs } from '@tauri-apps/api/tauri';
|
|
13
13
|
import { HubBase } from './HubBase';
|
|
14
14
|
import {event, invoke} from '@tauri-apps/api';
|
|
15
|
-
import {CommandMessageResult} from "./CommandMessage";
|
|
15
|
+
import type {CommandMessageResult} from "./CommandMessage";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Hub for integrating with the Tauri backend.
|
package/src/hub/HubWebSocket.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (C) 2024 Automated Design Corp.. All Rights Reserved.
|
|
3
3
|
* Created Date: 2024-04-17 09:13:07
|
|
4
4
|
* -----
|
|
5
|
-
* Last Modified: 2025-
|
|
5
|
+
* Last Modified: 2025-09-05 15:18:44
|
|
6
6
|
* -----
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
import { HubBase } from './HubBase';
|
|
25
|
-
import {CommandMessage, CommandMessageResult} from "./CommandMessage";
|
|
25
|
+
import type { CommandMessage, CommandMessageResult } from "./CommandMessage";
|
|
26
26
|
|
|
27
27
|
// Function to parse the JSON string received from the server into a CommandMessage object
|
|
28
28
|
// function parseCommandMessage(jsonString: string): CommandMessage {
|
|
@@ -57,31 +57,28 @@ interface RequestRecord {
|
|
|
57
57
|
* @returns {Blob} A Blob object representing the decoded binary data.
|
|
58
58
|
*/
|
|
59
59
|
function b64toBlob(
|
|
60
|
-
b64Data: string,
|
|
61
|
-
contentType: string =
|
|
60
|
+
b64Data: string,
|
|
61
|
+
contentType: string = "application/octet-stream",
|
|
62
62
|
sliceSize: number = 512
|
|
63
63
|
): Blob {
|
|
64
|
-
|
|
65
64
|
const byteCharacters = atob(b64Data);
|
|
66
|
-
const
|
|
65
|
+
const buffers: ArrayBuffer[] = [];
|
|
67
66
|
|
|
68
67
|
for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {
|
|
69
68
|
const slice = byteCharacters.slice(offset, offset + sliceSize);
|
|
70
69
|
|
|
71
|
-
const byteNumbers
|
|
72
|
-
for (let i = 0; i < slice.length; i++)
|
|
73
|
-
byteNumbers[i] = slice.charCodeAt(i);
|
|
74
|
-
}
|
|
70
|
+
const byteNumbers = new Array<number>(slice.length);
|
|
71
|
+
for (let i = 0; i < slice.length; i++) byteNumbers[i] = slice.charCodeAt(i);
|
|
75
72
|
|
|
76
|
-
const
|
|
77
|
-
|
|
73
|
+
const uint8 = new Uint8Array(byteNumbers);
|
|
74
|
+
buffers.push(uint8.buffer as ArrayBuffer); // <-- pass ArrayBuffer to Blob
|
|
78
75
|
}
|
|
79
76
|
|
|
80
|
-
|
|
81
|
-
return blob;
|
|
77
|
+
return new Blob(buffers, { type: contentType });
|
|
82
78
|
}
|
|
83
79
|
|
|
84
80
|
|
|
81
|
+
|
|
85
82
|
/**
|
|
86
83
|
* Creates a temporary hyperlink in the document and programmatically triggers a download of the Blob provided.
|
|
87
84
|
*
|
|
@@ -129,9 +126,9 @@ export class HubWebSocket extends HubBase {
|
|
|
129
126
|
*/
|
|
130
127
|
constructor() {
|
|
131
128
|
super();
|
|
132
|
-
|
|
129
|
+
|
|
133
130
|
const host = window.location.hostname; // Get the hostname from the address bar
|
|
134
|
-
|
|
131
|
+
|
|
135
132
|
// Default to using autocore-server.
|
|
136
133
|
let port = undefined; // window.location.port; // Get the port from the address bar, if any
|
|
137
134
|
|
|
@@ -146,13 +143,13 @@ export class HubWebSocket extends HubBase {
|
|
|
146
143
|
//
|
|
147
144
|
// Websocket connection established.
|
|
148
145
|
//
|
|
149
|
-
this.socket.onopen = function() {
|
|
146
|
+
this.socket.onopen = function () {
|
|
150
147
|
console.log("WebSocket connection established.");
|
|
151
148
|
self.publish("HUB/connected", true);
|
|
152
149
|
self.setIsConnected(true);
|
|
153
150
|
};
|
|
154
|
-
|
|
155
|
-
|
|
151
|
+
|
|
152
|
+
|
|
156
153
|
// Message recevied via the websocket connection.
|
|
157
154
|
//
|
|
158
155
|
this.socket.onmessage = (event) => {
|
|
@@ -164,22 +161,22 @@ export class HubWebSocket extends HubBase {
|
|
|
164
161
|
|
|
165
162
|
const { resolve, reject } = this.pendingRequests.get(data.request_id)!;
|
|
166
163
|
|
|
167
|
-
if (data.fname === "FILE_DOWNLOAD"
|
|
164
|
+
if (data.fname === "FILE_DOWNLOAD"
|
|
168
165
|
&& data.args["file_name"] !== undefined && data.args["file_name"] !== null
|
|
169
166
|
&& data.args["file_name"].length > 0
|
|
170
167
|
) {
|
|
171
168
|
|
|
172
169
|
// The file name was supplied in the original request
|
|
173
170
|
let tokens = data.args["file_name"].split("/");
|
|
174
|
-
|
|
175
|
-
const filename = tokens[tokens.length - 1];
|
|
171
|
+
|
|
172
|
+
const filename = tokens[tokens.length - 1];
|
|
176
173
|
if (data.result && data.result.success) {
|
|
177
174
|
const blob = b64toBlob(data.result.data);
|
|
178
175
|
downloadBlob(blob, filename);
|
|
179
|
-
|
|
176
|
+
|
|
180
177
|
// Don't send the whole file through; that's crazy.
|
|
181
178
|
data.result.data = filename;
|
|
182
|
-
|
|
179
|
+
|
|
183
180
|
// Signal the function that initiated the download that all is well.
|
|
184
181
|
resolve(data.result);
|
|
185
182
|
|
|
@@ -190,14 +187,14 @@ export class HubWebSocket extends HubBase {
|
|
|
190
187
|
|
|
191
188
|
}
|
|
192
189
|
else {
|
|
193
|
-
|
|
190
|
+
|
|
194
191
|
if (!data.result?.success) {
|
|
195
192
|
// Return the result to the function that initiated the request.
|
|
196
193
|
reject(new Error(data.result?.error_message));
|
|
197
194
|
} else {
|
|
198
195
|
// Send the error to the function that intiated the request.
|
|
199
196
|
resolve(data.result);
|
|
200
|
-
}
|
|
197
|
+
}
|
|
201
198
|
}
|
|
202
199
|
this.pendingRequests.delete(data.request_id);
|
|
203
200
|
} else {
|
|
@@ -217,7 +214,7 @@ export class HubWebSocket extends HubBase {
|
|
|
217
214
|
//
|
|
218
215
|
this.socket.onclose = () => {
|
|
219
216
|
self.setIsConnected(false);
|
|
220
|
-
console.log('WebSocket connection closed.');
|
|
217
|
+
console.log('WebSocket connection closed.');
|
|
221
218
|
};
|
|
222
219
|
}
|
|
223
220
|
|
|
@@ -229,13 +226,13 @@ export class HubWebSocket extends HubBase {
|
|
|
229
226
|
* @param payload The arguments of the command.
|
|
230
227
|
* @returns Promise<CommandMessageResult>
|
|
231
228
|
*/
|
|
232
|
-
invoke = (domain
|
|
229
|
+
invoke = (domain: string, fname: string, payload?: object): Promise<CommandMessageResult> => {
|
|
233
230
|
|
|
234
231
|
return new Promise((resolve, reject) => {
|
|
235
232
|
const id = ++this.requestId; // Increment and use the request ID
|
|
236
233
|
this.pendingRequests.set(id, { resolve, reject });
|
|
237
234
|
|
|
238
|
-
let cm
|
|
235
|
+
let cm: CommandMessage = {
|
|
239
236
|
request_id: id,
|
|
240
237
|
domain: domain,
|
|
241
238
|
fname: fname,
|
|
@@ -250,10 +247,10 @@ export class HubWebSocket extends HubBase {
|
|
|
250
247
|
handleUnsolicitedMessage = (msg: CommandMessage) => {
|
|
251
248
|
// Handle messages that do not correspond to a pending request
|
|
252
249
|
|
|
253
|
-
if (msg.fname === "BROADCAST"
|
|
250
|
+
if (msg.fname === "BROADCAST"
|
|
254
251
|
&& msg.domain.length >= 1
|
|
255
252
|
&& msg.result !== undefined && msg.result !== null
|
|
256
|
-
&& msg.result.data !== undefined && msg.result.data !== null
|
|
253
|
+
&& msg.result.data !== undefined && msg.result.data !== null
|
|
257
254
|
) {
|
|
258
255
|
|
|
259
256
|
let topic = `${msg.domain}/${msg.result.data["topic"]}`;
|
|
@@ -266,7 +263,7 @@ export class HubWebSocket extends HubBase {
|
|
|
266
263
|
// }
|
|
267
264
|
}
|
|
268
265
|
|
|
269
|
-
disconnect= (): void => {
|
|
266
|
+
disconnect = (): void => {
|
|
270
267
|
this.socket.close();
|
|
271
268
|
}
|
|
272
269
|
|
package/src/hub/index.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (C) 2024 Automated Design Corp. All Rights Reserved.
|
|
3
3
|
* Created Date: 2024-01-16 21:07:29
|
|
4
4
|
* -----
|
|
5
|
-
* Last Modified:
|
|
5
|
+
* Last Modified: 2025-09-05 14:53:01
|
|
6
6
|
* Modified By: ADC
|
|
7
7
|
* -----
|
|
8
8
|
*
|
|
@@ -12,7 +12,7 @@ import { HubBase as Hub } from './HubBase';
|
|
|
12
12
|
import { HubTauri } from './HubTauri';
|
|
13
13
|
import { HubWebSocket } from "./HubWebSocket";
|
|
14
14
|
import {HubSimulate} from "./HubSimulate"
|
|
15
|
-
import { CommandMessage, CommandMessageResult } from './CommandMessage';
|
|
15
|
+
import type { CommandMessage, CommandMessageResult } from './CommandMessage';
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
let hubInstance: Hub | null = null;
|
package/tsconfig.json
CHANGED
|
@@ -1,34 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
"target": "ES2020", // Set the JavaScript language version for emitted JavaScript and include compatible library declarations
|
|
4
|
+
"outDir": "./dist", // Specify an output folder for all emitted files
|
|
5
|
+
"useDefineForClassFields": true, // Use 'define' semantics for class fields (as opposed to 'set')
|
|
6
|
+
// Specify a set of compiled-in library files to be included in the compilation context
|
|
7
|
+
"lib": [
|
|
8
|
+
"ES2020",
|
|
9
|
+
"DOM",
|
|
10
|
+
"DOM.Iterable"
|
|
11
|
+
],
|
|
12
|
+
"module": "ESNext", // Specify what module code is generated (here, it's the latest module standard)
|
|
13
|
+
"declaration": true, // Generate the types files (*.d.ts)
|
|
14
|
+
"skipLibCheck": true, // Skip type checking of declaration files (*.d.ts)
|
|
15
|
+
/* Bundler mode */
|
|
16
|
+
"moduleResolution": "bundler", // "node", // Choose the module resolution strategy: 'node' for Node.js
|
|
17
|
+
"allowSyntheticDefaultImports": true, // Allow default imports from modules with no default export
|
|
18
|
+
"resolveJsonModule": true, // Include modules imported with '.json' extension
|
|
19
|
+
"isolatedModules": true, // Ensure each file can be safely transpiled without relying on other imports
|
|
20
|
+
"noEmit": false, // Do not emit outputs (if set to true, no files are emitted)
|
|
21
|
+
"jsx": "react-jsx", // Specify JSX code generation: 'preserve', 'react', or 'react-jsx' (new transform)
|
|
22
|
+
/* Linting */
|
|
23
|
+
"strict": true, // Enable all strict type checking options
|
|
24
|
+
"noUnusedLocals": true, // Report errors on unused locals
|
|
25
|
+
"noUnusedParameters": true, // Report errors on unused parameters
|
|
26
|
+
"noFallthroughCasesInSwitch": true, // Report errors for fallthrough cases in switch statement
|
|
13
27
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
/* publish doc along with js code to help with auto-completion */
|
|
29
|
+
"declarationMap": true, // nice for “go to definition”
|
|
30
|
+
"emitDeclarationOnly": false, // we want JS + types (default is fine)
|
|
31
|
+
"removeComments": false, // JS comments: optional; .d.ts will still carry JSDoc
|
|
32
|
+
"stripInternal": true, // hides /** @internal */ APIs from .d.ts (optional)
|
|
33
|
+
|
|
34
|
+
/* helpful for cross-platform support */
|
|
35
|
+
"forceConsistentCasingInFileNames": true,
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
"rootDir" : "src",
|
|
40
|
+
"verbatimModuleSyntax": true, // This keeps import/export syntax intact and avoids synthetic re-exports TS sometimes injects:
|
|
27
41
|
},
|
|
28
|
-
"include": [
|
|
29
|
-
|
|
42
|
+
"include": [
|
|
43
|
+
"src"
|
|
44
|
+
], // Specify file glob patterns to include in the program
|
|
45
|
+
"exclude": [ // Specify file globa patterns to exclude from compilation
|
|
30
46
|
"node_modules",
|
|
31
47
|
"dist"
|
|
32
|
-
]
|
|
33
|
-
|
|
34
|
-
|
|
48
|
+
]
|
|
49
|
+
}
|