@genexus/genexus-ide-ui 1.1.38 → 1.1.40

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 (60) hide show
  1. package/dist/cjs/genexus-ide-ui.cjs.js +1 -1
  2. package/dist/cjs/gx-ide-new-kb.cjs.entry.js +9 -6
  3. package/dist/cjs/gx-ide-new-kb.cjs.entry.js.map +1 -1
  4. package/dist/cjs/gx-ide-sign-in-result.cjs.entry.js +43 -0
  5. package/dist/cjs/gx-ide-sign-in-result.cjs.entry.js.map +1 -0
  6. package/dist/cjs/gx-ide-team-dev-history.cjs.entry.js +9 -7
  7. package/dist/cjs/gx-ide-team-dev-history.cjs.entry.js.map +1 -1
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/collection/collection-manifest.json +1 -0
  10. package/dist/collection/components/new-kb/new-kb.js +9 -7
  11. package/dist/collection/components/new-kb/new-kb.js.map +1 -1
  12. package/dist/collection/components/sign-in-result/gx-ide-assets/sign-in-result/images/genexus-next-logo.svg +3 -0
  13. package/dist/collection/components/sign-in-result/gx-ide-assets/sign-in-result/images/left-side-illustration.svg +36 -0
  14. package/dist/collection/components/sign-in-result/gx-ide-assets/sign-in-result/images/right-side-illustration.svg +31 -0
  15. package/dist/collection/components/sign-in-result/gx-ide-assets/sign-in-result/langs/sign-in-result.lang.en.json +6 -0
  16. package/dist/collection/components/sign-in-result/gx-ide-assets/sign-in-result/langs/sign-in-result.lang.ja.json +6 -0
  17. package/dist/collection/components/sign-in-result/gx-ide-assets/sign-in-result/langs/sign-in-result.lang.zh.json +6 -0
  18. package/dist/collection/components/sign-in-result/sign-in-result.css +35 -0
  19. package/dist/collection/components/sign-in-result/sign-in-result.js +43 -0
  20. package/dist/collection/components/sign-in-result/sign-in-result.js.map +1 -0
  21. package/dist/collection/components/team-dev/history/history.js +10 -8
  22. package/dist/collection/components/team-dev/history/history.js.map +1 -1
  23. package/dist/collection/testing/locale.e2e.js +1 -0
  24. package/dist/collection/testing/locale.e2e.js.map +1 -1
  25. package/dist/components/gx-ide-new-kb.js +9 -7
  26. package/dist/components/gx-ide-new-kb.js.map +1 -1
  27. package/dist/components/gx-ide-sign-in-result.d.ts +11 -0
  28. package/dist/components/gx-ide-sign-in-result.js +57 -0
  29. package/dist/components/gx-ide-sign-in-result.js.map +1 -0
  30. package/dist/components/gx-ide-team-dev-history.js +9 -7
  31. package/dist/components/gx-ide-team-dev-history.js.map +1 -1
  32. package/dist/esm/genexus-ide-ui.js +1 -1
  33. package/dist/esm/gx-ide-new-kb.entry.js +9 -6
  34. package/dist/esm/gx-ide-new-kb.entry.js.map +1 -1
  35. package/dist/esm/gx-ide-sign-in-result.entry.js +39 -0
  36. package/dist/esm/gx-ide-sign-in-result.entry.js.map +1 -0
  37. package/dist/esm/gx-ide-team-dev-history.entry.js +9 -7
  38. package/dist/esm/gx-ide-team-dev-history.entry.js.map +1 -1
  39. package/dist/esm/loader.js +1 -1
  40. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
  41. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js.map +1 -1
  42. package/dist/genexus-ide-ui/gx-ide-assets/sign-in-result/images/genexus-next-logo.svg +3 -0
  43. package/dist/genexus-ide-ui/gx-ide-assets/sign-in-result/images/left-side-illustration.svg +36 -0
  44. package/dist/genexus-ide-ui/gx-ide-assets/sign-in-result/images/right-side-illustration.svg +31 -0
  45. package/dist/genexus-ide-ui/gx-ide-assets/sign-in-result/langs/sign-in-result.lang.en.json +6 -0
  46. package/dist/genexus-ide-ui/gx-ide-assets/sign-in-result/langs/sign-in-result.lang.ja.json +6 -0
  47. package/dist/genexus-ide-ui/gx-ide-assets/sign-in-result/langs/sign-in-result.lang.zh.json +6 -0
  48. package/dist/genexus-ide-ui/p-06e8d9d6.entry.js +63 -0
  49. package/dist/genexus-ide-ui/p-06e8d9d6.entry.js.map +1 -0
  50. package/dist/genexus-ide-ui/{p-585fac4a.entry.js → p-2b38e18e.entry.js} +15 -13
  51. package/dist/genexus-ide-ui/p-2b38e18e.entry.js.map +1 -0
  52. package/dist/genexus-ide-ui/{p-3dc5d62e.entry.js → p-4b680e46.entry.js} +102 -102
  53. package/dist/genexus-ide-ui/p-4b680e46.entry.js.map +1 -0
  54. package/dist/types/components/new-kb/new-kb.d.ts +2 -3
  55. package/dist/types/components/sign-in-result/sign-in-result.d.ts +9 -0
  56. package/dist/types/components/team-dev/history/history.d.ts +2 -2
  57. package/dist/types/components.d.ts +13 -0
  58. package/package.json +1 -1
  59. package/dist/genexus-ide-ui/p-3dc5d62e.entry.js.map +0 -1
  60. package/dist/genexus-ide-ui/p-585fac4a.entry.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { r as t, g as i, h as e, H as s, a } from "./p-97107ecc.js";
