@buoy-gg/floating-tools-core 7.0.77 → 7.0.79

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.
@@ -0,0 +1 @@
1
+ "use strict";import{createIcon as o}from"./icon-renderer.js";import{otaInspectorIconData as t}from"./generated/icon-data.g.js";export{OTA_INSPECTOR_ICON_COLOR}from"./generated/icon-data.g.js";export const OtaInspectorIcon=o(t);
@@ -1 +1 @@
1
- "use strict";export{FloatingToolsStore}from"./FloatingToolsStore.js";export{monoFont}from"./fonts";export*from"./icons/generated/glyph-icons.g.js";export{VISIBLE_HANDLE_WIDTH,DRAG_THRESHOLD,ANIMATION_DURATION,EDGE_PADDING,SAVE_DEBOUNCE_MS,STORAGE_KEYS}from"./constants.js";export{DevToolsStateManager,devToolsStateManager,devToolsReducer}from"./devToolsState.js";export{getUserStatusConfig,getGripIconLayout,filterValidChildren}from"./utils.js";export{easing,getEasing,interpolate,interpolatePosition}from"./easing.js";export{floatingToolsColors,withAlpha}from"./colors.js";export{MAX_DIAL_SLOTS,DIAL_START_ANGLE,DIAL_BUTTON_SIZE,DIAL_ICON_SIZE,DIAL_ICON_GLYPH_SIZE,DIAL_ICON_PADDING,DIAL_GRID_LINE_COUNT,dialColors,dialStyles,getGridLineRotations,getDialLayout,getIconAngle,getIconPosition,getAllIconPositions,dialAnimationConfig,getIconStaggerInputRange,dialCSSBeziers,generateDialCSSKeyframes,getDialCSSAnimationStyles,getDialCSSKeyframesString,getSpiralAnimationPosition,getStaggeredIconProgress}from"./dial.js";export{USAGE_HALF_LIFE_MS,USAGE_MIN_SCORE,decayScore,recordUsage,rankToolIds,pruneUsage}from"./dialUsage.js";export{SETTINGS_STORAGE_KEY,MAX_SETTINGS_DIAL_SLOTS,settingsTabs,settingsColors,toolColors,getToolColor,settingsStyles,toolLabels,getToolLabel,toolDescriptions,getToolDescription,globalSettingsConfig,enforceDialLimit,sanitizeFloatingSettings,mergeSettingsWithDefaults,generateDefaultSettings,countEnabledTools,canEnableDialTool,getEnabledToolIds,SettingsEventBus,settingsEventBus}from"./settings.js";export{NetworkIcon,NETWORK_ICON_COLOR}from"./icons/network-icon";export{EnvIcon,ENV_ICON_COLOR}from"./icons/env-icon";export{StorageIcon,STORAGE_ICON_COLOR}from"./icons/storage-icon";export{RoutesIcon,RoutePinIcon,RoutePathIcon,RouteDotIcon,RouteTwoPinsIcon,CurveTestA,CurveTestB,CurveTestC,CurveTestD,CurveTestE,CurveTestF,CurveTestG,CurveTestH,CurveTestI,CurveTestJ,CurveTestK,CurveTestL,CurveTestM,CurveTestN,CurveTestO,CurveTestP,ROUTES_ICON_COLOR}from"./icons/routes-icon";export{QueryIcon,QUERY_ICON_COLOR}from"./icons/query-icon";export{HighlighterIcon,HIGHLIGHTER_ICON_COLOR,RendersIcon,RENDERS_ICON_COLOR}from"./icons/renders-icon";export{BenchmarkIcon,BENCHMARK_ICON_COLOR}from"./icons/benchmark-icon";export{SentryIcon,SENTRY_ICON_COLOR}from"./icons/sentry-icon";export{SettingsSolidIcon}from"./icons/settings-icon";export{WifiIcon,WIFI_ICON_COLOR}from"./icons/wifi-icon";export{HighlightIcon,HIGHLIGHT_ICON_COLOR}from"./icons/highlight-icon";export{ReduxIcon,REDUX_ICON_COLOR}from"./icons/redux-icon";export{EventsIcon,EVENTS_ICON_COLOR}from"./icons/events-icon";export{ConsoleIcon,CONSOLE_ICON_COLOR}from"./icons/console-icon";export{TimeMachineIcon,TIME_MACHINE_ICON_COLOR}from"./icons/time-machine-icon";export{ScenariosIcon,SCENARIOS_ICON_COLOR}from"./icons/scenarios-icon";export{AskBuoyIcon,ASK_BUOY_ICON_COLOR}from"./icons/ask-buoy-icon";export{ImagesIcon,IMAGES_ICON_COLOR}from"./icons/images-icon";export{CameraIcon,CAMERA_ICON_COLOR}from"./icons/camera-icon";export{AssetsIcon,ASSETS_ICON_COLOR}from"./icons/assets-icon";export{ImpersonateIcon,IMPERSONATE_ICON_COLOR}from"./icons/impersonate-icon";export{ImageOverlayIcon,IMAGE_OVERLAY_ICON_COLOR}from"./icons/image-overlay-icon";export{ZustandIcon,ZUSTAND_ICON_COLOR}from"./icons/zustand-icon";export{JotaiIcon,JOTAI_ICON_COLOR}from"./icons/jotai-icon";export{RiverpodIcon,RIVERPOD_ICON_COLOR}from"./icons/riverpod-icon";export{createNode,createLine,createRing,createDot,createGlow,createArrow,createBar}from"./icons/icon-factories.js";export{renderIconData,createIcon}from"./icons/icon-renderer.js";export{NotificationsIcon,NOTIFICATIONS_ICON_COLOR}from"./icons/notifications-icon.js";export{ClockToolIcon,CLOCK_TOOL_ICON_COLOR}from"./icons/clock-tool-icon.js";export{PermissionsIcon,PERMISSIONS_ICON_COLOR}from"./icons/permissions-icon.js";export{LifecycleToolIcon,LIFECYCLE_TOOL_ICON_COLOR}from"./icons/lifecycle-tool-icon.js";export{LocationToolIcon,LOCATION_TOOL_ICON_COLOR}from"./icons/location-tool-icon.js";export{BUOY_TEAM_TOOL_IDS,teamToolId,isTeamToolAllowed,filterTeamTools}from"./teamTools.js";
1
+ "use strict";export{FloatingToolsStore}from"./FloatingToolsStore.js";export{monoFont}from"./fonts";export*from"./icons/generated/glyph-icons.g.js";export{VISIBLE_HANDLE_WIDTH,DRAG_THRESHOLD,ANIMATION_DURATION,EDGE_PADDING,SAVE_DEBOUNCE_MS,STORAGE_KEYS}from"./constants.js";export{DevToolsStateManager,devToolsStateManager,devToolsReducer}from"./devToolsState.js";export{getUserStatusConfig,getGripIconLayout,filterValidChildren}from"./utils.js";export{easing,getEasing,interpolate,interpolatePosition}from"./easing.js";export{floatingToolsColors,withAlpha}from"./colors.js";export{MAX_DIAL_SLOTS,DIAL_START_ANGLE,DIAL_BUTTON_SIZE,DIAL_ICON_SIZE,DIAL_ICON_GLYPH_SIZE,DIAL_ICON_PADDING,DIAL_GRID_LINE_COUNT,dialColors,dialStyles,getGridLineRotations,getDialLayout,getIconAngle,getIconPosition,getAllIconPositions,dialAnimationConfig,getIconStaggerInputRange,dialCSSBeziers,generateDialCSSKeyframes,getDialCSSAnimationStyles,getDialCSSKeyframesString,getSpiralAnimationPosition,getStaggeredIconProgress}from"./dial.js";export{USAGE_HALF_LIFE_MS,USAGE_MIN_SCORE,decayScore,recordUsage,rankToolIds,pruneUsage}from"./dialUsage.js";export{SETTINGS_STORAGE_KEY,MAX_SETTINGS_DIAL_SLOTS,settingsTabs,settingsColors,toolColors,getToolColor,settingsStyles,toolLabels,getToolLabel,toolDescriptions,getToolDescription,globalSettingsConfig,enforceDialLimit,sanitizeFloatingSettings,mergeSettingsWithDefaults,generateDefaultSettings,countEnabledTools,canEnableDialTool,getEnabledToolIds,SettingsEventBus,settingsEventBus}from"./settings.js";export{NetworkIcon,NETWORK_ICON_COLOR}from"./icons/network-icon";export{EnvIcon,ENV_ICON_COLOR}from"./icons/env-icon";export{StorageIcon,STORAGE_ICON_COLOR}from"./icons/storage-icon";export{RoutesIcon,RoutePinIcon,RoutePathIcon,RouteDotIcon,RouteTwoPinsIcon,CurveTestA,CurveTestB,CurveTestC,CurveTestD,CurveTestE,CurveTestF,CurveTestG,CurveTestH,CurveTestI,CurveTestJ,CurveTestK,CurveTestL,CurveTestM,CurveTestN,CurveTestO,CurveTestP,ROUTES_ICON_COLOR}from"./icons/routes-icon";export{QueryIcon,QUERY_ICON_COLOR}from"./icons/query-icon";export{HighlighterIcon,HIGHLIGHTER_ICON_COLOR,RendersIcon,RENDERS_ICON_COLOR}from"./icons/renders-icon";export{BenchmarkIcon,BENCHMARK_ICON_COLOR}from"./icons/benchmark-icon";export{SentryIcon,SENTRY_ICON_COLOR}from"./icons/sentry-icon";export{SettingsSolidIcon}from"./icons/settings-icon";export{WifiIcon,WIFI_ICON_COLOR}from"./icons/wifi-icon";export{HighlightIcon,HIGHLIGHT_ICON_COLOR}from"./icons/highlight-icon";export{ReduxIcon,REDUX_ICON_COLOR}from"./icons/redux-icon";export{EventsIcon,EVENTS_ICON_COLOR}from"./icons/events-icon";export{ConsoleIcon,CONSOLE_ICON_COLOR}from"./icons/console-icon";export{TimeMachineIcon,TIME_MACHINE_ICON_COLOR}from"./icons/time-machine-icon";export{ScenariosIcon,SCENARIOS_ICON_COLOR}from"./icons/scenarios-icon";export{AskBuoyIcon,ASK_BUOY_ICON_COLOR}from"./icons/ask-buoy-icon";export{ImagesIcon,IMAGES_ICON_COLOR}from"./icons/images-icon";export{CameraIcon,CAMERA_ICON_COLOR}from"./icons/camera-icon";export{AssetsIcon,ASSETS_ICON_COLOR}from"./icons/assets-icon";export{ImpersonateIcon,IMPERSONATE_ICON_COLOR}from"./icons/impersonate-icon";export{ImageOverlayIcon,IMAGE_OVERLAY_ICON_COLOR}from"./icons/image-overlay-icon";export{ZustandIcon,ZUSTAND_ICON_COLOR}from"./icons/zustand-icon";export{JotaiIcon,JOTAI_ICON_COLOR}from"./icons/jotai-icon";export{RiverpodIcon,RIVERPOD_ICON_COLOR}from"./icons/riverpod-icon";export{createNode,createLine,createRing,createDot,createGlow,createArrow,createBar}from"./icons/icon-factories.js";export{renderIconData,createIcon}from"./icons/icon-renderer.js";export{NotificationsIcon,NOTIFICATIONS_ICON_COLOR}from"./icons/notifications-icon.js";export{ClockToolIcon,CLOCK_TOOL_ICON_COLOR}from"./icons/clock-tool-icon.js";export{PermissionsIcon,PERMISSIONS_ICON_COLOR}from"./icons/permissions-icon.js";export{LifecycleToolIcon,LIFECYCLE_TOOL_ICON_COLOR}from"./icons/lifecycle-tool-icon.js";export{LocationToolIcon,LOCATION_TOOL_ICON_COLOR}from"./icons/location-tool-icon.js";export{OtaInspectorIcon,OTA_INSPECTOR_ICON_COLOR}from"./icons/ota-inspector-icon.js";export{BUOY_TEAM_TOOL_IDS,teamToolId,isTeamToolAllowed,filterTeamTools}from"./teamTools.js";
@@ -1 +1 @@
1
- "use strict";export const BUOY_TEAM_TOOL_IDS=["ask-buoy","assets","clock","console","debug-borders","env","events","highlight-updates","image-overlay","images","impersonate","jotai","js-top","lifecycle","location","network","perf-monitor","permissions","push-notifications","query","redux","riverpod","route-events","scenarios","sentry","storage","three","time-machine","zustand"];const n=new Set(BUOY_TEAM_TOOL_IDS);const s={routes:"route-events","react-query":"query","query-wifi-toggle":"query"};export function teamToolId(e){const t=e.endsWith("-modal")?e.slice(0,-"-modal".length):e;return s[t]??t}export function isTeamToolAllowed(e,t){if(!t)return true;const r=teamToolId(e);if(!n.has(r))return true;return t.some(o=>teamToolId(o)===r)}export function filterTeamTools(e,t){if(!t)return e;return e.filter(r=>isTeamToolAllowed(r.id,t))}
1
+ "use strict";export const BUOY_TEAM_TOOL_IDS=["ask-buoy","assets","clock","console","debug-borders","env","events","highlight-updates","image-overlay","images","impersonate","jotai","js-top","lifecycle","location","memory-leaks","network","ota-update-inspector","perf-monitor","permissions","push-notifications","query","redux","riverpod","route-events","scenarios","sentry","storage","three","time-machine","zustand"];const n=new Set(BUOY_TEAM_TOOL_IDS);const s={routes:"route-events","react-query":"query","query-wifi-toggle":"query"};export function teamToolId(e){const t=e.endsWith("-modal")?e.slice(0,-"-modal".length):e;return s[t]??t}export function isTeamToolAllowed(e,t){if(!t)return true;const r=teamToolId(e);if(!n.has(r))return true;return t.some(o=>teamToolId(o)===r)}export function filterTeamTools(e,t){if(!t)return e;return e.filter(r=>isTeamToolAllowed(r.id,t))}
@@ -38,6 +38,7 @@ export declare const GaugeGlyph: import("../icon-renderer").BuoyIconComponent;
38
38
  export declare const GitBranchGlyph: import("../icon-renderer").BuoyIconComponent;
