@genexus/genexus-ide-ui 3.2.11 → 3.2.12
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-properties-configurator.cjs.entry.js +165 -0
- package/dist/cjs/gx-ide-db-properties-configurator.cjs.entry.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/db-properties-configurator/db-properties-configurator.css +127 -0
- package/dist/collection/components/db-properties-configurator/db-properties-configurator.js +250 -0
- package/dist/collection/components/db-properties-configurator/db-properties-configurator.js.map +1 -0
- package/dist/collection/components/db-properties-configurator/gx-ide-assets/db-properties-configurator/langs/db-properties-configurator.lang.en.json +24 -0
- package/dist/collection/components/db-properties-configurator/gx-ide-assets/db-properties-configurator/langs/db-properties-configurator.lang.ja.json +24 -0
- package/dist/collection/components/db-properties-configurator/gx-ide-assets/db-properties-configurator/langs/db-properties-configurator.lang.zh.json +24 -0
- 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-properties-configurator.d.ts +11 -0
- package/dist/components/gx-ide-db-properties-configurator.js +183 -0
- package/dist/components/gx-ide-db-properties-configurator.js.map +1 -0
- package/dist/esm/genexus-ide-ui.js +1 -1
- package/dist/esm/gx-ide-db-properties-configurator.entry.js +161 -0
- package/dist/esm/gx-ide-db-properties-configurator.entry.js.map +1 -0
- 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-properties-configurator/langs/db-properties-configurator.lang.en.json +24 -0
- package/dist/genexus-ide-ui/gx-ide-assets/db-properties-configurator/langs/db-properties-configurator.lang.ja.json +24 -0
- package/dist/genexus-ide-ui/gx-ide-assets/db-properties-configurator/langs/db-properties-configurator.lang.zh.json +24 -0
- package/dist/genexus-ide-ui/p-e759cfdb.entry.js +281 -0
- package/dist/genexus-ide-ui/p-e759cfdb.entry.js.map +1 -0
- package/dist/types/components/db-properties-configurator/db-properties-configurator.d.ts +50 -0
- package/dist/types/components.d.ts +107 -60
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["dbPropertiesConfiguratorCss","CSS_BUNDLES","DATABASE_ICON","getIconPath","category","name","colorType","TRUSTED_CONNECTION","USER_ID","USER_PASSWORD","AUTH_CATEGORY","GxIdeDbPropertiesConfigurator","_GxIdeDbPropertiesConfigurator_componentLocale","set","this","_GxIdeDbPropertiesConfigurator_getValue","field","_a","value","_GxIdeDbPropertiesConfigurator_hasPendingRequired","properties","some","missing","__classPrivateFieldGet","call","trim","_GxIdeDbPropertiesConfigurator_buildComboModel","standardValues","map","caption","_GxIdeDbPropertiesConfigurator_isAuthField","toLowerCase","_GxIdeDbPropertiesConfigurator_hasTrustedConnection","_GxIdeDbPropertiesConfigurator_valueChangeHandler","event","detail","_b","target","propertyChangeCallback","_GxIdeDbPropertiesConfigurator_cancelButtonClickedHandler","cancelCallback","_GxIdeDbPropertiesConfigurator_confirmButtonClickedHandler","confirmCallback","_GxIdeDbPropertiesConfigurator_renderControl","fieldId","control","h","id","class","type","showPasswordButton","debounce","config","inputDebounce","onInput","model","onChange","checkedValue","unCheckedValue","suggest","suggestDebounce","part","readonly","_GxIdeDbPropertiesConfigurator_renderField","isReadonly","isCheckbox","key","htmlFor","label","description","_GxIdeDbPropertiesConfigurator_renderSection","title","fields","componentWillLoad","__classPrivateFieldSet","Locale","getComponentStrings","el","render","header","sections","allFields","hasAuthSection","authFields","filter","connectionFields","Host","src","length","connection","authentication","onClick","footer","btnCancel","disabled","btnConfirm"],"sources":["src/components/db-properties-configurator/db-properties-configurator.scss?tag=gx-ide-db-properties-configurator&encapsulation=shadow","src/components/db-properties-configurator/db-properties-configurator.tsx"],"sourcesContent":["@import \"../../global/temporary-mercury-overrides/_button.scss\";\n\n// The component reproduces the Mercury \"Set required properties\" connection\n// dialog. Real Mercury classes (.dialog-header-with-border, .field-group-\n// justified-end, .label, .input, .combo-box, .button-*, typography) come from\n// the loaded bundles; the rules below only add the scaffolding Mercury does\n// not define (hero banner, badge, close button, field help) using DS tokens.\n\n:host {\n display: grid;\n block-size: 100%;\n overflow: hidden;\n grid-template-rows: max-content 1fr max-content;\n background-color: var(--color-accent-surface-elevation-1);\n color: var(--color-text-neutral-default);\n}\n\n.section {\n // section is just for semantics; the host owns the grid.\n display: contents;\n}\n\n// #region Hero\n.hero {\n display: flex;\n align-items: flex-start;\n gap: var(--spacing-gap-xl);\n padding-block: var(--spacing-padding-l);\n padding-inline: var(--spacing-padding-l);\n border-block-end: var(--size-1) solid\n var(--color-border-surface-on-elevation-1);\n}\n\n.hero__text {\n flex: 1;\n min-inline-size: 0;\n}\n\n.hero__title {\n margin: 0;\n color: var(--color-text-neutral-default);\n}\n\n.hero__description {\n margin-block: var(--spacing-gap-xs) 0;\n margin-inline: 0;\n color: var(--color-text-neutral-disabled);\n text-wrap: pretty;\n}\n\n.hero__badge {\n flex: none;\n display: grid;\n place-items: center;\n inline-size: 44px;\n block-size: 44px;\n border-radius: var(--border-radius-m);\n background-color: var(--color-accent-item-hover);\n color: var(--color-icon-primary-default);\n}\n// #endregion Hero\n\n// #region Body\n.main {\n overflow: auto;\n display: flex;\n flex-direction: column;\n gap: var(--spacing-gap-xxl);\n padding-block: var(--spacing-padding-l);\n padding-inline: var(--spacing-padding-l);\n}\n\n// Field section: a quiet uppercase header + its field grid. Sections after\n// the first get a divider so the body reads as structured groups.\n.field-section {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-gap-l);\n}\n\n.field-section + .field-section {\n padding-block-start: var(--spacing-padding-xl);\n border-block-start: var(--size-1) solid\n var(--color-border-surface-on-elevation-1);\n}\n\n.field-section__head {\n display: flex;\n align-items: baseline;\n gap: var(--spacing-gap-m);\n}\n\n.field-section__title {\n font-family: var(--font-family-body);\n font-weight: var(--font-style-semi-bold);\n font-size: var(--font-size-caption-m);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--color-text-neutral-neutral);\n}\n\n// Two-column field grid. Each field occupies one column; checkbox fields\n// (and any other field marked as full-width) span the entire row, forcing\n// the following fields to wrap onto the next row.\n.fields {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: var(--spacing-gap-l);\n}\n\n.field--full {\n grid-column: 1 / -1;\n}\n\n// Inline checkbox field: control + label on the same row, optional help text\n// flows below aligned with the label.\n.field--checkbox {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-gap-xs);\n}\n\n.field--checkbox .field__row {\n display: flex;\n align-items: center;\n gap: var(--spacing-gap-xs);\n}\n\n.field--checkbox .label {\n margin: 0;\n cursor: pointer;\n}\n\n// Help text below a checkbox, indented to align with the label past the box.\n.field--checkbox .field__hint {\n margin: 0;\n margin-inline-start: calc(var(--spacing-gap-m) + var(--spacing-gap-m));\n color: var(--color-text-neutral-disabled);\n text-wrap: pretty;\n}\n// #endregion Body\n\n// #region Footer\n.footer {\n padding-block: var(--spacing-padding-m);\n padding-inline: var(--spacing-padding-l);\n}\n// #endregion Footer\n","import { Component, Host, Prop, Element, h } from \"@stencil/core\";\n\nimport { MercuryBundles, getIconPath } from \"@genexus/mercury\";\nimport { ComboBoxModel } from \"@genexus/chameleon-controls-library\";\n\nimport { Locale } from \"../../common/locale\";\nimport { config } from \"../../common/config\";\n\nconst CSS_BUNDLES: MercuryBundles = [\n \"resets/box-sizing\",\n \"components/button\",\n \"components/combo-box\",\n \"components/edit\",\n \"components/icon\",\n \"utils/form\",\n \"utils/layout\",\n \"utils/typography\",\n \"utils/spacing\",\n \"chameleon/scrollbar\"\n];\n\nconst DATABASE_ICON = getIconPath({\n category: \"system\",\n name: \"database\",\n colorType: \"primary\"\n});\n\n/**\n * Name of the property that toggles integrated security. Its presence in\n * `properties` is what drives the rendering of the Authentication section.\n */\nconst TRUSTED_CONNECTION = \"TRUSTED_CONNECTION\";\nconst USER_ID = \"USER_ID\";\nconst USER_PASSWORD = \"USER_PASSWORD\";\n\n/** Category that groups the authentication-related fields. */\nconst AUTH_CATEGORY = \"authentication\";\n\n@Component({\n tag: \"gx-ide-db-properties-configurator\",\n styleUrl: \"db-properties-configurator.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/db-properties-configurator\"]\n})\nexport class GxIdeDbPropertiesConfigurator {\n // eslint-disable-next-line @stencil-community/own-props-must-be-private\n #componentLocale: any;\n\n @Element() el: HTMLGxIdeDbPropertiesConfiguratorElement;\n\n /**\n * The list of properties to configure. Acts as the single source of truth:\n * the dialog reads each value from `DSPropertyField.value` and notifies the\n * host of every edit through `propertyChangeCallback`.\n */\n @Prop() readonly properties: DSPropertyField[] = [];\n\n /**\n * Callback invoked when the user cancels the configuration.\n */\n @Prop() readonly cancelCallback!: CancelCallback;\n\n /**\n * Callback invoked when the user confirms the configuration.\n */\n @Prop() readonly confirmCallback!: ConfirmCallback;\n\n /**\n * Callback invoked on every input change. Receives the name of the\n * property that changed and its new value. The host is expected to apply\n * the change and push an updated `properties` array back to the component.\n */\n @Prop() readonly propertyChangeCallback!: PropertyChangeCallback;\n\n async componentWillLoad() {\n this.#componentLocale = await Locale.getComponentStrings(this.el);\n }\n\n #getValue = (field: DSPropertyField): string => field.value ?? \"\";\n\n #hasPendingRequired = (): boolean =>\n (this.properties ?? []).some(\n field => field.missing && this.#getValue(field).trim() === \"\"\n );\n\n #buildComboModel = (field: DSPropertyField): ComboBoxModel =>\n (field.standardValues ?? []).map(value => ({ value, caption: value }));\n\n #isAuthField = (field: DSPropertyField): boolean =>\n field.name === TRUSTED_CONNECTION ||\n field.name === USER_ID ||\n field.name === USER_PASSWORD ||\n field.category?.toLowerCase() === AUTH_CATEGORY;\n\n /** Whether the host sent the TRUSTED_CONNECTION property. Only then is the\n * Authentication section rendered. */\n #hasTrustedConnection = (): boolean =>\n (this.properties ?? []).some(field => field.name === TRUSTED_CONNECTION);\n\n #valueChangeHandler =\n (name: string) => (event: CustomEvent<string> | InputEvent) => {\n const detail = (event as CustomEvent<string>).detail;\n const value =\n typeof detail === \"string\"\n ? detail\n : ((event.target as HTMLChEditElement)?.value ?? \"\");\n this.propertyChangeCallback(name, value);\n };\n\n #cancelButtonClickedHandler = () => {\n this.cancelCallback?.();\n };\n\n #confirmButtonClickedHandler = () => {\n this.confirmCallback?.();\n };\n\n // #region Renders\n\n #renderControl = (field: DSPropertyField) => {\n const fieldId = `field-${field.name}`;\n const value = this.#getValue(field);\n\n switch (field.control) {\n case \"password\":\n return (\n <ch-edit\n id={fieldId}\n class=\"input\"\n type=\"password\"\n showPasswordButton\n debounce={config.inputDebounce}\n value={value}\n onInput={this.#valueChangeHandler(field.name)}\n ></ch-edit>\n );\n\n case \"combo\":\n return (\n <ch-combo-box-render\n id={fieldId}\n class=\"combo-box\"\n value={value}\n model={this.#buildComboModel(field)}\n onInput={this.#valueChangeHandler(field.name)}\n onChange={this.#valueChangeHandler(field.name)}\n ></ch-combo-box-render>\n );\n\n case \"checkbox\":\n return (\n <ch-checkbox\n id={fieldId}\n class=\"checkbox\"\n value={value}\n checkedValue=\"Yes\"\n unCheckedValue=\"No\"\n onInput={this.#valueChangeHandler(field.name)}\n ></ch-checkbox>\n );\n\n case \"combo-editable\":\n return (\n <ch-combo-box-render\n id={fieldId}\n class=\"combo-box\"\n suggest\n suggestDebounce={config.inputDebounce}\n value={value}\n model={this.#buildComboModel(field)}\n onInput={this.#valueChangeHandler(field.name)}\n onChange={this.#valueChangeHandler(field.name)}\n part={`combo-box combo-box--editable combo-box--${field.name}`}\n ></ch-combo-box-render>\n );\n\n case \"custom\":\n case \"readonly\":\n return (\n <ch-edit\n id={fieldId}\n class=\"input\"\n readonly\n value={value}\n part={`input input--${field.control} input--${field.name}`}\n ></ch-edit>\n );\n\n // \"text\"\n default:\n return (\n <ch-edit\n id={fieldId}\n class=\"input\"\n debounce={config.inputDebounce}\n value={value}\n onInput={this.#valueChangeHandler(field.name)}\n part={`input input--text input--${field.name}`}\n ></ch-edit>\n );\n }\n };\n\n #renderField = (field: DSPropertyField) => {\n const fieldId = `field-${field.name}`;\n const isReadonly =\n field.control === \"readonly\" || field.control === \"custom\";\n const isCheckbox = field.control === \"checkbox\";\n\n if (isCheckbox) {\n return (\n <div class=\"field field--checkbox field--full\" key={field.name}>\n <div class=\"field__row\">\n {this.#renderControl(field)}\n <label class=\"label\" htmlFor={fieldId}>\n {field.label}\n </label>\n </div>\n {field.description && (\n <p class=\"field__hint body-regular-s\">{field.description}</p>\n )}\n </div>\n );\n }\n\n return (\n <div class=\"field field-block\" key={field.name}>\n <label\n class={{ \"label\": true, \"label--disabled\": isReadonly }}\n htmlFor={fieldId}\n >\n {field.label}\n </label>\n\n {this.#renderControl(field)}\n </div>\n );\n };\n\n #renderSection = (title: string, fields: DSPropertyField[]) => (\n <section class=\"field-section\">\n <div class=\"field-section__head\">\n <span class=\"field-section__title\">{title}</span>\n </div>\n <div class=\"fields\">{fields.map(this.#renderField)}</div>\n </section>\n );\n\n // #endregion Renders\n\n render() {\n const title = this.#componentLocale.header.title;\n const description = this.#componentLocale.header.description;\n const sections = this.#componentLocale.sections;\n\n const allFields = this.properties ?? [];\n const hasAuthSection = this.#hasTrustedConnection();\n\n // The Authentication section is only rendered when TRUSTED_CONNECTION is\n // present; otherwise every field stays in the always-present Connection\n // section so nothing is dropped.\n const authFields = hasAuthSection\n ? allFields.filter(this.#isAuthField)\n : [];\n const connectionFields = hasAuthSection\n ? allFields.filter(field => !this.#isAuthField(field))\n : allFields;\n\n return (\n <Host class=\"widget\">\n <ch-theme model={CSS_BUNDLES}></ch-theme>\n <section class=\"section\">\n <div class=\"hero\">\n <div class=\"hero__text\">\n <h1 class=\"hero__title subtitle-semi-bold-l\">{title}</h1>\n {description && (\n <p class=\"hero__description body-regular-s\">{description}</p>\n )}\n </div>\n <div class=\"hero__badge\" aria-hidden=\"true\">\n <ch-image class=\"icon-xl\" src={DATABASE_ICON}></ch-image>\n </div>\n </div>\n\n <div class=\"main scrollable\">\n {connectionFields.length > 0 &&\n this.#renderSection(sections.connection, connectionFields)}\n\n {hasAuthSection &&\n authFields.length > 0 &&\n this.#renderSection(sections.authentication, authFields)}\n </div>\n\n <footer class=\"dialog-footer-with-border footer\">\n <div class=\"buttons-spacer\">\n <button\n class=\"button-secondary\"\n id=\"button-cancel\"\n type=\"button\"\n onClick={this.#cancelButtonClickedHandler}\n part=\"button-cancel\"\n >\n {this.#componentLocale.footer.btnCancel}\n </button>\n <button\n class=\"button-primary\"\n id=\"button-confirm\"\n type=\"button\"\n disabled={this.#hasPendingRequired()}\n onClick={this.#confirmButtonClickedHandler}\n part=\"button-confirm\"\n >\n {this.#componentLocale.footer.btnConfirm}\n </button>\n </div>\n </footer>\n </section>\n </Host>\n );\n }\n}\n\nexport type DSControlKind =\n | \"checkbox\"\n | \"text\"\n | \"password\"\n | \"combo\"\n | \"combo-editable\"\n | \"custom\"\n | \"readonly\";\n\nexport interface DSPropertyField {\n /** `PropertyData.name` — key used to set the property value. */\n name: string;\n /** `definition.displayName`. */\n label: string;\n /** `definition.description` (rendered below the control). */\n description?: string;\n /** `definition.category` (optional grouping). */\n category?: string;\n\n /** Control resolved by the host. */\n control: DSControlKind;\n\n /** `PropertyData.value` (masked when password). */\n value: string;\n /** `required && isDefault` (host detection). */\n missing: boolean;\n\n // combos:\n /** `PropertyData.standardValues`. */\n standardValues?: string[];\n /** `PropertyData.isStandardValuesExclusive`. */\n exclusive?: boolean;\n}\n\nexport type CancelCallback = () => void | Promise<void>;\n\nexport type ConfirmCallback = () => void | Promise<void>;\n\nexport type PropertyChangeCallback = (\n name: string,\n value: string\n) => void | Promise<void>;\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAMA,IAA8B;;;;;;;;;;;;;;;;;ACQpC,MAAMC,IAA8B,EAClC,qBACA,qBACA,wBACA,mB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BP,KAGjDrC,EAAA;MAAQE,OAAM;OACZF,EAAA;MAAKE,OAAM;OACTF,EAAA;MACEE,OAAM;MACND,IAAG;MACHE,MAAK;MACL0C,SAASpE,EAAAT,MAAIyB,GAAA;MACbsB,MAAK;OAEJtC,EAAAT,MAAIF,GAAA,KAAkBgF,OAAOC,YAEhC/C,EAAA;MACEE,OAAM;MACND,IAAG;MACHE,MAAK;MACL6C,UAAUvE,EAAAT,MAAIK,GAAA,KAAoBK,KAAxBV;MACV6E,SAASpE,EAAAT,MAAI2B,GAAA;MACboB,MAAK;OAEJtC,EAAAT,MAAIF,GAAA,KAAkBgF,OAAOG"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare class GxIdeDbPropertiesConfigurator {
|
|
2
|
+
#private;
|
|
3
|
+
el: HTMLGxIdeDbPropertiesConfiguratorElement;
|
|
4
|
+
/**
|
|
5
|
+
* The list of properties to configure. Acts as the single source of truth:
|
|
6
|
+
* the dialog reads each value from `DSPropertyField.value` and notifies the
|
|
7
|
+
* host of every edit through `propertyChangeCallback`.
|
|
8
|
+
*/
|
|
9
|
+
readonly properties: DSPropertyField[];
|
|
10
|
+
/**
|
|
11
|
+
* Callback invoked when the user cancels the configuration.
|
|
12
|
+
*/
|
|
13
|
+
readonly cancelCallback: CancelCallback;
|
|
14
|
+
/**
|
|
15
|
+
* Callback invoked when the user confirms the configuration.
|
|
16
|
+
*/
|
|
17
|
+
readonly confirmCallback: ConfirmCallback;
|
|
18
|
+
/**
|
|
19
|
+
* Callback invoked on every input change. Receives the name of the
|
|
20
|
+
* property that changed and its new value. The host is expected to apply
|
|
21
|
+
* the change and push an updated `properties` array back to the component.
|
|
22
|
+
*/
|
|
23
|
+
readonly propertyChangeCallback: PropertyChangeCallback;
|
|
24
|
+
componentWillLoad(): Promise<void>;
|
|
25
|
+
render(): any;
|
|
26
|
+
}
|
|
27
|
+
export type DSControlKind = "checkbox" | "text" | "password" | "combo" | "combo-editable" | "custom" | "readonly";
|
|
28
|
+
export interface DSPropertyField {
|
|
29
|
+
/** `PropertyData.name` — key used to set the property value. */
|
|
30
|
+
name: string;
|
|
31
|
+
/** `definition.displayName`. */
|
|
32
|
+
label: string;
|
|
33
|
+
/** `definition.description` (rendered below the control). */
|
|
34
|
+
description?: string;
|
|
35
|
+
/** `definition.category` (optional grouping). */
|
|
36
|
+
category?: string;
|
|
37
|
+
/** Control resolved by the host. */
|
|
38
|
+
control: DSControlKind;
|
|
39
|
+
/** `PropertyData.value` (masked when password). */
|
|
40
|
+
value: string;
|
|
41
|
+
/** `required && isDefault` (host detection). */
|
|
42
|
+
missing: boolean;
|
|
43
|
+
/** `PropertyData.standardValues`. */
|
|
44
|
+
standardValues?: string[];
|
|
45
|
+
/** `PropertyData.isStandardValuesExclusive`. */
|
|
46
|
+
exclusive?: boolean;
|
|
47
|
+
}
|
|
48
|
+
export type CancelCallback = () => void | Promise<void>;
|
|
49
|
+
export type ConfirmCallback = () => void | Promise<void>;
|
|
50
|
+
export type PropertyChangeCallback = (name: string, value: string) => void | Promise<void>;
|
|
@@ -30,16 +30,17 @@ import { MenuAlign, Mode, UserInfo } from "./components/current-user-info/curren
|
|
|
30
30
|
import { CancelCallback as CancelCallback4, ConfirmCallback as ConfirmCallback3, EditCallback, LoadItemsCallback, NewVariableCallback, SelectObjectCallback } from "./components/data-selector/data-selector";
|
|
31
31
|
import { ArrowFirstOnFirstElement, DataTypeCategoryData, DataTypeData, DataTypeSelectedCallback } from "./components/data-type-selector/data-type-selector";
|
|
32
32
|
import { CancelCallback as CancelCallback5, ConfirmCallback as ConfirmCallback4, GetServersCallback } from "./components/db-instance-selector/db-instance-selector";
|
|
33
|
+
import { CancelCallback as CancelCallback6, ConfirmCallback as ConfirmCallback5, DSPropertyField, PropertyChangeCallback } from "./components/db-properties-configurator/db-properties-configurator";
|
|
33
34
|
import { AddObjectsCallback, CreateDeploymentUnitCallback, DeployCallback, DeployTargetData, GetDeploymentUnitObjectsCallback, ObjectTypeData, OptionsCallback } from "./components/deployment-tool/deployment-tool";
|
|
34
|
-
import { CancelCallback as
|
|
35
|
+
import { CancelCallback as CancelCallback7, ConfirmCallback as ConfirmCallback6, LoadCallback, LoadDesignSystemCallback, LoadFontCallback, LoadImageCallback, LoadPanelDataCallback, ReactiveSettings, RequiresAccessTokenCallback, SelectModuleCallback as SelectModuleCallback1, TextEditorFactoryCallback } from "./components/design-import/design-import";
|
|
35
36
|
import { OpenPackageURLCallback, PackageData } from "./components/details-acknowledgements/types";
|
|
36
|
-
import { CancelCallback as
|
|
37
|
+
import { CancelCallback as CancelCallback8, ConfirmCallback as ConfirmCallback7, SelectSourceCallback } from "./components/modules/edit-module-server/edit-module-server";
|
|
37
38
|
import { ModuleServerData, ModuleServerType } from "./components/modules/types";
|
|
38
39
|
import { FileUploadState, UploadedFile, UploadResult } from "./components/file-uploader/types";
|
|
39
|
-
import { CancelCallback as
|
|
40
|
+
import { CancelCallback as CancelCallback9, GamConfigData, RepairCallback, SaveCallback } from "./components/gam-installation-settings/gam-installation-settings";
|
|
40
41
|
import { EntityData as EntityData2, JsonImportData, SelectModuleCallback as SelectModuleCallback2 } from "./components/json-import/json-import";
|
|
41
|
-
import { AddObjectsCallback as AddObjectsCallback1, AddReferencesCallback, CancelCallback as
|
|
42
|
-
import { CancelCallback as
|
|
42
|
+
import { AddObjectsCallback as AddObjectsCallback1, AddReferencesCallback, CancelCallback as CancelCallback10, ExportCallback as ExportCallback1, ExportFileDirectoryCallback, KBPropertiesCallback, KBPropertyType, OptionsCallback as OptionsCallback1 } from "./components/kb-manager-export/types";
|
|
43
|
+
import { CancelCallback as CancelCallback11, ImportCallback, LoadCallback as LoadCallback1, ObjectContextMenuCallback, OptionsCallback as OptionsCallback2 } from "./components/kb-manager-import/kb-manager-import";
|
|
43
44
|
import { CheckedItemsInfo } from "./components/_helpers/list-selector/list-selector";
|
|
44
45
|
import { ItemData } from "./components/_helpers/list-selector/list-selector-item/list-selector-item";
|
|
45
46
|
import { IdeLoaderCancelCallback } from "./components/_helpers/ide-loader/ide-loader";
|
|
@@ -48,13 +49,13 @@ import { McpServerStatus } from "./components/mcp-server/types";
|
|
|
48
49
|
import { CloseCallback, CopyCallback, StartCallback, StopCallback } from "./components/mcp-server/mcp-server";
|
|
49
50
|
import { ComboBoxModel } from "@genexus/chameleon-controls-library";
|
|
50
51
|
import { ContextMenuCallback, ContextMenuInfo as ContextMenuInfo1, FormSubmitResult as FormSubmitResult1 } from "./components";
|
|
51
|
-
import { CancelCallback as
|
|
52
|
-
import { CancelCallback as
|
|
53
|
-
import { BrowseForMoreCallback, CancelCallback as
|
|
54
|
-
import { CancelCallback as
|
|
52
|
+
import { CancelCallback as CancelCallback12, CloseCallback as CloseCallback1, ConfirmCallback as ConfirmCallback8, HeaderData, ItemSelectedCallback, NavigationData } from "./components/navigation-report/navigation-report";
|
|
53
|
+
import { CancelCallback as CancelCallback13, CreateCallback, GetDataSourcesCallback, GetEnvironmentNameCallback, GetFrontEndsCallback, GetLanguagesCallback } from "./components/new-environment/new-environment";
|
|
54
|
+
import { BrowseForMoreCallback, CancelCallback as CancelCallback14, CreateCallback as CreateCallback1, GetAdvancedTabDataCallback, GetCollationsForInstanceCallback, GetDataSourcesCallback as GetDataSourcesCallback1, GetFrontEndsCallback as GetFrontEndsCallback1, GetPrototypingEnvironmentsCallback, SelectLocationCallback as SelectLocationCallback1 } from "./components/new-kb/new-kb";
|
|
55
|
+
import { CancelCallback as CancelCallback15, CreateCallback as CreateCallback2, NewObjectData, SelectModuleCallback as SelectModuleCallback3, SuggestCallback, TypeCategoryData, ValidateNameCallback } from "./components/new-object/new-object";
|
|
55
56
|
import { NewVersionData } from "./components/new-version/new-version";
|
|
56
|
-
import { CancelCallback as
|
|
57
|
-
import { CancelCallback as
|
|
57
|
+
import { CancelCallback as CancelCallback16, LoadCallback as LoadCallback2, NewObjectCallback, OpenSelectionCallback, SelectModuleCallback as SelectModuleCallback4 } from "./components/object-selector/object-selector";
|
|
58
|
+
import { CancelCallback as CancelCallback17, ImportCallback as ImportCallback1, LoadCallback as LoadCallback3, SelectParentCallback } from "./components/open-api-import/open-api-import";
|
|
58
59
|
import { PluginDetailsData } from "./components/plugin-details/plugin-details";
|
|
59
60
|
import { PluginAction, PluginData } from "./components/plugin-explorer/plugin-explorer";
|
|
60
61
|
import { TopStateBarType } from "./components/_helpers/progress-bar/progress-bar";
|
|
@@ -68,7 +69,7 @@ import { ShareKBData } from "./components/team-dev/share-kb/share-kb";
|
|
|
68
69
|
import { AuthStep, OrganizationData } from "./components/sign-in-organization/sign-in-organization";
|
|
69
70
|
import { MessageType } from "./components/splash/splash";
|
|
70
71
|
import { RecentKBData, SampleData, SecondarySection } from "./components/start-page/start-page";
|
|
71
|
-
import { CancelCallback as
|
|
72
|
+
import { CancelCallback as CancelCallback18, SaveCallback as SaveCallback1 } from "./components/_starting-template/starting-template";
|
|
72
73
|
import { CheckedItemsInfo as CheckedItemsInfo1 } from "./components/_helpers/list-selector/list-selector";
|
|
73
74
|
import { SelectedMergeActionData } from "./components/team-dev/bring-all-changes-selector/bring-all-changes-selector";
|
|
74
75
|
import { CommitDetail, CommitInformation, CommitObject, MergeObjectsCallback, ObjectState, OperationType } from "./components/team-dev/bring-changes/bring-changes";
|
|
@@ -77,7 +78,7 @@ import { ItemNode as ItemNode1 } from "./components/select-kb-items/select-kb-it
|
|
|
77
78
|
import { TeamDevPreviewData, TeamDevPreviewMode } from "./components/team-dev/preview/team-dev-preview";
|
|
78
79
|
import { cancelCallback, confirmCallback } from "./components/team-dev/select-recent-comment/select-recent-comment";
|
|
79
80
|
import { ContextMenuCallback as ContextMenuCallback2, PendingItemsCheckedCallback as PendingItemsCheckedCallback1, UpdateFromData } from "./components/team-dev/update/update";
|
|
80
|
-
import { AddCallback, CancelCallback as
|
|
81
|
+
import { AddCallback, CancelCallback as CancelCallback19, ConfirmCallback as ConfirmCallback9, ObjectData as ObjectData2 } from "./components/team-dev/update-partial-selection/update-partial-selection";
|
|
81
82
|
import { cancelCallbackFn, confirmCallbackFn } from "./components/team-dev/update-to-revision/update-to-revision";
|
|
82
83
|
import { CloseCallback as CloseCallback2, SlideInfo, TransitionType } from "./components/welcome-page/welcome-page";
|
|
83
84
|
import { WFConfigData } from "./components/wf-settings/wf-settings";
|
|
@@ -109,16 +110,17 @@ export { MenuAlign, Mode, UserInfo } from "./components/current-user-info/curren
|
|
|
109
110
|
export { CancelCallback as CancelCallback4, ConfirmCallback as ConfirmCallback3, EditCallback, LoadItemsCallback, NewVariableCallback, SelectObjectCallback } from "./components/data-selector/data-selector";
|
|
110
111
|
export { ArrowFirstOnFirstElement, DataTypeCategoryData, DataTypeData, DataTypeSelectedCallback } from "./components/data-type-selector/data-type-selector";
|
|
111
112
|
export { CancelCallback as CancelCallback5, ConfirmCallback as ConfirmCallback4, GetServersCallback } from "./components/db-instance-selector/db-instance-selector";
|
|
113
|
+
export { CancelCallback as CancelCallback6, ConfirmCallback as ConfirmCallback5, DSPropertyField, PropertyChangeCallback } from "./components/db-properties-configurator/db-properties-configurator";
|
|
112
114
|
export { AddObjectsCallback, CreateDeploymentUnitCallback, DeployCallback, DeployTargetData, GetDeploymentUnitObjectsCallback, ObjectTypeData, OptionsCallback } from "./components/deployment-tool/deployment-tool";
|
|
113
|
-
export { CancelCallback as
|
|
115
|
+
export { CancelCallback as CancelCallback7, ConfirmCallback as ConfirmCallback6, LoadCallback, LoadDesignSystemCallback, LoadFontCallback, LoadImageCallback, LoadPanelDataCallback, ReactiveSettings, RequiresAccessTokenCallback, SelectModuleCallback as SelectModuleCallback1, TextEditorFactoryCallback } from "./components/design-import/design-import";
|
|
114
116
|
export { OpenPackageURLCallback, PackageData } from "./components/details-acknowledgements/types";
|
|
115
|
-
export { CancelCallback as
|
|
117
|
+
export { CancelCallback as CancelCallback8, ConfirmCallback as ConfirmCallback7, SelectSourceCallback } from "./components/modules/edit-module-server/edit-module-server";
|
|
116
118
|
export { ModuleServerData, ModuleServerType } from "./components/modules/types";
|
|
117
119
|
export { FileUploadState, UploadedFile, UploadResult } from "./components/file-uploader/types";
|
|
118
|
-
export { CancelCallback as
|
|
120
|
+
export { CancelCallback as CancelCallback9, GamConfigData, RepairCallback, SaveCallback } from "./components/gam-installation-settings/gam-installation-settings";
|
|
119
121
|
export { EntityData as EntityData2, JsonImportData, SelectModuleCallback as SelectModuleCallback2 } from "./components/json-import/json-import";
|
|
120
|
-
export { AddObjectsCallback as AddObjectsCallback1, AddReferencesCallback, CancelCallback as
|
|
121
|
-
export { CancelCallback as
|
|
122
|
+
export { AddObjectsCallback as AddObjectsCallback1, AddReferencesCallback, CancelCallback as CancelCallback10, ExportCallback as ExportCallback1, ExportFileDirectoryCallback, KBPropertiesCallback, KBPropertyType, OptionsCallback as OptionsCallback1 } from "./components/kb-manager-export/types";
|
|
123
|
+
export { CancelCallback as CancelCallback11, ImportCallback, LoadCallback as LoadCallback1, ObjectContextMenuCallback, OptionsCallback as OptionsCallback2 } from "./components/kb-manager-import/kb-manager-import";
|
|
122
124
|
export { CheckedItemsInfo } from "./components/_helpers/list-selector/list-selector";
|
|
123
125
|
export { ItemData } from "./components/_helpers/list-selector/list-selector-item/list-selector-item";
|
|
124
126
|
export { IdeLoaderCancelCallback } from "./components/_helpers/ide-loader/ide-loader";
|
|
@@ -127,13 +129,13 @@ export { McpServerStatus } from "./components/mcp-server/types";
|
|
|
127
129
|
export { CloseCallback, CopyCallback, StartCallback, StopCallback } from "./components/mcp-server/mcp-server";
|
|
128
130
|
export { ComboBoxModel } from "@genexus/chameleon-controls-library";
|
|
129
131
|
export { ContextMenuCallback, ContextMenuInfo as ContextMenuInfo1, FormSubmitResult as FormSubmitResult1 } from "./components";
|
|
130
|
-
export { CancelCallback as
|
|
131
|
-
export { CancelCallback as
|
|
132
|
-
export { BrowseForMoreCallback, CancelCallback as
|
|
133
|
-
export { CancelCallback as
|
|
132
|
+
export { CancelCallback as CancelCallback12, CloseCallback as CloseCallback1, ConfirmCallback as ConfirmCallback8, HeaderData, ItemSelectedCallback, NavigationData } from "./components/navigation-report/navigation-report";
|
|
133
|
+
export { CancelCallback as CancelCallback13, CreateCallback, GetDataSourcesCallback, GetEnvironmentNameCallback, GetFrontEndsCallback, GetLanguagesCallback } from "./components/new-environment/new-environment";
|
|
134
|
+
export { BrowseForMoreCallback, CancelCallback as CancelCallback14, CreateCallback as CreateCallback1, GetAdvancedTabDataCallback, GetCollationsForInstanceCallback, GetDataSourcesCallback as GetDataSourcesCallback1, GetFrontEndsCallback as GetFrontEndsCallback1, GetPrototypingEnvironmentsCallback, SelectLocationCallback as SelectLocationCallback1 } from "./components/new-kb/new-kb";
|
|
135
|
+
export { CancelCallback as CancelCallback15, CreateCallback as CreateCallback2, NewObjectData, SelectModuleCallback as SelectModuleCallback3, SuggestCallback, TypeCategoryData, ValidateNameCallback } from "./components/new-object/new-object";
|
|
134
136
|
export { NewVersionData } from "./components/new-version/new-version";
|
|
135
|
-
export { CancelCallback as
|
|
136
|
-
export { CancelCallback as
|
|
137
|
+
export { CancelCallback as CancelCallback16, LoadCallback as LoadCallback2, NewObjectCallback, OpenSelectionCallback, SelectModuleCallback as SelectModuleCallback4 } from "./components/object-selector/object-selector";
|
|
138
|
+
export { CancelCallback as CancelCallback17, ImportCallback as ImportCallback1, LoadCallback as LoadCallback3, SelectParentCallback } from "./components/open-api-import/open-api-import";
|
|
137
139
|
export { PluginDetailsData } from "./components/plugin-details/plugin-details";
|
|
138
140
|
export { PluginAction, PluginData } from "./components/plugin-explorer/plugin-explorer";
|
|
139
141
|
export { TopStateBarType } from "./components/_helpers/progress-bar/progress-bar";
|
|
@@ -147,7 +149,7 @@ export { ShareKBData } from "./components/team-dev/share-kb/share-kb";
|
|
|
147
149
|
export { AuthStep, OrganizationData } from "./components/sign-in-organization/sign-in-organization";
|
|
148
150
|
export { MessageType } from "./components/splash/splash";
|
|
149
151
|
export { RecentKBData, SampleData, SecondarySection } from "./components/start-page/start-page";
|
|
150
|
-
export { CancelCallback as
|
|
152
|
+
export { CancelCallback as CancelCallback18, SaveCallback as SaveCallback1 } from "./components/_starting-template/starting-template";
|
|
151
153
|
export { CheckedItemsInfo as CheckedItemsInfo1 } from "./components/_helpers/list-selector/list-selector";
|
|
152
154
|
export { SelectedMergeActionData } from "./components/team-dev/bring-all-changes-selector/bring-all-changes-selector";
|
|
153
155
|
export { CommitDetail, CommitInformation, CommitObject, MergeObjectsCallback, ObjectState, OperationType } from "./components/team-dev/bring-changes/bring-changes";
|
|
@@ -156,7 +158,7 @@ export { ItemNode as ItemNode1 } from "./components/select-kb-items/select-kb-it
|
|
|
156
158
|
export { TeamDevPreviewData, TeamDevPreviewMode } from "./components/team-dev/preview/team-dev-preview";
|
|
157
159
|
export { cancelCallback, confirmCallback } from "./components/team-dev/select-recent-comment/select-recent-comment";
|
|
158
160
|
export { ContextMenuCallback as ContextMenuCallback2, PendingItemsCheckedCallback as PendingItemsCheckedCallback1, UpdateFromData } from "./components/team-dev/update/update";
|
|
159
|
-
export { AddCallback, CancelCallback as
|
|
161
|
+
export { AddCallback, CancelCallback as CancelCallback19, ConfirmCallback as ConfirmCallback9, ObjectData as ObjectData2 } from "./components/team-dev/update-partial-selection/update-partial-selection";
|
|
160
162
|
export { cancelCallbackFn, confirmCallbackFn } from "./components/team-dev/update-to-revision/update-to-revision";
|
|
161
163
|
export { CloseCallback as CloseCallback2, SlideInfo, TransitionType } from "./components/welcome-page/welcome-page";
|
|
162
164
|
export { WFConfigData } from "./components/wf-settings/wf-settings";
|
|
@@ -871,6 +873,24 @@ export namespace Components {
|
|
|
871
873
|
*/
|
|
872
874
|
"suspendShortcuts": (suspendShortcuts: boolean) => Promise<void>;
|
|
873
875
|
}
|
|
876
|
+
interface GxIdeDbPropertiesConfigurator {
|
|
877
|
+
/**
|
|
878
|
+
* Callback invoked when the user cancels the configuration.
|
|
879
|
+
*/
|
|
880
|
+
"cancelCallback": CancelCallback6;
|
|
881
|
+
/**
|
|
882
|
+
* Callback invoked when the user confirms the configuration.
|
|
883
|
+
*/
|
|
884
|
+
"confirmCallback": ConfirmCallback5;
|
|
885
|
+
/**
|
|
886
|
+
* The list of properties to configure. Acts as the single source of truth: the dialog reads each value from `DSPropertyField.value` and notifies the host of every edit through `propertyChangeCallback`.
|
|
887
|
+
*/
|
|
888
|
+
"properties": DSPropertyField[];
|
|
889
|
+
/**
|
|
890
|
+
* Callback invoked on every input change. Receives the name of the property that changed and its new value. The host is expected to apply the change and push an updated `properties` array back to the component.
|
|
891
|
+
*/
|
|
892
|
+
"propertyChangeCallback": PropertyChangeCallback;
|
|
893
|
+
}
|
|
874
894
|
interface GxIdeDeploymentTool {
|
|
875
895
|
/**
|
|
876
896
|
* Callback invoked when the user wants to add objects.
|
|
@@ -921,11 +941,11 @@ export namespace Components {
|
|
|
921
941
|
/**
|
|
922
942
|
* This is a function provided by the developer that cancel the load operation.
|
|
923
943
|
*/
|
|
924
|
-
"cancelCallback":
|
|
944
|
+
"cancelCallback": CancelCallback7;
|
|
925
945
|
/**
|
|
926
946
|
* This is a function provided by the developer that initiates the process of importing a design.
|
|
927
947
|
*/
|
|
928
|
-
"confirmCallback":
|
|
948
|
+
"confirmCallback": ConfirmCallback6;
|
|
929
949
|
/**
|
|
930
950
|
* Default value for the 'Module' field.
|
|
931
951
|
*/
|
|
@@ -1005,11 +1025,11 @@ export namespace Components {
|
|
|
1005
1025
|
/**
|
|
1006
1026
|
* Cancel callback
|
|
1007
1027
|
*/
|
|
1008
|
-
"cancelCallback":
|
|
1028
|
+
"cancelCallback": CancelCallback8;
|
|
1009
1029
|
/**
|
|
1010
1030
|
* Confirm callback
|
|
1011
1031
|
*/
|
|
1012
|
-
"confirmCallback":
|
|
1032
|
+
"confirmCallback": ConfirmCallback7;
|
|
1013
1033
|
/**
|
|
1014
1034
|
* The name of the server
|
|
1015
1035
|
*/
|
|
@@ -1196,7 +1216,7 @@ export namespace Components {
|
|
|
1196
1216
|
/**
|
|
1197
1217
|
* Callback invoked when the user wants to cancel the exportation process
|
|
1198
1218
|
*/
|
|
1199
|
-
"cancelCallback":
|
|
1219
|
+
"cancelCallback": CancelCallback9;
|
|
1200
1220
|
/**
|
|
1201
1221
|
* Specifies the configuration type to be used
|
|
1202
1222
|
*/
|
|
@@ -1287,7 +1307,7 @@ export namespace Components {
|
|
|
1287
1307
|
* Callback invoked when the user wants to cancel the export process.
|
|
1288
1308
|
* @returns It returns a boolean indicating whether the process could be canceled or not.
|
|
1289
1309
|
*/
|
|
1290
|
-
"cancelCallback":
|
|
1310
|
+
"cancelCallback": CancelCallback10;
|
|
1291
1311
|
/**
|
|
1292
1312
|
* Callback invoked when the user wants to initiate the export process.
|
|
1293
1313
|
* @param fileName :string
|
|
@@ -1328,7 +1348,7 @@ export namespace Components {
|
|
|
1328
1348
|
/**
|
|
1329
1349
|
* Callback invoked when user wants to cancel the export process.
|
|
1330
1350
|
*/
|
|
1331
|
-
"cancelCallback":
|
|
1351
|
+
"cancelCallback": CancelCallback11;
|
|
1332
1352
|
/**
|
|
1333
1353
|
* Callback invoked when user wants to initiate the import process.
|
|
1334
1354
|
*/
|
|
@@ -1605,7 +1625,7 @@ export namespace Components {
|
|
|
1605
1625
|
/**
|
|
1606
1626
|
* Callback invoked when user cancels reorganization
|
|
1607
1627
|
*/
|
|
1608
|
-
"cancelCallback":
|
|
1628
|
+
"cancelCallback": CancelCallback12;
|
|
1609
1629
|
/**
|
|
1610
1630
|
* Clear items
|
|
1611
1631
|
*/
|
|
@@ -1617,7 +1637,7 @@ export namespace Components {
|
|
|
1617
1637
|
/**
|
|
1618
1638
|
* Callback invoked when user confirms data base reorganization
|
|
1619
1639
|
*/
|
|
1620
|
-
"confirmCallback":
|
|
1640
|
+
"confirmCallback": ConfirmCallback8;
|
|
1621
1641
|
/**
|
|
1622
1642
|
* The header data to display on the header.
|
|
1623
1643
|
*/
|
|
@@ -1631,7 +1651,7 @@ export namespace Components {
|
|
|
1631
1651
|
/**
|
|
1632
1652
|
* Callback invoked when user wants to cancel
|
|
1633
1653
|
*/
|
|
1634
|
-
"cancelCallback":
|
|
1654
|
+
"cancelCallback": CancelCallback13;
|
|
1635
1655
|
/**
|
|
1636
1656
|
* Callback invoked when user confirms the KB creation
|
|
1637
1657
|
*/
|
|
@@ -1694,7 +1714,7 @@ export namespace Components {
|
|
|
1694
1714
|
/**
|
|
1695
1715
|
* Callback invoked when the user wants to cancel KB creation (‘Cancel’ button)
|
|
1696
1716
|
*/
|
|
1697
|
-
"cancelCallback":
|
|
1717
|
+
"cancelCallback": CancelCallback14;
|
|
1698
1718
|
/**
|
|
1699
1719
|
* Callback that will be invoked when the user confirms KB creation (‘Create’ button)
|
|
1700
1720
|
*/
|
|
@@ -1780,7 +1800,7 @@ export namespace Components {
|
|
|
1780
1800
|
/**
|
|
1781
1801
|
* Callback invoked when user wants to cancel object creation
|
|
1782
1802
|
*/
|
|
1783
|
-
"cancelCallback":
|
|
1803
|
+
"cancelCallback": CancelCallback15;
|
|
1784
1804
|
/**
|
|
1785
1805
|
* Callback invoked when user wants to confirm object creation
|
|
1786
1806
|
*/
|
|
@@ -1858,7 +1878,7 @@ export namespace Components {
|
|
|
1858
1878
|
/**
|
|
1859
1879
|
* Callback invoked when the user wishes to cancel the selection of objects.
|
|
1860
1880
|
*/
|
|
1861
|
-
"cancelCallback":
|
|
1881
|
+
"cancelCallback": CancelCallback16;
|
|
1862
1882
|
/**
|
|
1863
1883
|
* The categories render in the filter category selector
|
|
1864
1884
|
*/
|
|
@@ -1920,7 +1940,7 @@ export namespace Components {
|
|
|
1920
1940
|
/**
|
|
1921
1941
|
* Callback invoked when the user wants to cancel the export process.
|
|
1922
1942
|
*/
|
|
1923
|
-
"cancelCallback":
|
|
1943
|
+
"cancelCallback": CancelCallback17;
|
|
1924
1944
|
/**
|
|
1925
1945
|
* Default value for the Module/Folder field.
|
|
1926
1946
|
*/
|
|
@@ -2381,7 +2401,7 @@ export namespace Components {
|
|
|
2381
2401
|
/**
|
|
2382
2402
|
* Callback that will be invoked when the user cancels.
|
|
2383
2403
|
*/
|
|
2384
|
-
"cancelCallback":
|
|
2404
|
+
"cancelCallback": CancelCallback18;
|
|
2385
2405
|
/**
|
|
2386
2406
|
* Description of my prop variable.
|
|
2387
2407
|
*/
|
|
@@ -2710,11 +2730,11 @@ export namespace Components {
|
|
|
2710
2730
|
/**
|
|
2711
2731
|
* Callback invoked when the user wishes to cancel the selection of objects.
|
|
2712
2732
|
*/
|
|
2713
|
-
"cancelCallback":
|
|
2733
|
+
"cancelCallback": CancelCallback19;
|
|
2714
2734
|
/**
|
|
2715
2735
|
* Callback invoked when confirm action is executed passing the selected objects ids.
|
|
2716
2736
|
*/
|
|
2717
|
-
"confirmCallback":
|
|
2737
|
+
"confirmCallback": ConfirmCallback9;
|
|
2718
2738
|
/**
|
|
2719
2739
|
* Current objects selection in the grid
|
|
2720
2740
|
*/
|
|
@@ -3325,6 +3345,12 @@ declare global {
|
|
|
3325
3345
|
prototype: HTMLGxIdeDbInstanceSelectorElement;
|
|
3326
3346
|
new (): HTMLGxIdeDbInstanceSelectorElement;
|
|
3327
3347
|
};
|
|
3348
|
+
interface HTMLGxIdeDbPropertiesConfiguratorElement extends Components.GxIdeDbPropertiesConfigurator, HTMLStencilElement {
|
|
3349
|
+
}
|
|
3350
|
+
var HTMLGxIdeDbPropertiesConfiguratorElement: {
|
|
3351
|
+
prototype: HTMLGxIdeDbPropertiesConfiguratorElement;
|
|
3352
|
+
new (): HTMLGxIdeDbPropertiesConfiguratorElement;
|
|
3353
|
+
};
|
|
3328
3354
|
interface HTMLGxIdeDeploymentToolElementEventMap {
|
|
3329
3355
|
"componentDidLoadEvent": boolean;
|
|
3330
3356
|
"componentDidRenderFirstTime": boolean;
|
|
@@ -4010,6 +4036,7 @@ declare global {
|
|
|
4010
4036
|
"gx-ide-data-selector": HTMLGxIdeDataSelectorElement;
|
|
4011
4037
|
"gx-ide-data-type-selector": HTMLGxIdeDataTypeSelectorElement;
|
|
4012
4038
|
"gx-ide-db-instance-selector": HTMLGxIdeDbInstanceSelectorElement;
|
|
4039
|
+
"gx-ide-db-properties-configurator": HTMLGxIdeDbPropertiesConfiguratorElement;
|
|
4013
4040
|
"gx-ide-deployment-tool": HTMLGxIdeDeploymentToolElement;
|
|
4014
4041
|
"gx-ide-design-import": HTMLGxIdeDesignImportElement;
|
|
4015
4042
|
"gx-ide-details-acknowledgements": HTMLGxIdeDetailsAcknowledgementsElement;
|
|
@@ -4796,6 +4823,24 @@ declare namespace LocalJSX {
|
|
|
4796
4823
|
*/
|
|
4797
4824
|
"getNetworkServersCallback": GetServersCallback;
|
|
4798
4825
|
}
|
|
4826
|
+
interface GxIdeDbPropertiesConfigurator {
|
|
4827
|
+
/**
|
|
4828
|
+
* Callback invoked when the user cancels the configuration.
|
|
4829
|
+
*/
|
|
4830
|
+
"cancelCallback": CancelCallback6;
|
|
4831
|
+
/**
|
|
4832
|
+
* Callback invoked when the user confirms the configuration.
|
|
4833
|
+
*/
|
|
4834
|
+
"confirmCallback": ConfirmCallback5;
|
|
4835
|
+
/**
|
|
4836
|
+
* The list of properties to configure. Acts as the single source of truth: the dialog reads each value from `DSPropertyField.value` and notifies the host of every edit through `propertyChangeCallback`.
|
|
4837
|
+
*/
|
|
4838
|
+
"properties"?: DSPropertyField[];
|
|
4839
|
+
/**
|
|
4840
|
+
* Callback invoked on every input change. Receives the name of the property that changed and its new value. The host is expected to apply the change and push an updated `properties` array back to the component.
|
|
4841
|
+
*/
|
|
4842
|
+
"propertyChangeCallback": PropertyChangeCallback;
|
|
4843
|
+
}
|
|
4799
4844
|
interface GxIdeDeploymentTool {
|
|
4800
4845
|
/**
|
|
4801
4846
|
* Callback invoked when the user wants to add objects.
|
|
@@ -4854,11 +4899,11 @@ declare namespace LocalJSX {
|
|
|
4854
4899
|
/**
|
|
4855
4900
|
* This is a function provided by the developer that cancel the load operation.
|
|
4856
4901
|
*/
|
|
4857
|
-
"cancelCallback":
|
|
4902
|
+
"cancelCallback": CancelCallback7;
|
|
4858
4903
|
/**
|
|
4859
4904
|
* This is a function provided by the developer that initiates the process of importing a design.
|
|
4860
4905
|
*/
|
|
4861
|
-
"confirmCallback":
|
|
4906
|
+
"confirmCallback": ConfirmCallback6;
|
|
4862
4907
|
/**
|
|
4863
4908
|
* Default value for the 'Module' field.
|
|
4864
4909
|
*/
|
|
@@ -4938,11 +4983,11 @@ declare namespace LocalJSX {
|
|
|
4938
4983
|
/**
|
|
4939
4984
|
* Cancel callback
|
|
4940
4985
|
*/
|
|
4941
|
-
"cancelCallback"?:
|
|
4986
|
+
"cancelCallback"?: CancelCallback8;
|
|
4942
4987
|
/**
|
|
4943
4988
|
* Confirm callback
|
|
4944
4989
|
*/
|
|
4945
|
-
"confirmCallback"?:
|
|
4990
|
+
"confirmCallback"?: ConfirmCallback7;
|
|
4946
4991
|
/**
|
|
4947
4992
|
* The name of the server
|
|
4948
4993
|
*/
|
|
@@ -5141,7 +5186,7 @@ declare namespace LocalJSX {
|
|
|
5141
5186
|
/**
|
|
5142
5187
|
* Callback invoked when the user wants to cancel the exportation process
|
|
5143
5188
|
*/
|
|
5144
|
-
"cancelCallback"?:
|
|
5189
|
+
"cancelCallback"?: CancelCallback9;
|
|
5145
5190
|
/**
|
|
5146
5191
|
* Specifies the configuration type to be used
|
|
5147
5192
|
*/
|
|
@@ -5228,7 +5273,7 @@ declare namespace LocalJSX {
|
|
|
5228
5273
|
* Callback invoked when the user wants to cancel the export process.
|
|
5229
5274
|
* @returns It returns a boolean indicating whether the process could be canceled or not.
|
|
5230
5275
|
*/
|
|
5231
|
-
"cancelCallback":
|
|
5276
|
+
"cancelCallback": CancelCallback10;
|
|
5232
5277
|
/**
|
|
5233
5278
|
* Callback invoked when the user wants to initiate the export process.
|
|
5234
5279
|
* @param fileName :string
|
|
@@ -5265,7 +5310,7 @@ declare namespace LocalJSX {
|
|
|
5265
5310
|
/**
|
|
5266
5311
|
* Callback invoked when user wants to cancel the export process.
|
|
5267
5312
|
*/
|
|
5268
|
-
"cancelCallback":
|
|
5313
|
+
"cancelCallback": CancelCallback11;
|
|
5269
5314
|
/**
|
|
5270
5315
|
* Callback invoked when user wants to initiate the import process.
|
|
5271
5316
|
*/
|
|
@@ -5592,7 +5637,7 @@ declare namespace LocalJSX {
|
|
|
5592
5637
|
/**
|
|
5593
5638
|
* Callback invoked when user cancels reorganization
|
|
5594
5639
|
*/
|
|
5595
|
-
"cancelCallback"?:
|
|
5640
|
+
"cancelCallback"?: CancelCallback12;
|
|
5596
5641
|
/**
|
|
5597
5642
|
* Callback to be invoked when the user closes the dialog
|
|
5598
5643
|
*/
|
|
@@ -5600,7 +5645,7 @@ declare namespace LocalJSX {
|
|
|
5600
5645
|
/**
|
|
5601
5646
|
* Callback invoked when user confirms data base reorganization
|
|
5602
5647
|
*/
|
|
5603
|
-
"confirmCallback"?:
|
|
5648
|
+
"confirmCallback"?: ConfirmCallback8;
|
|
5604
5649
|
/**
|
|
5605
5650
|
* The header data to display on the header.
|
|
5606
5651
|
*/
|
|
@@ -5618,7 +5663,7 @@ declare namespace LocalJSX {
|
|
|
5618
5663
|
/**
|
|
5619
5664
|
* Callback invoked when user wants to cancel
|
|
5620
5665
|
*/
|
|
5621
|
-
"cancelCallback"?:
|
|
5666
|
+
"cancelCallback"?: CancelCallback13;
|
|
5622
5667
|
/**
|
|
5623
5668
|
* Callback invoked when user confirms the KB creation
|
|
5624
5669
|
*/
|
|
@@ -5677,7 +5722,7 @@ declare namespace LocalJSX {
|
|
|
5677
5722
|
/**
|
|
5678
5723
|
* Callback invoked when the user wants to cancel KB creation (‘Cancel’ button)
|
|
5679
5724
|
*/
|
|
5680
|
-
"cancelCallback"?:
|
|
5725
|
+
"cancelCallback"?: CancelCallback14;
|
|
5681
5726
|
/**
|
|
5682
5727
|
* Callback that will be invoked when the user confirms KB creation (‘Create’ button)
|
|
5683
5728
|
*/
|
|
@@ -5759,7 +5804,7 @@ declare namespace LocalJSX {
|
|
|
5759
5804
|
/**
|
|
5760
5805
|
* Callback invoked when user wants to cancel object creation
|
|
5761
5806
|
*/
|
|
5762
|
-
"cancelCallback"?:
|
|
5807
|
+
"cancelCallback"?: CancelCallback15;
|
|
5763
5808
|
/**
|
|
5764
5809
|
* Callback invoked when user wants to confirm object creation
|
|
5765
5810
|
*/
|
|
@@ -5845,7 +5890,7 @@ declare namespace LocalJSX {
|
|
|
5845
5890
|
/**
|
|
5846
5891
|
* Callback invoked when the user wishes to cancel the selection of objects.
|
|
5847
5892
|
*/
|
|
5848
|
-
"cancelCallback":
|
|
5893
|
+
"cancelCallback": CancelCallback16;
|
|
5849
5894
|
/**
|
|
5850
5895
|
* The categories render in the filter category selector
|
|
5851
5896
|
*/
|
|
@@ -5899,7 +5944,7 @@ declare namespace LocalJSX {
|
|
|
5899
5944
|
/**
|
|
5900
5945
|
* Callback invoked when the user wants to cancel the export process.
|
|
5901
5946
|
*/
|
|
5902
|
-
"cancelCallback"?:
|
|
5947
|
+
"cancelCallback"?: CancelCallback17;
|
|
5903
5948
|
/**
|
|
5904
5949
|
* Default value for the Module/Folder field.
|
|
5905
5950
|
*/
|
|
@@ -6335,7 +6380,7 @@ declare namespace LocalJSX {
|
|
|
6335
6380
|
/**
|
|
6336
6381
|
* Callback that will be invoked when the user cancels.
|
|
6337
6382
|
*/
|
|
6338
|
-
"cancelCallback":
|
|
6383
|
+
"cancelCallback": CancelCallback18;
|
|
6339
6384
|
/**
|
|
6340
6385
|
* Description of my prop variable.
|
|
6341
6386
|
*/
|
|
@@ -6635,11 +6680,11 @@ declare namespace LocalJSX {
|
|
|
6635
6680
|
/**
|
|
6636
6681
|
* Callback invoked when the user wishes to cancel the selection of objects.
|
|
6637
6682
|
*/
|
|
6638
|
-
"cancelCallback":
|
|
6683
|
+
"cancelCallback": CancelCallback19;
|
|
6639
6684
|
/**
|
|
6640
6685
|
* Callback invoked when confirm action is executed passing the selected objects ids.
|
|
6641
6686
|
*/
|
|
6642
|
-
"confirmCallback":
|
|
6687
|
+
"confirmCallback": ConfirmCallback9;
|
|
6643
6688
|
/**
|
|
6644
6689
|
* Emitted once just after the component is fully loaded and the first render() occurs.
|
|
6645
6690
|
*/
|
|
@@ -6892,6 +6937,7 @@ declare namespace LocalJSX {
|
|
|
6892
6937
|
"gx-ide-data-selector": GxIdeDataSelector;
|
|
6893
6938
|
"gx-ide-data-type-selector": GxIdeDataTypeSelector;
|
|
6894
6939
|
"gx-ide-db-instance-selector": GxIdeDbInstanceSelector;
|
|
6940
|
+
"gx-ide-db-properties-configurator": GxIdeDbPropertiesConfigurator;
|
|
6895
6941
|
"gx-ide-deployment-tool": GxIdeDeploymentTool;
|
|
6896
6942
|
"gx-ide-design-import": GxIdeDesignImport;
|
|
6897
6943
|
"gx-ide-details-acknowledgements": GxIdeDetailsAcknowledgements;
|
|
@@ -6985,6 +7031,7 @@ declare module "@stencil/core" {
|
|
|
6985
7031
|
"gx-ide-data-selector": LocalJSX.GxIdeDataSelector & JSXBase.HTMLAttributes<HTMLGxIdeDataSelectorElement>;
|
|
6986
7032
|
"gx-ide-data-type-selector": LocalJSX.GxIdeDataTypeSelector & JSXBase.HTMLAttributes<HTMLGxIdeDataTypeSelectorElement>;
|
|
6987
7033
|
"gx-ide-db-instance-selector": LocalJSX.GxIdeDbInstanceSelector & JSXBase.HTMLAttributes<HTMLGxIdeDbInstanceSelectorElement>;
|
|
7034
|
+
"gx-ide-db-properties-configurator": LocalJSX.GxIdeDbPropertiesConfigurator & JSXBase.HTMLAttributes<HTMLGxIdeDbPropertiesConfiguratorElement>;
|
|
6988
7035
|
"gx-ide-deployment-tool": LocalJSX.GxIdeDeploymentTool & JSXBase.HTMLAttributes<HTMLGxIdeDeploymentToolElement>;
|
|
6989
7036
|
"gx-ide-design-import": LocalJSX.GxIdeDesignImport & JSXBase.HTMLAttributes<HTMLGxIdeDesignImportElement>;
|
|
6990
7037
|
"gx-ide-details-acknowledgements": LocalJSX.GxIdeDetailsAcknowledgements & JSXBase.HTMLAttributes<HTMLGxIdeDetailsAcknowledgementsElement>;
|