@genexus/genexus-ide-ui 1.1.65 → 1.1.66
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-comments-viewer.cjs.entry.js +66 -0
- package/dist/cjs/gx-ide-comments-viewer.cjs.entry.js.map +1 -0
- package/dist/cjs/gx-ide-team-dev-bring-all-changes-selector.cjs.entry.js +210 -0
- package/dist/cjs/gx-ide-team-dev-bring-all-changes-selector.cjs.entry.js.map +1 -0
- package/dist/cjs/gx-ide-team-dev-bring-changes.cjs.entry.js +29 -28
- package/dist/cjs/gx-ide-team-dev-bring-changes.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/_helpers/comments-viewer/comments-viewer.css +41 -0
- package/dist/collection/components/_helpers/comments-viewer/comments-viewer.js +112 -0
- package/dist/collection/components/_helpers/comments-viewer/comments-viewer.js.map +1 -0
- package/dist/collection/components/_helpers/comments-viewer/gx-ide-assets/comments-viewer/langs/comments-viewer.lang.en.json +5 -0
- package/dist/collection/components/_helpers/comments-viewer/gx-ide-assets/comments-viewer/langs/comments-viewer.lang.ja.json +5 -0
- package/dist/collection/components/_helpers/comments-viewer/gx-ide-assets/comments-viewer/langs/comments-viewer.lang.zh.json +5 -0
- package/dist/collection/components/team-dev/bring-all-changes-selector/bring-all-changes-selector.css +27 -0
- package/dist/collection/components/team-dev/bring-all-changes-selector/bring-all-changes-selector.js +273 -0
- package/dist/collection/components/team-dev/bring-all-changes-selector/bring-all-changes-selector.js.map +1 -0
- package/dist/collection/components/team-dev/bring-all-changes-selector/gx-ide-assets/team-dev-bring-all-changes-selector/langs/team-dev-bring-all-changes-selector.lang.en.json +22 -0
- package/dist/collection/components/team-dev/bring-all-changes-selector/gx-ide-assets/team-dev-bring-all-changes-selector/langs/team-dev-bring-all-changes-selector.lang.ja.json +22 -0
- package/dist/collection/components/team-dev/bring-all-changes-selector/gx-ide-assets/team-dev-bring-all-changes-selector/langs/team-dev-bring-all-changes-selector.lang.zh.json +22 -0
- package/dist/collection/components/team-dev/bring-changes/bring-changes.css +22 -8
- package/dist/collection/components/team-dev/bring-changes/bring-changes.js +69 -28
- package/dist/collection/components/team-dev/bring-changes/bring-changes.js.map +1 -1
- package/dist/collection/components/team-dev/bring-changes/gx-ide-assets/team-dev-bring-changes/langs/team-dev-bring-changes.lang.en.json +6 -0
- package/dist/collection/components/team-dev/bring-changes/gx-ide-assets/team-dev-bring-changes/langs/team-dev-bring-changes.lang.ja.json +6 -0
- package/dist/collection/components/team-dev/bring-changes/gx-ide-assets/team-dev-bring-changes/langs/team-dev-bring-changes.lang.zh.json +6 -0
- package/dist/collection/testing/locale.e2e.js +3 -1
- package/dist/collection/testing/locale.e2e.js.map +1 -1
- package/dist/components/gx-ide-comments-viewer.d.ts +11 -0
- package/dist/components/gx-ide-comments-viewer.js +83 -0
- package/dist/components/gx-ide-comments-viewer.js.map +1 -0
- package/dist/components/gx-ide-team-dev-bring-all-changes-selector.d.ts +11 -0
- package/dist/components/gx-ide-team-dev-bring-all-changes-selector.js +232 -0
- package/dist/components/gx-ide-team-dev-bring-all-changes-selector.js.map +1 -0
- package/dist/components/gx-ide-team-dev-bring-changes.js +31 -28
- package/dist/components/gx-ide-team-dev-bring-changes.js.map +1 -1
- package/dist/esm/genexus-ide-ui.js +1 -1
- package/dist/esm/gx-ide-comments-viewer.entry.js +62 -0
- package/dist/esm/gx-ide-comments-viewer.entry.js.map +1 -0
- package/dist/esm/gx-ide-team-dev-bring-all-changes-selector.entry.js +206 -0
- package/dist/esm/gx-ide-team-dev-bring-all-changes-selector.entry.js.map +1 -0
- package/dist/esm/gx-ide-team-dev-bring-changes.entry.js +29 -28
- package/dist/esm/gx-ide-team-dev-bring-changes.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- 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/comments-viewer/langs/comments-viewer.lang.en.json +5 -0
- package/dist/genexus-ide-ui/gx-ide-assets/comments-viewer/langs/comments-viewer.lang.ja.json +5 -0
- package/dist/genexus-ide-ui/gx-ide-assets/comments-viewer/langs/comments-viewer.lang.zh.json +5 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-bring-all-changes-selector/langs/team-dev-bring-all-changes-selector.lang.en.json +22 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-bring-all-changes-selector/langs/team-dev-bring-all-changes-selector.lang.ja.json +22 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-bring-all-changes-selector/langs/team-dev-bring-all-changes-selector.lang.zh.json +22 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-bring-changes/langs/team-dev-bring-changes.lang.en.json +6 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-bring-changes/langs/team-dev-bring-changes.lang.ja.json +6 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-bring-changes/langs/team-dev-bring-changes.lang.zh.json +6 -0
- package/dist/genexus-ide-ui/p-0488759f.entry.js +82 -0
- package/dist/genexus-ide-ui/p-0488759f.entry.js.map +1 -0
- package/dist/genexus-ide-ui/p-09693b80.entry.js +274 -0
- package/dist/genexus-ide-ui/p-09693b80.entry.js.map +1 -0
- package/dist/genexus-ide-ui/{p-eeae4b37.entry.js → p-e2fd2c24.entry.js} +135 -128
- package/dist/genexus-ide-ui/p-e2fd2c24.entry.js.map +1 -0
- package/dist/types/components/_helpers/comments-viewer/comments-viewer.d.ts +19 -0
- package/dist/types/components/team-dev/bring-all-changes-selector/bring-all-changes-selector.d.ts +45 -0
- package/dist/types/components/team-dev/bring-changes/bring-changes.d.ts +9 -1
- package/dist/types/components.d.ts +82 -0
- package/package.json +1 -1
- package/dist/genexus-ide-ui/p-eeae4b37.entry.js.map +0 -1
|
@@ -24,72 +24,72 @@ import "./p-5bab65ea.js";
|
|
|
24
24
|
|
|
25
25
|
import "./p-9663f418.js";
|
|
26
26
|
|
|
27
|
-
const d = '.custom-icon-text-wrapper{display:flex;align-items:center;gap:10px}.warning-error-description{display:flex;align-items:center;gap:8px;padding:8px;max-inline-size:800px;line-height:1.5}.warning-error-icon{flex-shrink:0}:host{--pill-border-radius:12px;--pill-padding-inline:8px;--pill-padding-block:2px;--pill-font-size:var(--font-size-body-s);display:grid;block-size:100%;overflow:auto;grid-template-rows:max-content max-content 1fr}.detail__current-version,.detail__knowledge-base{max-inline-size:250px;min-inline-size:180px}.detail__current-version,.detail__knowledge-base{padding-inline:24px;border-inline-end:1px solid var(--mer-border-color__on-elevation--01)}.information__col-1,.detail__genexus-server{padding-inline-end:24px;border-inline-end:1px solid var(--mer-border-color__on-elevation--01)}.
|
|
27
|
+
const d = '.custom-icon-text-wrapper{display:flex;align-items:center;gap:10px}.warning-error-description{display:flex;align-items:center;gap:8px;padding:8px;max-inline-size:800px;line-height:1.5}.warning-error-icon{flex-shrink:0}:host{--pill-border-radius:12px;--pill-padding-inline:8px;--pill-padding-block:2px;--pill-font-size:var(--font-size-body-s);display:grid;block-size:100%;overflow:auto;grid-template-rows:max-content max-content 1fr}.detail__current-version,.detail__knowledge-base{max-inline-size:250px;min-inline-size:180px}.detail__current-version,.detail__knowledge-base{padding-inline:24px;border-inline-end:1px solid var(--mer-border-color__on-elevation--01)}.information__col-1.divider,.detail__genexus-server{padding-inline-end:24px;border-inline-end:1px solid var(--mer-border-color__on-elevation--01)}.detail__merge-from-version{padding-inline-start:24px}.section{display:contents}.header{display:grid;gap:24px}.header__detail{display:grid;grid-template-areas:"detail-title detail-title detail-title detail-title" "detail-genexus-server detail-knowledge-base detail-current-version detail-merge-from-version";row-gap:16px;grid-auto-columns:max-content}.detail__label{color:var(--mer-color__neutral-gray--400)}.detail__title{grid-area:detail-title}.detail__commit-name{grid-area:detail-commit-name}.detail__genexus-server{grid-area:detail-genexus-server}.detail__genexus-server>a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}.detail__link{align-items:start;color:var(--mer-text__primary);text-decoration:underline}.detail__link:hover{color:var(--mer-text__primary--hover)}.detail__link:active{color:var(--mer-text__primary--active)}.detail__knowledge-base{grid-area:detail-knowledge-base}.detail__current-version{grid-area:detail-current-version}.detail__merge-from-version{grid-area:detail-merge-from-version}.header__information{display:grid;row-gap:10px;grid-template-areas:"information-title information-title" "information-col-1 information-col-2";grid-template-columns:max-content 1fr;grid-template-rows:max-content max-content}.information__title{grid-area:information-title}.information__col-1{grid-area:information-col-1;display:flex;gap:24px}.header__comments .layout__panel{justify-items:start;text-align:left}.controls-container{display:grid}.controls-container.margin-block-start{margin-block-start:24px}.filter{grid-template-columns:232px 186px 1fr;gap:12px}.button-merge-checked{margin-inline-start:auto}.main{position:relative;display:grid;overflow:auto}.loader{position:relative;inline-size:100%;block-size:100%;inset-block-start:0}.tabular-grid{border-radius:4px;overflow:hidden}.empty-state{block-size:100%}.loader{--elevation-background-color:var(--mer-surface__elevation--01)}.tabular-grid.empty-result::part(main){overflow:hidden}.comments-container{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.button-tertiary.edit-range-button{padding-block:0;align-content:flex-end}.input-comments-container{position:relative}.input-comments{--control__border-color:transparent;padding-block:0 !important;padding-inline:0 !important;--line-height-tight:1.4;block-size:100%;background-color:var(--mer-surface);transition:var(--mer-timing--super-fast) block-size, var(--mer-timing--super-fast) background-color, var(--mer-timing--super-fast) padding-block, var(--mer-timing--super-fast) padding-inline}.input-comments:focus{position:absolute;block-size:200px;inline-size:100%;z-index:99;background-color:var(--mer-surface__elevation--01);padding-block:var(--control__padding-block) !important;padding-inline:var(--control__padding-inline) !important}ch-tabular-grid-cell.tabular-grid-cell::part(actions-icon){background-size:contain;margin-inline-end:0;--icon-path:var(--icon__gemini-tools_show-more-vertical_neutral--enabled);cursor:pointer}ch-tabular-grid-cell.tabular-grid-cell::part(actions-icon):hover{--icon-path:var(--icon__gemini-tools_show-more-vertical_neutral--hover)}ch-tabular-grid-cell.tabular-grid-cell::part(actions-icon):active{--icon-path:var(--icon__gemini-tools_show-more-vertical_neutral--active)}.tabular-grid-row-actions::part(main),.property-grid-row-actions::part(main){gap:0 !important}.tabular-grid-row-actions>button{justify-content:start}.pill{--pill-background-color:transparent;--pill-color:transparent;--pill-border-color:transparent;background-color:var(--pill-background-color);color:var(--pill-color);border:1px solid var(--pill-border-color);inline-size:100%;padding:var(--pill-padding-block) var(--pill-padding-inline);display:flex;align-items:center;justify-content:center;border-radius:var(--pill-border-radius);position:relative;font-weight:var(--font-weight-semi-bold)}.pill--to-merge,.pill--to-revert{--pill-background-color:var(--mer-color__tinted-primary--8);--pill-color:var(--mer-border-color__primary);--pill-border-color:var(--mer-color__tinted-primary--50)}.pill--to-merge-marked{--pill-background-color:var();--pill-color:var(--mer-border-color__primary);--pill-border-color:var()}.pill--pending{--pill-background-color:var(--mer-color__tinted-primary--8);--pill-color:var(--mer-border-color__primary);--pill-border-color:var(--mer-color__tinted-primary--50)}.pill--warning{--pill-background-color:var(--mer-color__tinted-yellow--5);--pill-color:var(--mer-border-color__warning);--pill-border-color:var(--mer-color__tinted-yellow--60)}.pill--error{--pill-background-color:var(--mer-color__tinted-red--5);--pill-color:var(--mer-border-color__error);--pill-border-color:var(--mer-color__tinted-red--60)}.pill--merged,.pill--reverted{--pill-background-color:var(--mer-color__tinted-green--5);--pill-color:var(--mer-border-color__success);--pill-border-color:var(--mer-color__tinted-green--60)}.pill--transitioning{--pill-color:transparent}.merging-spinner-caption{display:flex;align-items:center;gap:6px;--status-circle-color:transparent;--status-circle-size:$size;--status-circle-inset-inline-start:14px;--pill-color:var(--mer-border-color__primary)}.merging-spinner-caption::before{display:inline-block;content:"";width:14px;height:14px;border:calc(14px / 7) solid var(--mer-color__tinted-primary--50);border-top:calc(14px / 7) solid var(--mer-color__primary--300);border-radius:50%;animation:spin var(--mer-timing--regular) linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.tabular-grid .button-secondary{--control__padding-block:var(--pill-padding-block);--control__padding-inline:var(--pill-padding-inline);font-size:inherit;font-weight:inherit;}.tabular-grid .tabular-grid-cell--for-pill{--grid-cell__padding-block:4px;align-items:center;justify-content:center}.tabular-grid.disabled-custom-selector .tabular-grid-cell::part(selector-label),.tabular-grid.disabled-custom-selector .tabular-grid-column::part(bar-selector),.tabular-grid.disabled-custom-selector .tabular-grid-cell::part(actions-icon){pointer-events:none;opacity:0.5}.tabular-grid-column--settings-custom-selector,.tabular-grid-cell--settings-custom-selector{--grid-cell__padding-inline:0;--grid-cell__padding-block:0}.tabular-grid-cell::part(actions-icon){padding-block:6px}ch-tabular-grid-cell.tabular-grid-cell::part(actions-icon){block-size:100%;display:block;background-size:14px;padding-inline:16px}.tabular-grid-cell.no-checkbox-custom-selector::part(selector-label){visibility:hidden}.tabular-grid-row-actions::part(window){background-color:var(--mer-surface__elevation--02) !important}.tabular-grid-row .tabular-grid-cell:nth-child(3){min-inline-size:400px}';
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var h = undefined && undefined.__classPrivateFieldGet || function(e, t, i, r) {
|
|
30
30
|
if (i === "a" && !r) throw new TypeError("Private accessor was defined without a getter");
|
|
31
31
|
if (typeof t === "function" ? e !== t || !r : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
32
32
|
return i === "m" ? r : i === "a" ? r.call(e) : r ? r.value : t.get(e);
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var p = undefined && undefined.__classPrivateFieldSet || function(e, t, i, r, a) {
|
|
36
36
|
if (r === "m") throw new TypeError("Private method is not writable");
|
|
37
37
|
if (r === "a" && !a) throw new TypeError("Private accessor was defined without a setter");
|
|
38
38
|
if (typeof t === "function" ? e !== t || !a : !t.has(e)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
39
39
|
return r === "a" ? a.call(e, i) : a ? a.value = i : t.set(e, i), i;
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
var m, g, u, b, f, v, _, w, y, k, x, M, z, j, C, W, $, T;
|
|
42
|
+
var m, g, u, b, f, v, _, w, y, k, x, M, z, j, C, W, $, T, S, I;
|
|
43
43
|
|
|
44
|
-
const
|
|
44
|
+
const N = [ "resets/box-sizing", "components/tabular-grid", "utils/form--full", "utils/layout", "utils/typography", "utils/spacing", "chameleon/scrollbar", "components/tooltip" ];
|
|
45
45
|
|
|
46
|
-
const
|
|
46
|
+
const E = "all";
|
|
47
47
|
|
|
48
|
-
const
|
|
48
|
+
const O = "detail__label body-semi-bold-s";
|
|
49
49
|
|
|
50
|
-
const
|
|
50
|
+
const R = a({
|
|
51
51
|
category: "system",
|
|
52
52
|
name: "add",
|
|
53
53
|
colorType: "on-elevation"
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
const
|
|
56
|
+
const D = a({
|
|
57
57
|
category: "system",
|
|
58
58
|
name: "edit",
|
|
59
59
|
colorType: "on-elevation"
|
|
60
60
|
});
|
|
61
61
|
|
|
62
|
-
const
|
|
62
|
+
const L = a({
|
|
63
63
|
category: "window-tools",
|
|
64
64
|
name: "filter",
|
|
65
65
|
colorType: "on-elevation"
|
|
66
66
|
});
|
|
67
67
|
|
|
68
|
-
const
|
|
68
|
+
const P = a({
|
|
69
69
|
category: "system",
|
|
70
70
|
name: "search",
|
|
71
71
|
colorType: "on-elevation"
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
const
|
|
74
|
+
const A = a({
|
|
75
75
|
category: "system",
|
|
76
76
|
name: "substract",
|
|
77
77
|
colorType: "on-elevation"
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
const
|
|
80
|
+
const F = a({
|
|
81
81
|
category: "system",
|
|
82
82
|
name: "warning",
|
|
83
83
|
colorType: "warning"
|
|
84
84
|
});
|
|
85
85
|
|
|
86
|
-
const
|
|
86
|
+
const H = a({
|
|
87
87
|
category: "system",
|
|
88
88
|
name: "error",
|
|
89
89
|
colorType: "error"
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
const
|
|
92
|
+
const X = class {
|
|
93
93
|
constructor(i) {
|
|
94
94
|
e(this, i);
|
|
95
95
|
/**
|
|
@@ -102,26 +102,19 @@ const F = class {
|
|
|
102
102
|
b.set(this, []);
|
|
103
103
|
f.set(this, (() => {
|
|
104
104
|
if (this.commitInformation.length === 1) {
|
|
105
|
-
|
|
106
|
-
return this.commitInformation[0].comment;
|
|
105
|
+
return t("span", null, this.commitInformation[0].comment);
|
|
107
106
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
this.commitInformation.map(((t, i) => {
|
|
111
|
-
const r = i === this.commitInformation.length - 1;
|
|
112
|
-
const a = r ? "" : "\n\n";
|
|
113
|
-
e += `Commit ${t.id}:\n${t.comment}${a}`;
|
|
114
|
-
}));
|
|
115
|
-
return e;
|
|
107
|
+
const e = this.commitInformation[this.commitInformation.length - 1].comment;
|
|
108
|
+
return t("span", null, `${h(this, m, "f").latest}: ${e}...`);
|
|
116
109
|
}));
|
|
117
110
|
v.set(this, (async () => {
|
|
118
111
|
this.merging = true;
|
|
119
112
|
const e = new Map(this.objectsStatesMap);
|
|
120
|
-
|
|
113
|
+
h(this, b, "f").forEach((t => {
|
|
121
114
|
e.set(t, this.operationType === "revert" ? "reverting" : "merging");
|
|
122
115
|
}));
|
|
123
116
|
this.objectsStatesMap = e;
|
|
124
|
-
await this.mergeObjectsCallback(
|
|
117
|
+
await this.mergeObjectsCallback(h(this, b, "f"));
|
|
125
118
|
}));
|
|
126
119
|
_.set(this, (e => async () => {
|
|
127
120
|
this.merging = true;
|
|
@@ -135,17 +128,17 @@ const F = class {
|
|
|
135
128
|
let r;
|
|
136
129
|
let a;
|
|
137
130
|
if (e === "Deleted") {
|
|
138
|
-
i =
|
|
139
|
-
r =
|
|
131
|
+
i = A;
|
|
132
|
+
r = h(this, m, "f").objects.actions.delete;
|
|
140
133
|
a = "--mer-icon__error";
|
|
141
134
|
} else if (e === "Inserted") {
|
|
142
|
-
i =
|
|
143
|
-
r =
|
|
135
|
+
i = R;
|
|
136
|
+
r = h(this, m, "f").objects.actions.insert;
|
|
144
137
|
a = "--mer-icon__success";
|
|
145
138
|
} else {
|
|
146
139
|
// modified
|
|
147
|
-
i =
|
|
148
|
-
r =
|
|
140
|
+
i = D;
|
|
141
|
+
r = h(this, m, "f").objects.actions.modify;
|
|
149
142
|
a = "--mer-icon__warning";
|
|
150
143
|
}
|
|
151
144
|
return t("span", {
|
|
@@ -163,13 +156,13 @@ const F = class {
|
|
|
163
156
|
var t, i;
|
|
164
157
|
if (((t = this.commitInformation) === null || t === void 0 ? void 0 : t.length) > 1) {
|
|
165
158
|
// more than one commit
|
|
166
|
-
return e ? `${this.commitInformation[0].id} ... ${this.commitInformation[this.commitInformation.length - 1].id}` : `${
|
|
159
|
+
return e ? `${this.commitInformation[0].id} ... ${this.commitInformation[this.commitInformation.length - 1].id}` : `${h(this, g, "f")} ${this.commitInformation[0].id} ... ${this.commitInformation[this.commitInformation.length - 1].id}`;
|
|
167
160
|
} else if (((i = this.commitInformation) === null || i === void 0 ? void 0 : i.length) === 1) {
|
|
168
161
|
// just one commit
|
|
169
|
-
return e ? this.commitInformation[0].id : `${
|
|
162
|
+
return e ? this.commitInformation[0].id : `${h(this, g, "f")} ${this.commitInformation[0].id}`;
|
|
170
163
|
} else {
|
|
171
164
|
// Probably commits have not been loaded yet (loading state)
|
|
172
|
-
return e ? `${
|
|
165
|
+
return e ? `${h(this, m, "f").loading}` : `${h(this, g, "f")} ${h(this, m, "f").loading}`;
|
|
173
166
|
}
|
|
174
167
|
}));
|
|
175
168
|
k.set(this, (e => {
|
|
@@ -186,7 +179,7 @@ const F = class {
|
|
|
186
179
|
if (e === "merging" || e === "reverting") {
|
|
187
180
|
return t("span", {
|
|
188
181
|
class: "merging-spinner-caption"
|
|
189
|
-
}, this.operationType === "revert" ?
|
|
182
|
+
}, this.operationType === "revert" ? h(this, m, "f").states.reverting : h(this, m, "f").states.merging);
|
|
190
183
|
}
|
|
191
184
|
const r = `pill pill--${e}`;
|
|
192
185
|
if (this.revertPillAsButton && (e === "to-merge" || e === "to-merge-marked" || e === "to-revert")) {
|
|
@@ -195,12 +188,12 @@ const F = class {
|
|
|
195
188
|
[r]: true,
|
|
196
189
|
"button-secondary": true
|
|
197
190
|
},
|
|
198
|
-
onClick:
|
|
199
|
-
},
|
|
191
|
+
onClick: h(this, _, "f").call(this, i)
|
|
192
|
+
}, h(this, m, "f").statesForButton[e]);
|
|
200
193
|
} else {
|
|
201
194
|
return t("span", {
|
|
202
195
|
class: r
|
|
203
|
-
},
|
|
196
|
+
}, h(this, m, "f").states[e]);
|
|
204
197
|
}
|
|
205
198
|
}));
|
|
206
199
|
M.set(this, (() => this.objectsFiltered.map((e => {
|
|
@@ -210,9 +203,9 @@ const F = class {
|
|
|
210
203
|
const s = this.objectsStatesMap.get(e.id);
|
|
211
204
|
let l;
|
|
212
205
|
if (s === "error") {
|
|
213
|
-
l =
|
|
206
|
+
l = H;
|
|
214
207
|
} else if (s === "warning") {
|
|
215
|
-
l =
|
|
208
|
+
l = F;
|
|
216
209
|
}
|
|
217
210
|
return t("ch-tabular-grid-row", {
|
|
218
211
|
class: "tabular-grid-row",
|
|
@@ -233,9 +226,9 @@ const F = class {
|
|
|
233
226
|
class: "tabular-grid-cell"
|
|
234
227
|
}, e.description), t("ch-tabular-grid-cell", {
|
|
235
228
|
class: "tabular-grid-cell"
|
|
236
|
-
},
|
|
229
|
+
}, h(this, w, "f").call(this, e.actionTaken)), t("ch-tabular-grid-cell", {
|
|
237
230
|
class: "tabular-grid-cell tabular-grid-cell--for-pill"
|
|
238
|
-
},
|
|
231
|
+
}, h(this, x, "f").call(this, this.objectsStatesMap.get(e.id), e.id)), a && t("ch-tabular-grid-rowset", {
|
|
239
232
|
class: "tabular-grid-rowset"
|
|
240
233
|
}, t("ch-tabular-grid-rowset-empty", {
|
|
241
234
|
class: {
|
|
@@ -263,9 +256,9 @@ const F = class {
|
|
|
263
256
|
const i = new Map(this.objectsStatesMap);
|
|
264
257
|
const r = e.detail.rowsId;
|
|
265
258
|
const a = r.filter((e => !this.alreadyMergedObjectsIdsArray.includes(e)));
|
|
266
|
-
|
|
259
|
+
p(this, b, [ ...a ], "f");
|
|
267
260
|
// Update markedObjectsSet
|
|
268
|
-
|
|
261
|
+
h(this, b, "f").forEach((e => {
|
|
269
262
|
t.add(e);
|
|
270
263
|
}));
|
|
271
264
|
this.markedObjectsSet = t;
|
|
@@ -287,11 +280,11 @@ const F = class {
|
|
|
287
280
|
}));
|
|
288
281
|
C.set(this, (e => {
|
|
289
282
|
this.searchValue = e.detail.toLowerCase();
|
|
290
|
-
|
|
283
|
+
h(this, $, "f").call(this);
|
|
291
284
|
}));
|
|
292
285
|
W.set(this, (e => {
|
|
293
286
|
this.stateFilterValue = e.detail;
|
|
294
|
-
|
|
287
|
+
h(this, $, "f").call(this);
|
|
295
288
|
}));
|
|
296
289
|
$.set(this, (() => {
|
|
297
290
|
let e = [ ...this.commitObjects ];
|
|
@@ -325,12 +318,18 @@ const F = class {
|
|
|
325
318
|
}
|
|
326
319
|
this.objectsFiltered = [ ...c(e, this.objectsFiltered, r, i) ];
|
|
327
320
|
}));
|
|
321
|
+
S.set(this, (async () => {
|
|
322
|
+
await this.viewAllCommentsCallback();
|
|
323
|
+
}));
|
|
324
|
+
I.set(this, (async () => {
|
|
325
|
+
await this.editRangeCallback();
|
|
326
|
+
}));
|
|
328
327
|
this.alreadyMergedObjectsIdsArray = [];
|
|
329
328
|
this.atLeastOneObjectIsChecked = false;
|
|
330
329
|
this.loading = true;
|
|
331
330
|
this.objectsFiltered = [];
|
|
332
331
|
this.searchValue = "";
|
|
333
|
-
this.stateFilterValue =
|
|
332
|
+
this.stateFilterValue = E;
|
|
334
333
|
this.markedObjectsSet = new Set;
|
|
335
334
|
this.objectsStatesMap = new Map;
|
|
336
335
|
this.commitObjectsMessagesMap = new Map;
|
|
@@ -343,6 +342,8 @@ const F = class {
|
|
|
343
342
|
this.mergeObjectsCallback = undefined;
|
|
344
343
|
this.revertPillAsButton = false;
|
|
345
344
|
this.contextMenuCallback = undefined;
|
|
345
|
+
this.viewAllCommentsCallback = undefined;
|
|
346
|
+
this.editRangeCallback = undefined;
|
|
346
347
|
}
|
|
347
348
|
objectsStatesMapChanged(e) {
|
|
348
349
|
const t = [ ...e.entries() ].find((([, e]) => e === "merging" || e === "reverting"));
|
|
@@ -351,6 +352,7 @@ const F = class {
|
|
|
351
352
|
}
|
|
352
353
|
}
|
|
353
354
|
commitObjectsChanged(e) {
|
|
355
|
+
this.loading = true;
|
|
354
356
|
if (e.length) {
|
|
355
357
|
// This is the first and only objects asignment
|
|
356
358
|
this.loading = false;
|
|
@@ -363,23 +365,23 @@ const F = class {
|
|
|
363
365
|
}
|
|
364
366
|
async componentWillLoad() {
|
|
365
367
|
var e;
|
|
366
|
-
|
|
367
|
-
|
|
368
|
+
p(this, m, await s.getComponentStrings(this.el), "f");
|
|
369
|
+
p(this, g, this.commitInformation.length > 1 ? h(this, m, "f").commmits : h(this, m, "f").commmit, "f");
|
|
368
370
|
// Initiate "states" combo box filter
|
|
369
|
-
|
|
370
|
-
caption:
|
|
371
|
-
value:
|
|
371
|
+
p(this, u, [ {
|
|
372
|
+
caption: h(this, m, "f").states.all,
|
|
373
|
+
value: E
|
|
372
374
|
}, {
|
|
373
|
-
caption: this.operationType === "revert" ?
|
|
375
|
+
caption: this.operationType === "revert" ? h(this, m, "f").states["to-revert"] : h(this, m, "f").states["to-merge"],
|
|
374
376
|
value: this.operationType === "revert" ? "to-revert" : "to-merge"
|
|
375
377
|
}, {
|
|
376
|
-
caption:
|
|
378
|
+
caption: h(this, m, "f").states.warning,
|
|
377
379
|
value: "warning"
|
|
378
380
|
}, {
|
|
379
|
-
caption:
|
|
381
|
+
caption: h(this, m, "f").states.error,
|
|
380
382
|
value: "error"
|
|
381
383
|
}, {
|
|
382
|
-
caption: this.operationType === "revert" ?
|
|
384
|
+
caption: this.operationType === "revert" ? h(this, m, "f").states.reverted : h(this, m, "f").states.merged,
|
|
383
385
|
value: this.operationType === "revert" ? "reverted" : "merged"
|
|
384
386
|
} ], "f");
|
|
385
387
|
if ((e = this.commitObjects) === null || e === void 0 ? void 0 : e.length) {
|
|
@@ -407,7 +409,7 @@ const F = class {
|
|
|
407
409
|
}
|
|
408
410
|
if (t === "merged" || t === "reverted") {
|
|
409
411
|
// remove from checked
|
|
410
|
-
|
|
412
|
+
p(this, b, h(this, b, "f").filter((t => t !== e)), "f");
|
|
411
413
|
// add to "already merged". This will hide the checkbox
|
|
412
414
|
this.alreadyMergedObjectsIdsArray.push(e);
|
|
413
415
|
// unmark checkbox:
|
|
@@ -422,24 +424,22 @@ const F = class {
|
|
|
422
424
|
return t(i, {
|
|
423
425
|
class: "widget"
|
|
424
426
|
}, t("ch-theme", {
|
|
425
|
-
model:
|
|
427
|
+
model: N
|
|
426
428
|
}), t("section", {
|
|
427
429
|
class: "section"
|
|
428
430
|
}, t("header", {
|
|
429
|
-
class: "header spacing-body
|
|
431
|
+
class: "header spacing-body"
|
|
430
432
|
}, t("div", {
|
|
431
433
|
// header details
|
|
432
434
|
class: "header__detail"
|
|
433
435
|
}, t("p", {
|
|
434
|
-
class: "detail__title subtitle-semi-bold-
|
|
435
|
-
}, this.operationType === "revert" ?
|
|
436
|
-
class: "detail__commit-name subtitle-semi-bold-s"
|
|
437
|
-
}, p(this, y, "f").call(this)), t("div", {
|
|
436
|
+
class: "detail__title subtitle-semi-bold-s"
|
|
437
|
+
}, this.operationType === "revert" ? h(this, m, "f").commitDetail.revertChangesDetail : h(this, m, "f").commitDetail.bringChangesDetail), t("div", {
|
|
438
438
|
// genexus server
|
|
439
439
|
class: "detail__genexus-server field field-block"
|
|
440
440
|
}, t("span", {
|
|
441
|
-
class:
|
|
442
|
-
},
|
|
441
|
+
class: O
|
|
442
|
+
}, h(this, m, "f").commitDetail.genexusServer), t("a", {
|
|
443
443
|
class: "detail__link body-regular-s",
|
|
444
444
|
href: this.commitDetail.genexusServer,
|
|
445
445
|
target: "_blank"
|
|
@@ -447,75 +447,82 @@ const F = class {
|
|
|
447
447
|
// knowledge base
|
|
448
448
|
class: "detail__knowledge-base field field-block"
|
|
449
449
|
}, t("span", {
|
|
450
|
-
class:
|
|
451
|
-
},
|
|
450
|
+
class: O
|
|
451
|
+
}, h(this, m, "f").commitDetail.knowledgeBase), t("p", {
|
|
452
452
|
class: "body-regular-s"
|
|
453
453
|
}, this.commitDetail.knowledgeBase)), t("div", {
|
|
454
454
|
// current version
|
|
455
455
|
class: "detail__current-version field field-block"
|
|
456
456
|
}, t("span", {
|
|
457
|
-
class:
|
|
458
|
-
},
|
|
457
|
+
class: O
|
|
458
|
+
}, h(this, m, "f").commitDetail.currentVersion), t("a", {
|
|
459
459
|
class: "body-regular-s"
|
|
460
|
-
}, this.commitDetail.currentVersion)), this.operationType === "merge" && t("div", {
|
|
460
|
+
}, this.commitDetail.currentVersion)), (this.operationType === "merge" || this.operationType === "merge-all") && t("div", {
|
|
461
461
|
// merge from version
|
|
462
462
|
class: "detail__merge-from-version field field-block"
|
|
463
463
|
}, t("span", {
|
|
464
|
-
class:
|
|
465
|
-
},
|
|
464
|
+
class: O
|
|
465
|
+
}, h(this, m, "f").commitDetail.mergeFromVersion), t("p", {
|
|
466
466
|
class: "body-regular-s"
|
|
467
467
|
}, this.commitDetail.mergeFromVersion))), t("div", {
|
|
468
468
|
// header information
|
|
469
469
|
class: "header__information"
|
|
470
470
|
}, t("p", {
|
|
471
471
|
class: "information__title subtitle-semi-bold-xs"
|
|
472
|
-
},
|
|
472
|
+
}, h(this, m, "f").commitInformation.title), t("div", {
|
|
473
473
|
// header information (col-1)
|
|
474
474
|
class: "information__col-1"
|
|
475
475
|
}, t("div", {
|
|
476
476
|
// IDs
|
|
477
477
|
class: "field field-block"
|
|
478
478
|
}, t("span", {
|
|
479
|
-
class:
|
|
480
|
-
}, this.commitInformation.length === 1 ?
|
|
479
|
+
class: O
|
|
480
|
+
}, this.commitInformation.length === 1 ? h(this, m, "f").commitInformation.id : h(this, m, "f").commitInformation.ids), t("p", {
|
|
481
481
|
class: "body-regular-s"
|
|
482
|
-
},
|
|
482
|
+
}, h(this, y, "f").call(this, true))), this.commitInformation.length === 1 ? t("div", {
|
|
483
483
|
class: "field field-block"
|
|
484
484
|
}, t("span", {
|
|
485
|
-
class:
|
|
486
|
-
},
|
|
485
|
+
class: O
|
|
486
|
+
}, h(this, m, "f").commitInformation.date), t("p", {
|
|
487
487
|
class: "body-regular-s"
|
|
488
|
-
},
|
|
488
|
+
}, h(this, k, "f").call(this, this.commitInformation[0].date))) : [ t("div", {
|
|
489
489
|
class: "field field-block"
|
|
490
490
|
}, t("span", {
|
|
491
|
-
class:
|
|
492
|
-
},
|
|
491
|
+
class: O
|
|
492
|
+
}, h(this, m, "f").commitInformation.from), t("p", {
|
|
493
493
|
class: "body-regular-s"
|
|
494
|
-
},
|
|
494
|
+
}, h(this, k, "f").call(this, this.commitInformation[0].date))), t("div", {
|
|
495
495
|
class: "field field-block"
|
|
496
496
|
}, t("span", {
|
|
497
|
-
class:
|
|
498
|
-
},
|
|
497
|
+
class: O
|
|
498
|
+
}, h(this, m, "f").commitInformation.to), t("p", {
|
|
499
499
|
class: "body-regular-s"
|
|
500
|
-
},
|
|
501
|
-
|
|
502
|
-
|
|
500
|
+
}, h(this, k, "f").call(this, this.commitInformation[this.commitInformation.length - 1].date))), this.operationType === "merge-all" && t("button", {
|
|
501
|
+
class: "button-tertiary button-icon-and-text body-semi-bold-s edit-range-button",
|
|
502
|
+
type: "button",
|
|
503
|
+
onClick: h(this, I, "f")
|
|
504
|
+
}, t("ch-image", {
|
|
505
|
+
class: "icon-md",
|
|
506
|
+
src: D,
|
|
507
|
+
type: "mask"
|
|
508
|
+
}), h(this, m, "f").buttons.editRange) ])), t("div", {
|
|
509
|
+
class: "header__comments"
|
|
510
|
+
}, t("div", {
|
|
511
|
+
class: "layout layout--cols-2-1"
|
|
512
|
+
}, t("div", {
|
|
513
|
+
class: "layout__panel"
|
|
503
514
|
}, t("div", {
|
|
504
|
-
// To
|
|
505
515
|
class: "field field-block"
|
|
506
516
|
}, t("label", {
|
|
507
|
-
class:
|
|
517
|
+
class: O,
|
|
508
518
|
htmlFor: "commit-comments"
|
|
509
|
-
}, this.commitInformation.length > 1 ?
|
|
510
|
-
class: "
|
|
511
|
-
}, t("
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
readonly: true,
|
|
517
|
-
value: p(this, f, "f").call(this)
|
|
518
|
-
})))))), t("div", {
|
|
519
|
+
}, this.commitInformation.length > 1 ? `${h(this, m, "f").commitInformation.comments} (${this.commitInformation.length})` : h(this, m, "f").commitInformation.comment), t("p", {
|
|
520
|
+
class: "body-regular-s comments-container"
|
|
521
|
+
}, h(this, f, "f").call(this))), t("button", {
|
|
522
|
+
class: "button-tertiary body-semi-bold-s",
|
|
523
|
+
type: "button",
|
|
524
|
+
onClick: h(this, S, "f")
|
|
525
|
+
}, this.commitInformation.length > 1 ? h(this, m, "f").buttons.viewAllComments.replace("{{commentsCount}}", this.commitInformation.length.toString()) : h(this, m, "f").buttons.viewComment))))), t("div", {
|
|
519
526
|
class: {
|
|
520
527
|
"controls-container": true,
|
|
521
528
|
filter: !this.hideFilters,
|
|
@@ -524,22 +531,22 @@ const F = class {
|
|
|
524
531
|
}, !this.hideFilters && [ t("ch-edit", {
|
|
525
532
|
class: "input",
|
|
526
533
|
disabled: r,
|
|
527
|
-
startImgSrc:
|
|
528
|
-
placeholder:
|
|
534
|
+
startImgSrc: P,
|
|
535
|
+
placeholder: h(this, m, "f").filter.searchPlaceholder,
|
|
529
536
|
type: "search",
|
|
530
|
-
onInput:
|
|
537
|
+
onInput: h(this, C, "f")
|
|
531
538
|
}), t("ch-combo-box-render", {
|
|
532
539
|
class: "combo-box",
|
|
533
540
|
disabled: r,
|
|
534
|
-
model:
|
|
541
|
+
model: h(this, u, "f"),
|
|
535
542
|
value: this.stateFilterValue,
|
|
536
|
-
onInput:
|
|
537
|
-
placeholder:
|
|
543
|
+
onInput: h(this, W, "f"),
|
|
544
|
+
placeholder: h(this, m, "f").filter.statePlaceholder
|
|
538
545
|
}) ], t("button", {
|
|
539
546
|
class: "button-primary button-merge-checked",
|
|
540
547
|
disabled: !this.atLeastOneObjectIsChecked || r,
|
|
541
|
-
onClick:
|
|
542
|
-
}, this.operationType === "revert" ?
|
|
548
|
+
onClick: h(this, v, "f")
|
|
549
|
+
}, this.operationType === "revert" ? h(this, m, "f").filter.revertSelected : h(this, m, "f").filter.mergeSelected)), t("div", {
|
|
543
550
|
class: "main spacing-body"
|
|
544
551
|
}, this.commitObjects.length ? t("ch-tabular-grid", {
|
|
545
552
|
class: {
|
|
@@ -550,42 +557,42 @@ const F = class {
|
|
|
550
557
|
},
|
|
551
558
|
keyboardNavigationMode: "focus",
|
|
552
559
|
rowSelectionMode: "multiple",
|
|
553
|
-
onRowMarkingChanged:
|
|
554
|
-
onRowContextMenu:
|
|
560
|
+
onRowMarkingChanged: h(this, j, "f"),
|
|
561
|
+
onRowContextMenu: h(this, z, "f"),
|
|
555
562
|
ref: e => this.tabularGridEl = e
|
|
556
563
|
}, t("ch-tabular-grid-columnset", {
|
|
557
564
|
class: "tabular-grid-column-set"
|
|
558
565
|
}, t("ch-tabular-grid-column", {
|
|
559
566
|
class: "tabular-grid-column",
|
|
560
567
|
columnId: n.name,
|
|
561
|
-
columnName:
|
|
568
|
+
columnName: h(this, m, "f").objects.name,
|
|
562
569
|
columnType: "rich",
|
|
563
570
|
richRowSelector: e,
|
|
564
571
|
richRowSelectorMode: "mark",
|
|
565
572
|
settingable: false,
|
|
566
573
|
sortable: true,
|
|
567
|
-
onColumnSortChanged:
|
|
574
|
+
onColumnSortChanged: h(this, T, "f"),
|
|
568
575
|
size: "max-content"
|
|
569
576
|
}), t("ch-tabular-grid-column", {
|
|
570
577
|
class: "tabular-grid-column",
|
|
571
578
|
columnId: n.type,
|
|
572
|
-
columnName:
|
|
579
|
+
columnName: h(this, m, "f").objects.type,
|
|
573
580
|
settingable: false,
|
|
574
581
|
sortable: true,
|
|
575
|
-
onColumnSortChanged:
|
|
582
|
+
onColumnSortChanged: h(this, T, "f"),
|
|
576
583
|
size: "max-content"
|
|
577
584
|
}), t("ch-tabular-grid-column", {
|
|
578
585
|
class: "tabular-grid-column",
|
|
579
586
|
columnId: n.description,
|
|
580
|
-
columnName:
|
|
587
|
+
columnName: h(this, m, "f").objects.description,
|
|
581
588
|
settingable: false,
|
|
582
589
|
sortable: true,
|
|
583
|
-
onColumnSortChanged:
|
|
590
|
+
onColumnSortChanged: h(this, T, "f"),
|
|
584
591
|
size: l.tabularGrid.colSize.description
|
|
585
592
|
}), t("ch-tabular-grid-column", {
|
|
586
593
|
class: "tabular-grid-column",
|
|
587
594
|
columnId: n.action,
|
|
588
|
-
columnName:
|
|
595
|
+
columnName: h(this, m, "f").objects.action,
|
|
589
596
|
settingable: false,
|
|
590
597
|
sortable: false,
|
|
591
598
|
size: "max-content"
|
|
@@ -594,21 +601,21 @@ const F = class {
|
|
|
594
601
|
// this prevents layout shifts when pills state changes.
|
|
595
602
|
class: "tabular-grid-column",
|
|
596
603
|
columnId: n.status,
|
|
597
|
-
columnName:
|
|
604
|
+
columnName: h(this, m, "f").objects.status,
|
|
598
605
|
settingable: false,
|
|
599
606
|
sortable: false,
|
|
600
607
|
size: "100px"
|
|
601
|
-
})),
|
|
608
|
+
})), h(this, M, "f").call(this), t("ch-tabular-grid-rowset", {
|
|
602
609
|
class: "tabular-grid-rowset"
|
|
603
610
|
}, this.objectsFiltered.length === 0 && t("ch-tabular-grid-rowset-empty", null, t("gx-ide-empty-state", {
|
|
604
611
|
class: "empty-state",
|
|
605
612
|
isAnimated: true,
|
|
606
|
-
stateIconSrc:
|
|
613
|
+
stateIconSrc: L,
|
|
607
614
|
stateTitle: "No object matched your filter"
|
|
608
615
|
})))) : t("gx-ide-loader", {
|
|
609
|
-
cancelLabel:
|
|
610
|
-
loaderTitle:
|
|
611
|
-
description:
|
|
616
|
+
cancelLabel: h(this, m, "f").loader.cancelLabel,
|
|
617
|
+
loaderTitle: h(this, m, "f").loader.title,
|
|
618
|
+
description: h(this, m, "f").loader.description,
|
|
612
619
|
show: true,
|
|
613
620
|
class: "loader"
|
|
614
621
|
}))));
|
|
@@ -630,9 +637,9 @@ const F = class {
|
|
|
630
637
|
m = new WeakMap, g = new WeakMap, u = new WeakMap, b = new WeakMap, f = new WeakMap,
|
|
631
638
|
v = new WeakMap, _ = new WeakMap, w = new WeakMap, y = new WeakMap, k = new WeakMap,
|
|
632
639
|
x = new WeakMap, M = new WeakMap, z = new WeakMap, j = new WeakMap, C = new WeakMap,
|
|
633
|
-
W = new WeakMap, $ = new WeakMap, T = new WeakMap;
|
|
640
|
+
W = new WeakMap, $ = new WeakMap, T = new WeakMap, S = new WeakMap, I = new WeakMap;
|
|
634
641
|
|
|
635
|
-
|
|
642
|
+
X.style = d;
|
|
636
643
|
|
|
637
|
-
export {
|
|
638
|
-
//# sourceMappingURL=p-
|
|
644
|
+
export { X as gx_ide_team_dev_bring_changes };
|
|
645
|
+
//# sourceMappingURL=p-e2fd2c24.entry.js.map
|