@genexus/genexus-ide-ui 0.0.111 → 0.0.112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/cjs/genexus-ide-ui.cjs.js +1 -1
  2. package/dist/cjs/gx-ide-gam-installation-settings.cjs.entry.js +107 -0
  3. package/dist/cjs/gx-ide-gam-installation-settings.cjs.entry.js.map +1 -0
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/collection-manifest.json +1 -0
  6. package/dist/collection/components/gam-installation-settings/gam-installation-settings.css +539 -0
  7. package/dist/collection/components/gam-installation-settings/gam-installation-settings.js +240 -0
  8. package/dist/collection/components/gam-installation-settings/gam-installation-settings.js.map +1 -0
  9. package/dist/collection/components/gam-installation-settings/gx-ide-assets/gam-installation-settings/langs/gam-installation-settings.lang.en.json +34 -0
  10. package/dist/collection/components/gam-installation-settings/gx-ide-assets/gam-installation-settings/langs/gam-installation-settings.lang.ja.json +3 -0
  11. package/dist/collection/components/gam-installation-settings/gx-ide-assets/gam-installation-settings/langs/gam-installation-settings.lang.zh.json +3 -0
  12. package/dist/collection/components/modules/edit-module-server/gx-ide-assets/edit-module-server/langs/edit-module-server.lang.en.json +11 -0
  13. package/dist/collection/components/modules/edit-module-server/gx-ide-assets/edit-module-server/langs/edit-module-server.lang.ja.json +3 -0
  14. package/dist/collection/components/modules/edit-module-server/gx-ide-assets/edit-module-server/langs/edit-module-server.lang.zh.json +3 -0
  15. package/dist/components/gx-ide-gam-installation-settings.d.ts +11 -0
  16. package/dist/components/gx-ide-gam-installation-settings.js +208 -0
  17. package/dist/components/gx-ide-gam-installation-settings.js.map +1 -0
  18. package/dist/esm/genexus-ide-ui.js +1 -1
  19. package/dist/esm/gx-ide-gam-installation-settings.entry.js +103 -0
  20. package/dist/esm/gx-ide-gam-installation-settings.entry.js.map +1 -0
  21. package/dist/esm/loader.js +1 -1
  22. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
  23. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js.map +1 -1
  24. package/dist/genexus-ide-ui/gx-ide-assets/edit-module-server/langs/edit-module-server.lang.en.json +11 -0
  25. package/dist/genexus-ide-ui/gx-ide-assets/edit-module-server/langs/edit-module-server.lang.ja.json +3 -0
  26. package/dist/genexus-ide-ui/gx-ide-assets/edit-module-server/langs/edit-module-server.lang.zh.json +3 -0
  27. package/dist/genexus-ide-ui/gx-ide-assets/gam-installation-settings/langs/gam-installation-settings.lang.en.json +34 -0
  28. package/dist/genexus-ide-ui/gx-ide-assets/gam-installation-settings/langs/gam-installation-settings.lang.ja.json +3 -0
  29. package/dist/genexus-ide-ui/gx-ide-assets/gam-installation-settings/langs/gam-installation-settings.lang.zh.json +3 -0
  30. package/dist/genexus-ide-ui/p-84934392.entry.js +149 -0
  31. package/dist/genexus-ide-ui/p-84934392.entry.js.map +1 -0
  32. package/dist/types/components/gam-installation-settings/gam-installation-settings.d.ts +58 -0
  33. package/dist/types/components.d.ts +106 -32
  34. package/package.json +1 -1
