@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.
Files changed (76) hide show
  1. package/dist/cjs/gx-ide-new-kb.cjs.entry.js +10 -4
  2. package/dist/cjs/gx-ide-new-kb.cjs.entry.js.map +1 -1
  3. package/dist/cjs/gx-ide-server-selector.cjs.entry.js +2 -2
  4. package/dist/cjs/gx-ide-server-selector.cjs.entry.js.map +1 -1
  5. package/dist/cjs/gx-ide-team-dev-bring-changes.cjs.entry.js +2 -2
  6. package/dist/cjs/gx-ide-team-dev-bring-changes.cjs.entry.js.map +1 -1
  7. package/dist/cjs/gx-ide-team-dev-commit.cjs.entry.js +2 -2
  8. package/dist/cjs/gx-ide-team-dev-commit.cjs.entry.js.map +1 -1
  9. package/dist/cjs/gx-ide-team-dev-history.cjs.entry.js +41 -5
  10. package/dist/cjs/gx-ide-team-dev-history.cjs.entry.js.map +1 -1
  11. package/dist/cjs/gx-ide-team-dev-update.cjs.entry.js +2 -2
  12. package/dist/cjs/gx-ide-team-dev-update.cjs.entry.js.map +1 -1
  13. package/dist/cjs/{tabular-grid-column-sort-5ca06dc1.js → tabular-grid-column-sort-c635967f.js} +9 -1
  14. package/dist/cjs/tabular-grid-column-sort-c635967f.js.map +1 -0
  15. package/dist/collection/common/chameleon/tabular-grid-column-sort.js +8 -0
  16. package/dist/collection/common/chameleon/tabular-grid-column-sort.js.map +1 -1
  17. package/dist/collection/components/new-kb/new-kb.js +10 -4
  18. package/dist/collection/components/new-kb/new-kb.js.map +1 -1
  19. package/dist/collection/components/team-dev/bring-changes/bring-changes.css +10 -0
  20. package/dist/collection/components/team-dev/history/history.css +10 -0
  21. package/dist/collection/components/team-dev/history/history.js +40 -4
  22. package/dist/collection/components/team-dev/history/history.js.map +1 -1
  23. package/dist/collection/components/team-dev/server-selector/server-selector.css +10 -0
  24. package/dist/collection/components/team-dev/update/update.css +10 -0
  25. package/dist/collection/components/team-dev/version-control/commit/commit.css +10 -0
  26. package/dist/components/gx-ide-new-kb.js +10 -4
  27. package/dist/components/gx-ide-new-kb.js.map +1 -1
  28. package/dist/components/gx-ide-server-selector.js +1 -1
  29. package/dist/components/gx-ide-server-selector.js.map +1 -1
  30. package/dist/components/gx-ide-team-dev-bring-changes.js +1 -1
  31. package/dist/components/gx-ide-team-dev-bring-changes.js.map +1 -1
  32. package/dist/components/gx-ide-team-dev-commit.js +1 -1
  33. package/dist/components/gx-ide-team-dev-commit.js.map +1 -1
  34. package/dist/components/gx-ide-team-dev-history.js +41 -5
  35. package/dist/components/gx-ide-team-dev-history.js.map +1 -1
  36. package/dist/components/gx-ide-team-dev-update.js +1 -1
  37. package/dist/components/gx-ide-team-dev-update.js.map +1 -1
  38. package/dist/components/tabular-grid-column-sort.js +8 -0
  39. package/dist/components/tabular-grid-column-sort.js.map +1 -1
  40. package/dist/esm/gx-ide-new-kb.entry.js +10 -4
  41. package/dist/esm/gx-ide-new-kb.entry.js.map +1 -1
  42. package/dist/esm/gx-ide-server-selector.entry.js +2 -2
  43. package/dist/esm/gx-ide-server-selector.entry.js.map +1 -1
  44. package/dist/esm/gx-ide-team-dev-bring-changes.entry.js +2 -2
  45. package/dist/esm/gx-ide-team-dev-bring-changes.entry.js.map +1 -1
  46. package/dist/esm/gx-ide-team-dev-commit.entry.js +2 -2
  47. package/dist/esm/gx-ide-team-dev-commit.entry.js.map +1 -1
  48. package/dist/esm/gx-ide-team-dev-history.entry.js +41 -5
  49. package/dist/esm/gx-ide-team-dev-history.entry.js.map +1 -1
  50. package/dist/esm/gx-ide-team-dev-update.entry.js +2 -2
  51. package/dist/esm/gx-ide-team-dev-update.entry.js.map +1 -1
  52. package/dist/esm/{tabular-grid-column-sort-1d503b27.js → tabular-grid-column-sort-882e9c03.js} +9 -1
  53. package/dist/esm/tabular-grid-column-sort-882e9c03.js.map +1 -0
  54. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
  55. package/dist/genexus-ide-ui/p-1b811074.js +44 -0
  56. package/dist/genexus-ide-ui/p-1b811074.js.map +1 -0
  57. package/dist/genexus-ide-ui/{p-944a589f.entry.js → p-2168cc7f.entry.js} +3 -3
  58. package/dist/genexus-ide-ui/{p-c2f2d79f.entry.js → p-6bbc342d.entry.js} +163 -103
  59. package/dist/genexus-ide-ui/p-6bbc342d.entry.js.map +1 -0
  60. package/dist/genexus-ide-ui/{p-7b76b0e4.entry.js → p-82caf783.entry.js} +13 -13
  61. package/dist/genexus-ide-ui/{p-f1b452fb.entry.js → p-9acf9b26.entry.js} +11 -11
  62. package/dist/genexus-ide-ui/{p-cd9e9e2b.entry.js → p-dfad17cc.entry.js} +3 -3
  63. package/dist/genexus-ide-ui/{p-ea98ae0b.entry.js → p-eb2b88d4.entry.js} +133 -126
  64. package/dist/genexus-ide-ui/p-eb2b88d4.entry.js.map +1 -0
  65. package/dist/types/common/chameleon/tabular-grid-column-sort.d.ts +1 -1
  66. package/package.json +1 -1
  67. package/dist/cjs/tabular-grid-column-sort-5ca06dc1.js.map +0 -1
  68. package/dist/esm/tabular-grid-column-sort-1d503b27.js.map +0 -1
  69. package/dist/genexus-ide-ui/p-02fb496a.js +0 -36
  70. package/dist/genexus-ide-ui/p-02fb496a.js.map +0 -1
  71. package/dist/genexus-ide-ui/p-c2f2d79f.entry.js.map +0 -1
  72. package/dist/genexus-ide-ui/p-ea98ae0b.entry.js.map +0 -1
  73. /package/dist/genexus-ide-ui/{p-944a589f.entry.js.map → p-2168cc7f.entry.js.map} +0 -0
  74. /package/dist/genexus-ide-ui/{p-7b76b0e4.entry.js.map → p-82caf783.entry.js.map} +0 -0
  75. /package/dist/genexus-ide-ui/{p-f1b452fb.entry.js.map → p-9acf9b26.entry.js.map} +0 -0
  76. /package/dist/genexus-ide-ui/{p-cd9e9e2b.entry.js.map → p-dfad17cc.entry.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { r as i, g as t, h as s, H as e, a } from "./p-9b9ccd0c.js";
2
2
 
3
- import { g as o } from "./p-d42e842b.js";
3
+ import { g as n } from "./p-d42e842b.js";
4
4
 
5
5
  import "./p-6534555e.js";
6
6
 
@@ -10,7 +10,7 @@ import "lit/directives/when.js";
10
10
 
11
11
  import "lit/directives/if-defined.js";
12
12
 
13
- import { c as n } from "./p-c5196b3b.js";
13
+ import { c as o } from "./p-c5196b3b.js";
14
14
 
15
15
  import { L as l } from "./p-311eedf3.js";
16
16
 
@@ -37,55 +37,55 @@ var g = undefined && undefined.__classPrivateFieldSet || function(i, t, s, e, a)
37
37
  return e === "a" ? a.call(i, s) : a ? a.value = s : t.set(i, s), s;
38
38
  };
