@backstage/plugin-catalog 1.11.3-next.1 → 1.12.0

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 (40) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/esm/{index-dbcf88bc.esm.js → index-15b9f76d.esm.js} +2 -2
  3. package/dist/esm/index-15b9f76d.esm.js.map +1 -0
  4. package/dist/esm/{index-a6b7e5a0.esm.js → index-1c53a4d7.esm.js} +2 -2
  5. package/dist/esm/{index-a6b7e5a0.esm.js.map → index-1c53a4d7.esm.js.map} +1 -1
  6. package/dist/esm/{index-d32ca604.esm.js → index-226f1855.esm.js} +2 -2
  7. package/dist/esm/{index-d32ca604.esm.js.map → index-226f1855.esm.js.map} +1 -1
  8. package/dist/esm/{index-579c0e06.esm.js → index-23d95220.esm.js} +2 -2
  9. package/dist/esm/{index-579c0e06.esm.js.map → index-23d95220.esm.js.map} +1 -1
  10. package/dist/esm/{index-51c16459.esm.js → index-2ae6a112.esm.js} +6 -4
  11. package/dist/esm/index-2ae6a112.esm.js.map +1 -0
  12. package/dist/esm/{index-5c259b7d.esm.js → index-36871296.esm.js} +2 -2
  13. package/dist/esm/{index-5c259b7d.esm.js.map → index-36871296.esm.js.map} +1 -1
  14. package/dist/esm/{index-0d334c64.esm.js → index-54253ffe.esm.js} +24 -16
  15. package/dist/esm/{index-0d334c64.esm.js.map → index-54253ffe.esm.js.map} +1 -1
  16. package/dist/esm/{index-84bbec44.esm.js → index-5d579387.esm.js} +6 -4
  17. package/dist/esm/index-5d579387.esm.js.map +1 -0
  18. package/dist/esm/{index-530bf662.esm.js → index-7328f74e.esm.js} +2 -2
  19. package/dist/esm/{index-530bf662.esm.js.map → index-7328f74e.esm.js.map} +1 -1
  20. package/dist/esm/{index-757ea40d.esm.js → index-81a799a5.esm.js} +2 -2
  21. package/dist/esm/index-81a799a5.esm.js.map +1 -0
  22. package/dist/esm/{index-60adddb8.esm.js → index-87a68cf7.esm.js} +2 -2
  23. package/dist/esm/index-87a68cf7.esm.js.map +1 -0
  24. package/dist/esm/index-ccf06d4f.esm.js.map +1 -1
  25. package/dist/esm/{index-796cbb22.esm.js → index-d8353256.esm.js} +5 -4
  26. package/dist/esm/index-d8353256.esm.js.map +1 -0
  27. package/dist/esm/{index-62df5b29.esm.js → index-e2d2eb49.esm.js} +2 -2
  28. package/dist/esm/{index-62df5b29.esm.js.map → index-e2d2eb49.esm.js.map} +1 -1
  29. package/dist/esm/{presets-8f6d8412.esm.js → presets-c708fd7b.esm.js} +5 -3
  30. package/dist/esm/presets-c708fd7b.esm.js.map +1 -0
  31. package/dist/index.d.ts +5 -1
  32. package/dist/index.esm.js +1 -1
  33. package/package.json +18 -18
  34. package/dist/esm/index-51c16459.esm.js.map +0 -1
  35. package/dist/esm/index-60adddb8.esm.js.map +0 -1
  36. package/dist/esm/index-757ea40d.esm.js.map +0 -1
  37. package/dist/esm/index-796cbb22.esm.js.map +0 -1
  38. package/dist/esm/index-84bbec44.esm.js.map +0 -1
  39. package/dist/esm/index-dbcf88bc.esm.js.map +0 -1
  40. package/dist/esm/presets-8f6d8412.esm.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,52 @@
1
1
  # @backstage/plugin-catalog
2
2
 
3
+ ## 1.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - eae0352d3864: Tables which use `EntityTableProps` now have an additional `tableOptions` prop which can be used to provide additional table options to these components.
8
+
9
+ ### Patch Changes
10
+
11
+ - 294b1629de28: Display a warning alert if relations are defined, which don't exist in the catalog.
12
+ - Updated dependencies
13
+ - @backstage/theme@0.4.1
14
+ - @backstage/errors@1.2.1
15
+ - @backstage/plugin-catalog-react@1.8.0
16
+ - @backstage/core-components@0.13.3
17
+ - @backstage/core-plugin-api@1.5.3
18
+ - @backstage/catalog-client@1.4.3
19
+ - @backstage/catalog-model@1.4.1
20
+ - @backstage/integration-react@1.1.15
21
+ - @backstage/types@1.1.0
22
+ - @backstage/plugin-catalog-common@1.0.15
23
+ - @backstage/plugin-scaffolder-common@1.3.2
24
+ - @backstage/plugin-search-common@1.2.5
25
+ - @backstage/plugin-search-react@1.6.3
26
+
27
+ ## 1.12.0-next.2
28
+
29
+ ### Minor Changes
30
+
31
+ - eae0352d3864: Tables which use `EntityTableProps` now have an additional `tableOptions` prop which can be used to provide additional table options to these components.
32
+
33
+ ### Patch Changes
34
+
35
+ - Updated dependencies
36
+ - @backstage/plugin-catalog-react@1.8.0-next.2
37
+ - @backstage/theme@0.4.1-next.1
38
+ - @backstage/core-plugin-api@1.5.3-next.1
39
+ - @backstage/core-components@0.13.3-next.2
40
+ - @backstage/catalog-client@1.4.3-next.0
41
+ - @backstage/catalog-model@1.4.1-next.0
42
+ - @backstage/errors@1.2.1-next.0
43
+ - @backstage/integration-react@1.1.15-next.2
44
+ - @backstage/types@1.1.0
45
+ - @backstage/plugin-catalog-common@1.0.15-next.0
46
+ - @backstage/plugin-scaffolder-common@1.3.2-next.0
47
+ - @backstage/plugin-search-common@1.2.5-next.0
48
+ - @backstage/plugin-search-react@1.6.3-next.2
49
+
3
50
  ## 1.11.3-next.1