@@ -0,0 +1,149 @@
1
+ import { r as t, c as e, h as r, H as a, g as o } from "./p-48217969.js";
2
+
3
+ import { c as i } from "./p-9c1b4eb9.js";
4
+
5
+ import { L as s } from "./p-74d59062.js";
6
+
7
+ import { r as l } from "./p-97203d4e.js";
8
+
9
+ const n = ":root{--ui-animaton-speed:0.2s}.gxg-title-01{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-01--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-02{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-02--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--color-on-primary)}.gxg-title-03{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-03--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-04{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-04--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-05{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-05--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable)}.gxg-text--negative{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text--gray{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--dimmed)}.gxg-quote{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);font-style:italic}.gxg-quote--negative{color:var(--ds-base-font-color--negative)}.gxg-link{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block}.gxg-link:hover{color:var(--ds-base-font-color--link-hover)}.gxg-link:active{color:var(--ds-base-font-color--link-active)}.gxg-link-gray{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed)}.gxg-link-gray:hover{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed);filter:brightness(1.4)}.gxg-alert-error{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--error);display:inline-block}.gxg-alert-warning{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--warning);display:inline-block}.gxg-alert-success{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--success);display:inline-block}.gxg-tab--disabled{color:var(--color-primary-disabled);pointer-events:none}.gxg-tab--disabled[disabled]{color:var(--color-primary-disabled);pointer-events:none}.gxg-label{font-family:var(--ds-base-font-family-primary);font-weight:var(--gxg-label-font-weight);font-size:var(--gxg-label-font-size);color:var(--gxg-label-color);text-align:center;line-height:1.455em;display:flex;align-items:center}.gxg-label:hover{color:var(--color-primary-hover)}.gxg-label:focus{color:var(--color-primary-active)}.gxg-label:active{color:var(--color-primary-active)}.gxg-label[disabled]{color:var(--color-primary-disabled)}.gxg-label--negative{color:var(--color-on-primary)}.gxg-label--negative[disabled]{color:var(--color-on-disabled)}.gxg-scrollbar{}.gxg-scrollbar::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gxg-scrollbar::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gxg-scrollbar::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gxi-hidden{display:none !important}.gxi-full-height{height:100%}.gxi-overflow-auto{overflow:auto}.gxi-display-flex{display:flex}.align-start{display:flex;align-items:start}.align-center{display:flex;align-items:center}.align-end{display:flex;align-items:end}.overflow-auto{overflow:auto}.justify-start{display:flex;justify-content:start}.justify-center{display:flex;justify-content:center}.justify-end{display:flex;justify-content:end}.grid{display:grid;grid-row-gap:var(--gx-ide-grid-row-gap);grid-column-gap:var(--gx-ide-grid-column-gap);grid-template-rows:auto}ch-grid-cell{display:flex}ch-grid{overflow:auto;height:100%}ch-grid-column{z-index:99;border-bottom:1px solid var(--mer-color__neutral-gray--800)}ch-grid-column:first-child{padding-inline-start:var(--gx-ide-container__padding) !important}ch-grid-column:last-child{padding-inline-end:var(--gx-ide-container__padding) !important}ch-grid-cell{--mer-spacing--xs:var(--gx-ide-container__padding)}.layout{display:grid;gap:var(--mer-spacing--lg);box-sizing:border-box}.layout--two-cols{grid-template-columns:1fr 1fr}.layout--space-above{padding-block-start:var(--mer-spacing--lg)}gxg-tabs{box-shadow:none}:host(.gx-ide-component){height:100% !important;display:flex !important;flex-direction:column !important}:host(:focus-within) gx-ide-top-bar::part(wrapper){background-color:var(--color-secondary-enabled)}.gx-ide-main-wrapper{color:var(--gx-ide-component-text-color);font-weight:var(--mer-font__weight--regular);font-size:var(--mer-font__size--xs);font-family:var(--mer-font-family--primary);height:100%;background-color:var(--gx-ide-component-background-color);display:flex;flex-direction:column;flex-grow:1;box-sizing:border-box}.gx-ide-main{flex-grow:1;overflow-y:auto;}.gx-ide-main::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-main::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-main::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-main::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-main::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gx-ide-overflow{overflow-y:auto;}.gx-ide-overflow::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-overflow::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-overflow::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.tree-container{display:flex;height:100%;width:100%;box-sizing:border-box}:host{display:block}.header{border-top:1px solid var(--gx-ide-container-border-color);display:grid;padding:var(--gx-ide-container__padding) var(--gx-ide-container__padding);gap:var(--gx-ide-grid-row-gap)}.message-checkbox-container{padding:0 var(--gx-ide-container__padding) var(--gx-ide-container__padding) var(--gx-ide-container__padding)}.filters{display:grid;gap:var(--gx-ide-grid-column-gap);border-block-start:1px solid var(--gx-ide-container-border-color);padding:var(--gx-ide-container__padding)}";
10
+
11
+ const g = [ {
12
+ id: "install-automatically",
13
+ name: "Install Updates Automatically",
14
+ value: "automatic"
15
+ }, {
16
+ id: "prompt-update",
17
+ name: "Prompt me to Update",
18
+ value: "prompt"
19
+ }, {
20
+ id: "never-update",
21
+ name: "Never Update",
22
+ value: "never"
23
+ } ];
24
+
25
+ const d = class {
26
+ constructor(a) {
27
+ t(this, a);
28
+ this.componentDidRenderFirstTime = e(this, "componentDidRenderFirstTime", 7);
29
+ this.renderedFirstTime = false;
30
+ // 7.LISTENERS //
31
+ // 8.PUBLIC METHODS API //
32
+ // 9.LOCAL METHODS //
33
+ this.repairCallbackHandler = async () => {
34
+ if (this.saveCallback) {
35
+ const t = {
36
+ importWebPanels: this.webPanelsCheckboxEl.checked,
37
+ importPanels: this.panelsCheckboxEl.checked,
38
+ futureUpgrades: this.futureUpgradesComboEl.value ? this.futureUpgradesComboEl.value : null
39
+ };
40
+ await this.repairCallback(t);
41
+ }
42
+ };
43
+ this.saveCallbackHandler = async () => {
44
+ if (this.saveCallback) {
45
+ const t = {
46
+ importWebPanels: this.webPanelsCheckboxEl.checked,
47
+ importPanels: this.panelsCheckboxEl.checked,
48
+ futureUpgrades: this.futureUpgradesComboEl.value ? this.futureUpgradesComboEl.value : null
49
+ };
50
+ await this.saveCallback(t);
51
+ }
52
+ };
53
+ this.cancelCallbackHandler = () => {
54
+ this.cancelCallback();
55
+ };
56
+ /* Renders*/ this.renderHeader = () => r("header", {
57
+ class: "header",
58
+ slot: "header"
59
+ }, r("gxg-text", {
60
+ type: "text-regular"
61
+ }, this.configurationType === "installation" ? this._componentLocale.header.headerTextInstallation.firstSentence : this._componentLocale.header.headerTextUpdate.firstSentence), r("gxg-text", {
62
+ type: "text-regular"
63
+ }, this.configurationType === "installation" ? this._componentLocale.header.headerTextInstallation.secondSentence : this._componentLocale.header.headerTextUpdate.secondSentence), r("gxg-text", {
64
+ type: "text-regular"
65
+ }, this.configurationType === "installation" ? this._componentLocale.header.headerTextInstallation.thirdSentence : this._componentLocale.header.headerTextUpdate.thirdSentence));
66
+ this.renderFilters = () => r("div", {
67
+ class: "filters"
68
+ }, r("gxg-title", {
69
+ type: "title-05"
70
+ }, this._componentLocale.filters.filtersHeading), r("gxg-form-checkbox", {
71
+ label: this._componentLocale.filters.webPanelsCheckbox,
72
+ part: "web-panels-checkbox",
73
+ slot: "footer-start",
74
+ ref: t => this.webPanelsCheckboxEl = t
75
+ }), r("gxg-form-checkbox", {
76
+ label: this._componentLocale.filters.panelsCheckbox,
77
+ part: "panels-checkbox",
78
+ slot: "footer-start",
79
+ ref: t => this.panelsCheckboxEl = t
80
+ }), r("gxg-combo-box", {
81
+ label: this._componentLocale.filters.futureUpgradesComboLabel,
82
+ disableFilter: true,
83
+ value: g[0].value,
84
+ part: "future-upgrades-combo",
85
+ ref: t => this.futureUpgradesComboEl = t
86
+ }, l(g !== null && g !== void 0 ? g : [])));
87
+ this.fileName = "";
88
+ this.selectedFile = undefined;
89
+ this.importingIsInProcess = false;
90
+ this.displayTitle = false;
91
+ this.configurationType = "installation";
92
+ this.repairCallback = undefined;
93
+ this.saveCallback = undefined;
94
+ this.cancelCallback = undefined;
95
+ }
96
+ // 6.COMPONENT LIFECYCLE METHODS //
97
+ async componentWillLoad() {
98
+ this._componentLocale = await s.getComponentStrings(this.el);
99
+ }
100
+ componentDidRender() {
101
+ if (!this.renderedFirstTime) {
102
+ this.componentDidRenderFirstTime.emit(this._componentLocale.componentName);
103
+ this.renderedFirstTime = true;
104
+ }
105
+ }
106
+ // 10.RENDER() FUNCTION //
107
+ render() {
108
+ return r(a, {
109
+ class: "gx-ide-component"
110
+ }, r("div", {
111
+ class: "gx-ide-main-wrapper"
112
+ }, r("gx-ide-container", {
113
+ noHeadingPadding: true,
114
+ headingPaddingTop: true,
115
+ noContentPadding: true,
116
+ noContentGap: true,
117
+ containerTitle: this.displayTitle ? this._componentLocale.componentName : null,
118
+ slimmerFooter: i.gxIdeContainer.slimmerFooter
119
+ }, this.renderHeader(), this.renderFilters(), r("gxg-text", {
120
+ type: "text-regular",
121
+ slot: "footer-above"
122
+ }, this._componentLocale.footer.footerSaveCancelText), r("gxg-text", {
123
+ type: "text-regular",
124
+ slot: "footer-above"
125
+ }, this._componentLocale.footer.footerRepairText), r("gxg-button", {
126
+ type: "outlined",
127
+ slot: "footer-start",
128
+ onClick: this.repairCallbackHandler
129
+ }, this._componentLocale.footer.repairButton), r("gxg-button", {
130
+ type: "outlined",
131
+ slot: "footer-end",
132
+ onClick: this.cancelCallbackHandler
133
+ }, this._componentLocale.footer.cancelButton), r("gxg-button", {
134
+ slot: "footer-end",
135
+ onClick: this.saveCallbackHandler
136
+ }, this._componentLocale.footer.confirmButton))));
137
+ }
138
+ static get assetsDirs() {
139
+ return [ "gx-ide-assets/gam-installation-settings" ];
140
+ }
141
+ get el() {
142
+ return o(this);
143
+ }
144
+ };
145
+
146
+ d.style = n;
147
+
148
+ export { d as gx_ide_gam_installation_settings };
149
+ //# sourceMappingURL=p-84934392.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["gamInstallationSettingsCss","COMBO_BOX_DATA","id","name","value","GxIdeGamInstallationSettings","this","renderedFirstTime","repairCallbackHandler","async","saveCallback","data","importWebPanels","webPanelsCheckboxEl","checked","importPanels","panelsCheckboxEl","futureUpgrades","futureUpgradesComboEl","repairCallback","saveCallbackHandler","cancelCallbackHandler","cancelCallback","renderHeader","h","class","slot","type","configurationType","_componentLocale","header","headerTextInstallation","firstSentence","headerTextUpdate","secondSentence","thirdSentence","renderFilters","filters","filtersHeading","label","webPanelsCheckbox","part","ref","el","panelsCheckbox","futureUpgradesComboLabel","disableFilter","renderComboItems","componentWillLoad","Locale","getComponentStrings","componentDidRender","componentDidRenderFirstTime","emit","componentName","render","Host","noHeadingPadding","headingPaddingTop","noContentPadding","noContentGap","containerTitle","displayTitle","slimmerFooter","config","gxIdeContainer","footer","footerSaveCancelText","footerRepairText","onClick","repairButton","cancelButton","confirmButton"],"sources":["src/components/gam-installation-settings/gam-installation-settings.scss?tag=gx-ide-gam-installation-settings&encapsulation=shadow","src/components/gam-installation-settings/gam-installation-settings.tsx"],"sourcesContent":["@import \"../../global/gx-ide-common.scss\";\n@import \"../../global/gx-ide-mixins.scss\";\n\n:host {\n display: block;\n}\n/*Header*/\n.header {\n border-top: 1px solid var(--gx-ide-container-border-color);\n display: grid;\n padding: var(--gx-ide-container__padding) var(--gx-ide-container__padding);\n gap: var(--gx-ide-grid-row-gap);\n}\n/*Main*/\n.message-checkbox-container {\n padding: 0 var(--gx-ide-container__padding) var(--gx-ide-container__padding)\n var(--gx-ide-container__padding);\n}\n/*Filters*/\n.filters {\n display: grid;\n gap: var(--gx-ide-grid-column-gap);\n border-block-start: 1px solid var(--gx-ide-container-border-color);\n padding: var(--gx-ide-container__padding);\n}\n","/* STENCIL IMPORTS */\nimport {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State\n} from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { config } from \"../../common/config\";\nimport { Locale } from \"../../common/locale\";\nimport { renderComboItems } from \"../../common/render-combo-items\";\nimport { GxOption } from \"../../common/types\";\n\nconst COMBO_BOX_DATA: GxOption[] = [\n {\n id: \"install-automatically\",\n name: \"Install Updates Automatically\",\n value: \"automatic\"\n },\n {\n id: \"prompt-update\",\n name: \"Prompt me to Update\",\n value: \"prompt\"\n },\n {\n id: \"never-update\",\n name: \"Never Update\",\n value: \"never\"\n }\n];\n\n@Component({\n tag: \"gx-ide-gam-installation-settings\",\n styleUrl: \"gam-installation-settings.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/gam-installation-settings\"]\n})\nexport class GxIdeGamInstallationSettings {\n /*\nINDEX:\n1.OWN PROPERTIES \n2.REFERENCE TO ELEMENTS\n3.STATE() VARIABLES\n4.PUBLIC PROPERTY API | WATCH'S\n5.EVENTS (EMIT)\n6.COMPONENT LIFECYCLE METHODS\n7.LISTENERS\n8.PUBLIC METHODS API\n9.LOCAL METHODS\n10.RENDER() FUNCTION\n*/\n\n // 1.OWN PROPERTIES //\n\n /**\n * The component hard-coded strings translations.\n */\n private _componentLocale: any;\n private renderedFirstTime = false;\n\n // 2. REFERENCE TO ELEMENTS //\n\n @Element() el: HTMLGxIdeGamInstallationSettingsElement;\n\n private webPanelsCheckboxEl!: HTMLGxgFormCheckboxElement;\n private panelsCheckboxEl!: HTMLGxgFormCheckboxElement;\n private futureUpgradesComboEl!: HTMLGxgComboBoxElement;\n\n // 3.STATE() VARIABLES //\n\n /**\n * Current value for Used in objects\n */\n\n @State() fileName: string = \"\";\n @State() selectedFile: File;\n @State() importingIsInProcess = false;\n\n // 4.PUBLIC PROPERTY API | WATCH'S //\n\n /**\n * If true it displays the component title on the header\n */\n @Prop() readonly displayTitle = false;\n\n /**\n * Specifies the configuration type to be used\n */\n @Prop() readonly configurationType: \"installation\" | \"update\" =\n \"installation\";\n\n /**\n * Callback invoked when the user press repair button\n */\n @Prop() readonly repairCallback: RepairCallback;\n\n /**\n * Callback invoked when the user wants to start the exportation process\n */\n @Prop() readonly saveCallback: SaveCallback;\n\n /**\n * Callback invoked when the user wants to cancel the exportation process\n */\n @Prop() readonly cancelCallback: CancelCallback;\n\n // 5.EVENTS (EMIT) //\n\n /**\n * @description Gets fired when the component has rendered for the first time.\n */\n @Event() componentDidRenderFirstTime: EventEmitter<string>;\n\n // 6.COMPONENT LIFECYCLE METHODS //\n\n async componentWillLoad() {\n this._componentLocale = await Locale.getComponentStrings(this.el);\n }\n\n componentDidRender() {\n if (!this.renderedFirstTime) {\n this.componentDidRenderFirstTime.emit(\n this._componentLocale.componentName\n );\n this.renderedFirstTime = true;\n }\n }\n\n // 7.LISTENERS //\n\n // 8.PUBLIC METHODS API //\n\n // 9.LOCAL METHODS //\n\n private repairCallbackHandler = async () => {\n if (this.saveCallback) {\n const data: GamConfigData = {\n importWebPanels: this.webPanelsCheckboxEl.checked,\n importPanels: this.panelsCheckboxEl.checked,\n futureUpgrades: this.futureUpgradesComboEl.value\n ? this.futureUpgradesComboEl.value\n : null\n };\n await this.repairCallback(data);\n }\n };\n\n private saveCallbackHandler = async () => {\n if (this.saveCallback) {\n const data: GamConfigData = {\n importWebPanels: this.webPanelsCheckboxEl.checked,\n importPanels: this.panelsCheckboxEl.checked,\n futureUpgrades: this.futureUpgradesComboEl.value\n ? this.futureUpgradesComboEl.value\n : null\n };\n await this.saveCallback(data);\n }\n };\n private cancelCallbackHandler = () => {\n this.cancelCallback();\n };\n\n /* Renders*/\n private renderHeader = () => {\n return (\n <header class=\"header\" slot=\"header\">\n {/* header text */}\n <gxg-text type=\"text-regular\">\n {this.configurationType === \"installation\"\n ? this._componentLocale.header.headerTextInstallation.firstSentence\n : this._componentLocale.header.headerTextUpdate.firstSentence}\n </gxg-text>\n <gxg-text type=\"text-regular\">\n {this.configurationType === \"installation\"\n ? this._componentLocale.header.headerTextInstallation.secondSentence\n : this._componentLocale.header.headerTextUpdate.secondSentence}\n </gxg-text>\n <gxg-text type=\"text-regular\">\n {this.configurationType === \"installation\"\n ? this._componentLocale.header.headerTextInstallation.thirdSentence\n : this._componentLocale.header.headerTextUpdate.thirdSentence}\n </gxg-text>\n </header>\n );\n };\n\n private renderFilters = () => {\n return (\n <div class=\"filters\">\n <gxg-title type=\"title-05\">\n {this._componentLocale.filters.filtersHeading}\n </gxg-title>\n\n <gxg-form-checkbox\n label={this._componentLocale.filters.webPanelsCheckbox}\n part=\"web-panels-checkbox\"\n slot=\"footer-start\"\n ref={(el: HTMLGxgFormCheckboxElement) =>\n (this.webPanelsCheckboxEl = el as HTMLGxgFormCheckboxElement)\n }\n ></gxg-form-checkbox>\n <gxg-form-checkbox\n label={this._componentLocale.filters.panelsCheckbox}\n part=\"panels-checkbox\"\n slot=\"footer-start\"\n ref={(el: HTMLGxgFormCheckboxElement) =>\n (this.panelsCheckboxEl = el as HTMLGxgFormCheckboxElement)\n }\n ></gxg-form-checkbox>\n\n <gxg-combo-box\n label={this._componentLocale.filters.futureUpgradesComboLabel}\n disableFilter\n value={COMBO_BOX_DATA[0].value}\n part=\"future-upgrades-combo\"\n ref={(el: HTMLGxgComboBoxElement) =>\n (this.futureUpgradesComboEl = el as HTMLGxgComboBoxElement)\n }\n >\n {renderComboItems(COMBO_BOX_DATA ?? [])}\n </gxg-combo-box>\n </div>\n );\n };\n\n // 10.RENDER() FUNCTION //\n\n render() {\n return (\n <Host class=\"gx-ide-component\">\n <div class=\"gx-ide-main-wrapper\">\n <gx-ide-container\n noHeadingPadding\n headingPaddingTop\n noContentPadding\n noContentGap\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n >\n {this.renderHeader()}\n {this.renderFilters()}\n <gxg-text type=\"text-regular\" slot=\"footer-above\">\n {this._componentLocale.footer.footerSaveCancelText}\n </gxg-text>\n <gxg-text type=\"text-regular\" slot=\"footer-above\">\n {this._componentLocale.footer.footerRepairText}\n </gxg-text>\n\n <gxg-button\n type=\"outlined\"\n slot=\"footer-start\"\n onClick={this.repairCallbackHandler}\n >\n {this._componentLocale.footer.repairButton}\n </gxg-button>\n\n <gxg-button\n type=\"outlined\"\n slot=\"footer-end\"\n onClick={this.cancelCallbackHandler}\n >\n {this._componentLocale.footer.cancelButton}\n </gxg-button>\n <gxg-button slot=\"footer-end\" onClick={this.saveCallbackHandler}>\n {this._componentLocale.footer.confirmButton}\n </gxg-button>\n </gx-ide-container>\n </div>\n </Host>\n );\n }\n}\n\nexport type GamConfigData = {\n importWebPanels: boolean;\n importPanels: boolean;\n futureUpgrades: \"never\" | \"prompt\" | \"automatic\";\n};\n\nexport type SaveCallback = (data: GamConfigData) => Promise<void>;\nexport type CancelCallback = () => Promise<void>;\nexport type RepairCallback = (config: GamConfigData) => Promise<void>;\n"],"mappings":";;;;;;;;AAAA,MAAMA,IAA6B;;ACkBnC,MAAMC,IAA6B,EACjC;EACEC,IAAI;EACJC,MAAM;EACNC,OAAO;GAET;EACEF,IAAI;EACJC,MAAM;EACNC,OAAO;GAET;EACEF,IAAI;EACJC,MAAM;EACNC,OAAO;;;MAUEC,IAA4B;;;;IAqB/BC,KAAAC,oBAAoB;;;;QA4EpBD,KAAAE,wBAAwBC;MAC9B,IAAIH,KAAKI,cAAc;QACrB,MAAMC,IAAsB;UAC1BC,iBAAiBN,KAAKO,oBAAoBC;UAC1CC,cAAcT,KAAKU,iBAAiBF;UACpCG,gBAAgBX,KAAKY,sBAAsBd,QACvCE,KAAKY,sBAAsBd,QAC3B;;cAEAE,KAAKa,eAAeR;;;IAItBL,KAAAc,sBAAsBX;MAC5B,IAAIH,KAAKI,cAAc;QACrB,MAAMC,IAAsB;UAC1BC,iBAAiBN,KAAKO,oBAAoBC;UAC1CC,cAAcT,KAAKU,iBAAiBF;UACpCG,gBAAgBX,KAAKY,sBAAsBd,QACvCE,KAAKY,sBAAsBd,QAC3B;;cAEAE,KAAKI,aAAaC;;;IAGpBL,KAAAe,wBAAwB;MAC9Bf,KAAKgB;AAAgB;oBAIfhB,KAAAiB,eAAe,MAEnBC,EAAA;MAAQC,OAAM;MAASC,MAAK;OAE1BF,EAAA;MAAUG,MAAK;OACZrB,KAAKsB,sBAAsB,iBACxBtB,KAAKuB,iBAAiBC,OAAOC,uBAAuBC,gBACpD1B,KAAKuB,iBAAiBC,OAAOG,iBAAiBD,gBAEpDR,EAAA;MAAUG,MAAK;OACZrB,KAAKsB,sBAAsB,iBACxBtB,KAAKuB,iBAAiBC,OAAOC,uBAAuBG,iBACpD5B,KAAKuB,iBAAiBC,OAAOG,iBAAiBC,iBAEpDV,EAAA;MAAUG,MAAK;OACZrB,KAAKsB,sBAAsB,iBACxBtB,KAAKuB,iBAAiBC,OAAOC,uBAAuBI,gBACpD7B,KAAKuB,iBAAiBC,OAAOG,iBAAiBE;IAMlD7B,KAAA8B,gBAAgB,MAEpBZ,EAAA;MAAKC,OAAM;OACTD,EAAA;MAAWG,MAAK;OACbrB,KAAKuB,iBAAiBQ,QAAQC,iBAGjCd,EAAA;MACEe,OAAOjC,KAAKuB,iBAAiBQ,QAAQG;MACrCC,MAAK;MACLf,MAAK;MACLgB,KAAMC,KACHrC,KAAKO,sBAAsB8B;QAGhCnB,EAAA;MACEe,OAAOjC,KAAKuB,iBAAiBQ,QAAQO;MACrCH,MAAK;MACLf,MAAK;MACLgB,KAAMC,KACHrC,KAAKU,mBAAmB2B;QAI7BnB,EAAA;MACEe,OAAOjC,KAAKuB,iBAAiBQ,QAAQQ;MACrCC,eAAa;MACb1C,OAAOH,EAAe,GAAGG;MACzBqC,MAAK;MACLC,KAAMC,KACHrC,KAAKY,wBAAwByB;OAG/BI,EAAiB9C,MAAc,QAAdA,WAAc,IAAdA,IAAkB;oBAlJhB;;gCAEI;wBAOA;6BAM9B;;;;;;EA0BF,uBAAM+C;IACJ1C,KAAKuB,yBAAyBoB,EAAOC,oBAAoB5C,KAAKqC;;EAGhE,kBAAAQ;IACE,KAAK7C,KAAKC,mBAAmB;MAC3BD,KAAK8C,4BAA4BC,KAC/B/C,KAAKuB,iBAAiByB;MAExBhD,KAAKC,oBAAoB;;;;EAwG7B,MAAAgD;IACE,OACE/B,EAACgC,GAAI;MAAC/B,OAAM;OACVD,EAAA;MAAKC,OAAM;OACTD,EAAA;MACEiC,kBAAgB;MAChBC,mBAAiB;MACjBC,kBAAgB;MAChBC,cAAY;MACZC,gBACEvD,KAAKwD,eAAexD,KAAKuB,iBAAiByB,gBAAgB;MAE5DS,eAAeC,EAAOC,eAAeF;OAEpCzD,KAAKiB,gBACLjB,KAAK8B,iBACNZ,EAAA;MAAUG,MAAK;MAAeD,MAAK;OAChCpB,KAAKuB,iBAAiBqC,OAAOC,uBAEhC3C,EAAA;MAAUG,MAAK;MAAeD,MAAK;OAChCpB,KAAKuB,iBAAiBqC,OAAOE,mBAGhC5C,EAAA;MACEG,MAAK;MACLD,MAAK;MACL2C,SAAS/D,KAAKE;OAEbF,KAAKuB,iBAAiBqC,OAAOI,eAGhC9C,EAAA;MACEG,MAAK;MACLD,MAAK;MACL2C,SAAS/D,KAAKe;OAEbf,KAAKuB,iBAAiBqC,OAAOK,eAEhC/C,EAAA;MAAYE,MAAK;MAAa2C,SAAS/D,KAAKc;OACzCd,KAAKuB,iBAAiBqC,OAAOM"}
@@ -0,0 +1,58 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ export declare class GxIdeGamInstallationSettings {
3
+ /**
4
+ * The component hard-coded strings translations.
5
+ */
6
+ private _componentLocale;
7
+ private renderedFirstTime;
8
+ el: HTMLGxIdeGamInstallationSettingsElement;
9
+ private webPanelsCheckboxEl;
10
+ private panelsCheckboxEl;
11
+ private futureUpgradesComboEl;
12
+ /**
13
+ * Current value for Used in objects
14
+ */
15
+ fileName: string;
16
+ selectedFile: File;
17
+ importingIsInProcess: boolean;
18
+ /**
19
+ * If true it displays the component title on the header
20
+ */
21
+ readonly displayTitle = false;
22
+ /**
23
+ * Specifies the configuration type to be used
24
+ */
25
+ readonly configurationType: "installation" | "update";
26
+ /**
27
+ * Callback invoked when the user press repair button
28
+ */
29
+ readonly repairCallback: RepairCallback;
30
+ /**
31
+ * Callback invoked when the user wants to start the exportation process
32
+ */
33
+ readonly saveCallback: SaveCallback;
34
+ /**
35
+ * Callback invoked when the user wants to cancel the exportation process
36
+ */
37
+ readonly cancelCallback: CancelCallback;
38
+ /**
39
+ * @description Gets fired when the component has rendered for the first time.
40
+ */
41
+ componentDidRenderFirstTime: EventEmitter<string>;
42
+ componentWillLoad(): Promise<void>;
43
+ componentDidRender(): void;
44
+ private repairCallbackHandler;
45
+ private saveCallbackHandler;
46
+ private cancelCallbackHandler;
47
+ private renderHeader;
48
+ private renderFilters;
49
+ render(): any;
50
+ }
51
+ export type GamConfigData = {
52
+ importWebPanels: boolean;
53
+ importPanels: boolean;
54
+ futureUpgrades: "never" | "prompt" | "automatic";
55
+ };
56
+ export type SaveCallback = (data: GamConfigData) => Promise<void>;
57
+ export type CancelCallback = () => Promise<void>;
58
+ export type RepairCallback = (config: GamConfigData) => Promise<void>;
@@ -22,17 +22,18 @@ import { CancelCallback as CancelCallback2, ConfirmCallback as ConfirmCallback2,
22
22
  import { EntitySelectorLabels } from "./components/_helpers/entity-selector/entity-selector";
23
23
  import { LabelPosition as LabelPosition1 } from "./components/_helpers/directory-selector/directory-selector";
24
24
  import { FileSelectorLabels, LabelPosition as LabelPosition2 } from "./components/file-selector/file-selector";
25
- import { CancelCallback as CancelCallback3, ConfirmCallback as ConfirmCallback3, LoadCallback, LoadDesignSystemCallback, LoadFontCallback, LoadImageCallback, LoadPanelDataCallback, RequiresAccessTokenCallback, SelectModuleCallback, TextEditorFactoryCallback } from "./components/import-from-design/import-from-design";
26
- import { AddObjectsCallback, AddReferencesCallback, CancelCallback as CancelCallback4, ExportCallback, ExportFileDirectoryCallback, KBPropertiesCallback, KBPropertyType, ObjectType, OptionsCallback } from "./components/kb-manager-export/kb-manager-export";
27
- import { CancelCallback as CancelCallback5, ImportCallback, LoadCallback as LoadCallback1, ObjectContextMenuCallback, OptionsCallback as OptionsCallback1 } from "./components/kb-manager-import/kb-manager-import";
25
+ import { CancelCallback as CancelCallback3, RepairCallback, SaveCallback } from "./components/gam-installation-settings/gam-installation-settings";
26
+ import { CancelCallback as CancelCallback4, ConfirmCallback as ConfirmCallback3, LoadCallback, LoadDesignSystemCallback, LoadFontCallback, LoadImageCallback, LoadPanelDataCallback, RequiresAccessTokenCallback, SelectModuleCallback, TextEditorFactoryCallback } from "./components/import-from-design/import-from-design";
27
+ import { AddObjectsCallback, AddReferencesCallback, CancelCallback as CancelCallback5, ExportCallback, ExportFileDirectoryCallback, KBPropertiesCallback, KBPropertyType, ObjectType, OptionsCallback } from "./components/kb-manager-export/kb-manager-export";
28
+ import { CancelCallback as CancelCallback6, ImportCallback, LoadCallback as LoadCallback1, ObjectContextMenuCallback, OptionsCallback as OptionsCallback1 } from "./components/kb-manager-import/kb-manager-import";
28
29
  import { Color, Size } from "@genexus/gemini/dist/types/components/icon/icon";
29
30
  import { CheckedItemsInfo } from "./components/_helpers/list-selector/list-selector";
30
31
  import { ItemData } from "./components/_helpers/list-selector/list-selector-item/list-selector-item";
31
32
  import { AddServerCallback, ExecuteActionCallback, ServerContextMenuCallback, ServerSelectedCallback } from "./components/modules/manage-module-references/manage-module-references";
32
- import { CancelCallback as CancelCallback6, CreateCallback, GetDataSourcesCallback, GetEnvironmentNameCallback, GetFrontEndsCallback } from "./components/new-environment/new-environment";
33
- import { CancelCallback as CancelCallback7, CreateCallback as CreateCallback1, GetDataSourcesCallback as GetDataSourcesCallback1, GetFrontEndsCallback as GetFrontEndsCallback1, SelectLocationCallback } from "./components/new-kb/new-kb";
34
- import { CancelCallback as CancelCallback8, CreateCallback as CreateCallback2, NewObjectData, SelectModuleCallback as SelectModuleCallback1, TypeCategoryData, ValidateNameCallback } from "./components/new-object/new-object";
35
- import { CancelCallback as CancelCallback9, LoadCallback as LoadCallback2, NewObjectCallback, ObjectType as ObjectType1, OpenSelectionCallback, SelectModuleCallback as SelectModuleCallback2 } from "./components/object-selector/object-selector";
33
+ import { CancelCallback as CancelCallback7, CreateCallback, GetDataSourcesCallback, GetEnvironmentNameCallback, GetFrontEndsCallback } from "./components/new-environment/new-environment";
34
+ import { CancelCallback as CancelCallback8, CreateCallback as CreateCallback1, GetDataSourcesCallback as GetDataSourcesCallback1, GetFrontEndsCallback as GetFrontEndsCallback1, SelectLocationCallback } from "./components/new-kb/new-kb";
35
+ import { CancelCallback as CancelCallback9, CreateCallback as CreateCallback2, NewObjectData, SelectModuleCallback as SelectModuleCallback1, TypeCategoryData, ValidateNameCallback } from "./components/new-object/new-object";
36
+ import { CancelCallback as CancelCallback10, LoadCallback as LoadCallback2, NewObjectCallback, ObjectType as ObjectType1, OpenSelectionCallback, SelectModuleCallback as SelectModuleCallback2 } from "./components/object-selector/object-selector";
36
37
  import { GetNewsCallback, OpenNewsCallback } from "./components/start-page/start-page";
37
38
  import { LoadReferencesCallback, ObjectData, OpenObjectCallback, OpenSelectorDialogCallback, SelectorSourceCallback, SelectReferenceCallback } from "./components/references/references";
38
39
  import { CreateKBCallback } from "./components/share-kb/share-kb";
@@ -41,7 +42,7 @@ import { CheckedItemsInfo as CheckedItemsInfo1 } from "./components/_helpers/lis
41
42
  import { CommitCallback, CommitSelectCallback, GetRecentComment, LoadCallback as LoadCallback3, ObjectsContextMenuCallback, PendingItemsCheckedCallback } from "./components/team-dev/commit/commit";
42
43
  import { cancelCallback, confirmCallback } from "./components/team-dev/select-recent-comment/select-recent-comment";
43
44
  import { ConfirmCallback as ConfirmCallback4, GridContextMenuCallback, LoadCallback as LoadCallback4, ObjectsContextMenuCallback as ObjectsContextMenuCallback1, PendingItemsCheckedCallback as PendingItemsCheckedCallback1, UpdateCallback, UpdateFromData, UpdateSelectCallback } from "./components/team-dev/update/update";
44
- import { AddCallback, CancelCallback as CancelCallback10, ConfirmCallback as ConfirmCallback5, ObjectData as ObjectData1 } from "./components/team-dev/update-partial-selection/update-partial-selection";
45
+ import { AddCallback, CancelCallback as CancelCallback11, ConfirmCallback as ConfirmCallback5, ObjectData as ObjectData1 } from "./components/team-dev/update-partial-selection/update-partial-selection";
45
46
  import { cancelCallbackFn, confirmCallbackFn } from "./components/team-dev/update-to-revision/update-to-revision";
46
47
  import { TitleAlignment as TitleAlignment1, TitleType as TitleType1 } from "./components/_helpers/title/title";
47
48
  import { ContextMenuCallback, DeleteSelectionCallback, LoadCallback as LoadCallback5, LoadImageItemsCallback, NewObjectCallback as NewObjectCallback1, OpenSelectionCallback as OpenSelectionCallback1, SelectionObjectCallback, SelectModuleCallback as SelectModuleCallback3 } from "./components/ww-images/ww-images";
@@ -62,17 +63,18 @@ export { CancelCallback as CancelCallback2, ConfirmCallback as ConfirmCallback2,
62
63
  export { EntitySelectorLabels } from "./components/_helpers/entity-selector/entity-selector";
63
64
  export { LabelPosition as LabelPosition1 } from "./components/_helpers/directory-selector/directory-selector";
64
65
  export { FileSelectorLabels, LabelPosition as LabelPosition2 } from "./components/file-selector/file-selector";
65
- export { CancelCallback as CancelCallback3, ConfirmCallback as ConfirmCallback3, LoadCallback, LoadDesignSystemCallback, LoadFontCallback, LoadImageCallback, LoadPanelDataCallback, RequiresAccessTokenCallback, SelectModuleCallback, TextEditorFactoryCallback } from "./components/import-from-design/import-from-design";
66
- export { AddObjectsCallback, AddReferencesCallback, CancelCallback as CancelCallback4, ExportCallback, ExportFileDirectoryCallback, KBPropertiesCallback, KBPropertyType, ObjectType, OptionsCallback } from "./components/kb-manager-export/kb-manager-export";
67
- export { CancelCallback as CancelCallback5, ImportCallback, LoadCallback as LoadCallback1, ObjectContextMenuCallback, OptionsCallback as OptionsCallback1 } from "./components/kb-manager-import/kb-manager-import";
66
+ export { CancelCallback as CancelCallback3, RepairCallback, SaveCallback } from "./components/gam-installation-settings/gam-installation-settings";
67
+ export { CancelCallback as CancelCallback4, ConfirmCallback as ConfirmCallback3, LoadCallback, LoadDesignSystemCallback, LoadFontCallback, LoadImageCallback, LoadPanelDataCallback, RequiresAccessTokenCallback, SelectModuleCallback, TextEditorFactoryCallback } from "./components/import-from-design/import-from-design";
68
+ export { AddObjectsCallback, AddReferencesCallback, CancelCallback as CancelCallback5, ExportCallback, ExportFileDirectoryCallback, KBPropertiesCallback, KBPropertyType, ObjectType, OptionsCallback } from "./components/kb-manager-export/kb-manager-export";
69
+ export { CancelCallback as CancelCallback6, ImportCallback, LoadCallback as LoadCallback1, ObjectContextMenuCallback, OptionsCallback as OptionsCallback1 } from "./components/kb-manager-import/kb-manager-import";
68
70
  export { Color, Size } from "@genexus/gemini/dist/types/components/icon/icon";
69
71
  export { CheckedItemsInfo } from "./components/_helpers/list-selector/list-selector";
70
72
  export { ItemData } from "./components/_helpers/list-selector/list-selector-item/list-selector-item";
71
73
  export { AddServerCallback, ExecuteActionCallback, ServerContextMenuCallback, ServerSelectedCallback } from "./components/modules/manage-module-references/manage-module-references";
72
- export { CancelCallback as CancelCallback6, CreateCallback, GetDataSourcesCallback, GetEnvironmentNameCallback, GetFrontEndsCallback } from "./components/new-environment/new-environment";
73
- export { CancelCallback as CancelCallback7, CreateCallback as CreateCallback1, GetDataSourcesCallback as GetDataSourcesCallback1, GetFrontEndsCallback as GetFrontEndsCallback1, SelectLocationCallback } from "./components/new-kb/new-kb";
74
- export { CancelCallback as CancelCallback8, CreateCallback as CreateCallback2, NewObjectData, SelectModuleCallback as SelectModuleCallback1, TypeCategoryData, ValidateNameCallback } from "./components/new-object/new-object";
75
- export { CancelCallback as CancelCallback9, LoadCallback as LoadCallback2, NewObjectCallback, ObjectType as ObjectType1, OpenSelectionCallback, SelectModuleCallback as SelectModuleCallback2 } from "./components/object-selector/object-selector";
74
+ export { CancelCallback as CancelCallback7, CreateCallback, GetDataSourcesCallback, GetEnvironmentNameCallback, GetFrontEndsCallback } from "./components/new-environment/new-environment";
75
+ export { CancelCallback as CancelCallback8, CreateCallback as CreateCallback1, GetDataSourcesCallback as GetDataSourcesCallback1, GetFrontEndsCallback as GetFrontEndsCallback1, SelectLocationCallback } from "./components/new-kb/new-kb";
76
+ export { CancelCallback as CancelCallback9, CreateCallback as CreateCallback2, NewObjectData, SelectModuleCallback as SelectModuleCallback1, TypeCategoryData, ValidateNameCallback } from "./components/new-object/new-object";
77
+ export { CancelCallback as CancelCallback10, LoadCallback as LoadCallback2, NewObjectCallback, ObjectType as ObjectType1, OpenSelectionCallback, SelectModuleCallback as SelectModuleCallback2 } from "./components/object-selector/object-selector";
76
78
  export { GetNewsCallback, OpenNewsCallback } from "./components/start-page/start-page";
77
79
  export { LoadReferencesCallback, ObjectData, OpenObjectCallback, OpenSelectorDialogCallback, SelectorSourceCallback, SelectReferenceCallback } from "./components/references/references";
78
80
  export { CreateKBCallback } from "./components/share-kb/share-kb";
@@ -81,7 +83,7 @@ export { CheckedItemsInfo as CheckedItemsInfo1 } from "./components/_helpers/lis
81
83
  export { CommitCallback, CommitSelectCallback, GetRecentComment, LoadCallback as LoadCallback3, ObjectsContextMenuCallback, PendingItemsCheckedCallback } from "./components/team-dev/commit/commit";
82
84
  export { cancelCallback, confirmCallback } from "./components/team-dev/select-recent-comment/select-recent-comment";
83
85
  export { ConfirmCallback as ConfirmCallback4, GridContextMenuCallback, LoadCallback as LoadCallback4, ObjectsContextMenuCallback as ObjectsContextMenuCallback1, PendingItemsCheckedCallback as PendingItemsCheckedCallback1, UpdateCallback, UpdateFromData, UpdateSelectCallback } from "./components/team-dev/update/update";
84
- export { AddCallback, CancelCallback as CancelCallback10, ConfirmCallback as ConfirmCallback5, ObjectData as ObjectData1 } from "./components/team-dev/update-partial-selection/update-partial-selection";
86
+ export { AddCallback, CancelCallback as CancelCallback11, ConfirmCallback as ConfirmCallback5, ObjectData as ObjectData1 } from "./components/team-dev/update-partial-selection/update-partial-selection";
85
87
  export { cancelCallbackFn, confirmCallbackFn } from "./components/team-dev/update-to-revision/update-to-revision";
86
88
  export { TitleAlignment as TitleAlignment1, TitleType as TitleType1 } from "./components/_helpers/title/title";
87
89
  export { ContextMenuCallback, DeleteSelectionCallback, LoadCallback as LoadCallback5, LoadImageItemsCallback, NewObjectCallback as NewObjectCallback1, OpenSelectionCallback as OpenSelectionCallback1, SelectionObjectCallback, SelectModuleCallback as SelectModuleCallback3 } from "./components/ww-images/ww-images";
@@ -602,11 +604,33 @@ export namespace Components {
602
604
  */
603
605
  "value": string;
604
606
  }
607
+ interface GxIdeGamInstallationSettings {
608
+ /**
609
+ * Callback invoked when the user wants to cancel the exportation process
610
+ */
611
+ "cancelCallback": CancelCallback3;
612
+ /**
613
+ * Specifies the configuration type to be used
614
+ */
615
+ "configurationType": "installation" | "update";
616
+ /**
617
+ * If true it displays the component title on the header
618
+ */
619
+ "displayTitle": false;
620
+ /**
621
+ * Callback invoked when the user press repair button
622
+ */
623
+ "repairCallback": RepairCallback;
624
+ /**
625
+ * Callback invoked when the user wants to start the exportation process
626
+ */
627
+ "saveCallback": SaveCallback;
628
+ }
605
629
  interface GxIdeImportFromDesign {
606
630
  /**
607
631
  * This is a function provided by the developer that cancel the load operation.
608
632
  */
609
- "cancelCallback": CancelCallback3;
633
+ "cancelCallback": CancelCallback4;
610
634
  /**
611
635
  * This is a function provided by the developer that init the process of import a design.
612
636
  */
@@ -687,7 +711,7 @@ export namespace Components {
687
711
  * Callback invoked when the user wants to cancel the export process.
688
712
  * @returns It returns a boolean indicating whether the process could be canceled or not.
689
713
  */
690
- "cancelCallback": CancelCallback4;
714
+ "cancelCallback": CancelCallback5;
691
715
  /**
692
716
  * If true it displays the component title on the header
693
717
  */
@@ -733,7 +757,7 @@ export namespace Components {
733
757
  * Callback invoked when the user wants to cancel the export process.
734
758
  * @returns It returns a boolean indicating whether the process could be canceled or not.
735
759
  */
736
- "cancelCallback": CancelCallback5;
760
+ "cancelCallback": CancelCallback6;
737
761
  /**
738
762
  * If true it displays the component title on the header
739
763
  */
@@ -893,7 +917,7 @@ export namespace Components {
893
917
  /**
894
918
  * Callback that will be invoked when user wants to cancel
895
919
  */
896
- "cancelCallback": CancelCallback6;
920
+ "cancelCallback": CancelCallback7;
897
921
  /**
898
922
  * Callback that will be invoked when user confirms the KB creation
899
923
  */
@@ -960,7 +984,7 @@ export namespace Components {
960
984
  /**
961
985
  * Callback invoked when the user wants to cancel KB creation (‘Cancel’ button)
962
986
  */
963
- "cancelCallback": CancelCallback7;
987
+ "cancelCallback": CancelCallback8;
964
988
  /**
965
989
  * DB Collations
966
990
  */
@@ -1054,7 +1078,7 @@ export namespace Components {
1054
1078
  /**
1055
1079
  * Callback invoked when user wants to confirm object creation
1056
1080
  */
1057
- "cancelCallback": CancelCallback8;
1081
+ "cancelCallback": CancelCallback9;
1058
1082
  /**
1059
1083
  * Callback invoked when user wants to cancel object creation
1060
1084
  */
@@ -1100,7 +1124,7 @@ export namespace Components {
1100
1124
  /**
1101
1125
  * Callback invoked when the user wishes to cancel the selection of objects.
1102
1126
  */
1103
- "cancelCallback": CancelCallback9;
1127
+ "cancelCallback": CancelCallback10;
1104
1128
  /**
1105
1129
  * The categories render in the filter category selector
1106
1130
  */
@@ -1434,7 +1458,7 @@ export namespace Components {
1434
1458
  /**
1435
1459
  * This is a function provided by the developer for execute when cancel button is pressed.
1436
1460
  */
1437
- "cancelCallback": CancelCallback10;
1461
+ "cancelCallback": CancelCallback11;
1438
1462
  /**
1439
1463
  * This is a function provided by the developer and is invoked when the action confirm is executed passing the selected objects of the grid
1440
1464
  */
@@ -1645,6 +1669,10 @@ export interface GxIdeEntitySelectorCustomEvent<T> extends CustomEvent<T> {
1645
1669
  detail: T;
1646
1670
  target: HTMLGxIdeEntitySelectorElement;
1647
1671
  }
1672
+ export interface GxIdeGamInstallationSettingsCustomEvent<T> extends CustomEvent<T> {
1673
+ detail: T;
1674
+ target: HTMLGxIdeGamInstallationSettingsElement;
1675
+ }
1648
1676
  export interface GxIdeImportFromDesignCustomEvent<T> extends CustomEvent<T> {
1649
1677
  detail: T;
1650
1678
  target: HTMLGxIdeImportFromDesignElement;
@@ -1897,6 +1925,23 @@ declare global {
1897
1925
  prototype: HTMLGxIdeFileSelectorElement;
1898
1926
  new (): HTMLGxIdeFileSelectorElement;
1899
1927
  };
1928
+ interface HTMLGxIdeGamInstallationSettingsElementEventMap {
1929
+ "componentDidRenderFirstTime": string;
1930
+ }
1931
+ interface HTMLGxIdeGamInstallationSettingsElement extends Components.GxIdeGamInstallationSettings, HTMLStencilElement {
1932
+ addEventListener<K extends keyof HTMLGxIdeGamInstallationSettingsElementEventMap>(type: K, listener: (this: HTMLGxIdeGamInstallationSettingsElement, ev: GxIdeGamInstallationSettingsCustomEvent<HTMLGxIdeGamInstallationSettingsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1933
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1934
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1935
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1936
+ removeEventListener<K extends keyof HTMLGxIdeGamInstallationSettingsElementEventMap>(type: K, listener: (this: HTMLGxIdeGamInstallationSettingsElement, ev: GxIdeGamInstallationSettingsCustomEvent<HTMLGxIdeGamInstallationSettingsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1937
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1938
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1939
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1940
+ }
1941
+ var HTMLGxIdeGamInstallationSettingsElement: {
1942
+ prototype: HTMLGxIdeGamInstallationSettingsElement;
1943
+ new (): HTMLGxIdeGamInstallationSettingsElement;
1944
+ };
1900
1945
  interface HTMLGxIdeImportFromDesignElementEventMap {
1901
1946
  "componentDidRenderFirstTime": boolean;
1902
1947
  }
@@ -2317,6 +2362,7 @@ declare global {
2317
2362
  "gx-ide-empty-state": HTMLGxIdeEmptyStateElement;
2318
2363
  "gx-ide-entity-selector": HTMLGxIdeEntitySelectorElement;
2319
2364
  "gx-ide-file-selector": HTMLGxIdeFileSelectorElement;
2365
+ "gx-ide-gam-installation-settings": HTMLGxIdeGamInstallationSettingsElement;
2320
2366
  "gx-ide-import-from-design": HTMLGxIdeImportFromDesignElement;
2321
2367
  "gx-ide-kb-manager-export": HTMLGxIdeKbManagerExportElement;
2322
2368
  "gx-ide-kb-manager-import": HTMLGxIdeKbManagerImportElement;
@@ -2883,11 +2929,37 @@ declare namespace LocalJSX {
2883
2929
  */
2884
2930
  "value"?: string;
2885
2931
  }
2932
+ interface GxIdeGamInstallationSettings {
2933
+ /**
2934
+ * Callback invoked when the user wants to cancel the exportation process
2935
+ */
2936
+ "cancelCallback"?: CancelCallback3;
2937
+ /**
2938
+ * Specifies the configuration type to be used
2939
+ */
2940
+ "configurationType"?: "installation" | "update";
2941
+ /**
2942
+ * If true it displays the component title on the header
2943
+ */
2944
+ "displayTitle"?: false;
2945
+ /**
2946
+ * @description Gets fired when the component has rendered for the first time.
2947
+ */
2948
+ "onComponentDidRenderFirstTime"?: (event: GxIdeGamInstallationSettingsCustomEvent<string>) => void;
2949
+ /**
2950
+ * Callback invoked when the user press repair button
2951
+ */
2952
+ "repairCallback"?: RepairCallback;
2953
+ /**
2954
+ * Callback invoked when the user wants to start the exportation process
2955
+ */
2956
+ "saveCallback"?: SaveCallback;
2957
+ }
2886
2958
  interface GxIdeImportFromDesign {
2887
2959
  /**
2888
2960
  * This is a function provided by the developer that cancel the load operation.
2889
2961
  */
2890
- "cancelCallback": CancelCallback3;
2962
+ "cancelCallback": CancelCallback4;
2891
2963
  /**
2892
2964
  * This is a function provided by the developer that init the process of import a design.
2893
2965
  */
@@ -2968,7 +3040,7 @@ declare namespace LocalJSX {
2968
3040
  * Callback invoked when the user wants to cancel the export process.
2969
3041
  * @returns It returns a boolean indicating whether the process could be canceled or not.
2970
3042
  */
2971
- "cancelCallback"?: CancelCallback4;
3043
+ "cancelCallback"?: CancelCallback5;
2972
3044
  /**
2973
3045
  * If true it displays the component title on the header
2974
3046
  */
@@ -3018,7 +3090,7 @@ declare namespace LocalJSX {
3018
3090
  * Callback invoked when the user wants to cancel the export process.
3019
3091
  * @returns It returns a boolean indicating whether the process could be canceled or not.
3020
3092
  */
3021
- "cancelCallback"?: CancelCallback5;
3093
+ "cancelCallback"?: CancelCallback6;
3022
3094
  /**
3023
3095
  * If true it displays the component title on the header
3024
3096
  */
@@ -3194,7 +3266,7 @@ declare namespace LocalJSX {
3194
3266
  /**
3195
3267
  * Callback that will be invoked when user wants to cancel
3196
3268
  */
3197
- "cancelCallback"?: CancelCallback6;
3269
+ "cancelCallback"?: CancelCallback7;
3198
3270
  /**
3199
3271
  * Callback that will be invoked when user confirms the KB creation
3200
3272
  */
@@ -3261,7 +3333,7 @@ declare namespace LocalJSX {
3261
3333
  /**
3262
3334
  * Callback invoked when the user wants to cancel KB creation (‘Cancel’ button)
3263
3335
  */
3264
- "cancelCallback"?: CancelCallback7;
3336
+ "cancelCallback"?: CancelCallback8;
3265
3337
  /**
3266
3338
  * DB Collations
3267
3339
  */
@@ -3355,7 +3427,7 @@ declare namespace LocalJSX {
3355
3427
  /**
3356
3428
  * Callback invoked when user wants to confirm object creation
3357
3429
  */
3358
- "cancelCallback"?: CancelCallback8;
3430
+ "cancelCallback"?: CancelCallback9;
3359
3431
  /**
3360
3432
  * Callback invoked when user wants to cancel object creation
3361
3433
  */
@@ -3417,7 +3489,7 @@ declare namespace LocalJSX {
3417
3489
  /**
3418
3490
  * Callback invoked when the user wishes to cancel the selection of objects.
3419
3491
  */
3420
- "cancelCallback": CancelCallback9;
3492
+ "cancelCallback": CancelCallback10;
3421
3493
  /**
3422
3494
  * The categories render in the filter category selector
3423
3495
  */
@@ -3783,7 +3855,7 @@ declare namespace LocalJSX {
3783
3855
  /**
3784
3856
  * This is a function provided by the developer for execute when cancel button is pressed.
3785
3857
  */
3786
- "cancelCallback": CancelCallback10;
3858
+ "cancelCallback": CancelCallback11;
3787
3859
  /**
3788
3860
  * This is a function provided by the developer and is invoked when the action confirm is executed passing the selected objects of the grid
3789
3861
  */
@@ -3987,6 +4059,7 @@ declare namespace LocalJSX {
3987
4059
  "gx-ide-empty-state": GxIdeEmptyState;
3988
4060
  "gx-ide-entity-selector": GxIdeEntitySelector;
3989
4061
  "gx-ide-file-selector": GxIdeFileSelector;
4062
+ "gx-ide-gam-installation-settings": GxIdeGamInstallationSettings;
3990
4063
  "gx-ide-import-from-design": GxIdeImportFromDesign;
3991
4064
  "gx-ide-kb-manager-export": GxIdeKbManagerExport;
3992
4065
  "gx-ide-kb-manager-import": GxIdeKbManagerImport;
@@ -4033,6 +4106,7 @@ declare module "@stencil/core" {
4033
4106
  "gx-ide-empty-state": LocalJSX.GxIdeEmptyState & JSXBase.HTMLAttributes<HTMLGxIdeEmptyStateElement>;
4034
4107
  "gx-ide-entity-selector": LocalJSX.GxIdeEntitySelector & JSXBase.HTMLAttributes<HTMLGxIdeEntitySelectorElement>;
4035
4108
  "gx-ide-file-selector": LocalJSX.GxIdeFileSelector & JSXBase.HTMLAttributes<HTMLGxIdeFileSelectorElement>;
4109
+ "gx-ide-gam-installation-settings": LocalJSX.GxIdeGamInstallationSettings & JSXBase.HTMLAttributes<HTMLGxIdeGamInstallationSettingsElement>;
4036
4110
  "gx-ide-import-from-design": LocalJSX.GxIdeImportFromDesign & JSXBase.HTMLAttributes<HTMLGxIdeImportFromDesignElement>;
4037
4111
  "gx-ide-kb-manager-export": LocalJSX.GxIdeKbManagerExport & JSXBase.HTMLAttributes<HTMLGxIdeKbManagerExportElement>;
4038
4112
  "gx-ide-kb-manager-import": LocalJSX.GxIdeKbManagerImport & JSXBase.HTMLAttributes<HTMLGxIdeKbManagerImportElement>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genexus/genexus-ide-ui",
3
3
  "license": "Apache-2.0",
4
- "version": "0.0.111",
4
+ "version": "0.0.112",
5
5
  "description": "GeneXus IDE UI components",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.js",