@phis/ui 0.4.23 → 0.5.1
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/components/controls/phi-background-control.js +1 -1
- package/components/controls/phi-breadcrumb-control.d.ts +2 -0
- package/components/controls/phi-button-control.d.ts +7 -1
- package/components/media/media-asset-typed-fields.d.ts +10 -0
- package/components/media/media-asset-typed-fields.js +19 -0
- package/components/media/media-settings-labels.d.ts +33 -0
- package/components/media/media-settings-labels.js +62 -0
- package/components/media/media-upload-flow.d.ts +19 -0
- package/components/media/media-upload-flow.js +38 -0
- package/components/media/phi-asset-focal-rect-widget.js +2 -2
- package/components/media/phi-asset-folder-control.js +1 -1
- package/components/media/phi-image-inspector-widget.js +1 -1
- package/components/media/phi-image-preview-data.js +5 -4
- package/components/media/phi-site-font-assets.js +2 -5
- package/components/media/use-authoring-asset-details.js +0 -1
- package/components/regions/presets/content-entry-editor-page-tree.js +1 -1
- package/components/regions/presets/navigation-redirect.d.ts +2 -2
- package/components/regions/presets/navigation-redirect.js +3 -3
- package/components/regions/presets/phi-area-shell-preset-nodes.js +2 -1
- package/components/regions/presets/phi-settings-page-shell-tree.js +1 -1
- package/components/shell/phi-antd-icon.d.ts +4 -0
- package/components/shell/phi-antd-icon.js +8 -0
- package/components/shell/phi-icon.d.ts +18 -0
- package/components/shell/phi-icon.js +50 -3
- package/components/widgets/client/shared/phi-button-icons.d.ts +7 -0
- package/components/widgets/client/shared/phi-button-icons.js +15 -67
- package/components/widgets/helpers/internal-reference-resolver.server.d.ts +1 -1
- package/components/widgets/helpers/internal-reference-resolver.server.js +4 -0
- package/components/widgets/label-sets/builder-modules.js +6 -0
- package/components/widgets/label-types/builder-modules.d.ts +4 -0
- package/components/widgets/label-types/builder-modules.js +3 -0
- package/components/widgets/label-types/common-controls.js +12 -12
- package/constants/runtime-module-ownership.js +4 -0
- package/gateway/internal-references.d.ts +5 -0
- package/gateway/internal-references.js +12 -12
- package/gateway/site-media-settings.d.ts +2 -0
- package/gateway/site-media-settings.js +6 -1
- package/gateway/site-media-storage-reader.d.ts +19 -0
- package/gateway/site-media-storage-reader.js +24 -0
- package/helpers/cms-navigation-catalog.d.ts +2 -0
- package/helpers/cms-navigation-catalog.js +1 -0
- package/helpers/cms-page-catalog.d.ts +12 -0
- package/helpers/cms-page-catalog.js +5 -0
- package/helpers/phi-seo.d.ts +16 -2
- package/helpers/phi-seo.js +54 -11
- package/helpers/public-route-claims.d.ts +4 -0
- package/helpers/public-route-claims.js +1 -1
- package/next/seo-routes.d.ts +1 -1
- package/next/seo-routes.js +23 -5
- package/package.json +1 -1
- package/plugins/runtime-modules/accounting/presets.d.ts +10 -1
- package/plugins/runtime-modules/accounting/presets.js +25 -8
- package/plugins/runtime-modules/accounting/trees/phi-default-accounting-area-preset-tree.d.ts +6 -0
- package/plugins/runtime-modules/accounting/trees/phi-default-accounting-area-preset-tree.js +53 -0
- package/plugins/runtime-modules/area-definitions.d.ts +123 -12
- package/plugins/runtime-modules/area-definitions.js +28 -0
- package/plugins/runtime-modules/asset/client-data-providers.js +12 -0
- package/plugins/runtime-modules/asset/controller/runtime.js +1 -1
- package/plugins/runtime-modules/asset/data-providers.d.ts +27 -2
- package/plugins/runtime-modules/asset/data-providers.js +56 -0
- package/plugins/runtime-modules/asset/definition.d.ts +38 -2
- package/plugins/runtime-modules/asset/definition.js +2 -1
- package/plugins/runtime-modules/asset/ids.d.ts +4 -0
- package/plugins/runtime-modules/asset/ids.js +4 -0
- package/plugins/runtime-modules/asset/server.js +2 -1
- package/plugins/runtime-modules/asset/services/options.d.ts +7 -0
- package/plugins/runtime-modules/asset/services/options.js +38 -0
- package/plugins/runtime-modules/asset/services/storage-spaces-table.d.ts +3 -0
- package/plugins/runtime-modules/asset/services/storage-spaces-table.js +89 -0
- package/plugins/runtime-modules/asset/settings-forms.d.ts +17 -0
- package/plugins/runtime-modules/asset/settings-forms.js +117 -1
- package/plugins/runtime-modules/asset/trees/phi-default-admin-media-settings-page-tree.js +94 -1
- package/plugins/runtime-modules/asset/trees/phi-default-builder-media-page-tree.js +1 -1
- package/plugins/runtime-modules/builder/area-shell-presets.server.d.ts +8 -0
- package/plugins/runtime-modules/builder/area-shell-presets.server.js +13 -0
- package/plugins/runtime-modules/builder/controller/page-controller-helpers.js +1 -1
- package/plugins/runtime-modules/builder/controller/page-controller.d.ts +1 -1
- package/plugins/runtime-modules/builder/controller/page-controller.js +30 -3
- package/plugins/runtime-modules/builder/controller/server-definition.d.ts +7 -1
- package/plugins/runtime-modules/builder/controller/server-definition.js +8 -3
- package/plugins/runtime-modules/builder/data-providers.js +1 -0
- package/plugins/runtime-modules/builder/developer-workspace-types.d.ts +2 -0
- package/plugins/runtime-modules/builder/navigation-path-context.js +7 -3
- package/plugins/runtime-modules/builder/options-providers.js +2 -2
- package/plugins/runtime-modules/builder/page-address-rule.d.ts +39 -0
- package/plugins/runtime-modules/builder/page-address-rule.js +62 -0
- package/plugins/runtime-modules/builder/page-meta-form.js +10 -0
- package/plugins/runtime-modules/builder/public-route-collisions.js +7 -2
- package/plugins/runtime-modules/builder/services/page-source-tree.js +2 -1
- package/plugins/runtime-modules/builder/services/runtime-modules-table.js +49 -1
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.server.js +2 -2
- package/plugins/runtime-modules/builder/trees/phi-default-builder-area-preset-tree.js +16 -4
- package/plugins/runtime-modules/core/widgets/breadcrumb/client.d.ts +14 -2
- package/plugins/runtime-modules/core/widgets/breadcrumb/client.js +35 -4
- package/plugins/runtime-modules/core/widgets/breadcrumb/server.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/breadcrumb/server.js +37 -2
- package/plugins/runtime-modules/core/widgets/card/editor.js +1 -1
- package/plugins/runtime-modules/core/widgets/image/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/image/editor.js +1 -1
- package/plugins/runtime-modules/core/widgets/page-title/authoring.js +3 -1
- package/plugins/runtime-modules/core/widgets/page-title/client.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/page-title/client.js +5 -1
- package/plugins/runtime-modules/core/widgets/page-title/config.d.ts +25 -3
- package/plugins/runtime-modules/core/widgets/page-title/config.js +24 -3
- package/plugins/runtime-modules/core/widgets/page-title/plugin.js +1 -1
- package/plugins/runtime-modules/core/widgets/page-title/server.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/page-title/server.js +4 -3
- package/plugins/runtime-modules/core/widgets/table/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/table/config.js +9 -0
- package/plugins/runtime-modules/descriptor-compiler.js +33 -8
- package/plugins/runtime-modules/groups/trees/phi-default-admin-groups-page-tree.js +1 -1
- package/plugins/runtime-modules/localization/trees/phi-default-editor-translations-page-tree.js +1 -1
- package/plugins/runtime-modules/revisions/trees/phi-default-builder-revisions-page-tree.js +1 -1
- package/plugins/runtime-modules/theme/widgets/brand-controls/client.js +1 -1
- package/plugins/runtime-modules/threads/trees/phi-default-threads-page-tree.js +2 -2
- package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-page-tree.js +1 -1
- package/server-helpers/cms-review-params.d.ts +25 -0
- package/server-helpers/cms-review-params.js +54 -0
- package/server-helpers/cms-review.d.ts +1 -25
- package/server-helpers/cms-review.js +2 -54
- package/styles/controls.css +11 -0
- package/types/cms-module-descriptors.d.ts +33 -3
- package/types/media.d.ts +6 -2
- package/types/table-widget.d.ts +11 -0
- package/types.d.ts +1 -1
package/next/seo-routes.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createHash } from "node:crypto";
|
|
|
3
3
|
import { resolvePhiCmsPageRedirect } from "../components/cms/phi-cms-page-redirect";
|
|
4
4
|
import { getSiteAreaWithPublishedPages } from "../gateway/site-area";
|
|
5
5
|
import { PHI_AREA_META_PUBLIC_DEFAULTS, readPhiAreaLandingSelection, readPhiAreaMeta, readPhiAreaPublicRoutePaths, } from "../helpers/cms-area-config";
|
|
6
|
-
import { collectPhiSitemapCandidates, renderPhiRobotsTxt,
|
|
6
|
+
import { collectPhiSitemapCandidates, renderPhiRobotsTxt, renderPhiSitemapDocuments, renderPhiSitemapIndexXml, resolvePhiSitePublicBase, } from "../helpers/phi-seo";
|
|
7
7
|
import { createPhiFingerprintCache } from "../helpers/phi-sitemap-cache";
|
|
8
8
|
import { readPhiSiteRuntimeConfigSync } from "../helpers/site-runtime";
|
|
9
9
|
import { compilePhiCmsActiveRouteTable, resolvePhiCmsAreaShellPresetBinding, resolvePhiCmsDescriptorCatalog, } from "../plugins/runtime-modules/descriptor-compiler";
|
|
@@ -101,7 +101,7 @@ async function filterPhiSitemapCandidates(bridge, context, candidates) {
|
|
|
101
101
|
await Promise.all(Array.from({ length: PHI_SITEMAP_RESOLVE_CONCURRENCY }, work));
|
|
102
102
|
return candidates.filter((_candidate, index) => listed[index]);
|
|
103
103
|
}
|
|
104
|
-
async function
|
|
104
|
+
async function buildPhiSitemapDocuments(bridge, context, activeModuleIds) {
|
|
105
105
|
const { requestContext, areaPreset, publishedPages } = context;
|
|
106
106
|
const routeTable = compilePhiCmsActiveRouteTable({
|
|
107
107
|
catalog: resolvePhiCmsDescriptorCatalog(bridge.runtimeModuleCatalog),
|
|
@@ -115,7 +115,7 @@ async function buildPhiSitemapXml(bridge, context, activeModuleIds) {
|
|
|
115
115
|
publishedPages,
|
|
116
116
|
});
|
|
117
117
|
const listed = await filterPhiSitemapCandidates(bridge, context, candidates);
|
|
118
|
-
return
|
|
118
|
+
return renderPhiSitemapDocuments(listed, {
|
|
119
119
|
publicBase: context.publicBase,
|
|
120
120
|
availableLocales: requestContext.site.availableLocales.map((option) => option.code),
|
|
121
121
|
defaultLocale: requestContext.site.defaultLocale,
|
|
@@ -152,14 +152,32 @@ function buildPhiSitemapFingerprint(context, activeModuleIds) {
|
|
|
152
152
|
*/
|
|
153
153
|
export function buildPhiSitemapRouteHandler({ bridge }) {
|
|
154
154
|
const cache = createPhiFingerprintCache();
|
|
155
|
-
return async function GET() {
|
|
155
|
+
return async function GET(request) {
|
|
156
156
|
const context = await loadPhiPublicSeoContext(bridge, { withPublishedPages: true });
|
|
157
157
|
const publicBase = context?.publicBase;
|
|
158
158
|
if (!context?.sitemapEnabled || !publicBase) {
|
|
159
159
|
return new Response("Not Found", { status: 404, headers: { "cache-control": "no-store" } });
|
|
160
160
|
}
|
|
161
161
|
const activeModuleIds = resolveActivePresetModuleKeys(bridge.runtimeModuleCatalog, "public", context.areaPreset ? { preset: context.areaPreset.preset } : null, context.requestContext.serverCapabilities);
|
|
162
|
-
const
|
|
162
|
+
const documents = await cache.resolve(buildPhiSitemapFingerprint(context, activeModuleIds), () => buildPhiSitemapDocuments(bridge, { ...context, publicBase }, activeModuleIds));
|
|
163
|
+
/*
|
|
164
|
+
* One file answers on its own address. More than one -- above 50,000 URLs or 45 MB -- turns
|
|
165
|
+
* `/sitemap.xml` into an index whose parts are the same route with `?part=<n>`, so the Site needs no
|
|
166
|
+
* route of its own for them.
|
|
167
|
+
*/
|
|
168
|
+
const part = new URL(request.url).searchParams.get("part");
|
|
169
|
+
let xml;
|
|
170
|
+
if (part === null) {
|
|
171
|
+
xml = documents.length === 1
|
|
172
|
+
? documents[0]
|
|
173
|
+
: renderPhiSitemapIndexXml(documents.map((_document, index) => `${publicBase}${PHI_SITEMAP_PATH}?part=${index + 1}`));
|
|
174
|
+
}
|
|
175
|
+
else if (/^[1-9]\d*$/u.test(part)) {
|
|
176
|
+
xml = documents[Number(part) - 1];
|
|
177
|
+
}
|
|
178
|
+
if (xml === undefined) {
|
|
179
|
+
return new Response("Not Found", { status: 404, headers: { "cache-control": "no-store" } });
|
|
180
|
+
}
|
|
163
181
|
return new Response(xml, {
|
|
164
182
|
headers: { "content-type": "application/xml; charset=utf-8", "cache-control": "no-store" },
|
|
165
183
|
});
|
package/package.json
CHANGED
|
@@ -4,6 +4,15 @@ export declare const PHI_ACCOUNTING_RUNTIME_MODULE_AREA_SHELLS: {
|
|
|
4
4
|
presetKey: string;
|
|
5
5
|
shellPresetVersion: number;
|
|
6
6
|
area: "accounting";
|
|
7
|
-
loadTree: ({ page, runtime }: PhiCmsDescriptorBuildContext) => Promise<
|
|
7
|
+
loadTree: ({ page, runtime }: PhiCmsDescriptorBuildContext) => Promise<{
|
|
8
|
+
pageMeta: import("../../../types").PhiCmsResolvedPageMeta | null | undefined;
|
|
9
|
+
runtimeModuleIds: `${string}/${string}`[] | null | undefined;
|
|
10
|
+
regions: import("../../../types").PhiCmsRegionNode[];
|
|
11
|
+
overlays: import("../../../types").PhiCmsOverlayNode[];
|
|
12
|
+
layoutNodes: import("../../../types").PhiCmsLayoutNode[];
|
|
13
|
+
contentWidgets: import("../../../types").PhiCmsContentWidgetNode[];
|
|
14
|
+
controllerSettings: import("../../../types/cms").PhiCmsTreeControllerSettings;
|
|
15
|
+
page: import("../../../types").PhiCmsPageNode;
|
|
16
|
+
}>;
|
|
8
17
|
}[];
|
|
9
18
|
export declare const PHI_ACCOUNTING_RUNTIME_MODULE_ROUTES: PhiCmsRoutePresetDescriptor[];
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { PHI_BASE_PAGE_LAYOUT_VERSION } from "../../../components/regions/presets/phi-base-page-layout";
|
|
2
2
|
import { buildPhiAreaRootRoutePresetDescriptor } from "../area-root-route";
|
|
3
|
+
import { PhiCmsRegionType } from "../../../constants/phi-cms";
|
|
4
|
+
import { PHI_DEFAULT_PUB_AREA_COMPOSITION_NODE_KEYS } from "../preset-contracts/pub-area";
|
|
3
5
|
import { PHI_ACCOUNTING_RUNTIME_MODULE_ID } from "./ids";
|
|
4
6
|
/* What the Accounting base Module brings: the Site shell for its Area, the Area root and the overview. */
|
|
5
7
|
export const PHI_ACCOUNTING_RUNTIME_MODULE_AREA_SHELLS = [
|
|
@@ -8,14 +10,29 @@ export const PHI_ACCOUNTING_RUNTIME_MODULE_AREA_SHELLS = [
|
|
|
8
10
|
presetKey: "accounting-area-preset",
|
|
9
11
|
shellPresetVersion: 1,
|
|
10
12
|
area: "accounting",
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
/*
|
|
14
|
+
* A staff Area's shell, composed as the Admin's is: the Site's shell without its header and footer,
|
|
15
|
+
* and the header bar and sidebar over it. It used to be the Site's shell alone, which left
|
|
16
|
+
* `accounting:sidebar` drawn nowhere.
|
|
17
|
+
*/
|
|
18
|
+
loadTree: async ({ page, runtime }) => {
|
|
19
|
+
const [{ buildPhiDefaultSiteAreaPresetTree }, { buildPhiDefaultAccountingAreaPresetTree }, { mergePhiCmsShellTrees, omitPhiCmsShellCompositionNodes },] = await Promise.all([
|
|
20
|
+
import("../phi-default-site-area-preset-tree"),
|
|
21
|
+
import("./trees/phi-default-accounting-area-preset-tree"),
|
|
22
|
+
import("../shell-tree-composition"),
|
|
23
|
+
]);
|
|
24
|
+
const [base, overlay] = await Promise.all([
|
|
25
|
+
buildPhiDefaultSiteAreaPresetTree({
|
|
26
|
+
page,
|
|
27
|
+
runtime,
|
|
28
|
+
presetKey: "accounting-area-preset",
|
|
29
|
+
ownerModuleId: PHI_ACCOUNTING_RUNTIME_MODULE_ID,
|
|
30
|
+
runtimeModuleArea: "accounting",
|
|
31
|
+
}),
|
|
32
|
+
buildPhiDefaultAccountingAreaPresetTree({ page, runtime }),
|
|
33
|
+
]);
|
|
34
|
+
return mergePhiCmsShellTrees(omitPhiCmsShellCompositionNodes(base, { ownerModuleId: PHI_ACCOUNTING_RUNTIME_MODULE_ID, presetKey: "accounting-area-preset" }, [PhiCmsRegionType.HeaderTop, PhiCmsRegionType.HeaderMain, PhiCmsRegionType.Footer], PHI_DEFAULT_PUB_AREA_COMPOSITION_NODE_KEYS), overlay);
|
|
35
|
+
},
|
|
19
36
|
},
|
|
20
37
|
];
|
|
21
38
|
export const PHI_ACCOUNTING_RUNTIME_MODULE_ROUTES = [
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PhiResolvedCmsPageTree, PhiCmsPageNode } from "../../../../types/cms";
|
|
2
|
+
import type { PhiBlockRuntime } from "../../../../types";
|
|
3
|
+
export declare function buildPhiDefaultAccountingAreaPresetTree({ page, runtime, }: {
|
|
4
|
+
page: PhiCmsPageNode;
|
|
5
|
+
runtime: PhiBlockRuntime;
|
|
6
|
+
}): Promise<PhiResolvedCmsPageTree>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { createPhiPresetCmsInstanceIdMap } from "../../../../types/cms-instance-id";
|
|
2
|
+
import { PHI_ACCOUNTING_RUNTIME_MODULE_ID } from "../ids";
|
|
3
|
+
import { createPhiCmsPresetNodes } from "../../../../helpers/cms-preset-nodes";
|
|
4
|
+
import { buildPhiAreaShellHeaderNodes, buildPhiAreaShellSiderLeftNodes, concatPhiAreaShellPresetNodes, } from "../../../../components/regions/presets/phi-area-shell-preset-nodes";
|
|
5
|
+
import { createPhiDefaultAreaRuntimeModuleIds } from "../../area-module-defaults";
|
|
6
|
+
/*
|
|
7
|
+
* The staff shell, as Admin's: the header bar with the Page title as a caption, the Tour button and the
|
|
8
|
+
* Account, and the sidebar on `accounting:sidebar`, composed over the Site's shell in `../presets.ts`.
|
|
9
|
+
* Ids of its own, so an Accounting shell never shares a node with another Area's.
|
|
10
|
+
*/
|
|
11
|
+
const SYNTHETIC_ACCOUNTING_REGION_IDS = {
|
|
12
|
+
regionHeaderTop: -170,
|
|
13
|
+
regionSiderLeft: -180,
|
|
14
|
+
};
|
|
15
|
+
const SYNTHETIC_ACCOUNTING_LAYOUT_IDS = createPhiPresetCmsInstanceIdMap({
|
|
16
|
+
domain: "area",
|
|
17
|
+
ownerModuleId: PHI_ACCOUNTING_RUNTIME_MODULE_ID,
|
|
18
|
+
presetKey: "accounting-area-preset",
|
|
19
|
+
}, [
|
|
20
|
+
"layoutHeaderTop",
|
|
21
|
+
"layoutHeaderTopActions",
|
|
22
|
+
"layoutSiderLeft",
|
|
23
|
+
]);
|
|
24
|
+
const SYNTHETIC_ACCOUNTING_WIDGET_IDS = createPhiPresetCmsInstanceIdMap({
|
|
25
|
+
domain: "area",
|
|
26
|
+
ownerModuleId: PHI_ACCOUNTING_RUNTIME_MODULE_ID,
|
|
27
|
+
presetKey: "accounting-area-preset",
|
|
28
|
+
}, [
|
|
29
|
+
"widgetSiderLeftNav",
|
|
30
|
+
"widgetHeaderTopAccount",
|
|
31
|
+
"widgetHeaderTopPageTitle",
|
|
32
|
+
"widgetHeaderTopTourButton",
|
|
33
|
+
]);
|
|
34
|
+
export async function buildPhiDefaultAccountingAreaPresetTree({ page, runtime, }) {
|
|
35
|
+
const nodes = createPhiCmsPresetNodes(page);
|
|
36
|
+
return {
|
|
37
|
+
page: nodes.page(),
|
|
38
|
+
runtimeModuleIds: createPhiDefaultAreaRuntimeModuleIds("accounting"),
|
|
39
|
+
overlays: [],
|
|
40
|
+
...concatPhiAreaShellPresetNodes(buildPhiAreaShellHeaderNodes({
|
|
41
|
+
nodes,
|
|
42
|
+
runtime,
|
|
43
|
+
labelPrefix: "accounting",
|
|
44
|
+
ids: { ...SYNTHETIC_ACCOUNTING_REGION_IDS, ...SYNTHETIC_ACCOUNTING_LAYOUT_IDS, ...SYNTHETIC_ACCOUNTING_WIDGET_IDS },
|
|
45
|
+
}), buildPhiAreaShellSiderLeftNodes({
|
|
46
|
+
nodes,
|
|
47
|
+
runtime,
|
|
48
|
+
labelPrefix: "accounting",
|
|
49
|
+
navKey: "accounting:sidebar",
|
|
50
|
+
ids: { ...SYNTHETIC_ACCOUNTING_REGION_IDS, ...SYNTHETIC_ACCOUNTING_LAYOUT_IDS, ...SYNTHETIC_ACCOUNTING_WIDGET_IDS },
|
|
51
|
+
})),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -107,14 +107,28 @@ export declare const PHI_ACCOUNTING_RUNTIME_AREA_DEFINITIONS: {
|
|
|
107
107
|
label: {
|
|
108
108
|
defaultMessage: string;
|
|
109
109
|
};
|
|
110
|
-
items: {
|
|
110
|
+
items: ({
|
|
111
111
|
itemKey: string;
|
|
112
112
|
label: {
|
|
113
113
|
defaultMessage: string;
|
|
114
114
|
};
|
|
115
115
|
icon: string;
|
|
116
116
|
routePresetKey: string;
|
|
117
|
-
|
|
117
|
+
standing?: undefined;
|
|
118
|
+
target?: undefined;
|
|
119
|
+
} | {
|
|
120
|
+
itemKey: string;
|
|
121
|
+
label: {
|
|
122
|
+
defaultMessage: string;
|
|
123
|
+
};
|
|
124
|
+
icon: string;
|
|
125
|
+
standing: "last";
|
|
126
|
+
target: {
|
|
127
|
+
kind: "area";
|
|
128
|
+
area: "admin";
|
|
129
|
+
};
|
|
130
|
+
routePresetKey?: undefined;
|
|
131
|
+
})[];
|
|
118
132
|
exportedItemKeys: string[];
|
|
119
133
|
anchors: Partial<Record<PhiCmsNavigationAnchor, PhiCmsNavigationAnchorPlacement>>;
|
|
120
134
|
})[];
|
|
@@ -133,7 +147,7 @@ export declare const PHI_ADMIN_RUNTIME_AREA_DEFINITIONS: {
|
|
|
133
147
|
label: {
|
|
134
148
|
defaultMessage: string;
|
|
135
149
|
};
|
|
136
|
-
items: {
|
|
150
|
+
items: ({
|
|
137
151
|
itemKey: string;
|
|
138
152
|
label: {
|
|
139
153
|
defaultMessage: string;
|
|
@@ -153,7 +167,20 @@ export declare const PHI_ADMIN_RUNTIME_AREA_DEFINITIONS: {
|
|
|
153
167
|
};
|
|
154
168
|
routePresetKey: string;
|
|
155
169
|
}[];
|
|
156
|
-
|
|
170
|
+
target?: undefined;
|
|
171
|
+
} | {
|
|
172
|
+
itemKey: string;
|
|
173
|
+
label: {
|
|
174
|
+
defaultMessage: string;
|
|
175
|
+
};
|
|
176
|
+
icon: string;
|
|
177
|
+
standing: "last";
|
|
178
|
+
target: {
|
|
179
|
+
kind: "area";
|
|
180
|
+
area: "builder";
|
|
181
|
+
};
|
|
182
|
+
children?: undefined;
|
|
183
|
+
})[];
|
|
157
184
|
exportedItemKeys: string[];
|
|
158
185
|
anchors: Partial<Record<PhiCmsNavigationAnchor, PhiCmsNavigationAnchorPlacement>>;
|
|
159
186
|
})[];
|
|
@@ -282,14 +309,28 @@ export declare const PHI_ALL_RUNTIME_AREA_DEFINITIONS: ({
|
|
|
282
309
|
label: {
|
|
283
310
|
defaultMessage: string;
|
|
284
311
|
};
|
|
285
|
-
items: {
|
|
312
|
+
items: ({
|
|
286
313
|
itemKey: string;
|
|
287
314
|
label: {
|
|
288
315
|
defaultMessage: string;
|
|
289
316
|
};
|
|
290
317
|
icon: string;
|
|
291
318
|
routePresetKey: string;
|
|
292
|
-
|
|
319
|
+
standing?: undefined;
|
|
320
|
+
target?: undefined;
|
|
321
|
+
} | {
|
|
322
|
+
itemKey: string;
|
|
323
|
+
label: {
|
|
324
|
+
defaultMessage: string;
|
|
325
|
+
};
|
|
326
|
+
icon: string;
|
|
327
|
+
standing: "last";
|
|
328
|
+
target: {
|
|
329
|
+
kind: "area";
|
|
330
|
+
area: "admin";
|
|
331
|
+
};
|
|
332
|
+
routePresetKey?: undefined;
|
|
333
|
+
})[];
|
|
293
334
|
exportedItemKeys: string[];
|
|
294
335
|
anchors: Partial<Record<PhiCmsNavigationAnchor, PhiCmsNavigationAnchorPlacement>>;
|
|
295
336
|
})[];
|
|
@@ -307,7 +348,7 @@ export declare const PHI_ALL_RUNTIME_AREA_DEFINITIONS: ({
|
|
|
307
348
|
label: {
|
|
308
349
|
defaultMessage: string;
|
|
309
350
|
};
|
|
310
|
-
items: {
|
|
351
|
+
items: ({
|
|
311
352
|
itemKey: string;
|
|
312
353
|
label: {
|
|
313
354
|
defaultMessage: string;
|
|
@@ -327,7 +368,20 @@ export declare const PHI_ALL_RUNTIME_AREA_DEFINITIONS: ({
|
|
|
327
368
|
};
|
|
328
369
|
routePresetKey: string;
|
|
329
370
|
}[];
|
|
330
|
-
|
|
371
|
+
target?: undefined;
|
|
372
|
+
} | {
|
|
373
|
+
itemKey: string;
|
|
374
|
+
label: {
|
|
375
|
+
defaultMessage: string;
|
|
376
|
+
};
|
|
377
|
+
icon: string;
|
|
378
|
+
standing: "last";
|
|
379
|
+
target: {
|
|
380
|
+
kind: "area";
|
|
381
|
+
area: "builder";
|
|
382
|
+
};
|
|
383
|
+
children?: undefined;
|
|
384
|
+
})[];
|
|
331
385
|
exportedItemKeys: string[];
|
|
332
386
|
anchors: Partial<Record<PhiCmsNavigationAnchor, PhiCmsNavigationAnchorPlacement>>;
|
|
333
387
|
})[];
|
|
@@ -372,6 +426,7 @@ export declare const PHI_ALL_RUNTIME_AREA_DEFINITIONS: ({
|
|
|
372
426
|
routePresetKey: string;
|
|
373
427
|
standing?: undefined;
|
|
374
428
|
children?: undefined;
|
|
429
|
+
target?: undefined;
|
|
375
430
|
} | {
|
|
376
431
|
itemKey: string;
|
|
377
432
|
label: {
|
|
@@ -388,6 +443,20 @@ export declare const PHI_ALL_RUNTIME_AREA_DEFINITIONS: ({
|
|
|
388
443
|
routePresetKey: string;
|
|
389
444
|
}[];
|
|
390
445
|
routePresetKey?: undefined;
|
|
446
|
+
target?: undefined;
|
|
447
|
+
} | {
|
|
448
|
+
itemKey: string;
|
|
449
|
+
label: {
|
|
450
|
+
defaultMessage: string;
|
|
451
|
+
};
|
|
452
|
+
icon: string;
|
|
453
|
+
standing: "last";
|
|
454
|
+
target: {
|
|
455
|
+
kind: "area";
|
|
456
|
+
area: "admin";
|
|
457
|
+
};
|
|
458
|
+
routePresetKey?: undefined;
|
|
459
|
+
children?: undefined;
|
|
391
460
|
})[];
|
|
392
461
|
exportedItemKeys: string[];
|
|
393
462
|
anchors: Partial<Record<PhiCmsNavigationAnchor, PhiCmsNavigationAnchorPlacement>>;
|
|
@@ -499,14 +568,28 @@ export declare function resolvePhiRuntimeAreaDefinition(area: PhiCmsAreaDefiniti
|
|
|
499
568
|
label: {
|
|
500
569
|
defaultMessage: string;
|
|
501
570
|
};
|
|
502
|
-
items: {
|
|
571
|
+
items: ({
|
|
503
572
|
itemKey: string;
|
|
504
573
|
label: {
|
|
505
574
|
defaultMessage: string;
|
|
506
575
|
};
|
|
507
576
|
icon: string;
|
|
508
577
|
routePresetKey: string;
|
|
509
|
-
|
|
578
|
+
standing?: undefined;
|
|
579
|
+
target?: undefined;
|
|
580
|
+
} | {
|
|
581
|
+
itemKey: string;
|
|
582
|
+
label: {
|
|
583
|
+
defaultMessage: string;
|
|
584
|
+
};
|
|
585
|
+
icon: string;
|
|
586
|
+
standing: "last";
|
|
587
|
+
target: {
|
|
588
|
+
kind: "area";
|
|
589
|
+
area: "admin";
|
|
590
|
+
};
|
|
591
|
+
routePresetKey?: undefined;
|
|
592
|
+
})[];
|
|
510
593
|
exportedItemKeys: string[];
|
|
511
594
|
anchors: Partial<Record<PhiCmsNavigationAnchor, PhiCmsNavigationAnchorPlacement>>;
|
|
512
595
|
})[];
|
|
@@ -524,7 +607,7 @@ export declare function resolvePhiRuntimeAreaDefinition(area: PhiCmsAreaDefiniti
|
|
|
524
607
|
label: {
|
|
525
608
|
defaultMessage: string;
|
|
526
609
|
};
|
|
527
|
-
items: {
|
|
610
|
+
items: ({
|
|
528
611
|
itemKey: string;
|
|
529
612
|
label: {
|
|
530
613
|
defaultMessage: string;
|
|
@@ -544,7 +627,20 @@ export declare function resolvePhiRuntimeAreaDefinition(area: PhiCmsAreaDefiniti
|
|
|
544
627
|
};
|
|
545
628
|
routePresetKey: string;
|
|
546
629
|
}[];
|
|
547
|
-
|
|
630
|
+
target?: undefined;
|
|
631
|
+
} | {
|
|
632
|
+
itemKey: string;
|
|
633
|
+
label: {
|
|
634
|
+
defaultMessage: string;
|
|
635
|
+
};
|
|
636
|
+
icon: string;
|
|
637
|
+
standing: "last";
|
|
638
|
+
target: {
|
|
639
|
+
kind: "area";
|
|
640
|
+
area: "builder";
|
|
641
|
+
};
|
|
642
|
+
children?: undefined;
|
|
643
|
+
})[];
|
|
548
644
|
exportedItemKeys: string[];
|
|
549
645
|
anchors: Partial<Record<PhiCmsNavigationAnchor, PhiCmsNavigationAnchorPlacement>>;
|
|
550
646
|
})[];
|
|
@@ -589,6 +685,7 @@ export declare function resolvePhiRuntimeAreaDefinition(area: PhiCmsAreaDefiniti
|
|
|
589
685
|
routePresetKey: string;
|
|
590
686
|
standing?: undefined;
|
|
591
687
|
children?: undefined;
|
|
688
|
+
target?: undefined;
|
|
592
689
|
} | {
|
|
593
690
|
itemKey: string;
|
|
594
691
|
label: {
|
|
@@ -605,6 +702,20 @@ export declare function resolvePhiRuntimeAreaDefinition(area: PhiCmsAreaDefiniti
|
|
|
605
702
|
routePresetKey: string;
|
|
606
703
|
}[];
|
|
607
704
|
routePresetKey?: undefined;
|
|
705
|
+
target?: undefined;
|
|
706
|
+
} | {
|
|
707
|
+
itemKey: string;
|
|
708
|
+
label: {
|
|
709
|
+
defaultMessage: string;
|
|
710
|
+
};
|
|
711
|
+
icon: string;
|
|
712
|
+
standing: "last";
|
|
713
|
+
target: {
|
|
714
|
+
kind: "area";
|
|
715
|
+
area: "admin";
|
|
716
|
+
};
|
|
717
|
+
routePresetKey?: undefined;
|
|
718
|
+
children?: undefined;
|
|
608
719
|
})[];
|
|
609
720
|
exportedItemKeys: string[];
|
|
610
721
|
anchors: Partial<Record<PhiCmsNavigationAnchor, PhiCmsNavigationAnchorPlacement>>;
|
|
@@ -238,6 +238,14 @@ export const PHI_ACCOUNTING_RUNTIME_AREA_DEFINITIONS = [
|
|
|
238
238
|
label: label("Overview"),
|
|
239
239
|
icon: "antd:audit",
|
|
240
240
|
routePresetKey: "accounting-overview-page",
|
|
241
|
+
},
|
|
242
|
+
// The way into the Admin, as the Builder has one; shown to whoever the Admin lets in.
|
|
243
|
+
{
|
|
244
|
+
itemKey: "@phis/ui/modules/accounting/nav/admin",
|
|
245
|
+
label: label("Admin"),
|
|
246
|
+
icon: "antd:cluster",
|
|
247
|
+
standing: "last",
|
|
248
|
+
target: { kind: "area", area: "admin" },
|
|
241
249
|
}],
|
|
242
250
|
exportedItemKeys: ["@phis/ui/modules/accounting/nav/home"],
|
|
243
251
|
anchors: sidebarAnchors(),
|
|
@@ -270,6 +278,18 @@ export const PHI_ADMIN_RUNTIME_AREA_DEFINITIONS = [
|
|
|
270
278
|
routePresetKey: "admin-settings-general-page",
|
|
271
279
|
}],
|
|
272
280
|
},
|
|
281
|
+
/*
|
|
282
|
+
* The Builder, one step away: going from configuring the Site to building it is the most
|
|
283
|
+
* common switch out of the Admin. Its root forwards to wherever this viewer lands there, and
|
|
284
|
+
* the entry is shown to whoever the Builder lets in. Last, after Settings, because it leaves.
|
|
285
|
+
*/
|
|
286
|
+
{
|
|
287
|
+
itemKey: "@phis/ui/modules/admin/nav/builder",
|
|
288
|
+
label: label("Builder"),
|
|
289
|
+
icon: "antd:build",
|
|
290
|
+
standing: "last",
|
|
291
|
+
target: { kind: "area", area: "builder" },
|
|
292
|
+
},
|
|
273
293
|
],
|
|
274
294
|
exportedItemKeys: [PHI_ADMIN_SETTINGS_NAV_ITEM_KEY],
|
|
275
295
|
anchors: sidebarAnchors(PHI_ADMIN_SETTINGS_NAV_ITEM_KEY),
|
|
@@ -324,6 +344,14 @@ const PHI_BUILDER_RUNTIME_AREA_DEFINITIONS = [
|
|
|
324
344
|
routePresetKey: "builder-settings-general-page",
|
|
325
345
|
}],
|
|
326
346
|
},
|
|
347
|
+
// The way back into the Admin; see the Admin's Builder entry.
|
|
348
|
+
{
|
|
349
|
+
itemKey: "@phis/ui/builder/nav/admin",
|
|
350
|
+
label: label("Admin"),
|
|
351
|
+
icon: "antd:cluster",
|
|
352
|
+
standing: "last",
|
|
353
|
+
target: { kind: "area", area: "admin" },
|
|
354
|
+
},
|
|
327
355
|
],
|
|
328
356
|
exportedItemKeys: [
|
|
329
357
|
"@phis/ui/builder/nav/modules",
|
|
@@ -14,6 +14,18 @@ export const PHI_ASSET_RUNTIME_DATA_PROVIDER_CLIENT_DEFINITIONS = [
|
|
|
14
14
|
loadLive: async () => (await import("./services/options"))
|
|
15
15
|
.PhiMediaFolderChoicesOptionsProviderClient,
|
|
16
16
|
},
|
|
17
|
+
{
|
|
18
|
+
key: PHI_ASSET_RUNTIME_DATA_PROVIDER_KEYS.mediaStorageProfiles,
|
|
19
|
+
ownerModuleId: PHI_ASSET_RUNTIME_MODULE_ID,
|
|
20
|
+
loadLive: async () => (await import("./services/options"))
|
|
21
|
+
.PhiMediaStorageProfilesOptionsProviderClient,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
key: PHI_ASSET_RUNTIME_DATA_PROVIDER_KEYS.mediaStorageSpaces,
|
|
25
|
+
ownerModuleId: PHI_ASSET_RUNTIME_MODULE_ID,
|
|
26
|
+
loadLive: async () => (await import("./services/storage-spaces-table"))
|
|
27
|
+
.PhiMediaStorageSpacesTableProviderClient,
|
|
28
|
+
},
|
|
17
29
|
{
|
|
18
30
|
key: PHI_ASSET_RUNTIME_DATA_PROVIDER_KEYS.mediaCollection,
|
|
19
31
|
ownerModuleId: PHI_ASSET_RUNTIME_MODULE_ID,
|
|
@@ -252,7 +252,7 @@ export function usePhiAssetRuntimeController({ address, mountScope, config, }) {
|
|
|
252
252
|
title: asset.title ?? "",
|
|
253
253
|
altText: asset.altText ?? "",
|
|
254
254
|
presentationFlags: ASSET_FORM_FLAG_VALUES.filter((flag) => (asset.presentationFlags & flag) === flag).map(String),
|
|
255
|
-
focalRect: normalizeMediaFocalRect(asset.
|
|
255
|
+
focalRect: normalizeMediaFocalRect(asset.focalRect) ?? null,
|
|
256
256
|
},
|
|
257
257
|
}, inspectorRequest.correlationId);
|
|
258
258
|
}, [emitCapability, inspectorRequest, state.assets, state.folders, state.selectedAsset]);
|
|
@@ -1,9 +1,23 @@
|
|
|
1
|
+
import type { PhiTableProviderResourceDescriptor } from "../../../types/table-widget";
|
|
1
2
|
/** How the Folder's pictures are ordered; the words a record binding's `sort` takes. */
|
|
2
3
|
export declare const PHI_MEDIA_FOLDER_IMAGES_SORTS: readonly ["name_asc", "created_at_desc"];
|
|
3
4
|
export declare const PHI_MEDIA_FOLDER_IMAGES_DEFAULT_LIMIT = 50;
|
|
4
5
|
/** What the server hands out at most (`/api/v1/site/media/folder-images`). */
|
|
5
6
|
export declare const PHI_MEDIA_FOLDER_IMAGES_MAX_LIMIT = 200;
|
|
7
|
+
/** The existing User and Group Spaces, one resource per kind, for the Admin storage table. */
|
|
8
|
+
export declare const PHI_ASSET_STORAGE_SPACES_RESOURCES: readonly PhiTableProviderResourceDescriptor[];
|
|
6
9
|
export declare const PHI_ASSET_RUNTIME_DATA_PROVIDER_DESCRIPTORS: ({
|
|
10
|
+
key: `${string}/${string}`;
|
|
11
|
+
ownerModuleId: "@phis/ui/modules/asset";
|
|
12
|
+
kind: "table";
|
|
13
|
+
executionMode: "live";
|
|
14
|
+
authoringMode: "none";
|
|
15
|
+
title: string;
|
|
16
|
+
description: string;
|
|
17
|
+
resources: readonly PhiTableProviderResourceDescriptor[];
|
|
18
|
+
availableToAuthoringChrome?: undefined;
|
|
19
|
+
settingsFields?: undefined;
|
|
20
|
+
} | {
|
|
7
21
|
key: `${string}/${string}`;
|
|
8
22
|
ownerModuleId: "@phis/ui/modules/asset";
|
|
9
23
|
kind: "options";
|
|
@@ -11,9 +25,20 @@ export declare const PHI_ASSET_RUNTIME_DATA_PROVIDER_DESCRIPTORS: ({
|
|
|
11
25
|
authoringMode: "none";
|
|
12
26
|
title: string;
|
|
13
27
|
description: string;
|
|
14
|
-
|
|
28
|
+
resources?: undefined;
|
|
29
|
+
availableToAuthoringChrome?: undefined;
|
|
15
30
|
settingsFields?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
key: `${string}/${string}`;
|
|
33
|
+
ownerModuleId: "@phis/ui/modules/asset";
|
|
34
|
+
kind: "options";
|
|
35
|
+
executionMode: "live";
|
|
36
|
+
authoringMode: "none";
|
|
37
|
+
title: string;
|
|
38
|
+
description: string;
|
|
39
|
+
availableToAuthoringChrome: true;
|
|
16
40
|
resources?: undefined;
|
|
41
|
+
settingsFields?: undefined;
|
|
17
42
|
} | {
|
|
18
43
|
key: `${string}/${string}`;
|
|
19
44
|
ownerModuleId: "@phis/ui/modules/asset";
|
|
@@ -68,8 +93,8 @@ export declare const PHI_ASSET_RUNTIME_DATA_PROVIDER_DESCRIPTORS: ({
|
|
|
68
93
|
description?: undefined;
|
|
69
94
|
options?: undefined;
|
|
70
95
|
})[];
|
|
71
|
-
availableToAuthoringChrome?: undefined;
|
|
72
96
|
resources?: undefined;
|
|
97
|
+
availableToAuthoringChrome?: undefined;
|
|
73
98
|
} | {
|
|
74
99
|
key: `${string}/${string}`;
|
|
75
100
|
ownerModuleId: "@phis/ui/modules/asset";
|
|
@@ -6,7 +6,63 @@ export const PHI_MEDIA_FOLDER_IMAGES_SORTS = ["name_asc", "created_at_desc"];
|
|
|
6
6
|
export const PHI_MEDIA_FOLDER_IMAGES_DEFAULT_LIMIT = 50;
|
|
7
7
|
/** What the server hands out at most (`/api/v1/site/media/folder-images`). */
|
|
8
8
|
export const PHI_MEDIA_FOLDER_IMAGES_MAX_LIMIT = 200;
|
|
9
|
+
/** The existing User and Group Spaces, one resource per kind, for the Admin storage table. */
|
|
10
|
+
export const PHI_ASSET_STORAGE_SPACES_RESOURCES = [
|
|
11
|
+
{
|
|
12
|
+
resourceKey: "userSpaces",
|
|
13
|
+
title: "User Spaces",
|
|
14
|
+
rowIdentityPath: "id",
|
|
15
|
+
fields: [
|
|
16
|
+
{ key: "id", title: "Space", type: "number", required: true },
|
|
17
|
+
{ key: "owner", title: "Owner", type: "string", required: true },
|
|
18
|
+
{ key: "email", title: "Email", type: "string" },
|
|
19
|
+
{ key: "storageProfileId", title: "Storage profile", type: "string", required: true, mutable: true },
|
|
20
|
+
// Megabytes, as every quota field of the settings states them. Empty inherits the Site default.
|
|
21
|
+
{ key: "quotaMegabytes", title: "Quota", type: "number", mutable: true, constraints: { min: 0 } },
|
|
22
|
+
{ key: "effectiveQuotaMegabytes", title: "Effective quota", type: "number" },
|
|
23
|
+
{ key: "usedMegabytes", title: "Used", type: "number" },
|
|
24
|
+
],
|
|
25
|
+
query: { search: true, sorting: "none", pagination: "offset", total: true },
|
|
26
|
+
actions: [{ key: "refresh", title: "Refresh", scope: "resource" }],
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
resourceKey: "groupSpaces",
|
|
30
|
+
title: "Group Spaces",
|
|
31
|
+
rowIdentityPath: "id",
|
|
32
|
+
fields: [
|
|
33
|
+
{ key: "id", title: "Space", type: "number", required: true },
|
|
34
|
+
{ key: "owner", title: "Owner", type: "string", required: true },
|
|
35
|
+
{ key: "email", title: "Email", type: "string" },
|
|
36
|
+
{ key: "storageProfileId", title: "Storage profile", type: "string", required: true, mutable: true },
|
|
37
|
+
// Megabytes, as every quota field of the settings states them. Empty inherits the Site default.
|
|
38
|
+
{ key: "quotaMegabytes", title: "Quota", type: "number", mutable: true, constraints: { min: 0 } },
|
|
39
|
+
{ key: "effectiveQuotaMegabytes", title: "Effective quota", type: "number" },
|
|
40
|
+
{ key: "usedMegabytes", title: "Used", type: "number" },
|
|
41
|
+
],
|
|
42
|
+
query: { search: true, sorting: "none", pagination: "offset", total: true },
|
|
43
|
+
actions: [{ key: "refresh", title: "Refresh", scope: "resource" }],
|
|
44
|
+
},
|
|
45
|
+
];
|
|
9
46
|
export const PHI_ASSET_RUNTIME_DATA_PROVIDER_DESCRIPTORS = [
|
|
47
|
+
{
|
|
48
|
+
key: PHI_ASSET_RUNTIME_DATA_PROVIDER_KEYS.mediaStorageSpaces,
|
|
49
|
+
ownerModuleId: PHI_ASSET_RUNTIME_MODULE_ID,
|
|
50
|
+
kind: "table",
|
|
51
|
+
executionMode: "live",
|
|
52
|
+
authoringMode: "none",
|
|
53
|
+
title: "Media Spaces and their storage",
|
|
54
|
+
description: "The site's existing User and Group Spaces, with the storage profile each writes to and its quota.",
|
|
55
|
+
resources: PHI_ASSET_STORAGE_SPACES_RESOURCES,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
key: PHI_ASSET_RUNTIME_DATA_PROVIDER_KEYS.mediaStorageProfiles,
|
|
59
|
+
ownerModuleId: PHI_ASSET_RUNTIME_MODULE_ID,
|
|
60
|
+
kind: "options",
|
|
61
|
+
executionMode: "live",
|
|
62
|
+
authoringMode: "none",
|
|
63
|
+
title: "Storage profiles",
|
|
64
|
+
description: "The site's storage profiles, for a setting that points Spaces at one.",
|
|
65
|
+
},
|
|
10
66
|
{
|
|
11
67
|
key: PHI_ASSET_RUNTIME_DATA_PROVIDER_KEYS.mediaFolderChoices,
|
|
12
68
|
ownerModuleId: PHI_ASSET_RUNTIME_MODULE_ID,
|