@genexus/genexus-ide-ui 0.0.79 → 0.0.81
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/genexus-ide-ui.cjs.js +1 -1
- package/dist/cjs/gx-ide-ai-assistant.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-ai-message.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-bpm-app-declaration.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-create-kb-from-server.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-dashboard-home.cjs.entry.js +111 -0
- package/dist/cjs/gx-ide-kb-manager-export.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-kb-manager-import.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-new-environment.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-new-kb.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-new-object.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-object-selector.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-references.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-share-kb.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-team-dev-commit.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/gx-ide-template.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-ww-images.cjs.entry.js +2 -2
- package/dist/cjs/{gxg-card.cjs.entry.js → gxg-card_2.cjs.entry.js} +79 -0
- package/dist/cjs/gxg-color-picker.cjs.entry.js +2 -2
- package/dist/cjs/gxg-form-textarea.cjs.entry.js +3 -3
- package/dist/cjs/{helpers-e25e57cb.js → helpers-8d026db9.js} +9 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/common/helpers.js +9 -1
- package/dist/collection/components/_starting-template/template.css +15 -0
- package/dist/collection/components/ai-assistant/ai-assistant.css +32 -14
- package/dist/collection/components/ai-assistant/ai-message.css +20 -20
- package/dist/collection/components/bpm-application-declaration/bpm-app-declaration.css +15 -0
- package/dist/collection/components/create-kb-from-server/create-kb-from-server.css +15 -0
- package/dist/collection/components/dashboard-home/dashboard-home.css +300 -0
- package/dist/collection/components/dashboard-home/dashboard-home.js +302 -0
- package/dist/collection/components/dashboard-home/gx-ide-assets/dashboard-home/langs/dashboard-home.lang.en.json +28 -0
- package/dist/collection/components/dashboard-home/gx-ide-assets/dashboard-home/langs/dashboard-home.lang.ja.json +3 -0
- package/dist/collection/components/dashboard-home/gx-ide-assets/dashboard-home/langs/dashboard-home.lang.zh.json +3 -0
- package/dist/collection/components/kb-manager-export/kb-manager-export.css +15 -0
- package/dist/collection/components/kb-manager-import/kb-manager-import.css +15 -0
- package/dist/collection/components/new-environment/new-environment.css +15 -0
- package/dist/collection/components/new-kb/new-kb.css +15 -0
- package/dist/collection/components/new-object/new-object.css +15 -0
- package/dist/collection/components/object-selector/object-selector.css +15 -0
- package/dist/collection/components/references/references.css +15 -0
- package/dist/collection/components/share-kb/share-kb.css +15 -0
- package/dist/collection/components/team-dev/commit/commit.css +15 -0
- package/dist/collection/components/team-dev/select-recent-comment/select-recent-comment.css +15 -0
- package/dist/collection/components/team-dev/update/update.css +15 -0
- package/dist/collection/components/team-dev/update-partial-selection/update-partial-selection.css +15 -0
- package/dist/collection/components/team-dev/update-to-revision/update-to-revision.css +15 -0
- package/dist/collection/components/ww-images/ww-images.css +15 -0
- package/dist/collection/pages/assets/common.js +15 -0
- package/dist/components/ai-message.js +1 -1
- package/dist/{esm/gxg-card.entry.js → components/card.js} +60 -8
- package/dist/components/form-textarea.js +3 -3
- package/dist/components/gx-ide-ai-assistant.js +1 -1
- package/dist/components/gx-ide-bpm-app-declaration.js +1 -1
- package/dist/components/gx-ide-create-kb-from-server.js +1 -1
- package/dist/components/gx-ide-dashboard-home.d.ts +11 -0
- package/dist/components/gx-ide-dashboard-home.js +197 -0
- package/dist/components/gx-ide-kb-manager-export.js +1 -1
- package/dist/components/gx-ide-kb-manager-import.js +1 -1
- package/dist/components/gx-ide-new-environment.js +1 -1
- package/dist/components/gx-ide-new-kb.js +1 -1
- package/dist/components/gx-ide-new-object.js +1 -1
- package/dist/components/gx-ide-object-selector.js +1 -1
- package/dist/components/gx-ide-references.js +1 -1
- package/dist/components/gx-ide-share-kb.js +1 -1
- package/dist/components/gx-ide-team-dev-commit.js +1 -1
- 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 +1 -1
- package/dist/components/gx-ide-template.js +1 -1
- package/dist/components/gx-ide-ww-images.js +1 -1
- package/dist/components/gxg-card.js +1 -132
- package/dist/components/gxg-color-picker.js +2 -2
- package/dist/components/gxg-pill.js +1 -114
- package/dist/components/helpers2.js +9 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/{esm/gxg-pill.entry.js → components/pill.js} +44 -10
- package/dist/esm/ch-suggest_4.entry.js +1 -1
- package/dist/esm/{form-397b839e.js → form-1e8f483d.js} +1 -1
- package/dist/esm/genexus-ide-ui.js +1 -1
- package/dist/esm/gx-ide-ai-assistant.entry.js +1 -1
- package/dist/esm/gx-ide-ai-message.entry.js +2 -2
- package/dist/esm/gx-ide-bpm-app-declaration.entry.js +1 -1
- package/dist/esm/gx-ide-create-kb-from-server.entry.js +1 -1
- package/dist/esm/gx-ide-dashboard-home.entry.js +107 -0
- package/dist/esm/gx-ide-kb-manager-export.entry.js +1 -1
- package/dist/esm/gx-ide-kb-manager-import.entry.js +2 -2
- package/dist/esm/gx-ide-new-environment.entry.js +2 -2
- package/dist/esm/gx-ide-new-kb.entry.js +1 -1
- package/dist/esm/gx-ide-new-object.entry.js +1 -1
- package/dist/esm/gx-ide-object-selector.entry.js +2 -2
- package/dist/esm/gx-ide-references.entry.js +1 -1
- package/dist/esm/gx-ide-share-kb.entry.js +1 -1
- package/dist/esm/gx-ide-team-dev-commit.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/gx-ide-template.entry.js +1 -1
- package/dist/esm/gx-ide-ww-images.entry.js +2 -2
- package/dist/esm/gxg-card_2.entry.js +160 -0
- package/dist/esm/gxg-color-picker.entry.js +2 -2
- package/dist/esm/gxg-combo-box_2.entry.js +1 -1
- package/dist/esm/gxg-form-checkbox-group.entry.js +1 -1
- package/dist/esm/gxg-form-checkbox.entry.js +1 -1
- package/dist/esm/gxg-form-radio-group.entry.js +1 -1
- package/dist/esm/gxg-form-text.entry.js +1 -1
- package/dist/esm/gxg-form-textarea.entry.js +4 -4
- package/dist/esm/gxg-list-box_2.entry.js +1 -1
- package/dist/esm/gxg-select.entry.js +1 -1
- package/dist/esm/gxg-title-editable.entry.js +1 -1
- package/dist/esm/{helpers-a11a19fb.js → helpers-2607df78.js} +9 -1
- package/dist/esm/loader.js +1 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.css +3 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
- package/dist/genexus-ide-ui/gx-ide-assets/dashboard-home/langs/dashboard-home.lang.en.json +28 -0
- package/dist/genexus-ide-ui/gx-ide-assets/dashboard-home/langs/dashboard-home.lang.ja.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/dashboard-home/langs/dashboard-home.lang.zh.json +3 -0
- package/dist/genexus-ide-ui/{p-b5fb3c0b.entry.js → p-16532b36.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-626bf7ad.entry.js → p-26c275b5.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-a5bbf490.entry.js → p-2aa2b066.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-db7d339f.entry.js → p-2c384ea8.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-6c59cca0.entry.js → p-2e599385.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-bc9446a0.entry.js → p-31a0baf1.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-fcb44a8c.entry.js → p-382a461c.entry.js} +1 -1
- package/dist/genexus-ide-ui/p-399217ed.entry.js +1 -0
- package/dist/genexus-ide-ui/p-3e713453.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-7aabd69b.entry.js → p-40cba1ef.entry.js} +1 -1
- package/dist/genexus-ide-ui/p-491036b3.entry.js +1 -0
- package/dist/genexus-ide-ui/p-4a337d35.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-7a4ff1fe.entry.js → p-4d074686.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-b456e3aa.entry.js → p-5a0a2882.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-4e2db053.entry.js → p-6e9cc16b.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-b141f6e4.entry.js → p-7e3f439e.entry.js} +1 -1
- package/dist/genexus-ide-ui/p-99bdb8f7.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-56627675.entry.js → p-a2a856d8.entry.js} +1 -1
- package/dist/genexus-ide-ui/p-a479705e.entry.js +3 -0
- package/dist/genexus-ide-ui/p-a69aaabc.entry.js +1 -0
- package/dist/genexus-ide-ui/p-acea5e0c.entry.js +1 -0
- package/dist/genexus-ide-ui/p-ae32c83c.entry.js +1 -0
- package/dist/genexus-ide-ui/p-b600039f.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-a2469a76.js → p-b9fca59c.js} +1 -1
- package/dist/genexus-ide-ui/{p-9596d186.entry.js → p-bb842602.entry.js} +1 -1
- package/dist/{cjs/gxg-pill.cjs.entry.js → genexus-ide-ui/p-ca28bfdf.entry.js} +1 -86
- package/dist/genexus-ide-ui/{p-0967fafc.entry.js → p-cc0e7136.entry.js} +1 -1
- package/dist/genexus-ide-ui/p-cc39d895.entry.js +1 -0
- package/dist/genexus-ide-ui/p-ce98ad84.entry.js +1 -0
- package/dist/genexus-ide-ui/p-cf72f115.entry.js +1 -0
- package/dist/genexus-ide-ui/p-d410aa15.js +1 -0
- package/dist/genexus-ide-ui/p-d98beed6.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-96e00630.entry.js → p-e43f7f5f.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-4165015f.entry.js → p-fb73f868.entry.js} +1 -1
- package/dist/node_modules/@genexus/gemini/dist/collection/components/form-textarea/form-textarea.css +10 -0
- package/dist/types/common/helpers.d.ts +1 -1
- package/dist/types/components/dashboard-home/dashboard-home.d.ts +104 -0
- package/dist/types/components.d.ts +90 -0
- package/package.json +3 -3
- package/dist/collection/common/format-date.js +0 -11
- package/dist/genexus-ide-ui/p-2753da85.entry.js +0 -1
- package/dist/genexus-ide-ui/p-36d5d83b.entry.js +0 -1
- package/dist/genexus-ide-ui/p-377d7066.entry.js +0 -1
- package/dist/genexus-ide-ui/p-4772d5ae.entry.js +0 -1
- package/dist/genexus-ide-ui/p-59b366c2.entry.js +0 -1
- package/dist/genexus-ide-ui/p-5bb2b052.entry.js +0 -1
- package/dist/genexus-ide-ui/p-64d3885f.js +0 -1
- package/dist/genexus-ide-ui/p-67869d00.entry.js +0 -1
- package/dist/genexus-ide-ui/p-7e52f6fb.entry.js +0 -1
- package/dist/genexus-ide-ui/p-ab4e48bc.entry.js +0 -1
- package/dist/genexus-ide-ui/p-cf341ae3.entry.js +0 -1
- package/dist/genexus-ide-ui/p-cf6646a4.entry.js +0 -1
- package/dist/genexus-ide-ui/p-d83dea7c.entry.js +0 -1
- package/dist/genexus-ide-ui/p-e34c90b6.entry.js +0 -1
- package/dist/genexus-ide-ui/p-e452e69d.entry.js +0 -1
- package/dist/genexus-ide-ui/p-e4e7e070.entry.js +0 -1
- package/dist/types/common/format-date.d.ts +0 -1
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
/* STENCIL IMPORTS */
|
|
2
|
+
import { Host, h } from "@stencil/core";
|
|
3
|
+
/* OTHER LIBRARIES IMPORTS */
|
|
4
|
+
/* CUSTOM IMPORTS */
|
|
5
|
+
import { Locale } from "../../common/locale";
|
|
6
|
+
import { formatDate } from "../../common/helpers";
|
|
7
|
+
const mapStatusToIcons = {
|
|
8
|
+
new: "gx-server/new",
|
|
9
|
+
modified: "patterns-default-associated/modified",
|
|
10
|
+
conflicted: "patterns-default-associated/synchronized",
|
|
11
|
+
unmodified: "gx-server/delete"
|
|
12
|
+
};
|
|
13
|
+
export class GxIdeDashboardHome {
|
|
14
|
+
constructor() {
|
|
15
|
+
// 7.LISTENERS //
|
|
16
|
+
// 8.PUBLIC METHODS API //
|
|
17
|
+
// 9.LOCAL METHODS //
|
|
18
|
+
// Kb Name
|
|
19
|
+
this.handleKbNameChange = async () => {
|
|
20
|
+
if (this.renameKBCallback) {
|
|
21
|
+
const response = this.renameKBCallback(this.kbNameEl.value);
|
|
22
|
+
response.then((result) => {
|
|
23
|
+
if (result.success) {
|
|
24
|
+
this.kb.name = this.kbNameEl.value;
|
|
25
|
+
}
|
|
26
|
+
this.editValidation(result, this.kbNameEl);
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
// Environment Name
|
|
31
|
+
this.handleEnvNameChange = async () => {
|
|
32
|
+
if (this.renameEnvironmentCallback) {
|
|
33
|
+
const response = this.renameEnvironmentCallback(this.envNameEl.value);
|
|
34
|
+
response.then((result) => {
|
|
35
|
+
if (result.success) {
|
|
36
|
+
this.environment.name = this.envNameEl.value;
|
|
37
|
+
}
|
|
38
|
+
this.editValidation(result, this.envNameEl);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
// Project Description
|
|
43
|
+
this.toggleEditDescription = async () => {
|
|
44
|
+
this.editingProjectDescription = !this.editingProjectDescription;
|
|
45
|
+
};
|
|
46
|
+
this.handleDescriptionChange = async () => {
|
|
47
|
+
if (this.editDescriptionCallback) {
|
|
48
|
+
await this.editDescriptionCallback();
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
// Recent Objects
|
|
52
|
+
this.openObject = (id) => {
|
|
53
|
+
this.openObjectCallback(id);
|
|
54
|
+
};
|
|
55
|
+
// Validation
|
|
56
|
+
this.editValidation = (result, el) => {
|
|
57
|
+
if (!result.success) {
|
|
58
|
+
el.validationStatus = "error";
|
|
59
|
+
el.validationMessage = result.errorMessage;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
// 10.RENDER() FUNCTIONS //
|
|
63
|
+
this.renderProjectContent = () => {
|
|
64
|
+
return this.editingProjectDescription ? (h("div", null, h("gxg-form-textarea", { rows: 12, value: this.projectDescription }), h("div", { class: "project-buttons align-center" }, h("gxg-text", { type: "text-link", onClick: this.handleDescriptionChange }, this._componentLocale.save), h("gxg-text", { type: "text-link", onClick: this.toggleEditDescription }, this._componentLocale.discard)))) : (h("div", null, h("div", { innerHTML: this.projectDescription }), h("gxg-text", { icon: "gemini-tools/edit", type: "text-link", onClick: this.toggleEditDescription }, this._componentLocale.edit)));
|
|
65
|
+
};
|
|
66
|
+
this.editingKbName = false;
|
|
67
|
+
this.editingEnvName = false;
|
|
68
|
+
this.editingProjectDescription = false;
|
|
69
|
+
this.kb = undefined;
|
|
70
|
+
this.environment = undefined;
|
|
71
|
+
this.projectDescription = undefined;
|
|
72
|
+
this.recentObjects = undefined;
|
|
73
|
+
this.renameKBCallback = undefined;
|
|
74
|
+
this.renameEnvironmentCallback = undefined;
|
|
75
|
+
this.editDescriptionCallback = undefined;
|
|
76
|
+
this.openObjectCallback = undefined;
|
|
77
|
+
}
|
|
78
|
+
// 6.COMPONENT LIFECYCLE METHODS //
|
|
79
|
+
async componentWillLoad() {
|
|
80
|
+
this._componentLocale = await Locale.getComponentStrings(this.el);
|
|
81
|
+
}
|
|
82
|
+
componentDidRender() {
|
|
83
|
+
this.componentDidRenderEvent.emit(this._componentLocale.componentName);
|
|
84
|
+
}
|
|
85
|
+
renderFrontEndTitle() {
|
|
86
|
+
return this.environment.frontEnd.length <= 1
|
|
87
|
+
? this._componentLocale.environment.frontEndLang
|
|
88
|
+
: this._componentLocale.environment.frontEndLangs;
|
|
89
|
+
}
|
|
90
|
+
// 11.RENDER() MAIN FUNCTION //
|
|
91
|
+
render() {
|
|
92
|
+
return (h(Host, { class: "gx-ide-component", id: "gx-ide-component" }, h("div", { class: "gx-ide-main-wrapper" }, h("div", { class: "grid grid--basic" }, h("div", { class: "kb gxi-overflow-auto" }, h("gxg-title-editable", { value: this.kb.name, "disable-edition": this.editingKbName, "click-to-edit": true, fluid: true, ref: el => (this.kbNameEl = el), onValueChanged: this.handleKbNameChange, focusType: "text", debounce: true }), h("div", { class: "align-center kb-detail" }, h("gxg-pill", { id: "pill", class: "version-pill", type: "static", icon: "objects/procedure" }, this._componentLocale.version, ": ", this.kb.currentVersion), h("gxg-text", { class: "display-inline", type: "text-regular", padding: "s", italic: true }, this._componentLocale.created, ":", " ", formatDate(this.kb.created, "date-time-short"), " -", " ", this._componentLocale.lastBuild, ":", " ", formatDate(this.kb.lastBuild, "date-time-short")))), h("div", { class: "environment" }, h("gxg-title-editable", { value: this.environment.name, "disable-edition": this.editingEnvName, "click-to-edit": true, "title-type": "h3", ref: el => (this.envNameEl = el), onValueChanged: this.handleEnvNameChange, focusType: "text", debounce: true }), h("div", { class: "grid grid--environments" }, h("gxg-card", { background: "gray-01", cardType: "mini", padding: "s", cardTitle: this.renderFrontEndTitle() }, h("div", { class: "front-end" }, this.environment.frontEnd.map((obj) => (h("div", { class: "align-center" }, h("gxg-icon", { type: obj.icon, color: "onbackground", style: {
|
|
93
|
+
"--color-on-background": "var(--gray-05);"
|
|
94
|
+
} }), obj.name))))), h("gxg-card", { background: "gray-01", cardType: "mini", padding: "s", cardTitle: this._componentLocale.environment.backEnd }, h("div", { class: "align-center" }, h("gxg-icon", { type: this.environment.backEnd.icon, color: "onbackground", style: {
|
|
95
|
+
"--color-on-background": "var(--gray-05);"
|
|
96
|
+
} }), this.environment.backEnd.name)), h("gxg-card", { background: "gray-01", cardType: "mini", padding: "s", cardTitle: this._componentLocale.environment.dataStore }, h("div", { class: "align-center" }, h("gxg-icon", { type: this.environment.dataStore.icon, color: "onbackground", style: {
|
|
97
|
+
"--color-on-background": "var(--gray-05);"
|
|
98
|
+
} }), this.environment.dataStore.name)))), h("gxg-card", { editableTitle: false, cardTitle: this._componentLocale.project.title, class: "project" }, this.renderProjectContent()), h("gxg-card", { editableTitle: false, cardTitle: this._componentLocale.recent.title, class: "recent-objects", cardType: "section", "no-padding-top": true }, this.recentObjects.map((obj, index) => (h("gxg-card", { background: "gray-01", padding: "m", cardType: "article", class: "recent-objects-card", actionable: true, onClick: () => this.openObject(index) }, h("div", { class: "grid grid--recent-objects" }, h("gxg-icon", { type: obj.typeIcon, color: "auto" }), h("gxg-text", { type: "text-regular", class: "obj-name" }, obj.name), h("gxg-text", { italic: true, class: "justify-end" }, this._componentLocale.recent.modified, ":", " ", `${formatDate(obj.modificationDate, "date")}`), h("div", { class: " justify-end" }, h("gxg-icon", { type: mapStatusToIcons[obj.status], color: "auto" })))))))))));
|
|
99
|
+
}
|
|
100
|
+
static get is() { return "gx-ide-dashboard-home"; }
|
|
101
|
+
static get encapsulation() { return "shadow"; }
|
|
102
|
+
static get originalStyleUrls() {
|
|
103
|
+
return {
|
|
104
|
+
"$": ["dashboard-home.scss"]
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
static get styleUrls() {
|
|
108
|
+
return {
|
|
109
|
+
"$": ["dashboard-home.css"]
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
static get assetsDirs() { return ["gx-ide-assets/dashboard-home"]; }
|
|
113
|
+
static get properties() {
|
|
114
|
+
return {
|
|
115
|
+
"kb": {
|
|
116
|
+
"type": "unknown",
|
|
117
|
+
"mutable": false,
|
|
118
|
+
"complexType": {
|
|
119
|
+
"original": "KBData",
|
|
120
|
+
"resolved": "{ name: string; currentVersion: string; created: Date; lastBuild?: Date; }",
|
|
121
|
+
"references": {
|
|
122
|
+
"KBData": {
|
|
123
|
+
"location": "local"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"optional": false,
|
|
129
|
+
"docs": {
|
|
130
|
+
"tags": [],
|
|
131
|
+
"text": "The KB basic properties."
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"environment": {
|
|
135
|
+
"type": "unknown",
|
|
136
|
+
"mutable": false,
|
|
137
|
+
"complexType": {
|
|
138
|
+
"original": "EnvironmentData",
|
|
139
|
+
"resolved": "{ name: string; frontEnd: EnvironmentItemData[]; backEnd: EnvironmentItemData; dataStore: EnvironmentItemData; }",
|
|
140
|
+
"references": {
|
|
141
|
+
"EnvironmentData": {
|
|
142
|
+
"location": "local"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"required": false,
|
|
147
|
+
"optional": false,
|
|
148
|
+
"docs": {
|
|
149
|
+
"tags": [],
|
|
150
|
+
"text": "Information of the current environment."
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"projectDescription": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"mutable": false,
|
|
156
|
+
"complexType": {
|
|
157
|
+
"original": "string",
|
|
158
|
+
"resolved": "string",
|
|
159
|
+
"references": {}
|
|
160
|
+
},
|
|
161
|
+
"required": false,
|
|
162
|
+
"optional": false,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [],
|
|
165
|
+
"text": "Project Detail description."
|
|
166
|
+
},
|
|
167
|
+
"attribute": "project-description",
|
|
168
|
+
"reflect": false
|
|
169
|
+
},
|
|
170
|
+
"recentObjects": {
|
|
171
|
+
"type": "unknown",
|
|
172
|
+
"mutable": false,
|
|
173
|
+
"complexType": {
|
|
174
|
+
"original": "recentObjectData[]",
|
|
175
|
+
"resolved": "recentObjectData[]",
|
|
176
|
+
"references": {
|
|
177
|
+
"recentObjectData": {
|
|
178
|
+
"location": "local"
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"required": false,
|
|
183
|
+
"optional": false,
|
|
184
|
+
"docs": {
|
|
185
|
+
"tags": [],
|
|
186
|
+
"text": "Recently edited objects."
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"renameKBCallback": {
|
|
190
|
+
"type": "unknown",
|
|
191
|
+
"mutable": false,
|
|
192
|
+
"complexType": {
|
|
193
|
+
"original": "(name: string) => Promise<EditResult>",
|
|
194
|
+
"resolved": "(name: string) => Promise<EditResult>",
|
|
195
|
+
"references": {
|
|
196
|
+
"Promise": {
|
|
197
|
+
"location": "global"
|
|
198
|
+
},
|
|
199
|
+
"EditResult": {
|
|
200
|
+
"location": "local"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"required": false,
|
|
205
|
+
"optional": false,
|
|
206
|
+
"docs": {
|
|
207
|
+
"tags": [],
|
|
208
|
+
"text": "Callback invoked when user tries to rename the KB.\nReceives the new name as a parameter\nand returns a promise with the result of the operation."
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"renameEnvironmentCallback": {
|
|
212
|
+
"type": "unknown",
|
|
213
|
+
"mutable": false,
|
|
214
|
+
"complexType": {
|
|
215
|
+
"original": "(\n name: string\n ) => Promise<EditResult>",
|
|
216
|
+
"resolved": "(name: string) => Promise<EditResult>",
|
|
217
|
+
"references": {
|
|
218
|
+
"Promise": {
|
|
219
|
+
"location": "global"
|
|
220
|
+
},
|
|
221
|
+
"EditResult": {
|
|
222
|
+
"location": "local"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"required": false,
|
|
227
|
+
"optional": false,
|
|
228
|
+
"docs": {
|
|
229
|
+
"tags": [],
|
|
230
|
+
"text": "Callback invoked when user tries to rename the KB environment.\nReceives the new name as a parameter\nand returns a promise with the result of the operation."
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"editDescriptionCallback": {
|
|
234
|
+
"type": "unknown",
|
|
235
|
+
"mutable": false,
|
|
236
|
+
"complexType": {
|
|
237
|
+
"original": "() => Promise<void>",
|
|
238
|
+
"resolved": "() => Promise<void>",
|
|
239
|
+
"references": {
|
|
240
|
+
"Promise": {
|
|
241
|
+
"location": "global"
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"required": false,
|
|
246
|
+
"optional": false,
|
|
247
|
+
"docs": {
|
|
248
|
+
"tags": [],
|
|
249
|
+
"text": "Callback invoked when user tries to edit the Project Description.\nThe edition is resolved by the host."
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"openObjectCallback": {
|
|
253
|
+
"type": "unknown",
|
|
254
|
+
"mutable": false,
|
|
255
|
+
"complexType": {
|
|
256
|
+
"original": "(id: number) => Promise<void>",
|
|
257
|
+
"resolved": "(id: number) => Promise<void>",
|
|
258
|
+
"references": {
|
|
259
|
+
"Promise": {
|
|
260
|
+
"location": "global"
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"required": false,
|
|
265
|
+
"optional": false,
|
|
266
|
+
"docs": {
|
|
267
|
+
"tags": [],
|
|
268
|
+
"text": "Callback invoked when user tries to open one of the listed Recent Objects\nReceives the internal ID of the object"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
static get states() {
|
|
274
|
+
return {
|
|
275
|
+
"editingKbName": {},
|
|
276
|
+
"editingEnvName": {},
|
|
277
|
+
"editingProjectDescription": {}
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
static get events() {
|
|
281
|
+
return [{
|
|
282
|
+
"method": "componentDidRenderEvent",
|
|
283
|
+
"name": "componentDidRenderEvent",
|
|
284
|
+
"bubbles": true,
|
|
285
|
+
"cancelable": true,
|
|
286
|
+
"composed": true,
|
|
287
|
+
"docs": {
|
|
288
|
+
"tags": [{
|
|
289
|
+
"name": "description",
|
|
290
|
+
"text": "Gets fired when the component has rendered for the first time."
|
|
291
|
+
}],
|
|
292
|
+
"text": ""
|
|
293
|
+
},
|
|
294
|
+
"complexType": {
|
|
295
|
+
"original": "string",
|
|
296
|
+
"resolved": "string",
|
|
297
|
+
"references": {}
|
|
298
|
+
}
|
|
299
|
+
}];
|
|
300
|
+
}
|
|
301
|
+
static get elementRef() { return "el"; }
|
|
302
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"componentName": "Dashboard Home",
|
|
3
|
+
"version": "Version",
|
|
4
|
+
"created": "Created",
|
|
5
|
+
"lastBuild": "Last Build",
|
|
6
|
+
"edit": "Edit Description",
|
|
7
|
+
"save": "Save Changes",
|
|
8
|
+
"discard": "Discard Changes",
|
|
9
|
+
"project": {
|
|
10
|
+
"title": "Project Detail",
|
|
11
|
+
"tabs": {
|
|
12
|
+
"description": "Description",
|
|
13
|
+
"lookFeel": "Look & feel",
|
|
14
|
+
"architecture": "Architecture"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"environment": {
|
|
18
|
+
"title": "Environment Name",
|
|
19
|
+
"frontEndLang": "Frontend Language",
|
|
20
|
+
"frontEndLangs": "Frontend Languages",
|
|
21
|
+
"backEnd": "Backend Language",
|
|
22
|
+
"dataStore": "Main Data Store"
|
|
23
|
+
},
|
|
24
|
+
"recent": {
|
|
25
|
+
"title": "Recent Objects",
|
|
26
|
+
"modified": "Modified"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
package/dist/collection/components/team-dev/update-partial-selection/update-partial-selection.css
CHANGED
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
|
@@ -40,6 +40,21 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
40
40
|
overflow: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.justify-start {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.justify-center {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.justify-end {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: end;
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/* Grids */
|
|
44
59
|
.grid {
|
|
45
60
|
display: grid;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
const toggleDarkBtn = document.getElementById("toggle-dark-btn");
|
|
2
2
|
const toggleDirBtn = document.getElementById("toggle-dir-btn");
|
|
3
|
+
const geminifyBtn = document.getElementById("geminify-btn");
|
|
4
|
+
const mercurifyBtn = document.getElementById("mercurify-btn");
|
|
3
5
|
const showPartsBtn = document.getElementById("show-parts-btn");
|
|
4
6
|
const responsiveMobileBtn = document.getElementById("responsive-mobile-btn");
|
|
5
7
|
const responsiveTabletBtn = document.getElementById("responsive-tablet-btn");
|
|
@@ -31,6 +33,19 @@ if (toggleDirBtn) {
|
|
|
31
33
|
});
|
|
32
34
|
}
|
|
33
35
|
|
|
36
|
+
/* Geminify */
|
|
37
|
+
if (geminifyBtn) {
|
|
38
|
+
geminifyBtn.addEventListener("click", function () {
|
|
39
|
+
html.classList.remove("mercury");
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/* Mercurify */
|
|
43
|
+
if (mercurifyBtn) {
|
|
44
|
+
mercurifyBtn.addEventListener("click", function () {
|
|
45
|
+
html.classList.add("mercury");
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
|
|
34
49
|
/* Show Parts */
|
|
35
50
|
if (showPartsBtn) {
|
|
36
51
|
showPartsBtn.addEventListener("click", function () {
|