@aglyn/plugins-marketplace 1.20.3 → 1.22.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aglyn/plugins-marketplace",
3
- "version": "1.20.3",
3
+ "version": "1.22.0",
4
4
  "license": "Apache-2.0",
5
5
  "homepage": "https://aglyn.com",
6
6
  "repository": {
@@ -25,21 +25,21 @@
25
25
  "./package.json": "./package.json"
26
26
  },
27
27
  "dependencies": {
28
- "@aglyn/aglyn": "1.20.3",
29
- "@aglyn/aglyn-markdown-editor": "1.20.3",
30
- "@aglyn/shared-data-enums": "1.20.3",
31
- "@aglyn/shared-data-mdi": "1.20.3",
32
- "@aglyn/shared-ui-jsx": "1.20.3",
33
- "@aglyn/shared-ui-next": "1.20.3",
34
- "@aglyn/shared-ui-snackstack": "1.20.3",
35
- "@aglyn/shared-util-email": "1.20.3",
36
- "@aglyn/shared-util-http": "1.20.3",
37
- "@aglyn/shared-util-timestamp": "1.20.3",
38
- "@aglyn/shared-util-tools": "1.20.3",
39
- "@aglyn/tenant-data-admin": "1.20.3",
40
- "@aglyn/tenant-feature-instance": "1.20.3",
41
- "@aglyn/tenant-runtime": "1.20.3",
42
- "@swc/helpers": "0.5.23"
28
+ "@aglyn/aglyn": "1.22.0",
29
+ "@aglyn/aglyn-markdown-editor": "1.22.0",
30
+ "@aglyn/shared-data-enums": "1.22.0",
31
+ "@aglyn/shared-data-mdi": "1.22.0",
32
+ "@aglyn/shared-ui-jsx": "1.22.0",
33
+ "@aglyn/shared-ui-next": "1.22.0",
34
+ "@aglyn/shared-ui-snackstack": "1.22.0",
35
+ "@aglyn/shared-util-email": "1.22.0",
36
+ "@aglyn/shared-util-http": "1.22.0",
37
+ "@aglyn/shared-util-timestamp": "1.22.0",
38
+ "@aglyn/shared-util-tools": "1.22.0",
39
+ "@aglyn/tenant-data-admin": "1.22.0",
40
+ "@aglyn/tenant-feature-instance": "1.22.0",
41
+ "@aglyn/tenant-runtime": "1.22.0",
42
+ "@swc/helpers": "0.5.24"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@mui/material": "^9.3.1",
@@ -1047,6 +1047,12 @@ export function ListingReadme({ readme }) {
1047
1047
  orgPin: !listingId ? null : orgId ? orgPinRead : orgIdProp || !hostOrg.loaded ? 'pending' : null,
1048
1048
  sitePins: orgTargeting ? sitePinsFailed ? 'failed' : sitePinsFor === `${listingId}:${hostIdsKey}` ? 'answered' : 'loading' : !hostPinRead.data && (hostPinRead.status === 'loading' || hostPinRead.fromCache === true) ? 'loading' : 'answered'
1049
1049
  });
1050
+ /**
1051
+ * The Install to choice the card offers right now, which the `What's
1052
+ * included` reach row describes so the two never disagree. With no picker
1053
+ * on screen (installed, or nothing to choose), the row keeps the artifact's
1054
+ * All sites reach.
1055
+ */ const includedReach = pinsPhase !== 'ready' || installed ? 'all' : orgTargeting && !(orgPluginScope && orgInstall.installedAnywhere) ? installChoice.mode : installTargets.length > 1 && installScope === 'host' ? 'thisSite' : 'all';
1050
1056
  /** Run a pin write, then re-read every site's pin. */ const runSiteEdit = async (work)=>{
1051
1057
  try {
1052
1058
  await work();
@@ -1426,7 +1432,8 @@ export function ListingReadme({ readme }) {
1426
1432
  listingInclusions(listing != null ? listing : {}, {
1427
1433
  reviewedVersion: (listing == null ? void 0 : listing.latestVersionReviewState) === 'approved',
1428
1434
  realmTrusted: (latestEntry == null ? void 0 : latestEntry.trust) === 'realm',
1429
- connections: (_ref9 = latestEntry == null ? void 0 : latestEntry.connections) != null ? _ref9 : []
1435
+ connections: (_ref9 = latestEntry == null ? void 0 : latestEntry.connections) != null ? _ref9 : [],
1436
+ installTo: includedReach
1430
1437
  }).map((row)=>/*#__PURE__*/ _jsxs(Stack, {
1431
1438
  direction: "row",
1432
1439
  spacing: 1,
@@ -1435,7 +1442,7 @@ export function ListingReadme({ readme }) {
1435
1442
  },
1436
1443
  children: [
1437
1444
  /*#__PURE__*/ _jsx(MdiIcon, {
1438
- path: row.tone === 'included' ? mdiCheckCircleOutline : mdiInformationOutline,
1445
+ path: row.tone === 'included' ? mdiCheckCircleOutline.path : mdiInformationOutline.path,
1439
1446
  size: 0.8,
1440
1447
  color: row.tone === 'included' ? 'success' : 'disabled'
1441
1448
  }),