@genexus/genexus-ide-ui 1.1.66 → 1.1.67

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 (47) hide show
  1. package/dist/cjs/genexus-ide-ui.cjs.js +1 -1
  2. package/dist/cjs/gx-ide-team-dev-commit.cjs.entry.js +10 -2
  3. package/dist/cjs/gx-ide-team-dev-commit.cjs.entry.js.map +1 -1
  4. package/dist/cjs/gx-ide-team-dev-preview.cjs.entry.js +34 -20
  5. package/dist/cjs/gx-ide-team-dev-preview.cjs.entry.js.map +1 -1
  6. package/dist/cjs/gx-ide-team-dev-update.cjs.entry.js +9 -2
  7. package/dist/cjs/gx-ide-team-dev-update.cjs.entry.js.map +1 -1
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/collection/components/team-dev/preview/team-dev-preview.css +15 -0
  10. package/dist/collection/components/team-dev/preview/team-dev-preview.js +56 -20
  11. package/dist/collection/components/team-dev/preview/team-dev-preview.js.map +1 -1
  12. package/dist/collection/components/team-dev/update/update.js +31 -2
  13. package/dist/collection/components/team-dev/update/update.js.map +1 -1
  14. package/dist/collection/components/team-dev/version-control/commit/commit.js +33 -3
  15. package/dist/collection/components/team-dev/version-control/commit/commit.js.map +1 -1
  16. package/dist/collection/components/team-dev/version-control/common/types.js.map +1 -1
  17. package/dist/components/gx-ide-team-dev-commit.js +13 -3
  18. package/dist/components/gx-ide-team-dev-commit.js.map +1 -1
  19. package/dist/components/gx-ide-team-dev-preview.js +37 -21
  20. package/dist/components/gx-ide-team-dev-preview.js.map +1 -1
  21. package/dist/components/gx-ide-team-dev-update.js +12 -3
  22. package/dist/components/gx-ide-team-dev-update.js.map +1 -1
  23. package/dist/esm/genexus-ide-ui.js +1 -1
  24. package/dist/esm/gx-ide-team-dev-commit.entry.js +10 -2
  25. package/dist/esm/gx-ide-team-dev-commit.entry.js.map +1 -1
  26. package/dist/esm/gx-ide-team-dev-preview.entry.js +34 -20
  27. package/dist/esm/gx-ide-team-dev-preview.entry.js.map +1 -1
  28. package/dist/esm/gx-ide-team-dev-update.entry.js +9 -2
  29. package/dist/esm/gx-ide-team-dev-update.entry.js.map +1 -1
  30. package/dist/esm/loader.js +1 -1
  31. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
  32. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js.map +1 -1
  33. package/dist/genexus-ide-ui/{p-ab8aee7d.entry.js → p-1890d374.entry.js} +209 -181
  34. package/dist/genexus-ide-ui/p-1890d374.entry.js.map +1 -0
  35. package/dist/genexus-ide-ui/{p-3d71b287.entry.js → p-9285b6db.entry.js} +34 -28
  36. package/dist/genexus-ide-ui/p-9285b6db.entry.js.map +1 -0
  37. package/dist/genexus-ide-ui/{p-73c3f9ec.entry.js → p-c8b0004e.entry.js} +15 -9
  38. package/dist/genexus-ide-ui/p-c8b0004e.entry.js.map +1 -0
  39. package/dist/types/components/team-dev/preview/team-dev-preview.d.ts +8 -0
  40. package/dist/types/components/team-dev/update/update.d.ts +8 -0
  41. package/dist/types/components/team-dev/version-control/commit/commit.d.ts +8 -0
  42. package/dist/types/components/team-dev/version-control/common/types.d.ts +1 -0
  43. package/dist/types/components.d.ts +12 -0
  44. package/package.json +1 -1
  45. package/dist/genexus-ide-ui/p-3d71b287.entry.js.map +0 -1
  46. package/dist/genexus-ide-ui/p-73c3f9ec.entry.js.map +0 -1
  47. package/dist/genexus-ide-ui/p-ab8aee7d.entry.js.map +0 -1
@@ -12,7 +12,7 @@ import "lit/directives/if-defined.js";
12
12
 
13
13
  import { L as s } from "./p-311eedf3.js";
14
14
 