39
39
  export declare const GlobeGlyph: import("../icon-renderer").BuoyIconComponent;
40
40
  export declare const GripVerticalGlyph: import("../icon-renderer").BuoyIconComponent;
41
+ export declare const HardDriveGlyph: import("../icon-renderer").BuoyIconComponent;
41
42
  export declare const HashGlyph: import("../icon-renderer").BuoyIconComponent;
42
43
  export declare const HomeGlyph: import("../icon-renderer").BuoyIconComponent;
43
44
  export declare const ImageOffGlyph: import("../icon-renderer").BuoyIconComponent;
@@ -113,6 +114,7 @@ export declare const glyphsByName: {
113
114
  readonly 'git-branch': import("../icon-renderer").BuoyIconComponent;
114
115
  readonly globe: import("../icon-renderer").BuoyIconComponent;
115
116
  readonly 'grip-vertical': import("../icon-renderer").BuoyIconComponent;
117
+ readonly 'hard-drive': import("../icon-renderer").BuoyIconComponent;
116
118
  readonly hash: import("../icon-renderer").BuoyIconComponent;
117
119
  readonly home: import("../icon-renderer").BuoyIconComponent;
118
120
  readonly 'image-off': import("../icon-renderer").BuoyIconComponent;
@@ -54,6 +54,8 @@ export declare const NETWORK_ICON_COLOR = "#00D4FF";
54
54
  export declare const networkIconData: IconData;
55
55
  export declare const NOTIFICATIONS_ICON_COLOR = "#38BDF8";
56
56
  export declare const notificationsIconData: IconData;
57
+ export declare const OTA_INSPECTOR_ICON_COLOR = "#38BDF8";
58
+ export declare const otaInspectorIconData: IconData;
57
59
  export declare const ottoAskBuoyIconData: IconData;
58
60
  export declare const ottoAssetsIconData: IconData;
59
61
  export declare const ottoBenchIconData: IconData;
@@ -146,6 +148,7 @@ export declare const gaugeGlyphData: IconData;
146
148
  export declare const gitBranchGlyphData: IconData;
147
149
  export declare const globeGlyphData: IconData;
148
150
  export declare const gripVerticalGlyphData: IconData;
151
+ export declare const hardDriveGlyphData: IconData;
149
152
  export declare const hashGlyphData: IconData;
150
153
  export declare const homeGlyphData: IconData;
151
154
  export declare const imageOffGlyphData: IconData;
@@ -0,0 +1,3 @@
1
+ export { OTA_INSPECTOR_ICON_COLOR } from './generated/icon-data.g';
2
+ export declare const OtaInspectorIcon: import("./icon-renderer").BuoyIconComponent;
3
+ //# sourceMappingURL=ota-inspector-icon.d.ts.map
@@ -60,5 +60,6 @@ export { ClockToolIcon, CLOCK_TOOL_ICON_COLOR } from './icons/clock-tool-icon';
60
60
  export { PermissionsIcon, PERMISSIONS_ICON_COLOR } from './icons/permissions-icon';
61
61
  export { LifecycleToolIcon, LIFECYCLE_TOOL_ICON_COLOR } from './icons/lifecycle-tool-icon';
62
62
  export { LocationToolIcon, LOCATION_TOOL_ICON_COLOR } from './icons/location-tool-icon';
63
+ export { OtaInspectorIcon, OTA_INSPECTOR_ICON_COLOR } from './icons/ota-inspector-icon';
63
64
  export { BUOY_TEAM_TOOL_IDS, teamToolId, isTeamToolAllowed, filterTeamTools, } from './teamTools';
64
65
  //# sourceMappingURL=index.d.ts.map
@@ -22,7 +22,7 @@
22
22
  * Tests in the website, Swift and Android read this list and fail on drift.
23
23
  */
24
24
  /** Every Buoy tool a role can turn on or off, by its menu id. */
25
- export declare const BUOY_TEAM_TOOL_IDS: readonly ["ask-buoy", "assets", "clock", "console", "debug-borders", "env", "events", "highlight-updates", "image-overlay", "images", "impersonate", "jotai", "js-top", "lifecycle", "location", "network", "perf-monitor", "permissions", "push-notifications", "query", "redux", "riverpod", "route-events", "scenarios", "sentry", "storage", "three", "time-machine", "zustand"];
25
+ export declare const BUOY_TEAM_TOOL_IDS: readonly ["ask-buoy", "assets", "clock", "console", "debug-borders", "env", "events", "highlight-updates", "image-overlay", "images", "impersonate", "jotai", "js-top", "lifecycle", "location", "memory-leaks", "network", "ota-update-inspector", "perf-monitor", "permissions", "push-notifications", "query", "redux", "riverpod", "route-events", "scenarios", "sentry", "storage", "three", "time-machine", "zustand"];
26
26
  /**
27
27
  * The id a role list uses for a menu entry. A tool's second entry
28
28
  * (`perf-monitor-modal`, `js-top-modal`, …) follows its base tool.
@@ -38,6 +38,7 @@ export declare const GaugeGlyph: import("../icon-renderer").BuoyIconComponent;
38
38
  export declare const GitBranchGlyph: import("../icon-renderer").BuoyIconComponent;
39
39
  export declare const GlobeGlyph: import("../icon-renderer").BuoyIconComponent;
40
40
  export declare const GripVerticalGlyph: import("../icon-renderer").BuoyIconComponent;
41
+ export declare const HardDriveGlyph: import("../icon-renderer").BuoyIconComponent;
41
42
  export declare const HashGlyph: import("../icon-renderer").BuoyIconComponent;
42
43
  export declare const HomeGlyph: import("../icon-renderer").BuoyIconComponent;
43
44
  export declare const ImageOffGlyph: import("../icon-renderer").BuoyIconComponent;
@@ -113,6 +114,7 @@ export declare const glyphsByName: {
113
114
  readonly 'git-branch': import("../icon-renderer").BuoyIconComponent;
114
115
  readonly globe: import("../icon-renderer").BuoyIconComponent;
115
116
  readonly 'grip-vertical': import("../icon-renderer").BuoyIconComponent;
117
+ readonly 'hard-drive': import("../icon-renderer").BuoyIconComponent;
116
118
  readonly hash: import("../icon-renderer").BuoyIconComponent;
117
119
  readonly home: import("../icon-renderer").BuoyIconComponent;
118
120
  readonly 'image-off': import("../icon-renderer").BuoyIconComponent;
@@ -54,6 +54,8 @@ export declare const NETWORK_ICON_COLOR = "#00D4FF";
54
54
  export declare const networkIconData: IconData;
55
55
  export declare const NOTIFICATIONS_ICON_COLOR = "#38BDF8";
56
56
  export declare const notificationsIconData: IconData;
57
+ export declare const OTA_INSPECTOR_ICON_COLOR = "#38BDF8";
58
+ export declare const otaInspectorIconData: IconData;
57
59
  export declare const ottoAskBuoyIconData: IconData;
58
60
  export declare const ottoAssetsIconData: IconData;
59
61
  export declare const ottoBenchIconData: IconData;
@@ -146,6 +148,7 @@ export declare const gaugeGlyphData: IconData;
146
148
  export declare const gitBranchGlyphData: IconData;
147
149
  export declare const globeGlyphData: IconData;
148
150
  export declare const gripVerticalGlyphData: IconData;
151
+ export declare const hardDriveGlyphData: IconData;
149
152
  export declare const hashGlyphData: IconData;
150
153
  export declare const homeGlyphData: IconData;
151
154
  export declare const imageOffGlyphData: IconData;
@@ -0,0 +1,3 @@
1
+ export { OTA_INSPECTOR_ICON_COLOR } from './generated/icon-data.g';
2
+ export declare const OtaInspectorIcon: import("./icon-renderer").BuoyIconComponent;
3
+ //# sourceMappingURL=ota-inspector-icon.d.ts.map
@@ -60,5 +60,6 @@ export { ClockToolIcon, CLOCK_TOOL_ICON_COLOR } from './icons/clock-tool-icon';
60
60
  export { PermissionsIcon, PERMISSIONS_ICON_COLOR } from './icons/permissions-icon';
61
61
  export { LifecycleToolIcon, LIFECYCLE_TOOL_ICON_COLOR } from './icons/lifecycle-tool-icon';
62
62
  export { LocationToolIcon, LOCATION_TOOL_ICON_COLOR } from './icons/location-tool-icon';
63
+ export { OtaInspectorIcon, OTA_INSPECTOR_ICON_COLOR } from './icons/ota-inspector-icon';
63
64
  export { BUOY_TEAM_TOOL_IDS, teamToolId, isTeamToolAllowed, filterTeamTools, } from './teamTools';
64
65
  //# sourceMappingURL=index.d.ts.map
@@ -22,7 +22,7 @@
22
22
  * Tests in the website, Swift and Android read this list and fail on drift.
23
23
  */
24
24
  /** Every Buoy tool a role can turn on or off, by its menu id. */
25
- export declare const BUOY_TEAM_TOOL_IDS: readonly ["ask-buoy", "assets", "clock", "console", "debug-borders", "env", "events", "highlight-updates", "image-overlay", "images", "impersonate", "jotai", "js-top", "lifecycle", "location", "network", "perf-monitor", "permissions", "push-notifications", "query", "redux", "riverpod", "route-events", "scenarios", "sentry", "storage", "three", "time-machine", "zustand"];
25
+ export declare const BUOY_TEAM_TOOL_IDS: readonly ["ask-buoy", "assets", "clock", "console", "debug-borders", "env", "events", "highlight-updates", "image-overlay", "images", "impersonate", "jotai", "js-top", "lifecycle", "location", "memory-leaks", "network", "ota-update-inspector", "perf-monitor", "permissions", "push-notifications", "query", "redux", "riverpod", "route-events", "scenarios", "sentry", "storage", "three", "time-machine", "zustand"];
26
26
  /**
27
27
  * The id a role list uses for a menu entry. A tool's second entry
28
28
  * (`perf-monitor-modal`, `js-top-modal`, …) follows its base tool.