@genexus/genexus-ide-ui 3.2.18 → 3.2.20
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/gx-ide-new-kb.cjs.entry.js +10 -4
- package/dist/cjs/gx-ide-new-kb.cjs.entry.js.map +1 -1
- package/dist/cjs/gx-ide-server-selector.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-server-selector.cjs.entry.js.map +1 -1
- package/dist/cjs/gx-ide-team-dev-bring-changes.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +41 -5
- 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 +2 -2
- package/dist/cjs/gx-ide-team-dev-update.cjs.entry.js.map +1 -1
- package/dist/cjs/{tabular-grid-column-sort-5ca06dc1.js → tabular-grid-column-sort-c635967f.js} +9 -1
- package/dist/cjs/tabular-grid-column-sort-c635967f.js.map +1 -0
- package/dist/collection/common/chameleon/tabular-grid-column-sort.js +8 -0
- package/dist/collection/common/chameleon/tabular-grid-column-sort.js.map +1 -1
- package/dist/collection/components/new-kb/new-kb.js +10 -4
- package/dist/collection/components/new-kb/new-kb.js.map +1 -1
- package/dist/collection/components/team-dev/bring-changes/bring-changes.css +10 -0
- package/dist/collection/components/team-dev/history/history.css +10 -0
- package/dist/collection/components/team-dev/history/history.js +40 -4
- package/dist/collection/components/team-dev/history/history.js.map +1 -1
- package/dist/collection/components/team-dev/server-selector/server-selector.css +10 -0
- package/dist/collection/components/team-dev/update/update.css +10 -0
- package/dist/collection/components/team-dev/version-control/commit/commit.css +10 -0
- package/dist/components/gx-ide-new-kb.js +10 -4
- package/dist/components/gx-ide-new-kb.js.map +1 -1
- package/dist/components/gx-ide-server-selector.js +1 -1
- package/dist/components/gx-ide-server-selector.js.map +1 -1
- package/dist/components/gx-ide-team-dev-bring-changes.js +1 -1
- package/dist/components/gx-ide-team-dev-bring-changes.js.map +1 -1
- package/dist/components/gx-ide-team-dev-commit.js +1 -1
- package/dist/components/gx-ide-team-dev-commit.js.map +1 -1
- package/dist/components/gx-ide-team-dev-history.js +41 -5
- package/dist/components/gx-ide-team-dev-history.js.map +1 -1
- package/dist/components/gx-ide-team-dev-update.js +1 -1
- package/dist/components/gx-ide-team-dev-update.js.map +1 -1
- package/dist/components/tabular-grid-column-sort.js +8 -0
- package/dist/components/tabular-grid-column-sort.js.map +1 -1
- package/dist/esm/gx-ide-new-kb.entry.js +10 -4
- package/dist/esm/gx-ide-new-kb.entry.js.map +1 -1
- package/dist/esm/gx-ide-server-selector.entry.js +2 -2
- package/dist/esm/gx-ide-server-selector.entry.js.map +1 -1
- package/dist/esm/gx-ide-team-dev-bring-changes.entry.js +2 -2
- package/dist/esm/gx-ide-team-dev-bring-changes.entry.js.map +1 -1
- package/dist/esm/gx-ide-team-dev-commit.entry.js +2 -2
- package/dist/esm/gx-ide-team-dev-commit.entry.js.map +1 -1
- package/dist/esm/gx-ide-team-dev-history.entry.js +41 -5
- package/dist/esm/gx-ide-team-dev-history.entry.js.map +1 -1
- package/dist/esm/gx-ide-team-dev-update.entry.js +2 -2
- package/dist/esm/gx-ide-team-dev-update.entry.js.map +1 -1
- package/dist/esm/{tabular-grid-column-sort-1d503b27.js → tabular-grid-column-sort-882e9c03.js} +9 -1
- package/dist/esm/tabular-grid-column-sort-882e9c03.js.map +1 -0
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
- package/dist/genexus-ide-ui/p-1b811074.js +44 -0
- package/dist/genexus-ide-ui/p-1b811074.js.map +1 -0
- package/dist/genexus-ide-ui/{p-944a589f.entry.js → p-2168cc7f.entry.js} +3 -3
- package/dist/genexus-ide-ui/{p-c2f2d79f.entry.js → p-6bbc342d.entry.js} +163 -103
- package/dist/genexus-ide-ui/p-6bbc342d.entry.js.map +1 -0
- package/dist/genexus-ide-ui/{p-7b76b0e4.entry.js → p-82caf783.entry.js} +13 -13
- package/dist/genexus-ide-ui/{p-f1b452fb.entry.js → p-9acf9b26.entry.js} +11 -11
- package/dist/genexus-ide-ui/{p-cd9e9e2b.entry.js → p-dfad17cc.entry.js} +3 -3
- package/dist/genexus-ide-ui/{p-ea98ae0b.entry.js → p-eb2b88d4.entry.js} +133 -126
- package/dist/genexus-ide-ui/p-eb2b88d4.entry.js.map +1 -0
- package/dist/types/common/chameleon/tabular-grid-column-sort.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/tabular-grid-column-sort-5ca06dc1.js.map +0 -1
- package/dist/esm/tabular-grid-column-sort-1d503b27.js.map +0 -1
- package/dist/genexus-ide-ui/p-02fb496a.js +0 -36
- package/dist/genexus-ide-ui/p-02fb496a.js.map +0 -1
- package/dist/genexus-ide-ui/p-c2f2d79f.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-ea98ae0b.entry.js.map +0 -1
- /package/dist/genexus-ide-ui/{p-944a589f.entry.js.map → p-2168cc7f.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-7b76b0e4.entry.js.map → p-82caf783.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-f1b452fb.entry.js.map → p-9acf9b26.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-cd9e9e2b.entry.js.map → p-dfad17cc.entry.js.map} +0 -0
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { r as t, h as i, H as e, a } from "./p-9b9ccd0c.js";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { s } from "./p-1b811074.js";
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { c as r } from "./p-c5196b3b.js";
|
|
6
6
|
|
|
7
|
-
import {
|
|
7
|
+
import { f as l } from "./p-4d330836.js";
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { L as n } from "./p-311eedf3.js";
|
|
10
|
+
|
|
11
|
+
import { r as o, a as c, I as d } from "./p-2eae8843.js";
|
|
10
12
|
|
|
11
13
|
import "./p-d42e842b.js";
|
|
12
14
|
|
|
@@ -24,59 +26,73 @@ const mapObjectTypeToComboBoxItemModel = t => t.map((t => ({
|
|
|
24
26
|
startImgSrc: t.icon
|
|
25
27
|
})));
|
|
26
28
|
|
|
27
|
-
const
|
|
29
|
+
const h = '.custom-icon-text-wrapper{display:flex;align-items:center;gap:var(--spacing-gap-m)}.warning-error-description{display:flex;align-items:center;gap:var(--spacing-gap-m);padding:var(--spacing-padding-m);max-inline-size:800px;line-height:var(--line-height-spacious)}.warning-error-icon{flex-shrink:0}.tabular-grid .tabular-grid-column::part(selector){vertical-align:top}.tabular-grid .tabular-grid-column::part(selector)::before{position:absolute;inset-block-start:0;inset-inline-start:0}button.button-secondary{border-color:var(--color-border-neutral-default)}:host{display:grid;grid-template-columns:max-content 1fr;block-size:100%;overflow:auto}.sidebar{background-color:transparent !important;border-inline-end:var(--section-common-border)}.sidebar::part(expand-button){border-radius:var(--control-border-radius)}gx-ide-select-kb-items{--search-input-max-inline-size:300px;opacity:0;transition:opacity var(--timing-fast)}gx-ide-select-kb-items.sidebar-expanded{opacity:1}ch-tabular-grid.tabular-grid--empty::part(main){overflow:hidden}ch-tabular-grid-rowset-empty{position:relative}.main{display:grid;grid-template-rows:max-content 1fr;grid-row-gap:var(--spacing-gap-l);overflow:auto}.main__header{display:grid}.main__content{position:relative;overflow:auto;display:grid;grid-template-rows:1fr max-content 2fr;grid-row-gap:var(--spacing-gap-l)}.tabular-grid{overflow:auto}.search-filter{display:grid;grid-template-columns:1fr max-content max-content;gap:var(--spacing-gap-l)}.action-buttons{justify-self:flex-end}.filters-grid{display:grid;grid-template-columns:repeat(6, 1fr);grid-template-areas:"from from to to type type" "user user user revision revision revision";padding-block-start:var(--spacing-gap-l)}.filters-container{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--timing-fast)}.filters-container-visible{grid-template-rows:1fr}.filters-container>div{overflow:hidden}.field-from{grid-area:from}.field-to{grid-area:to}.field-type{grid-area:type}.field-user{grid-area:user}.field-revision{grid-area:revision}.commits-grid ch-tabular-grid-cell:is(:nth-child(2)){align-items:start;justify-content:start;min-inline-size:200px}.affected-objects-grid ch-tabular-grid-cell:is(:nth-child(5)){align-items:start;justify-content:start;min-inline-size:200px}';
|
|
28
30
|
|
|
29
|
-
var
|
|
31
|
+
var u = undefined && undefined.__classPrivateFieldGet || function(t, i, e, a) {
|
|
30
32
|
if (e === "a" && !a) throw new TypeError("Private accessor was defined without a getter");
|
|
31
33
|
if (typeof i === "function" ? t !== i || !a : !i.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
32
34
|
return e === "m" ? a : e === "a" ? a.call(t) : a ? a.value : i.get(t);
|
|
33
35
|
};
|
|
34
36
|
|
|
35
|
-
var
|
|
37
|
+
var f = undefined && undefined.__classPrivateFieldSet || function(t, i, e, a, s) {
|
|
36
38
|
if (a === "m") throw new TypeError("Private method is not writable");
|
|
37
39
|
if (a === "a" && !s) throw new TypeError("Private accessor was defined without a setter");
|
|
38
40
|
if (typeof i === "function" ? t !== i || !s : !i.has(t)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
39
41
|
return a === "a" ? s.call(t, e) : s ? s.value = e : i.set(t, e), e;
|
|
40
42
|
};
|
|
41
43
|
|
|
42
|
-
var
|
|
44
|
+
var m, p, b, g, v, w, y, x, k, C, M, W, j, z, _, I, S, T, D, E, F, A, $, B;
|
|
45
|
+
|
|
46
|
+
const L = {
|
|
47
|
+
id: "id",
|
|
48
|
+
comment: "comment",
|
|
49
|
+
user: "user",
|
|
50
|
+
commitDate: "commitDate"
|
|
51
|
+
};
|
|
43
52
|
|
|
44
|
-
const
|
|
53
|
+
const N = {
|
|
54
|
+
name: "name",
|
|
55
|
+
type: "type",
|
|
56
|
+
description: "description",
|
|
57
|
+
state: "state"
|
|
58
|
+
};
|
|
45
59
|
|
|
46
|
-
const
|
|
60
|
+
const O = [ "resets/box-sizing", "utils/form--full", "utils/layout", "utils/spacing", "utils/typography", "chameleon/scrollbar", "components/tabular-grid", "components/accordion", "components/sidebar" ];
|
|
61
|
+
|
|
62
|
+
const P = class {
|
|
47
63
|
constructor(e) {
|
|
48
64
|
t(this, e);
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
p.set(this, void 0);
|
|
52
|
-
g.set(this, void 0);
|
|
65
|
+
m.set(this, void 0);
|
|
66
|
+
p.set(this, []);
|
|
53
67
|
b.set(this, void 0);
|
|
68
|
+
g.set(this, void 0);
|
|
54
69
|
v.set(this, void 0);
|
|
55
70
|
w.set(this, void 0);
|
|
56
71
|
y.set(this, void 0);
|
|
57
72
|
x.set(this, void 0);
|
|
58
73
|
k.set(this, void 0);
|
|
74
|
+
C.set(this, void 0);
|
|
59
75
|
M.set(this, void 0);
|
|
60
76
|
W.set(this, (async t => {
|
|
61
77
|
if (this.selectedVersionChangeCallback) {
|
|
62
78
|
await this.selectedVersionChangeCallback(t);
|
|
63
79
|
}
|
|
64
|
-
await
|
|
80
|
+
await u(this, j, "f").call(this, t[0], true);
|
|
65
81
|
}));
|
|
66
82
|
j.set(this, (async (t, i) => {
|
|
67
83
|
var e;
|
|
68
84
|
this.loading = true;
|
|
69
85
|
const a = {
|
|
70
|
-
search:
|
|
71
|
-
from:
|
|
72
|
-
to:
|
|
73
|
-
revision:
|
|
74
|
-
user:
|
|
75
|
-
type:
|
|
86
|
+
search: u(this, v, "f").value ? u(this, v, "f").value : "",
|
|
87
|
+
from: u(this, b, "f").value ? new Date(u(this, b, "f").value) : null,
|
|
88
|
+
to: u(this, w, "f").value ? new Date(u(this, w, "f").value) : null,
|
|
89
|
+
revision: u(this, g, "f").value ? u(this, g, "f").value : "",
|
|
90
|
+
user: u(this, x, "f").value ? u(this, x, "f").value : "",
|
|
91
|
+
type: u(this, y, "f").value === "all" ? "" : u(this, y, "f").value
|
|
76
92
|
};
|
|
77
93
|
try {
|
|
78
94
|
this.objects = await this.loadCallback(a, t, i);
|
|
79
|
-
await
|
|
95
|
+
await u(this, z, "f").call(this, (e = this.objects[0]) === null || e === void 0 ? void 0 : e.id);
|
|
80
96
|
} catch (t) {
|
|
81
97
|
this.objects = [];
|
|
82
98
|
this.historyDetail = null;
|
|
@@ -88,29 +104,49 @@ const $ = class {
|
|
|
88
104
|
z.set(this, (async t => {
|
|
89
105
|
if (t) {
|
|
90
106
|
this.historyDetail = await this.loadDetailCallback(t);
|
|
91
|
-
this.historyDetail.title =
|
|
107
|
+
this.historyDetail.title = u(this, $, "f").call(this, this.historyDetail.title);
|
|
92
108
|
this.selectedRevisionId = t;
|
|
93
109
|
} else {
|
|
94
110
|
this.historyDetail = null;
|
|
95
111
|
}
|
|
96
112
|
}));
|
|
97
|
-
_.set(this, (
|
|
98
|
-
|
|
99
|
-
|
|
113
|
+
_.set(this, (t => {
|
|
114
|
+
let i = "string";
|
|
115
|
+
if (t.detail.columnId === L.commitDate) {
|
|
116
|
+
i = "date";
|
|
117
|
+
} else if (t.detail.columnId === L.id) {
|
|
118
|
+
i = "number";
|
|
119
|
+
}
|
|
120
|
+
this.objects = [ ...s(t, this.objects, i) ];
|
|
121
|
+
}));
|
|
122
|
+
I.set(this, (t => {
|
|
123
|
+
if (!this.historyDetail) {
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
const i = t.detail.columnId === N.type;
|
|
127
|
+
const e = i ? "object" : "string";
|
|
128
|
+
const a = i ? "name" : undefined;
|
|
129
|
+
this.historyDetail = Object.assign(Object.assign({}, this.historyDetail), {
|
|
130
|
+
objects: [ ...s(t, this.historyDetail.objects, e, a) ]
|
|
131
|
+
});
|
|
132
|
+
}));
|
|
133
|
+
S.set(this, (() => {
|
|
134
|
+
if (u(this, C, "f")) {
|
|
135
|
+
u(this, C, "f").addEventListener("contextmenu", (t => {
|
|
100
136
|
t.preventDefault();
|
|
101
137
|
t.stopPropagation();
|
|
102
|
-
|
|
138
|
+
u(this, T, "f").call(this, t);
|
|
103
139
|
}));
|
|
104
140
|
}
|
|
105
141
|
}));
|
|
106
|
-
|
|
142
|
+
T.set(this, (async t => {
|
|
107
143
|
this.gridContextMenuCallback({
|
|
108
144
|
selection: [ this.selectedRevisionId ],
|
|
109
145
|
clientX: t.clientX,
|
|
110
146
|
clientY: t.clientY
|
|
111
147
|
});
|
|
112
148
|
}));
|
|
113
|
-
|
|
149
|
+
D.set(this, (() => {
|
|
114
150
|
this.filtersHidden = !this.filtersHidden;
|
|
115
151
|
}));
|
|
116
152
|
E.set(this, (() => {
|
|
@@ -123,43 +159,55 @@ const $ = class {
|
|
|
123
159
|
"tabular-grid--empty": e
|
|
124
160
|
},
|
|
125
161
|
onSelectionChanged: t => {
|
|
126
|
-
this.objects.length > 0 &&
|
|
162
|
+
this.objects.length > 0 && u(this, z, "f").call(this, t.detail.rowsId[0]);
|
|
127
163
|
},
|
|
128
164
|
ref: t => {
|
|
129
165
|
var i;
|
|
130
|
-
if (t &&
|
|
131
|
-
|
|
132
|
-
|
|
166
|
+
if (t && u(this, C, "f") !== t) {
|
|
167
|
+
f(this, C, t, "f");
|
|
168
|
+
u(this, S, "f").call(this);
|
|
133
169
|
if (this.objects.length > 0) {
|
|
134
|
-
|
|
170
|
+
u(this, C, "f").selectRow((i = this.objects[0]) === null || i === void 0 ? void 0 : i.id, true);
|
|
135
171
|
}
|
|
136
172
|
}
|
|
137
173
|
}
|
|
138
174
|
}, i("ch-tabular-grid-columnset", {
|
|
139
175
|
class: "tabular-grid-column-set"
|
|
140
176
|
}, i("ch-tabular-grid-column", {
|
|
141
|
-
|
|
177
|
+
columnId: L.id,
|
|
178
|
+
"column-name": u(this, m, "f").mainGrid.columns.id,
|
|
142
179
|
"column-name-position": "text",
|
|
143
180
|
class: "tabular-grid-column",
|
|
144
181
|
settingable: false,
|
|
182
|
+
sortable: true,
|
|
183
|
+
onColumnSortChanged: u(this, _, "f"),
|
|
145
184
|
size: "max-content"
|
|
146
185
|
}), i("ch-tabular-grid-column", {
|
|
147
|
-
|
|
186
|
+
columnId: L.comment,
|
|
187
|
+
"column-name": u(this, m, "f").mainGrid.columns.comment,
|
|
148
188
|
"column-name-position": "text",
|
|
149
189
|
class: "tabular-grid-column",
|
|
150
190
|
settingable: false,
|
|
191
|
+
sortable: true,
|
|
192
|
+
onColumnSortChanged: u(this, _, "f"),
|
|
151
193
|
size: "1fr"
|
|
152
194
|
}), i("ch-tabular-grid-column", {
|
|
153
|
-
|
|
195
|
+
columnId: L.user,
|
|
196
|
+
"column-name": u(this, m, "f").mainGrid.columns.user,
|
|
154
197
|
"column-name-position": "text",
|
|
155
198
|
class: "tabular-grid-column",
|
|
156
199
|
settingable: false,
|
|
200
|
+
sortable: true,
|
|
201
|
+
onColumnSortChanged: u(this, _, "f"),
|
|
157
202
|
size: "max-content"
|
|
158
203
|
}), i("ch-tabular-grid-column", {
|
|
159
|
-
|
|
204
|
+
columnId: L.commitDate,
|
|
205
|
+
"column-name": u(this, m, "f").mainGrid.columns.commitDate,
|
|
160
206
|
"column-name-position": "text",
|
|
161
207
|
class: "tabular-grid-column",
|
|
162
208
|
settingable: false,
|
|
209
|
+
sortable: true,
|
|
210
|
+
onColumnSortChanged: u(this, _, "f"),
|
|
163
211
|
size: "max-content"
|
|
164
212
|
})), this.objects.length > 0 ? i("ch-tabular-grid-rowset", {
|
|
165
213
|
class: "tabular-grid-rowset"
|
|
@@ -175,10 +223,10 @@ const $ = class {
|
|
|
175
223
|
class: "tabular-grid-cell"
|
|
176
224
|
}, t.user), i("ch-tabular-grid-cell", {
|
|
177
225
|
class: "tabular-grid-cell"
|
|
178
|
-
}, `${
|
|
226
|
+
}, `${l(t.commitDate, "date-time")}`))))) : i("ch-tabular-grid-rowset", {
|
|
179
227
|
class: "tabular-grid-rowset"
|
|
180
228
|
}, i("ch-tabular-grid-rowset-empty", null, i("gx-ide-empty-state", {
|
|
181
|
-
stateTitle:
|
|
229
|
+
stateTitle: u(this, m, "f").emptyRevisionsText,
|
|
182
230
|
isAnimated: true
|
|
183
231
|
}))), i("ch-tabular-grid-row", {
|
|
184
232
|
class: "tabular-grid-row"
|
|
@@ -187,39 +235,51 @@ const $ = class {
|
|
|
187
235
|
F.set(this, (() => {
|
|
188
236
|
var t, e;
|
|
189
237
|
const a = this.historyDetail ? this.historyDetail.objects : [];
|
|
190
|
-
const
|
|
238
|
+
const s = ((e = (t = this.historyDetail) === null || t === void 0 ? void 0 : t.objects) === null || e === void 0 ? void 0 : e.length) === 0 || !this.historyDetail;
|
|
191
239
|
return i("ch-tabular-grid", {
|
|
192
240
|
class: {
|
|
193
241
|
"affected-objects-grid": true,
|
|
194
242
|
"tabular-grid": true,
|
|
195
|
-
"tabular-grid--empty":
|
|
243
|
+
"tabular-grid--empty": s
|
|
196
244
|
}
|
|
197
245
|
}, i("ch-tabular-grid-columnset", {
|
|
198
246
|
class: "tabular-grid-column-set"
|
|
199
247
|
}, i("ch-tabular-grid-column", {
|
|
200
|
-
|
|
248
|
+
columnId: N.name,
|
|
249
|
+
"column-name": u(this, m, "f").affectedObjectsGrid.columns.name,
|
|
201
250
|
"column-name-position": "text",
|
|
202
251
|
class: "tabular-grid-column",
|
|
203
252
|
settingable: false,
|
|
204
|
-
|
|
253
|
+
sortable: true,
|
|
254
|
+
onColumnSortChanged: u(this, I, "f"),
|
|
255
|
+
size: r.tabularGrid.colSize.maxContent
|
|
205
256
|
}), i("ch-tabular-grid-column", {
|
|
206
|
-
|
|
257
|
+
columnId: N.type,
|
|
258
|
+
"column-name": u(this, m, "f").affectedObjectsGrid.columns.types,
|
|
207
259
|
"column-name-position": "text",
|
|
208
260
|
class: "tabular-grid-column",
|
|
209
261
|
settingable: false,
|
|
210
|
-
|
|
262
|
+
sortable: true,
|
|
263
|
+
onColumnSortChanged: u(this, I, "f"),
|
|
264
|
+
size: r.tabularGrid.colSize.maxContent
|
|
211
265
|
}), i("ch-tabular-grid-column", {
|
|
212
|
-
|
|
266
|
+
columnId: N.description,
|
|
267
|
+
"column-name": u(this, m, "f").affectedObjectsGrid.columns.description,
|
|
213
268
|
"column-name-position": "text",
|
|
214
269
|
class: "tabular-grid-column",
|
|
215
270
|
settingable: false,
|
|
216
|
-
|
|
271
|
+
sortable: true,
|
|
272
|
+
onColumnSortChanged: u(this, I, "f"),
|
|
273
|
+
size: r.tabularGrid.colSize.auto
|
|
217
274
|
}), i("ch-tabular-grid-column", {
|
|
218
|
-
|
|
275
|
+
columnId: N.state,
|
|
276
|
+
"column-name": u(this, m, "f").affectedObjectsGrid.columns.action,
|
|
219
277
|
"column-name-position": "text",
|
|
220
278
|
class: "tabular-grid-column",
|
|
221
279
|
settingable: false,
|
|
222
|
-
|
|
280
|
+
sortable: true,
|
|
281
|
+
onColumnSortChanged: u(this, I, "f"),
|
|
282
|
+
size: r.tabularGrid.colSize.maxContent
|
|
223
283
|
})), this.historyDetail && this.historyDetail.objects.length > 0 ? i("ch-tabular-grid-rowset", {
|
|
224
284
|
class: "tabular-grid-rowset"
|
|
225
285
|
}, a.map((t => i("ch-tabular-grid-row", {
|
|
@@ -228,36 +288,36 @@ const $ = class {
|
|
|
228
288
|
class: "tabular-grid-cell"
|
|
229
289
|
}, t.name), i("ch-tabular-grid-cell", {
|
|
230
290
|
class: "tabular-grid-cell"
|
|
231
|
-
},
|
|
291
|
+
}, o(t.type)), i("ch-tabular-grid-cell", {
|
|
232
292
|
class: "tabular-grid-cell"
|
|
233
293
|
}, t.description), i("ch-tabular-grid-cell", {
|
|
234
294
|
class: "tabular-grid-cell"
|
|
235
|
-
},
|
|
295
|
+
}, c(t.state)))))) : i("ch-tabular-grid-rowset", {
|
|
236
296
|
class: "tabular-grid-rowset"
|
|
237
297
|
}, i("ch-tabular-grid-rowset-empty", null, i("gx-ide-empty-state", {
|
|
238
|
-
stateIconSrc:
|
|
239
|
-
stateTitle:
|
|
298
|
+
stateIconSrc: d.filter,
|
|
299
|
+
stateTitle: u(this, m, "f").emptyHistoryDetailText,
|
|
240
300
|
isAnimated: true
|
|
241
301
|
}))), i("ch-tabular-grid-row", {
|
|
242
302
|
class: "tabular-grid-row"
|
|
243
303
|
}));
|
|
244
304
|
}));
|
|
245
|
-
|
|
305
|
+
A.set(this, (() => this.loading && i("div", {
|
|
246
306
|
class: "main__content scrollable"
|
|
247
307
|
}, i("gx-ide-loader", {
|
|
248
|
-
loaderTitle:
|
|
308
|
+
loaderTitle: u(this, m, "f").loader.title,
|
|
249
309
|
show: true,
|
|
250
|
-
description:
|
|
310
|
+
description: u(this, m, "f").loader.description
|
|
251
311
|
}))));
|
|
252
|
-
|
|
312
|
+
$.set(this, (t => {
|
|
253
313
|
const i = t.split(" - ");
|
|
254
314
|
const e = new Date(i[1]);
|
|
255
|
-
const a =
|
|
315
|
+
const a = l(e, "date-time");
|
|
256
316
|
return `${i[0]} - ${a} - ${i[2]}`;
|
|
257
317
|
}));
|
|
258
|
-
|
|
318
|
+
B.set(this, (async () => {
|
|
259
319
|
this.loading = true;
|
|
260
|
-
await
|
|
320
|
+
await u(this, M, "f").reloadItems();
|
|
261
321
|
}));
|
|
262
322
|
this.historyDetail = undefined;
|
|
263
323
|
this.objects = [];
|
|
@@ -275,29 +335,29 @@ const $ = class {
|
|
|
275
335
|
this.selectedVersionChangeCallback = undefined;
|
|
276
336
|
}
|
|
277
337
|
async componentWillLoad() {
|
|
278
|
-
|
|
279
|
-
|
|
338
|
+
f(this, m, await n.getComponentStrings(this.el), "f");
|
|
339
|
+
f(this, p, mapObjectTypeToComboBoxItemModel(this.types), "f");
|
|
280
340
|
}
|
|
281
341
|
async componentDidLoad() {
|
|
282
|
-
|
|
342
|
+
u(this, k, "f").addEventListener("expandedChange", (t => {
|
|
283
343
|
this.sidebarExpanded = t.detail;
|
|
284
344
|
}));
|
|
285
345
|
}
|
|
286
346
|
async reload() {
|
|
287
|
-
await
|
|
347
|
+
await u(this, B, "f").call(this);
|
|
288
348
|
}
|
|
289
349
|
render() {
|
|
290
350
|
var t;
|
|
291
351
|
return i(e, {
|
|
292
352
|
class: "widget"
|
|
293
353
|
}, i("ch-theme", {
|
|
294
|
-
model:
|
|
354
|
+
model: O
|
|
295
355
|
}), i("ch-sidebar", {
|
|
296
|
-
ref: t =>
|
|
356
|
+
ref: t => f(this, k, t, "f"),
|
|
297
357
|
class: "sidebar",
|
|
298
358
|
expanded: this.sidebarExpanded,
|
|
299
|
-
expandButtonCollapseAccessibleName:
|
|
300
|
-
expandButtonExpandAccessibleName:
|
|
359
|
+
expandButtonCollapseAccessibleName: u(this, m, "f").sidebar.collapseAriaLabel,
|
|
360
|
+
expandButtonExpandAccessibleName: u(this, m, "f").sidebar.expandAriaLabel,
|
|
301
361
|
showExpandButton: true
|
|
302
362
|
}, i("gx-ide-select-kb-items", {
|
|
303
363
|
class: {
|
|
@@ -307,9 +367,9 @@ const $ = class {
|
|
|
307
367
|
checkboxType: "none",
|
|
308
368
|
loadItemsCallback: () => this.loadVersionsCallback(),
|
|
309
369
|
expandOnClick: false,
|
|
310
|
-
selectionChanged:
|
|
370
|
+
selectionChanged: u(this, W, "f"),
|
|
311
371
|
itemContextMenuCallback: t => this.itemContextMenuCallback(t),
|
|
312
|
-
ref: t =>
|
|
372
|
+
ref: t => f(this, M, t, "f")
|
|
313
373
|
})), i("main", {
|
|
314
374
|
class: "main spacing-body-block-start spacing-body-inline"
|
|
315
375
|
}, i("div", {
|
|
@@ -321,31 +381,31 @@ const $ = class {
|
|
|
321
381
|
}, i("label", {
|
|
322
382
|
class: "label",
|
|
323
383
|
htmlFor: "search"
|
|
324
|
-
},
|
|
384
|
+
}, u(this, m, "f").filters.search), i("ch-edit", {
|
|
325
385
|
value: "",
|
|
326
386
|
class: "input",
|
|
327
|
-
startImgSrc:
|
|
387
|
+
startImgSrc: d.search,
|
|
328
388
|
part: "search",
|
|
329
389
|
id: "search",
|
|
330
|
-
ref: t =>
|
|
390
|
+
ref: t => f(this, v, t, "f")
|
|
331
391
|
})), i("button", {
|
|
332
392
|
id: "filter-toggle-button",
|
|
333
393
|
class: "button-secondary button-icon-only",
|
|
334
|
-
"aria-label":
|
|
394
|
+
"aria-label": u(this, m, "f").searchFilter.filterAriaLabel,
|
|
335
395
|
"aria-expanded": this.filtersHidden ? "false" : "true",
|
|
336
396
|
"aria-controls": "filters-container",
|
|
337
|
-
onClick: () =>
|
|
397
|
+
onClick: () => u(this, D, "f").call(this)
|
|
338
398
|
}, i("ch-image", {
|
|
339
399
|
class: "icon-m",
|
|
340
|
-
src:
|
|
400
|
+
src: d.filter
|
|
341
401
|
})), i("button", {
|
|
342
402
|
class: "button-secondary button-icon-only",
|
|
343
|
-
"aria-label":
|
|
344
|
-
onClick: () =>
|
|
345
|
-
part:
|
|
403
|
+
"aria-label": u(this, m, "f").searchFilter.reloadAriaLabel,
|
|
404
|
+
onClick: () => u(this, B, "f").call(this),
|
|
405
|
+
part: u(this, m, "f").searchFilter.reloadAriaLabel
|
|
346
406
|
}, i("ch-image", {
|
|
347
407
|
class: "icon-m",
|
|
348
|
-
src:
|
|
408
|
+
src: d.refresh
|
|
349
409
|
}))), i("div", {
|
|
350
410
|
id: "filters-container",
|
|
351
411
|
"aria-labelledby": "filter-toggle-button",
|
|
@@ -362,61 +422,61 @@ const $ = class {
|
|
|
362
422
|
}, i("label", {
|
|
363
423
|
class: "label",
|
|
364
424
|
htmlFor: "from"
|
|
365
|
-
},
|
|
425
|
+
}, u(this, m, "f").filters.from), i("ch-edit", {
|
|
366
426
|
value: "",
|
|
367
427
|
class: "input",
|
|
368
428
|
type: "date",
|
|
369
429
|
part: "from",
|
|
370
430
|
id: "from",
|
|
371
|
-
ref: t =>
|
|
431
|
+
ref: t => f(this, b, t, "f")
|
|
372
432
|
})), i("div", {
|
|
373
433
|
class: "field field-block field-to"
|
|
374
434
|
}, i("label", {
|
|
375
435
|
class: "label",
|
|
376
436
|
htmlFor: "to"
|
|
377
|
-
},
|
|
437
|
+
}, u(this, m, "f").filters.to), i("ch-edit", {
|
|
378
438
|
value: "",
|
|
379
439
|
class: "input",
|
|
380
440
|
type: "date",
|
|
381
441
|
id: "to",
|
|
382
|
-
ref: t =>
|
|
442
|
+
ref: t => f(this, w, t, "f")
|
|
383
443
|
})), i("div", {
|
|
384
444
|
class: "field field-block field-type"
|
|
385
445
|
}, i("label", {
|
|
386
446
|
class: "label",
|
|
387
447
|
htmlFor: "type"
|
|
388
|
-
},
|
|
448
|
+
}, u(this, m, "f").filters.type), i("ch-combo-box-render", {
|
|
389
449
|
accessibleName: "types",
|
|
390
450
|
class: "combo-box",
|
|
391
451
|
part: "type",
|
|
392
|
-
model:
|
|
393
|
-
value: (t =
|
|
394
|
-
ref: t =>
|
|
452
|
+
model: u(this, p, "f"),
|
|
453
|
+
value: (t = u(this, p, "f")[0]) === null || t === void 0 ? void 0 : t.value,
|
|
454
|
+
ref: t => f(this, y, t, "f")
|
|
395
455
|
})), i("div", {
|
|
396
456
|
class: "field field-block field-user"
|
|
397
457
|
}, i("label", {
|
|
398
458
|
class: "label",
|
|
399
459
|
htmlFor: "user"
|
|
400
|
-
},
|
|
460
|
+
}, u(this, m, "f").filters.user), i("ch-edit", {
|
|
401
461
|
value: "",
|
|
402
462
|
part: "user",
|
|
403
463
|
class: "input",
|
|
404
464
|
id: "user",
|
|
405
|
-
ref: t =>
|
|
465
|
+
ref: t => f(this, x, t, "f")
|
|
406
466
|
})), i("div", {
|
|
407
467
|
class: "field field-block field-revision"
|
|
408
468
|
}, i("label", {
|
|
409
469
|
class: "label",
|
|
410
470
|
htmlFor: "revision"
|
|
411
|
-
},
|
|
471
|
+
}, u(this, m, "f").filters.revision), i("ch-edit", {
|
|
412
472
|
value: "",
|
|
413
473
|
part: "revision",
|
|
414
474
|
class: "input",
|
|
415
475
|
id: "revision",
|
|
416
|
-
ref: t =>
|
|
417
|
-
})))))),
|
|
476
|
+
ref: t => f(this, g, t, "f")
|
|
477
|
+
})))))), u(this, A, "f").call(this), !this.loading && i("div", {
|
|
418
478
|
class: "main__content scrollable"
|
|
419
|
-
},
|
|
479
|
+
}, u(this, E, "f").call(this), i("div", {
|
|
420
480
|
class: "field field-block"
|
|
421
481
|
}, i("label", {
|
|
422
482
|
class: "label",
|
|
@@ -429,7 +489,7 @@ const $ = class {
|
|
|
429
489
|
readonly: true,
|
|
430
490
|
part: "comment-area",
|
|
431
491
|
id: "comment-area"
|
|
432
|
-
})),
|
|
492
|
+
})), u(this, F, "f").call(this))));
|
|
433
493
|
}
|
|
434
494
|
static get assetsDirs() {
|
|
435
495
|
return [ "gx-ide-assets/team-dev-history" ];
|
|
@@ -439,13 +499,13 @@ const $ = class {
|
|
|
439
499
|
}
|
|
440
500
|
};
|
|
441
501
|
|
|
442
|
-
|
|
443
|
-
|
|
502
|
+
m = new WeakMap, p = new WeakMap, b = new WeakMap, g = new WeakMap, v = new WeakMap,
|
|
503
|
+
w = new WeakMap, y = new WeakMap, x = new WeakMap, k = new WeakMap, C = new WeakMap,
|
|
444
504
|
M = new WeakMap, W = new WeakMap, j = new WeakMap, z = new WeakMap, _ = new WeakMap,
|
|
445
|
-
|
|
446
|
-
|
|
505
|
+
I = new WeakMap, S = new WeakMap, T = new WeakMap, D = new WeakMap, E = new WeakMap,
|
|
506
|
+
F = new WeakMap, A = new WeakMap, $ = new WeakMap, B = new WeakMap;
|
|
447
507
|
|
|
448
|
-
|
|
508
|
+
P.style = h;
|
|
449
509
|
|
|
450
|
-
export {
|
|
451
|
-
//# sourceMappingURL=p-
|
|
510
|
+
export { P as gx_ide_team_dev_history };
|
|
511
|
+
//# sourceMappingURL=p-6bbc342d.entry.js.map
|