@cratis/event-models 0.135.4 → 0.135.6

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.
@@ -0,0 +1,5 @@
1
+ import type { ComponentDescriptor, ExternalComponent } from '@cratis/scene.model';
2
+ import type { DesignTimeContext } from '@cratis/scene.react';
3
+ import type { ScreenEditorController } from '../Host/ScreenEditorController';
4
+ import type { ScreenEditorEnvironment } from '../Host/ScreenEditorHost';
5
+ export declare function createDesignTimeContext(component: ExternalComponent, descriptor: ComponentDescriptor, controller: ScreenEditorController, environment: ScreenEditorEnvironment, label: string): DesignTimeContext;
@@ -0,0 +1,12 @@
1
+ import type { ComponentDescriptor, ExternalComponent } from '@cratis/scene.model';
2
+ import type { ScreenEditorController } from '../Host/ScreenEditorController';
3
+ import type { ScreenEditorEnvironment } from '../Host/ScreenEditorHost';
4
+ import type { ScreenEditorStrings } from './ScreenEditorStrings';
5
+ export interface DesignTimeDesignersSectionProps {
6
+ component: ExternalComponent;
7
+ descriptor: ComponentDescriptor;
8
+ controller: ScreenEditorController;
9
+ environment: ScreenEditorEnvironment;
10
+ strings: ScreenEditorStrings;
11
+ }
12
+ export declare const DesignTimeDesignersSection: ({ component, descriptor, controller, environment, strings }: DesignTimeDesignersSectionProps) => import("react").JSX.Element | null;
@@ -46,6 +46,7 @@ export interface ScreenEditorStrings {
46
46
  diagnostics: string;
47
47
  noProperties: string;
48
48
  designTimeActions: string;
49
+ designTimeDesigners: string;
49
50
  layoutType: string;
50
51
  changeLayout: string;
51
52
  confirmLayoutTitle: string;
@@ -60,6 +61,15 @@ export interface ScreenEditorStrings {
60
61
  icon: IconPropertyFieldStrings;
61
62
  iconPickerLabels?: IconPickerLabels;
62
63
  json?: JsonPropertyFieldStrings;
64
+ templates: {
65
+ label: string;
66
+ choose: string;
67
+ none: string;
68
+ category: string;
69
+ scope: string;
70
+ anyScope: string;
71
+ missing: (template: string) => string;
72
+ };
63
73
  forms: {
64
74
  label: string;
65
75
  add: string;
@@ -84,6 +94,13 @@ export interface ScreenEditorStrings {
84
94
  component: string;
85
95
  componentProperty: string;
86
96
  literalValue: string;
97
+ literalType: string;
98
+ literalNull: string;
99
+ invalidJson: string;
100
+ unsupportedValue: string;
101
+ replaceUnsupported: string;
102
+ incompatibleSource: string;
103
+ unavailableSource: string;
87
104
  mode: string;
88
105
  inheritedMode: string;
89
106
  nullBehavior: string;
@@ -0,0 +1,11 @@
1
+ import type { ScreenEditorController } from '../Host/ScreenEditorController';
2
+ import type { ScreenEditorEnvironment } from '../Host/ScreenEditorHost';
3
+ import type { ScreenEditorStrings } from './ScreenEditorStrings';
4
+ export interface TemplateAuthoringSectionProps {
5
+ controller: ScreenEditorController;
6
+ environment: ScreenEditorEnvironment;
7
+ strings: ScreenEditorStrings;
8
+ disabled: boolean;
9
+ authoringTemplate?: string;
10
+ }
11
+ export declare const TemplateAuthoringSection: ({ controller, environment, strings, disabled, authoringTemplate }: TemplateAuthoringSectionProps) => import("react").JSX.Element | null;