4
51
 
5
52
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- export { A as AboutCard, a as AboutContent, b as AboutField } from './index-0d334c64.esm.js';
1
+ export { A as AboutCard, a as AboutContent, b as AboutField } from './index-54253ffe.esm.js';
2
2
  import 'zen-observable';
3
3
  import '@backstage/catalog-model';
4
4
  import 'lodash';
@@ -31,4 +31,4 @@ import '@material-ui/icons/Cancel';
31
31
  import '@backstage/errors';
32
32
  import '@backstage/catalog-client';
33
33
  import '@backstage/plugin-search-react';
34
- //# sourceMappingURL=index-dbcf88bc.esm.js.map
34
+ //# sourceMappingURL=index-15b9f76d.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-15b9f76d.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { RELATION_HAS_PART } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
- import { R as RelatedEntitiesCard, s as systemEntityColumns, a as asSystemEntities, b as systemEntityHelpLink } from './presets-8f6d8412.esm.js';
3
+ import { R as RelatedEntitiesCard, s as systemEntityColumns, a as asSystemEntities, b as systemEntityHelpLink } from './presets-c708fd7b.esm.js';
4
4
  import '@material-ui/core';
5
5
  import '@backstage/plugin-catalog-react';
6
6
  import '@backstage/core-components';
@@ -23,4 +23,4 @@ function HasSystemsCard(props) {
23
23
  }
24
24
 
25
25
  export { HasSystemsCard };
26
- //# sourceMappingURL=index-a6b7e5a0.esm.js.map
26
+ //# sourceMappingURL=index-1c53a4d7.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-a6b7e5a0.esm.js","sources":["../../src/components/HasSystemsCard/HasSystemsCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { RELATION_HAS_PART } from '@backstage/catalog-model';\nimport { InfoCardVariants } from '@backstage/core-components';\nimport React from 'react';\nimport {\n asSystemEntities,\n RelatedEntitiesCard,\n systemEntityColumns,\n systemEntityHelpLink,\n} from '../RelatedEntitiesCard';\n\n/** @public */\nexport interface HasSystemsCardProps {\n variant?: InfoCardVariants;\n}\n\nexport function HasSystemsCard(props: HasSystemsCardProps) {\n const { variant = 'gridItem' } = props;\n return (\n <RelatedEntitiesCard\n variant={variant}\n title=\"Has systems\"\n entityKind=\"System\"\n relationType={RELATION_HAS_PART}\n columns={systemEntityColumns}\n asRenderableEntities={asSystemEntities}\n emptyMessage=\"No system is part of this domain\"\n emptyHelpLink={systemEntityHelpLink}\n />\n );\n}\n"],"names":[],"mappings":";;;;;;;AA+BO,SAAS,eAAe,KAA4B,EAAA;AACzD,EAAM,MAAA,EAAE,OAAU,GAAA,UAAA,EAAe,GAAA,KAAA,CAAA;AACjC,EACE,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,mBAAA;AAAA,IAAA;AAAA,MACC,OAAA;AAAA,MACA,KAAM,EAAA,aAAA;AAAA,MACN,UAAW,EAAA,QAAA;AAAA,MACX,YAAc,EAAA,iBAAA;AAAA,MACd,OAAS,EAAA,mBAAA;AAAA,MACT,oBAAsB,EAAA,gBAAA;AAAA,MACtB,YAAa,EAAA,kCAAA;AAAA,MACb,aAAe,EAAA,oBAAA;AAAA,KAAA;AAAA,GACjB,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"index-1c53a4d7.esm.js","sources":["../../src/components/HasSystemsCard/HasSystemsCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { RELATION_HAS_PART } from '@backstage/catalog-model';\nimport { InfoCardVariants } from '@backstage/core-components';\nimport React from 'react';\nimport {\n asSystemEntities,\n RelatedEntitiesCard,\n systemEntityColumns,\n systemEntityHelpLink,\n} from '../RelatedEntitiesCard';\n\n/** @public */\nexport interface HasSystemsCardProps {\n variant?: InfoCardVariants;\n}\n\nexport function HasSystemsCard(props: HasSystemsCardProps) {\n const { variant = 'gridItem' } = props;\n return (\n <RelatedEntitiesCard\n variant={variant}\n title=\"Has systems\"\n entityKind=\"System\"\n relationType={RELATION_HAS_PART}\n columns={systemEntityColumns}\n asRenderableEntities={asSystemEntities}\n emptyMessage=\"No system is part of this domain\"\n emptyHelpLink={systemEntityHelpLink}\n />\n );\n}\n"],"names":[],"mappings":";;;;;;;AA+BO,SAAS,eAAe,KAA4B,EAAA;AACzD,EAAM,MAAA,EAAE,OAAU,GAAA,UAAA,EAAe,GAAA,KAAA,CAAA;AACjC,EACE,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,mBAAA;AAAA,IAAA;AAAA,MACC,OAAA;AAAA,MACA,KAAM,EAAA,aAAA;AAAA,MACN,UAAW,EAAA,QAAA;AAAA,MACX,YAAc,EAAA,iBAAA;AAAA,MACd,OAAS,EAAA,mBAAA;AAAA,MACT,oBAAsB,EAAA,gBAAA;AAAA,MACtB,YAAa,EAAA,kCAAA;AAAA,MACb,aAAe,EAAA,oBAAA;AAAA,KAAA;AAAA,GACjB,CAAA;AAEJ;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { RELATION_DEPENDENCY_OF } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
- import { R as RelatedEntitiesCard, c as componentEntityColumns, d as componentEntityHelpLink, e as asComponentEntities } from './presets-8f6d8412.esm.js';
3
+ import { R as RelatedEntitiesCard, c as componentEntityColumns, d as componentEntityHelpLink, e as asComponentEntities } from './presets-c708fd7b.esm.js';
4
4
  import '@material-ui/core';
