@genexus/genexus-ide-ui 1.1.21 → 1.1.22
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-message.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-dashboard-home.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-new-environment.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-new-kb.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-object-selector.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-team-dev-bring-changes.cjs.entry.js +6 -9
- package/dist/cjs/gx-ide-team-dev-bring-changes.cjs.entry.js.map +1 -1
- package/dist/cjs/gx-ide-team-dev-commit.cjs.entry.js +345 -177
- package/dist/cjs/gx-ide-team-dev-commit.cjs.entry.js.map +1 -1
- package/dist/cjs/gx-ide-team-dev-history.cjs.entry.js +13 -36
- package/dist/cjs/gx-ide-team-dev-history.cjs.entry.js.map +1 -1
- package/dist/cjs/gx-ide-team-dev-update.cjs.entry.js +17 -13
- package/dist/cjs/gx-ide-team-dev-update.cjs.entry.js.map +1 -1
- package/dist/cjs/gx-ide-ww-images.cjs.entry.js +1 -1
- package/dist/cjs/{helpers-30f109a4.js → helpers-b30b36b4.js} +2 -2
- package/dist/cjs/{helpers-30f109a4.js.map → helpers-b30b36b4.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/utilities-6118dc24.js +78 -0
- package/dist/cjs/utilities-6118dc24.js.map +1 -0
- package/dist/collection/common/helpers.js +1 -1
- package/dist/collection/common/helpers.js.map +1 -1
- package/dist/collection/common/types.js.map +1 -1
- package/dist/collection/components/team-dev/bring-changes/bring-changes.css +6 -6
- package/dist/collection/components/team-dev/bring-changes/bring-changes.js +5 -8
- package/dist/collection/components/team-dev/bring-changes/bring-changes.js.map +1 -1
- package/dist/collection/components/team-dev/commit/commit.css +48 -665
- package/dist/collection/components/team-dev/commit/commit.js +407 -251
- package/dist/collection/components/team-dev/commit/commit.js.map +1 -1
- package/dist/collection/components/team-dev/commit/gx-ide-assets/team-dev-commit/langs/team-dev-commit.lang.en.json +20 -3
- package/dist/collection/components/team-dev/commit/gx-ide-assets/team-dev-commit/langs/team-dev-commit.lang.ja.json +20 -3
- package/dist/collection/components/team-dev/commit/gx-ide-assets/team-dev-commit/langs/team-dev-commit.lang.zh.json +20 -3
- package/dist/collection/components/team-dev/commit/helpers.js +10 -0
- package/dist/collection/components/team-dev/commit/helpers.js.map +1 -0
- package/dist/collection/components/team-dev/common/types.js +2 -0
- package/dist/collection/components/team-dev/common/types.js.map +1 -0
- package/dist/collection/components/team-dev/common/utilities.js +67 -0
- package/dist/collection/components/team-dev/common/utilities.js.map +1 -0
- package/dist/collection/components/team-dev/history/history.css +6 -0
- package/dist/collection/components/team-dev/history/history.js +11 -34
- package/dist/collection/components/team-dev/history/history.js.map +1 -1
- package/dist/collection/components/team-dev/update/update.js +4 -10
- package/dist/collection/components/team-dev/update/update.js.map +1 -1
- package/dist/components/gx-ide-team-dev-bring-changes.js +6 -9
- package/dist/components/gx-ide-team-dev-bring-changes.js.map +1 -1
- package/dist/components/gx-ide-team-dev-commit.js +369 -191
- package/dist/components/gx-ide-team-dev-commit.js.map +1 -1
- package/dist/components/gx-ide-team-dev-history.js +12 -35
- package/dist/components/gx-ide-team-dev-history.js.map +1 -1
- package/dist/components/gx-ide-team-dev-update.js +16 -12
- package/dist/components/gx-ide-team-dev-update.js.map +1 -1
- package/dist/components/helpers.js +1 -1
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/utilities.js +75 -0
- package/dist/components/utilities.js.map +1 -0
- package/dist/esm/genexus-ide-ui.js +1 -1
- package/dist/esm/gx-ide-ai-message.entry.js +1 -1
- package/dist/esm/gx-ide-dashboard-home.entry.js +1 -1
- package/dist/esm/gx-ide-new-environment.entry.js +1 -1
- package/dist/esm/gx-ide-new-kb.entry.js +1 -1
- package/dist/esm/gx-ide-object-selector.entry.js +1 -1
- package/dist/esm/gx-ide-team-dev-bring-changes.entry.js +6 -9
- package/dist/esm/gx-ide-team-dev-bring-changes.entry.js.map +1 -1
- package/dist/esm/gx-ide-team-dev-commit.entry.js +345 -177
- package/dist/esm/gx-ide-team-dev-commit.entry.js.map +1 -1
- package/dist/esm/gx-ide-team-dev-history.entry.js +13 -36
- package/dist/esm/gx-ide-team-dev-history.entry.js.map +1 -1
- package/dist/esm/gx-ide-team-dev-update.entry.js +17 -13
- package/dist/esm/gx-ide-team-dev-update.entry.js.map +1 -1
- package/dist/esm/gx-ide-ww-images.entry.js +1 -1
- package/dist/esm/{helpers-10479d69.js → helpers-a4f16ffb.js} +2 -2
- package/dist/esm/{helpers-10479d69.js.map → helpers-a4f16ffb.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/utilities-6fdb43e4.js +75 -0
- package/dist/esm/utilities-6fdb43e4.js.map +1 -0
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js.map +1 -1
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-commit/langs/team-dev-commit.lang.en.json +20 -3
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-commit/langs/team-dev-commit.lang.ja.json +20 -3
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-commit/langs/team-dev-commit.lang.zh.json +20 -3
- package/dist/genexus-ide-ui/{p-b465f29d.entry.js → p-012cfb1d.entry.js} +2 -2
- package/dist/genexus-ide-ui/p-0f8a8202.js +87 -0
- package/dist/genexus-ide-ui/p-0f8a8202.js.map +1 -0
- package/dist/genexus-ide-ui/{p-3b5a4e2e.entry.js → p-11b8f81d.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-82878950.entry.js → p-19d197c5.entry.js} +8 -8
- package/dist/genexus-ide-ui/{p-667965d3.entry.js → p-72b5d3e4.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-74a0cb25.entry.js → p-810ad95f.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-ac131847.entry.js → p-863ef4de.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-3fbc5a02.entry.js → p-884e0ed9.entry.js} +97 -104
- package/dist/genexus-ide-ui/p-884e0ed9.entry.js.map +1 -0
- package/dist/genexus-ide-ui/{p-9ddea83b.js → p-957046fd.js} +2 -2
- package/dist/genexus-ide-ui/p-957046fd.js.map +1 -0
- package/dist/genexus-ide-ui/p-ca706700.entry.js +484 -0
- package/dist/genexus-ide-ui/p-ca706700.entry.js.map +1 -0
- package/dist/genexus-ide-ui/p-d4ef0c35.entry.js +683 -0
- package/dist/genexus-ide-ui/p-d4ef0c35.entry.js.map +1 -0
- package/dist/genexus-ide-ui/{p-75a5c51f.entry.js → p-fa52a417.entry.js} +153 -149
- package/dist/genexus-ide-ui/p-fa52a417.entry.js.map +1 -0
- package/dist/types/common/types.d.ts +0 -1
- package/dist/types/components/team-dev/bring-changes/bring-changes.d.ts +1 -4
- package/dist/types/components/team-dev/commit/commit.d.ts +53 -70
- package/dist/types/components/team-dev/commit/helpers.d.ts +4 -0
- package/dist/types/components/team-dev/common/types.d.ts +1 -0
- package/dist/types/components/team-dev/common/utilities.d.ts +25 -0
- package/dist/types/components/team-dev/history/history.d.ts +1 -1
- package/dist/types/components/team-dev/update/update.d.ts +2 -1
- package/dist/types/components.d.ts +7 -15
- package/package.json +1 -1
- package/dist/cjs/render-combo-items-e774f796.js +0 -18
- package/dist/cjs/render-combo-items-e774f796.js.map +0 -1
- package/dist/components/render-combo-items.js +0 -16
- package/dist/components/render-combo-items.js.map +0 -1
- package/dist/esm/render-combo-items-e9c8df5e.js +0 -16
- package/dist/esm/render-combo-items-e9c8df5e.js.map +0 -1
- package/dist/genexus-ide-ui/p-34fd4875.entry.js +0 -573
- package/dist/genexus-ide-ui/p-34fd4875.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-3fbc5a02.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-60e39b2f.entry.js +0 -541
- package/dist/genexus-ide-ui/p-60e39b2f.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-75a5c51f.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-9ddea83b.js.map +0 -1
- package/dist/genexus-ide-ui/p-f549f6e1.js +0 -17
- package/dist/genexus-ide-ui/p-f549f6e1.js.map +0 -1
- /package/dist/genexus-ide-ui/{p-b465f29d.entry.js.map → p-012cfb1d.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-3b5a4e2e.entry.js.map → p-11b8f81d.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-82878950.entry.js.map → p-19d197c5.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-667965d3.entry.js.map → p-72b5d3e4.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-74a0cb25.entry.js.map → p-810ad95f.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-ac131847.entry.js.map → p-863ef4de.entry.js.map} +0 -0
|
@@ -1,102 +1,169 @@
|
|
|
1
|
-
|
|
1
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
2
|
+
if (kind === "a" && !f)
|
|
3
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
5
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
6
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
7
|
+
};
|
|
8
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
9
|
+
if (kind === "m")
|
|
10
|
+
throw new TypeError("Private method is not writable");
|
|
11
|
+
if (kind === "a" && !f)
|
|
12
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
13
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
14
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
15
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
16
|
+
};
|
|
17
|
+
var _GxIdeTeamDevCommit_componentLocale, _GxIdeTeamDevCommit_loadDataCalledFirstTime, _GxIdeTeamDevCommit_renderedFirstTime, _GxIdeTeamDevCommit_commitsTabModel, _GxIdeTeamDevCommit_categoriesEl, _GxIdeTeamDevCommit_changeSetEl, _GxIdeTeamDevCommit_commitCommentEl, _GxIdeTeamDevCommit_foldersEl, _GxIdeTeamDevCommit_patternEl, _GxIdeTeamDevCommit_typesEl, _GxIdeTeamDevCommit_chGridIgnoredObjectsEl, _GxIdeTeamDevCommit_chGridPendingCommitsEl, _GxIdeTeamDevCommit_initializeComboBoxModels, _GxIdeTeamDevCommit_commitCallbackHandler, _GxIdeTeamDevCommit_evaluateFilterConditions, _GxIdeTeamDevCommit_getRecentCommentHandler, _GxIdeTeamDevCommit_gridOnSelectionChangedCallbackHandler, _GxIdeTeamDevCommit_handleColumnSortChanged, _GxIdeTeamDevCommit_loadData, _GxIdeTeamDevCommit_markAllPendingCommitsRows, _GxIdeTeamDevCommit_objectsOnContextMenuCallbackHandler, _GxIdeTeamDevCommit_pendingCommitsRowMarkingChangedHandler, _GxIdeTeamDevCommit_renderTabularGridColumnSet, _GxIdeTeamDevCommit_renderTabularGridCommonCells, _GxIdeTeamDevCommit_renderIgnoredObjectsGrid, _GxIdeTeamDevCommit_renderPendingCommitsGrid, _GxIdeTeamDevCommit_revertPendingCommitsCheckboxes, _GxIdeTeamDevCommit_togglePendingCommitsCheckboxes, _GxIdeTeamDevCommit_updateTabModel, _GxIdeTeamDevCommit_commentInputHandler, _GxIdeTeamDevCommit_toggleFiltersHandler, _GxIdeTeamDevCommit_onTabActivated;
|
|
18
|
+
// Stencil
|
|
2
19
|
import { Host, h } from "@stencil/core";
|
|
3
|
-
|
|
20
|
+
import { getIconPath } from "@genexus/mercury";
|
|
21
|
+
import { renderObjectStateWithIcon, renderObjectTypeWithIcon } from "../common/utilities";
|
|
22
|
+
// Custom Imports
|
|
4
23
|
import { Locale } from "../../../common/locale";
|
|
5
24
|
import { config } from "../../../common/config";
|
|
6
|
-
import { renderComboItems } from "../../../common/render-combo-items";
|
|
7
25
|
import { formatDate } from "../../../common/helpers";
|
|
26
|
+
import { mapGxOptionsToComboBoxItemModel, mapObjectTypeToComboBoxItemModel } from "./helpers";
|
|
27
|
+
const FILTER_ICON = getIconPath({
|
|
28
|
+
category: "window-tools",
|
|
29
|
+
name: "filter",
|
|
30
|
+
colorType: "primary"
|
|
31
|
+
});
|
|
32
|
+
const FILTER_ICON_EMPTY = getIconPath({
|
|
33
|
+
category: "window-tools",
|
|
34
|
+
name: "filter",
|
|
35
|
+
colorType: "on-surface"
|
|
36
|
+
});
|
|
37
|
+
const FILTER_WITH_CONDITIONS_ICON = getIconPath({
|
|
38
|
+
category: "window-tools",
|
|
39
|
+
name: "filter-conditions",
|
|
40
|
+
colorType: "primary"
|
|
41
|
+
});
|
|
42
|
+
const RESET_ICON = getIconPath({
|
|
43
|
+
category: "gemini-tools",
|
|
44
|
+
name: "reset",
|
|
45
|
+
colorType: "primary"
|
|
46
|
+
});
|
|
47
|
+
const ALL_OPTION = "All";
|
|
8
48
|
const CSS_BUNDLES = [
|
|
9
49
|
"resets/box-sizing",
|
|
10
|
-
"utils/form",
|
|
11
|
-
"utils/layout",
|
|
12
|
-
"utils/typography",
|
|
13
50
|
"components/button",
|
|
14
51
|
"components/checkbox",
|
|
52
|
+
"components/combo-box",
|
|
15
53
|
"components/edit",
|
|
16
|
-
"components/
|
|
54
|
+
"components/tab",
|
|
55
|
+
"components/icon",
|
|
56
|
+
"components/tabular-grid",
|
|
57
|
+
"components/tooltip",
|
|
58
|
+
"chameleon/scrollbar",
|
|
59
|
+
"utils/form",
|
|
60
|
+
"utils/layout",
|
|
61
|
+
"utils/typography",
|
|
62
|
+
"utils/spacing"
|
|
17
63
|
];
|
|
18
64
|
export class GxIdeTeamDevCommit {
|
|
19
65
|
constructor() {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
66
|
+
/**
|
|
67
|
+
* The component hard-coded strings translations.
|
|
68
|
+
*/
|
|
69
|
+
// eslint-disable-next-line @stencil-community/own-props-must-be-private
|
|
70
|
+
_GxIdeTeamDevCommit_componentLocale.set(this, void 0);
|
|
71
|
+
_GxIdeTeamDevCommit_loadDataCalledFirstTime.set(this, false); // pending commits grid checkboxes, should be checked, after loadData has loaded commits for the first time.
|
|
72
|
+
_GxIdeTeamDevCommit_renderedFirstTime.set(this, false);
|
|
73
|
+
_GxIdeTeamDevCommit_commitsTabModel.set(this, [
|
|
74
|
+
{ id: "pending-commits", name: "Pending Commits" },
|
|
75
|
+
{ id: "ignored-objects", name: "Ignored Objects" }
|
|
76
|
+
]);
|
|
77
|
+
// filters
|
|
78
|
+
_GxIdeTeamDevCommit_categoriesEl.set(this, void 0);
|
|
79
|
+
_GxIdeTeamDevCommit_changeSetEl.set(this, void 0);
|
|
80
|
+
_GxIdeTeamDevCommit_commitCommentEl.set(this, void 0);
|
|
81
|
+
_GxIdeTeamDevCommit_foldersEl.set(this, void 0);
|
|
82
|
+
_GxIdeTeamDevCommit_patternEl.set(this, void 0);
|
|
83
|
+
_GxIdeTeamDevCommit_typesEl.set(this, void 0);
|
|
84
|
+
// other
|
|
85
|
+
_GxIdeTeamDevCommit_chGridIgnoredObjectsEl.set(this, void 0);
|
|
86
|
+
_GxIdeTeamDevCommit_chGridPendingCommitsEl.set(this, void 0);
|
|
87
|
+
_GxIdeTeamDevCommit_initializeComboBoxModels.set(this, () => {
|
|
88
|
+
this.foldersChangedHandler(this.folders);
|
|
89
|
+
this.typesChangedHandler(this.types);
|
|
90
|
+
this.changeSetChangedHandler(this.changeSet);
|
|
91
|
+
this.categoriesChangedHandler(this.categories);
|
|
92
|
+
});
|
|
93
|
+
_GxIdeTeamDevCommit_commitCallbackHandler.set(this, async () => {
|
|
94
|
+
const comment = __classPrivateFieldGet(this, _GxIdeTeamDevCommit_commitCommentEl, "f").value;
|
|
95
|
+
if (!comment.length) {
|
|
96
|
+
// A comment is required to commit.
|
|
97
|
+
this.commentInputHasError = true;
|
|
98
|
+
return;
|
|
28
99
|
}
|
|
29
|
-
|
|
30
|
-
|
|
100
|
+
this.commitingObjects = true;
|
|
101
|
+
this.commentInputHasError = false;
|
|
102
|
+
const pendingCommitsCheckedIds = await __classPrivateFieldGet(this, _GxIdeTeamDevCommit_chGridPendingCommitsEl, "f").getMarkedRows();
|
|
103
|
+
await this.commitCallback(pendingCommitsCheckedIds, comment);
|
|
104
|
+
this.commitingObjects = false;
|
|
105
|
+
});
|
|
106
|
+
_GxIdeTeamDevCommit_evaluateFilterConditions.set(this, () => {
|
|
107
|
+
// TODO: This should update
|
|
108
|
+
if (__classPrivateFieldGet(this, _GxIdeTeamDevCommit_patternEl, "f").value !== "" ||
|
|
109
|
+
__classPrivateFieldGet(this, _GxIdeTeamDevCommit_changeSetEl, "f").value !== ALL_OPTION ||
|
|
110
|
+
__classPrivateFieldGet(this, _GxIdeTeamDevCommit_typesEl, "f").value !== ALL_OPTION ||
|
|
111
|
+
__classPrivateFieldGet(this, _GxIdeTeamDevCommit_foldersEl, "f").value !== ALL_OPTION ||
|
|
112
|
+
__classPrivateFieldGet(this, _GxIdeTeamDevCommit_categoriesEl, "f").value !== ALL_OPTION) {
|
|
113
|
+
this.filterHasConditions = true;
|
|
31
114
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
this.chGridPendingCommitsEl.markAllRows();
|
|
35
|
-
};
|
|
36
|
-
this.togglePendingCommitsCheckboxes = async (itemsToToggle) => {
|
|
37
|
-
if (this.chGridPendingCommitsEl) {
|
|
38
|
-
const itemsToCheck = itemsToToggle.itemsToCheck;
|
|
39
|
-
const itemsToUncheck = itemsToToggle.itemsToUncheck;
|
|
40
|
-
// check
|
|
41
|
-
for (const rowId of itemsToCheck) {
|
|
42
|
-
await this.chGridPendingCommitsEl.markRow(rowId, true);
|
|
43
|
-
}
|
|
44
|
-
// uncheck
|
|
45
|
-
for (const rowId of itemsToUncheck) {
|
|
46
|
-
await this.chGridPendingCommitsEl.markRow(rowId, false);
|
|
47
|
-
}
|
|
115
|
+
else {
|
|
116
|
+
this.filterHasConditions = false;
|
|
48
117
|
}
|
|
49
|
-
};
|
|
50
|
-
this
|
|
51
|
-
if (this.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
for (const rowId of removedRowsId) {
|
|
56
|
-
await this.chGridPendingCommitsEl.markRow(rowId, true);
|
|
118
|
+
});
|
|
119
|
+
_GxIdeTeamDevCommit_getRecentCommentHandler.set(this, async () => {
|
|
120
|
+
if (this.getRecentCommentCallback) {
|
|
121
|
+
const response = await this.getRecentCommentCallback();
|
|
122
|
+
if (response) {
|
|
123
|
+
__classPrivateFieldGet(this, _GxIdeTeamDevCommit_commitCommentEl, "f").value = response;
|
|
57
124
|
}
|
|
58
125
|
}
|
|
59
|
-
};
|
|
60
|
-
this
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
case "inserted":
|
|
64
|
-
icon = "gx-server/new";
|
|
65
|
-
break;
|
|
66
|
-
case "modified":
|
|
67
|
-
icon = "gx-server/changes-commit-pending";
|
|
68
|
-
break;
|
|
69
|
-
case "deleted":
|
|
70
|
-
icon = "gx-server/delete";
|
|
71
|
-
break;
|
|
72
|
-
case "conflicted":
|
|
73
|
-
icon = "gx-server/conflict";
|
|
74
|
-
break;
|
|
126
|
+
});
|
|
127
|
+
_GxIdeTeamDevCommit_gridOnSelectionChangedCallbackHandler.set(this, (grid) => async (ev) => {
|
|
128
|
+
if (this.selectCallback) {
|
|
129
|
+
await this.selectCallback(grid, ev.detail.rowsId);
|
|
75
130
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
const removedRowsId = e.detail.removedRowsId;
|
|
84
|
-
const pendingItemCheckedResult = await this.pendingItemsCheckedCallback({
|
|
85
|
-
itemsChecked: addedRowsIds,
|
|
86
|
-
itemsUnchecked: removedRowsId
|
|
87
|
-
});
|
|
88
|
-
if (pendingItemCheckedResult === undefined) {
|
|
89
|
-
// undo check/uncheck
|
|
90
|
-
await this.revertPendingCommitsCheckboxes(addedRowsIds, removedRowsId);
|
|
131
|
+
});
|
|
132
|
+
_GxIdeTeamDevCommit_handleColumnSortChanged.set(this, (e) => {
|
|
133
|
+
const { columnId, sortDirection } = e.detail;
|
|
134
|
+
const aux = this.pendingCommits;
|
|
135
|
+
aux.sort((a, b) => {
|
|
136
|
+
if (a[columnId] < b[columnId]) {
|
|
137
|
+
return sortDirection === "asc" ? -1 : 1;
|
|
91
138
|
}
|
|
92
|
-
|
|
93
|
-
|
|
139
|
+
if (a[columnId] > b[columnId]) {
|
|
140
|
+
return sortDirection === "asc" ? 1 : -1;
|
|
94
141
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
};
|
|
99
|
-
|
|
142
|
+
return 0;
|
|
143
|
+
});
|
|
144
|
+
this.pendingCommits = [...aux];
|
|
145
|
+
});
|
|
146
|
+
_GxIdeTeamDevCommit_loadData.set(this, async () => {
|
|
147
|
+
this.loading = true;
|
|
148
|
+
const filtersData = {
|
|
149
|
+
pattern: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_patternEl, "f").value,
|
|
150
|
+
changeSet: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_changeSetEl, "f").value,
|
|
151
|
+
folder: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_foldersEl, "f").value,
|
|
152
|
+
category: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_categoriesEl, "f").value,
|
|
153
|
+
type: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_typesEl, "f").value
|
|
154
|
+
};
|
|
155
|
+
__classPrivateFieldGet(this, _GxIdeTeamDevCommit_evaluateFilterConditions, "f").call(this);
|
|
156
|
+
await this.loadCallback(filtersData).then(async ({ pending, ignored }) => {
|
|
157
|
+
this.pendingCommits = [...pending];
|
|
158
|
+
this.ignoredObjects = [...ignored];
|
|
159
|
+
});
|
|
160
|
+
this.loading = false;
|
|
161
|
+
__classPrivateFieldGet(this, _GxIdeTeamDevCommit_updateTabModel, "f").call(this);
|
|
162
|
+
});
|
|
163
|
+
_GxIdeTeamDevCommit_markAllPendingCommitsRows.set(this, async () => {
|
|
164
|
+
await __classPrivateFieldGet(this, _GxIdeTeamDevCommit_chGridPendingCommitsEl, "f").markAllRows();
|
|
165
|
+
});
|
|
166
|
+
_GxIdeTeamDevCommit_objectsOnContextMenuCallbackHandler.set(this, (grid) => async (ev) => {
|
|
100
167
|
ev.preventDefault();
|
|
101
168
|
ev.stopPropagation();
|
|
102
169
|
let selection = [];
|
|
@@ -104,7 +171,7 @@ export class GxIdeTeamDevCommit {
|
|
|
104
171
|
selection = ev.detail.selectedRowsId;
|
|
105
172
|
}
|
|
106
173
|
else if (grid === "ignored") {
|
|
107
|
-
selection = await this.
|
|
174
|
+
selection = await __classPrivateFieldGet(this, _GxIdeTeamDevCommit_chGridIgnoredObjectsEl, "f").getSelectedRows();
|
|
108
175
|
}
|
|
109
176
|
if (this.objectsContextMenuCallback) {
|
|
110
177
|
await this.objectsContextMenuCallback(grid, {
|
|
@@ -113,130 +180,215 @@ export class GxIdeTeamDevCommit {
|
|
|
113
180
|
clientY: ev.detail.clientY
|
|
114
181
|
});
|
|
115
182
|
}
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
183
|
+
});
|
|
184
|
+
_GxIdeTeamDevCommit_pendingCommitsRowMarkingChangedHandler.set(this, async (e) => {
|
|
185
|
+
// remove "rowMarkingChanged" until checkboxes have been added/removed on #togglePendingCommitsCheckboxes, to prevent loops.
|
|
186
|
+
__classPrivateFieldGet(this, _GxIdeTeamDevCommit_chGridPendingCommitsEl, "f").removeEventListener("rowMarkingChanged", __classPrivateFieldGet(this, _GxIdeTeamDevCommit_pendingCommitsRowMarkingChangedHandler, "f"));
|
|
187
|
+
if (__classPrivateFieldGet(this, _GxIdeTeamDevCommit_chGridPendingCommitsEl, "f")) {
|
|
188
|
+
const addedRowsIds = e.detail.addedRowsId;
|
|
189
|
+
const removedRowsId = e.detail.removedRowsId;
|
|
190
|
+
const pendingItemCheckedResult = await this.pendingItemsCheckedCallback({
|
|
191
|
+
itemsChecked: addedRowsIds,
|
|
192
|
+
itemsUnchecked: removedRowsId
|
|
193
|
+
});
|
|
194
|
+
if (pendingItemCheckedResult === undefined) {
|
|
195
|
+
// undo check/uncheck
|
|
196
|
+
await __classPrivateFieldGet(this, _GxIdeTeamDevCommit_revertPendingCommitsCheckboxes, "f").call(this, addedRowsIds, removedRowsId);
|
|
197
|
+
}
|
|
198
|
+
else {
|
|
199
|
+
await __classPrivateFieldGet(this, _GxIdeTeamDevCommit_togglePendingCommitsCheckboxes, "f").call(this, pendingItemCheckedResult);
|
|
200
|
+
}
|
|
201
|
+
__classPrivateFieldGet(this, _GxIdeTeamDevCommit_chGridPendingCommitsEl, "f").addEventListener("rowMarkingChanged", __classPrivateFieldGet(this, _GxIdeTeamDevCommit_pendingCommitsRowMarkingChangedHandler, "f"));
|
|
120
202
|
}
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
203
|
+
});
|
|
204
|
+
_GxIdeTeamDevCommit_renderTabularGridColumnSet.set(this, (withCheckboxes = false) => {
|
|
205
|
+
return (h("ch-tabular-grid-columnset", { class: "tabular-grid-column-set" }, withCheckboxes && (h("ch-tabular-grid-column", { class: "tabular-grid-column", columnType: "rich", richRowSelector: true, richRowSelectorMode: "mark", settingable: false, sortable: false, size: config.tabularGrid.colSize.maxContent })), h("ch-tabular-grid-column", { columnId: "name", class: "tabular-grid-column", sortable: true, columnName: "Name", settingable: false, onColumnSortChanged: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_handleColumnSortChanged, "f"), size: config.tabularGrid.colSize.maxContent }), h("ch-tabular-grid-column", { columnId: "type", class: "tabular-grid-column", sortable: true, columnName: "Type", settingable: false, onColumnSortChanged: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_handleColumnSortChanged, "f"), size: config.tabularGrid.colSize.maxContent }), h("ch-tabular-grid-column", { columnId: "description", class: "tabular-grid-column", columnName: "Description", settingable: false, sortable: true, onColumnSortChanged: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_handleColumnSortChanged, "f"), size: config.tabularGrid.colSize.maxContent }), h("ch-tabular-grid-column", { columnId: "modifiedOn", class: "tabular-grid-column", sortable: true, columnName: "Modified On", settingable: false, onColumnSortChanged: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_handleColumnSortChanged, "f"), size: config.tabularGrid.colSize.maxContent }), h("ch-tabular-grid-column", { columnId: "module", class: "tabular-grid-column", columnName: "Module", settingable: false, sortable: true, onColumnSortChanged: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_handleColumnSortChanged, "f"), size: config.tabularGrid.colSize.maxContent }), h("ch-tabular-grid-column", { columnId: "localState", class: "tabular-grid-column", columnName: "Local State", settingable: false, sortable: true, onColumnSortChanged: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_handleColumnSortChanged, "f"), size: config.tabularGrid.colSize.maxContent }), h("ch-tabular-grid-column", { columnId: "lastSynchronized", class: "tabular-grid-column", columnName: "Last Synchronized", settingable: false, sortable: true, onColumnSortChanged: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_handleColumnSortChanged, "f"), size: config.tabularGrid.colSize.auto })));
|
|
206
|
+
});
|
|
207
|
+
_GxIdeTeamDevCommit_renderTabularGridCommonCells.set(this, (object) => {
|
|
208
|
+
return [
|
|
209
|
+
h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, object.name),
|
|
210
|
+
h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, renderObjectTypeWithIcon(object.type)),
|
|
211
|
+
h("ch-tabular-grid-cell", { class: "tabular-grid-cell tabular-grid-cell-description" }, object.description),
|
|
212
|
+
h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, `${formatDate(object.modifiedOn)}`),
|
|
213
|
+
h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, object.module),
|
|
214
|
+
h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, renderObjectStateWithIcon(object.localState)),
|
|
215
|
+
h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, `${formatDate(object.lastSynchronized)}`)
|
|
216
|
+
];
|
|
217
|
+
});
|
|
218
|
+
_GxIdeTeamDevCommit_renderIgnoredObjectsGrid.set(this, () => {
|
|
219
|
+
var _a;
|
|
220
|
+
const tabularGridEmpty = ((_a = this.ignoredObjects) === null || _a === void 0 ? void 0 : _a.length) === 0 || !this.ignoredObjects;
|
|
221
|
+
return (h("ch-tabular-grid", {
|
|
222
|
+
// ignored objects grid render
|
|
223
|
+
class: {
|
|
224
|
+
"tabular-grid": true,
|
|
225
|
+
"tabular-grid--empty": tabularGridEmpty
|
|
226
|
+
}, rowSelectionMode: "multiple", ref: (el) => (__classPrivateFieldSet(this, _GxIdeTeamDevCommit_chGridIgnoredObjectsEl, el, "f")), allowColumnReorder: false, part: "ch-grid-pending-commits", onRowContextMenu: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_objectsOnContextMenuCallbackHandler, "f").call(this, "ignored"), onSelectionChanged: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_gridOnSelectionChangedCallbackHandler, "f").call(this, "ignored")
|
|
227
|
+
}, this.commitingObjects && (h("gx-ide-loader", { loaderTitle: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").loader.title, description: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").loader.description, show: true })), __classPrivateFieldGet(this, _GxIdeTeamDevCommit_renderTabularGridColumnSet, "f").call(this), this.ignoredObjects.length > 0 ? (h("ch-tabular-grid-rowset", { class: "tabular-grid-rowset" }, this.ignoredObjects.map((obj) => (h("ch-tabular-grid-row", { rowid: obj.id, selected: true, class: "tabular-grid-row" }, __classPrivateFieldGet(this, _GxIdeTeamDevCommit_renderTabularGridCommonCells, "f").call(this, obj)))))) : (h("ch-tabular-grid-rowset", { class: "tabular-grid-rowset" }, h("ch-tabular-grid-rowset-empty", null, h("gx-ide-empty-state", { stateIconSrc: FILTER_ICON_EMPTY, stateTitle: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").emptyIgnoredObjects, isAnimated: true }))))));
|
|
228
|
+
});
|
|
229
|
+
_GxIdeTeamDevCommit_renderPendingCommitsGrid.set(this, () => {
|
|
230
|
+
var _a;
|
|
231
|
+
const withCheckboxes = true;
|
|
232
|
+
const tabularGridEmpty = ((_a = this.pendingCommits) === null || _a === void 0 ? void 0 : _a.length) === 0 || !this.pendingCommits;
|
|
233
|
+
if (this.loading) {
|
|
234
|
+
return (h("div", { class: "tabular-grid" }, h("gx-ide-loader", { loaderTitle: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").objectsLoader.title, description: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").objectsLoader.description, show: true })));
|
|
235
|
+
}
|
|
236
|
+
return (h("ch-tabular-grid", {
|
|
237
|
+
// pending commits grid render
|
|
238
|
+
class: {
|
|
239
|
+
"tabular-grid": true,
|
|
240
|
+
"tabular-grid--empty": tabularGridEmpty
|
|
241
|
+
}, rowSelectionMode: "multiple", ref: (el) => (__classPrivateFieldSet(this, _GxIdeTeamDevCommit_chGridPendingCommitsEl, el, "f")), allowColumnReorder: false, part: "ch-grid-pending-commits", onRowContextMenu: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_objectsOnContextMenuCallbackHandler, "f").call(this, "commit"), onSelectionChanged: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_gridOnSelectionChangedCallbackHandler, "f").call(this, "commit")
|
|
242
|
+
}, this.commitingObjects && (h("gx-ide-loader", { loaderTitle: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").loader.title, description: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").loader.description, show: true })), __classPrivateFieldGet(this, _GxIdeTeamDevCommit_renderTabularGridColumnSet, "f").call(this, withCheckboxes), this.pendingCommits.length > 0 ? (h("ch-tabular-grid-rowset", { class: "tabular-grid-rowset" }, this.pendingCommits.map((obj) => (h("ch-tabular-grid-row", { rowid: obj.id, class: "tabular-grid-row" }, h("ch-tabular-grid-cell", { "cell-type": "rich", "row-selector": true, class: "tabular-grid-cell" }), __classPrivateFieldGet(this, _GxIdeTeamDevCommit_renderTabularGridCommonCells, "f").call(this, obj)))))) : (h("ch-tabular-grid-rowset", { class: "tabular-grid-rowset" }, h("ch-tabular-grid-rowset-empty", null, h("gx-ide-empty-state", { stateIconSrc: FILTER_ICON_EMPTY, stateTitle: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").emptyPendingCommitsObjects, isAnimated: true }))))));
|
|
243
|
+
});
|
|
244
|
+
_GxIdeTeamDevCommit_revertPendingCommitsCheckboxes.set(this, async (addedRowsIds, removedRowsId) => {
|
|
245
|
+
if (__classPrivateFieldGet(this, _GxIdeTeamDevCommit_chGridPendingCommitsEl, "f")) {
|
|
246
|
+
for (const rowId of addedRowsIds) {
|
|
247
|
+
await __classPrivateFieldGet(this, _GxIdeTeamDevCommit_chGridPendingCommitsEl, "f").markRow(rowId, false);
|
|
248
|
+
}
|
|
249
|
+
for (const rowId of removedRowsId) {
|
|
250
|
+
await __classPrivateFieldGet(this, _GxIdeTeamDevCommit_chGridPendingCommitsEl, "f").markRow(rowId, true);
|
|
135
251
|
}
|
|
136
252
|
}
|
|
137
|
-
};
|
|
138
|
-
this
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
changeSet: this.changeSetEl.value,
|
|
151
|
-
folder: this.foldersEl.value,
|
|
152
|
-
category: this.categoriesEl.value,
|
|
153
|
-
type: this.typesEl.value
|
|
154
|
-
};
|
|
155
|
-
this.evaluateFilterConditions();
|
|
156
|
-
// this.pendingCommits = null;
|
|
157
|
-
// this.ignoredObjects = null;
|
|
158
|
-
return await this.loadCallback(filtersData).then(async ({ pending, ignored }) => {
|
|
159
|
-
this.pendingCommits = pending;
|
|
160
|
-
this.ignoredObjects = ignored;
|
|
161
|
-
});
|
|
162
|
-
};
|
|
163
|
-
this.toggleFiltersHandler = () => {
|
|
164
|
-
this.filtersHidden = !this.filtersHidden;
|
|
165
|
-
};
|
|
166
|
-
this.evaluateFilterConditions = () => {
|
|
167
|
-
if (this.patternEl.value ||
|
|
168
|
-
this.changeSetEl.value ||
|
|
169
|
-
this.typesEl.value ||
|
|
170
|
-
this.foldersEl.value ||
|
|
171
|
-
this.categoriesEl.value) {
|
|
172
|
-
this.filterHasConditions = true;
|
|
253
|
+
});
|
|
254
|
+
_GxIdeTeamDevCommit_togglePendingCommitsCheckboxes.set(this, async (itemsToToggle) => {
|
|
255
|
+
if (__classPrivateFieldGet(this, _GxIdeTeamDevCommit_chGridPendingCommitsEl, "f")) {
|
|
256
|
+
const itemsToCheck = itemsToToggle.itemsToCheck;
|
|
257
|
+
const itemsToUncheck = itemsToToggle.itemsToUncheck;
|
|
258
|
+
// check
|
|
259
|
+
for (const rowId of itemsToCheck) {
|
|
260
|
+
await __classPrivateFieldGet(this, _GxIdeTeamDevCommit_chGridPendingCommitsEl, "f").markRow(rowId, true);
|
|
261
|
+
}
|
|
262
|
+
// uncheck
|
|
263
|
+
for (const rowId of itemsToUncheck) {
|
|
264
|
+
await __classPrivateFieldGet(this, _GxIdeTeamDevCommit_chGridPendingCommitsEl, "f").markRow(rowId, false);
|
|
265
|
+
}
|
|
173
266
|
}
|
|
174
|
-
|
|
175
|
-
|
|
267
|
+
});
|
|
268
|
+
_GxIdeTeamDevCommit_updateTabModel.set(this, () => {
|
|
269
|
+
__classPrivateFieldSet(this, _GxIdeTeamDevCommit_commitsTabModel, [
|
|
270
|
+
{
|
|
271
|
+
id: "pending-commits",
|
|
272
|
+
name: `${__classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").tabs.pendingCommits} (${this.pendingCommits.length})`
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
id: "ignored-objects",
|
|
276
|
+
name: `${__classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").tabs.ignoredObjects} (${this.ignoredObjects.length})`
|
|
277
|
+
}
|
|
278
|
+
], "f");
|
|
279
|
+
});
|
|
280
|
+
_GxIdeTeamDevCommit_commentInputHandler.set(this, async (event) => {
|
|
281
|
+
const comment = event.detail;
|
|
282
|
+
if (comment.length && this.commentInputHasError) {
|
|
283
|
+
// remove error style and tooltip
|
|
284
|
+
this.commentInputHasError = false;
|
|
176
285
|
}
|
|
177
|
-
};
|
|
178
|
-
this
|
|
286
|
+
});
|
|
287
|
+
_GxIdeTeamDevCommit_toggleFiltersHandler.set(this, () => {
|
|
288
|
+
this.filtersHidden = !this.filtersHidden;
|
|
289
|
+
});
|
|
290
|
+
_GxIdeTeamDevCommit_onTabActivated.set(this, (evt) => {
|
|
291
|
+
evt.stopImmediatePropagation();
|
|
292
|
+
});
|
|
179
293
|
this.comment = "";
|
|
180
|
-
this.pendingCommits = [];
|
|
181
|
-
this.ignoredObjects = [];
|
|
182
|
-
this.commitButtonEnabled = false;
|
|
183
294
|
this.filterHasConditions = false;
|
|
184
|
-
this.
|
|
295
|
+
this.ignoredObjects = [];
|
|
296
|
+
this.pendingCommits = [];
|
|
297
|
+
this.commentInputHasError = false;
|
|
298
|
+
this.commitingObjects = false;
|
|
299
|
+
this.filtersHidden = true;
|
|
300
|
+
this.folderOptionsModel = undefined;
|
|
301
|
+
this.typeOptionsModel = undefined;
|
|
302
|
+
this.changeSetOptionsModel = undefined;
|
|
303
|
+
this.categoryOptionsModel = undefined;
|
|
304
|
+
this.loading = true;
|
|
305
|
+
this.categories = undefined;
|
|
185
306
|
this.changeSet = undefined;
|
|
186
|
-
this.
|
|
307
|
+
this.commitCallback = undefined;
|
|
187
308
|
this.folders = undefined;
|
|
188
|
-
this.categories = undefined;
|
|
189
309
|
this.getRecentCommentCallback = undefined;
|
|
190
310
|
this.loadCallback = undefined;
|
|
191
|
-
this.commitCallback = undefined;
|
|
192
|
-
this.selectCallback = undefined;
|
|
193
|
-
this.pendingItemsCheckedCallback = undefined;
|
|
194
311
|
this.objectsContextMenuCallback = undefined;
|
|
312
|
+
this.pendingItemsCheckedCallback = undefined;
|
|
313
|
+
this.selectCallback = undefined;
|
|
314
|
+
this.types = undefined;
|
|
195
315
|
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
316
|
+
categoriesChangedHandler(newCategoriesOptions) {
|
|
317
|
+
mapGxOptionsToComboBoxItemModel(newCategoriesOptions);
|
|
318
|
+
}
|
|
319
|
+
changeSetChangedHandler(newChangeSetOptions) {
|
|
320
|
+
this.changeSetOptionsModel =
|
|
321
|
+
mapGxOptionsToComboBoxItemModel(newChangeSetOptions);
|
|
322
|
+
}
|
|
323
|
+
foldersChangedHandler(newFolderOptions) {
|
|
324
|
+
this.folderOptionsModel = mapGxOptionsToComboBoxItemModel(newFolderOptions);
|
|
325
|
+
}
|
|
326
|
+
typesChangedHandler(newTypesOptions) {
|
|
327
|
+
this.typeOptionsModel = mapObjectTypeToComboBoxItemModel(newTypesOptions);
|
|
199
328
|
}
|
|
200
329
|
async componentDidLoad() {
|
|
201
|
-
await this.
|
|
202
|
-
this
|
|
330
|
+
await __classPrivateFieldGet(this, _GxIdeTeamDevCommit_loadData, "f").call(this);
|
|
331
|
+
__classPrivateFieldSet(this, _GxIdeTeamDevCommit_loadDataCalledFirstTime, true, "f");
|
|
203
332
|
this.componentDidLoadEvent.emit(true);
|
|
204
|
-
this.
|
|
205
|
-
this.commitCommentEl.focus();
|
|
333
|
+
__classPrivateFieldGet(this, _GxIdeTeamDevCommit_commitCommentEl, "f").focus();
|
|
206
334
|
}
|
|
207
335
|
async componentDidRender() {
|
|
208
|
-
if (!this
|
|
209
|
-
this.componentDidRenderFirstTime.emit(this.
|
|
210
|
-
this
|
|
336
|
+
if (!__classPrivateFieldGet(this, _GxIdeTeamDevCommit_renderedFirstTime, "f")) {
|
|
337
|
+
this.componentDidRenderFirstTime.emit(__classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").componentName);
|
|
338
|
+
__classPrivateFieldSet(this, _GxIdeTeamDevCommit_renderedFirstTime, true, "f");
|
|
211
339
|
}
|
|
212
|
-
if (this
|
|
340
|
+
if (__classPrivateFieldGet(this, _GxIdeTeamDevCommit_loadDataCalledFirstTime, "f")) {
|
|
213
341
|
// call this method only once
|
|
214
|
-
await this.
|
|
342
|
+
await __classPrivateFieldGet(this, _GxIdeTeamDevCommit_markAllPendingCommitsRows, "f").call(this);
|
|
215
343
|
// attach "rowMarkingChanged" after rows have been checked for the first time.
|
|
216
|
-
this.
|
|
217
|
-
this
|
|
344
|
+
__classPrivateFieldGet(this, _GxIdeTeamDevCommit_chGridPendingCommitsEl, "f").addEventListener("rowMarkingChanged", __classPrivateFieldGet(this, _GxIdeTeamDevCommit_pendingCommitsRowMarkingChangedHandler, "f"));
|
|
345
|
+
__classPrivateFieldSet(this, _GxIdeTeamDevCommit_loadDataCalledFirstTime, false, "f");
|
|
218
346
|
}
|
|
219
347
|
}
|
|
220
|
-
|
|
221
|
-
|
|
348
|
+
async componentWillLoad() {
|
|
349
|
+
__classPrivateFieldSet(this, _GxIdeTeamDevCommit_componentLocale, await Locale.getComponentStrings(this.el), "f");
|
|
350
|
+
__classPrivateFieldGet(this, _GxIdeTeamDevCommit_initializeComboBoxModels, "f").call(this);
|
|
351
|
+
}
|
|
222
352
|
/**
|
|
223
|
-
*
|
|
353
|
+
* Method used by the Host to force a data refresh in the grids
|
|
224
354
|
*/
|
|
225
355
|
async reload() {
|
|
226
|
-
this.
|
|
356
|
+
__classPrivateFieldGet(this, _GxIdeTeamDevCommit_loadData, "f").call(this);
|
|
227
357
|
}
|
|
228
|
-
// 10.RENDER() FUNCTION //
|
|
229
358
|
render() {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
359
|
+
const filterIcon = this.filterHasConditions
|
|
360
|
+
? FILTER_WITH_CONDITIONS_ICON
|
|
361
|
+
: FILTER_ICON;
|
|
362
|
+
return (h(Host, { class: "widget" }, h("ch-theme", { model: CSS_BUNDLES }), h("section", { class: "section" }, h("header", { class: "header spacing-body" }, h("div", { class: "header__first-row field-group" }, h("div", { class: "buttons-spacer" }, h("div", {
|
|
363
|
+
// pattern
|
|
364
|
+
class: "field field-inline field-comment"
|
|
365
|
+
}, h("label", { class: "label", htmlFor: "pattern-form-text" }, __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").header.commentLabel), h("ch-edit", {
|
|
366
|
+
// commit comment
|
|
367
|
+
id: "comment", class: {
|
|
368
|
+
"input": true,
|
|
369
|
+
"commit-input": true,
|
|
370
|
+
"scrollable": true,
|
|
371
|
+
"input-error": this.commentInputHasError
|
|
372
|
+
}, placeholder: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").header.commentPlaceholder, onInput: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_commentInputHandler, "f"), value: this.comment, ref: (el) => (__classPrivateFieldSet(this, _GxIdeTeamDevCommit_commitCommentEl, el, "f")), part: "comment"
|
|
373
|
+
})), h("button", { id: "filter-toggle-button", class: "button-teritary button-icon-only", "aria-label": __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").header.filterAriaLabel, "aria-expanded": this.filtersHidden ? "false" : "true", "aria-controls": "filters-container", onClick: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_toggleFiltersHandler, "f"), title: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").header.filterAriaLabel }, h("ch-image", { class: "icon-md", src: filterIcon })), h("button", { class: "button-teritary button-icon-only", "aria-label": __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").header.reloadAriaLabel, title: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").header.reloadAriaLabel, onClick: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_loadData, "f"), part: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").header.reloadAriaLabel }, h("ch-image", { class: "icon-md", src: RESET_ICON }))), this.commentInputHasError && (h("ch-tooltip", { class: "tooltip", actionElement: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_commitCommentEl, "f"), blockAlign: "outside-end", inlineAlign: config.tooltipSettings.inlineAlign, delay: config.tooltipSettings.delay }, __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").header.commentEmptyError)), h("div", { class: "buttons-spacer" }, h("button", { type: "button", class: "button-secondary recent-comments-btn", part: "button button-location", onClick: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_getRecentCommentHandler, "f"), "aria-label": __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").header.recentCommentsButton, disabled: this.commitingObjects }, __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").header.recentCommentsButton))), h("div", { id: "filters-container", "aria-labelledby": "filter-toggle-button", class: {
|
|
374
|
+
"filters-container-visible": !this.filtersHidden,
|
|
375
|
+
"filters-container": true
|
|
376
|
+
}, inert: this.filtersHidden, hidden: this.filtersHidden }, h("div", null, h("div", { slot: "filter", class: "filter field-group" }, h("div", {
|
|
377
|
+
// pattern
|
|
378
|
+
class: "field field-block field-pattern"
|
|
379
|
+
}, h("label", { class: "label", htmlFor: "pattern-form-text" }, __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").filtersMenu.patternLabel), h("ch-edit", { id: "pattern-form-text", class: "input", value: "", ref: (el) => (__classPrivateFieldSet(this, _GxIdeTeamDevCommit_patternEl, el, "f")), debounce: config.inputDebounce, onInput: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_loadData, "f"), part: "pattern-form-text" })), h("div", {
|
|
380
|
+
// folder
|
|
381
|
+
class: "field field-block field-folder"
|
|
382
|
+
}, h("label", { class: "label", htmlFor: "folder-combo" }, __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").filtersMenu.folderLabel), h("ch-combo-box-render", { id: "folder-combo", class: "combo-box", value: this.folders[0].id, model: this.folderOptionsModel, ref: (el) => (__classPrivateFieldSet(this, _GxIdeTeamDevCommit_foldersEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_loadData, "f"), part: "folder-combo" })), h("div", {
|
|
383
|
+
// type
|
|
384
|
+
class: "field field-block field-type"
|
|
385
|
+
}, h("label", { class: "label", htmlFor: "type-combo" }, __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").filtersMenu.typeLabel), h("ch-combo-box-render", { id: "type-combo", class: "combo-box", value: this.types[0].id, model: this.typeOptionsModel, ref: (el) => (__classPrivateFieldSet(this, _GxIdeTeamDevCommit_typesEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_loadData, "f"), part: "type-combo" })), h("div", {
|
|
386
|
+
// changeset
|
|
387
|
+
class: "field field-block field-changeset"
|
|
388
|
+
}, h("label", { class: "label", htmlFor: "changeset-combo" }, __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").filtersMenu.changesetLabel), h("ch-combo-box-render", { id: "changeset-combo", class: "combo-box", value: this.changeSet[0].id, model: this.changeSetOptionsModel, ref: (el) => (__classPrivateFieldSet(this, _GxIdeTeamDevCommit_changeSetEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_loadData, "f"), part: "changeset-combo" })), h("div", {
|
|
389
|
+
// category
|
|
390
|
+
class: "field field-block field-category"
|
|
391
|
+
}, h("label", { class: "label", htmlFor: "category-combo" }, __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").filtersMenu.categoryLabel), h("ch-combo-box-render", { id: "category-combo", class: "combo-box", value: this.categories[0].id, model: this.categoryOptionsModel, ref: (el) => (__classPrivateFieldSet(this, _GxIdeTeamDevCommit_categoriesEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_loadData, "f"), part: "category-combo" })))))), h("ch-tab-render", { class: "tab scrollable", tabListPosition: "block-start", model: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_commitsTabModel, "f"), selectedId: "pending-commits", showTabListEnd: true, overflow: "auto auto", contain: "size", onSelectedItemChange: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_onTabActivated, "f") }, h("div", { class: "ch-tab-slot", slot: "pending-commits", part: "pending-commits" }, __classPrivateFieldGet(this, _GxIdeTeamDevCommit_renderPendingCommitsGrid, "f").call(this)), h("div", { class: "ch-tab-slot", slot: "ignored-objects", part: "ignored-objects" }, __classPrivateFieldGet(this, _GxIdeTeamDevCommit_renderIgnoredObjectsGrid, "f").call(this))), h("footer", { class: "control-footer control-footer-with-border spacing-body-inline spacing-body-block-end" }, h("button", { class: "button-primary", onClick: __classPrivateFieldGet(this, _GxIdeTeamDevCommit_commitCallbackHandler, "f"), part: "commit-button", disabled: this.commitingObjects }, __classPrivateFieldGet(this, _GxIdeTeamDevCommit_componentLocale, "f").footer.commitButton)))));
|
|
240
392
|
}
|
|
241
393
|
static get is() { return "gx-ide-team-dev-commit"; }
|
|
242
394
|
static get encapsulation() { return "shadow"; }
|
|
@@ -253,25 +405,7 @@ export class GxIdeTeamDevCommit {
|
|
|
253
405
|
static get assetsDirs() { return ["gx-ide-assets/team-dev-commit"]; }
|
|
254
406
|
static get properties() {
|
|
255
407
|
return {
|
|
256
|
-
"
|
|
257
|
-
"type": "boolean",
|
|
258
|
-
"mutable": false,
|
|
259
|
-
"complexType": {
|
|
260
|
-
"original": "false",
|
|
261
|
-
"resolved": "boolean",
|
|
262
|
-
"references": {}
|
|
263
|
-
},
|
|
264
|
-
"required": false,
|
|
265
|
-
"optional": false,
|
|
266
|
-
"docs": {
|
|
267
|
-
"tags": [],
|
|
268
|
-
"text": "If true it displays the component title on the header"
|
|
269
|
-
},
|
|
270
|
-
"attribute": "display-title",
|
|
271
|
-
"reflect": false,
|
|
272
|
-
"defaultValue": "false"
|
|
273
|
-
},
|
|
274
|
-
"changeSet": {
|
|
408
|
+
"categories": {
|
|
275
409
|
"type": "unknown",
|
|
276
410
|
"mutable": false,
|
|
277
411
|
"complexType": {
|
|
@@ -289,20 +423,20 @@ export class GxIdeTeamDevCommit {
|
|
|
289
423
|
"optional": false,
|
|
290
424
|
"docs": {
|
|
291
425
|
"tags": [],
|
|
292
|
-
"text": "Possible values for
|
|
426
|
+
"text": "Possible values for Categories filter"
|
|
293
427
|
}
|
|
294
428
|
},
|
|
295
|
-
"
|
|
429
|
+
"changeSet": {
|
|
296
430
|
"type": "unknown",
|
|
297
431
|
"mutable": false,
|
|
298
432
|
"complexType": {
|
|
299
|
-
"original": "
|
|
300
|
-
"resolved": "
|
|
433
|
+
"original": "GxOption[]",
|
|
434
|
+
"resolved": "GxOption[]",
|
|
301
435
|
"references": {
|
|
302
|
-
"
|
|
436
|
+
"GxOption": {
|
|
303
437
|
"location": "import",
|
|
304
438
|
"path": "../../../common/types",
|
|
305
|
-
"id": "src/common/types.ts::
|
|
439
|
+
"id": "src/common/types.ts::GxOption"
|
|
306
440
|
}
|
|
307
441
|
}
|
|
308
442
|
},
|
|
@@ -310,20 +444,20 @@ export class GxIdeTeamDevCommit {
|
|
|
310
444
|
"optional": false,
|
|
311
445
|
"docs": {
|
|
312
446
|
"tags": [],
|
|
313
|
-
"text": "Possible values for
|
|
447
|
+
"text": "Possible values for ChangeSet filter"
|
|
314
448
|
}
|
|
315
449
|
},
|
|
316
|
-
"
|
|
450
|
+
"commitCallback": {
|
|
317
451
|
"type": "unknown",
|
|
318
452
|
"mutable": false,
|
|
319
453
|
"complexType": {
|
|
320
|
-
"original": "
|
|
321
|
-
"resolved": "
|
|
454
|
+
"original": "CommitCallback",
|
|
455
|
+
"resolved": "(selection: string[], commitCommentEl: string) => Promise<boolean>",
|
|
322
456
|
"references": {
|
|
323
|
-
"
|
|
324
|
-
"location": "
|
|
325
|
-
"path": "
|
|
326
|
-
"id": "src/
|
|
457
|
+
"CommitCallback": {
|
|
458
|
+
"location": "local",
|
|
459
|
+
"path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/team-dev/commit/commit.tsx",
|
|
460
|
+
"id": "src/components/team-dev/commit/commit.tsx::CommitCallback"
|
|
327
461
|
}
|
|
328
462
|
}
|
|
329
463
|
},
|
|
@@ -331,10 +465,10 @@ export class GxIdeTeamDevCommit {
|
|
|
331
465
|
"optional": false,
|
|
332
466
|
"docs": {
|
|
333
467
|
"tags": [],
|
|
334
|
-
"text": "
|
|
468
|
+
"text": "Callback invoked when user starts the commit process"
|
|
335
469
|
}
|
|
336
470
|
},
|
|
337
|
-
"
|
|
471
|
+
"folders": {
|
|
338
472
|
"type": "unknown",
|
|
339
473
|
"mutable": false,
|
|
340
474
|
"complexType": {
|
|
@@ -352,7 +486,7 @@ export class GxIdeTeamDevCommit {
|
|
|
352
486
|
"optional": false,
|
|
353
487
|
"docs": {
|
|
354
488
|
"tags": [],
|
|
355
|
-
"text": "Possible values for
|
|
489
|
+
"text": "Possible values for Folders filter"
|
|
356
490
|
}
|
|
357
491
|
},
|
|
358
492
|
"getRecentCommentCallback": {
|
|
@@ -397,17 +531,17 @@ export class GxIdeTeamDevCommit {
|
|
|
397
531
|
"text": "Callback invoked when user wants to reload the grid"
|
|
398
532
|
}
|
|
399
533
|
},
|
|
400
|
-
"
|
|
534
|
+
"objectsContextMenuCallback": {
|
|
401
535
|
"type": "unknown",
|
|
402
536
|
"mutable": false,
|
|
403
537
|
"complexType": {
|
|
404
|
-
"original": "
|
|
405
|
-
"resolved": "(
|
|
538
|
+
"original": "ObjectsContextMenuCallback",
|
|
539
|
+
"resolved": "(grid: CommitSourceType, contextMenuInfo: ContextMenuInfo) => Promise<void>",
|
|
406
540
|
"references": {
|
|
407
|
-
"
|
|
541
|
+
"ObjectsContextMenuCallback": {
|
|
408
542
|
"location": "local",
|
|
409
543
|
"path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/team-dev/commit/commit.tsx",
|
|
410
|
-
"id": "src/components/team-dev/commit/commit.tsx::
|
|
544
|
+
"id": "src/components/team-dev/commit/commit.tsx::ObjectsContextMenuCallback"
|
|
411
545
|
}
|
|
412
546
|
}
|
|
413
547
|
},
|
|
@@ -415,62 +549,62 @@ export class GxIdeTeamDevCommit {
|
|
|
415
549
|
"optional": false,
|
|
416
550
|
"docs": {
|
|
417
551
|
"tags": [],
|
|
418
|
-
"text": "Callback invoked when user
|
|
552
|
+
"text": "Callback invoked when the user activates the context menu in any grid"
|
|
419
553
|
}
|
|
420
554
|
},
|
|
421
|
-
"
|
|
555
|
+
"pendingItemsCheckedCallback": {
|
|
422
556
|
"type": "unknown",
|
|
423
557
|
"mutable": false,
|
|
424
558
|
"complexType": {
|
|
425
|
-
"original": "
|
|
426
|
-
"resolved": "(
|
|
559
|
+
"original": "PendingItemsCheckedCallback",
|
|
560
|
+
"resolved": "(pendingItemsCheckedState: ItemsCheckedState) => Promise<ItemsCheckedResult>",
|
|
427
561
|
"references": {
|
|
428
|
-
"
|
|
562
|
+
"PendingItemsCheckedCallback": {
|
|
429
563
|
"location": "local",
|
|
430
564
|
"path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/team-dev/commit/commit.tsx",
|
|
431
|
-
"id": "src/components/team-dev/commit/commit.tsx::
|
|
565
|
+
"id": "src/components/team-dev/commit/commit.tsx::PendingItemsCheckedCallback"
|
|
432
566
|
}
|
|
433
567
|
}
|
|
434
568
|
},
|
|
435
|
-
"required":
|
|
569
|
+
"required": true,
|
|
436
570
|
"optional": false,
|
|
437
571
|
"docs": {
|
|
438
572
|
"tags": [],
|
|
439
|
-
"text": "Callback
|
|
573
|
+
"text": "Callback invoked when user check/uncheck any item from the 'Pending to Commit' grid"
|
|
440
574
|
}
|
|
441
575
|
},
|
|
442
|
-
"
|
|
576
|
+
"selectCallback": {
|
|
443
577
|
"type": "unknown",
|
|
444
578
|
"mutable": false,
|
|
445
579
|
"complexType": {
|
|
446
|
-
"original": "
|
|
447
|
-
"resolved": "(
|
|
580
|
+
"original": "CommitSelectCallback",
|
|
581
|
+
"resolved": "(grid: CommitSourceType, selectionIds: string[]) => Promise<void>",
|
|
448
582
|
"references": {
|
|
449
|
-
"
|
|
583
|
+
"CommitSelectCallback": {
|
|
450
584
|
"location": "local",
|
|
451
585
|
"path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/team-dev/commit/commit.tsx",
|
|
452
|
-
"id": "src/components/team-dev/commit/commit.tsx::
|
|
586
|
+
"id": "src/components/team-dev/commit/commit.tsx::CommitSelectCallback"
|
|
453
587
|
}
|
|
454
588
|
}
|
|
455
589
|
},
|
|
456
|
-
"required":
|
|
590
|
+
"required": false,
|
|
457
591
|
"optional": false,
|
|
458
592
|
"docs": {
|
|
459
593
|
"tags": [],
|
|
460
|
-
"text": "Callback invoked when user
|
|
594
|
+
"text": "Callback invoked when the user selects rows from the grid"
|
|
461
595
|
}
|
|
462
596
|
},
|
|
463
|
-
"
|
|
597
|
+
"types": {
|
|
464
598
|
"type": "unknown",
|
|
465
599
|
"mutable": false,
|
|
466
600
|
"complexType": {
|
|
467
|
-
"original": "
|
|
468
|
-
"resolved": "
|
|
601
|
+
"original": "ObjectType[]",
|
|
602
|
+
"resolved": "ObjectType[]",
|
|
469
603
|
"references": {
|
|
470
|
-
"
|
|
471
|
-
"location": "
|
|
472
|
-
"path": "/
|
|
473
|
-
"id": "src/
|
|
604
|
+
"ObjectType": {
|
|
605
|
+
"location": "import",
|
|
606
|
+
"path": "../../../common/types",
|
|
607
|
+
"id": "src/common/types.ts::ObjectType"
|
|
474
608
|
}
|
|
475
609
|
}
|
|
476
610
|
},
|
|
@@ -478,31 +612,37 @@ export class GxIdeTeamDevCommit {
|
|
|
478
612
|
"optional": false,
|
|
479
613
|
"docs": {
|
|
480
614
|
"tags": [],
|
|
481
|
-
"text": "
|
|
615
|
+
"text": "Possible values for Type filter"
|
|
482
616
|
}
|
|
483
617
|
}
|
|
484
618
|
};
|
|
485
619
|
}
|
|
486
620
|
static get states() {
|
|
487
621
|
return {
|
|
488
|
-
"filtersHidden": {},
|
|
489
622
|
"comment": {},
|
|
490
|
-
"
|
|
623
|
+
"filterHasConditions": {},
|
|
491
624
|
"ignoredObjects": {},
|
|
492
|
-
"
|
|
493
|
-
"
|
|
625
|
+
"pendingCommits": {},
|
|
626
|
+
"commentInputHasError": {},
|
|
627
|
+
"commitingObjects": {},
|
|
628
|
+
"filtersHidden": {},
|
|
629
|
+
"folderOptionsModel": {},
|
|
630
|
+
"typeOptionsModel": {},
|
|
631
|
+
"changeSetOptionsModel": {},
|
|
632
|
+
"categoryOptionsModel": {},
|
|
633
|
+
"loading": {}
|
|
494
634
|
};
|
|
495
635
|
}
|
|
496
636
|
static get events() {
|
|
497
637
|
return [{
|
|
498
|
-
"method": "
|
|
499
|
-
"name": "
|
|
638
|
+
"method": "componentDidLoadEvent",
|
|
639
|
+
"name": "componentDidLoadEvent",
|
|
500
640
|
"bubbles": true,
|
|
501
641
|
"cancelable": true,
|
|
502
642
|
"composed": true,
|
|
503
643
|
"docs": {
|
|
504
644
|
"tags": [],
|
|
505
|
-
"text": "
|
|
645
|
+
"text": "Emitted once after the component fully loads and the first render occurs"
|
|
506
646
|
},
|
|
507
647
|
"complexType": {
|
|
508
648
|
"original": "boolean",
|
|
@@ -510,14 +650,14 @@ export class GxIdeTeamDevCommit {
|
|
|
510
650
|
"references": {}
|
|
511
651
|
}
|
|
512
652
|
}, {
|
|
513
|
-
"method": "
|
|
514
|
-
"name": "
|
|
653
|
+
"method": "componentDidRenderFirstTime",
|
|
654
|
+
"name": "componentDidRenderFirstTime",
|
|
515
655
|
"bubbles": true,
|
|
516
656
|
"cancelable": true,
|
|
517
657
|
"composed": true,
|
|
518
658
|
"docs": {
|
|
519
659
|
"tags": [],
|
|
520
|
-
"text": "This event is emitted once just after the component is fully loaded and the first render() occurs
|
|
660
|
+
"text": "This event is emitted once just after the component is fully loaded and the first render() occurs"
|
|
521
661
|
},
|
|
522
662
|
"complexType": {
|
|
523
663
|
"original": "boolean",
|
|
@@ -541,12 +681,28 @@ export class GxIdeTeamDevCommit {
|
|
|
541
681
|
"return": "Promise<void>"
|
|
542
682
|
},
|
|
543
683
|
"docs": {
|
|
544
|
-
"text": "
|
|
684
|
+
"text": "Method used by the Host to force a data refresh in the grids",
|
|
545
685
|
"tags": []
|
|
546
686
|
}
|
|
547
687
|
}
|
|
548
688
|
};
|
|
549
689
|
}
|
|
550
690
|
static get elementRef() { return "el"; }
|
|
691
|
+
static get watchers() {
|
|
692
|
+
return [{
|
|
693
|
+
"propName": "categories",
|
|
694
|
+
"methodName": "categoriesChangedHandler"
|
|
695
|
+
}, {
|
|
696
|
+
"propName": "changeSet",
|
|
697
|
+
"methodName": "changeSetChangedHandler"
|
|
698
|
+
}, {
|
|
699
|
+
"propName": "folders",
|
|
700
|
+
"methodName": "foldersChangedHandler"
|
|
701
|
+
}, {
|
|
702
|
+
"propName": "types",
|
|
703
|
+
"methodName": "typesChangedHandler"
|
|
704
|
+
}];
|
|
705
|
+
}
|
|
551
706
|
}
|
|
707
|
+
_GxIdeTeamDevCommit_componentLocale = new WeakMap(), _GxIdeTeamDevCommit_loadDataCalledFirstTime = new WeakMap(), _GxIdeTeamDevCommit_renderedFirstTime = new WeakMap(), _GxIdeTeamDevCommit_commitsTabModel = new WeakMap(), _GxIdeTeamDevCommit_categoriesEl = new WeakMap(), _GxIdeTeamDevCommit_changeSetEl = new WeakMap(), _GxIdeTeamDevCommit_commitCommentEl = new WeakMap(), _GxIdeTeamDevCommit_foldersEl = new WeakMap(), _GxIdeTeamDevCommit_patternEl = new WeakMap(), _GxIdeTeamDevCommit_typesEl = new WeakMap(), _GxIdeTeamDevCommit_chGridIgnoredObjectsEl = new WeakMap(), _GxIdeTeamDevCommit_chGridPendingCommitsEl = new WeakMap(), _GxIdeTeamDevCommit_initializeComboBoxModels = new WeakMap(), _GxIdeTeamDevCommit_commitCallbackHandler = new WeakMap(), _GxIdeTeamDevCommit_evaluateFilterConditions = new WeakMap(), _GxIdeTeamDevCommit_getRecentCommentHandler = new WeakMap(), _GxIdeTeamDevCommit_gridOnSelectionChangedCallbackHandler = new WeakMap(), _GxIdeTeamDevCommit_handleColumnSortChanged = new WeakMap(), _GxIdeTeamDevCommit_loadData = new WeakMap(), _GxIdeTeamDevCommit_markAllPendingCommitsRows = new WeakMap(), _GxIdeTeamDevCommit_objectsOnContextMenuCallbackHandler = new WeakMap(), _GxIdeTeamDevCommit_pendingCommitsRowMarkingChangedHandler = new WeakMap(), _GxIdeTeamDevCommit_renderTabularGridColumnSet = new WeakMap(), _GxIdeTeamDevCommit_renderTabularGridCommonCells = new WeakMap(), _GxIdeTeamDevCommit_renderIgnoredObjectsGrid = new WeakMap(), _GxIdeTeamDevCommit_renderPendingCommitsGrid = new WeakMap(), _GxIdeTeamDevCommit_revertPendingCommitsCheckboxes = new WeakMap(), _GxIdeTeamDevCommit_togglePendingCommitsCheckboxes = new WeakMap(), _GxIdeTeamDevCommit_updateTabModel = new WeakMap(), _GxIdeTeamDevCommit_commentInputHandler = new WeakMap(), _GxIdeTeamDevCommit_toggleFiltersHandler = new WeakMap(), _GxIdeTeamDevCommit_onTabActivated = new WeakMap();
|
|
552
708
|
//# sourceMappingURL=commit.js.map
|