@genexus/genexus-ide-ui 1.0.41 → 1.0.43

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 (97) hide show
  1. package/dist/cjs/MERCURY_ASSETS-27fcab57.js +9 -0
  2. package/dist/cjs/MERCURY_ASSETS-27fcab57.js.map +1 -0
  3. package/dist/cjs/gx-ide-ai-message.cjs.entry.js +1 -1
  4. package/dist/cjs/gx-ide-create-kb-from-server.cjs.entry.js +1 -1
  5. package/dist/cjs/gx-ide-current-user-info.cjs.entry.js +2 -2
  6. package/dist/cjs/gx-ide-current-user-info.cjs.entry.js.map +1 -1
  7. package/dist/cjs/gx-ide-dashboard-home.cjs.entry.js +1 -1
  8. package/dist/cjs/gx-ide-data-selector.cjs.entry.js +1 -1
  9. package/dist/cjs/gx-ide-data-type-selector.cjs.entry.js +1 -1
  10. package/dist/cjs/gx-ide-design-import.cjs.entry.js +42 -13
  11. package/dist/cjs/gx-ide-design-import.cjs.entry.js.map +1 -1
  12. package/dist/cjs/gx-ide-entity-selector.cjs.entry.js +1 -1
  13. package/dist/cjs/gx-ide-kb-manager-export.cjs.entry.js +1 -1
  14. package/dist/cjs/gx-ide-kb-manager-import.cjs.entry.js +1 -1
  15. package/dist/cjs/gx-ide-manage-module-references-v2.cjs.entry.js +1 -1
  16. package/dist/cjs/gx-ide-manage-module-references.cjs.entry.js +1 -1
  17. package/dist/cjs/gx-ide-new-kb.cjs.entry.js +1 -1
  18. package/dist/cjs/gx-ide-object-selector.cjs.entry.js +1 -1
  19. package/dist/cjs/gx-ide-share-kb.cjs.entry.js +1 -1
  20. package/dist/cjs/gx-ide-start-page.cjs.entry.js +1 -1
  21. package/dist/cjs/gx-ide-welcome-page.cjs.entry.js +1 -1
  22. package/dist/collection/components/current-user-info/current-user-info.js +1 -1
  23. package/dist/collection/components/current-user-info/current-user-info.js.map +1 -1
  24. package/dist/collection/components/design-import/design-import.js +41 -12
  25. package/dist/collection/components/design-import/design-import.js.map +1 -1
  26. package/dist/components/MERCURY_ASSETS.js +1 -1
  27. package/dist/components/MERCURY_ASSETS.js.map +1 -1
  28. package/dist/components/gx-ide-current-user-info.js +1 -1
  29. package/dist/components/gx-ide-current-user-info.js.map +1 -1
  30. package/dist/components/gx-ide-design-import.js +41 -12
  31. package/dist/components/gx-ide-design-import.js.map +1 -1
  32. package/dist/esm/MERCURY_ASSETS-845caae6.js +7 -0
  33. package/dist/esm/MERCURY_ASSETS-845caae6.js.map +1 -0
  34. package/dist/esm/gx-ide-ai-message.entry.js +1 -1
  35. package/dist/esm/gx-ide-create-kb-from-server.entry.js +1 -1
  36. package/dist/esm/gx-ide-current-user-info.entry.js +2 -2
  37. package/dist/esm/gx-ide-current-user-info.entry.js.map +1 -1
  38. package/dist/esm/gx-ide-dashboard-home.entry.js +1 -1
  39. package/dist/esm/gx-ide-data-selector.entry.js +1 -1
  40. package/dist/esm/gx-ide-data-type-selector.entry.js +1 -1
  41. package/dist/esm/gx-ide-design-import.entry.js +42 -13
  42. package/dist/esm/gx-ide-design-import.entry.js.map +1 -1
  43. package/dist/esm/gx-ide-entity-selector.entry.js +1 -1
  44. package/dist/esm/gx-ide-kb-manager-export.entry.js +1 -1
  45. package/dist/esm/gx-ide-kb-manager-import.entry.js +1 -1
  46. package/dist/esm/gx-ide-manage-module-references-v2.entry.js +1 -1
  47. package/dist/esm/gx-ide-manage-module-references.entry.js +1 -1
  48. package/dist/esm/gx-ide-new-kb.entry.js +1 -1
  49. package/dist/esm/gx-ide-object-selector.entry.js +1 -1
  50. package/dist/esm/gx-ide-share-kb.entry.js +1 -1
  51. package/dist/esm/gx-ide-start-page.entry.js +1 -1
  52. package/dist/esm/gx-ide-welcome-page.entry.js +1 -1
  53. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
  54. package/dist/genexus-ide-ui/{p-bf1682ff.entry.js → p-04d7f44c.entry.js} +20 -20
  55. package/dist/genexus-ide-ui/{p-a8e43d8e.entry.js → p-0f08bb20.entry.js} +2 -2
  56. package/dist/genexus-ide-ui/{p-88e16a83.entry.js → p-2137f5fa.entry.js} +2 -2
  57. package/dist/genexus-ide-ui/{p-05775d0c.entry.js → p-47e31aba.entry.js} +2 -2
  58. package/dist/genexus-ide-ui/{p-a3a43593.entry.js → p-48cc3f73.entry.js} +2 -2
  59. package/dist/genexus-ide-ui/{p-5fc133b2.entry.js → p-512147a8.entry.js} +221 -201
  60. package/dist/genexus-ide-ui/p-512147a8.entry.js.map +1 -0
  61. package/dist/genexus-ide-ui/{p-b81d21d5.js → p-617e65ca.js} +1486 -604
  62. package/dist/genexus-ide-ui/p-617e65ca.js.map +1 -0
  63. package/dist/genexus-ide-ui/{p-993819d4.entry.js → p-6563141c.entry.js} +2 -2
  64. package/dist/genexus-ide-ui/{p-d15caa11.entry.js → p-6747cc1e.entry.js} +5 -5
  65. package/dist/genexus-ide-ui/{p-de6112f9.entry.js → p-75ed87db.entry.js} +2 -2
  66. package/dist/genexus-ide-ui/{p-0f196406.entry.js → p-8ea94a5e.entry.js} +2 -2
  67. package/dist/genexus-ide-ui/{p-cadec045.entry.js → p-a9d67992.entry.js} +2 -2
  68. package/dist/genexus-ide-ui/{p-c2ec8185.entry.js → p-b12a5426.entry.js} +7 -7
  69. package/dist/genexus-ide-ui/{p-c2ec8185.entry.js.map → p-b12a5426.entry.js.map} +1 -1
  70. package/dist/genexus-ide-ui/{p-7cde7e4f.entry.js → p-c0e184da.entry.js} +2 -2
  71. package/dist/genexus-ide-ui/{p-764540b3.entry.js → p-c7e6222b.entry.js} +2 -2
  72. package/dist/genexus-ide-ui/{p-bd5316a2.entry.js → p-d2ab4f70.entry.js} +11 -11
  73. package/dist/genexus-ide-ui/{p-f36f9a6d.entry.js → p-d32a6ca4.entry.js} +2 -2
  74. package/dist/genexus-ide-ui/{p-7ba9fb6d.entry.js → p-f50076d3.entry.js} +2 -2
  75. package/dist/types/components/design-import/design-import.d.ts +1 -0
  76. package/package.json +3 -3
  77. package/dist/cjs/MERCURY_ASSETS-b23e31e2.js +0 -9
  78. package/dist/cjs/MERCURY_ASSETS-b23e31e2.js.map +0 -1
  79. package/dist/esm/MERCURY_ASSETS-7a7c1795.js +0 -7
  80. package/dist/esm/MERCURY_ASSETS-7a7c1795.js.map +0 -1
  81. package/dist/genexus-ide-ui/p-5fc133b2.entry.js.map +0 -1
  82. package/dist/genexus-ide-ui/p-b81d21d5.js.map +0 -1
  83. /package/dist/genexus-ide-ui/{p-bf1682ff.entry.js.map → p-04d7f44c.entry.js.map} +0 -0
  84. /package/dist/genexus-ide-ui/{p-a8e43d8e.entry.js.map → p-0f08bb20.entry.js.map} +0 -0
  85. /package/dist/genexus-ide-ui/{p-88e16a83.entry.js.map → p-2137f5fa.entry.js.map} +0 -0
  86. /package/dist/genexus-ide-ui/{p-05775d0c.entry.js.map → p-47e31aba.entry.js.map} +0 -0
  87. /package/dist/genexus-ide-ui/{p-a3a43593.entry.js.map → p-48cc3f73.entry.js.map} +0 -0
  88. /package/dist/genexus-ide-ui/{p-993819d4.entry.js.map → p-6563141c.entry.js.map} +0 -0
  89. /package/dist/genexus-ide-ui/{p-d15caa11.entry.js.map → p-6747cc1e.entry.js.map} +0 -0
  90. /package/dist/genexus-ide-ui/{p-de6112f9.entry.js.map → p-75ed87db.entry.js.map} +0 -0
  91. /package/dist/genexus-ide-ui/{p-0f196406.entry.js.map → p-8ea94a5e.entry.js.map} +0 -0
  92. /package/dist/genexus-ide-ui/{p-cadec045.entry.js.map → p-a9d67992.entry.js.map} +0 -0
  93. /package/dist/genexus-ide-ui/{p-7cde7e4f.entry.js.map → p-c0e184da.entry.js.map} +0 -0
  94. /package/dist/genexus-ide-ui/{p-764540b3.entry.js.map → p-c7e6222b.entry.js.map} +0 -0
  95. /package/dist/genexus-ide-ui/{p-bd5316a2.entry.js.map → p-d2ab4f70.entry.js.map} +0 -0
  96. /package/dist/genexus-ide-ui/{p-f36f9a6d.entry.js.map → p-d32a6ca4.entry.js.map} +0 -0
  97. /package/dist/genexus-ide-ui/{p-7ba9fb6d.entry.js.map → p-f50076d3.entry.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { r as e, c as t, h as r, H as i, g as a } from "./p-49712340.js";
2
2
 
3
- import { g as o } from "./p-b81d21d5.js";
3
+ import { g as o } from "./p-617e65ca.js";
4
4
 
5
5
  import { r as s } from "./p-d1cb5507.js";
6
6
 
@@ -487,4 +487,4 @@ c = new WeakMap, g = new WeakMap;
487
487
  f.style = n;
488
488
 
489
489
  export { f as gx_ide_manage_module_references };
490
- //# sourceMappingURL=p-993819d4.entry.js.map
490
+ //# sourceMappingURL=p-6563141c.entry.js.map
@@ -1,6 +1,6 @@
1
1
  import { r as e, h as s, g as r } from "./p-49712340.js";
2
2
 
3
- import { g as a } from "./p-b81d21d5.js";
3
+ import { g as a } from "./p-617e65ca.js";
4
4
 
5
5
  import { L as i } from "./p-311eedf3.js";
6
6
 
@@ -22,7 +22,7 @@ const p = a({
22
22
  colorType: "neutral"
23
23
  });
24
24
 
25
- const d = class {
25
+ const c = class {
26
26
  constructor(r) {
27
27
  e(this, r);
28
28
  this.copyable = false;
@@ -131,7 +131,7 @@ const d = class {
131
131
 
132
132
  l = new WeakMap;
133
133
 
134
- d.style = t;
134
+ c.style = t;
135
135
 
136
- export { d as gx_ide_ai_message };
137
- //# sourceMappingURL=p-d15caa11.entry.js.map
136
+ export { c as gx_ide_ai_message };
137
+ //# sourceMappingURL=p-6747cc1e.entry.js.map
@@ -1,6 +1,6 @@
1
1
  import { r as e, c as t, h as r, H as i, g as a } from "./p-49712340.js";
2
2
 
3
- import { g as o } from "./p-b81d21d5.js";
3
+ import { g as o } from "./p-617e65ca.js";
4
4
 
5
5
  import { r as s } from "./p-d1cb5507.js";
6
6
 
@@ -470,4 +470,4 @@ c = new WeakMap, g = new WeakMap;
470
470
  h.style = n;
471
471
 
472
472
  export { h as gx_ide_manage_module_references_v2 };
473
- //# sourceMappingURL=p-de6112f9.entry.js.map
473
+ //# sourceMappingURL=p-75ed87db.entry.js.map
@@ -1,6 +1,6 @@
1
1
  import { r as t, c as e, a as s, h as i, H as n, g as a } from "./p-49712340.js";
2
2
 
3
- import { g as o } from "./p-b81d21d5.js";
3
+ import { g as o } from "./p-617e65ca.js";
4
4
 
5
5
  import { c as r } from "./p-78b90603.js";
6
6
 
@@ -246,4 +246,4 @@ M = new WeakMap, W = new WeakMap, T = new WeakMap, j = new WeakMap, _ = new Weak
246
246
  C.style = h;
247
247
 
248
248
  export { C as gx_ide_share_kb };
249
- //# sourceMappingURL=p-0f196406.entry.js.map
249
+ //# sourceMappingURL=p-8ea94a5e.entry.js.map
@@ -1,6 +1,6 @@
1
1
  import { r as t, a as e, h as s, H as i, g as a } from "./p-49712340.js";
2
2
 
3
- import { g as n } from "./p-b81d21d5.js";
3
+ import { g as n } from "./p-617e65ca.js";
4
4
 
5
5
  import { c as o } from "./p-78b90603.js";
6
6
 
@@ -302,4 +302,4 @@ z = new WeakMap, A = new WeakMap, I = new WeakMap, L = new WeakMap;
302
302
  K.style = h;
303
303
 
304
304
  export { K as gx_ide_create_kb_from_server };
305
- //# sourceMappingURL=p-cadec045.entry.js.map
305
+ //# sourceMappingURL=p-a9d67992.entry.js.map
@@ -1,6 +1,6 @@
1
1
  import { r as e, h as t, H as i, g as n } from "./p-49712340.js";
2
2
 
3
- import { g as o } from "./p-b81d21d5.js";
3
+ import { g as o } from "./p-617e65ca.js";
4
4
 
5
5
  import { L as r } from "./p-311eedf3.js";
6
6
 
@@ -67,11 +67,11 @@ var l = undefined && undefined.__classPrivateFieldGet || function(e, t, i, n) {
67
67
 
68
68
  var c, d, f, u, p;
69
69
 
70
- const m = [
70
+ const h = [
71
71
  // TODO: review if "utils/form--full" is required.
72
- "resets/box-sizing", "components/tooltip", "components/toggle", "components/icon", "components/dropdown", "utils/layout", "utils/typography", "utils/spacing", "chameleon/scrollbar" ];
72
+ "resets/box-sizing", "components/tooltip", "components/switch", "components/icon", "components/dropdown", "utils/layout", "utils/typography", "utils/spacing", "chameleon/scrollbar" ];
73
73
 
74
- const h = o({
74
+ const m = o({
75
75
  category: "navigation",
76
76
  name: "chevron-down",
77
77
  colorType: "neutral"
@@ -142,7 +142,7 @@ const y = class {
142
142
  return t(i, {
143
143
  class: "widget"
144
144
  }, t("ch-theme", {
145
- model: m
145
+ model: h
146
146
  }), t("ch-dropdown-render", {
147
147
  class: "dropdown",
148
148
  model: l(this, f, "f"),
@@ -161,7 +161,7 @@ const y = class {
161
161
  }, this.userInfo.team) : null), t("div", {
162
162
  class: "user-login__avatar"
163
163
  }, l(this, d, "f")), t("ch-image", {
164
- src: h,
164
+ src: m,
165
165
  class: "icon-md",
166
166
  containerRef: l(this, u, "f")
167
167
  })), t("div", {
@@ -185,4 +185,4 @@ c = new WeakMap, d = new WeakMap, f = new WeakMap, u = new WeakMap, p = new Weak
185
185
  y.style = s;
186
186
 
187
187
  export { y as gx_ide_current_user_info };
188
- //# sourceMappingURL=p-c2ec8185.entry.js.map
188
+ //# sourceMappingURL=p-b12a5426.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["getInitialsFromName","name","trim","nameData","split","filter","Boolean","length","toUpperCase","limitFullName","fullName","fullNameData","currentUserInfoCss","CSS_BUNDLES","CHEVRON_DOWN_ICON","getIconPath","category","colorType","MY_ACCOUNT_ID","CHANGE_TEAM_ID","SIGN_OUT_ID","LANGUAGE_ID","GxIdeNewEnvironment","_GxIdeNewEnvironment_componentLocale","set","this","_GxIdeNewEnvironment_initials","_GxIdeNewEnvironment_menuDropdownModel","_GxIdeNewEnvironment_userLoginButton","_GxIdeNewEnvironment_dropDownitemClickHandler","_event","_target","itemId","myAccountCallback","changeTeamCallback","signOutCallback","changeLanguageCallback","componentWillLoad","__classPrivateFieldSet","Locale","getComponentStrings","el","userInfo","id","caption","__classPrivateFieldGet","myAccountLabel","showSeparator","changeTeamLabel","signOutLabel","render","userName","_a","h","Host","class","model","position","itemClickCallback","ref","slot","_b","team","src","containerRef","onClick","showTermsCallback","privacyAndTerms"],"sources":["src/components/current-user-info/helpers.tsx","src/components/current-user-info/current-user-info.scss?tag=gx-ide-current-user-info&encapsulation=shadow","src/components/current-user-info/current-user-info.tsx"],"sourcesContent":["/**\n * Returns initials from the first two words of a name. Returns \"X\" for invalid input.\n *\n * @param name - The full name string.\n * @returns Initials of the first two words, or \"X\" if invalid.\n *\n * Example:\n * getInitialsFromName(\"John Doe\") -> \"JD\"\n * getInitialsFromName(\"Jane\") -> \"J\"\n * getInitialsFromName(\"\") -> \"X\"\n */\nexport const getInitialsFromName = (name: string): string | null => {\n if (typeof name !== \"string\" || name.trim() === \"\") {\n return \"X\";\n }\n\n const nameData = name.split(\" \").filter(Boolean); // Remove any empty strings from splitting\n if (nameData.length === 1) {\n return nameData[0][0].toUpperCase();\n } else {\n return `${nameData[0][0].toUpperCase()}${nameData[1][0].toUpperCase()}`;\n }\n};\n\n/**\n * Limits the full name to the first two words. Returns null for invalid input.\n *\n * @param fullName - The full name string to be limited.\n * @returns The first two words of the full name, or null if invalid.\n *\n * Example:\n * limitFullName(\"John Doe Smith\") -> \"John Doe\"\n * limitFullName(\"Jane\") -> \"Jane\"\n * limitFullName(\"\") -> null\n */\nexport const limitFullName = (fullName: string): string | null => {\n if (typeof fullName !== \"string\" || fullName.trim() === \"\") {\n return null;\n }\n\n const fullNameData = fullName.split(\" \").filter(Boolean); // Remove any empty strings from splitting\n if (fullNameData.length === 1) {\n return fullNameData[0];\n } else {\n return `${fullNameData[0]} ${fullNameData[1]}`;\n }\n};\n","@import \"../../../node_modules/@genexus/mercury/dist/mercury.scss\";\n\n:host {\n display: inline-grid;\n justify-items: end;\n block-size: 100%;\n}\n\n.user-login {\n &__button {\n all: unset;\n display: grid;\n grid-template-columns: max-content max-content max-content;\n align-items: center;\n gap: var(--mer-spacing--sm);\n block-size: auto;\n cursor: pointer;\n }\n &__details {\n display: grid;\n grid-template-rows: max-content max-content;\n gap: var(--mer-spacing--3xs);\n justify-items: end;\n }\n &__name {\n font-weight: var(--mer-font__weight--medium);\n font-size: var(--mer-font__size--3xs);\n color: var(--mer-text__on-elevation);\n }\n &__organization {\n font-weight: var(--mer-font__weight--light);\n font-size: var(--mer-font__size--4xs);\n color: var(--mer-text__neutral);\n }\n &__name,\n &__organization {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-inline-size: 120px;\n display: inline-block;\n }\n &__avatar {\n font-size: 9px;\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n block-size: var(--mer-spacing--lg);\n inline-size: var(--mer-spacing--lg);\n color: var(--mer-text__on-elevation);\n border-radius: 50%;\n background-color: var(--mer-color__tinted-primary--10);\n border: var(--mer-border__width--sm) solid var(--mer-color__primary--200);\n }\n}\n\n.privacy-policy {\n text-decoration: underline;\n cursor: pointer;\n}\n","/* STENCIL IMPORTS */\nimport { Component, Element, Host, Prop, State, h } from \"@stencil/core\";\n\nimport { getIconPath, MercuryBundles } from \"@genexus/mercury\";\n\nimport { Locale } from \"../../common/locale\";\nimport { getInitialsFromName, limitFullName } from \"./helpers\";\nimport { DropdownModel } from \"@genexus/chameleon-controls-library\";\n\nconst CSS_BUNDLES: MercuryBundles = [\n // TODO: review if \"utils/form--full\" is required.\n \"resets/box-sizing\",\n \"components/tooltip\",\n \"components/toggle\",\n \"components/icon\",\n \"components/dropdown\",\n \"utils/layout\",\n \"utils/typography\",\n \"utils/spacing\",\n \"chameleon/scrollbar\"\n];\n\nconst CHEVRON_DOWN_ICON = getIconPath({\n category: \"navigation\",\n name: \"chevron-down\",\n colorType: \"neutral\"\n});\n\nconst MY_ACCOUNT_ID = \"my-account\";\nconst CHANGE_TEAM_ID = \"change-team\";\nconst SIGN_OUT_ID = \"sign-out\";\nconst LANGUAGE_ID = \"language\";\n\n@Component({\n tag: \"gx-ide-current-user-info\",\n styleUrl: \"current-user-info.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/current-user-info\"]\n})\nexport class GxIdeNewEnvironment {\n #componentLocale: any;\n #initials: string = \"\";\n // #mode: Mode;\n #menuDropdownModel: DropdownModel;\n\n @Element() el: HTMLGxIdeCurrentUserInfoElement;\n #userLoginButton: HTMLButtonElement;\n\n @State() showMenu: boolean = false;\n\n /**\n * User data\n */\n @Prop() readonly userInfo: UserInfo;\n\n /**\n * Callback executed when the user click \"My Account\" link\n */\n @Prop() readonly myAccountCallback!: () => Promise<void>;\n\n /**\n * Callback executed when the user click \"change team\" link\n */\n @Prop() readonly changeTeamCallback!: () => Promise<void>;\n\n /**\n * Callback executed when the user click \"Language\" link\n */\n @Prop() readonly changeLanguageCallback!: () => Promise<void>;\n\n /**\n * Callback executed when the user switch the \"Mode\" status\n */\n @Prop() readonly changeModeCallback!: (mode: Mode) => Promise<void>;\n\n /**\n * Callback executed when the user click \"Sign Out\" link\n */\n @Prop() readonly signOutCallback!: () => Promise<void>;\n\n /**\n * Callback executed when the user click \"Privacy Policy & Terms of use\" link\n */\n @Prop() readonly showTermsCallback!: () => Promise<void>;\n\n async componentWillLoad() {\n this.#componentLocale = await Locale.getComponentStrings(this.el);\n this.#initials = getInitialsFromName(this.userInfo.name);\n this.#menuDropdownModel = [\n {\n id: MY_ACCOUNT_ID,\n caption: this.#componentLocale.myAccountLabel,\n showSeparator: false\n },\n {\n id: CHANGE_TEAM_ID,\n caption: this.#componentLocale.changeTeamLabel,\n showSeparator: false\n },\n {\n id: SIGN_OUT_ID,\n caption: this.#componentLocale.signOutLabel,\n showSeparator: true\n }\n // {\n // id: LANGUAGE_ID,\n // caption: this.#componentLocale.languageLabel,\n // showSeparator: true\n // }\n ];\n }\n\n // #handleModeSwitch = () => {\n // this.#mode = this.#mode === \"dark\" ? \"light\" : \"dark\";\n // if (this.changeModeCallback) {\n // this.changeModeCallback(this.#mode);\n // }\n // };\n\n #dropDownitemClickHandler = (\n _event: UIEvent,\n _target: string,\n itemId: string\n ): void => {\n if (itemId === MY_ACCOUNT_ID) {\n this.myAccountCallback();\n } else if (itemId === CHANGE_TEAM_ID) {\n this.changeTeamCallback();\n } else if (itemId === SIGN_OUT_ID) {\n this.signOutCallback();\n } else if (itemId === LANGUAGE_ID) {\n this.changeLanguageCallback();\n }\n };\n\n render() {\n const userName = limitFullName(this.userInfo?.name);\n return (\n <Host class=\"widget\">\n <ch-theme model={CSS_BUNDLES}></ch-theme>\n <ch-dropdown-render\n class=\"dropdown\"\n model={this.#menuDropdownModel}\n position=\"InsideEnd_OutsideEnd\"\n itemClickCallback={this.#dropDownitemClickHandler}\n >\n <button\n class=\"user-login__button\"\n ref={el => (this.#userLoginButton = el as HTMLButtonElement)}\n slot=\"action\"\n >\n <div class=\"user-login__details\">\n {userName ? (\n <span class=\"user-login__name\">{userName}</span>\n ) : null}\n {this.userInfo?.team ? (\n <span class=\"user-login__organization\">\n {this.userInfo.team}\n </span>\n ) : null}\n </div>\n\n <div class=\"user-login__avatar\">{this.#initials}</div>\n <ch-image\n src={CHEVRON_DOWN_ICON}\n class=\"icon-md\"\n containerRef={this.#userLoginButton}\n ></ch-image>\n </button>\n <div class=\"user-login__footer footer-slot\" slot=\"footer\">\n <p\n class=\"text-body-regular-s privacy-policy\"\n onClick={this.showTermsCallback}\n >\n {this.#componentLocale.privacyAndTerms}\n </p>\n </div>\n </ch-dropdown-render>\n </Host>\n );\n }\n}\n\nexport type UserInfo = {\n name: string;\n team: string;\n};\n\nexport type Mode = \"dark\" | \"light\";\n"],"mappings":";;;;;;;;;;;;;;;;GAWO,OAAMA,sBAAuBC;EAClC,WAAWA,MAAS,YAAYA,EAAKC,WAAW,IAAI;IAClD,OAAO;;EAGT,MAAMC,IAAWF,EAAKG,MAAM,KAAKC,OAAOC;;IACxC,IAAIH,EAASI,WAAW,GAAG;IACzB,OAAOJ,EAAS,GAAG,GAAGK;SACjB;IACL,OAAO,GAAGL,EAAS,GAAG,GAAGK,gBAAgBL,EAAS,GAAG,GAAGK;;;;;;;;;;;;;;GAerD,OAAMC,gBAAiBC;EAC5B,WAAWA,MAAa,YAAYA,EAASR,WAAW,IAAI;IAC1D,OAAO;;EAGT,MAAMS,IAAeD,EAASN,MAAM,KAAKC,OAAOC;;IAChD,IAAIK,EAAaJ,WAAW,GAAG;IAC7B,OAAOI,EAAa;SACf;IACL,OAAO,GAAGA,EAAa,MAAMA,EAAa;;;;AC5C9C,MAAMC,IAAqB;;;;;;;;;;;;;;;;;ACS3B,MAAMC,IAA8B;;AAElC,qBACA,sBACA,qBACA,mBACA,uBACA,gBACA,oBACA,iBACA;;AAGF,MAAMC,IAAoBC,EAAY;EACpCC,UAAU;EACVf,MAAM;EACNgB,WAAW;;;AAGb,MAAMC,IAAgB;;AACtB,MAAMC,IAAiB;;AACvB,MAAMC,IAAc;;AACpB,MAAMC,IAAc;;MAQPC,IAAmB;;;IAC9BC,EAAAC,IAAAC,WAAA;IACAC,EAAAF,IAAAC,MAAoB;;QAEpBE,EAAAH,IAAAC,WAAA;IAGAG,EAAAJ,IAAAC,WAAA;;;;;;;QAyEAI,EAAAL,IAAAC,OAA4B,CAC1BK,GACAC,GACAC;MAEA,IAAIA,MAAWd,GAAe;QAC5BO,KAAKQ;aACA,IAAID,MAAWb,GAAgB;QACpCM,KAAKS;aACA,IAAIF,MAAWZ,GAAa;QACjCK,KAAKU;aACA,IAAIH,MAAWX,GAAa;QACjCI,KAAKW;;;oBAnFoB;;;;;;;;;EAqC7B,uBAAMC;IACJC,EAAAb,MAAIF,SAA0BgB,EAAOC,oBAAoBf,KAAKgB,KAAG;IACjEH,EAAAb,MAAIC,GAAa1B,oBAAoByB,KAAKiB,SAASzC,OAAK;IACxDqC,EAAAb,MAAIE,GAAsB,EACxB;MACEgB,IAAIzB;MACJ0B,SAASC,EAAApB,MAAIF,GAAA,KAAkBuB;MAC/BC,eAAe;OAEjB;MACEJ,IAAIxB;MACJyB,SAASC,EAAApB,MAAIF,GAAA,KAAkByB;MAC/BD,eAAe;OAEjB;MACEJ,IAAIvB;MACJwB,SAASC,EAAApB,MAAIF,GAAA,KAAkB0B;MAC/BF,eAAe;SAOlB;;EA0BH,MAAAG;;IACE,MAAMC,IAAW1C,eAAc2C,IAAA3B,KAAKiB,cAAQ,QAAAU,WAAA,aAAAA,EAAEnD;IAC9C,OACEoD,EAACC,GAAI;MAACC,OAAM;OACVF,EAAA;MAAUG,OAAO3C;QACjBwC,EAAA;MACEE,OAAM;MACNC,OAAOX,EAAApB,MAAIE,GAAA;MACX8B,UAAS;MACTC,mBAAmBb,EAAApB,MAAII,GAAA;OAEvBwB,EAAA;MACEE,OAAM;MACNI,KAAKlB,KAAOH,EAAAb,MAAIG,GAAoBa,GAAuB;MAC3DmB,MAAK;OAELP,EAAA;MAAKE,OAAM;OACRJ,IACCE,EAAA;MAAME,OAAM;OAAoBJ,KAC9B,QACHU,IAAApC,KAAKiB,cAAQ,QAAAmB,WAAA,aAAAA,EAAEC,QACdT,EAAA;MAAME,OAAM;OACT9B,KAAKiB,SAASoB,QAEf,OAGNT,EAAA;MAAKE,OAAM;OAAsBV,EAAApB,MAAIC,GAAA,OACrC2B,EAAA;MACEU,KAAKjD;MACLyC,OAAM;MACNS,cAAcnB,EAAApB,MAAIG,GAAA;SAGtByB,EAAA;MAAKE,OAAM;MAAiCK,MAAK;OAC/CP,EAAA;MACEE,OAAM;MACNU,SAASxC,KAAKyC;OAEbrB,EAAApB,MAAIF,GAAA,KAAkB4C"}
1
+ {"version":3,"names":["getInitialsFromName","name","trim","nameData","split","filter","Boolean","length","toUpperCase","limitFullName","fullName","fullNameData","currentUserInfoCss","CSS_BUNDLES","CHEVRON_DOWN_ICON","getIconPath","category","colorType","MY_ACCOUNT_ID","CHANGE_TEAM_ID","SIGN_OUT_ID","LANGUAGE_ID","GxIdeNewEnvironment","_GxIdeNewEnvironment_componentLocale","set","this","_GxIdeNewEnvironment_initials","_GxIdeNewEnvironment_menuDropdownModel","_GxIdeNewEnvironment_userLoginButton","_GxIdeNewEnvironment_dropDownitemClickHandler","_event","_target","itemId","myAccountCallback","changeTeamCallback","signOutCallback","changeLanguageCallback","componentWillLoad","__classPrivateFieldSet","Locale","getComponentStrings","el","userInfo","id","caption","__classPrivateFieldGet","myAccountLabel","showSeparator","changeTeamLabel","signOutLabel","render","userName","_a","h","Host","class","model","position","itemClickCallback","ref","slot","_b","team","src","containerRef","onClick","showTermsCallback","privacyAndTerms"],"sources":["src/components/current-user-info/helpers.tsx","src/components/current-user-info/current-user-info.scss?tag=gx-ide-current-user-info&encapsulation=shadow","src/components/current-user-info/current-user-info.tsx"],"sourcesContent":["/**\n * Returns initials from the first two words of a name. Returns \"X\" for invalid input.\n *\n * @param name - The full name string.\n * @returns Initials of the first two words, or \"X\" if invalid.\n *\n * Example:\n * getInitialsFromName(\"John Doe\") -> \"JD\"\n * getInitialsFromName(\"Jane\") -> \"J\"\n * getInitialsFromName(\"\") -> \"X\"\n */\nexport const getInitialsFromName = (name: string): string | null => {\n if (typeof name !== \"string\" || name.trim() === \"\") {\n return \"X\";\n }\n\n const nameData = name.split(\" \").filter(Boolean); // Remove any empty strings from splitting\n if (nameData.length === 1) {\n return nameData[0][0].toUpperCase();\n } else {\n return `${nameData[0][0].toUpperCase()}${nameData[1][0].toUpperCase()}`;\n }\n};\n\n/**\n * Limits the full name to the first two words. Returns null for invalid input.\n *\n * @param fullName - The full name string to be limited.\n * @returns The first two words of the full name, or null if invalid.\n *\n * Example:\n * limitFullName(\"John Doe Smith\") -> \"John Doe\"\n * limitFullName(\"Jane\") -> \"Jane\"\n * limitFullName(\"\") -> null\n */\nexport const limitFullName = (fullName: string): string | null => {\n if (typeof fullName !== \"string\" || fullName.trim() === \"\") {\n return null;\n }\n\n const fullNameData = fullName.split(\" \").filter(Boolean); // Remove any empty strings from splitting\n if (fullNameData.length === 1) {\n return fullNameData[0];\n } else {\n return `${fullNameData[0]} ${fullNameData[1]}`;\n }\n};\n","@import \"../../../node_modules/@genexus/mercury/dist/mercury.scss\";\n\n:host {\n display: inline-grid;\n justify-items: end;\n block-size: 100%;\n}\n\n.user-login {\n &__button {\n all: unset;\n display: grid;\n grid-template-columns: max-content max-content max-content;\n align-items: center;\n gap: var(--mer-spacing--sm);\n block-size: auto;\n cursor: pointer;\n }\n &__details {\n display: grid;\n grid-template-rows: max-content max-content;\n gap: var(--mer-spacing--3xs);\n justify-items: end;\n }\n &__name {\n font-weight: var(--mer-font__weight--medium);\n font-size: var(--mer-font__size--3xs);\n color: var(--mer-text__on-elevation);\n }\n &__organization {\n font-weight: var(--mer-font__weight--light);\n font-size: var(--mer-font__size--4xs);\n color: var(--mer-text__neutral);\n }\n &__name,\n &__organization {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-inline-size: 120px;\n display: inline-block;\n }\n &__avatar {\n font-size: 9px;\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n block-size: var(--mer-spacing--lg);\n inline-size: var(--mer-spacing--lg);\n color: var(--mer-text__on-elevation);\n border-radius: 50%;\n background-color: var(--mer-color__tinted-primary--10);\n border: var(--mer-border__width--sm) solid var(--mer-color__primary--200);\n }\n}\n\n.privacy-policy {\n text-decoration: underline;\n cursor: pointer;\n}\n","/* STENCIL IMPORTS */\nimport { Component, Element, Host, Prop, State, h } from \"@stencil/core\";\n\nimport { getIconPath, MercuryBundles } from \"@genexus/mercury\";\n\nimport { Locale } from \"../../common/locale\";\nimport { getInitialsFromName, limitFullName } from \"./helpers\";\nimport { DropdownModel } from \"@genexus/chameleon-controls-library\";\n\nconst CSS_BUNDLES: MercuryBundles = [\n // TODO: review if \"utils/form--full\" is required.\n \"resets/box-sizing\",\n \"components/tooltip\",\n \"components/switch\",\n \"components/icon\",\n \"components/dropdown\",\n \"utils/layout\",\n \"utils/typography\",\n \"utils/spacing\",\n \"chameleon/scrollbar\"\n];\n\nconst CHEVRON_DOWN_ICON = getIconPath({\n category: \"navigation\",\n name: \"chevron-down\",\n colorType: \"neutral\"\n});\n\nconst MY_ACCOUNT_ID = \"my-account\";\nconst CHANGE_TEAM_ID = \"change-team\";\nconst SIGN_OUT_ID = \"sign-out\";\nconst LANGUAGE_ID = \"language\";\n\n@Component({\n tag: \"gx-ide-current-user-info\",\n styleUrl: \"current-user-info.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/current-user-info\"]\n})\nexport class GxIdeNewEnvironment {\n #componentLocale: any;\n #initials: string = \"\";\n // #mode: Mode;\n #menuDropdownModel: DropdownModel;\n\n @Element() el: HTMLGxIdeCurrentUserInfoElement;\n #userLoginButton: HTMLButtonElement;\n\n @State() showMenu: boolean = false;\n\n /**\n * User data\n */\n @Prop() readonly userInfo: UserInfo;\n\n /**\n * Callback executed when the user click \"My Account\" link\n */\n @Prop() readonly myAccountCallback!: () => Promise<void>;\n\n /**\n * Callback executed when the user click \"change team\" link\n */\n @Prop() readonly changeTeamCallback!: () => Promise<void>;\n\n /**\n * Callback executed when the user click \"Language\" link\n */\n @Prop() readonly changeLanguageCallback!: () => Promise<void>;\n\n /**\n * Callback executed when the user switch the \"Mode\" status\n */\n @Prop() readonly changeModeCallback!: (mode: Mode) => Promise<void>;\n\n /**\n * Callback executed when the user click \"Sign Out\" link\n */\n @Prop() readonly signOutCallback!: () => Promise<void>;\n\n /**\n * Callback executed when the user click \"Privacy Policy & Terms of use\" link\n */\n @Prop() readonly showTermsCallback!: () => Promise<void>;\n\n async componentWillLoad() {\n this.#componentLocale = await Locale.getComponentStrings(this.el);\n this.#initials = getInitialsFromName(this.userInfo.name);\n this.#menuDropdownModel = [\n {\n id: MY_ACCOUNT_ID,\n caption: this.#componentLocale.myAccountLabel,\n showSeparator: false\n },\n {\n id: CHANGE_TEAM_ID,\n caption: this.#componentLocale.changeTeamLabel,\n showSeparator: false\n },\n {\n id: SIGN_OUT_ID,\n caption: this.#componentLocale.signOutLabel,\n showSeparator: true\n }\n // {\n // id: LANGUAGE_ID,\n // caption: this.#componentLocale.languageLabel,\n // showSeparator: true\n // }\n ];\n }\n\n // #handleModeSwitch = () => {\n // this.#mode = this.#mode === \"dark\" ? \"light\" : \"dark\";\n // if (this.changeModeCallback) {\n // this.changeModeCallback(this.#mode);\n // }\n // };\n\n #dropDownitemClickHandler = (\n _event: UIEvent,\n _target: string,\n itemId: string\n ): void => {\n if (itemId === MY_ACCOUNT_ID) {\n this.myAccountCallback();\n } else if (itemId === CHANGE_TEAM_ID) {\n this.changeTeamCallback();\n } else if (itemId === SIGN_OUT_ID) {\n this.signOutCallback();\n } else if (itemId === LANGUAGE_ID) {\n this.changeLanguageCallback();\n }\n };\n\n render() {\n const userName = limitFullName(this.userInfo?.name);\n return (\n <Host class=\"widget\">\n <ch-theme model={CSS_BUNDLES}></ch-theme>\n <ch-dropdown-render\n class=\"dropdown\"\n model={this.#menuDropdownModel}\n position=\"InsideEnd_OutsideEnd\"\n itemClickCallback={this.#dropDownitemClickHandler}\n >\n <button\n class=\"user-login__button\"\n ref={el => (this.#userLoginButton = el as HTMLButtonElement)}\n slot=\"action\"\n >\n <div class=\"user-login__details\">\n {userName ? (\n <span class=\"user-login__name\">{userName}</span>\n ) : null}\n {this.userInfo?.team ? (\n <span class=\"user-login__organization\">\n {this.userInfo.team}\n </span>\n ) : null}\n </div>\n\n <div class=\"user-login__avatar\">{this.#initials}</div>\n <ch-image\n src={CHEVRON_DOWN_ICON}\n class=\"icon-md\"\n containerRef={this.#userLoginButton}\n ></ch-image>\n </button>\n <div class=\"user-login__footer footer-slot\" slot=\"footer\">\n <p\n class=\"text-body-regular-s privacy-policy\"\n onClick={this.showTermsCallback}\n >\n {this.#componentLocale.privacyAndTerms}\n </p>\n </div>\n </ch-dropdown-render>\n </Host>\n );\n }\n}\n\nexport type UserInfo = {\n name: string;\n team: string;\n};\n\nexport type Mode = \"dark\" | \"light\";\n"],"mappings":"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"}
@@ -1,6 +1,6 @@
1
1
  import { a as e, r as i, h as t, H as s, g as a } from "./p-49712340.js";
2
2
 
3
- import { g as r } from "./p-b81d21d5.js";
3
+ import { g as r } from "./p-617e65ca.js";
4
4
 
5
5
  import { L as o } from "./p-311eedf3.js";
6
6
 
@@ -306,4 +306,4 @@ M = new WeakMap, W = new WeakMap;
306
306
  I.style = n;
307
307
 
308
308
  export { I as gx_ide_welcome_page };
309
- //# sourceMappingURL=p-7cde7e4f.entry.js.map
309
+ //# sourceMappingURL=p-c0e184da.entry.js.map
@@ -1,6 +1,6 @@
1
1
  import { r as e, h as t, H as n, g as a } from "./p-49712340.js";
2
2
 
3
- import { g as o } from "./p-b81d21d5.js";
3
+ import { g as o } from "./p-617e65ca.js";
4
4
 
5
5
  import { L as i } from "./p-311eedf3.js";
6
6
 
@@ -2416,4 +2416,4 @@ Qe = new WeakMap, Re = new WeakMap, Ve = new WeakMap, Ee = new WeakSet, Be = fun
2416
2416
  nt.style = Ie;
2417
2417
 
2418
2418
  export { nt as gx_ide_start_page };
2419
- //# sourceMappingURL=p-764540b3.entry.js.map
2419
+ //# sourceMappingURL=p-c7e6222b.entry.js.map
@@ -1,6 +1,6 @@
1
1
  import { r as t, c as e, h as i, H as s, g as n } from "./p-49712340.js";
2
2
 
3
- import { g as a } from "./p-b81d21d5.js";
3
+ import { g as a } from "./p-617e65ca.js";
4
4
 
5
5
  import { L as o } from "./p-311eedf3.js";
6
6
 
@@ -127,7 +127,7 @@ var f = undefined && undefined.__classPrivateFieldSet || function(t, e, i, s, n)
127
127
  return s === "a" ? n.call(t, i) : n ? n.value = i : e.set(t, i), i;
128
128
  };
129
129
 
130
- var m, p, u, b, g, w, k, y, v, _, x, M, W, j, C, T, S, I, $, E, D, F, L, H, O, R;
130
+ var m, p, u, g, b, w, k, y, v, _, x, M, W, j, C, T, S, I, $, E, D, F, L, H, O, R;
131
131
 
132
132
  const z = [ "resets/box-sizing", "components/button", "components/checkbox", "components/edit", "components/icon", "components/tree-view", "utils/form", "utils/layout", "utils/typography", "utils/spacing" ];
133
133
 
@@ -171,8 +171,8 @@ const X = class {
171
171
  m.set(this, void 0);
172
172
  p.set(this, []);
173
173
  u.set(this, void 0);
174
- b.set(this, void 0);
175
174
  g.set(this, void 0);
175
+ b.set(this, void 0);
176
176
  w.set(this, new Set);
177
177
  k.set(this, new Set);
178
178
  y.set(this, new Set);
@@ -264,10 +264,10 @@ const X = class {
264
264
  }));
265
265
  D.set(this, (() => {
266
266
  this.selectedFile = null;
267
- d(this, b, "f").value = null;
267
+ d(this, g, "f").value = null;
268
268
  }));
269
269
  F.set(this, (() => {
270
- d(this, b, "f").click();
270
+ d(this, g, "f").click();
271
271
  }));
272
272
  L.set(this, (t => {
273
273
  var e;
@@ -315,9 +315,9 @@ const X = class {
315
315
  d(this, j, "f").call(this);
316
316
  }));
317
317
  O.set(this, (t => {
318
- if (d(this, g, "f")) {
318
+ if (d(this, b, "f")) {
319
319
  const e = t.detail === V;
320
- d(this, g, "f").updateAllItemsProperties({
320
+ d(this, b, "f").updateAllItemsProperties({
321
321
  checked: e
322
322
  });
323
323
  }
@@ -448,7 +448,7 @@ const X = class {
448
448
  type: "file",
449
449
  accept: ".xpz, .xml",
450
450
  onChange: d(this, L, "f"),
451
- ref: t => f(this, b, t, "f")
451
+ ref: t => f(this, g, t, "f")
452
452
  })), i("div", {
453
453
  class: "buttons-spacer"
454
454
  }, i("button", {
@@ -488,7 +488,7 @@ const X = class {
488
488
  onCheckedItemsChange: d(this, S, "f"),
489
489
  onSelectedItemsChange: d(this, $, "f"),
490
490
  onItemContextmenu: d(this, I, "f"),
491
- ref: t => f(this, g, t, "f")
491
+ ref: t => f(this, b, t, "f")
492
492
  }) : i("gx-ide-empty-state", {
493
493
  isAnimated: false,
494
494
  stateTitle: d(this, m, "f").main.objectsInFile.noObjects,
@@ -594,7 +594,7 @@ const X = class {
594
594
  }
595
595
  };
596
596
 
597
- m = new WeakMap, p = new WeakMap, u = new WeakMap, b = new WeakMap, g = new WeakMap,
597
+ m = new WeakMap, p = new WeakMap, u = new WeakMap, g = new WeakMap, b = new WeakMap,
598
598
  w = new WeakMap, k = new WeakMap, y = new WeakMap, v = new WeakMap, _ = new WeakMap,
599
599
  x = new WeakMap, M = new WeakMap, W = new WeakMap, j = new WeakMap, C = new WeakMap,
600
600
  T = new WeakMap, S = new WeakMap, I = new WeakMap, $ = new WeakMap, E = new WeakMap,
@@ -604,4 +604,4 @@ R = new WeakMap;
604
604
  X.style = l;
605
605
 
606
606
  export { X as gx_ide_kb_manager_import };
607
- //# sourceMappingURL=p-bd5316a2.entry.js.map
607
+ //# sourceMappingURL=p-d2ab4f70.entry.js.map
@@ -2,7 +2,7 @@ import { r as t, h as e, H as s, g as i } from "./p-49712340.js";
2
2
 
3
3
  import { L as n } from "./p-311eedf3.js";
4
4
 
5
- import { g as a } from "./p-b81d21d5.js";
5
+ import { g as a } from "./p-617e65ca.js";
6
6
 
7
7
  const o = "property";
8
8
 
@@ -492,4 +492,4 @@ V = new WeakMap, L = new WeakMap, l = new WeakSet, S = function _GxIdeKbManagerE
492
492
  q.style = c;
493
493
 
494
494
  export { q as gx_ide_kb_manager_export };
495
- //# sourceMappingURL=p-f36f9a6d.entry.js.map
495
+ //# sourceMappingURL=p-d32a6ca4.entry.js.map
@@ -1,6 +1,6 @@
1
1
  import { r as n, c as e, h as t, H as r, g as a } from "./p-49712340.js";
2
2
 
3
- import { g as o } from "./p-b81d21d5.js";
3
+ import { g as o } from "./p-617e65ca.js";
4
4
 
5
5
  import { L as i } from "./p-311eedf3.js";
6
6
 
@@ -300,4 +300,4 @@ d = new WeakMap;
300
300
  b.style = l;
301
301
 
302
302
  export { b as gx_ide_dashboard_home };
303
- //# sourceMappingURL=p-7ba9fb6d.entry.js.map
303
+ //# sourceMappingURL=p-f50076d3.entry.js.map
@@ -188,6 +188,7 @@ export interface DesignData {
188
188
  export interface DesignItemData {
189
189
  id: string;
190
190
  name: string;
191
+ warning: string;
191
192
  variants?: DesignItemData[];
192
193
  }
193
194
  export interface DesignPanelData {
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": "1.0.41",
4
+ "version": "1.0.43",
5
5
  "description": "GeneXus IDE UI components",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.js",
@@ -36,12 +36,12 @@
36
36
  "peerDependencies": {
37
37
  "@genexus/chameleon-controls-library": ">=6.0.0-next.55",
38
38
  "@genexus/gemini": "*2.0.1",
39
- "@genexus/mercury": "*0.12.7"
39
+ "@genexus/mercury": "*0.13.6"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@genexus/chameleon-controls-library": ">=6.0.0-next.55",
43
43
  "@genexus/gemini": "*2.0.1",
44
- "@genexus/mercury": "*0.12.7",
44
+ "@genexus/mercury": "*0.13.6",
45
45
  "@stencil-community/eslint-plugin": "~0.7.1",
46
46
  "@stencil/core": "~4.9.0",
47
47
  "@stencil/sass": "~1.4.0",