-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
227 lines (210 loc) · 7.47 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LWC Dependency Viewer | Luke Secomb</title>
<meta property="og:title" content="LWC Dependency Viewer | Luke Secomb" />
<meta name="twitter:title" content="LWC Dependency Viewer | Luke Secomb" />
<meta
name="description"
content="Scan your Lightning Web Components to see dependencies | LWC Search | Quickly glance to see Apex and StaticResource references"
/>
<meta
property="og:description"
content="Scan your Lightning Web Components to see dependencies | LWC Search | Quickly glance to see Apex and StaticResource references"
/>
<meta
name="twitter:description"
content="Scan your Lightning Web Components to see dependencies | LWC Search | Quickly glance to see Apex and StaticResource references"
/>
<meta
property="og:url"
content="http://lwc-dependency-viewer.lukesecomb.digital/"
/>
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta
property="og:image"
content="http://lwc-dependency-viewer.lukesecomb.digital/thumbnail.png"
/>
<meta
name="twitter:image"
content="http://lwc-dependency-viewer.lukesecomb.digital/thumbnail.png"
/>
<meta property="og:image:alt" content="Logo for LWC Dependency Viewer" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="620" />
<meta
property="twitter:domain"
content="lwc-dependency-viewer.lukesecomb.digital"
/>
<meta
property="twitter:url"
content="https://lwc-dependency-viewer.lukesecomb.digital"
/>
<meta property="twitter:widgets:new-embed-design" content="on" />
<!-- Analytics -->
<script
data-goatcounter="https://lwc-dependency-viewer.goatcounter.com/count"
src="//gc.zgo.at/count.js"
async
></script>
<script
src="https://www.googletagmanager.com/gtag/js?id=G-Q9ME7RXY4J"
async=""
></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())
gtag('config', 'G-Q9ME7RXY4J')
</script>
</head>
<body>
<div id="key">
<p data-js>JavaScript</p>
<p data-html>HTML</p>
<p data-css>CSS</p>
<p data-static-resource>StaticResource</p>
<p data-apex>Apex</p>
</div>
<div id="links">
<a
href="https://github.com/lukethacoder/lwc-dependency-viewer"
target="_blank"
>
Github
</a>
<a href="https://lukesecomb.digital" target="_blank">Made by luke.</a>
</div>
<div class="buttons">
<button id="btn-open-search">
<span class="sr-only">Search</span>
</button>
<button id="btn-open-settings">
<span class="sr-only">Open settings</span>
</button>
</div>
<div id="component" data-is-open="false" class="sidebar">
<div>
<div class="component-close">
<button class="btn-close" id="btn-component-close">
<span class="sr-only"> close component </span>
</button>
</div>
<header>
<div class="component-title">
<h2 title="component name">
component name component name component name component name
</h2>
</div>
<span class="file-types">
<img class="icon-javascript" src="/javascript.svg" />
<img class="icon-html" src="/html.svg" />
<img class="icon-css" src="/css.svg" />
</span>
</header>
<div class="file-ref-container">
<div class="file-ref-type-container">
<h3 class="ref-title" id="referenced-by">Referenced by</h3>
<ul class="referenced-by"></ul>
</div>
<div class="file-ref-type-container">
<h3 class="ref-title" id="references">References</h3>
<ul class="references"></ul>
</div>
<div class="file-ref-type-container">
<h3 class="ref-title" id="apex-references" data-has-data="false">
Apex Methods
</h3>
<ul class="apex-references"></ul>
</div>
<div class="file-ref-type-container">
<h3 class="ref-title" id="static-resources" data-has-data="false">
Static Resources
</h3>
<ul class="static-resources"></ul>
</div>
</div>
</div>
</div>
<div id="settings" data-is-open="false" class="sidebar">
<div>
<div class="component-close">
<button class="btn-close" id="btn-settings-close">
<span class="sr-only"> close settings </span>
</button>
</div>
<header>
<div class="component-title">
<h2>Settings</h2>
</div>
</header>
<div>
<div class="input-container select">
<label for="set-curve-type">
<span class="label">Set Edge Curve Type</span>
<span>
<p>
Override the default curve style. "haystack" is more
performant for larger graphs but removes arrows.
</p>
<select id="set-curve-type">
<option value="bezier" selected>bezier</option>
<option value="unbundled-bezier">unbundled-bezier</option>
<option value="haystack">haystack</option>
<option value="straight">straight</option>
<option value="segments">segments</option>
<option value="taxi">taxi</option>
</select>
</span>
</label>
</div>
<div class="input-container checkbox">
<label for="toggle-orphan-modules">
<span class="label">Hide Orphan Modules</span>
<span>
<input type="checkbox" id="toggle-orphan-modules" />
<p>
Hides all components that are neither referenced or have any
references.
</p>
</span>
</label>
</div>
<div class="input-container checkbox">
<label for="toggle-apex-references">
<span class="label">Hide Apex References</span>
<span>
<input type="checkbox" id="toggle-apex-references" />
<p>Hides indicators of Apex imports.</p>
</span>
</label>
</div>
<div class="input-container checkbox">
<label for="toggle-static-resource-references">
<span class="label">Hide StaticResource References</span>
<span>
<input type="checkbox" id="toggle-static-resource-references" />
<p>Hides indicators of StaticResource imports.</p>
</span>
</label>
</div>
</div>
</div>
</div>
<dialog id="search">
<form method="dialog">
<input id="input-search" placeholder="Search for a component..." />
<ul id="search-results"></ul>
</form>
</dialog>
<div id="cy"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>