@techdocs/cli 0.0.0-nightly-20260212031520 → 0.0.0-nightly-20260214030859

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 (166) hide show
  1. package/CHANGELOG.md +5 -4
  2. package/dist/embedded-app/.config-schema.json +135 -135
  3. package/dist/embedded-app/index.html +14 -2
  4. package/dist/embedded-app/index.html.tmpl +1 -1
  5. package/dist/embedded-app/static/123.22e1f307.chunk.js +1 -0
  6. package/dist/embedded-app/static/1335.2ae279ef.chunk.js +2 -0
  7. package/dist/embedded-app/static/1335.2ae279ef.chunk.js.map +1 -0
  8. package/dist/embedded-app/static/1659.fa17495c.chunk.js +1 -0
  9. package/dist/embedded-app/static/1749.33bcf093.chunk.js +2 -0
  10. package/dist/embedded-app/static/1749.33bcf093.chunk.js.map +1 -0
  11. package/dist/embedded-app/static/1994.ea7791f7.chunk.js +2 -0
  12. package/dist/embedded-app/static/1994.ea7791f7.chunk.js.map +1 -0
  13. package/dist/embedded-app/static/2031.92524a70.chunk.js +2 -0
  14. package/dist/embedded-app/static/2031.92524a70.chunk.js.map +1 -0
  15. package/dist/embedded-app/static/2295.5258a666.chunk.js +5 -0
  16. package/dist/embedded-app/static/2295.5258a666.chunk.js.map +1 -0
  17. package/dist/embedded-app/static/2504.8ccb0af5.chunk.js +2 -0
  18. package/dist/embedded-app/static/2504.8ccb0af5.chunk.js.map +1 -0
  19. package/dist/embedded-app/static/4156.1ff832c2.chunk.js +2 -0
  20. package/dist/embedded-app/static/4156.1ff832c2.chunk.js.map +1 -0
  21. package/dist/embedded-app/static/4210.2a086440.chunk.js +25 -0
  22. package/dist/embedded-app/static/4210.2a086440.chunk.js.map +1 -0
  23. package/dist/embedded-app/static/4445.e19850f5.chunk.js +2 -0
  24. package/dist/embedded-app/static/4445.e19850f5.chunk.js.map +1 -0
  25. package/dist/embedded-app/static/4587.708a0553.chunk.js +1 -0
  26. package/dist/embedded-app/static/4591.bd632829.chunk.js +2 -0
  27. package/dist/embedded-app/static/{4591.cc0d577c.chunk.js.map → 4591.bd632829.chunk.js.map} +1 -1
  28. package/dist/embedded-app/static/4648.952cd300.chunk.js +2 -0
  29. package/dist/embedded-app/static/4648.952cd300.chunk.js.map +1 -0
  30. package/dist/embedded-app/static/5659.13904a62.chunk.js +2 -0
  31. package/dist/embedded-app/static/5659.13904a62.chunk.js.map +1 -0
  32. package/dist/embedded-app/static/5937.300a8121.chunk.js +2 -0
  33. package/dist/embedded-app/static/5937.300a8121.chunk.js.map +1 -0
  34. package/dist/embedded-app/static/6138.821d05cb.chunk.js +2 -0
  35. package/dist/embedded-app/static/6138.821d05cb.chunk.js.map +1 -0
  36. package/dist/embedded-app/static/6270.677a8040.chunk.js +1 -0
  37. package/dist/embedded-app/static/6283.74f762b9.chunk.js +2 -0
  38. package/dist/embedded-app/static/{4645.cc59b13f.chunk.js.map → 6283.74f762b9.chunk.js.map} +1 -1
  39. package/dist/embedded-app/static/6535.5edf10f8.chunk.js +2 -0
  40. package/dist/embedded-app/static/6535.5edf10f8.chunk.js.map +1 -0
  41. package/dist/embedded-app/static/6718.7dae0161.chunk.js +22 -0
  42. package/dist/embedded-app/static/6718.7dae0161.chunk.js.map +1 -0
  43. package/dist/embedded-app/static/7203.33b0adb2.chunk.js +2 -0
  44. package/dist/embedded-app/static/7203.33b0adb2.chunk.js.map +1 -0
  45. package/dist/embedded-app/static/7226.f2e46a0f.chunk.js +2 -0
  46. package/dist/embedded-app/static/7226.f2e46a0f.chunk.js.map +1 -0
  47. package/dist/embedded-app/static/7998.23465c4f.chunk.js +2 -0
  48. package/dist/embedded-app/static/7998.23465c4f.chunk.js.map +1 -0
  49. package/dist/embedded-app/static/8125.c3f3fac7.chunk.js +7 -0
  50. package/dist/embedded-app/static/8125.c3f3fac7.chunk.js.map +1 -0
  51. package/dist/embedded-app/static/8461.d98afa5e.chunk.js +10 -0
  52. package/dist/embedded-app/static/8461.d98afa5e.chunk.js.map +1 -0
  53. package/dist/embedded-app/static/880.37810dfe.chunk.js +26 -0
  54. package/dist/embedded-app/static/880.37810dfe.chunk.js.map +1 -0
  55. package/dist/embedded-app/static/8992.1ce69871.chunk.js +2 -0
  56. package/dist/embedded-app/static/8992.1ce69871.chunk.js.map +1 -0
  57. package/dist/embedded-app/static/9050.13a2ca32.chunk.js +2 -0
  58. package/dist/embedded-app/static/9050.13a2ca32.chunk.js.map +1 -0
  59. package/dist/embedded-app/static/9170.684f47be.chunk.js +2 -0
  60. package/dist/embedded-app/static/9170.684f47be.chunk.js.map +1 -0
  61. package/dist/embedded-app/static/9230.87540bfe.chunk.js +2 -0
  62. package/dist/embedded-app/static/9230.87540bfe.chunk.js.map +1 -0
  63. package/dist/embedded-app/static/main.66695ece.css +2 -0
  64. package/dist/embedded-app/static/main.66695ece.css.map +1 -0
  65. package/dist/embedded-app/static/main.91135324.js +523 -0
  66. package/dist/embedded-app/static/main.91135324.js.map +1 -0
  67. package/dist/embedded-app/static/module-ajv.063c91c4.js +8 -0
  68. package/dist/embedded-app/static/module-ajv.063c91c4.js.map +1 -0
  69. package/dist/embedded-app/static/module-lodash.c8595dcc.js +2 -0
  70. package/dist/embedded-app/static/module-lodash.c8595dcc.js.map +1 -0
  71. package/dist/embedded-app/static/module-material-ui.31647b41.js +2 -0
  72. package/dist/embedded-app/static/module-material-ui.31647b41.js.map +1 -0
  73. package/dist/embedded-app/static/{module-micromark-core-commonmark.909b7d4e.js → module-micromark-core-commonmark.d049c8fc.js} +2 -2
  74. package/dist/embedded-app/static/{module-micromark-core-commonmark.909b7d4e.js.map → module-micromark-core-commonmark.d049c8fc.js.map} +1 -1
  75. package/dist/embedded-app/static/module-mui.9c07ad9e.js +2 -0
  76. package/dist/embedded-app/static/module-mui.9c07ad9e.js.map +1 -0
  77. package/dist/embedded-app/static/module-react-aria.1761a9b1.js +13 -0
  78. package/dist/embedded-app/static/module-react-aria.1761a9b1.js.map +1 -0
  79. package/dist/embedded-app/static/module-react-hook-form.1d49754b.js +2 -0
  80. package/dist/embedded-app/static/module-react-hook-form.1d49754b.js.map +1 -0
  81. package/dist/embedded-app/static/module-remix-run.0c80eb31.js +2 -0
  82. package/dist/embedded-app/static/{module-remix-run.d87774b0.js.map → module-remix-run.0c80eb31.js.map} +1 -1
  83. package/dist/embedded-app/static/module-remixicon.2830a2dd.js +2 -0
  84. package/dist/embedded-app/static/module-remixicon.2830a2dd.js.map +1 -0
  85. package/dist/embedded-app/static/module-zod.60f202c8.js +2 -0
  86. package/dist/embedded-app/static/module-zod.60f202c8.js.map +1 -0
  87. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gherkin.f4eb0069.chunk.js +2 -0
  88. package/dist/embedded-app/static/{react-syntax-highlighter_languages_highlight_gherkin.c2af2cfe.chunk.js.map → react-syntax-highlighter_languages_highlight_gherkin.f4eb0069.chunk.js.map} +1 -1
  89. package/dist/embedded-app/static/{react-syntax-highlighter_languages_highlight_xl.2eb7db23.chunk.js → react-syntax-highlighter_languages_highlight_xl.695e8d55.chunk.js} +2 -2
  90. package/dist/embedded-app/static/{react-syntax-highlighter_languages_highlight_xl.2eb7db23.chunk.js.map → react-syntax-highlighter_languages_highlight_xl.695e8d55.chunk.js.map} +1 -1
  91. package/dist/embedded-app/static/runtime.4ca22b3e.js +2 -0
  92. package/dist/embedded-app/static/runtime.4ca22b3e.js.map +1 -0
  93. package/dist/embedded-app/static/vendor.66fe4b1c.js +6 -0
  94. package/dist/embedded-app/static/vendor.66fe4b1c.js.map +1 -0
  95. package/dist/package.json.cjs.js +1 -1
  96. package/package.json +5 -5
  97. package/dist/embedded-app/static/1155.7fdf8f74.chunk.js +0 -10
  98. package/dist/embedded-app/static/1155.7fdf8f74.chunk.js.map +0 -1
  99. package/dist/embedded-app/static/1335.20ce41a6.chunk.js +0 -2
  100. package/dist/embedded-app/static/1335.20ce41a6.chunk.js.map +0 -1
  101. package/dist/embedded-app/static/1749.675429c1.chunk.js +0 -2
  102. package/dist/embedded-app/static/1749.675429c1.chunk.js.map +0 -1
  103. package/dist/embedded-app/static/1994.2a1755bc.chunk.js +0 -2
  104. package/dist/embedded-app/static/1994.2a1755bc.chunk.js.map +0 -1
  105. package/dist/embedded-app/static/2295.4ced0142.chunk.js +0 -5
  106. package/dist/embedded-app/static/2295.4ced0142.chunk.js.map +0 -1
  107. package/dist/embedded-app/static/4089.137c33ab.chunk.js +0 -2
  108. package/dist/embedded-app/static/4089.137c33ab.chunk.js.map +0 -1
  109. package/dist/embedded-app/static/4591.cc0d577c.chunk.js +0 -2
  110. package/dist/embedded-app/static/4645.cc59b13f.chunk.js +0 -2
  111. package/dist/embedded-app/static/4648.b290d75e.chunk.js +0 -2
  112. package/dist/embedded-app/static/4648.b290d75e.chunk.js.map +0 -1
  113. package/dist/embedded-app/static/5495.2e93b457.chunk.js +0 -2
  114. package/dist/embedded-app/static/5495.2e93b457.chunk.js.map +0 -1
  115. package/dist/embedded-app/static/5574.f7f78f0f.chunk.js +0 -2
  116. package/dist/embedded-app/static/5574.f7f78f0f.chunk.js.map +0 -1
  117. package/dist/embedded-app/static/6138.48ea9ccb.chunk.js +0 -2
  118. package/dist/embedded-app/static/6138.48ea9ccb.chunk.js.map +0 -1
  119. package/dist/embedded-app/static/6270.9a83c78f.chunk.js +0 -2
  120. package/dist/embedded-app/static/6270.9a83c78f.chunk.js.map +0 -1
  121. package/dist/embedded-app/static/7186.06700aac.chunk.js +0 -2
  122. package/dist/embedded-app/static/7186.06700aac.chunk.js.map +0 -1
  123. package/dist/embedded-app/static/7203.3c95a690.chunk.js +0 -2
  124. package/dist/embedded-app/static/7203.3c95a690.chunk.js.map +0 -1
  125. package/dist/embedded-app/static/7226.c23c4816.chunk.js +0 -2
  126. package/dist/embedded-app/static/7226.c23c4816.chunk.js.map +0 -1
  127. package/dist/embedded-app/static/7382.2d83d2b3.chunk.js +0 -2
  128. package/dist/embedded-app/static/7382.2d83d2b3.chunk.js.map +0 -1
  129. package/dist/embedded-app/static/7526.074248a6.chunk.js +0 -2
  130. package/dist/embedded-app/static/7526.074248a6.chunk.js.map +0 -1
  131. package/dist/embedded-app/static/8010.dfba910f.chunk.js +0 -2
  132. package/dist/embedded-app/static/8010.dfba910f.chunk.js.map +0 -1
  133. package/dist/embedded-app/static/8125.71f8d063.chunk.js +0 -7
  134. package/dist/embedded-app/static/8125.71f8d063.chunk.js.map +0 -1
  135. package/dist/embedded-app/static/8643.95ae58f1.chunk.js +0 -8
  136. package/dist/embedded-app/static/8643.95ae58f1.chunk.js.map +0 -1
  137. package/dist/embedded-app/static/9050.f09397cc.chunk.js +0 -2
  138. package/dist/embedded-app/static/9050.f09397cc.chunk.js.map +0 -1
  139. package/dist/embedded-app/static/9230.fb6e1c4a.chunk.js +0 -2
  140. package/dist/embedded-app/static/9230.fb6e1c4a.chunk.js.map +0 -1
  141. package/dist/embedded-app/static/9579.060201ba.chunk.js +0 -2
  142. package/dist/embedded-app/static/9579.060201ba.chunk.js.map +0 -1
  143. package/dist/embedded-app/static/main.b2329633.css +0 -2
  144. package/dist/embedded-app/static/main.b2329633.css.map +0 -1
  145. package/dist/embedded-app/static/main.c9d6fc0d.js +0 -527
  146. package/dist/embedded-app/static/main.c9d6fc0d.js.map +0 -1
  147. package/dist/embedded-app/static/module-date-fns.bfd1b82f.js +0 -2
  148. package/dist/embedded-app/static/module-date-fns.bfd1b82f.js.map +0 -1
  149. package/dist/embedded-app/static/module-lodash.c50623b1.js +0 -2
  150. package/dist/embedded-app/static/module-lodash.c50623b1.js.map +0 -1
  151. package/dist/embedded-app/static/module-material-table.40a11f4e.js +0 -2
  152. package/dist/embedded-app/static/module-material-table.40a11f4e.js.map +0 -1
  153. package/dist/embedded-app/static/module-material-ui.3c48b777.js +0 -2
  154. package/dist/embedded-app/static/module-material-ui.3c48b777.js.map +0 -1
  155. package/dist/embedded-app/static/module-mui.c5efba64.js +0 -2
  156. package/dist/embedded-app/static/module-mui.c5efba64.js.map +0 -1
  157. package/dist/embedded-app/static/module-react-beautiful-dnd.6e061f96.js +0 -2
  158. package/dist/embedded-app/static/module-react-beautiful-dnd.6e061f96.js.map +0 -1
  159. package/dist/embedded-app/static/module-remix-run.d87774b0.js +0 -2
  160. package/dist/embedded-app/static/module-zod.c31bff05.js +0 -2
  161. package/dist/embedded-app/static/module-zod.c31bff05.js.map +0 -1
  162. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gherkin.c2af2cfe.chunk.js +0 -2
  163. package/dist/embedded-app/static/runtime.18d1df8a.js +0 -2
  164. package/dist/embedded-app/static/runtime.18d1df8a.js.map +0 -1
  165. package/dist/embedded-app/static/vendor.e4357869.js +0 -2
  166. package/dist/embedded-app/static/vendor.e4357869.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,15 +1,16 @@