15
- 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)}:host{display:grid;block-size:100%}.card-regular{background-color:var(--mer-surface__elevation--01);border:var(--mer-border__width--sm) solid var(--mer-border-color__on-elevation--01);border-radius:var(--mer-border__radius--md);padding:var(--mer-spacing--md) var(--mer-spacing--md);display:grid}.card-small{background-color:var(--mer-surface__elevation--02);border-radius:var(--mer-border__radius--sm);padding:var(--mer-spacing--sm) var(--mer-spacing--sm)}.card-small--actionable:hover{background-color:var(--mer-color__neutral-gray--600)}.card-small--actionable:active{background-color:var(--mer-color__neutral-gray--650)}.card-small:focus-visible{outline:var(--focus__outline-width) var(--focus__outline-style) var(--focus__outline-color);outline-offset:var(--focus__outline-offset)}.empty-state{block-size:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:var(--mer-spacing--sm);text-align:center}.empty-state__title,.empty-state__button,.empty-state__link{max-inline-size:300px}.opacity-0{opacity:0}.opacity-1{opacity:1}.display-contents{display:contents}.pill-tag{padding:1px 4px;border-radius:2px;min-inline-size:40px;text-align:center;margin-inline-end:10px;font-size:11px}.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-view-primary{font-size:var(--mer-font__size--2xs)}p{margin:0;font-size:var(--mer-font__size--xxs)}.buttons-container{display:flex;gap:var(--mer-spacing--xs)}.giu-static-pill-icon-and-text,.giu-static-pill{background-color:var(--elevation-background-color, var(--mer-surface__elevation--01));padding-inline:var(--mer-spacing--xs);color:var(--mer-text__on-elevation);font-size:var(--font-size-body-s);line-height:1.4;font-weight:var(--font-weight-regular);border-radius:var(--mer-border__width--lg);min-block-size:25px;display:inline-grid;align-items:center;pointer-events:none}.giu-static-pill-icon-and-text{display:inline-grid;grid-auto-flow:column;grid-auto-columns:max-content;gap:var(--mer-spacing--xs)}.tab-full-width-buttons::part(tab-list block-start),.tab-full-width-buttons::part(tab-list block-end){grid-auto-columns:1fr}.tab-full-width-buttons::part(tab block-start){justify-content:center}:host{display:grid;block-size:100%}.main-container{display:grid;gap:14px;grid-template-rows:max-content 1fr max-content;overflow:auto}.main-container .local-changes-container{display:grid;gap:8px;grid-template-rows:max-content max-content max-content 1fr;padding-inline:0}.main-container .remote-changes-container{display:grid;gap:8px;grid-template-rows:max-content max-content 1fr;padding-inline:0}.control-footer-with-border.open-window-container{--control-footer-justify-content:flex-start}.loader-icon{animation:spin 1s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}.empty-state{overflow:hidden}.giu-static-pill-icon-and-text{background-color:var(--mer-surface__elevation--02)}.tab{overflow:auto;row-gap:8px}.tab.border-style-none{border-style:none}.empty-state-button{inline-size:100%;max-inline-size:300px}.button-tertiary.team-dev-button{text-decoration:underline;color:var(--mer-text__neutral)}.button-tertiary.refresh-button,.button-tertiary.open-full-dialog-button{padding-block:0;justify-self:start}.commit-message-textarea{block-size:65px}.empty-state-container{display:grid;gap:8px;grid-template-rows:max-content max-content}ch-tree-view-render::part(change-item item__header){padding-inline-start:0}ch-tree-view-render::part(root-item item__header){padding-inline-start:0;font-weight:var(--font-weight-semi-bold);font-size:var(--font-size-body-s);line-height:var(--line-height-tight)}";
15
+ 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)}:host{display:grid;block-size:100%}.card-regular{background-color:var(--mer-surface__elevation--01);border:var(--mer-border__width--sm) solid var(--mer-border-color__on-elevation--01);border-radius:var(--mer-border__radius--md);padding:var(--mer-spacing--md) var(--mer-spacing--md);display:grid}.card-small{background-color:var(--mer-surface__elevation--02);border-radius:var(--mer-border__radius--sm);padding:var(--mer-spacing--sm) var(--mer-spacing--sm)}.card-small--actionable:hover{background-color:var(--mer-color__neutral-gray--600)}.card-small--actionable:active{background-color:var(--mer-color__neutral-gray--650)}.card-small:focus-visible{outline:var(--focus__outline-width) var(--focus__outline-style) var(--focus__outline-color);outline-offset:var(--focus__outline-offset)}.empty-state{block-size:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:var(--mer-spacing--sm);text-align:center}.empty-state__title,.empty-state__button,.empty-state__link{max-inline-size:300px}.opacity-0{opacity:0}.opacity-1{opacity:1}.display-contents{display:contents}.pill-tag{padding:1px 4px;border-radius:2px;min-inline-size:40px;text-align:center;margin-inline-end:10px;font-size:11px}.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-view-primary{font-size:var(--mer-font__size--2xs)}p{margin:0;font-size:var(--mer-font__size--xxs)}.buttons-container{display:flex;gap:var(--mer-spacing--xs)}.giu-static-pill-icon-and-text,.giu-static-pill{background-color:var(--elevation-background-color, var(--mer-surface__elevation--01));padding-inline:var(--mer-spacing--xs);color:var(--mer-text__on-elevation);font-size:var(--font-size-body-s);line-height:1.4;font-weight:var(--font-weight-regular);border-radius:var(--mer-border__width--lg);min-block-size:25px;display:inline-grid;align-items:center;pointer-events:none}.giu-static-pill-icon-and-text{display:inline-grid;grid-auto-flow:column;grid-auto-columns:max-content;gap:var(--mer-spacing--xs)}.tab-full-width-buttons::part(tab-list block-start),.tab-full-width-buttons::part(tab-list block-end){grid-auto-columns:1fr}.tab-full-width-buttons::part(tab block-start){justify-content:center}:host{display:grid;block-size:100%}.main-container{display:grid;gap:14px;grid-template-rows:max-content 1fr max-content;overflow:auto}.main-container .local-changes-container{display:grid;gap:8px;grid-template-rows:max-content max-content max-content 1fr;padding-inline:0}.main-container .remote-changes-container{display:grid;gap:8px;grid-template-rows:max-content max-content 1fr;padding-inline:0}.control-footer-with-border.open-window-container{--control-footer-justify-content:flex-start}.loader-icon{animation:spin 1s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}.empty-state{overflow:hidden}.giu-static-pill-icon-and-text{background-color:var(--mer-surface__elevation--02)}.tab{overflow:auto;row-gap:8px}.tab.border-style-none{border-style:none}.empty-state-button{inline-size:100%;max-inline-size:300px}.button-tertiary.team-dev-button{text-decoration:underline;color:var(--mer-text__neutral)}.button-tertiary.refresh-button,.button-tertiary.open-full-dialog-button{padding-block:0;justify-self:start}.commit-message-textarea{block-size:65px}.empty-state-container{display:grid;gap:8px;grid-template-rows:max-content max-content}ch-tree-view-render::part(change-item item__header){padding-inline-start:0}ch-tree-view-render::part(root-item item__header){padding-inline-start:0;font-weight:var(--font-weight-semi-bold);font-size:var(--font-size-body-s);line-height:var(--line-height-tight)}.version-pill{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.giu-static-pill-icon-and-text.version{grid-auto-columns:unset}";
16
16
 
17
17
  var l = undefined && undefined.__classPrivateFieldGet || function(t, e, i, a) {
18
18
  if (i === "a" && !a) throw new TypeError("Private accessor was defined without a getter");
@@ -27,9 +27,9 @@ var c = undefined && undefined.__classPrivateFieldSet || function(t, e, i, a, r)
27
27
  return a === "a" ? r.call(t, i) : r ? r.value = i : e.set(t, i), i;
28
28
  };
29
29
 
30
- var d, f, h, g, b, m, v, p, u, y, w, x, k, z, _, W, M, T, j, C, B, S, $, D, H, I, L, N, P, E, O, K, V, F, G, X;
30
+ var d, h, f, g, b, m, p, v, u, y, w, x, k, z, _, W, M, T, C, j, $, B, S, D, I, L, H, N, O, P, E, K, V, F, G, X, q, A;
31
31
 
32
- var q;
32
+ var J;
33
33
 
34
34
  (function(t) {
35
35
  t[t["NoKBOpen"] = 0] = "NoKBOpen";
@@ -38,117 +38,119 @@ var q;
38
38
  t[t["NoLinkedVersion"] = 3] = "NoLinkedVersion";
39
39
  t[t["FrozenVersion"] = 4] = "FrozenVersion";
40
40
  t[t["None"] = 5] = "None";
41
- })(q || (q = {}));
41
+ })(J || (J = {}));
42
42
 
