Skip to content

Commit

Permalink
Merge branch 'desenv' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
reginaldo.marinho committed Jun 1, 2024
2 parents 03196e8 + b663484 commit 55677fb
Show file tree
Hide file tree
Showing 24 changed files with 847 additions and 238 deletions.
14 changes: 9 additions & 5 deletions dist/Rucula.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,29 @@ export declare class Rucula {
popup: {
messsage: {
info: (config: {
text: string;
text?: string | undefined;
htmlBody?: HTMLElement | undefined;
timeout?: number | undefined;
disableadFooter?: boolean | undefined;
disableadHeader?: boolean | undefined;
}, callback?: import("./popup/callback").callbackYesNo | undefined) => void;
sucess: (config: {
text: string;
text?: string | undefined;
htmlBody?: HTMLElement | undefined;
timeout?: number | undefined;
disableadFooter?: boolean | undefined;
disableadHeader?: boolean | undefined;
}, callback?: import("./popup/callback").callbackYesNo | undefined) => void;
warning: (config: {
text: string;
text?: string | undefined;
htmlBody?: HTMLElement | undefined;
timeout?: number | undefined;
disableadFooter?: boolean | undefined;
disableadHeader?: boolean | undefined;
}, callback?: import("./popup/callback").callbackYesNo | undefined) => void;
error: (config: {
text: string;
text?: string | undefined;
htmlBody?: HTMLElement | undefined;
timeout?: number | undefined;
disableadFooter?: boolean | undefined;
disableadHeader?: boolean | undefined;
Expand All @@ -54,7 +58,7 @@ export declare class Rucula {
on: (event: string, callback: any, query?: string | undefined) => void;
};
buttons: {
createButtonOrLink: (button: import("./entities/form/button").button) => HTMLAnchorElement | HTMLButtonElement;
createButtonOrLink: (button: import("./entities/form/button").button) => HTMLButtonElement | HTMLAnchorElement;
prepareButtonsInLeftBox: (button: import("./entities/form/button").button[]) => void;
buttonIsNotDefault: (target: string) => boolean;
disable: (target: string) => void;
Expand Down
2 changes: 1 addition & 1 deletion dist/buttons/Button.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { button } from '../entities/form/button';
export declare let buttonsDOM: {
createButtonOrLink: (button: button) => HTMLAnchorElement | HTMLButtonElement;
createButtonOrLink: (button: button) => HTMLButtonElement | HTMLAnchorElement;
prepareButtonsInLeftBox: (button: button[]) => void;
buttonIsNotDefault: (target: string) => boolean;
disable: (target: string) => void;
Expand Down
3 changes: 3 additions & 0 deletions dist/const.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ export declare const constIdBaseWindow: {
BUTTONS_MENU_VERTICAL_LIST: string;
TITLE: string;
};
export declare const contextMenu: {
INPUT: string;
};
export declare const constAttrInput: {
ATTR_TYPE: string;
};
Expand Down
14 changes: 14 additions & 0 deletions dist/elements/form/Field/fieldMenuContext.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { field } from "../../../entities/form/field";
export declare let fieldMenuContext: {
init: () => void;
info: {
set: (fieldInfo: {
identity: string;
field: field;
}) => void;
get: (identity: string) => {
identity: string;
field: field;
} | undefined;
};
};
1 change: 0 additions & 1 deletion dist/elements/window-base/WindowBase.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export declare let windowBaseDOM: {
createWindowBase: (id: string) => void;
createNameWindow: (name: string) => void;
setObjecReload: (obj: any) => void;
setElementRoot: (id: string) => void;
getElementRoot: () => HTMLElement;
getPrincipalElementRucula: () => HTMLFormElement;
Expand Down
8 changes: 5 additions & 3 deletions dist/entities/form/button.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ export interface button {
text?: string;
type: string;
color?: string;
target: "r-a-save" | "r-a-alter" | "r-a-delete" | "";
URL: {
target: "r-a-save" | "r-a-alter" | "r-a-delete" | string;
URL?: {
absolute: string;
relative: string;
params: string;
};
body: string;
body?: string;
fullWidth?: boolean;
class?: string;
}
4 changes: 4 additions & 0 deletions dist/menu-context/menu-context.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export declare let menuContext: {
init: () => void;
elemetInFocu: () => HTMLElement;
};
3 changes: 2 additions & 1 deletion dist/popup/popup.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { callbackYesNo } from "./callback";
type configCommon = {
text: string;
text?: string;
htmlBody?: HTMLElement;
timeout?: number;
disableadFooter?: boolean;
disableadHeader?: boolean;
Expand Down
Loading

0 comments on commit 55677fb

Please sign in to comment.