1
1
  # @techdocs/cli
2
2
 
3
- ## 0.0.0-nightly-20260212031520
3
+ ## 0.0.0-nightly-20260214030859
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - 7455dae: Use node prefix on native imports
8
+ - 27798df: Migrate the Techdocs CLI embedded app to the New Frontend System (NFS)
8
9
  - 508d127: Updated dependency `find-process` to `^2.0.0`.
9
10
  - Updated dependencies
10
- - @backstage/backend-defaults@0.0.0-nightly-20260212031520
11
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20260212031520
12
- - @backstage/cli-common@0.0.0-nightly-20260212031520
11
+ - @backstage/backend-defaults@0.0.0-nightly-20260214030859
12
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20260214030859
13
+ - @backstage/cli-common@0.0.0-nightly-20260214030859
13
14
  - @backstage/catalog-model@1.7.6
14
15
  - @backstage/config@1.3.6
15
16
 
@@ -131,6 +131,52 @@
131
131
  },
132
132
  "packageName": "@backstage/plugin-permission-common"
133
133
  },
134
+ {
135
+ "path": "../core-components/config.d.ts",
136
+ "value": {
137
+ "type": "object",
138
+ "properties": {
139
+ "auth": {
140
+ "type": "object",
141
+ "properties": {
142
+ "autologout": {
143
+ "description": "Autologout feature configuration",
144
+ "type": "object",
145
+ "properties": {
146
+ "enabled": {
147
+ "description": "Enable or disable the autologout feature",
148
+ "visibility": "frontend",
149
+ "type": "boolean"
150
+ },
151
+ "idleTimeoutMinutes": {
152
+ "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
153
+ "visibility": "frontend",
154
+ "type": "number"
155
+ },
156
+ "promptBeforeIdleSeconds": {
157
+ "description": "Number of seconds before the idle timeout where the user will be asked if it's still active.\nA dialog will be shown.\nDefault is 10 seconds.\nSet to 0 seconds to disable the prompt.",
158
+ "visibility": "frontend",
159
+ "type": "number"
160
+ },
161
+ "useWorkerTimers": {
162
+ "description": "Enable/disable the usage of worker thread timers instead of main thread timers.\nDefault is true.\nIf you experience some browser incompatibility, you may try to set this to false.",
163
+ "visibility": "frontend",
164
+ "type": "boolean"
165
+ },
166
+ "logoutIfDisconnected": {
167
+ "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
168
+ "visibility": "frontend",
169
+ "type": "boolean"
170
+ }
171
+ }
172
+ }
173
+ }
174
+ }
175
+ },
176
+ "$schema": "http://json-schema.org/draft-07/schema#"
177
+ },
178
+ "packageName": "@backstage/core-components"
179
+ },
134
180
  {
135
181
  "path": "../core-app-api/config.d.ts",
136
182
  "value": {
@@ -358,52 +404,6 @@
358
404
  },
359
405
  "packageName": "@backstage/core-app-api"
360
406
  },