43
- const A = [ "resets/box-sizing", "utils/form--full", "utils/layout", "utils/typography", "utils/spacing", "chameleon/scrollbar", "components/tree-view", "components/tab" ];
43
+ const Q = [ "resets/box-sizing", "utils/form--full", "utils/layout", "utils/typography", "utils/spacing", "chameleon/scrollbar", "components/tree-view", "components/tab" ];
44
44
 
45
- const J = o({
45
+ const R = o({
46
46
  category: "system",
47
47
  name: "version",
48
48
  colorType: "on-surface"
49
49
  });
50
50
 
51
- const Q = o({
51
+ const U = o({
52
52
  category: "system",
53
53
  name: "add",
54
54
  colorType: "success"
55
55
  });
56
56
 
57
- const R = o({
57
+ const Y = o({
58
58
  category: "system",
59
59
  name: "edit",
60
60
  colorType: "warning"
61
61
  });
62
62
 
63
- const U = o({
63
+ const Z = o({
64
64
  category: "system",
65
65
  name: "substract",
66
66
  colorType: "error"
67
67
  });
68
68
 
69
- const Y = o({
69
+ const tt = o({
70
70
  category: "system",
71
71
  name: "refresh",
72
72
  colorType: "primary"
73
73
  });
74
74
 
75
- const Z = o({
75
+ const et = o({
76
76
  category: "system",
77
77
  name: "warning",
78
78
  colorType: "warning"
79
79
  });
80
80
 
81
- const tt = o({
81
+ const it = o({
82
82
  category: "gemini-tools",
83
83
  name: "open-window",
84
84
  colorType: "on-surface"
85
85
  });
86
86
 
87
- const et = o({
87
+ const at = o({
88
88
  category: "system",
89
89
  name: "loading",
90
90
  colorType: "primary"
91
91
  });
92
92
 
93
- const it = o({
93
+ const rt = o({
94
94
  category: "system",
95
95
  name: "error",
96
96
  colorType: "on-surface"
97
97
  });
98
98
 
99
- const at = "remote-changes-tab";
99
+ const ot = "remote-changes-tab";
100
100
 
101
- const rt = "local-changes-tab";
101
+ const st = "local-changes-tab";
102
102
 
103
- const ot = class {
103
+ const nt = class {
104
104
  constructor(a) {
105
105
  t(this, a);
106
106
  d.set(this, void 0);
107
- f.set(this, false);
108
107
  h.set(this, false);
108
+ f.set(this, false);
109
109
  g.set(this, void 0);
110
110
  b.set(this, void 0);
111
111
  m.set(this, void 0);
112
- v.set(this, false);
113
- p.set(this, {});
114
- u.set(this, (() => {
115
- c(this, p, {
116
- [q.NoKBOpen]: {
112
+ p.set(this, false);
113
+ v.set(this, {});
114
+ u.set(this, void 0);
115
+ y.set(this, void 0);
116
+ w.set(this, (() => {
117
+ c(this, v, {
118
+ [J.NoKBOpen]: {
117
119
  title: l(this, d, "f").emptyState.noConnectedKBTitle,
118
120
  description: l(this, d, "f").emptyState.noOpenKBDescription,
119
121
  buttonText: l(this, d, "f").buttons.createKBFromServer,
120
- buttonHandler: l(this, _, "f"),
122
+ buttonHandler: l(this, M, "f"),
121
123
  showButton: true
122
124
  },
123
- [q.NoConnectedKB]: {
125
+ [J.NoConnectedKB]: {
124
126
  title: l(this, d, "f").emptyState.noConnectedKBTitle,
125
127
  description: l(this, d, "f").emptyState.noConnectedKBDescription,
126
128
  buttonText: l(this, d, "f").buttons.shareKBToServer,
127
- buttonHandler: l(this, z, "f"),
129
+ buttonHandler: l(this, W, "f"),
128
130
  showButton: true
129
131
  },
130
- [q.NoConnectedGXServer]: {
132
+ [J.NoConnectedGXServer]: {
131
133
  title: l(this, d, "f").emptyState.noConnectedGXServerTitle,
132
134
  description: l(this, d, "f").emptyState.noConnectedGXServerDescription,
133
135
  buttonText: l(this, d, "f").buttons.reconnect,
134
- buttonHandler: l(this, S, "f"),
136
+ buttonHandler: l(this, D, "f"),
135
137
  showButton: true
136
138
  },
137
- [q.NoLinkedVersion]: {
139
+ [J.NoLinkedVersion]: {
138
140
  title: l(this, d, "f").emptyState.noLinkedVersionTitle,
139
141
  description: l(this, d, "f").emptyState.noLinkedVersionDescription,
140
142
  buttonText: "",
141
143
  buttonHandler: undefined,
142
144
  showButton: false
143
145
  },
144
- [q.FrozenVersion]: {
146
+ [J.FrozenVersion]: {
145
147
  title: l(this, d, "f").emptyState.frozenVersionTitle,
146
148
  description: l(this, d, "f").emptyState.frozenVersionDescription,
147
149
  buttonText: "",
148
150
  buttonHandler: undefined,
149
151
  showButton: false
150
152
  },
151
- [q.None]: {
153
+ [J.None]: {
152
154
  title: "",
153
155
  description: "",
154
156
  buttonText: "",
@@ -157,142 +159,157 @@ const ot = class {
157
159
  }
158
160
  }, "f");
159
161
  }));
160
- y.set(this, (() => {
162
+ x.set(this, (() => {
161
163
  if (this.teamDevPreviewData.isKBOpen && this.teamDevPreviewData.isLinkedKB && this.teamDevPreviewData.isLinkedVersion && !this.teamDevPreviewData.isFrozenVersion && this.teamDevPreviewData.existsGXServerSession) {
162
- c(this, v, true, "f");
164
+ c(this, p, true, "f");
163
165
  return;
164
166
  }
165
- c(this, v, false, "f");
167
+ c(this, p, false, "f");
166
168
  }));
167
- w.set(this, (async t => {
169
+ k.set(this, (async t => {
168
170
  if (t === "local") {
169
171
  this.loadingLocalChanges = true;
170
172
  c(this, g, await this.loadLocalChangesCallback(), "f");
171
- l(this, x, "f").call(this, "local");
173
+ l(this, z, "f").call(this, "local");
172
174
  this.loadingLocalChanges = false;
173
- c(this, f, false, "f");
175
+ c(this, h, false, "f");
174
176
  } else {
175
177
  this.loadingRemoteChanges = true;
176
178
  c(this, b, await this.loadRemoteChangesCallback(), "f");
177
- l(this, x, "f").call(this, "remote");
179
+ l(this, z, "f").call(this, "remote");
178
180
  this.loadingRemoteChanges = false;
179
- c(this, h, false, "f");
181
+ c(this, f, false, "f");
180
182
  }
181
183
  }));
182
- x.set(this, (t => {
183
- var e, i, a, r;
184
- let o = "";
185
- let s;
186
- const n = t === "local";
187
- if (n) {
188
- this.pendingCommitChangesCount = ((i = (e = l(this, g, "f")) === null || e === void 0 ? void 0 : e.pendingForCommit) === null || i === void 0 ? void 0 : i.length) || 0;
189
- o = `${l(this, d, "f").captions.localChanges} (${this.pendingCommitChangesCount})`;
190
- s = l(this, g, "f").pendingForCommit;
184
+ z.set(this, (t => {
185
+ var i, a, r, o;
186
+ let s = "";
187
+ let n;
188
+ const c = t === "local";
189
+ if (c) {
190
+ this.pendingCommitChangesCount = ((a = (i = l(this, g, "f")) === null || i === void 0 ? void 0 : i.pendingForCommit) === null || a === void 0 ? void 0 : a.length) || 0;
191
+ s = `${l(this, d, "f").captions.localChanges} (${this.pendingCommitChangesCount})`;
192
+ n = l(this, g, "f").pendingForCommit;
191
193
  } else {
192
- this.pendingRemoteChangesCount = ((r = (a = l(this, b, "f")) === null || a === void 0 ? void 0 : a.pendingForUpdate) === null || r === void 0 ? void 0 : r.length) || 0;
193
- o = `${l(this, d, "f").captions.remoteChanges} (${this.pendingRemoteChangesCount})`;
194
- s = l(this, b, "f").pendingForUpdate;
194
+ this.pendingRemoteChangesCount = ((o = (r = l(this, b, "f")) === null || r === void 0 ? void 0 : r.pendingForUpdate) === null || o === void 0 ? void 0 : o.length) || 0;
195
+ s = `${l(this, d, "f").captions.remoteChanges} (${this.pendingRemoteChangesCount})`;
196
+ n = l(this, b, "f").pendingForUpdate;
195
197
  }
196
- const c = [ {
198
+ const h = [ {
197
199
  id: "root",
198
- caption: o,
200
+ caption: s,
199
201
  expanded: true,
200
202
  parts: "root-item",
201
- items: s === null || s === void 0 ? void 0 : s.map((t => ({
203
+ items: n === null || n === void 0 ? void 0 : n.map((t => ({
202
204
  id: t.id,
203
- startImgSrc: n ? t.type.icon : t.typeIcon,
204
- endImgSrc: n ? l(this, $, "f").call(this, t.state) : l(this, $, "f").call(this, t.action),
205
- caption: t.name,
205
+ startImgSrc: c ? t.type.icon : t.typeIcon,
206
+ endImgSrc: c ? l(this, I, "f").call(this, t.state) : l(this, I, "f").call(this, t.action),
207
+ caption:
208
+ //WA: Used to apply different styles to the item caption and path
209
+ e("div", {
210
+ style: {
211
+ display: "flex"
212
+ }
213
+ }, e("span", null, t.name), e("span", {
214
+ style: {
215
+ color: "var(--mer-color__neutral-gray--450)",
216
+ marginLeft: "4px"
217
+ }
218
+ }, t.module)),
206
219
  leaf: true,
207
220
  parts: "change-item"
208
221
  })))
209
222
  } ];
210
- if (n) {
211
- this.localChangesTreeViewModel = c;
212
- l(this, H, "f").call(this, rt);
223
+ if (c) {
224
+ this.localChangesTreeViewModel = h;
225
+ l(this, H, "f").call(this, st);
213
226
  } else {
214
- this.remoteChangesTreeViewModel = c;
215
- l(this, H, "f").call(this, at);
227
+ this.remoteChangesTreeViewModel = h;
228
+ l(this, H, "f").call(this, ot);
216
229
  }
217
230
  }));
218
- k.set(this, (async (t, e) => {
231
+ _.set(this, (async (t, e) => {
219
232
  const i = Array.from(t.detail.values()).filter((t => t.item.checked && t.item.id !== "root")).map((t => t.item.id));
220
233
  if (e === "local") {
221
234
  this.localChangesCheckedNodesIds = i;
235
+ l(this, u, "f").updateItemsProperties([ "root" ], {
236
+ caption: `${l(this, d, "f").captions.localChanges} (${this.localChangesCheckedNodesIds.length}/${this.pendingCommitChangesCount})`
237
+ });
222
238
  } else {
223
239
  this.remoteChangesCheckedNodesIds = i;
240
+ l(this, y, "f").updateItemsProperties([ "root" ], {
241
+ caption: `${l(this, d, "f").captions.remoteChanges} (${this.remoteChangesCheckedNodesIds.length}/${this.pendingRemoteChangesCount})`
242
+ });
224
243
  }
225
244
  }));
226
- z.set(this, (async () => {
245
+ W.set(this, (async () => {
227
246
  await this.shareKBToServerCallback();
228
247
  }));
229
- _.set(this, (async () => {
248
+ M.set(this, (async () => {
230
249
  await this.createKBFromServerCallback();
231
250
  }));
232
- W.set(this, (async () => {
251
+ T.set(this, (async () => {
233
252
  await this.openFullDialogCallback();
234
253
  }));
235
- M.set(this, (async () => {
254
+ C.set(this, (async () => {
236
255
  this.committingChanges = true;
237
256
  await this.commitCallback(this.localChangesCheckedNodesIds, this.commitMessage);
238
257
  this.commitMessage = "";
239
258
  this.committingChanges = false;
240
- await l(this, w, "f").call(this, "local");
241
259
  }));
242
- T.set(this, (t => {
260
+ j.set(this, (t => {
243
261
  this.commitMessage = t.detail || "";
244
262
  }));
245
- j.set(this, (async () => {
263
+ $.set(this, (async () => {
246
264
  this.updatingChanges = true;
247
265
  await this.updateCallback(this.remoteChangesCheckedNodesIds);
248
266
  this.updatingChanges = false;
249
267
  this.remoteChangesCheckedNodesIds = [];
250
- await l(this, w, "f").call(this, "remote");
251
268
  }));
252
- C.set(this, (async t => {
269
+ B.set(this, (async t => {
253
270
  this.selectedTabId = t.detail.newSelectedId;
254
- if (this.selectedTabId === rt && l(this, f, "f")) {
255
- await l(this, w, "f").call(this, "local");
271
+ if (this.selectedTabId === st && l(this, h, "f")) {
272
+ await l(this, k, "f").call(this, "local");
256
273
  }
257
- if (this.selectedTabId === at && l(this, h, "f")) {
258
- await l(this, w, "f").call(this, "remote");
274
+ if (this.selectedTabId === ot && l(this, f, "f")) {
275
+ await l(this, k, "f").call(this, "remote");
259
276
  }
260
277
  }));
261
- B.set(this, (async () => {
278
+ S.set(this, (async () => {
262
279
  await this.openTeamDevInfoCallback();
263
280
  }));
264
- S.set(this, (async () => {
281
+ D.set(this, (async () => {
265
282
  await this.reconnectCallback();
266
283
  }));
267
- $.set(this, (t => {
284
+ I.set(this, (t => {
268
285
  const e = {
269
- inserted: Q,
270
- modified: R,
271
- deleted: U,
272
- conflicted: Z,
273
- "modified-with-conflicts": Z
286
+ inserted: U,
287
+ modified: Y,
288
+ deleted: Z,
289
+ conflicted: et,
290
+ "modified-with-conflicts": et
274
291
  };
275
292
  return e[t] || null;
276
293
  }));
277
- D.set(this, (t => {
294
+ L.set(this, (t => {
278
295
  const e = t === "local";
279
296
  if (e) {
280
- return this.loadingLocalChanges || !this.commitMessage.trim().length || this.localChangesCheckedNodesIds.length === 0 || this.committingChanges;
297
+ return this.loadingLocalChanges || !this.commitMessage.trim().length || this.localChangesCheckedNodesIds.length === 0 || this.committingChanges || this.serverOperationsDisabled;
281
298
  } else {
282
- return this.loadingRemoteChanges || this.remoteChangesCheckedNodesIds.length === 0 || this.updatingChanges;
299
+ return this.loadingRemoteChanges || this.remoteChangesCheckedNodesIds.length === 0 || this.updatingChanges || this.serverOperationsDisabled;
283
300
  }
284
301
  }));
285
302
  H.set(this, (t => {
286
303
  this.tabModel = this.tabModel.map((e => e.id === t ? Object.assign(Object.assign({}, e), {
287
- name: t === rt ? `${l(this, d, "f").captions.localChanges} (${this.pendingCommitChangesCount})` : `${l(this, d, "f").captions.remoteChanges} (${this.pendingRemoteChangesCount})`
304
+ name: t === st ? `${l(this, d, "f").captions.localChanges} (${this.pendingCommitChangesCount})` : `${l(this, d, "f").captions.remoteChanges} (${this.pendingRemoteChangesCount})`
288
305
  }) : e));
289
306
  }));
290
- I.set(this, (() => l(this, p, "f")[this.getEmptyStateType()].title));
291
- L.set(this, (() => l(this, p, "f")[this.getEmptyStateType()].description));
292
- N.set(this, (() => l(this, p, "f")[this.getEmptyStateType()].buttonText));
293
- P.set(this, (() => l(this, p, "f")[this.getEmptyStateType()].buttonHandler));
294
- E.set(this, (() => l(this, p, "f")[this.getEmptyStateType()].showButton));
295
- O.set(this, (t => {
307
+ N.set(this, (() => l(this, v, "f")[this.getEmptyStateType()].title));
308
+ O.set(this, (() => l(this, v, "f")[this.getEmptyStateType()].description));
309
+ P.set(this, (() => l(this, v, "f")[this.getEmptyStateType()].buttonText));
310
+ E.set(this, (() => l(this, v, "f")[this.getEmptyStateType()].buttonHandler));
311
+ K.set(this, (() => l(this, v, "f")[this.getEmptyStateType()].showButton));
312
+ V.set(this, (t => {
296
313
  let i = false;
297
314
  let a = false;
298
315
  let r;
@@ -312,18 +329,18 @@ const ot = class {
312
329
  return e("button", {
313
330
  class: "button-tertiary button-icon-and-text body-regular-s refresh-button",
314
331
  type: "button",
315
- onClick: s ? () => l(this, w, "f").call(this, "local") : () => l(this, w, "f").call(this, "remote"),
316
- disabled: i || a
332
+ onClick: s ? () => l(this, k, "f").call(this, "local") : () => l(this, k, "f").call(this, "remote"),
333
+ disabled: i || a || this.serverOperationsDisabled
317
334
  }, e("ch-image", {
318
335
  class: {
319
336
  "icon-md": true,
320
337
  "loader-icon": i
321
338
  },
322
- src: i ? et : Y,
339
+ src: i ? at : tt,
323
340
  type: "mask"
324
341
  }), i ? o : r);
325
342
  }));
326
- K.set(this, (t => {
343
+ F.set(this, (t => {
327
344
  let i = false;
328
345
  let a = "";
329
346
  if (t === "local" && this.pendingCommitChangesCount === 0) {
@@ -337,34 +354,37 @@ const ot = class {
337
354
  class: "empty-state-container"
338
355
  }, e("p", {
339
356
  class: "body-regular-s"
340
- }, a), l(this, O, "f").call(this, t)) : null;
357
+ }, a), l(this, V, "f").call(this, t)) : null;
341
358
  }));
342
- V.set(this, (t => {
359
+ G.set(this, (t => {
343
360
  const a = t === "local";
344
- let r = false;
345
- let o = false;
346
- let s;
347
361
  if (a) {
348
- r = this.loadingLocalChanges;
349
- o = this.committingChanges;
350
- s = this.localChangesTreeViewModel;
362
+ return e(i, null, l(this, V, "f").call(this, t), !this.loadingLocalChanges && !this.committingChanges && e("ch-tree-view-render", {
363
+ checkbox: true,
364
+ checked: true,
365
+ class: "tree-view",
366
+ model: this.localChangesTreeViewModel,
367
+ toggleCheckboxes: true,
368
+ onCheckedItemsChange: e => l(this, _, "f").call(this, e, t),
369
+ expandableButton: "no",
370
+ expandOnClick: false,
371
+ ref: t => c(this, u, t, "f")
372
+ }));
351
373
  } else {
352
- r = this.loadingRemoteChanges;
353
- o = this.updatingChanges;
354
- s = this.remoteChangesTreeViewModel;
374
+ return e(i, null, l(this, V, "f").call(this, t), !this.loadingRemoteChanges && !this.updatingChanges && e("ch-tree-view-render", {
375
+ checkbox: true,
376
+ checked: true,
377
+ class: "tree-view",
378
+ model: this.remoteChangesTreeViewModel,
379
+ toggleCheckboxes: true,
380
+ onCheckedItemsChange: e => l(this, _, "f").call(this, e, t),
381
+ expandableButton: "no",
382
+ expandOnClick: false,
383
+ ref: t => c(this, y, t, "f")
384
+ }));
355
385
  }
356
- return e(i, null, l(this, O, "f").call(this, t), !r && !o && e("ch-tree-view-render", {
357
- checkbox: true,
358
- checked: true,
359
- class: "tree-view",
360
- model: s,
361
- toggleCheckboxes: true,
362
- onCheckedItemsChange: e => l(this, k, "f").call(this, e, t),
363
- expandableButton: "no",
364
- expandOnClick: false
365
- }));
366
386
  }));
367
- F.set(this, (t => {
387
+ X.set(this, (t => {
368
388
  const i = t === "local";
369
389
  let a = false;
370
390
  let r = "";
@@ -382,15 +402,15 @@ const ot = class {
382
402
  "button-icon-and-text": a
383
403
  },
384
404
  type: "button",
385
- disabled: l(this, D, "f").call(this, t),
386
- onClick: i ? l(this, M, "f") : l(this, j, "f")
405
+ disabled: l(this, L, "f").call(this, t),
406
+ onClick: i ? l(this, C, "f") : l(this, $, "f")
387
407
  }, a && e("ch-image", {
388
408
  class: "icon-md loader-icon",
389
- src: et,
409
+ src: at,
390
410
  type: "mask"
391
411
  }), a ? i ? l(this, d, "f").buttons.committing : l(this, d, "f").buttons.updating : i ? l(this, d, "f").buttons.commit : l(this, d, "f").buttons.update);
392
412
  }));
393
- G.set(this, (() => {
413
+ q.set(this, (() => {
394
414
  if (this.pendingCommitChangesCount > 0) {
395
415
  return e(i, null, e("ch-edit", {
396
416
  id: "commit-message-input",
@@ -399,20 +419,20 @@ const ot = class {
399
419
  accessibleName: l(this, d, "f").accessibleNames.commitMessage,
400
420
  placeholder: l(this, d, "f").placeholders.commitMessage,
401
421
  disabled: this.loadingLocalChanges,
402
- onInput: l(this, T, "f"),
422
+ onInput: l(this, j, "f"),
403
423
  multiline: true
404
- }), l(this, F, "f").call(this, "local"), l(this, V, "f").call(this, "local"));
424
+ }), l(this, X, "f").call(this, "local"), l(this, G, "f").call(this, "local"));
405
425
  }
406
426
  }));
407
- X.set(this, (() => {
427
+ A.set(this, (() => {
408
428
  if (this.pendingRemoteChangesCount > 0) {
409
- return e(i, null, l(this, F, "f").call(this, "remote"), l(this, V, "f").call(this, "remote"));
429
+ return e(i, null, l(this, X, "f").call(this, "remote"), l(this, G, "f").call(this, "remote"));
410
430
  }
411
431
  }));
412
432
  this.loadingRemoteChanges = false;
413
433
  this.loadingLocalChanges = true;
414
434
  this.tabModel = [];
415
- this.selectedTabId = rt;
435
+ this.selectedTabId = st;
416
436
  this.pendingCommitChangesCount = 0;
417
437
  this.pendingRemoteChangesCount = 0;
418
438
  this.remoteChangesTreeViewModel = [];
@@ -422,6 +442,7 @@ const ot = class {
422
442
  this.commitMessage = "";
423
443
  this.committingChanges = false;
424
444
  this.updatingChanges = false;
445
+ this.serverOperationsDisabled = false;
425
446
  this.teamDevPreviewData = undefined;
426
447
  this.loadRemoteChangesCallback = undefined;
427
448
  this.loadLocalChangesCallback = undefined;
@@ -436,32 +457,32 @@ const ot = class {
436
457
  async onTeamDevPreviewDataChanged() {
437
458
  const {versionName: t} = this.teamDevPreviewData;
438
459
  let e = false;
439
- l(this, y, "f").call(this);
460
+ l(this, x, "f").call(this);
440
461
  if (l(this, m, "f") !== t) {
441
462
  c(this, m, t, "f");
442
463
  e = true;
443
464
  }
444
- if (l(this, v, "f") && e) {
465
+ if (l(this, p, "f") && e) {
445
466
  await this.reloadChanges("local");
446
467
  await this.reloadChanges("remote");
447
468
  }
448
469
  }
449
470
  async componentWillLoad() {
450
- l(this, y, "f").call(this);
471
+ l(this, x, "f").call(this);
451
472
  c(this, d, await s.getComponentStrings(this.el), "f");
452
473
  this.tabModel = [ {
453
- id: rt,
474
+ id: st,
454
475
  name: `${l(this, d, "f").captions.localChanges}`
455
476
  }, {
456
- id: at,
477
+ id: ot,
457
478
  name: `${l(this, d, "f").captions.remoteChanges}`
458
479
  } ];
459
- l(this, u, "f").call(this);
480
+ l(this, w, "f").call(this);
460
481
  }
461
482
  async componentDidLoad() {
462
- if (l(this, v, "f")) {
463
- await l(this, w, "f").call(this, "local");
464
- c(this, h, true, "f");
483
+ if (l(this, p, "f")) {
484
+ await l(this, k, "f").call(this, "local");
485
+ c(this, f, true, "f");
465
486
  }
466
487
  this.loadingLocalChanges = false;
467
488
  }
@@ -469,96 +490,103 @@ const ot = class {
469
490
  * Used by the host to reload remote or local changes
470
491
  */ async reloadChanges(t) {
471
492
  const e = t === "local";
472
- const i = e ? this.selectedTabId === rt : this.selectedTabId === at;
493
+ const i = e ? this.selectedTabId === st : this.selectedTabId === ot;
473
494
  if (!i) {
474
495
  if (e) {
475
- c(this, f, true, "f");
476
- } else {
477
496
  c(this, h, true, "f");
497
+ } else {
498
+ c(this, f, true, "f");
478
499
  }
479
500
  return;
480
501
  }
481
- e ? await l(this, w, "f").call(this, "local") : await l(this, w, "f").call(this, "remote");
502
+ e ? await l(this, k, "f").call(this, "local") : await l(this, k, "f").call(this, "remote");
503
+ }
504
+ /**
505
+ * Used by the host to instruct the component to disable the commit/update button.
506
+ */ async disableServerOperations(t) {
507
+ this.serverOperationsDisabled = t;
482
508
  }
483
509
  getEmptyStateType() {
484
510
  const {isFrozenVersion: t, existsGXServerSession: e, isKBOpen: i, isLinkedVersion: a, isLinkedKB: r} = this.teamDevPreviewData;
485
511
  if (!i) {
486
- return q.NoKBOpen;
512
+ return J.NoKBOpen;
487
513
  }
488
514
  if (i && !r) {
489
- return q.NoConnectedKB;
515
+ return J.NoConnectedKB;
490
516
  }
491
517
  if (i && r && !a && !e) {
492
- return q.NoConnectedGXServer;
518
+ return J.NoConnectedGXServer;
493
519
  }
494
520
  if (i && r && !a) {
495
- return q.NoLinkedVersion;
521
+ return J.NoLinkedVersion;
496
522
  }
497
523
  if (i && r && e && t) {
498
- return q.FrozenVersion;
524
+ return J.FrozenVersion;
499
525
  }
500
526
  if (i && r && !e) {
501
- return q.NoConnectedGXServer;
527
+ return J.NoConnectedGXServer;
502
528
  }
503
- return q.None;
529
+ return J.None;
504
530
  }
505
531
  render() {
506
532
  const {existsGXServerSession: t} = this.teamDevPreviewData;
507
533
  return e(a, {
508
534
  class: {
509
535
  widget: true,
510
- "empty-state": !l(this, v, "f")
536
+ "empty-state": !l(this, p, "f")
511
537
  }
512
538
  }, e("ch-theme", {
513
- model: A
514
- }), !l(this, v, "f") || !t ? e("gx-ide-empty-state", {
539
+ model: Q
540
+ }), !l(this, p, "f") || !t ? e("gx-ide-empty-state", {
515
541
  isAnimated: true,
516
- stateIconSrc: it,
517
- stateTitle: l(this, I, "f").call(this),
518
- stateDescription: l(this, L, "f").call(this)
519
- }, l(this, E, "f").call(this) && e("button", {
542
+ stateIconSrc: rt,
543
+ stateTitle: l(this, N, "f").call(this),
544
+ stateDescription: l(this, O, "f").call(this)
545
+ }, l(this, K, "f").call(this) && e("button", {
520
546
  class: "button-primary empty-state-button",
521
- onClick: l(this, P, "f").call(this)
522
- }, l(this, N, "f").call(this)), e("div", null, e("p", {
547
+ onClick: l(this, E, "f").call(this)
548
+ }, l(this, P, "f").call(this)), e("div", null, e("p", {
523
549
  class: "body-regular-s"
524
550
  }, l(this, d, "f").emptyState.about), e("button", {
525
551
  class: "button-tertiary button-icon-and-text team-dev-button body-semi-bold-s",
526
552
  type: "button",
527
- onClick: l(this, B, "f")
553
+ onClick: l(this, S, "f")
528
554
  }, l(this, d, "f").buttons.teamDev, e("ch-image", {
529
555
  class: "icon-md",
530
- src: tt,
556
+ src: it,
531
557
  type: "mask"
532
558
  })))) : e("div", {
533
- class: "main-container"
559
+ class: "main-container spacing-body scrollable"
534
560
  }, e("div", null, e("p", {
535
- class: "giu-static-pill-icon-and-text giu-static-pill-icon-and-text--version elevation-02"
561
+ class: "giu-static-pill-icon-and-text version giu-static-pill-icon-and-text--version elevation-02"
536
562
  }, e("ch-image", {
537
563
  class: "icon-md",
538
564
  type: "mask",
539
- src: J
540
- }), this.teamDevPreviewData.versionName)), e("ch-tab-render", {
565
+ src: R
566
+ }), e("span", {
567
+ class: "version-pill"
568
+ }, this.teamDevPreviewData.versionName))), e("ch-tab-render", {
541
569
  class: "tab tab-full-width-buttons scrollable border-style-none",
542
570
  model: this.tabModel,
543
571
  selectedId: this.selectedTabId,
544
572
  tabListPosition: "block-start",
545
- onSelectedItemChange: l(this, C, "f")
573
+ onSelectedItemChange: l(this, B, "f")
546
574
  }, e("div", {
547
575
  class: "local-changes-container",
548
- slot: rt
549
- }, l(this, K, "f").call(this, "local"), l(this, G, "f").call(this)), e("div", {
576
+ slot: st
577
+ }, l(this, F, "f").call(this, "local"), l(this, q, "f").call(this)), e("div", {
550
578
  class: "remote-changes-container",
551
- slot: at
552
- }, l(this, K, "f").call(this, "remote"), l(this, X, "f").call(this))), e("footer", {
579
+ slot: ot
580
+ }, l(this, F, "f").call(this, "remote"), l(this, A, "f").call(this))), e("footer", {
553
581
  class: "control-footer-with-border open-window-container"
554
582
  }, e("div", {
555
583
  class: "buttons-spacer"
556
584
  }, e("button", {
557
585
  class: "button-tertiary button-icon-and-text open-full-dialog-button",
558
- onClick: l(this, W, "f")
586
+ onClick: l(this, T, "f")
559
587
  }, e("ch-image", {
560
588
  class: "icon-md",
561
- src: tt,
589
+ src: it,
562
590
  type: "mask"
563
591
  }), l(this, d, "f").footer.openFullDialog)))));
564
592
  }
@@ -575,16 +603,16 @@ const ot = class {
575
603
  }
576
604
  };
577
605
 
578
- d = new WeakMap, f = new WeakMap, h = new WeakMap, g = new WeakMap, b = new WeakMap,
579
- m = new WeakMap, v = new WeakMap, p = new WeakMap, u = new WeakMap, y = new WeakMap,
606
+ d = new WeakMap, h = new WeakMap, f = new WeakMap, g = new WeakMap, b = new WeakMap,
607
+ m = new WeakMap, p = new WeakMap, v = new WeakMap, u = new WeakMap, y = new WeakMap,
580
608
  w = new WeakMap, x = new WeakMap, k = new WeakMap, z = new WeakMap, _ = new WeakMap,
581
- W = new WeakMap, M = new WeakMap, T = new WeakMap, j = new WeakMap, C = new WeakMap,
582
- B = new WeakMap, S = new WeakMap, $ = new WeakMap, D = new WeakMap, H = new WeakMap,
583
- I = new WeakMap, L = new WeakMap, N = new WeakMap, P = new WeakMap, E = new WeakMap,
584
- O = new WeakMap, K = new WeakMap, V = new WeakMap, F = new WeakMap, G = new WeakMap,
585
- X = new WeakMap;
609
+ W = new WeakMap, M = new WeakMap, T = new WeakMap, C = new WeakMap, j = new WeakMap,
610
+ $ = new WeakMap, B = new WeakMap, S = new WeakMap, D = new WeakMap, I = new WeakMap,
611
+ L = new WeakMap, H = new WeakMap, N = new WeakMap, O = new WeakMap, P = new WeakMap,
612
+ E = new WeakMap, K = new WeakMap, V = new WeakMap, F = new WeakMap, G = new WeakMap,
613
+ X = new WeakMap, q = new WeakMap, A = new WeakMap;
586
614
 
587
- ot.style = n;
615
+ nt.style = n;
588
616
 
589
- export { ot as gx_ide_team_dev_preview };
590
- //# sourceMappingURL=p-ab8aee7d.entry.js.map
617
+ export { nt as gx_ide_team_dev_preview };
618
+ //# sourceMappingURL=p-1890d374.entry.js.map