@genexus/genexus-ide-ui 3.2.8 → 3.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/genexus-ide-ui.cjs.js +1 -1
- package/dist/cjs/gx-ide-db-instance-selector.cjs.entry.js +147 -0
- package/dist/cjs/gx-ide-db-instance-selector.cjs.entry.js.map +1 -0
- package/dist/cjs/gx-ide-mcp-server.cjs.entry.js +6 -20
- package/dist/cjs/gx-ide-mcp-server.cjs.entry.js.map +1 -1
- package/dist/cjs/gx-ide-new-kb.cjs.entry.js +261 -138
- package/dist/cjs/gx-ide-new-kb.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/db-instance-selector/db-instance-selector.css +20 -0
- package/dist/collection/components/db-instance-selector/db-instance-selector.js +262 -0
- package/dist/collection/components/db-instance-selector/db-instance-selector.js.map +1 -0
- package/dist/collection/components/db-instance-selector/gx-ide-assets/db-instance-selector/langs/db-instance-selector.lang.en.json +14 -0
- package/dist/collection/components/db-instance-selector/gx-ide-assets/db-instance-selector/langs/db-instance-selector.lang.ja.json +14 -0
- package/dist/collection/components/db-instance-selector/gx-ide-assets/db-instance-selector/langs/db-instance-selector.lang.zh.json +14 -0
- package/dist/collection/components/db-instance-selector/gx-ide-assets/db-instance-selector/shortcuts.json +15 -0
- package/dist/collection/components/mcp-server/mcp-server.js +6 -20
- package/dist/collection/components/mcp-server/mcp-server.js.map +1 -1
- package/dist/collection/components/mcp-server/types.js.map +1 -1
- package/dist/collection/components/new-kb/gx-ide-assets/new-kb/langs/new-kb.lang.en.json +17 -4
- package/dist/collection/components/new-kb/gx-ide-assets/new-kb/langs/new-kb.lang.ja.json +17 -4
- package/dist/collection/components/new-kb/gx-ide-assets/new-kb/langs/new-kb.lang.zh.json +17 -4
- package/dist/collection/components/new-kb/new-kb.css +122 -17
- package/dist/collection/components/new-kb/new-kb.js +320 -193
- package/dist/collection/components/new-kb/new-kb.js.map +1 -1
- package/dist/collection/components/new-kb/tests/new-kb.e2e.js +48 -60
- package/dist/collection/components/new-kb/tests/new-kb.e2e.js.map +1 -1
- package/dist/collection/testing/locale.e2e.js +1 -0
- package/dist/collection/testing/locale.e2e.js.map +1 -1
- package/dist/components/gx-ide-db-instance-selector.d.ts +11 -0
- package/dist/components/gx-ide-db-instance-selector.js +168 -0
- package/dist/components/gx-ide-db-instance-selector.js.map +1 -0
- package/dist/components/gx-ide-mcp-server.js +6 -20
- package/dist/components/gx-ide-mcp-server.js.map +1 -1
- package/dist/components/gx-ide-new-kb.js +281 -152
- package/dist/components/gx-ide-new-kb.js.map +1 -1
- package/dist/esm/genexus-ide-ui.js +1 -1
- package/dist/esm/gx-ide-db-instance-selector.entry.js +143 -0
- package/dist/esm/gx-ide-db-instance-selector.entry.js.map +1 -0
- package/dist/esm/gx-ide-mcp-server.entry.js +6 -20
- package/dist/esm/gx-ide-mcp-server.entry.js.map +1 -1
- package/dist/esm/gx-ide-new-kb.entry.js +261 -138
- package/dist/esm/gx-ide-new-kb.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js.map +1 -1
- package/dist/genexus-ide-ui/gx-ide-assets/db-instance-selector/langs/db-instance-selector.lang.en.json +14 -0
- package/dist/genexus-ide-ui/gx-ide-assets/db-instance-selector/langs/db-instance-selector.lang.ja.json +14 -0
- package/dist/genexus-ide-ui/gx-ide-assets/db-instance-selector/langs/db-instance-selector.lang.zh.json +14 -0
- package/dist/genexus-ide-ui/gx-ide-assets/db-instance-selector/shortcuts.json +15 -0
- package/dist/genexus-ide-ui/gx-ide-assets/new-kb/langs/new-kb.lang.en.json +17 -4
- package/dist/genexus-ide-ui/gx-ide-assets/new-kb/langs/new-kb.lang.ja.json +17 -4
- package/dist/genexus-ide-ui/gx-ide-assets/new-kb/langs/new-kb.lang.zh.json +17 -4
- package/dist/genexus-ide-ui/{p-45b6dc45.entry.js → p-a456237f.entry.js} +7 -19
- package/dist/genexus-ide-ui/p-a456237f.entry.js.map +1 -0
- package/dist/genexus-ide-ui/p-c1db7f38.entry.js +182 -0
- package/dist/genexus-ide-ui/p-c1db7f38.entry.js.map +1 -0
- package/dist/genexus-ide-ui/p-eeae9dd5.entry.js +1020 -0
- package/dist/genexus-ide-ui/p-eeae9dd5.entry.js.map +1 -0
- package/dist/types/components/db-instance-selector/db-instance-selector.d.ts +39 -0
- package/dist/types/components/mcp-server/types.d.ts +0 -2
- package/dist/types/components/new-kb/new-kb.d.ts +51 -23
- package/dist/types/components.d.ts +135 -84
- package/package.json +1 -1
- package/dist/genexus-ide-ui/p-45b6dc45.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-76e1c357.entry.js +0 -802
- package/dist/genexus-ide-ui/p-76e1c357.entry.js.map +0 -1
|
@@ -11,7 +11,7 @@ import { r as renderChCheckboxItems, m as mapOptionsToComboBoxItemModel } from '
|
|
|
11
11
|
import { v as validateControls } from './form-validation-21ab3766.js';
|
|
12
12
|
import { r as removeIndex } from './array-c52006e6.js';
|
|
13
13
|
|
|
14
|
-
const newKbCss = "
|
|
14
|
+
const newKbCss = ":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}.location-wrapper{display:flex;align-items:center;gap:var(--spacing-gap-xs);min-block-size:var(--control-block-size)}.location-custom-wrapper{display:flex;align-items:center;gap:var(--spacing-gap-xs);flex-grow:1;min-inline-size:0}.location-field{flex-grow:1;min-inline-size:0}.location-field>.input{inline-size:100%}.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}.dialog-header__back-end,.dialog-header__front-end{padding-block-start:16px}.main__back-end{border-inline-end:var(--section-common-border)}.main__back-end,.main__front-end{grid-auto-rows:max-content;padding-block:12px;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}.basic,.advanced{padding-block-start:12px;overflow:auto;block-size:100%}.kb-storage-card{display:flex;flex-direction:column;gap:var(--spacing-gap-l);padding-inline:var(--spacing-padding-xl)}.kb-storage-card__header{display:flex;align-items:center;gap:var(--spacing-gap-s);padding-block-end:var(--spacing-padding-m);border-bottom:1px solid var(--color-border-surface-on-elevation-1)}.kb-storage-card__heading{display:flex;flex-direction:column;gap:var(--spacing-gap-xs);min-inline-size:0}.kb-storage-card__title{margin:0;color:var(--color-text-neutral-default)}.kb-storage-card__grid{display:grid;grid-template-columns:1fr 1fr;column-gap:var(--spacing-gap-xl);row-gap:var(--spacing-gap-l)}.kb-storage-column{display:flex;flex-direction:column;gap:var(--spacing-gap-m);min-inline-size:0}.kb-storage-column__title{display:flex;align-items:center;gap:var(--spacing-gap-s);color:var(--color-text-neutral-disabled);text-transform:uppercase;letter-spacing:0.04em}.kb-storage-column__title-text{white-space:nowrap}.kb-storage-column__title-rule{flex:1;block-size:1px;background-color:var(--color-border-surface-on-elevation-1)}.field-group--stacked{display:flex;flex-direction:column;gap:var(--spacing-gap-m)}.server-name-wrapper{display:grid;grid-template-columns:1fr max-content;gap:var(--spacing-gap-xs);min-inline-size:0}.kb-storage-credentials{display:flex;flex-direction:column;gap:var(--spacing-gap-m)}.kb-storage-callout{display:flex;flex-direction:row;gap:var(--spacing-gap-xs);padding:var(--spacing-padding-m);border:1px solid var(--color-border-surface-on-elevation-2);border-radius:var(--border-radius-s);background-color:var(--color-accent-surface-elevation-2)}.kb-storage-callout-inner{display:flex;flex-direction:column}.kb-storage-callout__title{display:flex;gap:var(--spacing-gap-xs)}.kb-storage-callout__description{color:var(--color-text-neutral-disabled)}.text-align-center{text-align:center}.tab::part(page){scrollbar-width:thin}.tab::part(tab-list block-start){padding-inline:var(--spacing-padding-xl)}.checkbox{inline-size:max-content}.footer.dialog-footer-with-border{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-gap-m)}.footer.dialog-footer-with-border>.buttons-spacer{margin-inline-start:auto}.connection-status--connecting{color:var(--color-text-neutral-disabled)}.connection-status--success{color:var(--color-text-success-default)}.connection-status--failed{color:var(--color-text-error-default)}";
|
|
15
15
|
|
|
16
16
|
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
17
17
|
if (kind === "a" && !f)
|
|
@@ -29,7 +29,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
29
29
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
30
30
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
31
31
|
};
|
|
32
|
-
var _GxIdeNewKb_advancedTabHasBeenRendered, _GxIdeNewKb_componentLocale, _GxIdeNewKb_frontEndsCheckedMap, _GxIdeNewKb_selectedPrototypingEnvironmentId, _GxIdeNewKb_selectedDataSourceId, _GxIdeNewKb_shortcutsSrc, _GxIdeNewKb_kbSectionsModel, _GxIdeNewKb_authenticationTypeEl, _GxIdeNewKb_collationEl, _GxIdeNewKb_createDataFilesInKBFolderEl, _GxIdeNewKb_databaseNameEl, _GxIdeNewKb_dataSourceEl, _GxIdeNewKb_kbNameEl, _GxIdeNewKb_locationEl, _GxIdeNewKb_locationModeEl, _GxIdeNewKb_locationModeModel, _GxIdeNewKb_locationElRegistered, _GxIdeNewKb_passwordEl, _GxIdeNewKb_prototypingEnvironmentEl, _GxIdeNewKb_prototypingTargetEl, _GxIdeNewKb_savePasswordEl, _GxIdeNewKb_serverNameEl, _GxIdeNewKb_userInterfaceLanguageEl, _GxIdeNewKb_userNameEl, _GxIdeNewKb_chShortcutsEl, _GxIdeNewKb_handlerAuthenticationTypeInput,
|
|
32
|
+
var _GxIdeNewKb_advancedTabHasBeenRendered, _GxIdeNewKb_componentLocale, _GxIdeNewKb_frontEndsCheckedMap, _GxIdeNewKb_selectedPrototypingEnvironmentId, _GxIdeNewKb_selectedDataSourceId, _GxIdeNewKb_shortcutsSrc, _GxIdeNewKb_kbSectionsModel, _GxIdeNewKb_authenticationTypeEl, _GxIdeNewKb_collationEl, _GxIdeNewKb_createDataFilesInKBFolderEl, _GxIdeNewKb_databaseNameEl, _GxIdeNewKb_dataSourceEl, _GxIdeNewKb_kbNameEl, _GxIdeNewKb_locationEl, _GxIdeNewKb_locationModeEl, _GxIdeNewKb_locationModeModel, _GxIdeNewKb_locationElRegistered, _GxIdeNewKb_credentialControlsRegistered, _GxIdeNewKb_passwordEl, _GxIdeNewKb_prototypingEnvironmentEl, _GxIdeNewKb_prototypingTargetEl, _GxIdeNewKb_savePasswordEl, _GxIdeNewKb_serverNameEl, _GxIdeNewKb_userInterfaceLanguageEl, _GxIdeNewKb_userNameEl, _GxIdeNewKb_chShortcutsEl, _GxIdeNewKb_computeDefaultDatabaseName, _GxIdeNewKb_kbNameInputHandler, _GxIdeNewKb_databaseNameInputHandler, _GxIdeNewKb_handlerAuthenticationTypeInput, _GxIdeNewKb_handlerCredentialsChanged, _GxIdeNewKb_browseForMoreHandler, _GxIdeNewKb_serverNameChangedHandler, _GxIdeNewKb_classifyServer, _GxIdeNewKb_createDataFilesInKBFolderDisabled, _GxIdeNewKb_sqlAuthMissingCredentials, _GxIdeNewKb_applyCreateDataFilesInKBFolderForServer, _GxIdeNewKb_loadCollationsForCurrentConnection, _GxIdeNewKb_prototypingEnvironmentValueChangedHandler, _GxIdeNewKb_prototypingTargetValueChangedHandler, _GxIdeNewKb_dataSourceValueChangedHandler, _GxIdeNewKb_renderAdvanced, _GxIdeNewKb_renderBasic, _GxIdeNewKb_cancelKbHandler, _GxIdeNewKb_createKbHandler, _GxIdeNewKb_evaluateTooltipRender, _GxIdeNewKb_frontEndCheckboxInputHandler, _GxIdeNewKb_updateFrontEndsCheckedMap, _GxIdeNewKb_getPrototypingEnvironments, _GxIdeNewKb_getDataSources, _GxIdeNewKb_initialSetupAdvancedTab, _GxIdeNewKb_initializeValidatableControlsBasicTab, _GxIdeNewKb_initializeValidatableControlsAdvancedTab, _GxIdeNewKb_selectLocationHandler, _GxIdeNewKb_locationModeChangeHandler, _GxIdeNewKb_tabSelectionChangedHandler, _GxIdeNewKb_loadAdvancedTabData, _GxIdeNewKb_updateFrontEnds;
|
|
33
33
|
const CSS_BUNDLES = [
|
|
34
34
|
"resets/box-sizing",
|
|
35
35
|
"components/tab",
|
|
@@ -40,7 +40,8 @@ const CSS_BUNDLES = [
|
|
|
40
40
|
"utils/spacing",
|
|
41
41
|
"chameleon/scrollbar"
|
|
42
42
|
];
|
|
43
|
-
const WINDOWS_AUTHENTICATION_VALUE = "
|
|
43
|
+
const WINDOWS_AUTHENTICATION_VALUE = "WINDOWS_AUTHENTICATION";
|
|
44
|
+
const LOCALDB_INSTANCE = "(LocalDB)\\MSSQLLocalDB";
|
|
44
45
|
const MAIN_SECTION_CLASSES = "main";
|
|
45
46
|
const BASIC_SECTION_PARENT_CLASSES = "basic";
|
|
46
47
|
const SYSTEM_ICON = getIconPath({
|
|
@@ -48,8 +49,19 @@ const SYSTEM_ICON = getIconPath({
|
|
|
48
49
|
name: "folder",
|
|
49
50
|
colorType: "primary"
|
|
50
51
|
});
|
|
52
|
+
const WARNING_ICON = getIconPath({
|
|
53
|
+
category: "system",
|
|
54
|
+
name: "warning",
|
|
55
|
+
colorType: "on-interactive"
|
|
56
|
+
});
|
|
57
|
+
const DATABASE_ICON = getIconPath({
|
|
58
|
+
category: "system",
|
|
59
|
+
name: "database",
|
|
60
|
+
colorType: "primary"
|
|
61
|
+
});
|
|
51
62
|
const LOCATION_MODE_DEFAULT = "default";
|
|
52
63
|
const LOCATION_MODE_CUSTOM = "custom";
|
|
64
|
+
const DATABASE_NAME_PREFIX = "GX_KB_";
|
|
53
65
|
const BASIC_TAB_SELECTOR = "basic";
|
|
54
66
|
const ADVANCED_TAB_SELECTOR = "advanced";
|
|
55
67
|
const GxIdeNewKb = class {
|
|
@@ -81,6 +93,7 @@ const GxIdeNewKb = class {
|
|
|
81
93
|
_GxIdeNewKb_locationModeEl.set(this, void 0);
|
|
82
94
|
_GxIdeNewKb_locationModeModel.set(this, void 0);
|
|
83
95
|
_GxIdeNewKb_locationElRegistered.set(this, false);
|
|
96
|
+
_GxIdeNewKb_credentialControlsRegistered.set(this, false);
|
|
84
97
|
_GxIdeNewKb_passwordEl.set(this, void 0);
|
|
85
98
|
_GxIdeNewKb_prototypingEnvironmentEl.set(this, void 0);
|
|
86
99
|
_GxIdeNewKb_prototypingTargetEl.set(this, void 0);
|
|
@@ -89,23 +102,122 @@ const GxIdeNewKb = class {
|
|
|
89
102
|
_GxIdeNewKb_userInterfaceLanguageEl.set(this, void 0);
|
|
90
103
|
_GxIdeNewKb_userNameEl.set(this, void 0);
|
|
91
104
|
_GxIdeNewKb_chShortcutsEl.set(this, void 0);
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
_GxIdeNewKb_computeDefaultDatabaseName.set(this, (kbName) => `${DATABASE_NAME_PREFIX}${kbName !== null && kbName !== void 0 ? kbName : ""}`);
|
|
106
|
+
_GxIdeNewKb_kbNameInputHandler.set(this, (e) => {
|
|
107
|
+
var _a, _b;
|
|
108
|
+
const kbNameValue = ((_a = e.detail) !== null && _a !== void 0 ? _a : (_b = __classPrivateFieldGet(this, _GxIdeNewKb_kbNameEl, "f")) === null || _b === void 0 ? void 0 : _b.value);
|
|
109
|
+
this.databaseNameValue = __classPrivateFieldGet(this, _GxIdeNewKb_computeDefaultDatabaseName, "f").call(this, kbNameValue);
|
|
110
|
+
});
|
|
111
|
+
_GxIdeNewKb_databaseNameInputHandler.set(this, (e) => {
|
|
112
|
+
var _a, _b;
|
|
113
|
+
this.databaseNameValue = ((_a = e.detail) !== null && _a !== void 0 ? _a : (_b = __classPrivateFieldGet(this, _GxIdeNewKb_databaseNameEl, "f")) === null || _b === void 0 ? void 0 : _b.value);
|
|
114
|
+
});
|
|
115
|
+
_GxIdeNewKb_handlerAuthenticationTypeInput.set(this, async (e) => {
|
|
116
|
+
this.authenticationTypeValue = e === null || e === void 0 ? void 0 : e.detail;
|
|
117
|
+
this.collations = [];
|
|
118
|
+
this.defaultCollation = undefined;
|
|
119
|
+
this.connectionStatus = undefined;
|
|
120
|
+
await __classPrivateFieldGet(this, _GxIdeNewKb_loadCollationsForCurrentConnection, "f").call(this);
|
|
121
|
+
});
|
|
122
|
+
_GxIdeNewKb_handlerCredentialsChanged.set(this, async () => {
|
|
123
|
+
var _a, _b, _c, _d;
|
|
124
|
+
this.userNameValue = (_b = (_a = __classPrivateFieldGet(this, _GxIdeNewKb_userNameEl, "f")) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "";
|
|
125
|
+
this.passwordValue = (_d = (_c = __classPrivateFieldGet(this, _GxIdeNewKb_passwordEl, "f")) === null || _c === void 0 ? void 0 : _c.value) !== null && _d !== void 0 ? _d : "";
|
|
126
|
+
await __classPrivateFieldGet(this, _GxIdeNewKb_loadCollationsForCurrentConnection, "f").call(this);
|
|
127
|
+
});
|
|
128
|
+
_GxIdeNewKb_browseForMoreHandler.set(this, async () => {
|
|
129
|
+
if (!this.browseForMoreCallback) {
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
this.browseForMoreDialogOpen = true;
|
|
133
|
+
try {
|
|
134
|
+
const selectedInstance = await this.browseForMoreCallback();
|
|
135
|
+
if (selectedInstance) {
|
|
136
|
+
this.serverNameValue = selectedInstance;
|
|
137
|
+
if (__classPrivateFieldGet(this, _GxIdeNewKb_serverNameEl, "f")) {
|
|
138
|
+
__classPrivateFieldGet(this, _GxIdeNewKb_serverNameEl, "f").value = selectedInstance;
|
|
139
|
+
}
|
|
140
|
+
await __classPrivateFieldGet(this, _GxIdeNewKb_serverNameChangedHandler, "f").call(this, new CustomEvent("change", { detail: selectedInstance }));
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
catch (error) {
|
|
144
|
+
}
|
|
145
|
+
finally {
|
|
146
|
+
this.browseForMoreDialogOpen = false;
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
_GxIdeNewKb_serverNameChangedHandler.set(this, async (e) => {
|
|
150
|
+
var _a, _b;
|
|
151
|
+
const selectedInstance = (_a = e === null || e === void 0 ? void 0 : e.detail) !== null && _a !== void 0 ? _a : (_b = e.target) === null || _b === void 0 ? void 0 : _b.value;
|
|
152
|
+
this.serverNameValue = selectedInstance !== null && selectedInstance !== void 0 ? selectedInstance : "";
|
|
153
|
+
__classPrivateFieldGet(this, _GxIdeNewKb_applyCreateDataFilesInKBFolderForServer, "f").call(this);
|
|
154
|
+
await __classPrivateFieldGet(this, _GxIdeNewKb_loadCollationsForCurrentConnection, "f").call(this);
|
|
155
|
+
});
|
|
156
|
+
_GxIdeNewKb_classifyServer.set(this, (serverName) => {
|
|
157
|
+
var _a;
|
|
158
|
+
if (!serverName) {
|
|
159
|
+
return "empty";
|
|
160
|
+
}
|
|
161
|
+
if (serverName.toLowerCase() === LOCALDB_INSTANCE.toLowerCase()) {
|
|
162
|
+
return "localdb";
|
|
163
|
+
}
|
|
164
|
+
const isLocal = ((_a = this.serverInstances) !== null && _a !== void 0 ? _a : []).some(s => { var _a; return ((_a = s.label) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === serverName.toLowerCase(); });
|
|
165
|
+
return isLocal ? "local" : "remote";
|
|
106
166
|
});
|
|
107
|
-
|
|
108
|
-
__classPrivateFieldGet(this,
|
|
167
|
+
_GxIdeNewKb_createDataFilesInKBFolderDisabled.set(this, () => {
|
|
168
|
+
const kind = __classPrivateFieldGet(this, _GxIdeNewKb_classifyServer, "f").call(this, this.serverNameValue);
|
|
169
|
+
return kind === "localdb" || kind === "remote" || kind === "empty";
|
|
170
|
+
});
|
|
171
|
+
_GxIdeNewKb_sqlAuthMissingCredentials.set(this, () => {
|
|
172
|
+
const authType = this.authenticationTypeValue;
|
|
173
|
+
if (!authType || authType === WINDOWS_AUTHENTICATION_VALUE) {
|
|
174
|
+
return false;
|
|
175
|
+
}
|
|
176
|
+
return !this.userNameValue || !this.passwordValue;
|
|
177
|
+
});
|
|
178
|
+
_GxIdeNewKb_applyCreateDataFilesInKBFolderForServer.set(this, () => {
|
|
179
|
+
const kind = __classPrivateFieldGet(this, _GxIdeNewKb_classifyServer, "f").call(this, this.serverNameValue);
|
|
180
|
+
if (kind === "local" || kind === "localdb") {
|
|
181
|
+
this.createDataFilesInKBFolder = true;
|
|
182
|
+
}
|
|
183
|
+
else if (kind === "remote") {
|
|
184
|
+
this.createDataFilesInKBFolder = false;
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
_GxIdeNewKb_loadCollationsForCurrentConnection.set(this, async () => {
|
|
188
|
+
var _a, _b, _c, _d;
|
|
189
|
+
const selectedInstance = this.serverNameValue;
|
|
190
|
+
if (!selectedInstance ||
|
|
191
|
+
!this.getCollationsForInstanceCallback ||
|
|
192
|
+
this.connectionStatus === "connecting") {
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
const authType = this.authenticationTypeValue;
|
|
196
|
+
const isWindowsAuth = authType === WINDOWS_AUTHENTICATION_VALUE;
|
|
197
|
+
const userName = isWindowsAuth ? undefined : (_a = __classPrivateFieldGet(this, _GxIdeNewKb_userNameEl, "f")) === null || _a === void 0 ? void 0 : _a.value;
|
|
198
|
+
const password = isWindowsAuth ? undefined : (_b = __classPrivateFieldGet(this, _GxIdeNewKb_passwordEl, "f")) === null || _b === void 0 ? void 0 : _b.value;
|
|
199
|
+
if (!isWindowsAuth && authType && (!userName || !password)) {
|
|
200
|
+
return;
|
|
201
|
+
}
|
|
202
|
+
this.connectionStatus = "connecting";
|
|
203
|
+
try {
|
|
204
|
+
const result = await this.getCollationsForInstanceCallback(selectedInstance, authType, userName, password);
|
|
205
|
+
if (result) {
|
|
206
|
+
this.collations = (_c = result.collations) !== null && _c !== void 0 ? _c : [];
|
|
207
|
+
this.defaultCollation = (_d = result.defaultCollation) !== null && _d !== void 0 ? _d : undefined;
|
|
208
|
+
this.connectionStatus = "success";
|
|
209
|
+
}
|
|
210
|
+
else {
|
|
211
|
+
this.collations = [];
|
|
212
|
+
this.defaultCollation = undefined;
|
|
213
|
+
this.connectionStatus = "failed";
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
catch (_e) {
|
|
217
|
+
this.collations = [];
|
|
218
|
+
this.defaultCollation = undefined;
|
|
219
|
+
this.connectionStatus = "failed";
|
|
220
|
+
}
|
|
109
221
|
});
|
|
110
222
|
_GxIdeNewKb_prototypingEnvironmentValueChangedHandler.set(this, (event) => {
|
|
111
223
|
__classPrivateFieldSet(this, _GxIdeNewKb_selectedPrototypingEnvironmentId, event.detail, "f");
|
|
@@ -120,56 +232,20 @@ const GxIdeNewKb = class {
|
|
|
120
232
|
__classPrivateFieldSet(this, _GxIdeNewKb_selectedDataSourceId, __classPrivateFieldGet(this, _GxIdeNewKb_dataSourceEl, "f").value, "f");
|
|
121
233
|
});
|
|
122
234
|
_GxIdeNewKb_renderAdvanced.set(this, () => {
|
|
235
|
+
const showCredentials = this.authenticationTypeValue !== WINDOWS_AUTHENTICATION_VALUE;
|
|
123
236
|
return [
|
|
124
|
-
h("h2", {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.tabTitle),
|
|
128
|
-
h("div", { class: "field-group tab-advanced__field-group" }, h("div", {
|
|
129
|
-
// #server name
|
|
130
|
-
class: "field field-block server-name-field"
|
|
131
|
-
}, h("label", { class: "label", htmlFor: "serverName" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.serverName.label), h("ch-combo-box-render", { class: "combo-box", disabled: this.serverNames.length === 0, placeholder: this.serverNames.length === 0
|
|
132
|
-
? __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.serverName
|
|
237
|
+
h("section", { class: "kb-storage-card", part: "kb-storage-card" }, h("header", { class: "kb-storage-card__header" }, h("div", { class: "kb-storage-card__heading" }, h("h2", { class: "kb-storage-card__title body-semi-bold-m" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.tabTitle))), h("div", { class: "kb-storage-card__grid" }, h("div", { class: "kb-storage-column" }, h("div", { class: "kb-storage-column__title body-regular-xs" }, h("span", { class: "kb-storage-column__title-text" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.connectionGroup), h("span", { class: "kb-storage-column__title-rule", "aria-hidden": "true" })), h("div", { class: "field-group field-group--stacked" }, h("div", { class: "field field-block server-name-field" }, h("label", { class: "label", htmlFor: "serverName" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.serverName.label), h("div", { class: "server-name-wrapper" }, h("ch-combo-box-render", { class: "combo-box", value: this.serverNameValue, ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_serverNameEl, el, "f")), id: "serverName", part: "server-name", model: this.serverInstancesComboBoxModel, suggest: true, suggestDebounce: config.inputDebounce, onInput: __classPrivateFieldGet(this, _GxIdeNewKb_serverNameChangedHandler, "f"), onChange: __classPrivateFieldGet(this, _GxIdeNewKb_serverNameChangedHandler, "f") }), h("button", { class: "button-tertiary button-icon-only", "aria-label": __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.serverName.browseForMore, part: "button-browse-for-more", onClick: __classPrivateFieldGet(this, _GxIdeNewKb_browseForMoreHandler, "f") }, h("ch-image", { class: "icon-m", src: DATABASE_ICON }), !this.browseForMoreDialogOpen && (h("ch-tooltip", { class: "tooltip", actionElement: null, blockAlign: "outside-start", inlineAlign: "center", delay: config.tooltipSettings.delay }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.serverName
|
|
238
|
+
.browseForMore)))), __classPrivateFieldGet(this, _GxIdeNewKb_evaluateTooltipRender, "f").call(this, __classPrivateFieldGet(this, _GxIdeNewKb_serverNameEl, "f"))), h("div", { class: "field field-block database-field" }, h("label", { class: "label", htmlFor: "databaseName" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.databaseName.label), h("ch-edit", { class: "input", value: this.databaseNameValue, id: "databaseName", part: "database-name", onInput: __classPrivateFieldGet(this, _GxIdeNewKb_databaseNameInputHandler, "f"), ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_databaseNameEl, el, "f")) }), __classPrivateFieldGet(this, _GxIdeNewKb_evaluateTooltipRender, "f").call(this, __classPrivateFieldGet(this, _GxIdeNewKb_databaseNameEl, "f"))), h("div", { class: "field field-block collation-field" }, h("label", { class: "label", htmlFor: "collation" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.collation.label), h("ch-combo-box-render", { class: "combo-box", disabled: !this.serverNameValue || this.collations.length === 0, placeholder: this.collations.length === 0
|
|
239
|
+
? __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.collation
|
|
133
240
|
.disabledPlaceholder
|
|
134
|
-
: "", value: this.
|
|
135
|
-
// #authentication type
|
|
136
|
-
class: "field field-block authentication-type-field"
|
|
137
|
-
}, h("label", { class: "label", htmlFor: "authenticationType" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.authenticationType.label), h("ch-combo-box-render", { class: "combo-box", disabled: this.authenticationTypes.length === 0, placeholder: this.authenticationTypes.length === 0
|
|
241
|
+
: "", value: this.defaultCollation, ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_collationEl, el, "f")), model: this.collationsComboBoxModel, id: "collation", part: "collation" }), __classPrivateFieldGet(this, _GxIdeNewKb_evaluateTooltipRender, "f").call(this, __classPrivateFieldGet(this, _GxIdeNewKb_collationEl, "f"))), h("ch-checkbox", { class: "checkbox", checkedValue: "true", value: this.createDataFilesInKBFolder ? "true" : undefined, disabled: __classPrivateFieldGet(this, _GxIdeNewKb_createDataFilesInKBFolderDisabled, "f").call(this), caption: __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.createDataFilesInKbFolder, part: "create-data-in-kb", id: "createDataFilesInKBFolder", ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_createDataFilesInKBFolderEl, el, "f")) }))), h("div", { class: "kb-storage-column" }, h("div", { class: "kb-storage-column__title body-regular-xs" }, h("span", { class: "kb-storage-column__title-text" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.authenticationGroup), h("span", { class: "kb-storage-column__title-rule", "aria-hidden": "true" })), h("div", { class: "field-group field-group--stacked" }, h("div", { class: "field field-block authentication-type-field" }, h("label", { class: "label", htmlFor: "authenticationType" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.authenticationType.label), h("ch-combo-box-render", { class: "combo-box", disabled: this.authenticationTypes.length === 0, placeholder: this.authenticationTypes.length === 0
|
|
138
242
|
? __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.authenticationType
|
|
139
243
|
.disabledPlaceholder
|
|
140
|
-
: "", value: this.
|
|
244
|
+
: "", value: this.authenticationTypeValue, ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_authenticationTypeEl, el, "f")), model: this.authenticationTypesComboBoxModel, id: "authenticationType", part: "authentication-type", onInput: this.authenticationTypes.length > 0
|
|
141
245
|
? __classPrivateFieldGet(this, _GxIdeNewKb_handlerAuthenticationTypeInput, "f")
|
|
142
|
-
: undefined }), __classPrivateFieldGet(this, _GxIdeNewKb_evaluateTooltipRender, "f").call(this, __classPrivateFieldGet(this, _GxIdeNewKb_authenticationTypeEl, "f"))), h("div", {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}, h("label", { class: "label", htmlFor: "databaseName" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.databaseName.label), h("ch-edit", {
|
|
146
|
-
// TODO add placeholder
|
|
147
|
-
class: "input", value: this.databaseName, id: "databaseName", part: "database-name", ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_databaseNameEl, el, "f"))
|
|
148
|
-
}), __classPrivateFieldGet(this, _GxIdeNewKb_evaluateTooltipRender, "f").call(this, __classPrivateFieldGet(this, _GxIdeNewKb_databaseNameEl, "f"))), this.userNameVisible ? (h("div", {
|
|
149
|
-
// #username
|
|
150
|
-
class: "field field-block username-field"
|
|
151
|
-
}, h("label", { class: "label", htmlFor: "userName" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.userName.label), h("ch-edit", {
|
|
152
|
-
// TODO add placeholder
|
|
153
|
-
class: "input", value: this.userName, id: "userName", part: "user-name", ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_userNameEl, el, "f"))
|
|
154
|
-
}), __classPrivateFieldGet(this, _GxIdeNewKb_evaluateTooltipRender, "f").call(this, __classPrivateFieldGet(this, _GxIdeNewKb_userNameEl, "f")))) : null, h("div", {
|
|
155
|
-
// #collation
|
|
156
|
-
class: "field field-block collation-field"
|
|
157
|
-
}, h("label", { class: "label", htmlFor: "collation" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.collation.label), h("ch-combo-box-render", { class: "combo-box", disabled: this.serverNames.length === 0, placeholder: this.collations.length === 0
|
|
158
|
-
? __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.collation
|
|
159
|
-
.disabledPlaceholder
|
|
160
|
-
: "", value: this.collationsInitialValue, ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_collationEl, el, "f")), model: this.collationsComboBoxModel, id: "collation", part: "collation" }), __classPrivateFieldGet(this, _GxIdeNewKb_evaluateTooltipRender, "f").call(this, __classPrivateFieldGet(this, _GxIdeNewKb_collationEl, "f"))), this.passwordVisible ? (h("div", {
|
|
161
|
-
// #password
|
|
162
|
-
class: "field field-block password-field"
|
|
163
|
-
}, h("label", { class: "label", htmlFor: "password" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.password.label), h("ch-edit", {
|
|
164
|
-
// TODO add placeholder
|
|
165
|
-
class: "input", type: "password", value: this.password, id: "password", part: "password", ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_passwordEl, el, "f"))
|
|
166
|
-
}), __classPrivateFieldGet(this, _GxIdeNewKb_evaluateTooltipRender, "f").call(this, __classPrivateFieldGet(this, _GxIdeNewKb_passwordEl, "f")))) : null, h("ch-checkbox", {
|
|
167
|
-
// #create data in knowledge base folder
|
|
168
|
-
class: "checkbox create-data-in-kb-checkbox", checkedValue: "createDataFilesInKBFolder", caption: __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.createDataFilesInKbFolder, disabled: this.createDataInKbDisabled, part: "create-data-in-kb", id: "createDataFilesInKBFolder", ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_createDataFilesInKBFolderEl, el, "f"))
|
|
169
|
-
}), this.savePasswordVisible ? (h("ch-checkbox", {
|
|
170
|
-
// #save password
|
|
171
|
-
class: "checkbox save-password-checkbox", checkedValue: "password", caption: __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.savePassword, part: "save-password", id: "savePassword", ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_savePasswordEl, el, "f"))
|
|
172
|
-
})) : null)
|
|
246
|
+
: undefined }), __classPrivateFieldGet(this, _GxIdeNewKb_evaluateTooltipRender, "f").call(this, __classPrivateFieldGet(this, _GxIdeNewKb_authenticationTypeEl, "f"))), showCredentials ? (h("div", { class: "kb-storage-credentials" }, h("div", { class: "field field-block username-field" }, h("label", { class: "label", htmlFor: "userName" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.userName.label), h("ch-edit", { class: "input", value: this.userName, id: "userName", part: "user-name", ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_userNameEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeNewKb_handlerCredentialsChanged, "f"), debounce: config.inputDebounce }), __classPrivateFieldGet(this, _GxIdeNewKb_evaluateTooltipRender, "f").call(this, __classPrivateFieldGet(this, _GxIdeNewKb_userNameEl, "f"))), h("div", { class: "field field-block password-field" }, h("label", { class: "label", htmlFor: "password" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.password.label), h("ch-edit", { class: "input", type: "password", showPasswordButton: true, value: this.password, id: "password", part: "password", ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_passwordEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeNewKb_handlerCredentialsChanged, "f"), debounce: config.inputDebounce }), __classPrivateFieldGet(this, _GxIdeNewKb_evaluateTooltipRender, "f").call(this, __classPrivateFieldGet(this, _GxIdeNewKb_passwordEl, "f"))), h("ch-checkbox", { class: "checkbox", checkedValue: "password", value: "password", caption: __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced.savePassword, part: "save-password", id: "savePassword", ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_savePasswordEl, el, "f")), disabled: true }))) : (h("div", { class: "kb-storage-callout", part: "windows-auth-callout" }, h("ch-image", { class: "icon-l", src: WARNING_ICON, type: "mask" }), h("div", { class: "kb-storage-callout-inner" }, h("span", { class: "kb-storage-callout__title body-semi-bold-s" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced
|
|
247
|
+
.windowsAuthCalloutTitle), h("span", { class: "kb-storage-callout__description body-regular-xs" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").tabAdvanced
|
|
248
|
+
.windowsAuthCalloutDescription))))))))
|
|
173
249
|
];
|
|
174
250
|
});
|
|
175
251
|
_GxIdeNewKb_renderBasic.set(this, () => {
|
|
@@ -233,25 +309,12 @@ const GxIdeNewKb = class {
|
|
|
233
309
|
savePassword: !!((_m = __classPrivateFieldGet(this, _GxIdeNewKb_savePasswordEl, "f")) === null || _m === void 0 ? void 0 : _m.value),
|
|
234
310
|
serverName: (_o = __classPrivateFieldGet(this, _GxIdeNewKb_serverNameEl, "f")) === null || _o === void 0 ? void 0 : _o.value,
|
|
235
311
|
userInterfaceLanguage: (_p = __classPrivateFieldGet(this, _GxIdeNewKb_userInterfaceLanguageEl, "f")) === null || _p === void 0 ? void 0 : _p.value,
|
|
236
|
-
userName: (_q = __classPrivateFieldGet(this, _GxIdeNewKb_userNameEl, "f")) === null || _q === void 0 ? void 0 : _q.value
|
|
312
|
+
userName: (_q = __classPrivateFieldGet(this, _GxIdeNewKb_userNameEl, "f")) === null || _q === void 0 ? void 0 : _q.value,
|
|
313
|
+
creationMode: this.selectedTab
|
|
237
314
|
}).then((formSubmitResult) => {
|
|
238
315
|
this.validatableControls = validateControls(formSubmitResult, this.validatableControls);
|
|
239
316
|
});
|
|
240
317
|
});
|
|
241
|
-
/**
|
|
242
|
-
* Disable "Create Data in Knowledge Base Folder" if the first Server Name
|
|
243
|
-
* option is selected.
|
|
244
|
-
* */
|
|
245
|
-
// eslint-disable-next-line @stencil-community/own-props-must-be-private
|
|
246
|
-
_GxIdeNewKb_evaluateCreateDataCheckboxEnabled.set(this, (serverNameValue) => {
|
|
247
|
-
var _a;
|
|
248
|
-
if (((_a = this.serverNames[0]) === null || _a === void 0 ? void 0 : _a.id) === serverNameValue) {
|
|
249
|
-
this.createDataInKbDisabled = true;
|
|
250
|
-
}
|
|
251
|
-
else {
|
|
252
|
-
this.createDataInKbDisabled = false;
|
|
253
|
-
}
|
|
254
|
-
});
|
|
255
318
|
// TODO: evaluate if this should be a global helper function.
|
|
256
319
|
// It is used on new-kb as well.
|
|
257
320
|
_GxIdeNewKb_evaluateTooltipRender.set(this, (controlReference) => {
|
|
@@ -259,23 +322,6 @@ const GxIdeNewKb = class {
|
|
|
259
322
|
return ((_b = (_a = this.validatableControls) === null || _a === void 0 ? void 0 : _a.get(controlReference === null || controlReference === void 0 ? void 0 : controlReference.id)) === null || _b === void 0 ? void 0 : _b.hasError) &&
|
|
260
323
|
((_c = this.validatableControls.get(controlReference.id)) === null || _c === void 0 ? void 0 : _c.message) && (h("ch-tooltip", { class: "tooltip", actionElement: controlReference, blockAlign: config.tooltipSettings.blockAlign, inlineAlign: config.tooltipSettings.inlineAlign, delay: config.tooltipSettings.delay }, this.validatableControls.get(controlReference.id).message));
|
|
261
324
|
});
|
|
262
|
-
/**
|
|
263
|
-
* If "Authentication Type" is "Windows Authentication", hide User Name,
|
|
264
|
-
* Password, and Save Password fields.
|
|
265
|
-
*/
|
|
266
|
-
// eslint-disable-next-line @stencil-community/own-props-must-be-private
|
|
267
|
-
_GxIdeNewKb_evaluateUserInputsDisplay.set(this, (authenticationTypeValue) => {
|
|
268
|
-
if (authenticationTypeValue === WINDOWS_AUTHENTICATION_VALUE) {
|
|
269
|
-
this.userNameVisible = false;
|
|
270
|
-
this.passwordVisible = false;
|
|
271
|
-
this.savePasswordVisible = false;
|
|
272
|
-
}
|
|
273
|
-
else {
|
|
274
|
-
this.userNameVisible = true;
|
|
275
|
-
this.passwordVisible = true;
|
|
276
|
-
this.savePasswordVisible = true;
|
|
277
|
-
}
|
|
278
|
-
});
|
|
279
325
|
_GxIdeNewKb_frontEndCheckboxInputHandler.set(this, (event) => {
|
|
280
326
|
const checkedValue = event.target.checkedValue;
|
|
281
327
|
const checked = event.detail === checkedValue;
|
|
@@ -338,13 +384,10 @@ const GxIdeNewKb = class {
|
|
|
338
384
|
}
|
|
339
385
|
});
|
|
340
386
|
_GxIdeNewKb_initialSetupAdvancedTab.set(this, () => {
|
|
341
|
-
const
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
// map all "Advanced Tab" GxOption[]'s to ComboBoxModel's
|
|
346
|
-
this.watchAuthenticationTypes(this.authenticationTypes);
|
|
347
|
-
this.watchCollations(this.collations);
|
|
387
|
+
const hasWindowsAuth = this.authenticationTypes.some(opt => opt.id === WINDOWS_AUTHENTICATION_VALUE);
|
|
388
|
+
if (hasWindowsAuth) {
|
|
389
|
+
this.authenticationTypeValue = WINDOWS_AUTHENTICATION_VALUE;
|
|
390
|
+
}
|
|
348
391
|
});
|
|
349
392
|
_GxIdeNewKb_initializeValidatableControlsBasicTab.set(this, () => {
|
|
350
393
|
// populate #controlsValidation with the controls that could have errors.
|
|
@@ -403,10 +446,49 @@ const GxIdeNewKb = class {
|
|
|
403
446
|
this.locationMode = __classPrivateFieldGet(this, _GxIdeNewKb_locationModeEl, "f").value;
|
|
404
447
|
});
|
|
405
448
|
_GxIdeNewKb_tabSelectionChangedHandler.set(this, (event) => {
|
|
449
|
+
this.selectedTab = event.detail.newSelectedId;
|
|
406
450
|
if (event.detail.newSelectedId === ADVANCED_TAB_SELECTOR) {
|
|
407
|
-
this.advancedTabIsVisible
|
|
408
|
-
|
|
409
|
-
|
|
451
|
+
if (!this.advancedTabIsVisible) {
|
|
452
|
+
this.advancedTabIsVisible = true;
|
|
453
|
+
__classPrivateFieldGet(this, _GxIdeNewKb_loadAdvancedTabData, "f").call(this);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
else {
|
|
457
|
+
this.connectionStatus = undefined;
|
|
458
|
+
}
|
|
459
|
+
});
|
|
460
|
+
_GxIdeNewKb_loadAdvancedTabData.set(this, async () => {
|
|
461
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
462
|
+
if (!this.getAdvancedTabDataCallback || this.loadingAdvancedTab) {
|
|
463
|
+
return;
|
|
464
|
+
}
|
|
465
|
+
this.loadingAdvancedTab = true;
|
|
466
|
+
this.connectionStatus = "connecting";
|
|
467
|
+
try {
|
|
468
|
+
const data = await this.getAdvancedTabDataCallback();
|
|
469
|
+
if (data) {
|
|
470
|
+
if (data.serverName != null) {
|
|
471
|
+
this.serverNameValue = data.serverName;
|
|
472
|
+
__classPrivateFieldGet(this, _GxIdeNewKb_applyCreateDataFilesInKBFolderForServer, "f").call(this);
|
|
473
|
+
}
|
|
474
|
+
this.serverInstances = (_a = data.serverInstances) !== null && _a !== void 0 ? _a : this.serverInstances;
|
|
475
|
+
this.collations = (_b = data.collations) !== null && _b !== void 0 ? _b : this.collations;
|
|
476
|
+
this.authenticationTypes =
|
|
477
|
+
(_c = data.authenticationTypes) !== null && _c !== void 0 ? _c : this.authenticationTypes;
|
|
478
|
+
this.defaultCollation = (_d = data.defaultCollation) !== null && _d !== void 0 ? _d : this.defaultCollation;
|
|
479
|
+
this.authenticationTypeValue =
|
|
480
|
+
(_g = (_f = (_e = data.authenticationTypes) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.id) !== null && _g !== void 0 ? _g : this.authenticationTypeValue;
|
|
481
|
+
this.connectionStatus = "success";
|
|
482
|
+
}
|
|
483
|
+
else {
|
|
484
|
+
this.connectionStatus = "failed";
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
catch (_h) {
|
|
488
|
+
this.connectionStatus = "failed";
|
|
489
|
+
}
|
|
490
|
+
finally {
|
|
491
|
+
this.loadingAdvancedTab = false;
|
|
410
492
|
}
|
|
411
493
|
});
|
|
412
494
|
/**
|
|
@@ -431,32 +513,37 @@ const GxIdeNewKb = class {
|
|
|
431
513
|
}
|
|
432
514
|
});
|
|
433
515
|
this.advancedTabIsVisible = false;
|
|
516
|
+
this.loadingAdvancedTab = false;
|
|
517
|
+
this.browseForMoreDialogOpen = false;
|
|
518
|
+
this.databaseNameValue = "";
|
|
434
519
|
this.locationMode = LOCATION_MODE_DEFAULT;
|
|
435
520
|
this.frontEnds = undefined;
|
|
436
521
|
this.validatableControls = new Map();
|
|
437
|
-
this.
|
|
438
|
-
this.
|
|
439
|
-
this.
|
|
440
|
-
this.
|
|
522
|
+
this.connectionStatus = undefined;
|
|
523
|
+
this.userNameValue = "";
|
|
524
|
+
this.passwordValue = "";
|
|
525
|
+
this.authenticationTypes = [];
|
|
441
526
|
this.authenticationTypesComboBoxModel = [];
|
|
442
|
-
this.
|
|
527
|
+
this.authenticationTypeValue = undefined;
|
|
528
|
+
this.collations = [];
|
|
443
529
|
this.collationsComboBoxModel = [];
|
|
444
|
-
this.
|
|
530
|
+
this.defaultCollation = undefined;
|
|
445
531
|
this.defaultDataSourcesComboBoxModel = [];
|
|
446
532
|
this.prototypingTargetsComboBoxModel = [];
|
|
447
533
|
this.prototypingTargetsInitialValue = undefined;
|
|
448
534
|
this.prototypingEnvironmentsComboBoxModel = [];
|
|
449
535
|
this.prototypingEnvironmentsInitialValue = undefined;
|
|
450
|
-
this.
|
|
451
|
-
this.
|
|
536
|
+
this.serverInstances = [];
|
|
537
|
+
this.serverInstancesComboBoxModel = [];
|
|
538
|
+
this.serverNameValue = "";
|
|
452
539
|
this.userInterfaceLanguagesComboBoxModel = [];
|
|
453
540
|
this.userInterfaceLanguagesInitialValue = undefined;
|
|
454
|
-
this.
|
|
541
|
+
this.selectedTab = BASIC_TAB_SELECTOR;
|
|
455
542
|
this.cancelCallback = undefined;
|
|
456
543
|
this.canSetLocation = false;
|
|
457
|
-
this.
|
|
544
|
+
this.getAdvancedTabDataCallback = undefined;
|
|
458
545
|
this.createCallback = undefined;
|
|
459
|
-
this.createDataFilesInKBFolder =
|
|
546
|
+
this.createDataFilesInKBFolder = true;
|
|
460
547
|
this.databaseName = undefined;
|
|
461
548
|
this.defaultDataSources = [];
|
|
462
549
|
this.getDataSourcesCallback = undefined;
|
|
@@ -470,7 +557,8 @@ const GxIdeNewKb = class {
|
|
|
470
557
|
this.prototypingTargets = [];
|
|
471
558
|
this.savePassword = false;
|
|
472
559
|
this.selectLocationCallback = undefined;
|
|
473
|
-
this.
|
|
560
|
+
this.browseForMoreCallback = undefined;
|
|
561
|
+
this.getCollationsForInstanceCallback = undefined;
|
|
474
562
|
this.userInterfaceLanguages = [];
|
|
475
563
|
this.userName = undefined;
|
|
476
564
|
}
|
|
@@ -478,14 +566,22 @@ const GxIdeNewKb = class {
|
|
|
478
566
|
if (newValue === null || newValue === void 0 ? void 0 : newValue.length) {
|
|
479
567
|
this.authenticationTypesComboBoxModel =
|
|
480
568
|
mapOptionsToComboBoxItemModel(newValue);
|
|
481
|
-
this.
|
|
569
|
+
this.authenticationTypeValue = getSelectedItem(newValue);
|
|
482
570
|
}
|
|
483
571
|
}
|
|
484
572
|
watchCollations(newValue) {
|
|
485
|
-
if (newValue === null || newValue === void 0 ? void 0 : newValue.length) {
|
|
486
|
-
this.collationsComboBoxModel =
|
|
487
|
-
|
|
573
|
+
if (!(newValue === null || newValue === void 0 ? void 0 : newValue.length)) {
|
|
574
|
+
this.collationsComboBoxModel = [];
|
|
575
|
+
return;
|
|
488
576
|
}
|
|
577
|
+
this.collationsComboBoxModel = mapOptionsToComboBoxItemModel(newValue);
|
|
578
|
+
}
|
|
579
|
+
watchServerInstances(newValue) {
|
|
580
|
+
if (!(newValue === null || newValue === void 0 ? void 0 : newValue.length)) {
|
|
581
|
+
this.serverInstancesComboBoxModel = [];
|
|
582
|
+
return;
|
|
583
|
+
}
|
|
584
|
+
this.serverInstancesComboBoxModel = mapOptionsToComboBoxItemModel(newValue);
|
|
489
585
|
}
|
|
490
586
|
watchDefaultDataSources(newValue) {
|
|
491
587
|
if (newValue === null || newValue === void 0 ? void 0 : newValue.length) {
|
|
@@ -511,12 +607,6 @@ const GxIdeNewKb = class {
|
|
|
511
607
|
__classPrivateFieldGet(this, _GxIdeNewKb_getPrototypingEnvironments, "f").call(this);
|
|
512
608
|
}
|
|
513
609
|
}
|
|
514
|
-
watchServerNames(newValue) {
|
|
515
|
-
if (newValue === null || newValue === void 0 ? void 0 : newValue.length) {
|
|
516
|
-
this.serverNamesComboBoxModel = mapOptionsToComboBoxItemModel(newValue);
|
|
517
|
-
this.serverNamesInitialValue = getSelectedItem(newValue);
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
610
|
watchUserInterfaceLanguages(newValue) {
|
|
521
611
|
if (newValue === null || newValue === void 0 ? void 0 : newValue.length) {
|
|
522
612
|
this.userInterfaceLanguagesComboBoxModel =
|
|
@@ -525,7 +615,14 @@ const GxIdeNewKb = class {
|
|
|
525
615
|
}
|
|
526
616
|
}
|
|
527
617
|
async componentWillLoad() {
|
|
618
|
+
var _a, _b;
|
|
528
619
|
__classPrivateFieldSet(this, _GxIdeNewKb_componentLocale, await Locale.getComponentStrings(this.el), "f");
|
|
620
|
+
this.databaseNameValue = __classPrivateFieldGet(this, _GxIdeNewKb_computeDefaultDatabaseName, "f").call(this, this.kbName);
|
|
621
|
+
if (this.databaseName) {
|
|
622
|
+
this.databaseNameValue = this.databaseName;
|
|
623
|
+
}
|
|
624
|
+
this.userNameValue = (_a = this.userName) !== null && _a !== void 0 ? _a : "";
|
|
625
|
+
this.passwordValue = (_b = this.password) !== null && _b !== void 0 ? _b : "";
|
|
529
626
|
__classPrivateFieldSet(this, _GxIdeNewKb_kbSectionsModel, [
|
|
530
627
|
{
|
|
531
628
|
id: BASIC_TAB_SELECTOR,
|
|
@@ -551,7 +648,6 @@ const GxIdeNewKb = class {
|
|
|
551
648
|
this.watchDefaultDataSources(this.defaultDataSources);
|
|
552
649
|
this.watchDefaultPrototypingEnvironments(this.defaultPrototypingEnvironments);
|
|
553
650
|
this.watchPrototypingTargets(this.prototypingTargets);
|
|
554
|
-
this.watchServerNames(this.serverNames);
|
|
555
651
|
this.watchUserInterfaceLanguages(this.userInterfaceLanguages);
|
|
556
652
|
}
|
|
557
653
|
componentDidLoad() {
|
|
@@ -575,6 +671,28 @@ const GxIdeNewKb = class {
|
|
|
575
671
|
});
|
|
576
672
|
__classPrivateFieldSet(this, _GxIdeNewKb_locationElRegistered, true, "f");
|
|
577
673
|
}
|
|
674
|
+
// Register credential controls when they become visible (SQL Auth selected)
|
|
675
|
+
if (this.authenticationTypeValue !== WINDOWS_AUTHENTICATION_VALUE &&
|
|
676
|
+
!__classPrivateFieldGet(this, _GxIdeNewKb_credentialControlsRegistered, "f") &&
|
|
677
|
+
__classPrivateFieldGet(this, _GxIdeNewKb_userNameEl, "f") &&
|
|
678
|
+
__classPrivateFieldGet(this, _GxIdeNewKb_passwordEl, "f")) {
|
|
679
|
+
this.validatableControls.set(__classPrivateFieldGet(this, _GxIdeNewKb_userNameEl, "f").id, {
|
|
680
|
+
reference: __classPrivateFieldGet(this, _GxIdeNewKb_userNameEl, "f"),
|
|
681
|
+
hasError: false,
|
|
682
|
+
message: undefined
|
|
683
|
+
});
|
|
684
|
+
this.validatableControls.set(__classPrivateFieldGet(this, _GxIdeNewKb_passwordEl, "f").id, {
|
|
685
|
+
reference: __classPrivateFieldGet(this, _GxIdeNewKb_passwordEl, "f"),
|
|
686
|
+
hasError: false,
|
|
687
|
+
message: undefined
|
|
688
|
+
});
|
|
689
|
+
__classPrivateFieldSet(this, _GxIdeNewKb_credentialControlsRegistered, true, "f");
|
|
690
|
+
}
|
|
691
|
+
// Reset flag when switching back to Windows Auth so they re-register next time
|
|
692
|
+
if (this.authenticationTypeValue === WINDOWS_AUTHENTICATION_VALUE &&
|
|
693
|
+
__classPrivateFieldGet(this, _GxIdeNewKb_credentialControlsRegistered, "f")) {
|
|
694
|
+
__classPrivateFieldSet(this, _GxIdeNewKb_credentialControlsRegistered, false, "f");
|
|
695
|
+
}
|
|
578
696
|
}
|
|
579
697
|
/**
|
|
580
698
|
* Suspends or reactivates the shortcuts
|
|
@@ -601,25 +719,30 @@ const GxIdeNewKb = class {
|
|
|
601
719
|
class: "field field-inline kb-name"
|
|
602
720
|
}, h("label", { class: "label kb-label", htmlFor: "kbName" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").header.kbName), h("ch-edit", {
|
|
603
721
|
// TODO add placeholder
|
|
604
|
-
autoFocus: true, class: "input kb-input", placeholder: "SalesInventory", value: this.kbName, ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_kbNameEl, el, "f")), id: "kbName", part: "kb-name"
|
|
722
|
+
autoFocus: true, class: "input kb-input", placeholder: "SalesInventory", value: this.kbName, onInput: __classPrivateFieldGet(this, _GxIdeNewKb_kbNameInputHandler, "f"), ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_kbNameEl, el, "f")), id: "kbName", part: "kb-name"
|
|
605
723
|
}), __classPrivateFieldGet(this, _GxIdeNewKb_evaluateTooltipRender, "f").call(this, __classPrivateFieldGet(this, _GxIdeNewKb_kbNameEl, "f"))), this.canSetLocation && (h("div", { class: "location-wrapper" }, h("label", { class: "label location-label" }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").header.kbLocation), h("ch-radio-group-render", { class: "radio-group", model: __classPrivateFieldGet(this, _GxIdeNewKb_locationModeModel, "f"), value: LOCATION_MODE_DEFAULT, onChange: __classPrivateFieldGet(this, _GxIdeNewKb_locationModeChangeHandler, "f"), ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_locationModeEl, el, "f")) }), this.locationMode === LOCATION_MODE_CUSTOM && (h("div", { class: "location-custom-wrapper" }, h("div", { class: "location-field" }, h("ch-edit", { class: "input", value: this.kbLocation, ref: (el) => (__classPrivateFieldSet(this, _GxIdeNewKb_locationEl, el, "f")), id: "kbLocation", part: "kb-location" }), __classPrivateFieldGet(this, _GxIdeNewKb_evaluateTooltipRender, "f").call(this, __classPrivateFieldGet(this, _GxIdeNewKb_locationEl, "f"))), h("button", { class: "button-tertiary button-icon-only location-icon", "aria-label": __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").header.selectLocationButton, title: __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").header.selectLocationButton, part: "button-select-location", onClick: __classPrivateFieldGet(this, _GxIdeNewKb_selectLocationHandler, "f") }, h("ch-image", { class: "icon-m", src: SYSTEM_ICON }))))))), this.isAdvanced ? (h("ch-tab-render", {
|
|
606
724
|
// #tab
|
|
607
725
|
class: {
|
|
608
726
|
scrollable: true,
|
|
609
727
|
tab: true,
|
|
610
728
|
[MAIN_SECTION_CLASSES]: true
|
|
611
|
-
}, tabListPosition: "block-start", model: __classPrivateFieldGet(this, _GxIdeNewKb_kbSectionsModel, "f"), selectedId: BASIC_TAB_SELECTOR, overflow: "auto", contain: "size", onSelectedItemChange:
|
|
612
|
-
}, h("div", { slot: BASIC_TAB_SELECTOR, class: BASIC_SECTION_PARENT_CLASSES, part: "tab-button-basic" }, __classPrivateFieldGet(this, _GxIdeNewKb_renderBasic, "f").call(this)), this.advancedTabIsVisible && (h("div", { slot: ADVANCED_TAB_SELECTOR, class: "advanced
|
|
613
|
-
"
|
|
614
|
-
"dialog-footer-with-border":
|
|
729
|
+
}, tabListPosition: "block-start", model: __classPrivateFieldGet(this, _GxIdeNewKb_kbSectionsModel, "f"), selectedId: BASIC_TAB_SELECTOR, overflow: "auto", contain: "size", onSelectedItemChange: __classPrivateFieldGet(this, _GxIdeNewKb_tabSelectionChangedHandler, "f")
|
|
730
|
+
}, h("div", { slot: BASIC_TAB_SELECTOR, class: BASIC_SECTION_PARENT_CLASSES, part: "tab-button-basic" }, __classPrivateFieldGet(this, _GxIdeNewKb_renderBasic, "f").call(this)), this.advancedTabIsVisible && (h("div", { slot: ADVANCED_TAB_SELECTOR, class: "advanced", part: "tab-button-advanced" }, __classPrivateFieldGet(this, _GxIdeNewKb_renderAdvanced, "f").call(this))))) : (h("div", { class: MAIN_SECTION_CLASSES }, h("div", { class: BASIC_SECTION_PARENT_CLASSES }, __classPrivateFieldGet(this, _GxIdeNewKb_renderBasic, "f").call(this)))), h("footer", { class: {
|
|
731
|
+
"footer": true,
|
|
732
|
+
"dialog-footer-with-border": true,
|
|
615
733
|
"spacing-body-block-end": true,
|
|
616
734
|
"spacing-body-inline": true
|
|
617
|
-
} }, h("
|
|
735
|
+
} }, this.connectionStatus && (h("span", { class: {
|
|
736
|
+
"connection-status": true,
|
|
737
|
+
[`connection-status--${this.connectionStatus}`]: true
|
|
738
|
+
}, part: `connection-status connection-status-${this.connectionStatus}` }, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").footer.connectionStatus[this.connectionStatus])), h("div", { class: "buttons-spacer" }, h("button", {
|
|
618
739
|
// #cancel
|
|
619
740
|
class: "button-secondary", id: "button-cancel", onClick: __classPrivateFieldGet(this, _GxIdeNewKb_cancelKbHandler, "f"), part: "button-cancel"
|
|
620
741
|
}, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").footer.btnCancel), h("button", {
|
|
621
742
|
// #create
|
|
622
|
-
class: "button-primary", id: "button-create",
|
|
743
|
+
class: "button-primary", id: "button-create", disabled: this.connectionStatus === "failed" ||
|
|
744
|
+
this.connectionStatus === "connecting" ||
|
|
745
|
+
__classPrivateFieldGet(this, _GxIdeNewKb_sqlAuthMissingCredentials, "f").call(this), onClick: __classPrivateFieldGet(this, _GxIdeNewKb_createKbHandler, "f"), part: "button-create"
|
|
623
746
|
}, __classPrivateFieldGet(this, _GxIdeNewKb_componentLocale, "f").footer.btnCreate))))));
|
|
624
747
|
}
|
|
625
748
|
static get assetsDirs() { return ["gx-ide-assets/new-kb"]; }
|
|
@@ -627,14 +750,14 @@ const GxIdeNewKb = class {
|
|
|
627
750
|
static get watchers() { return {
|
|
628
751
|
"authenticationTypes": ["watchAuthenticationTypes"],
|
|
629
752
|
"collations": ["watchCollations"],
|
|
753
|
+
"serverInstances": ["watchServerInstances"],
|
|
630
754
|
"defaultDataSources": ["watchDefaultDataSources"],
|
|
631
755
|
"defaultPrototypingEnvironments": ["watchDefaultPrototypingEnvironments"],
|
|
632
756
|
"prototypingTargets": ["watchPrototypingTargets"],
|
|
633
|
-
"serverNames": ["watchServerNames"],
|
|
634
757
|
"userInterfaceLanguages": ["watchUserInterfaceLanguages"]
|
|
635
758
|
}; }
|
|
636
759
|
};
|
|
637
|
-
_GxIdeNewKb_advancedTabHasBeenRendered = new WeakMap(), _GxIdeNewKb_componentLocale = new WeakMap(), _GxIdeNewKb_frontEndsCheckedMap = new WeakMap(), _GxIdeNewKb_selectedPrototypingEnvironmentId = new WeakMap(), _GxIdeNewKb_selectedDataSourceId = new WeakMap(), _GxIdeNewKb_shortcutsSrc = new WeakMap(), _GxIdeNewKb_kbSectionsModel = new WeakMap(), _GxIdeNewKb_authenticationTypeEl = new WeakMap(), _GxIdeNewKb_collationEl = new WeakMap(), _GxIdeNewKb_createDataFilesInKBFolderEl = new WeakMap(), _GxIdeNewKb_databaseNameEl = new WeakMap(), _GxIdeNewKb_dataSourceEl = new WeakMap(), _GxIdeNewKb_kbNameEl = new WeakMap(), _GxIdeNewKb_locationEl = new WeakMap(), _GxIdeNewKb_locationModeEl = new WeakMap(), _GxIdeNewKb_locationModeModel = new WeakMap(), _GxIdeNewKb_locationElRegistered = new WeakMap(), _GxIdeNewKb_passwordEl = new WeakMap(), _GxIdeNewKb_prototypingEnvironmentEl = new WeakMap(), _GxIdeNewKb_prototypingTargetEl = new WeakMap(), _GxIdeNewKb_savePasswordEl = new WeakMap(), _GxIdeNewKb_serverNameEl = new WeakMap(), _GxIdeNewKb_userInterfaceLanguageEl = new WeakMap(), _GxIdeNewKb_userNameEl = new WeakMap(), _GxIdeNewKb_chShortcutsEl = new WeakMap(), _GxIdeNewKb_handlerAuthenticationTypeInput = new WeakMap(),
|
|
760
|
+
_GxIdeNewKb_advancedTabHasBeenRendered = new WeakMap(), _GxIdeNewKb_componentLocale = new WeakMap(), _GxIdeNewKb_frontEndsCheckedMap = new WeakMap(), _GxIdeNewKb_selectedPrototypingEnvironmentId = new WeakMap(), _GxIdeNewKb_selectedDataSourceId = new WeakMap(), _GxIdeNewKb_shortcutsSrc = new WeakMap(), _GxIdeNewKb_kbSectionsModel = new WeakMap(), _GxIdeNewKb_authenticationTypeEl = new WeakMap(), _GxIdeNewKb_collationEl = new WeakMap(), _GxIdeNewKb_createDataFilesInKBFolderEl = new WeakMap(), _GxIdeNewKb_databaseNameEl = new WeakMap(), _GxIdeNewKb_dataSourceEl = new WeakMap(), _GxIdeNewKb_kbNameEl = new WeakMap(), _GxIdeNewKb_locationEl = new WeakMap(), _GxIdeNewKb_locationModeEl = new WeakMap(), _GxIdeNewKb_locationModeModel = new WeakMap(), _GxIdeNewKb_locationElRegistered = new WeakMap(), _GxIdeNewKb_credentialControlsRegistered = new WeakMap(), _GxIdeNewKb_passwordEl = new WeakMap(), _GxIdeNewKb_prototypingEnvironmentEl = new WeakMap(), _GxIdeNewKb_prototypingTargetEl = new WeakMap(), _GxIdeNewKb_savePasswordEl = new WeakMap(), _GxIdeNewKb_serverNameEl = new WeakMap(), _GxIdeNewKb_userInterfaceLanguageEl = new WeakMap(), _GxIdeNewKb_userNameEl = new WeakMap(), _GxIdeNewKb_chShortcutsEl = new WeakMap(), _GxIdeNewKb_computeDefaultDatabaseName = new WeakMap(), _GxIdeNewKb_kbNameInputHandler = new WeakMap(), _GxIdeNewKb_databaseNameInputHandler = new WeakMap(), _GxIdeNewKb_handlerAuthenticationTypeInput = new WeakMap(), _GxIdeNewKb_handlerCredentialsChanged = new WeakMap(), _GxIdeNewKb_browseForMoreHandler = new WeakMap(), _GxIdeNewKb_serverNameChangedHandler = new WeakMap(), _GxIdeNewKb_classifyServer = new WeakMap(), _GxIdeNewKb_createDataFilesInKBFolderDisabled = new WeakMap(), _GxIdeNewKb_sqlAuthMissingCredentials = new WeakMap(), _GxIdeNewKb_applyCreateDataFilesInKBFolderForServer = new WeakMap(), _GxIdeNewKb_loadCollationsForCurrentConnection = new WeakMap(), _GxIdeNewKb_prototypingEnvironmentValueChangedHandler = new WeakMap(), _GxIdeNewKb_prototypingTargetValueChangedHandler = new WeakMap(), _GxIdeNewKb_dataSourceValueChangedHandler = new WeakMap(), _GxIdeNewKb_renderAdvanced = new WeakMap(), _GxIdeNewKb_renderBasic = new WeakMap(), _GxIdeNewKb_cancelKbHandler = new WeakMap(), _GxIdeNewKb_createKbHandler = new WeakMap(), _GxIdeNewKb_evaluateTooltipRender = new WeakMap(), _GxIdeNewKb_frontEndCheckboxInputHandler = new WeakMap(), _GxIdeNewKb_updateFrontEndsCheckedMap = new WeakMap(), _GxIdeNewKb_getPrototypingEnvironments = new WeakMap(), _GxIdeNewKb_getDataSources = new WeakMap(), _GxIdeNewKb_initialSetupAdvancedTab = new WeakMap(), _GxIdeNewKb_initializeValidatableControlsBasicTab = new WeakMap(), _GxIdeNewKb_initializeValidatableControlsAdvancedTab = new WeakMap(), _GxIdeNewKb_selectLocationHandler = new WeakMap(), _GxIdeNewKb_locationModeChangeHandler = new WeakMap(), _GxIdeNewKb_tabSelectionChangedHandler = new WeakMap(), _GxIdeNewKb_loadAdvancedTabData = new WeakMap(), _GxIdeNewKb_updateFrontEnds = new WeakMap();
|
|
638
761
|
GxIdeNewKb.style = newKbCss;
|
|
639
762
|
|
|
640
763
|
export { GxIdeNewKb as gx_ide_new_kb };
|