@aglyn/plugins-marketplace 1.0.0-beta.145 → 1.0.0-beta.146
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 +11 -11
- package/src/lib/components/marketplace-payments-notice.component.d.ts +39 -0
- package/src/lib/components/marketplace-payments-notice.component.js +71 -0
- package/src/lib/components/marketplace-payments-notice.component.js.map +1 -0
- package/src/lib/plugin.js +12 -0
- package/src/lib/plugin.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aglyn/plugins-marketplace",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.146",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "https://aglyn.com",
|
|
6
6
|
"repository": {
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
"./package.json": "./package.json"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aglyn/aglyn": "1.0.0-beta.
|
|
29
|
-
"@aglyn/shared-data-mdi": "1.0.0-beta.
|
|
30
|
-
"@aglyn/shared-ui-jsx": "1.0.0-beta.
|
|
31
|
-
"@aglyn/shared-ui-next": "1.0.0-beta.
|
|
32
|
-
"@aglyn/shared-ui-snackstack": "1.0.0-beta.
|
|
33
|
-
"@aglyn/shared-util-email": "1.0.0-beta.
|
|
34
|
-
"@aglyn/shared-util-http": "1.0.0-beta.
|
|
35
|
-
"@aglyn/tenant-data-admin": "1.0.0-beta.
|
|
36
|
-
"@aglyn/tenant-feature-instance": "1.0.0-beta.
|
|
37
|
-
"@aglyn/tenant-runtime": "1.0.0-beta.
|
|
28
|
+
"@aglyn/aglyn": "1.0.0-beta.146",
|
|
29
|
+
"@aglyn/shared-data-mdi": "1.0.0-beta.146",
|
|
30
|
+
"@aglyn/shared-ui-jsx": "1.0.0-beta.146",
|
|
31
|
+
"@aglyn/shared-ui-next": "1.0.0-beta.146",
|
|
32
|
+
"@aglyn/shared-ui-snackstack": "1.0.0-beta.146",
|
|
33
|
+
"@aglyn/shared-util-email": "1.0.0-beta.146",
|
|
34
|
+
"@aglyn/shared-util-http": "1.0.0-beta.146",
|
|
35
|
+
"@aglyn/tenant-data-admin": "1.0.0-beta.146",
|
|
36
|
+
"@aglyn/tenant-feature-instance": "1.0.0-beta.146",
|
|
37
|
+
"@aglyn/tenant-runtime": "1.0.0-beta.146",
|
|
38
38
|
"@swc/helpers": "0.5.23"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Says, BEFORE the click, that this deployment cannot take marketplace
|
|
19
|
+
* payments (AGL-2019) — and nothing at all when it can.
|
|
20
|
+
*
|
|
21
|
+
* `release_marketplace` defaults ON, so a fresh self-host install shows the
|
|
22
|
+
* full Marketplace — browse, listing pages, a Buy button, a publisher payout
|
|
23
|
+
* panel — all of it backed by AGLYN'S Stripe Connect platform, which the
|
|
24
|
+
* operator does not have and cannot get. Nothing was hidden or disabled ahead
|
|
25
|
+
* of the click, and the explanation arrived only afterwards, as a snackbar
|
|
26
|
+
* that then vanished.
|
|
27
|
+
*
|
|
28
|
+
* ⚠️ `severity="info"`, NOT `error` or `warning`. This is the console half of
|
|
29
|
+
* the same rule the storefront cart now follows: an unconfigured deployment
|
|
30
|
+
* has not failed at anything. `warning` would read as "something is wrong with
|
|
31
|
+
* your install" to an operator who has simply not set up a feature they may
|
|
32
|
+
* not want. Nothing here is broken.
|
|
33
|
+
*
|
|
34
|
+
* Why a notice rather than hiding the Marketplace: browsing and free installs
|
|
35
|
+
* genuinely work without Stripe, and they are most of what the marketplace is
|
|
36
|
+
* for. Hiding the tab would remove working functionality to avoid explaining
|
|
37
|
+
* one that is off — so the text leads with what still works.
|
|
38
|
+
*/
|
|
39
|
+
export default function MarketplacePaymentsNotice(): import("react").JSX.Element;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ 'use client';
|
|
17
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
|
+
import { useDeploymentCapabilities } from "@aglyn/aglyn";
|
|
19
|
+
import { operatorMarketplaceNotConfiguredText, operatorPaymentsNotConfiguredText } from "@aglyn/aglyn/app-utils/payments-configured";
|
|
20
|
+
import Alert from "@mui/material/Alert";
|
|
21
|
+
import AlertTitle from "@mui/material/AlertTitle";
|
|
22
|
+
/**
|
|
23
|
+
* Says, BEFORE the click, that this deployment cannot take marketplace
|
|
24
|
+
* payments (AGL-2019) — and nothing at all when it can.
|
|
25
|
+
*
|
|
26
|
+
* `release_marketplace` defaults ON, so a fresh self-host install shows the
|
|
27
|
+
* full Marketplace — browse, listing pages, a Buy button, a publisher payout
|
|
28
|
+
* panel — all of it backed by AGLYN'S Stripe Connect platform, which the
|
|
29
|
+
* operator does not have and cannot get. Nothing was hidden or disabled ahead
|
|
30
|
+
* of the click, and the explanation arrived only afterwards, as a snackbar
|
|
31
|
+
* that then vanished.
|
|
32
|
+
*
|
|
33
|
+
* ⚠️ `severity="info"`, NOT `error` or `warning`. This is the console half of
|
|
34
|
+
* the same rule the storefront cart now follows: an unconfigured deployment
|
|
35
|
+
* has not failed at anything. `warning` would read as "something is wrong with
|
|
36
|
+
* your install" to an operator who has simply not set up a feature they may
|
|
37
|
+
* not want. Nothing here is broken.
|
|
38
|
+
*
|
|
39
|
+
* Why a notice rather than hiding the Marketplace: browsing and free installs
|
|
40
|
+
* genuinely work without Stripe, and they are most of what the marketplace is
|
|
41
|
+
* for. Hiding the tab would remove working functionality to avoid explaining
|
|
42
|
+
* one that is off — so the text leads with what still works.
|
|
43
|
+
*/ export default function MarketplacePaymentsNotice() {
|
|
44
|
+
/*
|
|
45
|
+
* The deployment's own answer (AGL-3080), not this plugin's. The key is a
|
|
46
|
+
* server-only secret and a plugin has no way to read an environment at
|
|
47
|
+
* all; the console's org layout reads it before any JavaScript ships and
|
|
48
|
+
* hands it down, so this notice is here on the first paint rather than
|
|
49
|
+
* after a round trip the reader has already clicked past.
|
|
50
|
+
*
|
|
51
|
+
* It defaults to CONFIGURED when nobody provided it, which is the safe way
|
|
52
|
+
* round: a surface mounted outside the provider — a test harness, a widget
|
|
53
|
+
* in a zone — would otherwise put a permanent "not configured" banner on a
|
|
54
|
+
* console whose Stripe platform is working.
|
|
55
|
+
*/ const { payments } = useDeploymentCapabilities();
|
|
56
|
+
if (payments) return null;
|
|
57
|
+
return /*#__PURE__*/ _jsxs(Alert, {
|
|
58
|
+
severity: "info",
|
|
59
|
+
sx: {
|
|
60
|
+
mb: 2
|
|
61
|
+
},
|
|
62
|
+
children: [
|
|
63
|
+
/*#__PURE__*/ _jsx(AlertTitle, {
|
|
64
|
+
children: 'Payments are not configured'
|
|
65
|
+
}),
|
|
66
|
+
`${operatorMarketplaceNotConfiguredText()} ${operatorPaymentsNotConfiguredText()}`
|
|
67
|
+
]
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
//# sourceMappingURL=marketplace-payments-notice.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/plugins/marketplace/src/lib/components/marketplace-payments-notice.component.tsx"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\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\n'use client'\n\nimport { useDeploymentCapabilities } from '@aglyn/aglyn'\nimport {\n operatorMarketplaceNotConfiguredText,\n operatorPaymentsNotConfiguredText,\n} from '@aglyn/aglyn/app-utils/payments-configured'\nimport Alert from '@mui/material/Alert'\nimport AlertTitle from '@mui/material/AlertTitle'\n\n/**\n * Says, BEFORE the click, that this deployment cannot take marketplace\n * payments (AGL-2019) — and nothing at all when it can.\n *\n * `release_marketplace` defaults ON, so a fresh self-host install shows the\n * full Marketplace — browse, listing pages, a Buy button, a publisher payout\n * panel — all of it backed by AGLYN'S Stripe Connect platform, which the\n * operator does not have and cannot get. Nothing was hidden or disabled ahead\n * of the click, and the explanation arrived only afterwards, as a snackbar\n * that then vanished.\n *\n * ⚠️ `severity=\"info\"`, NOT `error` or `warning`. This is the console half of\n * the same rule the storefront cart now follows: an unconfigured deployment\n * has not failed at anything. `warning` would read as \"something is wrong with\n * your install\" to an operator who has simply not set up a feature they may\n * not want. Nothing here is broken.\n *\n * Why a notice rather than hiding the Marketplace: browsing and free installs\n * genuinely work without Stripe, and they are most of what the marketplace is\n * for. Hiding the tab would remove working functionality to avoid explaining\n * one that is off — so the text leads with what still works.\n */\nexport default function MarketplacePaymentsNotice() {\n /*\n * The deployment's own answer (AGL-3080), not this plugin's. The key is a\n * server-only secret and a plugin has no way to read an environment at\n * all; the console's org layout reads it before any JavaScript ships and\n * hands it down, so this notice is here on the first paint rather than\n * after a round trip the reader has already clicked past.\n *\n * It defaults to CONFIGURED when nobody provided it, which is the safe way\n * round: a surface mounted outside the provider — a test harness, a widget\n * in a zone — would otherwise put a permanent \"not configured\" banner on a\n * console whose Stripe platform is working.\n */\n const { payments } = useDeploymentCapabilities()\n if (payments) return null\n return (\n <Alert severity=\"info\" sx={{ mb: 2 }}>\n <AlertTitle>{'Payments are not configured'}</AlertTitle>\n {`${operatorMarketplaceNotConfiguredText()} ${operatorPaymentsNotConfiguredText()}`}\n </Alert>\n )\n}\n"],"names":["useDeploymentCapabilities","operatorMarketplaceNotConfiguredText","operatorPaymentsNotConfiguredText","Alert","AlertTitle","MarketplacePaymentsNotice","payments","severity","sx","mb"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED;;AAEA,SAASA,yBAAyB,QAAQ,eAAc;AACxD,SACEC,oCAAoC,EACpCC,iCAAiC,QAC5B,6CAA4C;AACnD,OAAOC,WAAW,sBAAqB;AACvC,OAAOC,gBAAgB,2BAA0B;AAEjD;;;;;;;;;;;;;;;;;;;;;CAqBC,GACD,eAAe,SAASC;IACtB;;;;;;;;;;;GAWC,GACD,MAAM,EAAEC,QAAQ,EAAE,GAAGN;IACrB,IAAIM,UAAU,OAAO;IACrB,qBACE,MAACH;QAAMI,UAAS;QAAOC,IAAI;YAAEC,IAAI;QAAE;;0BACjC,KAACL;0BAAY;;YACZ,GAAGH,uCAAuC,CAAC,EAAEC,qCAAqC;;;AAGzF"}
|
package/src/lib/plugin.js
CHANGED
|
@@ -16,6 +16,7 @@ import { _ as _extends } from "@swc/helpers/_/_extends";
|
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/ import * as Aglyn from "@aglyn/aglyn";
|
|
18
18
|
import MarketplaceBrowse from "./components/marketplace-browse.component.js";
|
|
19
|
+
import MarketplacePaymentsNotice from "./components/marketplace-payments-notice.component.js";
|
|
19
20
|
import HostPluginsCard from "./components/host-plugins-card.component.js";
|
|
20
21
|
import PluginSiteSetPanel from "./components/plugin-site-set-panel.component.js";
|
|
21
22
|
import { MarketplaceListingContent } from "./components/listing-content.component.js";
|
|
@@ -47,6 +48,17 @@ import RatingInput from "./components/rating-input.component.js";
|
|
|
47
48
|
widgetId: 'marketplace-listing-content',
|
|
48
49
|
Component: MarketplaceListingContent
|
|
49
50
|
},
|
|
51
|
+
// What this deployment cannot do, said BEFORE the click (AGL-2019,
|
|
52
|
+
// moved here by AGL-3080). The sentence names what still works
|
|
53
|
+
// without a Stripe platform — browsing and free installs — which is
|
|
54
|
+
// this plugin's knowledge; the app supplies only the fact, through
|
|
55
|
+
// the deployment-capability context its org layout provides. The
|
|
56
|
+
// widget draws nothing at all on a configured deployment.
|
|
57
|
+
{
|
|
58
|
+
slot: 'marketplaceCapability',
|
|
59
|
+
widgetId: 'marketplace-payments-notice',
|
|
60
|
+
Component: MarketplacePaymentsNotice
|
|
61
|
+
},
|
|
50
62
|
// Org marketplace browse (AGL-772): the org-scope `/marketplace`
|
|
51
63
|
// page renders this with an acting hostId + orgScoped, so listing
|
|
52
64
|
// links resolve to the org route. The single place to browse/install,
|
package/src/lib/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../libs/plugins/marketplace/src/lib/plugin.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\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 * as Aglyn from '@aglyn/aglyn'\nimport MarketplaceBrowse from './components/marketplace-browse.component'\nimport HostPluginsCard from './components/host-plugins-card.component'\nimport PluginSiteSetPanel from './components/plugin-site-set-panel.component'\nimport { MarketplaceListingContent } from './components/listing-content.component'\nimport { BUNDLE_ID } from './constants/bundle-common'\nimport { RATING_FIELD } from './model/rating-field'\nimport RatingInput from './components/rating-input.component'\n\n/**\n * Marketplace feature plugin (AGL-395). Console-only — marketplace components\n * install into a host's own components collection and render through the\n * normal compose pipeline, so there is no separate canvas bundle.\n *\n * The marketplace moved to org scope (AGL-772/774): browse + install live at\n * `/[orgSlug]/marketplace`, so this plugin no longer contributes a per-site\n * `Marketplace` nav tab (AGL-775). It exposes its UI purely through widget\n * slots — `orgMarketplace` (browse), `marketplaceListing` (detail) and\n * `orgAddons` (installed) — which the app renders without importing the\n * plugin.\n */\nexport function registerMarketplaceConsole(): void {\n // Custom field type (AGL-434): rating rides int32 with a starred input.\n Aglyn.registerCustomFieldType({ ...RATING_FIELD, Input: RatingInput })\n Aglyn.registerConsoleExtension({\n // Listing detail content (AGL-419): the app route keeps the chrome\n // and renders this through the 'marketplaceListing' slot.\n widgets: [\n {\n slot: 'marketplaceListing',\n widgetId: 'marketplace-listing-content',\n Component: MarketplaceListingContent,\n },\n // Org marketplace browse (AGL-772): the org-scope `/marketplace`\n // page renders this with an acting hostId + orgScoped, so listing\n // links resolve to the org route. The single place to browse/install,\n // replacing the per-site marketplace tab.\n {\n slot: 'orgMarketplace',\n widgetId: 'marketplace-org-marketplace',\n Component: MarketplaceBrowse,\n },\n // Installed add-ons management (AGL-423): the org \"Plugins &\n // add-ons\" hub renders this with an acting hostId — the card lists\n // host + org install pins with upgrade/uninstall/share-with-org.\n {\n slot: 'orgAddons',\n widgetId: 'marketplace-installed-addons',\n Component: HostPluginsCard,\n },\n // The site set for one installation (AGL-1007): the same control the\n // listing page uses, exposed so the installation detail page can show\n // it without the app importing this plugin.\n {\n slot: 'pluginSiteSet',\n widgetId: 'marketplace-plugin-site-set',\n Component: PluginSiteSetPanel,\n },\n ],\n pluginId: BUNDLE_ID,\n displayName: 'Marketplace',\n })\n}\n\n// Shared with the listing/publisher detail app-routes.\nexport { default as useMarketplaceActions } from './hooks/use-marketplace-actions'\nexport { default as MarketplaceBrowse } from './components/marketplace-browse.component'\nexport { default as HostPluginsCard } from './components/host-plugins-card.component'\nexport { default as PluginSiteSetPanel } from './components/plugin-site-set-panel.component'\n"],"names":["Aglyn","MarketplaceBrowse","HostPluginsCard","PluginSiteSetPanel","MarketplaceListingContent","BUNDLE_ID","RATING_FIELD","RatingInput","registerMarketplaceConsole","registerCustomFieldType","Input","registerConsoleExtension","widgets","slot","widgetId","Component","pluginId","displayName","default","useMarketplaceActions"],"mappings":";AAAA;;;;;;;;;;;;;;;CAeC,GAED,YAAYA,WAAW,eAAc;AACrC,OAAOC,uBAAuB,+CAA2C;AACzE,OAAOC,qBAAqB,8CAA0C;AACtE,OAAOC,wBAAwB,kDAA8C;AAC7E,SAASC,yBAAyB,QAAQ,4CAAwC;AAClF,SAASC,SAAS,QAAQ,+BAA2B;AACrD,SAASC,YAAY,QAAQ,0BAAsB;AACnD,OAAOC,iBAAiB,yCAAqC;AAE7D;;;;;;;;;;;CAWC,GACD,OAAO,SAASC;IACd,wEAAwE;
|
|
1
|
+
{"version":3,"sources":["../../../../../../libs/plugins/marketplace/src/lib/plugin.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\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 * as Aglyn from '@aglyn/aglyn'\nimport MarketplaceBrowse from './components/marketplace-browse.component'\nimport MarketplacePaymentsNotice from './components/marketplace-payments-notice.component'\nimport HostPluginsCard from './components/host-plugins-card.component'\nimport PluginSiteSetPanel from './components/plugin-site-set-panel.component'\nimport { MarketplaceListingContent } from './components/listing-content.component'\nimport { BUNDLE_ID } from './constants/bundle-common'\nimport { RATING_FIELD } from './model/rating-field'\nimport RatingInput from './components/rating-input.component'\n\n/**\n * Marketplace feature plugin (AGL-395). Console-only — marketplace components\n * install into a host's own components collection and render through the\n * normal compose pipeline, so there is no separate canvas bundle.\n *\n * The marketplace moved to org scope (AGL-772/774): browse + install live at\n * `/[orgSlug]/marketplace`, so this plugin no longer contributes a per-site\n * `Marketplace` nav tab (AGL-775). It exposes its UI purely through widget\n * slots — `orgMarketplace` (browse), `marketplaceListing` (detail) and\n * `orgAddons` (installed) — which the app renders without importing the\n * plugin.\n */\nexport function registerMarketplaceConsole(): void {\n // Custom field type (AGL-434): rating rides int32 with a starred input.\n Aglyn.registerCustomFieldType({ ...RATING_FIELD, Input: RatingInput })\n Aglyn.registerConsoleExtension({\n // Listing detail content (AGL-419): the app route keeps the chrome\n // and renders this through the 'marketplaceListing' slot.\n widgets: [\n {\n slot: 'marketplaceListing',\n widgetId: 'marketplace-listing-content',\n Component: MarketplaceListingContent,\n },\n // What this deployment cannot do, said BEFORE the click (AGL-2019,\n // moved here by AGL-3080). The sentence names what still works\n // without a Stripe platform — browsing and free installs — which is\n // this plugin's knowledge; the app supplies only the fact, through\n // the deployment-capability context its org layout provides. The\n // widget draws nothing at all on a configured deployment.\n {\n slot: 'marketplaceCapability',\n widgetId: 'marketplace-payments-notice',\n Component: MarketplacePaymentsNotice,\n },\n // Org marketplace browse (AGL-772): the org-scope `/marketplace`\n // page renders this with an acting hostId + orgScoped, so listing\n // links resolve to the org route. The single place to browse/install,\n // replacing the per-site marketplace tab.\n {\n slot: 'orgMarketplace',\n widgetId: 'marketplace-org-marketplace',\n Component: MarketplaceBrowse,\n },\n // Installed add-ons management (AGL-423): the org \"Plugins &\n // add-ons\" hub renders this with an acting hostId — the card lists\n // host + org install pins with upgrade/uninstall/share-with-org.\n {\n slot: 'orgAddons',\n widgetId: 'marketplace-installed-addons',\n Component: HostPluginsCard,\n },\n // The site set for one installation (AGL-1007): the same control the\n // listing page uses, exposed so the installation detail page can show\n // it without the app importing this plugin.\n {\n slot: 'pluginSiteSet',\n widgetId: 'marketplace-plugin-site-set',\n Component: PluginSiteSetPanel,\n },\n ],\n pluginId: BUNDLE_ID,\n displayName: 'Marketplace',\n })\n}\n\n// Shared with the listing/publisher detail app-routes.\nexport { default as useMarketplaceActions } from './hooks/use-marketplace-actions'\nexport { default as MarketplaceBrowse } from './components/marketplace-browse.component'\nexport { default as HostPluginsCard } from './components/host-plugins-card.component'\nexport { default as PluginSiteSetPanel } from './components/plugin-site-set-panel.component'\n"],"names":["Aglyn","MarketplaceBrowse","MarketplacePaymentsNotice","HostPluginsCard","PluginSiteSetPanel","MarketplaceListingContent","BUNDLE_ID","RATING_FIELD","RatingInput","registerMarketplaceConsole","registerCustomFieldType","Input","registerConsoleExtension","widgets","slot","widgetId","Component","pluginId","displayName","default","useMarketplaceActions"],"mappings":";AAAA;;;;;;;;;;;;;;;CAeC,GAED,YAAYA,WAAW,eAAc;AACrC,OAAOC,uBAAuB,+CAA2C;AACzE,OAAOC,+BAA+B,wDAAoD;AAC1F,OAAOC,qBAAqB,8CAA0C;AACtE,OAAOC,wBAAwB,kDAA8C;AAC7E,SAASC,yBAAyB,QAAQ,4CAAwC;AAClF,SAASC,SAAS,QAAQ,+BAA2B;AACrD,SAASC,YAAY,QAAQ,0BAAsB;AACnD,OAAOC,iBAAiB,yCAAqC;AAE7D;;;;;;;;;;;CAWC,GACD,OAAO,SAASC;IACd,wEAAwE;IACxET,MAAMU,uBAAuB,CAAC,aAAKH;QAAcI,OAAOH;;IACxDR,MAAMY,wBAAwB,CAAC;QAC7B,mEAAmE;QACnE,0DAA0D;QAC1DC,SAAS;YACP;gBACEC,MAAM;gBACNC,UAAU;gBACVC,WAAWX;YACb;YACA,mEAAmE;YACnE,+DAA+D;YAC/D,oEAAoE;YACpE,mEAAmE;YACnE,iEAAiE;YACjE,0DAA0D;YAC1D;gBACES,MAAM;gBACNC,UAAU;gBACVC,WAAWd;YACb;YACA,iEAAiE;YACjE,kEAAkE;YAClE,sEAAsE;YACtE,0CAA0C;YAC1C;gBACEY,MAAM;gBACNC,UAAU;gBACVC,WAAWf;YACb;YACA,6DAA6D;YAC7D,mEAAmE;YACnE,iEAAiE;YACjE;gBACEa,MAAM;gBACNC,UAAU;gBACVC,WAAWb;YACb;YACA,qEAAqE;YACrE,sEAAsE;YACtE,4CAA4C;YAC5C;gBACEW,MAAM;gBACNC,UAAU;gBACVC,WAAWZ;YACb;SACD;QACDa,UAAUX;QACVY,aAAa;IACf;AACF;AAEA,uDAAuD;AACvD,SAASC,WAAWC,qBAAqB,QAAQ,qCAAiC;AAClF,SAASD,WAAWlB,iBAAiB,QAAQ,+CAA2C;AACxF,SAASkB,WAAWhB,eAAe,QAAQ,8CAA0C;AACrF,SAASgB,WAAWf,kBAAkB,QAAQ,kDAA8C"}
|