5
5
  import '@backstage/plugin-catalog-react';
6
6
  import '@backstage/core-components';
@@ -23,4 +23,4 @@ function DependencyOfComponentsCard(props) {
23
23
  }
24
24
 
25
25
  export { DependencyOfComponentsCard };
26
- //# sourceMappingURL=index-d32ca604.esm.js.map
26
+ //# sourceMappingURL=index-226f1855.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-d32ca604.esm.js","sources":["../../src/components/DependencyOfComponentsCard/DependencyOfComponentsCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { RELATION_DEPENDENCY_OF } from '@backstage/catalog-model';\nimport { InfoCardVariants } from '@backstage/core-components';\nimport React from 'react';\nimport {\n asComponentEntities,\n componentEntityColumns,\n componentEntityHelpLink,\n RelatedEntitiesCard,\n} from '../RelatedEntitiesCard';\n\n/** @public */\nexport interface DependencyOfComponentsCardProps {\n variant?: InfoCardVariants;\n title?: string;\n}\n\nexport function DependencyOfComponentsCard(\n props: DependencyOfComponentsCardProps,\n) {\n const { variant = 'gridItem', title = 'Dependency of components' } = props;\n return (\n <RelatedEntitiesCard\n variant={variant}\n title={title}\n entityKind=\"Component\"\n relationType={RELATION_DEPENDENCY_OF}\n columns={componentEntityColumns}\n emptyMessage=\"No component depends on this component\"\n emptyHelpLink={componentEntityHelpLink}\n asRenderableEntities={asComponentEntities}\n />\n );\n}\n"],"names":[],"mappings":";;;;;;;AAgCO,SAAS,2BACd,KACA,EAAA;AACA,EAAA,MAAM,EAAE,OAAA,GAAU,UAAY,EAAA,KAAA,GAAQ,4BAA+B,GAAA,KAAA,CAAA;AACrE,EACE,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,mBAAA;AAAA,IAAA;AAAA,MACC,OAAA;AAAA,MACA,KAAA;AAAA,MACA,UAAW,EAAA,WAAA;AAAA,MACX,YAAc,EAAA,sBAAA;AAAA,MACd,OAAS,EAAA,sBAAA;AAAA,MACT,YAAa,EAAA,wCAAA;AAAA,MACb,aAAe,EAAA,uBAAA;AAAA,MACf,oBAAsB,EAAA,mBAAA;AAAA,KAAA;AAAA,GACxB,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"index-226f1855.esm.js","sources":["../../src/components/DependencyOfComponentsCard/DependencyOfComponentsCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { RELATION_DEPENDENCY_OF } from '@backstage/catalog-model';\nimport { InfoCardVariants } from '@backstage/core-components';\nimport React from 'react';\nimport {\n asComponentEntities,\n componentEntityColumns,\n componentEntityHelpLink,\n RelatedEntitiesCard,\n} from '../RelatedEntitiesCard';\n\n/** @public */\nexport interface DependencyOfComponentsCardProps {\n variant?: InfoCardVariants;\n title?: string;\n}\n\nexport function DependencyOfComponentsCard(\n props: DependencyOfComponentsCardProps,\n) {\n const { variant = 'gridItem', title = 'Dependency of components' } = props;\n return (\n <RelatedEntitiesCard\n variant={variant}\n title={title}\n entityKind=\"Component\"\n relationType={RELATION_DEPENDENCY_OF}\n columns={componentEntityColumns}\n emptyMessage=\"No component depends on this component\"\n emptyHelpLink={componentEntityHelpLink}\n asRenderableEntities={asComponentEntities}\n />\n );\n}\n"],"names":[],"mappings":";;;;;;;AAgCO,SAAS,2BACd,KACA,EAAA;AACA,EAAA,MAAM,EAAE,OAAA,GAAU,UAAY,EAAA,KAAA,GAAQ,4BAA+B,GAAA,KAAA,CAAA;AACrE,EACE,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,mBAAA;AAAA,IAAA;AAAA,MACC,OAAA;AAAA,MACA,KAAA;AAAA,MACA,UAAW,EAAA,WAAA;AAAA,MACX,YAAc,EAAA,sBAAA;AAAA,MACd,OAAS,EAAA,sBAAA;AAAA,MACT,YAAa,EAAA,wCAAA;AAAA,MACb,aAAe,EAAA,uBAAA;AAAA,MACf,oBAAsB,EAAA,mBAAA;AAAA,KAAA;AAAA,GACxB,CAAA;AAEJ;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { RELATION_HAS_PART } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
- import { R as RelatedEntitiesCard, r as resourceEntityColumns, f as asResourceEntities, g as resourceEntityHelpLink } from './presets-8f6d8412.esm.js';
3
+ import { R as RelatedEntitiesCard, r as resourceEntityColumns, f as asResourceEntities, g as resourceEntityHelpLink } from './presets-c708fd7b.esm.js';
4
4
  import '@material-ui/core';
