@genexus/genexus-ide-ui 0.0.42 → 0.0.44
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/dist/cjs/ch-grid_8.cjs.entry.js +2 -1
- package/dist/cjs/ch-icon_2.cjs.entry.js +177 -0
- package/dist/cjs/genexus-ide-ui.cjs.js +1 -1
- package/dist/cjs/grid-be8c3413.js +11 -0
- package/dist/cjs/{gxg-tab_4.cjs.entry.js → gx-ide-container_5.cjs.entry.js} +136 -2
- package/dist/cjs/gx-ide-create-kb-from-server.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-new-environment.cjs.entry.js +4 -5
- package/dist/cjs/gx-ide-new-kb.cjs.entry.js +6 -6
- package/dist/cjs/gx-ide-new-object.cjs.entry.js +3 -3
- package/dist/cjs/gx-ide-object-selector.cjs.entry.js +9 -12
- package/dist/cjs/gx-ide-references.cjs.entry.js +4 -4
- package/dist/cjs/gx-ide-team-dev-commit.cjs.entry.js +8 -5
- package/dist/cjs/gx-ide-team-dev-select-recent-comment.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-team-dev-update-partial-selection.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-team-dev-update-to-revision.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-team-dev-update.cjs.entry.js +11 -9
- package/dist/cjs/gx-ide-template.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-ww-images.cjs.entry.js +19 -18
- package/dist/cjs/{gxg-button_2.cjs.entry.js → gxg-button.cjs.entry.js} +0 -61
- package/dist/cjs/gxg-menu-item.cjs.entry.js +11 -59
- package/dist/cjs/gxg-menu-slim-item.cjs.entry.js +78 -0
- package/dist/cjs/gxg-menu-slim-list.cjs.entry.js +28 -0
- package/dist/cjs/gxg-menu-slim.cjs.entry.js +251 -0
- package/dist/cjs/gxg-menu.cjs.entry.js +12 -228
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/_template/template.css +24 -0
- package/dist/collection/components/container/container.css +7 -11
- package/dist/collection/components/container/container.js +45 -40
- package/dist/collection/components/create-kb-from-server/create-kb-from-server.css +24 -0
- package/dist/collection/components/new-environment/new-environment.css +25 -0
- package/dist/collection/components/new-environment/new-environment.js +3 -22
- package/dist/collection/components/new-kb/new-kb.css +24 -0
- package/dist/collection/components/new-kb/new-kb.js +5 -5
- package/dist/collection/components/new-object/new-object.css +24 -0
- package/dist/collection/components/new-object/new-object.js +2 -2
- package/dist/collection/components/object-selector/object-selector.css +24 -0
- package/dist/collection/components/object-selector/object-selector.js +21 -3
- package/dist/collection/components/references/references.css +24 -0
- package/dist/collection/components/references/references.js +3 -3
- package/dist/collection/components/team-dev-commit/team-dev-commit.css +33 -10
- package/dist/collection/components/team-dev-commit/team-dev-commit.js +21 -4
- package/dist/collection/components/team-dev-select-recent-comment/team-dev-select-recent-comment.css +24 -0
- package/dist/collection/components/team-dev-update/team-dev-update.css +24 -0
- package/dist/collection/components/team-dev-update/team-dev-update.js +24 -8
- package/dist/collection/components/team-dev-update-partial-selection/team-dev-update-partial-selection.css +24 -0
- package/dist/collection/components/team-dev-update-to-revision/team-dev-update-to-revision.css +24 -0
- package/dist/collection/components/ww-images/ww-images.css +24 -0
- package/dist/collection/components/ww-images/ww-images.js +22 -22
- package/dist/collection/pages/assets/common.js +21 -21
- package/dist/components/container.js +12 -24
- package/dist/components/grid.js +9 -0
- package/dist/components/gx-ide-create-kb-from-server.js +1 -1
- package/dist/components/gx-ide-new-environment.js +8 -16
- package/dist/components/gx-ide-new-kb.js +6 -6
- package/dist/components/gx-ide-new-object.js +3 -3
- package/dist/components/gx-ide-object-selector.js +9 -12
- package/dist/components/gx-ide-references.js +4 -4
- package/dist/components/gx-ide-team-dev-commit.js +17 -14
- package/dist/components/gx-ide-team-dev-select-recent-comment.js +1 -1
- package/dist/components/gx-ide-team-dev-update-partial-selection.js +1 -1
- package/dist/components/gx-ide-team-dev-update-to-revision.js +1 -1
- package/dist/components/gx-ide-team-dev-update.js +20 -18
- package/dist/components/gx-ide-template.js +1 -1
- package/dist/components/gx-ide-top-bar.js +72 -1
- package/dist/components/gx-ide-ww-images.js +20 -19
- package/dist/components/gxg-grid2.js +4 -2
- package/dist/components/gxg-menu-item.js +14 -65
- package/dist/components/gxg-menu-slim-item.js +111 -0
- package/dist/components/gxg-menu-slim-list.js +50 -0
- package/dist/components/gxg-menu-slim.js +271 -0
- package/dist/components/gxg-menu.js +14 -233
- package/dist/components/index.js +3 -1
- package/dist/components/tab-bar.js +7 -1
- package/dist/components/tab.js +13 -1
- package/dist/components/tabs.js +2 -0
- package/dist/esm/ch-grid_8.entry.js +2 -1
- package/dist/esm/ch-icon_2.entry.js +172 -0
- package/dist/esm/genexus-ide-ui.js +1 -1
- package/dist/esm/grid-1354bf8f.js +9 -0
- package/dist/esm/{gxg-tab_4.entry.js → gx-ide-container_5.entry.js} +136 -3
- package/dist/esm/gx-ide-create-kb-from-server.entry.js +1 -1
- package/dist/esm/gx-ide-new-environment.entry.js +4 -5
- package/dist/esm/gx-ide-new-kb.entry.js +6 -6
- package/dist/esm/gx-ide-new-object.entry.js +3 -3
- package/dist/esm/gx-ide-object-selector.entry.js +9 -12
- package/dist/esm/gx-ide-references.entry.js +4 -4
- package/dist/esm/gx-ide-team-dev-commit.entry.js +8 -5
- package/dist/esm/gx-ide-team-dev-select-recent-comment.entry.js +1 -1
- package/dist/esm/gx-ide-team-dev-update-partial-selection.entry.js +1 -1
- package/dist/esm/gx-ide-team-dev-update-to-revision.entry.js +1 -1
- package/dist/esm/gx-ide-team-dev-update.entry.js +11 -9
- package/dist/esm/gx-ide-template.entry.js +1 -1
- package/dist/esm/gx-ide-ww-images.entry.js +19 -18
- package/dist/esm/{gxg-button_2.entry.js → gxg-button.entry.js} +2 -62
- package/dist/esm/gxg-menu-item.entry.js +12 -60
- package/dist/esm/gxg-menu-slim-item.entry.js +74 -0
- package/dist/esm/gxg-menu-slim-list.entry.js +24 -0
- package/dist/esm/gxg-menu-slim.entry.js +247 -0
- package/dist/esm/gxg-menu.entry.js +12 -228
- package/dist/esm/loader.js +1 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
- package/dist/genexus-ide-ui/p-04f69ecc.entry.js +1 -0
- package/dist/genexus-ide-ui/p-098a1397.entry.js +1 -0
- package/dist/genexus-ide-ui/p-0f85cf00.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-38fa6211.entry.js → p-19d9c08c.entry.js} +1 -1
- package/dist/genexus-ide-ui/p-1bcabe1c.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-fcdcb919.entry.js → p-1ccf523f.entry.js} +1 -1
- package/dist/genexus-ide-ui/p-2bd01c9e.entry.js +1 -0
- package/dist/genexus-ide-ui/p-42901fd7.entry.js +1 -0
- package/dist/genexus-ide-ui/p-4b65669b.entry.js +1 -0
- package/dist/genexus-ide-ui/p-6afc6187.entry.js +1 -0
- package/dist/genexus-ide-ui/p-73f61127.entry.js +1 -0
- package/dist/genexus-ide-ui/p-9014609e.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-508cf8b0.entry.js → p-917c5696.entry.js} +1 -1
- package/dist/genexus-ide-ui/p-a708db45.entry.js +1 -0
- package/dist/genexus-ide-ui/p-b456483d.entry.js +1 -0
- package/dist/genexus-ide-ui/p-b74dd891.entry.js +1 -0
- package/dist/genexus-ide-ui/p-c38c6957.entry.js +1 -0
- package/dist/genexus-ide-ui/p-c61bf417.entry.js +1 -0
- package/dist/genexus-ide-ui/p-c6a7b93c.js +1 -0
- package/dist/genexus-ide-ui/p-e1cd9135.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-22e142e8.entry.js → p-e4eb3828.entry.js} +1 -1
- package/dist/genexus-ide-ui/p-e5a3e3b9.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-6073c264.entry.js → p-f1116ac5.entry.js} +1 -1
- package/dist/node_modules/@genexus/gemini/dist/collection/components/grid/gxg-grid.css +1 -5
- package/dist/node_modules/@genexus/gemini/dist/collection/components/menu/menu/menu.css +724 -0
- package/dist/node_modules/@genexus/gemini/dist/collection/components/menu/menu-item/menu-item.css +711 -0
- package/dist/node_modules/@genexus/gemini/dist/collection/components/tab/tab.css +8 -0
- package/dist/node_modules/@genexus/gemini/dist/collection/components/tab-bar/tab-bar.css +3 -0
- package/dist/types/components/container/container.d.ts +8 -5
- package/dist/types/components/new-environment/new-environment.d.ts +0 -4
- package/dist/types/components/object-selector/object-selector.d.ts +10 -6
- package/dist/types/components/team-dev-commit/team-dev-commit.d.ts +4 -0
- package/dist/types/components/team-dev-update/team-dev-update.d.ts +4 -0
- package/dist/types/components/ww-images/ww-images.d.ts +13 -14
- package/dist/types/components.d.ts +27 -15
- package/package.json +3 -3
- package/dist/cjs/ch-icon.cjs.entry.js +0 -116
- package/dist/cjs/gx-ide-container.cjs.entry.js +0 -137
- package/dist/cjs/gxg-menu-list.cjs.entry.js +0 -28
- package/dist/components/gxg-menu-list.js +0 -50
- package/dist/components/top-bar.js +0 -74
- package/dist/esm/ch-icon.entry.js +0 -112
- package/dist/esm/gx-ide-container.entry.js +0 -133
- package/dist/esm/gxg-menu-list.entry.js +0 -24
- package/dist/genexus-ide-ui/p-07e89cdd.entry.js +0 -1
- package/dist/genexus-ide-ui/p-1770fa36.entry.js +0 -1
- package/dist/genexus-ide-ui/p-179713ef.entry.js +0 -1
- package/dist/genexus-ide-ui/p-181ee8a8.entry.js +0 -1
- package/dist/genexus-ide-ui/p-35fc1102.entry.js +0 -1
- package/dist/genexus-ide-ui/p-4d39c34a.entry.js +0 -1
- package/dist/genexus-ide-ui/p-55d98662.entry.js +0 -1
- package/dist/genexus-ide-ui/p-5ad757f4.entry.js +0 -1
- package/dist/genexus-ide-ui/p-764ab316.entry.js +0 -1
- package/dist/genexus-ide-ui/p-7a83018d.entry.js +0 -1
- package/dist/genexus-ide-ui/p-7a90def4.entry.js +0 -1
- package/dist/genexus-ide-ui/p-7c38776f.entry.js +0 -1
- package/dist/genexus-ide-ui/p-82228c39.entry.js +0 -1
- package/dist/genexus-ide-ui/p-8afbdbc9.entry.js +0 -1
- package/dist/genexus-ide-ui/p-cab184a7.entry.js +0 -1
- package/dist/genexus-ide-ui/p-d376dada.entry.js +0 -1
- /package/dist/node_modules/@genexus/gemini/dist/collection/components/{menu-item/menu-item.css → menu-slim/item/item.css} +0 -0
- /package/dist/node_modules/@genexus/gemini/dist/collection/components/{menu-list/menu-list.css → menu-slim/list/list.css} +0 -0
- /package/dist/node_modules/@genexus/gemini/dist/collection/components/{menu → menu-slim/menu}/menu.css +0 -0
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TitleAlignment } from "@genexus/gemini/dist/types/common/types";
|
|
2
2
|
export declare class GxIdeContainer {
|
|
3
|
-
/**
|
|
4
|
-
* Makes this component content act as a fieldset
|
|
5
|
-
*/
|
|
6
|
-
fieldset: boolean;
|
|
7
3
|
/**
|
|
8
4
|
* The title of the container
|
|
9
5
|
*/
|
|
@@ -52,6 +48,14 @@ export declare class GxIdeContainer {
|
|
|
52
48
|
* The heading justification
|
|
53
49
|
*/
|
|
54
50
|
readonly headingJustify: HeadingJustify;
|
|
51
|
+
/**
|
|
52
|
+
* Makes the content a flex container
|
|
53
|
+
*/
|
|
54
|
+
readonly flexContent: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Removes the border-top from the content
|
|
57
|
+
*/
|
|
58
|
+
readonly noContentBorderTop: boolean;
|
|
55
59
|
/**
|
|
56
60
|
* Removes the padding from the content
|
|
57
61
|
*/
|
|
@@ -103,7 +107,6 @@ export declare class GxIdeContainer {
|
|
|
103
107
|
hasOnlyFooter: boolean;
|
|
104
108
|
componentWillLoad(): void;
|
|
105
109
|
private evaluateSlots;
|
|
106
|
-
private evaluateFullHeight;
|
|
107
110
|
private evaluateSections;
|
|
108
111
|
private headingClasses;
|
|
109
112
|
private contentClasses;
|
|
@@ -13,10 +13,6 @@ export declare class GxIdeNewEnvironment {
|
|
|
13
13
|
private dataStoreEl;
|
|
14
14
|
private frontEndsEl;
|
|
15
15
|
private runtimeEl;
|
|
16
|
-
/**
|
|
17
|
-
* If true, will hide the top-bar
|
|
18
|
-
*/
|
|
19
|
-
readonly hideTopBar = false;
|
|
20
16
|
/**
|
|
21
17
|
* It allows defining the DBMS that will be used in the solution
|
|
22
18
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import { GxOption } from "../../common/types";
|
|
3
|
-
import { EntityData } from "../../common/types";
|
|
2
|
+
import { EntityData, GxOption } from "../../common/types";
|
|
4
3
|
import { FILTER_AFTER } from "../../common/constants";
|
|
5
4
|
export declare class GxIdeObjectSelector {
|
|
6
5
|
/**
|
|
@@ -81,12 +80,17 @@ export declare class GxIdeObjectSelector {
|
|
|
81
80
|
* This is a function provided by the developer for expanded the data of object that is double-clicked or entered.
|
|
82
81
|
*/
|
|
83
82
|
readonly openSelectionCallback: OpenSelectionCallback;
|
|
83
|
+
/**
|
|
84
|
+
* This event is emitted once just after the component is fully loaded and the first render() occurs
|
|
85
|
+
*/
|
|
86
|
+
componentDidRenderEvent: EventEmitter<boolean>;
|
|
84
87
|
/**
|
|
85
88
|
* This event is emitted once just after the component is fully loaded and the first render() occurs.
|
|
86
89
|
*/
|
|
87
90
|
componentDidLoadEvent: EventEmitter<boolean>;
|
|
88
91
|
componentWillLoad(): Promise<void>;
|
|
89
92
|
componentDidLoad(): void;
|
|
93
|
+
componentDidRender(): void;
|
|
90
94
|
/**
|
|
91
95
|
* Validate necessary data input
|
|
92
96
|
*/
|
|
@@ -114,7 +118,7 @@ export type CancelCallback = () => Promise<void>;
|
|
|
114
118
|
export type SelectModuleCallback = () => Promise<EntityData | undefined>;
|
|
115
119
|
export type OpenSelectionCallback = (ids: string[]) => Promise<void>;
|
|
116
120
|
export type LoadCallback = (filters: ObjectFiltersData) => Promise<ObjectData[]>;
|
|
117
|
-
export
|
|
121
|
+
export type ObjectFiltersData = {
|
|
118
122
|
pattern?: string;
|
|
119
123
|
type: string;
|
|
120
124
|
category?: string;
|
|
@@ -122,8 +126,8 @@ export interface ObjectFiltersData {
|
|
|
122
126
|
modifiedAfter?: string;
|
|
123
127
|
modifiedBy?: string;
|
|
124
128
|
modifiedDate?: Date;
|
|
125
|
-
}
|
|
126
|
-
export
|
|
129
|
+
};
|
|
130
|
+
export type ObjectData = {
|
|
127
131
|
id: string;
|
|
128
132
|
icon: string;
|
|
129
133
|
name: string;
|
|
@@ -132,5 +136,5 @@ export interface ObjectData {
|
|
|
132
136
|
module: string;
|
|
133
137
|
modifiedDate?: Date;
|
|
134
138
|
importDate?: Date;
|
|
135
|
-
}
|
|
139
|
+
};
|
|
136
140
|
export type ObjectSelectorFilterAfter = typeof FILTER_AFTER.NONE | typeof FILTER_AFTER.DATE_TIME | typeof FILTER_AFTER.LAST_BUILD | typeof FILTER_AFTER.IMPORT;
|
|
@@ -60,6 +60,10 @@ export declare class GxIdeTeamDevCommit {
|
|
|
60
60
|
* Callback that must be invoked when user activate the context menu in any of the grids
|
|
61
61
|
*/
|
|
62
62
|
readonly objectsContextMenuCallback: ObjectsContextMenuCallback;
|
|
63
|
+
/**
|
|
64
|
+
* This event is emitted once just after the component is fully loaded and the first render() occurs
|
|
65
|
+
*/
|
|
66
|
+
componentDidRenderEvent: EventEmitter<boolean>;
|
|
63
67
|
/**
|
|
64
68
|
* This event is emitted once just after the component is fully loaded and the first render() occurs.
|
|
65
69
|
*/
|
|
@@ -93,6 +93,10 @@ export declare class GxIdeTeamDevUpdate {
|
|
|
93
93
|
* This event is emitted once just after the component is fully loaded and the first render() occurs.
|
|
94
94
|
*/
|
|
95
95
|
componentDidLoadEvent: EventEmitter<boolean>;
|
|
96
|
+
/**
|
|
97
|
+
* This event is emitted once just after the component is fully loaded and the first render() occurs
|
|
98
|
+
*/
|
|
99
|
+
componentDidRenderEvent: EventEmitter<boolean>;
|
|
96
100
|
componentWillLoad(): Promise<void>;
|
|
97
101
|
componentDidLoad(): Promise<void>;
|
|
98
102
|
componentDidRender(): Promise<void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
2
|
import { GxOption } from "../../common/types";
|
|
3
|
-
import { EntityData } from "../../common/types";
|
|
3
|
+
import { EntityData, ContextMenuInfo } from "../../common/types";
|
|
4
4
|
export declare class GxIdeWWImages {
|
|
5
5
|
/**
|
|
6
6
|
* The component hard-coded strings translations.
|
|
@@ -108,7 +108,7 @@ export declare class GxIdeWWImages {
|
|
|
108
108
|
/**
|
|
109
109
|
* This is a function provided by the developer for expanded the data of images that is double-clicked or entered.
|
|
110
110
|
*/
|
|
111
|
-
readonly
|
|
111
|
+
readonly selectionObjectChangedCallback: SelectionObjectCallback;
|
|
112
112
|
/**
|
|
113
113
|
* Applies a shadow all around
|
|
114
114
|
*/
|
|
@@ -140,25 +140,24 @@ export declare class GxIdeWWImages {
|
|
|
140
140
|
private renderImages;
|
|
141
141
|
private renderImageData;
|
|
142
142
|
private getImages;
|
|
143
|
-
private
|
|
144
|
-
private
|
|
145
|
-
private
|
|
146
|
-
private contextMenuCallbackHandle;
|
|
143
|
+
private newObjectCallbackHandler;
|
|
144
|
+
private openSelectionCallBackHandler;
|
|
145
|
+
private deleteSelectionCallbackHandler;
|
|
147
146
|
private showMoreFilter;
|
|
148
147
|
private selectAll;
|
|
149
148
|
private deselectAll;
|
|
150
149
|
private listenChanges;
|
|
151
150
|
render(): void;
|
|
152
151
|
}
|
|
153
|
-
export type
|
|
152
|
+
export type SelectionObjectCallback = (ids: string[]) => Promise<void>;
|
|
154
153
|
export type OpenSelectionCallback = (ids: string[]) => Promise<void>;
|
|
155
154
|
export type DeleteSelectionCallback = (ids: string[]) => Promise<void>;
|
|
156
155
|
export type SelectModuleCallback = () => Promise<EntityData | undefined>;
|
|
157
|
-
export type ContextMenuCallback = (
|
|
156
|
+
export type ContextMenuCallback = (contextMenuInfo: ContextMenuInfo) => Promise<void>;
|
|
158
157
|
export type NewObjectCallback = () => Promise<void>;
|
|
159
158
|
export type LoadCallback = (filters: ImageFiltersData) => Promise<ImageData[]>;
|
|
160
159
|
export type LoadImageItemsCallback = (id: string) => Promise<ImageItemData[]>;
|
|
161
|
-
export
|
|
160
|
+
export type ImageFiltersData = {
|
|
162
161
|
name?: string;
|
|
163
162
|
searchContents?: string;
|
|
164
163
|
category?: string;
|
|
@@ -171,8 +170,8 @@ export interface ImageFiltersData {
|
|
|
171
170
|
language?: string;
|
|
172
171
|
density?: string;
|
|
173
172
|
layer?: string;
|
|
174
|
-
}
|
|
175
|
-
export
|
|
173
|
+
};
|
|
174
|
+
export type ImageData = {
|
|
176
175
|
id: string;
|
|
177
176
|
icon: string;
|
|
178
177
|
name: string;
|
|
@@ -183,9 +182,9 @@ export interface ImageData {
|
|
|
183
182
|
lastUser?: string;
|
|
184
183
|
importDate?: Date;
|
|
185
184
|
lastBuildDate: Date;
|
|
186
|
-
}
|
|
187
|
-
export
|
|
185
|
+
};
|
|
186
|
+
export type ImageItemData = {
|
|
188
187
|
id: string;
|
|
189
188
|
name: string;
|
|
190
189
|
url: string;
|
|
191
|
-
}
|
|
190
|
+
};
|
|
@@ -24,7 +24,7 @@ import { ConfirmCallback, GridContextMenuCallback, LoadCallback as LoadCallback2
|
|
|
24
24
|
import { AddCallback, CancelCallback as CancelCallback4, ConfirmCallback as ConfirmCallback1, ObjectData as ObjectData1 } from "./components/team-dev-update-partial-selection/team-dev-update-partial-selection";
|
|
25
25
|
import { cancelCallbackFn, confirmCallbackFn } from "./components/team-dev-update-to-revision/team-dev-update-to-revision";
|
|
26
26
|
import { GxgTreeItemData } from "@genexus/gemini/dist/types/components/tree-item/gxg-tree-item";
|
|
27
|
-
import { ContextMenuCallback, DeleteSelectionCallback, LoadCallback as LoadCallback3, LoadImageItemsCallback, NewObjectCallback as NewObjectCallback1, OpenSelectionCallback as OpenSelectionCallback1,
|
|
27
|
+
import { ContextMenuCallback, DeleteSelectionCallback, LoadCallback as LoadCallback3, LoadImageItemsCallback, NewObjectCallback as NewObjectCallback1, OpenSelectionCallback as OpenSelectionCallback1, SelectionObjectCallback, SelectModuleCallback as SelectModuleCallback2 } from "./components/ww-images/ww-images";
|
|
28
28
|
export namespace Components {
|
|
29
29
|
interface GxIdeContainer {
|
|
30
30
|
/**
|
|
@@ -56,9 +56,9 @@ export namespace Components {
|
|
|
56
56
|
*/
|
|
57
57
|
"displayBorderTop": boolean;
|
|
58
58
|
/**
|
|
59
|
-
* Makes
|
|
59
|
+
* Makes the content a flex container
|
|
60
60
|
*/
|
|
61
|
-
"
|
|
61
|
+
"flexContent": boolean;
|
|
62
62
|
/**
|
|
63
63
|
* The footer justification
|
|
64
64
|
*/
|
|
@@ -79,6 +79,10 @@ export namespace Components {
|
|
|
79
79
|
* Removes the border top from the footer
|
|
80
80
|
*/
|
|
81
81
|
"noBorderFooter": boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Removes the border-top from the content
|
|
84
|
+
*/
|
|
85
|
+
"noContentBorderTop": boolean;
|
|
82
86
|
/**
|
|
83
87
|
* Removes the gap from the content
|
|
84
88
|
*/
|
|
@@ -283,10 +287,6 @@ export namespace Components {
|
|
|
283
287
|
* It allows selecting multiple generators for the front end
|
|
284
288
|
*/
|
|
285
289
|
"frontEnds": GxOption[];
|
|
286
|
-
/**
|
|
287
|
-
* If true, will hide the top-bar
|
|
288
|
-
*/
|
|
289
|
-
"hideTopBar": false;
|
|
290
290
|
/**
|
|
291
291
|
* Possible values for 'Language' combo
|
|
292
292
|
*/
|
|
@@ -760,7 +760,7 @@ export namespace Components {
|
|
|
760
760
|
/**
|
|
761
761
|
* This is a function provided by the developer for expanded the data of images that is double-clicked or entered.
|
|
762
762
|
*/
|
|
763
|
-
"
|
|
763
|
+
"selectionObjectChangedCallback": SelectionObjectCallback;
|
|
764
764
|
/**
|
|
765
765
|
* Applies a shadow all around
|
|
766
766
|
*/
|
|
@@ -1014,9 +1014,9 @@ declare namespace LocalJSX {
|
|
|
1014
1014
|
*/
|
|
1015
1015
|
"displayBorderTop"?: boolean;
|
|
1016
1016
|
/**
|
|
1017
|
-
* Makes
|
|
1017
|
+
* Makes the content a flex container
|
|
1018
1018
|
*/
|
|
1019
|
-
"
|
|
1019
|
+
"flexContent"?: boolean;
|
|
1020
1020
|
/**
|
|
1021
1021
|
* The footer justification
|
|
1022
1022
|
*/
|
|
@@ -1037,6 +1037,10 @@ declare namespace LocalJSX {
|
|
|
1037
1037
|
* Removes the border top from the footer
|
|
1038
1038
|
*/
|
|
1039
1039
|
"noBorderFooter"?: boolean;
|
|
1040
|
+
/**
|
|
1041
|
+
* Removes the border-top from the content
|
|
1042
|
+
*/
|
|
1043
|
+
"noContentBorderTop"?: boolean;
|
|
1040
1044
|
/**
|
|
1041
1045
|
* Removes the gap from the content
|
|
1042
1046
|
*/
|
|
@@ -1253,10 +1257,6 @@ declare namespace LocalJSX {
|
|
|
1253
1257
|
* It allows selecting multiple generators for the front end
|
|
1254
1258
|
*/
|
|
1255
1259
|
"frontEnds": GxOption[];
|
|
1256
|
-
/**
|
|
1257
|
-
* If true, will hide the top-bar
|
|
1258
|
-
*/
|
|
1259
|
-
"hideTopBar"?: false;
|
|
1260
1260
|
/**
|
|
1261
1261
|
* Possible values for 'Language' combo
|
|
1262
1262
|
*/
|
|
@@ -1447,6 +1447,10 @@ declare namespace LocalJSX {
|
|
|
1447
1447
|
* This event is emitted once just after the component is fully loaded and the first render() occurs.
|
|
1448
1448
|
*/
|
|
1449
1449
|
"onComponentDidLoadEvent"?: (event: GxIdeObjectSelectorCustomEvent<boolean>) => void;
|
|
1450
|
+
/**
|
|
1451
|
+
* This event is emitted once just after the component is fully loaded and the first render() occurs
|
|
1452
|
+
*/
|
|
1453
|
+
"onComponentDidRenderEvent"?: (event: GxIdeObjectSelectorCustomEvent<boolean>) => void;
|
|
1450
1454
|
/**
|
|
1451
1455
|
* This is a function provided by the developer for expanded the data of object that is double-clicked or entered.
|
|
1452
1456
|
*/
|
|
@@ -1527,6 +1531,10 @@ declare namespace LocalJSX {
|
|
|
1527
1531
|
* This event is emitted once just after the component is fully loaded and the first render() occurs.
|
|
1528
1532
|
*/
|
|
1529
1533
|
"onComponentDidLoadEvent"?: (event: GxIdeTeamDevCommitCustomEvent<boolean>) => void;
|
|
1534
|
+
/**
|
|
1535
|
+
* This event is emitted once just after the component is fully loaded and the first render() occurs
|
|
1536
|
+
*/
|
|
1537
|
+
"onComponentDidRenderEvent"?: (event: GxIdeTeamDevCommitCustomEvent<boolean>) => void;
|
|
1530
1538
|
/**
|
|
1531
1539
|
* Callback invoked when user check/uncheck any item from the 'Pending to Commit' grid
|
|
1532
1540
|
*/
|
|
@@ -1583,6 +1591,10 @@ declare namespace LocalJSX {
|
|
|
1583
1591
|
* This event is emitted once just after the component is fully loaded and the first render() occurs.
|
|
1584
1592
|
*/
|
|
1585
1593
|
"onComponentDidLoadEvent"?: (event: GxIdeTeamDevUpdateCustomEvent<boolean>) => void;
|
|
1594
|
+
/**
|
|
1595
|
+
* This event is emitted once just after the component is fully loaded and the first render() occurs
|
|
1596
|
+
*/
|
|
1597
|
+
"onComponentDidRenderEvent"?: (event: GxIdeTeamDevUpdateCustomEvent<boolean>) => void;
|
|
1586
1598
|
/**
|
|
1587
1599
|
* This is a function provided by the developer to call when the user clicked in server url of Update From group.
|
|
1588
1600
|
*/
|
|
@@ -1766,7 +1778,7 @@ declare namespace LocalJSX {
|
|
|
1766
1778
|
/**
|
|
1767
1779
|
* This is a function provided by the developer for expanded the data of images that is double-clicked or entered.
|
|
1768
1780
|
*/
|
|
1769
|
-
"
|
|
1781
|
+
"selectionObjectChangedCallback": SelectionObjectCallback;
|
|
1770
1782
|
/**
|
|
1771
1783
|
* Applies a shadow all around
|
|
1772
1784
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genexus/genexus-ide-ui",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.44",
|
|
5
5
|
"description": "GeneXus IDE UI components",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"@types/react": "^18.2.8"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@genexus/gemini": "*0.1.
|
|
39
|
+
"@genexus/gemini": "*0.1.471"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@genexus/gemini": "*0.1.
|
|
42
|
+
"@genexus/gemini": "*0.1.471",
|
|
43
43
|
"@stencil-community/eslint-plugin": "^0.5.0",
|
|
44
44
|
"@stencil/core": "^2.17.0",
|
|
45
45
|
"@stencil/sass": "^2.0.1",
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-5a32426a.js');
|
|
6
|
-
|
|
7
|
-
const iconContent = new Map();
|
|
8
|
-
const requests = new Map();
|
|
9
|
-
function getSvgContent(url) {
|
|
10
|
-
// see if we already have a request for this url
|
|
11
|
-
let request = requests.get(url);
|
|
12
|
-
if (!request) {
|
|
13
|
-
// we don't already have a request
|
|
14
|
-
request = fetch(url).then(response => {
|
|
15
|
-
if (response.ok) {
|
|
16
|
-
return response.text().then(svgContent => {
|
|
17
|
-
iconContent.set(url, svgContent);
|
|
18
|
-
return svgContent;
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
iconContent.set(url, "");
|
|
22
|
-
});
|
|
23
|
-
// cache for the same requests
|
|
24
|
-
requests.set(url, request);
|
|
25
|
-
}
|
|
26
|
-
return request;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
const iconCss = ":host(:not([auto-color])){}:host(:not([auto-color])) svg *{fill:var(--icon-color) !important}:host(:not([auto-color])) path.icons01{fill:var(--icons01-enabled)}:host(:not([auto-color])) path.icons02{fill:var(--icons02-enabled)}:host(:not([auto-color])) path.icons03{fill:var(--icons03-enabled)}:host(:not([auto-color])) path.icons04{fill:var(--icons04-enabled)}:host(:not([auto-color])) path.icons05{fill:var(--icons05-enabled)}:host(:not([auto-color])) path.icons06{fill:var(--icons06-enabled)}:host(:not([auto-color])) path.icons07{fill:var(--icons07-enabled)}:host(:not([auto-color])) path.icons08{fill:var(--icons08-enabled)}:host(:not([auto-color])) path.icons09{fill:var(--icons09-enabled)}:host{display:inline-flex;line-height:0}:host svg{width:var(--icon-size);height:var(--icon-size)}";
|
|
30
|
-
|
|
31
|
-
const ChIcon = class {
|
|
32
|
-
constructor(hostRef) {
|
|
33
|
-
index.registerInstance(this, hostRef);
|
|
34
|
-
/**
|
|
35
|
-
* If enabled, the icon will be loaded lazily when it's visible in the viewport.
|
|
36
|
-
*/
|
|
37
|
-
this.lazy = false;
|
|
38
|
-
/**
|
|
39
|
-
* If enabled, the icon will display its inherent/natural color
|
|
40
|
-
*/
|
|
41
|
-
this.autoColor = false;
|
|
42
|
-
/**
|
|
43
|
-
* The URL of the icon.
|
|
44
|
-
*/
|
|
45
|
-
this.src = "";
|
|
46
|
-
/**
|
|
47
|
-
* The size of the icon. Possible values: regular, small.
|
|
48
|
-
*/
|
|
49
|
-
this.size = "regular";
|
|
50
|
-
this.isVisible = false;
|
|
51
|
-
}
|
|
52
|
-
/** *******************************
|
|
53
|
-
METHODS
|
|
54
|
-
*********************************/
|
|
55
|
-
connectedCallback() {
|
|
56
|
-
// purposely do not return the promise here because loading
|
|
57
|
-
// the svg file should not hold up loading the app
|
|
58
|
-
// only load the svg if it's visible
|
|
59
|
-
this.waitUntilVisible(this.element, "50px", () => {
|
|
60
|
-
this.isVisible = true;
|
|
61
|
-
this.getIcon();
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
disconnectedCallback() {
|
|
65
|
-
if (this.io !== undefined) {
|
|
66
|
-
this.io.disconnect();
|
|
67
|
-
this.io = undefined;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
waitUntilVisible(el, rootMargin, callback) {
|
|
71
|
-
if (this.lazy &&
|
|
72
|
-
typeof window !== "undefined" &&
|
|
73
|
-
window.IntersectionObserver) {
|
|
74
|
-
const io = (this.io = new window.IntersectionObserver((data) => {
|
|
75
|
-
if (data[0].isIntersecting) {
|
|
76
|
-
io.disconnect();
|
|
77
|
-
this.io = undefined;
|
|
78
|
-
callback();
|
|
79
|
-
}
|
|
80
|
-
}, { rootMargin }));
|
|
81
|
-
io.observe(el);
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
// browser doesn't support IntersectionObserver
|
|
85
|
-
// so just fallback to always show it
|
|
86
|
-
callback();
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
async getIcon() {
|
|
90
|
-
if (this.isVisible) {
|
|
91
|
-
if (this.src) {
|
|
92
|
-
if (iconContent.has(this.src)) {
|
|
93
|
-
this.svgContent = iconContent.get(this.src);
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
this.svgContent = await getSvgContent(this.src);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
else {
|
|
100
|
-
this.svgContent = "";
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
render() {
|
|
106
|
-
return index.h("div", { innerHTML: this.svgContent });
|
|
107
|
-
}
|
|
108
|
-
static get assetsDirs() { return ["ch-icon-assets"]; }
|
|
109
|
-
get element() { return index.getElement(this); }
|
|
110
|
-
static get watchers() { return {
|
|
111
|
-
"src": ["getIcon"]
|
|
112
|
-
}; }
|
|
113
|
-
};
|
|
114
|
-
ChIcon.style = iconCss;
|
|
115
|
-
|
|
116
|
-
exports.ch_icon = ChIcon;
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-5a32426a.js');
|
|
6
|
-
|
|
7
|
-
const containerCss = ":root{--ui-animaton-speed:0.2s}.gxg-title-01{font-family:var(--font-family-primary);font-weight:var(--font-weight-bold);font-size:var(--font-size-md);letter-spacing:var(--letter-spacing-md);color:var(--color-on-background);text-align:start;line-height:1.455em}.gxg-title-01--negative{font-family:var(--font-family-primary);font-weight:var(--font-weight-bold);font-size:var(--font-size-md);letter-spacing:var(--letter-spacing-md);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-on-primary)}.gxg-title-02{font-family:var(--font-family-primary);font-weight:var(--font-weight-bold);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-sm);color:var(--color-on-background);text-align:start;text-transform:uppercase;line-height:1.556em}.gxg-title-02--negative{font-family:var(--font-family-primary);font-weight:var(--font-weight-bold);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-sm);color:var(--color-on-background);text-align:start;text-transform:uppercase;line-height:1.556em;color:var(--color-on-primary)}.gxg-title-03{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-xs);letter-spacing:var(--letter-spacing-sm);color:var(--color-on-background);text-align:start;text-transform:uppercase;line-height:1.556em}.gxg-title-03--negative{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-xs);letter-spacing:var(--letter-spacing-sm);color:var(--color-on-background);text-align:start;text-transform:uppercase;line-height:1.556em;color:var(--color-on-primary)}.gxg-title-04{font-family:var(--font-family-primary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-md);letter-spacing:var(--letter-spacing-md);color:var(--color-on-background);text-align:start;line-height:1.455em}.gxg-title-04--negative{font-family:var(--font-family-primary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-md);letter-spacing:var(--letter-spacing-md);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-on-primary)}.gxg-title-05{font-family:var(--font-family-primary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-sm);color:var(--color-on-background);text-align:start;line-height:1.556em}.gxg-title-05--negative{font-family:var(--font-family-primary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-sm);color:var(--color-on-background);text-align:start;line-height:1.556em;color:var(--color-on-primary)}.gxg-text{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em}.gxg-text--negative{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-on-primary)}.gxg-text--gray{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--gray-05)}.gxg-quote{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;font-style:italic}.gxg-quote--negative{color:var(--color-on-primary)}.gxg-link{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-primary);text-decoration:underline;cursor:pointer;display:inline-block}.gxg-link:hover{color:var(--color-primary-hover)}.gxg-link:active{color:var(--color-primary-active)}.gxg-link-gray{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-primary);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--gray-04)}.gxg-link-gray:hover{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-primary);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--gray-04);color:var(--gray-06)}.gxg-alert-error{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-error-dark);display:inline-block}.gxg-alert-warning{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-warning-dark);display:inline-block}.gxg-alert-success{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-success-dark);display:inline-block}.gxg-tab--disabled{color:var(--color-primary-disabled);pointer-events:none}.gxg-tab--disabled[disabled]{color:var(--color-primary-disabled);pointer-events:none}.gxg-label{font-family:var(--font-family-primary) !important;font-weight:var(--font-weight-semibold);font-size:var(--font-size-sm) !important;letter-spacing:var(--letter-spacing-xs);color:var(--color-primary-enabled);text-align:center;line-height:1.455em}.gxg-label:hover{color:var(--color-primary-hover)}.gxg-label:focus{color:var(--color-primary-active)}.gxg-label:active{color:var(--color-primary-active)}.gxg-label[disabled]{color:var(--color-primary-disabled)}.gxg-label--negative{color:var(--color-on-primary)}.gxg-label--negative[disabled]{color:var(--color-on-disabled)}.gxg-button-styles{font-family:var(--font-family-primary) !important;font-weight:var(--font-weight-semibold);font-size:var(--font-size-sm) !important;letter-spacing:var(--letter-spacing-xs);color:var(--color-primary-enabled);text-align:center;line-height:1.455em}.gxg-scrollbar{}.gxg-scrollbar::-webkit-scrollbar{width:6px;height:6px}.gxg-scrollbar::-webkit-scrollbar-track{background-color:var(--gray-02);border-radius:10px}.gxg-scrollbar::-webkit-scrollbar-thumb{background:var(--gray-05);border-radius:10px}.gxg-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--gray-04);cursor:pointer}:host{--gxg-container-elements-spacing:var(--spacing-comp-03);display:block}:host([full-height]){height:100%}:host([full-height]) .container{height:100%;display:flex;flex-direction:column}:host([full-height]) .content{flex-grow:1}fieldset{padding:0;margin-inline-start:0;margin-inline-end:0;border:none}.heading,.content,.footer{padding:var(--gxg-container--padding)}.container--padding-s{--gxg-container--padding:var(--spacing-comp-02)}.container--padding-m{--gxg-container--padding:var(--spacing-comp-03)}.container--padding-l{--gxg-container--padding:var(--spacing-comp-04)}.container--display-border{border:1px solid var(--gx-ide-container-border-color)}.container--display-border-top{border-top:1px solid var(--gx-ide-container-border-color)}.container--display-border-end{border-inline-end:1px solid var(--gx-ide-container-border-color)}.container--display-border-bottom{border-bottom:1px solid var(--gx-ide-container-border-color)}.container--display-border-start{border-inline-start:1px solid var(--gx-ide-container-border-color)}.heading{display:flex;flex-direction:column;gap:var(--gxg-container--padding);width:100%;box-sizing:border-box;border-bottom:1px solid var(--gx-ide-container-border-color)}.heading--no-border{border-bottom:0}.heading--no-padding{padding:0}.content{display:flex;flex-direction:column;gap:var(--gxg-container-elements-spacing);overflow-x:auto;}.content::-webkit-scrollbar{width:6px;height:6px}.content::-webkit-scrollbar-track{background-color:var(--gray-02);border-radius:10px}.content::-webkit-scrollbar-thumb{background:var(--gray-05);border-radius:10px}.content::-webkit-scrollbar-thumb:hover{background:var(--gray-04);cursor:pointer}.content--no-padding{padding:0}.content--no-gap{gap:0}.content--align-items-start{align-items:start}.content--align-items-center{align-items:center}.content--align-items-end{align-items:end}.content--justify-content-start{justify-content:start}.content--justify-content-center{justify-content:center}.content--justify-content-end{justify-content:end}.footer{display:flex;gap:var(--gxg-container-elements-spacing);flex-wrap:wrap;justify-content:space-between;align-items:center;border-top:1px solid var(--gx-ide-container-border-color)}.footer__start,.footer__end{display:flex;gap:var(--gxg-container-elements-spacing)}.footer--no-border{border-top:0}.footer--no-padding{padding:0}";
|
|
8
|
-
|
|
9
|
-
const GxIdeContainer = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.headingClasses = () => {
|
|
13
|
-
return {
|
|
14
|
-
"heading": true,
|
|
15
|
-
"heading--no-border": this.noHeadingBorder || this.hasOnlyHeading,
|
|
16
|
-
[`heading--justify-${this.headingJustify}`]: true,
|
|
17
|
-
["heading--no-padding"]: this.noHeadingPadding
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
this.contentClasses = () => {
|
|
21
|
-
return {
|
|
22
|
-
"content": true,
|
|
23
|
-
"content--no-padding": this.noContentPadding,
|
|
24
|
-
"content--no-gap": this.noContentGap,
|
|
25
|
-
[`content--align-items-${this.alignItems}`]: this.alignItems !== undefined,
|
|
26
|
-
[`content--justify-content-${this.justifyContent}`]: this.justifyContent !== undefined
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
this.footer = () => {
|
|
30
|
-
return this.hasFooterSlot ? (index.h("footer", { class: {
|
|
31
|
-
"footer": true,
|
|
32
|
-
"footer--no-border": this.hasOnlyFooter || !this.hasSlottedContent,
|
|
33
|
-
[`footer--justify-${this.footerJustify}`]: true,
|
|
34
|
-
[`footer--justify-${this.footerJustify}`]: true,
|
|
35
|
-
["footer--no-padding"]: this.noFooterPadding
|
|
36
|
-
} }, index.h("div", { class: "footer__start" }, index.h("slot", { name: "footer-start" })), index.h("div", { class: "footer__end" }, index.h("slot", { name: "footer-end" })))) : null;
|
|
37
|
-
};
|
|
38
|
-
this.fieldset = false;
|
|
39
|
-
this.containerTitle = undefined;
|
|
40
|
-
this.displayBorder = false;
|
|
41
|
-
this.displayBorderTop = false;
|
|
42
|
-
this.displayBorderEnd = false;
|
|
43
|
-
this.displayBorderBottom = false;
|
|
44
|
-
this.displayBorderStart = false;
|
|
45
|
-
this.sectionsPadding = "m";
|
|
46
|
-
this.fullHeight = false;
|
|
47
|
-
this.titleAlignment = "center";
|
|
48
|
-
this.noHeadingBorder = false;
|
|
49
|
-
this.noHeadingPadding = false;
|
|
50
|
-
this.headingJustify = "center";
|
|
51
|
-
this.noContentPadding = false;
|
|
52
|
-
this.noContentGap = false;
|
|
53
|
-
this.alignItems = undefined;
|
|
54
|
-
this.justifyContent = undefined;
|
|
55
|
-
this.noFooterPadding = false;
|
|
56
|
-
this.footerJustify = "end";
|
|
57
|
-
this.noBorderFooter = false;
|
|
58
|
-
this.hasHeaderSlot = false;
|
|
59
|
-
this.hasSlottedContent = false;
|
|
60
|
-
this.hasFooterSlot = false;
|
|
61
|
-
this.hasOnlyHeading = false;
|
|
62
|
-
this.hasOnlyFooter = false;
|
|
63
|
-
}
|
|
64
|
-
// 4.PUBLIC PROPERTY API /
|
|
65
|
-
// 5.EVENTS (EMIT) //
|
|
66
|
-
// 6.COMPONENT LIFECYCLE EVENTS //
|
|
67
|
-
componentWillLoad() {
|
|
68
|
-
this.evaluateSlots();
|
|
69
|
-
this.evaluateFullHeight();
|
|
70
|
-
}
|
|
71
|
-
// 7.LISTENERS //
|
|
72
|
-
// 8.PUBLIC METHODS API //
|
|
73
|
-
// 9.LOCAL METHODS //
|
|
74
|
-
evaluateSlots() {
|
|
75
|
-
// header
|
|
76
|
-
const headerSlot = this.el.querySelectorAll(':scope > [slot="header"]');
|
|
77
|
-
if (headerSlot.length) {
|
|
78
|
-
this.hasHeaderSlot = true;
|
|
79
|
-
}
|
|
80
|
-
// content
|
|
81
|
-
const slottedContent = this.el.querySelectorAll(":scope > :not([slot])");
|
|
82
|
-
if (slottedContent.length) {
|
|
83
|
-
this.hasSlottedContent = true;
|
|
84
|
-
}
|
|
85
|
-
// footer
|
|
86
|
-
const footerStartSlot = this.el.querySelectorAll(':scope > [slot="footer-start"]');
|
|
87
|
-
const footerEndSlot = this.el.querySelectorAll(':scope > [slot="footer-end"]');
|
|
88
|
-
if (footerStartSlot.length || footerEndSlot.length) {
|
|
89
|
-
this.hasFooterSlot = true;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
evaluateFullHeight() {
|
|
93
|
-
if (this.fullHeight && this.fieldset) {
|
|
94
|
-
/* If full-height, fieldset has to be false*/
|
|
95
|
-
this.fieldset = false;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
evaluateSections() {
|
|
99
|
-
if (!this.hasSlottedContent && !this.hasFooterSlot) {
|
|
100
|
-
this.hasOnlyHeading = true;
|
|
101
|
-
}
|
|
102
|
-
if (!this.hasSlottedContent && !this.containerTitle) {
|
|
103
|
-
this.hasOnlyFooter = true;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
// 10.RENDER() FUNCTION //
|
|
107
|
-
render() {
|
|
108
|
-
this.evaluateSections();
|
|
109
|
-
let result;
|
|
110
|
-
if (this.fieldset) {
|
|
111
|
-
result = [
|
|
112
|
-
index.h("fieldset", null, this.containerTitle || this.hasHeaderSlot ? (index.h("legend", { class: this.headingClasses() }, this.containerTitle ? (index.h("gxg-title", { type: "title-04", alignment: this.titleAlignment }, this.containerTitle)) : null, this.hasHeaderSlot ? (index.h("div", { class: "heading__inner-wrapper" }, index.h("slot", { name: "header" }))) : null)) : null, this.hasSlottedContent ? (index.h("div", { class: this.contentClasses() }, index.h("slot", null))) : null),
|
|
113
|
-
this.footer()
|
|
114
|
-
];
|
|
115
|
-
}
|
|
116
|
-
else {
|
|
117
|
-
result = [
|
|
118
|
-
this.containerTitle || this.hasHeaderSlot ? (index.h("header", { class: this.headingClasses() }, this.containerTitle ? (index.h("gxg-title", { type: "title-04", alignment: this.titleAlignment }, this.containerTitle)) : null, this.hasHeaderSlot ? (index.h("div", { class: "heading__inner-wrapper" }, index.h("slot", { name: "header" }))) : null)) : null,
|
|
119
|
-
this.hasSlottedContent ? (index.h("div", { class: this.contentClasses() }, index.h("slot", null))) : null,
|
|
120
|
-
this.footer()
|
|
121
|
-
];
|
|
122
|
-
}
|
|
123
|
-
return (index.h(index.Host, null, index.h("div", { class: {
|
|
124
|
-
"container": true,
|
|
125
|
-
[`container--padding-${this.sectionsPadding}`]: true,
|
|
126
|
-
"container--display-border": this.displayBorder,
|
|
127
|
-
"container--display-border-top": this.displayBorderTop,
|
|
128
|
-
"container--display-border-end": this.displayBorderEnd,
|
|
129
|
-
"container--display-border-bottom": this.displayBorderBottom,
|
|
130
|
-
"container--display-border-start": this.displayBorderStart
|
|
131
|
-
} }, result)));
|
|
132
|
-
}
|
|
133
|
-
get el() { return index.getElement(this); }
|
|
134
|
-
};
|
|
135
|
-
GxIdeContainer.style = containerCss;
|
|
136
|
-
|
|
137
|
-
exports.gx_ide_container = GxIdeContainer;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-5a32426a.js');
|
|
6
|
-
|
|
7
|
-
const menuListCss = ":root{--ui-animaton-speed:0.2s}.gxg-title-01{font-family:var(--font-family-primary);font-weight:var(--font-weight-bold);font-size:var(--font-size-md);letter-spacing:var(--letter-spacing-md);color:var(--color-on-background);text-align:start;line-height:1.455em}.gxg-title-01--negative{font-family:var(--font-family-primary);font-weight:var(--font-weight-bold);font-size:var(--font-size-md);letter-spacing:var(--letter-spacing-md);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-on-primary)}.gxg-title-02{font-family:var(--font-family-primary);font-weight:var(--font-weight-bold);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-sm);color:var(--color-on-background);text-align:start;text-transform:uppercase;line-height:1.556em}.gxg-title-02--negative{font-family:var(--font-family-primary);font-weight:var(--font-weight-bold);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-sm);color:var(--color-on-background);text-align:start;text-transform:uppercase;line-height:1.556em;color:var(--color-on-primary)}.gxg-title-03{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-xs);letter-spacing:var(--letter-spacing-sm);color:var(--color-on-background);text-align:start;text-transform:uppercase;line-height:1.556em}.gxg-title-03--negative{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-xs);letter-spacing:var(--letter-spacing-sm);color:var(--color-on-background);text-align:start;text-transform:uppercase;line-height:1.556em;color:var(--color-on-primary)}.gxg-title-04{font-family:var(--font-family-primary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-md);letter-spacing:var(--letter-spacing-md);color:var(--color-on-background);text-align:start;line-height:1.455em}.gxg-title-04--negative{font-family:var(--font-family-primary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-md);letter-spacing:var(--letter-spacing-md);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-on-primary)}.gxg-title-05{font-family:var(--font-family-primary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-sm);color:var(--color-on-background);text-align:start;line-height:1.556em}.gxg-title-05--negative{font-family:var(--font-family-primary);font-weight:var(--font-weight-semibold);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-sm);color:var(--color-on-background);text-align:start;line-height:1.556em;color:var(--color-on-primary)}.gxg-text{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em}.gxg-text--negative{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-on-primary)}.gxg-text--gray{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--gray-05)}.gxg-quote{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;font-style:italic}.gxg-quote--negative{color:var(--color-on-primary)}.gxg-link{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-primary);text-decoration:underline;cursor:pointer;display:inline-block}.gxg-link:hover{color:var(--color-primary-hover)}.gxg-link:active{color:var(--color-primary-active)}.gxg-link-gray{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-primary);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--gray-04)}.gxg-link-gray:hover{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-primary);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--gray-04);color:var(--gray-06)}.gxg-alert-error{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-error-dark);display:inline-block}.gxg-alert-warning{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-warning-dark);display:inline-block}.gxg-alert-success{font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em;color:var(--color-success-dark);display:inline-block}.gxg-tab--disabled{color:var(--color-primary-disabled);pointer-events:none}.gxg-tab--disabled[disabled]{color:var(--color-primary-disabled);pointer-events:none}.gxg-label{font-family:var(--font-family-primary) !important;font-weight:var(--font-weight-semibold);font-size:var(--font-size-sm) !important;letter-spacing:var(--letter-spacing-xs);color:var(--color-primary-enabled);text-align:center;line-height:1.455em}.gxg-label:hover{color:var(--color-primary-hover)}.gxg-label:focus{color:var(--color-primary-active)}.gxg-label:active{color:var(--color-primary-active)}.gxg-label[disabled]{color:var(--color-primary-disabled)}.gxg-label--negative{color:var(--color-on-primary)}.gxg-label--negative[disabled]{color:var(--color-on-disabled)}.gxg-button-styles{font-family:var(--font-family-primary) !important;font-weight:var(--font-weight-semibold);font-size:var(--font-size-sm) !important;letter-spacing:var(--letter-spacing-xs);color:var(--color-primary-enabled);text-align:center;line-height:1.455em}.gxg-scrollbar{}.gxg-scrollbar::-webkit-scrollbar{width:6px;height:6px}.gxg-scrollbar::-webkit-scrollbar-track{background-color:var(--gray-02);border-radius:10px}.gxg-scrollbar::-webkit-scrollbar-thumb{background:var(--gray-05);border-radius:10px}.gxg-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--gray-04);cursor:pointer}:host{display:block}.title-wrapper{display:block;padding:var(--spacing-comp-01) var(--spacing-comp-02);box-sizing:border-box}ul{padding-left:0;list-style-type:none;display:block;box-sizing:border-box;margin:0;font-family:var(--font-family-primary);font-weight:var(--font-weight-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-xs);color:var(--color-on-background);text-align:start;line-height:1.455em}";
|
|
8
|
-
|
|
9
|
-
const GxgMenuList = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
}
|
|
13
|
-
// 2. REFERENCE TO ELEMENTS //
|
|
14
|
-
// 3.STATE() VARIABLES //
|
|
15
|
-
// 4.PUBLIC PROPERTY API | WATCH'S //
|
|
16
|
-
// 5.EVENTS (EMIT) //
|
|
17
|
-
// 6.METHODS //
|
|
18
|
-
// 7.LISTENERS //
|
|
19
|
-
// 8.PUBLIC METHODS API //
|
|
20
|
-
// 9.LOCAL METHODS //
|
|
21
|
-
// 10.RENDER() FUNCTION //
|
|
22
|
-
render() {
|
|
23
|
-
return (index.h(index.Host, null, index.h("div", { class: "wrapper", part: "wrapper" }, this.listTitle ? (index.h("span", { class: "title-wrapper", part: "title-wrapper" }, index.h("gxg-title", { type: "title-05", part: "title" }, this.listTitle))) : null, index.h("ul", { part: "list" }, index.h("slot", null)))));
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
GxgMenuList.style = menuListCss;
|
|
27
|
-
|
|
28
|
-
exports.gxg_menu_list = GxgMenuList;
|