@techdocs/cli 1.8.22-next.2 → 1.8.22-next.3
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/CHANGELOG.md +11 -0
- package/dist/embedded-app/.config-schema.json +155 -46
- package/dist/embedded-app/index.html +1 -1
- package/dist/embedded-app/index.html.tmpl +1 -1
- package/dist/embedded-app/static/2177.05828035.chunk.js +4 -0
- package/dist/embedded-app/static/2177.05828035.chunk.js.map +1 -0
- package/dist/embedded-app/static/{4036.a7456a2d.chunk.js → 4036.18d0b7f2.chunk.js} +1 -1
- package/dist/embedded-app/static/{4036.a7456a2d.chunk.js.map → 4036.18d0b7f2.chunk.js.map} +1 -1
- package/dist/embedded-app/static/{4516.60c11738.chunk.js → 4516.3caab6a3.chunk.js} +1 -1
- package/dist/embedded-app/static/{4516.60c11738.chunk.js.map → 4516.3caab6a3.chunk.js.map} +1 -1
- package/dist/embedded-app/static/{5724.0f3b3ce6.chunk.js → 5724.3139e3f1.chunk.js} +3 -3
- package/dist/embedded-app/static/5724.3139e3f1.chunk.js.map +1 -0
- package/dist/embedded-app/static/{5788.d7d073f4.chunk.js → 5788.ae686304.chunk.js} +1 -1
- package/dist/embedded-app/static/{5788.d7d073f4.chunk.js.map → 5788.ae686304.chunk.js.map} +1 -1
- package/dist/embedded-app/static/{9234.921d36f1.chunk.js → 9234.6839c56f.chunk.js} +1 -1
- package/dist/embedded-app/static/{9234.921d36f1.chunk.js.map → 9234.6839c56f.chunk.js.map} +1 -1
- package/dist/embedded-app/static/{9605.79eaa6f9.chunk.js → 9605.fe23b89f.chunk.js} +1 -1
- package/dist/embedded-app/static/{9605.79eaa6f9.chunk.js.map → 9605.fe23b89f.chunk.js.map} +1 -1
- package/dist/embedded-app/static/main.90679abd.js +553 -0
- package/dist/embedded-app/static/main.90679abd.js.map +1 -0
- package/dist/embedded-app/static/{module-remix-run.e7427c94.js → module-remix-run.ba6397c2.js} +2 -2
- package/dist/embedded-app/static/module-remix-run.ba6397c2.js.map +1 -0
- package/dist/embedded-app/static/{runtime.b9f6f746.js → runtime.90679abd.js} +2 -2
- package/dist/embedded-app/static/{runtime.b9f6f746.js.map → runtime.90679abd.js.map} +1 -1
- package/dist/embedded-app/static/vendor.90679abd.js +170 -0
- package/dist/embedded-app/static/vendor.90679abd.js.map +1 -0
- package/dist/package.json.cjs.js +1 -1
- package/package.json +4 -4
- package/dist/embedded-app/static/2177.5218bd9b.chunk.js +0 -4
- package/dist/embedded-app/static/2177.5218bd9b.chunk.js.map +0 -1
- package/dist/embedded-app/static/5724.0f3b3ce6.chunk.js.map +0 -1
- package/dist/embedded-app/static/main.b9f6f746.js +0 -553
- package/dist/embedded-app/static/main.b9f6f746.js.map +0 -1
- package/dist/embedded-app/static/module-remix-run.e7427c94.js.map +0 -1
- package/dist/embedded-app/static/vendor.b9f6f746.js +0 -170
- package/dist/embedded-app/static/vendor.b9f6f746.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @techdocs/cli
|
|
2
2
|
|
|
3
|
+
## 1.8.22-next.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/backend-defaults@0.5.3-next.3
|
|
9
|
+
- @backstage/catalog-model@1.7.0
|
|
10
|
+
- @backstage/cli-common@0.1.15-next.0
|
|
11
|
+
- @backstage/config@1.2.0
|
|
12
|
+
- @backstage/plugin-techdocs-node@1.12.13-next.3
|
|
13
|
+
|
|
3
14
|
## 1.8.22-next.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -1533,51 +1533,6 @@
|
|
|
1533
1533
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1534
1534
|
}
|
|
1535
1535
|
},
|
|
1536
|
-
{
|
|
1537
|
-
"path": "../../plugins/auth-backend-module-guest-provider/config.d.ts",
|
|
1538
|
-
"value": {
|
|
1539
|
-
"type": "object",
|
|
1540
|
-
"properties": {
|
|
1541
|
-
"auth": {
|
|
1542
|
-
"description": "Configuration options for the auth plugin",
|
|
1543
|
-
"type": "object",
|
|
1544
|
-
"properties": {
|
|
1545
|
-
"providers": {
|
|
1546
|
-
"type": "object",
|
|
1547
|
-
"properties": {
|
|
1548
|
-
"guest": {
|
|
1549
|
-
"type": "object",
|
|
1550
|
-
"properties": {
|
|
1551
|
-
"userEntityRef": {
|
|
1552
|
-
"description": "The entity reference to use for the guest user.",
|
|
1553
|
-
"default": "user:development/guest",
|
|
1554
|
-
"type": "string"
|
|
1555
|
-
},
|
|
1556
|
-
"ownershipEntityRefs": {
|
|
1557
|
-
"description": "A list of entity references to user for ownership of the guest user if the user\n is not found in the catalog.",
|
|
1558
|
-
"default": "[userEntityRef]",
|
|
1559
|
-
"type": "array",
|
|
1560
|
-
"items": {
|
|
1561
|
-
"type": "string"
|
|
1562
|
-
}
|
|
1563
|
-
},
|
|
1564
|
-
"dangerouslyAllowOutsideDevelopment": {
|
|
1565
|
-
"description": "Allow users to sign in with the guest provider outside of their development environments.",
|
|
1566
|
-
"type": "boolean"
|
|
1567
|
-
}
|
|
1568
|
-
}
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
}
|
|
1572
|
-
},
|
|
1573
|
-
"required": [
|
|
1574
|
-
"providers"
|
|
1575
|
-
]
|
|
1576
|
-
}
|
|
1577
|
-
},
|
|
1578
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1579
|
-
}
|
|
1580
|
-
},
|
|
1581
1536
|
{
|
|
1582
1537
|
"path": "../../plugins/auth-backend/config.d.ts",
|
|
1583
1538
|
"value": {
|
|
@@ -1835,6 +1790,51 @@
|
|
|
1835
1790
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1836
1791
|
}
|
|
1837
1792
|
},
|
|
1793
|
+
{
|
|
1794
|
+
"path": "../../plugins/auth-backend-module-guest-provider/config.d.ts",
|
|
1795
|
+
"value": {
|
|
1796
|
+
"type": "object",
|
|
1797
|
+
"properties": {
|
|
1798
|
+
"auth": {
|
|
1799
|
+
"description": "Configuration options for the auth plugin",
|
|
1800
|
+
"type": "object",
|
|
1801
|
+
"properties": {
|
|
1802
|
+
"providers": {
|
|
1803
|
+
"type": "object",
|
|
1804
|
+
"properties": {
|
|
1805
|
+
"guest": {
|
|
1806
|
+
"type": "object",
|
|
1807
|
+
"properties": {
|
|
1808
|
+
"userEntityRef": {
|
|
1809
|
+
"description": "The entity reference to use for the guest user.",
|
|
1810
|
+
"default": "user:development/guest",
|
|
1811
|
+
"type": "string"
|
|
1812
|
+
},
|
|
1813
|
+
"ownershipEntityRefs": {
|
|
1814
|
+
"description": "A list of entity references to user for ownership of the guest user if the user\n is not found in the catalog.",
|
|
1815
|
+
"default": "[userEntityRef]",
|
|
1816
|
+
"type": "array",
|
|
1817
|
+
"items": {
|
|
1818
|
+
"type": "string"
|
|
1819
|
+
}
|
|
1820
|
+
},
|
|
1821
|
+
"dangerouslyAllowOutsideDevelopment": {
|
|
1822
|
+
"description": "Allow users to sign in with the guest provider outside of their development environments.",
|
|
1823
|
+
"type": "boolean"
|
|
1824
|
+
}
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
},
|
|
1830
|
+
"required": [
|
|
1831
|
+
"providers"
|
|
1832
|
+
]
|
|
1833
|
+
}
|
|
1834
|
+
},
|
|
1835
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1838
1838
|
{
|
|
1839
1839
|
"path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/core-components/config.d.ts",
|
|
1840
1840
|
"value": {
|
|
@@ -1944,7 +1944,7 @@
|
|
|
1944
1944
|
}
|
|
1945
1945
|
},
|
|
1946
1946
|
{
|
|
1947
|
-
"path": "
|
|
1947
|
+
"path": "../../node_modules/@backstage/backend-common/node_modules/@backstage/integration-aws-node/config.d.ts",
|
|
1948
1948
|
"value": {
|
|
1949
1949
|
"type": "object",
|
|
1950
1950
|
"properties": {
|
|
@@ -4404,6 +4404,115 @@
|
|
|
4404
4404
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4405
4405
|
}
|
|
4406
4406
|
},
|
|
4407
|
+
{
|
|
4408
|
+
"path": "../integration-aws-node/config.d.ts",
|
|
4409
|
+
"value": {
|
|
4410
|
+
"type": "object",
|
|
4411
|
+
"properties": {
|
|
4412
|
+
"aws": {
|
|
4413
|
+
"description": "Configuration for access to AWS accounts",
|
|
4414
|
+
"type": "object",
|
|
4415
|
+
"properties": {
|
|
4416
|
+
"accountDefaults": {
|
|
4417
|
+
"description": "Defaults for retrieving AWS account credentials",
|
|
4418
|
+
"type": "object",
|
|
4419
|
+
"properties": {
|
|
4420
|
+
"roleName": {
|
|
4421
|
+
"description": "The IAM role to assume to retrieve temporary AWS credentials",
|
|
4422
|
+
"type": "string"
|
|
4423
|
+
},
|
|
4424
|
+
"partition": {
|
|
4425
|
+
"description": "The AWS partition of the IAM role, e.g. \"aws\", \"aws-cn\"",
|
|
4426
|
+
"type": "string"
|
|
4427
|
+
},
|
|
4428
|
+
"region": {
|
|
4429
|
+
"description": "The STS regional endpoint to use when retrieving temporary AWS credentials, e.g. \"ap-northeast-1\"",
|
|
4430
|
+
"type": "string"
|
|
4431
|
+
},
|
|
4432
|
+
"externalId": {
|
|
4433
|
+
"description": "The unique identifier needed to assume the role to retrieve temporary AWS credentials",
|
|
4434
|
+
"visibility": "secret",
|
|
4435
|
+
"type": "string"
|
|
4436
|
+
}
|
|
4437
|
+
}
|
|
4438
|
+
},
|
|
4439
|
+
"mainAccount": {
|
|
4440
|
+
"description": "Main account to use for retrieving AWS account credentials",
|
|
4441
|
+
"type": "object",
|
|
4442
|
+
"properties": {
|
|
4443
|
+
"accessKeyId": {
|
|
4444
|
+
"description": "The access key ID for a set of static AWS credentials",
|
|
4445
|
+
"visibility": "secret",
|
|
4446
|
+
"type": "string"
|
|
4447
|
+
},
|
|
4448
|
+
"secretAccessKey": {
|
|
4449
|
+
"description": "The secret access key for a set of static AWS credentials",
|
|
4450
|
+
"visibility": "secret",
|
|
4451
|
+
"type": "string"
|
|
4452
|
+
},
|
|
4453
|
+
"profile": {
|
|
4454
|
+
"description": "The configuration profile from a credentials file at ~/.aws/credentials and\na configuration file at ~/.aws/config.",
|
|
4455
|
+
"type": "string"
|
|
4456
|
+
},
|
|
4457
|
+
"region": {
|
|
4458
|
+
"description": "The STS regional endpoint to use for the main account, e.g. \"ap-northeast-1\"",
|
|
4459
|
+
"type": "string"
|
|
4460
|
+
}
|
|
4461
|
+
}
|
|
4462
|
+
},
|
|
4463
|
+
"accounts": {
|
|
4464
|
+
"description": "Configuration for retrieving AWS accounts credentials",
|
|
4465
|
+
"type": "array",
|
|
4466
|
+
"items": {
|
|
4467
|
+
"type": "object",
|
|
4468
|
+
"properties": {
|
|
4469
|
+
"accountId": {
|
|
4470
|
+
"description": "The account ID of the target account that this matches on, e.g. \"123456789012\"",
|
|
4471
|
+
"type": "string"
|
|
4472
|
+
},
|
|
4473
|
+
"accessKeyId": {
|
|
4474
|
+
"description": "The access key ID for a set of static AWS credentials",
|
|
4475
|
+
"visibility": "secret",
|
|
4476
|
+
"type": "string"
|
|
4477
|
+
},
|
|
4478
|
+
"secretAccessKey": {
|
|
4479
|
+
"description": "The secret access key for a set of static AWS credentials",
|
|
4480
|
+
"visibility": "secret",
|
|
4481
|
+
"type": "string"
|
|
4482
|
+
},
|
|
4483
|
+
"profile": {
|
|
4484
|
+
"description": "The configuration profile from a credentials file at ~/.aws/credentials and\na configuration file at ~/.aws/config.",
|
|
4485
|
+
"type": "string"
|
|
4486
|
+
},
|
|
4487
|
+
"roleName": {
|
|
4488
|
+
"description": "The IAM role to assume to retrieve temporary AWS credentials",
|
|
4489
|
+
"type": "string"
|
|
4490
|
+
},
|
|
4491
|
+
"partition": {
|
|
4492
|
+
"description": "The AWS partition of the IAM role, e.g. \"aws\", \"aws-cn\"",
|
|
4493
|
+
"type": "string"
|
|
4494
|
+
},
|
|
4495
|
+
"region": {
|
|
4496
|
+
"description": "The STS regional endpoint to use when retrieving temporary AWS credentials, e.g. \"ap-northeast-1\"",
|
|
4497
|
+
"type": "string"
|
|
4498
|
+
},
|
|
4499
|
+
"externalId": {
|
|
4500
|
+
"description": "The unique identifier needed to assume the role to retrieve temporary AWS credentials",
|
|
4501
|
+
"visibility": "secret",
|
|
4502
|
+
"type": "string"
|
|
4503
|
+
}
|
|
4504
|
+
},
|
|
4505
|
+
"required": [
|
|
4506
|
+
"accountId"
|
|
4507
|
+
]
|
|
4508
|
+
}
|
|
4509
|
+
}
|
|
4510
|
+
}
|
|
4511
|
+
}
|
|
4512
|
+
},
|
|
4513
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4514
|
+
}
|
|
4515
|
+
},
|
|
4407
4516
|
{
|
|
4408
4517
|
"path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/frontend-app-api/config.d.ts",
|
|
4409
4518
|
"value": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.90679abd.js"></script><script defer="defer" src="/static/module-material-ui.05c1a36a.js"></script><script defer="defer" src="/static/module-lodash.aa647045.js"></script><script defer="defer" src="/static/module-date-fns.c633d602.js"></script><script defer="defer" src="/static/module-mui.f5e57c92.js"></script><script defer="defer" src="/static/module-material-table.84f30b2f.js"></script><script defer="defer" src="/static/module-react-dom.42a304d3.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer="defer" src="/static/module-zod.4f2eeb8c.js"></script><script defer="defer" src="/static/module-i18next.f50c1612.js"></script><script defer="defer" src="/static/module-remix-run.ba6397c2.js"></script><script defer="defer" src="/static/vendor.90679abd.js"></script><script defer="defer" src="/static/main.90679abd.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
color="#5bbad5"
|
|
43
43
|
/>
|
|
44
44
|
<title><%= config.getString('app.title') %></title>
|
|
45
|
-
<meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.
|
|
45
|
+
<meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.90679abd.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.05c1a36a.js"></script><script defer src="<%= publicPath %>/static/module-lodash.aa647045.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.c633d602.js"></script><script defer src="<%= publicPath %>/static/module-mui.f5e57c92.js"></script><script defer src="<%= publicPath %>/static/module-material-table.84f30b2f.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.42a304d3.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer src="<%= publicPath %>/static/module-zod.4f2eeb8c.js"></script><script defer src="<%= publicPath %>/static/module-i18next.f50c1612.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.ba6397c2.js"></script><script defer src="<%= publicPath %>/static/vendor.90679abd.js"></script><script defer src="<%= publicPath %>/static/main.90679abd.js"></script></head>
|
|
46
46
|
<body>
|
|
47
47
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
48
48
|
<div id="root"></div>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[2177],{48514:(W,x,e)=>{e.d(x,{M:()=>I});var t=e(31085),d=e(58837),E=e(71677),P=e(14041),K=e(72501);const R=(0,d.A)({container:{overflow:"visible !important"},typo:{fontSize:"inherit",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":({line:v})=>v||1,"-webkit-box-orient":"vertical"}},{name:"BackstageOverflowTooltip"});function I(v){const z=R(v);return(0,t.jsx)(E.Ay,{title:v.title??(v.text||""),placement:v.placement,children:(0,t.jsx)(K.A,{className:z.typo,variant:"inherit",children:v.text})})}},35773:(W,x,e)=>{e.d(x,{C4:()=>P,tS:()=>R});var t=e(14117);const d="catalog-entity",E=(0,t.i)({name:"catalog.entity.read",attributes:{action:"read"},resourceType:d}),P=(0,t.i)({name:"catalog.entity.create",attributes:{action:"create"}}),K=(0,t.i)({name:"catalog.entity.delete",attributes:{action:"delete"},resourceType:d}),R=(0,t.i)({name:"catalog.entity.refresh",attributes:{action:"update"},resourceType:d}),I=(0,t.i)({name:"catalog.entity.validate",attributes:{}}),v=(0,t.i)({name:"catalog.location.read",attributes:{action:"read"}}),z=(0,t.i)({name:"catalog.location.create",attributes:{action:"create"}}),F=(0,t.i)({name:"catalog.location.analyze",attributes:{}}),H=(0,t.i)({name:"catalog.location.delete",attributes:{action:"delete"}}),k=[E,P,K,R,I,v,z,H,F]},90759:(W,x,e)=>{e.d(x,{W:()=>d});var t=e(93184);const d=(0,t.h)({id:"catalog",messages:{indexPage:{title:"{{orgName}} Catalog",createButtonTitle:"Create",supportButtonContent:"All your software catalog entities"},aboutCard:{title:"About",refreshButtonTitle:"Schedule entity refresh",editButtonTitle:"Edit Metadata",createSimilarButtonTitle:"Create something similar",refreshScheduledMessage:"Refresh scheduled",launchTemplate:"Launch Template",viewTechdocs:"View TechDocs",viewSource:"View Source",descriptionField:{label:"Description",value:"No description"},ownerField:{label:"Owner",value:"No Owner"},domainField:{label:"Domain",value:"No Domain"},systemField:{label:"System",value:"No System"},parentComponentField:{label:"Parent Component",value:"No Parent Component"},typeField:{label:"Type"},lifecycleField:{label:"Lifecycle"},tagsField:{label:"Tags",value:"No Tags"},targetsField:{label:"Targets"}},searchResultItem:{lifecycle:"Lifecycle",Owner:"Owner"},catalogTable:{warningPanelTitle:"Could not fetch catalog entities.",viewActionTitle:"View",editActionTitle:"Edit",starActionTitle:"Add to favorites",unStarActionTitle:"Remove from favorites"},dependencyOfComponentsCard:{title:"Dependency of components",emptyMessage:"No component depends on this component"},dependsOnComponentsCard:{title:"Depends on components",emptyMessage:"No component is a dependency of this component"},dependsOnResourcesCard:{title:"Depends on resources",emptyMessage:"No resource is a dependency of this component"},entityContextMenu:{copiedMessage:"Copied!",moreButtonTitle:"More",inspectMenuTitle:"Inspect entity",copyURLMenuTitle:"Copy entity URL",unregisterMenuTitle:"Unregister entity"},entityLabelsCard:{title:"Labels",emptyDescription:"No labels defined for this entity. You can add labels to your entity YAML as shown in the highlighted example below:",readMoreButtonTitle:"Read more"},entityLabels:{warningPanelTitle:"Entity not found",ownerLabel:"Owner",lifecycleLabel:"Lifecycle"},entityLinksCard:{title:"Links",emptyDescription:"No links defined for this entity. You can add links to your entity YAML as shown in the highlighted example below:",readMoreButtonTitle:"Read more"},entityNotFound:{title:"Entity was not found",description:"Want to help us build this? Check out our Getting Started documentation.",docButtonTitle:"DOCS"},deleteEntity:{dialogTitle:"Are you sure you want to delete this entity?",deleteButtonTitle:"Delete",cancelButtonTitle:"Cancel",description:"This entity is not referenced by any location and is therefore not receiving updates. Click here to delete."},entityProcessingErrorsDescription:"The error below originates from",entityRelationWarningDescription:`This entity has relations to other entities, which can't be found in the catalog.
|
|
2
|
+
Entities not found are: `,hasComponentsCard:{title:"Has components",emptyMessage:"No component is part of this system"},hasResourcesCard:{title:"Has resources",emptyMessage:"No resource is part of this system"},hasSubcomponentsCard:{title:"Has subcomponents",emptyMessage:"No subcomponent is part of this component"},hasSubdomainsCard:{title:"Has subdomains",emptyMessage:"No subdomain is part of this domain"},hasSystemsCard:{title:"Has systems",emptyMessage:"No system is part of this domain"},relatedEntitiesCard:{emptyHelpLinkTitle:"Learn how to change this"},systemDiagramCard:{title:"System Diagram",description:"Use pinch & zoo to move around the diagram.",edgeLabels:{partOf:"part of",provides:"provides",dependsOn:"depends on"}}}})},62177:(W,x,e)=>{e.r(x),e.d(x,{BaseCatalogPage:()=>Ct,CatalogPage:()=>je,DefaultCatalogPage:()=>xt});var t=e(31085),d=e(14041),E=e(18690),P=e(27155),K=e(26280),R=e(59428),I=e(64947),v=e(29365),z=e(5893),F=e(73657),H=e(25534);function k(n){const{title:a,to:i}=n,s=(0,z.A)(o=>o.breakpoints.down("xs"));return i?s?(0,t.jsx)(v.A,{component:F.N_,color:"primary",title:a,size:"small",to:i,children:(0,t.jsx)(H.A,{})}):(0,t.jsx)(I.A,{component:F.N_,variant:"contained",color:"primary",to:i,children:a}):null}var f=e(27586),g=e(72427),L=e(65461),N=e(9222),S=e(21405),V=e(54203),at=e(66917),it=e(36017),Z=e(10394),b=e(92822),st=e(73466),ot=e(7341);function Pt(){const n=(0,g.gf)(ot.v),{error:a,loading:i,value:s}=(0,st.A)(async()=>await n.getEntityFacets({facets:["kind"]}).then(l=>l.facets.kind?.map(r=>r.value).sort()||[]),[n]);return{loading:i,error:a,allKinds:s??[]}}function At(n,a,i){let s=n;return a&&(s=s.filter(l=>a.some(r=>r.toLocaleLowerCase("en-US")===l.toLocaleLowerCase("en-US")))),i&&!n.some(l=>l.toLocaleLowerCase("en-US")===i.toLocaleLowerCase("en-US"))&&(s=s.concat([i])),s.sort().reduce((l,r)=>(l[r.toLocaleLowerCase("en-US")]=r,l),{})}var U=e(64630),M=e(87849);function jt(n){const{filters:a,queryParameters:{kind:i},updateFilters:s}=(0,S.nK)(),o=(0,d.useMemo)(()=>[i].flat()[0],[i]),[l,r]=(0,d.useState)(o??a.kind?.value??n.initialFilter);(0,d.useEffect)(()=>{o&&r(o)},[o]),(0,d.useEffect)(()=>{a.kind?.value&&r(a.kind?.value)},[a.kind]),(0,d.useEffect)(()=>{s({kind:l?new b.gM(l):void 0})},[l,s]);const{allKinds:u,loading:c,error:m}=Pt();return{loading:c,error:m,allKinds:u??[],selectedKind:l,setSelectedKind:r}}const Et=n=>{const{allowedKinds:a,hidden:i,initialFilter:s="component"}=n,{t:o}=(0,M.i)(U.j),l=(0,g.gf)(it.k),{error:r,allKinds:u,selectedKind:c,setSelectedKind:m}=jt({initialFilter:s});if((0,d.useEffect)(()=>{r&&l.post({message:o("entityKindPicker.errorMessage"),severity:"error"})},[r,l,o]),r)return null;const p=At(u,a,c),T=Object.keys(p).map(C=>({value:C,label:p[C]}));return i?null:(0,t.jsx)(Z.A,{pb:1,pt:1,children:(0,t.jsx)(at.w,{label:o("entityKindPicker.title"),items:T,selected:c.toLocaleLowerCase("en-US"),onChange:C=>m(String(C))})})};var Y=e(58837),lt=e(50207);const Lt=(0,Y.A)({input:{}},{name:"CatalogReactEntityLifecyclePicker"}),bt=n=>{const{initialFilter:a=[]}=n,i=Lt(),{t:s}=(0,M.i)(U.j);return(0,t.jsx)(lt.y,{label:s("entityLifecyclePicker.title"),name:"lifecycles",path:"spec.lifecycle",Filter:b.I5,InputProps:{className:i.input},initialSelectedOptions:a})},Mt=(0,Y.A)({input:{}},{name:"CatalogReactEntityNamespacePicker"}),Ot=n=>{const{initiallySelectedNamespaces:a}=n,i=Mt(),{t:s}=(0,M.i)(U.j);return(0,t.jsx)(lt.y,{label:s("entityNamespacePicker.title"),name:"namespace",path:"metadata.namespace",Filter:b.z,InputProps:{className:i.input},initialSelectedOptions:a})};var Rt=e(72987),Ft=e(69076),Nt=e(86901),Bt=e(16249),J=e(72501),Dt=e(12398),Kt=e(44148),It=e(41260),zt=e(6924),Ut=e(20577);const wt=(0,Y.A)(n=>(0,Dt.A)({root:{},input:{backgroundColor:n.palette.background.paper},label:{textTransform:"none",fontWeight:"bold"}}),{name:"CatalogReactEntityProcessingStatusPickerPicker"}),Wt=(0,t.jsx)(It.A,{fontSize:"small"}),Ht=(0,t.jsx)(Kt.A,{fontSize:"small"}),Vt=()=>{const n=wt(),{updateFilters:a}=(0,S.nK)(),{t:i}=(0,M.i)(U.j),[s,o]=(0,d.useState)([]);function l(c){a({orphan:c?new b.Kf(c):void 0})}function r(c){a({error:c?new b.mT(c):void 0})}const u=["Is Orphan","Has Error"];return(0,t.jsx)(Z.A,{className:n.root,pb:1,pt:1,children:(0,t.jsxs)(J.A,{className:n.label,variant:"button",component:"label",children:[i("entityProcessingStatusPicker.title"),(0,t.jsx)(Ut.Ay,{PopperComponent:c=>(0,t.jsx)("div",{...c,children:c.children}),multiple:!0,disableCloseOnSelect:!0,options:u,value:s,onChange:(c,m)=>{o(m),l(m.includes("Is Orphan")),r(m.includes("Has Error"))},renderOption:(c,{selected:m})=>(0,t.jsx)(Nt.A,{control:(0,t.jsx)(Ft.A,{icon:Wt,checkedIcon:Ht,checked:m}),onClick:p=>p.preventDefault(),label:c}),size:"small",popupIcon:(0,t.jsx)(zt.A,{"data-testid":"processing-status-picker-expand"}),renderInput:c=>(0,t.jsx)(Bt.A,{...c,className:n.input,variant:"outlined"})})]})})};var Yt=e(91035),Gt=e(46343),Xt=e.n(Gt),kt=e(40074),Jt=e.n(kt);function Qt(){const n=(0,g.gf)(ot.v),{filters:{kind:a,type:i},queryParameters:{type:s},updateFilters:o}=(0,S.nK)(),l=(0,d.useMemo)(()=>[s].flat().filter(Boolean),[s]),[r,u]=(0,d.useState)(l.length?l:i?.getTypes()??[]);(0,d.useEffect)(()=>{l.length&&u(l)},[l]);const[c,m]=(0,d.useState)([]),p=(0,d.useMemo)(()=>a?.value,[a]),{error:T,loading:C,value:y}=(0,st.A)(async()=>p?await n.getEntityFacets({filter:{kind:p},facets:["spec.type"]}).then(A=>A.facets["spec.type"]||[]):[],[p,n]),X=(0,d.useRef)(y);return(0,d.useEffect)(()=>{const w=X.current;if(X.current=y,C||!p||w===y||!y)return;const A=[...new Set(Jt()(y,B=>-B.count).map(B=>B.value.toLocaleLowerCase("en-US")))];m(A);const $=r.filter(B=>A.includes(B));Xt()(r,$)||u($)},[C,p,r,u,y]),(0,d.useEffect)(()=>{o({type:r.length?new b.qA(r):void 0})},[r,o]),{loading:C,error:T,availableTypes:c,selectedTypes:r,setSelectedTypes:u}}const $t=n=>{const{hidden:a,initialFilter:i}=n,s=(0,g.gf)(it.k),{error:o,availableTypes:l,selectedTypes:r,setSelectedTypes:u}=Qt(),{t:c}=(0,M.i)(U.j);if((0,d.useEffect)(()=>{o&&s.post({message:c("entityTypePicker.errorMessage"),severity:"error"}),i&&u([i])},[o,s,i,u,c]),l.length===0||o)return null;const m=[{value:"all",label:c("entityTypePicker.optionAllTitle")},...l.map(p=>({value:p,label:p}))];return a?null:(0,t.jsx)(Z.A,{pb:1,pt:1,children:(0,t.jsx)(at.w,{label:c("entityTypePicker.title"),items:m,selected:(m.length>1?r[0]:void 0)??"all",onChange:p=>u(p==="all"?[]:[String(p)])})})};var Zt=e(67626);const qt=n=>{const{initialKind:a,initiallySelectedFilter:i,ownerPickerMode:s,initiallySelectedNamespaces:o}=n;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Et,{initialFilter:a}),(0,t.jsx)($t,{}),(0,t.jsx)(Zt.y,{initialFilter:i}),(0,t.jsx)(Rt.t,{mode:s}),(0,t.jsx)(bt,{}),(0,t.jsx)(Yt.m,{}),(0,t.jsx)(Vt,{}),(0,t.jsx)(Ot,{initiallySelectedNamespaces:o})]})};var _t=e(95203),rt=e(72348),ct=e(51372),te=e(6820),ee=e(88640),ne=e(77310),q=e(14209),G=e(90184),ae=e(56889),dt=e(67871),ut=e(88654),ie=e(75625),se=e(39330),oe=e(45250),le=e(65398),re=e.n(le),ce=e(8859),mt=e(34428),pt=e(67720),ft=e(48514);const h=Object.freeze({createNameColumn(n){function a(i){return i.metadata?.title||(0,G.S)(i,{defaultKind:n?.defaultKind})}return{title:"Name",field:"resolved.entityRef",highlight:!0,customSort({entity:i},{entity:s}){return a(i).localeCompare(a(s))},render:({entity:i})=>(0,t.jsx)(ce.z,{entityRef:i,defaultKind:n?.defaultKind||"Component"})}},createSystemColumn(){return{title:"System",field:"resolved.partOfSystemRelationTitle",render:({resolved:n})=>(0,t.jsx)(mt.i,{entityRefs:n.partOfSystemRelations,defaultKind:"system"})}},createOwnerColumn(){return{title:"Owner",field:"resolved.ownedByRelationsTitle",render:({resolved:n})=>(0,t.jsx)(mt.i,{entityRefs:n.ownedByRelations,defaultKind:"group"})}},createSpecTargetsColumn(){return{title:"Targets",field:"entity.spec.targets",customFilterAndSearch:(n,a)=>{let i=[];return a.entity?.spec?.targets&&Array.isArray(a.entity?.spec?.targets)?i=a.entity?.spec?.targets:a.entity?.spec?.target&&(i=[a.entity?.spec?.target]),i.join(", ").toLocaleUpperCase("en-US").includes(n.toLocaleUpperCase("en-US"))},render:({entity:n})=>(0,t.jsx)(t.Fragment,{children:(n?.spec?.targets||n?.spec?.target)&&(0,t.jsx)(ft.M,{text:(n.spec.targets||[n.spec.target]).join(", "),placement:"bottom-start"})})}},createSpecTypeColumn(n={hidden:!1}){return{title:"Type",field:"entity.spec.type",hidden:n.hidden,width:"auto"}},createSpecLifecycleColumn(){return{title:"Lifecycle",field:"entity.spec.lifecycle"}},createMetadataDescriptionColumn(){return{title:"Description",field:"entity.metadata.description",render:({entity:n})=>(0,t.jsx)(ft.M,{text:n.metadata.description,placement:"bottom-start"}),width:"auto"}},createTagsColumn(){return{title:"Tags",field:"entity.metadata.tags",cellStyle:{padding:"0px 16px 0px 20px"},render:({entity:n})=>(0,t.jsx)(t.Fragment,{children:n.metadata.tags&&n.metadata.tags.map(a=>(0,t.jsx)(pt.A,{label:a,size:"small",variant:"outlined",style:{marginBottom:"0px"}},a))}),width:"auto"}},createTitleColumn(n){return{title:"Title",field:"entity.metadata.title",hidden:n?.hidden,searchable:!0}},createLabelColumn(n,a){function i(s,o){const l=o.metadata?.labels;return l&&l[s]||""}return{title:a?.title||"Label",field:"entity.metadata.labels",cellStyle:{padding:"0px 16px 0px 20px"},customSort({entity:s},{entity:o}){return i(n,s).localeCompare(i(n,o))},render:({entity:s})=>{const o=s.metadata?.labels,l=o&&o[n]||a?.defaultValue;return(0,t.jsx)(t.Fragment,{children:l&&(0,t.jsx)(pt.A,{label:l,size:"small",variant:"outlined"},l)})},width:"auto"}},createNamespaceColumn(){return{title:"Namespace",field:"entity.metadata.namespace",width:"auto"}}});function de(n){const{columns:a,data:i,isLoading:s,options:o}=n,{updateFilters:l,setLimit:r,setOffset:u,limit:c,totalItems:m,offset:p}=(0,S.nK)(),[T,C]=d.useState(p&&c?Math.floor(p/c):0);return(0,d.useEffect)(()=>{m&&T*c>=m?u(Math.max(0,m-c)):u(Math.max(0,T*c))},[u,T,c,m]),(0,t.jsx)(q.X,{columns:a,data:i,options:{paginationPosition:"both",pageSizeOptions:[5,10,20,50,100],pageSize:c,emptyRowsWhenPaging:!1,...o},onSearchChange:y=>l({text:y?new b.V3(y):void 0}),page:T,onPageChange:y=>{C(y)},onRowsPerPageChange:y=>{r(y)},totalCount:m,localization:{pagination:{labelDisplayedRows:""}},isLoading:s})}var ue=e(95061),me=e(63301),gt=e(34839),yt=e(75173),pe=e(64704),fe=e(45917),ge=e(16983);const ye=(0,Y.A)(n=>({searchToolbar:{paddingLeft:0,paddingRight:0},input:{}}),{name:"CatalogReactEntitySearchBar"}),he=()=>{const n=ye(),{t:a}=(0,M.i)(U.j),{updateFilters:i,queryParameters:{text:s}}=(0,S.nK)(),o=(0,d.useMemo)(()=>[s].flat()[0],[s]),[l,r]=(0,d.useState)(o??"");return(0,ge.A)(()=>{i({text:l.length?new b.V3(l):void 0})},250,[l,i]),(0,d.useEffect)(()=>{o&&r(o)},[o]),(0,t.jsx)(yt.A,{className:n.searchToolbar,children:(0,t.jsx)(ue.A,{children:(0,t.jsx)(me.A,{"aria-label":"search",id:"input-with-icon-adornment",className:n.input,placeholder:a("entitySearchBar.placeholder"),autoComplete:"off",onChange:u=>r(u.target.value),value:l,startAdornment:(0,t.jsx)(gt.A,{position:"start",children:(0,t.jsx)(fe.A,{})}),endAdornment:(0,t.jsx)(gt.A,{position:"end",children:(0,t.jsx)(v.A,{"aria-label":"clear search",onClick:()=>r(""),edge:"end",disabled:l.length===0,children:(0,t.jsx)(pe.A,{})})})})})})},ve=(0,Y.A)(n=>({root:{paddingTop:n.spacing(1.25),paddingLeft:n.spacing(2.5),paddingBottom:n.spacing(.75),display:"flex",justifyContent:"space-between"},text:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}}),{name:"PluginCatalogTableToolbar"});function Ce(n){const a=ve();return(0,t.jsxs)(yt.A,{className:a.root,children:[(0,t.jsx)(J.A,{variant:"h5",className:a.text,children:n.title}),(0,t.jsx)(he,{})]})}function xe(n){const{columns:a,data:i,next:s,prev:o,title:l,isLoading:r,options:u,...c}=n;return(0,t.jsx)(q.X,{title:r?"":l,columns:a,data:i,options:{paginationPosition:"both",...u,pageSizeOptions:[],showFirstLastPageButtons:!1,pageSize:Number.MAX_SAFE_INTEGER,emptyRowsWhenPaging:!1},onPageChange:m=>{m>0?s?.():o?.()},components:{Toolbar:Ce},page:o?1:0,totalCount:s?Number.MAX_VALUE:Number.MAX_SAFE_INTEGER,localization:{pagination:{labelDisplayedRows:""}},isLoading:r,...c})}const ht=({filters:n,entities:a})=>{const i=n.type===void 0;return[h.createTitleColumn({hidden:!0}),h.createNameColumn({defaultKind:n.kind?.value}),...s()];function s(){const o=[h.createMetadataDescriptionColumn(),h.createTagsColumn()],l=[h.createSystemColumn(),h.createOwnerColumn(),h.createSpecTypeColumn({hidden:!i}),h.createSpecLifecycleColumn()];switch(n.kind?.value){case"user":return[...o];case"domain":case"system":return[h.createOwnerColumn(),...o];case"group":case"template":return[h.createSpecTypeColumn({hidden:!i}),...o];case"location":return[h.createSpecTypeColumn({hidden:!i}),h.createSpecTargetsColumn()];default:return a.every(r=>r.metadata.namespace==="default")?[...l,...o]:[...l,h.createNamespaceColumn(),...o]}}};var vt=e(90759),Te=e(18956);const Se=(n,a)=>{const i=s=>s.metadata.title||(0,G.S)(s,{defaultKind:"Component"});return i(n).localeCompare(i(a))},Q=n=>{const{columns:a=ht,tableOptions:i,subtitle:s,emptyContent:o}=n,{isStarredEntity:l,toggleStarredEntity:r}=(0,ae.I)(),u=(0,S.nK)(),{loading:c,error:m,entities:p,filters:T,pageInfo:C,totalItems:y,paginationMode:X}=u,w=(0,d.useMemo)(()=>typeof a=="function"?a(u):a,[a,u]),{t:A}=(0,M.i)(vt.W);if(m)return(0,t.jsx)("div",{children:(0,t.jsx)(ee.B,{severity:"error",title:A("catalogTable.warningPanelTitle"),children:(0,t.jsx)(ne.z,{language:"text",text:m.toString()})})});const $=[({entity:O})=>{const j=O.metadata.annotations?.[rt._P],D=A("catalogTable.viewActionTitle");return{icon:()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(J.A,{style:ut.A,children:D}),(0,t.jsx)(se.A,{fontSize:"small"})]}),tooltip:D,disabled:!j,onClick:()=>{j&&window.open(j,"_blank")}}},({entity:O})=>{const j=O.metadata.annotations?.[rt.P],D=A("catalogTable.editActionTitle");return{icon:()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(J.A,{style:ut.A,children:D}),(0,t.jsx)(ie.A,{fontSize:"small"})]}),tooltip:D,disabled:!j,onClick:()=>{j&&window.open(j,"_blank")}}},({entity:O})=>{const j=l(O),D=A(j?"catalogTable.unStarActionTitle":"catalogTable.starActionTitle");return{cellStyle:{paddingLeft:"1em"},icon:()=>(0,t.jsx)(Te.m,{isFavorite:j}),tooltip:D,onClick:()=>r(O)}}],B=T.kind?.value||"",Ee=T.type?.value||"",Le=typeof y=="number"?`(${y})`:"",tt=[(0,oe.capitalize)(T.user?.value??"all"),Ee,re()(B),Le].filter(O=>O).join(" "),et=n.actions||$,nt={actionsColumnIndex:-1,loadingType:"linear",showEmptyDataSourceMessage:!c,padding:"dense",...i};if(X==="cursor")return(0,t.jsx)(xe,{columns:w,emptyContent:o,isLoading:c,title:tt,actions:et,subtitle:s,options:nt,data:p.map(_),next:C?.next,prev:C?.prev});if(X==="offset")return(0,t.jsx)(de,{columns:w,emptyContent:o,isLoading:c,title:tt,actions:et,subtitle:s,options:nt,data:p.map(_)});const Tt=p.sort(Se).map(_),St=20,be=Tt.length>St;return(0,t.jsx)(q.X,{isLoading:c,columns:w,options:{paging:be,pageSize:St,pageSizeOptions:[20,50,100],...nt},title:tt,data:Tt,actions:et,subtitle:s,emptyContent:o})};Q.columns=h,Q.defaultColumnsFunc=ht;function _(n){const a=(0,dt.t)(n,ct.jn,{kind:"system"}),i=(0,dt.t)(n,ct.vv);return{entity:n,resolved:{name:(0,G.S)(n,{defaultKind:"Component"}),entityRef:(0,te.U2)(n),ownedByRelationsTitle:i.map(s=>(0,G.S)(s,{defaultKind:"group"})).join(", "),ownedByRelations:i,partOfSystemRelationTitle:a.map(s=>(0,G.S)(s,{defaultKind:"system"})).join(", "),partOfSystemRelations:a}}}var Pe=e(35773),Ae=e(36989);function Ct(n){const{filters:a,content:i=(0,t.jsx)(Q,{}),pagination:s}=n,o=(0,g.gf)(L.U).getOptionalString("organization.name")??"Backstage",l=(0,N.S)(_t.qP),{t:r}=(0,M.i)(vt.W),{allowed:u}=(0,Ae.J)({permission:Pe.C4});return(0,t.jsx)(P.d,{title:r("indexPage.title",{orgName:o}),themeId:"home",children:(0,t.jsxs)(K.U,{children:[(0,t.jsxs)(R.d,{title:"",children:[u&&(0,t.jsx)(k,{title:r("indexPage.createButtonTitle"),to:l&&l()}),(0,t.jsx)(f.Y,{children:r("indexPage.supportButtonContent")})]}),(0,t.jsx)(S.B9,{pagination:s,children:(0,t.jsxs)(V.GI,{children:[(0,t.jsx)(V.GI.Filters,{children:a}),(0,t.jsx)(V.GI.Content,{children:i})]})})]})})}function xt(n){const{columns:a,actions:i,initiallySelectedFilter:s="owned",initialKind:o="component",tableOptions:l={},emptyContent:r,pagination:u,ownerPickerMode:c,filters:m,initiallySelectedNamespaces:p}=n;return(0,t.jsx)(Ct,{filters:m??(0,t.jsx)(qt,{initialKind:o,initiallySelectedFilter:s,ownerPickerMode:c,initiallySelectedNamespaces:p}),content:(0,t.jsx)(Q,{columns:a,actions:i,tableOptions:l,emptyContent:r}),pagination:u})}function je(n){return(0,E.P1)()||(0,t.jsx)(xt,{...n})}},14117:(W,x,e)=>{e.d(x,{i:()=>t});function t({name:d,attributes:E,resourceType:P}){return P?{type:"resource",name:d,attributes:E,resourceType:P}:{type:"basic",name:d,attributes:E}}},36989:(W,x,e)=>{e.d(x,{J:()=>k});var t=e(72427),d=e(96824);function E(f,g){return f.name===g.name}function P(f,g){return"resourceType"in f?!g||f.resourceType===g:!1}function K(f){return f.attributes.action==="create"}function R(f){return f.attributes.action==="read"}function I(f){return f.attributes.action==="update"}function v(f){return f.attributes.action==="delete"}function z(f){return{authorize:async(g,L)=>await f.authorize(g,L),authorizeConditional(g,L){const N=g;return f.authorize(N,L)}}}var F=e(54241),H=e(68721);function k(f){const g=(0,t.gf)(d.x),{data:L,error:N}=(0,H.Ay)(f,async S=>{if(P(S.permission)&&!S.resourceRef)return F.b.DENY;const{result:V}=await g.authorize(S);return V});return N?{error:N,loading:!1,allowed:!1}:L===void 0?{loading:!0,allowed:!1}:{loading:!1,allowed:L===F.b.ALLOW}}}}]);})();
|
|
3
|
+
|
|
4
|
+
//# sourceMappingURL=2177.05828035.chunk.js.map
|