@phis/ui 0.6.3 → 0.6.5
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/cms/phi-cms-layout-renderer.js +11 -2
- package/components/controls/phi-multi-select-control.js +4 -2
- package/components/controls/phi-options-provider.d.ts +1 -0
- package/components/controls/phi-options-provider.js +1 -0
- package/components/controls/phi-segmented-control.js +15 -1
- package/components/controls/phi-select-control.d.ts +21 -0
- package/components/controls/phi-select-control.js +2 -2
- package/components/controls/phi-status-dot-control.d.ts +15 -0
- package/components/controls/phi-status-dot-control.js +25 -0
- package/components/controls/phi-table-control.js +8 -1
- package/components/controls/phi-tree-control.js +5 -4
- package/components/controls/phi-tree-select-control.js +1 -0
- package/components/layouts/clients/phi-split-card-half.d.ts +4 -1
- package/components/layouts/clients/phi-split-card-half.js +2 -2
- package/components/layouts/clients/phi-split-card-layout-client.d.ts +6 -3
- package/components/layouts/clients/phi-split-card-layout-client.js +5 -3
- package/components/layouts/clients/phi-three-column-layout-client.d.ts +20 -1
- package/components/layouts/clients/phi-three-column-layout-client.js +31 -15
- package/components/layouts/layout-definitions.d.ts +96 -0
- package/components/layouts/layout-definitions.js +40 -2
- package/components/layouts/plugins/split-card-layout-plugin.js +1 -1
- package/components/layouts/plugins/three-column-layout-plugin.js +1 -1
- package/components/layouts/split-card-geometry.d.ts +9 -4
- package/components/layouts/split-card-geometry.js +29 -13
- package/components/media/media-folder-options.d.ts +10 -0
- package/components/media/media-folder-options.js +14 -0
- package/components/shell/phi-antd-icon.d.ts +1 -0
- package/components/shell/phi-antd-icon.js +3 -0
- package/components/widgets/inspector-field-row.js +4 -1
- package/components/widgets/label-sets/admin-users.d.ts +3 -0
- package/components/widgets/label-sets/admin-users.js +8 -2
- package/components/widgets/label-sets/gallery.js +2 -2
- package/components/widgets/label-sets/inspector.js +4 -0
- package/components/widgets/label-sets/observability-logs.js +2 -2
- package/components/widgets/label-sets/profile.js +2 -1
- package/components/widgets/label-types/gallery.d.ts +2 -3
- package/components/widgets/label-types/gallery.js +1 -4
- package/components/widgets/label-types/inspector.d.ts +4 -0
- package/components/widgets/label-types/inspector.js +2 -0
- package/components/widgets/shared/markdown-image-vocabulary.js +1 -1
- package/constants/cms-layout-proportions.d.ts +6 -0
- package/constants/cms-layout-proportions.js +17 -0
- package/constants/runtime-module-ownership.js +1 -0
- package/helpers/page-reference-tree.js +8 -0
- package/helpers/table-action-links.d.ts +11 -0
- package/helpers/table-action-links.js +14 -0
- package/helpers/table-action-row-link.d.ts +8 -0
- package/helpers/table-action-row-link.js +14 -0
- package/package.json +2 -2
- package/plugins/factories/widget-renderers.d.ts +7 -1
- package/plugins/factories/widget-renderers.js +12 -2
- package/plugins/runtime-modules/asset/authoring-widgets.js +2 -2
- package/plugins/runtime-modules/asset/data-providers.js +1 -1
- package/plugins/runtime-modules/asset/services/options.js +7 -11
- package/plugins/runtime-modules/asset/widgets/area-upload/plugin.js +0 -2
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/plugin.js +0 -2
- package/plugins/runtime-modules/asset/widgets/image-inspector/plugin.js +0 -2
- package/plugins/runtime-modules/asset/widgets/media-picker/plugin.js +0 -2
- package/plugins/runtime-modules/asset/widgets.js +4 -4
- package/plugins/runtime-modules/auth/authoring-widgets.js +4 -8
- package/plugins/runtime-modules/auth/services/installations-table.js +3 -1
- package/plugins/runtime-modules/auth/widgets/auth-workflow/plugin.js +0 -6
- package/plugins/runtime-modules/auth/widgets/logout/plugin.js +0 -2
- package/plugins/runtime-modules/auth/widgets/security/plugin.js +0 -2
- package/plugins/runtime-modules/auth/widgets.js +5 -3
- package/plugins/runtime-modules/avatar/authoring-widgets.js +2 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar/plugin.js +0 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/plugin.js +0 -2
- package/plugins/runtime-modules/avatar/widgets.js +2 -2
- package/plugins/runtime-modules/builder/authoring-widgets.js +1 -1
- package/plugins/runtime-modules/builder/clients/inspector-choice-cascader.d.ts +28 -0
- package/plugins/runtime-modules/builder/clients/inspector-choice-cascader.js +98 -0
- package/plugins/runtime-modules/builder/clients/inspector-config-field.js +27 -3
- package/plugins/runtime-modules/builder/clients/inspector-record-field-options.d.ts +17 -0
- package/plugins/runtime-modules/builder/clients/inspector-record-field-options.js +21 -0
- package/plugins/runtime-modules/builder/clients/inspector-translate-switch.d.ts +24 -0
- package/plugins/runtime-modules/builder/clients/inspector-translate-switch.js +29 -0
- package/plugins/runtime-modules/builder/clients/layout-inspector.d.ts +1 -1
- package/plugins/runtime-modules/builder/clients/layout-inspector.js +4 -2
- package/plugins/runtime-modules/builder/clients/widget-inspector.d.ts +1 -1
- package/plugins/runtime-modules/builder/clients/widget-inspector.js +6 -6
- package/plugins/runtime-modules/builder/plugin-meta-labels.js +17 -0
- package/plugins/runtime-modules/builder/render-root-node-scaffold.js +12 -2
- package/plugins/runtime-modules/builder/widgets/structure-region/plugin.js +0 -2
- package/plugins/runtime-modules/builder/widgets.js +3 -3
- package/plugins/runtime-modules/contracts.js +8 -4
- package/plugins/runtime-modules/core/authoring-widgets.js +2 -2
- package/plugins/runtime-modules/core/data-providers.d.ts +7 -3
- package/plugins/runtime-modules/core/data-providers.js +11 -1
- package/plugins/runtime-modules/core/definition.d.ts +7 -3
- package/plugins/runtime-modules/core/widgets/cascader/authoring.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/draft-status/client.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/draft-status/client.js +4 -3
- package/plugins/runtime-modules/core/widgets/gallery/authoring.js +6 -8
- package/plugins/runtime-modules/core/widgets/gallery/client.js +4 -0
- package/plugins/runtime-modules/core/widgets/gallery/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/gallery/server.d.ts +5 -1
- package/plugins/runtime-modules/core/widgets/gallery/server.js +8 -4
- package/plugins/runtime-modules/core/widgets/image/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/markdown/config.d.ts +11 -0
- package/plugins/runtime-modules/core/widgets/markdown/config.js +24 -22
- package/plugins/runtime-modules/core/widgets/simple-text/client.d.ts +9 -5
- package/plugins/runtime-modules/core/widgets/simple-text/client.js +5 -7
- package/plugins/runtime-modules/core/widgets/simple-text/config.d.ts +63 -4
- package/plugins/runtime-modules/core/widgets/simple-text/config.js +45 -11
- package/plugins/runtime-modules/core/widgets/simple-text/editor.js +2 -2
- package/plugins/runtime-modules/core/widgets/simple-text/plugin.d.ts +13 -0
- package/plugins/runtime-modules/core/widgets/simple-text/plugin.js +23 -4
- package/plugins/runtime-modules/core/widgets/simple-text/server.d.ts +4 -2
- package/plugins/runtime-modules/core/widgets/simple-text/server.js +7 -6
- package/plugins/runtime-modules/core/widgets/table/client.js +4 -4
- package/plugins/runtime-modules/core/widgets/table/config.js +11 -3
- package/plugins/runtime-modules/core/widgets/table/plugin.js +21 -1
- package/plugins/runtime-modules/core/widgets/thread-conversation/plugin.js +0 -2
- package/plugins/runtime-modules/core/widgets/tree/config.js +2 -1
- package/plugins/runtime-modules/core/widgets/tree/plugin.js +16 -1
- package/plugins/runtime-modules/core/widgets.js +1 -1
- package/plugins/runtime-modules/editor/services/releases-table.js +4 -1
- package/plugins/runtime-modules/observability/data-providers.js +1 -1
- package/plugins/runtime-modules/observability/services/table.js +3 -1
- package/plugins/runtime-modules/theme/authoring-widgets.js +5 -5
- package/plugins/runtime-modules/theme/widgets/brand-controls/plugin.js +0 -5
- package/plugins/runtime-modules/theme/widgets.js +4 -4
- package/plugins/runtime-modules/user-management/addon-roles.d.ts +28 -7
- package/plugins/runtime-modules/user-management/addon-roles.js +42 -17
- package/plugins/runtime-modules/user-management/client-data-providers.js +6 -0
- package/plugins/runtime-modules/user-management/data-providers.js +11 -2
- package/plugins/runtime-modules/user-management/forms.js +40 -1
- package/plugins/runtime-modules/user-management/ids.d.ts +1 -0
- package/plugins/runtime-modules/user-management/ids.js +1 -0
- package/plugins/runtime-modules/user-management/services/options.d.ts +14 -3
- package/plugins/runtime-modules/user-management/services/options.js +52 -16
- package/plugins/runtime-modules/user-management/services/table.js +11 -25
- package/plugins/runtime-modules/user-management/services/users-query.d.ts +9 -0
- package/plugins/runtime-modules/user-management/services/users-query.js +29 -0
- package/plugins/runtime-modules/video/widgets/embed/plugin.js +0 -2
- package/plugins/runtime-modules/video/widgets.js +1 -1
- package/styles/layout.css +4 -4
- package/types/cms-config.d.ts +12 -4
- package/types/cms-config.js +3 -0
- package/types/cms-plugins.d.ts +26 -4
- package/types/core-widget-placements.d.ts +4 -4
- package/types/table-widget.d.ts +17 -1
- package/types/tree.d.ts +2 -0
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/authoring.d.ts +0 -2
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/authoring.js +0 -6
- package/plugins/runtime-modules/asset/widgets/image-inspector/authoring.d.ts +0 -2
- package/plugins/runtime-modules/asset/widgets/image-inspector/authoring.js +0 -6
- package/plugins/runtime-modules/auth/widgets/auth-methods/authoring.d.ts +0 -7
- package/plugins/runtime-modules/auth/widgets/auth-methods/authoring.js +0 -12
- package/plugins/runtime-modules/auth/widgets/auth-workflow/authoring.d.ts +0 -7
- package/plugins/runtime-modules/auth/widgets/auth-workflow/authoring.js +0 -12
- package/plugins/runtime-modules/auth/widgets/logout/authoring.d.ts +0 -3
- package/plugins/runtime-modules/auth/widgets/logout/authoring.js +0 -8
- package/plugins/runtime-modules/auth/widgets/security/authoring.d.ts +0 -3
- package/plugins/runtime-modules/auth/widgets/security/authoring.js +0 -8
- package/plugins/runtime-modules/avatar/widgets/account-avatar/authoring.d.ts +0 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar/authoring.js +0 -6
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/authoring.d.ts +0 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/authoring.js +0 -6
- package/plugins/runtime-modules/builder/widgets/structure-region/internal-builder.d.ts +0 -22
- package/plugins/runtime-modules/builder/widgets/structure-region/internal-builder.js +0 -8
- package/plugins/runtime-modules/core/widgets/form-preview/authoring.d.ts +0 -10
- package/plugins/runtime-modules/core/widgets/form-preview/authoring.js +0 -15
- package/plugins/runtime-modules/core/widgets/thread-conversation/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/thread-conversation/authoring.js +0 -9
- package/plugins/runtime-modules/theme/widgets/brand-controls/authoring.d.ts +0 -76
- package/plugins/runtime-modules/theme/widgets/brand-controls/authoring.js +0 -30
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { type PhiBuilderBrandWidgetConfig } from "../../../../../plugins/runtime-modules/theme/widgets/brand-controls/config";
|
|
2
|
-
export declare const PHI_BUILDER_BRAND_THEME_CONTROLS_WIDGET_BUILDER_PLUGIN: {
|
|
3
|
-
renderEditor: (args_0: import("../../../../../types").PhiCmsBuilderWidgetRenderArgs<PhiBuilderBrandWidgetConfig>) => import("react").ReactNode;
|
|
4
|
-
title: string;
|
|
5
|
-
kind: "widget";
|
|
6
|
-
category: import("../../../../../cms").PhiCmsPluginCategory;
|
|
7
|
-
description?: string | undefined;
|
|
8
|
-
iconFamily?: string | undefined;
|
|
9
|
-
pluginKey: string;
|
|
10
|
-
runtimeSignals?: (import("../../../../../types").PhiSignalPluginMeta | null) | undefined;
|
|
11
|
-
typeKey: string;
|
|
12
|
-
requiredDataProviders?: readonly import("@phis/contracts/controls").PhiRuntimeDataProviderKey[] | undefined;
|
|
13
|
-
slotSizePolicy: import("../../../../../types").PhiSlotSizePolicy;
|
|
14
|
-
fields: import("../../../../../types").PhiCmsConfigField[];
|
|
15
|
-
parseConfig: (raw: Record<string, unknown>) => PhiBuilderBrandWidgetConfig;
|
|
16
|
-
};
|
|
17
|
-
export declare const PHI_BUILDER_BRAND_THEME_PREVIEW_WIDGET_BUILDER_PLUGIN: {
|
|
18
|
-
renderEditor: (args_0: import("../../../../../types").PhiCmsBuilderWidgetRenderArgs<PhiBuilderBrandWidgetConfig>) => import("react").ReactNode;
|
|
19
|
-
title: string;
|
|
20
|
-
kind: "widget";
|
|
21
|
-
category: import("../../../../../cms").PhiCmsPluginCategory;
|
|
22
|
-
description?: string | undefined;
|
|
23
|
-
iconFamily?: string | undefined;
|
|
24
|
-
pluginKey: string;
|
|
25
|
-
runtimeSignals?: (import("../../../../../types").PhiSignalPluginMeta | null) | undefined;
|
|
26
|
-
typeKey: string;
|
|
27
|
-
requiredDataProviders?: readonly import("@phis/contracts/controls").PhiRuntimeDataProviderKey[] | undefined;
|
|
28
|
-
slotSizePolicy: import("../../../../../types").PhiSlotSizePolicy;
|
|
29
|
-
fields: import("../../../../../types").PhiCmsConfigField[];
|
|
30
|
-
parseConfig: (raw: Record<string, unknown>) => PhiBuilderBrandWidgetConfig;
|
|
31
|
-
};
|
|
32
|
-
export declare const PHI_BUILDER_BRAND_STYLE_CONTROLS_WIDGET_BUILDER_PLUGIN: {
|
|
33
|
-
renderEditor: (args_0: import("../../../../../types").PhiCmsBuilderWidgetRenderArgs<PhiBuilderBrandWidgetConfig>) => import("react").ReactNode;
|
|
34
|
-
title: string;
|
|
35
|
-
kind: "widget";
|
|
36
|
-
category: import("../../../../../cms").PhiCmsPluginCategory;
|
|
37
|
-
description?: string | undefined;
|
|
38
|
-
iconFamily?: string | undefined;
|
|
39
|
-
pluginKey: string;
|
|
40
|
-
runtimeSignals?: (import("../../../../../types").PhiSignalPluginMeta | null) | undefined;
|
|
41
|
-
typeKey: string;
|
|
42
|
-
requiredDataProviders?: readonly import("@phis/contracts/controls").PhiRuntimeDataProviderKey[] | undefined;
|
|
43
|
-
slotSizePolicy: import("../../../../../types").PhiSlotSizePolicy;
|
|
44
|
-
fields: import("../../../../../types").PhiCmsConfigField[];
|
|
45
|
-
parseConfig: (raw: Record<string, unknown>) => PhiBuilderBrandWidgetConfig;
|
|
46
|
-
};
|
|
47
|
-
export declare const PHI_BUILDER_BRAND_BACKGROUND_CONTROLS_WIDGET_BUILDER_PLUGIN: {
|
|
48
|
-
renderEditor: (args_0: import("../../../../../types").PhiCmsBuilderWidgetRenderArgs<PhiBuilderBrandWidgetConfig>) => import("react").ReactNode;
|
|
49
|
-
title: string;
|
|
50
|
-
kind: "widget";
|
|
51
|
-
category: import("../../../../../cms").PhiCmsPluginCategory;
|
|
52
|
-
description?: string | undefined;
|
|
53
|
-
iconFamily?: string | undefined;
|
|
54
|
-
pluginKey: string;
|
|
55
|
-
runtimeSignals?: (import("../../../../../types").PhiSignalPluginMeta | null) | undefined;
|
|
56
|
-
typeKey: string;
|
|
57
|
-
requiredDataProviders?: readonly import("@phis/contracts/controls").PhiRuntimeDataProviderKey[] | undefined;
|
|
58
|
-
slotSizePolicy: import("../../../../../types").PhiSlotSizePolicy;
|
|
59
|
-
fields: import("../../../../../types").PhiCmsConfigField[];
|
|
60
|
-
parseConfig: (raw: Record<string, unknown>) => PhiBuilderBrandWidgetConfig;
|
|
61
|
-
};
|
|
62
|
-
export declare const PHI_BUILDER_BRAND_IDENTITY_CONTROLS_WIDGET_BUILDER_PLUGIN: {
|
|
63
|
-
renderEditor: (args_0: import("../../../../../types").PhiCmsBuilderWidgetRenderArgs<PhiBuilderBrandWidgetConfig>) => import("react").ReactNode;
|
|
64
|
-
title: string;
|
|
65
|
-
kind: "widget";
|
|
66
|
-
category: import("../../../../../cms").PhiCmsPluginCategory;
|
|
67
|
-
description?: string | undefined;
|
|
68
|
-
iconFamily?: string | undefined;
|
|
69
|
-
pluginKey: string;
|
|
70
|
-
runtimeSignals?: (import("../../../../../types").PhiSignalPluginMeta | null) | undefined;
|
|
71
|
-
typeKey: string;
|
|
72
|
-
requiredDataProviders?: readonly import("@phis/contracts/controls").PhiRuntimeDataProviderKey[] | undefined;
|
|
73
|
-
slotSizePolicy: import("../../../../../types").PhiSlotSizePolicy;
|
|
74
|
-
fields: import("../../../../../types").PhiCmsConfigField[];
|
|
75
|
-
parseConfig: (raw: Record<string, unknown>) => PhiBuilderBrandWidgetConfig;
|
|
76
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { PHI_BUILDER_BRAND_BACKGROUND_CONTROLS_WIDGET_DEFINITION, PHI_BUILDER_BRAND_IDENTITY_CONTROLS_WIDGET_DEFINITION, PHI_BUILDER_BRAND_STYLE_CONTROLS_WIDGET_DEFINITION, PHI_BUILDER_BRAND_THEME_CONTROLS_WIDGET_DEFINITION, PHI_BUILDER_BRAND_THEME_PREVIEW_WIDGET_DEFINITION, } from "../../../../../plugins/runtime-modules/theme/widgets/brand-controls/config";
|
|
4
|
-
import { PhiWidgetEditorPlaceholder } from "../../../../../components/widgets/builder/widget-editor-placeholder";
|
|
5
|
-
function renderBrandPlaceholder(title, summary) {
|
|
6
|
-
function PhiBuilderBrandPlaceholderEditor({ widget, }) {
|
|
7
|
-
return (_jsx(PhiWidgetEditorPlaceholder, { widget: widget, pluginTitle: title, summary: summary }));
|
|
8
|
-
}
|
|
9
|
-
return PhiBuilderBrandPlaceholderEditor;
|
|
10
|
-
}
|
|
11
|
-
export const PHI_BUILDER_BRAND_THEME_CONTROLS_WIDGET_BUILDER_PLUGIN = {
|
|
12
|
-
...PHI_BUILDER_BRAND_THEME_CONTROLS_WIDGET_DEFINITION,
|
|
13
|
-
renderEditor: renderBrandPlaceholder("Builder Brand Theme Controls", "Theme controls are available in the live Theme workspace."),
|
|
14
|
-
};
|
|
15
|
-
export const PHI_BUILDER_BRAND_THEME_PREVIEW_WIDGET_BUILDER_PLUGIN = {
|
|
16
|
-
...PHI_BUILDER_BRAND_THEME_PREVIEW_WIDGET_DEFINITION,
|
|
17
|
-
renderEditor: renderBrandPlaceholder("Builder Brand Theme Preview", "The live theme preview is available in the Theme workspace."),
|
|
18
|
-
};
|
|
19
|
-
export const PHI_BUILDER_BRAND_STYLE_CONTROLS_WIDGET_BUILDER_PLUGIN = {
|
|
20
|
-
...PHI_BUILDER_BRAND_STYLE_CONTROLS_WIDGET_DEFINITION,
|
|
21
|
-
renderEditor: renderBrandPlaceholder("Builder Brand Style Controls", "Style controls are available in the live Theme workspace."),
|
|
22
|
-
};
|
|
23
|
-
export const PHI_BUILDER_BRAND_BACKGROUND_CONTROLS_WIDGET_BUILDER_PLUGIN = {
|
|
24
|
-
...PHI_BUILDER_BRAND_BACKGROUND_CONTROLS_WIDGET_DEFINITION,
|
|
25
|
-
renderEditor: renderBrandPlaceholder("Builder Brand Background Controls", "The Theme Root Background is authored in the live Theme workspace."),
|
|
26
|
-
};
|
|
27
|
-
export const PHI_BUILDER_BRAND_IDENTITY_CONTROLS_WIDGET_BUILDER_PLUGIN = {
|
|
28
|
-
...PHI_BUILDER_BRAND_IDENTITY_CONTROLS_WIDGET_DEFINITION,
|
|
29
|
-
renderEditor: renderBrandPlaceholder("Builder Brand Identity Controls", "The Logo and the Wordmark are authored in the live Theme workspace."),
|
|
30
|
-
};
|