5
5
  import '@backstage/plugin-catalog-react';
6
6
  import '@backstage/core-components';
@@ -23,4 +23,4 @@ function HasResourcesCard(props) {
23
23
  }
24
24
 
25
25
  export { HasResourcesCard };
26
- //# sourceMappingURL=index-579c0e06.esm.js.map
26
+ //# sourceMappingURL=index-23d95220.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-579c0e06.esm.js","sources":["../../src/components/HasResourcesCard/HasResourcesCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { RELATION_HAS_PART } from '@backstage/catalog-model';\nimport { InfoCardVariants } from '@backstage/core-components';\nimport React from 'react';\nimport {\n asResourceEntities,\n RelatedEntitiesCard,\n resourceEntityColumns,\n resourceEntityHelpLink,\n} from '../RelatedEntitiesCard';\n\n/** @public */\nexport interface HasResourcesCardProps {\n variant?: InfoCardVariants;\n}\n\nexport function HasResourcesCard(props: HasResourcesCardProps) {\n const { variant = 'gridItem' } = props;\n return (\n <RelatedEntitiesCard\n variant={variant}\n title=\"Has resources\"\n entityKind=\"Resource\"\n relationType={RELATION_HAS_PART}\n columns={resourceEntityColumns}\n asRenderableEntities={asResourceEntities}\n emptyMessage=\"No resource is part of this system\"\n emptyHelpLink={resourceEntityHelpLink}\n />\n );\n}\n"],"names":[],"mappings":";;;;;;;AA+BO,SAAS,iBAAiB,KAA8B,EAAA;AAC7D,EAAM,MAAA,EAAE,OAAU,GAAA,UAAA,EAAe,GAAA,KAAA,CAAA;AACjC,EACE,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,mBAAA;AAAA,IAAA;AAAA,MACC,OAAA;AAAA,MACA,KAAM,EAAA,eAAA;AAAA,MACN,UAAW,EAAA,UAAA;AAAA,MACX,YAAc,EAAA,iBAAA;AAAA,MACd,OAAS,EAAA,qBAAA;AAAA,MACT,oBAAsB,EAAA,kBAAA;AAAA,MACtB,YAAa,EAAA,oCAAA;AAAA,MACb,aAAe,EAAA,sBAAA;AAAA,KAAA;AAAA,GACjB,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"index-23d95220.esm.js","sources":["../../src/components/HasResourcesCard/HasResourcesCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { RELATION_HAS_PART } from '@backstage/catalog-model';\nimport { InfoCardVariants } from '@backstage/core-components';\nimport React from 'react';\nimport {\n asResourceEntities,\n RelatedEntitiesCard,\n resourceEntityColumns,\n resourceEntityHelpLink,\n} from '../RelatedEntitiesCard';\n\n/** @public */\nexport interface HasResourcesCardProps {\n variant?: InfoCardVariants;\n}\n\nexport function HasResourcesCard(props: HasResourcesCardProps) {\n const { variant = 'gridItem' } = props;\n return (\n <RelatedEntitiesCard\n variant={variant}\n title=\"Has resources\"\n entityKind=\"Resource\"\n relationType={RELATION_HAS_PART}\n columns={resourceEntityColumns}\n asRenderableEntities={asResourceEntities}\n emptyMessage=\"No resource is part of this system\"\n emptyHelpLink={resourceEntityHelpLink}\n />\n );\n}\n"],"names":[],"mappings":";;;;;;;AA+BO,SAAS,iBAAiB,KAA8B,EAAA;AAC7D,EAAM,MAAA,EAAE,OAAU,GAAA,UAAA,EAAe,GAAA,KAAA,CAAA;AACjC,EACE,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,mBAAA;AAAA,IAAA;AAAA,MACC,OAAA;AAAA,MACA,KAAM,EAAA,eAAA;AAAA,MACN,UAAW,EAAA,UAAA;AAAA,MACX,YAAc,EAAA,iBAAA;AAAA,MACd,OAAS,EAAA,qBAAA;AAAA,MACT,oBAAsB,EAAA,kBAAA;AAAA,MACtB,YAAa,EAAA,oCAAA;AAAA,MACb,aAAe,EAAA,sBAAA;AAAA,KAAA;AAAA,GACjB,CAAA;AAEJ;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { RELATION_DEPENDS_ON } from '@backstage/catalog-model';
2
2
  import React from 'react';
