@genexus/genexus-ide-ui 1.1.41 → 1.1.42
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-ww-files.cjs.entry.js +1 -9
- package/dist/cjs/gx-ide-ww-files.cjs.entry.js.map +1 -1
- package/dist/collection/components/ww-files/ww-files.js +1 -9
- package/dist/collection/components/ww-files/ww-files.js.map +1 -1
- package/dist/components/gx-ide-ww-files.js +1 -9
- package/dist/components/gx-ide-ww-files.js.map +1 -1
- package/dist/esm/gx-ide-ww-files.entry.js +1 -9
- package/dist/esm/gx-ide-ww-files.entry.js.map +1 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
- package/dist/genexus-ide-ui/{p-9b8a8487.entry.js → p-8c867f9a.entry.js} +159 -167
- package/dist/genexus-ide-ui/p-8c867f9a.entry.js.map +1 -0
- package/dist/types/components/ww-files/ww-files.d.ts +0 -1
- package/package.json +1 -1
- package/dist/genexus-ide-ui/p-9b8a8487.entry.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as e, h as t, H as i, a as s } from "./p-97107ecc.js";
|
|
2
2
|
|
|
3
3
|
import { g as a } from "./p-401bfc97.js";
|
|
4
4
|
|
|
@@ -12,20 +12,20 @@ import { f as d } from "./p-8c15538c.js";
|
|
|
12
12
|
|
|
13
13
|
const c = ':host{container-type:inline-size;display:grid;block-size:100%;overflow:auto;grid-template-rows:max-content 1fr max-content}.section{display:contents}.header{grid-template-areas:"name module-folder" "advanced-filter advanced-filter";grid-template-columns:1fr 1fr;grid-auto-rows:max-content max-content}.name{grid-area:name}.module-folder{grid-area:module-folder}.advanced-filter{grid-area:advanced-filter}.advanced-filter__container{display:grid;grid-auto-rows:max-content}.advanced-filter__first-row{grid-template-columns:1fr 1fr}.advanced-filter__second-row{grid-template-columns:1fr 1fr 1fr}.advanced-filter .all-descendants__modified{display:flex;flex-direction:row;align-items:center;block-size:32px;gap:16px;align-self:self-end}.field-date{grid-template-areas:"label-date-time label-date-time" "input-date-time icon-clear-date-time";grid-template-columns:1fr max-content;column-gap:var(--mer-spacing--2xs)}.label-date-time{display:flex;align-items:center;gap:6px;grid-area:label-date-time}.label-date-time .icon-md{--mer-icon__box--md:16.8px}.input-date-time{block-size:31.98px;grid-area:input-date-time}.icon-clear-date-time{grid-area:icon-clear-date-time}.tabular-grid{overflow:auto;inline-size:100%;border-inline-end:var(--section-common-border)}.tabular-grid.empty::part(main),.tabular-grid.loading::part(main){overflow:hidden}ch-tabular-grid-rowset-empty{position:relative}.main__files-container{display:grid;grid-template-columns:repeat(4, 1fr);gap:var(--mer-spacing--xs);position:relative;z-index:1}.hiChar{color:var(--mer-color__primary--200);filter:brightness(1.3)}.tabular-grid ch-tabular-grid-cell:is(:nth-child(4)){padding-block:var(--grid-cell__padding-block);padding-inline:var(--grid-cell__padding-inline);align-items:start;justify-content:start;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-inline-size:0}.tabular-grid-cell-description{min-inline-size:max-content !important}.hiChar{color:var(--mer-color__primary--200);filter:brightness(1.3)}';
|
|
14
14
|
|
|
15
|
-
var h = undefined && undefined.__classPrivateFieldSet || function(
|
|
15
|
+
var h = undefined && undefined.__classPrivateFieldSet || function(e, t, i, s, a) {
|
|
16
16
|
if (s === "m") throw new TypeError("Private method is not writable");
|
|
17
17
|
if (s === "a" && !a) throw new TypeError("Private accessor was defined without a setter");
|
|
18
|
-
if (typeof
|
|
19
|
-
return s === "a" ? a.call(
|
|
18
|
+
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");
|
|
19
|
+
return s === "a" ? a.call(e, i) : a ? a.value = i : t.set(e, i), i;
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
var f = undefined && undefined.__classPrivateFieldGet || function(
|
|
22
|
+
var f = undefined && undefined.__classPrivateFieldGet || function(e, t, i, s) {
|
|
23
23
|
if (i === "a" && !s) throw new TypeError("Private accessor was defined without a getter");
|
|
24
|
-
if (typeof
|
|
25
|
-
return i === "m" ? s : i === "a" ? s.call(
|
|
24
|
+
if (typeof t === "function" ? e !== t || !s : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
25
|
+
return i === "m" ? s : i === "a" ? s.call(e) : s ? s.value : t.get(e);
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
var u, m, p, b, g, w, v, k, y, x, M, W, _, C, z, N,
|
|
28
|
+
var u, m, p, b, g, w, v, k, y, x, M, W, _, C, z, N, T, D, j, E, H, I, V, F, A, L, P, B, S, $, O, U, X, Y, q, G, J;
|
|
29
29
|
|
|
30
30
|
const K = [ "resets/box-sizing", "components/button", "components/checkbox", "components/combo-box", "components/accordion", "components/edit", "components/icon", "components/tooltip", "components/tabular-grid", "utils/form", "utils/layout", "utils/typography", "utils/spacing" ];
|
|
31
31
|
|
|
@@ -47,21 +47,21 @@ const Z = a({
|
|
|
47
47
|
colorType: "on-elevation"
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
const
|
|
50
|
+
const ee = "advanced-filter";
|
|
51
51
|
|
|
52
|
-
const
|
|
52
|
+
const te = "afterDateTime";
|
|
53
53
|
|
|
54
|
-
const
|
|
54
|
+
const ie = "afterLastBuild";
|
|
55
55
|
|
|
56
|
-
const
|
|
56
|
+
const se = "afterImport";
|
|
57
57
|
|
|
58
|
-
const
|
|
58
|
+
const ae = "checked";
|
|
59
59
|
|
|
60
|
-
const
|
|
60
|
+
const le = "unchecked";
|
|
61
61
|
|
|
62
|
-
const
|
|
62
|
+
const ne = class {
|
|
63
63
|
constructor(i) {
|
|
64
|
-
|
|
64
|
+
e(this, i);
|
|
65
65
|
u.set(this, void 0);
|
|
66
66
|
m.set(this, []);
|
|
67
67
|
// Filter Values
|
|
@@ -81,45 +81,45 @@ const nt = class {
|
|
|
81
81
|
h(this, b, Object.assign({}, this.defaultModule), "f");
|
|
82
82
|
h(this, g, "", "f");
|
|
83
83
|
h(this, w, this.defaultCategory || (this.categoriesComboBoxModel && this.categoriesComboBoxModel.length > 0 ? this.categoriesComboBoxModel[0].value : ""), "f");
|
|
84
|
-
h(this, v,
|
|
85
|
-
this.afterValue = this.filterAfterComboBoxModel && this.filterAfterComboBoxModel.length > 0 ? this.filterAfterComboBoxModel[0].value :
|
|
84
|
+
h(this, v, le, "f");
|
|
85
|
+
this.afterValue = this.filterAfterComboBoxModel && this.filterAfterComboBoxModel.length > 0 ? this.filterAfterComboBoxModel[0].value : te;
|
|
86
86
|
h(this, k, "", "f");
|
|
87
87
|
this.dateTimeValue = undefined;
|
|
88
88
|
}));
|
|
89
|
-
_.set(this, (
|
|
90
|
-
h(this, v,
|
|
89
|
+
_.set(this, (e => {
|
|
90
|
+
h(this, v, e.detail === ae ? ae : le, "f");
|
|
91
91
|
f(this, L, "f").call(this);
|
|
92
92
|
}));
|
|
93
|
-
C.set(this, (
|
|
94
|
-
h(this, y,
|
|
93
|
+
C.set(this, (e => {
|
|
94
|
+
h(this, y, e.detail.rowsId, "f");
|
|
95
95
|
this.selectionChangeCallback(f(this, y, "f"));
|
|
96
96
|
}));
|
|
97
97
|
z.set(this, (() => {
|
|
98
98
|
f(this, U, "f").call(this);
|
|
99
99
|
}));
|
|
100
|
-
N.set(this, (
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
N.set(this, (e => {
|
|
101
|
+
e.preventDefault();
|
|
102
|
+
e.stopPropagation();
|
|
103
103
|
this.contextMenuCallback({
|
|
104
|
-
selection:
|
|
105
|
-
clientX:
|
|
106
|
-
clientY:
|
|
104
|
+
selection: e.detail.selectedRowsId,
|
|
105
|
+
clientX: e.detail.clientX,
|
|
106
|
+
clientY: e.detail.clientY
|
|
107
107
|
});
|
|
108
108
|
}));
|
|
109
|
-
|
|
109
|
+
T.set(this, (() => {
|
|
110
110
|
f(this, x, "f").addEventListener("selectionChanged", f(this, C, "f"));
|
|
111
111
|
f(this, x, "f").addEventListener("rowDoubleClicked", f(this, z, "f"));
|
|
112
112
|
f(this, x, "f").addEventListener("rowContextMenu", f(this, N, "f"));
|
|
113
113
|
}));
|
|
114
|
-
|
|
115
|
-
h(this, w,
|
|
114
|
+
D.set(this, (async e => {
|
|
115
|
+
h(this, w, e.detail, "f");
|
|
116
116
|
f(this, L, "f").call(this);
|
|
117
117
|
}));
|
|
118
118
|
j.set(this, (() => {
|
|
119
119
|
this.dateTimeValue = undefined;
|
|
120
120
|
}));
|
|
121
|
-
E.set(this, (
|
|
122
|
-
this.dateTimeValue =
|
|
121
|
+
E.set(this, (e => {
|
|
122
|
+
this.dateTimeValue = e.detail;
|
|
123
123
|
f(this, L, "f").call(this);
|
|
124
124
|
}));
|
|
125
125
|
H.set(this, (() => {
|
|
@@ -130,38 +130,38 @@ const nt = class {
|
|
|
130
130
|
f(this, x, "f").selectAllRows(false);
|
|
131
131
|
}
|
|
132
132
|
}));
|
|
133
|
-
V.set(this, ((
|
|
133
|
+
V.set(this, ((e, i) => {
|
|
134
134
|
const s = new Date(i);
|
|
135
|
-
if (s >=
|
|
135
|
+
if (s >= e) {
|
|
136
136
|
// Object modifed date matches with filter date, or was modified after that date.
|
|
137
137
|
// Highlight to show that it matches.
|
|
138
|
-
return
|
|
138
|
+
return t("span", {
|
|
139
139
|
class: "hiChar"
|
|
140
|
-
}, f(this, A, "f").call(this,
|
|
140
|
+
}, f(this, A, "f").call(this, e));
|
|
141
141
|
} else {
|
|
142
|
-
return f(this, A, "f").call(this,
|
|
142
|
+
return f(this, A, "f").call(this, e);
|
|
143
143
|
}
|
|
144
144
|
}));
|
|
145
|
-
F.set(this, (
|
|
146
|
-
this.afterValue =
|
|
145
|
+
F.set(this, (e => {
|
|
146
|
+
this.afterValue = e.detail;
|
|
147
147
|
f(this, L, "f").call(this);
|
|
148
148
|
}));
|
|
149
|
-
A.set(this, (
|
|
149
|
+
A.set(this, (e => d(e, "date-time-short")));
|
|
150
150
|
L.set(this, (() => {
|
|
151
151
|
f(this, Y, "f").call(this);
|
|
152
|
-
const
|
|
153
|
-
const
|
|
152
|
+
const e = f(this, M, "f") && f(this, M, "f").value ? f(this, M, "f").value.id : this.defaultModule ? this.defaultModule.id : "";
|
|
153
|
+
const t = {
|
|
154
154
|
name: f(this, p, "f"),
|
|
155
155
|
searchContents: f(this, g, "f"),
|
|
156
156
|
category: f(this, w, "f"),
|
|
157
|
-
parent:
|
|
158
|
-
allDescendants: f(this, v, "f") ===
|
|
157
|
+
parent: e,
|
|
158
|
+
allDescendants: f(this, v, "f") === ae,
|
|
159
159
|
modifiedAfter: this.showModified ? this.afterValue : undefined,
|
|
160
160
|
modifiedBy: this.showModified ? f(this, k, "f") : undefined,
|
|
161
161
|
modifiedDate: this.showModified ? new Date(this.dateTimeValue) : undefined
|
|
162
162
|
};
|
|
163
|
-
this.loadCallback(
|
|
164
|
-
this.objects =
|
|
163
|
+
this.loadCallback(t).then((e => {
|
|
164
|
+
this.objects = e;
|
|
165
165
|
h(this, y, [], "f");
|
|
166
166
|
if (f(this, x, "f")) {
|
|
167
167
|
f(this, I, "f").call(this);
|
|
@@ -169,13 +169,13 @@ const nt = class {
|
|
|
169
169
|
this.isLoading = false;
|
|
170
170
|
}));
|
|
171
171
|
}));
|
|
172
|
-
P.set(this, (() => [
|
|
172
|
+
P.set(this, (() => [ t("div", {
|
|
173
173
|
// Name
|
|
174
174
|
class: "field field-block field-name"
|
|
175
|
-
},
|
|
175
|
+
}, t("label", {
|
|
176
176
|
class: "label",
|
|
177
177
|
htmlFor: "name"
|
|
178
|
-
}, f(this, u, "f").filter.name),
|
|
178
|
+
}, f(this, u, "f").filter.name), t("ch-edit", {
|
|
179
179
|
id: "name",
|
|
180
180
|
class: "input",
|
|
181
181
|
value: f(this, p, "f"),
|
|
@@ -183,86 +183,86 @@ const nt = class {
|
|
|
183
183
|
part: "filter-files",
|
|
184
184
|
debounce: n.inputDebounce,
|
|
185
185
|
disabled: this.isLoading
|
|
186
|
-
})),
|
|
186
|
+
})), t("div", {
|
|
187
187
|
// Module
|
|
188
188
|
class: "field field-block field-module-folder"
|
|
189
|
-
},
|
|
189
|
+
}, t("label", {
|
|
190
190
|
class: "label",
|
|
191
191
|
htmlFor: "module-folder"
|
|
192
|
-
}, f(this, u, "f").filter.moduleFolder),
|
|
192
|
+
}, f(this, u, "f").filter.moduleFolder), t("gx-ide-entity-selector", {
|
|
193
193
|
part: "filter-module-folder",
|
|
194
194
|
id: "module/folder",
|
|
195
195
|
labelPosition: "none",
|
|
196
196
|
value: f(this, b, "f"),
|
|
197
197
|
defaultValue: this.defaultModule,
|
|
198
198
|
selectEntityCallback: this.selectModuleCallback,
|
|
199
|
-
ref:
|
|
199
|
+
ref: e => h(this, M, e, "f"),
|
|
200
200
|
onValueChanged: f(this, S, "f"),
|
|
201
201
|
disabled: this.isLoading
|
|
202
|
-
})),
|
|
202
|
+
})), t("ch-accordion-render", {
|
|
203
203
|
class: "accordion-outlined advanced-filter",
|
|
204
204
|
model: f(this, m, "f")
|
|
205
|
-
},
|
|
206
|
-
slot:
|
|
205
|
+
}, t("div", {
|
|
206
|
+
slot: ee,
|
|
207
207
|
class: "spacing-body field-group advanced-filter__container"
|
|
208
|
-
}, this.showSearchContents &&
|
|
208
|
+
}, this.showSearchContents && t("div", {
|
|
209
209
|
// Search contents
|
|
210
210
|
class: "field field-block field-search-contents"
|
|
211
|
-
},
|
|
211
|
+
}, t("label", {
|
|
212
212
|
class: "label",
|
|
213
213
|
htmlFor: "filter-content"
|
|
214
|
-
}, f(this, u, "f").filter.content),
|
|
214
|
+
}, f(this, u, "f").filter.content), t("ch-edit", {
|
|
215
215
|
id: "filter-content",
|
|
216
216
|
class: "input",
|
|
217
217
|
onInput: f(this, X, "f"),
|
|
218
218
|
part: "filter-content"
|
|
219
|
-
})),
|
|
219
|
+
})), t("div", {
|
|
220
220
|
class: "field-group advanced-filter__first-row"
|
|
221
|
-
},
|
|
221
|
+
}, t("div", {
|
|
222
222
|
// Category
|
|
223
223
|
class: "field field-block field-category"
|
|
224
|
-
},
|
|
224
|
+
}, t("label", {
|
|
225
225
|
class: "label",
|
|
226
226
|
htmlFor: "filter-category"
|
|
227
|
-
}, f(this, u, "f").filter.category),
|
|
227
|
+
}, f(this, u, "f").filter.category), t("ch-combo-box-render", {
|
|
228
228
|
id: "filter-category",
|
|
229
229
|
class: "combo-box disabled",
|
|
230
230
|
value: f(this, w, "f"),
|
|
231
231
|
disabled: !this.categories || this.isLoading,
|
|
232
232
|
model: this.categoriesComboBoxModel,
|
|
233
233
|
part: "filter-category",
|
|
234
|
-
onInput: f(this,
|
|
235
|
-
})),
|
|
234
|
+
onInput: f(this, D, "f")
|
|
235
|
+
})), t("div", {
|
|
236
236
|
// All descendants / Modified
|
|
237
237
|
class: "all-descendants__modified field field-inline"
|
|
238
|
-
},
|
|
238
|
+
}, t("ch-checkbox", {
|
|
239
239
|
// All descendants
|
|
240
240
|
class: "checkbox",
|
|
241
241
|
caption: f(this, u, "f").filter.allDescendants,
|
|
242
|
-
checkedValue:
|
|
243
|
-
unCheckedValue:
|
|
242
|
+
checkedValue: ae,
|
|
243
|
+
unCheckedValue: le,
|
|
244
244
|
value: f(this, v, "f"),
|
|
245
245
|
onInput: f(this, _, "f"),
|
|
246
246
|
part: "filter-all-descendants",
|
|
247
247
|
disabled: this.isLoading
|
|
248
|
-
}),
|
|
248
|
+
}), t("ch-checkbox", {
|
|
249
249
|
// Modified
|
|
250
250
|
class: "checkbox align-center",
|
|
251
251
|
caption: f(this, u, "f").filter.modified,
|
|
252
|
-
checkedValue:
|
|
253
|
-
unCheckedValue:
|
|
252
|
+
checkedValue: ae,
|
|
253
|
+
unCheckedValue: le,
|
|
254
254
|
value: this.showModified,
|
|
255
255
|
onInput: f(this, G, "f"),
|
|
256
256
|
part: "filter-modified"
|
|
257
|
-
}))), this.showModified ===
|
|
257
|
+
}))), this.showModified === ae && t("div", {
|
|
258
258
|
class: "field-group advanced-filter__second-row"
|
|
259
|
-
},
|
|
259
|
+
}, t("div", {
|
|
260
260
|
// After
|
|
261
261
|
class: "field field-block field-after"
|
|
262
|
-
},
|
|
262
|
+
}, t("label", {
|
|
263
263
|
class: "label",
|
|
264
264
|
htmlFor: "filter-after-type"
|
|
265
|
-
}, f(this, u, "f").filter.after),
|
|
265
|
+
}, f(this, u, "f").filter.after), t("ch-combo-box-render", {
|
|
266
266
|
id: "filter-after-type",
|
|
267
267
|
class: "combo-box",
|
|
268
268
|
value: this.afterValue,
|
|
@@ -270,13 +270,13 @@ const nt = class {
|
|
|
270
270
|
onInput: f(this, F, "f"),
|
|
271
271
|
part: "filter-after-type",
|
|
272
272
|
disabled: this.isLoading
|
|
273
|
-
})),
|
|
273
|
+
})), t("div", {
|
|
274
274
|
// User
|
|
275
275
|
class: "field field-block field-user"
|
|
276
|
-
},
|
|
276
|
+
}, t("label", {
|
|
277
277
|
class: "label",
|
|
278
278
|
htmlFor: "filter-user"
|
|
279
|
-
}, f(this, u, "f").filter.user),
|
|
279
|
+
}, f(this, u, "f").filter.user), t("ch-edit", {
|
|
280
280
|
id: "filter-user",
|
|
281
281
|
class: "input",
|
|
282
282
|
value: f(this, k, "f"),
|
|
@@ -284,25 +284,25 @@ const nt = class {
|
|
|
284
284
|
part: "filter-user",
|
|
285
285
|
debounce: n.inputDebounce,
|
|
286
286
|
disabled: this.isLoading
|
|
287
|
-
})), this.afterValue ===
|
|
287
|
+
})), this.afterValue === te && t("div", {
|
|
288
288
|
// Date/Time
|
|
289
289
|
class: {
|
|
290
290
|
"field field-block field-date": true,
|
|
291
|
-
hide: this.afterValue !==
|
|
291
|
+
hide: this.afterValue !== te
|
|
292
292
|
}
|
|
293
|
-
},
|
|
293
|
+
}, t("label", {
|
|
294
294
|
class: "label label-date-time",
|
|
295
295
|
htmlFor: "filter-date-time"
|
|
296
|
-
}, f(this, u, "f").filter.dateTime,
|
|
296
|
+
}, f(this, u, "f").filter.dateTime, t("ch-image", {
|
|
297
297
|
class: "icon-md icon-clear-date-time",
|
|
298
298
|
src: Z
|
|
299
|
-
}),
|
|
299
|
+
}), t("ch-tooltip", {
|
|
300
300
|
class: "tooltip",
|
|
301
301
|
actionElement: null,
|
|
302
302
|
blockAlign: "outside-start",
|
|
303
303
|
inlineAlign: "inside-start",
|
|
304
304
|
delay: n.tooltipSettings.delay
|
|
305
|
-
}, f(this, u, "f").filter.dateTimeTooltip)),
|
|
305
|
+
}, f(this, u, "f").filter.dateTimeTooltip)), t("ch-edit", {
|
|
306
306
|
id: "filter-date-time",
|
|
307
307
|
type: "datetime-local",
|
|
308
308
|
class: "input input-date-time",
|
|
@@ -310,20 +310,20 @@ const nt = class {
|
|
|
310
310
|
onInput: f(this, E, "f"),
|
|
311
311
|
part: "filter-date-time",
|
|
312
312
|
disabled: this.isLoading
|
|
313
|
-
}),
|
|
313
|
+
}), t("button", {
|
|
314
314
|
class: "button-tertiary button-icon-only",
|
|
315
315
|
onClick: f(this, j, "f"),
|
|
316
316
|
disabled: this.isLoading
|
|
317
|
-
},
|
|
317
|
+
}, t("ch-image", {
|
|
318
318
|
class: "icon-md",
|
|
319
319
|
src: Q,
|
|
320
320
|
type: "mask"
|
|
321
321
|
})))))) ]));
|
|
322
322
|
B.set(this, (() => {
|
|
323
|
-
var
|
|
323
|
+
var e;
|
|
324
324
|
const i = !this.objects.length;
|
|
325
|
-
return
|
|
326
|
-
ref:
|
|
325
|
+
return t("ch-tabular-grid", {
|
|
326
|
+
ref: e => h(this, x, e, "f"),
|
|
327
327
|
class: {
|
|
328
328
|
"tabular-grid": true,
|
|
329
329
|
loading: this.isLoading,
|
|
@@ -331,100 +331,100 @@ const nt = class {
|
|
|
331
331
|
},
|
|
332
332
|
rowSelectionMode: "multiple",
|
|
333
333
|
part: "ch-grid-files"
|
|
334
|
-
},
|
|
334
|
+
}, t("ch-tabular-grid-columnset", {
|
|
335
335
|
class: "tabular-grid-column-set"
|
|
336
|
-
},
|
|
336
|
+
}, t("ch-tabular-grid-column", {
|
|
337
337
|
columnName: "",
|
|
338
338
|
columnNameHidden: false,
|
|
339
339
|
settingable: false,
|
|
340
340
|
size: n.tabularGrid.colSize.maxContent,
|
|
341
341
|
class: "tabular-grid-column"
|
|
342
|
-
}),
|
|
342
|
+
}), t("ch-tabular-grid-column", {
|
|
343
343
|
columnName: f(this, u, "f").tableHead.name,
|
|
344
344
|
columnNameHidden: false,
|
|
345
345
|
settingable: false,
|
|
346
346
|
size: n.tabularGrid.colSize.maxContent,
|
|
347
347
|
class: "tabular-grid-column"
|
|
348
|
-
}),
|
|
348
|
+
}), t("ch-tabular-grid-column", {
|
|
349
349
|
columnName: f(this, u, "f").tableHead.module,
|
|
350
350
|
columnNameHidden: false,
|
|
351
351
|
settingable: false,
|
|
352
352
|
size: n.tabularGrid.colSize.maxContent,
|
|
353
353
|
class: "tabular-grid-column"
|
|
354
|
-
}), this.gridColumnsVisibility.description &&
|
|
354
|
+
}), this.gridColumnsVisibility.description && t("ch-tabular-grid-column", {
|
|
355
355
|
columnName: f(this, u, "f").tableHead.description,
|
|
356
356
|
columnNameHidden: false,
|
|
357
357
|
settingable: false,
|
|
358
358
|
size: n.tabularGrid.colSize.auto,
|
|
359
359
|
class: "tabular-grid-column"
|
|
360
|
-
}), this.gridColumnsVisibility.modifiedDate &&
|
|
360
|
+
}), this.gridColumnsVisibility.modifiedDate && t("ch-tabular-grid-column", {
|
|
361
361
|
columnName: f(this, u, "f").tableHead.modifiedDate,
|
|
362
362
|
columnNameHidden: false,
|
|
363
363
|
settingable: false,
|
|
364
364
|
size: n.tabularGrid.colSize.maxContent,
|
|
365
365
|
class: "tabular-grid-column"
|
|
366
|
-
}), this.gridColumnsVisibility.lastUser &&
|
|
366
|
+
}), this.gridColumnsVisibility.lastUser && t("ch-tabular-grid-column", {
|
|
367
367
|
columnName: f(this, u, "f").tableHead.lastUser,
|
|
368
368
|
columnNameHidden: false,
|
|
369
369
|
settingable: false,
|
|
370
370
|
size: n.tabularGrid.colSize.maxContent,
|
|
371
371
|
class: "tabular-grid-column"
|
|
372
|
-
}), this.gridColumnsVisibility.importDate &&
|
|
372
|
+
}), this.gridColumnsVisibility.importDate && t("ch-tabular-grid-column", {
|
|
373
373
|
columnName: f(this, u, "f").tableHead.importDate,
|
|
374
374
|
columnNameHidden: false,
|
|
375
375
|
settingable: false,
|
|
376
376
|
size: n.tabularGrid.colSize.maxContent,
|
|
377
377
|
class: "tabular-grid-column"
|
|
378
|
-
}), this.gridColumnsVisibility.lastBuildDate &&
|
|
378
|
+
}), this.gridColumnsVisibility.lastBuildDate && t("ch-tabular-grid-column", {
|
|
379
379
|
columnName: f(this, u, "f").tableHead.lastBuildDate,
|
|
380
380
|
columnNameHidden: false,
|
|
381
381
|
settingable: false,
|
|
382
382
|
size: n.tabularGrid.colSize.maxContent,
|
|
383
383
|
class: "tabular-grid-column"
|
|
384
|
-
})), !i ?
|
|
384
|
+
})), !i ? t("ch-tabular-grid-rowset", {
|
|
385
385
|
class: "tabular-grid-rowset"
|
|
386
|
-
}, (
|
|
386
|
+
}, (e = this.objects) === null || e === void 0 ? void 0 : e.map((e => {
|
|
387
387
|
var i;
|
|
388
|
-
return
|
|
389
|
-
rowid:
|
|
388
|
+
return t("ch-tabular-grid-row", {
|
|
389
|
+
rowid: e.id,
|
|
390
390
|
class: "tabular-grid-row"
|
|
391
|
-
},
|
|
391
|
+
}, t("ch-tabular-grid-cell", {
|
|
392
392
|
class: "tabular-grid-cell"
|
|
393
|
-
},
|
|
394
|
-
src:
|
|
395
|
-
})),
|
|
393
|
+
}, t("ch-image", {
|
|
394
|
+
src: e.icon
|
|
395
|
+
})), t("ch-tabular-grid-cell", {
|
|
396
396
|
class: "tabular-grid-cell"
|
|
397
|
-
}, r(
|
|
397
|
+
}, r(e.name.toLowerCase(), f(this, p, "f").toLowerCase())), t("ch-tabular-grid-cell", {
|
|
398
398
|
class: "tabular-grid-cell"
|
|
399
|
-
},
|
|
399
|
+
}, e.parent), this.gridColumnsVisibility.description && t("ch-tabular-grid-cell", {
|
|
400
400
|
class: "tabular-grid-cell tabular-grid-cell-description"
|
|
401
|
-
},
|
|
401
|
+
}, e.description), this.gridColumnsVisibility.modifiedDate && t("ch-tabular-grid-cell", {
|
|
402
402
|
class: "tabular-grid-cell"
|
|
403
|
-
}, f(this, V, "f").call(this,
|
|
403
|
+
}, f(this, V, "f").call(this, e.modifiedDate, this.dateTimeValue)), this.gridColumnsVisibility.lastUser && t("ch-tabular-grid-cell", {
|
|
404
404
|
class: "tabular-grid-cell"
|
|
405
|
-
}, r((i =
|
|
405
|
+
}, r((i = e.lastUser) === null || i === void 0 ? void 0 : i.toLowerCase(), f(this, k, "f"))), this.gridColumnsVisibility.importDate && t("ch-tabular-grid-cell", {
|
|
406
406
|
class: "tabular-grid-cell"
|
|
407
|
-
}, r(
|
|
407
|
+
}, r(e.importDate ? f(this, A, "f").call(this, e.importDate) : "", f(this, p, "f"))), this.gridColumnsVisibility.lastBuildDate && t("ch-tabular-grid-cell", {
|
|
408
408
|
class: "tabular-grid-cell"
|
|
409
|
-
}, r(
|
|
410
|
-
}))) :
|
|
409
|
+
}, r(e.lastBuildDate ? f(this, A, "f").call(this, e.lastBuildDate) : "", f(this, p, "f"))));
|
|
410
|
+
}))) : t("ch-tabular-grid-rowset", {
|
|
411
411
|
class: "tabular-grid-rowset"
|
|
412
|
-
},
|
|
412
|
+
}, t("ch-tabular-grid-rowset-empty", null, this.isLoading ? t("gx-ide-loader", {
|
|
413
413
|
loaderTitle: f(this, u, "f").loader.title,
|
|
414
414
|
description: f(this, u, "f").loader.description,
|
|
415
415
|
show: true
|
|
416
|
-
}) :
|
|
416
|
+
}) : t("gx-ide-empty-state", {
|
|
417
417
|
isAnimated: true,
|
|
418
418
|
stateIconSrc: R,
|
|
419
419
|
stateTitle: f(this, u, "f").emptyState.title
|
|
420
420
|
}))));
|
|
421
421
|
}));
|
|
422
|
-
S.set(this, (
|
|
423
|
-
h(this, b,
|
|
422
|
+
S.set(this, (e => {
|
|
423
|
+
h(this, b, e.detail, "f");
|
|
424
424
|
f(this, L, "f").call(this);
|
|
425
425
|
}));
|
|
426
|
-
$.set(this, (
|
|
427
|
-
h(this, p,
|
|
426
|
+
$.set(this, (e => {
|
|
427
|
+
h(this, p, e.detail, "f");
|
|
428
428
|
f(this, L, "f").call(this);
|
|
429
429
|
}));
|
|
430
430
|
O.set(this, (() => {
|
|
@@ -433,8 +433,8 @@ const nt = class {
|
|
|
433
433
|
U.set(this, (() => {
|
|
434
434
|
this.openSelectionCallback(f(this, y, "f"));
|
|
435
435
|
}));
|
|
436
|
-
X.set(this, (
|
|
437
|
-
h(this, g,
|
|
436
|
+
X.set(this, (e => {
|
|
437
|
+
h(this, g, e.detail, "f");
|
|
438
438
|
f(this, L, "f").call(this);
|
|
439
439
|
}));
|
|
440
440
|
Y.set(this, (() => {
|
|
@@ -444,12 +444,12 @@ const nt = class {
|
|
|
444
444
|
}
|
|
445
445
|
this.isLoading = true;
|
|
446
446
|
}));
|
|
447
|
-
q.set(this, (
|
|
448
|
-
h(this, k,
|
|
447
|
+
q.set(this, (e => {
|
|
448
|
+
h(this, k, e.detail, "f");
|
|
449
449
|
f(this, L, "f").call(this);
|
|
450
450
|
}));
|
|
451
|
-
G.set(this, (
|
|
452
|
-
this.showModified =
|
|
451
|
+
G.set(this, (e => {
|
|
452
|
+
this.showModified = e.detail;
|
|
453
453
|
}));
|
|
454
454
|
J.set(this, (() => {
|
|
455
455
|
if (f(this, x, "f") && typeof f(this, x, "f").selectAllRows === "function") {
|
|
@@ -461,7 +461,7 @@ const nt = class {
|
|
|
461
461
|
this.dateTimeValue = undefined;
|
|
462
462
|
this.isLoading = true;
|
|
463
463
|
this.filterAfterComboBoxModel = undefined;
|
|
464
|
-
this.showModified =
|
|
464
|
+
this.showModified = ae;
|
|
465
465
|
this.objects = [];
|
|
466
466
|
this.categories = undefined;
|
|
467
467
|
this.contextMenuCallback = undefined;
|
|
@@ -485,8 +485,8 @@ const nt = class {
|
|
|
485
485
|
dateTimeValueChanged() {
|
|
486
486
|
f(this, L, "f").call(this);
|
|
487
487
|
}
|
|
488
|
-
categoriesChanged(
|
|
489
|
-
this.categoriesComboBoxModel = o(
|
|
488
|
+
categoriesChanged(e) {
|
|
489
|
+
this.categoriesComboBoxModel = o(e);
|
|
490
490
|
}
|
|
491
491
|
async componentWillLoad() {
|
|
492
492
|
h(this, u, await l.getComponentStrings(this.el), "f");
|
|
@@ -494,50 +494,42 @@ const nt = class {
|
|
|
494
494
|
this.categoriesChanged(this.categories);
|
|
495
495
|
// initialize "After" combo-box options
|
|
496
496
|
this.filterAfterComboBoxModel = [ {
|
|
497
|
-
caption: f(this, u, "f").filter[
|
|
498
|
-
value:
|
|
497
|
+
caption: f(this, u, "f").filter[te],
|
|
498
|
+
value: te
|
|
499
499
|
}, {
|
|
500
|
-
caption: f(this, u, "f").filter[
|
|
501
|
-
value:
|
|
500
|
+
caption: f(this, u, "f").filter[ie],
|
|
501
|
+
value: ie
|
|
502
502
|
}, {
|
|
503
|
-
caption: f(this, u, "f").filter[
|
|
504
|
-
value:
|
|
503
|
+
caption: f(this, u, "f").filter[se],
|
|
504
|
+
value: se
|
|
505
505
|
} ];
|
|
506
506
|
// initialize accordion model with proper configuration
|
|
507
507
|
h(this, m, [ {
|
|
508
|
-
id:
|
|
508
|
+
id: ee,
|
|
509
509
|
caption: f(this, u, "f").filter.accordionCaption,
|
|
510
510
|
expanded: false
|
|
511
511
|
} ], "f");
|
|
512
512
|
f(this, W, "f").call(this);
|
|
513
513
|
}
|
|
514
514
|
componentDidLoad() {
|
|
515
|
-
f(this,
|
|
515
|
+
f(this, T, "f").call(this);
|
|
516
516
|
f(this, L, "f").call(this);
|
|
517
517
|
}
|
|
518
|
-
|
|
519
|
-
// Clean up event listeners to prevent memory leaks
|
|
520
|
-
if (f(this, x, "f")) {
|
|
521
|
-
f(this, x, "f").removeEventListener("selectionChanged", f(this, C, "f"));
|
|
522
|
-
f(this, x, "f").removeEventListener("rowDoubleClicked", f(this, z, "f"));
|
|
523
|
-
f(this, x, "f").removeEventListener("rowContextMenu", f(this, N, "f"));
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
keyDownHandler(t) {
|
|
518
|
+
keyDownHandler(e) {
|
|
527
519
|
if (document.activeElement === this.el) {
|
|
528
|
-
switch (
|
|
520
|
+
switch (e.key) {
|
|
529
521
|
case "Enter":
|
|
530
|
-
|
|
522
|
+
e.preventDefault();
|
|
531
523
|
f(this, U, "f").call(this);
|
|
532
524
|
break;
|
|
533
525
|
|
|
534
526
|
case "Delete":
|
|
535
|
-
|
|
527
|
+
e.preventDefault();
|
|
536
528
|
f(this, H, "f").call(this);
|
|
537
529
|
break;
|
|
538
530
|
|
|
539
531
|
case "Escape":
|
|
540
|
-
|
|
532
|
+
e.preventDefault();
|
|
541
533
|
f(this, I, "f").call(this);
|
|
542
534
|
break;
|
|
543
535
|
}
|
|
@@ -551,42 +543,42 @@ const nt = class {
|
|
|
551
543
|
f(this, W, "f").call(this);
|
|
552
544
|
f(this, L, "f").call(this);
|
|
553
545
|
}
|
|
554
|
-
} catch (
|
|
546
|
+
} catch (e) {
|
|
555
547
|
console.error("Error in reload method:");
|
|
556
548
|
// Fallback: try only getObjects if setFilterDefaultValues fails
|
|
557
549
|
try {
|
|
558
550
|
f(this, L, "f").call(this);
|
|
559
|
-
} catch (
|
|
551
|
+
} catch (e) {
|
|
560
552
|
console.error("Fallback also failed:");
|
|
561
553
|
}
|
|
562
554
|
}
|
|
563
555
|
}
|
|
564
556
|
render() {
|
|
565
|
-
var
|
|
566
|
-
return
|
|
557
|
+
var e;
|
|
558
|
+
return t(i, {
|
|
567
559
|
class: "widget"
|
|
568
|
-
},
|
|
560
|
+
}, t("ch-theme", {
|
|
569
561
|
model: K
|
|
570
|
-
}),
|
|
562
|
+
}), t("section", {
|
|
571
563
|
class: "section"
|
|
572
|
-
},
|
|
564
|
+
}, t("header", {
|
|
573
565
|
class: "header control-header-with-border spacing-body-inline spacing-body-block-start field-group"
|
|
574
|
-
}, f(this, P, "f").call(this)), f(this, B, "f").call(this),
|
|
566
|
+
}, f(this, P, "f").call(this)), f(this, B, "f").call(this), t("footer", {
|
|
575
567
|
class: "control-footer-with-border control-footer-space-between spacing-body"
|
|
576
|
-
},
|
|
568
|
+
}, t("p", {
|
|
577
569
|
// matching objects
|
|
578
570
|
class: "text-body",
|
|
579
571
|
part: "objects-matching"
|
|
580
|
-
}, `${(
|
|
572
|
+
}, `${(e = this.objects) === null || e === void 0 ? void 0 : e.length} ${f(this, u, "f").objCount.matching}`), t("div", {
|
|
581
573
|
class: "buttons-spacer"
|
|
582
|
-
},
|
|
574
|
+
}, t("button", {
|
|
583
575
|
// select all button
|
|
584
576
|
id: "button-select-all",
|
|
585
577
|
class: "button-secondary",
|
|
586
578
|
onClick: f(this, J, "f"),
|
|
587
579
|
part: "button button--select-all",
|
|
588
580
|
disabled: this.isLoading
|
|
589
|
-
}, f(this, u, "f").footer.btnSelectAll),
|
|
581
|
+
}, f(this, u, "f").footer.btnSelectAll), t("button", {
|
|
590
582
|
// new file button
|
|
591
583
|
id: "button-new-file",
|
|
592
584
|
class: "button-primary button-icon-and-text",
|
|
@@ -612,13 +604,13 @@ const nt = class {
|
|
|
612
604
|
u = new WeakMap, m = new WeakMap, p = new WeakMap, b = new WeakMap, g = new WeakMap,
|
|
613
605
|
w = new WeakMap, v = new WeakMap, k = new WeakMap, y = new WeakMap, x = new WeakMap,
|
|
614
606
|
M = new WeakMap, W = new WeakMap, _ = new WeakMap, C = new WeakMap, z = new WeakMap,
|
|
615
|
-
N = new WeakMap,
|
|
607
|
+
N = new WeakMap, T = new WeakMap, D = new WeakMap, j = new WeakMap, E = new WeakMap,
|
|
616
608
|
H = new WeakMap, I = new WeakMap, V = new WeakMap, F = new WeakMap, A = new WeakMap,
|
|
617
609
|
L = new WeakMap, P = new WeakMap, B = new WeakMap, S = new WeakMap, $ = new WeakMap,
|
|
618
610
|
O = new WeakMap, U = new WeakMap, X = new WeakMap, Y = new WeakMap, q = new WeakMap,
|
|
619
611
|
G = new WeakMap, J = new WeakMap;
|
|
620
612
|
|
|
621
|
-
|
|
613
|
+
ne.style = c;
|
|
622
614
|
|
|
623
|
-
export {
|
|
624
|
-
//# sourceMappingURL=p-
|
|
615
|
+
export { ne as gx_ide_ww_files };
|
|
616
|
+
//# sourceMappingURL=p-8c867f9a.entry.js.map
|