@buoy-gg/floating-tools-core 2.1.4-beta.2 → 2.1.4

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 (107) hide show
  1. package/lib/commonjs/FloatingToolsStore.js +1 -501
  2. package/lib/commonjs/colors.js +1 -54
  3. package/lib/commonjs/constants.js +1 -31
  4. package/lib/commonjs/devToolsState.js +1 -325
  5. package/lib/commonjs/dial.js +1 -617
  6. package/lib/commonjs/easing.js +1 -69
  7. package/lib/commonjs/icons/benchmark-icon.js +1 -24
  8. package/lib/commonjs/icons/env-icon.js +1 -24
  9. package/lib/commonjs/icons/events-icon.js +1 -24
  10. package/lib/commonjs/icons/highlight-icon.js +1 -24
  11. package/lib/commonjs/icons/icon-data.js +1 -2268
  12. package/lib/commonjs/icons/icon-factories.js +1 -173
  13. package/lib/commonjs/icons/icon-primitives.js +1 -559
  14. package/lib/commonjs/icons/icon-primitives.native.js +1 -779
  15. package/lib/commonjs/icons/icon-renderer.js +1 -260
  16. package/lib/commonjs/icons/network-icon.js +1 -24
  17. package/lib/commonjs/icons/query-icon.js +1 -24
  18. package/lib/commonjs/icons/redux-icon.js +1 -85
  19. package/lib/commonjs/icons/renders-icon.js +1 -33
  20. package/lib/commonjs/icons/routes-icon.js +1 -49
  21. package/lib/commonjs/icons/sentry-icon.js +1 -24
  22. package/lib/commonjs/icons/storage-icon.js +1 -24
  23. package/lib/commonjs/icons/wifi-icon.js +1 -24
  24. package/lib/commonjs/index.js +1 -723
  25. package/lib/commonjs/settings.js +1 -588
  26. package/lib/commonjs/utils.js +1 -72
  27. package/lib/module/FloatingToolsStore.js +1 -496
  28. package/lib/module/colors.js +1 -49
  29. package/lib/module/constants.js +1 -27
  30. package/lib/module/devToolsState.js +1 -318
  31. package/lib/module/dial.js +1 -603
  32. package/lib/module/easing.js +1 -62
  33. package/lib/module/icons/benchmark-icon.js +1 -15
  34. package/lib/module/icons/env-icon.js +1 -15
  35. package/lib/module/icons/events-icon.js +1 -15
  36. package/lib/module/icons/highlight-icon.js +1 -15
  37. package/lib/module/icons/icon-data.js +1 -2264
  38. package/lib/module/icons/icon-factories.js +1 -163
  39. package/lib/module/icons/icon-primitives.js +1 -547
  40. package/lib/module/icons/icon-primitives.native.js +1 -767
  41. package/lib/module/icons/icon-renderer.js +1 -255
  42. package/lib/module/icons/network-icon.js +1 -15
  43. package/lib/module/icons/query-icon.js +1 -15
  44. package/lib/module/icons/redux-icon.js +1 -81
  45. package/lib/module/icons/renders-icon.js +1 -17
  46. package/lib/module/icons/routes-icon.js +1 -41
  47. package/lib/module/icons/sentry-icon.js +1 -15
  48. package/lib/module/icons/storage-icon.js +1 -15
  49. package/lib/module/icons/wifi-icon.js +1 -15
  50. package/lib/module/index.js +1 -103
  51. package/lib/module/settings.js +1 -576
  52. package/lib/module/utils.js +1 -66
  53. package/package.json +1 -1
  54. package/lib/typescript/commonjs/FloatingToolsStore.d.ts.map +0 -1
  55. package/lib/typescript/commonjs/colors.d.ts.map +0 -1
  56. package/lib/typescript/commonjs/constants.d.ts.map +0 -1
  57. package/lib/typescript/commonjs/devToolsState.d.ts.map +0 -1
  58. package/lib/typescript/commonjs/dial.d.ts.map +0 -1
  59. package/lib/typescript/commonjs/easing.d.ts.map +0 -1
  60. package/lib/typescript/commonjs/icons/benchmark-icon.d.ts.map +0 -1
  61. package/lib/typescript/commonjs/icons/env-icon.d.ts.map +0 -1
  62. package/lib/typescript/commonjs/icons/events-icon.d.ts.map +0 -1
  63. package/lib/typescript/commonjs/icons/highlight-icon.d.ts.map +0 -1
  64. package/lib/typescript/commonjs/icons/icon-data.d.ts.map +0 -1
  65. package/lib/typescript/commonjs/icons/icon-factories.d.ts.map +0 -1
  66. package/lib/typescript/commonjs/icons/icon-primitives.d.ts.map +0 -1
  67. package/lib/typescript/commonjs/icons/icon-primitives.native.d.ts.map +0 -1
  68. package/lib/typescript/commonjs/icons/icon-renderer.d.ts.map +0 -1
  69. package/lib/typescript/commonjs/icons/network-icon.d.ts.map +0 -1
  70. package/lib/typescript/commonjs/icons/query-icon.d.ts.map +0 -1
  71. package/lib/typescript/commonjs/icons/redux-icon.d.ts.map +0 -1
  72. package/lib/typescript/commonjs/icons/renders-icon.d.ts.map +0 -1
  73. package/lib/typescript/commonjs/icons/routes-icon.d.ts.map +0 -1
  74. package/lib/typescript/commonjs/icons/sentry-icon.d.ts.map +0 -1
  75. package/lib/typescript/commonjs/icons/storage-icon.d.ts.map +0 -1
  76. package/lib/typescript/commonjs/icons/wifi-icon.d.ts.map +0 -1
  77. package/lib/typescript/commonjs/index.d.ts.map +0 -1
  78. package/lib/typescript/commonjs/settings.d.ts.map +0 -1
  79. package/lib/typescript/commonjs/types.d.ts.map +0 -1
  80. package/lib/typescript/commonjs/utils.d.ts.map +0 -1
  81. package/lib/typescript/module/FloatingToolsStore.d.ts.map +0 -1
  82. package/lib/typescript/module/colors.d.ts.map +0 -1
  83. package/lib/typescript/module/constants.d.ts.map +0 -1
  84. package/lib/typescript/module/devToolsState.d.ts.map +0 -1
  85. package/lib/typescript/module/dial.d.ts.map +0 -1
  86. package/lib/typescript/module/easing.d.ts.map +0 -1
  87. package/lib/typescript/module/icons/benchmark-icon.d.ts.map +0 -1
  88. package/lib/typescript/module/icons/env-icon.d.ts.map +0 -1
  89. package/lib/typescript/module/icons/events-icon.d.ts.map +0 -1
  90. package/lib/typescript/module/icons/highlight-icon.d.ts.map +0 -1
  91. package/lib/typescript/module/icons/icon-data.d.ts.map +0 -1
  92. package/lib/typescript/module/icons/icon-factories.d.ts.map +0 -1
  93. package/lib/typescript/module/icons/icon-primitives.d.ts.map +0 -1
  94. package/lib/typescript/module/icons/icon-primitives.native.d.ts.map +0 -1
  95. package/lib/typescript/module/icons/icon-renderer.d.ts.map +0 -1
  96. package/lib/typescript/module/icons/network-icon.d.ts.map +0 -1
  97. package/lib/typescript/module/icons/query-icon.d.ts.map +0 -1
  98. package/lib/typescript/module/icons/redux-icon.d.ts.map +0 -1
  99. package/lib/typescript/module/icons/renders-icon.d.ts.map +0 -1
  100. package/lib/typescript/module/icons/routes-icon.d.ts.map +0 -1
  101. package/lib/typescript/module/icons/sentry-icon.d.ts.map +0 -1
  102. package/lib/typescript/module/icons/storage-icon.d.ts.map +0 -1
  103. package/lib/typescript/module/icons/wifi-icon.d.ts.map +0 -1
  104. package/lib/typescript/module/index.d.ts.map +0 -1
  105. package/lib/typescript/module/settings.d.ts.map +0 -1
  106. package/lib/typescript/module/types.d.ts.map +0 -1
  107. package/lib/typescript/module/utils.d.ts.map +0 -1