361
- {
362
- "path": "../core-components/config.d.ts",
363
- "value": {
364
- "type": "object",
365
- "properties": {
366
- "auth": {
367
- "type": "object",
368
- "properties": {
369
- "autologout": {
370
- "description": "Autologout feature configuration",
371
- "type": "object",
372
- "properties": {
373
- "enabled": {
374
- "description": "Enable or disable the autologout feature",
375
- "visibility": "frontend",
376
- "type": "boolean"
377
- },
378
- "idleTimeoutMinutes": {
379
- "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
380
- "visibility": "frontend",
381
- "type": "number"
382
- },
383
- "promptBeforeIdleSeconds": {
384
- "description": "Number of seconds before the idle timeout where the user will be asked if it's still active.\nA dialog will be shown.\nDefault is 10 seconds.\nSet to 0 seconds to disable the prompt.",
385
- "visibility": "frontend",
386
- "type": "number"
387
- },
388
- "useWorkerTimers": {
389
- "description": "Enable/disable the usage of worker thread timers instead of main thread timers.\nDefault is true.\nIf you experience some browser incompatibility, you may try to set this to false.",
390
- "visibility": "frontend",
391
- "type": "boolean"
392
- },
393
- "logoutIfDisconnected": {
394
- "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
395
- "visibility": "frontend",
396
- "type": "boolean"
397
- }
398
- }
399
- }
400
- }
401
- }
402
- },
403
- "$schema": "http://json-schema.org/draft-07/schema#"
404
- },
405
- "packageName": "@backstage/core-components"
406
- },
407
407
  {
408
408
  "path": "../../plugins/techdocs/config.d.ts",
409
409
  "value": {
@@ -1239,6 +1239,71 @@
1239
1239
  },
1240
1240
  "packageName": "@backstage/frontend-app-api"
1241
1241
  },
1242
+ {
1243
+ "path": "../backend-plugin-api/config.d.ts",
1244
+ "value": {
1245
+ "type": "object",
1246
+ "properties": {
1247
+ "backend": {
1248
+ "type": "object",
1249
+ "properties": {
1250
+ "workingDirectory": {
1251
+ "description": "An absolute path to a directory that can be used as a working dir, for\nexample as scratch space for large operations.",
1252
+ "type": "string"
1253
+ }
1254
+ }
1255
+ }
1256
+ },
1257
+ "$schema": "http://json-schema.org/draft-07/schema#"
1258
+ },
1259
+ "packageName": "@backstage/backend-plugin-api"
1260
+ },
1261
+ {
1262
+ "path": "../../plugins/auth-backend-module-guest-provider/config.d.ts",
1263
+ "value": {
1264
+ "type": "object",
1265
+ "properties": {
1266
+ "auth": {
1267
+ "description": "Configuration options for the auth plugin",
1268
+ "type": "object",
1269
+ "properties": {
1270
+ "providers": {
1271
+ "type": "object",
1272
+ "properties": {
1273
+ "guest": {
1274
+ "type": "object",
1275
+ "properties": {
1276
+ "userEntityRef": {
1277
+ "description": "The entity reference to use for the guest user.",
1278
+ "default": "user:development/guest",
1279
+ "type": "string"
1280
+ },
1281
+ "ownershipEntityRefs": {
1282
+ "description": "A list of entity references to user for ownership of the guest user if the user\n is not found in the catalog.",
1283
+ "default": "[userEntityRef]",
1284
+ "type": "array",
1285
+ "items": {
1286
+ "type": "string"
1287
+ }
1288
+ },
1289
+ "dangerouslyAllowOutsideDevelopment": {
1290
+ "description": "Allow users to sign in with the guest provider outside of their development environments.",
1291
+ "type": "boolean"
1292
+ }
1293
+ }
1294
+ }
1295
+ }
1296
+ }
1297
+ },
1298
+ "required": [
1299
+ "providers"
1300
+ ]
1301
+ }
1302
+ },
1303
+ "$schema": "http://json-schema.org/draft-07/schema#"
1304
+ },
1305
+ "packageName": "@backstage/plugin-auth-backend-module-guest-provider"
1306
+ },
1242
1307
  {
1243
1308
  "path": "../../plugins/auth-backend/config.d.ts",
1244
1309
  "value": {
@@ -1423,71 +1488,6 @@
1423
1488
  },
1424
1489
  "packageName": "@backstage/plugin-auth-backend"
1425
1490
  },
1426
- {
1427
- "path": "../../plugins/auth-backend-module-guest-provider/config.d.ts",
1428
- "value": {
1429
- "type": "object",
1430
- "properties": {
1431
- "auth": {
1432
- "description": "Configuration options for the auth plugin",
1433
- "type": "object",
1434
- "properties": {
1435
- "providers": {
1436
- "type": "object",
1437
- "properties": {
1438
- "guest": {
1439
- "type": "object",
1440
- "properties": {
1441
- "userEntityRef": {
1442
- "description": "The entity reference to use for the guest user.",
1443
- "default": "user:development/guest",
1444
- "type": "string"
1445
- },
1446
- "ownershipEntityRefs": {
1447
- "description": "A list of entity references to user for ownership of the guest user if the user\n is not found in the catalog.",
1448
- "default": "[userEntityRef]",
1449
- "type": "array",
1450
- "items": {
1451
- "type": "string"
1452
- }
1453
- },
1454
- "dangerouslyAllowOutsideDevelopment": {
1455
- "description": "Allow users to sign in with the guest provider outside of their development environments.",
1456
- "type": "boolean"
1457
- }
1458
- }
1459
- }
1460
- }
1461
- }
1462
- },
1463
- "required": [
1464
- "providers"
1465
- ]
1466
- }
1467
- },
1468
- "$schema": "http://json-schema.org/draft-07/schema#"
1469
- },
1470
- "packageName": "@backstage/plugin-auth-backend-module-guest-provider"
1471
- },
1472
- {
1473
- "path": "../backend-plugin-api/config.d.ts",
1474
- "value": {
1475
- "type": "object",
1476
- "properties": {
1477
- "backend": {
1478
- "type": "object",
1479
- "properties": {
1480
- "workingDirectory": {
1481
- "description": "An absolute path to a directory that can be used as a working dir, for\nexample as scratch space for large operations.",
1482
- "type": "string"
1483
- }
1484
- }
1485
- }
1486
- },
1487
- "$schema": "http://json-schema.org/draft-07/schema#"
1488
- },
1489
- "packageName": "@backstage/backend-plugin-api"
1490
- },
1491
1491
  {
1492
1492
  "path": "../backend-app-api/config.d.ts",
1493
1493
  "value": {
@@ -1587,30 +1587,6 @@
1587
1587
  },
1588
1588
  "packageName": "@backstage/backend-app-api"
1589
1589
  },
1590
- {
1591
- "path": "../../plugins/events-node/config.d.ts",
1592
- "value": {
1593
- "type": "object",
1594
- "properties": {
1595
- "events": {
1596
- "type": "object",
1597
- "properties": {
1598
- "useEventBus": {
1599
- "description": "Whether to use the event bus API in the events plugin backend to\ndistribute events across multiple instances when publishing and\nsubscribing to events.\n\nThe default is 'auto', which means means that the event bus API will be\nused if it's available, but will be disabled if the events backend\nreturns a 404.\n\nIf set to 'never', the events service will only ever publish events\nlocally to the same instance, while if set to 'always', the event bus API\nwill never be disabled, even if the events backend returns a 404.",
1600
- "enum": [
1601
- "always",
1602
- "auto",
1603
- "never"
1604
- ],
1605
- "type": "string"
1606
- }
1607
- }
1608
- }
1609
- },
1610
- "$schema": "http://json-schema.org/draft-07/schema#"
1611
- },
1612
- "packageName": "@backstage/plugin-events-node"
1613
- },
1614
1590
  {
1615
1591
  "path": "../backend-defaults/config.d.ts",
1616
1592
  "value": {
@@ -3282,6 +3258,30 @@
3282
3258
  },
3283
3259
  "packageName": "@backstage/backend-defaults"
3284
3260
  },