39
39
 
40
- var v, m, k, w, y, x, _, M, W, I, T, E, F, z, D, L, j, N, S, C, P, A, B, $, K, U, H, O, V, G, Q, R, X, q, J, Y, Z, ii, ti, si, ei, ai, oi, ni, li, ri, hi, ci, di, fi, ui, pi, bi, gi, vi, mi, ki;
40
+ var v, m, k, w, y, x, _, M, W, I, T, E, F, z, D, L, j, N, S, C, P, A, B, $, K, U, H, O, V, G, Q, R, X, q, J, Y, Z, ii, ti, si, ei, ai, ni, oi, li, ri, hi, ci, di, fi, ui, pi, bi, gi, vi, mi, ki, wi;
41
41
 
42
- const wi = [ "resets/box-sizing", "components/tab", "components/tooltip", "utils/form--full", "utils/layout", "utils/typography", "utils/spacing", "chameleon/scrollbar" ];
42
+ const yi = [ "resets/box-sizing", "components/tab", "components/tooltip", "utils/form--full", "utils/layout", "utils/typography", "utils/spacing", "chameleon/scrollbar" ];
43
43
 
44
- const yi = "WINDOWS_AUTHENTICATION";
44
+ const xi = "WINDOWS_AUTHENTICATION";
45
45
 
46
- const xi = "(LocalDB)\\MSSQLLocalDB";
46
+ const _i = "(LocalDB)\\MSSQLLocalDB";
47
47
 
48
- const _i = "main";
48
+ const Mi = "main";
49
49
 
50
- const Mi = "basic";
50
+ const Wi = "basic";
51
51
 