@@ -1,260 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.createIcon = createIcon;
7
- exports.renderIconData = renderIconData;
8
- var _iconPrimitives = require("./icon-primitives");
9
- var _jsxRuntime = require("react/jsx-runtime");
10
- /**
11
- * Icon Renderer - Transforms icon data to components
12
- *
13
- * ONE renderer for ALL icons. Icons are just data.
14
- */
15
-
16
- // ===========================================
17
- // Icon Data Types
18
- // ===========================================
19
-
20
- /**
21
- * Line element - draws a line between two points
22
- * Much cleaner than using rotated rectangles!
23
- * Supports optional curve via cubic Bezier with 2 control points.
24
- */
25
-
26
- /**
27
- * Triangle element - creates arrows/chevrons using CSS border trick
28
- * Works in pure React Native!
29
- */
30
-
31
- /**
32
- * Arc element - creates curved segments (WiFi bars, circular progress)
33
- * Rendered as multiple line segments approximating a curve.
34
- */
35
-
36
- /**
37
- * Semicircle element - creates a half circle (filled)
38
- * Perfect for pokeball-style split designs!
39
- */
40
-
41
- /**
42
- * SmoothArc element - creates a smooth arc using the border trick
43
- * Uses bordered circles with partial borders hidden - gives perfect anti-aliased curves!
44
- * This is the "clever trick" for WiFi-style arcs.
45
- */
46
-
47
- // ===========================================
48
- // Color Utilities
49
- // ===========================================
50
-
51
- /**
52
- * Converts hex color to rgba with opacity
53
- * Supports 3-char (#RGB), 6-char (#RRGGBB), and 8-char (#RRGGBBAA) hex
54
- */
55
- function hexToRgba(hex, opacity) {
56
- // Remove # if present
57
- const h = hex.replace('#', '');
58
-
59
- // Parse based on length
60
- let r, g, b;
61
- if (h.length === 3) {
62
- r = parseInt(h[0] + h[0], 16);
63
- g = parseInt(h[1] + h[1], 16);
64
- b = parseInt(h[2] + h[2], 16);
65
- } else if (h.length >= 6) {
66
- r = parseInt(h.substring(0, 2), 16);
67
- g = parseInt(h.substring(2, 4), 16);
68
- b = parseInt(h.substring(4, 6), 16);
69
- } else {
70
- return hex; // Invalid format, return as-is
71
- }
72
- return `rgba(${r}, ${g}, ${b}, ${opacity})`;
73
- }
74
-
75
- /**
76
- * Resolves ColorRef syntax to actual color value
77
- *
78
- * Supports:
79
- * - 'color' → theme color
80
- * - 'bg' → background color
81
- * - 'color:50' → theme color at 50% opacity
82
- * - 'bg:30' → background color at 30% opacity
83
- * - '#FF0000' → raw hex color
84
- * - '#FF0000:50' → raw hex at 50% opacity
85
- */
86
- function resolveColor(fill, color, bgColor) {
87
- if (!fill) return undefined;
88
-
89
- // Check for opacity suffix (e.g., 'color:50' or '#FF0000:80')
90
- const colonIndex = fill.lastIndexOf(':');
91
- let baseFill = fill;
92
- let opacity = 1;
93
-
94
- // Only treat as opacity if the part after colon is a valid number
95
- if (colonIndex > 0) {
96
- const opacityStr = fill.substring(colonIndex + 1);
97
- const parsedOpacity = parseInt(opacityStr, 10);
98
- if (!isNaN(parsedOpacity) && parsedOpacity >= 0 && parsedOpacity <= 100) {
99
- baseFill = fill.substring(0, colonIndex);
100
- opacity = parsedOpacity / 100;
101
- }
102
- }
103
-
104
- // Resolve the base color
105
- let resolvedColor;
106
- if (baseFill === 'color') {
107
- resolvedColor = color;
108
- } else if (baseFill === 'bg') {
109
- resolvedColor = bgColor;
110
- } else {
111
- resolvedColor = baseFill;
112
- }
113
-
114
- // Apply opacity if needed
115
- if (opacity < 1 && resolvedColor.startsWith('#')) {
116
- return hexToRgba(resolvedColor, opacity);
117
- }
118
- return resolvedColor;
119
- }
120
-
121
- // ===========================================
122
- // Icon Renderer
123
- // ===========================================
124
-
125
- function renderIconData(data, size, colorOverride, bgColorOverride) {
126
- const scale = size / 24;
127
- const center = size / 2;
128
- // Use colorOverride if provided, otherwise use the icon's default color
129
- const color = colorOverride ?? data.color;
130
- // Use bgColorOverride if provided, otherwise use the icon's default bgColor
131
- const bgColor = bgColorOverride ?? data.bgColor;
132
- const elements = data.elements;
133
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconContainer, {
134
- size: size,
135
- children: elements.map((el, i) => {
136
- if (el.type === 'circle') {
137
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconCircle, {
138
- cx: center + el.cx * scale,
139
- cy: center + el.cy * scale,
140
- r: el.r * scale,
141
- fill: resolveColor(el.fill, color, bgColor),
142
- borderColor: el.border ? color : undefined,
143
- borderWidth: el.border ? (el.borderWidth ?? 2) * scale : 0,
144
- opacity: el.opacity,
145
- scaleX: el.scaleX,
146
- scaleY: el.scaleY,
147
- glowColor: el.glow ? color : undefined,
148
- glowRadius: el.glow ? (el.glowRadius ?? 4) * scale : 0,
149
- rotation: el.rotation
150
- }, i);
151
- }
152
- if (el.type === 'rect') {
153
- // Determine rotation origin:
154
- // - rotateFromCenter: true = rotate from center (0.5, 0.5) - for symmetric elements
155
- // - rotateFromCenter: false/undefined = rotate from left edge (0, 0.5) - for lines starting from a point
156
- const originX = el.rotation !== undefined ? el.rotateFromCenter ? 0.5 : 0 : 0.5;
157
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconRect, {
158
- x: center + el.x * scale,
159
- y: center + el.y * scale,
160
- width: el.width * scale,
161
- height: el.height * scale,
162
- fill: resolveColor(el.fill, color, bgColor),
163
- borderColor: el.border ? color : undefined,
164
- borderWidth: el.border ? (el.borderWidth ?? 1) * scale : 0,
165
- borderRadius: (el.borderRadius ?? 0) * scale,
166
- opacity: el.opacity,
167
- glowColor: el.glow ? color : undefined,
168
- glowRadius: el.glow ? (el.glowRadius ?? 4) * scale : 0,
169
- rotation: el.rotation,
170
- originX: originX,
171
- originY: 0.5
172
- }, i);
173
- }
174
- if (el.type === 'line') {
175
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconLine, {
176
- x1: center + el.x1 * scale,
177
- y1: center + el.y1 * scale,
178
- x2: center + el.x2 * scale,
179
- y2: center + el.y2 * scale,
180
- stroke: resolveColor(el.stroke ?? 'color', color, bgColor),
181
- strokeWidth: (el.strokeWidth ?? 1) * scale,
182
- opacity: el.opacity,
183
- glowColor: el.glow ? color : undefined,
184
- glowRadius: el.glow ? (el.glowRadius ?? 4) * scale : 0,
185
- rotation: el.rotation,
186
- curveX: el.curveX !== undefined ? el.curveX * scale : undefined,
187
- curveY: el.curveY !== undefined ? el.curveY * scale : undefined,
188
- curve2X: el.curve2X !== undefined ? el.curve2X * scale : undefined,
189
- curve2Y: el.curve2Y !== undefined ? el.curve2Y * scale : undefined
190
- }, i);
191
- }
192
- if (el.type === 'triangle') {
193
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconTriangle, {
194
- x: center + el.x * scale,
195
- y: center + el.y * scale,
196
- size: el.size * scale,
197
- direction: el.direction,
198
- fill: resolveColor(el.fill ?? 'color', color, bgColor),
199
- opacity: el.opacity,
200
- rotation: el.rotation
201
- }, i);
202
- }
203
- if (el.type === 'arc') {
204
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconArc, {
205
- cx: center + el.cx * scale,
206
- cy: center + el.cy * scale,
207
- r: el.r * scale,
208
- startAngle: el.startAngle,
209
- endAngle: el.endAngle,
210
- stroke: resolveColor(el.stroke ?? 'color', color, bgColor),
211
- strokeWidth: (el.strokeWidth ?? 1.5) * scale,
212
- opacity: el.opacity,
213
- segments: el.segments
214
- }, i);
215
- }
216
- if (el.type === 'semicircle') {
217
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconSemicircle, {
218
- cx: center + el.cx * scale,
219
- cy: center + el.cy * scale,
220
- r: el.r * scale,
221
- half: el.half,
222
- fill: resolveColor(el.fill, color, bgColor),
223
- borderColor: el.border ? color : undefined,
224
- borderWidth: el.border ? (el.borderWidth ?? 2) * scale : 0,
225
- opacity: el.opacity,
226
- glowColor: el.glow ? color : undefined,
227
- glowRadius: el.glow ? (el.glowRadius ?? 4) * scale : 0
228
- }, i);
229
- }
230
- if (el.type === 'smootharc') {
231
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconSmoothArc, {
232
- cx: center + el.cx * scale,
233
- cy: center + el.cy * scale,
234
- r: el.r * scale,
235
- stroke: resolveColor(el.stroke ?? 'color', color, bgColor),
236
- strokeWidth: (el.strokeWidth ?? 2) * scale,
237
- opacity: el.opacity,
238
- portion: el.portion ?? 'bottom'
239
- }, i);
240
- }
241
- return null;
242
- })
243
- });
244
- }
245
-
246
- // ===========================================
247
- // Icon Factory
248
- // ===========================================
249
-
250
- function createIcon(data) {
251
- return function Icon({
252
- size = 24,
253
- color,
254
- bgColor
255
- }) {
256
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
257
- children: renderIconData(data, size, color, bgColor)
258
- });
259
- };
260
- }
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIcon=createIcon,exports.renderIconData=renderIconData;var _iconPrimitives=require("./icon-primitives"),_jsxRuntime=require("react/jsx-runtime");function hexToRgba(o,r){const e=o.replace("#","");let i,t,n;if(3===e.length)i=parseInt(e[0]+e[0],16),t=parseInt(e[1]+e[1],16),n=parseInt(e[2]+e[2],16);else{if(!(e.length>=6))return o;i=parseInt(e.substring(0,2),16),t=parseInt(e.substring(2,4),16),n=parseInt(e.substring(4,6),16)}return`rgba(${i}, ${t}, ${n}, ${r})`}function resolveColor(o,r,e){if(!o)return;const i=o.lastIndexOf(":");let t,n=o,c=1;if(i>0){const r=o.substring(i+1),e=parseInt(r,10);!isNaN(e)&&e>=0&&e<=100&&(n=o.substring(0,i),c=e/100)}return t="color"===n?r:"bg"===n?e:n,c<1&&t.startsWith("#")?hexToRgba(t,c):t}function renderIconData(o,r,e,i){const t=r/24,n=r/2,c=e??o.color,s=i??o.bgColor,l=o.elements;return(0,_jsxRuntime.jsx)(_iconPrimitives.IconContainer,{size:r,children:l.map((o,r)=>{if("circle"===o.type)return(0,_jsxRuntime.jsx)(_iconPrimitives.IconCircle,{cx:n+o.cx*t,cy:n+o.cy*t,r:o.r*t,fill:resolveColor(o.fill,c,s),borderColor:o.border?c:void 0,borderWidth:o.border?(o.borderWidth??2)*t:0,opacity:o.opacity,scaleX:o.scaleX,scaleY:o.scaleY,glowColor:o.glow?c:void 0,glowRadius:o.glow?(o.glowRadius??4)*t:0,rotation:o.rotation},r);if("rect"===o.type){const e=void 0!==o.rotation?o.rotateFromCenter?.5:0:.5;return(0,_jsxRuntime.jsx)(_iconPrimitives.IconRect,{x:n+o.x*t,y:n+o.y*t,width:o.width*t,height:o.height*t,fill:resolveColor(o.fill,c,s),borderColor:o.border?c:void 0,borderWidth:o.border?(o.borderWidth??1)*t:0,borderRadius:(o.borderRadius??0)*t,opacity:o.opacity,glowColor:o.glow?c:void 0,glowRadius:o.glow?(o.glowRadius??4)*t:0,rotation:o.rotation,originX:e,originY:.5},r)}return"line"===o.type?(0,_jsxRuntime.jsx)(_iconPrimitives.IconLine,{x1:n+o.x1*t,y1:n+o.y1*t,x2:n+o.x2*t,y2:n+o.y2*t,stroke:resolveColor(o.stroke??"color",c,s),strokeWidth:(o.strokeWidth??1)*t,opacity:o.opacity,glowColor:o.glow?c:void 0,glowRadius:o.glow?(o.glowRadius??4)*t:0,rotation:o.rotation,curveX:void 0!==o.curveX?o.curveX*t:void 0,curveY:void 0!==o.curveY?o.curveY*t:void 0,curve2X:void 0!==o.curve2X?o.curve2X*t:void 0,curve2Y:void 0!==o.curve2Y?o.curve2Y*t:void 0},r):"triangle"===o.type?(0,_jsxRuntime.jsx)(_iconPrimitives.IconTriangle,{x:n+o.x*t,y:n+o.y*t,size:o.size*t,direction:o.direction,fill:resolveColor(o.fill??"color",c,s),opacity:o.opacity,rotation:o.rotation},r):"arc"===o.type?(0,_jsxRuntime.jsx)(_iconPrimitives.IconArc,{cx:n+o.cx*t,cy:n+o.cy*t,r:o.r*t,startAngle:o.startAngle,endAngle:o.endAngle,stroke:resolveColor(o.stroke??"color",c,s),strokeWidth:(o.strokeWidth??1.5)*t,opacity:o.opacity,segments:o.segments},r):"semicircle"===o.type?(0,_jsxRuntime.jsx)(_iconPrimitives.IconSemicircle,{cx:n+o.cx*t,cy:n+o.cy*t,r:o.r*t,half:o.half,fill:resolveColor(o.fill,c,s),borderColor:o.border?c:void 0,borderWidth:o.border?(o.borderWidth??2)*t:0,opacity:o.opacity,glowColor:o.glow?c:void 0,glowRadius:o.glow?(o.glowRadius??4)*t:0},r):"smootharc"===o.type?(0,_jsxRuntime.jsx)(_iconPrimitives.IconSmoothArc,{cx:n+o.cx*t,cy:n+o.cy*t,r:o.r*t,stroke:resolveColor(o.stroke??"color",c,s),strokeWidth:(o.strokeWidth??2)*t,opacity:o.opacity,portion:o.portion??"bottom"},r):null})})}function createIcon(o){return function({size:r=24,color:e,bgColor:i}){return(0,_jsxRuntime.jsx)(_jsxRuntime.Fragment,{children:renderIconData(o,r,e,i)})}}
@@ -1,24 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "NETWORK_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconData.NETWORK_ICON_COLOR;
10
- }
11
- });
12
- exports.NetworkIcon = void 0;
13
- var _iconRenderer = require("./icon-renderer.js");
14
- var _iconData = require("./icon-data.js");
15
- /**
16
- * NetworkIcon - Data-driven icon
17
- *
18
- * The icon is defined as pure data in icon-data.ts
19
- * The renderer transforms it to components.
20
- *
21
- * To change: edit networkIconData in icon-data.ts
22
- */
23
-
24
- const NetworkIcon = exports.NetworkIcon = (0, _iconRenderer.createIcon)(_iconData.networkIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"NETWORK_ICON_COLOR",{enumerable:!0,get:function(){return _iconData.NETWORK_ICON_COLOR}}),exports.NetworkIcon=void 0;var _iconRenderer=require("./icon-renderer.js"),_iconData=require("./icon-data.js");const NetworkIcon=exports.NetworkIcon=(0,_iconRenderer.createIcon)(_iconData.networkIconData);
@@ -1,24 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "QUERY_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconData.QUERY_ICON_COLOR;
10
- }
11
- });
12
- exports.QueryIcon = void 0;
13
- var _iconRenderer = require("./icon-renderer.js");
14
- var _iconData = require("./icon-data.js");
15
- /**
16
- * QueryIcon - Data-driven icon
17
- *
18
- * The icon is defined as pure data in icon-data.ts
19
- * The renderer transforms it to components.
20
- *
21
- * To change: edit queryIconData in icon-data.ts
22
- */
23
-
24
- const QueryIcon = exports.QueryIcon = (0, _iconRenderer.createIcon)(_iconData.queryIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"QUERY_ICON_COLOR",{enumerable:!0,get:function(){return _iconData.QUERY_ICON_COLOR}}),exports.QueryIcon=void 0;var _iconRenderer=require("./icon-renderer.js"),_iconData=require("./icon-data.js");const QueryIcon=exports.QueryIcon=(0,_iconRenderer.createIcon)(_iconData.queryIconData);
@@ -1,85 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.ReduxIcon = exports.REDUX_ICON_COLOR = void 0;
7
- var _iconRenderer = require("./icon-renderer.js");
8
- /**
9
- * Redux DevTools icon
10
- * Uses the icon renderer system with cubic Bezier curve support
11
- */
12
-
13
- const REDUX_ICON_COLOR = exports.REDUX_ICON_COLOR = "#764abc";
14
- const ReduxIconData = {
15
- color: REDUX_ICON_COLOR,
16
- bgColor: "#0a0a0f",
17
- elements: [{
18
- type: "circle",
19
- cx: -1.16,
20
- cy: -2.2135943621178655,
21
- r: 1.4,
22
- fill: "color",
23
- opacity: 1,
24
- scaleX: 1,
25
- scaleY: 1
26
- }, {
27
- type: "circle",
28
- cx: -2.846049894151541,
29
- cy: 4.110960958218893,
30
- r: 1.4,
31
- fill: "color",
32
- opacity: 1,
33
- scaleX: 1,
34
- scaleY: 1
35
- }, {
36
- type: "circle",
37
- cx: 3.89,
38
- cy: 2.31,
39
- r: 1.4,
40
- fill: "color",
41
- opacity: 1,
42
- scaleX: 1,
43
- scaleY: 1
44
- }, {
45
- type: "line",
46
- x1: 0,
47
- y1: -2.2135943621178655,
48
- x2: 3.162277660168379,
49
- y2: 8.538149682454623,
50
- stroke: "color",
51
- strokeWidth: 1.5,
52
- opacity: 1,
53
- curveX: 8.221921916437786,
54
- curveY: -6.00832755431992,
55
- curve2X: 12.01665510863984,
56
- curve2Y: 7.273238618387272
57
- }, {
58
- type: "line",
59
- x1: -7.273238618387272,
60
- y1: 0.31622776601683794,
61
- x2: 3.478505426185217,
62
- y2: 3.162277660168379,
63
- stroke: "color",
64
- strokeWidth: 1.5,
65
- opacity: 1,
66
- curveX: -12.01665510863984,
67
- curveY: 10.435516278555651,
68
- curve2X: 4.427188724235731,
69
- curve2Y: 7.58946638440411
70
- }, {
71
- type: "line",
72
- x1: 4.743416490252569,
73
- y1: -3.794733192202055,
74
- x2: -3.478505426185217,
75
- y2: 3.478505426185217,
76
- stroke: "color",
77
- strokeWidth: 1.1,
78
- opacity: 1,
79
- curveX: 3.162277660168379,
80
- curveY: -11.384199576606164,
81
- curve2X: -9.803060746521975,
82
- curve2Y: -10.119288512538814
83
- }]
84
- };
85
- const ReduxIcon = exports.ReduxIcon = (0, _iconRenderer.createIcon)(ReduxIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ReduxIcon=exports.REDUX_ICON_COLOR=void 0;var _iconRenderer=require("./icon-renderer.js");const REDUX_ICON_COLOR=exports.REDUX_ICON_COLOR="#764abc",ReduxIconData={color:REDUX_ICON_COLOR,bgColor:"#0a0a0f",elements:[{type:"circle",cx:-1.16,cy:-2.2135943621178655,r:1.4,fill:"color",opacity:1,scaleX:1,scaleY:1},{type:"circle",cx:-2.846049894151541,cy:4.110960958218893,r:1.4,fill:"color",opacity:1,scaleX:1,scaleY:1},{type:"circle",cx:3.89,cy:2.31,r:1.4,fill:"color",opacity:1,scaleX:1,scaleY:1},{type:"line",x1:0,y1:-2.2135943621178655,x2:3.162277660168379,y2:8.538149682454623,stroke:"color",strokeWidth:1.5,opacity:1,curveX:8.221921916437786,curveY:-6.00832755431992,curve2X:12.01665510863984,curve2Y:7.273238618387272},{type:"line",x1:-7.273238618387272,y1:.31622776601683794,x2:3.478505426185217,y2:3.162277660168379,stroke:"color",strokeWidth:1.5,opacity:1,curveX:-12.01665510863984,curveY:10.435516278555651,curve2X:4.427188724235731,curve2Y:7.58946638440411},{type:"line",x1:4.743416490252569,y1:-3.794733192202055,x2:-3.478505426185217,y2:3.478505426185217,stroke:"color",strokeWidth:1.1,opacity:1,curveX:3.162277660168379,curveY:-11.384199576606164,curve2X:-9.803060746521975,curve2Y:-10.119288512538814}]},ReduxIcon=exports.ReduxIcon=(0,_iconRenderer.createIcon)(ReduxIconData);
@@ -1,33 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "HIGHLIGHTER_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconData.HIGHLIGHTER_ICON_COLOR;
10
- }
11
- });
12
- exports.HighlighterIcon = void 0;
13
- Object.defineProperty(exports, "RENDERS_ICON_COLOR", {
14
- enumerable: true,
15
- get: function () {
16
- return _iconData.RENDERS_ICON_COLOR;
17
- }
18
- });
19
- exports.RendersIcon = void 0;
20
- var _iconRenderer = require("./icon-renderer.js");
21
- var _iconData = require("./icon-data.js");
22
- /**
23
- * HighlighterIcon - Data-driven icon for render tracking
24
- *
25
- * The icon is defined as pure data in icon-data.ts
26
- * The renderer transforms it to components.
27
- *
28
- * To change: edit highlighterIconData in icon-data.ts
29
- */
30
-
31
- const HighlighterIcon = exports.HighlighterIcon = (0, _iconRenderer.createIcon)(_iconData.highlighterIconData);
32
- // Legacy alias for backward compatibility
33
- const RendersIcon = exports.RendersIcon = HighlighterIcon;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"HIGHLIGHTER_ICON_COLOR",{enumerable:!0,get:function(){return _iconData.HIGHLIGHTER_ICON_COLOR}}),exports.HighlighterIcon=void 0,Object.defineProperty(exports,"RENDERS_ICON_COLOR",{enumerable:!0,get:function(){return _iconData.RENDERS_ICON_COLOR}}),exports.RendersIcon=void 0;var _iconRenderer=require("./icon-renderer.js"),_iconData=require("./icon-data.js");const HighlighterIcon=exports.HighlighterIcon=(0,_iconRenderer.createIcon)(_iconData.highlighterIconData),RendersIcon=exports.RendersIcon=HighlighterIcon;
@@ -1,49 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.CurveTestP = exports.CurveTestO = exports.CurveTestN = exports.CurveTestM = exports.CurveTestL = exports.CurveTestK = exports.CurveTestJ = exports.CurveTestI = exports.CurveTestH = exports.CurveTestG = exports.CurveTestF = exports.CurveTestE = exports.CurveTestD = exports.CurveTestC = exports.CurveTestB = exports.CurveTestA = void 0;
7
- Object.defineProperty(exports, "ROUTES_ICON_COLOR", {
8
- enumerable: true,
9
- get: function () {
10
- return _iconData.ROUTES_ICON_COLOR;
11
- }
12
- });
13
- exports.RoutesIcon = exports.RouteTwoPinsIcon = exports.RoutePinIcon = exports.RoutePathIcon = exports.RouteDotIcon = void 0;
14
- var _iconRenderer = require("./icon-renderer.js");
15
- var _iconData = require("./icon-data.js");
16
- /**
17
- * RoutesIcon - Data-driven icon
18
- *
19
- * The icon is defined as pure data in icon-data.ts
20
- * The renderer transforms it to components.
21
- *
22
- * To change: edit routesIconData in icon-data.ts
23
- */
24
-
25
- const RoutesIcon = exports.RoutesIcon = (0, _iconRenderer.createIcon)(_iconData.routesIconData);
26
-
27
- // Route Icon Parts (for testing/iteration)
28
- const RoutePinIcon = exports.RoutePinIcon = (0, _iconRenderer.createIcon)(_iconData.routePinIconData);
29
- const RoutePathIcon = exports.RoutePathIcon = (0, _iconRenderer.createIcon)(_iconData.routePathIconData);
30
- const RouteDotIcon = exports.RouteDotIcon = (0, _iconRenderer.createIcon)(_iconData.routeDotIconData);
31
- const RouteTwoPinsIcon = exports.RouteTwoPinsIcon = (0, _iconRenderer.createIcon)(_iconData.routeTwoPinsIconData);
32
-
33
- // Curve Test Variations (for finding the right S-curve approach)
34
- const CurveTestA = exports.CurveTestA = (0, _iconRenderer.createIcon)(_iconData.curveTestAData);
35
- const CurveTestB = exports.CurveTestB = (0, _iconRenderer.createIcon)(_iconData.curveTestBData);
36
- const CurveTestC = exports.CurveTestC = (0, _iconRenderer.createIcon)(_iconData.curveTestCData);
37
- const CurveTestD = exports.CurveTestD = (0, _iconRenderer.createIcon)(_iconData.curveTestDData);
38
- const CurveTestE = exports.CurveTestE = (0, _iconRenderer.createIcon)(_iconData.curveTestEData);
39
- const CurveTestF = exports.CurveTestF = (0, _iconRenderer.createIcon)(_iconData.curveTestFData);
40
- const CurveTestG = exports.CurveTestG = (0, _iconRenderer.createIcon)(_iconData.curveTestGData);
41
- const CurveTestH = exports.CurveTestH = (0, _iconRenderer.createIcon)(_iconData.curveTestHData);
42
- const CurveTestI = exports.CurveTestI = (0, _iconRenderer.createIcon)(_iconData.curveTestIData);
43
- const CurveTestJ = exports.CurveTestJ = (0, _iconRenderer.createIcon)(_iconData.curveTestJData);
44
- const CurveTestK = exports.CurveTestK = (0, _iconRenderer.createIcon)(_iconData.curveTestKData);
45
- const CurveTestL = exports.CurveTestL = (0, _iconRenderer.createIcon)(_iconData.curveTestLData);
46
- const CurveTestM = exports.CurveTestM = (0, _iconRenderer.createIcon)(_iconData.curveTestMData);
47
- const CurveTestN = exports.CurveTestN = (0, _iconRenderer.createIcon)(_iconData.curveTestNData);
48
- const CurveTestO = exports.CurveTestO = (0, _iconRenderer.createIcon)(_iconData.curveTestOData);
49
- const CurveTestP = exports.CurveTestP = (0, _iconRenderer.createIcon)(_iconData.curveTestPData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CurveTestP=exports.CurveTestO=exports.CurveTestN=exports.CurveTestM=exports.CurveTestL=exports.CurveTestK=exports.CurveTestJ=exports.CurveTestI=exports.CurveTestH=exports.CurveTestG=exports.CurveTestF=exports.CurveTestE=exports.CurveTestD=exports.CurveTestC=exports.CurveTestB=exports.CurveTestA=void 0,Object.defineProperty(exports,"ROUTES_ICON_COLOR",{enumerable:!0,get:function(){return _iconData.ROUTES_ICON_COLOR}}),exports.RoutesIcon=exports.RouteTwoPinsIcon=exports.RoutePinIcon=exports.RoutePathIcon=exports.RouteDotIcon=void 0;var _iconRenderer=require("./icon-renderer.js"),_iconData=require("./icon-data.js");const RoutesIcon=exports.RoutesIcon=(0,_iconRenderer.createIcon)(_iconData.routesIconData),RoutePinIcon=exports.RoutePinIcon=(0,_iconRenderer.createIcon)(_iconData.routePinIconData),RoutePathIcon=exports.RoutePathIcon=(0,_iconRenderer.createIcon)(_iconData.routePathIconData),RouteDotIcon=exports.RouteDotIcon=(0,_iconRenderer.createIcon)(_iconData.routeDotIconData),RouteTwoPinsIcon=exports.RouteTwoPinsIcon=(0,_iconRenderer.createIcon)(_iconData.routeTwoPinsIconData),CurveTestA=exports.CurveTestA=(0,_iconRenderer.createIcon)(_iconData.curveTestAData),CurveTestB=exports.CurveTestB=(0,_iconRenderer.createIcon)(_iconData.curveTestBData),CurveTestC=exports.CurveTestC=(0,_iconRenderer.createIcon)(_iconData.curveTestCData),CurveTestD=exports.CurveTestD=(0,_iconRenderer.createIcon)(_iconData.curveTestDData),CurveTestE=exports.CurveTestE=(0,_iconRenderer.createIcon)(_iconData.curveTestEData),CurveTestF=exports.CurveTestF=(0,_iconRenderer.createIcon)(_iconData.curveTestFData),CurveTestG=exports.CurveTestG=(0,_iconRenderer.createIcon)(_iconData.curveTestGData),CurveTestH=exports.CurveTestH=(0,_iconRenderer.createIcon)(_iconData.curveTestHData),CurveTestI=exports.CurveTestI=(0,_iconRenderer.createIcon)(_iconData.curveTestIData),CurveTestJ=exports.CurveTestJ=(0,_iconRenderer.createIcon)(_iconData.curveTestJData),CurveTestK=exports.CurveTestK=(0,_iconRenderer.createIcon)(_iconData.curveTestKData),CurveTestL=exports.CurveTestL=(0,_iconRenderer.createIcon)(_iconData.curveTestLData),CurveTestM=exports.CurveTestM=(0,_iconRenderer.createIcon)(_iconData.curveTestMData),CurveTestN=exports.CurveTestN=(0,_iconRenderer.createIcon)(_iconData.curveTestNData),CurveTestO=exports.CurveTestO=(0,_iconRenderer.createIcon)(_iconData.curveTestOData),CurveTestP=exports.CurveTestP=(0,_iconRenderer.createIcon)(_iconData.curveTestPData);
@@ -1,24 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "SENTRY_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconData.SENTRY_ICON_COLOR;
10
- }
11
- });
12
- exports.SentryIcon = void 0;
13
- var _iconRenderer = require("./icon-renderer.js");
14
- var _iconData = require("./icon-data.js");
15
- /**
16
- * SentryIcon - Data-driven icon
17
- *
18
- * The icon is defined as pure data in icon-data.ts
19
- * The renderer transforms it to components.
20
- *
21
- * To change: edit sentryIconData in icon-data.ts
22
- */
23
-
24
- const SentryIcon = exports.SentryIcon = (0, _iconRenderer.createIcon)(_iconData.sentryIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"SENTRY_ICON_COLOR",{enumerable:!0,get:function(){return _iconData.SENTRY_ICON_COLOR}}),exports.SentryIcon=void 0;var _iconRenderer=require("./icon-renderer.js"),_iconData=require("./icon-data.js");const SentryIcon=exports.SentryIcon=(0,_iconRenderer.createIcon)(_iconData.sentryIconData);
@@ -1,24 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "STORAGE_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconData.STORAGE_ICON_COLOR;
10
- }
11
- });
12
- exports.StorageIcon = void 0;
13
- var _iconRenderer = require("./icon-renderer.js");
14
- var _iconData = require("./icon-data.js");
15
- /**
16
- * StorageIcon - Data-driven icon
17
- *
18
- * The icon is defined as pure data in icon-data.ts
19
- * The renderer transforms it to components.
20
- *
21
- * To change: edit storageIconData in icon-data.ts
22
- */
23
-
24
- const StorageIcon = exports.StorageIcon = (0, _iconRenderer.createIcon)(_iconData.storageIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"STORAGE_ICON_COLOR",{enumerable:!0,get:function(){return _iconData.STORAGE_ICON_COLOR}}),exports.StorageIcon=void 0;var _iconRenderer=require("./icon-renderer.js"),_iconData=require("./icon-data.js");const StorageIcon=exports.StorageIcon=(0,_iconRenderer.createIcon)(_iconData.storageIconData);
@@ -1,24 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "WIFI_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconData.WIFI_ICON_COLOR;
10
- }
11
- });
12
- exports.WifiIcon = void 0;
13
- var _iconRenderer = require("./icon-renderer.js");
14
- var _iconData = require("./icon-data.js");
15
- /**
16
- * WifiIcon - Data-driven icon
17
- *
18
- * The icon is defined as pure data in icon-data.ts
19
- * The renderer transforms it to components.
20
- *
21
- * To change: edit wifiIconData in icon-data.ts
22
- */
23
-
24
- const WifiIcon = exports.WifiIcon = (0, _iconRenderer.createIcon)(_iconData.wifiIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"WIFI_ICON_COLOR",{enumerable:!0,get:function(){return _iconData.WIFI_ICON_COLOR}}),exports.WifiIcon=void 0;var _iconRenderer=require("./icon-renderer.js"),_iconData=require("./icon-data.js");const WifiIcon=exports.WifiIcon=(0,_iconRenderer.createIcon)(_iconData.wifiIconData);