3261
+ {
3262
+ "path": "../../plugins/events-node/config.d.ts",
3263
+ "value": {
3264
+ "type": "object",
3265
+ "properties": {
3266
+ "events": {
3267
+ "type": "object",
3268
+ "properties": {
3269
+ "useEventBus": {
3270
+ "description": "Whether to use the event bus API in the events plugin backend to\ndistribute events across multiple instances when publishing and\nsubscribing to events.\n\nThe default is 'auto', which means means that the event bus API will be\nused if it's available, but will be disabled if the events backend\nreturns a 404.\n\nIf set to 'never', the events service will only ever publish events\nlocally to the same instance, while if set to 'always', the event bus API\nwill never be disabled, even if the events backend returns a 404.",
3271
+ "enum": [
3272
+ "always",
3273
+ "auto",
3274
+ "never"
3275
+ ],
3276
+ "type": "string"
3277
+ }
3278
+ }
3279
+ }
3280
+ },
3281
+ "$schema": "http://json-schema.org/draft-07/schema#"
3282
+ },
3283
+ "packageName": "@backstage/plugin-events-node"
3284
+ },
3285
3285
  {
3286
3286
  "path": "../../plugins/auth-backend-module-google-provider/config.d.ts",
3287
3287
  "value": {
@@ -1,10 +1,22 @@
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="color-scheme" content="light dark"/><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.18d1df8a.js"></script><script defer="defer" src="/static/module-material-ui.3c48b777.js"></script><script defer="defer" src="/static/module-lodash.c50623b1.js"></script><script defer="defer" src="/static/module-date-fns.bfd1b82f.js"></script><script defer="defer" src="/static/module-mui.c5efba64.js"></script><script defer="defer" src="/static/module-material-table.40a11f4e.js"></script><script defer="defer" src="/static/module-micromark-core-commonmark.909b7d4e.js"></script><script defer="defer" src="/static/module-parse5.94980036.js"></script><script defer="defer" src="/static/module-zod.c31bff05.js"></script><script defer="defer" src="/static/module-react-dom.c631e87d.js"></script><script defer="defer" src="/static/module-i18next.c154323c.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.6e061f96.js"></script><script defer="defer" src="/static/module-remix-run.d87774b0.js"></script><script defer="defer" src="/static/vendor.e4357869.js"></script><script defer="defer" src="/static/main.c9d6fc0d.js"></script><link href="/static/main.b2329633.css" rel="stylesheet"><script type="backstage.io/config">[
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="color-scheme" content="light dark"/><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.4ca22b3e.js"></script><script defer="defer" src="/static/module-material-ui.31647b41.js"></script><script defer="defer" src="/static/module-lodash.c8595dcc.js"></script><script defer="defer" src="/static/module-react-aria.1761a9b1.js"></script><script defer="defer" src="/static/module-ajv.063c91c4.js"></script><script defer="defer" src="/static/module-mui.9c07ad9e.js"></script><script defer="defer" src="/static/module-micromark-core-commonmark.d049c8fc.js"></script><script defer="defer" src="/static/module-parse5.94980036.js"></script><script defer="defer" src="/static/module-zod.60f202c8.js"></script><script defer="defer" src="/static/module-react-dom.c631e87d.js"></script><script defer="defer" src="/static/module-react-hook-form.1d49754b.js"></script><script defer="defer" src="/static/module-i18next.c154323c.js"></script><script defer="defer" src="/static/module-remixicon.2830a2dd.js"></script><script defer="defer" src="/static/module-remix-run.0c80eb31.js"></script><script defer="defer" src="/static/vendor.66fe4b1c.js"></script><script defer="defer" src="/static/main.91135324.js"></script><link href="/static/main.66695ece.css" rel="stylesheet"><script type="backstage.io/config">[
2
2
  {
3
3
  "context": "app-config.yaml",
4
4
  "data": {
5
5
  "app": {
6
6
  "title": "Techdocs Preview App",
7
- "baseUrl": "http://localhost:3000"
7
+ "baseUrl": "http://localhost:3000",
8
+ "extensions": [
9
+ {
10
+ "sign-in-page:app": false
11
+ },
12
+ {
13
+ "page:techdocs/reader": {
14
+ "config": {
15
+ "withoutSearch": true
16
+ }
17
+ }
18
+ }
19
+ ]
8
20
  },
9
21
  "backend": {
10
22
  "baseUrl": "http://localhost:3000"
@@ -43,7 +43,7 @@
43
43
  color="#5bbad5"
44
44
  />
45
45
  <title><%= config.getString('app.title') %></title>
46
- <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.18d1df8a.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.3c48b777.js"></script><script defer src="<%= publicPath %>/static/module-lodash.c50623b1.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.bfd1b82f.js"></script><script defer src="<%= publicPath %>/static/module-mui.c5efba64.js"></script><script defer src="<%= publicPath %>/static/module-material-table.40a11f4e.js"></script><script defer src="<%= publicPath %>/static/module-micromark-core-commonmark.909b7d4e.js"></script><script defer src="<%= publicPath %>/static/module-parse5.94980036.js"></script><script defer src="<%= publicPath %>/static/module-zod.c31bff05.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.c631e87d.js"></script><script defer src="<%= publicPath %>/static/module-i18next.c154323c.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.6e061f96.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.d87774b0.js"></script><script defer src="<%= publicPath %>/static/vendor.e4357869.js"></script><script defer src="<%= publicPath %>/static/main.c9d6fc0d.js"></script><link href="<%= publicPath %>/static/main.b2329633.css" rel="stylesheet"></head>
46
+ <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.4ca22b3e.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.31647b41.js"></script><script defer src="<%= publicPath %>/static/module-lodash.c8595dcc.js"></script><script defer src="<%= publicPath %>/static/module-react-aria.1761a9b1.js"></script><script defer src="<%= publicPath %>/static/module-ajv.063c91c4.js"></script><script defer src="<%= publicPath %>/static/module-mui.9c07ad9e.js"></script><script defer src="<%= publicPath %>/static/module-micromark-core-commonmark.d049c8fc.js"></script><script defer src="<%= publicPath %>/static/module-parse5.94980036.js"></script><script defer src="<%= publicPath %>/static/module-zod.60f202c8.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.c631e87d.js"></script><script defer src="<%= publicPath %>/static/module-react-hook-form.1d49754b.js"></script><script defer src="<%= publicPath %>/static/module-i18next.c154323c.js"></script><script defer src="<%= publicPath %>/static/module-remixicon.2830a2dd.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.0c80eb31.js"></script><script defer src="<%= publicPath %>/static/vendor.66fe4b1c.js"></script><script defer src="<%= publicPath %>/static/main.91135324.js"></script><link href="<%= publicPath %>/static/main.66695ece.css" rel="stylesheet"></head>
47
47
  <body>
48
48
  <noscript>You need to enable JavaScript to run this app.</noscript>
49
49
  <div id="root"></div>
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["123"],{79894(a){a.exports=JSON.parse('{"name":"@backstage/plugin-catalog","version":"0.0.0-nightly-20260214030859","description":"The Backstage plugin for browsing the Backstage catalog","backstage":{"role":"frontend-plugin","pluginId":"catalog","pluginPackages":["@backstage/plugin-catalog","@backstage/plugin-catalog-backend","@backstage/plugin-catalog-common","@backstage/plugin-catalog-node","@backstage/plugin-catalog-react"]},"publishConfig":{"access":"public"},"keywords":["backstage"],"homepage":"https://backstage.io","repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/catalog"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.ts","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.ts"],"package.json":["package.json"]}},"files":["dist","config.d.ts"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/catalog-client":"workspace:*","@backstage/catalog-model":"workspace:*","@backstage/core-compat-api":"workspace:*","@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/errors":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-catalog-common":"workspace:*","@backstage/plugin-catalog-react":"workspace:*","@backstage/plugin-permission-react":"workspace:*","@backstage/plugin-scaffolder-common":"workspace:*","@backstage/plugin-search-common":"workspace:*","@backstage/plugin-search-react":"workspace:*","@backstage/plugin-techdocs-common":"workspace:*","@backstage/plugin-techdocs-react":"workspace:*","@backstage/types":"workspace:*","@backstage/ui":"workspace:*","@backstage/version-bridge":"workspace:*","@material-ui/core":"^4.12.2","@material-ui/icons":"^4.9.1","@material-ui/lab":"4.0.0-alpha.61","@mui/utils":"^5.14.15","classnames":"^2.3.1","dataloader":"^2.0.0","history":"^5.0.0","lodash":"^4.17.21","pluralize":"^8.0.0","react-helmet":"6.1.0","react-use":"^17.2.4","zen-observable":"^0.10.0"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/core-app-api":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/frontend-test-utils":"workspace:*","@backstage/plugin-permission-common":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/dom":"^10.0.0","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/pluralize":"^0.0.33","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2","swr":"^2.2.5"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"configSchema":"config.d.ts"}')}}]);
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["1335"],{50874(e,t,l){l.d(t,{CatalogSearchResultListItem:()=>f});var s=l(31085),a=l(77125),i=l(94390),r=l(46423),c=l(5951),n=l(72501),o=l(58837),d=l(60603),p=l(7613),m=l(50010),x=l(89595);let h=(0,o.A)({item:{display:"flex"},flexContainer:{flexWrap:"wrap"},itemText:{width:"100%",wordBreak:"break-all",marginBottom:"1rem"}},{name:"CatalogSearchResultListItem"});function f(e){let t=e.result,l=e.highlight,o=h(),{t:f}=(0,x.i)(m.W);return t?(0,s.jsxs)("div",{className:o.item,children:[e.icon&&(0,s.jsx)(r.A,{children:"function"==typeof e.icon?e.icon(t):e.icon}),(0,s.jsxs)("div",{className:o.flexContainer,children:[(0,s.jsx)(c.A,{className:o.itemText,primaryTypographyProps:{variant:"h6"},primary:(0,s.jsx)(d.N_,{noTrack:!0,to:t.location,children:l?.fields.title?(0,s.jsx)(p.e,{text:l.fields.title,preTag:l.preTag,postTag:l.postTag}):t.title}),secondary:(0,s.jsx)(n.A,{component:"span",style:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:e.lineClamp,overflow:"hidden"},color:"textSecondary",variant:"body2",children:l?.fields.text?(0,s.jsx)(p.e,{text:l.fields.text,preTag:l.preTag,postTag:l.postTag}):t.text})}),(0,s.jsxs)(a.A,{children:[t.kind&&(0,s.jsx)(i.A,{label:`${f("searchResultItem.kind")}: ${t.kind}`,size:"small"}),t.type&&(0,s.jsx)(i.A,{label:`${f("searchResultItem.type")}: ${t.type}`,size:"small"}),t.lifecycle&&(0,s.jsx)(i.A,{label:`${f("searchResultItem.lifecycle")}: ${t.lifecycle}`,size:"small"}),t.owner&&(0,s.jsx)(i.A,{label:`${f("searchResultItem.owner")}: ${t.owner}`,size:"small"})]})]})]}):null}}}]);
2
+ //# sourceMappingURL=1335.2ae279ef.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/1335.2ae279ef.chunk.js","sources":["webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/components/CatalogSearchResultListItem/CatalogSearchResultListItem.tsx"],"sourcesContent":["/*\n * Copyright 2021 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 { ReactNode } from 'react';\nimport Box from '@material-ui/core/Box';\nimport Chip from '@material-ui/core/Chip';\nimport ListItemIcon from '@material-ui/core/ListItemIcon';\nimport ListItemText from '@material-ui/core/ListItemText';\nimport Typography from '@material-ui/core/Typography';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { Link } from '@backstage/core-components';\nimport {\n IndexableDocument,\n ResultHighlight,\n} from '@backstage/plugin-search-common';\nimport { HighlightedSearchResultText } from '@backstage/plugin-search-react';\nimport { catalogTranslationRef } from '../../alpha/translation';\nimport { useTranslationRef } from '@backstage/frontend-plugin-api';\n\n/** @public */\nexport type CatalogSearchResultListItemClassKey =\n | 'item'\n | 'flexContainer'\n | 'itemText';\n\nconst useStyles = makeStyles(\n {\n item: {\n display: 'flex',\n },\n flexContainer: {\n flexWrap: 'wrap',\n },\n itemText: {\n width: '100%',\n wordBreak: 'break-all',\n marginBottom: '1rem',\n },\n },\n { name: 'CatalogSearchResultListItem' },\n);\n\n/**\n * Props for {@link CatalogSearchResultListItem}.\n *\n * @public\n */\nexport interface CatalogSearchResultListItemProps {\n icon?: ReactNode | ((result: IndexableDocument) => ReactNode);\n result?: IndexableDocument;\n highlight?: ResultHighlight;\n rank?: number;\n lineClamp?: number;\n}\n\n/** @public */\nexport function CatalogSearchResultListItem(\n props: CatalogSearchResultListItemProps,\n) {\n const result = props.result as any;\n const highlight = props.highlight as ResultHighlight;\n\n const classes = useStyles();\n const { t } = useTranslationRef(catalogTranslationRef);\n\n if (!result) return null;\n\n return (\n <div className={classes.item}>\n {props.icon && (\n <ListItemIcon>\n {typeof props.icon === 'function' ? props.icon(result) : props.icon}\n </ListItemIcon>\n )}\n <div className={classes.flexContainer}>\n <ListItemText\n className={classes.itemText}\n primaryTypographyProps={{ variant: 'h6' }}\n primary={\n <Link noTrack to={result.location}>\n {highlight?.fields.title ? (\n <HighlightedSearchResultText\n text={highlight.fields.title}\n preTag={highlight.preTag}\n postTag={highlight.postTag}\n />\n ) : (\n result.title\n )}\n </Link>\n }\n secondary={\n <Typography\n component=\"span\"\n style={{\n display: '-webkit-box',\n WebkitBoxOrient: 'vertical',\n WebkitLineClamp: props.lineClamp,\n overflow: 'hidden',\n }}\n color=\"textSecondary\"\n variant=\"body2\"\n >\n {highlight?.fields.text ? (\n <HighlightedSearchResultText\n text={highlight.fields.text}\n preTag={highlight.preTag}\n postTag={highlight.postTag}\n />\n ) : (\n result.text\n )}\n </Typography>\n }\n />\n <Box>\n {result.kind && (\n <Chip\n label={`${t('searchResultItem.kind')}: ${result.kind}`}\n size=\"small\"\n />\n )}\n {result.type && (\n <Chip\n label={`${t('searchResultItem.type')}: ${result.type}`}\n size=\"small\"\n />\n )}\n {result.lifecycle && (\n <Chip\n label={`${t('searchResultItem.lifecycle')}: ${result.lifecycle}`}\n size=\"small\"\n />\n )}\n {result.owner && (\n <Chip\n label={`${t('searchResultItem.owner')}: ${result.owner}`}\n size=\"small\"\n />\n )}\n </Box>\n </div>\n </div>\n );\n}\n"],"names":["useStyles","makeStyles","CatalogSearchResultListItem","props","result","highlight","classes","t","useTranslationRef","catalogTranslationRef","ListItemIcon","ListItemText","Link","HighlightedSearchResultText","Typography","Box","Chip"],"mappings":"4SAsCA,IAAMA,EAAYC,AAAAA,GAAAA,EAAAA,CAAAA,AAAAA,EAChB,CACE,KAAM,CACJ,QAAS,MACX,EACA,cAAe,CACb,SAAU,MACZ,EACA,SAAU,CACR,MAAO,OACP,UAAW,YACX,aAAc,MAChB,CACF,EACA,CAAE,KAAM,6BAA8B,GAiBjC,SAASC,EACdC,CAAuC,EAEvC,IAAMC,EAASD,EAAM,MAAM,CACrBE,EAAYF,EAAM,SAAS,CAE3BG,EAAUN,IACV,CAAEO,EAAAA,CAAC,CAAE,CAAGC,AAAAA,GAAAA,EAAAA,CAAAA,AAAAA,EAAkBC,EAAAA,CAAqBA,SAErD,AAAKL,EAGH,WAAC,OAAI,UAAWE,EAAQ,IAAI,C,UACzBH,EAAM,IAAI,EACT,UAACO,EAAAA,CAAYA,CAAAA,C,SACV,AAAsB,YAAtB,OAAOP,EAAM,IAAI,CAAkBA,EAAM,IAAI,CAACC,GAAUD,EAAM,IAAI,A,GAGvE,WAAC,OAAI,UAAWG,EAAQ,aAAa,C,UACnC,UAACK,EAAAA,CAAYA,CAAAA,CACX,UAAWL,EAAQ,QAAQ,CAC3B,uBAAwB,CAAE,QAAS,IAAK,EACxC,QACE,UAACM,EAAAA,EAAIA,CAAAA,CAAC,QAAO,GAAC,GAAIR,EAAO,QAAQ,C,SAC9BC,GAAW,OAAO,MACjB,UAACQ,EAAAA,CAA2BA,CAAAA,CAC1B,KAAMR,EAAU,MAAM,CAAC,KAAK,CAC5B,OAAQA,EAAU,MAAM,CACxB,QAASA,EAAU,OAAO,A,GAG5BD,EAAO,KAAK,A,GAIlB,UACE,UAACU,EAAAA,CAAUA,CAAAA,CACT,UAAU,OACV,MAAO,CACL,QAAS,cACT,gBAAiB,WACjB,gBAAiBX,EAAM,SAAS,CAChC,SAAU,QACZ,EACA,MAAM,gBACN,QAAQ,Q,SAEPE,GAAW,OAAO,KACjB,UAACQ,EAAAA,CAA2BA,CAAAA,CAC1B,KAAMR,EAAU,MAAM,CAAC,IAAI,CAC3B,OAAQA,EAAU,MAAM,CACxB,QAASA,EAAU,OAAO,A,GAG5BD,EAAO,IAAI,A,KAKnB,WAACW,EAAAA,CAAGA,CAAAA,C,UACDX,EAAO,IAAI,EACV,UAACY,EAAAA,CAAIA,CAAAA,CACH,MAAO,CAAC,EAAET,EAAE,yBAAyB,EAAE,EAAEH,EAAO,IAAI,CAAC,CAAC,CACtD,KAAK,O,GAGRA,EAAO,IAAI,EACV,UAACY,EAAAA,CAAIA,CAAAA,CACH,MAAO,CAAC,EAAET,EAAE,yBAAyB,EAAE,EAAEH,EAAO,IAAI,CAAC,CAAC,CACtD,KAAK,O,GAGRA,EAAO,SAAS,EACf,UAACY,EAAAA,CAAIA,CAAAA,CACH,MAAO,CAAC,EAAET,EAAE,8BAA8B,EAAE,EAAEH,EAAO,SAAS,CAAC,CAAC,CAChE,KAAK,O,GAGRA,EAAO,KAAK,EACX,UAACY,EAAAA,CAAIA,CAAAA,CACH,MAAO,CAAC,EAAET,EAAE,0BAA0B,EAAE,EAAEH,EAAO,KAAK,CAAC,CAAC,CACxD,KAAK,O,YAxEG,IA+EtB,C"}
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["1659"],{23494(e){e.exports=JSON.parse('{"name":"@backstage/plugin-techdocs","version":"0.0.0-nightly-20260214030859","description":"The Backstage plugin that renders technical documentation for your components","backstage":{"role":"frontend-plugin","pluginId":"techdocs","pluginPackages":["@backstage/plugin-techdocs","@backstage/plugin-techdocs-backend","@backstage/plugin-techdocs-common","@backstage/plugin-techdocs-node","@backstage/plugin-techdocs-react"]},"publishConfig":{"access":"public"},"keywords":["backstage","techdocs"],"homepage":"https://backstage.io","repository":{"type":"git","url":"https://github.com/backstage/backstage","directory":"plugins/techdocs"},"license":"Apache-2.0","sideEffects":false,"exports":{".":"./src/index.ts","./alpha":"./src/alpha/index.tsx","./package.json":"./package.json"},"main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"alpha":["src/alpha/index.tsx"],"package.json":["package.json"]}},"files":["dist","config.d.ts"],"scripts":{"build":"backstage-cli package build","clean":"backstage-cli package clean","lint":"backstage-cli package lint","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack","start":"backstage-cli package start","test":"backstage-cli package test"},"dependencies":{"@backstage/catalog-client":"workspace:*","@backstage/catalog-model":"workspace:*","@backstage/config":"workspace:*","@backstage/core-components":"workspace:*","@backstage/core-plugin-api":"workspace:*","@backstage/errors":"workspace:*","@backstage/frontend-plugin-api":"workspace:*","@backstage/integration":"workspace:*","@backstage/integration-react":"workspace:*","@backstage/plugin-auth-react":"workspace:*","@backstage/plugin-catalog-react":"workspace:*","@backstage/plugin-search-common":"workspace:*","@backstage/plugin-search-react":"workspace:*","@backstage/plugin-techdocs-common":"workspace:*","@backstage/plugin-techdocs-react":"workspace:*","@backstage/theme":"workspace:*","@material-ui/core":"^4.12.2","@material-ui/icons":"^4.9.1","@material-ui/lab":"4.0.0-alpha.61","@material-ui/styles":"^4.10.0","@microsoft/fetch-event-source":"^2.0.1","dompurify":"^3.2.4","git-url-parse":"^15.0.0","lodash":"^4.17.21","react-helmet":"6.1.0","react-use":"^17.2.4"},"devDependencies":{"@backstage/cli":"workspace:*","@backstage/core-app-api":"workspace:*","@backstage/dev-utils":"workspace:*","@backstage/plugin-catalog":"workspace:*","@backstage/plugin-techdocs-module-addons-contrib":"workspace:*","@backstage/test-utils":"workspace:*","@testing-library/dom":"^10.0.0","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^16.0.0","@testing-library/user-event":"^14.0.0","@types/dompurify":"^3.0.0","@types/react":"^18.0.0","react":"^18.0.2","react-dom":"^18.0.2","react-router-dom":"^6.30.2"},"peerDependencies":{"@types/react":"^17.0.0 || ^18.0.0","react":"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^6.30.2"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"configSchema":"config.d.ts"}')}}]);
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["1749"],{98557(e,t,a){a.d(t,{M:()=>s});var l=a(31085),n=a(58837),r=a(71677),o=a(72501);let i=(0,n.A)({container:{overflow:"visible !important"},typo:{fontSize:"inherit",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":({line:e})=>e||1,"-webkit-box-orient":"vertical"}},{name:"BackstageOverflowTooltip"});function s(e){let t=i(e);return(0,l.jsx)(r.Ay,{title:e.title??(e.text||""),placement:e.placement,classes:e.tooltipClasses,children:(0,l.jsx)(o.A,{className:t.typo,variant:"inherit",children:e.text})})}},48266(e,t,a){a.d(t,{w:()=>S});var l=a(31085),n=a(77125),r=a(98552),o=a(94390),i=a(95061),s=a(41857),c=a(48543),d=a(26343),p=a(99489),f=a(7031),u=a(99703),m=a(58837),h=a(72501),y=a(92399),g=a(14041),x=a(10437);let b=(0,m.A)(e=>(0,u.A)({icon:{position:"absolute",right:e.spacing(.5),pointerEvents:"none",color:"#616161"}}),{name:"BackstageClosedDropdown"}),j=()=>{let e=b();return(0,l.jsx)(x.A,{className:e.icon,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M7.5 8L6 9.5L12.0703 15.5703L18.1406 9.5L16.6406 8L12.0703 12.5703L7.5 8Z",fill:"currentColor"})})},C=(0,m.A)(e=>(0,u.A)({icon:{position:"absolute",right:e.spacing(.5),pointerEvents:"none",color:"#616161"}}),{name:"BackstageOpenedDropdown"}),v=()=>{let e=C();return(0,l.jsx)(x.A,{className:e.icon,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M16.5 16L18 14.5L11.9297 8.42969L5.85938 14.5L7.35938 16L11.9297 11.4297L16.5 16Z",fill:"currentColor"})})},w=(0,f.A)(e=>(0,u.A)({root:{"label + &":{marginTop:e.spacing(3)},"&.Mui-focused > div[role=button]":{borderColor:e.palette.primary.main}},input:{borderRadius:e.shape.borderRadius,position:"relative",backgroundColor:e.palette.background.paper,border:"1px solid #ced4da",fontSize:e.typography.body1.fontSize,padding:e.spacing(1.25,3.25,1.25,1.5),transition:e.transitions.create(["border-color","box-shadow"]),"&:focus":{background:e.palette.background.paper,borderRadius:e.shape.borderRadius}}}),{name:"BackstageSelectInputBase"})(s.A),A=(0,m.A)(e=>(0,u.A)({formControl:{margin:e.spacing(1,0)},label:{transform:"initial",fontWeight:"bold",fontSize:e.typography.body2.fontSize,fontFamily:e.typography.fontFamily,color:e.palette.text.primary,"&.Mui-focused":{color:e.palette.text.primary}},formLabel:{transform:"initial",fontWeight:"bold",fontSize:e.typography.body2.fontSize,fontFamily:e.typography.fontFamily,color:e.palette.text.primary,"&.Mui-focused":{color:e.palette.text.primary}},chips:{display:"flex",flexWrap:"wrap"},chip:{margin:2},checkbox:{},root:{display:"flex",flexDirection:"column"}}),{name:"BackstageSelect"});function S(e){let{multiple:t,items:a,label:s,placeholder:f,selected:u,onChange:m,triggerReset:x,native:b=!1,disabled:C=!1,margin:S,"data-testid":k="select"}=e,R=A(),[E,L]=(0,g.useState)(u||(t?[]:"")),[T,O]=(0,g.useState)(!1);return(0,g.useEffect)(()=>{L(t?[]:"")},[x,t]),(0,g.useEffect)(()=>{L(u||(t?[]:""))},[u,t]),(0,l.jsx)(n.A,{className:R.root,children:(0,l.jsxs)(i.A,{className:R.formControl,children:[(0,l.jsx)(c.A,{className:R.formLabel,children:s}),(0,l.jsxs)(p.A,{"aria-label":s,value:E,native:b,disabled:C,"data-testid":k,displayEmpty:!0,multiple:t,margin:S,onChange:e=>{L(e.target.value),m(e.target.value)},open:T,onOpen:e=>{C?e.preventDefault():O(a=>!(!t||e.target instanceof HTMLElement)||!a)},onClose:()=>{O(!1)},input:(0,l.jsx)(w,{}),label:s,renderValue:e=>t&&0!==E.length?(0,l.jsx)(n.A,{className:R.chips,children:e.map(e=>{let t=a.find(t=>t.value===e);return!!t&&(0,l.jsx)(o.A,{"data-testid":"chip",label:t?.label,clickable:!0,deleteIcon:(0,l.jsx)(y.default,{"data-testid":"cancel-icon",onMouseDown:e=>e.stopPropagation()}),onDelete:()=>{let t=E.filter(t=>t!==e);L(t),m(t)},className:R.chip},t?.value)})}):(0,l.jsx)(h.A,{children:0===E.length?f||"":a.find(t=>t.value===e)?.label}),IconComponent:()=>T?(0,l.jsx)(v,{}):(0,l.jsx)(j,{}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},getContentAnchorEl:null},children:[!!f&&!t&&(0,l.jsx)(d.A,{value:[],children:f}),b?a&&a.map(e=>(0,l.jsx)("option",{value:e.value,children:e.label},e.value)):a&&a.map(e=>(0,l.jsxs)(d.A,{value:e.value,children:[t&&(0,l.jsx)(r.A,{color:"primary",checked:E.includes(e.value)||!1,className:R.checkbox}),e.label]},e.value))]})]})})}},28499(e,t,a){a.d(t,{X:()=>U});var l=a(31085),n=a(89595),r=a(25301),o=a(77125),i=a(29365),s=a(7031),c=a(58837),d=a(54917),p=a(72501),f=a(83313),u=a(89019),m=a(62461),h=a(68887),y=a(63798),g=a(64704),x=a(6774),b=a(75625),j=a(65859),C=a(45917),v=a(5416),w=a(33494),A=a(80113),S=a(26229),k=a(46802),R=a(45250),E=a(14041),L=a(89332),T=a(64947),O=a(48266);let M=(0,c.A)(e=>({root:{height:"100%",width:"315px",display:"flex",flexDirection:"column",marginRight:e.spacing(3)},value:{fontWeight:"bold",fontSize:18},header:{display:"flex",alignItems:"center",height:e.spacing(7.5),justifyContent:"space-between",borderBottom:`1px solid ${e.palette.grey[500]}`},filters:{display:"flex",flexDirection:"column","& > *":{marginTop:e.spacing(2)}}}),{name:"BackstageTableFilters"}),D=e=>{let t=M(),{onChangeFilters:a}=e,{t:r}=(0,n.i)(L.O),[i,s]=(0,E.useState)({...e.selectedFilters}),[c,d]=(0,E.useState)(!1);return(0,E.useEffect)(()=>{a(i)},[i,a]),(0,l.jsxs)(o.A,{className:t.root,children:[(0,l.jsxs)(o.A,{className:t.header,children:[(0,l.jsx)(o.A,{className:t.value,children:r("table.filter.title")}),(0,l.jsx)(T.A,{color:"primary",onClick:()=>{s({}),d(e=>!e)},children:r("table.filter.clearAll")})]}),(0,l.jsx)(o.A,{className:t.filters,children:e.filters?.length&&e.filters.map(e=>(0,l.jsx)(O.w,{triggerReset:c,...e.element,selected:i[e.element.label],onChange:t=>s({...i,[e.element.label]:t})},e.element.label))})]})};var N=a(78467);function B(e){return(0,l.jsx)("tbody",{"data-testid":"loading-indicator",children:(0,l.jsx)("tr",{children:(0,l.jsx)("td",{colSpan:e.colSpan,children:(0,l.jsx)(o.A,{sx:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",minHeight:"15rem"},children:(0,l.jsx)(N.A,{size:"5rem"})})})})})}let z={Add:(0,E.forwardRef)((e,t)=>(0,l.jsx)(f.default,{...e,ref:t})),Check:(0,E.forwardRef)((e,t)=>(0,l.jsx)(m.default,{...e,ref:t})),Clear:(0,E.forwardRef)((e,t)=>(0,l.jsx)(g.default,{...e,ref:t})),Delete:(0,E.forwardRef)((e,t)=>(0,l.jsx)(x.default,{...e,ref:t})),DetailPanel:(0,E.forwardRef)((e,t)=>(0,l.jsx)(y.default,{...e,ref:t})),Edit:(0,E.forwardRef)((e,t)=>(0,l.jsx)(b.default,{...e,ref:t})),Export:(0,E.forwardRef)((e,t)=>(0,l.jsx)(S.default,{...e,ref:t})),Filter:(0,E.forwardRef)((e,t)=>(0,l.jsx)(j.default,{...e,ref:t})),FirstPage:(0,E.forwardRef)((e,t)=>(0,l.jsx)(v.default,{...e,ref:t})),LastPage:(0,E.forwardRef)((e,t)=>(0,l.jsx)(w.default,{...e,ref:t})),NextPage:(0,E.forwardRef)((e,t)=>(0,l.jsx)(y.default,{...e,ref:t})),PreviousPage:(0,E.forwardRef)((e,t)=>(0,l.jsx)(h.default,{...e,ref:t})),ResetSearch:(0,E.forwardRef)((e,t)=>(0,l.jsx)(g.default,{...e,ref:t})),Search:(0,E.forwardRef)((e,t)=>(0,l.jsx)(C.default,{...e,ref:t})),SortArrow:(0,E.forwardRef)((e,t)=>(0,l.jsx)(u.default,{...e,ref:t})),ThirdStateCheck:(0,E.forwardRef)((e,t)=>(0,l.jsx)(A.default,{...e,ref:t})),ViewColumn:(0,E.forwardRef)((e,t)=>(0,l.jsx)(k.default,{...e,ref:t}))};function K(e,t){let a=t.split("."),l=e[a[0]];for(let e=1;e<a.length&&void 0!==l;++e)l=l[a[e]];return l}let W=(0,s.A)(e=>({header:{padding:e.spacing(1,2,1,2.5),borderTop:`1px solid ${e.palette.grey.A100}`,borderBottom:`1px solid ${e.palette.grey.A100}`,fontWeight:e.typography.fontWeightBold,position:"static",wordBreak:"normal",textTransform:"uppercase"}}),{name:"BackstageTableHeader"})(r.MTableHeader),F=(0,s.A)(e=>({root:{padding:e.spacing(3,0,2.5,2.5)},title:{"& > h6":{fontWeight:e.typography.fontWeightBold}},searchField:{paddingRight:e.spacing(2)}}),{name:"BackstageTableToolbar"})(r.MTableToolbar),I=(0,c.A)(e=>({root:{display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap"},title:{fontWeight:e.typography.fontWeightBold,fontSize:18,whiteSpace:"nowrap"}}),{name:"BackstageTableFiltersContainer"}),H=(0,c.A)(()=>({root:{display:"flex",alignItems:"start"}}),{name:"BackstageTable"}),P={search:"",filtersOpen:!1,filters:{}};function $(e){let{toolbarRef:t,setSearch:a,hasFilters:r,selectedFiltersLength:s,toggleFilters:c}=e,{t:d}=(0,n.i)(L.O),f=I(),u=(0,E.useCallback)(t=>{e.onSearchChanged(t),a(t)},[e,a]);return r?(0,l.jsxs)(o.A,{className:f.root,children:[(0,l.jsxs)(o.A,{className:f.root,children:[(0,l.jsx)(i.A,{onClick:c,"aria-label":"filter list",children:(0,l.jsx)(j.default,{})}),(0,l.jsxs)(p.A,{className:f.title,children:[d("table.filter.title")," (",s,")"]})]}),(0,l.jsx)(F,{...e,ref:t,onSearchChanged:u})]}):(0,l.jsx)(F,{...e,ref:t,onSearchChanged:u})}function U(e){var t,a,i,s;let{data:c,columns:f,emptyContent:u,options:m,title:h,subtitle:y,localization:g,filters:x,initialState:b,onStateChange:j,components:C,isLoading:v,style:w,...A}=e,{t:S}=(0,n.i)(L.O),k=H(),T=(0,d.A)(),O={...P,...b},[M,N]=(0,E.useState)(O.filtersOpen),F=(0,E.useCallback)(()=>N(e=>!e),[N]),[I,U]=(0,E.useState)(O.filters),[_,Q]=(0,E.useState)(O.search);(0,E.useEffect)(()=>{if(j){var e;j((e={search:_,filtersOpen:M,filters:I},(0,R.transform)(e,(e,t,a)=>{(0,R.isEqual)(t,P[a])||(e[a]=t)})))}},[_,M,I,j]);let X=(0,E.useCallback)(e=>f.find(t=>t.title===e)?.field,[f]),J=(0,E.useMemo)(()=>{if("function"==typeof c||!I)return c;let e=Object.values(I);return c&&e.flat().length?c.filter(e=>!!Object.entries(I).filter(([,e])=>!!e.length).every(([t,a])=>{let l=K(e,X(t));return Array.isArray(l)&&Array.isArray(a)?l.some(e=>a.includes(e)):Array.isArray(l)?l.includes(a):Array.isArray(a)?a.includes(l):l===a})):c},[c,I,X]),Z=Object.values(I).flat().length,V=!!x?.length,q=(0,E.useCallback)(e=>(0,l.jsx)($,{setSearch:Q,hasFilters:V,selectedFiltersLength:Z,toggleFilters:F,...e}),[F,V,Z,Q]),G="function"!=typeof c&&0===c.length,Y=f.length,ee=(0,E.useMemo)(()=>(function({columnCount:e,emptyContent:t,hasNoRows:a,loading:n}){return o=>n?(0,l.jsx)(B,{colSpan:e}):t&&a?(0,l.jsx)("tbody",{children:(0,l.jsx)("tr",{children:(0,l.jsx)("td",{colSpan:e,children:t})})}):(0,l.jsx)(r.MTableBody,{...o})})({hasNoRows:G,emptyContent:u,columnCount:Y,loading:v}),[G,u,Y,v]);return(0,l.jsxs)(o.A,{className:k.root,children:[M&&c&&"function"!=typeof c&&x?.length&&(0,l.jsx)(D,{filters:(t=x,a=c,i=f,s=S,t.map(e=>{var t;let l,n;return{type:e.type,element:{placeholder:s("table.filter.placeholder"),label:e.column,multiple:"multiple-select"===e.type,items:[...(t=e.column,l=new Set,n=e=>{null!=e&&l.add(e)},a&&a.forEach(e=>{let a=K(e,i.find(e=>e.title===t)?.field);Array.isArray(a)?a.forEach(n):n(a)}),l)].sort().map(e=>({label:e,value:e}))}}})),selectedFilters:I,onChangeFilters:U}),(0,l.jsx)(r.default,{components:{Header:W,Body:ee,Toolbar:q,...C},options:m,columns:f.map(e=>{let t=e.headerStyle??{},a=e.cellStyle||{};if(e.highlight)if(t.color=T.palette.textContrast,"object"==typeof a)a.fontWeight=T.typography.fontWeightBold;else{let e=a;a=(t,a,l)=>({...e(t,a,l),fontWeight:T.typography.fontWeightBold})}return{...e,headerStyle:t,cellStyle:a}}),icons:z,title:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(p.A,{variant:"h5",component:"h2",children:h}),y&&(0,l.jsx)(p.A,{color:"textSecondary",variant:"body1",children:y})]}),data:J,style:{width:"100%",...w},localization:{...g,body:{emptyDataSourceMessage:S("table.body.emptyDataSourceMessage"),...g?.body},pagination:{firstTooltip:S("table.pagination.firstTooltip"),labelDisplayedRows:S("table.pagination.labelDisplayedRows"),labelRowsSelect:S("table.pagination.labelRowsSelect"),lastTooltip:S("table.pagination.lastTooltip"),nextTooltip:S("table.pagination.nextTooltip"),previousTooltip:S("table.pagination.previousTooltip"),...g?.pagination},header:{actions:S("table.header.actions"),...g?.header},toolbar:{searchPlaceholder:S("table.toolbar.search"),searchTooltip:S("table.toolbar.search"),...g?.toolbar}},...A})]})}U.icons=Object.freeze(z)},7537(e,t,a){a.d(t,{S:()=>o,Z:()=>i});var l=a(11773),n=a(46123),r=a.n(n);function o(e,t){let a,n,r,o=t?.defaultKind;return"metadata"in e?(a=e.kind,n=e.metadata.namespace,r=e.metadata.name):(a=e.kind,n=e.namespace,r=e.name),(void 0===n||""===n)&&(n=l.oQ),t?.defaultNamespace!==void 0?t?.defaultNamespace===n&&(n=void 0):n===l.oQ&&(n=void 0),a=a.toLocaleLowerCase("en-US"),a=o&&o.toLocaleLowerCase("en-US")===a?void 0:a,`${a?`${a}:`:""}${n?`${n}/`:""}${r}`}function i(e,t){for(let t of["spec.profile.displayName","metadata.title"]){let a=r()(e,t);if(a&&"string"==typeof a)return a}return t}},65671(e,t,a){a.d(t,{s:()=>g});var l=a(31085),n=a(58837),r=a(96403),o=a(98557),i=a(53320),s=a(7537),c=a(3438),d=a(53987),p=a(19857);let f=Object.freeze({createEntityRefColumn(e){let{defaultKind:t}=e;function a(e){return e.metadata?.title||(0,s.S)(e,{defaultKind:t})}return{title:(0,l.jsx)(p.g,{translationKey:"name"}),highlight:!0,customFilterAndSearch:(e,t)=>a(t).includes(e),customSort:(e,t)=>a(e).localeCompare(a(t)),render:e=>(0,l.jsx)(c.z,{entityRef:e,defaultKind:t,title:e.metadata?.title})}},createEntityRelationColumn(e){let{title:t,relation:a,defaultKind:n,filter:r}=e;function o(e){return(0,i.t)(e,a,r)}function c(e){return o(e).map(e=>(0,s.S)(e,{defaultKind:n})).join(", ")}return{title:t,customFilterAndSearch:(e,t)=>c(t).includes(e),customSort:(e,t)=>c(e).localeCompare(c(t)),render:e=>(0,l.jsx)(d.i,{entityRefs:o(e),defaultKind:n})}},createOwnerColumn(){return this.createEntityRelationColumn({title:(0,l.jsx)(p.g,{translationKey:"owner"}),relation:r.vv,defaultKind:"group"})},createDomainColumn(){return this.createEntityRelationColumn({title:(0,l.jsx)(p.g,{translationKey:"domain"}),relation:"partOf",defaultKind:"domain",filter:{kind:"domain"}})},createSystemColumn(){return this.createEntityRelationColumn({title:(0,l.jsx)(p.g,{translationKey:"system"}),relation:"partOf",defaultKind:"system",filter:{kind:"system"}})},createMetadataDescriptionColumn:()=>({title:(0,l.jsx)(p.g,{translationKey:"description"}),field:"metadata.description",render:e=>(0,l.jsx)(o.M,{text:e.metadata.description,placement:"bottom-start",line:2})}),createSpecLifecycleColumn:()=>({title:(0,l.jsx)(p.g,{translationKey:"lifecycle"}),field:"spec.lifecycle"}),createSpecTypeColumn:()=>({title:(0,l.jsx)(p.g,{translationKey:"type"}),field:"spec.type"})}),u=[f.createEntityRefColumn({defaultKind:"system"}),f.createDomainColumn(),f.createOwnerColumn(),f.createMetadataDescriptionColumn()],m=[f.createEntityRefColumn({defaultKind:"component"}),f.createSystemColumn(),f.createOwnerColumn(),f.createSpecTypeColumn(),f.createSpecLifecycleColumn(),f.createMetadataDescriptionColumn()];var h=a(28499);let y=(0,n.A)(e=>({empty:{padding:e.spacing(2),display:"flex",justifyContent:"center"}})),g=e=>{let{entities:t,title:a,emptyContent:n,variant:r="gridItem",columns:o,tableOptions:i={}}=e,s=y(),c={minWidth:"0",width:"100%"};return"gridItem"===r&&(c.height="calc(100% - 10px)"),(0,l.jsx)(h.X,{columns:o,title:a,style:c,emptyContent:n&&(0,l.jsx)("div",{className:s.empty,children:n}),options:{search:!1,paging:!1,actionsColumnIndex:-1,padding:"dense",draggable:!1,...i},data:t})};g.columns=f,g.systemEntityColumns=u,g.componentEntityColumns=m},19857(e,t,a){a.d(t,{g:()=>r});var l=a(89595),n=a(79811);let r=({translationKey:e})=>{let{t}=(0,l.i)(n.j);return t(`entityTableColumnTitle.${e}`)}},7396(e,t,a){a.d(t,{DependsOnComponentsCard:()=>c});var l=a(31085),n=a(96403),r=a(79842),o=a(64334),i=a(50010),s=a(89595);function c(e){let{t}=(0,s.i)(i.W),{variant:a="gridItem",title:c=t("dependsOnComponentsCard.title"),columns:d=r.mz,tableOptions:p={}}=e;return(0,l.jsx)(o.p,{variant:a,title:c,entityKind:"Component",relationType:n.nC,columns:d,emptyMessage:t("dependsOnComponentsCard.emptyMessage"),emptyHelpLink:r.e2,asRenderableEntities:r.xJ,tableOptions:p})}},64334(e,t,a){a.d(t,{p:()=>x});var l=a(31085),n=a(72501),r=a(22845),o=a(58077),i=a(50509),s=a(73466),c=a(76272),d=a(65671),p=a(89439),f=a(55489),u=a(97673),m=a(60603),h=a(79842),y=a(50010),g=a(89595);let x=e=>{let{variant:t="gridItem",title:a,columns:h,entityKind:x,relationType:b,emptyMessage:j,emptyHelpLink:C,asRenderableEntities:v,tableOptions:w={}}=e,{t:A}=(0,g.i)(y.W),{entity:S}=(0,r.tN)(),{entities:k,loading:R,error:E}=function(e,t){let a=t?.type?.toLocaleLowerCase("en-US"),l=t?.kind?.toLocaleLowerCase("en-US"),n=(0,i.gf)(c.v),{loading:r,value:d,error:p}=(0,s.A)(async()=>{let t=e.relations?.filter(e=>(!a||e.type.toLocaleLowerCase("en-US")===a)&&(!l||(0,o.KU)(e.targetRef).kind===l));if(!t?.length)return[];let{items:r}=await n.getEntitiesByRefs({entityRefs:t.map(e=>e.targetRef)});return r.filter(e=>!!e)},[e,a,l]);return{entities:d,loading:r,error:p}}(S,{type:b,kind:x});return R?(0,l.jsx)(p.n,{variant:t,title:a,children:(0,l.jsx)(f.k,{})}):E?(0,l.jsx)(p.n,{variant:t,title:a,children:(0,l.jsx)(u._,{error:E})}):(0,l.jsx)(d.s,{title:a,variant:t,emptyContent:(0,l.jsxs)("div",{style:{textAlign:"center"},children:[(0,l.jsx)(n.A,{variant:"body1",children:j}),(0,l.jsx)(n.A,{variant:"body2",children:(0,l.jsx)(m.N_,{to:C,externalLinkIcon:!0,children:A("relatedEntitiesCard.emptyHelpLinkTitle")})})]}),columns:h,entities:v(k||[]),tableOptions:w})};x.componentEntityColumns=h.mz,x.componentEntityHelpLink=h.e2,x.asComponentEntities=h.xJ,x.resourceEntityColumns=h.v9,x.resourceEntityHelpLink=h.nz,x.asResourceEntities=h.eB,x.systemEntityColumns=h.MW,x.systemEntityHelpLink=h.iU,x.asSystemEntities=h.vy,x.domainEntityColums=h.xO,x.domainEntityHelpLink=h.Xr,x.asDomainEntities=h.QS},79842(e,t,a){a.d(t,{MW:()=>d,QS:()=>h,Xr:()=>m,e2:()=>r,eB:()=>c,iU:()=>p,mz:()=>n,nz:()=>s,v9:()=>i,vy:()=>f,xJ:()=>o,xO:()=>u});var l=a(65671);let n=[l.s.columns.createEntityRefColumn({defaultKind:"component"}),l.s.columns.createOwnerColumn(),l.s.columns.createSpecTypeColumn(),l.s.columns.createSpecLifecycleColumn(),l.s.columns.createMetadataDescriptionColumn()],r="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-component",o=e=>e,i=[l.s.columns.createEntityRefColumn({defaultKind:"resource"}),l.s.columns.createOwnerColumn(),l.s.columns.createSpecTypeColumn(),l.s.columns.createSpecLifecycleColumn(),l.s.columns.createMetadataDescriptionColumn()],s="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-resource",c=e=>e,d=[l.s.columns.createEntityRefColumn({defaultKind:"system"}),l.s.columns.createOwnerColumn(),l.s.columns.createMetadataDescriptionColumn()],p="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system",f=e=>e,u=[l.s.columns.createEntityRefColumn({defaultKind:"domain"}),l.s.columns.createOwnerColumn(),l.s.columns.createMetadataDescriptionColumn()],m="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-domain",h=e=>e}}]);
2
+ //# sourceMappingURL=1749.33bcf093.chunk.js.map