1
+ import { r as t, g as i, h as s, H as e, a } from "./p-97107ecc.js";
2
2
 
3
3
  import { g as o } from "./p-401bfc97.js";
4
4
 
@@ -16,20 +16,20 @@ import { r as p } from "./p-1252519a.js";
16
16
 
17
17
  const u = ':host{display:grid;block-size:100%;overflow:auto;grid-template-rows:max-content 1fr max-content}.section{display:contents}.header-one-col{grid-template-columns:1fr}.header-two-cols{grid-template-columns:1fr 1fr}.location-wrapper{display:flex;gap:var(--mer-spacing--2xs)}.location{flex-grow:1;grid-area:location}.basic{display:grid;grid-template:"basic-top basic-top" max-content "back-end front-end" 1fr;grid-template-columns:1fr 1fr}.basic__header{grid-area:basic-top;grid-template-columns:1fr 1fr}.control-header__back-end,.control-header__front-end{padding-block-start:var(--mer-spacing--md)}.main__back-end{border-inline-end:var(--section-common-border)}.main__back-end,.main__front-end{grid-auto-rows:max-content;padding-block:var(--content-block-spacing);overflow:auto}.section__back-end{grid-area:back-end;grid-auto-rows:max-content}.section__front-end{grid-area:front-end}.section__back-end,.section__front-end{display:grid;grid-template-rows:max-content 1fr;overflow:auto}.tab-advanced-title{grid-area:tab-advanced-title}.layout-tab-advanced-left-col{grid-area:layout-tab-advanced-left-col}.layout-tab-advanced-right-col{grid-area:layout-tab-advanced-right-col}.basic,.advanced{padding-block-start:var(--content-block-spacing);overflow:auto;block-size:100%}.tab-advanced__field-group{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto}.text-align-center{text-align:center}.tab::part(page){scrollbar-width:thin}';
18
18
 