52
- const Wi = o({
52
+ const Ii = n({
53
53
  category: "system",
54
54
  name: "folder",
55
55
  colorType: "primary"
56
56
  });
57
57
 
58
- const Ii = o({
58
+ const Ti = n({
59
59
  category: "system",
60
60
  name: "warning",
61
61
  colorType: "on-interactive"
62
62
  });
63
63
 
64
- const Ti = o({
64
+ const Ei = n({
65
65
  category: "system",
66
66
  name: "database",
67
67
  colorType: "primary"
68
68
  });
69
69
 
70
- const Ei = o({
70
+ const Fi = n({
71
71
  category: "system",
72
72
  name: "check-circle",
73
73
  colorType: "success"
74
74
  });
75
75
 
76
- const Fi = o({
76
+ const zi = n({
77
77
  category: "system",
78
78
  name: "warning",
79
79
  colorType: "error"
80
80
  });
81
81
 
82
- const zi = "GX_KB_";
82
+ const Di = "GX_KB_";
83
83
 
84
- const Di = "basic";
84
+ const Li = "basic";
85
85
 
86
- const Li = "advanced";
86
+ const ji = "advanced";
87
87
 
88
- const ji = class {
88
+ const Ni = class {
89
89
  constructor(e) {
90
90
  i(this, e);
91
91
  v.set(this, false);
@@ -126,7 +126,7 @@ const ji = class {
126
126
  * overwrite the UI with the wrong (failed) result.
127
127
  */ $.set(this, 0);
128
128
  K.set(this, void 0);
129
- U.set(this, (i => `${zi}${i !== null && i !== void 0 ? i : ""}`));
129
+ U.set(this, (i => `${Di}${i !== null && i !== void 0 ? i : ""}`));
130
130
  H.set(this, (i => {
131
131
  var t, s;
132
132
  const e = (t = i.detail) !== null && t !== void 0 ? t : (s = b(this, F, "f")) === null || s === void 0 ? void 0 : s.value;
@@ -141,13 +141,13 @@ const ji = class {
141
141
  this.collations = [];
142
142
  this.defaultCollation = undefined;
143
143
  this.connectionStatus = undefined;
144
- await b(this, Z, "f").call(this);
144
+ await b(this, ii, "f").call(this);
145
145
  }));
146
146
  G.set(this, (async () => {
147
147
  var i, t, s, e;
148
148
  this.userNameValue = (t = (i = b(this, B, "f")) === null || i === void 0 ? void 0 : i.value) !== null && t !== void 0 ? t : "";
149
149
  this.passwordValue = (e = (s = b(this, j, "f")) === null || s === void 0 ? void 0 : s.value) !== null && e !== void 0 ? e : "";
150
- await b(this, Z, "f").call(this);
150
+ await b(this, ii, "f").call(this);
151
151
  }));
152
152
  Q.set(this, (async () => {
153
153
  if (!this.browseForMoreCallback) {
@@ -174,14 +174,14 @@ const ji = class {
174
174
  const e = (t = i === null || i === void 0 ? void 0 : i.detail) !== null && t !== void 0 ? t : (s = i.target) === null || s === void 0 ? void 0 : s.value;
175
175
  this.serverNameValue = e !== null && e !== void 0 ? e : "";
176
176
  b(this, Y, "f").call(this);
177
- await b(this, Z, "f").call(this);
177
+ await b(this, ii, "f").call(this);
178
178
  }));
179
179
  X.set(this, (i => {
180
180
  var t;
181
181
  if (!i) {
182
182
  return "empty";
183
183
  }
184
- if (i.toLowerCase() === xi.toLowerCase()) {
184
+ if (i.toLowerCase() === _i.toLowerCase()) {
185
185
  return "localdb";
186
186
  }
187
187
  const s = ((t = this.serverInstances) !== null && t !== void 0 ? t : []).some((t => {
@@ -196,7 +196,7 @@ const ji = class {
196
196
  }));
197
197
  J.set(this, (() => {
198
198
  const i = this.authenticationTypeValue;
199
- if (!i || i === yi) {
199
+ if (!i || i === xi) {
200
200
  return false;
201
201
  }
202
202
  return !this.userNameValue || !this.passwordValue;
@@ -209,18 +209,22 @@ const ji = class {
209
209
  this.createDataFilesInKBFolder = false;
210
210
  }
211
211
  }));
212
- Z.set(this, (async () => {
212
+ Z.set(this, (i => {
213
+ const t = i.target;
214
+ this.createDataFilesInKBFolder = i.detail === t.checkedValue;
215
+ }));
216
+ ii.set(this, (async () => {
213
217
  var i, t, s, e;
214
218
  var a;
215
- const o = this.serverNameValue;
216
- if (!o || !this.getCollationsForInstanceCallback) {
219
+ const n = this.serverNameValue;
220
+ if (!n || !this.getCollationsForInstanceCallback) {
217
221
  return;
218
222
  }
219
- const n = this.authenticationTypeValue;
220
- const l = n === yi;
223
+ const o = this.authenticationTypeValue;
224
+ const l = o === xi;
221
225
  const r = l ? undefined : (i = b(this, B, "f")) === null || i === void 0 ? void 0 : i.value;
222
226
  const h = l ? undefined : (t = b(this, j, "f")) === null || t === void 0 ? void 0 : t.value;
223
- if (!l && n && (!r || !h)) {
227
+ if (!l && o && (!r || !h)) {
224
228
  return;
225
229
  }
226
230
  // Tag this request so we can ignore its response if a newer request is
@@ -229,7 +233,7 @@ const ji = class {
229
233
  const c = g(this, $, (a = b(this, $, "f"), ++a), "f");
230
234
  this.connectionStatus = "connecting";
231
235
  try {
232
- const i = await this.getCollationsForInstanceCallback(o, n, r, h);
236
+ const i = await this.getCollationsForInstanceCallback(n, o, r, h);
233
237
  if (c !== b(this, $, "f")) {
234
238
  // A newer request superseded this one; discard the stale response.
235
239
  return;
@@ -252,20 +256,20 @@ const ji = class {
252
256
  this.connectionStatus = "failed";
253
257
  }
254
258
  }));
255
- ii.set(this, (i => {
259
+ ti.set(this, (i => {
256
260
  g(this, w, i.detail, "f");
257
- b(this, fi, "f").call(this);
258
- b(this, ki, "f").call(this);
261
+ b(this, ui, "f").call(this);
262
+ b(this, wi, "f").call(this);
259
263
  }));
260
- ti.set(this, (async () => {
261
- await b(this, di, "f").call(this);
262
- b(this, fi, "f").call(this);
264
+ si.set(this, (async () => {
265
+ await b(this, fi, "f").call(this);
266
+ b(this, ui, "f").call(this);
263
267
  }));
264
- si.set(this, (() => {
268
+ ei.set(this, (() => {
265
269
  g(this, y, b(this, E, "f").value, "f");
266
270
  }));
267
- ei.set(this, (() => {
268
- const i = this.authenticationTypeValue !== yi;
271
+ ai.set(this, (() => {
272
+ const i = this.authenticationTypeValue !== xi;
269
273
  return [ s("section", {
270
274
  class: "kb-storage-card",
271
275
  part: "kb-storage-card"
@@ -303,7 +307,7 @@ const ji = class {
303
307
  part: "server-name",
304
308
  model: this.serverInstancesComboBoxModel,
305
309
  suggest: true,
306
- suggestDebounce: n.inputDebounce,
310
+ suggestDebounce: o.inputDebounce,
307
311
  onInput: b(this, R, "f"),
308
312
  onChange: b(this, R, "f")
309
313
  }), s("button", {
@@ -313,14 +317,14 @@ const ji = class {
313
317
  onClick: b(this, Q, "f")
314
318
  }, s("ch-image", {
315
319
  class: "icon-m",
316
- src: Ti
320
+ src: Ei
317
321
  }), !this.browseForMoreDialogOpen && s("ch-tooltip", {
318
322
  class: "tooltip",
319
323
  actionElement: null,
320
324
  blockAlign: "outside-start",
321
325
  inlineAlign: "center",
322
- delay: n.tooltipSettings.delay
323
- }, b(this, m, "f").tabAdvanced.serverName.browseForMore))), b(this, li, "f").call(this, b(this, P, "f"))), s("div", {
326
+ delay: o.tooltipSettings.delay
327
+ }, b(this, m, "f").tabAdvanced.serverName.browseForMore))), b(this, ri, "f").call(this, b(this, P, "f"))), s("div", {
324
328
  class: "field field-block database-field"
325
329
  }, s("label", {
326
330
  class: "label",
@@ -332,7 +336,7 @@ const ji = class {
332
336
  part: "database-name",
333
337
  onInput: b(this, O, "f"),
334
338
  ref: i => g(this, T, i, "f")
335
- }), b(this, li, "f").call(this, b(this, T, "f"))), s("div", {
339
+ }), b(this, ri, "f").call(this, b(this, T, "f"))), s("div", {
336
340
  class: "field field-block collation-field"
337
341
  }, s("label", {
338
342
  class: "label",
@@ -346,11 +350,12 @@ const ji = class {
346
350
  model: this.collationsComboBoxModel,
347
351
  id: "collation",
348
352
  part: "collation"
349
- }), b(this, li, "f").call(this, b(this, W, "f"))), s("ch-checkbox", {
353
+ }), b(this, ri, "f").call(this, b(this, W, "f"))), s("ch-checkbox", {
350
354
  class: "checkbox",
351
355
  checkedValue: "true",
352
356
  value: this.createDataFilesInKBFolder ? "true" : undefined,
353
357
  disabled: b(this, q, "f").call(this),
358
+ onInput: b(this, Z, "f"),
354
359
  caption: b(this, m, "f").tabAdvanced.createDataFilesInKbFolder,
355
360
  part: "create-data-in-kb",
356
361
  id: "createDataFilesInKBFolder",
@@ -381,7 +386,7 @@ const ji = class {
381
386
  id: "authenticationType",
382
387
  part: "authentication-type",
383
388
  onInput: this.authenticationTypes.length > 0 ? b(this, V, "f") : undefined
384
- }), b(this, li, "f").call(this, b(this, M, "f"))), i ? s("div", {
389
+ }), b(this, ri, "f").call(this, b(this, M, "f"))), i ? s("div", {
385
390
  class: "kb-storage-credentials"
386
391
  }, s("div", {
387
392
  class: "field field-block username-field"
@@ -395,8 +400,8 @@ const ji = class {
395
400
  part: "user-name",
396
401
  ref: i => g(this, B, i, "f"),
397
402
  onInput: b(this, G, "f"),
398
- debounce: n.inputDebounce
399
- }), b(this, li, "f").call(this, b(this, B, "f"))), s("div", {
403
+ debounce: o.inputDebounce
404
+ }), b(this, ri, "f").call(this, b(this, B, "f"))), s("div", {
400
405
  class: "field field-block password-field"
401
406
  }, s("label", {
402
407
  class: "label",
@@ -410,8 +415,8 @@ const ji = class {
410
415
  part: "password",
411
416
  ref: i => g(this, j, i, "f"),
412
417
  onInput: b(this, G, "f"),
413
- debounce: n.inputDebounce
414
- }), b(this, li, "f").call(this, b(this, j, "f"))), s("ch-checkbox", {
418
+ debounce: o.inputDebounce
419
+ }), b(this, ri, "f").call(this, b(this, j, "f"))), s("ch-checkbox", {
415
420
  class: "checkbox",
416
421
  checkedValue: "password",
417
422
  value: "password",
@@ -425,7 +430,7 @@ const ji = class {
425
430
  part: "windows-auth-callout"
426
431
  }, s("ch-image", {
427
432
  class: "icon-l",
428
- src: Ii,
433
+ src: Ti,
429
434
  type: "mask"
430
435
  }), s("div", {
431
436
  class: "kb-storage-callout-inner"
@@ -435,7 +440,7 @@ const ji = class {
435
440
  class: "kb-storage-callout__description body-regular-xs"
436
441
  }, b(this, m, "f").tabAdvanced.windowsAuthCalloutDescription))))))) ];
437
442
  }));
438
- ai.set(this, (() => [ s("section", {
443
+ ni.set(this, (() => [ s("section", {
439
444
  class: "basic__header field-group dialog-header-with-border spacing-body-inline"
440
445
  }, s("div", {
441
446
  // #prototyping target
@@ -451,9 +456,9 @@ const ji = class {
451
456
  placeholder: this.prototypingTargets.length === 0 ? b(this, m, "f").tabBasic.prototypingTarget.disabledPlaceholder : "",
452
457
  value: this.prototypingTargetsInitialValue,
453
458
  model: this.prototypingTargetsComboBoxModel,
454
- onInput: this.prototypingTargets.length > 0 ? b(this, ti, "f") : undefined,
459
+ onInput: this.prototypingTargets.length > 0 ? b(this, si, "f") : undefined,
455
460
  ref: i => g(this, S, i, "f")
456
- }), b(this, li, "f").call(this, b(this, S, "f"))), s("div", {
461
+ }), b(this, ri, "f").call(this, b(this, S, "f"))), s("div", {
457
462
  // #user interface
458
463
  class: "field field-block user-interface-language"
459
464
  }, s("label", {
@@ -468,7 +473,7 @@ const ji = class {
468
473
  model: this.userInterfaceLanguagesComboBoxModel,
469
474
  id: "userInterfaceLanguage",
470
475
  part: "user-interface-language"
471
- }), b(this, li, "f").call(this, b(this, A, "f")))), s("section", {
476
+ }), b(this, ri, "f").call(this, b(this, A, "f")))), s("section", {
472
477
  class: "section__back-end"
473
478
  }, s("h2", {
474
479
  // back end
@@ -488,10 +493,10 @@ const ji = class {
488
493
  value: b(this, w, "f"),
489
494
  ref: i => g(this, N, i, "f"),
490
495
  model: this.prototypingEnvironmentsComboBoxModel,
491
- onInput: b(this, ii, "f"),
496
+ onInput: b(this, ti, "f"),
492
497
  part: "prototyping-environment",
493
498
  id: "prototypingEnvironment"
494
- }), b(this, li, "f").call(this, b(this, N, "f"))), s("div", {
499
+ }), b(this, ri, "f").call(this, b(this, N, "f"))), s("div", {
495
500
  // #data source
496
501
  class: "field field-block"
497
502
  }, s("label", {
@@ -503,22 +508,22 @@ const ji = class {
503
508
  placeholder: this.defaultDataSources.length === 0 ? b(this, m, "f").tabBasic.backEnd.dataSource.disabledPlaceholder : "",
504
509
  value: b(this, y, "f"),
505
510
  ref: i => g(this, E, i, "f"),
506
- onInput: b(this, si, "f"),
511
+ onInput: b(this, ei, "f"),
507
512
  model: this.defaultDataSourcesComboBoxModel,
508
513
  part: "data-source",
509
514
  id: "dataSource"
510
- }), b(this, li, "f").call(this, b(this, E, "f"))))), s("section", {
515
+ }), b(this, ri, "f").call(this, b(this, E, "f"))))), s("section", {
511
516
  class: "section__front-end"
512
517
  }, s("h2", {
513
518
  class: "dialog-header dialog-header-with-border dialog-header__front-end subtitle-regular-xs\t text-align-center spacing-body-inline"
514
519
  }, b(this, m, "f").tabBasic.frontEnd.frontEndLabel), s("div", {
515
520
  class: "field-group main__front-end spacing-body-inline scrollable"
516
- }, c(this.frontEnds, b(this, ri, "f"), b(this, k, "f").get(b(this, w, "f"))), this.noFrontEndSelected && s("div", {
521
+ }, c(this.frontEnds, b(this, hi, "f"), b(this, k, "f").get(b(this, w, "f"))), this.noFrontEndSelected && s("div", {
517
522
  class: "kb-storage-callout",
518
523
  part: "backend-only-callout"
519
524
  }, s("ch-image", {
520
525
  class: "icon-l",
521
- src: Ii,
526
+ src: Ti,
522
527
  type: "mask"
523
528
  }), s("div", {
524
529
  class: "kb-storage-callout-inner"
@@ -533,17 +538,17 @@ const ji = class {
533
538
  this.cancelCallback();
534
539
  }
535
540
  }));
536
- ni.set(this, (() => {
537
- var i, t, s, e, a, o, n, l, r, h, c, d, u, p, g;
541
+ li.set(this, (() => {
542
+ var i, t, s, e, a, n, o, l, r, h, c, d, u, p, g;
538
543
  const v = (i = b(this, k, "f").get(b(this, w, "f"))) !== null && i !== void 0 ? i : [];
539
544
  this.createCallback({
540
545
  authenticationType: (t = b(this, M, "f")) === null || t === void 0 ? void 0 : t.value,
541
546
  collation: (s = b(this, W, "f")) === null || s === void 0 ? void 0 : s.value,
542
547
  createDataFilesInKBFolder: !!((e = b(this, I, "f")) === null || e === void 0 ? void 0 : e.value),
543
548
  dataSource: (a = b(this, E, "f")) === null || a === void 0 ? void 0 : a.value,
544
- databaseName: (o = b(this, T, "f")) === null || o === void 0 ? void 0 : o.value,
549
+ databaseName: (n = b(this, T, "f")) === null || n === void 0 ? void 0 : n.value,
545
550
  frontEnds: v,
546
- kbLocation: (n = b(this, z, "f")) === null || n === void 0 ? void 0 : n.value,
551
+ kbLocation: (o = b(this, z, "f")) === null || o === void 0 ? void 0 : o.value,
547
552
  kbName: (l = b(this, F, "f")) === null || l === void 0 ? void 0 : l.value,
548
553
  password: (r = b(this, j, "f")) === null || r === void 0 ? void 0 : r.value,
549
554
  prototypingEnvironment: (h = b(this, N, "f")) === null || h === void 0 ? void 0 : h.value,
@@ -559,26 +564,26 @@ const ji = class {
559
564
  }));
560
565
  // TODO: evaluate if this should be a global helper function.
561
566
  // It is used on new-kb as well.
562
- li.set(this, (i => {
567
+ ri.set(this, (i => {
563
568
  var t, e, a;
564
569
  return ((e = (t = this.validatableControls) === null || t === void 0 ? void 0 : t.get(i === null || i === void 0 ? void 0 : i.id)) === null || e === void 0 ? void 0 : e.hasError) && ((a = this.validatableControls.get(i.id)) === null || a === void 0 ? void 0 : a.message) && s("ch-tooltip", {
565
570
  class: "tooltip",
566
571
  actionElement: i,
567
- blockAlign: n.tooltipSettings.blockAlign,
568
- inlineAlign: n.tooltipSettings.inlineAlign,
569
- delay: n.tooltipSettings.delay
572
+ blockAlign: o.tooltipSettings.blockAlign,
573
+ inlineAlign: o.tooltipSettings.inlineAlign,
574
+ delay: o.tooltipSettings.delay
570
575
  }, this.validatableControls.get(i.id).message);
571
576
  }));
572
- ri.set(this, (i => {
577
+ hi.set(this, (i => {
573
578
  const t = i.target.checkedValue;
574
579
  const s = i.detail === t;
575
- b(this, ci, "f").call(this, t, s);
576
- b(this, hi, "f").call(this);
580
+ b(this, di, "f").call(this, t, s);
581
+ b(this, ci, "f").call(this);
577
582
  }));
578
583
  /**
579
584
  * Recomputes whether the KB will be generated as backend only, i.e. there
580
585
  * are front ends to choose from but none is currently selected.
581
- */ hi.set(this, (() => {
586
+ */ ci.set(this, (() => {
582
587
  var i, t, s;
583
588
  const e = b(this, k, "f").get(b(this, w, "f"));
584
589
  this.noFrontEndSelected = ((t = (i = this.frontEnds) === null || i === void 0 ? void 0 : i.length) !== null && t !== void 0 ? t : 0) > 0 && ((s = e === null || e === void 0 ? void 0 : e.length) !== null && s !== void 0 ? s : 0) === 0;
@@ -588,7 +593,7 @@ const ji = class {
588
593
  * checkboxes for each language front ends.
589
594
  */
590
595
  // eslint-disable-next-line @stencil-community/own-props-must-be-private
591
- ci.set(this, ((i, t) => {
596
+ di.set(this, ((i, t) => {
592
597
  let s = b(this, k, "f").get(b(this, w, "f"));
593
598
  if (!s) {
594
599
  // first time
@@ -604,7 +609,7 @@ const ji = class {
604
609
  u(s, t);
605
610
  }
606
611
  }));
607
- di.set(this, (async () => {
612
+ fi.set(this, (async () => {
608
613
  if (this.getPrototypingEnvironmentsCallback) {
609
614
  const i = b(this, S, "f") ? b(this, S, "f").value : this.prototypingTargetsInitialValue;
610
615
  const t = await this.getPrototypingEnvironmentsCallback(i);
@@ -613,7 +618,7 @@ const ji = class {
613
618
  }
614
619
  }
615
620
  }));
616
- fi.set(this, (() => {
621
+ ui.set(this, (() => {
617
622
  if (this.getDataSourcesCallback) {
618
623
  const i = b(this, N, "f").value;
619
624
  const t = b(this, S, "f").value;
@@ -629,13 +634,13 @@ const ji = class {
629
634
  })).catch((() => {}));
630
635
  }
631
636
  }));
632
- ui.set(this, (() => {
633
- const i = this.authenticationTypes.some((i => i.id === yi));
637
+ pi.set(this, (() => {
638
+ const i = this.authenticationTypes.some((i => i.id === xi));
634
639
  if (i) {
635
- this.authenticationTypeValue = yi;
640
+ this.authenticationTypeValue = xi;
636
641
  }
637
642
  }));
638
- pi.set(this, (() => {
643
+ bi.set(this, (() => {
639
644
  // populate #controlsValidation with the controls that could have errors.
640
645
  const i = [ b(this, E, "f"), b(this, F, "f"), b(this, N, "f"), b(this, S, "f"), b(this, A, "f") ];
641
646
  i.forEach((i => {
@@ -648,7 +653,7 @@ const ji = class {
648
653
  }
649
654
  }));
650
655
  }));
651
- bi.set(this, (() => {
656
+ gi.set(this, (() => {
652
657
  // populate #controlsValidation with the controls that could have errors.
653
658
  const i = [ b(this, M, "f"), b(this, I, "f"), b(this, P, "f"), b(this, M, "f"), b(this, T, "f"), b(this, B, "f"), b(this, W, "f"), b(this, j, "f"), b(this, C, "f") ];
654
659
  i.forEach((i => {
@@ -661,7 +666,7 @@ const ji = class {
661
666
  }
662
667
  }));
663
668
  }));
664
- gi.set(this, (async i => {
669
+ vi.set(this, (async i => {
665
670
  var t;
666
671
  // Capture the button before awaiting. Opening/closing the location picker
667
672
  // restores focus to it programmatically, leaving the :focus-visible outline
@@ -677,19 +682,19 @@ const ji = class {
677
682
  s === null || s === void 0 ? void 0 : s.blur();
678
683
  }
679
684
  }));
680
- vi.set(this, (i => {
685
+ mi.set(this, (i => {
681
686
  this.selectedTab = i.detail.newSelectedId;
682
- if (i.detail.newSelectedId === Li) {
687
+ if (i.detail.newSelectedId === ji) {
683
688
  if (!this.advancedTabIsVisible) {
684
689
  this.advancedTabIsVisible = true;
685
- b(this, mi, "f").call(this);
690
+ b(this, ki, "f").call(this);
686
691
  }
687
692
  } else {
688
693
  this.connectionStatus = undefined;
689
694
  }
690
695
  }));
691
- mi.set(this, (async () => {
692
- var i, t, s, e, a, o, n;
696
+ ki.set(this, (async () => {
697
+ var i, t, s, e, a, n, o;
693
698
  if (!this.getAdvancedTabDataCallback || this.loadingAdvancedTab) {
694
699
  return;
695
700
  }
@@ -698,15 +703,17 @@ const ji = class {
698
703
  try {
699
704
  const l = await this.getAdvancedTabDataCallback();
700
705
  if (l) {
706
+ this.serverInstances = (i = l.serverInstances) !== null && i !== void 0 ? i : this.serverInstances;
701
707
  if (l.serverName != null) {
702
708
  this.serverNameValue = l.serverName;
703
- b(this, Y, "f").call(this);
709
+ // Classify after serverInstances is set so a local server isn't
710
+ // misclassified as remote on initial load.
711
+ b(this, Y, "f").call(this);
704
712
  }
705
- this.serverInstances = (i = l.serverInstances) !== null && i !== void 0 ? i : this.serverInstances;
706
713
  this.collations = (t = l.collations) !== null && t !== void 0 ? t : this.collations;
707
714
  this.authenticationTypes = (s = l.authenticationTypes) !== null && s !== void 0 ? s : this.authenticationTypes;
708
715
  this.defaultCollation = (e = l.defaultCollation) !== null && e !== void 0 ? e : this.defaultCollation;
709
- this.authenticationTypeValue = (n = (o = (a = l.authenticationTypes) === null || a === void 0 ? void 0 : a[0]) === null || o === void 0 ? void 0 : o.id) !== null && n !== void 0 ? n : this.authenticationTypeValue;
716
+ this.authenticationTypeValue = (o = (n = (a = l.authenticationTypes) === null || a === void 0 ? void 0 : a[0]) === null || n === void 0 ? void 0 : n.id) !== null && o !== void 0 ? o : this.authenticationTypeValue;
710
717
  this.connectionStatus = l.connectionFailed ? "failed" : "success";
711
718
  } else {
712
719
  this.connectionStatus = "failed";
@@ -722,7 +729,7 @@ const ji = class {
722
729
  * by comparing the new state (getFrontEndsCallback result) and previous state.
723
730
  */
724
731
  // eslint-disable-next-line @stencil-community/own-props-must-be-private
725
- ki.set(this, (async () => {
732
+ wi.set(this, (async () => {
726
733
  const i = await this.getFrontEndsCallback(b(this, w, "f"));
727
734
  if ((i === null || i === void 0 ? void 0 : i.length) > 0) {
728
735
  this.frontEnds = i;
@@ -734,7 +741,7 @@ const ji = class {
734
741
  b(this, k, "f").set(b(this, w, "f"), t);
735
742
  }
736
743
  }
737
- b(this, hi, "f").call(this);
744
+ b(this, ci, "f").call(this);
738
745
  }
739
746
  }));
740
747
  this.advancedTabIsVisible = false;
@@ -763,7 +770,7 @@ const ji = class {
763
770
  this.serverNameValue = "";
764
771
  this.userInterfaceLanguagesComboBoxModel = [];
765
772
  this.userInterfaceLanguagesInitialValue = undefined;
766
- this.selectedTab = Di;
773
+ this.selectedTab = Li;
767
774
  this.cancelCallback = undefined;
768
775
  this.canSetLocation = false;
769
776
  this.getAdvancedTabDataCallback = undefined;
@@ -818,14 +825,14 @@ const ji = class {
818
825
  if (i === null || i === void 0 ? void 0 : i.length) {
819
826
  this.prototypingEnvironmentsComboBoxModel = d(i);
820
827
  g(this, w, h(i), "f");
821
- b(this, ki, "f").call(this);
828
+ b(this, wi, "f").call(this);
822
829
  }
823
830
  }
824
831
  watchPrototypingTargets(i) {
825
832
  if (i === null || i === void 0 ? void 0 : i.length) {
826
833
  this.prototypingTargetsComboBoxModel = d(i);
827
834
  this.prototypingTargetsInitialValue = h(i);
828
- b(this, di, "f").call(this);
835
+ b(this, fi, "f").call(this);
829
836
  }
830
837
  }
831
838
  watchUserInterfaceLanguages(i) {
@@ -844,10 +851,10 @@ const ji = class {
844
851
  this.userNameValue = (i = this.userName) !== null && i !== void 0 ? i : "";
845
852
  this.passwordValue = (t = this.password) !== null && t !== void 0 ? t : "";
846
853
  g(this, _, [ {
847
- id: Di,
854
+ id: Li,
848
855
  name: b(this, m, "f").tabBasic.tabLabel
849
856
  }, {
850
- id: Li,
857
+ id: ji,
851
858
  name: b(this, m, "f").tabAdvanced.tabLabel
852
859
  } ], "f");
853
860
  }
@@ -858,15 +865,15 @@ const ji = class {
858
865
  this.watchUserInterfaceLanguages(this.userInterfaceLanguages);
859
866
  }
860
867
  componentDidLoad() {
861
- b(this, pi, "f").call(this);
868
+ b(this, bi, "f").call(this);
862
869
  }
863
870
  componentDidRender() {
864
871
  // Defer the one-time setup until the real advanced content is rendered
865
872
  // (not the loader); otherwise the control refs it reads are still undefined.
866
873
  if (this.advancedTabIsVisible && !this.loadingAdvancedTab && !b(this, v, "f")) {
867
874
  // just call this once.
868
- b(this, ui, "f").call(this);
869
- b(this, bi, "f").call(this);
875
+ b(this, pi, "f").call(this);
876
+ b(this, gi, "f").call(this);
870
877
  g(this, v, true, "f");
871
878
  }
872
879
  // Register the location input for validation once it's rendered
@@ -879,7 +886,7 @@ const ji = class {
879
886
  g(this, D, true, "f");
880
887
  }
881
888
  // Register credential controls when they become visible (SQL Auth selected)
882
- if (this.authenticationTypeValue !== yi && !b(this, L, "f") && b(this, B, "f") && b(this, j, "f")) {
889
+ if (this.authenticationTypeValue !== xi && !b(this, L, "f") && b(this, B, "f") && b(this, j, "f")) {
883
890
  this.validatableControls.set(b(this, B, "f").id, {
884
891
  reference: b(this, B, "f"),
885
892
  hasError: false,
@@ -893,7 +900,7 @@ const ji = class {
893
900
  g(this, L, true, "f");
894
901
  }
895
902
  // Reset flag when switching back to Windows Auth so they re-register next time
896
- if (this.authenticationTypeValue === yi && b(this, L, "f")) {
903
+ if (this.authenticationTypeValue === xi && b(this, L, "f")) {
897
904
  g(this, L, false, "f");
898
905
  }
899
906
  }
@@ -910,7 +917,7 @@ const ji = class {
910
917
  return s(e, {
911
918
  class: "widget"
912
919
  }, s("ch-theme", {
913
- model: wi
920
+ model: yi
914
921
  }), s("ch-shortcuts", {
915
922
  src: b(this, x, "f"),
916
923
  ref: i => g(this, K, i, "f")
@@ -942,7 +949,7 @@ const ji = class {
942
949
  ref: i => g(this, F, i, "f"),
943
950
  id: "kbName",
944
951
  part: "kb-name"
945
- }), b(this, li, "f").call(this, b(this, F, "f"))), this.canSetLocation && s("div", {
952
+ }), b(this, ri, "f").call(this, b(this, F, "f"))), this.canSetLocation && s("div", {
946
953
  class: "field field-inline"
947
954
  }, s("label", {
948
955
  class: "label",
@@ -957,35 +964,35 @@ const ji = class {
957
964
  ref: i => g(this, z, i, "f"),
958
965
  id: "kbLocation",
959
966
  part: "kb-location"
960
- }), b(this, li, "f").call(this, b(this, z, "f"))), s("button", {
967
+ }), b(this, ri, "f").call(this, b(this, z, "f"))), s("button", {
961
968
  class: "button-tertiary button-icon-only ",
962
969
  "aria-label": b(this, m, "f").header.selectLocationButton,
963
970
  title: b(this, m, "f").header.selectLocationButton,
964
971
  part: "button-select-location",
965
- onClick: b(this, gi, "f"),
972
+ onClick: b(this, vi, "f"),
966
973
  type: "button"
967
974
  }, s("ch-image", {
968
975
  class: "icon-m",
969
- src: Wi
976
+ src: Ii
970
977
  }))))), this.isAdvanced ? s("ch-tab-render", {
971
978
  // #tab
972
979
  class: {
973
980
  scrollable: true,
974
981
  tab: true,
975
- [_i]: true
982
+ [Mi]: true
976
983
  },
977
984
  tabListPosition: "block-start",
978
985
  model: b(this, _, "f"),
979
- selectedId: Di,
986
+ selectedId: Li,
980
987
  overflow: "auto",
981
988
  contain: "size",
982
- onSelectedItemChange: b(this, vi, "f")
989
+ onSelectedItemChange: b(this, mi, "f")
983
990
  }, s("div", {
984
- slot: Di,
985
- class: Mi,
986
- part: "tab-button-basic"
987
- }, b(this, ai, "f").call(this)), this.advancedTabIsVisible && s("div", {
988
991
  slot: Li,
992
+ class: Wi,
993
+ part: "tab-button-basic"
994
+ }, b(this, ni, "f").call(this)), this.advancedTabIsVisible && s("div", {
995
+ slot: ji,
989
996
  class: "advanced",
990
997
  part: "tab-button-advanced"
991
998
  }, this.loadingAdvancedTab ? s("gx-ide-loader", {
@@ -993,11 +1000,11 @@ const ji = class {
993
1000
  class: "advanced-loader",
994
1001
  loaderTitle: b(this, m, "f").loader.title,
995
1002
  description: b(this, m, "f").loader.description
996
- }) : b(this, ei, "f").call(this))) : s("div", {
997
- class: _i
998
- }, s("div", {
1003
+ }) : b(this, ai, "f").call(this))) : s("div", {
999
1004
  class: Mi
1000
- }, b(this, ai, "f").call(this))), s("footer", {
1005
+ }, s("div", {
1006
+ class: Wi
1007
+ }, b(this, ni, "f").call(this))), s("footer", {
1001
1008
  class: {
1002
1009
  footer: true,
1003
1010
  "dialog-footer-with-border": true,
@@ -1015,11 +1022,11 @@ const ji = class {
1015
1022
  class: "connection-status__spinner"
1016
1023
  }), this.connectionStatus === "success" && s("ch-image", {
1017
1024
  class: "icon-m",
1018
- src: Ei,
1025
+ src: Fi,
1019
1026
  type: "mask"
1020
1027
  }), this.connectionStatus === "failed" && s("ch-image", {
1021
1028
  class: "icon-m",
1022
- src: Fi,
1029
+ src: zi,
1023
1030
  type: "mask"
1024
1031
  }), b(this, m, "f").footer.connectionStatus[this.connectionStatus]), s("div", {
1025
1032
  class: "buttons-spacer"
@@ -1034,7 +1041,7 @@ const ji = class {
1034
1041
  class: "button-primary",
1035
1042
  id: "button-create",
1036
1043
  disabled: this.connectionStatus === "failed" || this.connectionStatus === "connecting" || b(this, J, "f").call(this),
1037
- onClick: b(this, ni, "f"),
1044
+ onClick: b(this, li, "f"),
1038
1045
  part: "button-create"
1039
1046
  }, b(this, m, "f").footer.btnCreate)))));
1040
1047
  }
@@ -1065,12 +1072,12 @@ P = new WeakMap, A = new WeakMap, B = new WeakMap, $ = new WeakMap, K = new Weak
1065
1072
  U = new WeakMap, H = new WeakMap, O = new WeakMap, V = new WeakMap, G = new WeakMap,
1066
1073
  Q = new WeakMap, R = new WeakMap, X = new WeakMap, q = new WeakMap, J = new WeakMap,
1067
1074
  Y = new WeakMap, Z = new WeakMap, ii = new WeakMap, ti = new WeakMap, si = new WeakMap,
1068
- ei = new WeakMap, ai = new WeakMap, oi = new WeakMap, ni = new WeakMap, li = new WeakMap,
1075
+ ei = new WeakMap, ai = new WeakMap, ni = new WeakMap, oi = new WeakMap, li = new WeakMap,
1069
1076
  ri = new WeakMap, hi = new WeakMap, ci = new WeakMap, di = new WeakMap, fi = new WeakMap,
1070
1077
  ui = new WeakMap, pi = new WeakMap, bi = new WeakMap, gi = new WeakMap, vi = new WeakMap,
1071
- mi = new WeakMap, ki = new WeakMap;
1078
+ mi = new WeakMap, ki = new WeakMap, wi = new WeakMap;
1072
1079
 
1073
- ji.style = p;
1080
+ Ni.style = p;
1074
1081
 
1075
- export { ji as gx_ide_new_kb };
1076
- //# sourceMappingURL=p-ea98ae0b.entry.js.map
1082
+ export { Ni as gx_ide_new_kb };
1083
+ //# sourceMappingURL=p-eb2b88d4.entry.js.map