@aglyn/plugins-marketplace 1.20.2 → 1.21.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 +15 -15
- package/src/lib/components/listing-content.component.js +9 -2
- package/src/lib/components/listing-content.component.js.map +1 -1
- package/src/lib/model/editor-connections.js +2 -1
- package/src/lib/model/editor-connections.js.map +1 -1
- package/src/lib/model/marketplace.d.ts +25 -1
- package/src/lib/model/marketplace.js +45 -9
- package/src/lib/model/marketplace.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aglyn/plugins-marketplace",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "https://aglyn.com",
|
|
6
6
|
"repository": {
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"./package.json": "./package.json"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aglyn/aglyn": "1.
|
|
29
|
-
"@aglyn/aglyn-markdown-editor": "1.
|
|
30
|
-
"@aglyn/shared-data-enums": "1.
|
|
31
|
-
"@aglyn/shared-data-mdi": "1.
|
|
32
|
-
"@aglyn/shared-ui-jsx": "1.
|
|
33
|
-
"@aglyn/shared-ui-next": "1.
|
|
34
|
-
"@aglyn/shared-ui-snackstack": "1.
|
|
35
|
-
"@aglyn/shared-util-email": "1.
|
|
36
|
-
"@aglyn/shared-util-http": "1.
|
|
37
|
-
"@aglyn/shared-util-timestamp": "1.
|
|
38
|
-
"@aglyn/shared-util-tools": "1.
|
|
39
|
-
"@aglyn/tenant-data-admin": "1.
|
|
40
|
-
"@aglyn/tenant-feature-instance": "1.
|
|
41
|
-
"@aglyn/tenant-runtime": "1.
|
|
28
|
+
"@aglyn/aglyn": "1.21.0",
|
|
29
|
+
"@aglyn/aglyn-markdown-editor": "1.21.0",
|
|
30
|
+
"@aglyn/shared-data-enums": "1.21.0",
|
|
31
|
+
"@aglyn/shared-data-mdi": "1.21.0",
|
|
32
|
+
"@aglyn/shared-ui-jsx": "1.21.0",
|
|
33
|
+
"@aglyn/shared-ui-next": "1.21.0",
|
|
34
|
+
"@aglyn/shared-ui-snackstack": "1.21.0",
|
|
35
|
+
"@aglyn/shared-util-email": "1.21.0",
|
|
36
|
+
"@aglyn/shared-util-http": "1.21.0",
|
|
37
|
+
"@aglyn/shared-util-timestamp": "1.21.0",
|
|
38
|
+
"@aglyn/shared-util-tools": "1.21.0",
|
|
39
|
+
"@aglyn/tenant-data-admin": "1.21.0",
|
|
40
|
+
"@aglyn/tenant-feature-instance": "1.21.0",
|
|
41
|
+
"@aglyn/tenant-runtime": "1.21.0",
|
|
42
42
|
"@swc/helpers": "0.5.23"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
@@ -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
|
}),
|