Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@genexus/designer-common-layout

Package Overview
Dependencies
Maintainers
6
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@genexus/designer-common-layout - npm Package Compare versions

Comparing version 0.0.2-beta.8 to 0.0.2

80

lib/index.d.ts

@@ -1,2 +0,2 @@

import { DesignerFactoryRegistry, GxmlNodeDescriptor, GxmlNodeDescriptorRegistry, GxmlNodeFactory, GxmlNodeFactoryRegistry, GxmlNodeRenderFn, GxmlNodeRenderRegistry, DesignerFactory, MaybePromise } from '@genexus/designer-common';
import { DesignerFactoryRegistry, GxmlNodeDescriptor, GxmlNodeDescriptorRegistry, GxmlNodeFactory, GxmlNodeFactoryRegistry, GxmlNodeRenderFn, GxmlNodeRenderRegistry, DesignerFactory, MaybePromise, DesignerHost, DesignerOptionsData } from '@genexus/designer-common';
import '@genexus/gemini';

@@ -13,7 +13,79 @@ export * from '@genexus/designer-common';

export declare namespace LayoutDesignerServiceIds {
const SelectAttVar = "SelectAttVar";
const SelectData = "SelectData";
const SelectImage = "SelectImage";
const SelectAction = "SelectAction";
const SelectUserControl = "SelectUserControl";
const Stencil = "Stencil";
const NamePicker = "NamePicker";
const Events = "Events";
const Clipboard = "Clipboard";
const ToolWindow = "ToolWindow";
}
export interface ISelectAttVarService {
selectAttribute(): MaybePromise<string[]>;
export declare enum EditorType {
WEB_LAYOUT = 1,
WEB_ACTION_GROUPS = 2,
SD_LAYOUT = 4,
SD_ACTION_GROUPS = 8,
WEB = 3,
SD = 12,
ALL = 15
}
export declare type SelectDataOptions = {};
export declare abstract class LayoutDesignerHost extends DesignerHost {
abstract editorType: EditorType;
}
export declare type LayoutDesignerOptionsData = DesignerOptionsData & {
editorType: EditorType;
};
export interface ISelectDataService {
select(options?: SelectDataOptions): MaybePromise<string[]>;
}
export interface ISelectImageService {
selectImage(): MaybePromise<SelectedImage | undefined>;
resolveImageSrc(name: string): MaybePromise<string | undefined>;
}
export interface ISelectActionService {
selectAction(): MaybePromise<SelectedAction | undefined>;
}
export interface IStencilService {
selectStencil(): MaybePromise<StencilData | undefined>;
openStencil(stencilName: string): MaybePromise<void>;
wrapAsNewStencil(nodeId: string): MaybePromise<StencilData>;
}
export interface IEventsService {
getEvents(uc: string): MaybePromise<string[]>;
goToEvent(nodeId: string, event: string): MaybePromise<void>;
}
export interface ISelectUserControlService {
selectUserControl(): MaybePromise<SelectedUserControl>;
getUserControlContent(userControlType: string): MaybePromise<string>;
}
export interface IClipboardService {
getData(): MaybePromise<string>;
setData(data: string): MaybePromise<void>;
}
export interface INamePickerService {
selectName(title: string, value: string): MaybePromise<string>;
}
export interface IToolWindowService {
openResponsiveSizes(): void;
}
export declare class SelectedImage {
class?: string;
imgSrc: string;
imageReference: string;
}
export declare class SelectedAction {
caption: string;
onClickEvent: string;
}
export declare class StencilData {
stencilName: string;
content: string;
}
export declare class SelectedUserControl {
userControlName: string;
slots: string[];
id: number;
}
//# sourceMappingURL=index.d.ts.map

@@ -1,2 +0,2 @@

import { DesignerFactoryRegistry, GxmlNodeDescriptorRegistry, GxmlNodeFactoryRegistry, GxmlNodeRenderRegistry } from '@genexus/designer-common';
import { DesignerFactoryRegistry, GxmlNodeDescriptorRegistry, GxmlNodeFactoryRegistry, GxmlNodeRenderRegistry, DesignerHost } from '@genexus/designer-common';
import '@genexus/gemini';

@@ -57,4 +57,33 @@ export * from '@genexus/designer-common';

(function (LayoutDesignerServiceIds) {
LayoutDesignerServiceIds.SelectAttVar = 'SelectAttVar';
LayoutDesignerServiceIds.SelectData = 'SelectData';
LayoutDesignerServiceIds.SelectImage = 'SelectImage';
LayoutDesignerServiceIds.SelectAction = 'SelectAction';
LayoutDesignerServiceIds.SelectUserControl = 'SelectUserControl';
LayoutDesignerServiceIds.Stencil = 'Stencil';
LayoutDesignerServiceIds.NamePicker = 'NamePicker';
LayoutDesignerServiceIds.Events = 'Events';
LayoutDesignerServiceIds.Clipboard = 'Clipboard';
LayoutDesignerServiceIds.ToolWindow = 'ToolWindow';
})(LayoutDesignerServiceIds || (LayoutDesignerServiceIds = {}));
export var EditorType;
(function (EditorType) {
EditorType[EditorType["WEB_LAYOUT"] = 1] = "WEB_LAYOUT";
EditorType[EditorType["WEB_ACTION_GROUPS"] = 2] = "WEB_ACTION_GROUPS";
EditorType[EditorType["SD_LAYOUT"] = 4] = "SD_LAYOUT";
EditorType[EditorType["SD_ACTION_GROUPS"] = 8] = "SD_ACTION_GROUPS";
EditorType[EditorType["WEB"] = 3] = "WEB";
EditorType[EditorType["SD"] = 12] = "SD";
EditorType[EditorType["ALL"] = 15] = "ALL";
})(EditorType || (EditorType = {}));
;
export class LayoutDesignerHost extends DesignerHost {
}
export class SelectedImage {
}
export class SelectedAction {
}
export class StencilData {
}
export class SelectedUserControl {
}
//# sourceMappingURL=index.js.map

6

package.json
{
"name": "@genexus/designer-common-layout",
"version": "0.0.2-beta.8+895024f",
"version": "0.0.2",
"main": "lib/index.js",

@@ -21,3 +21,3 @@ "typings": "lib/index.d.ts",

"dependencies": {
"@genexus/designer-common": "^0.0.2-beta.8+895024f"
"@genexus/designer-common": "^0.0.2"
},

@@ -28,3 +28,3 @@ "devDependencies": {

},
"gitHead": "895024f50f60f3e1e65a2bec6e89eaa1d6a65e18"
"gitHead": "67892ac5ddc6b105aa9d3cf0aa81f88c18d56988"
}

@@ -11,3 +11,5 @@

DesignerFactory,
MaybePromise
MaybePromise,
DesignerHost,
DesignerOptionsData
} from '@genexus/designer-common';