3
- import { R as RelatedEntitiesCard, d as componentEntityHelpLink, f as asResourceEntities, r as resourceEntityColumns } from './presets-8f6d8412.esm.js';
3
+ import { R as RelatedEntitiesCard, d as componentEntityHelpLink, f as asResourceEntities, r as resourceEntityColumns } from './presets-c708fd7b.esm.js';
4
4
  import '@material-ui/core';
5
5
  import '@backstage/plugin-catalog-react';
6
6
  import '@backstage/core-components';
@@ -9,7 +9,8 @@ function DependsOnResourcesCard(props) {
9
9
  const {
10
10
  variant = "gridItem",
11
11
  title = "Depends on resources",
12
- columns = resourceEntityColumns
12
+ columns = resourceEntityColumns,
13
+ tableOptions = {}
13
14
  } = props;
14
15
  return /* @__PURE__ */ React.createElement(
15
16
  RelatedEntitiesCard,
@@ -21,10 +22,11 @@ function DependsOnResourcesCard(props) {
21
22
  columns,
22
23
  emptyMessage: "No resource is a dependency of this component",
23
24
  emptyHelpLink: componentEntityHelpLink,
24
- asRenderableEntities: asResourceEntities
25
+ asRenderableEntities: asResourceEntities,
26
+ tableOptions
25
27
  }
26
28
  );
27
29
  }
28
30
 
29
31
  export { DependsOnResourcesCard };
30
- //# sourceMappingURL=index-51c16459.esm.js.map
32
+ //# sourceMappingURL=index-2ae6a112.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-2ae6a112.esm.js","sources":["../../src/components/DependsOnResourcesCard/DependsOnResourcesCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { RELATION_DEPENDS_ON, ResourceEntity } from '@backstage/catalog-model';\nimport {\n InfoCardVariants,\n TableColumn,\n TableOptions,\n} from '@backstage/core-components';\nimport React from 'react';\nimport {\n asResourceEntities,\n componentEntityHelpLink,\n RelatedEntitiesCard,\n resourceEntityColumns,\n} from '../RelatedEntitiesCard';\n\n/** @public */\nexport interface DependsOnResourcesCardProps {\n variant?: InfoCardVariants;\n title?: string;\n columns?: TableColumn<ResourceEntity>[];\n tableOptions?: TableOptions;\n}\n\nexport function DependsOnResourcesCard(props: DependsOnResourcesCardProps) {\n const {\n variant = 'gridItem',\n title = 'Depends on resources',\n columns = resourceEntityColumns,\n tableOptions = {},\n } = props;\n return (\n <RelatedEntitiesCard\n variant={variant}\n title={title}\n entityKind=\"Resource\"\n relationType={RELATION_DEPENDS_ON}\n columns={columns}\n emptyMessage=\"No resource is a dependency of this component\"\n emptyHelpLink={componentEntityHelpLink}\n asRenderableEntities={asResourceEntities}\n tableOptions={tableOptions}\n />\n );\n}\n"],"names":[],"mappings":";;;;;;;AAsCO,SAAS,uBAAuB,KAAoC,EAAA;AACzE,EAAM,MAAA;AAAA,IACJ,OAAU,GAAA,UAAA;AAAA,IACV,KAAQ,GAAA,sBAAA;AAAA,IACR,OAAU,GAAA,qBAAA;AAAA,IACV,eAAe,EAAC;AAAA,GACd,GAAA,KAAA,CAAA;AACJ,EACE,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,mBAAA;AAAA,IAAA;AAAA,MACC,OAAA;AAAA,MACA,KAAA;AAAA,MACA,UAAW,EAAA,UAAA;AAAA,MACX,YAAc,EAAA,mBAAA;AAAA,MACd,OAAA;AAAA,MACA,YAAa,EAAA,+CAAA;AAAA,MACb,aAAe,EAAA,uBAAA;AAAA,MACf,oBAAsB,EAAA,kBAAA;AAAA,MACtB,YAAA;AAAA,KAAA;AAAA,GACF,CAAA;AAEJ;;;;"}
@@ -3,7 +3,7 @@ import LanguageIcon from '@material-ui/icons/Language';
3
3
  import React from 'react';
4
4
  import { makeStyles, Typography, Button } from '@material-ui/core';
5
5
  import { CodeSnippet, InfoCard } from '@backstage/core-components';
6
- import { L as LinksGridList } from './index-0d334c64.esm.js';
6
+ import { L as LinksGridList } from './index-54253ffe.esm.js';
7
7
  import { useApp } from '@backstage/core-plugin-api';
8
8
  import 'zen-observable';
9
9
  import '@backstage/catalog-model';
@@ -95,4 +95,4 @@ const EntityLinksCard = (props) => {
95
95
  };
