@flanksource/icons 1.0.49 → 1.0.51
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/icon/index.d.ts +25 -0
- package/icon/index.js +937 -0
- package/icon/index.mjs +917 -0
- package/package.json +7 -1
package/icon/index.js
ADDED
|
@@ -0,0 +1,937 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// react-icons/packages/_react-icons_all/Icon.tsx
|
|
20
|
+
var Icon_exports = {};
|
|
21
|
+
__export(Icon_exports, {
|
|
22
|
+
Icon: () => Icon,
|
|
23
|
+
aliases: () => aliases,
|
|
24
|
+
areTwoIconNamesEqual: () => areTwoIconNamesEqual,
|
|
25
|
+
colorClassMap: () => colorClassMap,
|
|
26
|
+
findByName: () => findByName,
|
|
27
|
+
prefixes: () => prefixes,
|
|
28
|
+
processIconNameSearch: () => processIconNameSearch,
|
|
29
|
+
resolveColor: () => resolveColor
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(Icon_exports);
|
|
32
|
+
var import_mi = require("@flanksource/icons/mi");
|
|
33
|
+
|
|
34
|
+
// react-icons/packages/_react-icons_all/aliases.ts
|
|
35
|
+
var aliases = {
|
|
36
|
+
anthropic: "anthropic",
|
|
37
|
+
openai: "openai",
|
|
38
|
+
ollama: "ollama",
|
|
39
|
+
aws_s3: "aws-s3",
|
|
40
|
+
aws_kms: "aws-kms",
|
|
41
|
+
gemini: "gemini",
|
|
42
|
+
gcp_kms: "gcp-kms",
|
|
43
|
+
azure_key_vault: "azure-key-vault",
|
|
44
|
+
"gcp-address": "gcp-compute-engine",
|
|
45
|
+
"gcp-alertpolicy": "gcp-cloud-monitoring",
|
|
46
|
+
"gcp-apikeys-key": "gcp-key-management-service",
|
|
47
|
+
"gcp-bigquery-dataset": "gcp-bigquery",
|
|
48
|
+
"gcp-bigquery-table": "gcp-bigquery",
|
|
49
|
+
"gcp-bucket": "gcp-cloud-storage",
|
|
50
|
+
"gcp-cloudkms-cryptokeyversion": "gcp-key-management-service",
|
|
51
|
+
"gcp-compute-disk": "gcp-persistent-disk",
|
|
52
|
+
"gcp-compute-instance": "gcp-compute-engine",
|
|
53
|
+
"gcp-compute-instancetemplate": "gcp-compute-engine",
|
|
54
|
+
"gcp-connectivitytest": "gcp-connectivity-test",
|
|
55
|
+
"gcp-cryptokey": "gcp-key-management-service",
|
|
56
|
+
"gcp-databasemigration-connectionprofile": "gcp-database-migration-service",
|
|
57
|
+
"gcp-dataform-repository": "gcp-repos",
|
|
58
|
+
"gcp-disk": "gcp-persistent-disk",
|
|
59
|
+
"gcp-dns-resourcerecordset": "gcp-cloud-dns",
|
|
60
|
+
"gcp-entrygroup": "gcp-dataplex",
|
|
61
|
+
"gcp-firewall": "gcp-cloud-firewall-rules",
|
|
62
|
+
"gcp-forwardingrule": "gcp-cloud-load-balancing",
|
|
63
|
+
"gcp-gkecluster": "gcp-google-kubernetes-engine",
|
|
64
|
+
"gcp-globaladdress": "gcp-compute-engine",
|
|
65
|
+
"gcp-httphealthcheck": "gcp-compute-engine",
|
|
66
|
+
"gcp-iam-serviceaccountkey": "gcp-identity-and-access-management",
|
|
67
|
+
"gcp-instance": "gcp-compute-engine",
|
|
68
|
+
"gcp-instancegroup": "gcp-compute-engine",
|
|
69
|
+
"gcp-instancegroupmanager": "gcp-compute-engine",
|
|
70
|
+
"gcp-instancetemplate": "gcp-compute-engine",
|
|
71
|
+
"gcp-keyring": "gcp-key-management-service",
|
|
72
|
+
"gcp-link": "gcp-cloud-logging",
|
|
73
|
+
"gcp-logbucket": "gcp-cloud-logging",
|
|
74
|
+
"gcp-logging-recentquery": "gcp-cloud-logging",
|
|
75
|
+
"gcp-logsink": "gcp-cloud-logging",
|
|
76
|
+
"gcp-managedzone": "gcp-cloud-dns",
|
|
77
|
+
"gcp-monitoring-alertpolicy": "gcp-cloud-monitoring",
|
|
78
|
+
"gcp-network": "gcp-virtual-private-cloud",
|
|
79
|
+
"gcp-nodepool": "gcp-google-kubernetes-engine",
|
|
80
|
+
"gcp-notificationchannel": "gcp-cloud-monitoring",
|
|
81
|
+
"gcp-ospolicyassignment": "gcp-os-configuration-management",
|
|
82
|
+
"gcp-project": "gcp-project",
|
|
83
|
+
"gcp-projectbillinginfo": "gcp-billing",
|
|
84
|
+
"gcp-pubsub-topic": "gcp-pubsub",
|
|
85
|
+
"gcp-recentquery": "gcp-cloud-logging",
|
|
86
|
+
"gcp-resourcemanager-project": "gcp-project",
|
|
87
|
+
"gcp-route": "gcp-cloud-routes",
|
|
88
|
+
"gcp-router": "gcp-cloud-router",
|
|
89
|
+
"gcp-serviceaccount": "gcp-identity-and-access-management",
|
|
90
|
+
"gcp-serviceaccountkey": "gcp-identity-and-access-management",
|
|
91
|
+
"gcp-servicedirectory-endpoint": "gcp-service-discovery",
|
|
92
|
+
"gcp-servicedirectory-namespace": "gcp-service-discovery",
|
|
93
|
+
"gcp-servicedirectory-service": "gcp-service-discovery",
|
|
94
|
+
"gcp-sqladmin-backup": "gcp-cloud-sql",
|
|
95
|
+
"gcp-sqladmin-backuprun": "gcp-cloud-sql",
|
|
96
|
+
"gcp-sqlinstance": "gcp-cloud-sql",
|
|
97
|
+
"gcp-subnetwork": "gcp-virtual-private-cloud",
|
|
98
|
+
"gcp-subscription": "gcp-pubsub",
|
|
99
|
+
"gcp-targetpool": "gcp-cloud-load-balancing",
|
|
100
|
+
"gcp-workspace": "gcp-dataflow",
|
|
101
|
+
kubernetes_resource: "k8s",
|
|
102
|
+
generic_webhook: "webhook",
|
|
103
|
+
azure_devops: "azure-devops",
|
|
104
|
+
acr: "azure-acr",
|
|
105
|
+
"add-comment": "talk",
|
|
106
|
+
"activemq-icon": "activemq",
|
|
107
|
+
"aws-ec2-routetable": "aws-ec2-route-table",
|
|
108
|
+
"aws-ecs-cluster": "aws-ecs",
|
|
109
|
+
"aws-ecs-service": "aws-ecs",
|
|
110
|
+
"aws-ecs-task": "aws-ecs",
|
|
111
|
+
aks: "azure-aks",
|
|
112
|
+
"aws-account": "aws",
|
|
113
|
+
"aws-sns-topic": "aws-sns",
|
|
114
|
+
"aws-sqs-queue": "aws-sqs",
|
|
115
|
+
"aws-lambda-function": "aws-lambda",
|
|
116
|
+
"aws-cloudformation-stack": "aws-cloudformation",
|
|
117
|
+
"k8s-loggingbackend": "mission-control",
|
|
118
|
+
"k8s-application": "argo",
|
|
119
|
+
"k8s-appproject": "argo",
|
|
120
|
+
"k8s-flowschema": "calico",
|
|
121
|
+
"k8s-provider": "k8s-customresourcedefinition",
|
|
122
|
+
"k8s-priorityclass": "k8s-customresourcedefinition",
|
|
123
|
+
"k8s-prioritylevelconfiguration": "k8s-customresourcedefinition",
|
|
124
|
+
"k8s-sealedsecret": "k8s-secret",
|
|
125
|
+
"aws-cloudwatch-alarm": "aws-cloudwatch-alarm",
|
|
126
|
+
"aws-config-alarm": "aws-config",
|
|
127
|
+
"aws-ec2-dhcpoptions": "settings",
|
|
128
|
+
"aws-ec2-securitygroup": "aws-security-group",
|
|
129
|
+
"ec2-securitygroup": "aws-security-group",
|
|
130
|
+
"aws-iam-user": "user",
|
|
131
|
+
"k8s-applicationset": "argo",
|
|
132
|
+
"aws-iam-role": "role",
|
|
133
|
+
"aws-iam-instanceprofile": "aws-iam-role",
|
|
134
|
+
"aws-ebs-volume": "aws-ebs",
|
|
135
|
+
"aws-eks-fargateprofile": "aws-fargate",
|
|
136
|
+
"aws-ecr-repository": "aws-ecr",
|
|
137
|
+
"k8s-ec2nodeclass": "aws-ec2",
|
|
138
|
+
"k8s-nodepool": "karpenter",
|
|
139
|
+
"k8s-rabbitmqcluster": "rabbitmq",
|
|
140
|
+
"k8s-scaledobject": "keda",
|
|
141
|
+
"k8s-nodeclaim": "karpenter",
|
|
142
|
+
"aws-ec2-vpc": "aws-vpc",
|
|
143
|
+
"aws-eks-cluster": "aws-eks",
|
|
144
|
+
"aws-route53-hostedzone": "aws-route53",
|
|
145
|
+
"aws-ec2-instance": "aws-ec2",
|
|
146
|
+
"aws-ec2-subnet": "network",
|
|
147
|
+
"k8s-volumeattachment": "k8s-vol",
|
|
148
|
+
"aws-elasticloadbalancing-loadbalancer": "aws-elb",
|
|
149
|
+
"aws-elasticloadbalancingv2-loadbalancer": "aws-alb",
|
|
150
|
+
"aws-instance": "aws-ec2-instance",
|
|
151
|
+
"aws-region": "datacenter",
|
|
152
|
+
"aws-s3-bucket": "aws-s3",
|
|
153
|
+
"aws-subnet": "network",
|
|
154
|
+
"azure devops": "azure-devops",
|
|
155
|
+
"azure-microsoft.advisor/recommendations": "azure-advisor",
|
|
156
|
+
"azure-microsoft.compute/": "azure-vm",
|
|
157
|
+
"azure-microsoft.compute/availabilitysets": "azure-availability-set",
|
|
158
|
+
"azure-microsoft.compute/disks": "azure-disk",
|
|
159
|
+
"azure-microsoft.compute/images": "azure-image",
|
|
160
|
+
"azure-microsoft.compute/snapshots": "azure-disk-snapshot",
|
|
161
|
+
"azure-microsoft.compute/virtualmachines": "azure-vm",
|
|
162
|
+
"azure-microsoft.compute/virtualmachinescalesets": "azure-vm-scaleset",
|
|
163
|
+
"azure-microsoft.containerregistry/registries": "azure-acr",
|
|
164
|
+
"azure-microsoft.containerservice/": "azure-aks",
|
|
165
|
+
"azure-microsoft.containerservice/managedclusters": "azure-aks",
|
|
166
|
+
"azure-microsoft.containerservice/managedclusters/listclusteradmincredential/action": "login",
|
|
167
|
+
"azure-microsoft.dbforpostgresql/flexibleservers": "azure-postgres",
|
|
168
|
+
"azure-microsoft.network/": "azure-vnet",
|
|
169
|
+
"azure-microsoft.network/azurefirewalls": "azure-firewall",
|
|
170
|
+
"azure-microsoft.network/dnszones": "azure-dns",
|
|
171
|
+
"azure-microsoft.network/loadbalancers": "azure-load-balancer",
|
|
172
|
+
"azure-microsoft.network/natgateways": "azure-nat",
|
|
173
|
+
"azure-microsoft.network/networkinterfaces": "azure-network-interface",
|
|
174
|
+
"azure-microsoft.network/networksecuritygroups": "azure-acl",
|
|
175
|
+
"azure-microsoft.network/privatednszones": "azure-dns",
|
|
176
|
+
"azure-microsoft.network/privateendpoints": "azure-vnet",
|
|
177
|
+
"azure-microsoft.network/publicipaddresses": "azure-ip",
|
|
178
|
+
"azure-microsoft.network/routetables": "azure-route-table",
|
|
179
|
+
"azure-microsoft.network/virtualnetworks": "azure-vnet",
|
|
180
|
+
"azure-microsoft.network/vpngateways": "azure-vpn",
|
|
181
|
+
"azure-microsoft.network/vpnserverconfigurations": "azure-vpn",
|
|
182
|
+
"azure-microsoft.network/vpnsites": "azure-vpn",
|
|
183
|
+
"azure-microsoft.resources/resourcegroups": "azure-resource-group",
|
|
184
|
+
"azure-microsoft.storage/": "azure-storage",
|
|
185
|
+
"azure-microsoft.storage/storageaccounts/blobservices": "azure-storage",
|
|
186
|
+
"azure-sql": "azure-sql-server",
|
|
187
|
+
"azuredevops-pipelinerun": "azure-devops-pipeline",
|
|
188
|
+
bash: "console",
|
|
189
|
+
"cert-manager.io": "cert-manager",
|
|
190
|
+
cmd: "console",
|
|
191
|
+
deletingnode: "trash",
|
|
192
|
+
invaliddiskcapacity: "warning",
|
|
193
|
+
resourceupdated: "edit",
|
|
194
|
+
preempted: "stop",
|
|
195
|
+
networknotready: "broken-heart",
|
|
196
|
+
removingnode: "trash",
|
|
197
|
+
runinstances: "start",
|
|
198
|
+
synced: "check",
|
|
199
|
+
"ec2-subnet": "network",
|
|
200
|
+
recreatingterminatedpod: "reload",
|
|
201
|
+
invalidiskcapacity: "warning",
|
|
202
|
+
sawcompletedjob: "check",
|
|
203
|
+
upgradefailed: "error",
|
|
204
|
+
snapshotcreated: "check",
|
|
205
|
+
creatingsnapshot: "plus",
|
|
206
|
+
snapshotready: "heart",
|
|
207
|
+
"elasticloadbalancing-loadbalancer": "aws-elb",
|
|
208
|
+
fluentbit: "fluentd",
|
|
209
|
+
"google chat": "google-chat",
|
|
210
|
+
"google cloud": "google-cloud",
|
|
211
|
+
google_cloud: "google-cloud",
|
|
212
|
+
gcs: "google-cloud",
|
|
213
|
+
"iam-instanceprofile": "server",
|
|
214
|
+
"iam-role": "shield",
|
|
215
|
+
"iam-user": "user",
|
|
216
|
+
"k8s-alertmanager": "prometheus",
|
|
217
|
+
"k8s-canary": "canary-checker",
|
|
218
|
+
"k8s-certificate": "cert-manager",
|
|
219
|
+
"k8s-certificaterequest": "cert-manager",
|
|
220
|
+
"k8s-cluster": "k8s",
|
|
221
|
+
"k8s-clusterissuer": "cert-manager",
|
|
222
|
+
"k8s-connection": "mission-control",
|
|
223
|
+
"k8s-felixconfiguration": "calico",
|
|
224
|
+
"k8s-gitrepository": "flux",
|
|
225
|
+
"k8s-globalnetworkpolicy": "calico",
|
|
226
|
+
"k8s-helm": "helm",
|
|
227
|
+
"k8s-ingressclass": "k8s-ingress",
|
|
228
|
+
"k8s-endpoints": "k8s-endpoint",
|
|
229
|
+
"k8s-issuer": "cert-manager",
|
|
230
|
+
"k8s-kustomization": "kustomize",
|
|
231
|
+
"k8s-playbook": "mission-control",
|
|
232
|
+
"k8s-podmonitor": "prometheus",
|
|
233
|
+
"k8s-prometheus": "prometheus",
|
|
234
|
+
"k8s-prometheusrule": "prometheus",
|
|
235
|
+
"k8s-scrapeconfig": "mission-control",
|
|
236
|
+
"k8s-servicemonitor": "prometheus",
|
|
237
|
+
"k8s-tigerastatus": "calico",
|
|
238
|
+
"k8s-topology": "mission-control",
|
|
239
|
+
kubernetes: "k8s",
|
|
240
|
+
"mssql-database": "sqlserver",
|
|
241
|
+
mssql: "sqlserver",
|
|
242
|
+
nodes: "k8s-node",
|
|
243
|
+
pods: "pod",
|
|
244
|
+
s3: "aws-s3",
|
|
245
|
+
s3bucket: "aws-s3",
|
|
246
|
+
"sql server": "sqlserver",
|
|
247
|
+
www: "http",
|
|
248
|
+
"zulip chat": "zulip",
|
|
249
|
+
abort: "stop",
|
|
250
|
+
accept: "checkmark",
|
|
251
|
+
acknowledge: "check",
|
|
252
|
+
activate: "toggle-on",
|
|
253
|
+
add: "plus",
|
|
254
|
+
addmemberstogroup: "add-group",
|
|
255
|
+
addorupdategroups: "add-group",
|
|
256
|
+
addroletodbcluster: "k8s-role",
|
|
257
|
+
addtag: "add-tag",
|
|
258
|
+
addthingtothinggroup: "add-group",
|
|
259
|
+
adduploadbuffer: "add-cloud",
|
|
260
|
+
adduserstogroup: "add-user",
|
|
261
|
+
addusertogroup: "add-group",
|
|
262
|
+
addworkingstorage: "add-database",
|
|
263
|
+
adminconfirmsignup: "check",
|
|
264
|
+
admindeleteuser: "remove-user",
|
|
265
|
+
admindeleteuserattributes: "remove-user",
|
|
266
|
+
admindisableuser: "minus",
|
|
267
|
+
admingetuser: "list",
|
|
268
|
+
adminlistgroupsforuser: "list",
|
|
269
|
+
adminremoveuserfromgroup: "remove-user",
|
|
270
|
+
adminresetuserpassword: "reload",
|
|
271
|
+
adminsetusersettings: "plus",
|
|
272
|
+
adminupdateuserattributes: "plus",
|
|
273
|
+
alertmanager: "prometheus",
|
|
274
|
+
allocate: "plus",
|
|
275
|
+
apply: "settings",
|
|
276
|
+
approve: "check",
|
|
277
|
+
assign: "plus",
|
|
278
|
+
associate: "plus",
|
|
279
|
+
attach: "plus",
|
|
280
|
+
attachnetworkinterface: "add-network-card",
|
|
281
|
+
attachrolepolicy: "add-shield",
|
|
282
|
+
attachuserpolicy: "add-shield",
|
|
283
|
+
attachvolume: "up-database",
|
|
284
|
+
authenticateuser: "toggle-on",
|
|
285
|
+
authorize: "add-shield",
|
|
286
|
+
authorizesecuritygroupingress: "add-firewall",
|
|
287
|
+
azuredevops: "azure-devops",
|
|
288
|
+
backoff: "snail",
|
|
289
|
+
backofflimitexceeded: "snail",
|
|
290
|
+
bindgithubaccounttokentoapplication: "git",
|
|
291
|
+
build: "console",
|
|
292
|
+
buildsuggesters: "console",
|
|
293
|
+
bulkpublish: "upload",
|
|
294
|
+
bundle: "package-install",
|
|
295
|
+
cancel: "cancel",
|
|
296
|
+
catalogsource: "operatorframework",
|
|
297
|
+
certificateissued: "certificate",
|
|
298
|
+
change: "edit",
|
|
299
|
+
check: "check",
|
|
300
|
+
clear: "trash",
|
|
301
|
+
clone: "clone",
|
|
302
|
+
clusterissuer: "cert-manager",
|
|
303
|
+
clusterservicerevision: "k8s",
|
|
304
|
+
complete: "check",
|
|
305
|
+
configure: "settings",
|
|
306
|
+
confirm: "check",
|
|
307
|
+
connect: "link",
|
|
308
|
+
connection: "cog",
|
|
309
|
+
continue: "start",
|
|
310
|
+
controllerrevision: "k8s",
|
|
311
|
+
copy: "clone",
|
|
312
|
+
cost: "dollar",
|
|
313
|
+
create: "plus",
|
|
314
|
+
createaccesskey: "add-key",
|
|
315
|
+
createbackup: "add-snapshot",
|
|
316
|
+
createbucket: "add-node",
|
|
317
|
+
createcase: "add-ticket",
|
|
318
|
+
createcertificate: "add-certificate",
|
|
319
|
+
createcluster: "add-node",
|
|
320
|
+
createclustersnapshot: "add-snapshot",
|
|
321
|
+
createcollection: "add-group",
|
|
322
|
+
createcomment: "talk",
|
|
323
|
+
createcomputeenvironment: "add-node",
|
|
324
|
+
createcomputer: "add-node",
|
|
325
|
+
createcontainer: "add-node",
|
|
326
|
+
createdatabase: "add-database",
|
|
327
|
+
createdataset: "add-database",
|
|
328
|
+
createdatasetcontent: "add-database",
|
|
329
|
+
createdatasource: "add-database",
|
|
330
|
+
createdatasourcefromrds: "add-database",
|
|
331
|
+
createdatasourcefromredshift: "add-database",
|
|
332
|
+
createdatasourcefroms3: "add-database",
|
|
333
|
+
createdatastore: "add-database",
|
|
334
|
+
createdbcluster: "add-node",
|
|
335
|
+
createdbinstance: "add-node",
|
|
336
|
+
createdbinstancereadreplica: "add-database",
|
|
337
|
+
createdbsnapshot: "add-snapshot",
|
|
338
|
+
createdocument: "add-page",
|
|
339
|
+
createdocumentationpart: "add-page",
|
|
340
|
+
createdocumentationversion: "add-page",
|
|
341
|
+
createfolder: "add-folder",
|
|
342
|
+
createhealthcheck: "add-alert",
|
|
343
|
+
createimage: "add-snapshot",
|
|
344
|
+
createinstance: "add-node",
|
|
345
|
+
createinstances: "add-node",
|
|
346
|
+
createinstancesfromsnapshot: "add-node",
|
|
347
|
+
createinstancesnapshot: "add-snapshot",
|
|
348
|
+
createloadbalancer: "loadbalancer",
|
|
349
|
+
createloggroup: "add-group",
|
|
350
|
+
createloginprofile: "add-user",
|
|
351
|
+
createmailuser: "add-user",
|
|
352
|
+
createmembers: "add-group",
|
|
353
|
+
createnetworkinterface: "add-network-card",
|
|
354
|
+
createoptiongroup: "add-group",
|
|
355
|
+
createrole: "add-shield",
|
|
356
|
+
createsecuritygroup: "add-firewall",
|
|
357
|
+
createsnapshot: "add-snapshot",
|
|
358
|
+
createuser: "add-user",
|
|
359
|
+
createvault: "add-key",
|
|
360
|
+
createvolume: "add-node",
|
|
361
|
+
csidriver: "csi",
|
|
362
|
+
csinode: "csi",
|
|
363
|
+
deactivatemfadevice: "toggle-off",
|
|
364
|
+
deactivatepipeline: "toggle-off",
|
|
365
|
+
deactivateuser: "remove-user",
|
|
366
|
+
decrease: "minus",
|
|
367
|
+
delete: "trash",
|
|
368
|
+
deleteaccesskey: "remove-key",
|
|
369
|
+
deletealarms: "remove-clock",
|
|
370
|
+
deletearchive: "remove",
|
|
371
|
+
deletebucket: "remove-folder",
|
|
372
|
+
deletebucketcors: "remove-shield",
|
|
373
|
+
deletecachecluster: "remove-node",
|
|
374
|
+
deleteclientcertificate: "remove-shield",
|
|
375
|
+
deletecluster: "remove-node",
|
|
376
|
+
deleteclustersnapshot: "remove",
|
|
377
|
+
deletecollection: "remove-group",
|
|
378
|
+
deletecomment: "remove-comment",
|
|
379
|
+
deletecomputeenvironment: "remove-node",
|
|
380
|
+
deletecontainer: "remove-node",
|
|
381
|
+
deletedatabase: "remove-database",
|
|
382
|
+
deletedbcluster: "remove-node",
|
|
383
|
+
deletedbinstance: "remove-database",
|
|
384
|
+
deletedbparametergroup: "remove-shield",
|
|
385
|
+
deletedbsecuritygroup: "remove-shield",
|
|
386
|
+
deletedocument: "remove-page",
|
|
387
|
+
deletedocumentationpart: "remove-page",
|
|
388
|
+
deletedocumentationversion: "remove-page",
|
|
389
|
+
deleteemailchannel: "remove-email",
|
|
390
|
+
deletefilter: "remove-filter",
|
|
391
|
+
deletefolder: "remove-folder",
|
|
392
|
+
deletefoldercontent: "remove-folder",
|
|
393
|
+
deletefoldercontents: "remove-folder",
|
|
394
|
+
deletefoldershare: "remove-link",
|
|
395
|
+
deletegroup: "remove-group",
|
|
396
|
+
deleteinstance: "remove-node",
|
|
397
|
+
deleteinstancesnapshot: "remove",
|
|
398
|
+
deleteinvitations: "remove-email",
|
|
399
|
+
deletekeypair: "remove-key",
|
|
400
|
+
deletemembers: "remove-group",
|
|
401
|
+
deletesnapshot: "remove",
|
|
402
|
+
deletesnapshotschedule: "remove",
|
|
403
|
+
deletesshpublickey: "remove-key",
|
|
404
|
+
deletetags: "remove-tag",
|
|
405
|
+
deletetagsfordomain: "remove-tag",
|
|
406
|
+
deleteuser: "remove-user",
|
|
407
|
+
deleteuserpolicy: "remove-shield",
|
|
408
|
+
deletevolume: "remove-node",
|
|
409
|
+
deletevpc: "remove-node",
|
|
410
|
+
deletevpclink: "remove-link",
|
|
411
|
+
deletevpcpeeringconnection: "remove-link",
|
|
412
|
+
deletevpnconnection: "remove-link",
|
|
413
|
+
deletevpnconnectionroute: "remove-link",
|
|
414
|
+
deletevpngateway: "remove-link",
|
|
415
|
+
deliverconfigsnapshot: "check",
|
|
416
|
+
deployment: "rocket",
|
|
417
|
+
deregister: "remove",
|
|
418
|
+
describe: "list",
|
|
419
|
+
detach: "remove",
|
|
420
|
+
detachnetworkinterface: "remove-network-card",
|
|
421
|
+
detachrolepolicy: "remove-shield",
|
|
422
|
+
detachuserpolicy: "remove-shield",
|
|
423
|
+
detachvolume: "down-database",
|
|
424
|
+
detatchvolume: "down-database",
|
|
425
|
+
dettachvolume: "down-database",
|
|
426
|
+
disable: "toggle-off",
|
|
427
|
+
disablealarmactions: "remove-alarm",
|
|
428
|
+
disabled: "off",
|
|
429
|
+
disassociate: "remove",
|
|
430
|
+
disconnect: "remove-link",
|
|
431
|
+
discover: "search",
|
|
432
|
+
download: "download",
|
|
433
|
+
drain: "scale-in",
|
|
434
|
+
dryrunevent: "console",
|
|
435
|
+
enable: "edit",
|
|
436
|
+
enabled: "on",
|
|
437
|
+
enablemfadevice: "mfa",
|
|
438
|
+
endpoints: "endpoint",
|
|
439
|
+
endsecretversiondelete: "cancel",
|
|
440
|
+
ensuredloadbalancer: "ok",
|
|
441
|
+
ensuringloadbalancer: "hourglass",
|
|
442
|
+
enterstandby: "pause",
|
|
443
|
+
estimatetemplatecost: "dollar",
|
|
444
|
+
evaluate: "filter",
|
|
445
|
+
evicted: "trash",
|
|
446
|
+
evictionthresholdmet: "alarm",
|
|
447
|
+
execute: "console",
|
|
448
|
+
exit: "cancel",
|
|
449
|
+
externalexpanding: "hourglass",
|
|
450
|
+
failed: "error",
|
|
451
|
+
failoverdbcluster: "database",
|
|
452
|
+
file: "cfg",
|
|
453
|
+
filesystemresizerequired: "hourglass",
|
|
454
|
+
filesystemresizesuccessful: "scale-up",
|
|
455
|
+
flush: "trash",
|
|
456
|
+
freediskspacefailed: "error-database",
|
|
457
|
+
generated: "plus",
|
|
458
|
+
get: "list",
|
|
459
|
+
git: "git",
|
|
460
|
+
gitoperationfailed: "error",
|
|
461
|
+
gitoperationsucceeded: "ok",
|
|
462
|
+
grafana: "grafana",
|
|
463
|
+
grant: "plus",
|
|
464
|
+
healthy: "heart",
|
|
465
|
+
helm: "helm",
|
|
466
|
+
import: "plus",
|
|
467
|
+
increase: "plus",
|
|
468
|
+
increment: "plus",
|
|
469
|
+
index: "search",
|
|
470
|
+
initiate: "start",
|
|
471
|
+
install: "package-install",
|
|
472
|
+
installplan: "helm",
|
|
473
|
+
invoke: "console",
|
|
474
|
+
isdown: "broken-heart",
|
|
475
|
+
isemailreachable: "check",
|
|
476
|
+
issue: "check",
|
|
477
|
+
issuer: "cert-manager",
|
|
478
|
+
issuing: "hourglass",
|
|
479
|
+
isup: "heart",
|
|
480
|
+
isvpcpeered: "check",
|
|
481
|
+
keypairverified: "id-verified",
|
|
482
|
+
kibana: "elasticsearch",
|
|
483
|
+
killing: "stop",
|
|
484
|
+
kustomization: "kustomize",
|
|
485
|
+
leaderelection: "check",
|
|
486
|
+
leaveorganization: "minus",
|
|
487
|
+
lookup: "search",
|
|
488
|
+
memory: "mem",
|
|
489
|
+
mergedeveloperidentities: "group",
|
|
490
|
+
mergeshards: "folder-git",
|
|
491
|
+
modify: "edit",
|
|
492
|
+
monitor: "graph",
|
|
493
|
+
move: "settings",
|
|
494
|
+
msplanner: "msplanner",
|
|
495
|
+
mutatingwebhookconfiguration: "webhook",
|
|
496
|
+
networkinterface: "network-card",
|
|
497
|
+
new: "plus",
|
|
498
|
+
nodehassufficientmemory: "ok",
|
|
499
|
+
nodehassufficientpid: "ok",
|
|
500
|
+
nodenotready: "broken-heart",
|
|
501
|
+
nodenotschedulable: "hourglass",
|
|
502
|
+
nodeready: "heart",
|
|
503
|
+
nopods: "hourglass",
|
|
504
|
+
nosourceartifact: "hourglass",
|
|
505
|
+
notifymigrationtaskstate: "settings",
|
|
506
|
+
nottriggerscaleup: "error",
|
|
507
|
+
oipa: "oracle_icon",
|
|
508
|
+
operator: "operatorframework",
|
|
509
|
+
ordercreated: "plus",
|
|
510
|
+
paginatedorganizationactivity: "settings",
|
|
511
|
+
peervpc: "link",
|
|
512
|
+
pending: "hourglass",
|
|
513
|
+
ping: "start",
|
|
514
|
+
pipelinerun: "azure-devops-pipeline",
|
|
515
|
+
policyexecutionevent: "start",
|
|
516
|
+
poll: "list",
|
|
517
|
+
post: "upload",
|
|
518
|
+
preemptscheduled: "remove",
|
|
519
|
+
preview: "show",
|
|
520
|
+
process: "console",
|
|
521
|
+
processingerror: "error",
|
|
522
|
+
progressing: "hourglass",
|
|
523
|
+
prometheus: "prometheus",
|
|
524
|
+
promote: "upload",
|
|
525
|
+
provisioning: "hourglass",
|
|
526
|
+
provisioningfailed: "error",
|
|
527
|
+
provisioningsucceeded: "ok",
|
|
528
|
+
publish: "upload",
|
|
529
|
+
pulled: "check-docker",
|
|
530
|
+
pulling: "docker",
|
|
531
|
+
purchase: "add-cost",
|
|
532
|
+
push: "upload",
|
|
533
|
+
put: "upload",
|
|
534
|
+
query: "search",
|
|
535
|
+
read: "list",
|
|
536
|
+
reboot: "reload",
|
|
537
|
+
rebootscheduled: "schedule",
|
|
538
|
+
rebuild: "reload",
|
|
539
|
+
record: "plus",
|
|
540
|
+
recreatingfailedpod: "reload",
|
|
541
|
+
redeempromocode: "plus",
|
|
542
|
+
redeployscheduled: "schedule",
|
|
543
|
+
refresh: "reload",
|
|
544
|
+
register: "plus",
|
|
545
|
+
reject: "reject",
|
|
546
|
+
release: "remove-link",
|
|
547
|
+
reload: "reload",
|
|
548
|
+
remove: "trash",
|
|
549
|
+
removeattributesfromfindings: "remove-list",
|
|
550
|
+
removeiproutes: "remove-list",
|
|
551
|
+
removemembersfromgroup: "remove-group",
|
|
552
|
+
removerolefromdbcluster: "remove-node",
|
|
553
|
+
removetag: "remove-tag",
|
|
554
|
+
removetargets: "remove-tag",
|
|
555
|
+
removethingfromthinggroup: "remove-tag",
|
|
556
|
+
removeuserfromgroup: "remove-user",
|
|
557
|
+
rename: "edit",
|
|
558
|
+
renew: "reload",
|
|
559
|
+
replace: "reload",
|
|
560
|
+
report: "list",
|
|
561
|
+
request: "send",
|
|
562
|
+
resent: "reload",
|
|
563
|
+
reset: "reload",
|
|
564
|
+
resizing: "scale-up",
|
|
565
|
+
resolve: "check",
|
|
566
|
+
restart: "reload",
|
|
567
|
+
restore: "reload",
|
|
568
|
+
resume: "start",
|
|
569
|
+
resync: "reload",
|
|
570
|
+
retrieve: "download",
|
|
571
|
+
retry: "reload",
|
|
572
|
+
reused: "recycle",
|
|
573
|
+
revoke: "access-denied",
|
|
574
|
+
revokesecuritygroupingress: "remove-firewall",
|
|
575
|
+
rotate: "reload",
|
|
576
|
+
rotationfailed: "cancel",
|
|
577
|
+
rotationstarted: "start",
|
|
578
|
+
rotationsucceeded: "check",
|
|
579
|
+
run: "console",
|
|
580
|
+
sample: "console",
|
|
581
|
+
scalingreplicaset: "scale-out",
|
|
582
|
+
scan: "search",
|
|
583
|
+
scheduled: "schedule",
|
|
584
|
+
servicemonitor: "prometheus",
|
|
585
|
+
set: "edit",
|
|
586
|
+
shutdown: "stop",
|
|
587
|
+
signal: "console",
|
|
588
|
+
simulate: "console",
|
|
589
|
+
skip: "skip",
|
|
590
|
+
sourceunavailable: "hourglass",
|
|
591
|
+
split: "split",
|
|
592
|
+
start: "start",
|
|
593
|
+
statefulset: "k8s-statefulset",
|
|
594
|
+
stop: "stop",
|
|
595
|
+
submit: "plus",
|
|
596
|
+
succeeded: "check",
|
|
597
|
+
Success: "check",
|
|
598
|
+
success: "ok",
|
|
599
|
+
successfulattachvolume: "ok",
|
|
600
|
+
suspend: "toggle-off",
|
|
601
|
+
swap: "switch",
|
|
602
|
+
switch: "switch",
|
|
603
|
+
synthesize: "plus",
|
|
604
|
+
tag: "tag",
|
|
605
|
+
taintmanagereviction: "trash",
|
|
606
|
+
terminate: "stop",
|
|
607
|
+
test: "test",
|
|
608
|
+
transfer: "switch",
|
|
609
|
+
unarchive: "reload",
|
|
610
|
+
unassign: "remove-link",
|
|
611
|
+
unhealthy: "broken-heart",
|
|
612
|
+
unlink: "remove-link",
|
|
613
|
+
unlock: "unlock",
|
|
614
|
+
unmonitor: "stop",
|
|
615
|
+
unpeer: "remove-link",
|
|
616
|
+
unregister: "remove",
|
|
617
|
+
untag: "remove-tag",
|
|
618
|
+
update: "edit",
|
|
619
|
+
updatecertificate: "certificate",
|
|
620
|
+
updatedloadbalancer: "loadbalancer",
|
|
621
|
+
UpdateLoginProfile: "user",
|
|
622
|
+
upgrade: "upload",
|
|
623
|
+
upload: "upload",
|
|
624
|
+
uptodate: "ok",
|
|
625
|
+
validate: "cmd",
|
|
626
|
+
validatingwebhookconfiguration: "webhook",
|
|
627
|
+
verify: "check",
|
|
628
|
+
view: "show",
|
|
629
|
+
vmeventscheduled: "schedule",
|
|
630
|
+
volumeresizefailed: "error-database",
|
|
631
|
+
wait: "hourglass",
|
|
632
|
+
waitingforapproval: "wait-for-approval",
|
|
633
|
+
wipe: "trash",
|
|
634
|
+
healthcheckpassed: "heart",
|
|
635
|
+
healthunknown: "help",
|
|
636
|
+
upgradesucceeded: "ok",
|
|
637
|
+
healthcheckfailed: "broken-heart",
|
|
638
|
+
podcrashed: "dead",
|
|
639
|
+
podcrashlooping: "dead",
|
|
640
|
+
warning: "error",
|
|
641
|
+
nodehasdiskpressure: "disk-error",
|
|
642
|
+
nodehasnodiskpressure: "ok",
|
|
643
|
+
nodehassufficientcpu: "ok",
|
|
644
|
+
subscribe: "add",
|
|
645
|
+
unsubscribe: "remove",
|
|
646
|
+
dependencynotready: "hourglass",
|
|
647
|
+
"k8s-redisinstance": "redis",
|
|
648
|
+
oomkilled: "memory-error",
|
|
649
|
+
oomkilling: "memory-error",
|
|
650
|
+
updating: "hourglass"
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
// react-icons/packages/_react-icons_all/prefixes.ts
|
|
654
|
+
var prefixes = {
|
|
655
|
+
disruption: "stop",
|
|
656
|
+
garbage: "trash",
|
|
657
|
+
verified: "check",
|
|
658
|
+
cannot: "warning",
|
|
659
|
+
ready: "check",
|
|
660
|
+
notready: "broken-heart",
|
|
661
|
+
cilium: "cilium",
|
|
662
|
+
pending: "hourglass",
|
|
663
|
+
invalid: "error",
|
|
664
|
+
wait: "hourglass",
|
|
665
|
+
abort: "stop",
|
|
666
|
+
accept: "check",
|
|
667
|
+
acknowledge: "check",
|
|
668
|
+
activate: "toggle-on",
|
|
669
|
+
add: "plus",
|
|
670
|
+
allocate: "plus",
|
|
671
|
+
apply: "settings",
|
|
672
|
+
approve: "check",
|
|
673
|
+
assign: "plus",
|
|
674
|
+
associate: "plus",
|
|
675
|
+
attach: "plus",
|
|
676
|
+
authorize: "add-shield",
|
|
677
|
+
bundle: "package-install",
|
|
678
|
+
cancel: "cancel",
|
|
679
|
+
change: "edit",
|
|
680
|
+
check: "check",
|
|
681
|
+
clear: "trash",
|
|
682
|
+
clone: "clone",
|
|
683
|
+
complete: "check",
|
|
684
|
+
configure: "settings",
|
|
685
|
+
confirm: "check",
|
|
686
|
+
connect: "link",
|
|
687
|
+
continue: "start",
|
|
688
|
+
copy: "clone",
|
|
689
|
+
create: "plus",
|
|
690
|
+
decrease: "minus",
|
|
691
|
+
delete: "trash",
|
|
692
|
+
deregister: "remove",
|
|
693
|
+
describe: "list",
|
|
694
|
+
detach: "remove",
|
|
695
|
+
disable: "toggle-off",
|
|
696
|
+
disassociate: "remove",
|
|
697
|
+
disconnect: "remove-link",
|
|
698
|
+
discover: "search",
|
|
699
|
+
download: "download",
|
|
700
|
+
enable: "edit",
|
|
701
|
+
evaluate: "filter",
|
|
702
|
+
evicted: "trash",
|
|
703
|
+
execute: "cmd",
|
|
704
|
+
exit: "cancel",
|
|
705
|
+
failed: "error",
|
|
706
|
+
flush: "trash",
|
|
707
|
+
get: "list",
|
|
708
|
+
git: "git",
|
|
709
|
+
grafana: "grafana",
|
|
710
|
+
"aws-iam": "aws-iam",
|
|
711
|
+
"k8s-cni": "cni",
|
|
712
|
+
grant: "plus",
|
|
713
|
+
helm: "helm",
|
|
714
|
+
"k8s-mutatingwebhookconfiguration": "webhook",
|
|
715
|
+
"k8s-validatingwebhookconfiguration": "webhook",
|
|
716
|
+
import: "plus",
|
|
717
|
+
increase: "plus",
|
|
718
|
+
increment: "plus",
|
|
719
|
+
index: "search",
|
|
720
|
+
initiate: "start",
|
|
721
|
+
install: "package-install",
|
|
722
|
+
invoke: "cmd",
|
|
723
|
+
isdown: "broken-heart",
|
|
724
|
+
issue: "check",
|
|
725
|
+
isup: "heart",
|
|
726
|
+
killing: "stop",
|
|
727
|
+
lookup: "search",
|
|
728
|
+
missioncontrol: "mission-control",
|
|
729
|
+
modify: "edit",
|
|
730
|
+
monitor: "graph",
|
|
731
|
+
move: "settings",
|
|
732
|
+
operator: "operatorframework",
|
|
733
|
+
playbook: "playbook",
|
|
734
|
+
poll: "list",
|
|
735
|
+
post: "upload",
|
|
736
|
+
preview: "show",
|
|
737
|
+
prometheus: "prometheus",
|
|
738
|
+
promote: "upload",
|
|
739
|
+
provisioning: "hourglass",
|
|
740
|
+
publish: "upload",
|
|
741
|
+
purchase: "add-cost",
|
|
742
|
+
push: "upload",
|
|
743
|
+
put: "upload",
|
|
744
|
+
query: "search",
|
|
745
|
+
read: "list",
|
|
746
|
+
reboot: "reload",
|
|
747
|
+
rebuild: "reload",
|
|
748
|
+
record: "plus",
|
|
749
|
+
refresh: "reload",
|
|
750
|
+
register: "plus",
|
|
751
|
+
reject: "reject",
|
|
752
|
+
reload: "reload",
|
|
753
|
+
remove: "trash",
|
|
754
|
+
removetag: "remove-tag",
|
|
755
|
+
rename: "edit",
|
|
756
|
+
renew: "reload",
|
|
757
|
+
replace: "reload",
|
|
758
|
+
report: "list",
|
|
759
|
+
scheduled: "schedule",
|
|
760
|
+
enabled: "on",
|
|
761
|
+
disabled: "off",
|
|
762
|
+
request: "send",
|
|
763
|
+
resent: "reload",
|
|
764
|
+
reset: "reload",
|
|
765
|
+
resolve: "check",
|
|
766
|
+
restart: "reload",
|
|
767
|
+
uptodate: "ok",
|
|
768
|
+
new: "plus",
|
|
769
|
+
restore: "reload",
|
|
770
|
+
resume: "start",
|
|
771
|
+
resync: "reload",
|
|
772
|
+
retrieve: "download",
|
|
773
|
+
retry: "reload",
|
|
774
|
+
revoke: "access-denied",
|
|
775
|
+
rotate: "reload",
|
|
776
|
+
run: "cmd",
|
|
777
|
+
sample: "cmd",
|
|
778
|
+
scan: "search",
|
|
779
|
+
set: "edit",
|
|
780
|
+
shutdown: "stop",
|
|
781
|
+
signal: "cmd",
|
|
782
|
+
simulate: "cmd",
|
|
783
|
+
skip: "skip",
|
|
784
|
+
split: "split",
|
|
785
|
+
start: "start",
|
|
786
|
+
stop: "stop",
|
|
787
|
+
submit: "plus",
|
|
788
|
+
succeeded: "check",
|
|
789
|
+
Success: "check",
|
|
790
|
+
suspend: "toggle-off",
|
|
791
|
+
swap: "switch",
|
|
792
|
+
switch: "switch",
|
|
793
|
+
synthesize: "plus",
|
|
794
|
+
tag: "tag",
|
|
795
|
+
terminate: "stop",
|
|
796
|
+
test: "test",
|
|
797
|
+
transfer: "switch",
|
|
798
|
+
unarchive: "reload",
|
|
799
|
+
unassign: "remove-link",
|
|
800
|
+
unlink: "remove-link",
|
|
801
|
+
unlock: "unlock",
|
|
802
|
+
unmonitor: "stop",
|
|
803
|
+
unpeer: "remove-link",
|
|
804
|
+
unregister: "remove",
|
|
805
|
+
untag: "remove-tag",
|
|
806
|
+
update: "edit",
|
|
807
|
+
upgrade: "upload",
|
|
808
|
+
upload: "upload",
|
|
809
|
+
validate: "cmd",
|
|
810
|
+
verify: "check",
|
|
811
|
+
view: "show",
|
|
812
|
+
wipe: "trash"
|
|
813
|
+
};
|
|
814
|
+
|
|
815
|
+
// react-icons/packages/_react-icons_all/iconResolver.ts
|
|
816
|
+
var colorClassMap = {
|
|
817
|
+
error: "fill-red-500",
|
|
818
|
+
success: "fill-green-500",
|
|
819
|
+
healthy: "fill-green-500",
|
|
820
|
+
unhealthy: "fill-red-500",
|
|
821
|
+
warning: "fill-orange-500",
|
|
822
|
+
unknown: "fill-gray-500",
|
|
823
|
+
orange: "fill-orange-500",
|
|
824
|
+
red: "fill-red-500",
|
|
825
|
+
green: "fill-green-500",
|
|
826
|
+
blue: "fill-blue-500",
|
|
827
|
+
gray: "fill-gray-500"
|
|
828
|
+
};
|
|
829
|
+
function processIconNameSearch(name) {
|
|
830
|
+
return name.replaceAll("--", "-").replaceAll("::", "-").toLowerCase().replaceAll("k8-", "k8s-").replaceAll("kubernetes-", "k8s-");
|
|
831
|
+
}
|
|
832
|
+
function findIconName(name, iconMap) {
|
|
833
|
+
if (!name) return void 0;
|
|
834
|
+
if (iconMap[name]) return iconMap[name];
|
|
835
|
+
if (aliases[name]) return iconMap[aliases[name]];
|
|
836
|
+
for (const prefix in prefixes) {
|
|
837
|
+
if (name.startsWith(prefix)) return iconMap[prefixes[prefix]];
|
|
838
|
+
}
|
|
839
|
+
for (const prefix in prefixes) {
|
|
840
|
+
if (name.endsWith(prefix)) return iconMap[prefixes[prefix]];
|
|
841
|
+
}
|
|
842
|
+
return void 0;
|
|
843
|
+
}
|
|
844
|
+
function areTwoIconNamesEqual(firstIconName, secondIconName) {
|
|
845
|
+
if (!firstIconName || !secondIconName) return false;
|
|
846
|
+
const first = processIconNameSearch(firstIconName);
|
|
847
|
+
const second = processIconNameSearch(secondIconName);
|
|
848
|
+
if (first === second) return true;
|
|
849
|
+
const firstAlias = aliases[first];
|
|
850
|
+
const secondAlias = aliases[second];
|
|
851
|
+
if (firstAlias === second || secondAlias === first) return true;
|
|
852
|
+
if (firstAlias && firstAlias === secondAlias) return true;
|
|
853
|
+
const firstStripped = first.replace("k8s-", "");
|
|
854
|
+
const secondStripped = second.replace("k8s-", "");
|
|
855
|
+
if (firstStripped === second || secondStripped === first) return true;
|
|
856
|
+
if (firstStripped === secondStripped) return true;
|
|
857
|
+
return false;
|
|
858
|
+
}
|
|
859
|
+
function findByName(name, iconMap) {
|
|
860
|
+
if (!name) return void 0;
|
|
861
|
+
const normalized = processIconNameSearch(name);
|
|
862
|
+
let icon = findIconName(normalized, iconMap);
|
|
863
|
+
if (icon) return icon;
|
|
864
|
+
icon = findIconName(normalized.replace("k8s-", ""), iconMap);
|
|
865
|
+
if (icon) return icon;
|
|
866
|
+
for (const prefix of ["aws-", "azure-", "k8s-"]) {
|
|
867
|
+
icon = findIconName(prefix + normalized, iconMap);
|
|
868
|
+
if (icon) return icon;
|
|
869
|
+
}
|
|
870
|
+
return void 0;
|
|
871
|
+
}
|
|
872
|
+
function resolveColor(color) {
|
|
873
|
+
if (!color) return void 0;
|
|
874
|
+
if (color in colorClassMap) return { className: colorClassMap[color] };
|
|
875
|
+
return { style: { color } };
|
|
876
|
+
}
|
|
877
|
+
var cache = {};
|
|
878
|
+
function findIcon(name, secondary, iconMap, iconWithColor) {
|
|
879
|
+
const key = `${name}-${secondary}-${iconWithColor}`;
|
|
880
|
+
if (cache[key]) return cache[key];
|
|
881
|
+
if (iconWithColor) {
|
|
882
|
+
const [icon, color] = iconWithColor.split(":");
|
|
883
|
+
if (icon) {
|
|
884
|
+
const iconType2 = findByName(icon, iconMap);
|
|
885
|
+
if (iconType2) {
|
|
886
|
+
const value = { SVG: iconType2, color: colorClassMap[color] };
|
|
887
|
+
cache[key] = value;
|
|
888
|
+
return value;
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
if (!name && !secondary) return void 0;
|
|
893
|
+
if (name && (name.startsWith("http:") || name.startsWith("https://")))
|
|
894
|
+
return void 0;
|
|
895
|
+
let iconType = findByName(name, iconMap);
|
|
896
|
+
if (!iconType) iconType = findByName(secondary, iconMap);
|
|
897
|
+
cache[key] = { SVG: iconType };
|
|
898
|
+
return { SVG: iconType };
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
// react-icons/packages/_react-icons_all/Icon.tsx
|
|
902
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
903
|
+
function Icon({
|
|
904
|
+
name = "",
|
|
905
|
+
secondary = "",
|
|
906
|
+
className = "h-6 max-w-6",
|
|
907
|
+
alt = "",
|
|
908
|
+
color,
|
|
909
|
+
prefix,
|
|
910
|
+
iconWithColor,
|
|
911
|
+
...props
|
|
912
|
+
}) {
|
|
913
|
+
if (name && (name.startsWith("http:") || name.startsWith("https://"))) {
|
|
914
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: name, className, alt, ...props });
|
|
915
|
+
}
|
|
916
|
+
if (name?.includes("::")) {
|
|
917
|
+
const [primary, nested] = name.split("::");
|
|
918
|
+
name = nested;
|
|
919
|
+
secondary = secondary || primary;
|
|
920
|
+
}
|
|
921
|
+
const result = findIcon(name, secondary, import_mi.IconMap, iconWithColor);
|
|
922
|
+
if (!result?.SVG) return null;
|
|
923
|
+
const colorResolved = resolveColor(color);
|
|
924
|
+
const colorFromIcon = result.color ? ` ${result.color}` : "";
|
|
925
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
926
|
+
prefix,
|
|
927
|
+
" ",
|
|
928
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
929
|
+
result.SVG,
|
|
930
|
+
{
|
|
931
|
+
className: `inline-block fill-current object-center ${className}${colorFromIcon}${colorResolved?.className ? ` ${colorResolved.className}` : ""}`,
|
|
932
|
+
style: colorResolved?.style,
|
|
933
|
+
...props
|
|
934
|
+
}
|
|
935
|
+
)
|
|
936
|
+
] });
|
|
937
|
+
}
|