@genexus/genexus-ide-ui 1.0.54 → 1.0.55

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 (117) hide show
  1. package/dist/cjs/{MERCURY_ASSETS-ac982891.js → MERCURY_ASSETS-36f04790.js} +2 -2
  2. package/dist/cjs/MERCURY_ASSETS-36f04790.js.map +1 -0
  3. package/dist/cjs/{code-render-a496a55b.js → code-render-43aa3faf.js} +2 -2
  4. package/dist/cjs/{code-render-a496a55b.js.map → code-render-43aa3faf.js.map} +1 -1
  5. package/dist/cjs/gx-ide-ai-message.cjs.entry.js +1 -1
  6. package/dist/cjs/gx-ide-chat-container.cjs.entry.js +1 -1
  7. package/dist/cjs/gx-ide-connect-gx-server.cjs.entry.js +2 -2
  8. package/dist/cjs/gx-ide-connect-gx-server.cjs.entry.js.map +1 -1
  9. package/dist/cjs/gx-ide-create-kb-from-server.cjs.entry.js +1 -1
  10. package/dist/cjs/gx-ide-current-user-info.cjs.entry.js +1 -1
  11. package/dist/cjs/gx-ide-dashboard-home.cjs.entry.js +1 -1
  12. package/dist/cjs/gx-ide-data-selector.cjs.entry.js +1 -1
  13. package/dist/cjs/gx-ide-data-type-selector.cjs.entry.js +1 -1
  14. package/dist/cjs/gx-ide-design-import.cjs.entry.js +1 -1
  15. package/dist/cjs/gx-ide-entity-selector.cjs.entry.js +1 -1
  16. package/dist/cjs/gx-ide-kb-manager-export.cjs.entry.js +1 -1
  17. package/dist/cjs/gx-ide-kb-manager-import.cjs.entry.js +1 -1
  18. package/dist/cjs/gx-ide-manage-module-references-v2.cjs.entry.js +1 -1
  19. package/dist/cjs/gx-ide-manage-module-references.cjs.entry.js +1 -1
  20. package/dist/cjs/gx-ide-new-kb.cjs.entry.js +1 -1
  21. package/dist/cjs/gx-ide-object-selector.cjs.entry.js +1 -1
  22. package/dist/cjs/gx-ide-sc-chat-container.cjs.entry.js +2 -2
  23. package/dist/cjs/gx-ide-select-kb-items.cjs.entry.js +1 -1
  24. package/dist/cjs/gx-ide-share-kb.cjs.entry.js +1 -1
  25. package/dist/cjs/gx-ide-start-page.cjs.entry.js +1 -1
  26. package/dist/cjs/gx-ide-welcome-page.cjs.entry.js +1 -1
  27. package/dist/cjs/gx-ide-ww-attributes.cjs.entry.js +1 -1
  28. package/dist/cjs/index.cjs.js +2 -2
  29. package/dist/collection/components/team-dev/connect-gx-server/connect-gx-server.js +2 -2
  30. package/dist/collection/components/team-dev/connect-gx-server/connect-gx-server.js.map +1 -1
  31. package/dist/components/MERCURY_ASSETS.js +1 -1
  32. package/dist/components/MERCURY_ASSETS.js.map +1 -1
  33. package/dist/components/gx-ide-connect-gx-server.js +2 -2
  34. package/dist/components/gx-ide-connect-gx-server.js.map +1 -1
  35. package/dist/esm/{MERCURY_ASSETS-9e4e8ebc.js → MERCURY_ASSETS-2455138c.js} +2 -2
  36. package/dist/esm/MERCURY_ASSETS-2455138c.js.map +1 -0
  37. package/dist/esm/{code-render-89a0d3ef.js → code-render-9ccc8dac.js} +2 -2
  38. package/dist/esm/{code-render-89a0d3ef.js.map → code-render-9ccc8dac.js.map} +1 -1
  39. package/dist/esm/gx-ide-ai-message.entry.js +1 -1
  40. package/dist/esm/gx-ide-chat-container.entry.js +1 -1
  41. package/dist/esm/gx-ide-connect-gx-server.entry.js +2 -2
  42. package/dist/esm/gx-ide-connect-gx-server.entry.js.map +1 -1
  43. package/dist/esm/gx-ide-create-kb-from-server.entry.js +1 -1
  44. package/dist/esm/gx-ide-current-user-info.entry.js +1 -1
  45. package/dist/esm/gx-ide-dashboard-home.entry.js +1 -1
  46. package/dist/esm/gx-ide-data-selector.entry.js +1 -1
  47. package/dist/esm/gx-ide-data-type-selector.entry.js +1 -1
  48. package/dist/esm/gx-ide-design-import.entry.js +1 -1
  49. package/dist/esm/gx-ide-entity-selector.entry.js +1 -1
  50. package/dist/esm/gx-ide-kb-manager-export.entry.js +1 -1
  51. package/dist/esm/gx-ide-kb-manager-import.entry.js +1 -1
  52. package/dist/esm/gx-ide-manage-module-references-v2.entry.js +1 -1
  53. package/dist/esm/gx-ide-manage-module-references.entry.js +1 -1
  54. package/dist/esm/gx-ide-new-kb.entry.js +1 -1
  55. package/dist/esm/gx-ide-object-selector.entry.js +1 -1
  56. package/dist/esm/gx-ide-sc-chat-container.entry.js +2 -2
  57. package/dist/esm/gx-ide-select-kb-items.entry.js +1 -1
  58. package/dist/esm/gx-ide-share-kb.entry.js +1 -1
  59. package/dist/esm/gx-ide-start-page.entry.js +1 -1
  60. package/dist/esm/gx-ide-welcome-page.entry.js +1 -1
  61. package/dist/esm/gx-ide-ww-attributes.entry.js +1 -1
  62. package/dist/esm/index.js +2 -2
  63. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
  64. package/dist/genexus-ide-ui/index.esm.js +2 -2
  65. package/dist/genexus-ide-ui/{p-f7d2a39a.entry.js → p-20cca16c.entry.js} +2 -2
  66. package/dist/genexus-ide-ui/{p-c4c48a1e.entry.js → p-2320aa7a.entry.js} +2 -2
  67. package/dist/genexus-ide-ui/{p-47d4ec9a.entry.js → p-291eb585.entry.js} +32 -32
  68. package/dist/genexus-ide-ui/{p-7be438dc.entry.js → p-3611f8b7.entry.js} +2 -2
  69. package/dist/genexus-ide-ui/{p-732941de.js → p-4b665a04.js} +2 -2
  70. package/dist/genexus-ide-ui/{p-e14affde.entry.js → p-4fc17d27.entry.js} +20 -20
  71. package/dist/genexus-ide-ui/{p-cfef5956.entry.js → p-562db47d.entry.js} +2 -2
  72. package/dist/genexus-ide-ui/{p-b95a0250.entry.js → p-56ab7460.entry.js} +2 -2
  73. package/dist/genexus-ide-ui/{p-1ea6c3fe.entry.js → p-5707060d.entry.js} +2 -2
  74. package/dist/genexus-ide-ui/{p-1e29cd30.entry.js → p-57542159.entry.js} +2 -2
  75. package/dist/genexus-ide-ui/{p-36fecdcb.entry.js → p-5cb80ab8.entry.js} +2 -2
  76. package/dist/genexus-ide-ui/{p-9cfd7800.entry.js → p-7a3baebc.entry.js} +2 -2
  77. package/dist/genexus-ide-ui/{p-67132150.entry.js → p-9c83ec17.entry.js} +2 -2
  78. package/dist/genexus-ide-ui/{p-3ca45936.entry.js → p-a526d1f5.entry.js} +2 -2
  79. package/dist/genexus-ide-ui/{p-8942f4b6.entry.js → p-ae3102f4.entry.js} +2 -2
  80. package/dist/genexus-ide-ui/{p-846c67a1.entry.js → p-c49885c3.entry.js} +8 -8
  81. package/dist/genexus-ide-ui/p-c49885c3.entry.js.map +1 -0
  82. package/dist/genexus-ide-ui/{p-ad5caf61.js → p-c9551186.js} +29 -1
  83. package/dist/genexus-ide-ui/p-c9551186.js.map +1 -0
  84. package/dist/genexus-ide-ui/{p-b1eb312d.entry.js → p-cce8a91a.entry.js} +2 -2
  85. package/dist/genexus-ide-ui/{p-1a629aa9.entry.js → p-cff284a9.entry.js} +2 -2
  86. package/dist/genexus-ide-ui/{p-442e30e3.entry.js → p-de92ee84.entry.js} +2 -2
  87. package/dist/genexus-ide-ui/{p-c1791757.entry.js → p-e0db2615.entry.js} +19 -19
  88. package/dist/genexus-ide-ui/{p-2cefd33a.entry.js → p-e3711567.entry.js} +2 -2
  89. package/dist/genexus-ide-ui/{p-440742f3.entry.js → p-e9f2dd3f.entry.js} +2 -2
  90. package/dist/genexus-ide-ui/{p-dd6bbdd5.entry.js → p-fdb45861.entry.js} +3 -3
  91. package/package.json +3 -3
  92. package/dist/cjs/MERCURY_ASSETS-ac982891.js.map +0 -1
  93. package/dist/esm/MERCURY_ASSETS-9e4e8ebc.js.map +0 -1
  94. package/dist/genexus-ide-ui/p-846c67a1.entry.js.map +0 -1
  95. package/dist/genexus-ide-ui/p-ad5caf61.js.map +0 -1
  96. /package/dist/genexus-ide-ui/{p-f7d2a39a.entry.js.map → p-20cca16c.entry.js.map} +0 -0
  97. /package/dist/genexus-ide-ui/{p-c4c48a1e.entry.js.map → p-2320aa7a.entry.js.map} +0 -0
  98. /package/dist/genexus-ide-ui/{p-47d4ec9a.entry.js.map → p-291eb585.entry.js.map} +0 -0
  99. /package/dist/genexus-ide-ui/{p-7be438dc.entry.js.map → p-3611f8b7.entry.js.map} +0 -0
  100. /package/dist/genexus-ide-ui/{p-732941de.js.map → p-4b665a04.js.map} +0 -0
  101. /package/dist/genexus-ide-ui/{p-e14affde.entry.js.map → p-4fc17d27.entry.js.map} +0 -0
  102. /package/dist/genexus-ide-ui/{p-cfef5956.entry.js.map → p-562db47d.entry.js.map} +0 -0
  103. /package/dist/genexus-ide-ui/{p-b95a0250.entry.js.map → p-56ab7460.entry.js.map} +0 -0
  104. /package/dist/genexus-ide-ui/{p-1ea6c3fe.entry.js.map → p-5707060d.entry.js.map} +0 -0
  105. /package/dist/genexus-ide-ui/{p-1e29cd30.entry.js.map → p-57542159.entry.js.map} +0 -0
  106. /package/dist/genexus-ide-ui/{p-36fecdcb.entry.js.map → p-5cb80ab8.entry.js.map} +0 -0
  107. /package/dist/genexus-ide-ui/{p-9cfd7800.entry.js.map → p-7a3baebc.entry.js.map} +0 -0
  108. /package/dist/genexus-ide-ui/{p-67132150.entry.js.map → p-9c83ec17.entry.js.map} +0 -0
  109. /package/dist/genexus-ide-ui/{p-3ca45936.entry.js.map → p-a526d1f5.entry.js.map} +0 -0
  110. /package/dist/genexus-ide-ui/{p-8942f4b6.entry.js.map → p-ae3102f4.entry.js.map} +0 -0
  111. /package/dist/genexus-ide-ui/{p-b1eb312d.entry.js.map → p-cce8a91a.entry.js.map} +0 -0
  112. /package/dist/genexus-ide-ui/{p-1a629aa9.entry.js.map → p-cff284a9.entry.js.map} +0 -0
  113. /package/dist/genexus-ide-ui/{p-442e30e3.entry.js.map → p-de92ee84.entry.js.map} +0 -0
  114. /package/dist/genexus-ide-ui/{p-c1791757.entry.js.map → p-e0db2615.entry.js.map} +0 -0
  115. /package/dist/genexus-ide-ui/{p-2cefd33a.entry.js.map → p-e3711567.entry.js.map} +0 -0
  116. /package/dist/genexus-ide-ui/{p-440742f3.entry.js.map → p-e9f2dd3f.entry.js.map} +0 -0
  117. /package/dist/genexus-ide-ui/{p-dd6bbdd5.entry.js.map → p-fdb45861.entry.js.map} +0 -0