@@ -89,9 +91,99 @@

export namespace LayoutDesignerServiceIds {
export const SelectAttVar = 'SelectAttVar';
export const SelectData = 'SelectData';
export const SelectImage = 'SelectImage';
export const SelectAction = 'SelectAction';
export const SelectUserControl = 'SelectUserControl';
export const Stencil = 'Stencil';
export const NamePicker = 'NamePicker';
export const Events = 'Events';
export const Clipboard = 'Clipboard';
export const ToolWindow = 'ToolWindow';
}
export interface ISelectAttVarService {
export enum EditorType {
WEB_LAYOUT = 1,
WEB_ACTION_GROUPS = 2,
SD_LAYOUT = 4,
SD_ACTION_GROUPS = 8,
selectAttribute(): MaybePromise<string[]>;
WEB = WEB_LAYOUT | WEB_ACTION_GROUPS,
SD = SD_LAYOUT | SD_ACTION_GROUPS,
ALL = WEB | SD
};
export type SelectDataOptions = {
};
export abstract class LayoutDesignerHost extends DesignerHost{
abstract editorType:EditorType;
}
export type LayoutDesignerOptionsData = DesignerOptionsData & {
editorType: EditorType;
}
export interface ISelectDataService {
select(options?: SelectDataOptions): MaybePromise<string[]>;
}
export interface ISelectImageService {
selectImage(): MaybePromise<SelectedImage | undefined>;
resolveImageSrc(name: string): MaybePromise<string | undefined>;
}
export interface ISelectActionService {
selectAction(): MaybePromise<SelectedAction | undefined>;
}
export interface IStencilService {
selectStencil(): MaybePromise<StencilData | undefined>;
openStencil(stencilName:string):MaybePromise<void>;
wrapAsNewStencil(nodeId:string):MaybePromise<StencilData>;
}
export interface IEventsService {
getEvents(uc:string): MaybePromise<string[]>;
goToEvent(nodeId:string, event:string): MaybePromise<void>;
}
export interface ISelectUserControlService {
selectUserControl(): MaybePromise<SelectedUserControl>;
getUserControlContent(userControlType:string):MaybePromise<string>;
}
export interface IClipboardService {
getData(): MaybePromise<string>;
setData(data:string):MaybePromise<void>;
}
export interface INamePickerService {
selectName(title:string, value:string):MaybePromise<string>;
}
export interface IToolWindowService {
openResponsiveSizes():void;
}
export class SelectedImage {
class?: string;
imgSrc: string;
imageReference: string;
}
export class SelectedAction {
caption: string;
onClickEvent: string;
}
export class StencilData {
stencilName: string;
content: string;
}
export class SelectedUserControl {
userControlName: string;
slots: string[];
id: number;
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc