@aglyn/aglyn 1.0.0-beta.233 → 1.0.0-beta.235
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/app-utils/activity-labels.d.ts +117 -0
- package/src/lib/app-utils/activity-labels.js +343 -0
- package/src/lib/app-utils/activity-labels.js.map +1 -0
- package/src/lib/app-utils/admin-audit-index.d.ts +11 -0
- package/src/lib/app-utils/admin-audit-index.js +12 -1
- package/src/lib/app-utils/admin-audit-index.js.map +1 -1
- package/src/lib/app-utils/advertising-consent.d.ts +111 -0
- package/src/lib/app-utils/advertising-consent.js +216 -0
- package/src/lib/app-utils/advertising-consent.js.map +1 -0
- package/src/lib/app-utils/advertising-events.d.ts +98 -0
- package/src/lib/app-utils/advertising-events.js +340 -0
- package/src/lib/app-utils/advertising-events.js.map +1 -0
- package/src/lib/app-utils/advertising-tag-mounts.js +15 -8
- package/src/lib/app-utils/advertising-tag-mounts.js.map +1 -1
- package/src/lib/app-utils/advertising-tags.d.ts +54 -8
- package/src/lib/app-utils/advertising-tags.js +126 -28
- package/src/lib/app-utils/advertising-tags.js.map +1 -1
- package/src/lib/app-utils/analytics-events.d.ts +15 -86
- package/src/lib/app-utils/analytics-events.js +21 -6
- package/src/lib/app-utils/analytics-events.js.map +1 -1
- package/src/lib/app-utils/consent-banner-ui.d.ts +14 -0
- package/src/lib/app-utils/consent-banner-ui.js +23 -2
- package/src/lib/app-utils/consent-banner-ui.js.map +1 -1
- package/src/lib/app-utils/docs-help-section-excerpt-text.d.ts +14 -0
- package/src/lib/app-utils/docs-help-section-excerpt-text.js +31 -0
- package/src/lib/app-utils/docs-help-section-excerpt-text.js.map +1 -0
- package/src/lib/app-utils/docs-help-section-excerpt.d.ts +13 -0
- package/src/lib/app-utils/docs-help-section-excerpt.js +37 -0
- package/src/lib/app-utils/docs-help-section-excerpt.js.map +1 -0
- package/src/lib/app-utils/docs-help-sections.generated.d.ts +31 -0
- package/src/lib/app-utils/docs-help-sections.generated.js +660 -0
- package/src/lib/app-utils/docs-help-sections.generated.js.map +1 -0
- package/src/lib/app-utils/docs-help.d.ts +16 -4
- package/src/lib/app-utils/docs-help.generated.d.ts +171 -34
- package/src/lib/app-utils/docs-help.generated.js +1104 -3
- package/src/lib/app-utils/docs-help.generated.js.map +1 -1
- package/src/lib/app-utils/docs-help.js +25 -6
- package/src/lib/app-utils/docs-help.js.map +1 -1
- package/src/lib/app-utils/docs-index.generated.js +1008 -91
- package/src/lib/app-utils/docs-index.generated.js.map +1 -1
- package/src/lib/app-utils/health-report.js +12 -0
- package/src/lib/app-utils/health-report.js.map +1 -1
- package/src/lib/app-utils/plugin-release-flags.generated.d.ts +1 -1
- package/src/lib/app-utils/plugin-release-flags.generated.js +7 -1
- package/src/lib/app-utils/plugin-release-flags.generated.js.map +1 -1
- package/src/lib/app-utils/realm-host-surface.generated.js +1 -0
- package/src/lib/app-utils/realm-host-surface.generated.js.map +1 -1
- package/src/lib/app-utils/variables.d.ts +2 -0
- package/src/lib/app-utils/variables.js +3 -0
- package/src/lib/app-utils/variables.js.map +1 -1
- package/src/lib/app-utils/visitor-consent.d.ts +34 -0
- package/src/lib/app-utils/visitor-consent.js +49 -2
- package/src/lib/app-utils/visitor-consent.js.map +1 -1
- package/src/lib/app-utils/where-used-summary.d.ts +41 -0
- package/src/lib/app-utils/where-used-summary.js +33 -0
- package/src/lib/app-utils/where-used-summary.js.map +1 -0
- package/src/lib/app-utils/where-used.d.ts +2 -20
- package/src/lib/app-utils/where-used.js +13 -12
- package/src/lib/app-utils/where-used.js.map +1 -1
- package/src/lib/foundation/definitions/platform.types.d.ts +33 -0
- package/src/lib/foundation/definitions/platform.types.js.map +1 -1
- package/src/lib/plugin-manager/first-party-plugins.generated.d.ts +7 -0
- package/src/lib/plugin-manager/first-party-plugins.generated.js +166 -2
- package/src/lib/plugin-manager/first-party-plugins.generated.js.map +1 -1
- package/src/lib/plugin-manager/plugin-activity-actions.d.ts +51 -0
- package/src/lib/plugin-manager/plugin-activity-actions.js +43 -0
- package/src/lib/plugin-manager/plugin-activity-actions.js.map +1 -1
- package/src/lib/plugin-manager/plugin-advertising-conversions.d.ts +84 -0
- package/src/lib/plugin-manager/plugin-advertising-conversions.js +86 -0
- package/src/lib/plugin-manager/plugin-advertising-conversions.js.map +1 -0
- package/src/lib/plugin-manager/plugin-config.d.ts +23 -0
- package/src/lib/plugin-manager/plugin-config.js.map +1 -1
- package/src/lib/plugin-manager/plugin-local-deliveries.d.ts +161 -0
- package/src/lib/plugin-manager/plugin-local-deliveries.js +46 -0
- package/src/lib/plugin-manager/plugin-local-deliveries.js.map +1 -0
- package/src/lib/plugin-manager/plugin-media-ingest.d.ts +87 -0
- package/src/lib/plugin-manager/plugin-media-ingest.js +34 -0
- package/src/lib/plugin-manager/plugin-media-ingest.js.map +1 -0
- package/src/lib/plugin-manager/plugin-order-email-copies.d.ts +93 -0
- package/src/lib/plugin-manager/plugin-order-email-copies.js +104 -0
- package/src/lib/plugin-manager/plugin-order-email-copies.js.map +1 -0
- package/src/lib/plugin-manager/plugin-shipment-records.d.ts +7 -0
- package/src/lib/plugin-manager/plugin-shipment-records.js.map +1 -1
- package/src/lib/plugin-manager/plugin-site-csp.d.ts +58 -0
- package/src/lib/plugin-manager/plugin-site-csp.js +103 -0
- package/src/lib/plugin-manager/plugin-site-csp.js.map +1 -0
- package/src/lib/plugin-manager/realm-host-aglyn.generated.js +1 -0
- package/src/lib/plugin-manager/realm-host-aglyn.generated.js.map +1 -1
- package/src/lib/plugin-manager/site-page-hooks.d.ts +13 -0
- package/src/lib/plugin-manager/site-page-hooks.js +31 -0
- package/src/lib/plugin-manager/site-page-hooks.js.map +1 -1
- package/src/lib/plugin-manager/stock-photo-provider.d.ts +141 -0
- package/src/lib/plugin-manager/stock-photo-provider.js +59 -0
- package/src/lib/plugin-manager/stock-photo-provider.js.map +1 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PluginDocsKey } from './docs-help.generated';
|
|
2
|
+
export interface PluginDocsSectionExcerptProps {
|
|
3
|
+
topic: PluginDocsKey;
|
|
4
|
+
anchor: string;
|
|
5
|
+
/** The page's own description, for a section the generator did not carry. */
|
|
6
|
+
fallback: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* One section's tooltip prose. The static import of the section registry
|
|
10
|
+
* belongs to this module alone: `docs-help-section-excerpt.ts` reaches it
|
|
11
|
+
* through `lazy()`, so the prose is the payload of that chunk (AGL-3707).
|
|
12
|
+
*/
|
|
13
|
+
export declare function PluginDocsSectionExcerptText({ topic, anchor, fallback, }: PluginDocsSectionExcerptProps): import("react").JSX.Element;
|
|
14
|
+
export default PluginDocsSectionExcerptText;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2026 Aglyn LLC
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/ import { PLUGIN_DOCS_SECTION_EXCERPTS } from "./docs-help-sections.generated.js";
|
|
18
|
+
/**
|
|
19
|
+
* One section's tooltip prose. The static import of the section registry
|
|
20
|
+
* belongs to this module alone: `docs-help-section-excerpt.ts` reaches it
|
|
21
|
+
* through `lazy()`, so the prose is the payload of that chunk (AGL-3707).
|
|
22
|
+
*/ export function PluginDocsSectionExcerptText({ topic, anchor, fallback }) {
|
|
23
|
+
var _ref;
|
|
24
|
+
const sections = PLUGIN_DOCS_SECTION_EXCERPTS[topic];
|
|
25
|
+
return /*#__PURE__*/ _jsx(_Fragment, {
|
|
26
|
+
children: (_ref = sections == null ? void 0 : sections[anchor]) != null ? _ref : fallback
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
export default PluginDocsSectionExcerptText;
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=docs-help-section-excerpt-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../libs/aglyn/src/lib/app-utils/docs-help-section-excerpt-text.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 */\nimport { PLUGIN_DOCS_SECTION_EXCERPTS } from './docs-help-sections.generated'\nimport type { PluginDocsKey } from './docs-help.generated'\n\nexport interface PluginDocsSectionExcerptProps {\n topic: PluginDocsKey\n anchor: string\n /** The page's own description, for a section the generator did not carry. */\n fallback: string\n}\n\n/**\n * One section's tooltip prose. The static import of the section registry\n * belongs to this module alone: `docs-help-section-excerpt.ts` reaches it\n * through `lazy()`, so the prose is the payload of that chunk (AGL-3707).\n */\nexport function PluginDocsSectionExcerptText({\n topic,\n anchor,\n fallback,\n}: PluginDocsSectionExcerptProps) {\n const sections = PLUGIN_DOCS_SECTION_EXCERPTS[topic] as\n | Readonly<Record<string, string>>\n | undefined\n return <>{sections?.[anchor] ?? fallback}</>\n}\n\nexport default PluginDocsSectionExcerptText\n"],"names":["PLUGIN_DOCS_SECTION_EXCERPTS","PluginDocsSectionExcerptText","topic","anchor","fallback","sections"],"mappings":";AAAA;;;;;;;;;;;;;;;CAeC,GACD,SAASA,4BAA4B,QAAQ,oCAAgC;AAU7E;;;;CAIC,GACD,OAAO,SAASC,6BAA6B,EAC3CC,KAAK,EACLC,MAAM,EACNC,QAAQ,EACsB;;IAC9B,MAAMC,WAAWL,4BAA4B,CAACE,MAAM;IAGpD,qBAAO;0BAAGG,4BAAAA,QAAU,CAACF,OAAO,mBAAIC;;AAClC;AAEA,eAAeH,6BAA4B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PluginDocsSectionExcerptProps } from './docs-help-section-excerpt-text';
|
|
2
|
+
/**
|
|
3
|
+
* A plugin card's section prose, fetched when its tooltip first opens
|
|
4
|
+
* (AGL-3707) — the plugin counterpart of the console's `DocsHelpExcerpt`.
|
|
5
|
+
*
|
|
6
|
+
* The plugin help subset is imported by every plugin console up front, and
|
|
7
|
+
* the linked sections' prose is ~30 KB gzipped that nothing reads until
|
|
8
|
+
* someone hovers a `?`. A tooltip's content mounts only when it opens, so the
|
|
9
|
+
* chunk loads then; the page's own description stands in for the moment it
|
|
10
|
+
* takes.
|
|
11
|
+
*/
|
|
12
|
+
export declare function PluginDocsSectionExcerpt(props: PluginDocsSectionExcerptProps): import("react").FunctionComponentElement<import("react").SuspenseProps>;
|
|
13
|
+
export default PluginDocsSectionExcerpt;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
*/ import { createElement, lazy, Suspense } from "react";
|
|
17
|
+
const PluginDocsSectionExcerptText = lazy(()=>import("./docs-help-section-excerpt-text.js"));
|
|
18
|
+
/**
|
|
19
|
+
* A plugin card's section prose, fetched when its tooltip first opens
|
|
20
|
+
* (AGL-3707) — the plugin counterpart of the console's `DocsHelpExcerpt`.
|
|
21
|
+
*
|
|
22
|
+
* The plugin help subset is imported by every plugin console up front, and
|
|
23
|
+
* the linked sections' prose is ~30 KB gzipped that nothing reads until
|
|
24
|
+
* someone hovers a `?`. A tooltip's content mounts only when it opens, so the
|
|
25
|
+
* chunk loads then; the page's own description stands in for the moment it
|
|
26
|
+
* takes.
|
|
27
|
+
*/ // Written with createElement, not JSX: docs-help.ts imports this module and
|
|
28
|
+
// server.ts re-exports docs-help, so plain-TS loaders (jiti in the ops scripts,
|
|
29
|
+
// ts-jest under `jsx: preserve`) must be able to parse it.
|
|
30
|
+
export function PluginDocsSectionExcerpt(props) {
|
|
31
|
+
return createElement(Suspense, {
|
|
32
|
+
fallback: props.fallback
|
|
33
|
+
}, createElement(PluginDocsSectionExcerptText, props));
|
|
34
|
+
}
|
|
35
|
+
export default PluginDocsSectionExcerpt;
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=docs-help-section-excerpt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../libs/aglyn/src/lib/app-utils/docs-help-section-excerpt.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 */\nimport { createElement, lazy, Suspense } from 'react'\nimport type { PluginDocsSectionExcerptProps } from './docs-help-section-excerpt-text'\n\nconst PluginDocsSectionExcerptText = lazy(\n () => import('./docs-help-section-excerpt-text'),\n)\n\n/**\n * A plugin card's section prose, fetched when its tooltip first opens\n * (AGL-3707) — the plugin counterpart of the console's `DocsHelpExcerpt`.\n *\n * The plugin help subset is imported by every plugin console up front, and\n * the linked sections' prose is ~30 KB gzipped that nothing reads until\n * someone hovers a `?`. A tooltip's content mounts only when it opens, so the\n * chunk loads then; the page's own description stands in for the moment it\n * takes.\n */\n// Written with createElement, not JSX: docs-help.ts imports this module and\n// server.ts re-exports docs-help, so plain-TS loaders (jiti in the ops scripts,\n// ts-jest under `jsx: preserve`) must be able to parse it.\nexport function PluginDocsSectionExcerpt(props: PluginDocsSectionExcerptProps) {\n return createElement(\n Suspense,\n { fallback: props.fallback },\n createElement(PluginDocsSectionExcerptText, props),\n )\n}\n\nexport default PluginDocsSectionExcerpt\n"],"names":["createElement","lazy","Suspense","PluginDocsSectionExcerptText","PluginDocsSectionExcerpt","props","fallback"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GACD,SAASA,aAAa,EAAEC,IAAI,EAAEC,QAAQ,QAAQ,QAAO;AAGrD,MAAMC,+BAA+BF,KACnC,IAAM,MAAM,CAAC;AAGf;;;;;;;;;CASC,GACD,4EAA4E;AAC5E,gFAAgF;AAChF,2DAA2D;AAC3D,OAAO,SAASG,yBAAyBC,KAAoC;IAC3E,OAAOL,cACLE,UACA;QAAEI,UAAUD,MAAMC,QAAQ;IAAC,GAC3BN,cAAcG,8BAA8BE;AAEhD;AAEA,eAAeD,yBAAwB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import type { PluginDocsKey } from './docs-help.generated';
|
|
18
|
+
/**
|
|
19
|
+
* The opening sentence under each heading a plugin card links — that card's
|
|
20
|
+
* tooltip prose (AGL-3707).
|
|
21
|
+
*
|
|
22
|
+
* A module of its own because the plugin help subset is imported by every
|
|
23
|
+
* plugin console up front, and four hundred sections of prose are ~30 KB
|
|
24
|
+
* gzipped that no page needs until someone opens a tooltip.
|
|
25
|
+
* `PluginDocsSectionExcerpt` fetches this module when one does.
|
|
26
|
+
*/
|
|
27
|
+
export declare const PLUGIN_DOCS_SECTION_EXCERPTS: {
|
|
28
|
+
readonly [K in PluginDocsKey]?: {
|
|
29
|
+
readonly [anchor: `#${string}`]: string;
|
|
30
|
+
};
|
|
31
|
+
};
|