19
- var b = undefined && undefined.__classPrivateFieldGet || function(t, i, e, s) {
20
- if (e === "a" && !s) throw new TypeError("Private accessor was defined without a getter");
21
- if (typeof i === "function" ? t !== i || !s : !i.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
22
- return e === "m" ? s : e === "a" ? s.call(t) : s ? s.value : i.get(t);
19
+ var b = undefined && undefined.__classPrivateFieldGet || function(t, i, s, e) {
20
+ if (s === "a" && !e) throw new TypeError("Private accessor was defined without a getter");
21
+ if (typeof i === "function" ? t !== i || !e : !i.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
22
+ return s === "m" ? e : s === "a" ? e.call(t) : e ? e.value : i.get(t);
23
23
  };
24
24
 
25
- var v = undefined && undefined.__classPrivateFieldSet || function(t, i, e, s, a) {
26
- if (s === "m") throw new TypeError("Private method is not writable");
27
- if (s === "a" && !a) throw new TypeError("Private accessor was defined without a setter");
25
+ var v = undefined && undefined.__classPrivateFieldSet || function(t, i, s, e, a) {
26
+ if (e === "m") throw new TypeError("Private method is not writable");
27
+ if (e === "a" && !a) throw new TypeError("Private accessor was defined without a setter");
28
28
  if (typeof i === "function" ? t !== i || !a : !i.has(t)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
29
- return s === "a" ? a.call(t, e) : a ? a.value = e : i.set(t, e), e;
29
+ return e === "a" ? a.call(t, s) : a ? a.value = s : i.set(t, s), s;
30
30
  };
31
31
 
32
- var m, w, g, k, y, M, W, x, _, F, T, I, E, N, D, L, j, P, S, C, z, A, B, K, U, V, H, R, q, G, J, O, Q, X, Y, Z, $, tt, it, et, st, at, ot, nt;
32
+ var m, w, g, k, y, M, W, x, _, F, T, I, E, N, D, L, j, P, S, C, z, A, B, K, U, V, H, R, q, G, J, O, Q, X, Y, Z, $, tt, it, st, et, at, ot, nt;
33
33
 
34
34
  const ht = [ "resets/box-sizing", "components/tab", "components/tooltip", "utils/form--full", "utils/layout", "utils/typography", "utils/spacing", "chameleon/scrollbar" ];
35
35
 
@@ -50,8 +50,8 @@ const ft = "basic";
50
50
  const pt = "advanced";
51
51
 
52
52
  const ut = class {
53
- constructor(s) {
54
- t(this, s);
53
+ constructor(e) {
54
+ t(this, e);
55
55
  m.set(this, false);
56
56
  /**
57
57
  * The component hard-coded strings translations.
@@ -112,18 +112,18 @@ const ut = class {
112
112
  H.set(this, (() => {
113
113
  v(this, y, b(this, I, "f").value, "f");
114
114
  }));
115
- R.set(this, (() => [ e("h2", {
115
+ R.set(this, (() => [ s("h2", {
116
116
  // #knowledge base storage
117
117
  class: "control-header subtitle-regular-xs\t text-align-center"
118
- }, b(this, w, "f").tabAdvanced.tabTitle), e("div", {
118
+ }, b(this, w, "f").tabAdvanced.tabTitle), s("div", {
119
119
  class: "field-group tab-advanced__field-group"
120
- }, e("div", {
120
+ }, s("div", {
121
121
  // #server name
122
122
  class: "field field-block server-name-field"
123
- }, e("label", {
123
+ }, s("label", {
124
124
  class: "label",
125
125
  htmlFor: "serverName"
126
- }, b(this, w, "f").tabAdvanced.serverName.label), e("ch-combo-box-render", {
126
+ }, b(this, w, "f").tabAdvanced.serverName.label), s("ch-combo-box-render", {
127
127
  class: "combo-box",
128
128
  disabled: this.serverNames.length === 0,
129
129
  placeholder: this.serverNames.length === 0 ? b(this, w, "f").tabAdvanced.serverName.disabledPlaceholder : "",
@@ -133,13 +133,13 @@ const ut = class {
133
133
  onInput: this.serverNames.length > 0 && b(this, K, "f"),
134
134
  id: "serverName",
135
135
  part: "server-name"
136
- }), b(this, Q, "f").call(this, b(this, S, "f"))), e("div", {
136
+ }), b(this, Q, "f").call(this, b(this, S, "f"))), s("div", {
137
137
  // #authentication type
138
138
  class: "field field-block authentication-type-field"
139
- }, e("label", {
139
+ }, s("label", {
140
140
  class: "label",
141
141
  htmlFor: "authenticationType"
142
- }, b(this, w, "f").tabAdvanced.authenticationType.label), e("ch-combo-box-render", {
142
+ }, b(this, w, "f").tabAdvanced.authenticationType.label), s("ch-combo-box-render", {
143
143
  class: "combo-box",
144
144
  disabled: this.authenticationTypes.length === 0,
145
145
  placeholder: this.authenticationTypes.length === 0 ? b(this, w, "f").tabAdvanced.authenticationType.disabledPlaceholder : "",
@@ -149,39 +149,39 @@ const ut = class {
149
149
  id: "authenticationType",
150
150
  part: "authentication-type",
151
151
  onInput: this.authenticationTypes.length > 0 ? b(this, B, "f") : undefined
152
- }), b(this, Q, "f").call(this, b(this, x, "f"))), e("div", {
152
+ }), b(this, Q, "f").call(this, b(this, x, "f"))), s("div", {
153
153
  // #database
154
154
  class: "field field-block database-field"
155
- }, e("label", {
155
+ }, s("label", {
156
156
  class: "label",
157
157
  htmlFor: "databaseName"
158
- }, b(this, w, "f").tabAdvanced.databaseName.label), e("ch-edit", {
158
+ }, b(this, w, "f").tabAdvanced.databaseName.label), s("ch-edit", {
159
159
  // TODO add placeholder
160
160
  class: "input",
161
161
  value: this.databaseName,
162
162
  id: "databaseName",
163
163
  part: "database-name",
164
164
  ref: t => v(this, T, t, "f")
165
- }), b(this, Q, "f").call(this, b(this, T, "f"))), this.userNameVisible ? e("div", {
165
+ }), b(this, Q, "f").call(this, b(this, T, "f"))), this.userNameVisible ? s("div", {
166
166
  // #username
167
167
  class: "field field-block username-field"
168
- }, e("label", {
168
+ }, s("label", {
169
169
  class: "label",
170
170
  htmlFor: "userName"
171
- }, b(this, w, "f").tabAdvanced.userName.label), e("ch-edit", {
171
+ }, b(this, w, "f").tabAdvanced.userName.label), s("ch-edit", {
172
172
  // TODO add placeholder
173
173
  class: "input",
174
174
  value: this.userName,
175
175
  id: "userName",
176
176
  part: "user-name",
177
177
  ref: t => v(this, z, t, "f")
178
- }), b(this, Q, "f").call(this, b(this, z, "f"))) : null, e("div", {
178
+ }), b(this, Q, "f").call(this, b(this, z, "f"))) : null, s("div", {
179
179
  // #collation
180
180
  class: "field field-block collation-field"
181
- }, e("label", {
181
+ }, s("label", {
182
182
  class: "label",
183
183
  htmlFor: "collation"
184
- }, b(this, w, "f").tabAdvanced.collation.label), e("ch-combo-box-render", {
184
+ }, b(this, w, "f").tabAdvanced.collation.label), s("ch-combo-box-render", {
185
185
  class: "combo-box",
186
186
  disabled: this.serverNames.length === 0,
187
187
  placeholder: this.collations.length === 0 ? b(this, w, "f").tabAdvanced.collation.disabledPlaceholder : "",
@@ -190,13 +190,13 @@ const ut = class {
190
190
  model: this.collationsComboBoxModel,
191
191
  id: "collation",
192
192
  part: "collation"
193
- }), b(this, Q, "f").call(this, b(this, _, "f"))), this.passwordVisible ? e("div", {
193
+ }), b(this, Q, "f").call(this, b(this, _, "f"))), this.passwordVisible ? s("div", {
194
194
  // #password
195
195
  class: "field field-block password-field"
196
- }, e("label", {
196
+ }, s("label", {
197
197
  class: "label",
198
198
  htmlFor: "password"
199
- }, b(this, w, "f").tabAdvanced.password.label), e("ch-edit", {
199
+ }, b(this, w, "f").tabAdvanced.password.label), s("ch-edit", {
200
200
  // TODO add placeholder
201
201
  class: "input",
202
202
  type: "password",
@@ -204,7 +204,7 @@ const ut = class {
204
204
  id: "password",
205
205
  part: "password",
206
206
  ref: t => v(this, D, t, "f")
207
- }), b(this, Q, "f").call(this, b(this, D, "f"))) : null, e("ch-checkbox", {
207
+ }), b(this, Q, "f").call(this, b(this, D, "f"))) : null, s("ch-checkbox", {
208
208
  // #create data in knowledge base folder
209
209
  class: "checkbox create-data-in-kb-checkbox",
210
210
  checkedValue: "createDataFilesInKBFolder",
@@ -213,7 +213,7 @@ const ut = class {
213
213
  part: "create-data-in-kb",
214
214
  id: "createDataFilesInKBFolder",
215
215
  ref: t => v(this, F, t, "f")
216
- }), this.savePasswordVisible ? e("ch-checkbox", {
216
+ }), this.savePasswordVisible ? s("ch-checkbox", {
217
217
  // #save password
218
218
  class: "checkbox save-password-checkbox",
219
219
  checkedValue: "password",
@@ -222,15 +222,15 @@ const ut = class {
222
222
  id: "savePassword",
223
223
  ref: t => v(this, P, t, "f")
224
224
  }) : null) ]));
225
- q.set(this, (() => [ e("section", {
225
+ q.set(this, (() => [ s("section", {
226
226
  class: "basic__header field-group control-header-with-border spacing-body-inline"
227
- }, e("div", {
227
+ }, s("div", {
228
228
  // #prototyping target
229
229
  class: "field field-block prototyping-target"
230
- }, e("label", {
230
+ }, s("label", {
231
231
  class: "label",
232
232
  htmlFor: "prototypingTarget"
233
- }, b(this, w, "f").tabBasic.prototypingTarget.label), e("ch-combo-box-render", {
233
+ }, b(this, w, "f").tabBasic.prototypingTarget.label), s("ch-combo-box-render", {
234
234
  id: "prototypingTarget",
235
235
  class: "combo-box",
236
236
  part: "prototyping-target",
@@ -240,13 +240,13 @@ const ut = class {
240
240
  model: this.prototypingTargetsComboBoxModel,
241
241
  onInput: this.prototypingTargets.length > 0 ? b(this, V, "f") : undefined,
242
242
  ref: t => v(this, j, t, "f")
243
- }), b(this, Q, "f").call(this, b(this, j, "f"))), e("div", {
243
+ }), b(this, Q, "f").call(this, b(this, j, "f"))), s("div", {
244
244
  // #user interface
245
245
  class: "field field-block user-interface-language"
246
- }, e("label", {
246
+ }, s("label", {
247
247
  class: "label",
248
248
  htmlFor: "userInterfaceLanguage"
249
- }, b(this, w, "f").tabBasic.userInterfaceLanguage.label), e("ch-combo-box-render", {
249
+ }, b(this, w, "f").tabBasic.userInterfaceLanguage.label), s("ch-combo-box-render", {
250
250
  class: "combo-box",
251
251
  disabled: this.userInterfaceLanguages.length === 0,
252
252
  placeholder: this.userInterfaceLanguages.length === 0 ? b(this, w, "f").tabBasic.userInterfaceLanguage.disabledPlaceholder : "",
@@ -255,20 +255,20 @@ const ut = class {
255
255
  model: this.userInterfaceLanguagesComboBoxModel,
256
256
  id: "userInterfaceLanguage",
257
257
  part: "user-interface-language"
258
- }), b(this, Q, "f").call(this, b(this, C, "f")))), e("section", {
258
+ }), b(this, Q, "f").call(this, b(this, C, "f")))), s("section", {
259
259
  class: "section__back-end"
260
- }, e("h2", {
260
+ }, s("h2", {
261
261
  // back end
262
262
  class: "control-header control-header-with-border control-header__back-end subtitle-regular-xs\t text-align-center spacing-body-inline"
263
- }, b(this, w, "f").tabBasic.backEnd.backEndLabel), e("div", {
263
+ }, b(this, w, "f").tabBasic.backEnd.backEndLabel), s("div", {
264
264
  class: "field-group main__back-end spacing-body-inline scrollable"
265
- }, e("div", {
265
+ }, s("div", {
266
266
  // #prototyping environment
267
267
  class: "field field-block"
268
- }, e("label", {
268
+ }, s("label", {
269
269
  class: "label",
270
270
  htmlFor: "prototypingEnvironment"
271
- }, b(this, w, "f").tabBasic.backEnd.prototypingEnvironment.label), e("ch-combo-box-render", {
271
+ }, b(this, w, "f").tabBasic.backEnd.prototypingEnvironment.label), s("ch-combo-box-render", {
272
272
  class: "combo-box",
273
273
  disabled: this.defaultPrototypingEnvironments.length === 0,
274
274
  placeholder: this.defaultPrototypingEnvironments.length === 0 ? b(this, w, "f").tabBasic.backEnd.prototypingEnvironment.disabledPlaceholder : "",
@@ -278,27 +278,27 @@ const ut = class {
278
278
  onInput: b(this, U, "f"),
279
279
  part: "prototyping-environment",
280
280
  id: "prototypingEnvironment"
281
- }), b(this, Q, "f").call(this, b(this, L, "f"))), e("div", {
281
+ }), b(this, Q, "f").call(this, b(this, L, "f"))), s("div", {
282
282
  // #data source
283
283
  class: "field field-block"
284
- }, e("label", {
284
+ }, s("label", {
285
285
  class: "label",
286
286
  htmlFor: "dataSource"
287
- }, b(this, w, "f").tabBasic.backEnd.dataSource.label), e("ch-combo-box-render", {
287
+ }, b(this, w, "f").tabBasic.backEnd.dataSource.label), s("ch-combo-box-render", {
288
288
  class: "combo-box",
289
289
  disabled: this.defaultDataSources.length === 0,
290
290
  placeholder: this.defaultDataSources.length === 0 ? b(this, w, "f").tabBasic.backEnd.dataSource.disabledPlaceholder : "",
291
- value: this.defaultDataSourcesInitialValue,
291
+ value: b(this, y, "f"),
292
292
  ref: t => v(this, I, t, "f"),
293
293
  onInput: b(this, H, "f"),
294
294
  model: this.defaultDataSourcesComboBoxModel,
295
295
  part: "data-source",
296
296
  id: "dataSource"
297
- }), b(this, Q, "f").call(this, b(this, I, "f"))))), e("section", {
297
+ }), b(this, Q, "f").call(this, b(this, I, "f"))))), s("section", {
298
298
  class: "section__front-end"
299
- }, e("h2", {
299
+ }, s("h2", {
300
300
  class: "control-header control-header-with-border control-header__front-end subtitle-regular-xs\t text-align-center spacing-body-inline"
301
- }, b(this, w, "f").tabBasic.frontEnd.frontEndLabel), e("div", {
301
+ }, b(this, w, "f").tabBasic.frontEnd.frontEndLabel), s("div", {
302
302
  class: "field-group main__front-end spacing-body-inline scrollable"
303
303
  }, d(this.frontEnds, b(this, Y, "f"), b(this, g, "f").get(b(this, k, "f"))))) ]));
304
304
  // - - - - - - - - - -
@@ -308,12 +308,12 @@ const ut = class {
308
308
  }
309
309
  }));
310
310
  J.set(this, (() => {
311
- var t, i, e, s, a, o, n, h, l, r, d, c, p, u, v;
311
+ var t, i, s, e, a, o, n, h, l, r, d, c, p, u, v;
312
312
  const m = (t = b(this, g, "f").get(b(this, k, "f"))) !== null && t !== void 0 ? t : [];
313
313
  this.createCallback({
314
314
  authenticationType: (i = b(this, x, "f")) === null || i === void 0 ? void 0 : i.value,
315
- collation: (e = b(this, _, "f")) === null || e === void 0 ? void 0 : e.value,
316
- createDataFilesInKBFolder: !!((s = b(this, F, "f")) === null || s === void 0 ? void 0 : s.value),
315
+ collation: (s = b(this, _, "f")) === null || s === void 0 ? void 0 : s.value,
316
+ createDataFilesInKBFolder: !!((e = b(this, F, "f")) === null || e === void 0 ? void 0 : e.value),
317
317
  dataSource: (a = b(this, I, "f")) === null || a === void 0 ? void 0 : a.value,
318
318
  databaseName: (o = b(this, T, "f")) === null || o === void 0 ? void 0 : o.value,
319
319
  frontEnds: m,
@@ -346,8 +346,8 @@ const ut = class {
346
346
  // TODO: evaluate if this should be a global helper function.
347
347
  // It is used on new-kb as well.
348
348
  Q.set(this, (t => {
349
- var i, s, a;
350
- return ((s = (i = this.validatableControls) === null || i === void 0 ? void 0 : i.get(t === null || t === void 0 ? void 0 : t.id)) === null || s === void 0 ? void 0 : s.hasError) && ((a = this.validatableControls.get(t.id)) === null || a === void 0 ? void 0 : a.message) && e("ch-tooltip", {
349
+ var i, e, a;
350
+ return ((e = (i = this.validatableControls) === null || i === void 0 ? void 0 : i.get(t === null || t === void 0 ? void 0 : t.id)) === null || e === void 0 ? void 0 : e.hasError) && ((a = this.validatableControls.get(t.id)) === null || a === void 0 ? void 0 : a.message) && s("ch-tooltip", {
351
351
  class: "tooltip",
352
352
  actionElement: t,
353
353
  blockAlign: n.tooltipSettings.blockAlign,
@@ -373,8 +373,8 @@ const ut = class {
373
373
  }));
374
374
  Y.set(this, (t => {
375
375
  const i = t.target.checkedValue;
376
- const e = t.detail === i;
377
- b(this, Z, "f").call(this, i, e);
376
+ const s = t.detail === i;
377
+ b(this, Z, "f").call(this, i, s);
378
378
  }));
379
379
  /**
380
380
  * This function updates frontEndsCheckedMap, that contains the checked
@@ -382,19 +382,19 @@ const ut = class {
382
382
  */
383
383
  // eslint-disable-next-line @stencil-community/own-props-must-be-private
384
384
  Z.set(this, ((t, i) => {
385
- let e = b(this, g, "f").get(b(this, k, "f"));
386
- if (!e) {
385
+ let s = b(this, g, "f").get(b(this, k, "f"));
386
+ if (!s) {
387
387
  // first time
388
- e = [];
389
- b(this, g, "f").set(b(this, k, "f"), e);
388
+ s = [];
389
+ b(this, g, "f").set(b(this, k, "f"), s);
390
390
  }
391
391
  if (i) {
392
392
  // update by adding
393
- e.push(t);
393
+ s.push(t);
394
394
  } else {
395
395
  // update by removing
396
- const i = e.findIndex((i => i === t));
397
- p(e, i);
396
+ const i = s.findIndex((i => i === t));
397
+ p(s, i);
398
398
  }
399
399
  }));
400
400
  $.set(this, (async () => {
@@ -410,8 +410,8 @@ const ut = class {
410
410
  if (this.getDataSourcesCallback) {
411
411
  const t = b(this, L, "f").value;
412
412
  const i = b(this, j, "f").value;
413
- const e = this.getDataSourcesCallback(t, i);
414
- e.then((t => {
413
+ const s = this.getDataSourcesCallback(t, i);
414
+ s.then((t => {
415
415
  if (t.length > 0) {
416
416
  t = l(t, b(this, y, "f"));
417
417
  v(this, y, r(t), "f");
@@ -431,7 +431,7 @@ const ut = class {
431
431
  this.watchAuthenticationTypes(this.authenticationTypes);
432
432
  this.watchCollations(this.collations);
433
433
  }));
434
- et.set(this, (() => {
434
+ st.set(this, (() => {
435
435
  // populate #controlsValidation with the controls that could have errors.
436
436
  const t = [ b(this, I, "f"), b(this, E, "f"), b(this, L, "f"), b(this, j, "f"), b(this, C, "f") ];
437
437
  t.forEach((t => {
@@ -444,7 +444,7 @@ const ut = class {
444
444
  }
445
445
  }));
446
446
  }));
447
- st.set(this, (() => {
447
+ et.set(this, (() => {
448
448
  // populate #controlsValidation with the controls that could have errors.
449
449
  const t = [ b(this, N, "f"), b(this, x, "f"), b(this, F, "f"), b(this, S, "f"), b(this, x, "f"), b(this, T, "f"), b(this, z, "f"), b(this, _, "f"), b(this, D, "f"), b(this, P, "f") ];
450
450
  t.forEach((t => {
@@ -498,7 +498,6 @@ const ut = class {
498
498
  this.collationsComboBoxModel = [];
499
499
  this.collationsInitialValue = undefined;
500
500
  this.defaultDataSourcesComboBoxModel = [];
501
- this.defaultDataSourcesInitialValue = undefined;
502
501
  this.prototypingTargetsComboBoxModel = [];
503
502
  this.prototypingTargetsInitialValue = undefined;
504
503
  this.prototypingEnvironmentsComboBoxModel = [];
@@ -544,7 +543,8 @@ const ut = class {
544
543
  watchDefaultDataSources(t) {
545
544
  if (t === null || t === void 0 ? void 0 : t.length) {
546
545
  this.defaultDataSourcesComboBoxModel = c(t);
547
- this.defaultDataSourcesInitialValue = r(t);
546
+ const i = l(t, b(this, y, "f"));
547
+ v(this, y, r(i), "f");
548
548
  }
549
549
  }
550
550
  watchDefaultPrototypingEnvironments(t) {
@@ -591,13 +591,13 @@ const ut = class {
591
591
  this.watchUserInterfaceLanguages(this.userInterfaceLanguages);
592
592
  }
593
593
  componentDidLoad() {
594
- b(this, et, "f").call(this);
594
+ b(this, st, "f").call(this);
595
595
  }
596
596
  componentDidRender() {
597
597
  if (this.advancedTabIsVisible && !b(this, m, "f")) {
598
598
  // just call this once.
599
599
  b(this, it, "f").call(this);
600
- b(this, st, "f").call(this);
600
+ b(this, et, "f").call(this);
601
601
  v(this, m, true, "f");
602
602
  }
603
603
  }
@@ -611,16 +611,16 @@ const ut = class {
611
611
  }
612
612
  }
613
613
  render() {
614
- return e(s, {
614
+ return s(e, {
615
615
  class: "widget"
616
- }, e("ch-theme", {
616
+ }, s("ch-theme", {
617
617
  model: ht
618
- }), e("ch-shortcuts", {
618
+ }), s("ch-shortcuts", {
619
619
  src: b(this, M, "f"),
620
620
  ref: t => v(this, A, t, "f")
621
- }), e("section", {
621
+ }), s("section", {
622
622
  class: "section"
623
- }, e("header", {
623
+ }, s("header", {
624
624
  class: {
625
625
  "field-group": true,
626
626
  "control-header-with-border": !this.isAdvanced,
@@ -631,13 +631,13 @@ const ut = class {
631
631
  "spacing-body-block-start": true,
632
632
  "spacing-body-inline": true
633
633
  }
634
- }, e("div", {
634
+ }, s("div", {
635
635
  // #kb name
636
636
  class: "field field-inline kb-name"
637
- }, e("label", {
637
+ }, s("label", {
638
638
  class: "label kb-label",
639
639
  htmlFor: "kbName"
640
- }, b(this, w, "f").header.kbName), e("ch-edit", {
640
+ }, b(this, w, "f").header.kbName), s("ch-edit", {
641
641
  // TODO add placeholder
642
642
  autoFocus: true,
643
643
  class: "input kb-input",
@@ -646,31 +646,31 @@ const ut = class {
646
646
  ref: t => v(this, E, t, "f"),
647
647
  id: "kbName",
648
648
  part: "kb-name"
649
- }), b(this, Q, "f").call(this, b(this, E, "f"))), this.isAdvanced && e("div", {
649
+ }), b(this, Q, "f").call(this, b(this, E, "f"))), this.isAdvanced && s("div", {
650
650
  class: "location-wrapper"
651
- }, e("div", {
651
+ }, s("div", {
652
652
  // #location
653
653
  class: "field field-inline location"
654
- }, e("label", {
654
+ }, s("label", {
655
655
  class: "label location-label",
656
656
  htmlFor: "kbLocation"
657
- }, b(this, w, "f").header.kbLocation), e("ch-edit", {
657
+ }, b(this, w, "f").header.kbLocation), s("ch-edit", {
658
658
  // TODO add placeholder
659
659
  class: "input location-input",
660
660
  value: this.kbLocation,
661
661
  ref: t => v(this, N, t, "f"),
662
662
  id: "kbLocation",
663
663
  part: "kb-location"
664
- }), b(this, Q, "f").call(this, b(this, N, "f"))), e("button", {
664
+ }), b(this, Q, "f").call(this, b(this, N, "f"))), s("button", {
665
665
  class: "button-tertiary button-icon-only location-icon",
666
666
  "aria-label": b(this, w, "f").header.selectLocationButton,
667
667
  title: b(this, w, "f").header.selectLocationButton,
668
668
  part: "button-select-location",
669
669
  onClick: b(this, at, "f")
670
- }, e("ch-image", {
670
+ }, s("ch-image", {
671
671
  class: "icon-md",
672
672
  src: ct
673
- })))), this.isAdvanced ? e("ch-tab-render", {
673
+ })))), this.isAdvanced ? s("ch-tab-render", {
674
674
  // #tab
675
675
  class: {
676
676
  scrollable: true,
@@ -683,34 +683,34 @@ const ut = class {
683
683
  overflow: "auto",
684
684
  contain: "size",
685
685
  onSelectedItemChange: !this.advancedTabIsVisible && b(this, ot, "f")
686
- }, e("div", {
686
+ }, s("div", {
687
687
  slot: ft,
688
688
  class: dt,
689
689
  part: "tab-button-basic"
690
- }, b(this, q, "f").call(this)), this.advancedTabIsVisible && e("div", {
690
+ }, b(this, q, "f").call(this)), this.advancedTabIsVisible && s("div", {
691
691
  slot: pt,
692
692
  class: "advanced spacing-body-inline",
693
693
  part: "tab-button-advanced"
694
- }, b(this, R, "f").call(this))) : e("div", {
694
+ }, b(this, R, "f").call(this))) : s("div", {
695
695
  class: rt
696
- }, e("div", {
696
+ }, s("div", {
697
697
  class: dt
698
- }, b(this, q, "f").call(this))), e("footer", {
698
+ }, b(this, q, "f").call(this))), s("footer", {
699
699
  class: {
700
700
  "control-footer": this.isAdvanced,
701
701
  "control-footer-with-border": !this.isAdvanced,
702
702
  "spacing-body-block-end": true,
703
703
  "spacing-body-inline": true
704
704
  }
705
- }, e("div", {
705
+ }, s("div", {
706
706
  class: "buttons-spacer"
707
- }, e("button", {
707
+ }, s("button", {
708
708
  // #cancel
709
709
  class: "button-secondary",
710
710
  id: "button-cancel",
711
711
  onClick: b(this, G, "f"),
712
712
  part: "button-cancel"
713
- }, b(this, w, "f").footer.btnCancel), e("button", {
713
+ }, b(this, w, "f").footer.btnCancel), s("button", {
714
714
  // #create
715
715
  class: "button-primary",
716
716
  id: "button-create",
@@ -744,10 +744,10 @@ L = new WeakMap, j = new WeakMap, P = new WeakMap, S = new WeakMap, C = new Weak
744
744
  z = new WeakMap, A = new WeakMap, B = new WeakMap, K = new WeakMap, U = new WeakMap,
745
745
  V = new WeakMap, H = new WeakMap, R = new WeakMap, q = new WeakMap, G = new WeakMap,
746
746
  J = new WeakMap, O = new WeakMap, Q = new WeakMap, X = new WeakMap, Y = new WeakMap,
747
- Z = new WeakMap, $ = new WeakMap, tt = new WeakMap, it = new WeakMap, et = new WeakMap,
748
- st = new WeakMap, at = new WeakMap, ot = new WeakMap, nt = new WeakMap;
747
+ Z = new WeakMap, $ = new WeakMap, tt = new WeakMap, it = new WeakMap, st = new WeakMap,
748
+ et = new WeakMap, at = new WeakMap, ot = new WeakMap, nt = new WeakMap;
749
749
 
750
750
  ut.style = u;
751
751
 
752
752
  export { ut as gx_ide_new_kb };
753
- //# sourceMappingURL=p-3dc5d62e.entry.js.map
753
+ //# sourceMappingURL=p-4b680e46.entry.js.map