96
96
 
97
97
  export { EntityLinksCard };
98
- //# sourceMappingURL=index-5c259b7d.esm.js.map
98
+ //# sourceMappingURL=index-36871296.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-5c259b7d.esm.js","sources":["../../src/components/EntityLinksCard/EntityLinksEmptyState.tsx","../../src/components/EntityLinksCard/EntityLinksCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BackstageTheme } from '@backstage/theme';\nimport { Button, makeStyles, Typography } from '@material-ui/core';\nimport React from 'react';\nimport { CodeSnippet } from '@backstage/core-components';\n\nconst ENTITY_YAML = `metadata:\n name: example\n links:\n - url: https://dashboard.example.com\n title: My Dashboard\n icon: dashboard`;\n\n/** @public */\nexport type EntityLinksEmptyStateClassKey = 'code';\n\nconst useStyles = makeStyles<BackstageTheme>(\n theme => ({\n code: {\n borderRadius: 6,\n margin: `${theme.spacing(2)}px 0px`,\n background:\n theme.palette.type === 'dark' ? '#444' : theme.palette.common.white,\n },\n }),\n { name: 'PluginCatalogEntityLinksEmptyState' },\n);\n\nexport function EntityLinksEmptyState() {\n const classes = useStyles();\n\n return (\n <>\n <Typography variant=\"body1\">\n No links defined for this entity. You can add links to your entity YAML\n as shown in the highlighted example below:\n </Typography>\n <div className={classes.code}>\n <CodeSnippet\n text={ENTITY_YAML}\n language=\"yaml\"\n showLineNumbers\n highlightedNumbers={[3, 4, 5, 6]}\n customStyle={{ background: 'inherit', fontSize: '115%' }}\n />\n </div>\n <Button\n variant=\"contained\"\n color=\"primary\"\n target=\"_blank\"\n href=\"https://backstage.io/docs/features/software-catalog/descriptor-format#links-optional\"\n >\n Read more\n </Button>\n </>\n );\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useEntity } from '@backstage/plugin-catalog-react';\nimport LanguageIcon from '@material-ui/icons/Language';\nimport React from 'react';\nimport { EntityLinksEmptyState } from './EntityLinksEmptyState';\nimport { LinksGridList } from './LinksGridList';\nimport { ColumnBreakpoints } from './types';\nimport { IconComponent, useApp } from '@backstage/core-plugin-api';\nimport { InfoCard, InfoCardVariants } from '@backstage/core-components';\n\n/** @public */\nexport interface EntityLinksCardProps {\n cols?: ColumnBreakpoints | number;\n variant?: InfoCardVariants;\n}\n\nexport const EntityLinksCard = (props: EntityLinksCardProps) => {\n const { cols = undefined, variant } = props;\n const { entity } = useEntity();\n const app = useApp();\n\n const iconResolver = (key?: string): IconComponent =>\n key ? app.getSystemIcon(key) ?? LanguageIcon : LanguageIcon;\n\n const links = entity?.metadata?.links;\n\n return (\n <InfoCard title=\"Links\" variant={variant}>\n {!links || links.length === 0 ? (\n <EntityLinksEmptyState />\n ) : (\n <LinksGridList\n cols={cols}\n items={links.map(({ url, title, icon }) => ({\n text: title ?? url,\n href: url,\n Icon: iconResolver(icon),\n }))}\n />\n )}\n </InfoCard>\n );\n};\n"],"names":["_a"],"mappings":"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"}
1
+ {"version":3,"file":"index-36871296.esm.js","sources":["../../src/components/EntityLinksCard/EntityLinksEmptyState.tsx","../../src/components/EntityLinksCard/EntityLinksCard.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BackstageTheme } from '@backstage/theme';\nimport { Button, makeStyles, Typography } from '@material-ui/core';\nimport React from 'react';\nimport { CodeSnippet } from '@backstage/core-components';\n\nconst ENTITY_YAML = `metadata:\n name: example\n links:\n - url: https://dashboard.example.com\n title: My Dashboard\n icon: dashboard`;\n\n/** @public */\nexport type EntityLinksEmptyStateClassKey = 'code';\n\nconst useStyles = makeStyles<BackstageTheme>(\n theme => ({\n code: {\n borderRadius: 6,\n margin: `${theme.spacing(2)}px 0px`,\n background:\n theme.palette.type === 'dark' ? '#444' : theme.palette.common.white,\n },\n }),\n { name: 'PluginCatalogEntityLinksEmptyState' },\n);\n\nexport function EntityLinksEmptyState() {\n const classes = useStyles();\n\n return (\n <>\n <Typography variant=\"body1\">\n No links defined for this entity. You can add links to your entity YAML\n as shown in the highlighted example below:\n </Typography>\n <div className={classes.code}>\n <CodeSnippet\n text={ENTITY_YAML}\n language=\"yaml\"\n showLineNumbers\n highlightedNumbers={[3, 4, 5, 6]}\n customStyle={{ background: 'inherit', fontSize: '115%' }}\n />\n </div>\n <Button\n variant=\"contained\"\n color=\"primary\"\n target=\"_blank\"\n href=\"https://backstage.io/docs/features/software-catalog/descriptor-format#links-optional\"\n >\n Read more\n </Button>\n </>\n );\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useEntity } from '@backstage/plugin-catalog-react';\nimport LanguageIcon from '@material-ui/icons/Language';\nimport React from 'react';\nimport { EntityLinksEmptyState } from './EntityLinksEmptyState';\nimport { LinksGridList } from './LinksGridList';\nimport { ColumnBreakpoints } from './types';\nimport { IconComponent, useApp } from '@backstage/core-plugin-api';\nimport { InfoCard, InfoCardVariants } from '@backstage/core-components';\n\n/** @public */\nexport interface EntityLinksCardProps {\n cols?: ColumnBreakpoints | number;\n variant?: InfoCardVariants;\n}\n\nexport const EntityLinksCard = (props: EntityLinksCardProps) => {\n const { cols = undefined, variant } = props;\n const { entity } = useEntity();\n const app = useApp();\n\n const iconResolver = (key?: string): IconComponent =>\n key ? app.getSystemIcon(key) ?? LanguageIcon : LanguageIcon;\n\n const links = entity?.metadata?.links;\n\n return (\n <InfoCard title=\"Links\" variant={variant}>\n {!links || links.length === 0 ? (\n <EntityLinksEmptyState />\n ) : (\n <LinksGridList\n cols={cols}\n items={links.map(({ url, title, icon }) => ({\n text: title ?? url,\n href: url,\n Icon: iconResolver(icon),\n }))}\n />\n )}\n </InfoCard>\n );\n};\n"],"names":["_a"],"mappings":"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"}
@@ -51,16 +51,24 @@ async function performMigrationToTheNewBucket({
51
51
  await source.remove("starredEntities");
52
52
  }
53
53
 
54
+ var __defProp = Object.defineProperty;
55
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
56
+ var __publicField = (obj, key, value) => {
57
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
58
+ return value;
59
+ };
54
60
  class DefaultStarredEntitiesApi {
55
61
  constructor(opts) {
56
- this.subscribers = /* @__PURE__ */ new Set();
57
- this.observable = new ObservableImpl((subscriber) => {
62
+ __publicField(this, "settingsStore");
63
+ __publicField(this, "starredEntities");
64
+ __publicField(this, "subscribers", /* @__PURE__ */ new Set());
65
+ __publicField(this, "observable", new ObservableImpl((subscriber) => {
58
66
  subscriber.next(new Set(this.starredEntities));
59
67
  this.subscribers.add(subscriber);
60
68
  return () => {
61
69
  this.subscribers.delete(subscriber);
62
70
  };
63
- });
71
+ }));
64
72
  var _a;
65
73
  performMigrationToTheNewBucket(opts).then();
66
74
  this.settingsStore = opts.storageApi.forBucket("starredEntities");
@@ -1523,7 +1531,7 @@ const catalogPlugin = createPlugin({
1523
1531
  const CatalogIndexPage = catalogPlugin.provide(
1524
1532
  createRoutableExtension({
1525
1533
  name: "CatalogIndexPage",
1526
- component: () => import('./index-530bf662.esm.js').then((m) => m.CatalogPage),
1534
+ component: () => import('./index-7328f74e.esm.js').then((m) => m.CatalogPage),
1527
1535
  mountPoint: rootRouteRef
1528
1536
  })
1529
1537
  );
@@ -1538,7 +1546,7 @@ const EntityAboutCard = catalogPlugin.provide(
1538
1546
  createComponentExtension({
1539
1547
  name: "EntityAboutCard",
1540
1548
  component: {
1541
- lazy: () => import('./index-dbcf88bc.esm.js').then((m) => m.AboutCard)
1549
+ lazy: () => import('./index-15b9f76d.esm.js').then((m) => m.AboutCard)
1542
1550
  }
1543
1551
  })
1544
1552
  );
@@ -1546,7 +1554,7 @@ const EntityLinksCard = catalogPlugin.provide(
1546
1554
  createComponentExtension({
1547
1555
  name: "EntityLinksCard",
1548
1556
  component: {
1549
- lazy: () => import('./index-5c259b7d.esm.js').then((m) => m.EntityLinksCard)
1557
+ lazy: () => import('./index-36871296.esm.js').then((m) => m.EntityLinksCard)
1550
1558
  }
1551
1559
  })
1552
1560
  );
@@ -1554,7 +1562,7 @@ const EntityLabelsCard = catalogPlugin.provide(
1554
1562
  createComponentExtension({
1555
1563
  name: "EntityLabelsCard",
1556
1564
  component: {
1557
- lazy: () => import('./index-757ea40d.esm.js').then((m) => m.EntityLabelsCard)
1565
+ lazy: () => import('./index-81a799a5.esm.js').then((m) => m.EntityLabelsCard)
1558
1566
  }
1559
1567
  })
1560
1568
  );
@@ -1562,7 +1570,7 @@ const EntityHasSystemsCard = catalogPlugin.provide(
1562
1570
  createComponentExtension({
1563
1571
  name: "EntityHasSystemsCard",
1564
1572
  component: {
1565
- lazy: () => import('./index-a6b7e5a0.esm.js').then((m) => m.HasSystemsCard)
1573
+ lazy: () => import('./index-1c53a4d7.esm.js').then((m) => m.HasSystemsCard)
1566
1574
  }
1567
1575
  })
1568
1576
  );
@@ -1570,7 +1578,7 @@ const EntityHasComponentsCard = catalogPlugin.provide(
1570
1578
  createComponentExtension({
1571
1579
  name: "EntityHasComponentsCard",
1572
1580
  component: {
1573
- lazy: () => import('./index-62df5b29.esm.js').then((m) => m.HasComponentsCard)
1581
+ lazy: () => import('./index-e2d2eb49.esm.js').then((m) => m.HasComponentsCard)
1574
1582
  }
1575
1583
  })
1576
1584
  );
@@ -1578,7 +1586,7 @@ const EntityHasSubcomponentsCard = catalogPlugin.provide(
1578
1586
  createComponentExtension({
1579
1587
  name: "EntityHasSubcomponentsCard",
1580
1588
  component: {
1581
- lazy: () => import('./index-796cbb22.esm.js').then(
1589
+ lazy: () => import('./index-d8353256.esm.js').then(
1582
1590
  (m) => m.HasSubcomponentsCard
1583
1591
  )
1584
1592
  }
@@ -1588,7 +1596,7 @@ const EntityHasResourcesCard = catalogPlugin.provide(
1588
1596
  createComponentExtension({
1589
1597
  name: "EntityHasResourcesCard",
1590
1598
  component: {
1591
- lazy: () => import('./index-579c0e06.esm.js').then((m) => m.HasResourcesCard)
1599
+ lazy: () => import('./index-23d95220.esm.js').then((m) => m.HasResourcesCard)
1592
1600
  }
1593
1601
  })
1594
1602
  );
@@ -1596,7 +1604,7 @@ const EntityDependsOnComponentsCard = catalogPlugin.provide(
1596
1604
  createComponentExtension({
1597
1605
  name: "EntityDependsOnComponentsCard",
1598
1606
  component: {
1599
- lazy: () => import('./index-84bbec44.esm.js').then(
1607
+ lazy: () => import('./index-5d579387.esm.js').then(
1600
1608
  (m) => m.DependsOnComponentsCard
1601
1609
  )
1602
1610
  }
@@ -1606,7 +1614,7 @@ const EntityDependencyOfComponentsCard = catalogPlugin.provide(
1606
1614
  createComponentExtension({
1607
1615
  name: "EntityDependencyOfComponentsCard",
1608
1616
  component: {
1609
- lazy: () => import('./index-d32ca604.esm.js').then(
1617
+ lazy: () => import('./index-226f1855.esm.js').then(
1610
1618
  (m) => m.DependencyOfComponentsCard
1611
1619
  )
1612
1620
  }
@@ -1616,7 +1624,7 @@ const EntityDependsOnResourcesCard = catalogPlugin.provide(
1616
1624
  createComponentExtension({
1617
1625
  name: "EntityDependsOnResourcesCard",
1618
1626
  component: {
1619
- lazy: () => import('./index-51c16459.esm.js').then(
1627
+ lazy: () => import('./index-2ae6a112.esm.js').then(
1620
1628
  (m) => m.DependsOnResourcesCard
1621
1629
  )
1622
1630
  }
@@ -1626,7 +1634,7 @@ const RelatedEntitiesCard = catalogPlugin.provide(
1626
1634
  createComponentExtension({
1627
1635
  name: "RelatedEntitiesCard",
1628
1636
  component: {
1629
- lazy: () => import('./index-60adddb8.esm.js').then(
1637
+ lazy: () => import('./index-87a68cf7.esm.js').then(
1630
1638
  (m) => m.RelatedEntitiesCard
1631
1639
  )
1632
1640
  }
@@ -1643,4 +1651,4 @@ const CatalogSearchResultListItem = catalogPlugin.provide(
1643
1651
  );
1644
1652
 
1645
1653
  export { AboutCard as A, EntitySwitch as B, CatalogTable as C, DefaultStarredEntitiesApi as D, EntityLabelsCard$1 as E, isKind as F, isNamespace as G, isComponentType as H, isResourceType as I, isEntityWith as J, FilteredEntityLayout as K, LinksGridList as L, FilterContainer as M, EntityListContainer as N, RelatedEntitiesCard as R, AboutContent as a, AboutField as b, createComponentRouteRef as c, CatalogEntityPage as d, CatalogIndexPage as e, catalogPlugin as f, EntityAboutCard as g, hasLabels as h, EntityDependencyOfComponentsCard as i, EntityDependsOnComponentsCard as j, EntityDependsOnResourcesCard as k, EntityHasComponentsCard as l, EntityHasResourcesCard as m, EntityHasSubcomponentsCard as n, EntityHasSystemsCard as o, EntityLinksCard as p, EntityLabelsCard as q, CatalogSearchResultListItem as r, CatalogKindHeader as s, EntityLayout as t, EntityOrphanWarning as u, isOrphan as v, EntityRelationWarning as w, hasRelationWarnings as x, EntityProcessingErrorsPanel as y, hasCatalogProcessingErrors as z };
1646
- //# sourceMappingURL=index-0d334c64.esm.js.map
1654
+ //# sourceMappingURL=index-54253ffe.esm.js.map