@genexus/genexus-ide-ui 0.0.132 → 0.0.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/gx-ide-connect-gx-server.cjs.entry.js +3 -3
- package/dist/cjs/gx-ide-connect-gx-server.cjs.entry.js.map +1 -1
- package/dist/collection/components/connect-gx-server/connect-gx-server.css +6 -0
- package/dist/collection/components/connect-gx-server/connect-gx-server.js +2 -2
- package/dist/collection/components/connect-gx-server/connect-gx-server.js.map +1 -1
- package/dist/components/gx-ide-connect-gx-server.js +3 -3
- package/dist/components/gx-ide-connect-gx-server.js.map +1 -1
- package/dist/esm/gx-ide-connect-gx-server.entry.js +3 -3
- package/dist/esm/gx-ide-connect-gx-server.entry.js.map +1 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
- package/dist/genexus-ide-ui/{p-27640de6.entry.js → p-64de1e77.entry.js} +5 -3
- package/dist/genexus-ide-ui/p-64de1e77.entry.js.map +1 -0
- package/package.json +1 -1
- package/dist/genexus-ide-ui/p-27640de6.entry.js.map +0 -1
|
@@ -7,7 +7,7 @@ const config = require('./config-8246d533.js');
|
|
|
7
7
|
const locale = require('./locale-bf43b87c.js');
|
|
8
8
|
const formValidation = require('./form-validation-40aa8527.js');
|
|
9
9
|
|
|
10
|
-
const connectGxServerCss = ":root{--ui-animaton-speed:0.2s}.gxg-title-01{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-01--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-02{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-02--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--color-on-primary)}.gxg-title-03{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-03--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-04{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-04--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-05{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-05--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable)}.gxg-text--negative{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text--gray{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--dimmed)}.gxg-quote{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);font-style:italic}.gxg-quote--negative{color:var(--ds-base-font-color--negative)}.gxg-link{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block}.gxg-link:hover{color:var(--ds-base-font-color--link-hover)}.gxg-link:active{color:var(--ds-base-font-color--link-active)}.gxg-link-gray{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed)}.gxg-link-gray:hover{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed);filter:brightness(1.4)}.gxg-alert-error{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--error);display:inline-block}.gxg-alert-warning{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--warning);display:inline-block}.gxg-alert-success{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--success);display:inline-block}.gxg-tab--disabled{color:var(--color-primary-disabled);pointer-events:none}.gxg-tab--disabled[disabled]{color:var(--color-primary-disabled);pointer-events:none}.gxg-label{font-family:var(--ds-base-font-family-primary);font-weight:var(--gxg-label-font-weight);font-size:var(--gxg-label-font-size);color:var(--gxg-label-color);text-align:center;line-height:1.455em;display:flex;align-items:center}.gxg-label:hover{color:var(--color-primary-hover)}.gxg-label:focus{color:var(--color-primary-active)}.gxg-label:active{color:var(--color-primary-active)}.gxg-label[disabled]{color:var(--color-primary-disabled)}.gxg-label--negative{color:var(--color-on-primary)}.gxg-label--negative[disabled]{color:var(--color-on-disabled)}.gxg-scrollbar{}.gxg-scrollbar::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gxg-scrollbar::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gxg-scrollbar::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gxi-hidden{display:none !important}.gxi-full-height{height:100%}.gxi-overflow-auto{overflow:auto}.gxi-display-flex{display:flex}.align-start{display:flex;align-items:start}.align-center{display:flex;align-items:center}.align-end{display:flex;align-items:end}.overflow-auto{overflow:auto}.justify-start{display:flex;justify-content:start}.justify-center{display:flex;justify-content:center}.justify-end{display:flex;justify-content:end}.grid{display:grid;grid-row-gap:var(--gx-ide-grid-row-gap);grid-column-gap:var(--gx-ide-grid-column-gap);grid-template-rows:auto}ch-grid-cell{display:flex}ch-grid{overflow:auto;height:100%}ch-grid-column{z-index:99;border-bottom:1px solid var(--mer-color__neutral-gray--800)}ch-grid-column:first-child{padding-inline-start:var(--gx-ide-container__padding) !important}ch-grid-column:last-child{padding-inline-end:var(--gx-ide-container__padding) !important}ch-grid-cell{--mer-spacing--xs:var(--gx-ide-container__padding)}.layout{display:grid;gap:var(--mer-spacing--lg);box-sizing:border-box}.layout--two-cols{grid-template-columns:1fr 1fr}.layout--space-above{padding-block-start:var(--mer-spacing--lg)}gxg-tabs{box-shadow:none}:host(.gx-ide-component){height:100% !important;display:flex !important;flex-direction:column !important}:host(:focus-within) gx-ide-top-bar::part(wrapper){background-color:var(--color-secondary-enabled)}.gx-ide-main-wrapper{color:var(--gx-ide-component-text-color);font-weight:var(--mer-font__weight--regular);font-size:var(--mer-font__size--xs);font-family:var(--mer-font-family--primary);height:100%;background-color:var(--gx-ide-component-background-color);display:flex;flex-direction:column;flex-grow:1;box-sizing:border-box}.gx-ide-main{flex-grow:1;overflow-y:auto;}.gx-ide-main::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-main::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-main::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-main::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-main::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gx-ide-overflow{overflow-y:auto;}.gx-ide-overflow::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-overflow::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-overflow::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.tree-container{display:flex;height:100%;width:100%;box-sizing:border-box}p{margin:0}:host{display:block}.user-details-container{display:flex;gap:var(--gx-ide-form-items-gap)}";
|
|
10
|
+
const connectGxServerCss = ":root{--ui-animaton-speed:0.2s}.gxg-title-01{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-01--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-02{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-02--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--color-on-primary)}.gxg-title-03{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-03--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-04{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-04--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-05{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-05--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable)}.gxg-text--negative{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text--gray{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--dimmed)}.gxg-quote{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);font-style:italic}.gxg-quote--negative{color:var(--ds-base-font-color--negative)}.gxg-link{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block}.gxg-link:hover{color:var(--ds-base-font-color--link-hover)}.gxg-link:active{color:var(--ds-base-font-color--link-active)}.gxg-link-gray{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed)}.gxg-link-gray:hover{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed);filter:brightness(1.4)}.gxg-alert-error{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--error);display:inline-block}.gxg-alert-warning{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--warning);display:inline-block}.gxg-alert-success{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--success);display:inline-block}.gxg-tab--disabled{color:var(--color-primary-disabled);pointer-events:none}.gxg-tab--disabled[disabled]{color:var(--color-primary-disabled);pointer-events:none}.gxg-label{font-family:var(--ds-base-font-family-primary);font-weight:var(--gxg-label-font-weight);font-size:var(--gxg-label-font-size);color:var(--gxg-label-color);text-align:center;line-height:1.455em;display:flex;align-items:center}.gxg-label:hover{color:var(--color-primary-hover)}.gxg-label:focus{color:var(--color-primary-active)}.gxg-label:active{color:var(--color-primary-active)}.gxg-label[disabled]{color:var(--color-primary-disabled)}.gxg-label--negative{color:var(--color-on-primary)}.gxg-label--negative[disabled]{color:var(--color-on-disabled)}.gxg-scrollbar{}.gxg-scrollbar::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gxg-scrollbar::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gxg-scrollbar::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gxi-hidden{display:none !important}.gxi-full-height{height:100%}.gxi-overflow-auto{overflow:auto}.gxi-display-flex{display:flex}.align-start{display:flex;align-items:start}.align-center{display:flex;align-items:center}.align-end{display:flex;align-items:end}.overflow-auto{overflow:auto}.justify-start{display:flex;justify-content:start}.justify-center{display:flex;justify-content:center}.justify-end{display:flex;justify-content:end}.grid{display:grid;grid-row-gap:var(--gx-ide-grid-row-gap);grid-column-gap:var(--gx-ide-grid-column-gap);grid-template-rows:auto}ch-grid-cell{display:flex}ch-grid{overflow:auto;height:100%}ch-grid-column{z-index:99;border-bottom:1px solid var(--mer-color__neutral-gray--800)}ch-grid-column:first-child{padding-inline-start:var(--gx-ide-container__padding) !important}ch-grid-column:last-child{padding-inline-end:var(--gx-ide-container__padding) !important}ch-grid-cell{--mer-spacing--xs:var(--gx-ide-container__padding)}.layout{display:grid;gap:var(--mer-spacing--lg);box-sizing:border-box}.layout--two-cols{grid-template-columns:1fr 1fr}.layout--space-above{padding-block-start:var(--mer-spacing--lg)}gxg-tabs{box-shadow:none}:host(.gx-ide-component){height:100% !important;display:flex !important;flex-direction:column !important}:host(:focus-within) gx-ide-top-bar::part(wrapper){background-color:var(--color-secondary-enabled)}.gx-ide-main-wrapper{color:var(--gx-ide-component-text-color);font-weight:var(--mer-font__weight--regular);font-size:var(--mer-font__size--xs);font-family:var(--mer-font-family--primary);height:100%;background-color:var(--gx-ide-component-background-color);display:flex;flex-direction:column;flex-grow:1;box-sizing:border-box}.gx-ide-main{flex-grow:1;overflow-y:auto;}.gx-ide-main::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-main::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-main::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-main::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-main::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gx-ide-overflow{overflow-y:auto;}.gx-ide-overflow::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-overflow::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-overflow::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.tree-container{display:flex;height:100%;width:100%;box-sizing:border-box}p{margin:0}:host{display:block}.user-details-container{display:flex;gap:var(--gx-ide-form-items-gap)}.wrapper{display:flex;flex-direction:column;gap:var(--mer-spacing--md)}";
|
|
11
11
|
|
|
12
12
|
const GxIdeConnectGxServer = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -73,10 +73,10 @@ const GxIdeConnectGxServer = class {
|
|
|
73
73
|
// 10.RENDER() FUNCTION //
|
|
74
74
|
render() {
|
|
75
75
|
var _a;
|
|
76
|
-
return (index.h(index.Host, { class: "gx-ide-component" }, index.h("div", { class: "gx-ide-main-wrapper" }, index.h("gx-ide-container", { containerTitle: this.displayTitle ? this._componentLocale.componentName : null, slimmerFooter: config.config.gxIdeContainer.slimmerFooter }, index.h("gxg-combo-box", { label: this._componentLocale.main.serverUrl, disableFilter: !this.enableCustomServer, value: (_a = this.defaultConnectionData) === null || _a === void 0 ? void 0 : _a.serverUrl, ref: el => (this.serverURLEl = el), toolTip: config.config.tooltip }, this.renderServerUrls()), index.h("gxg-form-checkbox", { label: this._componentLocale.main.continueWithGxAccount, onChange: this.continueWithGxServerHandler, checked: this.defaultConnectionData
|
|
76
|
+
return (index.h(index.Host, { class: "gx-ide-component" }, index.h("div", { class: "gx-ide-main-wrapper" }, index.h("gx-ide-container", { containerTitle: this.displayTitle ? this._componentLocale.componentName : null, slimmerFooter: config.config.gxIdeContainer.slimmerFooter }, index.h("div", { class: "wrapper" }, index.h("gxg-combo-box", { label: this._componentLocale.main.serverUrl, disableFilter: !this.enableCustomServer, value: (_a = this.defaultConnectionData) === null || _a === void 0 ? void 0 : _a.serverUrl, ref: el => (this.serverURLEl = el), toolTip: config.config.tooltip }, this.renderServerUrls()), index.h("gxg-form-checkbox", { label: this._componentLocale.main.continueWithGxAccount, onChange: this.continueWithGxServerHandler, checked: this.defaultConnectionData
|
|
77
77
|
? this.defaultConnectionData.continueWithGeneXusAccount
|
|
78
78
|
: this.enableUserLogged, disabled: !this.enableUserLogged, ref: el => (this.continueWithGeneXusAccountEl =
|
|
79
|
-
el) }), this.displayLoginControls ? (index.h("div", { class: "user-details-container" }, index.h("gxg-form-text", { label: this._componentLocale.main.userName, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.user, ref: el => (this.userNameEl = el), toolTip: config.config.tooltip }), index.h("gxg-form-text", { label: this._componentLocale.main.password, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.password, ref: el => (this.passwordEl = el), password: true, toolTip: config.config.tooltip }))) : null, index.h("gxg-button", { slot: "footer-end", type: "outlined" }, this._componentLocale.main.cancel), index.h("gxg-button", { slot: "footer-end", onClick: this.connectHandler }, this._componentLocale.main.connect)))));
|
|
79
|
+
el) }), this.displayLoginControls ? (index.h("div", { class: "user-details-container" }, index.h("gxg-form-text", { label: this._componentLocale.main.userName, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.user, ref: el => (this.userNameEl = el), toolTip: config.config.tooltip }), index.h("gxg-form-text", { label: this._componentLocale.main.password, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.password, ref: el => (this.passwordEl = el), password: true, toolTip: config.config.tooltip }))) : null), index.h("gxg-button", { slot: "footer-end", type: "outlined" }, this._componentLocale.main.cancel), index.h("gxg-button", { slot: "footer-end", onClick: this.connectHandler }, this._componentLocale.main.connect)))));
|
|
80
80
|
}
|
|
81
81
|
static get assetsDirs() { return ["gx-ide-assets/connect-gx-server"]; }
|
|
82
82
|
get el() { return index.getElement(this); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"gx-ide-connect-gx-server.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,kBAAkB,GAAG,m8VAAm8V;;MCwBj9V,oBAAoB;;;;QAOvB,sBAAiB,GAAG,KAAK,CAAC;;;;QAoF1B,qBAAgB,GAAG;;YACzB,IAAI,MAAA,IAAI,CAAC,UAAU,0CAAE,MAAM,EAAE;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS;oBAClC,OAAOA,oCAAqB,SAAS,CAAsB,CAAC;iBAC7D,CAAC,CAAC;aACJ;YACD,OAAO,EAAE,CAAC;SACX,CAAC;QAEM,gCAA2B,GAAG,CACpC,KAAsE;YAEtE,IAAI,CAAC,oBAAoB,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;SACjD,CAAC;QAEM,iCAA4B,GAAG;YACrC,IAAI,IAAI,CAAC,gBAAgB,EAAE;gBACzB,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;aACnC;iBAAM;gBACL,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;aAClC;SACF,CAAC;QAEM,mBAAc,GAAG;YACvB,IAAI,IAAI,CAAC,eAAe,EAAE;gBACxB,IAAI,CAAC,e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,wBAAY,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,UAAU,IAC1C,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CACvB,EACbA,wBAAY,IAAI,EAAC,YAAY,EAAC,OAAO,EAAE,IAAI,CAAC,cAAc,IACvD,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CACxB,CACI,CACf,CACD,EACP;KACH;;;;;;;;","names":["h","formSubmitValidation","Locale","Host","config"],"sources":["src/components/connect-gx-server/connect-gx-server.scss?tag=gx-ide-connect-gx-server&encapsulation=shadow","src/components/connect-gx-server/connect-gx-server.tsx"],"sourcesContent":["@import \"../../global/gx-ide-common.scss\";\n@import \"../../global/gx-ide-mixins.scss\";\n\n:host {\n display: block;\n}\n\n.user-details-container {\n display: flex;\n gap: var(--gx-ide-form-items-gap);\n}\n","/* STENCIL IMPORTS */\nimport {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State\n} from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { config } from \"../../common/config\";\nimport { Locale } from \"../../common/locale\";\nimport { formSubmitValidation } from \"../../common/form-validation\";\nimport { ConnectionResultData } from \"../../common/types\";\n\n@Component({\n tag: \"gx-ide-connect-gx-server\",\n styleUrl: \"connect-gx-server.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/connect-gx-server\"]\n})\nexport class GxIdeConnectGxServer {\n // 1.OWN PROPERTIES //\n\n /**\n * The component hard-coded strings translations.\n */\n private _componentLocale: any;\n private renderedFirstTime = false;\n\n // 2. REFERENCE TO ELEMENTS //\n\n @Element() el: HTMLGxIdeConnectGxServerElement;\n\n private serverURLEl!: HTMLGxgComboBoxElement;\n private userNameEl!: HTMLGxgFormTextElement;\n private passwordEl!: HTMLGxgFormTextElement;\n private continueWithGeneXusAccountEl!: HTMLGxgFormCheckboxElement;\n\n // 3.STATE() VARIABLES //\n\n //\n @State() displayLoginControls: boolean = false;\n\n // 4.PUBLIC PROPERTY API | WATCH'S //\n\n /**\n * If true it displays the component title on the header\n */\n @Prop() readonly displayTitle = false;\n\n /**\n * Array of cataloged server URLs\n */\n @Prop() readonly serverUrls: string[];\n\n /**\n * 'true' if the user should be allowed to manually enter a server URL in serverUrls.\n */\n @Prop() readonly enableCustomServer: boolean = false;\n\n /**\n * Initial user values for the case in which the user returns to the login modal after a successful authentication.\n */\n @Prop() readonly defaultConnectionData?: GXServerConnectionData;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly enableUserLogged: boolean = false;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly connectCallback: (\n data: GXServerConnectionData\n ) => Promise<ConnectionResultData>;\n\n /**\n * Callback that allows canceling the server connection process.\n */\n @Prop() readonly cancelCallback: () => Promise<void>;\n\n // 5.EVENTS (EMIT) //\n\n /**\n * @description Gets fired when the component has rendered for the first time.\n */\n @Event() componentDidRenderFirstTime: EventEmitter<string>;\n\n // 6.COMPONENT LIFECYCLE METHODS //\n\n async componentWillLoad() {\n this._componentLocale = await Locale.getComponentStrings(this.el);\n this.evaluateDisplayLoginControls();\n }\n\n componentDidRender() {\n if (!this.renderedFirstTime) {\n this.componentDidRenderFirstTime.emit(\n this._componentLocale.componentName\n );\n this.renderedFirstTime = true;\n }\n }\n\n // 7.LISTENERS //\n\n // 8.PUBLIC METHODS API //\n\n // 9.LOCAL METHODS //\n\n private renderServerUrls = (): HTMLGxgComboBoxItemElement[] => {\n if (this.serverUrls?.length) {\n return this.serverUrls.map(serverUrl => {\n return <gxg-combo-box-item>{serverUrl}</gxg-combo-box-item>;\n });\n }\n return [];\n };\n\n private continueWithGxServerHandler = (\n event: CustomEvent<{ id: string; value: boolean; disabled?: boolean }>\n ) => {\n this.displayLoginControls = !event.detail.value;\n };\n\n private evaluateDisplayLoginControls = () => {\n if (this.enableUserLogged) {\n this.displayLoginControls = false;\n } else {\n this.displayLoginControls = true;\n }\n };\n\n private connectHandler = () => {\n if (this.connectCallback) {\n this.connectCallback({\n serverUrl: this.serverURLEl.value,\n continueWithGeneXusAccount: this.continueWithGeneXusAccountEl.checked,\n user: this.userNameEl.value,\n password: this.passwordEl.value\n }).then((formSubmitResult: ConnectionResultData) => {\n console.log(formSubmitResult);\n formSubmitValidation(formSubmitResult, this);\n });\n }\n };\n\n // 10.RENDER() FUNCTION //\n\n render() {\n return (\n <Host class=\"gx-ide-component\">\n <div class=\"gx-ide-main-wrapper\">\n <gx-ide-container\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n >\n {/* server url */}\n <gxg-combo-box\n label={this._componentLocale.main.serverUrl}\n disableFilter={!this.enableCustomServer}\n value={this.defaultConnectionData?.serverUrl}\n ref={el => (this.serverURLEl = el as HTMLGxgComboBoxElement)}\n toolTip={config.tooltip}\n >\n {this.renderServerUrls()}\n </gxg-combo-box>\n\n {/* continue with GeneXus account */}\n <gxg-form-checkbox\n label={this._componentLocale.main.continueWithGxAccount}\n onChange={this.continueWithGxServerHandler}\n checked={\n this.defaultConnectionData\n ? this.defaultConnectionData.continueWithGeneXusAccount\n : this.enableUserLogged\n }\n disabled={!this.enableUserLogged}\n ref={el =>\n (this.continueWithGeneXusAccountEl =\n el as HTMLGxgFormCheckboxElement)\n }\n ></gxg-form-checkbox>\n\n {this.displayLoginControls ? (\n <div class=\"user-details-container\">\n {/* username */}\n <gxg-form-text\n label={this._componentLocale.main.userName}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.user}\n ref={el => (this.userNameEl = el as HTMLGxgFormTextElement)}\n toolTip={config.tooltip}\n ></gxg-form-text>\n {/* password */}\n <gxg-form-text\n label={this._componentLocale.main.password}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.password}\n ref={el => (this.passwordEl = el as HTMLGxgFormTextElement)}\n password\n toolTip={config.tooltip}\n ></gxg-form-text>\n </div>\n ) : null}\n\n {/* cancel and connect buttons */}\n <gxg-button slot=\"footer-end\" type=\"outlined\">\n {this._componentLocale.main.cancel}\n </gxg-button>\n <gxg-button slot=\"footer-end\" onClick={this.connectHandler}>\n {this._componentLocale.main.connect}\n </gxg-button>\n </gx-ide-container>\n </div>\n </Host>\n );\n }\n}\n\nexport type GXServerConnectionData = {\n serverUrl: string;\n continueWithGeneXusAccount: boolean;\n user: string;\n password: string;\n};\n"],"version":3}
|
|
1
|
+
{"file":"gx-ide-connect-gx-server.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,kBAAkB,GAAG,0gWAA0gW;;MCwBxhW,oBAAoB;;;;QAOvB,sBAAiB,GAAG,KAAK,CAAC;;;;QAoF1B,qBAAgB,GAAG;;YACzB,IAAI,MAAA,IAAI,CAAC,UAAU,0CAAE,MAAM,EAAE;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS;oBAClC,OAAOA,oCAAqB,SAAS,CAAsB,CAAC;iBAC7D,CAAC,CAAC;aACJ;YACD,OAAO,EAAE,CAAC;SACX,CAAC;QAEM,gCAA2B,GAAG,CACpC,KAAsE;YAEtE,IAAI,CAAC,oBAAoB,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;SACjD,CAAC;QAEM,iCAA4B,GAAG;YACrC,IAAI,IAAI,CAAC,gBAAgB,EAAE;gBACzB,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;aACnC;iBAAM;gBACL,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;aAClC;SACF,CAAC;QAEM,mBAAc,GAAG;YACvB,IAAI,IAAI,CAAC,eAAe,EAAE;gBACxB,I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M,CAAC,OAAO,GACR,CACb,IACJ,IAAI,CACJ,EAGNJ,wBAAY,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,UAAU,IAC1C,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CACvB,EACbA,wBAAY,IAAI,EAAC,YAAY,EAAC,OAAO,EAAE,IAAI,CAAC,cAAc,IACvD,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CACxB,CACI,CACf,CACD,EACP;KACH;;;;;;;;","names":["h","formSubmitValidation","Locale","Host","config"],"sources":["src/components/connect-gx-server/connect-gx-server.scss?tag=gx-ide-connect-gx-server&encapsulation=shadow","src/components/connect-gx-server/connect-gx-server.tsx"],"sourcesContent":["@import \"../../global/gx-ide-common.scss\";\n@import \"../../global/gx-ide-mixins.scss\";\n\n:host {\n display: block;\n}\n\n.user-details-container {\n display: flex;\n gap: var(--gx-ide-form-items-gap);\n}\n\n.wrapper {\n display: flex;\n flex-direction: column;\n gap: var(--mer-spacing--md);\n}\n","/* STENCIL IMPORTS */\nimport {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State\n} from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { config } from \"../../common/config\";\nimport { Locale } from \"../../common/locale\";\nimport { formSubmitValidation } from \"../../common/form-validation\";\nimport { ConnectionResultData } from \"../../common/types\";\n\n@Component({\n tag: \"gx-ide-connect-gx-server\",\n styleUrl: \"connect-gx-server.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/connect-gx-server\"]\n})\nexport class GxIdeConnectGxServer {\n // 1.OWN PROPERTIES //\n\n /**\n * The component hard-coded strings translations.\n */\n private _componentLocale: any;\n private renderedFirstTime = false;\n\n // 2. REFERENCE TO ELEMENTS //\n\n @Element() el: HTMLGxIdeConnectGxServerElement;\n\n private serverURLEl!: HTMLGxgComboBoxElement;\n private userNameEl!: HTMLGxgFormTextElement;\n private passwordEl!: HTMLGxgFormTextElement;\n private continueWithGeneXusAccountEl!: HTMLGxgFormCheckboxElement;\n\n // 3.STATE() VARIABLES //\n\n //\n @State() displayLoginControls: boolean = false;\n\n // 4.PUBLIC PROPERTY API | WATCH'S //\n\n /**\n * If true it displays the component title on the header\n */\n @Prop() readonly displayTitle = false;\n\n /**\n * Array of cataloged server URLs\n */\n @Prop() readonly serverUrls: string[];\n\n /**\n * 'true' if the user should be allowed to manually enter a server URL in serverUrls.\n */\n @Prop() readonly enableCustomServer: boolean = false;\n\n /**\n * Initial user values for the case in which the user returns to the login modal after a successful authentication.\n */\n @Prop() readonly defaultConnectionData?: GXServerConnectionData;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly enableUserLogged: boolean = false;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly connectCallback: (\n data: GXServerConnectionData\n ) => Promise<ConnectionResultData>;\n\n /**\n * Callback that allows canceling the server connection process.\n */\n @Prop() readonly cancelCallback: () => Promise<void>;\n\n // 5.EVENTS (EMIT) //\n\n /**\n * @description Gets fired when the component has rendered for the first time.\n */\n @Event() componentDidRenderFirstTime: EventEmitter<string>;\n\n // 6.COMPONENT LIFECYCLE METHODS //\n\n async componentWillLoad() {\n this._componentLocale = await Locale.getComponentStrings(this.el);\n this.evaluateDisplayLoginControls();\n }\n\n componentDidRender() {\n if (!this.renderedFirstTime) {\n this.componentDidRenderFirstTime.emit(\n this._componentLocale.componentName\n );\n this.renderedFirstTime = true;\n }\n }\n\n // 7.LISTENERS //\n\n // 8.PUBLIC METHODS API //\n\n // 9.LOCAL METHODS //\n\n private renderServerUrls = (): HTMLGxgComboBoxItemElement[] => {\n if (this.serverUrls?.length) {\n return this.serverUrls.map(serverUrl => {\n return <gxg-combo-box-item>{serverUrl}</gxg-combo-box-item>;\n });\n }\n return [];\n };\n\n private continueWithGxServerHandler = (\n event: CustomEvent<{ id: string; value: boolean; disabled?: boolean }>\n ) => {\n this.displayLoginControls = !event.detail.value;\n };\n\n private evaluateDisplayLoginControls = () => {\n if (this.enableUserLogged) {\n this.displayLoginControls = false;\n } else {\n this.displayLoginControls = true;\n }\n };\n\n private connectHandler = () => {\n if (this.connectCallback) {\n this.connectCallback({\n serverUrl: this.serverURLEl.value,\n continueWithGeneXusAccount: this.continueWithGeneXusAccountEl.checked,\n user: this.userNameEl.value,\n password: this.passwordEl.value\n }).then((formSubmitResult: ConnectionResultData) => {\n console.log(formSubmitResult);\n formSubmitValidation(formSubmitResult, this);\n });\n }\n };\n\n // 10.RENDER() FUNCTION //\n\n render() {\n return (\n <Host class=\"gx-ide-component\">\n <div class=\"gx-ide-main-wrapper\">\n <gx-ide-container\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n >\n <div class=\"wrapper\">\n {/* server url */}\n <gxg-combo-box\n label={this._componentLocale.main.serverUrl}\n disableFilter={!this.enableCustomServer}\n value={this.defaultConnectionData?.serverUrl}\n ref={el => (this.serverURLEl = el as HTMLGxgComboBoxElement)}\n toolTip={config.tooltip}\n >\n {this.renderServerUrls()}\n </gxg-combo-box>\n\n {/* continue with GeneXus account */}\n <gxg-form-checkbox\n label={this._componentLocale.main.continueWithGxAccount}\n onChange={this.continueWithGxServerHandler}\n checked={\n this.defaultConnectionData\n ? this.defaultConnectionData.continueWithGeneXusAccount\n : this.enableUserLogged\n }\n disabled={!this.enableUserLogged}\n ref={el =>\n (this.continueWithGeneXusAccountEl =\n el as HTMLGxgFormCheckboxElement)\n }\n ></gxg-form-checkbox>\n\n {this.displayLoginControls ? (\n <div class=\"user-details-container\">\n {/* username */}\n <gxg-form-text\n label={this._componentLocale.main.userName}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.user}\n ref={el => (this.userNameEl = el as HTMLGxgFormTextElement)}\n toolTip={config.tooltip}\n ></gxg-form-text>\n {/* password */}\n <gxg-form-text\n label={this._componentLocale.main.password}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.password}\n ref={el => (this.passwordEl = el as HTMLGxgFormTextElement)}\n password\n toolTip={config.tooltip}\n ></gxg-form-text>\n </div>\n ) : null}\n </div>\n\n {/* cancel and connect buttons */}\n <gxg-button slot=\"footer-end\" type=\"outlined\">\n {this._componentLocale.main.cancel}\n </gxg-button>\n <gxg-button slot=\"footer-end\" onClick={this.connectHandler}>\n {this._componentLocale.main.connect}\n </gxg-button>\n </gx-ide-container>\n </div>\n </Host>\n );\n }\n}\n\nexport type GXServerConnectionData = {\n serverUrl: string;\n continueWithGeneXusAccount: boolean;\n user: string;\n password: string;\n};\n"],"version":3}
|
|
@@ -524,4 +524,10 @@ Found on /common/helpers.tsx hiChar function is used to add a span/class to ever
|
|
|
524
524
|
.user-details-container {
|
|
525
525
|
display: flex;
|
|
526
526
|
gap: var(--gx-ide-form-items-gap);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.wrapper {
|
|
530
|
+
display: flex;
|
|
531
|
+
flex-direction: column;
|
|
532
|
+
gap: var(--mer-spacing--md);
|
|
527
533
|
}
|
|
@@ -67,10 +67,10 @@ export class GxIdeConnectGxServer {
|
|
|
67
67
|
// 10.RENDER() FUNCTION //
|
|
68
68
|
render() {
|
|
69
69
|
var _a;
|
|
70
|
-
return (h(Host, { class: "gx-ide-component" }, h("div", { class: "gx-ide-main-wrapper" }, h("gx-ide-container", { containerTitle: this.displayTitle ? this._componentLocale.componentName : null, slimmerFooter: config.gxIdeContainer.slimmerFooter }, h("gxg-combo-box", { label: this._componentLocale.main.serverUrl, disableFilter: !this.enableCustomServer, value: (_a = this.defaultConnectionData) === null || _a === void 0 ? void 0 : _a.serverUrl, ref: el => (this.serverURLEl = el), toolTip: config.tooltip }, this.renderServerUrls()), h("gxg-form-checkbox", { label: this._componentLocale.main.continueWithGxAccount, onChange: this.continueWithGxServerHandler, checked: this.defaultConnectionData
|
|
70
|
+
return (h(Host, { class: "gx-ide-component" }, h("div", { class: "gx-ide-main-wrapper" }, h("gx-ide-container", { containerTitle: this.displayTitle ? this._componentLocale.componentName : null, slimmerFooter: config.gxIdeContainer.slimmerFooter }, h("div", { class: "wrapper" }, h("gxg-combo-box", { label: this._componentLocale.main.serverUrl, disableFilter: !this.enableCustomServer, value: (_a = this.defaultConnectionData) === null || _a === void 0 ? void 0 : _a.serverUrl, ref: el => (this.serverURLEl = el), toolTip: config.tooltip }, this.renderServerUrls()), h("gxg-form-checkbox", { label: this._componentLocale.main.continueWithGxAccount, onChange: this.continueWithGxServerHandler, checked: this.defaultConnectionData
|
|
71
71
|
? this.defaultConnectionData.continueWithGeneXusAccount
|
|
72
72
|
: this.enableUserLogged, disabled: !this.enableUserLogged, ref: el => (this.continueWithGeneXusAccountEl =
|
|
73
|
-
el) }), this.displayLoginControls ? (h("div", { class: "user-details-container" }, h("gxg-form-text", { label: this._componentLocale.main.userName, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.user, ref: el => (this.userNameEl = el), toolTip: config.tooltip }), h("gxg-form-text", { label: this._componentLocale.main.password, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.password, ref: el => (this.passwordEl = el), password: true, toolTip: config.tooltip }))) : null, h("gxg-button", { slot: "footer-end", type: "outlined" }, this._componentLocale.main.cancel), h("gxg-button", { slot: "footer-end", onClick: this.connectHandler }, this._componentLocale.main.connect)))));
|
|
73
|
+
el) }), this.displayLoginControls ? (h("div", { class: "user-details-container" }, h("gxg-form-text", { label: this._componentLocale.main.userName, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.user, ref: el => (this.userNameEl = el), toolTip: config.tooltip }), h("gxg-form-text", { label: this._componentLocale.main.password, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.password, ref: el => (this.passwordEl = el), password: true, toolTip: config.tooltip }))) : null), h("gxg-button", { slot: "footer-end", type: "outlined" }, this._componentLocale.main.cancel), h("gxg-button", { slot: "footer-end", onClick: this.connectHandler }, this._componentLocale.main.connect)))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "gx-ide-connect-gx-server"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect-gx-server.js","sourceRoot":"","sources":["../../../src/components/connect-gx-server/connect-gx-server.tsx"],"names":[],"mappings":"AAAA,qBAAqB;AACrB,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,EACJ,OAAO,EACP,KAAK,EAEL,KAAK,EACN,MAAM,eAAe,CAAC;AACvB,6BAA6B;AAC7B,oBAAoB;AACpB,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AASpE,MAAM,OAAO,oBAAoB;;QAOvB,sBAAiB,GAAG,KAAK,CAAC;QA8ElC,iBAAiB;QAEjB,0BAA0B;QAE1B,qBAAqB;QAEb,qBAAgB,GAAG,GAAiC,EAAE;;YAC5D,IAAI,MAAA,IAAI,CAAC,UAAU,0CAAE,MAAM,EAAE;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE;oBACrC,OAAO,8BAAqB,SAAS,CAAsB,CAAC;gBAC9D,CAAC,CAAC,CAAC;aACJ;YACD,OAAO,EAAE,CAAC;QACZ,CAAC,CAAC;QAEM,gCAA2B,GAAG,CACpC,KAAsE,EACtE,EAAE;YACF,IAAI,CAAC,oBAAoB,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,C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,qBAAqB,CAAC,IAAI,EACtC,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG,EAA4B,CAAC,EAC3D,OAAO,EAAE,MAAM,CAAC,OAAO,GACR;wBAEjB,qBACE,KAAK,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,QAAQ,EAC1C,aAAa,EAAC,OAAO,EACrB,QAAQ,EAAE,CAAC,IAAI,CAAC,oBAAoB,EACpC,KAAK,EAAE,IAAI,CAAC,qBAAqB,CAAC,QAAQ,EAC1C,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG,EAA4B,CAAC,EAC3D,QAAQ,QACR,OAAO,EAAE,MAAM,CAAC,OAAO,GACR,CACb,CACP,CAAC,CAAC,CAAC,IAAI;oBAGR,kBAAY,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,UAAU,IAC1C,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CACvB;oBACb,kBAAY,IAAI,EAAC,YAAY,EAAC,OAAO,EAAE,IAAI,CAAC,cAAc,IACvD,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CACxB,CACI,CACf,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/* STENCIL IMPORTS */\nimport {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State\n} from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { config } from \"../../common/config\";\nimport { Locale } from \"../../common/locale\";\nimport { formSubmitValidation } from \"../../common/form-validation\";\nimport { ConnectionResultData } from \"../../common/types\";\n\n@Component({\n tag: \"gx-ide-connect-gx-server\",\n styleUrl: \"connect-gx-server.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/connect-gx-server\"]\n})\nexport class GxIdeConnectGxServer {\n // 1.OWN PROPERTIES //\n\n /**\n * The component hard-coded strings translations.\n */\n private _componentLocale: any;\n private renderedFirstTime = false;\n\n // 2. REFERENCE TO ELEMENTS //\n\n @Element() el: HTMLGxIdeConnectGxServerElement;\n\n private serverURLEl!: HTMLGxgComboBoxElement;\n private userNameEl!: HTMLGxgFormTextElement;\n private passwordEl!: HTMLGxgFormTextElement;\n private continueWithGeneXusAccountEl!: HTMLGxgFormCheckboxElement;\n\n // 3.STATE() VARIABLES //\n\n //\n @State() displayLoginControls: boolean = false;\n\n // 4.PUBLIC PROPERTY API | WATCH'S //\n\n /**\n * If true it displays the component title on the header\n */\n @Prop() readonly displayTitle = false;\n\n /**\n * Array of cataloged server URLs\n */\n @Prop() readonly serverUrls: string[];\n\n /**\n * 'true' if the user should be allowed to manually enter a server URL in serverUrls.\n */\n @Prop() readonly enableCustomServer: boolean = false;\n\n /**\n * Initial user values for the case in which the user returns to the login modal after a successful authentication.\n */\n @Prop() readonly defaultConnectionData?: GXServerConnectionData;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly enableUserLogged: boolean = false;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly connectCallback: (\n data: GXServerConnectionData\n ) => Promise<ConnectionResultData>;\n\n /**\n * Callback that allows canceling the server connection process.\n */\n @Prop() readonly cancelCallback: () => Promise<void>;\n\n // 5.EVENTS (EMIT) //\n\n /**\n * @description Gets fired when the component has rendered for the first time.\n */\n @Event() componentDidRenderFirstTime: EventEmitter<string>;\n\n // 6.COMPONENT LIFECYCLE METHODS //\n\n async componentWillLoad() {\n this._componentLocale = await Locale.getComponentStrings(this.el);\n this.evaluateDisplayLoginControls();\n }\n\n componentDidRender() {\n if (!this.renderedFirstTime) {\n this.componentDidRenderFirstTime.emit(\n this._componentLocale.componentName\n );\n this.renderedFirstTime = true;\n }\n }\n\n // 7.LISTENERS //\n\n // 8.PUBLIC METHODS API //\n\n // 9.LOCAL METHODS //\n\n private renderServerUrls = (): HTMLGxgComboBoxItemElement[] => {\n if (this.serverUrls?.length) {\n return this.serverUrls.map(serverUrl => {\n return <gxg-combo-box-item>{serverUrl}</gxg-combo-box-item>;\n });\n }\n return [];\n };\n\n private continueWithGxServerHandler = (\n event: CustomEvent<{ id: string; value: boolean; disabled?: boolean }>\n ) => {\n this.displayLoginControls = !event.detail.value;\n };\n\n private evaluateDisplayLoginControls = () => {\n if (this.enableUserLogged) {\n this.displayLoginControls = false;\n } else {\n this.displayLoginControls = true;\n }\n };\n\n private connectHandler = () => {\n if (this.connectCallback) {\n this.connectCallback({\n serverUrl: this.serverURLEl.value,\n continueWithGeneXusAccount: this.continueWithGeneXusAccountEl.checked,\n user: this.userNameEl.value,\n password: this.passwordEl.value\n }).then((formSubmitResult: ConnectionResultData) => {\n console.log(formSubmitResult);\n formSubmitValidation(formSubmitResult, this);\n });\n }\n };\n\n // 10.RENDER() FUNCTION //\n\n render() {\n return (\n <Host class=\"gx-ide-component\">\n <div class=\"gx-ide-main-wrapper\">\n <gx-ide-container\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n >\n {/* server url */}\n <gxg-combo-box\n label={this._componentLocale.main.serverUrl}\n disableFilter={!this.enableCustomServer}\n value={this.defaultConnectionData?.serverUrl}\n ref={el => (this.serverURLEl = el as HTMLGxgComboBoxElement)}\n toolTip={config.tooltip}\n >\n {this.renderServerUrls()}\n </gxg-combo-box>\n\n {/* continue with GeneXus account */}\n <gxg-form-checkbox\n label={this._componentLocale.main.continueWithGxAccount}\n onChange={this.continueWithGxServerHandler}\n checked={\n this.defaultConnectionData\n ? this.defaultConnectionData.continueWithGeneXusAccount\n : this.enableUserLogged\n }\n disabled={!this.enableUserLogged}\n ref={el =>\n (this.continueWithGeneXusAccountEl =\n el as HTMLGxgFormCheckboxElement)\n }\n ></gxg-form-checkbox>\n\n {this.displayLoginControls ? (\n <div class=\"user-details-container\">\n {/* username */}\n <gxg-form-text\n label={this._componentLocale.main.userName}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.user}\n ref={el => (this.userNameEl = el as HTMLGxgFormTextElement)}\n toolTip={config.tooltip}\n ></gxg-form-text>\n {/* password */}\n <gxg-form-text\n label={this._componentLocale.main.password}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.password}\n ref={el => (this.passwordEl = el as HTMLGxgFormTextElement)}\n password\n toolTip={config.tooltip}\n ></gxg-form-text>\n </div>\n ) : null}\n\n {/* cancel and connect buttons */}\n <gxg-button slot=\"footer-end\" type=\"outlined\">\n {this._componentLocale.main.cancel}\n </gxg-button>\n <gxg-button slot=\"footer-end\" onClick={this.connectHandler}>\n {this._componentLocale.main.connect}\n </gxg-button>\n </gx-ide-container>\n </div>\n </Host>\n );\n }\n}\n\nexport type GXServerConnectionData = {\n serverUrl: string;\n continueWithGeneXusAccount: boolean;\n user: string;\n password: string;\n};\n"]}
|
|
1
|
+
{"version":3,"file":"connect-gx-server.js","sourceRoot":"","sources":["../../../src/components/connect-gx-server/connect-gx-server.tsx"],"names":[],"mappings":"AAAA,qBAAqB;AACrB,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,EACJ,OAAO,EACP,KAAK,EAEL,KAAK,EACN,MAAM,eAAe,CAAC;AACvB,6BAA6B;AAC7B,oBAAoB;AACpB,OAAO,EAAE,M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I,EAAC,UAAU,IAC1C,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CACvB;oBACb,kBAAY,IAAI,EAAC,YAAY,EAAC,OAAO,EAAE,IAAI,CAAC,cAAc,IACvD,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CACxB,CACI,CACf,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/* STENCIL IMPORTS */\nimport {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State\n} from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { config } from \"../../common/config\";\nimport { Locale } from \"../../common/locale\";\nimport { formSubmitValidation } from \"../../common/form-validation\";\nimport { ConnectionResultData } from \"../../common/types\";\n\n@Component({\n tag: \"gx-ide-connect-gx-server\",\n styleUrl: \"connect-gx-server.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/connect-gx-server\"]\n})\nexport class GxIdeConnectGxServer {\n // 1.OWN PROPERTIES //\n\n /**\n * The component hard-coded strings translations.\n */\n private _componentLocale: any;\n private renderedFirstTime = false;\n\n // 2. REFERENCE TO ELEMENTS //\n\n @Element() el: HTMLGxIdeConnectGxServerElement;\n\n private serverURLEl!: HTMLGxgComboBoxElement;\n private userNameEl!: HTMLGxgFormTextElement;\n private passwordEl!: HTMLGxgFormTextElement;\n private continueWithGeneXusAccountEl!: HTMLGxgFormCheckboxElement;\n\n // 3.STATE() VARIABLES //\n\n //\n @State() displayLoginControls: boolean = false;\n\n // 4.PUBLIC PROPERTY API | WATCH'S //\n\n /**\n * If true it displays the component title on the header\n */\n @Prop() readonly displayTitle = false;\n\n /**\n * Array of cataloged server URLs\n */\n @Prop() readonly serverUrls: string[];\n\n /**\n * 'true' if the user should be allowed to manually enter a server URL in serverUrls.\n */\n @Prop() readonly enableCustomServer: boolean = false;\n\n /**\n * Initial user values for the case in which the user returns to the login modal after a successful authentication.\n */\n @Prop() readonly defaultConnectionData?: GXServerConnectionData;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly enableUserLogged: boolean = false;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly connectCallback: (\n data: GXServerConnectionData\n ) => Promise<ConnectionResultData>;\n\n /**\n * Callback that allows canceling the server connection process.\n */\n @Prop() readonly cancelCallback: () => Promise<void>;\n\n // 5.EVENTS (EMIT) //\n\n /**\n * @description Gets fired when the component has rendered for the first time.\n */\n @Event() componentDidRenderFirstTime: EventEmitter<string>;\n\n // 6.COMPONENT LIFECYCLE METHODS //\n\n async componentWillLoad() {\n this._componentLocale = await Locale.getComponentStrings(this.el);\n this.evaluateDisplayLoginControls();\n }\n\n componentDidRender() {\n if (!this.renderedFirstTime) {\n this.componentDidRenderFirstTime.emit(\n this._componentLocale.componentName\n );\n this.renderedFirstTime = true;\n }\n }\n\n // 7.LISTENERS //\n\n // 8.PUBLIC METHODS API //\n\n // 9.LOCAL METHODS //\n\n private renderServerUrls = (): HTMLGxgComboBoxItemElement[] => {\n if (this.serverUrls?.length) {\n return this.serverUrls.map(serverUrl => {\n return <gxg-combo-box-item>{serverUrl}</gxg-combo-box-item>;\n });\n }\n return [];\n };\n\n private continueWithGxServerHandler = (\n event: CustomEvent<{ id: string; value: boolean; disabled?: boolean }>\n ) => {\n this.displayLoginControls = !event.detail.value;\n };\n\n private evaluateDisplayLoginControls = () => {\n if (this.enableUserLogged) {\n this.displayLoginControls = false;\n } else {\n this.displayLoginControls = true;\n }\n };\n\n private connectHandler = () => {\n if (this.connectCallback) {\n this.connectCallback({\n serverUrl: this.serverURLEl.value,\n continueWithGeneXusAccount: this.continueWithGeneXusAccountEl.checked,\n user: this.userNameEl.value,\n password: this.passwordEl.value\n }).then((formSubmitResult: ConnectionResultData) => {\n console.log(formSubmitResult);\n formSubmitValidation(formSubmitResult, this);\n });\n }\n };\n\n // 10.RENDER() FUNCTION //\n\n render() {\n return (\n <Host class=\"gx-ide-component\">\n <div class=\"gx-ide-main-wrapper\">\n <gx-ide-container\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n >\n <div class=\"wrapper\">\n {/* server url */}\n <gxg-combo-box\n label={this._componentLocale.main.serverUrl}\n disableFilter={!this.enableCustomServer}\n value={this.defaultConnectionData?.serverUrl}\n ref={el => (this.serverURLEl = el as HTMLGxgComboBoxElement)}\n toolTip={config.tooltip}\n >\n {this.renderServerUrls()}\n </gxg-combo-box>\n\n {/* continue with GeneXus account */}\n <gxg-form-checkbox\n label={this._componentLocale.main.continueWithGxAccount}\n onChange={this.continueWithGxServerHandler}\n checked={\n this.defaultConnectionData\n ? this.defaultConnectionData.continueWithGeneXusAccount\n : this.enableUserLogged\n }\n disabled={!this.enableUserLogged}\n ref={el =>\n (this.continueWithGeneXusAccountEl =\n el as HTMLGxgFormCheckboxElement)\n }\n ></gxg-form-checkbox>\n\n {this.displayLoginControls ? (\n <div class=\"user-details-container\">\n {/* username */}\n <gxg-form-text\n label={this._componentLocale.main.userName}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.user}\n ref={el => (this.userNameEl = el as HTMLGxgFormTextElement)}\n toolTip={config.tooltip}\n ></gxg-form-text>\n {/* password */}\n <gxg-form-text\n label={this._componentLocale.main.password}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.password}\n ref={el => (this.passwordEl = el as HTMLGxgFormTextElement)}\n password\n toolTip={config.tooltip}\n ></gxg-form-text>\n </div>\n ) : null}\n </div>\n\n {/* cancel and connect buttons */}\n <gxg-button slot=\"footer-end\" type=\"outlined\">\n {this._componentLocale.main.cancel}\n </gxg-button>\n <gxg-button slot=\"footer-end\" onClick={this.connectHandler}>\n {this._componentLocale.main.connect}\n </gxg-button>\n </gx-ide-container>\n </div>\n </Host>\n );\n }\n}\n\nexport type GXServerConnectionData = {\n serverUrl: string;\n continueWithGeneXusAccount: boolean;\n user: string;\n password: string;\n};\n"]}
|
|
@@ -15,7 +15,7 @@ import { d as defineCustomElement$4 } from './gxg-label2.js';
|
|
|
15
15
|
import { d as defineCustomElement$3 } from './title.js';
|
|
16
16
|
import { d as defineCustomElement$2 } from './tooltip.js';
|
|
17
17
|
|
|
18
|
-
const connectGxServerCss = ":root{--ui-animaton-speed:0.2s}.gxg-title-01{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-01--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-02{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-02--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--color-on-primary)}.gxg-title-03{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-03--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-04{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-04--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-05{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-05--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable)}.gxg-text--negative{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text--gray{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--dimmed)}.gxg-quote{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);font-style:italic}.gxg-quote--negative{color:var(--ds-base-font-color--negative)}.gxg-link{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block}.gxg-link:hover{color:var(--ds-base-font-color--link-hover)}.gxg-link:active{color:var(--ds-base-font-color--link-active)}.gxg-link-gray{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed)}.gxg-link-gray:hover{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed);filter:brightness(1.4)}.gxg-alert-error{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--error);display:inline-block}.gxg-alert-warning{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--warning);display:inline-block}.gxg-alert-success{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--success);display:inline-block}.gxg-tab--disabled{color:var(--color-primary-disabled);pointer-events:none}.gxg-tab--disabled[disabled]{color:var(--color-primary-disabled);pointer-events:none}.gxg-label{font-family:var(--ds-base-font-family-primary);font-weight:var(--gxg-label-font-weight);font-size:var(--gxg-label-font-size);color:var(--gxg-label-color);text-align:center;line-height:1.455em;display:flex;align-items:center}.gxg-label:hover{color:var(--color-primary-hover)}.gxg-label:focus{color:var(--color-primary-active)}.gxg-label:active{color:var(--color-primary-active)}.gxg-label[disabled]{color:var(--color-primary-disabled)}.gxg-label--negative{color:var(--color-on-primary)}.gxg-label--negative[disabled]{color:var(--color-on-disabled)}.gxg-scrollbar{}.gxg-scrollbar::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gxg-scrollbar::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gxg-scrollbar::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gxi-hidden{display:none !important}.gxi-full-height{height:100%}.gxi-overflow-auto{overflow:auto}.gxi-display-flex{display:flex}.align-start{display:flex;align-items:start}.align-center{display:flex;align-items:center}.align-end{display:flex;align-items:end}.overflow-auto{overflow:auto}.justify-start{display:flex;justify-content:start}.justify-center{display:flex;justify-content:center}.justify-end{display:flex;justify-content:end}.grid{display:grid;grid-row-gap:var(--gx-ide-grid-row-gap);grid-column-gap:var(--gx-ide-grid-column-gap);grid-template-rows:auto}ch-grid-cell{display:flex}ch-grid{overflow:auto;height:100%}ch-grid-column{z-index:99;border-bottom:1px solid var(--mer-color__neutral-gray--800)}ch-grid-column:first-child{padding-inline-start:var(--gx-ide-container__padding) !important}ch-grid-column:last-child{padding-inline-end:var(--gx-ide-container__padding) !important}ch-grid-cell{--mer-spacing--xs:var(--gx-ide-container__padding)}.layout{display:grid;gap:var(--mer-spacing--lg);box-sizing:border-box}.layout--two-cols{grid-template-columns:1fr 1fr}.layout--space-above{padding-block-start:var(--mer-spacing--lg)}gxg-tabs{box-shadow:none}:host(.gx-ide-component){height:100% !important;display:flex !important;flex-direction:column !important}:host(:focus-within) gx-ide-top-bar::part(wrapper){background-color:var(--color-secondary-enabled)}.gx-ide-main-wrapper{color:var(--gx-ide-component-text-color);font-weight:var(--mer-font__weight--regular);font-size:var(--mer-font__size--xs);font-family:var(--mer-font-family--primary);height:100%;background-color:var(--gx-ide-component-background-color);display:flex;flex-direction:column;flex-grow:1;box-sizing:border-box}.gx-ide-main{flex-grow:1;overflow-y:auto;}.gx-ide-main::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-main::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-main::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-main::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-main::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gx-ide-overflow{overflow-y:auto;}.gx-ide-overflow::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-overflow::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-overflow::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.tree-container{display:flex;height:100%;width:100%;box-sizing:border-box}p{margin:0}:host{display:block}.user-details-container{display:flex;gap:var(--gx-ide-form-items-gap)}";
|
|
18
|
+
const connectGxServerCss = ":root{--ui-animaton-speed:0.2s}.gxg-title-01{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-01--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-02{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-02--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--color-on-primary)}.gxg-title-03{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-03--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-04{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-04--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-05{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-05--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable)}.gxg-text--negative{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text--gray{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--dimmed)}.gxg-quote{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);font-style:italic}.gxg-quote--negative{color:var(--ds-base-font-color--negative)}.gxg-link{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block}.gxg-link:hover{color:var(--ds-base-font-color--link-hover)}.gxg-link:active{color:var(--ds-base-font-color--link-active)}.gxg-link-gray{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed)}.gxg-link-gray:hover{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed);filter:brightness(1.4)}.gxg-alert-error{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--error);display:inline-block}.gxg-alert-warning{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--warning);display:inline-block}.gxg-alert-success{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--success);display:inline-block}.gxg-tab--disabled{color:var(--color-primary-disabled);pointer-events:none}.gxg-tab--disabled[disabled]{color:var(--color-primary-disabled);pointer-events:none}.gxg-label{font-family:var(--ds-base-font-family-primary);font-weight:var(--gxg-label-font-weight);font-size:var(--gxg-label-font-size);color:var(--gxg-label-color);text-align:center;line-height:1.455em;display:flex;align-items:center}.gxg-label:hover{color:var(--color-primary-hover)}.gxg-label:focus{color:var(--color-primary-active)}.gxg-label:active{color:var(--color-primary-active)}.gxg-label[disabled]{color:var(--color-primary-disabled)}.gxg-label--negative{color:var(--color-on-primary)}.gxg-label--negative[disabled]{color:var(--color-on-disabled)}.gxg-scrollbar{}.gxg-scrollbar::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gxg-scrollbar::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gxg-scrollbar::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gxi-hidden{display:none !important}.gxi-full-height{height:100%}.gxi-overflow-auto{overflow:auto}.gxi-display-flex{display:flex}.align-start{display:flex;align-items:start}.align-center{display:flex;align-items:center}.align-end{display:flex;align-items:end}.overflow-auto{overflow:auto}.justify-start{display:flex;justify-content:start}.justify-center{display:flex;justify-content:center}.justify-end{display:flex;justify-content:end}.grid{display:grid;grid-row-gap:var(--gx-ide-grid-row-gap);grid-column-gap:var(--gx-ide-grid-column-gap);grid-template-rows:auto}ch-grid-cell{display:flex}ch-grid{overflow:auto;height:100%}ch-grid-column{z-index:99;border-bottom:1px solid var(--mer-color__neutral-gray--800)}ch-grid-column:first-child{padding-inline-start:var(--gx-ide-container__padding) !important}ch-grid-column:last-child{padding-inline-end:var(--gx-ide-container__padding) !important}ch-grid-cell{--mer-spacing--xs:var(--gx-ide-container__padding)}.layout{display:grid;gap:var(--mer-spacing--lg);box-sizing:border-box}.layout--two-cols{grid-template-columns:1fr 1fr}.layout--space-above{padding-block-start:var(--mer-spacing--lg)}gxg-tabs{box-shadow:none}:host(.gx-ide-component){height:100% !important;display:flex !important;flex-direction:column !important}:host(:focus-within) gx-ide-top-bar::part(wrapper){background-color:var(--color-secondary-enabled)}.gx-ide-main-wrapper{color:var(--gx-ide-component-text-color);font-weight:var(--mer-font__weight--regular);font-size:var(--mer-font__size--xs);font-family:var(--mer-font-family--primary);height:100%;background-color:var(--gx-ide-component-background-color);display:flex;flex-direction:column;flex-grow:1;box-sizing:border-box}.gx-ide-main{flex-grow:1;overflow-y:auto;}.gx-ide-main::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-main::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-main::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-main::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-main::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gx-ide-overflow{overflow-y:auto;}.gx-ide-overflow::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-overflow::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-overflow::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.tree-container{display:flex;height:100%;width:100%;box-sizing:border-box}p{margin:0}:host{display:block}.user-details-container{display:flex;gap:var(--gx-ide-form-items-gap)}.wrapper{display:flex;flex-direction:column;gap:var(--mer-spacing--md)}";
|
|
19
19
|
|
|
20
20
|
const GxIdeConnectGxServer$1 = /*@__PURE__*/ proxyCustomElement(class GxIdeConnectGxServer extends HTMLElement {
|
|
21
21
|
constructor() {
|
|
@@ -83,10 +83,10 @@ const GxIdeConnectGxServer$1 = /*@__PURE__*/ proxyCustomElement(class GxIdeConne
|
|
|
83
83
|
// 10.RENDER() FUNCTION //
|
|
84
84
|
render() {
|
|
85
85
|
var _a;
|
|
86
|
-
return (h(Host, { class: "gx-ide-component" }, h("div", { class: "gx-ide-main-wrapper" }, h("gx-ide-container", { containerTitle: this.displayTitle ? this._componentLocale.componentName : null, slimmerFooter: config.gxIdeContainer.slimmerFooter }, h("gxg-combo-box", { label: this._componentLocale.main.serverUrl, disableFilter: !this.enableCustomServer, value: (_a = this.defaultConnectionData) === null || _a === void 0 ? void 0 : _a.serverUrl, ref: el => (this.serverURLEl = el), toolTip: config.tooltip }, this.renderServerUrls()), h("gxg-form-checkbox", { label: this._componentLocale.main.continueWithGxAccount, onChange: this.continueWithGxServerHandler, checked: this.defaultConnectionData
|
|
86
|
+
return (h(Host, { class: "gx-ide-component" }, h("div", { class: "gx-ide-main-wrapper" }, h("gx-ide-container", { containerTitle: this.displayTitle ? this._componentLocale.componentName : null, slimmerFooter: config.gxIdeContainer.slimmerFooter }, h("div", { class: "wrapper" }, h("gxg-combo-box", { label: this._componentLocale.main.serverUrl, disableFilter: !this.enableCustomServer, value: (_a = this.defaultConnectionData) === null || _a === void 0 ? void 0 : _a.serverUrl, ref: el => (this.serverURLEl = el), toolTip: config.tooltip }, this.renderServerUrls()), h("gxg-form-checkbox", { label: this._componentLocale.main.continueWithGxAccount, onChange: this.continueWithGxServerHandler, checked: this.defaultConnectionData
|
|
87
87
|
? this.defaultConnectionData.continueWithGeneXusAccount
|
|
88
88
|
: this.enableUserLogged, disabled: !this.enableUserLogged, ref: el => (this.continueWithGeneXusAccountEl =
|
|
89
|
-
el) }), this.displayLoginControls ? (h("div", { class: "user-details-container" }, h("gxg-form-text", { label: this._componentLocale.main.userName, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.user, ref: el => (this.userNameEl = el), toolTip: config.tooltip }), h("gxg-form-text", { label: this._componentLocale.main.password, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.password, ref: el => (this.passwordEl = el), password: true, toolTip: config.tooltip }))) : null, h("gxg-button", { slot: "footer-end", type: "outlined" }, this._componentLocale.main.cancel), h("gxg-button", { slot: "footer-end", onClick: this.connectHandler }, this._componentLocale.main.connect)))));
|
|
89
|
+
el) }), this.displayLoginControls ? (h("div", { class: "user-details-container" }, h("gxg-form-text", { label: this._componentLocale.main.userName, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.user, ref: el => (this.userNameEl = el), toolTip: config.tooltip }), h("gxg-form-text", { label: this._componentLocale.main.password, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.password, ref: el => (this.passwordEl = el), password: true, toolTip: config.tooltip }))) : null), h("gxg-button", { slot: "footer-end", type: "outlined" }, this._componentLocale.main.cancel), h("gxg-button", { slot: "footer-end", onClick: this.connectHandler }, this._componentLocale.main.connect)))));
|
|
90
90
|
}
|
|
91
91
|
static get assetsDirs() { return ["gx-ide-assets/connect-gx-server"]; }
|
|
92
92
|
get el() { return this; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"gx-ide-connect-gx-server.js","mappings":";;;;;;;;;;;;;;;;;AAAA,MAAM,kBAAkB,GAAG,m8VAAm8V;;MCwBj9VA,sBAAoB;;;;;;QAOvB,sBAAiB,GAAG,KAAK,CAAC;;;;QAoF1B,qBAAgB,GAAG;;YACzB,IAAI,MAAA,IAAI,CAAC,UAAU,0CAAE,MAAM,EAAE;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS;oBAClC,OAAO,8BAAqB,SAAS,CAAsB,CAAC;iBAC7D,CAAC,CAAC;aACJ;YACD,OAAO,EAAE,CAAC;SACX,CAAC;QAEM,gCAA2B,GAAG,CACpC,KAAsE;YAEtE,IAAI,CAAC,oBAAoB,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;SACjD,CAAC;QAEM,iCAA4B,GAAG;YACrC,IAAI,IAAI,CAAC,gBAAgB,EAAE;gBACzB,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;aACnC;iBAAM;gBACL,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;aAClC;SACF,CAAC;QAEM,mBAAc,GAAG;YACvB,IAAI,IAAI,CAAC,eAAe,EAAE;gBACxB,IAAI,CAAC,eAAe,CAAC;oBACnB,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK;oBACjC,0BAA0B,EAAE,IAAI,CAAC,4BAA4B,CAAC,OAAO;oBACrE,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;oBAC3B,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;iBAChC,CAAC,CAAC,IAAI,CAAC,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["GxIdeConnectGxServer"],"sources":["src/components/connect-gx-server/connect-gx-server.scss?tag=gx-ide-connect-gx-server&encapsulation=shadow","src/components/connect-gx-server/connect-gx-server.tsx"],"sourcesContent":["@import \"../../global/gx-ide-common.scss\";\n@import \"../../global/gx-ide-mixins.scss\";\n\n:host {\n display: block;\n}\n\n.user-details-container {\n display: flex;\n gap: var(--gx-ide-form-items-gap);\n}\n","/* STENCIL IMPORTS */\nimport {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State\n} from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { config } from \"../../common/config\";\nimport { Locale } from \"../../common/locale\";\nimport { formSubmitValidation } from \"../../common/form-validation\";\nimport { ConnectionResultData } from \"../../common/types\";\n\n@Component({\n tag: \"gx-ide-connect-gx-server\",\n styleUrl: \"connect-gx-server.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/connect-gx-server\"]\n})\nexport class GxIdeConnectGxServer {\n // 1.OWN PROPERTIES //\n\n /**\n * The component hard-coded strings translations.\n */\n private _componentLocale: any;\n private renderedFirstTime = false;\n\n // 2. REFERENCE TO ELEMENTS //\n\n @Element() el: HTMLGxIdeConnectGxServerElement;\n\n private serverURLEl!: HTMLGxgComboBoxElement;\n private userNameEl!: HTMLGxgFormTextElement;\n private passwordEl!: HTMLGxgFormTextElement;\n private continueWithGeneXusAccountEl!: HTMLGxgFormCheckboxElement;\n\n // 3.STATE() VARIABLES //\n\n //\n @State() displayLoginControls: boolean = false;\n\n // 4.PUBLIC PROPERTY API | WATCH'S //\n\n /**\n * If true it displays the component title on the header\n */\n @Prop() readonly displayTitle = false;\n\n /**\n * Array of cataloged server URLs\n */\n @Prop() readonly serverUrls: string[];\n\n /**\n * 'true' if the user should be allowed to manually enter a server URL in serverUrls.\n */\n @Prop() readonly enableCustomServer: boolean = false;\n\n /**\n * Initial user values for the case in which the user returns to the login modal after a successful authentication.\n */\n @Prop() readonly defaultConnectionData?: GXServerConnectionData;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly enableUserLogged: boolean = false;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly connectCallback: (\n data: GXServerConnectionData\n ) => Promise<ConnectionResultData>;\n\n /**\n * Callback that allows canceling the server connection process.\n */\n @Prop() readonly cancelCallback: () => Promise<void>;\n\n // 5.EVENTS (EMIT) //\n\n /**\n * @description Gets fired when the component has rendered for the first time.\n */\n @Event() componentDidRenderFirstTime: EventEmitter<string>;\n\n // 6.COMPONENT LIFECYCLE METHODS //\n\n async componentWillLoad() {\n this._componentLocale = await Locale.getComponentStrings(this.el);\n this.evaluateDisplayLoginControls();\n }\n\n componentDidRender() {\n if (!this.renderedFirstTime) {\n this.componentDidRenderFirstTime.emit(\n this._componentLocale.componentName\n );\n this.renderedFirstTime = true;\n }\n }\n\n // 7.LISTENERS //\n\n // 8.PUBLIC METHODS API //\n\n // 9.LOCAL METHODS //\n\n private renderServerUrls = (): HTMLGxgComboBoxItemElement[] => {\n if (this.serverUrls?.length) {\n return this.serverUrls.map(serverUrl => {\n return <gxg-combo-box-item>{serverUrl}</gxg-combo-box-item>;\n });\n }\n return [];\n };\n\n private continueWithGxServerHandler = (\n event: CustomEvent<{ id: string; value: boolean; disabled?: boolean }>\n ) => {\n this.displayLoginControls = !event.detail.value;\n };\n\n private evaluateDisplayLoginControls = () => {\n if (this.enableUserLogged) {\n this.displayLoginControls = false;\n } else {\n this.displayLoginControls = true;\n }\n };\n\n private connectHandler = () => {\n if (this.connectCallback) {\n this.connectCallback({\n serverUrl: this.serverURLEl.value,\n continueWithGeneXusAccount: this.continueWithGeneXusAccountEl.checked,\n user: this.userNameEl.value,\n password: this.passwordEl.value\n }).then((formSubmitResult: ConnectionResultData) => {\n console.log(formSubmitResult);\n formSubmitValidation(formSubmitResult, this);\n });\n }\n };\n\n // 10.RENDER() FUNCTION //\n\n render() {\n return (\n <Host class=\"gx-ide-component\">\n <div class=\"gx-ide-main-wrapper\">\n <gx-ide-container\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n >\n {/* server url */}\n <gxg-combo-box\n label={this._componentLocale.main.serverUrl}\n disableFilter={!this.enableCustomServer}\n value={this.defaultConnectionData?.serverUrl}\n ref={el => (this.serverURLEl = el as HTMLGxgComboBoxElement)}\n toolTip={config.tooltip}\n >\n {this.renderServerUrls()}\n </gxg-combo-box>\n\n {/* continue with GeneXus account */}\n <gxg-form-checkbox\n label={this._componentLocale.main.continueWithGxAccount}\n onChange={this.continueWithGxServerHandler}\n checked={\n this.defaultConnectionData\n ? this.defaultConnectionData.continueWithGeneXusAccount\n : this.enableUserLogged\n }\n disabled={!this.enableUserLogged}\n ref={el =>\n (this.continueWithGeneXusAccountEl =\n el as HTMLGxgFormCheckboxElement)\n }\n ></gxg-form-checkbox>\n\n {this.displayLoginControls ? (\n <div class=\"user-details-container\">\n {/* username */}\n <gxg-form-text\n label={this._componentLocale.main.userName}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.user}\n ref={el => (this.userNameEl = el as HTMLGxgFormTextElement)}\n toolTip={config.tooltip}\n ></gxg-form-text>\n {/* password */}\n <gxg-form-text\n label={this._componentLocale.main.password}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.password}\n ref={el => (this.passwordEl = el as HTMLGxgFormTextElement)}\n password\n toolTip={config.tooltip}\n ></gxg-form-text>\n </div>\n ) : null}\n\n {/* cancel and connect buttons */}\n <gxg-button slot=\"footer-end\" type=\"outlined\">\n {this._componentLocale.main.cancel}\n </gxg-button>\n <gxg-button slot=\"footer-end\" onClick={this.connectHandler}>\n {this._componentLocale.main.connect}\n </gxg-button>\n </gx-ide-container>\n </div>\n </Host>\n );\n }\n}\n\nexport type GXServerConnectionData = {\n serverUrl: string;\n continueWithGeneXusAccount: boolean;\n user: string;\n password: string;\n};\n"],"version":3}
|
|
1
|
+
{"file":"gx-ide-connect-gx-server.js","mappings":";;;;;;;;;;;;;;;;;AAAA,MAAM,kBAAkB,GAAG,0gWAA0gW;;MCwBxhWA,sBAAoB;;;;;;QAOvB,sBAAiB,GAAG,KAAK,CAAC;;;;QAoF1B,qBAAgB,GAAG;;YACzB,IAAI,MAAA,IAAI,CAAC,UAAU,0CAAE,MAAM,EAAE;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS;oBAClC,OAAO,8BAAqB,SAAS,CAAsB,CAAC;iBAC7D,CAAC,CAAC;aACJ;YACD,OAAO,EAAE,CAAC;SACX,CAAC;QAEM,gCAA2B,GAAG,CACpC,KAAsE;YAEtE,IAAI,CAAC,oBAAoB,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;SACjD,CAAC;QAEM,iCAA4B,GAAG;YACrC,IAAI,IAAI,CAAC,gBAAgB,EAAE;gBACzB,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;aACnC;iBAAM;gBACL,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;aAClC;SACF,CAAC;QAEM,mBAAc,GAAG;YACvB,IAAI,IAAI,CAAC,eAAe,EAAE;gBACxB,IAAI,CAAC,eAAe,CAAC;oBACnB,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK;oBACjC,0BAA0B,EAAE,IAAI,CAAC,4BAA4B,CAAC,OAAO;oBACrE,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;oBAC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AI,CAAC,cAAc,IACvD,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CACxB,CACI,CACf,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["GxIdeConnectGxServer"],"sources":["src/components/connect-gx-server/connect-gx-server.scss?tag=gx-ide-connect-gx-server&encapsulation=shadow","src/components/connect-gx-server/connect-gx-server.tsx"],"sourcesContent":["@import \"../../global/gx-ide-common.scss\";\n@import \"../../global/gx-ide-mixins.scss\";\n\n:host {\n display: block;\n}\n\n.user-details-container {\n display: flex;\n gap: var(--gx-ide-form-items-gap);\n}\n\n.wrapper {\n display: flex;\n flex-direction: column;\n gap: var(--mer-spacing--md);\n}\n","/* STENCIL IMPORTS */\nimport {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State\n} from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { config } from \"../../common/config\";\nimport { Locale } from \"../../common/locale\";\nimport { formSubmitValidation } from \"../../common/form-validation\";\nimport { ConnectionResultData } from \"../../common/types\";\n\n@Component({\n tag: \"gx-ide-connect-gx-server\",\n styleUrl: \"connect-gx-server.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/connect-gx-server\"]\n})\nexport class GxIdeConnectGxServer {\n // 1.OWN PROPERTIES //\n\n /**\n * The component hard-coded strings translations.\n */\n private _componentLocale: any;\n private renderedFirstTime = false;\n\n // 2. REFERENCE TO ELEMENTS //\n\n @Element() el: HTMLGxIdeConnectGxServerElement;\n\n private serverURLEl!: HTMLGxgComboBoxElement;\n private userNameEl!: HTMLGxgFormTextElement;\n private passwordEl!: HTMLGxgFormTextElement;\n private continueWithGeneXusAccountEl!: HTMLGxgFormCheckboxElement;\n\n // 3.STATE() VARIABLES //\n\n //\n @State() displayLoginControls: boolean = false;\n\n // 4.PUBLIC PROPERTY API | WATCH'S //\n\n /**\n * If true it displays the component title on the header\n */\n @Prop() readonly displayTitle = false;\n\n /**\n * Array of cataloged server URLs\n */\n @Prop() readonly serverUrls: string[];\n\n /**\n * 'true' if the user should be allowed to manually enter a server URL in serverUrls.\n */\n @Prop() readonly enableCustomServer: boolean = false;\n\n /**\n * Initial user values for the case in which the user returns to the login modal after a successful authentication.\n */\n @Prop() readonly defaultConnectionData?: GXServerConnectionData;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly enableUserLogged: boolean = false;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly connectCallback: (\n data: GXServerConnectionData\n ) => Promise<ConnectionResultData>;\n\n /**\n * Callback that allows canceling the server connection process.\n */\n @Prop() readonly cancelCallback: () => Promise<void>;\n\n // 5.EVENTS (EMIT) //\n\n /**\n * @description Gets fired when the component has rendered for the first time.\n */\n @Event() componentDidRenderFirstTime: EventEmitter<string>;\n\n // 6.COMPONENT LIFECYCLE METHODS //\n\n async componentWillLoad() {\n this._componentLocale = await Locale.getComponentStrings(this.el);\n this.evaluateDisplayLoginControls();\n }\n\n componentDidRender() {\n if (!this.renderedFirstTime) {\n this.componentDidRenderFirstTime.emit(\n this._componentLocale.componentName\n );\n this.renderedFirstTime = true;\n }\n }\n\n // 7.LISTENERS //\n\n // 8.PUBLIC METHODS API //\n\n // 9.LOCAL METHODS //\n\n private renderServerUrls = (): HTMLGxgComboBoxItemElement[] => {\n if (this.serverUrls?.length) {\n return this.serverUrls.map(serverUrl => {\n return <gxg-combo-box-item>{serverUrl}</gxg-combo-box-item>;\n });\n }\n return [];\n };\n\n private continueWithGxServerHandler = (\n event: CustomEvent<{ id: string; value: boolean; disabled?: boolean }>\n ) => {\n this.displayLoginControls = !event.detail.value;\n };\n\n private evaluateDisplayLoginControls = () => {\n if (this.enableUserLogged) {\n this.displayLoginControls = false;\n } else {\n this.displayLoginControls = true;\n }\n };\n\n private connectHandler = () => {\n if (this.connectCallback) {\n this.connectCallback({\n serverUrl: this.serverURLEl.value,\n continueWithGeneXusAccount: this.continueWithGeneXusAccountEl.checked,\n user: this.userNameEl.value,\n password: this.passwordEl.value\n }).then((formSubmitResult: ConnectionResultData) => {\n console.log(formSubmitResult);\n formSubmitValidation(formSubmitResult, this);\n });\n }\n };\n\n // 10.RENDER() FUNCTION //\n\n render() {\n return (\n <Host class=\"gx-ide-component\">\n <div class=\"gx-ide-main-wrapper\">\n <gx-ide-container\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n >\n <div class=\"wrapper\">\n {/* server url */}\n <gxg-combo-box\n label={this._componentLocale.main.serverUrl}\n disableFilter={!this.enableCustomServer}\n value={this.defaultConnectionData?.serverUrl}\n ref={el => (this.serverURLEl = el as HTMLGxgComboBoxElement)}\n toolTip={config.tooltip}\n >\n {this.renderServerUrls()}\n </gxg-combo-box>\n\n {/* continue with GeneXus account */}\n <gxg-form-checkbox\n label={this._componentLocale.main.continueWithGxAccount}\n onChange={this.continueWithGxServerHandler}\n checked={\n this.defaultConnectionData\n ? this.defaultConnectionData.continueWithGeneXusAccount\n : this.enableUserLogged\n }\n disabled={!this.enableUserLogged}\n ref={el =>\n (this.continueWithGeneXusAccountEl =\n el as HTMLGxgFormCheckboxElement)\n }\n ></gxg-form-checkbox>\n\n {this.displayLoginControls ? (\n <div class=\"user-details-container\">\n {/* username */}\n <gxg-form-text\n label={this._componentLocale.main.userName}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.user}\n ref={el => (this.userNameEl = el as HTMLGxgFormTextElement)}\n toolTip={config.tooltip}\n ></gxg-form-text>\n {/* password */}\n <gxg-form-text\n label={this._componentLocale.main.password}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.password}\n ref={el => (this.passwordEl = el as HTMLGxgFormTextElement)}\n password\n toolTip={config.tooltip}\n ></gxg-form-text>\n </div>\n ) : null}\n </div>\n\n {/* cancel and connect buttons */}\n <gxg-button slot=\"footer-end\" type=\"outlined\">\n {this._componentLocale.main.cancel}\n </gxg-button>\n <gxg-button slot=\"footer-end\" onClick={this.connectHandler}>\n {this._componentLocale.main.connect}\n </gxg-button>\n </gx-ide-container>\n </div>\n </Host>\n );\n }\n}\n\nexport type GXServerConnectionData = {\n serverUrl: string;\n continueWithGeneXusAccount: boolean;\n user: string;\n password: string;\n};\n"],"version":3}
|
|
@@ -3,7 +3,7 @@ import { c as config } from './config-a492e15e.js';
|
|
|
3
3
|
import { L as Locale } from './locale-3c32f251.js';
|
|
4
4
|
import { f as formSubmitValidation } from './form-validation-9367af5a.js';
|
|
5
5
|
|
|
6
|
-
const connectGxServerCss = ":root{--ui-animaton-speed:0.2s}.gxg-title-01{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-01--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-02{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-02--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--color-on-primary)}.gxg-title-03{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-03--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-04{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-04--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-05{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-05--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable)}.gxg-text--negative{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text--gray{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--dimmed)}.gxg-quote{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);font-style:italic}.gxg-quote--negative{color:var(--ds-base-font-color--negative)}.gxg-link{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block}.gxg-link:hover{color:var(--ds-base-font-color--link-hover)}.gxg-link:active{color:var(--ds-base-font-color--link-active)}.gxg-link-gray{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed)}.gxg-link-gray:hover{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed);filter:brightness(1.4)}.gxg-alert-error{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--error);display:inline-block}.gxg-alert-warning{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--warning);display:inline-block}.gxg-alert-success{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--success);display:inline-block}.gxg-tab--disabled{color:var(--color-primary-disabled);pointer-events:none}.gxg-tab--disabled[disabled]{color:var(--color-primary-disabled);pointer-events:none}.gxg-label{font-family:var(--ds-base-font-family-primary);font-weight:var(--gxg-label-font-weight);font-size:var(--gxg-label-font-size);color:var(--gxg-label-color);text-align:center;line-height:1.455em;display:flex;align-items:center}.gxg-label:hover{color:var(--color-primary-hover)}.gxg-label:focus{color:var(--color-primary-active)}.gxg-label:active{color:var(--color-primary-active)}.gxg-label[disabled]{color:var(--color-primary-disabled)}.gxg-label--negative{color:var(--color-on-primary)}.gxg-label--negative[disabled]{color:var(--color-on-disabled)}.gxg-scrollbar{}.gxg-scrollbar::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gxg-scrollbar::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gxg-scrollbar::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gxi-hidden{display:none !important}.gxi-full-height{height:100%}.gxi-overflow-auto{overflow:auto}.gxi-display-flex{display:flex}.align-start{display:flex;align-items:start}.align-center{display:flex;align-items:center}.align-end{display:flex;align-items:end}.overflow-auto{overflow:auto}.justify-start{display:flex;justify-content:start}.justify-center{display:flex;justify-content:center}.justify-end{display:flex;justify-content:end}.grid{display:grid;grid-row-gap:var(--gx-ide-grid-row-gap);grid-column-gap:var(--gx-ide-grid-column-gap);grid-template-rows:auto}ch-grid-cell{display:flex}ch-grid{overflow:auto;height:100%}ch-grid-column{z-index:99;border-bottom:1px solid var(--mer-color__neutral-gray--800)}ch-grid-column:first-child{padding-inline-start:var(--gx-ide-container__padding) !important}ch-grid-column:last-child{padding-inline-end:var(--gx-ide-container__padding) !important}ch-grid-cell{--mer-spacing--xs:var(--gx-ide-container__padding)}.layout{display:grid;gap:var(--mer-spacing--lg);box-sizing:border-box}.layout--two-cols{grid-template-columns:1fr 1fr}.layout--space-above{padding-block-start:var(--mer-spacing--lg)}gxg-tabs{box-shadow:none}:host(.gx-ide-component){height:100% !important;display:flex !important;flex-direction:column !important}:host(:focus-within) gx-ide-top-bar::part(wrapper){background-color:var(--color-secondary-enabled)}.gx-ide-main-wrapper{color:var(--gx-ide-component-text-color);font-weight:var(--mer-font__weight--regular);font-size:var(--mer-font__size--xs);font-family:var(--mer-font-family--primary);height:100%;background-color:var(--gx-ide-component-background-color);display:flex;flex-direction:column;flex-grow:1;box-sizing:border-box}.gx-ide-main{flex-grow:1;overflow-y:auto;}.gx-ide-main::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-main::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-main::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-main::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-main::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gx-ide-overflow{overflow-y:auto;}.gx-ide-overflow::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-overflow::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-overflow::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.tree-container{display:flex;height:100%;width:100%;box-sizing:border-box}p{margin:0}:host{display:block}.user-details-container{display:flex;gap:var(--gx-ide-form-items-gap)}";
|
|
6
|
+
const connectGxServerCss = ":root{--ui-animaton-speed:0.2s}.gxg-title-01{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-01--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-02{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-02--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--color-on-primary)}.gxg-title-03{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-03--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-04{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-04--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-05{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-05--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable)}.gxg-text--negative{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text--gray{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--dimmed)}.gxg-quote{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);font-style:italic}.gxg-quote--negative{color:var(--ds-base-font-color--negative)}.gxg-link{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block}.gxg-link:hover{color:var(--ds-base-font-color--link-hover)}.gxg-link:active{color:var(--ds-base-font-color--link-active)}.gxg-link-gray{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed)}.gxg-link-gray:hover{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed);filter:brightness(1.4)}.gxg-alert-error{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--error);display:inline-block}.gxg-alert-warning{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--warning);display:inline-block}.gxg-alert-success{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--success);display:inline-block}.gxg-tab--disabled{color:var(--color-primary-disabled);pointer-events:none}.gxg-tab--disabled[disabled]{color:var(--color-primary-disabled);pointer-events:none}.gxg-label{font-family:var(--ds-base-font-family-primary);font-weight:var(--gxg-label-font-weight);font-size:var(--gxg-label-font-size);color:var(--gxg-label-color);text-align:center;line-height:1.455em;display:flex;align-items:center}.gxg-label:hover{color:var(--color-primary-hover)}.gxg-label:focus{color:var(--color-primary-active)}.gxg-label:active{color:var(--color-primary-active)}.gxg-label[disabled]{color:var(--color-primary-disabled)}.gxg-label--negative{color:var(--color-on-primary)}.gxg-label--negative[disabled]{color:var(--color-on-disabled)}.gxg-scrollbar{}.gxg-scrollbar::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gxg-scrollbar::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gxg-scrollbar::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gxi-hidden{display:none !important}.gxi-full-height{height:100%}.gxi-overflow-auto{overflow:auto}.gxi-display-flex{display:flex}.align-start{display:flex;align-items:start}.align-center{display:flex;align-items:center}.align-end{display:flex;align-items:end}.overflow-auto{overflow:auto}.justify-start{display:flex;justify-content:start}.justify-center{display:flex;justify-content:center}.justify-end{display:flex;justify-content:end}.grid{display:grid;grid-row-gap:var(--gx-ide-grid-row-gap);grid-column-gap:var(--gx-ide-grid-column-gap);grid-template-rows:auto}ch-grid-cell{display:flex}ch-grid{overflow:auto;height:100%}ch-grid-column{z-index:99;border-bottom:1px solid var(--mer-color__neutral-gray--800)}ch-grid-column:first-child{padding-inline-start:var(--gx-ide-container__padding) !important}ch-grid-column:last-child{padding-inline-end:var(--gx-ide-container__padding) !important}ch-grid-cell{--mer-spacing--xs:var(--gx-ide-container__padding)}.layout{display:grid;gap:var(--mer-spacing--lg);box-sizing:border-box}.layout--two-cols{grid-template-columns:1fr 1fr}.layout--space-above{padding-block-start:var(--mer-spacing--lg)}gxg-tabs{box-shadow:none}:host(.gx-ide-component){height:100% !important;display:flex !important;flex-direction:column !important}:host(:focus-within) gx-ide-top-bar::part(wrapper){background-color:var(--color-secondary-enabled)}.gx-ide-main-wrapper{color:var(--gx-ide-component-text-color);font-weight:var(--mer-font__weight--regular);font-size:var(--mer-font__size--xs);font-family:var(--mer-font-family--primary);height:100%;background-color:var(--gx-ide-component-background-color);display:flex;flex-direction:column;flex-grow:1;box-sizing:border-box}.gx-ide-main{flex-grow:1;overflow-y:auto;}.gx-ide-main::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-main::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-main::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-main::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-main::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gx-ide-overflow{overflow-y:auto;}.gx-ide-overflow::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-overflow::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-overflow::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.tree-container{display:flex;height:100%;width:100%;box-sizing:border-box}p{margin:0}:host{display:block}.user-details-container{display:flex;gap:var(--gx-ide-form-items-gap)}.wrapper{display:flex;flex-direction:column;gap:var(--mer-spacing--md)}";
|
|
7
7
|
|
|
8
8
|
const GxIdeConnectGxServer = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -69,10 +69,10 @@ const GxIdeConnectGxServer = class {
|
|
|
69
69
|
// 10.RENDER() FUNCTION //
|
|
70
70
|
render() {
|
|
71
71
|
var _a;
|
|
72
|
-
return (h(Host, { class: "gx-ide-component" }, h("div", { class: "gx-ide-main-wrapper" }, h("gx-ide-container", { containerTitle: this.displayTitle ? this._componentLocale.componentName : null, slimmerFooter: config.gxIdeContainer.slimmerFooter }, h("gxg-combo-box", { label: this._componentLocale.main.serverUrl, disableFilter: !this.enableCustomServer, value: (_a = this.defaultConnectionData) === null || _a === void 0 ? void 0 : _a.serverUrl, ref: el => (this.serverURLEl = el), toolTip: config.tooltip }, this.renderServerUrls()), h("gxg-form-checkbox", { label: this._componentLocale.main.continueWithGxAccount, onChange: this.continueWithGxServerHandler, checked: this.defaultConnectionData
|
|
72
|
+
return (h(Host, { class: "gx-ide-component" }, h("div", { class: "gx-ide-main-wrapper" }, h("gx-ide-container", { containerTitle: this.displayTitle ? this._componentLocale.componentName : null, slimmerFooter: config.gxIdeContainer.slimmerFooter }, h("div", { class: "wrapper" }, h("gxg-combo-box", { label: this._componentLocale.main.serverUrl, disableFilter: !this.enableCustomServer, value: (_a = this.defaultConnectionData) === null || _a === void 0 ? void 0 : _a.serverUrl, ref: el => (this.serverURLEl = el), toolTip: config.tooltip }, this.renderServerUrls()), h("gxg-form-checkbox", { label: this._componentLocale.main.continueWithGxAccount, onChange: this.continueWithGxServerHandler, checked: this.defaultConnectionData
|
|
73
73
|
? this.defaultConnectionData.continueWithGeneXusAccount
|
|
74
74
|
: this.enableUserLogged, disabled: !this.enableUserLogged, ref: el => (this.continueWithGeneXusAccountEl =
|
|
75
|
-
el) }), this.displayLoginControls ? (h("div", { class: "user-details-container" }, h("gxg-form-text", { label: this._componentLocale.main.userName, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.user, ref: el => (this.userNameEl = el), toolTip: config.tooltip }), h("gxg-form-text", { label: this._componentLocale.main.password, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.password, ref: el => (this.passwordEl = el), password: true, toolTip: config.tooltip }))) : null, h("gxg-button", { slot: "footer-end", type: "outlined" }, this._componentLocale.main.cancel), h("gxg-button", { slot: "footer-end", onClick: this.connectHandler }, this._componentLocale.main.connect)))));
|
|
75
|
+
el) }), this.displayLoginControls ? (h("div", { class: "user-details-container" }, h("gxg-form-text", { label: this._componentLocale.main.userName, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.user, ref: el => (this.userNameEl = el), toolTip: config.tooltip }), h("gxg-form-text", { label: this._componentLocale.main.password, labelPosition: "above", disabled: !this.displayLoginControls, value: this.defaultConnectionData.password, ref: el => (this.passwordEl = el), password: true, toolTip: config.tooltip }))) : null), h("gxg-button", { slot: "footer-end", type: "outlined" }, this._componentLocale.main.cancel), h("gxg-button", { slot: "footer-end", onClick: this.connectHandler }, this._componentLocale.main.connect)))));
|
|
76
76
|
}
|
|
77
77
|
static get assetsDirs() { return ["gx-ide-assets/connect-gx-server"]; }
|
|
78
78
|
get el() { return getElement(this); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"gx-ide-connect-gx-server.entry.js","mappings":";;;;;AAAA,MAAM,kBAAkB,GAAG,m8VAAm8V;;MCwBj9V,oBAAoB;;;;QAOvB,sBAAiB,GAAG,KAAK,CAAC;;;;QAoF1B,qBAAgB,GAAG;;YACzB,IAAI,MAAA,IAAI,CAAC,UAAU,0CAAE,MAAM,EAAE;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS;oBAClC,OAAO,8BAAqB,SAAS,CAAsB,CAAC;iBAC7D,CAAC,CAAC;aACJ;YACD,OAAO,EAAE,CAAC;SACX,CAAC;QAEM,gCAA2B,GAAG,CACpC,KAAsE;YAEtE,IAAI,CAAC,oBAAoB,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;SACjD,CAAC;QAEM,iCAA4B,GAAG;YACrC,IAAI,IAAI,CAAC,gBAAgB,EAAE;gBACzB,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;aACnC;iBAAM;gBACL,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;aAClC;SACF,CAAC;QAEM,mBAAc,GAAG;YACvB,IAAI,IAAI,CAAC,eAAe,EAAE;gBACxB,IAAI,CAAC,eAAe,CAAC;oBACnB,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK;oBACjC,0BAA0B,EAAE,IAAI,CAAC,4BAA4B,CAAC,OAAO;oBACrE,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;oBAC3B,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;iBAChC,CAAC,CAAC,IAAI,CAAC,CAAC,gBAAsC;oBAC7C,OAAO,CAAC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=gx-ide-connect-gx-server&encapsulation=shadow","src/components/connect-gx-server/connect-gx-server.tsx"],"sourcesContent":["@import \"../../global/gx-ide-common.scss\";\n@import \"../../global/gx-ide-mixins.scss\";\n\n:host {\n display: block;\n}\n\n.user-details-container {\n display: flex;\n gap: var(--gx-ide-form-items-gap);\n}\n","/* STENCIL IMPORTS */\nimport {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State\n} from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { config } from \"../../common/config\";\nimport { Locale } from \"../../common/locale\";\nimport { formSubmitValidation } from \"../../common/form-validation\";\nimport { ConnectionResultData } from \"../../common/types\";\n\n@Component({\n tag: \"gx-ide-connect-gx-server\",\n styleUrl: \"connect-gx-server.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/connect-gx-server\"]\n})\nexport class GxIdeConnectGxServer {\n // 1.OWN PROPERTIES //\n\n /**\n * The component hard-coded strings translations.\n */\n private _componentLocale: any;\n private renderedFirstTime = false;\n\n // 2. REFERENCE TO ELEMENTS //\n\n @Element() el: HTMLGxIdeConnectGxServerElement;\n\n private serverURLEl!: HTMLGxgComboBoxElement;\n private userNameEl!: HTMLGxgFormTextElement;\n private passwordEl!: HTMLGxgFormTextElement;\n private continueWithGeneXusAccountEl!: HTMLGxgFormCheckboxElement;\n\n // 3.STATE() VARIABLES //\n\n //\n @State() displayLoginControls: boolean = false;\n\n // 4.PUBLIC PROPERTY API | WATCH'S //\n\n /**\n * If true it displays the component title on the header\n */\n @Prop() readonly displayTitle = false;\n\n /**\n * Array of cataloged server URLs\n */\n @Prop() readonly serverUrls: string[];\n\n /**\n * 'true' if the user should be allowed to manually enter a server URL in serverUrls.\n */\n @Prop() readonly enableCustomServer: boolean = false;\n\n /**\n * Initial user values for the case in which the user returns to the login modal after a successful authentication.\n */\n @Prop() readonly defaultConnectionData?: GXServerConnectionData;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly enableUserLogged: boolean = false;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly connectCallback: (\n data: GXServerConnectionData\n ) => Promise<ConnectionResultData>;\n\n /**\n * Callback that allows canceling the server connection process.\n */\n @Prop() readonly cancelCallback: () => Promise<void>;\n\n // 5.EVENTS (EMIT) //\n\n /**\n * @description Gets fired when the component has rendered for the first time.\n */\n @Event() componentDidRenderFirstTime: EventEmitter<string>;\n\n // 6.COMPONENT LIFECYCLE METHODS //\n\n async componentWillLoad() {\n this._componentLocale = await Locale.getComponentStrings(this.el);\n this.evaluateDisplayLoginControls();\n }\n\n componentDidRender() {\n if (!this.renderedFirstTime) {\n this.componentDidRenderFirstTime.emit(\n this._componentLocale.componentName\n );\n this.renderedFirstTime = true;\n }\n }\n\n // 7.LISTENERS //\n\n // 8.PUBLIC METHODS API //\n\n // 9.LOCAL METHODS //\n\n private renderServerUrls = (): HTMLGxgComboBoxItemElement[] => {\n if (this.serverUrls?.length) {\n return this.serverUrls.map(serverUrl => {\n return <gxg-combo-box-item>{serverUrl}</gxg-combo-box-item>;\n });\n }\n return [];\n };\n\n private continueWithGxServerHandler = (\n event: CustomEvent<{ id: string; value: boolean; disabled?: boolean }>\n ) => {\n this.displayLoginControls = !event.detail.value;\n };\n\n private evaluateDisplayLoginControls = () => {\n if (this.enableUserLogged) {\n this.displayLoginControls = false;\n } else {\n this.displayLoginControls = true;\n }\n };\n\n private connectHandler = () => {\n if (this.connectCallback) {\n this.connectCallback({\n serverUrl: this.serverURLEl.value,\n continueWithGeneXusAccount: this.continueWithGeneXusAccountEl.checked,\n user: this.userNameEl.value,\n password: this.passwordEl.value\n }).then((formSubmitResult: ConnectionResultData) => {\n console.log(formSubmitResult);\n formSubmitValidation(formSubmitResult, this);\n });\n }\n };\n\n // 10.RENDER() FUNCTION //\n\n render() {\n return (\n <Host class=\"gx-ide-component\">\n <div class=\"gx-ide-main-wrapper\">\n <gx-ide-container\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n >\n {/* server url */}\n <gxg-combo-box\n label={this._componentLocale.main.serverUrl}\n disableFilter={!this.enableCustomServer}\n value={this.defaultConnectionData?.serverUrl}\n ref={el => (this.serverURLEl = el as HTMLGxgComboBoxElement)}\n toolTip={config.tooltip}\n >\n {this.renderServerUrls()}\n </gxg-combo-box>\n\n {/* continue with GeneXus account */}\n <gxg-form-checkbox\n label={this._componentLocale.main.continueWithGxAccount}\n onChange={this.continueWithGxServerHandler}\n checked={\n this.defaultConnectionData\n ? this.defaultConnectionData.continueWithGeneXusAccount\n : this.enableUserLogged\n }\n disabled={!this.enableUserLogged}\n ref={el =>\n (this.continueWithGeneXusAccountEl =\n el as HTMLGxgFormCheckboxElement)\n }\n ></gxg-form-checkbox>\n\n {this.displayLoginControls ? (\n <div class=\"user-details-container\">\n {/* username */}\n <gxg-form-text\n label={this._componentLocale.main.userName}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.user}\n ref={el => (this.userNameEl = el as HTMLGxgFormTextElement)}\n toolTip={config.tooltip}\n ></gxg-form-text>\n {/* password */}\n <gxg-form-text\n label={this._componentLocale.main.password}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.password}\n ref={el => (this.passwordEl = el as HTMLGxgFormTextElement)}\n password\n toolTip={config.tooltip}\n ></gxg-form-text>\n </div>\n ) : null}\n\n {/* cancel and connect buttons */}\n <gxg-button slot=\"footer-end\" type=\"outlined\">\n {this._componentLocale.main.cancel}\n </gxg-button>\n <gxg-button slot=\"footer-end\" onClick={this.connectHandler}>\n {this._componentLocale.main.connect}\n </gxg-button>\n </gx-ide-container>\n </div>\n </Host>\n );\n }\n}\n\nexport type GXServerConnectionData = {\n serverUrl: string;\n continueWithGeneXusAccount: boolean;\n user: string;\n password: string;\n};\n"],"version":3}
|
|
1
|
+
{"file":"gx-ide-connect-gx-server.entry.js","mappings":";;;;;AAAA,MAAM,kBAAkB,GAAG,0gWAA0gW;;MCwBxhW,oBAAoB;;;;QAOvB,sBAAiB,GAAG,KAAK,CAAC;;;;QAoF1B,qBAAgB,GAAG;;YACzB,IAAI,MAAA,IAAI,CAAC,UAAU,0CAAE,MAAM,EAAE;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS;oBAClC,OAAO,8BAAqB,SAAS,CAAsB,CAAC;iBAC7D,CAAC,CAAC;aACJ;YACD,OAAO,EAAE,CAAC;SACX,CAAC;QAEM,gCAA2B,GAAG,CACpC,KAAsE;YAEtE,IAAI,CAAC,oBAAoB,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;SACjD,CAAC;QAEM,iCAA4B,GAAG;YACrC,IAAI,IAAI,CAAC,gBAAgB,EAAE;gBACzB,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;aACnC;iBAAM;gBACL,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;aAClC;SACF,CAAC;QAEM,mBAAc,GAAG;YACvB,IAAI,IAAI,CAAC,eAAe,EAAE;gBACxB,IAAI,CAAC,eAAe,CAAC;oBACnB,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK;oBACjC,0BAA0B,EAAE,IAAI,CAAC,4BAA4B,CAAC,OAAO;oBACrE,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;oBAC3B,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;iBAChC,CAAC,CAAC,IAAI,CAAC,CAAC,gBAAsC;oBAC7C,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;oBAC9B,oBAAoB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-server&encapsulation=shadow","src/components/connect-gx-server/connect-gx-server.tsx"],"sourcesContent":["@import \"../../global/gx-ide-common.scss\";\n@import \"../../global/gx-ide-mixins.scss\";\n\n:host {\n display: block;\n}\n\n.user-details-container {\n display: flex;\n gap: var(--gx-ide-form-items-gap);\n}\n\n.wrapper {\n display: flex;\n flex-direction: column;\n gap: var(--mer-spacing--md);\n}\n","/* STENCIL IMPORTS */\nimport {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State\n} from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { config } from \"../../common/config\";\nimport { Locale } from \"../../common/locale\";\nimport { formSubmitValidation } from \"../../common/form-validation\";\nimport { ConnectionResultData } from \"../../common/types\";\n\n@Component({\n tag: \"gx-ide-connect-gx-server\",\n styleUrl: \"connect-gx-server.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/connect-gx-server\"]\n})\nexport class GxIdeConnectGxServer {\n // 1.OWN PROPERTIES //\n\n /**\n * The component hard-coded strings translations.\n */\n private _componentLocale: any;\n private renderedFirstTime = false;\n\n // 2. REFERENCE TO ELEMENTS //\n\n @Element() el: HTMLGxIdeConnectGxServerElement;\n\n private serverURLEl!: HTMLGxgComboBoxElement;\n private userNameEl!: HTMLGxgFormTextElement;\n private passwordEl!: HTMLGxgFormTextElement;\n private continueWithGeneXusAccountEl!: HTMLGxgFormCheckboxElement;\n\n // 3.STATE() VARIABLES //\n\n //\n @State() displayLoginControls: boolean = false;\n\n // 4.PUBLIC PROPERTY API | WATCH'S //\n\n /**\n * If true it displays the component title on the header\n */\n @Prop() readonly displayTitle = false;\n\n /**\n * Array of cataloged server URLs\n */\n @Prop() readonly serverUrls: string[];\n\n /**\n * 'true' if the user should be allowed to manually enter a server URL in serverUrls.\n */\n @Prop() readonly enableCustomServer: boolean = false;\n\n /**\n * Initial user values for the case in which the user returns to the login modal after a successful authentication.\n */\n @Prop() readonly defaultConnectionData?: GXServerConnectionData;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly enableUserLogged: boolean = false;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly connectCallback: (\n data: GXServerConnectionData\n ) => Promise<ConnectionResultData>;\n\n /**\n * Callback that allows canceling the server connection process.\n */\n @Prop() readonly cancelCallback: () => Promise<void>;\n\n // 5.EVENTS (EMIT) //\n\n /**\n * @description Gets fired when the component has rendered for the first time.\n */\n @Event() componentDidRenderFirstTime: EventEmitter<string>;\n\n // 6.COMPONENT LIFECYCLE METHODS //\n\n async componentWillLoad() {\n this._componentLocale = await Locale.getComponentStrings(this.el);\n this.evaluateDisplayLoginControls();\n }\n\n componentDidRender() {\n if (!this.renderedFirstTime) {\n this.componentDidRenderFirstTime.emit(\n this._componentLocale.componentName\n );\n this.renderedFirstTime = true;\n }\n }\n\n // 7.LISTENERS //\n\n // 8.PUBLIC METHODS API //\n\n // 9.LOCAL METHODS //\n\n private renderServerUrls = (): HTMLGxgComboBoxItemElement[] => {\n if (this.serverUrls?.length) {\n return this.serverUrls.map(serverUrl => {\n return <gxg-combo-box-item>{serverUrl}</gxg-combo-box-item>;\n });\n }\n return [];\n };\n\n private continueWithGxServerHandler = (\n event: CustomEvent<{ id: string; value: boolean; disabled?: boolean }>\n ) => {\n this.displayLoginControls = !event.detail.value;\n };\n\n private evaluateDisplayLoginControls = () => {\n if (this.enableUserLogged) {\n this.displayLoginControls = false;\n } else {\n this.displayLoginControls = true;\n }\n };\n\n private connectHandler = () => {\n if (this.connectCallback) {\n this.connectCallback({\n serverUrl: this.serverURLEl.value,\n continueWithGeneXusAccount: this.continueWithGeneXusAccountEl.checked,\n user: this.userNameEl.value,\n password: this.passwordEl.value\n }).then((formSubmitResult: ConnectionResultData) => {\n console.log(formSubmitResult);\n formSubmitValidation(formSubmitResult, this);\n });\n }\n };\n\n // 10.RENDER() FUNCTION //\n\n render() {\n return (\n <Host class=\"gx-ide-component\">\n <div class=\"gx-ide-main-wrapper\">\n <gx-ide-container\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n >\n <div class=\"wrapper\">\n {/* server url */}\n <gxg-combo-box\n label={this._componentLocale.main.serverUrl}\n disableFilter={!this.enableCustomServer}\n value={this.defaultConnectionData?.serverUrl}\n ref={el => (this.serverURLEl = el as HTMLGxgComboBoxElement)}\n toolTip={config.tooltip}\n >\n {this.renderServerUrls()}\n </gxg-combo-box>\n\n {/* continue with GeneXus account */}\n <gxg-form-checkbox\n label={this._componentLocale.main.continueWithGxAccount}\n onChange={this.continueWithGxServerHandler}\n checked={\n this.defaultConnectionData\n ? this.defaultConnectionData.continueWithGeneXusAccount\n : this.enableUserLogged\n }\n disabled={!this.enableUserLogged}\n ref={el =>\n (this.continueWithGeneXusAccountEl =\n el as HTMLGxgFormCheckboxElement)\n }\n ></gxg-form-checkbox>\n\n {this.displayLoginControls ? (\n <div class=\"user-details-container\">\n {/* username */}\n <gxg-form-text\n label={this._componentLocale.main.userName}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.user}\n ref={el => (this.userNameEl = el as HTMLGxgFormTextElement)}\n toolTip={config.tooltip}\n ></gxg-form-text>\n {/* password */}\n <gxg-form-text\n label={this._componentLocale.main.password}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.password}\n ref={el => (this.passwordEl = el as HTMLGxgFormTextElement)}\n password\n toolTip={config.tooltip}\n ></gxg-form-text>\n </div>\n ) : null}\n </div>\n\n {/* cancel and connect buttons */}\n <gxg-button slot=\"footer-end\" type=\"outlined\">\n {this._componentLocale.main.cancel}\n </gxg-button>\n <gxg-button slot=\"footer-end\" onClick={this.connectHandler}>\n {this._componentLocale.main.connect}\n </gxg-button>\n </gx-ide-container>\n </div>\n </Host>\n );\n }\n}\n\nexport type GXServerConnectionData = {\n serverUrl: string;\n continueWithGeneXusAccount: boolean;\n user: string;\n password: string;\n};\n"],"version":3}
|
|
@@ -13,5 +13,5 @@ export { s as setNonce } from "./p-48217969.js";
|
|
|
13
13
|
return e(a);
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
patchBrowser().then((e => t(JSON.parse('[["p-f067657f",[[1,"gx-ide-team-dev-update",{"displayTitle":[4,"display-title"],"confirmCallback":[16],"gridContextMenuCallback":[16],"loadCallback":[16],"objectsScopeCallback":[16],"openServerCallback":[16],"pendingItemsCheckedCallback":[16],"revisionScopeCallback":[16],"objectsContextMenuCallback":[16],"selectCallback":[16],"types":[16],"updateCallback":[16],"updateFrom":[16],"isLoading":[32],"objectScopeText":[32],"openTab":[32],"revisionScopeText":[32],"showFilter":[32],"updateData":[32],"updateResultData":[32],"reload":[64]}]]],["p-34850af1",[[1,"gx-ide-manage-module-references",{"displayTitle":[4,"display-title"],"servers":[16],"serverSelectedCallback":[16],"executeActionCallback":[16],"addServerCallback":[16],"serverContextMenuCallback":[16],"showServerCommands":[4,"show-server-commands"],"modulesAll":[32],"filteredModules":[32],"selectedModule":[32],"selectedServerId":[32],"selectedModuleAction":[32],"modulesSelectedVersion":[32],"actionCompleted":[32],"closeProgressBar":[32],"progressValue":[32],"progressState":[32],"loadingServer":[32],"reRenderCounter":[32],"validate":[64]},null,{"modulesAll":["modulesAllWatcher","onPropValueChange"],"loadingServer":["loadingServerHandler"]}]]],["p-d0a8d025",[[1,"gx-ide-manage-module-references-v2",{"displayTitle":[4,"display-title"],"servers":[16],"serverSelectedCallback":[16],"executeActionCallback":[16],"serverContextMenuCallback":[16],"showServerCommands":[4,"show-server-commands"],"searchModulesFilterValue":[32],"selectedButtonFilter":[32],"serverModules":[32],"serverModulesExtended":[32],"filteredServerModules":[32],"modulesMap":[32],"selectedModule":[32],"selectedServerId":[32],"selectedModuleAction":[32],"modulesSelectedVersionMap":[32],"actionCompleted":[32],"closeProgressBar":[32],"progressValue":[32],"progressState":[32],"loadingServer":[32]},null,{"loadingServer":["loadingServerHandler"]}]]],["p-debee72d",[[17,"gx-ide-object-selector",{"displayTitle":[4,"display-title"],"loader":[4],"multiSelection":[4,"multi-selection"],"patternValue":[1,"pattern-value"],"types":[16],"defaultType":[1,"default-type"],"categories":[16],"defaultCategory":[1,"default-category"],"defaultModule":[16],"selectModuleCallback":[16],"cancelCallback":[16],"loadCallback":[16],"newObjectCallback":[16],"openSelectionCallback":[16],"filterAfterType":[32],"filterModified":[32],"objects":[32],"selectedObjectsIds":[32],"suspendShortcuts":[64],"validate":[64]}]]],["p-b4294776",[[1,"gx-ide-bpm-app-declaration",{"displayTitle":[4,"display-title"],"application":[1040],"suggestApplicationsCallback":[16],"selectApplicationCallback":[16],"selectMappingCallback":[16],"confirmCallback":[16],"cancelCallback":[16],"getDataMappingCallback":[16],"suggestedApplications":[32]},null,{"application":["watchApplicationHandler"]}]]],["p-a7e13b00",[[1,"gx-ide-team-dev-commit",{"displayTitle":[4,"display-title"],"changeSet":[16],"types":[16],"folders":[16],"categories":[16],"getRecentCommentCallback":[16],"loadCallback":[16],"commitCallback":[16],"selectCallback":[16],"pendingItemsCheckedCallback":[16],"objectsContextMenuCallback":[16],"filtersHidden":[32],"comment":[32],"pendingCommits":[32],"ignoredObjects":[32],"commitButtonEnabled":[32],"filterHasConditions":[32],"reload":[64]}]]],["p-6719090c",[[1,"gx-ide-ww-images",{"displayTitle":[4,"display-title"],"secondaryFilter":[4,"secondary-filter"],"categories":[16],"densities":[16],"defaultCategory":[1,"default-category"],"defaultModule":[16],"defaultType":[1,"default-type"],"filterModules":[16],"languages":[16],"layers":[16],"contextMenuCallback":[16],"deleteSelectionCallback":[16],"loadCallback":[16],"loadImageItemsCallback":[16],"newObjectCallback":[16],"openSelectionCallback":[16],"selectModuleCallback":[16],"selectionObjectChangedCallback":[16],"shadow":[4],"styles":[16],"types":[16],"filtersHidden":[32],"filterAfterType":[32],"filterModified":[32],"images":[32],"filteredImages":[32],"imagesSelectedItems":[32],"selectedObjectsIds":[32],"filterImagesInputValue":[32],"validate":[64],"reload":[64]},[[1,"keydown","keyDownHandler"]],{"filtersHidden":["filtersHiddenHandler"]}]]],["p-8eb7131d",[[1,"gx-ide-import-from-design",{"displayTitle":[4,"display-title"],"extensions":[1],"defaultModule":[16],"selectModuleCallback":[16],"cancelCallback":[16],"confirmCallback":[16],"loadCallback":[16],"loadDesignSystemCallback":[16],"loadFontCallback":[16],"loadImageCallback":[16],"loadPanelDataCallback":[16],"requiresAccessTokenCallback":[16],"shadow":[4],"styles":[16],"textEditorFactoryCallback":[16],"designData":[32],"detailTreeModel":[32],"isLoading":[32],"messages":[32],"path":[32],"selectedFile":[32],"selectedDesignType":[32],"selectedDesignItem":[32],"showAccessToken":[32],"designDataTreeDataModel":[32],"updateTabsActiveTab":[32],"fitImages":[32],"shrinkTree":[32],"shrunkenTree":[32],"treeSh":[32],"validate":[64]},null,{"designData":["watchDesignDataHandler"],"shrinkTree":["watchShrinkTreeHandler"],"messages":["watchMessagesHandler"]}]]],["p-da209fe0",[[17,"gx-ide-data-selector",{"displayTitle":[4,"display-title"],"loader":[4],"selectionType":[1,"selection-type"],"selectObjectCallback":[16],"editCallback":[16],"cancelCallback":[16],"loadItemsCallback":[16],"newVariableCallback":[16],"confirmCallback":[16],"objects":[32],"selectedObjectsIds":[32],"suspendShortcuts":[64],"validate":[64]}]]],["p-e7f542e1",[[1,"gx-ide-new-environment",{"displayTitle":[4,"display-title"],"cancelCallback":[16],"createCallback":[16],"dataStores":[1040],"disableAdvanced":[4,"disable-advanced"],"environmentName":[1025,"environment-name"],"frontEnds":[1040],"getEnvironmentNameCallback":[16],"getFrontEndsCallback":[16],"getDataSourcesCallback":[16],"isAdvanced":[4,"is-advanced"],"languages":[16],"runtimes":[16],"setAsTarget":[4,"set-as-target"],"suspendShortcuts":[64]}]]],["p-8a27e8df",[[1,"gx-ide-references",{"displayTitle":[4,"display-title"],"selectedObject":[1040],"selectorSourceCallback":[16],"loadReferencesCallback":[16],"openObjectCallback":[16],"openSelectorDialogCallback":[16],"selectReferenceCallback":[16],"referencedByTreeData":[32],"referencesToTreeData":[32],"barHidden":[32],"objectsSuggestions":[32]},null,{"selectedObject":["selectedObjectHandler"]}]]],["p-7083d9d7",[[1,"gx-ide-kb-manager-import",{"displayTitle":[4,"display-title"],"topStateBar":[4,"top-state-bar"],"selectedFile":[1040],"optionsCallback":[16],"importCallback":[16],"loadCallback":[16],"cancelCallback":[16],"statusMinimal":[4,"status-minimal"],"objectContextMenuCallback":[16],"checkedObjectsIds":[32],"noObjects":[32],"showHiddenImportsMessage":[32],"statusInfo":[32],"objectsTreeState":[32],"importStatusMessage":[32],"someStatusVisible":[32],"noImport":[32],"importTreeState":[32],"importingIsInProcess":[32],"addResultItem":[64]},null,{"objectsTreeState":["watchObjectsTreeStateHandler"],"importTreeState":["watchImportTreeStateHandler"],"importingIsInProcess":["watchImportingIsInProcessHandler"],"selectedFile":["watchSelectedFileHandler"]}]]],["p-6d06451e",[[1,"gx-ide-new-kb",{"displayTitle":[4,"display-title"],"defaultDataSources":[1040],"frontEnds":[1040],"isAdvanced":[4,"is-advanced"],"kbLocation":[1025,"kb-location"],"selectLocationCallback":[16],"kbName":[1,"kb-name"],"prototypingEnvironments":[16],"prototypingTargets":[16],"userInterfaceLanguages":[16],"authenticationTypes":[16],"collations":[16],"createDataFilesInKBFolder":[4,"create-data-files-in-k-b-folder"],"databaseName":[1,"database-name"],"password":[1],"savePassword":[4,"save-password"],"serverNames":[16],"userName":[1,"user-name"],"test":[1],"createCallback":[16],"cancelCallback":[16],"getDataSourcesCallback":[16],"getFrontEndsCallback":[16],"createDataInKbDisabled":[32],"userNameVisible":[32],"passwordVisible":[32],"savePasswordVisible":[32],"suspendShortcuts":[64]}]]],["p-11d2e597",[[1,"gx-ide-kb-manager-export",{"displayTitle":[4,"display-title"],"fileName":[1,"file-name"],"loader":[4],"kbPropertiesTypes":[16],"objectTypes":[16],"exportFileDirectoryCallback":[16],"optionsCallback":[16],"addKBPropertiesCallback":[16],"addReferencesCallback":[16],"addObjectsCallback":[16],"exportCallback":[16],"cancelCallback":[16],"exportAllIsChecked":[32],"addKbPropertiesIsChecked":[32],"checkedObjectsIds":[32],"noObjects":[32],"treeModel":[32],"exportingIsInProcess":[32]},null,{"treeModel":["watchTreeModelHandler"],"exportingIsInProcess":["watchExportingIsInProcessHandler"],"objectTypes":["watchObjectTypesHandler"]}]]],["p-9a8f3b43",[[1,"gx-ide-create-kb-from-server",{"displayTitle":[4,"display-title"],"connectCallback":[16],"createKBCallback":[16],"enableCustomServer":[4,"enable-custom-server"],"kbName":[1025,"kb-name"],"password":[1],"serverUrls":[16],"userName":[1,"user-name"],"selectionKbDisabled":[32],"kbs":[32],"kbSearchText":[32]},null,{"kbs":["watchPropHandler"]}]]],["p-0fd26289",[[1,"gx-ide-team-dev-update-partial-selection",{"displayTitle":[4,"display-title"],"addCallback":[16],"cancelCallback":[16],"confirmCallback":[16],"selection":[1040],"selectedObjectsIds":[32],"validate":[64]}]]],["p-6cb14be6",[[17,"gx-ide-new-object",{"displayTitle":[4,"display-title"],"shadow":[4],"typeCategories":[16],"parent":[16],"defaultParent":[16],"defaultTypeId":[1,"default-type-id"],"selectModuleCallback":[16],"validateNameCallback":[16],"createCallback":[16],"cancelCallback":[16],"selectedCategory":[32],"selectedType":[32],"nameIsValid":[32],"name":[32],"description":[32],"suspendShortcuts":[64]},null,{"selectedType":["watchSelectedTypeHandler"]}]]],["p-51f2f081",[[1,"gx-ide-share-kb",{"displayTitle":[4,"display-title"],"kbName":[1,"kb-name"],"serverUrls":[16],"enableCustomServer":[4,"enable-custom-server"],"createKBCallback":[16]}]]],["p-8e3edd99",[[0,"gx-grid-chameleon",{"grid":[16],"gridTimestamp":[1026,"grid-timestamp"],"state":[16]},[[0,"selectionChanged","selectionChangedHandler"],[0,"rowClicked","cellClickedHandler"],[0,"pageNavigationRequested","navigateClickedHandler"],[0,"refreshClicked","refreshClickedHandler"],[0,"columnHiddenChanged","columnHiddenChangedHandler"],[0,"columnSizeChanging","columnSizeChangedHandler"],[0,"columnSizeChanged","columnSizeChangedHandler"],[0,"columnFreezeChanged","columnFreezeChangedHandler"],[0,"columnSortChanged","columnSortChangedHandler"],[0,"columnOrderChanged","columnOrderChangedHandler"],[0,"columnSettingsChanged","columnFilterChangedHandler"]],{"state":["controlStateHandler"]}]]],["p-61e4276a",[[1,"gx-ide-start-page",{"news":[16],"kbs":[16],"openKbCallback":[16],"getNewsCallback":[16],"openNewsCallback":[16],"kbsFilterValue":[32],"renderedFirstTime":[32]}]]],["p-b7ad27fe",[[1,"gx-ide-team-dev-update-to-revision",{"displayTitle":[4,"display-title"],"cancelCallback":[16],"confirmCallback":[16],"currentRevision":[1,"current-revision"],"validate":[64]}]]],["p-824b50eb",[[1,"gx-ide-dashboard-home",{"kb":[16],"enableEditKBName":[4,"enable-edit-k-b-name"],"environment":[16],"enableEditEnvironmentName":[4,"enable-edit-environment-name"],"projectDescription":[1,"project-description"],"enableEditDescription":[4,"enable-edit-description"],"recentObjects":[16],"renameKBCallback":[16],"renameEnvironmentCallback":[16],"editDescriptionCallback":[16],"openObjectCallback":[16],"editingEnvName":[32],"editingProjectDescription":[32]},null,{"recentObjects":["recentObjectsHandler"]}]]],["p-8fb3e5b3",[[1,"gx-ide-gam-installation-settings",{"displayTitle":[4,"display-title"],"configurationType":[1,"configuration-type"],"repairCallback":[16],"saveCallback":[16],"cancelCallback":[16],"fileName":[32],"selectedFile":[32],"importingIsInProcess":[32]}]]],["p-904332b2",[[1,"gx-ide-wf-settings",{"displayTitle":[4,"display-title"],"configurationType":[1,"configuration-type"],"saveCallback":[16],"cancelCallback":[16]}]]],["p-874d336e",[[1,"gx-ide-bpm-assign-roles",{"displayTitle":[4,"display-title"],"roles":[16],"assignedRoles":[16],"confirmCallback":[16],"cancelCallback":[16],"unassignedRolesState":[32],"assignedRolesState":[32],"filterUnassignedInput":[32],"filterAssignedInput":[32],"unassignedSelected":[32],"assignedSelected":[32]}]]],["p-27640de6",[[1,"gx-ide-connect-gx-server",{"displayTitle":[4,"display-title"],"serverUrls":[16],"enableCustomServer":[4,"enable-custom-server"],"defaultConnectionData":[16],"enableUserLogged":[4,"enable-user-logged"],"connectCallback":[16],"cancelCallback":[16],"displayLoginControls":[32]}]]],["p-0d1cf3ee",[[1,"gx-ide-edit-module-server",{"types":[16],"name":[1],"source":[1],"type":[1],"confirmCallback":[16],"selectSourceCallback":[16],"cancelCallback":[16],"selectedType":[32]}]]],["p-096cf817",[[1,"gx-ide-ai-assistant",{"messages":[1040],"promptMaxHeight":[1,"prompt-max-height"],"assistantStatus":[1025,"assistant-status"],"focusShortcuts":[16],"userMessageCallback":[16],"promptValue":[1,"prompt-value"],"filter":[4],"userHasTyped":[32],"aIInProgress":[32],"showFilter":[32],"promptHasFocus":[32],"filterValue":[32],"clear":[64],"addMessage":[64]},null,{"aIInProgress":["watchAIInProgressHandler"],"messages":["watchMessagesHandler"]}]]],["p-5dd1b9ab",[[1,"gx-ide-template",{"displayTitle":[4,"display-title"]}]]],["p-84c20e24",[[1,"gx-ide-team-dev-select-recent-comment",{"displayTitle":[4,"display-title"],"comments":[16],"confirmCallback":[16],"cancelCallback":[16]}]]],["p-ed6a8ed6",[[1,"gx-ide-directory-selector",{"accessibilityLabels":[16],"label":[1],"labelPosition":[513,"label-position"],"centerLabel":[1028,"center-label"],"labelWidth":[1,"label-width"],"selectDirectoryCallback":[16],"value":[1025],"icon":[32]}]]],["p-e497877c",[[1,"gx-ide-file-selector",{"accessibilityLabels":[16],"label":[1],"labelPosition":[513,"label-position"],"centerLabel":[1028,"center-label"],"labelWidth":[1,"label-width"],"selectDirectoryCallback":[16],"value":[1025]}]]],["p-9b027df3",[[1,"gxg-filter",{"top":[8],"left":[8],"itemsNodeList":[32]},[[0,"itemClickedEvent","handleItemClickedEvent"]]]]],["p-f20375ae",[[1,"gx-ide-test",{"name":[1]}]]],["p-0a72751b",[[1,"gxg-accordion-item",{"disabled":[516],"editableTitle":[4,"editable-title"],"mode":[513],"itemId":[1,"item-id"],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"titleIcon":[1,"title-icon"],"status":[513],"hasBorder":[4,"has-border"],"nestedAccordion":[32],"minHeight":[32],"accordionMode":[32],"hasSlottedMeta":[32]}]]],["p-e4700656",[[17,"gxg-drop-down",{"width":[1],"minWidth":[1,"min-width"],"maxWidth":[1,"max-width"],"dropDownHeight":[1,"drop-down-height"],"label":[1],"icon":[1],"showContent":[4,"show-content"],"position":[1],"initialButtonText":[32],"detectClickOutsideDropDown":[32],"detectMouseScroll":[32],"myObserver":[32]},null,{"showContent":["watchHandler"]}]]],["p-6dd37250",[[1,"gxg-tree-item",{"checkbox":[1028],"checked":[1028],"opened":[4],"toggleCheckboxes":[4,"toggle-checkboxes"],"type":[1],"disabled":[4],"label":[1],"description":[1],"leaf":[1028],"selected":[1028],"icon":[1],"treeModel":[16],"numberOfChildren":[2,"number-of-children"],"hasChildTree":[1028,"has-child-tree"],"indeterminate":[1028],"horizontalLinePaddingLeft":[32],"lastTreeItem":[32],"lastTreeItemOfParentTree":[32],"numberOfVisibleDescendantItems":[32],"time":[32],"lineHeight":[32],"downloading":[32],"reRender":[64],"evaluateCheckboxStatus":[64]},null,{"checked":["checkedHandler"],"opened":["openedHandler"]}]]],["p-8c99221d",[[0,"ch-action-group-render",{"moreActionsAccessibleName":[1,"more-actions-accessible-name"],"cssClass":[1,"css-class"],"gxImageConstructor":[16],"gxSettings":[8,"gx-settings"],"itemClickCallback":[16],"itemsOverflowBehavior":[1,"items-overflow-behavior"],"model":[16],"openOnFocus":[4,"open-on-focus"],"moreActionsDropdownPosition":[1,"more-actions-dropdown-position"],"separatorCssClass":[1,"separator-css-class"],"useGxRender":[4,"use-gx-render"],"displayedItemsCount":[32],"moreActionsButtonWasExpanded":[32]}]]],["p-d819bffa",[[0,"ch-test-flexible-layout",{"layout":[16]}]]],["p-d6c44793",[[1,"gx-ide-top-bar",{"topBarTitle":[1,"top-bar-title"]}]]],["p-4d5de920",[[0,"ch-next-data-modeling-render",{"addingModeCommonClass":[1,"adding-mode-common-class"],"captions":[16],"commonClass":[1,"common-class"],"createGxCollectionCallback":[16],"cssClass":[1,"css-class"],"dataModel":[16],"dataModelToEdit":[16],"disabled":[4],"entityAddingModeClass":[1,"entity-adding-mode-class"],"entityClass":[1,"entity-class"],"errorTexts":[16],"fieldAddingModeClass":[1,"field-adding-mode-class"],"fieldClass":[1,"field-class"],"fieldContainerClass":[1,"field-container-class"],"fieldCommonClass":[1,"field-common-class"],"hideLoading":[8,"hide-loading"],"maxAtts":[2,"max-atts"],"readonly":[4],"subFieldClass":[1,"sub-field-class"],"subFieldAddingModeClass":[1,"sub-field-adding-mode-class"],"subFieldContainerClass":[1,"sub-field-container-class"]},null,{"dataModel":["handleDataModelChange"],"hideLoading":["handleHideLoadingChange"]}]]],["p-5e3ad8f1",[[1,"ch-test-suggest",{"selectorSourceCallback":[16],"objectsSuggestions":[32]}]]],["p-301ba477",[[1,"gxg-alert",{"active":[516],"activeTime":[1,"active-time"],"position":[1],"title":[1],"type":[1],"fullWidth":[4,"full-width"],"leftRight":[1,"left-right"],"bottom":[1],"width":[1],"silent":[4],"rtl":[32]},null,{"active":["validateName"]}]]],["p-3326da98",[[1,"gxg-color-picker",{"label":[1032],"value":[1537],"colorRepresentation":[32],"colorInputValue":[32],"colorObject":[32]},null,{"value":["watchHandler"]}]]],["p-a0543cad",[[1,"gxg-demo",{"layerZIndex":[2,"layer-z-index"],"initiateDemo":[4,"initiate-demo"],"modalMessage":[1,"modal-message"],"gxgDemoItems":[32],"numberOfItems":[32],"currentItem":[32],"message":[32],"position":[32],"leftPosition":[32],"rightPosition":[32],"topPosition":[32],"layerVisible":[32],"instructionVisible":[32],"modalVisible":[32],"nextItemClicked":[32],"disableNextButton":[32],"rtl":[32],"currentItemZIndex":[32],"currentItemPosition":[32],"currentItemBoxShadow":[32],"currentItemPointerEvents":[32]},null,{"initiateDemo":["initiateDemoHandler"]}]]],["p-57d08866",[[1,"gxg-drag-box",{"active":[516],"deletable":[4],"padding":[513],"disabled":[4],"title":[1]}]]],["p-d248f403",[[1,"gxg-modal",{"flavor":[1],"padding":[513],"footerJustifyContent":[1,"footer-justify-content"],"modalTitle":[1,"modal-title"],"width":[1],"maxWidth":[1,"max-width"],"visible":[4],"zIndex":[1,"z-index"],"silent":[4],"hideFooter":[4,"hide-footer"],"layerVisible":[32],"modalVisible":[32],"modalTransition":[32],"close":[64]},null,{"visible":["watchVisibleHandler"]}]]],["p-f9529c7f",[[1,"gxg-options",{"maxWidth":[1,"max-width"],"width":[1],"zIndex":[1,"z-index"],"position":[1],"iconDirection":[1,"icon-direction"],"maxVisibleOptions":[2,"max-visible-options"],"optionsVisible":[32]},[[0,"keyDown","keyDownHandler"],[0,"optionSelected","optionSelectedHandler"]],{"optionsVisible":["showItemsHandler"]}]]],["p-a82333f6",[[1,"gxg-window",{"initialHeight":[1,"initial-height"],"initialWidth":[1,"initial-width"],"minHeight":[1,"min-height"],"minWidth":[1,"min-width"],"maxHeight":[1,"max-height"],"maxWidth":[1,"max-width"],"leftPosition":[1,"left-position"],"topPosition":[1,"top-position"],"windowTitle":[1,"window-title"],"titleIcon":[1,"title-icon"],"displayWindow":[4,"display-window"],"showWindow":[32],"customPosition":[32]},null,{"displayWindow":["displayWindowHandler"]}]]],["p-29a76a75",[[4,"ch-dropdown-render",{"buttonAccessibleName":[1,"button-accessible-name"],"cssClass":[1,"css-class"],"gxImageConstructor":[16],"gxSettings":[8,"gx-settings"],"itemClickCallback":[16],"itemCssClass":[1,"item-css-class"],"model":[16],"position":[1],"separatorCssClass":[1,"separator-css-class"],"useGxRender":[4,"use-gx-render"]}]]],["p-223a1fea",[[1,"ch-grid-row-actions",{"showOnRowHover":[516,"show-on-row-hover"],"showOnRowActions":[516,"show-on-row-actions"],"showOnRowContext":[516,"show-on-row-context"],"openRowHover":[64],"openRowActions":[64],"openRowContext":[64],"close":[64]}]]],["p-9069cdb0",[[4,"ch-tooltip",{"tooltipId":[1,"tooltip-id"],"delay":[2],"position":[1],"hidden":[32]}]]],["p-a53a3e15",[[1,"ch-tree-item",{"checkbox":[1028],"checked":[1028],"download":[4],"downloading":[4],"downloaded":[4],"leftIcon":[1,"left-icon"],"rightIcon":[1,"right-icon"],"opened":[1028],"selected":[1028],"isLeaf":[1028,"is-leaf"],"hasChildTree":[1028,"has-child-tree"],"firstTreeItem":[1028,"first-tree-item"],"indeterminate":[1028],"disabled":[4],"numberOfParentTrees":[32],"itemPaddingLeft":[32],"horizontalLinePaddingLeft":[32],"lastTreeItem":[32],"firstTreeItemOfParentTree":[32],"lastTreeItemOfParentTree":[32],"rightIconColor":[32],"numberOfDirectTreeItemsDescendants":[32],"updateTreeVerticalLineHeight":[64]},null,{"downloaded":["watchHandler"]}]]],["p-11709cf7",[[1,"gxg-breadcrumb",{"icon":[1],"id":[1]}]]],["p-f64a6db2",[[1,"gxg-contextual-menu-item",{"icon":[1],"id":[1]}]]],["p-abcd1487",[[1,"gxg-filter-item",{"itemId":[8,"item-id"],"type":[8],"icon":[1]}]]],["p-d5726aff",[[1,"gxg-form-message",{"type":[1]}]]],["p-e76de890",[[1,"gxg-menu-item",{"label":[1],"icon":[1],"active":[516]}]]],["p-798332ca",[[17,"gxg-menu-slim-item",{"label":[1],"iconType":[1,"icon-type"],"active":[516],"itemId":[1,"item-id"],"ellipsis":[4],"disabled":[4]}]]],["p-ba20a754",[[1,"gxg-more-info",{"position":[513],"label":[1],"moreInfoLabel":[1,"more-info-label"],"url":[1],"target":[1]}]]],["p-a6e883fa",[[1,"gxg-option-v2",{"value":[1],"selected":[4],"iconName":[1,"icon-name"]},null,{"selected":["watchHandler"]}]]],["p-1e4f81ce",[[1,"gxg-progress-bar",{"disabled":[516],"label":[1],"value":[514],"maxWidth":[1,"max-width"],"silent":[4]},null,{"value":["watchValue"]}]]],["p-f2234bc0",[[17,"gxg-select",{"disabled":[516],"error":[4],"label":[1],"labelPosition":[513,"label-position"],"minimal":[4],"required":[516],"size":[1],"value":[1],"initialValue":[1,"initial-value"],"warning":[4],"maxWidth":[1,"max-width"],"rtl":[32],"rerender":[32],"isOpen":[64]},[[0,"optionIsSelected","todoCompletedHandler"]],{"value":["valueHandler"]}]]],["p-0615d8bb",[[1,"gxg-slider",{"disabled":[516],"label":[1],"max":[2],"value":[514],"maxWidth":[1,"max-width"],"rtl":[32]},null,{"value":["watchHandler"]}]]],["p-52019ab5",[[1,"gxg-stepper",{"disabled":[516],"label":[1],"labelPosition":[513,"label-position"],"value":[514],"max":[514],"min":[514],"rtl":[32]},null,{"value":["watchHandler"]}]]],["p-4048f731",[[1,"gxg-toggle",{"disabled":[516],"label":[1],"on":[516]}]]],["p-134aebe1",[[1,"gxg-toolbar",{"position":[1],"subtitle":[1],"toolbarTitle":[1,"toolbar-title"],"rtl":[32]}]]],["p-304813ad",[[1,"gxg-toolbar-item",{"disabled":[4],"icon":[1],"subtitle":[1],"toolbarItemTitle":[1,"toolbar-item-title"]}]]],["p-08e9f0a2",[[1,"gxg-tree-grid-divs",{"columns":[16],"rows":[16],"width":[1],"displayChildren":[1,"display-children"],"selectedRowsIds":[1026,"selected-rows-ids"],"editCell":[16],"thWidthLeftover":[32],"rowsBuffer":[32],"thInPixels":[32],"displayRowChildrenIds":[32],"columnClicked":[32],"columnOrder":[32]}]]],["p-cf5f2b59",[[1,"ch-alert",{"timerInterval":[2,"timer-interval"],"closeButtonAccessibleName":[1,"close-button-accessible-name"],"dismissTimeout":[2,"dismiss-timeout"],"leftImgSrc":[1,"left-img-src"],"presented":[1540],"showCloseButton":[4,"show-close-button"],"showTimeoutBar":[4,"show-timeout-bar"],"pauseOnHover":[4,"pause-on-hover"],"countdown":[1026]},null,{"dismissTimeout":["timeoutWatcher"],"presented":["presentedWatcher"],"countdown":["countdownWatcher"]}]]],["p-15dcd2a4",[[0,"ch-notifications",{"delayToAnimateNewNotifications":[2,"delay-to-animate-new-notifications"],"notifications":[16],"position":[1],"timeToDismissNotifications":[2,"time-to-dismiss-notifications"],"timeType":[1,"time-type"],"notificationsSize":[32]},[[0,"notificationClick","handleNotificationClick"],[0,"notificationDismiss","handleNotificationDismiss"]],{"notifications":["handleNewNotificationsChange"]}]]],["p-0ac635df",[[1,"ch-select",{"name":[1],"iconSrc":[1,"icon-src"],"arrowIconSrc":[1,"arrow-icon-src"],"autoColor":[516,"auto-color"],"disabled":[4],"width":[1],"height":[1],"toggle":[32]},[[1,"keydown","handleKeyDown"],[0,"itemClicked","optionClickedHandler"]]]]],["p-ca4566df",[[1,"ch-select-option",{"height":[1],"leftIconSrc":[1,"left-icon-src"],"rightIconSrc":[1,"right-icon-src"],"selected":[516],"disabled":[516],"autoColor":[516,"auto-color"],"value":[513]}]]],["p-36512848",[[1,"ch-sidebar-menu-list-item",{"itemIconSrc":[1,"item-icon-src"],"autoColor":[516,"auto-color"],"uncollapsed":[4],"collapsable":[32],"listTypeItem":[32]}]]],["p-d3a9b9f4",[[1,"gxg-container",{"fieldset":[4],"containerTitle":[1,"container-title"],"displayBorder":[4,"display-border"],"displayBorderTop":[4,"display-border-top"],"displayBorderEnd":[4,"display-border-end"],"displayBorderBottom":[4,"display-border-bottom"],"displayBorderStart":[4,"display-border-start"],"sectionsPadding":[1,"sections-padding"],"noHeadingBorder":[4,"no-heading-border"],"noHeadingPadding":[4,"no-heading-padding"],"headingJustify":[1,"heading-justify"],"noContentPadding":[4,"no-content-padding"],"noContentGap":[4,"no-content-gap"],"noFooterPadding":[4,"no-footer-padding"],"footerJustify":[1,"footer-justify"],"noBorderFooter":[4,"no-border-footer"],"hasSlottedContent":[32],"hasFooterSlot":[32],"hasOnlyHeading":[32],"hasOnlyFooter":[32]}]]],["p-af7c28c8",[[1,"gxg-menu-slim-list",{"listTitle":[1,"list-title"]}]]],["p-620f4970",[[0,"ch-barcode-scanner",{"barcodeBoxWidth":[2,"barcode-box-width"],"barcodeBoxHeight":[2,"barcode-box-height"],"cameraId":[1,"camera-id"],"cameraPreference":[1,"camera-preference"],"readDebounce":[2,"read-debounce"],"scanning":[4],"scan":[64]},null,{"cameraId":["cameraChange"],"scanning":["scanningChange"]}]]],["p-62007a38",[[1,"ch-dropdown-item-separator"]]],["p-58a327fb",[[0,"ch-grid-column-display",{"column":[16]}]]],["p-8295055b",[[1,"ch-grid-infinite-scroll",{"status":[1025],"hasGridScroll":[32],"complete":[64]}]]],["p-06a1c470",[[1,"ch-grid-rowset-legend",null,[[1,"click","clickHandler"]]]]],["p-22a2d697",[[0,"ch-grid-virtual-scroller",{"items":[16],"itemsCount":[2,"items-count"],"viewPortItems":[1040],"hasGridScroll":[32],"hasWindowScroll":[32],"browserHeight":[32],"headerHeight":[32],"rowsHeight":[32],"rowHeight":[32],"virtualHeight":[32],"maxViewPortItems":[32],"percentScroll":[32],"startIndex":[32],"isScrolling":[32]},null,{"hasGridScroll":["hasGridScrollHandler"],"hasWindowScroll":["hasWindowScrollHandler"],"browserHeight":["browserHeightHandler"],"headerHeight":["headerHeightHandler"],"rowsHeight":["rowsHeightHandler"],"rowHeight":["rowHeightHandler"],"virtualHeight":["virtualHeightHandler"],"maxViewPortItems":["maxViewPortItemsHandler"],"percentScroll":["percentScrollHandler"],"startIndex":["startIndexHandler"],"isScrolling":["isScrollingHandler"],"items":["itemsHandler"],"itemsCount":["itemsCountHandler"],"viewPortItems":["viewPortItemsHandler"]}]]],["p-0a3b20ba",[[1,"ch-intersection-observer",{"bottomMargin":[1,"bottom-margin"],"leftMargin":[1,"left-margin"],"rightMargin":[1,"right-margin"],"root":[1],"threshold":[1],"topMargin":[1,"top-margin"]}]]],["p-29a191e3",[[0,"ch-markdown",{"allowDangerousHtml":[4,"allow-dangerous-html"],"rawHtml":[4,"raw-html"],"renderCode":[16],"value":[1]}]]],["p-58191c03",[[1,"ch-next-progress-bar",{"caption":[1],"currentStep":[2,"current-step"],"cssClass":[1,"css-class"],"description":[1],"presented":[4],"steps":[2],"shouldAddFadeInOutAnimation":[32]},null,{"currentStep":["handleCurrentStepChange"],"description":["handleCaptionChange"],"presented":["handlePresentedChange"]}]]],["p-ce027a9c",[[1,"ch-qr",{"text":[1],"radius":[2],"ecLevel":[1,"ec-level"],"fill":[1],"background":[1],"size":[2]}]]],["p-1865fc02",[[1,"ch-showcase",{"pageName":[1,"page-name"],"pageSrc":[1,"page-src"]}]]],["p-693529be",[[1,"ch-sidebar-menu",{"menuTitle":[1,"menu-title"],"singleListOpen":[4,"single-list-open"],"distanceToTop":[2,"distance-to-top"],"collapsible":[4],"activeItemId":[1,"active-item-id"],"activeItem":[1025,"active-item"],"isCollapsed":[1540,"is-collapsed"],"indicator":[32]}]]],["p-219aa5b9",[[1,"ch-sidebar-menu-list",{"listType":[32]}]]],["p-433c5a9d",[[1,"ch-step-list"]]],["p-5283e4d9",[[1,"ch-step-list-item",{"iconSrc":[1,"icon-src"]}]]],["p-f0f678f0",[[1,"ch-style",{"href":[1]}]]],["p-19fa25ba",[[1,"ch-textblock",{"format":[1],"lineClamp":[4,"line-clamp"],"tooltip":[1],"tooltipShowMode":[1,"tooltip-show-mode"],"contentLines":[32],"maxLines":[32]}]]],["p-f2bf41b3",[[1,"ch-tree",{"checkbox":[4],"checked":[4],"toggleCheckboxes":[1028,"toggle-checkboxes"],"nestedTree":[32],"mainTree":[32],"getChecked":[64]},[[0,"liItemClicked","liItemClickedHandler"],[0,"toggleIconClicked","toggleIconClickedHandler"]]]]],["p-ca3f470e",[[1,"gx-ide-card",{"cardTitle":[1,"card-title"],"cardSubTitle":[1,"card-sub-title"],"icon":[1]}]]],["p-3056a987",[[1,"gx-ide-switch-panel"]]],["p-55c9c50f",[[1,"gx-ide-switcher"]]],["p-55709b74",[[1,"gxg-accordion",{"disabled":[4],"singleItemOpen":[4,"single-item-open"],"mode":[1],"maxWidth":[1,"max-width"],"noPadding":[4,"no-padding"],"hasBorder":[4,"has-border"],"accordions":[32]},[[0,"accordionItemClicked","itemClickedHandler"],[0,"accordionItemLoaded","itemLoadedHandler"]]]]],["p-e9f4ecf1",[[1,"gxg-box",{"background":[513],"border":[4],"padding":[513],"minHeight":[1,"min-height"],"height":[1],"maxWidth":[1,"max-width"]}]]],["p-ba0caa8d",[[1,"gxg-breadcrumbs"]]],["p-8a6795a4",[[1,"gxg-column",{"width":[513]}]]],["p-330fb80c",[[1,"gxg-columns",{"alignY":[513,"align-y"],"collapseBellow":[513,"collapse-bellow"],"space":[513]}]]],["p-7ec44ac1",[[1,"gxg-contextual-menu",{"visible":[516],"widthOverflow":[32],"heightOverflow":[32],"firstRightClick":[32],"topPosition":[32],"leftPosition":[32]},null,{"visible":["watchHandler"]}]]],["p-fd6239b7",[[1,"gxg-contextual-menu-submenu"]]],["p-c13343d8",[[1,"gxg-drag-container",{"deletable":[4],"disable":[4],"maxWidth":[1,"max-width"],"padding":[1]},[[0,"clicked","clickedHandler"]]]]],["p-1279fc77",[[1,"gxg-loader",{"text":[1],"show":[4],"visibleZIndex":[1,"visible-z-index"],"layerOpacity100":[32],"squaresOpacity100":[32],"textOpacity100":[32],"sendLayerBack":[32]},null,{"show":["showHandler"]}]]],["p-1bba5fc7",[[1,"gxg-menu",{"menuTitle":[1,"menu-title"],"tabs":[516]},[[0,"menuItemActive","menuItemActiveHandler"]]]]],["p-abbf7697",[[1,"gxg-menu-slim",{"menuTitle":[1,"menu-title"],"tabs":[516],"hidden":[4],"hideOnSelect":[4,"hide-on-select"],"ellipsis":[4]},[[0,"itemSelected","itemSelectedHandler"],[0,"keyboardNavigation","keyboardNavigationHandler"]],{"hidden":["hiddenHandler"]}]]],["p-43e984d3",[[1,"gxg-option",{"value":[1],"selected":[4],"iconName":[1,"icon-name"]},null,{"selected":["watchHandler"]}]]],["p-ae1ca222",[[1,"gxg-options-item",{"disabled":[4]}]]],["p-d99b7313",[[4,"gxg-paginator",{"alignment":[513]}]]],["p-eacb6efb",[[1,"gxg-pills",{"getPills":[64]}]]],["p-d138c80a",[[1,"gxg-scroll"]]],["p-d36e968c",[[17,"gxg-select-v2",{"label":[1],"labelPosition":[1,"label-position"],"required":[4],"size":[1],"value":[1],"width":[1],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"disabled":[4],"warning":[4],"error":[4],"visible":[32],"myObserver":[32]},[[0,"optionIsSelected","optionIsSelectedHandler"]]]]],["p-c7c4d003",[[1,"gxg-separator",{"type":[513],"margin":[513]}]]],["p-2d41c833",[[1,"gxg-spacer-layout",{"fullHeight":[4,"full-height"],"space":[1],"orientation":[1],"justifyContent":[1,"justify-content"]}]]],["p-f2375e54",[[1,"gxg-spacer-one",{"space":[1]}]]],["p-ac530671",[[1,"gxg-split"]]],["p-2aca0370",[[1,"gxg-splitter",{"direction":[1],"forceCollapseZero":[4,"force-collapse-zero"],"knob":[513],"minSize":[1,"min-size"],"sizes":[1],"split":[32],"minSizeArray":[32],"sizesArray":[32],"idsArray":[32],"currentSizes":[32],"draggingState":[32],"leftCollapsedToZero":[32],"rightCollapsedToZero":[32],"collapse":[64]}]]],["p-4faf9486",[[1,"gxg-stack",{"space":[513],"columnsSpace":[520,"columns-space"]}]]],["p-75cbacb3",[[1,"gxg-test"]]],["p-f5a484e9",[[1,"gxg-tree",{"checkbox":[1028],"checked":[1540],"opened":[4],"toggleCheckboxes":[4,"toggle-checkboxes"],"multiSelection":[4,"multi-selection"],"getCheckedItems":[64],"getSelectedItems":[64],"toggleItems":[64]},[[0,"checkboxToggled","checkboxToggledHandler"],[0,"doubleClicked","doubleClickedHandler"],[0,"selectionChanged","selectionChangedHandler"],[0,"toggleIconClicked","toggleIconClickedHandler"]]]]],["p-c1d166de",[[1,"gxg-window-v2",{"displayTitle":[4,"display-title"]}]]],["p-b13cafbf",[[1,"gx-ide-recent-news",{"getNewsCallback":[16],"openNewsCallback":[16],"news":[32],"newsLoadFailed":[32]},null,{"news":["watchNewsHandler"]}]]],["p-1f70ee34",[[1,"gx-ide-status-buttons",{"active":[4],"errors":[2],"hideError":[4,"hide-error"],"warnings":[2],"hideWarning":[4,"hide-warning"],"successes":[2],"hideSuccess":[4,"hide-success"],"messages":[2],"hideMessage":[4,"hide-message"],"minimal":[4],"compact":[516],"noInnerBorders":[516,"no-inner-borders"],"iconsSize":[32]}]]],["p-8d26abdc",[[0,"ch-flexible-layout-render",{"cssClass":[1,"css-class"],"layout":[16],"renders":[16],"addSiblingView":[64],"addWidget":[64],"removeView":[64],"removeWidget":[64]},null,{"layout":["handleLayoutChange"]}]]],["p-03f8004a",[[1,"gx-ide-ai-message",{"message":[1],"messageType":[1,"message-type"],"filterValue":[1,"filter-value"],"hidden":[4],"translations":[16],"visible":[32],"showCopiedMessage":[32]}]]],["p-ed5fb3dc",[[1,"gxg-button-group",{"buttonGroupTitle":[1,"button-group-title"],"titleAlignment":[513,"title-alignment"],"defaultSelectedBtnId":[1,"default-selected-btn-id"],"disabled":[516],"fullWidth":[516,"full-width"],"outlined":[516],"disableActive":[516,"disable-active"],"type":[1],"activeButtonId":[1,"active-button-id"],"value":[32],"rtl":[32]},null,{"activeButtonId":["watchActiveButtonIdHandler"]}]]],["p-55f90fd0",[[1,"gxg-pill",{"disabled":[4],"icon":[1],"heightAuto":[4,"height-auto"],"id":[1],"italic":[4],"type":[513]}]]],["p-c0376a4f",[[1,"ch-form-checkbox",{"checkboxId":[1,"checkbox-id"],"checked":[1028],"indeterminate":[516],"disabled":[4],"label":[1],"value":[1],"name":[1]}]]],["p-03f0bf26",[[0,"ch-grid-rowset-empty"]]],["p-b71c5412",[[1,"ch-notifications-item",{"buttonImgSrc":[1,"button-img-src"],"closeButtonLabel":[1,"close-button-label"],"leftImgSrc":[1,"left-img-src"],"showCloseButton":[4,"show-close-button"],"timeToDismiss":[2,"time-to-dismiss"]}]]],["p-c68f6822",[[1,"ch-timer",{"progress":[2],"accessibleName":[1,"accessible-name"],"animationTime":[2,"animation-time"],"presented":[4]}]]],["p-5ca7da19",[[1,"gx-ide-empty-state",{"stateIcon":[1,"state-icon"],"stateTitle":[1,"state-title"],"stateDescription":[1,"state-description"],"primaryButtonLabel":[1,"primary-button-label"],"secondaryButtonLabel":[1,"secondary-button-label"],"display":[1028]},null,{"display":["watchDisplayHandler"]}]]],["p-3345a1bc",[[1,"gx-ide-entity-selector",{"accessibilityLabels":[16],"defaultValue":[16],"label":[1],"labelPosition":[513,"label-position"],"centerLabel":[4,"center-label"],"labelWidth":[1,"label-width"],"selectEntityCallback":[16],"value":[1040],"buttonHasFocus":[32]},null,{"value":["valueChangedHandler"]}]]],["p-ff0963b5",[[1,"gxg-list-box-item",{"disabled":[516],"icon":[1],"selected":[516],"siblingIsSelected":[516,"sibling-is-selected"],"highlighted":[516],"active":[516],"index":[514],"emitCheckboxChange":[4,"emit-checkbox-change"],"value":[8],"checkbox":[4],"checked":[1028],"mouseOver":[32]},[[0,"checked","checkedChangedHandler"],[0,"change","checkboxChangedHandler"]],{"selected":["watchPropHandler"]}],[1,"gxg-list-box",{"theTitle":[1,"the-title"],"checkboxes":[4],"singleSelection":[4,"single-selection"],"allowsEmpty":[4,"allows-empty"],"emitEmptySelection":[4,"emit-empty-selection"],"keyboardSuggestions":[16],"disableSuggestions":[4,"disable-suggestions"],"noBorder":[516,"no-border"],"borderTop":[516,"border-top"],"borderEnd":[516,"border-end"],"borderBottom":[516,"border-bottom"],"borderStart":[516,"border-start"],"initialScrollToSelected":[516,"initial-scroll-to-selected"],"disabled":[4],"required":[4],"validationStatus":[1025,"validation-status"],"validationMessage":[1025,"validation-message"],"informationMessage":[1,"information-message"],"selectedItems":[32],"checkedItems":[32],"hideKeyboardSuggestions":[32],"headerHeight":[32],"getSelectedItems":[64],"scrollToSelected":[64]},[[0,"checkboxClicked","checkboxClickedHandler"],[0,"itemLoaded","itemLoadedHandler"],[0,"itemClicked","itemClickedHandler"],[0,"itemSelected","itemSelectedHandler"],[0,"checkboxStateChanged","checkboxStateChangedHandler"]],{"selectedItems":["selectedItemsHandler"],"checkedItems":["checkedItemsHandler"],"disabled":["disabledHandler"],"hideKeyboardSuggestions":["hideKeyboardSuggestionsHandler"]}]]],["p-9f9fda93",[[1,"gxg-card",{"elevation":[513],"background":[513],"padding":[513],"minHeight":[1,"min-height"],"height":[1],"maxWidth":[1,"max-width"],"noShadow":[4,"no-shadow"],"noBorder":[4,"no-border"],"hiChar":[4,"hi-char"],"filterValue":[1,"filter-value"],"noPaddingTop":[516,"no-padding-top"],"cardTitle":[1,"card-title"],"noHeaderBorder":[4,"no-header-border"],"titleSemibold":[4,"title-semibold"],"cardSubtitle":[1,"card-subtitle"],"subtitleLink":[1,"subtitle-link"],"subtitleIcon":[1,"subtitle-icon"],"cardType":[1,"card-type"],"icon":[1],"iconColor":[1,"icon-color"],"subtitleColor":[1,"subtitle-color"],"editableTitle":[4,"editable-title"],"actionable":[4],"displayHeaderSlot":[4,"display-header-slot"]}],[1,"gxg-title-editable",{"value":[1025],"titleType":[513,"title-type"],"disableEdition":[516,"disable-edition"],"debounce":[4],"debounceDelay":[2,"debounce-delay"],"disabled":[4],"clickToEdit":[516,"click-to-edit"],"fluid":[516],"focusType":[513,"focus-type"],"validationStatus":[1025,"validation-status"],"validationMessage":[1,"validation-message"],"hideTooltip":[4,"hide-tooltip"],"editing":[32]},null,{"value":["watchValueHandler"],"editing":["watchEditingHandler"]}]]],["p-0c0c3f1d",[[1,"ch-dropdown",{"actionGroupParent":[4,"action-group-parent"],"buttonAccessibleName":[1,"button-accessible-name"],"caption":[1],"endImgSrc":[1,"end-img-src"],"endImgType":[1,"end-img-type"],"expanded":[1028],"href":[1],"leaf":[4],"level":[2],"nestedDropdown":[4,"nested-dropdown"],"openOnFocus":[4,"open-on-focus"],"position":[1],"shortcut":[1],"showFooter":[4,"show-footer"],"showHeader":[4,"show-header"],"startImgSrc":[1,"start-img-src"],"startImgType":[1,"start-img-type"],"focusElement":[64],"collapseDropdown":[64],"expandDropdown":[64]},[[0,"actionClick","onActionClick"],[0,"recursiveClose","onRecursiveClose"]],{"expanded":["handleExpandedChange"]}],[1,"ch-popover",{"actionById":[4,"action-by-id"],"actionElement":[16],"allowDrag":[1,"allow-drag"],"blockAlign":[1,"block-align"],"firstLayer":[4,"first-layer"],"hidden":[1540],"inlineAlign":[1,"inline-align"],"mode":[1],"responsiveAlignment":[4,"responsive-alignment"],"resizable":[4],"actualBlockAlign":[32],"actualInlineAlign":[32],"relativePopover":[32],"resizing":[32]},null,{"actionElement":["handleActionChange"],"blockAlign":["handleBlockChange"],"hidden":["handleHiddenChange"],"inlineAlign":["handleInlineChange"],"resizable":["resizableChanged"]}]]],["p-d8268fcc",[[1,"ch-action-group",{"accessibleName":[1,"accessible-name"],"itemsOverflowBehavior":[1,"items-overflow-behavior"],"moreActionsAccessibleName":[1,"more-actions-accessible-name"],"moreActionsButtonPosition":[1,"more-actions-button-position"],"moreActionsDropdownPosition":[1,"more-actions-dropdown-position"],"openOnFocus":[4,"open-on-focus"],"displayedItems":[32]},null,{"itemsOverflowBehavior":["handleOverflowBehaviorChange"]}],[4,"ch-action-group-item",{"floating":[1540]}]]],["p-e685f50a",[[1,"gxg-date-picker",{"disabled":[4],"alwaysShow":[4,"always-show"],"value":[1],"label":[1],"noWeekends":[4,"no-weekends"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"maxWidth":[1,"max-width"],"rtl":[32]},null,{"disabled":["disabledHandler"],"value":["watchStateHandler"]}]]],["p-75715d24",[[1,"gxg-form-radio-group",{"center":[4],"disabled":[4],"label":[1],"value":[513],"row":[4],"validationMessage":[1025,"validation-message"],"radiosLabelSize":[1025,"radios-label-size"],"required":[4],"validationStatus":[1025,"validation-status"],"informationMessage":[1,"information-message"]},[[0,"radioChecked","radioCheckedHandler"],[0,"keyPressed","keyPressedHandler"]],{"disabled":["disabledHandler"],"value":["watchValueHandler"]}]]],["p-3d2bbe97",[[17,"gxg-form-textarea",{"singleLine":[516,"single-line"],"ai":[516],"toolTip":[4,"tool-tip"],"error":[1028],"label":[513],"labelPosition":[513,"label-position"],"labelWidth":[8,"label-width"],"centerLabel":[4,"center-label"],"maxWidth":[1,"max-width"],"maxHeight":[1,"max-height"],"height":[1],"placeholder":[1],"value":[513],"rows":[2],"warning":[4],"hideValidationMessage":[4,"hide-validation-message"],"disabled":[4],"required":[4],"validationStatus":[1025,"validation-status"],"validationMessage":[1025,"validation-message"],"informationMessage":[1,"information-message"],"resize":[4],"shrink":[32]}]]],["p-b45667aa",[[1,"ch-accordion",{"accessibleDescription":[1,"accessible-description"],"accessibleName":[1,"accessible-name"],"expanded":[1028]}]]],["p-40b187b3",[[1,"ch-next-data-modeling-item",{"actionsVisible":[4,"actions-visible"],"captions":[16],"dataType":[1,"data-type"],"disabled":[4],"entityNameToATTs":[16],"errorTexts":[16],"fieldNames":[16],"level":[2],"maxAtts":[2,"max-atts"],"mode":[1025],"name":[1],"readonly":[4],"showNewFieldBtn":[1028,"show-new-field-btn"],"type":[1],"expanded":[32],"errorType":[32],"waitingMode":[32],"setAddingMode":[64],"clearInput":[64],"checkErrors":[64],"delete":[64],"hideWaitingMode":[64]},[[0,"expandedChange","handleExpandedChange"],[0,"firstNewField","handleFirstNewField"],[0,"firstNewFieldErrors","handleFirstNewFieldErrors"]]],[4,"ch-next-data-modeling"]]],["p-976353a6",[[1,"gxg-form-checkbox-group",{"disabled":[4],"row":[4],"validationStatus":[1025,"validation-status"],"validationMessage":[1025,"validation-message"],"checkboxesLabelSize":[1025,"checkboxes-label-size"],"informationMessage":[1,"information-message"],"getValues":[64]},[[0,"change","changeHandler"]],{"disabled":["watchDisabledHandler"]}]]],["p-9cc3600f",[[1,"gxg-top-state-bar",{"caption":[1],"minimal":[516],"active":[4],"stateType":[513,"state-type"],"progress":[2],"closeType":[1,"close-type"],"noBorder":[516,"no-border"],"closedCallback":[16],"topStateBarVisible":[32],"visible":[32]},null,{"active":["watchActiveHandler"],"progress":["watchProgressHandler"]}],[1,"gxg-buttons-container",{"selectedButtonId":[1,"selected-button-id"],"reduced":[4],"fullWidth":[516,"full-width"]}]]],["p-a3a085ea",[[0,"ch-grid-action-refresh",{"disabled":[4]},[[1,"keydown","pressedHandler"],[1,"click","pressedHandler"]]],[0,"ch-grid-action-settings",{"disabled":[4]},[[1,"keydown","pressedHandler"],[1,"click","pressedHandler"]]],[0,"ch-grid-actionbar"],[0,"ch-paginator",{"activePage":[1538,"active-page"],"totalPages":[2,"total-pages"],"hasNextPage":[4,"has-next-page"]},[[0,"navigateClicked","navigateClickedHandler"],[0,"pageChanged","pageChangedHandler"],[1,"keydown","keyDownHandler"]],{"activePage":["activePageHandler"]}],[0,"ch-paginator-navigate",{"type":[513],"disabled":[4]},[[1,"keydown","pressedHandler"],[1,"click","pressedHandler"]]],[1,"ch-paginator-pages",{"page":[1538],"totalPages":[514,"total-pages"],"maxSize":[1538,"max-size"],"renderFirstLastPages":[4,"render-first-last-pages"],"textDots":[1,"text-dots"]},[[1,"keydown","keyDownHandler"],[1,"focusin","focusHandler"]],{"page":["pageHandler"],"maxSize":["maxSizeHandler"],"renderFirstLastPages":["renderFirstLastPagesHandler"]}],[1,"gx-grid-chameleon-column-filter",{"column":[16],"buttonApplyText":[1,"button-apply-text"],"buttonResetText":[1,"button-reset-text"],"equal":[1025],"less":[1025],"greater":[1025]}]]],["p-4056bc68",[[1,"ch-checkbox",{"accessibleName":[1,"accessible-name"],"caption":[1],"checked":[1028],"checkedValue":[1,"checked-value"],"disabled":[4],"highlightable":[4],"indeterminate":[4],"readonly":[4],"unCheckedValue":[1,"un-checked-value"],"value":[1025]},null,{"value":["valueChanged"]}]]],["p-3ae0ce60",[[1,"gxg-ide-loader",{"loaderTitle":[1,"loader-title"],"description":[1],"cancelLabel":[1,"cancel-label"],"cancelCallback":[16],"show":[4],"abortTime":[2,"abort-time"],"displayBorder":[516,"display-border"],"borderRadius":[513,"border-radius"],"container":[16],"showWindow":[32],"showWrapper":[32]},null,{"show":["showHandler"]}]]],["p-bd9cbfaf",[[4,"gx-ide-list-selector-item",{"itemId":[513,"item-id"],"itemValue":[1,"item-value"],"itemChecked":[1028,"item-checked"],"readonly":[1540],"ellipsis":[1540],"icon":[1],"iconColor":[1025,"icon-color"],"iconSize":[1025,"icon-size"],"noBorder":[1540,"no-border"],"universalSlotEnd":[516,"universal-slot-end"]}],[1,"gx-ide-list-selector",{"listTitle":[1,"list-title"],"ordered":[4],"readonly":[4],"type":[1],"required":[4],"ellipsis":[4],"value":[1025],"iconsColor":[1,"icons-color"],"iconsSize":[1,"icons-size"],"listName":[1,"list-name"],"noItemsBorder":[4,"no-items-border"],"noListBorder":[516,"no-list-border"]},[[2,"itemSelectionChanged","itemSelectionChangedHandler"]]]]],["p-8768ec07",[[1,"ch-flexible-layout",{"layout":[16],"layoutSplitterParts":[1,"layout-splitter-parts"],"itemsInfo":[16],"dragBarDisabled":[32],"addSiblingView":[64],"refreshLeaf":[64],"removeView":[64],"removeItemPageInView":[64]}],[1,"ch-layout-splitter",{"barAccessibleName":[1,"bar-accessible-name"],"dragBarDisabled":[4,"drag-bar-disabled"],"incrementWithKeyboard":[2,"increment-with-keyboard"],"layout":[16],"refreshLayout":[64],"addSiblingLeaf":[64],"removeItem":[64]},null,{"layout":["handleComponentsChange"]}],[1,"ch-list",{"accessibleName":[1,"accessible-name"],"closeButtonAccessibleName":[1,"close-button-accessible-name"],"closeButtonHidden":[4,"close-button-hidden"],"direction":[513],"dragDisabled":[4,"drag-disabled"],"expanded":[4],"items":[16],"selectedId":[1,"selected-id"],"showCaptions":[4,"show-captions"],"draggedElementIndex":[32],"draggedElementNewIndex":[32],"hasCrossedBoundaries":[32],"endDragPreview":[64],"getDraggableViews":[64],"promoteDragPreviewToTopLayer":[64],"removePage":[64]},null,{"direction":["directionChange"],"items":["handleItemsChange"],"selectedId":["handleSelectedIdChange"]}]]],["p-c14b6b77",[[1,"ch-suggest-list",{"label":[1]}],[17,"ch-suggest-list-item",{"iconSrc":[1,"icon-src"],"value":[8]}],[4,"gxg-suggest",{"validationStatus":[1025,"validation-status"],"validationMessage":[1,"validation-message"],"disabled":[4],"ellipsis":[516]}],[17,"ch-suggest",{"debounce":[2],"label":[1],"labelPosition":[513,"label-position"],"showLabel":[4,"show-label"],"value":[1025],"showHeader":[4,"show-header"],"suggestTitle":[1,"suggest-title"],"cursorEnd":[4,"cursor-end"],"windowHidden":[32],"selectInputText":[64]},[[2,"itemSelected","itemSelectedHandler"],[0,"focusChangeAttempt","focusChangeAttemptHandler"],[0,"windowClosed","windowClosedHandler"]]]]],["p-b82fdd38",[[17,"gxg-form-radio",{"error":[4],"radioId":[1,"radio-id"],"checked":[516],"disabled":[516],"label":[1],"labelSize":[1,"label-size"],"name":[1],"value":[1]},null,{"checked":["checkedHandler"]}]]],["p-b6e06f19",[[1,"gxg-text",{"href":[1],"disabled":[4],"target":[1],"type":[513],"textAlign":[513,"text-align"],"padding":[513],"maxWidth":[513,"max-width"],"icon":[1],"iconAlign":[1,"icon-align"],"iconAuto":[4,"icon-auto"],"italic":[516]}]]],["p-00704c36",[[1,"gxg-tab-bar",{"hidden":[4],"displayBorder":[4,"display-border"],"scrollable":[516],"stacked":[1],"appendedButtons":[32],"tabBarMenuHeight":[32],"tabBarMenuWidth":[32],"tabBarMenuCollapsed":[32],"tabBarMenuPosition":[32],"rtl":[32],"appendTabButtons":[64]},[[0,"tabActivated","tabActivatedHandler"],[0,"PrevOrNextTab","PrevOrNextTabHandler"]],{"tabBarMenuCollapsed":["tabBarMenuCollapsedHandler"]}],[17,"gxg-tab-button",{"hidden":[4],"tabLabel":[1,"tab-label"],"tab":[513],"isSelected":[4,"is-selected"],"disabled":[4],"icon":[1],"borderAbove":[516,"border-above"],"stackedStyle":[4,"stacked-style"],"reduced":[4],"tabButtonClick":[64]},null,{"isSelected":["isSelectedHandler"],"hidden":["hiddenHandler"]}],[1,"gxg-tab",{"tab":[1],"noPadding":[4,"no-padding"],"flexContainer":[4,"flex-container"],"flex":[4],"overflowAuto":[4,"overflow-auto"],"flexDirection":[1,"flex-direction"],"isSelected":[516,"is-selected"],"reduced":[4]}],[1,"gxg-tabs",{"position":[1],"height":[513],"maxHeight":[1,"max-height"],"minWidth":[1,"min-width"],"tabBarBorder":[4,"tab-bar-border"],"noBorder":[4,"no-border"],"buttonsBorderAbove":[4,"buttons-border-above"],"noBackground":[516,"no-background"],"noPadding":[4,"no-padding"],"reduced":[516],"activeTab":[1,"active-tab"],"setActiveTab":[64],"setFirstActiveTab":[64]},[[0,"tabActivated","tabActivatedHandler"]],{"activeTab":["watchActiveTabHandler"]}]]],["p-9d7a1451",[[17,"gxg-form-checkbox",{"checkboxId":[1,"checkbox-id"],"checked":[4],"indeterminate":[516],"disabled":[4],"label":[1],"labelSize":[1,"label-size"],"value":[1],"name":[1],"iconName":[1,"icon-name"],"alignTop":[4,"align-top"],"required":[516],"validationStatus":[1025,"validation-status"],"validationMessage":[1,"validation-message"],"informationMessage":[1,"information-message"],"tooltip":[1],"hasFocus":[32]},null,{"checked":["checkedHandler"]}]]],["p-8baff5fd",[[0,"gxg-shortcuts",{"src":[1],"showKey":[1,"show-key"],"suspend":[4],"showTooltip":[1540,"show-tooltip"],"show":[32]}],[1,"ch-shortcuts",{"src":[1],"showKey":[1,"show-key"],"suspend":[4],"showShortcuts":[32]},[[10,"keydown","windowKeyDownHandler"]],{"suspend":["suspendHandler"]}]]],["p-1cb2d0df",[[0,"gxg-tree-view",{"checkbox":[4],"checked":[4],"checkDroppableZoneCallback":[16],"cssClass":[1,"css-class"],"dragDisabled":[4,"drag-disabled"],"dropDisabled":[4,"drop-disabled"],"dropItemsCallback":[16],"dropMode":[1,"drop-mode"],"editableItems":[4,"editable-items"],"expandableButton":[1,"expandable-button"],"expandOnClick":[4,"expand-on-click"],"filter":[1],"filterDebounce":[2,"filter-debounce"],"filterList":[16],"filterOptions":[16],"filterType":[1,"filter-type"],"lazyLoadTreeItemsCallback":[16],"modifyItemCaptionCallback":[16],"multiSelection":[4,"multi-selection"],"renderItem":[16],"showLines":[1,"show-lines"],"sortItemsCallback":[16],"toggleCheckboxes":[4,"toggle-checkboxes"],"treeModel":[16],"treeViewItemCssClass":[1,"tree-view-item-css-class"],"loadLazyContent":[64],"removeItems":[64],"reloadItems":[64],"scrollIntoVisible":[64],"toggleItems":[64],"updateAllItemsProperties":[64],"updateItemsProperties":[64],"updateValidDropZone":[64]}],[0,"ch-tree-view-render",{"checkbox":[4],"checked":[4],"checkDroppableZoneCallback":[16],"cssClass":[1,"css-class"],"dragDisabled":[4,"drag-disabled"],"dropDisabled":[4,"drop-disabled"],"dropItemsCallback":[16],"dropMode":[1,"drop-mode"],"editableItems":[4,"editable-items"],"expandableButton":[1,"expandable-button"],"expandOnClick":[4,"expand-on-click"],"filter":[1],"filterDebounce":[2,"filter-debounce"],"filterList":[16],"filterOptions":[16],"filterType":[1,"filter-type"],"gxImageConstructor":[16],"gxSettings":[8,"gx-settings"],"lazyLoadTreeItemsCallback":[16],"modifyItemCaptionCallback":[16],"multiSelection":[4,"multi-selection"],"renderItem":[16],"showLines":[1,"show-lines"],"sortItemsCallback":[16],"toggleCheckboxes":[4,"toggle-checkboxes"],"treeModel":[16],"treeViewItemCssClass":[1,"tree-view-item-css-class"],"useGxRender":[4,"use-gx-render"],"waitDropProcessing":[32],"dropItems":[64],"getItemsInfo":[64],"loadLazyContent":[64],"removeItems":[64],"reloadItems":[64],"scrollIntoVisible":[64],"toggleItems":[64],"updateAllItemsProperties":[64],"updateItemsProperties":[64],"updateValidDropZone":[64]},[[0,"checkboxChange","onCheckboxChange"],[0,"checkboxToggleChange","onCheckboxChange"],[0,"loadLazyContent","onLoadLazyContent"],[0,"modifyCaption","onModifyCaption"],[2,"openReference","onOpenReference"]],{"filter":["filterChanged"],"filterDebounce":["filterDebounceChanged"],"filterList":["filterListChanged"],"filterOptions":["filterOptionsChanged"],"filterType":["filterTypeChanged"],"multiSelection":["multiSelectionChanged"],"treeModel":["treeModelChanged"]}],[1,"ch-tree-view-item",{"caption":[1],"checkbox":[4],"checked":[1540],"customRender":[4,"custom-render"],"disabled":[516],"dragDisabled":[4,"drag-disabled"],"dropDisabled":[4,"drop-disabled"],"dragState":[1025,"drag-state"],"downloading":[1028],"editable":[4],"editing":[1028],"endImgSrc":[1,"end-img-src"],"endImgType":[1,"end-img-type"],"expandableButton":[1,"expandable-button"],"expandOnClick":[4,"expand-on-click"],"expanded":[1028],"lastItem":[4,"last-item"],"lazyLoad":[1028,"lazy-load"],"leaf":[4],"level":[2],"indeterminate":[1028],"metadata":[1],"selected":[1540],"showDownloadingSpinner":[4,"show-downloading-spinner"],"showLines":[1,"show-lines"],"startImgSrc":[1,"start-img-src"],"startImgType":[1,"start-img-type"],"toggleCheckboxes":[4,"toggle-checkboxes"],"focusNextItem":[64],"focusNextSibling":[64],"focusPreviousItem":[64],"focusLastItem":[64],"setFocus":[64],"updateChecked":[64]},[[0,"checkboxChange","updateCheckboxValue"]],{"checked":["updateChildrenCheckedValue"],"editing":["editingChanged"],"expanded":["expandedChanged"],"lastItem":["lastItemChanged"],"showLines":["showLinesChanged"]}],[4,"ch-tree-view",{"multiSelection":[4,"multi-selection"],"openSubTreeCountdown":[2,"open-sub-tree-countdown"],"selectedItemsCallback":[16],"scrollToEdgeOnDrag":[4,"scroll-to-edge-on-drag"],"waitDropProcessing":[4,"wait-drop-processing"],"draggingInTheDocument":[32],"draggingInTree":[32],"scrollIntoVisible":[64],"updateValidDropZone":[64]},[[2,"contextmenu","onContextMenu"],[2,"keydown","onKeyDown"],[9,"dragstart","onDragStart"],[11,"dragend","onDragEnd"],[3,"dragenter","onDragEnter"],[3,"dragleave","onDragLeave"],[1,"drop","onDrop"],[0,"itemDragStart","onItemDragStart"],[0,"itemDragEnd","onItemDragEnd"],[0,"selectedItemChange","onSelectedItemChange"]]],[1,"ch-tree-view-drop",{"dragState":[1,"drag-state"],"level":[2],"treeItemId":[1,"tree-item-id"],"type":[1]}]]],["p-c49ce410",[[1,"gx-ide-title",{"titleCaption":[1,"title-caption"],"type":[1],"alignment":[1],"padding":[516],"noPaddingBottom":[516,"no-padding-bottom"],"border":[516]}],[1,"gxg-title",{"type":[1],"alignment":[513]}],[17,"gxg-button",{"grabAttention":[516,"grab-attention"],"alwaysBlack":[4,"always-black"],"disabled":[4],"fit":[4],"fullWidth":[4,"full-width"],"small":[4],"icon":[8],"negative":[4],"type":[1],"buttonStylesEditable":[4,"button-styles-editable"],"selected":[4]}]]],["p-74bfec22",[[17,"gxg-combo-box",{"popOver":[4,"pop-over"],"toolTip":[4,"tool-tip"],"preventEnterPropagation":[4,"prevent-enter-propagation"],"fixedIcon":[1,"fixed-icon"],"disabled":[4],"label":[1],"labelPosition":[513,"label-position"],"minWidth":[1,"min-width"],"maxWidth":[1,"max-width"],"listMaxHeight":[1,"list-max-height"],"placeholder":[1],"disableFilter":[4,"disable-filter"],"disableClear":[4,"disable-clear"],"strict":[4],"value":[8],"caseSensitive":[4,"case-sensitive"],"listPosition":[1,"list-position"],"centerLabel":[4,"center-label"],"labelWidth":[8,"label-width"],"required":[516],"validationStatus":[1025,"validation-status"],"validationMessage":[1,"validation-message"],"cursorEnd":[4,"cursor-end"],"informationMessage":[1,"information-message"],"text":[32],"inputTextValue":[32],"listIsOpen":[32],"inputTextIcon":[32],"noMatch":[32],"lastAllowedValue":[32],"slottedContent":[32],"selectionProgramatic":[32],"lastSetValueByUser":[32],"myObserver":[32],"selectedItem":[32],"removedItem":[32],"open":[64],"close":[64],"getValueByIndex":[64],"setValueByIndex":[64],"selectInputText":[64]},[[0,"itemSelected","itemSelectedHandler"],[0,"itemDidLoad","itemDidLoadHandler"],[0,"keyDownComboItem","keyDownComboItemHandler"]],{"value":["onValueChanged"],"listIsOpen":["listIsOpenHandler"],"selectedItem":["selectedItemHandler"],"removedItem":["removedItemHandler"]}],[1,"gxg-combo-box-item",{"icon":[1],"value":[8],"index":[514],"disabled":[4],"selected":[516],"exactMatch":[516,"exact-match"],"hidden":[516],"iconColor":[32]}],[1,"gx-ide-container",{"inactiveTitle":[4,"inactive-title"],"containerTitle":[1,"container-title"],"titleType":[1,"title-type"],"displayBorder":[4,"display-border"],"displayBorderTop":[4,"display-border-top"],"displayBorderEnd":[4,"display-border-end"],"displayBorderBottom":[4,"display-border-bottom"],"displayBorderStart":[4,"display-border-start"],"sectionsPadding":[1,"sections-padding"],"titleAlignment":[1,"title-alignment"],"noHeadingBorder":[4,"no-heading-border"],"noHeadingGap":[4,"no-heading-gap"],"noHeadingPadding":[4,"no-heading-padding"],"noHeadingPaddingBlockEnd":[4,"no-heading-padding-block-end"],"headingPaddingTop":[4,"heading-padding-top"],"headingJustify":[1,"heading-justify"],"titleHeightAsInput":[4,"title-height-as-input"],"flexRow":[4,"flex-row"],"flexContent":[4,"flex-content"],"noContentBorderTop":[4,"no-content-border-top"],"noContentPadding":[4,"no-content-padding"],"noContentGap":[4,"no-content-gap"],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"],"contentBorderEnd":[4,"content-border-end"],"slimmerAboveFooter":[4,"slimmer-above-footer"],"noAboveFooterPadding":[4,"no-above-footer-padding"],"noBorderAboveFooter":[4,"no-border-above-footer"],"slimmerFooter":[4,"slimmer-footer"],"noFooterPadding":[4,"no-footer-padding"],"footerJustify":[1,"footer-justify"],"noBorderFooter":[4,"no-border-footer"],"hasHeaderSlot":[32],"hasSlottedContent":[32],"hasFooterSlot":[32],"hasAboveFooterSlot":[32],"hasOnlyHeading":[32],"hasOnlyContent":[32],"hasOnlyFooter":[32]}]]],["p-85f9af01",[[1,"ch-window",{"container":[16],"xAlign":[1537,"x-align"],"yAlign":[1537,"y-align"],"hidden":[1540],"modal":[516],"caption":[1],"closeText":[1,"close-text"],"closeTooltip":[1,"close-tooltip"],"closeOnOutsideClick":[4,"close-on-outside-click"],"closeOnEscape":[4,"close-on-escape"],"allowDrag":[1,"allow-drag"],"showFooter":[4,"show-footer"],"showHeader":[4,"show-header"],"showMain":[4,"show-main"],"showSeparation":[4,"show-separation"]},[[1,"mousedown","mousedownHandler"],[0,"windowCloseClicked","windowCloseClickedHandler"]],{"container":["containerHandler"],"hidden":["hiddenHandler"]}],[0,"ch-window-close",{"disabled":[4]},[[1,"keydown","pressedHandler"],[1,"click","pressedHandler"]]]]],["p-786e5448",[[4,"gxg-grid",{"noBorder":[516,"no-border"],"fullHeight":[516,"full-height"]}],[1,"ch-grid",{"rowSelectionMode":[1,"row-selection-mode"],"keyboardNavigationMode":[1,"keyboard-navigation-mode"],"rowHighlightEnabled":[8,"row-highlight-enabled"],"rowSelectedClass":[1,"row-selected-class"],"rowHighlightedClass":[1,"row-highlighted-class"],"rowFocusedClass":[1,"row-focused-class"],"rowMarkedClass":[1,"row-marked-class"],"allowColumnReorder":[4,"allow-column-reorder"],"columnResizeMode":[1,"column-resize-mode"],"localization":[16],"rowFocused":[32],"cellFocused":[32],"rowHighlighted":[32],"rowsMarked":[32],"rowsSelected":[32],"cellSelected":[32],"gridStyle":[32],"getFocusedRow":[64],"getHoveredRow":[64],"getSelectedRows":[64],"getMarkedRows":[64],"getFocusedCell":[64],"getSelectedCell":[64],"selectRow":[64],"selectAllRows":[64],"selectCell":[64],"markRow":[64],"markAllRows":[64],"expandRow":[64],"collapseRow":[64],"rowEnsureVisible":[64],"cellEnsureVisible":[64],"getPreviousRow":[64],"getNextRow":[64],"getPreviousCell":[64],"getNextCell":[64],"syncRowState":[64]},[[1,"focus","focusHandler"],[1,"blur","blurHandler"],[1,"cellFocused","cellFocusedEventHandler"],[8,"keydown","windowKeyDownHandler"],[1,"keydown","keyDownHandler"],[1,"mousemove","mouseMoveHandler"],[1,"mouseleave","mouseLeaveHandler"],[1,"mousedown","clickHandler"],[1,"mouseup","mouseUpHandler"],[1,"dblclick","dblclickHandler"],[1,"touchstart","touchstartHandler"],[0,"touchend","touchendHandler"],[0,"contextmenu","contextmenuHandler"],[1,"columnSelectorClicked","columnSelectorClickedHandler"],[1,"cellSelectorClicked","cellSelectorClickedHandler"],[1,"cellRowActionClicked","cellRowActionClickedHandler"],[0,"columnHiddenChanged","columnStyleChangedHandler"],[0,"columnOrderChanged","columnStyleChangedHandler"],[0,"columnFreezeChanged","columnStyleChangedHandler"],[0,"columnSizeChanging","columnStyleChangedHandler"],[0,"columnFreezeChanged","columnFreezeChangedHandler"],[0,"columnResizeStarted","columnResizeStartedHandler"],[0,"columnResizing","columnResizingHandler"],[0,"columnResizeFinished","columnResizeFinishedHandler"],[0,"columnDragStarted","columnDragStartHandler"],[0,"columnDragging","columnDraggingHandler"],[0,"columnDragEnded","columnDragEndHandler"],[0,"rowDragStarted","rowDragStartHandler"],[0,"rowEnsureVisible","rowEnsureVisibleHandler"],[0,"cellEnsureVisible","cellEnsureVisibleHandler"],[0,"settingsShowClicked","settingsShowClickedHandler"],[0,"settingsCloseClicked","settingsCloseClickedHandler"]],{"rowFocused":["rowFocusedHandler"],"cellFocused":["cellFocusedHandler"],"rowHighlighted":["rowHighlightedHandler"],"rowsMarked":["rowsMarkedHandler"],"rowsSelected":["rowsSelectedHandler"],"cellSelected":["cellSelectedHandler"]}],[1,"ch-grid-column",{"columnId":[1,"column-id"],"columnType":[1,"column-type"],"columnIconUrl":[1,"column-icon-url"],"columnImage":[1,"column-image"],"columnImageSet":[1,"column-image-set"],"columnName":[1,"column-name"],"columnNameHidden":[4,"column-name-hidden"],"columnTooltip":[1,"column-tooltip"],"columnNamePosition":[1,"column-name-position"],"richRowDrag":[4,"rich-row-drag"],"richRowSelector":[4,"rich-row-selector"],"richRowSelectorMode":[1,"rich-row-selector-mode"],"richRowSelectorState":[1025,"rich-row-selector-state"],"richRowActions":[4,"rich-row-actions"],"displayObserverClass":[1,"display-observer-class"],"freeze":[1],"hidden":[516],"hideable":[4],"order":[514],"physicalOrder":[2,"physical-order"],"size":[513],"resizable":[4],"resizing":[1540],"sortable":[4],"settingable":[4],"sortDirection":[1537,"sort-direction"],"showSettings":[1540,"show-settings"]},[[1,"click","clickHandler"],[0,"columnResizeStarted","columnResizeStartedHandler"],[0,"columnResizeFinished","columnResizeFinishedHandler"]],{"freeze":["freezeHandler"],"hidden":["hiddenHandler"],"order":["orderHandler"],"size":["sizeHandler"],"sortDirection":["sortDirectionHandler"]}],[0,"ch-grid-columnset",null,[[0,"columnSortChanged","columnSortChangedHandler"]]],[1,"ch-grid-column-settings",{"column":[16],"show":[516]},[[0,"windowClosed","windowClosedHandler"],[0,"columnSettingsChanged","columnSettingsChangedHandler"]]],[1,"ch-grid-settings",{"grid":[16],"show":[1540]},[[0,"windowClosed","windowClosedHandler"]]],[1,"ch-grid-column-resize",{"column":[16],"resizing":[32]},[[1,"click","clickHandler"],[0,"dblclick","dblclickHandler"],[0,"columnResizeStarted","columnResizeStartedHandler"],[0,"columnResizeFinished","columnResizeFinishedHandler"]]],[1,"ch-grid-settings-columns",{"columns":[16]}]]],["p-6f5b13a7",[[17,"gxg-form-text",{"hideTooltip":[4,"hide-tooltip"],"toolTip":[4,"tool-tip"],"clearButton":[516,"clear-button"],"debounce":[4],"debounceDelay":[2,"debounce-delay"],"disabled":[4],"readonly":[4],"icon":[8],"cursorEnd":[4,"cursor-end"],"iconPosition":[513,"icon-position"],"label":[1],"labelPosition":[513,"label-position"],"borderless":[4],"minimal":[516],"overDarkBackground":[516,"over-dark-background"],"placeholder":[1],"required":[516],"centerLabel":[4,"center-label"],"labelWidth":[8,"label-width"],"type":[1],"multiple":[4],"fileList":[1040],"acceptFile":[1,"accept-file"],"preventValueChangedEmit":[4,"prevent-value-changed-emit"],"validationStatus":[1025,"validation-status"],"validationMessage":[1,"validation-message"],"informationMessage":[1,"information-message"],"value":[513],"maxWidth":[1,"max-width"],"width":[1],"textStyle":[513,"text-style"],"password":[4],"maxLength":[1,"max-length"],"minLength":[1,"min-length"],"cursorInside":[32],"inputSize":[32],"mouseCoordinates":[32],"rtl":[32],"iconColor":[32],"selectInputText":[64],"openFile":[64],"clearInput":[64]},null,{"value":["watchValueHandler"]}],[1,"gxg-label",{"labelPosition":[1,"label-position"],"disabled":[516],"noMargin":[4,"no-margin"],"center":[4],"for":[1],"width":[1],"size":[1],"tooltip":[1]}],[1,"gxg-tooltip",{"position":[513],"label":[1],"alignEnd":[516,"align-end"],"fixed":[516],"flex":[516],"noBorder":[516,"no-border"],"visible":[32]}],[1,"gxg-icon",{"color":[1],"size":[1],"type":[8]}],[1,"ch-icon",{"color":[1],"lazy":[4],"autoColor":[516,"auto-color"],"src":[513],"size":[1],"isVisible":[32],"svgContent":[32]},null,{"src":["getIcon"]}]]]]'), e)));
|
|
16
|
+
patchBrowser().then((e => t(JSON.parse('[["p-f067657f",[[1,"gx-ide-team-dev-update",{"displayTitle":[4,"display-title"],"confirmCallback":[16],"gridContextMenuCallback":[16],"loadCallback":[16],"objectsScopeCallback":[16],"openServerCallback":[16],"pendingItemsCheckedCallback":[16],"revisionScopeCallback":[16],"objectsContextMenuCallback":[16],"selectCallback":[16],"types":[16],"updateCallback":[16],"updateFrom":[16],"isLoading":[32],"objectScopeText":[32],"openTab":[32],"revisionScopeText":[32],"showFilter":[32],"updateData":[32],"updateResultData":[32],"reload":[64]}]]],["p-34850af1",[[1,"gx-ide-manage-module-references",{"displayTitle":[4,"display-title"],"servers":[16],"serverSelectedCallback":[16],"executeActionCallback":[16],"addServerCallback":[16],"serverContextMenuCallback":[16],"showServerCommands":[4,"show-server-commands"],"modulesAll":[32],"filteredModules":[32],"selectedModule":[32],"selectedServerId":[32],"selectedModuleAction":[32],"modulesSelectedVersion":[32],"actionCompleted":[32],"closeProgressBar":[32],"progressValue":[32],"progressState":[32],"loadingServer":[32],"reRenderCounter":[32],"validate":[64]},null,{"modulesAll":["modulesAllWatcher","onPropValueChange"],"loadingServer":["loadingServerHandler"]}]]],["p-d0a8d025",[[1,"gx-ide-manage-module-references-v2",{"displayTitle":[4,"display-title"],"servers":[16],"serverSelectedCallback":[16],"executeActionCallback":[16],"serverContextMenuCallback":[16],"showServerCommands":[4,"show-server-commands"],"searchModulesFilterValue":[32],"selectedButtonFilter":[32],"serverModules":[32],"serverModulesExtended":[32],"filteredServerModules":[32],"modulesMap":[32],"selectedModule":[32],"selectedServerId":[32],"selectedModuleAction":[32],"modulesSelectedVersionMap":[32],"actionCompleted":[32],"closeProgressBar":[32],"progressValue":[32],"progressState":[32],"loadingServer":[32]},null,{"loadingServer":["loadingServerHandler"]}]]],["p-debee72d",[[17,"gx-ide-object-selector",{"displayTitle":[4,"display-title"],"loader":[4],"multiSelection":[4,"multi-selection"],"patternValue":[1,"pattern-value"],"types":[16],"defaultType":[1,"default-type"],"categories":[16],"defaultCategory":[1,"default-category"],"defaultModule":[16],"selectModuleCallback":[16],"cancelCallback":[16],"loadCallback":[16],"newObjectCallback":[16],"openSelectionCallback":[16],"filterAfterType":[32],"filterModified":[32],"objects":[32],"selectedObjectsIds":[32],"suspendShortcuts":[64],"validate":[64]}]]],["p-b4294776",[[1,"gx-ide-bpm-app-declaration",{"displayTitle":[4,"display-title"],"application":[1040],"suggestApplicationsCallback":[16],"selectApplicationCallback":[16],"selectMappingCallback":[16],"confirmCallback":[16],"cancelCallback":[16],"getDataMappingCallback":[16],"suggestedApplications":[32]},null,{"application":["watchApplicationHandler"]}]]],["p-a7e13b00",[[1,"gx-ide-team-dev-commit",{"displayTitle":[4,"display-title"],"changeSet":[16],"types":[16],"folders":[16],"categories":[16],"getRecentCommentCallback":[16],"loadCallback":[16],"commitCallback":[16],"selectCallback":[16],"pendingItemsCheckedCallback":[16],"objectsContextMenuCallback":[16],"filtersHidden":[32],"comment":[32],"pendingCommits":[32],"ignoredObjects":[32],"commitButtonEnabled":[32],"filterHasConditions":[32],"reload":[64]}]]],["p-6719090c",[[1,"gx-ide-ww-images",{"displayTitle":[4,"display-title"],"secondaryFilter":[4,"secondary-filter"],"categories":[16],"densities":[16],"defaultCategory":[1,"default-category"],"defaultModule":[16],"defaultType":[1,"default-type"],"filterModules":[16],"languages":[16],"layers":[16],"contextMenuCallback":[16],"deleteSelectionCallback":[16],"loadCallback":[16],"loadImageItemsCallback":[16],"newObjectCallback":[16],"openSelectionCallback":[16],"selectModuleCallback":[16],"selectionObjectChangedCallback":[16],"shadow":[4],"styles":[16],"types":[16],"filtersHidden":[32],"filterAfterType":[32],"filterModified":[32],"images":[32],"filteredImages":[32],"imagesSelectedItems":[32],"selectedObjectsIds":[32],"filterImagesInputValue":[32],"validate":[64],"reload":[64]},[[1,"keydown","keyDownHandler"]],{"filtersHidden":["filtersHiddenHandler"]}]]],["p-8eb7131d",[[1,"gx-ide-import-from-design",{"displayTitle":[4,"display-title"],"extensions":[1],"defaultModule":[16],"selectModuleCallback":[16],"cancelCallback":[16],"confirmCallback":[16],"loadCallback":[16],"loadDesignSystemCallback":[16],"loadFontCallback":[16],"loadImageCallback":[16],"loadPanelDataCallback":[16],"requiresAccessTokenCallback":[16],"shadow":[4],"styles":[16],"textEditorFactoryCallback":[16],"designData":[32],"detailTreeModel":[32],"isLoading":[32],"messages":[32],"path":[32],"selectedFile":[32],"selectedDesignType":[32],"selectedDesignItem":[32],"showAccessToken":[32],"designDataTreeDataModel":[32],"updateTabsActiveTab":[32],"fitImages":[32],"shrinkTree":[32],"shrunkenTree":[32],"treeSh":[32],"validate":[64]},null,{"designData":["watchDesignDataHandler"],"shrinkTree":["watchShrinkTreeHandler"],"messages":["watchMessagesHandler"]}]]],["p-da209fe0",[[17,"gx-ide-data-selector",{"displayTitle":[4,"display-title"],"loader":[4],"selectionType":[1,"selection-type"],"selectObjectCallback":[16],"editCallback":[16],"cancelCallback":[16],"loadItemsCallback":[16],"newVariableCallback":[16],"confirmCallback":[16],"objects":[32],"selectedObjectsIds":[32],"suspendShortcuts":[64],"validate":[64]}]]],["p-e7f542e1",[[1,"gx-ide-new-environment",{"displayTitle":[4,"display-title"],"cancelCallback":[16],"createCallback":[16],"dataStores":[1040],"disableAdvanced":[4,"disable-advanced"],"environmentName":[1025,"environment-name"],"frontEnds":[1040],"getEnvironmentNameCallback":[16],"getFrontEndsCallback":[16],"getDataSourcesCallback":[16],"isAdvanced":[4,"is-advanced"],"languages":[16],"runtimes":[16],"setAsTarget":[4,"set-as-target"],"suspendShortcuts":[64]}]]],["p-8a27e8df",[[1,"gx-ide-references",{"displayTitle":[4,"display-title"],"selectedObject":[1040],"selectorSourceCallback":[16],"loadReferencesCallback":[16],"openObjectCallback":[16],"openSelectorDialogCallback":[16],"selectReferenceCallback":[16],"referencedByTreeData":[32],"referencesToTreeData":[32],"barHidden":[32],"objectsSuggestions":[32]},null,{"selectedObject":["selectedObjectHandler"]}]]],["p-7083d9d7",[[1,"gx-ide-kb-manager-import",{"displayTitle":[4,"display-title"],"topStateBar":[4,"top-state-bar"],"selectedFile":[1040],"optionsCallback":[16],"importCallback":[16],"loadCallback":[16],"cancelCallback":[16],"statusMinimal":[4,"status-minimal"],"objectContextMenuCallback":[16],"checkedObjectsIds":[32],"noObjects":[32],"showHiddenImportsMessage":[32],"statusInfo":[32],"objectsTreeState":[32],"importStatusMessage":[32],"someStatusVisible":[32],"noImport":[32],"importTreeState":[32],"importingIsInProcess":[32],"addResultItem":[64]},null,{"objectsTreeState":["watchObjectsTreeStateHandler"],"importTreeState":["watchImportTreeStateHandler"],"importingIsInProcess":["watchImportingIsInProcessHandler"],"selectedFile":["watchSelectedFileHandler"]}]]],["p-6d06451e",[[1,"gx-ide-new-kb",{"displayTitle":[4,"display-title"],"defaultDataSources":[1040],"frontEnds":[1040],"isAdvanced":[4,"is-advanced"],"kbLocation":[1025,"kb-location"],"selectLocationCallback":[16],"kbName":[1,"kb-name"],"prototypingEnvironments":[16],"prototypingTargets":[16],"userInterfaceLanguages":[16],"authenticationTypes":[16],"collations":[16],"createDataFilesInKBFolder":[4,"create-data-files-in-k-b-folder"],"databaseName":[1,"database-name"],"password":[1],"savePassword":[4,"save-password"],"serverNames":[16],"userName":[1,"user-name"],"test":[1],"createCallback":[16],"cancelCallback":[16],"getDataSourcesCallback":[16],"getFrontEndsCallback":[16],"createDataInKbDisabled":[32],"userNameVisible":[32],"passwordVisible":[32],"savePasswordVisible":[32],"suspendShortcuts":[64]}]]],["p-11d2e597",[[1,"gx-ide-kb-manager-export",{"displayTitle":[4,"display-title"],"fileName":[1,"file-name"],"loader":[4],"kbPropertiesTypes":[16],"objectTypes":[16],"exportFileDirectoryCallback":[16],"optionsCallback":[16],"addKBPropertiesCallback":[16],"addReferencesCallback":[16],"addObjectsCallback":[16],"exportCallback":[16],"cancelCallback":[16],"exportAllIsChecked":[32],"addKbPropertiesIsChecked":[32],"checkedObjectsIds":[32],"noObjects":[32],"treeModel":[32],"exportingIsInProcess":[32]},null,{"treeModel":["watchTreeModelHandler"],"exportingIsInProcess":["watchExportingIsInProcessHandler"],"objectTypes":["watchObjectTypesHandler"]}]]],["p-9a8f3b43",[[1,"gx-ide-create-kb-from-server",{"displayTitle":[4,"display-title"],"connectCallback":[16],"createKBCallback":[16],"enableCustomServer":[4,"enable-custom-server"],"kbName":[1025,"kb-name"],"password":[1],"serverUrls":[16],"userName":[1,"user-name"],"selectionKbDisabled":[32],"kbs":[32],"kbSearchText":[32]},null,{"kbs":["watchPropHandler"]}]]],["p-0fd26289",[[1,"gx-ide-team-dev-update-partial-selection",{"displayTitle":[4,"display-title"],"addCallback":[16],"cancelCallback":[16],"confirmCallback":[16],"selection":[1040],"selectedObjectsIds":[32],"validate":[64]}]]],["p-6cb14be6",[[17,"gx-ide-new-object",{"displayTitle":[4,"display-title"],"shadow":[4],"typeCategories":[16],"parent":[16],"defaultParent":[16],"defaultTypeId":[1,"default-type-id"],"selectModuleCallback":[16],"validateNameCallback":[16],"createCallback":[16],"cancelCallback":[16],"selectedCategory":[32],"selectedType":[32],"nameIsValid":[32],"name":[32],"description":[32],"suspendShortcuts":[64]},null,{"selectedType":["watchSelectedTypeHandler"]}]]],["p-51f2f081",[[1,"gx-ide-share-kb",{"displayTitle":[4,"display-title"],"kbName":[1,"kb-name"],"serverUrls":[16],"enableCustomServer":[4,"enable-custom-server"],"createKBCallback":[16]}]]],["p-8e3edd99",[[0,"gx-grid-chameleon",{"grid":[16],"gridTimestamp":[1026,"grid-timestamp"],"state":[16]},[[0,"selectionChanged","selectionChangedHandler"],[0,"rowClicked","cellClickedHandler"],[0,"pageNavigationRequested","navigateClickedHandler"],[0,"refreshClicked","refreshClickedHandler"],[0,"columnHiddenChanged","columnHiddenChangedHandler"],[0,"columnSizeChanging","columnSizeChangedHandler"],[0,"columnSizeChanged","columnSizeChangedHandler"],[0,"columnFreezeChanged","columnFreezeChangedHandler"],[0,"columnSortChanged","columnSortChangedHandler"],[0,"columnOrderChanged","columnOrderChangedHandler"],[0,"columnSettingsChanged","columnFilterChangedHandler"]],{"state":["controlStateHandler"]}]]],["p-61e4276a",[[1,"gx-ide-start-page",{"news":[16],"kbs":[16],"openKbCallback":[16],"getNewsCallback":[16],"openNewsCallback":[16],"kbsFilterValue":[32],"renderedFirstTime":[32]}]]],["p-b7ad27fe",[[1,"gx-ide-team-dev-update-to-revision",{"displayTitle":[4,"display-title"],"cancelCallback":[16],"confirmCallback":[16],"currentRevision":[1,"current-revision"],"validate":[64]}]]],["p-824b50eb",[[1,"gx-ide-dashboard-home",{"kb":[16],"enableEditKBName":[4,"enable-edit-k-b-name"],"environment":[16],"enableEditEnvironmentName":[4,"enable-edit-environment-name"],"projectDescription":[1,"project-description"],"enableEditDescription":[4,"enable-edit-description"],"recentObjects":[16],"renameKBCallback":[16],"renameEnvironmentCallback":[16],"editDescriptionCallback":[16],"openObjectCallback":[16],"editingEnvName":[32],"editingProjectDescription":[32]},null,{"recentObjects":["recentObjectsHandler"]}]]],["p-8fb3e5b3",[[1,"gx-ide-gam-installation-settings",{"displayTitle":[4,"display-title"],"configurationType":[1,"configuration-type"],"repairCallback":[16],"saveCallback":[16],"cancelCallback":[16],"fileName":[32],"selectedFile":[32],"importingIsInProcess":[32]}]]],["p-904332b2",[[1,"gx-ide-wf-settings",{"displayTitle":[4,"display-title"],"configurationType":[1,"configuration-type"],"saveCallback":[16],"cancelCallback":[16]}]]],["p-874d336e",[[1,"gx-ide-bpm-assign-roles",{"displayTitle":[4,"display-title"],"roles":[16],"assignedRoles":[16],"confirmCallback":[16],"cancelCallback":[16],"unassignedRolesState":[32],"assignedRolesState":[32],"filterUnassignedInput":[32],"filterAssignedInput":[32],"unassignedSelected":[32],"assignedSelected":[32]}]]],["p-64de1e77",[[1,"gx-ide-connect-gx-server",{"displayTitle":[4,"display-title"],"serverUrls":[16],"enableCustomServer":[4,"enable-custom-server"],"defaultConnectionData":[16],"enableUserLogged":[4,"enable-user-logged"],"connectCallback":[16],"cancelCallback":[16],"displayLoginControls":[32]}]]],["p-0d1cf3ee",[[1,"gx-ide-edit-module-server",{"types":[16],"name":[1],"source":[1],"type":[1],"confirmCallback":[16],"selectSourceCallback":[16],"cancelCallback":[16],"selectedType":[32]}]]],["p-096cf817",[[1,"gx-ide-ai-assistant",{"messages":[1040],"promptMaxHeight":[1,"prompt-max-height"],"assistantStatus":[1025,"assistant-status"],"focusShortcuts":[16],"userMessageCallback":[16],"promptValue":[1,"prompt-value"],"filter":[4],"userHasTyped":[32],"aIInProgress":[32],"showFilter":[32],"promptHasFocus":[32],"filterValue":[32],"clear":[64],"addMessage":[64]},null,{"aIInProgress":["watchAIInProgressHandler"],"messages":["watchMessagesHandler"]}]]],["p-5dd1b9ab",[[1,"gx-ide-template",{"displayTitle":[4,"display-title"]}]]],["p-84c20e24",[[1,"gx-ide-team-dev-select-recent-comment",{"displayTitle":[4,"display-title"],"comments":[16],"confirmCallback":[16],"cancelCallback":[16]}]]],["p-ed6a8ed6",[[1,"gx-ide-directory-selector",{"accessibilityLabels":[16],"label":[1],"labelPosition":[513,"label-position"],"centerLabel":[1028,"center-label"],"labelWidth":[1,"label-width"],"selectDirectoryCallback":[16],"value":[1025],"icon":[32]}]]],["p-e497877c",[[1,"gx-ide-file-selector",{"accessibilityLabels":[16],"label":[1],"labelPosition":[513,"label-position"],"centerLabel":[1028,"center-label"],"labelWidth":[1,"label-width"],"selectDirectoryCallback":[16],"value":[1025]}]]],["p-9b027df3",[[1,"gxg-filter",{"top":[8],"left":[8],"itemsNodeList":[32]},[[0,"itemClickedEvent","handleItemClickedEvent"]]]]],["p-f20375ae",[[1,"gx-ide-test",{"name":[1]}]]],["p-0a72751b",[[1,"gxg-accordion-item",{"disabled":[516],"editableTitle":[4,"editable-title"],"mode":[513],"itemId":[1,"item-id"],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"titleIcon":[1,"title-icon"],"status":[513],"hasBorder":[4,"has-border"],"nestedAccordion":[32],"minHeight":[32],"accordionMode":[32],"hasSlottedMeta":[32]}]]],["p-e4700656",[[17,"gxg-drop-down",{"width":[1],"minWidth":[1,"min-width"],"maxWidth":[1,"max-width"],"dropDownHeight":[1,"drop-down-height"],"label":[1],"icon":[1],"showContent":[4,"show-content"],"position":[1],"initialButtonText":[32],"detectClickOutsideDropDown":[32],"detectMouseScroll":[32],"myObserver":[32]},null,{"showContent":["watchHandler"]}]]],["p-6dd37250",[[1,"gxg-tree-item",{"checkbox":[1028],"checked":[1028],"opened":[4],"toggleCheckboxes":[4,"toggle-checkboxes"],"type":[1],"disabled":[4],"label":[1],"description":[1],"leaf":[1028],"selected":[1028],"icon":[1],"treeModel":[16],"numberOfChildren":[2,"number-of-children"],"hasChildTree":[1028,"has-child-tree"],"indeterminate":[1028],"horizontalLinePaddingLeft":[32],"lastTreeItem":[32],"lastTreeItemOfParentTree":[32],"numberOfVisibleDescendantItems":[32],"time":[32],"lineHeight":[32],"downloading":[32],"reRender":[64],"evaluateCheckboxStatus":[64]},null,{"checked":["checkedHandler"],"opened":["openedHandler"]}]]],["p-8c99221d",[[0,"ch-action-group-render",{"moreActionsAccessibleName":[1,"more-actions-accessible-name"],"cssClass":[1,"css-class"],"gxImageConstructor":[16],"gxSettings":[8,"gx-settings"],"itemClickCallback":[16],"itemsOverflowBehavior":[1,"items-overflow-behavior"],"model":[16],"openOnFocus":[4,"open-on-focus"],"moreActionsDropdownPosition":[1,"more-actions-dropdown-position"],"separatorCssClass":[1,"separator-css-class"],"useGxRender":[4,"use-gx-render"],"displayedItemsCount":[32],"moreActionsButtonWasExpanded":[32]}]]],["p-d819bffa",[[0,"ch-test-flexible-layout",{"layout":[16]}]]],["p-d6c44793",[[1,"gx-ide-top-bar",{"topBarTitle":[1,"top-bar-title"]}]]],["p-4d5de920",[[0,"ch-next-data-modeling-render",{"addingModeCommonClass":[1,"adding-mode-common-class"],"captions":[16],"commonClass":[1,"common-class"],"createGxCollectionCallback":[16],"cssClass":[1,"css-class"],"dataModel":[16],"dataModelToEdit":[16],"disabled":[4],"entityAddingModeClass":[1,"entity-adding-mode-class"],"entityClass":[1,"entity-class"],"errorTexts":[16],"fieldAddingModeClass":[1,"field-adding-mode-class"],"fieldClass":[1,"field-class"],"fieldContainerClass":[1,"field-container-class"],"fieldCommonClass":[1,"field-common-class"],"hideLoading":[8,"hide-loading"],"maxAtts":[2,"max-atts"],"readonly":[4],"subFieldClass":[1,"sub-field-class"],"subFieldAddingModeClass":[1,"sub-field-adding-mode-class"],"subFieldContainerClass":[1,"sub-field-container-class"]},null,{"dataModel":["handleDataModelChange"],"hideLoading":["handleHideLoadingChange"]}]]],["p-5e3ad8f1",[[1,"ch-test-suggest",{"selectorSourceCallback":[16],"objectsSuggestions":[32]}]]],["p-301ba477",[[1,"gxg-alert",{"active":[516],"activeTime":[1,"active-time"],"position":[1],"title":[1],"type":[1],"fullWidth":[4,"full-width"],"leftRight":[1,"left-right"],"bottom":[1],"width":[1],"silent":[4],"rtl":[32]},null,{"active":["validateName"]}]]],["p-3326da98",[[1,"gxg-color-picker",{"label":[1032],"value":[1537],"colorRepresentation":[32],"colorInputValue":[32],"colorObject":[32]},null,{"value":["watchHandler"]}]]],["p-a0543cad",[[1,"gxg-demo",{"layerZIndex":[2,"layer-z-index"],"initiateDemo":[4,"initiate-demo"],"modalMessage":[1,"modal-message"],"gxgDemoItems":[32],"numberOfItems":[32],"currentItem":[32],"message":[32],"position":[32],"leftPosition":[32],"rightPosition":[32],"topPosition":[32],"layerVisible":[32],"instructionVisible":[32],"modalVisible":[32],"nextItemClicked":[32],"disableNextButton":[32],"rtl":[32],"currentItemZIndex":[32],"currentItemPosition":[32],"currentItemBoxShadow":[32],"currentItemPointerEvents":[32]},null,{"initiateDemo":["initiateDemoHandler"]}]]],["p-57d08866",[[1,"gxg-drag-box",{"active":[516],"deletable":[4],"padding":[513],"disabled":[4],"title":[1]}]]],["p-d248f403",[[1,"gxg-modal",{"flavor":[1],"padding":[513],"footerJustifyContent":[1,"footer-justify-content"],"modalTitle":[1,"modal-title"],"width":[1],"maxWidth":[1,"max-width"],"visible":[4],"zIndex":[1,"z-index"],"silent":[4],"hideFooter":[4,"hide-footer"],"layerVisible":[32],"modalVisible":[32],"modalTransition":[32],"close":[64]},null,{"visible":["watchVisibleHandler"]}]]],["p-f9529c7f",[[1,"gxg-options",{"maxWidth":[1,"max-width"],"width":[1],"zIndex":[1,"z-index"],"position":[1],"iconDirection":[1,"icon-direction"],"maxVisibleOptions":[2,"max-visible-options"],"optionsVisible":[32]},[[0,"keyDown","keyDownHandler"],[0,"optionSelected","optionSelectedHandler"]],{"optionsVisible":["showItemsHandler"]}]]],["p-a82333f6",[[1,"gxg-window",{"initialHeight":[1,"initial-height"],"initialWidth":[1,"initial-width"],"minHeight":[1,"min-height"],"minWidth":[1,"min-width"],"maxHeight":[1,"max-height"],"maxWidth":[1,"max-width"],"leftPosition":[1,"left-position"],"topPosition":[1,"top-position"],"windowTitle":[1,"window-title"],"titleIcon":[1,"title-icon"],"displayWindow":[4,"display-window"],"showWindow":[32],"customPosition":[32]},null,{"displayWindow":["displayWindowHandler"]}]]],["p-29a76a75",[[4,"ch-dropdown-render",{"buttonAccessibleName":[1,"button-accessible-name"],"cssClass":[1,"css-class"],"gxImageConstructor":[16],"gxSettings":[8,"gx-settings"],"itemClickCallback":[16],"itemCssClass":[1,"item-css-class"],"model":[16],"position":[1],"separatorCssClass":[1,"separator-css-class"],"useGxRender":[4,"use-gx-render"]}]]],["p-223a1fea",[[1,"ch-grid-row-actions",{"showOnRowHover":[516,"show-on-row-hover"],"showOnRowActions":[516,"show-on-row-actions"],"showOnRowContext":[516,"show-on-row-context"],"openRowHover":[64],"openRowActions":[64],"openRowContext":[64],"close":[64]}]]],["p-9069cdb0",[[4,"ch-tooltip",{"tooltipId":[1,"tooltip-id"],"delay":[2],"position":[1],"hidden":[32]}]]],["p-a53a3e15",[[1,"ch-tree-item",{"checkbox":[1028],"checked":[1028],"download":[4],"downloading":[4],"downloaded":[4],"leftIcon":[1,"left-icon"],"rightIcon":[1,"right-icon"],"opened":[1028],"selected":[1028],"isLeaf":[1028,"is-leaf"],"hasChildTree":[1028,"has-child-tree"],"firstTreeItem":[1028,"first-tree-item"],"indeterminate":[1028],"disabled":[4],"numberOfParentTrees":[32],"itemPaddingLeft":[32],"horizontalLinePaddingLeft":[32],"lastTreeItem":[32],"firstTreeItemOfParentTree":[32],"lastTreeItemOfParentTree":[32],"rightIconColor":[32],"numberOfDirectTreeItemsDescendants":[32],"updateTreeVerticalLineHeight":[64]},null,{"downloaded":["watchHandler"]}]]],["p-11709cf7",[[1,"gxg-breadcrumb",{"icon":[1],"id":[1]}]]],["p-f64a6db2",[[1,"gxg-contextual-menu-item",{"icon":[1],"id":[1]}]]],["p-abcd1487",[[1,"gxg-filter-item",{"itemId":[8,"item-id"],"type":[8],"icon":[1]}]]],["p-d5726aff",[[1,"gxg-form-message",{"type":[1]}]]],["p-e76de890",[[1,"gxg-menu-item",{"label":[1],"icon":[1],"active":[516]}]]],["p-798332ca",[[17,"gxg-menu-slim-item",{"label":[1],"iconType":[1,"icon-type"],"active":[516],"itemId":[1,"item-id"],"ellipsis":[4],"disabled":[4]}]]],["p-ba20a754",[[1,"gxg-more-info",{"position":[513],"label":[1],"moreInfoLabel":[1,"more-info-label"],"url":[1],"target":[1]}]]],["p-a6e883fa",[[1,"gxg-option-v2",{"value":[1],"selected":[4],"iconName":[1,"icon-name"]},null,{"selected":["watchHandler"]}]]],["p-1e4f81ce",[[1,"gxg-progress-bar",{"disabled":[516],"label":[1],"value":[514],"maxWidth":[1,"max-width"],"silent":[4]},null,{"value":["watchValue"]}]]],["p-f2234bc0",[[17,"gxg-select",{"disabled":[516],"error":[4],"label":[1],"labelPosition":[513,"label-position"],"minimal":[4],"required":[516],"size":[1],"value":[1],"initialValue":[1,"initial-value"],"warning":[4],"maxWidth":[1,"max-width"],"rtl":[32],"rerender":[32],"isOpen":[64]},[[0,"optionIsSelected","todoCompletedHandler"]],{"value":["valueHandler"]}]]],["p-0615d8bb",[[1,"gxg-slider",{"disabled":[516],"label":[1],"max":[2],"value":[514],"maxWidth":[1,"max-width"],"rtl":[32]},null,{"value":["watchHandler"]}]]],["p-52019ab5",[[1,"gxg-stepper",{"disabled":[516],"label":[1],"labelPosition":[513,"label-position"],"value":[514],"max":[514],"min":[514],"rtl":[32]},null,{"value":["watchHandler"]}]]],["p-4048f731",[[1,"gxg-toggle",{"disabled":[516],"label":[1],"on":[516]}]]],["p-134aebe1",[[1,"gxg-toolbar",{"position":[1],"subtitle":[1],"toolbarTitle":[1,"toolbar-title"],"rtl":[32]}]]],["p-304813ad",[[1,"gxg-toolbar-item",{"disabled":[4],"icon":[1],"subtitle":[1],"toolbarItemTitle":[1,"toolbar-item-title"]}]]],["p-08e9f0a2",[[1,"gxg-tree-grid-divs",{"columns":[16],"rows":[16],"width":[1],"displayChildren":[1,"display-children"],"selectedRowsIds":[1026,"selected-rows-ids"],"editCell":[16],"thWidthLeftover":[32],"rowsBuffer":[32],"thInPixels":[32],"displayRowChildrenIds":[32],"columnClicked":[32],"columnOrder":[32]}]]],["p-cf5f2b59",[[1,"ch-alert",{"timerInterval":[2,"timer-interval"],"closeButtonAccessibleName":[1,"close-button-accessible-name"],"dismissTimeout":[2,"dismiss-timeout"],"leftImgSrc":[1,"left-img-src"],"presented":[1540],"showCloseButton":[4,"show-close-button"],"showTimeoutBar":[4,"show-timeout-bar"],"pauseOnHover":[4,"pause-on-hover"],"countdown":[1026]},null,{"dismissTimeout":["timeoutWatcher"],"presented":["presentedWatcher"],"countdown":["countdownWatcher"]}]]],["p-15dcd2a4",[[0,"ch-notifications",{"delayToAnimateNewNotifications":[2,"delay-to-animate-new-notifications"],"notifications":[16],"position":[1],"timeToDismissNotifications":[2,"time-to-dismiss-notifications"],"timeType":[1,"time-type"],"notificationsSize":[32]},[[0,"notificationClick","handleNotificationClick"],[0,"notificationDismiss","handleNotificationDismiss"]],{"notifications":["handleNewNotificationsChange"]}]]],["p-0ac635df",[[1,"ch-select",{"name":[1],"iconSrc":[1,"icon-src"],"arrowIconSrc":[1,"arrow-icon-src"],"autoColor":[516,"auto-color"],"disabled":[4],"width":[1],"height":[1],"toggle":[32]},[[1,"keydown","handleKeyDown"],[0,"itemClicked","optionClickedHandler"]]]]],["p-ca4566df",[[1,"ch-select-option",{"height":[1],"leftIconSrc":[1,"left-icon-src"],"rightIconSrc":[1,"right-icon-src"],"selected":[516],"disabled":[516],"autoColor":[516,"auto-color"],"value":[513]}]]],["p-36512848",[[1,"ch-sidebar-menu-list-item",{"itemIconSrc":[1,"item-icon-src"],"autoColor":[516,"auto-color"],"uncollapsed":[4],"collapsable":[32],"listTypeItem":[32]}]]],["p-d3a9b9f4",[[1,"gxg-container",{"fieldset":[4],"containerTitle":[1,"container-title"],"displayBorder":[4,"display-border"],"displayBorderTop":[4,"display-border-top"],"displayBorderEnd":[4,"display-border-end"],"displayBorderBottom":[4,"display-border-bottom"],"displayBorderStart":[4,"display-border-start"],"sectionsPadding":[1,"sections-padding"],"noHeadingBorder":[4,"no-heading-border"],"noHeadingPadding":[4,"no-heading-padding"],"headingJustify":[1,"heading-justify"],"noContentPadding":[4,"no-content-padding"],"noContentGap":[4,"no-content-gap"],"noFooterPadding":[4,"no-footer-padding"],"footerJustify":[1,"footer-justify"],"noBorderFooter":[4,"no-border-footer"],"hasSlottedContent":[32],"hasFooterSlot":[32],"hasOnlyHeading":[32],"hasOnlyFooter":[32]}]]],["p-af7c28c8",[[1,"gxg-menu-slim-list",{"listTitle":[1,"list-title"]}]]],["p-620f4970",[[0,"ch-barcode-scanner",{"barcodeBoxWidth":[2,"barcode-box-width"],"barcodeBoxHeight":[2,"barcode-box-height"],"cameraId":[1,"camera-id"],"cameraPreference":[1,"camera-preference"],"readDebounce":[2,"read-debounce"],"scanning":[4],"scan":[64]},null,{"cameraId":["cameraChange"],"scanning":["scanningChange"]}]]],["p-62007a38",[[1,"ch-dropdown-item-separator"]]],["p-58a327fb",[[0,"ch-grid-column-display",{"column":[16]}]]],["p-8295055b",[[1,"ch-grid-infinite-scroll",{"status":[1025],"hasGridScroll":[32],"complete":[64]}]]],["p-06a1c470",[[1,"ch-grid-rowset-legend",null,[[1,"click","clickHandler"]]]]],["p-22a2d697",[[0,"ch-grid-virtual-scroller",{"items":[16],"itemsCount":[2,"items-count"],"viewPortItems":[1040],"hasGridScroll":[32],"hasWindowScroll":[32],"browserHeight":[32],"headerHeight":[32],"rowsHeight":[32],"rowHeight":[32],"virtualHeight":[32],"maxViewPortItems":[32],"percentScroll":[32],"startIndex":[32],"isScrolling":[32]},null,{"hasGridScroll":["hasGridScrollHandler"],"hasWindowScroll":["hasWindowScrollHandler"],"browserHeight":["browserHeightHandler"],"headerHeight":["headerHeightHandler"],"rowsHeight":["rowsHeightHandler"],"rowHeight":["rowHeightHandler"],"virtualHeight":["virtualHeightHandler"],"maxViewPortItems":["maxViewPortItemsHandler"],"percentScroll":["percentScrollHandler"],"startIndex":["startIndexHandler"],"isScrolling":["isScrollingHandler"],"items":["itemsHandler"],"itemsCount":["itemsCountHandler"],"viewPortItems":["viewPortItemsHandler"]}]]],["p-0a3b20ba",[[1,"ch-intersection-observer",{"bottomMargin":[1,"bottom-margin"],"leftMargin":[1,"left-margin"],"rightMargin":[1,"right-margin"],"root":[1],"threshold":[1],"topMargin":[1,"top-margin"]}]]],["p-29a191e3",[[0,"ch-markdown",{"allowDangerousHtml":[4,"allow-dangerous-html"],"rawHtml":[4,"raw-html"],"renderCode":[16],"value":[1]}]]],["p-58191c03",[[1,"ch-next-progress-bar",{"caption":[1],"currentStep":[2,"current-step"],"cssClass":[1,"css-class"],"description":[1],"presented":[4],"steps":[2],"shouldAddFadeInOutAnimation":[32]},null,{"currentStep":["handleCurrentStepChange"],"description":["handleCaptionChange"],"presented":["handlePresentedChange"]}]]],["p-ce027a9c",[[1,"ch-qr",{"text":[1],"radius":[2],"ecLevel":[1,"ec-level"],"fill":[1],"background":[1],"size":[2]}]]],["p-1865fc02",[[1,"ch-showcase",{"pageName":[1,"page-name"],"pageSrc":[1,"page-src"]}]]],["p-693529be",[[1,"ch-sidebar-menu",{"menuTitle":[1,"menu-title"],"singleListOpen":[4,"single-list-open"],"distanceToTop":[2,"distance-to-top"],"collapsible":[4],"activeItemId":[1,"active-item-id"],"activeItem":[1025,"active-item"],"isCollapsed":[1540,"is-collapsed"],"indicator":[32]}]]],["p-219aa5b9",[[1,"ch-sidebar-menu-list",{"listType":[32]}]]],["p-433c5a9d",[[1,"ch-step-list"]]],["p-5283e4d9",[[1,"ch-step-list-item",{"iconSrc":[1,"icon-src"]}]]],["p-f0f678f0",[[1,"ch-style",{"href":[1]}]]],["p-19fa25ba",[[1,"ch-textblock",{"format":[1],"lineClamp":[4,"line-clamp"],"tooltip":[1],"tooltipShowMode":[1,"tooltip-show-mode"],"contentLines":[32],"maxLines":[32]}]]],["p-f2bf41b3",[[1,"ch-tree",{"checkbox":[4],"checked":[4],"toggleCheckboxes":[1028,"toggle-checkboxes"],"nestedTree":[32],"mainTree":[32],"getChecked":[64]},[[0,"liItemClicked","liItemClickedHandler"],[0,"toggleIconClicked","toggleIconClickedHandler"]]]]],["p-ca3f470e",[[1,"gx-ide-card",{"cardTitle":[1,"card-title"],"cardSubTitle":[1,"card-sub-title"],"icon":[1]}]]],["p-3056a987",[[1,"gx-ide-switch-panel"]]],["p-55c9c50f",[[1,"gx-ide-switcher"]]],["p-55709b74",[[1,"gxg-accordion",{"disabled":[4],"singleItemOpen":[4,"single-item-open"],"mode":[1],"maxWidth":[1,"max-width"],"noPadding":[4,"no-padding"],"hasBorder":[4,"has-border"],"accordions":[32]},[[0,"accordionItemClicked","itemClickedHandler"],[0,"accordionItemLoaded","itemLoadedHandler"]]]]],["p-e9f4ecf1",[[1,"gxg-box",{"background":[513],"border":[4],"padding":[513],"minHeight":[1,"min-height"],"height":[1],"maxWidth":[1,"max-width"]}]]],["p-ba0caa8d",[[1,"gxg-breadcrumbs"]]],["p-8a6795a4",[[1,"gxg-column",{"width":[513]}]]],["p-330fb80c",[[1,"gxg-columns",{"alignY":[513,"align-y"],"collapseBellow":[513,"collapse-bellow"],"space":[513]}]]],["p-7ec44ac1",[[1,"gxg-contextual-menu",{"visible":[516],"widthOverflow":[32],"heightOverflow":[32],"firstRightClick":[32],"topPosition":[32],"leftPosition":[32]},null,{"visible":["watchHandler"]}]]],["p-fd6239b7",[[1,"gxg-contextual-menu-submenu"]]],["p-c13343d8",[[1,"gxg-drag-container",{"deletable":[4],"disable":[4],"maxWidth":[1,"max-width"],"padding":[1]},[[0,"clicked","clickedHandler"]]]]],["p-1279fc77",[[1,"gxg-loader",{"text":[1],"show":[4],"visibleZIndex":[1,"visible-z-index"],"layerOpacity100":[32],"squaresOpacity100":[32],"textOpacity100":[32],"sendLayerBack":[32]},null,{"show":["showHandler"]}]]],["p-1bba5fc7",[[1,"gxg-menu",{"menuTitle":[1,"menu-title"],"tabs":[516]},[[0,"menuItemActive","menuItemActiveHandler"]]]]],["p-abbf7697",[[1,"gxg-menu-slim",{"menuTitle":[1,"menu-title"],"tabs":[516],"hidden":[4],"hideOnSelect":[4,"hide-on-select"],"ellipsis":[4]},[[0,"itemSelected","itemSelectedHandler"],[0,"keyboardNavigation","keyboardNavigationHandler"]],{"hidden":["hiddenHandler"]}]]],["p-43e984d3",[[1,"gxg-option",{"value":[1],"selected":[4],"iconName":[1,"icon-name"]},null,{"selected":["watchHandler"]}]]],["p-ae1ca222",[[1,"gxg-options-item",{"disabled":[4]}]]],["p-d99b7313",[[4,"gxg-paginator",{"alignment":[513]}]]],["p-eacb6efb",[[1,"gxg-pills",{"getPills":[64]}]]],["p-d138c80a",[[1,"gxg-scroll"]]],["p-d36e968c",[[17,"gxg-select-v2",{"label":[1],"labelPosition":[1,"label-position"],"required":[4],"size":[1],"value":[1],"width":[1],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"disabled":[4],"warning":[4],"error":[4],"visible":[32],"myObserver":[32]},[[0,"optionIsSelected","optionIsSelectedHandler"]]]]],["p-c7c4d003",[[1,"gxg-separator",{"type":[513],"margin":[513]}]]],["p-2d41c833",[[1,"gxg-spacer-layout",{"fullHeight":[4,"full-height"],"space":[1],"orientation":[1],"justifyContent":[1,"justify-content"]}]]],["p-f2375e54",[[1,"gxg-spacer-one",{"space":[1]}]]],["p-ac530671",[[1,"gxg-split"]]],["p-2aca0370",[[1,"gxg-splitter",{"direction":[1],"forceCollapseZero":[4,"force-collapse-zero"],"knob":[513],"minSize":[1,"min-size"],"sizes":[1],"split":[32],"minSizeArray":[32],"sizesArray":[32],"idsArray":[32],"currentSizes":[32],"draggingState":[32],"leftCollapsedToZero":[32],"rightCollapsedToZero":[32],"collapse":[64]}]]],["p-4faf9486",[[1,"gxg-stack",{"space":[513],"columnsSpace":[520,"columns-space"]}]]],["p-75cbacb3",[[1,"gxg-test"]]],["p-f5a484e9",[[1,"gxg-tree",{"checkbox":[1028],"checked":[1540],"opened":[4],"toggleCheckboxes":[4,"toggle-checkboxes"],"multiSelection":[4,"multi-selection"],"getCheckedItems":[64],"getSelectedItems":[64],"toggleItems":[64]},[[0,"checkboxToggled","checkboxToggledHandler"],[0,"doubleClicked","doubleClickedHandler"],[0,"selectionChanged","selectionChangedHandler"],[0,"toggleIconClicked","toggleIconClickedHandler"]]]]],["p-c1d166de",[[1,"gxg-window-v2",{"displayTitle":[4,"display-title"]}]]],["p-b13cafbf",[[1,"gx-ide-recent-news",{"getNewsCallback":[16],"openNewsCallback":[16],"news":[32],"newsLoadFailed":[32]},null,{"news":["watchNewsHandler"]}]]],["p-1f70ee34",[[1,"gx-ide-status-buttons",{"active":[4],"errors":[2],"hideError":[4,"hide-error"],"warnings":[2],"hideWarning":[4,"hide-warning"],"successes":[2],"hideSuccess":[4,"hide-success"],"messages":[2],"hideMessage":[4,"hide-message"],"minimal":[4],"compact":[516],"noInnerBorders":[516,"no-inner-borders"],"iconsSize":[32]}]]],["p-8d26abdc",[[0,"ch-flexible-layout-render",{"cssClass":[1,"css-class"],"layout":[16],"renders":[16],"addSiblingView":[64],"addWidget":[64],"removeView":[64],"removeWidget":[64]},null,{"layout":["handleLayoutChange"]}]]],["p-03f8004a",[[1,"gx-ide-ai-message",{"message":[1],"messageType":[1,"message-type"],"filterValue":[1,"filter-value"],"hidden":[4],"translations":[16],"visible":[32],"showCopiedMessage":[32]}]]],["p-ed5fb3dc",[[1,"gxg-button-group",{"buttonGroupTitle":[1,"button-group-title"],"titleAlignment":[513,"title-alignment"],"defaultSelectedBtnId":[1,"default-selected-btn-id"],"disabled":[516],"fullWidth":[516,"full-width"],"outlined":[516],"disableActive":[516,"disable-active"],"type":[1],"activeButtonId":[1,"active-button-id"],"value":[32],"rtl":[32]},null,{"activeButtonId":["watchActiveButtonIdHandler"]}]]],["p-55f90fd0",[[1,"gxg-pill",{"disabled":[4],"icon":[1],"heightAuto":[4,"height-auto"],"id":[1],"italic":[4],"type":[513]}]]],["p-c0376a4f",[[1,"ch-form-checkbox",{"checkboxId":[1,"checkbox-id"],"checked":[1028],"indeterminate":[516],"disabled":[4],"label":[1],"value":[1],"name":[1]}]]],["p-03f0bf26",[[0,"ch-grid-rowset-empty"]]],["p-b71c5412",[[1,"ch-notifications-item",{"buttonImgSrc":[1,"button-img-src"],"closeButtonLabel":[1,"close-button-label"],"leftImgSrc":[1,"left-img-src"],"showCloseButton":[4,"show-close-button"],"timeToDismiss":[2,"time-to-dismiss"]}]]],["p-c68f6822",[[1,"ch-timer",{"progress":[2],"accessibleName":[1,"accessible-name"],"animationTime":[2,"animation-time"],"presented":[4]}]]],["p-5ca7da19",[[1,"gx-ide-empty-state",{"stateIcon":[1,"state-icon"],"stateTitle":[1,"state-title"],"stateDescription":[1,"state-description"],"primaryButtonLabel":[1,"primary-button-label"],"secondaryButtonLabel":[1,"secondary-button-label"],"display":[1028]},null,{"display":["watchDisplayHandler"]}]]],["p-3345a1bc",[[1,"gx-ide-entity-selector",{"accessibilityLabels":[16],"defaultValue":[16],"label":[1],"labelPosition":[513,"label-position"],"centerLabel":[4,"center-label"],"labelWidth":[1,"label-width"],"selectEntityCallback":[16],"value":[1040],"buttonHasFocus":[32]},null,{"value":["valueChangedHandler"]}]]],["p-ff0963b5",[[1,"gxg-list-box-item",{"disabled":[516],"icon":[1],"selected":[516],"siblingIsSelected":[516,"sibling-is-selected"],"highlighted":[516],"active":[516],"index":[514],"emitCheckboxChange":[4,"emit-checkbox-change"],"value":[8],"checkbox":[4],"checked":[1028],"mouseOver":[32]},[[0,"checked","checkedChangedHandler"],[0,"change","checkboxChangedHandler"]],{"selected":["watchPropHandler"]}],[1,"gxg-list-box",{"theTitle":[1,"the-title"],"checkboxes":[4],"singleSelection":[4,"single-selection"],"allowsEmpty":[4,"allows-empty"],"emitEmptySelection":[4,"emit-empty-selection"],"keyboardSuggestions":[16],"disableSuggestions":[4,"disable-suggestions"],"noBorder":[516,"no-border"],"borderTop":[516,"border-top"],"borderEnd":[516,"border-end"],"borderBottom":[516,"border-bottom"],"borderStart":[516,"border-start"],"initialScrollToSelected":[516,"initial-scroll-to-selected"],"disabled":[4],"required":[4],"validationStatus":[1025,"validation-status"],"validationMessage":[1025,"validation-message"],"informationMessage":[1,"information-message"],"selectedItems":[32],"checkedItems":[32],"hideKeyboardSuggestions":[32],"headerHeight":[32],"getSelectedItems":[64],"scrollToSelected":[64]},[[0,"checkboxClicked","checkboxClickedHandler"],[0,"itemLoaded","itemLoadedHandler"],[0,"itemClicked","itemClickedHandler"],[0,"itemSelected","itemSelectedHandler"],[0,"checkboxStateChanged","checkboxStateChangedHandler"]],{"selectedItems":["selectedItemsHandler"],"checkedItems":["checkedItemsHandler"],"disabled":["disabledHandler"],"hideKeyboardSuggestions":["hideKeyboardSuggestionsHandler"]}]]],["p-9f9fda93",[[1,"gxg-card",{"elevation":[513],"background":[513],"padding":[513],"minHeight":[1,"min-height"],"height":[1],"maxWidth":[1,"max-width"],"noShadow":[4,"no-shadow"],"noBorder":[4,"no-border"],"hiChar":[4,"hi-char"],"filterValue":[1,"filter-value"],"noPaddingTop":[516,"no-padding-top"],"cardTitle":[1,"card-title"],"noHeaderBorder":[4,"no-header-border"],"titleSemibold":[4,"title-semibold"],"cardSubtitle":[1,"card-subtitle"],"subtitleLink":[1,"subtitle-link"],"subtitleIcon":[1,"subtitle-icon"],"cardType":[1,"card-type"],"icon":[1],"iconColor":[1,"icon-color"],"subtitleColor":[1,"subtitle-color"],"editableTitle":[4,"editable-title"],"actionable":[4],"displayHeaderSlot":[4,"display-header-slot"]}],[1,"gxg-title-editable",{"value":[1025],"titleType":[513,"title-type"],"disableEdition":[516,"disable-edition"],"debounce":[4],"debounceDelay":[2,"debounce-delay"],"disabled":[4],"clickToEdit":[516,"click-to-edit"],"fluid":[516],"focusType":[513,"focus-type"],"validationStatus":[1025,"validation-status"],"validationMessage":[1,"validation-message"],"hideTooltip":[4,"hide-tooltip"],"editing":[32]},null,{"value":["watchValueHandler"],"editing":["watchEditingHandler"]}]]],["p-0c0c3f1d",[[1,"ch-dropdown",{"actionGroupParent":[4,"action-group-parent"],"buttonAccessibleName":[1,"button-accessible-name"],"caption":[1],"endImgSrc":[1,"end-img-src"],"endImgType":[1,"end-img-type"],"expanded":[1028],"href":[1],"leaf":[4],"level":[2],"nestedDropdown":[4,"nested-dropdown"],"openOnFocus":[4,"open-on-focus"],"position":[1],"shortcut":[1],"showFooter":[4,"show-footer"],"showHeader":[4,"show-header"],"startImgSrc":[1,"start-img-src"],"startImgType":[1,"start-img-type"],"focusElement":[64],"collapseDropdown":[64],"expandDropdown":[64]},[[0,"actionClick","onActionClick"],[0,"recursiveClose","onRecursiveClose"]],{"expanded":["handleExpandedChange"]}],[1,"ch-popover",{"actionById":[4,"action-by-id"],"actionElement":[16],"allowDrag":[1,"allow-drag"],"blockAlign":[1,"block-align"],"firstLayer":[4,"first-layer"],"hidden":[1540],"inlineAlign":[1,"inline-align"],"mode":[1],"responsiveAlignment":[4,"responsive-alignment"],"resizable":[4],"actualBlockAlign":[32],"actualInlineAlign":[32],"relativePopover":[32],"resizing":[32]},null,{"actionElement":["handleActionChange"],"blockAlign":["handleBlockChange"],"hidden":["handleHiddenChange"],"inlineAlign":["handleInlineChange"],"resizable":["resizableChanged"]}]]],["p-d8268fcc",[[1,"ch-action-group",{"accessibleName":[1,"accessible-name"],"itemsOverflowBehavior":[1,"items-overflow-behavior"],"moreActionsAccessibleName":[1,"more-actions-accessible-name"],"moreActionsButtonPosition":[1,"more-actions-button-position"],"moreActionsDropdownPosition":[1,"more-actions-dropdown-position"],"openOnFocus":[4,"open-on-focus"],"displayedItems":[32]},null,{"itemsOverflowBehavior":["handleOverflowBehaviorChange"]}],[4,"ch-action-group-item",{"floating":[1540]}]]],["p-e685f50a",[[1,"gxg-date-picker",{"disabled":[4],"alwaysShow":[4,"always-show"],"value":[1],"label":[1],"noWeekends":[4,"no-weekends"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"maxWidth":[1,"max-width"],"rtl":[32]},null,{"disabled":["disabledHandler"],"value":["watchStateHandler"]}]]],["p-75715d24",[[1,"gxg-form-radio-group",{"center":[4],"disabled":[4],"label":[1],"value":[513],"row":[4],"validationMessage":[1025,"validation-message"],"radiosLabelSize":[1025,"radios-label-size"],"required":[4],"validationStatus":[1025,"validation-status"],"informationMessage":[1,"information-message"]},[[0,"radioChecked","radioCheckedHandler"],[0,"keyPressed","keyPressedHandler"]],{"disabled":["disabledHandler"],"value":["watchValueHandler"]}]]],["p-3d2bbe97",[[17,"gxg-form-textarea",{"singleLine":[516,"single-line"],"ai":[516],"toolTip":[4,"tool-tip"],"error":[1028],"label":[513],"labelPosition":[513,"label-position"],"labelWidth":[8,"label-width"],"centerLabel":[4,"center-label"],"maxWidth":[1,"max-width"],"maxHeight":[1,"max-height"],"height":[1],"placeholder":[1],"value":[513],"rows":[2],"warning":[4],"hideValidationMessage":[4,"hide-validation-message"],"disabled":[4],"required":[4],"validationStatus":[1025,"validation-status"],"validationMessage":[1025,"validation-message"],"informationMessage":[1,"information-message"],"resize":[4],"shrink":[32]}]]],["p-b45667aa",[[1,"ch-accordion",{"accessibleDescription":[1,"accessible-description"],"accessibleName":[1,"accessible-name"],"expanded":[1028]}]]],["p-40b187b3",[[1,"ch-next-data-modeling-item",{"actionsVisible":[4,"actions-visible"],"captions":[16],"dataType":[1,"data-type"],"disabled":[4],"entityNameToATTs":[16],"errorTexts":[16],"fieldNames":[16],"level":[2],"maxAtts":[2,"max-atts"],"mode":[1025],"name":[1],"readonly":[4],"showNewFieldBtn":[1028,"show-new-field-btn"],"type":[1],"expanded":[32],"errorType":[32],"waitingMode":[32],"setAddingMode":[64],"clearInput":[64],"checkErrors":[64],"delete":[64],"hideWaitingMode":[64]},[[0,"expandedChange","handleExpandedChange"],[0,"firstNewField","handleFirstNewField"],[0,"firstNewFieldErrors","handleFirstNewFieldErrors"]]],[4,"ch-next-data-modeling"]]],["p-976353a6",[[1,"gxg-form-checkbox-group",{"disabled":[4],"row":[4],"validationStatus":[1025,"validation-status"],"validationMessage":[1025,"validation-message"],"checkboxesLabelSize":[1025,"checkboxes-label-size"],"informationMessage":[1,"information-message"],"getValues":[64]},[[0,"change","changeHandler"]],{"disabled":["watchDisabledHandler"]}]]],["p-9cc3600f",[[1,"gxg-top-state-bar",{"caption":[1],"minimal":[516],"active":[4],"stateType":[513,"state-type"],"progress":[2],"closeType":[1,"close-type"],"noBorder":[516,"no-border"],"closedCallback":[16],"topStateBarVisible":[32],"visible":[32]},null,{"active":["watchActiveHandler"],"progress":["watchProgressHandler"]}],[1,"gxg-buttons-container",{"selectedButtonId":[1,"selected-button-id"],"reduced":[4],"fullWidth":[516,"full-width"]}]]],["p-a3a085ea",[[0,"ch-grid-action-refresh",{"disabled":[4]},[[1,"keydown","pressedHandler"],[1,"click","pressedHandler"]]],[0,"ch-grid-action-settings",{"disabled":[4]},[[1,"keydown","pressedHandler"],[1,"click","pressedHandler"]]],[0,"ch-grid-actionbar"],[0,"ch-paginator",{"activePage":[1538,"active-page"],"totalPages":[2,"total-pages"],"hasNextPage":[4,"has-next-page"]},[[0,"navigateClicked","navigateClickedHandler"],[0,"pageChanged","pageChangedHandler"],[1,"keydown","keyDownHandler"]],{"activePage":["activePageHandler"]}],[0,"ch-paginator-navigate",{"type":[513],"disabled":[4]},[[1,"keydown","pressedHandler"],[1,"click","pressedHandler"]]],[1,"ch-paginator-pages",{"page":[1538],"totalPages":[514,"total-pages"],"maxSize":[1538,"max-size"],"renderFirstLastPages":[4,"render-first-last-pages"],"textDots":[1,"text-dots"]},[[1,"keydown","keyDownHandler"],[1,"focusin","focusHandler"]],{"page":["pageHandler"],"maxSize":["maxSizeHandler"],"renderFirstLastPages":["renderFirstLastPagesHandler"]}],[1,"gx-grid-chameleon-column-filter",{"column":[16],"buttonApplyText":[1,"button-apply-text"],"buttonResetText":[1,"button-reset-text"],"equal":[1025],"less":[1025],"greater":[1025]}]]],["p-4056bc68",[[1,"ch-checkbox",{"accessibleName":[1,"accessible-name"],"caption":[1],"checked":[1028],"checkedValue":[1,"checked-value"],"disabled":[4],"highlightable":[4],"indeterminate":[4],"readonly":[4],"unCheckedValue":[1,"un-checked-value"],"value":[1025]},null,{"value":["valueChanged"]}]]],["p-3ae0ce60",[[1,"gxg-ide-loader",{"loaderTitle":[1,"loader-title"],"description":[1],"cancelLabel":[1,"cancel-label"],"cancelCallback":[16],"show":[4],"abortTime":[2,"abort-time"],"displayBorder":[516,"display-border"],"borderRadius":[513,"border-radius"],"container":[16],"showWindow":[32],"showWrapper":[32]},null,{"show":["showHandler"]}]]],["p-bd9cbfaf",[[4,"gx-ide-list-selector-item",{"itemId":[513,"item-id"],"itemValue":[1,"item-value"],"itemChecked":[1028,"item-checked"],"readonly":[1540],"ellipsis":[1540],"icon":[1],"iconColor":[1025,"icon-color"],"iconSize":[1025,"icon-size"],"noBorder":[1540,"no-border"],"universalSlotEnd":[516,"universal-slot-end"]}],[1,"gx-ide-list-selector",{"listTitle":[1,"list-title"],"ordered":[4],"readonly":[4],"type":[1],"required":[4],"ellipsis":[4],"value":[1025],"iconsColor":[1,"icons-color"],"iconsSize":[1,"icons-size"],"listName":[1,"list-name"],"noItemsBorder":[4,"no-items-border"],"noListBorder":[516,"no-list-border"]},[[2,"itemSelectionChanged","itemSelectionChangedHandler"]]]]],["p-8768ec07",[[1,"ch-flexible-layout",{"layout":[16],"layoutSplitterParts":[1,"layout-splitter-parts"],"itemsInfo":[16],"dragBarDisabled":[32],"addSiblingView":[64],"refreshLeaf":[64],"removeView":[64],"removeItemPageInView":[64]}],[1,"ch-layout-splitter",{"barAccessibleName":[1,"bar-accessible-name"],"dragBarDisabled":[4,"drag-bar-disabled"],"incrementWithKeyboard":[2,"increment-with-keyboard"],"layout":[16],"refreshLayout":[64],"addSiblingLeaf":[64],"removeItem":[64]},null,{"layout":["handleComponentsChange"]}],[1,"ch-list",{"accessibleName":[1,"accessible-name"],"closeButtonAccessibleName":[1,"close-button-accessible-name"],"closeButtonHidden":[4,"close-button-hidden"],"direction":[513],"dragDisabled":[4,"drag-disabled"],"expanded":[4],"items":[16],"selectedId":[1,"selected-id"],"showCaptions":[4,"show-captions"],"draggedElementIndex":[32],"draggedElementNewIndex":[32],"hasCrossedBoundaries":[32],"endDragPreview":[64],"getDraggableViews":[64],"promoteDragPreviewToTopLayer":[64],"removePage":[64]},null,{"direction":["directionChange"],"items":["handleItemsChange"],"selectedId":["handleSelectedIdChange"]}]]],["p-c14b6b77",[[1,"ch-suggest-list",{"label":[1]}],[17,"ch-suggest-list-item",{"iconSrc":[1,"icon-src"],"value":[8]}],[4,"gxg-suggest",{"validationStatus":[1025,"validation-status"],"validationMessage":[1,"validation-message"],"disabled":[4],"ellipsis":[516]}],[17,"ch-suggest",{"debounce":[2],"label":[1],"labelPosition":[513,"label-position"],"showLabel":[4,"show-label"],"value":[1025],"showHeader":[4,"show-header"],"suggestTitle":[1,"suggest-title"],"cursorEnd":[4,"cursor-end"],"windowHidden":[32],"selectInputText":[64]},[[2,"itemSelected","itemSelectedHandler"],[0,"focusChangeAttempt","focusChangeAttemptHandler"],[0,"windowClosed","windowClosedHandler"]]]]],["p-b82fdd38",[[17,"gxg-form-radio",{"error":[4],"radioId":[1,"radio-id"],"checked":[516],"disabled":[516],"label":[1],"labelSize":[1,"label-size"],"name":[1],"value":[1]},null,{"checked":["checkedHandler"]}]]],["p-b6e06f19",[[1,"gxg-text",{"href":[1],"disabled":[4],"target":[1],"type":[513],"textAlign":[513,"text-align"],"padding":[513],"maxWidth":[513,"max-width"],"icon":[1],"iconAlign":[1,"icon-align"],"iconAuto":[4,"icon-auto"],"italic":[516]}]]],["p-00704c36",[[1,"gxg-tab-bar",{"hidden":[4],"displayBorder":[4,"display-border"],"scrollable":[516],"stacked":[1],"appendedButtons":[32],"tabBarMenuHeight":[32],"tabBarMenuWidth":[32],"tabBarMenuCollapsed":[32],"tabBarMenuPosition":[32],"rtl":[32],"appendTabButtons":[64]},[[0,"tabActivated","tabActivatedHandler"],[0,"PrevOrNextTab","PrevOrNextTabHandler"]],{"tabBarMenuCollapsed":["tabBarMenuCollapsedHandler"]}],[17,"gxg-tab-button",{"hidden":[4],"tabLabel":[1,"tab-label"],"tab":[513],"isSelected":[4,"is-selected"],"disabled":[4],"icon":[1],"borderAbove":[516,"border-above"],"stackedStyle":[4,"stacked-style"],"reduced":[4],"tabButtonClick":[64]},null,{"isSelected":["isSelectedHandler"],"hidden":["hiddenHandler"]}],[1,"gxg-tab",{"tab":[1],"noPadding":[4,"no-padding"],"flexContainer":[4,"flex-container"],"flex":[4],"overflowAuto":[4,"overflow-auto"],"flexDirection":[1,"flex-direction"],"isSelected":[516,"is-selected"],"reduced":[4]}],[1,"gxg-tabs",{"position":[1],"height":[513],"maxHeight":[1,"max-height"],"minWidth":[1,"min-width"],"tabBarBorder":[4,"tab-bar-border"],"noBorder":[4,"no-border"],"buttonsBorderAbove":[4,"buttons-border-above"],"noBackground":[516,"no-background"],"noPadding":[4,"no-padding"],"reduced":[516],"activeTab":[1,"active-tab"],"setActiveTab":[64],"setFirstActiveTab":[64]},[[0,"tabActivated","tabActivatedHandler"]],{"activeTab":["watchActiveTabHandler"]}]]],["p-9d7a1451",[[17,"gxg-form-checkbox",{"checkboxId":[1,"checkbox-id"],"checked":[4],"indeterminate":[516],"disabled":[4],"label":[1],"labelSize":[1,"label-size"],"value":[1],"name":[1],"iconName":[1,"icon-name"],"alignTop":[4,"align-top"],"required":[516],"validationStatus":[1025,"validation-status"],"validationMessage":[1,"validation-message"],"informationMessage":[1,"information-message"],"tooltip":[1],"hasFocus":[32]},null,{"checked":["checkedHandler"]}]]],["p-8baff5fd",[[0,"gxg-shortcuts",{"src":[1],"showKey":[1,"show-key"],"suspend":[4],"showTooltip":[1540,"show-tooltip"],"show":[32]}],[1,"ch-shortcuts",{"src":[1],"showKey":[1,"show-key"],"suspend":[4],"showShortcuts":[32]},[[10,"keydown","windowKeyDownHandler"]],{"suspend":["suspendHandler"]}]]],["p-1cb2d0df",[[0,"gxg-tree-view",{"checkbox":[4],"checked":[4],"checkDroppableZoneCallback":[16],"cssClass":[1,"css-class"],"dragDisabled":[4,"drag-disabled"],"dropDisabled":[4,"drop-disabled"],"dropItemsCallback":[16],"dropMode":[1,"drop-mode"],"editableItems":[4,"editable-items"],"expandableButton":[1,"expandable-button"],"expandOnClick":[4,"expand-on-click"],"filter":[1],"filterDebounce":[2,"filter-debounce"],"filterList":[16],"filterOptions":[16],"filterType":[1,"filter-type"],"lazyLoadTreeItemsCallback":[16],"modifyItemCaptionCallback":[16],"multiSelection":[4,"multi-selection"],"renderItem":[16],"showLines":[1,"show-lines"],"sortItemsCallback":[16],"toggleCheckboxes":[4,"toggle-checkboxes"],"treeModel":[16],"treeViewItemCssClass":[1,"tree-view-item-css-class"],"loadLazyContent":[64],"removeItems":[64],"reloadItems":[64],"scrollIntoVisible":[64],"toggleItems":[64],"updateAllItemsProperties":[64],"updateItemsProperties":[64],"updateValidDropZone":[64]}],[0,"ch-tree-view-render",{"checkbox":[4],"checked":[4],"checkDroppableZoneCallback":[16],"cssClass":[1,"css-class"],"dragDisabled":[4,"drag-disabled"],"dropDisabled":[4,"drop-disabled"],"dropItemsCallback":[16],"dropMode":[1,"drop-mode"],"editableItems":[4,"editable-items"],"expandableButton":[1,"expandable-button"],"expandOnClick":[4,"expand-on-click"],"filter":[1],"filterDebounce":[2,"filter-debounce"],"filterList":[16],"filterOptions":[16],"filterType":[1,"filter-type"],"gxImageConstructor":[16],"gxSettings":[8,"gx-settings"],"lazyLoadTreeItemsCallback":[16],"modifyItemCaptionCallback":[16],"multiSelection":[4,"multi-selection"],"renderItem":[16],"showLines":[1,"show-lines"],"sortItemsCallback":[16],"toggleCheckboxes":[4,"toggle-checkboxes"],"treeModel":[16],"treeViewItemCssClass":[1,"tree-view-item-css-class"],"useGxRender":[4,"use-gx-render"],"waitDropProcessing":[32],"dropItems":[64],"getItemsInfo":[64],"loadLazyContent":[64],"removeItems":[64],"reloadItems":[64],"scrollIntoVisible":[64],"toggleItems":[64],"updateAllItemsProperties":[64],"updateItemsProperties":[64],"updateValidDropZone":[64]},[[0,"checkboxChange","onCheckboxChange"],[0,"checkboxToggleChange","onCheckboxChange"],[0,"loadLazyContent","onLoadLazyContent"],[0,"modifyCaption","onModifyCaption"],[2,"openReference","onOpenReference"]],{"filter":["filterChanged"],"filterDebounce":["filterDebounceChanged"],"filterList":["filterListChanged"],"filterOptions":["filterOptionsChanged"],"filterType":["filterTypeChanged"],"multiSelection":["multiSelectionChanged"],"treeModel":["treeModelChanged"]}],[1,"ch-tree-view-item",{"caption":[1],"checkbox":[4],"checked":[1540],"customRender":[4,"custom-render"],"disabled":[516],"dragDisabled":[4,"drag-disabled"],"dropDisabled":[4,"drop-disabled"],"dragState":[1025,"drag-state"],"downloading":[1028],"editable":[4],"editing":[1028],"endImgSrc":[1,"end-img-src"],"endImgType":[1,"end-img-type"],"expandableButton":[1,"expandable-button"],"expandOnClick":[4,"expand-on-click"],"expanded":[1028],"lastItem":[4,"last-item"],"lazyLoad":[1028,"lazy-load"],"leaf":[4],"level":[2],"indeterminate":[1028],"metadata":[1],"selected":[1540],"showDownloadingSpinner":[4,"show-downloading-spinner"],"showLines":[1,"show-lines"],"startImgSrc":[1,"start-img-src"],"startImgType":[1,"start-img-type"],"toggleCheckboxes":[4,"toggle-checkboxes"],"focusNextItem":[64],"focusNextSibling":[64],"focusPreviousItem":[64],"focusLastItem":[64],"setFocus":[64],"updateChecked":[64]},[[0,"checkboxChange","updateCheckboxValue"]],{"checked":["updateChildrenCheckedValue"],"editing":["editingChanged"],"expanded":["expandedChanged"],"lastItem":["lastItemChanged"],"showLines":["showLinesChanged"]}],[4,"ch-tree-view",{"multiSelection":[4,"multi-selection"],"openSubTreeCountdown":[2,"open-sub-tree-countdown"],"selectedItemsCallback":[16],"scrollToEdgeOnDrag":[4,"scroll-to-edge-on-drag"],"waitDropProcessing":[4,"wait-drop-processing"],"draggingInTheDocument":[32],"draggingInTree":[32],"scrollIntoVisible":[64],"updateValidDropZone":[64]},[[2,"contextmenu","onContextMenu"],[2,"keydown","onKeyDown"],[9,"dragstart","onDragStart"],[11,"dragend","onDragEnd"],[3,"dragenter","onDragEnter"],[3,"dragleave","onDragLeave"],[1,"drop","onDrop"],[0,"itemDragStart","onItemDragStart"],[0,"itemDragEnd","onItemDragEnd"],[0,"selectedItemChange","onSelectedItemChange"]]],[1,"ch-tree-view-drop",{"dragState":[1,"drag-state"],"level":[2],"treeItemId":[1,"tree-item-id"],"type":[1]}]]],["p-c49ce410",[[1,"gx-ide-title",{"titleCaption":[1,"title-caption"],"type":[1],"alignment":[1],"padding":[516],"noPaddingBottom":[516,"no-padding-bottom"],"border":[516]}],[1,"gxg-title",{"type":[1],"alignment":[513]}],[17,"gxg-button",{"grabAttention":[516,"grab-attention"],"alwaysBlack":[4,"always-black"],"disabled":[4],"fit":[4],"fullWidth":[4,"full-width"],"small":[4],"icon":[8],"negative":[4],"type":[1],"buttonStylesEditable":[4,"button-styles-editable"],"selected":[4]}]]],["p-74bfec22",[[17,"gxg-combo-box",{"popOver":[4,"pop-over"],"toolTip":[4,"tool-tip"],"preventEnterPropagation":[4,"prevent-enter-propagation"],"fixedIcon":[1,"fixed-icon"],"disabled":[4],"label":[1],"labelPosition":[513,"label-position"],"minWidth":[1,"min-width"],"maxWidth":[1,"max-width"],"listMaxHeight":[1,"list-max-height"],"placeholder":[1],"disableFilter":[4,"disable-filter"],"disableClear":[4,"disable-clear"],"strict":[4],"value":[8],"caseSensitive":[4,"case-sensitive"],"listPosition":[1,"list-position"],"centerLabel":[4,"center-label"],"labelWidth":[8,"label-width"],"required":[516],"validationStatus":[1025,"validation-status"],"validationMessage":[1,"validation-message"],"cursorEnd":[4,"cursor-end"],"informationMessage":[1,"information-message"],"text":[32],"inputTextValue":[32],"listIsOpen":[32],"inputTextIcon":[32],"noMatch":[32],"lastAllowedValue":[32],"slottedContent":[32],"selectionProgramatic":[32],"lastSetValueByUser":[32],"myObserver":[32],"selectedItem":[32],"removedItem":[32],"open":[64],"close":[64],"getValueByIndex":[64],"setValueByIndex":[64],"selectInputText":[64]},[[0,"itemSelected","itemSelectedHandler"],[0,"itemDidLoad","itemDidLoadHandler"],[0,"keyDownComboItem","keyDownComboItemHandler"]],{"value":["onValueChanged"],"listIsOpen":["listIsOpenHandler"],"selectedItem":["selectedItemHandler"],"removedItem":["removedItemHandler"]}],[1,"gxg-combo-box-item",{"icon":[1],"value":[8],"index":[514],"disabled":[4],"selected":[516],"exactMatch":[516,"exact-match"],"hidden":[516],"iconColor":[32]}],[1,"gx-ide-container",{"inactiveTitle":[4,"inactive-title"],"containerTitle":[1,"container-title"],"titleType":[1,"title-type"],"displayBorder":[4,"display-border"],"displayBorderTop":[4,"display-border-top"],"displayBorderEnd":[4,"display-border-end"],"displayBorderBottom":[4,"display-border-bottom"],"displayBorderStart":[4,"display-border-start"],"sectionsPadding":[1,"sections-padding"],"titleAlignment":[1,"title-alignment"],"noHeadingBorder":[4,"no-heading-border"],"noHeadingGap":[4,"no-heading-gap"],"noHeadingPadding":[4,"no-heading-padding"],"noHeadingPaddingBlockEnd":[4,"no-heading-padding-block-end"],"headingPaddingTop":[4,"heading-padding-top"],"headingJustify":[1,"heading-justify"],"titleHeightAsInput":[4,"title-height-as-input"],"flexRow":[4,"flex-row"],"flexContent":[4,"flex-content"],"noContentBorderTop":[4,"no-content-border-top"],"noContentPadding":[4,"no-content-padding"],"noContentGap":[4,"no-content-gap"],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"],"contentBorderEnd":[4,"content-border-end"],"slimmerAboveFooter":[4,"slimmer-above-footer"],"noAboveFooterPadding":[4,"no-above-footer-padding"],"noBorderAboveFooter":[4,"no-border-above-footer"],"slimmerFooter":[4,"slimmer-footer"],"noFooterPadding":[4,"no-footer-padding"],"footerJustify":[1,"footer-justify"],"noBorderFooter":[4,"no-border-footer"],"hasHeaderSlot":[32],"hasSlottedContent":[32],"hasFooterSlot":[32],"hasAboveFooterSlot":[32],"hasOnlyHeading":[32],"hasOnlyContent":[32],"hasOnlyFooter":[32]}]]],["p-85f9af01",[[1,"ch-window",{"container":[16],"xAlign":[1537,"x-align"],"yAlign":[1537,"y-align"],"hidden":[1540],"modal":[516],"caption":[1],"closeText":[1,"close-text"],"closeTooltip":[1,"close-tooltip"],"closeOnOutsideClick":[4,"close-on-outside-click"],"closeOnEscape":[4,"close-on-escape"],"allowDrag":[1,"allow-drag"],"showFooter":[4,"show-footer"],"showHeader":[4,"show-header"],"showMain":[4,"show-main"],"showSeparation":[4,"show-separation"]},[[1,"mousedown","mousedownHandler"],[0,"windowCloseClicked","windowCloseClickedHandler"]],{"container":["containerHandler"],"hidden":["hiddenHandler"]}],[0,"ch-window-close",{"disabled":[4]},[[1,"keydown","pressedHandler"],[1,"click","pressedHandler"]]]]],["p-786e5448",[[4,"gxg-grid",{"noBorder":[516,"no-border"],"fullHeight":[516,"full-height"]}],[1,"ch-grid",{"rowSelectionMode":[1,"row-selection-mode"],"keyboardNavigationMode":[1,"keyboard-navigation-mode"],"rowHighlightEnabled":[8,"row-highlight-enabled"],"rowSelectedClass":[1,"row-selected-class"],"rowHighlightedClass":[1,"row-highlighted-class"],"rowFocusedClass":[1,"row-focused-class"],"rowMarkedClass":[1,"row-marked-class"],"allowColumnReorder":[4,"allow-column-reorder"],"columnResizeMode":[1,"column-resize-mode"],"localization":[16],"rowFocused":[32],"cellFocused":[32],"rowHighlighted":[32],"rowsMarked":[32],"rowsSelected":[32],"cellSelected":[32],"gridStyle":[32],"getFocusedRow":[64],"getHoveredRow":[64],"getSelectedRows":[64],"getMarkedRows":[64],"getFocusedCell":[64],"getSelectedCell":[64],"selectRow":[64],"selectAllRows":[64],"selectCell":[64],"markRow":[64],"markAllRows":[64],"expandRow":[64],"collapseRow":[64],"rowEnsureVisible":[64],"cellEnsureVisible":[64],"getPreviousRow":[64],"getNextRow":[64],"getPreviousCell":[64],"getNextCell":[64],"syncRowState":[64]},[[1,"focus","focusHandler"],[1,"blur","blurHandler"],[1,"cellFocused","cellFocusedEventHandler"],[8,"keydown","windowKeyDownHandler"],[1,"keydown","keyDownHandler"],[1,"mousemove","mouseMoveHandler"],[1,"mouseleave","mouseLeaveHandler"],[1,"mousedown","clickHandler"],[1,"mouseup","mouseUpHandler"],[1,"dblclick","dblclickHandler"],[1,"touchstart","touchstartHandler"],[0,"touchend","touchendHandler"],[0,"contextmenu","contextmenuHandler"],[1,"columnSelectorClicked","columnSelectorClickedHandler"],[1,"cellSelectorClicked","cellSelectorClickedHandler"],[1,"cellRowActionClicked","cellRowActionClickedHandler"],[0,"columnHiddenChanged","columnStyleChangedHandler"],[0,"columnOrderChanged","columnStyleChangedHandler"],[0,"columnFreezeChanged","columnStyleChangedHandler"],[0,"columnSizeChanging","columnStyleChangedHandler"],[0,"columnFreezeChanged","columnFreezeChangedHandler"],[0,"columnResizeStarted","columnResizeStartedHandler"],[0,"columnResizing","columnResizingHandler"],[0,"columnResizeFinished","columnResizeFinishedHandler"],[0,"columnDragStarted","columnDragStartHandler"],[0,"columnDragging","columnDraggingHandler"],[0,"columnDragEnded","columnDragEndHandler"],[0,"rowDragStarted","rowDragStartHandler"],[0,"rowEnsureVisible","rowEnsureVisibleHandler"],[0,"cellEnsureVisible","cellEnsureVisibleHandler"],[0,"settingsShowClicked","settingsShowClickedHandler"],[0,"settingsCloseClicked","settingsCloseClickedHandler"]],{"rowFocused":["rowFocusedHandler"],"cellFocused":["cellFocusedHandler"],"rowHighlighted":["rowHighlightedHandler"],"rowsMarked":["rowsMarkedHandler"],"rowsSelected":["rowsSelectedHandler"],"cellSelected":["cellSelectedHandler"]}],[1,"ch-grid-column",{"columnId":[1,"column-id"],"columnType":[1,"column-type"],"columnIconUrl":[1,"column-icon-url"],"columnImage":[1,"column-image"],"columnImageSet":[1,"column-image-set"],"columnName":[1,"column-name"],"columnNameHidden":[4,"column-name-hidden"],"columnTooltip":[1,"column-tooltip"],"columnNamePosition":[1,"column-name-position"],"richRowDrag":[4,"rich-row-drag"],"richRowSelector":[4,"rich-row-selector"],"richRowSelectorMode":[1,"rich-row-selector-mode"],"richRowSelectorState":[1025,"rich-row-selector-state"],"richRowActions":[4,"rich-row-actions"],"displayObserverClass":[1,"display-observer-class"],"freeze":[1],"hidden":[516],"hideable":[4],"order":[514],"physicalOrder":[2,"physical-order"],"size":[513],"resizable":[4],"resizing":[1540],"sortable":[4],"settingable":[4],"sortDirection":[1537,"sort-direction"],"showSettings":[1540,"show-settings"]},[[1,"click","clickHandler"],[0,"columnResizeStarted","columnResizeStartedHandler"],[0,"columnResizeFinished","columnResizeFinishedHandler"]],{"freeze":["freezeHandler"],"hidden":["hiddenHandler"],"order":["orderHandler"],"size":["sizeHandler"],"sortDirection":["sortDirectionHandler"]}],[0,"ch-grid-columnset",null,[[0,"columnSortChanged","columnSortChangedHandler"]]],[1,"ch-grid-column-settings",{"column":[16],"show":[516]},[[0,"windowClosed","windowClosedHandler"],[0,"columnSettingsChanged","columnSettingsChangedHandler"]]],[1,"ch-grid-settings",{"grid":[16],"show":[1540]},[[0,"windowClosed","windowClosedHandler"]]],[1,"ch-grid-column-resize",{"column":[16],"resizing":[32]},[[1,"click","clickHandler"],[0,"dblclick","dblclickHandler"],[0,"columnResizeStarted","columnResizeStartedHandler"],[0,"columnResizeFinished","columnResizeFinishedHandler"]]],[1,"ch-grid-settings-columns",{"columns":[16]}]]],["p-6f5b13a7",[[17,"gxg-form-text",{"hideTooltip":[4,"hide-tooltip"],"toolTip":[4,"tool-tip"],"clearButton":[516,"clear-button"],"debounce":[4],"debounceDelay":[2,"debounce-delay"],"disabled":[4],"readonly":[4],"icon":[8],"cursorEnd":[4,"cursor-end"],"iconPosition":[513,"icon-position"],"label":[1],"labelPosition":[513,"label-position"],"borderless":[4],"minimal":[516],"overDarkBackground":[516,"over-dark-background"],"placeholder":[1],"required":[516],"centerLabel":[4,"center-label"],"labelWidth":[8,"label-width"],"type":[1],"multiple":[4],"fileList":[1040],"acceptFile":[1,"accept-file"],"preventValueChangedEmit":[4,"prevent-value-changed-emit"],"validationStatus":[1025,"validation-status"],"validationMessage":[1,"validation-message"],"informationMessage":[1,"information-message"],"value":[513],"maxWidth":[1,"max-width"],"width":[1],"textStyle":[513,"text-style"],"password":[4],"maxLength":[1,"max-length"],"minLength":[1,"min-length"],"cursorInside":[32],"inputSize":[32],"mouseCoordinates":[32],"rtl":[32],"iconColor":[32],"selectInputText":[64],"openFile":[64],"clearInput":[64]},null,{"value":["watchValueHandler"]}],[1,"gxg-label",{"labelPosition":[1,"label-position"],"disabled":[516],"noMargin":[4,"no-margin"],"center":[4],"for":[1],"width":[1],"size":[1],"tooltip":[1]}],[1,"gxg-tooltip",{"position":[513],"label":[1],"alignEnd":[516,"align-end"],"fixed":[516],"flex":[516],"noBorder":[516,"no-border"],"visible":[32]}],[1,"gxg-icon",{"color":[1],"size":[1],"type":[8]}],[1,"ch-icon",{"color":[1],"lazy":[4],"autoColor":[516,"auto-color"],"src":[513],"size":[1],"isVisible":[32],"svgContent":[32]},null,{"src":["getIcon"]}]]]]'), e)));
|
|
17
17
|
//# sourceMappingURL=genexus-ide-ui.esm.js.map
|
|
@@ -6,7 +6,7 @@ import { L as s } from "./p-74d59062.js";
|
|
|
6
6
|
|
|
7
7
|
import { f as l } from "./p-00095d68.js";
|
|
8
8
|
|
|
9
|
-
const n = ":root{--ui-animaton-speed:0.2s}.gxg-title-01{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-01--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-02{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-02--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--color-on-primary)}.gxg-title-03{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-03--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-04{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-04--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-05{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-05--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable)}.gxg-text--negative{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text--gray{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--dimmed)}.gxg-quote{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);font-style:italic}.gxg-quote--negative{color:var(--ds-base-font-color--negative)}.gxg-link{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block}.gxg-link:hover{color:var(--ds-base-font-color--link-hover)}.gxg-link:active{color:var(--ds-base-font-color--link-active)}.gxg-link-gray{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed)}.gxg-link-gray:hover{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed);filter:brightness(1.4)}.gxg-alert-error{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--error);display:inline-block}.gxg-alert-warning{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--warning);display:inline-block}.gxg-alert-success{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--success);display:inline-block}.gxg-tab--disabled{color:var(--color-primary-disabled);pointer-events:none}.gxg-tab--disabled[disabled]{color:var(--color-primary-disabled);pointer-events:none}.gxg-label{font-family:var(--ds-base-font-family-primary);font-weight:var(--gxg-label-font-weight);font-size:var(--gxg-label-font-size);color:var(--gxg-label-color);text-align:center;line-height:1.455em;display:flex;align-items:center}.gxg-label:hover{color:var(--color-primary-hover)}.gxg-label:focus{color:var(--color-primary-active)}.gxg-label:active{color:var(--color-primary-active)}.gxg-label[disabled]{color:var(--color-primary-disabled)}.gxg-label--negative{color:var(--color-on-primary)}.gxg-label--negative[disabled]{color:var(--color-on-disabled)}.gxg-scrollbar{}.gxg-scrollbar::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gxg-scrollbar::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gxg-scrollbar::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gxi-hidden{display:none !important}.gxi-full-height{height:100%}.gxi-overflow-auto{overflow:auto}.gxi-display-flex{display:flex}.align-start{display:flex;align-items:start}.align-center{display:flex;align-items:center}.align-end{display:flex;align-items:end}.overflow-auto{overflow:auto}.justify-start{display:flex;justify-content:start}.justify-center{display:flex;justify-content:center}.justify-end{display:flex;justify-content:end}.grid{display:grid;grid-row-gap:var(--gx-ide-grid-row-gap);grid-column-gap:var(--gx-ide-grid-column-gap);grid-template-rows:auto}ch-grid-cell{display:flex}ch-grid{overflow:auto;height:100%}ch-grid-column{z-index:99;border-bottom:1px solid var(--mer-color__neutral-gray--800)}ch-grid-column:first-child{padding-inline-start:var(--gx-ide-container__padding) !important}ch-grid-column:last-child{padding-inline-end:var(--gx-ide-container__padding) !important}ch-grid-cell{--mer-spacing--xs:var(--gx-ide-container__padding)}.layout{display:grid;gap:var(--mer-spacing--lg);box-sizing:border-box}.layout--two-cols{grid-template-columns:1fr 1fr}.layout--space-above{padding-block-start:var(--mer-spacing--lg)}gxg-tabs{box-shadow:none}:host(.gx-ide-component){height:100% !important;display:flex !important;flex-direction:column !important}:host(:focus-within) gx-ide-top-bar::part(wrapper){background-color:var(--color-secondary-enabled)}.gx-ide-main-wrapper{color:var(--gx-ide-component-text-color);font-weight:var(--mer-font__weight--regular);font-size:var(--mer-font__size--xs);font-family:var(--mer-font-family--primary);height:100%;background-color:var(--gx-ide-component-background-color);display:flex;flex-direction:column;flex-grow:1;box-sizing:border-box}.gx-ide-main{flex-grow:1;overflow-y:auto;}.gx-ide-main::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-main::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-main::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-main::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-main::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gx-ide-overflow{overflow-y:auto;}.gx-ide-overflow::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-overflow::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-overflow::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.tree-container{display:flex;height:100%;width:100%;box-sizing:border-box}p{margin:0}:host{display:block}.user-details-container{display:flex;gap:var(--gx-ide-form-items-gap)}";
|
|
9
|
+
const n = ":root{--ui-animaton-speed:0.2s}.gxg-title-01{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-01--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-02{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-02--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--color-on-primary)}.gxg-title-03{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-03--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-04{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-04--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-05{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-05--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable)}.gxg-text--negative{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text--gray{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--dimmed)}.gxg-quote{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);font-style:italic}.gxg-quote--negative{color:var(--ds-base-font-color--negative)}.gxg-link{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block}.gxg-link:hover{color:var(--ds-base-font-color--link-hover)}.gxg-link:active{color:var(--ds-base-font-color--link-active)}.gxg-link-gray{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed)}.gxg-link-gray:hover{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed);filter:brightness(1.4)}.gxg-alert-error{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--error);display:inline-block}.gxg-alert-warning{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--warning);display:inline-block}.gxg-alert-success{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--success);display:inline-block}.gxg-tab--disabled{color:var(--color-primary-disabled);pointer-events:none}.gxg-tab--disabled[disabled]{color:var(--color-primary-disabled);pointer-events:none}.gxg-label{font-family:var(--ds-base-font-family-primary);font-weight:var(--gxg-label-font-weight);font-size:var(--gxg-label-font-size);color:var(--gxg-label-color);text-align:center;line-height:1.455em;display:flex;align-items:center}.gxg-label:hover{color:var(--color-primary-hover)}.gxg-label:focus{color:var(--color-primary-active)}.gxg-label:active{color:var(--color-primary-active)}.gxg-label[disabled]{color:var(--color-primary-disabled)}.gxg-label--negative{color:var(--color-on-primary)}.gxg-label--negative[disabled]{color:var(--color-on-disabled)}.gxg-scrollbar{}.gxg-scrollbar::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gxg-scrollbar::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gxg-scrollbar::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gxi-hidden{display:none !important}.gxi-full-height{height:100%}.gxi-overflow-auto{overflow:auto}.gxi-display-flex{display:flex}.align-start{display:flex;align-items:start}.align-center{display:flex;align-items:center}.align-end{display:flex;align-items:end}.overflow-auto{overflow:auto}.justify-start{display:flex;justify-content:start}.justify-center{display:flex;justify-content:center}.justify-end{display:flex;justify-content:end}.grid{display:grid;grid-row-gap:var(--gx-ide-grid-row-gap);grid-column-gap:var(--gx-ide-grid-column-gap);grid-template-rows:auto}ch-grid-cell{display:flex}ch-grid{overflow:auto;height:100%}ch-grid-column{z-index:99;border-bottom:1px solid var(--mer-color__neutral-gray--800)}ch-grid-column:first-child{padding-inline-start:var(--gx-ide-container__padding) !important}ch-grid-column:last-child{padding-inline-end:var(--gx-ide-container__padding) !important}ch-grid-cell{--mer-spacing--xs:var(--gx-ide-container__padding)}.layout{display:grid;gap:var(--mer-spacing--lg);box-sizing:border-box}.layout--two-cols{grid-template-columns:1fr 1fr}.layout--space-above{padding-block-start:var(--mer-spacing--lg)}gxg-tabs{box-shadow:none}:host(.gx-ide-component){height:100% !important;display:flex !important;flex-direction:column !important}:host(:focus-within) gx-ide-top-bar::part(wrapper){background-color:var(--color-secondary-enabled)}.gx-ide-main-wrapper{color:var(--gx-ide-component-text-color);font-weight:var(--mer-font__weight--regular);font-size:var(--mer-font__size--xs);font-family:var(--mer-font-family--primary);height:100%;background-color:var(--gx-ide-component-background-color);display:flex;flex-direction:column;flex-grow:1;box-sizing:border-box}.gx-ide-main{flex-grow:1;overflow-y:auto;}.gx-ide-main::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-main::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-main::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-main::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-main::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gx-ide-overflow{overflow-y:auto;}.gx-ide-overflow::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-overflow::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-overflow::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.tree-container{display:flex;height:100%;width:100%;box-sizing:border-box}p{margin:0}:host{display:block}.user-details-container{display:flex;gap:var(--gx-ide-form-items-gap)}.wrapper{display:flex;flex-direction:column;gap:var(--mer-spacing--md)}";
|
|
10
10
|
|
|
11
11
|
const g = class {
|
|
12
12
|
constructor(o) {
|
|
@@ -76,6 +76,8 @@ const g = class {
|
|
|
76
76
|
}, r("gx-ide-container", {
|
|
77
77
|
containerTitle: this.displayTitle ? this._componentLocale.componentName : null,
|
|
78
78
|
slimmerFooter: i.gxIdeContainer.slimmerFooter
|
|
79
|
+
}, r("div", {
|
|
80
|
+
class: "wrapper"
|
|
79
81
|
}, r("gxg-combo-box", {
|
|
80
82
|
label: this._componentLocale.main.serverUrl,
|
|
81
83
|
disableFilter: !this.enableCustomServer,
|
|
@@ -105,7 +107,7 @@ const g = class {
|
|
|
105
107
|
ref: e => this.passwordEl = e,
|
|
106
108
|
password: true,
|
|
107
109
|
toolTip: i.tooltip
|
|
108
|
-
})) : null, r("gxg-button", {
|
|
110
|
+
})) : null), r("gxg-button", {
|
|
109
111
|
slot: "footer-end",
|
|
110
112
|
type: "outlined"
|
|
111
113
|
}, this._componentLocale.main.cancel), r("gxg-button", {
|
|
@@ -124,4 +126,4 @@ const g = class {
|
|
|
124
126
|
g.style = n;
|
|
125
127
|
|
|
126
128
|
export { g as gx_ide_connect_gx_server };
|
|
127
|
-
//# sourceMappingURL=p-
|
|
129
|
+
//# sourceMappingURL=p-64de1e77.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["connectGxServerCss","GxIdeConnectGxServer","this","renderedFirstTime","renderServerUrls","_a","serverUrls","length","map","serverUrl","h","continueWithGxServerHandler","event","displayLoginControls","detail","value","evaluateDisplayLoginControls","enableUserLogged","connectHandler","connectCallback","serverURLEl","continueWithGeneXusAccount","continueWithGeneXusAccountEl","checked","user","userNameEl","password","passwordEl","then","formSubmitResult","console","log","formSubmitValidation","componentWillLoad","_componentLocale","Locale","getComponentStrings","el","componentDidRender","componentDidRenderFirstTime","emit","componentName","render","Host","class","containerTitle","displayTitle","slimmerFooter","config","gxIdeContainer","label","main","disableFilter","enableCustomServer","defaultConnectionData","ref","toolTip","tooltip","continueWithGxAccount","onChange","disabled","userName","labelPosition","slot","type","cancel","onClick","connect"],"sources":["src/components/connect-gx-server/connect-gx-server.scss?tag=gx-ide-connect-gx-server&encapsulation=shadow","src/components/connect-gx-server/connect-gx-server.tsx"],"sourcesContent":["@import \"../../global/gx-ide-common.scss\";\n@import \"../../global/gx-ide-mixins.scss\";\n\n:host {\n display: block;\n}\n\n.user-details-container {\n display: flex;\n gap: var(--gx-ide-form-items-gap);\n}\n\n.wrapper {\n display: flex;\n flex-direction: column;\n gap: var(--mer-spacing--md);\n}\n","/* STENCIL IMPORTS */\nimport {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State\n} from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { config } from \"../../common/config\";\nimport { Locale } from \"../../common/locale\";\nimport { formSubmitValidation } from \"../../common/form-validation\";\nimport { ConnectionResultData } from \"../../common/types\";\n\n@Component({\n tag: \"gx-ide-connect-gx-server\",\n styleUrl: \"connect-gx-server.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/connect-gx-server\"]\n})\nexport class GxIdeConnectGxServer {\n // 1.OWN PROPERTIES //\n\n /**\n * The component hard-coded strings translations.\n */\n private _componentLocale: any;\n private renderedFirstTime = false;\n\n // 2. REFERENCE TO ELEMENTS //\n\n @Element() el: HTMLGxIdeConnectGxServerElement;\n\n private serverURLEl!: HTMLGxgComboBoxElement;\n private userNameEl!: HTMLGxgFormTextElement;\n private passwordEl!: HTMLGxgFormTextElement;\n private continueWithGeneXusAccountEl!: HTMLGxgFormCheckboxElement;\n\n // 3.STATE() VARIABLES //\n\n //\n @State() displayLoginControls: boolean = false;\n\n // 4.PUBLIC PROPERTY API | WATCH'S //\n\n /**\n * If true it displays the component title on the header\n */\n @Prop() readonly displayTitle = false;\n\n /**\n * Array of cataloged server URLs\n */\n @Prop() readonly serverUrls: string[];\n\n /**\n * 'true' if the user should be allowed to manually enter a server URL in serverUrls.\n */\n @Prop() readonly enableCustomServer: boolean = false;\n\n /**\n * Initial user values for the case in which the user returns to the login modal after a successful authentication.\n */\n @Prop() readonly defaultConnectionData?: GXServerConnectionData;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly enableUserLogged: boolean = false;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly connectCallback: (\n data: GXServerConnectionData\n ) => Promise<ConnectionResultData>;\n\n /**\n * Callback that allows canceling the server connection process.\n */\n @Prop() readonly cancelCallback: () => Promise<void>;\n\n // 5.EVENTS (EMIT) //\n\n /**\n * @description Gets fired when the component has rendered for the first time.\n */\n @Event() componentDidRenderFirstTime: EventEmitter<string>;\n\n // 6.COMPONENT LIFECYCLE METHODS //\n\n async componentWillLoad() {\n this._componentLocale = await Locale.getComponentStrings(this.el);\n this.evaluateDisplayLoginControls();\n }\n\n componentDidRender() {\n if (!this.renderedFirstTime) {\n this.componentDidRenderFirstTime.emit(\n this._componentLocale.componentName\n );\n this.renderedFirstTime = true;\n }\n }\n\n // 7.LISTENERS //\n\n // 8.PUBLIC METHODS API //\n\n // 9.LOCAL METHODS //\n\n private renderServerUrls = (): HTMLGxgComboBoxItemElement[] => {\n if (this.serverUrls?.length) {\n return this.serverUrls.map(serverUrl => {\n return <gxg-combo-box-item>{serverUrl}</gxg-combo-box-item>;\n });\n }\n return [];\n };\n\n private continueWithGxServerHandler = (\n event: CustomEvent<{ id: string; value: boolean; disabled?: boolean }>\n ) => {\n this.displayLoginControls = !event.detail.value;\n };\n\n private evaluateDisplayLoginControls = () => {\n if (this.enableUserLogged) {\n this.displayLoginControls = false;\n } else {\n this.displayLoginControls = true;\n }\n };\n\n private connectHandler = () => {\n if (this.connectCallback) {\n this.connectCallback({\n serverUrl: this.serverURLEl.value,\n continueWithGeneXusAccount: this.continueWithGeneXusAccountEl.checked,\n user: this.userNameEl.value,\n password: this.passwordEl.value\n }).then((formSubmitResult: ConnectionResultData) => {\n console.log(formSubmitResult);\n formSubmitValidation(formSubmitResult, this);\n });\n }\n };\n\n // 10.RENDER() FUNCTION //\n\n render() {\n return (\n <Host class=\"gx-ide-component\">\n <div class=\"gx-ide-main-wrapper\">\n <gx-ide-container\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n >\n <div class=\"wrapper\">\n {/* server url */}\n <gxg-combo-box\n label={this._componentLocale.main.serverUrl}\n disableFilter={!this.enableCustomServer}\n value={this.defaultConnectionData?.serverUrl}\n ref={el => (this.serverURLEl = el as HTMLGxgComboBoxElement)}\n toolTip={config.tooltip}\n >\n {this.renderServerUrls()}\n </gxg-combo-box>\n\n {/* continue with GeneXus account */}\n <gxg-form-checkbox\n label={this._componentLocale.main.continueWithGxAccount}\n onChange={this.continueWithGxServerHandler}\n checked={\n this.defaultConnectionData\n ? this.defaultConnectionData.continueWithGeneXusAccount\n : this.enableUserLogged\n }\n disabled={!this.enableUserLogged}\n ref={el =>\n (this.continueWithGeneXusAccountEl =\n el as HTMLGxgFormCheckboxElement)\n }\n ></gxg-form-checkbox>\n\n {this.displayLoginControls ? (\n <div class=\"user-details-container\">\n {/* username */}\n <gxg-form-text\n label={this._componentLocale.main.userName}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.user}\n ref={el => (this.userNameEl = el as HTMLGxgFormTextElement)}\n toolTip={config.tooltip}\n ></gxg-form-text>\n {/* password */}\n <gxg-form-text\n label={this._componentLocale.main.password}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.password}\n ref={el => (this.passwordEl = el as HTMLGxgFormTextElement)}\n password\n toolTip={config.tooltip}\n ></gxg-form-text>\n </div>\n ) : null}\n </div>\n\n {/* cancel and connect buttons */}\n <gxg-button slot=\"footer-end\" type=\"outlined\">\n {this._componentLocale.main.cancel}\n </gxg-button>\n <gxg-button slot=\"footer-end\" onClick={this.connectHandler}>\n {this._componentLocale.main.connect}\n </gxg-button>\n </gx-ide-container>\n </div>\n </Host>\n );\n }\n}\n\nexport type GXServerConnectionData = {\n serverUrl: string;\n continueWithGeneXusAccount: boolean;\n user: string;\n password: string;\n};\n"],"mappings":";;;;;;;;AAAA,MAAMA,IAAqB;;MCwBdC,IAAoB;;;;IAOvBC,KAAAC,oBAAoB;;;;QAoFpBD,KAAAE,mBAAmB;;MACzB,KAAIC,IAAAH,KAAKI,gBAAU,QAAAD,WAAA,aAAAA,EAAEE,QAAQ;QAC3B,OAAOL,KAAKI,WAAWE,KAAIC,KAClBC,EAAA,4BAAqBD;;MAGhC,OAAO;AAAE;IAGHP,KAAAS,8BACNC;MAEAV,KAAKW,wBAAwBD,EAAME,OAAOC;AAAK;IAGzCb,KAAAc,+BAA+B;MACrC,IAAId,KAAKe,kBAAkB;QACzBf,KAAKW,uBAAuB;aACvB;QACLX,KAAKW,uBAAuB;;;IAIxBX,KAAAgB,iBAAiB;MACvB,IAAIhB,KAAKiB,iBAAiB;QACxBjB,KAAKiB,gBAAgB;UACnBV,WAAWP,KAAKkB,YAAYL;UAC5BM,4BAA4BnB,KA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AAKlB,KAAOnC,KAAKuB,aAAaY;MAC9BmB,SAASR,EAAOS;QAGlB/C,EAAA;MACEwC,OAAOhD,KAAKgC,iBAAiBiB,KAAKzB;MAClCoC,eAAc;MACdF,WAAW1D,KAAKW;MAChBE,OAAOb,KAAKoD,sBAAsB5B;MAClC6B,KAAKlB,KAAOnC,KAAKyB,aAAaU;MAC9BX,UAAQ;MACR8B,SAASR,EAAOS;UAGlB,OAIN/C,EAAA;MAAYqD,MAAK;MAAaC,MAAK;OAChC9D,KAAKgC,iBAAiBiB,KAAKc,SAE9BvD,EAAA;MAAYqD,MAAK;MAAaG,SAAShE,KAAKgB;OACzChB,KAAKgC,iBAAiBiB,KAAKgB"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["connectGxServerCss","GxIdeConnectGxServer","this","renderedFirstTime","renderServerUrls","_a","serverUrls","length","map","serverUrl","h","continueWithGxServerHandler","event","displayLoginControls","detail","value","evaluateDisplayLoginControls","enableUserLogged","connectHandler","connectCallback","serverURLEl","continueWithGeneXusAccount","continueWithGeneXusAccountEl","checked","user","userNameEl","password","passwordEl","then","formSubmitResult","console","log","formSubmitValidation","componentWillLoad","_componentLocale","Locale","getComponentStrings","el","componentDidRender","componentDidRenderFirstTime","emit","componentName","render","Host","class","containerTitle","displayTitle","slimmerFooter","config","gxIdeContainer","label","main","disableFilter","enableCustomServer","defaultConnectionData","ref","toolTip","tooltip","continueWithGxAccount","onChange","disabled","userName","labelPosition","slot","type","cancel","onClick","connect"],"sources":["src/components/connect-gx-server/connect-gx-server.scss?tag=gx-ide-connect-gx-server&encapsulation=shadow","src/components/connect-gx-server/connect-gx-server.tsx"],"sourcesContent":["@import \"../../global/gx-ide-common.scss\";\n@import \"../../global/gx-ide-mixins.scss\";\n\n:host {\n display: block;\n}\n\n.user-details-container {\n display: flex;\n gap: var(--gx-ide-form-items-gap);\n}\n","/* STENCIL IMPORTS */\nimport {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State\n} from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { config } from \"../../common/config\";\nimport { Locale } from \"../../common/locale\";\nimport { formSubmitValidation } from \"../../common/form-validation\";\nimport { ConnectionResultData } from \"../../common/types\";\n\n@Component({\n tag: \"gx-ide-connect-gx-server\",\n styleUrl: \"connect-gx-server.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/connect-gx-server\"]\n})\nexport class GxIdeConnectGxServer {\n // 1.OWN PROPERTIES //\n\n /**\n * The component hard-coded strings translations.\n */\n private _componentLocale: any;\n private renderedFirstTime = false;\n\n // 2. REFERENCE TO ELEMENTS //\n\n @Element() el: HTMLGxIdeConnectGxServerElement;\n\n private serverURLEl!: HTMLGxgComboBoxElement;\n private userNameEl!: HTMLGxgFormTextElement;\n private passwordEl!: HTMLGxgFormTextElement;\n private continueWithGeneXusAccountEl!: HTMLGxgFormCheckboxElement;\n\n // 3.STATE() VARIABLES //\n\n //\n @State() displayLoginControls: boolean = false;\n\n // 4.PUBLIC PROPERTY API | WATCH'S //\n\n /**\n * If true it displays the component title on the header\n */\n @Prop() readonly displayTitle = false;\n\n /**\n * Array of cataloged server URLs\n */\n @Prop() readonly serverUrls: string[];\n\n /**\n * 'true' if the user should be allowed to manually enter a server URL in serverUrls.\n */\n @Prop() readonly enableCustomServer: boolean = false;\n\n /**\n * Initial user values for the case in which the user returns to the login modal after a successful authentication.\n */\n @Prop() readonly defaultConnectionData?: GXServerConnectionData;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly enableUserLogged: boolean = false;\n\n /**\n * If 'true', shows the enabled and checked 'Continue with GX Account' checkbox. If 'false', shows the checkbox unchecked and disabled, and displays the options to enter username and password directly. Even if 'true', allow the user to deselect the checkbox and enter username and password.\n */\n @Prop() readonly connectCallback: (\n data: GXServerConnectionData\n ) => Promise<ConnectionResultData>;\n\n /**\n * Callback that allows canceling the server connection process.\n */\n @Prop() readonly cancelCallback: () => Promise<void>;\n\n // 5.EVENTS (EMIT) //\n\n /**\n * @description Gets fired when the component has rendered for the first time.\n */\n @Event() componentDidRenderFirstTime: EventEmitter<string>;\n\n // 6.COMPONENT LIFECYCLE METHODS //\n\n async componentWillLoad() {\n this._componentLocale = await Locale.getComponentStrings(this.el);\n this.evaluateDisplayLoginControls();\n }\n\n componentDidRender() {\n if (!this.renderedFirstTime) {\n this.componentDidRenderFirstTime.emit(\n this._componentLocale.componentName\n );\n this.renderedFirstTime = true;\n }\n }\n\n // 7.LISTENERS //\n\n // 8.PUBLIC METHODS API //\n\n // 9.LOCAL METHODS //\n\n private renderServerUrls = (): HTMLGxgComboBoxItemElement[] => {\n if (this.serverUrls?.length) {\n return this.serverUrls.map(serverUrl => {\n return <gxg-combo-box-item>{serverUrl}</gxg-combo-box-item>;\n });\n }\n return [];\n };\n\n private continueWithGxServerHandler = (\n event: CustomEvent<{ id: string; value: boolean; disabled?: boolean }>\n ) => {\n this.displayLoginControls = !event.detail.value;\n };\n\n private evaluateDisplayLoginControls = () => {\n if (this.enableUserLogged) {\n this.displayLoginControls = false;\n } else {\n this.displayLoginControls = true;\n }\n };\n\n private connectHandler = () => {\n if (this.connectCallback) {\n this.connectCallback({\n serverUrl: this.serverURLEl.value,\n continueWithGeneXusAccount: this.continueWithGeneXusAccountEl.checked,\n user: this.userNameEl.value,\n password: this.passwordEl.value\n }).then((formSubmitResult: ConnectionResultData) => {\n console.log(formSubmitResult);\n formSubmitValidation(formSubmitResult, this);\n });\n }\n };\n\n // 10.RENDER() FUNCTION //\n\n render() {\n return (\n <Host class=\"gx-ide-component\">\n <div class=\"gx-ide-main-wrapper\">\n <gx-ide-container\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n >\n {/* server url */}\n <gxg-combo-box\n label={this._componentLocale.main.serverUrl}\n disableFilter={!this.enableCustomServer}\n value={this.defaultConnectionData?.serverUrl}\n ref={el => (this.serverURLEl = el as HTMLGxgComboBoxElement)}\n toolTip={config.tooltip}\n >\n {this.renderServerUrls()}\n </gxg-combo-box>\n\n {/* continue with GeneXus account */}\n <gxg-form-checkbox\n label={this._componentLocale.main.continueWithGxAccount}\n onChange={this.continueWithGxServerHandler}\n checked={\n this.defaultConnectionData\n ? this.defaultConnectionData.continueWithGeneXusAccount\n : this.enableUserLogged\n }\n disabled={!this.enableUserLogged}\n ref={el =>\n (this.continueWithGeneXusAccountEl =\n el as HTMLGxgFormCheckboxElement)\n }\n ></gxg-form-checkbox>\n\n {this.displayLoginControls ? (\n <div class=\"user-details-container\">\n {/* username */}\n <gxg-form-text\n label={this._componentLocale.main.userName}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.user}\n ref={el => (this.userNameEl = el as HTMLGxgFormTextElement)}\n toolTip={config.tooltip}\n ></gxg-form-text>\n {/* password */}\n <gxg-form-text\n label={this._componentLocale.main.password}\n labelPosition=\"above\"\n disabled={!this.displayLoginControls}\n value={this.defaultConnectionData.password}\n ref={el => (this.passwordEl = el as HTMLGxgFormTextElement)}\n password\n toolTip={config.tooltip}\n ></gxg-form-text>\n </div>\n ) : null}\n\n {/* cancel and connect buttons */}\n <gxg-button slot=\"footer-end\" type=\"outlined\">\n {this._componentLocale.main.cancel}\n </gxg-button>\n <gxg-button slot=\"footer-end\" onClick={this.connectHandler}>\n {this._componentLocale.main.connect}\n </gxg-button>\n </gx-ide-container>\n </div>\n </Host>\n );\n }\n}\n\nexport type GXServerConnectionData = {\n serverUrl: string;\n continueWithGeneXusAccount: boolean;\n user: string;\n password: string;\n};\n"],"mappings":";;;;;;;;AAAA,MAAMA,IAAqB;;MCwBdC,IAAoB;;;;IAOvBC,KAAAC,oBAAoB;;;;QAoFpBD,KAAAE,mBAAmB;;M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