@@ -1,8 +1,8 @@
1
- import { r as t, c as e, h as i, H as s, g as a } from "./p-49712340.js";
1
+ import { r as t, c as e, h as i, H as s, g as n } from "./p-49712340.js";
2
2
 
3
- import { g as n } from "./p-6e4208d8.js";
3
+ import { g as a } from "./p-6e4208d8.js";
4
4
 
5
- import "./p-ad5caf61.js";
5
+ import "./p-c9551186.js";
6
6
 
7
7
  import { L as r } from "./p-311eedf3.js";
8
8
 
@@ -55,9 +55,9 @@ const convertImportCategoryDataToTreeView = t => {
55
55
  // - - - - - - - - - - - - - - - - -
56
56
  const createImportResultDataMessages = (t, e, i) => {
57
57
  const s = [];
58
- e.forEach(((e, a) => {
58
+ e.forEach(((e, n) => {
59
59
  s.push({
60
- id: `${t}-message-${a}`,
60
+ id: `${t}-message-${n}`,
61
61
  caption: e,
62
62
  startImgSrc: "gemini-tools/list-view/on-surface",
63
63
  leaf: true,
@@ -88,30 +88,30 @@ const createImportResultItem = (t, e) => {
88
88
 
89
89
  // This functions updates the "Import Status" model, by adding a new result item.
90
90
  const addImportItemResultDataItem = (t, e, i, s) => {
91
- const a = [ ...s ];
91
+ const n = [ ...s ];
92
92
  // Use the resultItem.id to find the corresponding category in the categoryMap
93
- const n = i.get(t.id);
94
- const r = e.get(n);
95
- const o = a.findIndex((t => t.id === n));
93
+ const a = i.get(t.id);
94
+ const r = e.get(a);
95
+ const o = n.findIndex((t => t.id === a));
96
96
  if (o === -1) {
97
97
  // category does not exists yet.
98
98
  const e = {
99
- id: n,
99
+ id: a,
100
100
  caption: `${r.name} (1)`,
101
101
  startImgSrc: `${r.icon}`,
102
102
  expanded: true,
103
103
  items: [ createImportResultItem(r, t) ]
104
104
  };
105
- a.push(e);
106
- return a;
105
+ n.push(e);
106
+ return n;
107
107
  }
108
108
  // else category already exists. Just insert the result item in the category.
109
109
  const c = createImportResultItem(r, t);
110
- a[o].items = [ ...a[o].items, c ];
110
+ n[o].items = [ ...n[o].items, c ];
111
111
  // update category caption length
112
- const h = a[o].items.length;
113
- a[o].caption = `${r.name} (${h})`;
114
- return a;
112
+ const h = n[o].items.length;
113
+ n[o].caption = `${r.name} (${h})`;
114
+ return n;
115
115
  };
116
116
 
117
117
  const l = ':host{display:grid;block-size:100%;grid-template:"header header" max-content "objects-in-file import-status" 1fr "footer footer" max-content;grid-template-columns:1fr 1fr}.section{display:contents}.header{grid-template-columns:1fr max-content;grid-area:header}.objects-in-file__section{grid-area:objects-in-file}.objects-in-file__main{border-inline-end:var(--section-common-border);grid-template-rows:1fr max-content}.objects-in-file__footer{display:grid}.import-status__section{grid-area:import-status}.import-status__main{grid-template-rows:1fr max-content}.import-status__footer{display:flex}.import-clear-status-btn{margin-inline-start:auto}.objects-in-file__section,.import-status__section{display:grid;grid-template-rows:max-content 1fr}.control-header__objects-in-file,.control-header__import-status{padding-block-start:var(--mer-spacing--md)}.objects-in-file__main,.import-status__main{grid-auto-rows:max-content;padding-block:var(--content-block-spacing);overflow:auto}.footer{display:flex;grid-area:footer;border-block-start:var(--section-common-border)}.text-align-center{text-align:center}.tree-view::part(item__action tree-view-item--status){grid-template:"first-img left-img text right-img"/max-content max-content 1fr max-content}.tree-view::part(item__action tree-view-item--status)::before{grid-area:first-img;content:"";width:var(--mer-spacing--xs);height:var(--mer-spacing--xs);border-radius:50%;background-color:var(--gray-03);margin-inline-end:var(--mer-spacing--xxs)}.tree-view::part(item__action tree-view-item--success):before{background-image:none;background-color:var(--color-success-dark)}.tree-view::part(item__action tree-view-item--warning):before{background-image:none;background-color:var(--color-warning-dark)}.tree-view::part(item__action tree-view-item--error):before{background-image:none;background-color:var(--color-error-dark)}';
@@ -122,36 +122,36 @@ var d = undefined && undefined.__classPrivateFieldGet || function(t, e, i, s) {
122
122
  return i === "m" ? s : i === "a" ? s.call(t) : s ? s.value : e.get(t);
123
123
  };
124
124
 
125
- var f = undefined && undefined.__classPrivateFieldSet || function(t, e, i, s, a) {
125
+ var f = undefined && undefined.__classPrivateFieldSet || function(t, e, i, s, n) {
126
126
  if (s === "m") throw new TypeError("Private method is not writable");
127
- if (s === "a" && !a) throw new TypeError("Private accessor was defined without a setter");
128
- if (typeof e === "function" ? t !== e || !a : !e.has(t)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
129
- return s === "a" ? a.call(t, i) : a ? a.value = i : e.set(t, i), i;
127
+ if (s === "a" && !n) throw new TypeError("Private accessor was defined without a setter");
128
+ if (typeof e === "function" ? t !== e || !n : !e.has(t)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
129
+ return s === "a" ? n.call(t, i) : n ? n.value = i : e.set(t, i), i;
130
130
  };
131
131
 
132
132
  var m, p, u, b, g, w, k, y, v, _, x, M, W, j, C, T, S, I, $, E, D, F, L, H, O, R;
133
133
 
134
134
  const z = [ "resets/box-sizing", "components/button", "components/checkbox", "components/edit", "components/icon", "components/tree-view", "utils/form", "utils/layout", "utils/typography", "utils/spacing" ];
135
135
 
136
- const A = n({
136
+ const A = a({
137
137
  category: "gemini-tools",
138
138
  name: "notice",
139
139
  colorType: "on-elevation"
140
140
  });
141
141
 
142
- const N = n({
142
+ const N = a({
143
143
  category: "gemini-tools",
144
144
  name: "file",
145
145
  colorType: "primary"
146
146
  });
147
147
 
148
- const P = n({
148
+ const P = a({
149
149
  category: "gemini-tools",
150
150
  name: "settings",
151
151
  colorType: "primary"
152
152
  });
153
153
 
154
- const J = n({
154
+ const J = a({
155
155
  category: "menus",
156
156
  name: "delete",
157
157
  colorType: "primary"
@@ -282,15 +282,15 @@ const X = class {
282
282
  const e = t.detail;
283
283
  const i = [];
284
284
  const s = e.findIndex((t => t.itemId === "errors"));
285
- const a = e.findIndex((t => t.itemId === "warnings"));
286
- const n = e.findIndex((t => t.itemId === "successes"));
285
+ const n = e.findIndex((t => t.itemId === "warnings"));
286
+ const a = e.findIndex((t => t.itemId === "successes"));
287
287
  if (s !== -1) {
288
288
  i.push("error");
289
289
  }
290
- if (a !== -1) {
290
+ if (n !== -1) {
291
291
  i.push("warning");
292
292
  }
293
- if (n !== -1) {
293
+ if (a !== -1) {
294
294
  i.push("success");
295
295
  }
296
296
  let r = `"${h}":""`;
@@ -306,11 +306,11 @@ const X = class {
306
306
  number: this.statusInfo.error.number
307
307
  },
308
308
  warning: {
309
- display: a !== -1,
309
+ display: n !== -1,
310
310
  number: this.statusInfo.warning.number
311
311
  },
312
312
  success: {
313
- display: n !== -1,
313
+ display: a !== -1,
314
314
  number: this.statusInfo.success.number
315
315
  }
316
316
  };
@@ -585,7 +585,7 @@ const X = class {
585
585
  return [ "gx-ide-assets/kb-manager-import" ];
586
586
  }
587
587
  get el() {
588
- return a(this);
588
+ return n(this);
589
589
  }
590
590
  static get watchers() {
591
591
  return {
@@ -606,4 +606,4 @@ R = new WeakMap;
606
606
  X.style = l;
607
607
 
608
608
  export { X as gx_ide_kb_manager_import };
609
- //# sourceMappingURL=p-47d4ec9a.entry.js.map
609
+ //# sourceMappingURL=p-291eb585.entry.js.map
@@ -2,7 +2,7 @@ import { r as t, h as e, H as i, g as s } from "./p-49712340.js";
2
2
 
3
3
  import { g as a } from "./p-6e4208d8.js";
4
4
 
5
- import "./p-ad5caf61.js";
5
+ import "./p-c9551186.js";
6
6
 
7
7
  import { c as r } from "./p-13738332.js";
8
8
 
@@ -340,4 +340,4 @@ j = new WeakMap;
340
340
  T.style = l;
341
341
 
342
342
  export { T as gx_ide_ww_attributes };
343
- //# sourceMappingURL=p-7be438dc.entry.js.map
343
+ //# sourceMappingURL=p-3611f8b7.entry.js.map
@@ -1,6 +1,6 @@
1
1
  import { h as e } from "./p-49712340.js";
2
2
 
3
- import "./p-ad5caf61.js";
3
+ import "./p-c9551186.js";
4
4
 
5
5
  const s = "message__copied-feedback";
6
6
 
@@ -65,4 +65,4 @@ copyButton(n.content, "Copy code", "common-message"), e("p", {
65
65
  }) ];
66
66
 
67
67
  export { mercuryCodeRender as a, mercuryChatMessageRender as m };
68
- //# sourceMappingURL=p-732941de.js.map
68
+ //# sourceMappingURL=p-4b665a04.js.map
@@ -2,19 +2,19 @@ import { r as t, c as e, h as i, H as o, g as s } from "./p-49712340.js";
2
2
 
3
3
  import { g as r } from "./p-6e4208d8.js";
4
4
 
5
- import "./p-ad5caf61.js";
5
+ import "./p-c9551186.js";
6
6
 
7
7
  import { L as n } from "./p-311eedf3.js";
8
8
 
9
9
  const a = ".wrapper{display:grid;grid-template-columns:1fr max-content max-content;gap:var(--mer-spacing--xs);border-radius:var(--control__border-radius);border:var(--control__border-width) var(--control__border-style) var(--control__border-color);padding:var(--control__padding-block) var(--control__padding-inline)}.wrapper:hover{--control__border-color:var(--control__border-color--hover)}.input{--control__padding-block:0;--control__padding-inline:0;--control__border-width:0;--focus__outline-width:0}:host(:focus-within) .wrapper{--control__border-color:var(--focus__outline-color)}:host(.entity-selector--button-has-focus) .wrapper{outline:none}:host([disabled]){pointer-events:none}:host([disabled]) .wrapper{background-color:var(--control__background-color--disabled);border-color:var(--control__border-color--disabled)}";
10
10
 
11
- var d = undefined && undefined.__classPrivateFieldGet || function(t, e, i, o) {
11
+ var l = undefined && undefined.__classPrivateFieldGet || function(t, e, i, o) {
12
12
  if (i === "a" && !o) throw new TypeError("Private accessor was defined without a getter");
13
13
  if (typeof e === "function" ? t !== e || !o : !e.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
14
14
  return i === "m" ? o : i === "a" ? o.call(t) : o ? o.value : e.get(t);
15
15
  };
16
16
 
17
- var l = undefined && undefined.__classPrivateFieldSet || function(t, e, i, o, s) {
17
+ var d = undefined && undefined.__classPrivateFieldSet || function(t, e, i, o, s) {
18
18
  if (o === "m") throw new TypeError("Private method is not writable");
19
19
  if (o === "a" && !s) throw new TypeError("Private accessor was defined without a setter");
20
20
  if (typeof e === "function" ? t !== e || !s : !e.has(t)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
@@ -67,10 +67,10 @@ const _ = class {
67
67
  part: "wrapper",
68
68
  class: "wrapper"
69
69
  }, i("ch-edit", {
70
- accessibleName: this.labelPosition === "none" && d(this, c, "f").entitySelectorInputAccessibleName,
70
+ accessibleName: this.labelPosition === "none" && l(this, c, "f").entitySelectorInputAccessibleName,
71
71
  class: "input",
72
72
  disabled: this.disabled,
73
- name: this.name || d(this, c, "f").entitySelectorNameAttribute,
73
+ name: this.name || l(this, c, "f").entitySelectorNameAttribute,
74
74
  startImgSrc: this.iconSrc,
75
75
  readonly: true,
76
76
  value: ((t = this.value) === null || t === void 0 ? void 0 : t.name) || ((e = this.defaultValue) === null || e === void 0 ? void 0 : e.name),
@@ -78,26 +78,26 @@ const _ = class {
78
78
  }), i("button", {
79
79
  part: "button-clear",
80
80
  class: "icon-button",
81
- "aria-label": d(this, c, "f").clearButtonLabel,
82
- title: d(this, c, "f").clearButtonLabel,
81
+ "aria-label": l(this, c, "f").clearButtonLabel,
82
+ title: l(this, c, "f").clearButtonLabel,
83
83
  type: "button",
84
84
  disabled: this.disabled,
85
- onClick: d(this, h, "f"),
86
- onFocus: this.buttonHasFocus ? d(this, f, "f") : undefined,
87
- onBlur: !this.buttonHasFocus ? d(this, f, "f") : undefined
85
+ onClick: l(this, h, "f"),
86
+ onFocus: this.buttonHasFocus ? l(this, f, "f") : undefined,
87
+ onBlur: !this.buttonHasFocus ? l(this, f, "f") : undefined
88
88
  }, i("ch-image", {
89
89
  class: "icon-md",
90
90
  src: w,
91
91
  disabled: this.disabled
92
92
  })), i("button", {
93
93
  class: "icon-button",
94
- "aria-label": d(this, c, "f").selectButtonLabel,
95
- title: d(this, c, "f").selectButtonLabel,
94
+ "aria-label": l(this, c, "f").selectButtonLabel,
95
+ title: l(this, c, "f").selectButtonLabel,
96
96
  type: "button",
97
97
  disabled: !this.selectEntityCallback || this.disabled,
98
- onClick: d(this, u, "f"),
99
- onBlur: !this.buttonHasFocus ? d(this, f, "f") : undefined,
100
- onFocus: this.buttonHasFocus ? d(this, f, "f") : undefined
98
+ onClick: l(this, u, "f"),
99
+ onBlur: !this.buttonHasFocus ? l(this, f, "f") : undefined,
100
+ onFocus: this.buttonHasFocus ? l(this, f, "f") : undefined
101
101
  }, i("ch-image", {
102
102
  class: "icon-md",
103
103
  src: v,
@@ -121,14 +121,14 @@ const _ = class {
121
121
  }
122
122
  valueChangedHandler() {
123
123
  this.valueChanged.emit(this.value);
124
- d(this, b, "f").call(this);
124
+ l(this, b, "f").call(this);
125
125
  }
126
126
  // 6.Component Lifecycle Events
127
127
  async componentWillLoad() {
128
- l(this, c, await n.getComponentStrings(this.el), "f");
128
+ d(this, c, await n.getComponentStrings(this.el), "f");
129
129
  }
130
130
  connectedCallback() {
131
- d(this, b, "f").call(this);
131
+ l(this, b, "f").call(this);
132
132
  }
133
133
  render() {
134
134
  return i(o, {
@@ -146,7 +146,7 @@ const _ = class {
146
146
  }, i("label", {
147
147
  class: "label",
148
148
  htmlFor: "entity-input"
149
- }, this.labelCaption || d(this, c, "f").entitySelectorInputAccessibleName), d(this, p, "f").call(this)) : d(this, p, "f").call(this));
149
+ }, this.labelCaption || l(this, c, "f").entitySelectorInputAccessibleName), l(this, p, "f").call(this)) : l(this, p, "f").call(this));
150
150
  }
151
151
  static get assetsDirs() {
152
152
  return [ "gx-ide-assets/entity-selector" ];
@@ -167,4 +167,4 @@ b = new WeakMap;
167
167
  _.style = a;
168
168
 
169
169
  export { _ as gx_ide_entity_selector };
170
- //# sourceMappingURL=p-e14affde.entry.js.map
170
+ //# sourceMappingURL=p-4fc17d27.entry.js.map
@@ -6,7 +6,7 @@ import { c as r } from "./p-13738332.js";
6
6
 
7
7
  import { g as o } from "./p-6e4208d8.js";
8
8
 
9
- import "./p-ad5caf61.js";
9
+ import "./p-c9551186.js";
10
10
 
11
11
  const l = "@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host{display:grid;grid-template-rows:max-content 1fr max-content;overflow:auto;block-size:100%}.section{display:contents}.header__field-group{display:grid;grid-template-columns:1fr 1fr}.tabular-grid{contain:size}.data ch-tabular-grid-cell:is(:nth-child(2),:nth-child(3),: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}ch-tabular-grid.empty-result::part(main){overflow:hidden}ch-tabular-grid-rowset-empty{position:relative}";
12
12
 
@@ -329,4 +329,4 @@ C = new WeakMap, _ = new WeakMap, E = new WeakMap, T = new WeakMap, z = new Weak
329
329
  S.style = l;
330
330
 
331
331
  export { S as gx_ide_data_selector };
332
- //# sourceMappingURL=p-cfef5956.entry.js.map
332
+ //# sourceMappingURL=p-562db47d.entry.js.map
@@ -2,7 +2,7 @@ import { r as t, a as e, h as s, H as i, g as n } from "./p-49712340.js";
2
2
 
3
3
  import { g as o } from "./p-6e4208d8.js";
4
4
 
5
- import "./p-ad5caf61.js";
5
+ import "./p-c9551186.js";
6
6
 
7
7
  import { L as a } from "./p-311eedf3.js";
8
8
 
@@ -462,4 +462,4 @@ j = new WeakMap, N = new WeakMap;
462
462
  z.style = c;
463
463
 
464
464
  export { z as gx_ide_select_kb_items };
465
- //# sourceMappingURL=p-b95a0250.entry.js.map
465
+ //# sourceMappingURL=p-56ab7460.entry.js.map
@@ -4,7 +4,7 @@ import { L as n } from "./p-311eedf3.js";
4
4
 
5
5
  import { g as a } from "./p-6e4208d8.js";
6
6
 
7
- import "./p-ad5caf61.js";
7
+ import "./p-c9551186.js";
8
8
 
9
9
  const o = "property";
10
10
 
@@ -494,4 +494,4 @@ V = new WeakMap, L = new WeakMap, l = new WeakSet, S = function _GxIdeKbManagerE
494
494
  q.style = c;
495
495
 
496
496
  export { q as gx_ide_kb_manager_export };
497
- //# sourceMappingURL=p-1ea6c3fe.entry.js.map
497
+ //# sourceMappingURL=p-5707060d.entry.js.map
@@ -2,7 +2,7 @@ import { r as t, h as e, H as s, g as i } from "./p-49712340.js";
2
2
 
3
3
  import { g as a } from "./p-6e4208d8.js";
4
4
 
5
- import "./p-ad5caf61.js";
5
+ import "./p-c9551186.js";
6
6
 
7
7
  import { c as o } from "./p-13738332.js";
8
8
 
@@ -1068,4 +1068,4 @@ ut = new WeakMap, f = new WeakSet, S = function _GxIdeImportFromDesign_recursive
1068
1068
  $t.style = c;
1069
1069
 
1070
1070
  export { $t as gx_ide_design_import };
1071
- //# sourceMappingURL=p-1e29cd30.entry.js.map
1071
+ //# sourceMappingURL=p-57542159.entry.js.map
@@ -2,7 +2,7 @@ import { r as t, c as e, a as s, h as i, H as n, g as a } from "./p-49712340.js"
2
2
 
3
3
  import { g as o } from "./p-6e4208d8.js";
4
4
 
5
- import "./p-ad5caf61.js";
5
+ import "./p-c9551186.js";
6
6
 
7
7
  import { c as r } from "./p-13738332.js";
8
8
 
@@ -248,4 +248,4 @@ M = new WeakMap, W = new WeakMap, j = new WeakMap, T = new WeakMap, _ = new Weak
248
248
  C.style = h;
249
249
 
250
250
  export { C as gx_ide_share_kb };
251
- //# sourceMappingURL=p-36fecdcb.entry.js.map
251
+ //# sourceMappingURL=p-5cb80ab8.entry.js.map
@@ -2,7 +2,7 @@ import { r as t, h as e, H as s, g as i } from "./p-49712340.js";
2
2
 
3
3
  import { g as o } from "./p-6e4208d8.js";
4
4
 
5
- import "./p-ad5caf61.js";
5
+ import "./p-c9551186.js";
6
6
 
7
7
  import { L as n } from "./p-311eedf3.js";
8
8
 
@@ -254,4 +254,4 @@ u = new WeakMap, m = new WeakMap, b = new WeakMap;
254
254
  k.style = r;
255
255
 
256
256
  export { k as gx_ide_data_type_selector };
257
- //# sourceMappingURL=p-9cfd7800.entry.js.map
257
+ //# sourceMappingURL=p-7a3baebc.entry.js.map
@@ -2,7 +2,7 @@ import { r as t, a as e, h as s, H as i, g as a } from "./p-49712340.js";
2
2
 
3
3
  import { g as n } from "./p-6e4208d8.js";
4
4
 
5
- import "./p-ad5caf61.js";
5
+ import "./p-c9551186.js";
6
6
 
7
7
  import { c as o } from "./p-13738332.js";
8
8
 
@@ -319,4 +319,4 @@ P = new WeakMap, z = new WeakMap, A = new WeakMap, I = new WeakMap;
319
319
  N.style = l;
320
320
 
321
321
  export { N as gx_ide_create_kb_from_server };
322
- //# sourceMappingURL=p-67132150.entry.js.map
322
+ //# sourceMappingURL=p-9c83ec17.entry.js.map
@@ -2,7 +2,7 @@ import { r as e, c as t, h as r, H as i, g as a } from "./p-49712340.js";
2
2
 
3
3
  import { g as o } from "./p-6e4208d8.js";
4
4
 
5
- import "./p-ad5caf61.js";
5
+ import "./p-c9551186.js";
6
6
 
7
7
  import { r as s } from "./p-d1cb5507.js";
8
8
 
@@ -489,4 +489,4 @@ c = new WeakMap, g = new WeakMap;
489
489
  f.style = n;
490
490
 
491
491
  export { f as gx_ide_manage_module_references };
492
- //# sourceMappingURL=p-3ca45936.entry.js.map
492
+ //# sourceMappingURL=p-a526d1f5.entry.js.map
@@ -2,7 +2,7 @@ import { r as e, c as t, h as r, H as i, g as a } from "./p-49712340.js";
2
2
 
3
3
  import { g as o } from "./p-6e4208d8.js";
4
4
 
5
- import "./p-ad5caf61.js";
5
+ import "./p-c9551186.js";
6
6
 
7
7
  import { r as s } from "./p-d1cb5507.js";
8
8
 
@@ -472,4 +472,4 @@ c = new WeakMap, g = new WeakMap;
472
472
  h.style = n;
473
473
 
474
474
  export { h as gx_ide_manage_module_references_v2 };
475
- //# sourceMappingURL=p-8942f4b6.entry.js.map
475
+ //# sourceMappingURL=p-ae3102f4.entry.js.map
@@ -31,7 +31,7 @@ var d = undefined && undefined.__classPrivateFieldSet || function(e, t, s, i, a)
31
31
  return i === "a" ? a.call(e, s) : a ? a.value = s : t.set(e, s), s;
32
32
  };
33
33
 
34
- var h, c, u, f, p, v, m, w, b, g, y, k, M;
34
+ var h, c, u, f, p, v, m, w, g, b, y, k, M;
35
35
 
36
36
  const x = [ "resets/box-sizing", "components/tab", "components/tooltip", "utils/form--full", "utils/layout", "utils/typography", "utils/spacing", "chameleon/scrollbar" ];
37
37
 
@@ -82,7 +82,7 @@ const W = class {
82
82
  this.gxServerConnectionData.userName = (o = this.defaultConnectionData) === null || o === void 0 ? void 0 : o.userName;
83
83
  this.gxServerConnectionData.userPassword = (r = this.defaultConnectionData) === null || r === void 0 ? void 0 : r.userPassword;
84
84
  }));
85
- b.set(this, (() => {
85
+ g.set(this, (() => {
86
86
  // populate #controlsValidation with the controls that could have errors.
87
87
  const e = [ l(this, c, "f"), l(this, u, "f"), l(this, f, "f") ];
88
88
  e.forEach((e => {
@@ -96,7 +96,7 @@ const W = class {
96
96
  }));
97
97
  }));
98
98
  // handlers that update this.gxServerConnectionData:
99
- g.set(this, (e => {
99
+ b.set(this, (e => {
100
100
  this.gxServerConnectionData.serverUrl = e.detail;
101
101
  }));
102
102
  y.set(this, (e => {
@@ -148,7 +148,7 @@ const W = class {
148
148
  l(this, w, "f").call(this);
149
149
  }
150
150
  async componentDidLoad() {
151
- l(this, b, "f").call(this);
151
+ l(this, g, "f").call(this);
152
152
  }
153
153
  render() {
154
154
  var e, i, a, n;
@@ -173,10 +173,10 @@ const W = class {
173
173
  model: this.serverUrlsComboBoxModel,
174
174
  placeholder: "Select a server URL",
175
175
  value: (e = this.gxServerConnectionData) === null || e === void 0 ? void 0 : e.serverUrl,
176
- onInput: l(this, g, "f"),
176
+ onChange: l(this, b, "f"),
177
177
  suggest: this.enableCustomServer,
178
178
  suggestOptions: {
179
- alreadyProcessed: true,
179
+ alreadyProcessed: false,
180
180
  autoExpand: false,
181
181
  hideMatchesAndShowNonMatches: false,
182
182
  highlightMatchedItems: false,
@@ -255,10 +255,10 @@ const W = class {
255
255
  };
256
256
 
257
257
  h = new WeakMap, c = new WeakMap, u = new WeakMap, f = new WeakMap, p = new WeakMap,
258
- v = new WeakMap, m = new WeakMap, w = new WeakMap, b = new WeakMap, g = new WeakMap,
258
+ v = new WeakMap, m = new WeakMap, w = new WeakMap, g = new WeakMap, b = new WeakMap,
259
259
  y = new WeakMap, k = new WeakMap, M = new WeakMap;
260
260
 
261
261
  W.style = r;
262
262
 
263
263
  export { W as gx_ide_connect_gx_server };
264
- //# sourceMappingURL=p-846c67a1.entry.js.map
264
+ //# sourceMappingURL=p-c49885c3.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["mapAuthenticationTypeToComboBoxModel","authenticationTypes","map","authenticationType","value","id","caption","name","mapServerUrlsToComboBoxModel","serverUrls","serverUrl","connectGxServerCss","CSS_BUNDLES","HTMLGxIdeConnectGxServer","_HTMLGxIdeConnectGxServer_componentLocale","set","this","_HTMLGxIdeConnectGxServer_usernameRef","_HTMLGxIdeConnectGxServer_passwordRef","_HTMLGxIdeConnectGxServer_serverUrlRef","_HTMLGxIdeConnectGxServer_cancelClickHandler","cancelCallback","_HTMLGxIdeConnectGxServer_connectClickHandler","async","connectCallback","gxServerConnectionData","then","formSubmitResult","validatableControls","validateControls","_HTMLGxIdeConnectGxServer_evaluateTooltipRender","controlReference","_b","_a","get","hasError","_c","message","h","class","actionElement","blockAlign","config","tooltipSettings","inlineAlign","delay","_HTMLGxIdeConnectGxServer_init","authenticationTypesChanged","serverUrlsChanged","defaultConnectionData","serverUrlsComboBoxModel","_d","authenticationTypesComboBoxModel","_e","_f","userName","_g","userPassword","_h","_HTMLGxIdeConnectGxServer_initializeValidatableControls","__classPrivateFieldGet","forEach","validatableControl","reference","undefined","_HTMLGxIdeConnectGxServer_serverUrlInputEventHandler","event","detail","_HTMLGxIdeConnectGxServer_authenticationInputEventHandler","authenticationTypeId","authenticationTypeIndex","findIndex","authType","authenticationTypeName","_HTMLGxIdeConnectGxServer_usernameInputEventHandler","_HTMLGxIdeConnectGxServer_passwordInputEventHandler","Map","newAuthenticationTypes","length","newServerUrls","componentWillLoad","__classPrivateFieldSet","Locale","getComponentStrings","el","call","componentDidLoad","render","Host","model","htmlFor","main","serverURLLabel","accessibleName","placeholder","onChange","suggest","enableCustomServer","suggestOptions","alreadyProcessed","autoExpand","hideMatchesAndShowNonMatches","highlightMatchedItems","matchCase","regularExpression","renderActiveItemIconOnExpand","strict","ref","authenticationTypeLabel","onInput","usernameLabel","type","passwordLabel","onClick","footer","cancelButtonCaption","connectButtonCaption"],"sources":["src/components/team-dev/connect-gx-server/helpers.ts","src/components/team-dev/connect-gx-server/connect-gx-server.scss?tag=gx-ide-connect-gx-server&encapsulation=shadow","src/components/team-dev/connect-gx-server/connect-gx-server.tsx"],"sourcesContent":["import { AuthenticationType } from \"./connect-gx-server\";\nimport { ComboBoxModel } from \"@genexus/chameleon-controls-library\";\n\nexport const mapAuthenticationTypeToComboBoxModel = (\n authenticationTypes: AuthenticationType[]\n): ComboBoxModel => {\n return authenticationTypes.map(authenticationType => {\n return {\n value: authenticationType.id,\n caption: authenticationType.name\n };\n });\n};\n\nexport const mapServerUrlsToComboBoxModel = (\n serverUrls: string[]\n): ComboBoxModel => {\n return serverUrls.map(serverUrl => {\n return {\n value: serverUrl,\n caption: serverUrl\n };\n });\n};\n",":host {\n display: grid;\n block-size: 100%;\n overflow: auto;\n grid-template-rows: 1fr max-content;\n}\n\n.main {\n display: grid;\n grid-template-areas:\n \"server-url server-url\"\n \"authentication-type .\"\n \"user-name user-password\";\n grid-auto-rows: max-content;\n grid-template-columns: 1fr 1fr;\n}\n\n.section {\n display: contents;\n}\n\n.authentication-type {\n grid-area: authentication-type;\n}\n.server-url {\n grid-area: server-url;\n}\n.user-name {\n grid-area: user-name;\n}\n.user-password {\n grid-area: user-password;\n}\n","// Stencil\nimport { Component, Host, h, Prop, Element, State, Watch } from \"@stencil/core\";\n\n// Other Libraries\nimport { ComboBoxModel } from \"@genexus/chameleon-controls-library\";\nimport { MercuryBundles } from \"@genexus/mercury\";\n\n// Custom Imports\nimport { config } from \"../../../common/config\";\nimport {\n mapAuthenticationTypeToComboBoxModel,\n mapServerUrlsToComboBoxModel\n} from \"./helpers\";\nimport { Locale } from \"../../../common/locale\";\nimport { FormSubmitResult } from \"../../../common/types\";\nimport {\n ControlValidation,\n validateControls\n} from \"../../../common/form-validation\";\n\nconst CSS_BUNDLES: MercuryBundles = [\n \"resets/box-sizing\",\n \"components/tab\",\n \"components/tooltip\",\n \"utils/form--full\",\n \"utils/layout\",\n \"utils/typography\",\n \"utils/spacing\",\n \"chameleon/scrollbar\"\n];\n\n@Component({\n tag: \"gx-ide-connect-gx-server\",\n styleUrl: \"connect-gx-server.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/connect-gx-server\"]\n})\nexport class HTMLGxIdeConnectGxServer {\n /**\n * The component hard-coded strings translations.\n */\n // eslint-disable-next-line @stencil-community/own-props-must-be-private\n #componentLocale: any;\n\n @Element() el: HTMLGxIdeConnectGxServerElement;\n #usernameRef!: HTMLChEditElement;\n #passwordRef!: HTMLChEditElement;\n #serverUrlRef!: HTMLChComboBoxRenderElement;\n\n @State() authenticationTypesComboBoxModel: ComboBoxModel;\n @State() gxServerConnectionData: GXServerConnectionData = {\n authenticationType: {\n id: null,\n name: null\n },\n serverUrl: null,\n userName: null,\n userPassword: null\n };\n @State() serverUrlsComboBoxModel: ComboBoxModel;\n @State() validatableControls = new Map<string, ControlValidation>();\n\n /**\n * List of authentication types.\n */\n @Prop() readonly authenticationTypes!: AuthenticationType[];\n @Watch(\"authenticationTypes\")\n authenticationTypesChanged(newAuthenticationTypes: AuthenticationType[]) {\n if (newAuthenticationTypes?.length) {\n this.authenticationTypesComboBoxModel =\n mapAuthenticationTypeToComboBoxModel(newAuthenticationTypes);\n }\n }\n\n /**\n * Callback that must be invoked when the 'Cancel' button is pressed.\n */\n @Prop() readonly cancelCallback!: () => Promise<void>;\n\n /**\n * Callback that must be invoked when the 'Connect' button is pressed.\n */\n @Prop() readonly connectCallback!: (\n data: GXServerConnectionData\n ) => Promise<FormSubmitResult>;\n\n /**\n * Initial user values ​​for the case in which the user returns to the login modal after successful authentication.\n */\n @Prop() readonly defaultConnectionData?: GXServerConnectionData;\n\n /**\n * true if the user should be allowed to manually enter a server URL.\n */\n @Prop() readonly enableCustomServer: boolean = false;\n\n /**\n * Array of cataloged server URLs to be displayed in the combo.\n */\n @Prop() readonly serverUrls: string[];\n @Watch(\"serverUrls\")\n serverUrlsChanged(newServerUrls: string[]) {\n if (newServerUrls?.length) {\n this.serverUrlsComboBoxModel =\n mapServerUrlsToComboBoxModel(newServerUrls);\n }\n }\n\n async componentWillLoad() {\n this.#componentLocale = await Locale.getComponentStrings(this.el);\n\n this.#init();\n }\n\n async componentDidLoad() {\n this.#initializeValidatableControls();\n }\n\n #cancelClickHandler = () => {\n this.cancelCallback();\n };\n\n #connectClickHandler = async () => {\n this.connectCallback(this.gxServerConnectionData).then(\n (formSubmitResult: FormSubmitResult) => {\n this.validatableControls = validateControls(\n formSubmitResult,\n this.validatableControls\n );\n }\n );\n };\n\n // TODO: evaluate if this should be a global helper function.\n // It is used on other dialogs as well.\n #evaluateTooltipRender = (\n controlReference: HTMLElement\n ): HTMLChTooltipElement =>\n this.validatableControls?.get(controlReference?.id)?.hasError &&\n this.validatableControls.get(controlReference.id)?.message && (\n <ch-tooltip\n class=\"tooltip\"\n actionElement={controlReference as unknown as HTMLButtonElement}\n blockAlign={config.tooltipSettings.blockAlign}\n inlineAlign={config.tooltipSettings.inlineAlign}\n delay={config.tooltipSettings.delay}\n >\n {this.validatableControls.get(controlReference.id).message}\n </ch-tooltip>\n );\n\n #init = () => {\n this.authenticationTypesChanged(this.authenticationTypes);\n this.serverUrlsChanged(this.serverUrls);\n // set initial values:\n // server url\n this.gxServerConnectionData.serverUrl =\n this.defaultConnectionData?.serverUrl ||\n this.serverUrlsComboBoxModel[0]?.value;\n // authentication type\n this.gxServerConnectionData.authenticationType = {\n id:\n (this.defaultConnectionData?.authenticationType.id as string) ||\n this.authenticationTypesComboBoxModel[0]?.value,\n name:\n (this.defaultConnectionData?.authenticationType.name as string) ||\n this.authenticationTypesComboBoxModel[0]?.caption\n };\n\n // user name\n this.gxServerConnectionData.userName = this.defaultConnectionData?.userName;\n this.gxServerConnectionData.userPassword =\n this.defaultConnectionData?.userPassword;\n };\n\n #initializeValidatableControls = () => {\n // populate #controlsValidation with the controls that could have errors.\n const validatableControls: HTMLElement[] = [\n this.#usernameRef,\n this.#passwordRef,\n this.#serverUrlRef\n ];\n validatableControls.forEach(validatableControl => {\n if (validatableControl.id) {\n this.validatableControls.set(validatableControl.id, {\n reference: validatableControl,\n hasError: false,\n message: undefined\n });\n }\n });\n };\n\n // handlers that update this.gxServerConnectionData:\n #serverUrlInputEventHandler = (event: CustomEvent<string> | InputEvent) => {\n this.gxServerConnectionData.serverUrl = event.detail as string;\n };\n #authenticationInputEventHandler = (\n event: CustomEvent<string> | InputEvent\n ) => {\n const authenticationTypeId = event.detail as string;\n const authenticationTypeIndex = this.authenticationTypes.findIndex(\n authType => {\n return authType.id === authenticationTypeId;\n }\n );\n const authenticationTypeName =\n this.authenticationTypes[authenticationTypeIndex].name;\n\n this.gxServerConnectionData.authenticationType = {\n id: authenticationTypeId,\n name: authenticationTypeName\n };\n };\n #usernameInputEventHandler = (event: CustomEvent<string> | InputEvent) => {\n this.gxServerConnectionData.userName = event.detail as string;\n };\n #passwordInputEventHandler = (event: CustomEvent<string> | InputEvent) => {\n this.gxServerConnectionData.userPassword = event.detail as string;\n };\n\n render() {\n return (\n <Host class=\"widget\">\n <ch-theme model={CSS_BUNDLES}></ch-theme>\n\n <section class=\"section\">\n <div class=\"main field-group spacing-body\">\n <div\n // server urls\n class=\"field field-block server-url\"\n >\n <label class=\"label\" htmlFor=\"server-url\">\n {this.#componentLocale.main.serverURLLabel}\n </label>\n <ch-combo-box-render\n id=\"server-url\"\n class=\"combo-box\"\n accessibleName=\"Server Url\"\n model={this.serverUrlsComboBoxModel}\n placeholder=\"Select a server URL\"\n value={this.gxServerConnectionData?.serverUrl}\n onChange={this.#serverUrlInputEventHandler}\n suggest={this.enableCustomServer}\n suggestOptions={{\n alreadyProcessed: false,\n autoExpand: false,\n hideMatchesAndShowNonMatches: false,\n highlightMatchedItems: false,\n matchCase: false,\n regularExpression: false,\n renderActiveItemIconOnExpand: true,\n strict: false\n }}\n ref={(el: HTMLChComboBoxRenderElement) =>\n (this.#serverUrlRef = el as HTMLChComboBoxRenderElement)\n }\n ></ch-combo-box-render>\n {this.#evaluateTooltipRender(this.#serverUrlRef)}\n </div>\n\n <div\n // authentication types\n class=\"field field-block authentication-type\"\n >\n <label class=\"label\" htmlFor=\"authentication-type\">\n {this.#componentLocale.main.authenticationTypeLabel}\n </label>\n <ch-combo-box-render\n id=\"authentication-type\"\n class=\"combo-box\"\n accessibleName=\"Authentication Types\"\n model={this.authenticationTypesComboBoxModel}\n placeholder=\"Select an authentication type\"\n value={this.gxServerConnectionData?.authenticationType.id}\n onInput={this.#authenticationInputEventHandler}\n ></ch-combo-box-render>\n </div>\n\n <div\n // username\n class=\"field field-block user-name\"\n >\n <label class=\"label\" htmlFor=\"username\">\n {this.#componentLocale.main.usernameLabel}\n </label>\n <ch-edit\n type=\"text\"\n id=\"username\"\n class=\"input\"\n value={this.gxServerConnectionData?.userName}\n onInput={this.#usernameInputEventHandler}\n ref={(el: HTMLChEditElement) =>\n (this.#usernameRef = el as HTMLChEditElement)\n }\n ></ch-edit>\n {this.#evaluateTooltipRender(this.#usernameRef)}\n </div>\n\n <div\n // user password\n class=\"field field-block user-password\"\n >\n <label class=\"label\" htmlFor=\"password\">\n {this.#componentLocale.main.passwordLabel}\n </label>\n <ch-edit\n type=\"password\"\n id=\"password\"\n class=\"input\"\n value={this.gxServerConnectionData?.userPassword}\n onInput={this.#passwordInputEventHandler}\n ref={(el: HTMLChEditElement) =>\n (this.#passwordRef = el as HTMLChEditElement)\n }\n ></ch-edit>\n {this.#evaluateTooltipRender(this.#passwordRef)}\n </div>\n </div>\n\n <footer class=\"control-footer-with-border spacing-body\">\n <div class=\"buttons-spacer\">\n <button\n // cancel button\n class=\"button-secondary\"\n onClick={this.#cancelClickHandler}\n >\n {this.#componentLocale.footer.cancelButtonCaption}\n </button>\n\n <button\n // connect button\n class=\"button-primary\"\n onClick={this.#connectClickHandler}\n >\n {this.#componentLocale.footer.connectButtonCaption}\n </button>\n </div>\n </footer>\n </section>\n </Host>\n );\n }\n}\n\nexport type GXServerConnectionData = {\n authenticationType: AuthenticationType;\n serverUrl: string;\n userName: string;\n userPassword: string;\n};\n\nexport type AuthenticationType = {\n id: string;\n name: string;\n};\n"],"mappings":";;;;;;;;AAGO,MAAMA,uCACXC,KAEOA,EAAoBC,KAAIC,MACtB;EACLC,OAAOD,EAAmBE;EAC1BC,SAASH,EAAmBI;;;AAK3B,MAAMC,+BACXC,KAEOA,EAAWP,KAAIQ,MACb;EACLN,OAAOM;EACPJ,SAASI;;;ACpBf,MAAMC,IAAqB;;;;;;;;;;;;;;;;;ACoB3B,MAAMC,IAA8B,EAClC,qBACA,kBACA,sBACA,oBACA,gBACA,oBACA,iBACA;;MASWC,IAAwB;;;;;;;QAKnCC,EAAAC,IAAAC,WAAA;IAGAC,EAAAF,IAAAC,WAAA;IACAE,EAAAH,IAAAC,WAAA;IACAG,EAAAJ,IAAAC,WAAA;IAuEAI,EAAAL,IAAAC,OAAsB;MACpBA,KAAKK;AAAgB;IAGvBC,EAAAP,IAAAC,OAAuBO;MACrBP,KAAKQ,gBAAgBR,KAAKS,wBAAwBC,MAC/CC;QACCX,KAAKY,sBAAsBC,EACzBF,GACAX,KAAKY;AACN;AAEJ;;;QAKHE,EAAAf,IAAAC,OACEe;;MAEA,SAAAC,KAAAC,IAAAjB,KAAKY,yBAAmB,QAAAK,WAAA,aAAAA,EAAEC,IAAIH,MAAgB,QAAhBA,WAAgB,aAAhBA,EAAkB1B,SAAG,QAAA2B,WAAA,aAAAA,EAAEG,eACrDC,IAAApB,KAAKY,oBAAoBM,IAAIH,EAAiB1B,SAAG,QAAA+B,WAAA,aAAAA,EAAEC,YACjDC,EAAA;QACEC,OAAM;QACNC,eAAeT;QACfU,YAAYC,EAAOC,gBAAgBF;QACnCG,aAAaF,EAAOC,gBAAgBC;QACpCC,OAAOH,EAAOC,gBAAgBE;SAE7B7B,KAAKY,oBAAoBM,IAAIH,EAAiB1B,IAAIgC;AAEtD;IAEHS,E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,SAAQ;OAC1B9B,EAAA5C,MAAIF,GAAA,KAAkB6E,KAAKqB,gBAE9B1E,EAAA;MACEyE,MAAK;MACL1G,IAAG;MACHkC,OAAM;MACNnC,QAAO+C,IAAAnC,KAAKS,4BAAsB,QAAA0B,WAAA,aAAAA,EAAEM;MACpCoD,SAASjD,EAAA5C,MAAI2D,GAAA;MACbgC,KAAMvB,KACHH,EAAAjE,MAAIE,GAAgBkE,GAAuB;QAG/CxB,EAAA5C,MAAIc,GAAA,KAAuBuD,KAA3BrE,MAA4B4C,EAAA5C,MAAIE,GAAA,SAIrCoB,EAAA;MAAQC,OAAM;OACZD,EAAA;MAAKC,OAAM;OACTD,EAAA;;MAEEC,OAAM;MACN0E,SAASrD,EAAA5C,MAAII,GAAA;OAEZwC,EAAA5C,MAAIF,GAAA,KAAkBoG,OAAOC,sBAGhC7E,EAAA;;MAEEC,OAAM;MACN0E,SAASrD,EAAA5C,MAAIM,GAAA;OAEZsC,EAAA5C,MAAIF,GAAA,KAAkBoG,OAAOE"}
@@ -15354,6 +15354,34 @@ e({
15354
15354
  disabled: e({
15355
15355
  name: "patterns-default-associated_default-associated--disabled"
15356
15356
  })
15357
+ }),
15358
+ "default-associated-synchronized": e({
15359
+ enabled: e({
15360
+ name: "patterns-default-associated_default-associated-synchronized--enabled"
15361
+ }),
15362
+ hover: e({
15363
+ name: "patterns-default-associated_default-associated-synchronized--hover"
15364
+ }),
15365
+ active: e({
15366
+ name: "patterns-default-associated_default-associated-synchronized--active"
15367
+ }),
15368
+ disabled: e({
15369
+ name: "patterns-default-associated_default-associated-synchronized--disabled"
15370
+ })
15371
+ }),
15372
+ "default-associated-modified": e({
15373
+ enabled: e({
15374
+ name: "patterns-default-associated_default-associated-modified--enabled"
15375
+ }),
15376
+ hover: e({
15377
+ name: "patterns-default-associated_default-associated-modified--hover"
15378
+ }),
15379
+ active: e({
15380
+ name: "patterns-default-associated_default-associated-modified--active"
15381
+ }),
15382
+ disabled: e({
15383
+ name: "patterns-default-associated_default-associated-modified--disabled"
15384
+ })
15357
15385
  })
15358
15386
  }),
15359
15387
  patterns: e({
@@ -24859,4 +24887,4 @@ e({
24859
24887
  })
24860
24888
  })
24861
24889
  });
24862
- //# sourceMappingURL=p-ad5caf61.js.map
24890
+ //# sourceMappingURL=p-c9551186.js.map