@genexus/genexus-ide-ui 0.0.108 → 0.0.109
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/ch-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/ch-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ch-grid_8.cjs.entry.js +339 -321
- package/dist/cjs/ch-grid_8.cjs.entry.js.map +1 -1
- package/dist/cjs/ch-icon_5.cjs.entry.js +3 -1
- package/dist/cjs/ch-icon_5.cjs.entry.js.map +1 -1
- package/dist/cjs/ch-suggest_4.cjs.entry.js +1 -1
- package/dist/cjs/ch-suggest_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ch-tree-view_5.cjs.entry.js +41 -20
- package/dist/cjs/ch-tree-view_5.cjs.entry.js.map +1 -1
- package/dist/cjs/{common-103f62f6.js → common-2e355c7d.js} +31 -1
- package/dist/cjs/common-2e355c7d.js.map +1 -0
- package/dist/cjs/genexus-ide-ui.cjs.js +1 -1
- package/dist/cjs/gx-ide-add-module-servers.cjs.entry.js +98 -0
- package/dist/cjs/gx-ide-add-module-servers.cjs.entry.js.map +1 -0
- package/dist/cjs/{gx-ide-container_2.cjs.entry.js → gx-ide-container_3.cjs.entry.js} +47 -4
- package/dist/cjs/gx-ide-container_3.cjs.entry.js.map +1 -0
- package/dist/cjs/gx-ide-create-kb-from-server.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-create-kb-from-server.cjs.entry.js.map +1 -1
- package/dist/cjs/gx-ide-edit-module-servers.cjs.entry.js +98 -0
- package/dist/cjs/gx-ide-edit-module-servers.cjs.entry.js.map +1 -0
- package/dist/cjs/gx-ide-empty-state_2.cjs.entry.js.map +1 -1
- package/dist/cjs/gx-ide-import-from-design.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-manage-module-references.cjs.entry.js +232 -0
- package/dist/cjs/gx-ide-manage-module-references.cjs.entry.js.map +1 -0
- package/dist/cjs/gx-ide-new-environment.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-new-kb.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-share-kb.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-status-buttons.cjs.entry.js +81 -0
- package/dist/cjs/gx-ide-status-buttons.cjs.entry.js.map +1 -0
- package/dist/cjs/gx-ide-ww-images.cjs.entry.js +1 -1
- package/dist/cjs/gxg-buttons-container_2.cjs.entry.js +184 -0
- package/dist/cjs/gxg-buttons-container_2.cjs.entry.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/common/common.js +21 -0
- package/dist/collection/common/common.js.map +1 -1
- package/dist/collection/components/_helpers/container/container.css +6 -0
- package/dist/collection/components/_helpers/container/container.js +40 -0
- package/dist/collection/components/_helpers/container/container.js.map +1 -1
- package/dist/collection/components/_helpers/list-selector/list-selector-item/list-selector-item.js +1 -1
- package/dist/collection/components/_helpers/list-selector/list-selector.js +1 -1
- package/dist/collection/components/create-kb-from-server/create-kb-from-server.js +1 -1
- package/dist/collection/components/create-kb-from-server/create-kb-from-server.js.map +1 -1
- package/dist/collection/components/modules/add-module-servers/add-module-servers.css +560 -0
- package/dist/collection/components/modules/add-module-servers/add-module-servers.js +251 -0
- package/dist/collection/components/modules/add-module-servers/add-module-servers.js.map +1 -0
- package/dist/collection/components/modules/add-module-servers/gx-ide-assets/add-module-servers/langs/add-module-servers.lang.en.json +11 -0
- package/dist/collection/components/modules/add-module-servers/gx-ide-assets/add-module-servers/langs/add-module-servers.lang.ja.json +3 -0
- package/dist/collection/components/modules/add-module-servers/gx-ide-assets/add-module-servers/langs/add-module-servers.lang.zh.json +3 -0
- package/dist/collection/components/modules/edit-module-servers/edit-module-servers.css +560 -0
- package/dist/collection/components/modules/edit-module-servers/edit-module-servers.js +251 -0
- package/dist/collection/components/modules/edit-module-servers/edit-module-servers.js.map +1 -0
- package/dist/collection/components/modules/edit-module-servers/gx-ide-assets/edit-module-servers/langs/edit-module-servers.lang.en.json +11 -0
- package/dist/collection/components/modules/edit-module-servers/gx-ide-assets/edit-module-servers/langs/edit-module-servers.lang.ja.json +3 -0
- package/dist/collection/components/modules/edit-module-servers/gx-ide-assets/edit-module-servers/langs/edit-module-servers.lang.zh.json +3 -0
- package/dist/collection/components/modules/manage-module-references/gx-ide-assets/manage-module-references/langs/manage-module-references.lang.en.json +29 -0
- package/dist/collection/components/modules/manage-module-references/gx-ide-assets/manage-module-references/langs/manage-module-references.lang.ja.json +3 -0
- package/dist/collection/components/modules/manage-module-references/gx-ide-assets/manage-module-references/langs/manage-module-references.lang.zh.json +3 -0
- package/dist/collection/components/modules/manage-module-references/manage-module-references.css +723 -0
- package/dist/collection/components/modules/manage-module-references/manage-module-references.js +397 -0
- package/dist/collection/components/modules/manage-module-references/manage-module-references.js.map +1 -0
- package/dist/collection/components/modules/types.js +2 -0
- package/dist/collection/components/modules/types.js.map +1 -0
- package/dist/collection/pages/assets/common.js +7 -0
- package/dist/components/buttons-container.js +8 -3
- package/dist/components/buttons-container.js.map +1 -1
- package/dist/components/card.js.map +1 -1
- package/dist/components/ch-grid-column2.js +4 -1
- package/dist/components/ch-grid-column2.js.map +1 -1
- package/dist/components/ch-grid2.js +342 -322
- package/dist/components/ch-grid2.js.map +1 -1
- package/dist/components/combo-box.js +1 -1
- package/dist/components/common.js +30 -1
- package/dist/components/common.js.map +1 -1
- package/dist/components/container.js +9 -3
- package/dist/components/container.js.map +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.js.map +1 -1
- package/dist/components/form-checkbox.js +1 -1
- package/dist/components/form-radio-group.js +1 -1
- package/dist/components/form-text.js +1 -1
- package/dist/components/form-textarea.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/gx-ide-add-module-servers.d.ts +11 -0
- package/dist/components/gx-ide-add-module-servers.js +186 -0
- package/dist/components/gx-ide-add-module-servers.js.map +1 -0
- package/dist/components/gx-ide-ai-assistant.js +1 -1
- package/dist/components/gx-ide-bpm-app-declaration.js +2 -2
- package/dist/components/gx-ide-create-kb-from-server.js +3 -3
- package/dist/components/gx-ide-create-kb-from-server.js.map +1 -1
- package/dist/components/gx-ide-dashboard-home.js +2 -2
- package/dist/components/gx-ide-data-selector.js +2 -2
- package/dist/components/gx-ide-edit-module-servers.d.ts +11 -0
- package/dist/components/gx-ide-edit-module-servers.js +186 -0
- package/dist/components/gx-ide-edit-module-servers.js.map +1 -0
- package/dist/components/gx-ide-empty-state2.js +2 -2
- package/dist/components/gx-ide-import-from-design.js +2 -2
- package/dist/components/gx-ide-kb-manager-export.js +2 -2
- package/dist/components/gx-ide-kb-manager-import.js +2 -2
- package/dist/components/gx-ide-manage-module-references.d.ts +11 -0
- package/dist/components/gx-ide-manage-module-references.js +432 -0
- package/dist/components/gx-ide-manage-module-references.js.map +1 -0
- package/dist/components/gx-ide-new-environment.js +2 -2
- package/dist/components/gx-ide-new-kb.js +2 -2
- package/dist/components/gx-ide-new-object.js +2 -2
- package/dist/components/gx-ide-object-selector.js +2 -2
- package/dist/components/gx-ide-references.js +2 -2
- package/dist/components/gx-ide-share-kb.js +2 -2
- package/dist/components/gx-ide-start-page.js +2 -2
- package/dist/components/gx-ide-status-buttons2.js +1 -1
- package/dist/components/gx-ide-team-dev-commit.js +2 -2
- package/dist/components/gx-ide-team-dev-select-recent-comment.js +2 -2
- package/dist/components/gx-ide-team-dev-update-partial-selection.js +2 -2
- package/dist/components/gx-ide-team-dev-update-to-revision.js +2 -2
- package/dist/components/gx-ide-team-dev-update.js +2 -2
- package/dist/components/gx-ide-template.js +2 -2
- package/dist/components/gx-ide-title.js +1 -1
- package/dist/components/gx-ide-top-bar.js +1 -1
- package/dist/components/gx-ide-ww-images.js +2 -2
- package/dist/components/gxg-container.js +1 -1
- package/dist/components/gxg-form-checkbox-group2.js +1 -1
- package/dist/components/gxg-menu-slim-list.js +1 -1
- package/dist/components/gxg-title.js +1 -1
- package/dist/components/gxg-top-state-bar2.js +17 -8
- package/dist/components/gxg-top-state-bar2.js.map +1 -1
- package/dist/components/icon2.js +3 -1
- package/dist/components/icon2.js.map +1 -1
- package/dist/components/ide-loader.js +1 -1
- package/dist/components/list-box.js +1 -1
- package/dist/components/list-selector.js +1 -1
- package/dist/components/recent-news.js +2 -2
- package/dist/components/suggest.js +2 -2
- package/dist/components/suggest.js.map +1 -1
- package/dist/components/title-editable.js +1 -1
- package/dist/components/title.js +32 -31
- package/dist/components/title.js.map +1 -1
- package/dist/components/title2.js +31 -32
- package/dist/components/title2.js.map +1 -1
- package/dist/components/tree-view-item.js +8 -2
- package/dist/components/tree-view-item.js.map +1 -1
- package/dist/components/tree-view2.js +32 -15
- package/dist/components/tree-view2.js.map +1 -1
- package/dist/esm/ch-dropdown_2.entry.js +1 -1
- package/dist/esm/ch-dropdown_2.entry.js.map +1 -1
- package/dist/esm/ch-grid_8.entry.js +339 -321
- package/dist/esm/ch-grid_8.entry.js.map +1 -1
- package/dist/esm/ch-icon_5.entry.js +3 -1
- package/dist/esm/ch-icon_5.entry.js.map +1 -1
- package/dist/esm/ch-suggest_4.entry.js +1 -1
- package/dist/esm/ch-suggest_4.entry.js.map +1 -1
- package/dist/esm/ch-tree-view_5.entry.js +41 -20
- package/dist/esm/ch-tree-view_5.entry.js.map +1 -1
- package/dist/esm/{common-f2983db2.js → common-aaad5759.js} +31 -2
- package/dist/esm/common-aaad5759.js.map +1 -0
- package/dist/esm/genexus-ide-ui.js +1 -1
- package/dist/esm/gx-ide-add-module-servers.entry.js +94 -0
- package/dist/esm/gx-ide-add-module-servers.entry.js.map +1 -0
- package/dist/esm/{gx-ide-container_2.entry.js → gx-ide-container_3.entry.js} +47 -5
- package/dist/esm/gx-ide-container_3.entry.js.map +1 -0
- package/dist/esm/gx-ide-create-kb-from-server.entry.js +2 -2
- package/dist/esm/gx-ide-create-kb-from-server.entry.js.map +1 -1
- package/dist/esm/gx-ide-edit-module-servers.entry.js +94 -0
- package/dist/esm/gx-ide-edit-module-servers.entry.js.map +1 -0
- package/dist/esm/gx-ide-empty-state_2.entry.js.map +1 -1
- package/dist/esm/gx-ide-import-from-design.entry.js +1 -1
- package/dist/esm/gx-ide-manage-module-references.entry.js +228 -0
- package/dist/esm/gx-ide-manage-module-references.entry.js.map +1 -0
- package/dist/esm/gx-ide-new-environment.entry.js +1 -1
- package/dist/esm/gx-ide-new-kb.entry.js +1 -1
- package/dist/esm/gx-ide-share-kb.entry.js +1 -1
- package/dist/esm/gx-ide-status-buttons.entry.js +77 -0
- package/dist/esm/gx-ide-status-buttons.entry.js.map +1 -0
- package/dist/esm/gx-ide-ww-images.entry.js +1 -1
- package/dist/esm/gxg-buttons-container_2.entry.js +179 -0
- package/dist/esm/gxg-buttons-container_2.entry.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.css +5 -3
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js.map +1 -1
- package/dist/genexus-ide-ui/gx-ide-assets/add-module-servers/langs/add-module-servers.lang.en.json +11 -0
- package/dist/genexus-ide-ui/gx-ide-assets/add-module-servers/langs/add-module-servers.lang.ja.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/add-module-servers/langs/add-module-servers.lang.zh.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/edit-module-servers/langs/edit-module-servers.lang.en.json +11 -0
- package/dist/genexus-ide-ui/gx-ide-assets/edit-module-servers/langs/edit-module-servers.lang.ja.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/edit-module-servers/langs/edit-module-servers.lang.zh.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/manage-module-references/langs/manage-module-references.lang.en.json +29 -0
- package/dist/genexus-ide-ui/gx-ide-assets/manage-module-references/langs/manage-module-references.lang.ja.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/manage-module-references/langs/manage-module-references.lang.zh.json +3 -0
- package/dist/genexus-ide-ui/{p-2c1f414f.entry.js → p-0c0c3f1d.entry.js} +53 -53
- package/dist/genexus-ide-ui/{p-2c1f414f.entry.js.map → p-0c0c3f1d.entry.js.map} +1 -1
- package/dist/genexus-ide-ui/{p-b571e9c0.entry.js → p-0df39b62.entry.js} +5 -2
- package/dist/genexus-ide-ui/{p-b571e9c0.entry.js.map → p-0df39b62.entry.js.map} +1 -1
- package/dist/genexus-ide-ui/{p-419b2877.entry.js → p-1cb2d0df.entry.js} +80 -47
- package/dist/genexus-ide-ui/p-1cb2d0df.entry.js.map +1 -0
- package/dist/genexus-ide-ui/p-350f49ac.js +101 -0
- package/dist/genexus-ide-ui/p-350f49ac.js.map +1 -0
- package/dist/genexus-ide-ui/p-36544e00.entry.js +138 -0
- package/dist/genexus-ide-ui/p-36544e00.entry.js.map +1 -0
- package/dist/genexus-ide-ui/{p-ca7233a5.entry.js → p-39337325.entry.js} +81 -10
- package/dist/genexus-ide-ui/p-39337325.entry.js.map +1 -0
- package/dist/genexus-ide-ui/p-40121554.entry.js.map +1 -1
- package/dist/genexus-ide-ui/p-41ac8e60.entry.js +211 -0
- package/dist/genexus-ide-ui/p-41ac8e60.entry.js.map +1 -0
- package/dist/genexus-ide-ui/{p-001e085a.entry.js → p-51e86542.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-d14b5546.entry.js → p-6f5b13a7.entry.js} +4 -2
- package/dist/genexus-ide-ui/{p-d14b5546.entry.js.map → p-6f5b13a7.entry.js.map} +1 -1
- package/dist/genexus-ide-ui/{p-94015503.entry.js → p-786e5448.entry.js} +374 -380
- package/dist/genexus-ide-ui/p-786e5448.entry.js.map +1 -0
- package/dist/genexus-ide-ui/p-a46794f4.entry.js +138 -0
- package/dist/genexus-ide-ui/p-a46794f4.entry.js.map +1 -0
- package/dist/genexus-ide-ui/p-adaf7aff.entry.js +365 -0
- package/dist/genexus-ide-ui/p-adaf7aff.entry.js.map +1 -0
- package/dist/genexus-ide-ui/{p-afce38d4.entry.js → p-b2099890.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-513ec2ad.entry.js → p-b4e526d6.entry.js} +2 -2
- package/dist/genexus-ide-ui/p-b7d0697f.entry.js +138 -0
- package/dist/genexus-ide-ui/p-b7d0697f.entry.js.map +1 -0
- package/dist/genexus-ide-ui/{p-8e8bb528.entry.js → p-c14b6b77.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-8e8bb528.entry.js.map → p-c14b6b77.entry.js.map} +1 -1
- package/dist/genexus-ide-ui/{p-2c733995.entry.js → p-d5903356.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-05102700.entry.js → p-df72101e.entry.js} +2 -2
- package/dist/node_modules/@genexus/chameleon-controls-library/dist/collection/components/dropdown/dropdown.css +28 -28
- package/dist/node_modules/@genexus/chameleon-controls-library/dist/collection/components/tree-view/tree-view-item/tree-view-item.css +0 -2
- package/dist/node_modules/@genexus/gemini/dist/collection/components/buttons-container/buttons-container.css +11 -0
- package/dist/node_modules/@genexus/gemini/dist/collection/components/suggest/styles.css +1 -0
- package/dist/node_modules/@genexus/gemini/dist/collection/components/top-state-bar/gxg-top-state-bar.css +32 -41
- package/dist/node_modules/@genexus/gemini/dist/collection/components/tree-view/tree-view.css +37 -54
- package/dist/types/common/common.d.ts +2 -0
- package/dist/types/components/_helpers/container/container.d.ts +8 -0
- package/dist/types/components/modules/add-module-servers/add-module-servers.d.ts +60 -0
- package/dist/types/components/modules/edit-module-servers/edit-module-servers.d.ts +60 -0
- package/dist/types/components/modules/manage-module-references/manage-module-references.d.ts +98 -0
- package/dist/types/components/modules/types.d.ts +40 -0
- package/dist/types/components.d.ts +312 -52
- package/package.json +3 -3
- package/dist/cjs/common-103f62f6.js.map +0 -1
- package/dist/cjs/gx-ide-container_2.cjs.entry.js.map +0 -1
- package/dist/cjs/gx-ide-status-buttons_2.cjs.entry.js +0 -187
- package/dist/cjs/gx-ide-status-buttons_2.cjs.entry.js.map +0 -1
- package/dist/cjs/gxg-buttons-container.cjs.entry.js +0 -65
- package/dist/cjs/gxg-buttons-container.cjs.entry.js.map +0 -1
- package/dist/cjs/gxg-title.cjs.entry.js +0 -47
- package/dist/cjs/gxg-title.cjs.entry.js.map +0 -1
- package/dist/esm/common-f2983db2.js.map +0 -1
- package/dist/esm/gx-ide-container_2.entry.js.map +0 -1
- package/dist/esm/gx-ide-status-buttons_2.entry.js +0 -182
- package/dist/esm/gx-ide-status-buttons_2.entry.js.map +0 -1
- package/dist/esm/gxg-buttons-container.entry.js +0 -61
- package/dist/esm/gxg-buttons-container.entry.js.map +0 -1
- package/dist/esm/gxg-title.entry.js +0 -43
- package/dist/esm/gxg-title.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-419b2877.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-67406b36.entry.js +0 -71
- package/dist/genexus-ide-ui/p-67406b36.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-67ea84e8.js +0 -74
- package/dist/genexus-ide-ui/p-67ea84e8.js.map +0 -1
- package/dist/genexus-ide-ui/p-94015503.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-ca7233a5.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-cf5c3c10.entry.js +0 -270
- package/dist/genexus-ide-ui/p-cf5c3c10.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-d50b5b9a.entry.js +0 -67
- package/dist/genexus-ide-ui/p-d50b5b9a.entry.js.map +0 -1
- /package/dist/genexus-ide-ui/{p-001e085a.entry.js.map → p-51e86542.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-afce38d4.entry.js.map → p-b2099890.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-513ec2ad.entry.js.map → p-b4e526d6.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-2c733995.entry.js.map → p-d5903356.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-05102700.entry.js.map → p-df72101e.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["chSuggestCss","ARROW_DOWN","ARROW_UP","ChSuggest","constructor","hostRef","this","keyEventsDictionary","ArrowDown","e","newFocusedItem","getNewFocusedItem","currentFocusedItem","nextFocusedItem","focus","scrollListToBottom","ArrowUp","scrollListToTop","evaluateSlotIsEmpty","chWindow","hidden","el","firstElementChild","setFocusOnFirstItem","firstItem","querySelector","getChSuggestListItems","Array","from","querySelectorAll","direction","getListChild","list","listItems","listChild","length","parentListItems","nextElementSibling","previousElementSibling","nodeName","parent","parentElement","sibling","parentIsList","parentList","handleInput","inputValue","target","value","timeoutReference","clearTimeout","setTimeout","processInputEvent","debounce","handleKeyDown","key","preventDefault","evaluateWindowMaxHeight","viewportHeight","window","innerHeight","documentHeight","document","body","scrollHeight","height","inputBottomPosition","textInput","getBoundingClientRect","bottom","scrollY","windowMaxHeight","style","setProperty","partWindow","shadowRoot","scrollTop","valueChanged","emit","closeWindow","onFocusHandler","cursorEnd","setSelectionRange","windowHidden","label","undefined","labelPosition","showLabel","showHeader","suggestTitle","itemSelectedHandler","event","stopPropagation","detail","selectionChanged","focusChangeAttemptHandler","keyEventHandler","code","chSuggestListItemsArray","currentFocusedItemIndex","findIndex","item","newItemToSetFocusOn","windowClosedHandler","slot","innerHTML","selectInputText","select","render","h","Host","class","part","id","htmlFor","type","ref","onInput","onKeyDown","onFocus","autocomplete","toString","container","xAlign","yAlign","caption","exportparts","onSlotchange","delegatesFocus","chSuggestListCss","ChSuggestList","chSuggestListItemCss","ChSuggestListItem","getItemIndexes","chSuggest","itemIndex","suggestListItemsArray","index","listIndex","chSuggestList","chSuggestListsArray","listItemsArray","handleClick","indexes","itemSelected","innerText","description","icon","iconSrc","focusChangeAttempt","role","onClick","name","stylesCss","GxgSuggest","validationStatus","validationMessage","disabled","ellipsis","formClasses","commonClassesNames","formMessageLogic"],"sources":["node_modules/@genexus/chameleon-controls-library/dist/collection/components/suggest/ch-suggest.css?tag=ch-suggest&encapsulation=shadow","node_modules/@genexus/chameleon-controls-library/dist/collection/components/suggest/ch-suggest.js","node_modules/@genexus/chameleon-controls-library/dist/collection/components/suggest/suggest-list/ch-suggest-list.css?tag=ch-suggest-list&encapsulation=shadow","node_modules/@genexus/chameleon-controls-library/dist/collection/components/suggest/suggest-list/ch-suggest-list.js","node_modules/@genexus/chameleon-controls-library/dist/collection/components/suggest/suggest-list-item/ch-suggest-list-item.css?tag=ch-suggest-list-item&encapsulation=shadow","node_modules/@genexus/chameleon-controls-library/dist/collection/components/suggest/suggest-list-item/ch-suggest-list-item.js","node_modules/@genexus/gemini/dist/collection/components/suggest/styles.css?tag=gxg-suggest","node_modules/@genexus/gemini/dist/collection/components/suggest/suggest.js"],"sourcesContent":["*,\n::after,\n::before {\n box-sizing: border-box;\n}\n\n:host {\n --window-max-height: none;\n --window-gap: 50px;\n}\n\n.main-wrapper {\n display: block;\n}\n\n/*label*/\n.label-input-wrapper {\n display: flex;\n}\n.label-input-wrapper .input {\n flex: 1;\n}\n\n:host([label-position=start]) .label-input-wrapper {\n flex-direction: row;\n}\n\n:host([label-position=above]) .label-input-wrapper {\n flex-direction: column;\n}\n\n/*input*/\n.input {\n background-color: unset;\n border: none;\n color: inherit;\n font: inherit;\n margin: 0;\n padding: 0;\n outline: 0;\n}\n\n/*window*/\n.ch-window-container {\n position: relative;\n}\n\nch-window::part(window) {\n width: 100%;\n max-height: calc(var(--window-max-height) - var(--window-gap));\n overflow-y: auto;\n}","/* STENCIL IMPORTS */\nimport { Host, h } from \"@stencil/core\";\nconst ARROW_DOWN = \"ArrowDown\";\nconst ARROW_UP = \"ArrowUp\";\nexport class ChSuggest {\n constructor() {\n this.windowHidden = true;\n this.debounce = 300;\n this.label = undefined;\n this.labelPosition = \"start\";\n this.showLabel = true;\n this.value = undefined;\n this.showHeader = false;\n this.suggestTitle = undefined;\n this.cursorEnd = false;\n }\n /*\n INDEX:\n 1.OWN PROPERTIES\n 2.REFERENCE TO ELEMENTS\n 3.STATE() VARIABLES\n 4.PUBLIC PROPERTY API / WATCH'S\n 5.EVENTS (EMIT)\n 6.COMPONENT LIFECYCLE EVENTS\n 7.LISTENERS\n 8.PUBLIC METHODS API\n 9.LOCAL METHODS\n 10.RENDER() FUNCTION\n */\n // 1.OWN PROPERTIES //\n timeoutReference;\n keyEventsDictionary = {\n ArrowDown: (e) => {\n const newFocusedItem = this.getNewFocusedItem(e.currentFocusedItem, ARROW_DOWN);\n const nextFocusedItem = this.getNewFocusedItem(newFocusedItem, ARROW_DOWN);\n newFocusedItem && newFocusedItem.focus();\n if (!nextFocusedItem) {\n /* This is the last item. Adjust window scroll to be at the very bottom*/\n this.scrollListToBottom();\n }\n },\n ArrowUp: (e) => {\n const newFocusedItem = this.getNewFocusedItem(e.currentFocusedItem, ARROW_UP);\n const nextFocusedItem = this.getNewFocusedItem(newFocusedItem, ARROW_UP);\n newFocusedItem && newFocusedItem.focus();\n if (!nextFocusedItem) {\n /* This is the first item. Adjust window scroll to be at the very top*/\n this.scrollListToTop();\n }\n }\n };\n // 2. REFERENCE TO ELEMENTS //\n textInput;\n chWindow;\n slot;\n el;\n // 5.EVENTS (EMIT) //\n /**\n * This event is emitted every time there input events fires, and it emits the actual input value.\n */\n valueChanged;\n /**\n * This event is emitted when an item was selected.\n */\n selectionChanged;\n // 6.COMPONENT LIFECYCLE EVENTS //\n // 7.LISTENERS //\n itemSelectedHandler(event) {\n event.stopPropagation();\n this.value = event.detail.value;\n this.closeWindow();\n this.selectionChanged.emit(event.detail);\n }\n focusChangeAttemptHandler(event) {\n const keyEventHandler = this.keyEventsDictionary[event.detail.code];\n if (keyEventHandler) {\n const currentFocusedItem = event.detail.el;\n const chSuggestListItemsArray = this.getChSuggestListItems();\n const currentFocusedItemIndex = chSuggestListItemsArray.findIndex(item => {\n return item === currentFocusedItem;\n });\n const newItemToSetFocusOn = null;\n keyEventHandler({\n event: event.detail,\n currentFocusedItem: currentFocusedItem,\n chSuggestListItemsArray: chSuggestListItemsArray,\n currentFocusedItemIndex: currentFocusedItemIndex,\n newItemToSetFocusOn: newItemToSetFocusOn\n });\n }\n }\n windowClosedHandler() {\n this.textInput.focus();\n this.windowHidden = true;\n this.slot.innerHTML = \"\";\n }\n // 9.PUBLIC METHODS API //\n /**\n * @description It selects/highlights the input text.\n */\n async selectInputText() {\n this.textInput.focus();\n this.textInput.select();\n }\n // 10.LOCAL METHODS //\n evaluateSlotIsEmpty = () => {\n this.chWindow.hidden = !this.el.firstElementChild;\n };\n setFocusOnFirstItem = () => {\n const firstItem = this.el.querySelector(\"ch-suggest-list-item\");\n firstItem && firstItem.focus();\n };\n getChSuggestListItems = () => Array.from(this.el.querySelectorAll(\"ch-suggest-list-item\"));\n getNewFocusedItem = (currentFocusedItem, direction) => {\n /* Helper function that returns the list item that should get focus (the first one, or the last one)*/\n const getListChild = (list) => {\n const listItems = list.querySelectorAll(\"ch-suggest-list-item\");\n let listChild = listItems && listItems[listItems.length - 1];\n if (direction === ARROW_DOWN) {\n listChild = list.querySelector(\"ch-suggest-list-item\");\n }\n else {\n const parentListItems = list.querySelectorAll(\"ch-suggest-list-item\");\n listChild =\n parentListItems && parentListItems[parentListItems.length - 1];\n }\n return listChild;\n };\n if (!currentFocusedItem) {\n return;\n }\n let newFocusedItem = direction === ARROW_DOWN\n ? currentFocusedItem.nextElementSibling\n : currentFocusedItem.previousElementSibling;\n if (newFocusedItem?.nodeName === \"CH-SUGGEST-LIST\") {\n newFocusedItem = getListChild(newFocusedItem);\n }\n else if (!newFocusedItem) {\n /* this could be the last item of a list, but not the last item*/\n const parent = currentFocusedItem.parentElement;\n const sibling = direction === ARROW_DOWN\n ? parent.nextElementSibling\n : parent.previousElementSibling;\n const parentIsList = parent.nodeName === \"CH-SUGGEST-LIST\";\n if (parentIsList &&\n sibling &&\n sibling.nodeName === \"CH-SUGGEST-LIST-ITEM\") {\n newFocusedItem =\n direction === ARROW_DOWN\n ? parent.nextElementSibling\n : parent.previousElementSibling;\n }\n else if (parentIsList &&\n sibling &&\n sibling.nodeName === \"CH-SUGGEST-LIST\") {\n const parentList = direction === ARROW_DOWN\n ? parent.nextElementSibling\n : parent.previousElementSibling;\n let listChild;\n if (direction === ARROW_DOWN) {\n listChild = parentList.querySelector(\"ch-suggest-list-item\");\n }\n else {\n listChild = getListChild(parentList);\n }\n newFocusedItem = listChild ? listChild : null;\n }\n }\n return newFocusedItem;\n };\n /**\n * Every time the input event is triggered, the value of the input is sent to processInputEvent, which is responsible for displaying a window with the suggested options. this.debounce is a delay that, along with clearTimeout, ensures that the window is only shown after the user has stopped typing.\n */\n handleInput = (e) => {\n const inputValue = e.target.value;\n this.value = inputValue;\n if (this.timeoutReference) {\n clearTimeout(this.timeoutReference);\n }\n this.timeoutReference = setTimeout(() => {\n this.processInputEvent(inputValue);\n }, this.debounce);\n };\n handleKeyDown = (e) => {\n if (e.key === ARROW_DOWN) {\n e.preventDefault();\n this.setFocusOnFirstItem();\n }\n };\n evaluateWindowMaxHeight = () => {\n const viewportHeight = window.innerHeight;\n const documentHeight = document.body.scrollHeight;\n const height = documentHeight >= viewportHeight ? documentHeight : viewportHeight;\n const inputBottomPosition = this.textInput.getBoundingClientRect().bottom + window.scrollY;\n const windowMaxHeight = height - inputBottomPosition + \"px\";\n this.el.style.setProperty(\"--window-max-height\", windowMaxHeight);\n };\n scrollListToTop = () => {\n const partWindow = this.chWindow.shadowRoot.querySelector(\"[part='window']\");\n partWindow.scrollTop = 0;\n };\n scrollListToBottom = () => {\n const partWindow = this.chWindow.shadowRoot.querySelector(\"[part='window']\");\n partWindow.scrollTop = partWindow.scrollHeight;\n };\n processInputEvent = (inputValue) => {\n this.valueChanged.emit(inputValue);\n this.evaluateWindowMaxHeight();\n };\n closeWindow = () => {\n this.chWindow.hidden = true;\n };\n onFocusHandler = () => {\n if (this.cursorEnd) {\n this.textInput.setSelectionRange(this.textInput.value.length, this.textInput.value.length);\n }\n };\n // 10.RENDER() FUNCTION //\n render() {\n return (h(Host, null, h(\"div\", { class: \"main-wrapper\", part: \"main-wrapper\" }, h(\"div\", { class: \"label-input-wrapper\", part: \"label-input-wrapper\" }, this.showLabel && this.label && (h(\"label\", { id: \"label\", htmlFor: \"input\", part: \"label\" }, this.label)), h(\"input\", { type: \"text\", id: \"input\", part: \"input\", class: \"input\", ref: el => (this.textInput = el), onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.onFocusHandler, value: this.value, autocomplete: \"off\", \"aria-controls\": \"ch-window\", \"aria-label\": !this.showLabel && this.label ? this.label : undefined, \"aria-labelledby\": this.showLabel && this.label ? \"label\" : undefined, \"aria-expanded\": this.windowHidden.toString() })), h(\"ch-window\", { id: \"ch-window\", container: this.textInput, \"close-on-outside-click\": true, \"close-on-escape\": true, xAlign: \"inside-start\", yAlign: \"outside-end\", ref: el => (this.chWindow = el), showHeader: this.showHeader, caption: this.suggestTitle, exportparts: \"\\n header:header, \\n caption:title, \\n close:close-button,\\n window:dropdown\" }, h(\"slot\", { onSlotchange: this.evaluateSlotIsEmpty, ref: el => (this.slot = el) })))));\n }\n static get is() { return \"ch-suggest\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ch-suggest.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ch-suggest.css\"]\n };\n }\n static get properties() {\n return {\n \"debounce\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The debounce amount in milliseconds (This is the time the suggest waits after the user has finished typing, to show the suggestions).\"\n },\n \"attribute\": \"debounce\",\n \"reflect\": false,\n \"defaultValue\": \"300\"\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The label\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"labelPosition\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"LabelPosition\",\n \"resolved\": \"\\\"above\\\" | \\\"start\\\"\",\n \"references\": {\n \"LabelPosition\": {\n \"location\": \"import\",\n \"path\": \"../../common/types\",\n \"id\": \"src/common/types.ts::LabelPosition\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The label position\"\n },\n \"attribute\": \"label-position\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"start\\\"\"\n },\n \"showLabel\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Whether or not to display the label\"\n },\n \"attribute\": \"show-label\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This is the suggest value.\"\n },\n \"attribute\": \"value\",\n \"reflect\": false\n },\n \"showHeader\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"false\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Wether or not the suggest has a header. The header will show the \\\"suggestTitle\\\" if provided, and a close button.\"\n },\n \"attribute\": \"show-header\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"suggestTitle\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The suggest title (optional). This is not the same as the \\\"label\\\", rather, this is the title that will appear inside the dropdown. This title will only be visible if \\\"showHeader\\\" is set to true.\"\n },\n \"attribute\": \"suggest-title\",\n \"reflect\": false\n },\n \"cursorEnd\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"false\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If true, it will position the cursor at the end when the input is focused.\"\n },\n \"attribute\": \"cursor-end\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"windowHidden\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"valueChanged\",\n \"name\": \"valueChanged\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This event is emitted every time there input events fires, and it emits the actual input value.\"\n },\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n }\n }, {\n \"method\": \"selectionChanged\",\n \"name\": \"selectionChanged\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This event is emitted when an item was selected.\"\n },\n \"complexType\": {\n \"original\": \"SuggestItemSelectedEvent\",\n \"resolved\": \"{ value: any; indexes: SuggestItemIndexes; description?: string; icon?: string; }\",\n \"references\": {\n \"SuggestItemSelectedEvent\": {\n \"location\": \"import\",\n \"path\": \"./suggest-list-item/ch-suggest-list-item\",\n \"id\": \"src/components/suggest/suggest-list-item/ch-suggest-list-item.tsx::SuggestItemSelectedEvent\"\n }\n }\n }\n }];\n }\n static get methods() {\n return {\n \"selectInputText\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"description\",\n \"text\": \"It selects/highlights the input text.\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"itemSelected\",\n \"method\": \"itemSelectedHandler\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }, {\n \"name\": \"focusChangeAttempt\",\n \"method\": \"focusChangeAttemptHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"windowClosed\",\n \"method\": \"windowClosedHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ch-suggest.js.map\n","*,\n::after,\n::before {\n box-sizing: border-box;\n}\n\n:host {\n display: block;\n}\n\n.title {\n margin: 0;\n font: inherit;\n}\n\n.list {\n margin: 0;\n padding: 0;\n}","import { Host, h } from \"@stencil/core\";\nexport class ChSuggestList {\n constructor() {\n this.label = undefined;\n }\n // 2.REFERENCE TO ELEMENTS //\n // 3.STATE() VARIABLES //\n // 4.PUBLIC PROPERTY API / WATCH'S //\n // 5.EVENTS (EMIT) //\n // 6.COMPONENT LIFECYCLE EVENTS //\n // 7.LISTENERS //\n // 8.PUBLIC METHODS API //\n // 9.LOCAL METHODS //\n // 10.RENDER() FUNCTION //\n render() {\n return (h(Host, null, this.label && (h(\"h2\", { id: \"heading\", part: \"title\", class: \"title\" }, this.label)), h(\"ul\", { \"aria-labelledby\": this.label ? \"heading\" : undefined, part: \"list\", class: \"list\" }, h(\"slot\", null))));\n }\n static get is() { return \"ch-suggest-list\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ch-suggest-list.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ch-suggest-list.css\"]\n };\n }\n static get properties() {\n return {\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The label\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n }\n };\n }\n}\n//# sourceMappingURL=ch-suggest-list.js.map\n",":host {\n display: block;\n}\n\n:where(button) {\n all: unset;\n display: flex;\n width: 100%;\n cursor: pointer;\n}\n\n*,\n::after,\n::before {\n box-sizing: border-box;\n}","/* STENCIL IMPORTS */\nimport { Host, h } from \"@stencil/core\";\nconst ARROW_DOWN = \"ArrowDown\";\nconst ARROW_UP = \"ArrowUp\";\nexport class ChSuggestListItem {\n constructor() {\n this.iconSrc = undefined;\n this.value = undefined;\n }\n // 2.REFERENCE TO ELEMENTS //\n el;\n // 3.STATE() VARIABLES //\n // 4.PUBLIC PROPERTY API / WATCH'S //\n // 5.EVENTS (EMIT) //\n /**\n * This event is emitted every time the item is selected, either by clicking on it, or by pressing Enter.\n */\n itemSelected;\n /**\n * This event is emitted every time the item is about to lose focus, by pressing the \"ArrowUp\" or \"ArrowDown\" keyboard keys.\n */\n focusChangeAttempt;\n // 6.COMPONENT LIFECYCLE EVENTS //\n // 7.LISTENERS //\n // 8.PUBLIC METHODS API //\n // 9.LOCAL METHODS //\n getItemIndexes = () => {\n const parentElement = this.el.parentElement;\n if (parentElement.nodeName === \"CH-SUGGEST\") {\n const chSuggest = parentElement;\n let itemIndex = -1;\n const suggestListItemsArray = Array.from(chSuggest.querySelectorAll(\":scope > ch-suggest-list-item\"));\n for (let index = 0; index < suggestListItemsArray.length; index++) {\n // Then get the item index\n if (suggestListItemsArray[index] === this.el) {\n itemIndex = index;\n break;\n }\n }\n return {\n itemIndex: itemIndex,\n listIndex: undefined // the items does not belongs to a list\n };\n }\n if (parentElement.nodeName === \"CH-SUGGEST-LIST\") {\n const chSuggestList = parentElement;\n const chSuggestListsArray = Array.from(chSuggestList.parentElement.querySelectorAll(\":scope > ch-suggest-list\"));\n const listIndex = chSuggestListsArray.findIndex(list => {\n return list === chSuggestList;\n });\n if (listIndex !== -1) {\n const listItemsArray = Array.from(chSuggestList.querySelectorAll(\"ch-suggest-list-item\"));\n const itemIndex = listItemsArray.findIndex(item => {\n return item === this.el;\n });\n return {\n itemIndex: itemIndex,\n listIndex: listIndex\n };\n }\n }\n };\n handleClick = () => {\n const indexes = this.getItemIndexes();\n this.itemSelected.emit({\n value: this.value || this.el.innerText,\n description: this.el.innerText,\n icon: this.iconSrc,\n indexes: indexes\n });\n };\n handleKeyDown = (e) => {\n if (e.code === ARROW_UP || e.code === ARROW_DOWN) {\n e.preventDefault();\n this.focusChangeAttempt.emit({\n el: this.el,\n code: e.code\n });\n }\n };\n // 10.RENDER() FUNCTION //\n render() {\n return (h(Host, { role: \"listitem\", onKeyDown: this.handleKeyDown }, h(\"button\", { part: \"button\", onClick: this.handleClick }, h(\"slot\", { name: \"icon\" }), h(\"div\", { class: \"content-wrapper\", part: \"content-wrapper\" }, h(\"slot\", null)))));\n }\n static get is() { return \"ch-suggest-list-item\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ch-suggest-list-item.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ch-suggest-list-item.css\"]\n };\n }\n static get properties() {\n return {\n \"iconSrc\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The icon url\"\n },\n \"attribute\": \"icon-src\",\n \"reflect\": false\n },\n \"value\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The item value\"\n },\n \"attribute\": \"value\",\n \"reflect\": false\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"itemSelected\",\n \"name\": \"itemSelected\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This event is emitted every time the item is selected, either by clicking on it, or by pressing Enter.\"\n },\n \"complexType\": {\n \"original\": \"SuggestItemSelectedEvent\",\n \"resolved\": \"{ value: any; indexes: SuggestItemIndexes; description?: string; icon?: string; }\",\n \"references\": {\n \"SuggestItemSelectedEvent\": {\n \"location\": \"local\",\n \"path\": \"/home/runner/work/chameleon-controls-library/chameleon-controls-library/src/components/suggest/suggest-list-item/ch-suggest-list-item.tsx\",\n \"id\": \"src/components/suggest/suggest-list-item/ch-suggest-list-item.tsx::SuggestItemSelectedEvent\"\n }\n }\n }\n }, {\n \"method\": \"focusChangeAttempt\",\n \"name\": \"focusChangeAttempt\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This event is emitted every time the item is about to lose focus, by pressing the \\\"ArrowUp\\\" or \\\"ArrowDown\\\" keyboard keys.\"\n },\n \"complexType\": {\n \"original\": \"FocusChangeAttempt\",\n \"resolved\": \"{ el: HTMLChSuggestListItemElement; code: ChSuggestKeyDownEvents; }\",\n \"references\": {\n \"FocusChangeAttempt\": {\n \"location\": \"local\",\n \"path\": \"/home/runner/work/chameleon-controls-library/chameleon-controls-library/src/components/suggest/suggest-list-item/ch-suggest-list-item.tsx\",\n \"id\": \"src/components/suggest/suggest-list-item/ch-suggest-list-item.tsx::FocusChangeAttempt\"\n }\n }\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n}\n//# sourceMappingURL=ch-suggest-list-item.js.map\n","@charset \"UTF-8\";\n:root {\n --ui-animaton-speed: 0.2s;\n}\n\n/*ALIGNMENT*/\n/*Ellipsis*/\n/*****************************************************\nTYPOGRAPHY\n*****************************************************/\n/*Title 01 (Positive)*/\n.gxg-title-01 {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-01-font-weight);\n font-size: var(--ds-title-01-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--comfortable);\n color: var(--ds-base-font-color);\n text-align: start;\n line-height: var(--ds-base-font-line-height--comfortable);\n}\n\n/*Title 01 (Negative)*/\n.gxg-title-01--negative {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-01-font-weight);\n font-size: var(--ds-title-01-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--comfortable);\n color: var(--ds-base-font-color);\n text-align: start;\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--negative);\n}\n\n/*Title 02 (Positive)*/\n.gxg-title-02 {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-02-font-weight);\n font-size: var(--ds-title-02-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--regular);\n color: var(--ds-base-font-color);\n text-align: start;\n text-transform: uppercase;\n line-height: var(--ds-base-font-line-height--comfortable);\n}\n\n.gxg-title-02--negative {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-02-font-weight);\n font-size: var(--ds-title-02-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--regular);\n color: var(--ds-base-font-color);\n text-align: start;\n text-transform: uppercase;\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--color-on-primary);\n}\n\n/*Title 03*/\n.gxg-title-03 {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-03-font-weight);\n font-size: var(--ds-title-03-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--regular);\n color: var(--ds-base-font-color);\n text-align: start;\n text-transform: uppercase;\n line-height: var(--ds-base-font-line-height--comfortable);\n}\n\n.gxg-title-03--negative {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-03-font-weight);\n font-size: var(--ds-title-03-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--regular);\n color: var(--ds-base-font-color);\n text-align: start;\n text-transform: uppercase;\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--negative);\n}\n\n/*Title 04*/\n.gxg-title-04 {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-04-font-weight);\n font-size: var(--ds-title-04-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--comfortable);\n color: var(--ds-base-font-color);\n text-align: start;\n line-height: var(--ds-base-font-line-height--comfortable);\n}\n\n.gxg-title-04--negative {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-04-font-weight);\n font-size: var(--ds-title-04-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--comfortable);\n color: var(--ds-base-font-color);\n text-align: start;\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--negative);\n}\n\n/*Title 05*/\n.gxg-title-05 {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-05-font-weight);\n font-size: var(--ds-title-05-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--regular);\n color: var(--ds-base-font-color);\n text-align: start;\n line-height: var(--ds-base-font-line-height--comfortable);\n}\n\n.gxg-title-05--negative {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-05-font-weight);\n font-size: var(--ds-title-05-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--regular);\n color: var(--ds-base-font-color);\n text-align: start;\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--negative);\n}\n\n/*Text*/\n.gxg-text {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n}\n\n.gxg-text--negative {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--negative);\n}\n\n.gxg-text--gray {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--dimmed);\n}\n\n/*Quote*/\n.gxg-quote {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n font-style: italic;\n}\n\n.gxg-quote--negative {\n color: var(--ds-base-font-color--negative);\n}\n\n/*Link*/\n.gxg-link {\n line-height: unset;\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--link);\n text-decoration: underline;\n cursor: pointer;\n display: inline-block;\n}\n.gxg-link:hover {\n color: var(--ds-base-font-color--link-hover);\n}\n.gxg-link:active {\n color: var(--ds-base-font-color--link-active);\n}\n\n.gxg-link-gray {\n line-height: unset;\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--link);\n text-decoration: underline;\n cursor: pointer;\n display: inline-block;\n color: var(--ds-base-font-color--dimmed);\n}\n.gxg-link-gray:hover {\n line-height: unset;\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--link);\n text-decoration: underline;\n cursor: pointer;\n display: inline-block;\n color: var(--ds-base-font-color--dimmed);\n filter: brightness(1.4);\n}\n\n/*Alerts*/\n.gxg-alert-error {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--error);\n display: inline-block;\n}\n\n.gxg-alert-warning {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--warning);\n display: inline-block;\n}\n\n.gxg-alert-success {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--success);\n display: inline-block;\n}\n\n/*Tab*/\n.gxg-tab--disabled {\n color: var(--color-primary-disabled);\n pointer-events: none;\n}\n.gxg-tab--disabled[disabled] {\n color: var(--color-primary-disabled);\n pointer-events: none;\n}\n\n/*Label*/\n.gxg-label {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--gxg-label-font-weight);\n font-size: var(--gxg-label-font-size);\n color: var(--gxg-label-color);\n text-align: center;\n line-height: 1.455em;\n display: flex;\n align-items: center;\n}\n.gxg-label:hover {\n color: var(--color-primary-hover);\n}\n.gxg-label:focus {\n color: var(--color-primary-active);\n}\n.gxg-label:active {\n color: var(--color-primary-active);\n}\n.gxg-label[disabled] {\n color: var(--color-primary-disabled);\n}\n\n.gxg-label--negative {\n color: var(--color-on-primary);\n}\n.gxg-label--negative[disabled] {\n color: var(--color-on-disabled);\n}\n\n/*****************************************************\nGXG-BUTTON and GXG-BUTTON-GROUP COMMON STYLES\n*****************************************************/\n/*****************************************************\nFORM ELEMENTS\n*****************************************************/\n.gxg-scrollbar {\n /* Track */\n /* Handle */\n /* Handle on hover */\n}\n.gxg-scrollbar::-webkit-scrollbar {\n width: var(--gxg-scrollbar-width);\n height: var(--gxg-scrollbar-width);\n}\n.gxg-scrollbar::-webkit-scrollbar-track {\n background-color: var(--gxg-scrollbar-track-background);\n border-radius: var(--gxg-scrollbar-track-border-radius);\n}\n.gxg-scrollbar::-webkit-scrollbar-thumb {\n background-color: var(--gxg-scrollbar-track-thumb-background);\n border-radius: var(--gxg-scrollbar-track-thumb-radius);\n}\n.gxg-scrollbar::-webkit-scrollbar-thumb:hover {\n background-color: var(--gxg-scrollbar-track-thumb-hover-background);\n}\n.gxg-scrollbar::-webkit-scrollbar-corner {\n background: rgba(0, 0, 0, 0);\n}\n\n/*Warning*/\n:host(.gxg-validation--warning) .form-element {\n border-color: var(--ds-border-color--warning);\n}\n:host(.gxg-validation--warning) .form-element:focus {\n outline-color: var(--ds-border-color--warning);\n border-color: var(--ds-border-color--warning);\n}\n:host(.gxg-validation--warning) .form-element:focus + .checkmark {\n --checkmark-border-color: var(--ds-border-color--warning);\n}\n\n/*Error*/\n:host(.gxg-validation--error) .form-element {\n border-color: var(--ds-border-color--error);\n}\n:host(.gxg-validation--error) .form-element:focus {\n outline-color: var(--ds-border-color--error);\n border-color: var(--ds-border-color--error);\n}\n:host(.gxg-validation--error) .form-element:focus + .checkmark {\n --checkmark-border-color: var(--ds-border-color--error);\n}\n\n/*Success*/\n:host(.gxg-validation--success) .form-element {\n border-color: var(--ds-border-color--success);\n}\n:host(.gxg-validation--success) .form-element:focus {\n outline-color: var(--ds-border-color--success);\n border-color: var(--ds-border-color--success);\n}\n:host(.gxg-validation--success) .form-element:focus + .checkmark {\n --checkmark-border-color: var(--ds-border-color--success);\n}\n\n/*Tooltip*/\n.tooltip-outer-wrapper {\n display: grid;\n grid-template-columns: 0fr;\n transition: grid-template-columns var(--timing-02);\n}\n\n:host(.tooltip--visible) .tooltip-outer-wrapper {\n grid-template-columns: 1fr;\n}\n\n.tooltip-inner-wrapper {\n --margin-inline-start: 6px;\n overflow: hidden;\n transition: 150ms width;\n width: 0;\n}\n.tooltip-inner-wrapper gxg-icon {\n display: flex;\n position: relative !important;\n top: 0 !important;\n transform: none !important;\n margin-inline-start: var(--margin-inline-start);\n box-sizing: border-box;\n}\n.tooltip-inner-wrapper--visible {\n width: calc(var(--ds-icon-size-box--small) + var(--margin-inline-start));\n}\n.tooltip-inner-wrapper--hidden {\n display: none;\n}\n\nch-suggest {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-color);\n /* Track */\n /* Handle */\n /* Handle on hover */\n /* Label */\n /*Input*/\n /*header*/\n /*window*/\n}\nch-suggest::-webkit-scrollbar {\n width: var(--gxg-scrollbar-width);\n height: var(--gxg-scrollbar-width);\n}\nch-suggest::-webkit-scrollbar-track {\n background-color: var(--gxg-scrollbar-track-background);\n border-radius: var(--gxg-scrollbar-track-border-radius);\n}\nch-suggest::-webkit-scrollbar-thumb {\n background-color: var(--gxg-scrollbar-track-thumb-background);\n border-radius: var(--gxg-scrollbar-track-thumb-radius);\n}\nch-suggest::-webkit-scrollbar-thumb:hover {\n background-color: var(--gxg-scrollbar-track-thumb-hover-background);\n}\nch-suggest::-webkit-scrollbar-corner {\n background: rgba(0, 0, 0, 0);\n}\nch-suggest::part(label) {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n display: flex;\n align-items: center;\n cursor: default;\n font-size: inherit;\n flex-shrink: 0;\n}\nch-suggest[label-position=start]::part(label) {\n margin-inline-end: var(--gxg-label-separation-horizontal);\n}\nch-suggest[label-position=above]::part(label) {\n margin-block-end: var(--gxg-label-separation-vertical);\n}\nch-suggest::part(input) {\n height: var(--gxg-suggest-input__height);\n border: var(--ds-form-control-border);\n border-radius: var(--ds-form-control-border-radius);\n padding: var(--gxg-suggest-input__padding);\n box-sizing: border-box;\n background-color: var(--gxg-suggest-input__background-color);\n width: 100%;\n flex: auto;\n}\nch-suggest::part(input):focus {\n outline: var(--ds-focus-border-width) solid var(--ds-border-color-control--focused);\n outline-offset: -1px;\n outline-offset: 0;\n outline-offset: -1px;\n}\nch-suggest::part(header) {\n display: block;\n padding-block-end: var(--gxg-suggest-header__padding-block-end);\n display: flex;\n justify-content: flex-end;\n}\nch-suggest::part(close-button) {\n height: var(--spacing-comp-05);\n width: var(--spacing-comp-05);\n background-color: var(--color-background);\n color: var(--color-primary-hover);\n border: 1px solid var(--color-primary-hover);\n box-sizing: border-box;\n cursor: pointer;\n display: block;\n}\nch-suggest::part(close-button):hover {\n background-color: var(--color-primary-hover-opacity-01);\n}\nch-suggest::part(close-button)::after {\n content: \"✖\";\n width: 100%;\n display: block;\n line-height: var(--gxg-suggest-close-button__line-height--after);\n text-align: center;\n}\nch-suggest::part(close-button):focus {\n outline: var(--ds-focus-border-width) solid var(--ds-border-color-control--focused);\n outline-offset: -1px;\n outline-offset: 0;\n}\nch-suggest::part(dropdown) {\n /*mixin shadow*/\n background-color: var(--gxg-suggest-drop-down__background-color);\n margin-top: var(--gxg-suggest-drop-down__margin-top);\n padding: var(--gxg-suggest-drop-down__padding);\n box-shadow: var(--gxg-suggest-drop-down__box-shadow);\n border: var(--gxg-suggest-general__border);\n position: relative;\n top: 2px;\n /* Track */\n /* Handle */\n /* Handle on hover */\n}\nch-suggest::part(dropdown)::-webkit-scrollbar {\n width: var(--gxg-scrollbar-width);\n height: var(--gxg-scrollbar-width);\n}\nch-suggest::part(dropdown)::-webkit-scrollbar-track {\n background-color: var(--gxg-scrollbar-track-background);\n border-radius: var(--gxg-scrollbar-track-border-radius);\n}\nch-suggest::part(dropdown)::-webkit-scrollbar-thumb {\n background-color: var(--gxg-scrollbar-track-thumb-background);\n border-radius: var(--gxg-scrollbar-track-thumb-radius);\n}\nch-suggest::part(dropdown)::-webkit-scrollbar-thumb:hover {\n background-color: var(--gxg-scrollbar-track-thumb-hover-background);\n}\nch-suggest::part(dropdown)::-webkit-scrollbar-corner {\n background: rgba(0, 0, 0, 0);\n}\n\n/*Validation*/\n.messages-wrapper {\n margin-top: var(--spacing-comp-02);\n display: flex;\n gap: var(--spacing-comp-01);\n flex-direction: column;\n}\n\ngxg-suggest.gxg-validation--success ch-suggest::part(input) {\n outline-color: var(--ds-border-color--success);\n border-color: var(--ds-border-color--success);\n}\ngxg-suggest.gxg-validation--success ch-suggest::part(input) + .checkmark {\n --checkmark-border-color: var(--ds-border-color--success);\n}\n\ngxg-suggest.gxg-validation--warning ch-suggest::part(input) {\n outline-color: var(--ds-border-color--warning);\n border-color: var(--ds-border-color--warning);\n}\ngxg-suggest.gxg-validation--warning ch-suggest::part(input) + .checkmark {\n --checkmark-border-color: var(--ds-border-color--warning);\n}\n\ngxg-suggest.gxg-validation--error ch-suggest::part(input) {\n outline-color: var(--ds-border-color--error);\n border-color: var(--ds-border-color--error);\n}\ngxg-suggest.gxg-validation--error ch-suggest::part(input) + .checkmark {\n --checkmark-border-color: var(--ds-border-color--error);\n}\n\n/*Disabled*/\ngxg-suggest.gxg--disabled ch-suggest {\n pointer-events: none;\n}\ngxg-suggest.gxg--disabled ch-suggest::part(input) {\n background-color: var(--gray-01);\n color: var(--color-on-disabled);\n}\n\ngxg-suggest[ellipsis]:not([ellipsis=false]) ch-suggest-list-item::part(content-wrapper) {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 100%;\n}\n\nch-suggest-list {\n font-family: inherit;\n border: var(--gxg-suggest-list__border);\n border-radius: var(--gxg-suggest-list__border-radius);\n padding: var(--gxg-suggest-list__padding);\n}\nch-suggest-list > ch-suggest-list-item:not(:first-child) {\n border-top: var(--gxg-suggest-general__border);\n}\nch-suggest-list:first-child {\n margin-block-start: 0;\n}\nch-suggest-list:last-child {\n margin-block-end: 0;\n}\nch-suggest-list::part(title) {\n text-transform: capitalize;\n font-weight: var(--gxg-suggest-list-title__font-weight);\n margin: var(--gxg-suggest-list-title__margin);\n padding: var(--gxg-suggest-list-title__padding);\n color: var(--gxg-suggest-list-title__color);\n background-color: var(--gxg-suggest-list-title__background-color);\n border-bottom: var(--gxg-suggest-general__border);\n border-bottom-width: 2px;\n}\nch-suggest-list:first-child {\n margin-block-start: 0;\n}\nch-suggest-list::part(list) {\n padding: var(--gxg-suggest-list-part-list__padding);\n}\n\nch-suggest-list + ch-suggest-list {\n margin-block-start: 0;\n border-block-start: 0;\n}\nch-suggest-list + ch-suggest-list::part(title) {\n margin-block-start: 0;\n}\n\nch-suggest-list + ch-suggest-list-item {\n margin-block-start: var(--gxg-suggest-list-item-next-sibling__margin-block-start);\n}\n\nch-suggest-list-item {\n font-size: inherit;\n border-radius: var(--gxg-suggest-list-item__border-radius);\n /*button*/\n}\nch-suggest-list-item::part(button) {\n padding: var(--gxg-suggest-list-item-button__padding);\n align-items: center;\n gap: var(--gxg-suggest-list-item-button__gap);\n box-sizing: border-box;\n line-height: var(--gxg-suggest-list-item__line-height);\n box-sizing: border-box;\n overflow: hidden;\n}\nch-suggest-list-item::part(button):hover {\n color: var(--gxg-suggest-list-item-button__color--hover);\n}\nch-suggest-list-item::part(button):focus {\n outline: var(--ds-focus-border-width) solid var(--ds-border-color-control--focused);\n outline-offset: -1px;\n outline-offset: 0;\n}\nch-suggest-list-item::part(description)::before {\n content: \" - \";\n}\nch-suggest-list-item gxg-icon::part(ch-icon) {\n --icon-size: var(--gxg-suggest-list-item-icon__size);\n margin-right: var(--gxg-suggest-list-item-icon__margin-right);\n}\nch-suggest-list-item:hover {\n background-color: var(--gxg-suggest-list-item-button__background-color);\n}\n\nch-suggest-list-item + ch-suggest-list {\n margin-block-start: var(--spacing-comp-02);\n}","import { Host, h } from \"@stencil/core\";\nimport { formMessageLogic } from \"../../common/form\";\nimport { formClasses } from \"../../common/classesNames\";\nimport { commonClassesNames } from \"../../common/classesNames\";\nexport class GxgSuggest {\n constructor() {\n this.validationStatus = \"indeterminate\";\n this.validationMessage = undefined;\n this.disabled = false;\n this.ellipsis = true;\n }\n render() {\n return (h(Host, { class: {\n [formClasses[\"VALIDATION_INDETERMINATE_CLASS\"]]: this.validationStatus === \"indeterminate\",\n [formClasses[\"VALIDATION_WARNING_CLASS\"]]: this.validationStatus === \"warning\",\n [formClasses[\"VALIDATION_ERROR_CLASS\"]]: this.validationStatus === \"error\",\n [formClasses[\"VALIDATION_SUCCESS_CLASS\"]]: this.validationStatus === \"success\",\n [commonClassesNames[\"DISABLED_CLASS\"]]: this.disabled\n } }, h(\"slot\", null), formMessageLogic(this)));\n }\n static get is() { return \"gxg-suggest\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"styles.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n static get properties() {\n return {\n \"validationStatus\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"ValidationStatus\",\n \"resolved\": \"\\\"error\\\" | \\\"indeterminate\\\" | \\\"success\\\" | \\\"warning\\\"\",\n \"references\": {\n \"ValidationStatus\": {\n \"location\": \"import\",\n \"path\": \"../../common/types\",\n \"id\": \"src/common/types.ts::ValidationStatus\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The validation status\"\n },\n \"attribute\": \"validation-status\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"indeterminate\\\"\"\n },\n \"validationMessage\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The message to display for the validation result.\"\n },\n \"attribute\": \"validation-message\",\n \"reflect\": false\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The presence of this attribute makes the suggest disabled.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"ellipsis\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The presence of this attribute forces the suggest list items to not wrap to a second line, and it will display ellipsis. (...)\"\n },\n \"attribute\": \"ellipsis\",\n \"reflect\": true,\n \"defaultValue\": \"true\"\n }\n };\n }\n}\n//# sourceMappingURL=suggest.js.map\n"],"mappings":";;;;;;AAAA,MAAMA,IAAe;;ACErB,MAAMC,IAAa;;AACnB,MAAMC,IAAW;;MACJC,IAAS;EAClB,WAAAC,CAAAC;IA0BAC,KAAAC,sBAAsB;MAClBC,WAAYC;QACR,MAAMC,IAAiBJ,KAAKK,kBAAkBF,EAAEG,oBAAoBX;QACpE,MAAMY,IAAkBP,KAAKK,kBAAkBD,GAAgBT;QAC/DS,KAAkBA,EAAeI;QACjC,KAAKD,GAAiB;;UAElBP,KAAKS;;;MAGbC,SAAUP;QACN,MAAMC,IAAiBJ,KAAKK,kBAAkBF,EAAEG,oBAAoBV;QACpE,MAAMW,IAAkBP,KAAKK,kBAAkBD,GAAgBR;QAC/DQ,KAAkBA,EAAeI;QACjC,KAAKD,GAAiB;;UAElBP,KAAKW;;;;;QA0DjBX,KAAAY,sBAAsB;MAClBZ,KAAKa,SAASC,UAAUd,KAAKe,GAAGC;AAAiB;IAErDhB,KAAAiB,sBAAsB;MAClB,MAAMC,IAAYlB,KAAKe,GAAGI,cAAc;MACxCD,KAAaA,EAAUV;AAAO;IAElCR,KAAAoB,wBAAwB,MAAMC,MAAMC,KAAKtB,KAAKe,GAAGQ,iBAAiB;IAClEvB,KAAAK,oBAAoB,CAACC,GAAoBkB;;MAErC,MAAMC,eAAgBC;QAClB,MAAMC,IAAYD,EAAKH,iBAAiB;QACxC,IAAIK,IAAYD,KAAaA,EAAUA,EAAUE,SAAS;QAC1D,IAAIL,MAAc7B,GAAY;UAC1BiC,IAAYF,EAAKP,cAAc;eAE9B;UACD,MAAMW,IAAkBJ,EAAKH,iBAAiB;UAC9CK,IACIE,KAAmBA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3J"}
|
|
1
|
+
{"version":3,"names":["chSuggestCss","ARROW_DOWN","ARROW_UP","ChSuggest","constructor","hostRef","this","keyEventsDictionary","ArrowDown","e","newFocusedItem","getNewFocusedItem","currentFocusedItem","nextFocusedItem","focus","scrollListToBottom","ArrowUp","scrollListToTop","evaluateSlotIsEmpty","chWindow","hidden","el","firstElementChild","setFocusOnFirstItem","firstItem","querySelector","getChSuggestListItems","Array","from","querySelectorAll","direction","getListChild","list","listItems","listChild","length","parentListItems","nextElementSibling","previousElementSibling","nodeName","parent","parentElement","sibling","parentIsList","parentList","handleInput","inputValue","target","value","timeoutReference","clearTimeout","setTimeout","processInputEvent","debounce","handleKeyDown","key","preventDefault","evaluateWindowMaxHeight","viewportHeight","window","innerHeight","documentHeight","document","body","scrollHeight","height","inputBottomPosition","textInput","getBoundingClientRect","bottom","scrollY","windowMaxHeight","style","setProperty","partWindow","shadowRoot","scrollTop","valueChanged","emit","closeWindow","onFocusHandler","cursorEnd","setSelectionRange","windowHidden","label","undefined","labelPosition","showLabel","showHeader","suggestTitle","itemSelectedHandler","event","stopPropagation","detail","selectionChanged","focusChangeAttemptHandler","keyEventHandler","code","chSuggestListItemsArray","currentFocusedItemIndex","findIndex","item","newItemToSetFocusOn","windowClosedHandler","slot","innerHTML","selectInputText","select","render","h","Host","class","part","id","htmlFor","type","ref","onInput","onKeyDown","onFocus","autocomplete","toString","container","xAlign","yAlign","caption","exportparts","onSlotchange","delegatesFocus","chSuggestListCss","ChSuggestList","chSuggestListItemCss","ChSuggestListItem","getItemIndexes","chSuggest","itemIndex","suggestListItemsArray","index","listIndex","chSuggestList","chSuggestListsArray","listItemsArray","handleClick","indexes","itemSelected","innerText","description","icon","iconSrc","focusChangeAttempt","role","onClick","name","stylesCss","GxgSuggest","validationStatus","validationMessage","disabled","ellipsis","formClasses","commonClassesNames","formMessageLogic"],"sources":["node_modules/@genexus/chameleon-controls-library/dist/collection/components/suggest/ch-suggest.css?tag=ch-suggest&encapsulation=shadow","node_modules/@genexus/chameleon-controls-library/dist/collection/components/suggest/ch-suggest.js","node_modules/@genexus/chameleon-controls-library/dist/collection/components/suggest/suggest-list/ch-suggest-list.css?tag=ch-suggest-list&encapsulation=shadow","node_modules/@genexus/chameleon-controls-library/dist/collection/components/suggest/suggest-list/ch-suggest-list.js","node_modules/@genexus/chameleon-controls-library/dist/collection/components/suggest/suggest-list-item/ch-suggest-list-item.css?tag=ch-suggest-list-item&encapsulation=shadow","node_modules/@genexus/chameleon-controls-library/dist/collection/components/suggest/suggest-list-item/ch-suggest-list-item.js","node_modules/@genexus/gemini/dist/collection/components/suggest/styles.css?tag=gxg-suggest","node_modules/@genexus/gemini/dist/collection/components/suggest/suggest.js"],"sourcesContent":["*,\n::after,\n::before {\n box-sizing: border-box;\n}\n\n:host {\n --window-max-height: none;\n --window-gap: 50px;\n}\n\n.main-wrapper {\n display: block;\n}\n\n/*label*/\n.label-input-wrapper {\n display: flex;\n}\n.label-input-wrapper .input {\n flex: 1;\n}\n\n:host([label-position=start]) .label-input-wrapper {\n flex-direction: row;\n}\n\n:host([label-position=above]) .label-input-wrapper {\n flex-direction: column;\n}\n\n/*input*/\n.input {\n background-color: unset;\n border: none;\n color: inherit;\n font: inherit;\n margin: 0;\n padding: 0;\n outline: 0;\n}\n\n/*window*/\n.ch-window-container {\n position: relative;\n}\n\nch-window::part(window) {\n width: 100%;\n max-height: calc(var(--window-max-height) - var(--window-gap));\n overflow-y: auto;\n}","/* STENCIL IMPORTS */\nimport { Host, h } from \"@stencil/core\";\nconst ARROW_DOWN = \"ArrowDown\";\nconst ARROW_UP = \"ArrowUp\";\nexport class ChSuggest {\n constructor() {\n this.windowHidden = true;\n this.debounce = 300;\n this.label = undefined;\n this.labelPosition = \"start\";\n this.showLabel = true;\n this.value = undefined;\n this.showHeader = false;\n this.suggestTitle = undefined;\n this.cursorEnd = false;\n }\n /*\n INDEX:\n 1.OWN PROPERTIES\n 2.REFERENCE TO ELEMENTS\n 3.STATE() VARIABLES\n 4.PUBLIC PROPERTY API / WATCH'S\n 5.EVENTS (EMIT)\n 6.COMPONENT LIFECYCLE EVENTS\n 7.LISTENERS\n 8.PUBLIC METHODS API\n 9.LOCAL METHODS\n 10.RENDER() FUNCTION\n */\n // 1.OWN PROPERTIES //\n timeoutReference;\n keyEventsDictionary = {\n ArrowDown: (e) => {\n const newFocusedItem = this.getNewFocusedItem(e.currentFocusedItem, ARROW_DOWN);\n const nextFocusedItem = this.getNewFocusedItem(newFocusedItem, ARROW_DOWN);\n newFocusedItem && newFocusedItem.focus();\n if (!nextFocusedItem) {\n /* This is the last item. Adjust window scroll to be at the very bottom*/\n this.scrollListToBottom();\n }\n },\n ArrowUp: (e) => {\n const newFocusedItem = this.getNewFocusedItem(e.currentFocusedItem, ARROW_UP);\n const nextFocusedItem = this.getNewFocusedItem(newFocusedItem, ARROW_UP);\n newFocusedItem && newFocusedItem.focus();\n if (!nextFocusedItem) {\n /* This is the first item. Adjust window scroll to be at the very top*/\n this.scrollListToTop();\n }\n }\n };\n // 2. REFERENCE TO ELEMENTS //\n textInput;\n chWindow;\n slot;\n el;\n // 5.EVENTS (EMIT) //\n /**\n * This event is emitted every time there input events fires, and it emits the actual input value.\n */\n valueChanged;\n /**\n * This event is emitted when an item was selected.\n */\n selectionChanged;\n // 6.COMPONENT LIFECYCLE EVENTS //\n // 7.LISTENERS //\n itemSelectedHandler(event) {\n event.stopPropagation();\n this.value = event.detail.value;\n this.closeWindow();\n this.selectionChanged.emit(event.detail);\n }\n focusChangeAttemptHandler(event) {\n const keyEventHandler = this.keyEventsDictionary[event.detail.code];\n if (keyEventHandler) {\n const currentFocusedItem = event.detail.el;\n const chSuggestListItemsArray = this.getChSuggestListItems();\n const currentFocusedItemIndex = chSuggestListItemsArray.findIndex(item => {\n return item === currentFocusedItem;\n });\n const newItemToSetFocusOn = null;\n keyEventHandler({\n event: event.detail,\n currentFocusedItem: currentFocusedItem,\n chSuggestListItemsArray: chSuggestListItemsArray,\n currentFocusedItemIndex: currentFocusedItemIndex,\n newItemToSetFocusOn: newItemToSetFocusOn\n });\n }\n }\n windowClosedHandler() {\n this.textInput.focus();\n this.windowHidden = true;\n this.slot.innerHTML = \"\";\n }\n // 9.PUBLIC METHODS API //\n /**\n * @description It selects/highlights the input text.\n */\n async selectInputText() {\n this.textInput.focus();\n this.textInput.select();\n }\n // 10.LOCAL METHODS //\n evaluateSlotIsEmpty = () => {\n this.chWindow.hidden = !this.el.firstElementChild;\n };\n setFocusOnFirstItem = () => {\n const firstItem = this.el.querySelector(\"ch-suggest-list-item\");\n firstItem && firstItem.focus();\n };\n getChSuggestListItems = () => Array.from(this.el.querySelectorAll(\"ch-suggest-list-item\"));\n getNewFocusedItem = (currentFocusedItem, direction) => {\n /* Helper function that returns the list item that should get focus (the first one, or the last one)*/\n const getListChild = (list) => {\n const listItems = list.querySelectorAll(\"ch-suggest-list-item\");\n let listChild = listItems && listItems[listItems.length - 1];\n if (direction === ARROW_DOWN) {\n listChild = list.querySelector(\"ch-suggest-list-item\");\n }\n else {\n const parentListItems = list.querySelectorAll(\"ch-suggest-list-item\");\n listChild =\n parentListItems && parentListItems[parentListItems.length - 1];\n }\n return listChild;\n };\n if (!currentFocusedItem) {\n return;\n }\n let newFocusedItem = direction === ARROW_DOWN\n ? currentFocusedItem.nextElementSibling\n : currentFocusedItem.previousElementSibling;\n if (newFocusedItem?.nodeName === \"CH-SUGGEST-LIST\") {\n newFocusedItem = getListChild(newFocusedItem);\n }\n else if (!newFocusedItem) {\n /* this could be the last item of a list, but not the last item*/\n const parent = currentFocusedItem.parentElement;\n const sibling = direction === ARROW_DOWN\n ? parent.nextElementSibling\n : parent.previousElementSibling;\n const parentIsList = parent.nodeName === \"CH-SUGGEST-LIST\";\n if (parentIsList &&\n sibling &&\n sibling.nodeName === \"CH-SUGGEST-LIST-ITEM\") {\n newFocusedItem =\n direction === ARROW_DOWN\n ? parent.nextElementSibling\n : parent.previousElementSibling;\n }\n else if (parentIsList &&\n sibling &&\n sibling.nodeName === \"CH-SUGGEST-LIST\") {\n const parentList = direction === ARROW_DOWN\n ? parent.nextElementSibling\n : parent.previousElementSibling;\n let listChild;\n if (direction === ARROW_DOWN) {\n listChild = parentList.querySelector(\"ch-suggest-list-item\");\n }\n else {\n listChild = getListChild(parentList);\n }\n newFocusedItem = listChild ? listChild : null;\n }\n }\n return newFocusedItem;\n };\n /**\n * Every time the input event is triggered, the value of the input is sent to processInputEvent, which is responsible for displaying a window with the suggested options. this.debounce is a delay that, along with clearTimeout, ensures that the window is only shown after the user has stopped typing.\n */\n handleInput = (e) => {\n const inputValue = e.target.value;\n this.value = inputValue;\n if (this.timeoutReference) {\n clearTimeout(this.timeoutReference);\n }\n this.timeoutReference = setTimeout(() => {\n this.processInputEvent(inputValue);\n }, this.debounce);\n };\n handleKeyDown = (e) => {\n if (e.key === ARROW_DOWN) {\n e.preventDefault();\n this.setFocusOnFirstItem();\n }\n };\n evaluateWindowMaxHeight = () => {\n const viewportHeight = window.innerHeight;\n const documentHeight = document.body.scrollHeight;\n const height = documentHeight >= viewportHeight ? documentHeight : viewportHeight;\n const inputBottomPosition = this.textInput.getBoundingClientRect().bottom + window.scrollY;\n const windowMaxHeight = height - inputBottomPosition + \"px\";\n this.el.style.setProperty(\"--window-max-height\", windowMaxHeight);\n };\n scrollListToTop = () => {\n const partWindow = this.chWindow.shadowRoot.querySelector(\"[part='window']\");\n partWindow.scrollTop = 0;\n };\n scrollListToBottom = () => {\n const partWindow = this.chWindow.shadowRoot.querySelector(\"[part='window']\");\n partWindow.scrollTop = partWindow.scrollHeight;\n };\n processInputEvent = (inputValue) => {\n this.valueChanged.emit(inputValue);\n this.evaluateWindowMaxHeight();\n };\n closeWindow = () => {\n this.chWindow.hidden = true;\n };\n onFocusHandler = () => {\n if (this.cursorEnd) {\n this.textInput.setSelectionRange(this.textInput.value.length, this.textInput.value.length);\n }\n };\n // 10.RENDER() FUNCTION //\n render() {\n return (h(Host, null, h(\"div\", { class: \"main-wrapper\", part: \"main-wrapper\" }, h(\"div\", { class: \"label-input-wrapper\", part: \"label-input-wrapper\" }, this.showLabel && this.label && (h(\"label\", { id: \"label\", htmlFor: \"input\", part: \"label\" }, this.label)), h(\"input\", { type: \"text\", id: \"input\", part: \"input\", class: \"input\", ref: el => (this.textInput = el), onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.onFocusHandler, value: this.value, autocomplete: \"off\", \"aria-controls\": \"ch-window\", \"aria-label\": !this.showLabel && this.label ? this.label : undefined, \"aria-labelledby\": this.showLabel && this.label ? \"label\" : undefined, \"aria-expanded\": this.windowHidden.toString() })), h(\"ch-window\", { id: \"ch-window\", container: this.textInput, \"close-on-outside-click\": true, \"close-on-escape\": true, xAlign: \"inside-start\", yAlign: \"outside-end\", ref: el => (this.chWindow = el), showHeader: this.showHeader, caption: this.suggestTitle, exportparts: \"\\n header:header, \\n caption:title, \\n close:close-button,\\n window:dropdown\" }, h(\"slot\", { onSlotchange: this.evaluateSlotIsEmpty, ref: el => (this.slot = el) })))));\n }\n static get is() { return \"ch-suggest\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ch-suggest.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ch-suggest.css\"]\n };\n }\n static get properties() {\n return {\n \"debounce\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The debounce amount in milliseconds (This is the time the suggest waits after the user has finished typing, to show the suggestions).\"\n },\n \"attribute\": \"debounce\",\n \"reflect\": false,\n \"defaultValue\": \"300\"\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The label\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"labelPosition\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"LabelPosition\",\n \"resolved\": \"\\\"above\\\" | \\\"start\\\"\",\n \"references\": {\n \"LabelPosition\": {\n \"location\": \"import\",\n \"path\": \"../../common/types\",\n \"id\": \"src/common/types.ts::LabelPosition\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The label position\"\n },\n \"attribute\": \"label-position\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"start\\\"\"\n },\n \"showLabel\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Whether or not to display the label\"\n },\n \"attribute\": \"show-label\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This is the suggest value.\"\n },\n \"attribute\": \"value\",\n \"reflect\": false\n },\n \"showHeader\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"false\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Wether or not the suggest has a header. The header will show the \\\"suggestTitle\\\" if provided, and a close button.\"\n },\n \"attribute\": \"show-header\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"suggestTitle\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The suggest title (optional). This is not the same as the \\\"label\\\", rather, this is the title that will appear inside the dropdown. This title will only be visible if \\\"showHeader\\\" is set to true.\"\n },\n \"attribute\": \"suggest-title\",\n \"reflect\": false\n },\n \"cursorEnd\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"false\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If true, it will position the cursor at the end when the input is focused.\"\n },\n \"attribute\": \"cursor-end\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"windowHidden\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"valueChanged\",\n \"name\": \"valueChanged\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This event is emitted every time there input events fires, and it emits the actual input value.\"\n },\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n }\n }, {\n \"method\": \"selectionChanged\",\n \"name\": \"selectionChanged\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This event is emitted when an item was selected.\"\n },\n \"complexType\": {\n \"original\": \"SuggestItemSelectedEvent\",\n \"resolved\": \"{ value: any; indexes: SuggestItemIndexes; description?: string; icon?: string; }\",\n \"references\": {\n \"SuggestItemSelectedEvent\": {\n \"location\": \"import\",\n \"path\": \"./suggest-list-item/ch-suggest-list-item\",\n \"id\": \"src/components/suggest/suggest-list-item/ch-suggest-list-item.tsx::SuggestItemSelectedEvent\"\n }\n }\n }\n }];\n }\n static get methods() {\n return {\n \"selectInputText\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"description\",\n \"text\": \"It selects/highlights the input text.\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"itemSelected\",\n \"method\": \"itemSelectedHandler\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }, {\n \"name\": \"focusChangeAttempt\",\n \"method\": \"focusChangeAttemptHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"windowClosed\",\n \"method\": \"windowClosedHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ch-suggest.js.map\n","*,\n::after,\n::before {\n box-sizing: border-box;\n}\n\n:host {\n display: block;\n}\n\n.title {\n margin: 0;\n font: inherit;\n}\n\n.list {\n margin: 0;\n padding: 0;\n}","import { Host, h } from \"@stencil/core\";\nexport class ChSuggestList {\n constructor() {\n this.label = undefined;\n }\n // 2.REFERENCE TO ELEMENTS //\n // 3.STATE() VARIABLES //\n // 4.PUBLIC PROPERTY API / WATCH'S //\n // 5.EVENTS (EMIT) //\n // 6.COMPONENT LIFECYCLE EVENTS //\n // 7.LISTENERS //\n // 8.PUBLIC METHODS API //\n // 9.LOCAL METHODS //\n // 10.RENDER() FUNCTION //\n render() {\n return (h(Host, null, this.label && (h(\"h2\", { id: \"heading\", part: \"title\", class: \"title\" }, this.label)), h(\"ul\", { \"aria-labelledby\": this.label ? \"heading\" : undefined, part: \"list\", class: \"list\" }, h(\"slot\", null))));\n }\n static get is() { return \"ch-suggest-list\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ch-suggest-list.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ch-suggest-list.css\"]\n };\n }\n static get properties() {\n return {\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The label\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n }\n };\n }\n}\n//# sourceMappingURL=ch-suggest-list.js.map\n",":host {\n display: block;\n}\n\n:where(button) {\n all: unset;\n display: flex;\n width: 100%;\n cursor: pointer;\n}\n\n*,\n::after,\n::before {\n box-sizing: border-box;\n}","/* STENCIL IMPORTS */\nimport { Host, h } from \"@stencil/core\";\nconst ARROW_DOWN = \"ArrowDown\";\nconst ARROW_UP = \"ArrowUp\";\nexport class ChSuggestListItem {\n constructor() {\n this.iconSrc = undefined;\n this.value = undefined;\n }\n // 2.REFERENCE TO ELEMENTS //\n el;\n // 3.STATE() VARIABLES //\n // 4.PUBLIC PROPERTY API / WATCH'S //\n // 5.EVENTS (EMIT) //\n /**\n * This event is emitted every time the item is selected, either by clicking on it, or by pressing Enter.\n */\n itemSelected;\n /**\n * This event is emitted every time the item is about to lose focus, by pressing the \"ArrowUp\" or \"ArrowDown\" keyboard keys.\n */\n focusChangeAttempt;\n // 6.COMPONENT LIFECYCLE EVENTS //\n // 7.LISTENERS //\n // 8.PUBLIC METHODS API //\n // 9.LOCAL METHODS //\n getItemIndexes = () => {\n const parentElement = this.el.parentElement;\n if (parentElement.nodeName === \"CH-SUGGEST\") {\n const chSuggest = parentElement;\n let itemIndex = -1;\n const suggestListItemsArray = Array.from(chSuggest.querySelectorAll(\":scope > ch-suggest-list-item\"));\n for (let index = 0; index < suggestListItemsArray.length; index++) {\n // Then get the item index\n if (suggestListItemsArray[index] === this.el) {\n itemIndex = index;\n break;\n }\n }\n return {\n itemIndex: itemIndex,\n listIndex: undefined // the items does not belongs to a list\n };\n }\n if (parentElement.nodeName === \"CH-SUGGEST-LIST\") {\n const chSuggestList = parentElement;\n const chSuggestListsArray = Array.from(chSuggestList.parentElement.querySelectorAll(\":scope > ch-suggest-list\"));\n const listIndex = chSuggestListsArray.findIndex(list => {\n return list === chSuggestList;\n });\n if (listIndex !== -1) {\n const listItemsArray = Array.from(chSuggestList.querySelectorAll(\"ch-suggest-list-item\"));\n const itemIndex = listItemsArray.findIndex(item => {\n return item === this.el;\n });\n return {\n itemIndex: itemIndex,\n listIndex: listIndex\n };\n }\n }\n };\n handleClick = () => {\n const indexes = this.getItemIndexes();\n this.itemSelected.emit({\n value: this.value || this.el.innerText,\n description: this.el.innerText,\n icon: this.iconSrc,\n indexes: indexes\n });\n };\n handleKeyDown = (e) => {\n if (e.code === ARROW_UP || e.code === ARROW_DOWN) {\n e.preventDefault();\n this.focusChangeAttempt.emit({\n el: this.el,\n code: e.code\n });\n }\n };\n // 10.RENDER() FUNCTION //\n render() {\n return (h(Host, { role: \"listitem\", onKeyDown: this.handleKeyDown }, h(\"button\", { part: \"button\", onClick: this.handleClick }, h(\"slot\", { name: \"icon\" }), h(\"div\", { class: \"content-wrapper\", part: \"content-wrapper\" }, h(\"slot\", null)))));\n }\n static get is() { return \"ch-suggest-list-item\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ch-suggest-list-item.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ch-suggest-list-item.css\"]\n };\n }\n static get properties() {\n return {\n \"iconSrc\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The icon url\"\n },\n \"attribute\": \"icon-src\",\n \"reflect\": false\n },\n \"value\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The item value\"\n },\n \"attribute\": \"value\",\n \"reflect\": false\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"itemSelected\",\n \"name\": \"itemSelected\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This event is emitted every time the item is selected, either by clicking on it, or by pressing Enter.\"\n },\n \"complexType\": {\n \"original\": \"SuggestItemSelectedEvent\",\n \"resolved\": \"{ value: any; indexes: SuggestItemIndexes; description?: string; icon?: string; }\",\n \"references\": {\n \"SuggestItemSelectedEvent\": {\n \"location\": \"local\",\n \"path\": \"/home/runner/work/chameleon-controls-library/chameleon-controls-library/src/components/suggest/suggest-list-item/ch-suggest-list-item.tsx\",\n \"id\": \"src/components/suggest/suggest-list-item/ch-suggest-list-item.tsx::SuggestItemSelectedEvent\"\n }\n }\n }\n }, {\n \"method\": \"focusChangeAttempt\",\n \"name\": \"focusChangeAttempt\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This event is emitted every time the item is about to lose focus, by pressing the \\\"ArrowUp\\\" or \\\"ArrowDown\\\" keyboard keys.\"\n },\n \"complexType\": {\n \"original\": \"FocusChangeAttempt\",\n \"resolved\": \"{ el: HTMLChSuggestListItemElement; code: ChSuggestKeyDownEvents; }\",\n \"references\": {\n \"FocusChangeAttempt\": {\n \"location\": \"local\",\n \"path\": \"/home/runner/work/chameleon-controls-library/chameleon-controls-library/src/components/suggest/suggest-list-item/ch-suggest-list-item.tsx\",\n \"id\": \"src/components/suggest/suggest-list-item/ch-suggest-list-item.tsx::FocusChangeAttempt\"\n }\n }\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n}\n//# sourceMappingURL=ch-suggest-list-item.js.map\n","@charset \"UTF-8\";\n:root {\n --ui-animaton-speed: 0.2s;\n}\n\n/*ALIGNMENT*/\n/*Ellipsis*/\n/*****************************************************\nTYPOGRAPHY\n*****************************************************/\n/*Title 01 (Positive)*/\n.gxg-title-01 {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-01-font-weight);\n font-size: var(--ds-title-01-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--comfortable);\n color: var(--ds-base-font-color);\n text-align: start;\n line-height: var(--ds-base-font-line-height--comfortable);\n}\n\n/*Title 01 (Negative)*/\n.gxg-title-01--negative {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-01-font-weight);\n font-size: var(--ds-title-01-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--comfortable);\n color: var(--ds-base-font-color);\n text-align: start;\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--negative);\n}\n\n/*Title 02 (Positive)*/\n.gxg-title-02 {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-02-font-weight);\n font-size: var(--ds-title-02-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--regular);\n color: var(--ds-base-font-color);\n text-align: start;\n text-transform: uppercase;\n line-height: var(--ds-base-font-line-height--comfortable);\n}\n\n.gxg-title-02--negative {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-02-font-weight);\n font-size: var(--ds-title-02-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--regular);\n color: var(--ds-base-font-color);\n text-align: start;\n text-transform: uppercase;\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--color-on-primary);\n}\n\n/*Title 03*/\n.gxg-title-03 {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-03-font-weight);\n font-size: var(--ds-title-03-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--regular);\n color: var(--ds-base-font-color);\n text-align: start;\n text-transform: uppercase;\n line-height: var(--ds-base-font-line-height--comfortable);\n}\n\n.gxg-title-03--negative {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-03-font-weight);\n font-size: var(--ds-title-03-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--regular);\n color: var(--ds-base-font-color);\n text-align: start;\n text-transform: uppercase;\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--negative);\n}\n\n/*Title 04*/\n.gxg-title-04 {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-04-font-weight);\n font-size: var(--ds-title-04-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--comfortable);\n color: var(--ds-base-font-color);\n text-align: start;\n line-height: var(--ds-base-font-line-height--comfortable);\n}\n\n.gxg-title-04--negative {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-04-font-weight);\n font-size: var(--ds-title-04-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--comfortable);\n color: var(--ds-base-font-color);\n text-align: start;\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--negative);\n}\n\n/*Title 05*/\n.gxg-title-05 {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-05-font-weight);\n font-size: var(--ds-title-05-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--regular);\n color: var(--ds-base-font-color);\n text-align: start;\n line-height: var(--ds-base-font-line-height--comfortable);\n}\n\n.gxg-title-05--negative {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--ds-title-05-font-weight);\n font-size: var(--ds-title-05-font-size);\n letter-spacing: var(--ds-base-font-letter-spacing--regular);\n color: var(--ds-base-font-color);\n text-align: start;\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--negative);\n}\n\n/*Text*/\n.gxg-text {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n}\n\n.gxg-text--negative {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--negative);\n}\n\n.gxg-text--gray {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--dimmed);\n}\n\n/*Quote*/\n.gxg-quote {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n font-style: italic;\n}\n\n.gxg-quote--negative {\n color: var(--ds-base-font-color--negative);\n}\n\n/*Link*/\n.gxg-link {\n line-height: unset;\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--link);\n text-decoration: underline;\n cursor: pointer;\n display: inline-block;\n}\n.gxg-link:hover {\n color: var(--ds-base-font-color--link-hover);\n}\n.gxg-link:active {\n color: var(--ds-base-font-color--link-active);\n}\n\n.gxg-link-gray {\n line-height: unset;\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--link);\n text-decoration: underline;\n cursor: pointer;\n display: inline-block;\n color: var(--ds-base-font-color--dimmed);\n}\n.gxg-link-gray:hover {\n line-height: unset;\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--link);\n text-decoration: underline;\n cursor: pointer;\n display: inline-block;\n color: var(--ds-base-font-color--dimmed);\n filter: brightness(1.4);\n}\n\n/*Alerts*/\n.gxg-alert-error {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--error);\n display: inline-block;\n}\n\n.gxg-alert-warning {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--warning);\n display: inline-block;\n}\n\n.gxg-alert-success {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n color: var(--ds-base-font-color--success);\n display: inline-block;\n}\n\n/*Tab*/\n.gxg-tab--disabled {\n color: var(--color-primary-disabled);\n pointer-events: none;\n}\n.gxg-tab--disabled[disabled] {\n color: var(--color-primary-disabled);\n pointer-events: none;\n}\n\n/*Label*/\n.gxg-label {\n font-family: var(--ds-base-font-family-primary);\n font-weight: var(--gxg-label-font-weight);\n font-size: var(--gxg-label-font-size);\n color: var(--gxg-label-color);\n text-align: center;\n line-height: 1.455em;\n display: flex;\n align-items: center;\n}\n.gxg-label:hover {\n color: var(--color-primary-hover);\n}\n.gxg-label:focus {\n color: var(--color-primary-active);\n}\n.gxg-label:active {\n color: var(--color-primary-active);\n}\n.gxg-label[disabled] {\n color: var(--color-primary-disabled);\n}\n\n.gxg-label--negative {\n color: var(--color-on-primary);\n}\n.gxg-label--negative[disabled] {\n color: var(--color-on-disabled);\n}\n\n/*****************************************************\nGXG-BUTTON and GXG-BUTTON-GROUP COMMON STYLES\n*****************************************************/\n/*****************************************************\nFORM ELEMENTS\n*****************************************************/\n.gxg-scrollbar {\n /* Track */\n /* Handle */\n /* Handle on hover */\n}\n.gxg-scrollbar::-webkit-scrollbar {\n width: var(--gxg-scrollbar-width);\n height: var(--gxg-scrollbar-width);\n}\n.gxg-scrollbar::-webkit-scrollbar-track {\n background-color: var(--gxg-scrollbar-track-background);\n border-radius: var(--gxg-scrollbar-track-border-radius);\n}\n.gxg-scrollbar::-webkit-scrollbar-thumb {\n background-color: var(--gxg-scrollbar-track-thumb-background);\n border-radius: var(--gxg-scrollbar-track-thumb-radius);\n}\n.gxg-scrollbar::-webkit-scrollbar-thumb:hover {\n background-color: var(--gxg-scrollbar-track-thumb-hover-background);\n}\n.gxg-scrollbar::-webkit-scrollbar-corner {\n background: rgba(0, 0, 0, 0);\n}\n\n/*Warning*/\n:host(.gxg-validation--warning) .form-element {\n border-color: var(--ds-border-color--warning);\n}\n:host(.gxg-validation--warning) .form-element:focus {\n outline-color: var(--ds-border-color--warning);\n border-color: var(--ds-border-color--warning);\n}\n:host(.gxg-validation--warning) .form-element:focus + .checkmark {\n --checkmark-border-color: var(--ds-border-color--warning);\n}\n\n/*Error*/\n:host(.gxg-validation--error) .form-element {\n border-color: var(--ds-border-color--error);\n}\n:host(.gxg-validation--error) .form-element:focus {\n outline-color: var(--ds-border-color--error);\n border-color: var(--ds-border-color--error);\n}\n:host(.gxg-validation--error) .form-element:focus + .checkmark {\n --checkmark-border-color: var(--ds-border-color--error);\n}\n\n/*Success*/\n:host(.gxg-validation--success) .form-element {\n border-color: var(--ds-border-color--success);\n}\n:host(.gxg-validation--success) .form-element:focus {\n outline-color: var(--ds-border-color--success);\n border-color: var(--ds-border-color--success);\n}\n:host(.gxg-validation--success) .form-element:focus + .checkmark {\n --checkmark-border-color: var(--ds-border-color--success);\n}\n\n/*Tooltip*/\n.tooltip-outer-wrapper {\n display: grid;\n grid-template-columns: 0fr;\n transition: grid-template-columns var(--timing-02);\n}\n\n:host(.tooltip--visible) .tooltip-outer-wrapper {\n grid-template-columns: 1fr;\n}\n\n.tooltip-inner-wrapper {\n --margin-inline-start: 6px;\n overflow: hidden;\n transition: 150ms width;\n width: 0;\n}\n.tooltip-inner-wrapper gxg-icon {\n display: flex;\n position: relative !important;\n top: 0 !important;\n transform: none !important;\n margin-inline-start: var(--margin-inline-start);\n box-sizing: border-box;\n}\n.tooltip-inner-wrapper--visible {\n width: calc(var(--ds-icon-size-box--small) + var(--margin-inline-start));\n}\n.tooltip-inner-wrapper--hidden {\n display: none;\n}\n\nch-suggest {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-color);\n /* Track */\n /* Handle */\n /* Handle on hover */\n /* Label */\n /*Input*/\n /*header*/\n /*window*/\n}\nch-suggest::-webkit-scrollbar {\n width: var(--gxg-scrollbar-width);\n height: var(--gxg-scrollbar-width);\n}\nch-suggest::-webkit-scrollbar-track {\n background-color: var(--gxg-scrollbar-track-background);\n border-radius: var(--gxg-scrollbar-track-border-radius);\n}\nch-suggest::-webkit-scrollbar-thumb {\n background-color: var(--gxg-scrollbar-track-thumb-background);\n border-radius: var(--gxg-scrollbar-track-thumb-radius);\n}\nch-suggest::-webkit-scrollbar-thumb:hover {\n background-color: var(--gxg-scrollbar-track-thumb-hover-background);\n}\nch-suggest::-webkit-scrollbar-corner {\n background: rgba(0, 0, 0, 0);\n}\nch-suggest::part(label) {\n font-family: var(--ds-base-font-family-primary);\n font-size: var(--ds-base-font-size);\n color: var(--ds-base-font-size-color);\n font-weight: var(--ds-base-font-size-weight);\n line-height: var(--ds-base-font-line-height--comfortable);\n display: flex;\n align-items: center;\n cursor: default;\n font-size: inherit;\n flex-shrink: 0;\n}\nch-suggest[label-position=start]::part(label) {\n margin-inline-end: var(--gxg-label-separation-horizontal);\n}\nch-suggest[label-position=above]::part(label) {\n margin-block-end: var(--gxg-label-separation-vertical);\n}\nch-suggest::part(input) {\n font-size: var(--gxg-suggest-input__font-size);\n height: var(--gxg-suggest-input__height);\n border: var(--ds-form-control-border);\n border-radius: var(--ds-form-control-border-radius);\n padding: var(--gxg-suggest-input__padding);\n box-sizing: border-box;\n background-color: var(--gxg-suggest-input__background-color);\n width: 100%;\n flex: auto;\n}\nch-suggest::part(input):focus {\n outline: var(--ds-focus-border-width) solid var(--ds-border-color-control--focused);\n outline-offset: -1px;\n outline-offset: 0;\n outline-offset: -1px;\n}\nch-suggest::part(header) {\n display: block;\n padding-block-end: var(--gxg-suggest-header__padding-block-end);\n display: flex;\n justify-content: flex-end;\n}\nch-suggest::part(close-button) {\n height: var(--spacing-comp-05);\n width: var(--spacing-comp-05);\n background-color: var(--color-background);\n color: var(--color-primary-hover);\n border: 1px solid var(--color-primary-hover);\n box-sizing: border-box;\n cursor: pointer;\n display: block;\n}\nch-suggest::part(close-button):hover {\n background-color: var(--color-primary-hover-opacity-01);\n}\nch-suggest::part(close-button)::after {\n content: \"✖\";\n width: 100%;\n display: block;\n line-height: var(--gxg-suggest-close-button__line-height--after);\n text-align: center;\n}\nch-suggest::part(close-button):focus {\n outline: var(--ds-focus-border-width) solid var(--ds-border-color-control--focused);\n outline-offset: -1px;\n outline-offset: 0;\n}\nch-suggest::part(dropdown) {\n /*mixin shadow*/\n background-color: var(--gxg-suggest-drop-down__background-color);\n margin-top: var(--gxg-suggest-drop-down__margin-top);\n padding: var(--gxg-suggest-drop-down__padding);\n box-shadow: var(--gxg-suggest-drop-down__box-shadow);\n border: var(--gxg-suggest-general__border);\n position: relative;\n top: 2px;\n /* Track */\n /* Handle */\n /* Handle on hover */\n}\nch-suggest::part(dropdown)::-webkit-scrollbar {\n width: var(--gxg-scrollbar-width);\n height: var(--gxg-scrollbar-width);\n}\nch-suggest::part(dropdown)::-webkit-scrollbar-track {\n background-color: var(--gxg-scrollbar-track-background);\n border-radius: var(--gxg-scrollbar-track-border-radius);\n}\nch-suggest::part(dropdown)::-webkit-scrollbar-thumb {\n background-color: var(--gxg-scrollbar-track-thumb-background);\n border-radius: var(--gxg-scrollbar-track-thumb-radius);\n}\nch-suggest::part(dropdown)::-webkit-scrollbar-thumb:hover {\n background-color: var(--gxg-scrollbar-track-thumb-hover-background);\n}\nch-suggest::part(dropdown)::-webkit-scrollbar-corner {\n background: rgba(0, 0, 0, 0);\n}\n\n/*Validation*/\n.messages-wrapper {\n margin-top: var(--spacing-comp-02);\n display: flex;\n gap: var(--spacing-comp-01);\n flex-direction: column;\n}\n\ngxg-suggest.gxg-validation--success ch-suggest::part(input) {\n outline-color: var(--ds-border-color--success);\n border-color: var(--ds-border-color--success);\n}\ngxg-suggest.gxg-validation--success ch-suggest::part(input) + .checkmark {\n --checkmark-border-color: var(--ds-border-color--success);\n}\n\ngxg-suggest.gxg-validation--warning ch-suggest::part(input) {\n outline-color: var(--ds-border-color--warning);\n border-color: var(--ds-border-color--warning);\n}\ngxg-suggest.gxg-validation--warning ch-suggest::part(input) + .checkmark {\n --checkmark-border-color: var(--ds-border-color--warning);\n}\n\ngxg-suggest.gxg-validation--error ch-suggest::part(input) {\n outline-color: var(--ds-border-color--error);\n border-color: var(--ds-border-color--error);\n}\ngxg-suggest.gxg-validation--error ch-suggest::part(input) + .checkmark {\n --checkmark-border-color: var(--ds-border-color--error);\n}\n\n/*Disabled*/\ngxg-suggest.gxg--disabled ch-suggest {\n pointer-events: none;\n}\ngxg-suggest.gxg--disabled ch-suggest::part(input) {\n background-color: var(--gray-01);\n color: var(--color-on-disabled);\n}\n\ngxg-suggest[ellipsis]:not([ellipsis=false]) ch-suggest-list-item::part(content-wrapper) {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 100%;\n}\n\nch-suggest-list {\n font-family: inherit;\n border: var(--gxg-suggest-list__border);\n border-radius: var(--gxg-suggest-list__border-radius);\n padding: var(--gxg-suggest-list__padding);\n}\nch-suggest-list > ch-suggest-list-item:not(:first-child) {\n border-top: var(--gxg-suggest-general__border);\n}\nch-suggest-list:first-child {\n margin-block-start: 0;\n}\nch-suggest-list:last-child {\n margin-block-end: 0;\n}\nch-suggest-list::part(title) {\n text-transform: capitalize;\n font-weight: var(--gxg-suggest-list-title__font-weight);\n margin: var(--gxg-suggest-list-title__margin);\n padding: var(--gxg-suggest-list-title__padding);\n color: var(--gxg-suggest-list-title__color);\n background-color: var(--gxg-suggest-list-title__background-color);\n border-bottom: var(--gxg-suggest-general__border);\n border-bottom-width: 2px;\n}\nch-suggest-list:first-child {\n margin-block-start: 0;\n}\nch-suggest-list::part(list) {\n padding: var(--gxg-suggest-list-part-list__padding);\n}\n\nch-suggest-list + ch-suggest-list {\n margin-block-start: 0;\n border-block-start: 0;\n}\nch-suggest-list + ch-suggest-list::part(title) {\n margin-block-start: 0;\n}\n\nch-suggest-list + ch-suggest-list-item {\n margin-block-start: var(--gxg-suggest-list-item-next-sibling__margin-block-start);\n}\n\nch-suggest-list-item {\n font-size: inherit;\n border-radius: var(--gxg-suggest-list-item__border-radius);\n /*button*/\n}\nch-suggest-list-item::part(button) {\n padding: var(--gxg-suggest-list-item-button__padding);\n align-items: center;\n gap: var(--gxg-suggest-list-item-button__gap);\n box-sizing: border-box;\n line-height: var(--gxg-suggest-list-item__line-height);\n box-sizing: border-box;\n overflow: hidden;\n}\nch-suggest-list-item::part(button):hover {\n color: var(--gxg-suggest-list-item-button__color--hover);\n}\nch-suggest-list-item::part(button):focus {\n outline: var(--ds-focus-border-width) solid var(--ds-border-color-control--focused);\n outline-offset: -1px;\n outline-offset: 0;\n}\nch-suggest-list-item::part(description)::before {\n content: \" - \";\n}\nch-suggest-list-item gxg-icon::part(ch-icon) {\n --icon-size: var(--gxg-suggest-list-item-icon__size);\n margin-right: var(--gxg-suggest-list-item-icon__margin-right);\n}\nch-suggest-list-item:hover {\n background-color: var(--gxg-suggest-list-item-button__background-color);\n}\n\nch-suggest-list-item + ch-suggest-list {\n margin-block-start: var(--spacing-comp-02);\n}","import { Host, h } from \"@stencil/core\";\nimport { formMessageLogic } from \"../../common/form\";\nimport { formClasses } from \"../../common/classesNames\";\nimport { commonClassesNames } from \"../../common/classesNames\";\nexport class GxgSuggest {\n constructor() {\n this.validationStatus = \"indeterminate\";\n this.validationMessage = undefined;\n this.disabled = false;\n this.ellipsis = true;\n }\n render() {\n return (h(Host, { class: {\n [formClasses[\"VALIDATION_INDETERMINATE_CLASS\"]]: this.validationStatus === \"indeterminate\",\n [formClasses[\"VALIDATION_WARNING_CLASS\"]]: this.validationStatus === \"warning\",\n [formClasses[\"VALIDATION_ERROR_CLASS\"]]: this.validationStatus === \"error\",\n [formClasses[\"VALIDATION_SUCCESS_CLASS\"]]: this.validationStatus === \"success\",\n [commonClassesNames[\"DISABLED_CLASS\"]]: this.disabled\n } }, h(\"slot\", null), formMessageLogic(this)));\n }\n static get is() { return \"gxg-suggest\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"styles.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"styles.css\"]\n };\n }\n static get properties() {\n return {\n \"validationStatus\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"ValidationStatus\",\n \"resolved\": \"\\\"error\\\" | \\\"indeterminate\\\" | \\\"success\\\" | \\\"warning\\\"\",\n \"references\": {\n \"ValidationStatus\": {\n \"location\": \"import\",\n \"path\": \"../../common/types\",\n \"id\": \"src/common/types.ts::ValidationStatus\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The validation status\"\n },\n \"attribute\": \"validation-status\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"indeterminate\\\"\"\n },\n \"validationMessage\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The message to display for the validation result.\"\n },\n \"attribute\": \"validation-message\",\n \"reflect\": false\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The presence of this attribute makes the suggest disabled.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"ellipsis\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The presence of this attribute forces the suggest list items to not wrap to a second line, and it will display ellipsis. (...)\"\n },\n \"attribute\": \"ellipsis\",\n \"reflect\": true,\n \"defaultValue\": \"true\"\n }\n };\n }\n}\n//# sourceMappingURL=suggest.js.map\n"],"mappings":";;;;;;AAAA,MAAMA,IAAe;;ACErB,MAAMC,IAAa;;AACnB,MAAMC,IAAW;;MACJC,IAAS;EAClB,WAAAC,CAAAC;IA0BAC,KAAAC,sBAAsB;MAClBC,WAAYC;QACR,MAAMC,IAAiBJ,KAAKK,kBAAkBF,EAAEG,oBAAoBX;QACpE,MAAMY,IAAkBP,KAAKK,kBAAkBD,GAAgBT;QAC/DS,KAAkBA,EAAeI;QACjC,KAAKD,GAAiB;;UAElBP,KAAKS;;;MAGbC,SAAUP;QACN,MAAMC,IAAiBJ,KAAKK,kBAAkBF,EAAEG,oBAAoBV;QACpE,MAAMW,IAAkBP,KAAKK,kBAAkBD,GAAgBR;QAC/DQ,KAAkBA,EAAeI;QACjC,KAAKD,GAAiB;;UAElBP,KAAKW;;;;;QA0DjBX,KAAAY,sBAAsB;MAClBZ,KAAKa,SAASC,UAAUd,KAAKe,GAAGC;AAAiB;IAErDhB,KAAAiB,sBAAsB;MAClB,MAAMC,IAAYlB,KAAKe,GAAGI,cAAc;MACxCD,KAAaA,EAAUV;AAAO;IAElCR,KAAAoB,wBAAwB,MAAMC,MAAMC,KAAKtB,KAAKe,GAAGQ,iBAAiB;IAClEvB,KAAAK,oBAAoB,CAACC,GAAoBkB;;MAErC,MAAMC,eAAgBC;QAClB,MAAMC,IAAYD,EAAKH,iBAAiB;QACxC,IAAIK,IAAYD,KAAaA,EAAUA,EAAUE,SAAS;QAC1D,IAAIL,MAAc7B,GAAY;UAC1BiC,IAAYF,EAAKP,cAAc;eAE9B;UACD,MAA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J,KAAKuJ;;OAC5ChD,EAAE,QAAQ,OAAOoD,EAAiB3J"}
|
|
@@ -6,7 +6,7 @@ import { s as n } from "./p-f6aacda6.js";
|
|
|
6
6
|
|
|
7
7
|
import { c as l } from "./p-9c1b4eb9.js";
|
|
8
8
|
|
|
9
|
-
import { r as d } from "./p-
|
|
9
|
+
import { r as d } from "./p-350f49ac.js";
|
|
10
10
|
|
|
11
11
|
import { f as g } from "./p-e8646b08.js";
|
|
12
12
|
|
|
@@ -341,4 +341,4 @@ const h = class {
|
|
|
341
341
|
h.style = c;
|
|
342
342
|
|
|
343
343
|
export { h as gx_ide_new_environment };
|
|
344
|
-
//# sourceMappingURL=p-
|
|
344
|
+
//# sourceMappingURL=p-d5903356.entry.js.map
|
|
@@ -6,7 +6,7 @@ import { c as l } from "./p-9c1b4eb9.js";
|
|
|
6
6
|
|
|
7
7
|
import { f as n } from "./p-e8646b08.js";
|
|
8
8
|
|
|
9
|
-
import { r as g } from "./p-
|
|
9
|
+
import { r as g } from "./p-350f49ac.js";
|
|
10
10
|
|
|
11
11
|
const c = ':root{--ui-animaton-speed:0.2s}.gxg-title-01{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-01--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-01-font-weight);font-size:var(--ds-title-01-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-02{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-02--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-02-font-weight);font-size:var(--ds-title-02-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--color-on-primary)}.gxg-title-03{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-03--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-03-font-weight);font-size:var(--ds-title-03-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;text-transform:uppercase;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-04{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-04--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-04-font-weight);font-size:var(--ds-title-04-font-size);letter-spacing:var(--ds-base-font-letter-spacing--comfortable);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-title-05{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable)}.gxg-title-05--negative{font-family:var(--ds-base-font-family-primary);font-weight:var(--ds-title-05-font-weight);font-size:var(--ds-title-05-font-size);letter-spacing:var(--ds-base-font-letter-spacing--regular);color:var(--ds-base-font-color);text-align:start;line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable)}.gxg-text--negative{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--negative)}.gxg-text--gray{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--dimmed)}.gxg-quote{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);font-style:italic}.gxg-quote--negative{color:var(--ds-base-font-color--negative)}.gxg-link{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block}.gxg-link:hover{color:var(--ds-base-font-color--link-hover)}.gxg-link:active{color:var(--ds-base-font-color--link-active)}.gxg-link-gray{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed)}.gxg-link-gray:hover{line-height:unset;font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--link);text-decoration:underline;cursor:pointer;display:inline-block;color:var(--ds-base-font-color--dimmed);filter:brightness(1.4)}.gxg-alert-error{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--error);display:inline-block}.gxg-alert-warning{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--warning);display:inline-block}.gxg-alert-success{font-family:var(--ds-base-font-family-primary);font-size:var(--ds-base-font-size);color:var(--ds-base-font-size-color);font-weight:var(--ds-base-font-size-weight);line-height:var(--ds-base-font-line-height--comfortable);color:var(--ds-base-font-color--success);display:inline-block}.gxg-tab--disabled{color:var(--color-primary-disabled);pointer-events:none}.gxg-tab--disabled[disabled]{color:var(--color-primary-disabled);pointer-events:none}.gxg-label{font-family:var(--ds-base-font-family-primary);font-weight:var(--gxg-label-font-weight);font-size:var(--gxg-label-font-size);color:var(--gxg-label-color);text-align:center;line-height:1.455em;display:flex;align-items:center}.gxg-label:hover{color:var(--color-primary-hover)}.gxg-label:focus{color:var(--color-primary-active)}.gxg-label:active{color:var(--color-primary-active)}.gxg-label[disabled]{color:var(--color-primary-disabled)}.gxg-label--negative{color:var(--color-on-primary)}.gxg-label--negative[disabled]{color:var(--color-on-disabled)}.gxg-scrollbar{}.gxg-scrollbar::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gxg-scrollbar::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gxg-scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gxg-scrollbar::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gxi-hidden{display:none !important}.gxi-full-height{height:100%}.gxi-overflow-auto{overflow:auto}.gxi-display-flex{display:flex}.align-start{display:flex;align-items:start}.align-center{display:flex;align-items:center}.align-end{display:flex;align-items:end}.overflow-auto{overflow:auto}.justify-start{display:flex;justify-content:start}.justify-center{display:flex;justify-content:center}.justify-end{display:flex;justify-content:end}.grid{display:grid;grid-row-gap:var(--gx-ide-grid-row-gap);grid-column-gap:var(--gx-ide-grid-column-gap);grid-template-rows:auto}ch-grid-cell{display:flex}ch-grid{overflow:auto;height:100%}ch-grid-column{z-index:99;border-bottom:1px solid var(--mer-color__neutral-gray--800)}ch-grid-column:first-child{padding-inline-start:var(--gx-ide-container__padding) !important}ch-grid-column:last-child{padding-inline-end:var(--gx-ide-container__padding) !important}ch-grid-cell{--mer-spacing--xs:var(--gx-ide-container__padding)}.layout{display:grid;gap:var(--mer-spacing--lg);box-sizing:border-box}.layout--two-cols{grid-template-columns:1fr 1fr}.layout--space-above{padding-block-start:var(--mer-spacing--lg)}gxg-tabs{box-shadow:none}:host(.gx-ide-component){height:100% !important;display:flex !important;flex-direction:column !important}:host(:focus-within) gx-ide-top-bar::part(wrapper){background-color:var(--color-secondary-enabled)}.gx-ide-main-wrapper{color:var(--gx-ide-component-text-color);font-weight:var(--mer-font__weight--regular);font-size:var(--mer-font__size--xs);font-family:var(--mer-font-family--primary);height:100%;background-color:var(--gx-ide-component-background-color);display:flex;flex-direction:column;flex-grow:1;box-sizing:border-box}.gx-ide-main{flex-grow:1;overflow-y:auto;}.gx-ide-main::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-main::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-main::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-main::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-main::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.gx-ide-overflow{overflow-y:auto;}.gx-ide-overflow::-webkit-scrollbar{width:var(--gxg-scrollbar-width);height:var(--gxg-scrollbar-width)}.gx-ide-overflow::-webkit-scrollbar-track{background-color:var(--gxg-scrollbar-track-background);border-radius:var(--gxg-scrollbar-track-border-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb{background-color:var(--gxg-scrollbar-track-thumb-background);border-radius:var(--gxg-scrollbar-track-thumb-radius)}.gx-ide-overflow::-webkit-scrollbar-thumb:hover{background-color:var(--gxg-scrollbar-track-thumb-hover-background)}.gx-ide-overflow::-webkit-scrollbar-corner{background:rgba(0, 0, 0, 0)}.tree-container{display:flex;height:100%;width:100%;box-sizing:border-box}:host{display:block}.main{display:grid;column-gap:var(--gx-ide-grid-column-gap);row-gap:var(--gx-ide-grid-row-gap);grid-template-columns:auto 1fr;grid-template-areas:"kb-label kb-input " "server-label server-input" "auth-type-label auth-type-input" "user-name-label user-name-input" "password-label password-input"}.main .kb-name-label{grid-area:kb-label}.main .kb-input{grid-area:kb-input}.main .server-url-label{grid-area:server-label}.main .server-url-input{grid-area:server-input}.main .auth-type-label{grid-area:auth-type-label}.main .auth-type-input{grid-area:auth-type-input}.main .user-name-label{grid-area:user-name-label}.main .user-name-input{grid-area:user-name-input}.main .password-label{grid-area:password-label}.main .password-input{grid-area:password-input}';
|
|
12
12
|
|
|
@@ -155,4 +155,4 @@ const b = class {
|
|
|
155
155
|
b.style = c;
|
|
156
156
|
|
|
157
157
|
export { b as gx_ide_share_kb };
|
|
158
|
-
//# sourceMappingURL=p-
|
|
158
|
+
//# sourceMappingURL=p-df72101e.entry.js.map
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
:where(button) {
|
|
1
|
+
:where(a, button) {
|
|
2
2
|
all: unset;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
a,
|
|
6
|
+
button {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
inline-size: 100%;
|
|
10
|
+
block-size: 100%;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
}
|
|
13
|
+
|
|
5
14
|
*,
|
|
6
15
|
::after,
|
|
7
16
|
::before {
|
|
@@ -10,9 +19,10 @@
|
|
|
10
19
|
|
|
11
20
|
:host {
|
|
12
21
|
--ch-dropdown-item__image-size: 0.875em;
|
|
13
|
-
--
|
|
14
|
-
--separation
|
|
15
|
-
--separation-
|
|
22
|
+
--ch-dropdown-item__background-image-size: 100%;
|
|
23
|
+
--ch-dropdown-separation: 0px;
|
|
24
|
+
--ch-dropdown-separation-x: var(--ch-dropdown-separation);
|
|
25
|
+
--ch-dropdown-separation-y: var(--ch-dropdown-separation);
|
|
16
26
|
display: flex;
|
|
17
27
|
position: relative;
|
|
18
28
|
inline-size: 100%;
|
|
@@ -20,40 +30,29 @@
|
|
|
20
30
|
}
|
|
21
31
|
|
|
22
32
|
.expandable-button {
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
33
|
justify-content: center;
|
|
26
34
|
align-self: center;
|
|
27
35
|
position: relative;
|
|
28
|
-
inline-size: 100%;
|
|
29
|
-
block-size: 100%;
|
|
30
|
-
cursor: pointer;
|
|
31
36
|
z-index: 108;
|
|
32
37
|
}
|
|
33
|
-
.expandable-button:focus-visible {
|
|
34
|
-
outline: 1px solid currentColor;
|
|
35
|
-
}
|
|
36
38
|
|
|
37
39
|
::slotted([slot=action]) {
|
|
38
40
|
pointer-events: none;
|
|
39
41
|
}
|
|
40
42
|
|
|
43
|
+
ch-popover {
|
|
44
|
+
--ch-popover-separation-x: var(--ch-dropdown-separation-x);
|
|
45
|
+
--ch-popover-separation-y: var(--ch-dropdown-separation-y);
|
|
46
|
+
}
|
|
47
|
+
|
|
41
48
|
.list {
|
|
42
49
|
display: flex;
|
|
43
50
|
flex-direction: column;
|
|
44
51
|
}
|
|
45
52
|
|
|
46
53
|
.action {
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
inline-size: 100%;
|
|
50
|
-
block-size: 100%;
|
|
51
|
-
cursor: pointer;
|
|
52
54
|
text-align: start;
|
|
53
55
|
}
|
|
54
|
-
.action:focus-visible {
|
|
55
|
-
outline: 1px solid currentColor;
|
|
56
|
-
}
|
|
57
56
|
|
|
58
57
|
.pseudo-img--start::before,
|
|
59
58
|
.pseudo-img--end::after {
|
|
@@ -64,21 +63,22 @@
|
|
|
64
63
|
min-inline-size: var(--ch-dropdown-item__image-size);
|
|
65
64
|
}
|
|
66
65
|
|
|
67
|
-
.
|
|
68
|
-
|
|
66
|
+
.pseudo-img--start {
|
|
67
|
+
--ch-dropdown-item-img: var(--ch-dropdown-item-start-img);
|
|
69
68
|
}
|
|
70
69
|
|
|
71
|
-
.
|
|
72
|
-
|
|
70
|
+
.pseudo-img--end {
|
|
71
|
+
--ch-dropdown-item-img: var(--ch-dropdown-item-end-img);
|
|
73
72
|
}
|
|
74
73
|
|
|
75
|
-
.start-img-type--
|
|
76
|
-
|
|
77
|
-
background
|
|
74
|
+
.start-img-type--background::before,
|
|
75
|
+
.end-img-type--background::after {
|
|
76
|
+
background: no-repeat center/var(--ch-dropdown-item__background-image-size) var(--ch-dropdown-item-img);
|
|
78
77
|
}
|
|
79
78
|
|
|
79
|
+
.start-img-type--mask::before,
|
|
80
80
|
.end-img-type--mask::after {
|
|
81
|
-
-webkit-mask: var(--ch-dropdown-item-
|
|
81
|
+
-webkit-mask: var(--ch-dropdown-item-img) 50% 50%/var(--ch-dropdown-item__background-image-size) var(--ch-dropdown-item__background-image-size) no-repeat;
|
|
82
82
|
background-color: currentColor;
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -64,8 +64,6 @@
|
|
|
64
64
|
block-size: var(--ch-tree-view-item__expandable-button-size);
|
|
65
65
|
z-index: 1;
|
|
66
66
|
cursor: pointer;
|
|
67
|
-
content-visibility: auto;
|
|
68
|
-
contain-intrinsic-size: auto var(--ch-tree-view-item__expandable-button-size);
|
|
69
67
|
}
|
|
70
68
|
|
|
71
69
|
.expandable-button-decorative::before {
|
|
@@ -30,4 +30,15 @@
|
|
|
30
30
|
--gxg-button-unselected-bg-color--enabled
|
|
31
31
|
);
|
|
32
32
|
--gxg-button-primary-color: var(--gxg-button-unselected-color--enabled);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:host([full-width]) {
|
|
36
|
+
width: 100%;
|
|
37
|
+
}
|
|
38
|
+
:host([full-width]) .container {
|
|
39
|
+
width: 100%;
|
|
40
|
+
display: flex;
|
|
41
|
+
}
|
|
42
|
+
:host([full-width]) ::slotted(gxg-button) {
|
|
43
|
+
flex: 1;
|
|
33
44
|
}
|
|
@@ -431,6 +431,7 @@ ch-suggest[label-position=above]::part(label) {
|
|
|
431
431
|
margin-block-end: var(--gxg-label-separation-vertical);
|
|
432
432
|
}
|
|
433
433
|
ch-suggest::part(input) {
|
|
434
|
+
font-size: var(--gxg-suggest-input__font-size);
|
|
434
435
|
height: var(--gxg-suggest-input__height);
|
|
435
436
|
border: var(--ds-form-control-border);
|
|
436
437
|
border-radius: var(--ds-form-control-border-radius);
|