@genexus/genexus-ide-ui 1.0.55 → 1.0.57
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/{code-render-43aa3faf.js → code-render-d66a13e2.js} +12 -5
- package/dist/cjs/code-render-d66a13e2.js.map +1 -0
- package/dist/cjs/{common-f571dfc1.js → common-f7361979.js} +2 -2
- package/dist/cjs/{common-f571dfc1.js.map → common-f7361979.js.map} +1 -1
- package/dist/cjs/genexus-ide-ui.cjs.js +2 -2
- package/dist/cjs/gx-ide-ai-assistant.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-ai-message.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-bpm-app-declaration.cjs.entry.js +3 -3
- package/dist/cjs/gx-ide-bpm-assign-roles.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-bpm-export-xpdl.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-bpm-import-files.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-bpm-import-gxpm.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-bpm-objects-selector.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-bpm-timer-duration.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-card.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-chat-container.cjs.entry.js +3 -3
- package/dist/cjs/gx-ide-chat-container.cjs.entry.js.map +1 -1
- package/dist/cjs/gx-ide-connect-gx-server.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-container_2.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-create-kb-from-server.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-current-user-info.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-dashboard-home.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-data-selector.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-data-type-selector.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-design-import.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-directory-selector.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-edit-module-server.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-entity-selector.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-gam-installation-settings.cjs.entry.js +95 -67
- package/dist/cjs/gx-ide-gam-installation-settings.cjs.entry.js.map +1 -1
- package/dist/cjs/gx-ide-kb-manager-export.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-kb-manager-import.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-list-selector_2.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-loader.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-manage-module-references-v2.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-manage-module-references.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-navigation-report.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-new-environment.cjs.entry.js +3 -3
- package/dist/cjs/gx-ide-new-kb.cjs.entry.js +3 -3
- package/dist/cjs/gx-ide-new-object.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-object-selector.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-references.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-sc-chat-container.cjs.entry.js +5 -16
- package/dist/cjs/gx-ide-sc-chat-container.cjs.entry.js.map +1 -1
- package/dist/cjs/gx-ide-select-kb-items.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-select-user-team.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-share-kb.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-sign-in-team.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-sign-in.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-splash.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-start-page.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-status-buttons.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-switch-panel.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-switcher.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-team-dev-commit.cjs.entry.js +3 -3
- package/dist/cjs/gx-ide-team-dev-select-recent-comment.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-team-dev-update-partial-selection.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-team-dev-update-to-revision.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-team-dev-update.cjs.entry.js +3 -3
- package/dist/cjs/gx-ide-template.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-test.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-welcome-page.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-wf-settings.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-ww-attributes.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-ww-images.cjs.entry.js +3 -3
- package/dist/cjs/{helpers-03ef57a7.js → helpers-30f109a4.js} +2 -2
- package/dist/cjs/{helpers-03ef57a7.js.map → helpers-30f109a4.js.map} +1 -1
- package/dist/cjs/{index-caaa95cf.js → index-e227aefb.js} +34 -4
- package/dist/cjs/index-e227aefb.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{render-combo-items-878e8852.js → render-combo-items-e774f796.js} +2 -2
- package/dist/cjs/{render-combo-items-878e8852.js.map → render-combo-items-e774f796.js.map} +1 -1
- package/dist/cjs/{render-list-item-c71032e3.js → render-list-item-7c6449c4.js} +2 -2
- package/dist/cjs/{render-list-item-c71032e3.js.map → render-list-item-7c6449c4.js.map} +1 -1
- package/dist/cjs/{render-suggest-4c515c9d.js → render-suggest-4a569cbe.js} +2 -2
- package/dist/cjs/{render-suggest-4c515c9d.js.map → render-suggest-4a569cbe.js.map} +1 -1
- package/dist/collection/components/_helpers/chat-container/chat-container.css +34 -3
- package/dist/collection/components/_helpers/chat-container/chat-container.js +1 -1
- package/dist/collection/components/_helpers/chat-container/chat-container.js.map +1 -1
- package/dist/collection/components/_helpers/chat-container/code-render.js +4 -3
- package/dist/collection/components/_helpers/chat-container/code-render.js.map +1 -1
- package/dist/collection/components/gam-installation-settings/gam-installation-settings.css +13 -43
- package/dist/collection/components/gam-installation-settings/gam-installation-settings.js +139 -150
- package/dist/collection/components/gam-installation-settings/gam-installation-settings.js.map +1 -1
- package/dist/collection/components/gam-installation-settings/gx-ide-assets/gam-installation-settings/langs/gam-installation-settings.lang.en.json +2 -1
- package/dist/collection/components/gam-installation-settings/gx-ide-assets/gam-installation-settings/langs/gam-installation-settings.lang.ja.json +3 -2
- package/dist/collection/components/gam-installation-settings/gx-ide-assets/gam-installation-settings/langs/gam-installation-settings.lang.zh.json +2 -1
- package/dist/collection/showcase/chat-container/callbacks.js +2 -13
- package/dist/collection/showcase/chat-container/callbacks.js.map +1 -1
- package/dist/collection/showcase/chat-container/chat.showcase.js +1 -1
- package/dist/collection/showcase/chat-container/chat.showcase.js.map +1 -1
- package/dist/components/chat-container.js +2 -2
- package/dist/components/chat-container.js.map +1 -1
- package/dist/components/code-render.js +10 -3
- package/dist/components/code-render.js.map +1 -1
- package/dist/components/gx-ide-gam-installation-settings.js +100 -85
- package/dist/components/gx-ide-gam-installation-settings.js.map +1 -1
- package/dist/components/gx-ide-sc-chat-container.js +3 -14
- package/dist/components/gx-ide-sc-chat-container.js.map +1 -1
- package/dist/components/index.js +0 -1
- package/dist/components/index.js.map +1 -1
- package/dist/esm/{code-render-9ccc8dac.js → code-render-67c13139.js} +12 -5
- package/dist/esm/code-render-67c13139.js.map +1 -0
- package/dist/esm/{common-c15a0328.js → common-2a1e4e67.js} +2 -2
- package/dist/esm/{common-c15a0328.js.map → common-2a1e4e67.js.map} +1 -1
- package/dist/esm/genexus-ide-ui.js +3 -3
- package/dist/esm/gx-ide-ai-assistant.entry.js +1 -1
- package/dist/esm/gx-ide-ai-message.entry.js +2 -2
- package/dist/esm/gx-ide-bpm-app-declaration.entry.js +3 -3
- package/dist/esm/gx-ide-bpm-assign-roles.entry.js +1 -1
- package/dist/esm/gx-ide-bpm-export-xpdl.entry.js +1 -1
- package/dist/esm/gx-ide-bpm-import-files.entry.js +2 -2
- package/dist/esm/gx-ide-bpm-import-gxpm.entry.js +1 -1
- package/dist/esm/gx-ide-bpm-objects-selector.entry.js +2 -2
- package/dist/esm/gx-ide-bpm-timer-duration.entry.js +1 -1
- package/dist/esm/gx-ide-card.entry.js +1 -1
- package/dist/esm/gx-ide-chat-container.entry.js +3 -3
- package/dist/esm/gx-ide-chat-container.entry.js.map +1 -1
- package/dist/esm/gx-ide-connect-gx-server.entry.js +1 -1
- package/dist/esm/gx-ide-container_2.entry.js +1 -1
- package/dist/esm/gx-ide-create-kb-from-server.entry.js +1 -1
- package/dist/esm/gx-ide-current-user-info.entry.js +1 -1
- package/dist/esm/gx-ide-dashboard-home.entry.js +2 -2
- package/dist/esm/gx-ide-data-selector.entry.js +1 -1
- package/dist/esm/gx-ide-data-type-selector.entry.js +1 -1
- package/dist/esm/gx-ide-design-import.entry.js +1 -1
- package/dist/esm/gx-ide-directory-selector.entry.js +1 -1
- package/dist/esm/gx-ide-edit-module-server.entry.js +1 -1
- package/dist/esm/gx-ide-empty-state.entry.js +1 -1
- package/dist/esm/gx-ide-entity-selector.entry.js +1 -1
- package/dist/esm/gx-ide-gam-installation-settings.entry.js +95 -67
- package/dist/esm/gx-ide-gam-installation-settings.entry.js.map +1 -1
- package/dist/esm/gx-ide-kb-manager-export.entry.js +1 -1
- package/dist/esm/gx-ide-kb-manager-import.entry.js +1 -1
- package/dist/esm/gx-ide-list-selector_2.entry.js +1 -1
- package/dist/esm/gx-ide-loader.entry.js +1 -1
- package/dist/esm/gx-ide-manage-module-references-v2.entry.js +2 -2
- package/dist/esm/gx-ide-manage-module-references.entry.js +2 -2
- package/dist/esm/gx-ide-navigation-report.entry.js +1 -1
- package/dist/esm/gx-ide-new-environment.entry.js +3 -3
- package/dist/esm/gx-ide-new-kb.entry.js +3 -3
- package/dist/esm/gx-ide-new-object.entry.js +1 -1
- package/dist/esm/gx-ide-object-selector.entry.js +2 -2
- package/dist/esm/gx-ide-references.entry.js +2 -2
- package/dist/esm/gx-ide-sc-chat-container.entry.js +5 -16
- package/dist/esm/gx-ide-sc-chat-container.entry.js.map +1 -1
- package/dist/esm/gx-ide-select-kb-items.entry.js +1 -1
- package/dist/esm/gx-ide-select-user-team.entry.js +1 -1
- package/dist/esm/gx-ide-share-kb.entry.js +1 -1
- package/dist/esm/gx-ide-sign-in-team.entry.js +1 -1
- package/dist/esm/gx-ide-sign-in.entry.js +1 -1
- package/dist/esm/gx-ide-splash.entry.js +1 -1
- package/dist/esm/gx-ide-start-page.entry.js +1 -1
- package/dist/esm/gx-ide-status-buttons.entry.js +1 -1
- package/dist/esm/gx-ide-switch-panel.entry.js +1 -1
- package/dist/esm/gx-ide-switcher.entry.js +1 -1
- package/dist/esm/gx-ide-team-dev-commit.entry.js +3 -3
- package/dist/esm/gx-ide-team-dev-select-recent-comment.entry.js +2 -2
- package/dist/esm/gx-ide-team-dev-update-partial-selection.entry.js +1 -1
- package/dist/esm/gx-ide-team-dev-update-to-revision.entry.js +1 -1
- package/dist/esm/gx-ide-team-dev-update.entry.js +3 -3
- package/dist/esm/gx-ide-template.entry.js +1 -1
- package/dist/esm/gx-ide-test.entry.js +1 -1
- package/dist/esm/gx-ide-top-bar.entry.js +1 -1
- package/dist/esm/gx-ide-welcome-page.entry.js +1 -1
- package/dist/esm/gx-ide-wf-settings.entry.js +1 -1
- package/dist/esm/gx-ide-ww-attributes.entry.js +1 -1
- package/dist/esm/gx-ide-ww-images.entry.js +3 -3
- package/dist/esm/{helpers-39459872.js → helpers-ec4585e5.js} +2 -2
- package/dist/esm/{helpers-39459872.js.map → helpers-ec4585e5.js.map} +1 -1
- package/dist/esm/{index-93411ea2.js → index-6a0d98df.js} +34 -4
- package/dist/esm/index-6a0d98df.js.map +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{render-combo-items-7a49ed63.js → render-combo-items-70aa3ecf.js} +2 -2
- package/dist/esm/{render-combo-items-7a49ed63.js.map → render-combo-items-70aa3ecf.js.map} +1 -1
- package/dist/esm/{render-list-item-2bd9cf13.js → render-list-item-2ad96b71.js} +2 -2
- package/dist/esm/{render-list-item-2bd9cf13.js.map → render-list-item-2ad96b71.js.map} +1 -1
- package/dist/esm/{render-suggest-6b99b199.js → render-suggest-dac35d72.js} +2 -2
- package/dist/esm/{render-suggest-6b99b199.js.map → render-suggest-dac35d72.js.map} +1 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +3 -3
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js.map +1 -1
- package/dist/genexus-ide-ui/gx-ide-assets/gam-installation-settings/langs/gam-installation-settings.lang.en.json +2 -1
- package/dist/genexus-ide-ui/gx-ide-assets/gam-installation-settings/langs/gam-installation-settings.lang.ja.json +3 -2
- package/dist/genexus-ide-ui/gx-ide-assets/gam-installation-settings/langs/gam-installation-settings.lang.zh.json +2 -1
- package/dist/genexus-ide-ui/index.esm.js +2 -2
- package/dist/genexus-ide-ui/{p-22d8de70.entry.js → p-03265b1b.entry.js} +4 -4
- package/dist/genexus-ide-ui/{p-86b0cf22.entry.js → p-09d55db9.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-ec2cb326.entry.js → p-1105c966.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-1e44952c.entry.js → p-1364f700.entry.js} +3 -3
- package/dist/genexus-ide-ui/{p-ae468251.entry.js → p-1a53cc60.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-37a2e9ac.entry.js → p-1c36217e.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-fdd9de33.entry.js → p-1cfcec9e.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-64e05f19.entry.js → p-22908448.entry.js} +8 -8
- package/dist/genexus-ide-ui/{p-cce8a91a.entry.js → p-24af7f98.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-e2a87cd7.entry.js → p-26aff07c.entry.js} +3 -3
- package/dist/genexus-ide-ui/{p-49712340.js → p-2cf37639.js} +161 -132
- package/dist/genexus-ide-ui/p-2cf37639.js.map +1 -0
- package/dist/genexus-ide-ui/{p-56ab7460.entry.js → p-2d7323a8.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-296d8ba7.js → p-2de01408.js} +2 -2
- package/dist/genexus-ide-ui/{p-90c8cb0d.entry.js → p-3468662b.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-5a565d8f.entry.js → p-34b5a494.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-e4fe373f.entry.js → p-3e15089e.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-7a3baebc.entry.js → p-49f9f6bf.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-324af897.entry.js → p-4cd56d14.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-d9c27591.entry.js → p-502f2b47.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-848b26be.entry.js → p-52af77c2.entry.js} +5 -5
- package/dist/genexus-ide-ui/{p-d26f3f46.js → p-5545d58d.js} +2 -2
- package/dist/genexus-ide-ui/{p-4f6d120f.entry.js → p-57354473.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-3611f8b7.entry.js → p-57986b2e.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-67b7c308.entry.js → p-5a734013.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-960c4988.js → p-5b1576cc.js} +2 -2
- package/dist/genexus-ide-ui/{p-cff284a9.entry.js → p-5dc54e85.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-e9f2dd3f.entry.js → p-6374dabb.entry.js} +4 -4
- package/dist/genexus-ide-ui/{p-20cca16c.entry.js → p-6637e817.entry.js} +6 -6
- package/dist/genexus-ide-ui/{p-6d8b4f96.entry.js → p-6e667dde.entry.js} +4 -4
- package/dist/genexus-ide-ui/{p-4fc17d27.entry.js → p-70024ecb.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-9dbe2323.entry.js → p-71f3b66e.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-c49885c3.entry.js → p-822090ba.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-2e043c76.entry.js → p-8900c81a.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-ae3102f4.entry.js → p-97114eef.entry.js} +3 -3
- package/dist/genexus-ide-ui/{p-2320aa7a.entry.js → p-9a604798.entry.js} +3 -3
- package/dist/genexus-ide-ui/{p-fdb45861.entry.js → p-9e27c0cc.entry.js} +9 -9
- package/dist/genexus-ide-ui/p-9e27c0cc.entry.js.map +1 -0
- package/dist/genexus-ide-ui/{p-07fedb96.entry.js → p-9ffe118a.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-57542159.entry.js → p-a6dd3f03.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-307e47a1.entry.js → p-aa821b66.entry.js} +3 -3
- package/dist/genexus-ide-ui/{p-562db47d.entry.js → p-acaed500.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-68b911a6.entry.js → p-afc73c6f.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-7153555f.entry.js → p-b238a545.entry.js} +11 -11
- package/dist/genexus-ide-ui/{p-a837de2e.entry.js → p-b2af0c95.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-2b1634e7.entry.js → p-b3e352c8.entry.js} +2 -2
- package/dist/genexus-ide-ui/p-bb0eb196.entry.js +85 -0
- package/dist/genexus-ide-ui/p-bb0eb196.entry.js.map +1 -0
- package/dist/genexus-ide-ui/{p-f0efd16f.entry.js → p-bb1394ca.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-36a97020.entry.js → p-c21300fb.entry.js} +157 -134
- package/dist/genexus-ide-ui/p-c21300fb.entry.js.map +1 -0
- package/dist/genexus-ide-ui/{p-b5fa3116.entry.js → p-c74d18fe.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-9c83ec17.entry.js → p-c9fd4853.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-27a2429c.entry.js → p-d7169c07.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-291eb585.entry.js → p-d8c7e0b5.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-4f815835.entry.js → p-dcb1516d.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-e3711567.entry.js → p-df4249e1.entry.js} +3 -3
- package/dist/genexus-ide-ui/{p-580899ab.entry.js → p-df8bf481.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-e4bd955a.entry.js → p-e07c97d5.entry.js} +4 -4
- package/dist/genexus-ide-ui/{p-f1cc5d30.entry.js → p-e3f234a8.entry.js} +3 -3
- package/dist/genexus-ide-ui/{p-a526d1f5.entry.js → p-eaab7765.entry.js} +3 -3
- package/dist/genexus-ide-ui/{p-5cb80ab8.entry.js → p-ebe6d71f.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-d1cb5507.js → p-f194af32.js} +11 -11
- package/dist/genexus-ide-ui/{p-5707060d.entry.js → p-f2f9e36e.entry.js} +2 -2
- package/dist/genexus-ide-ui/{p-14e9afa7.js → p-f3aa0e41.js} +2 -2
- package/dist/genexus-ide-ui/{p-e36d7f5c.entry.js → p-f654f86d.entry.js} +2 -2
- package/dist/genexus-ide-ui/p-f963b96e.entry.js +17 -0
- package/dist/genexus-ide-ui/{p-de92ee84.entry.js → p-fbab024e.entry.js} +2 -2
- package/dist/genexus-ide-ui/p-fc7b3ace.js +106 -0
- package/dist/genexus-ide-ui/p-fc7b3ace.js.map +1 -0
- package/dist/genexus-ide-ui/{p-9e78c60c.entry.js → p-fce76974.entry.js} +4 -4
- package/dist/types/components/_helpers/chat-container/code-render.d.ts +1 -1
- package/dist/types/components/gam-installation-settings/gam-installation-settings.d.ts +14 -38
- package/dist/types/components.d.ts +6 -33
- package/package.json +1 -1
- package/dist/cjs/code-render-43aa3faf.js.map +0 -1
- package/dist/cjs/index-caaa95cf.js.map +0 -1
- package/dist/esm/code-render-9ccc8dac.js.map +0 -1
- package/dist/esm/index-93411ea2.js.map +0 -1
- package/dist/genexus-ide-ui/p-36a97020.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-49712340.js.map +0 -1
- package/dist/genexus-ide-ui/p-4b665a04.js +0 -68
- package/dist/genexus-ide-ui/p-4b665a04.js.map +0 -1
- package/dist/genexus-ide-ui/p-caad0b7e.entry.js +0 -17
- package/dist/genexus-ide-ui/p-e0db2615.entry.js +0 -87
- package/dist/genexus-ide-ui/p-e0db2615.entry.js.map +0 -1
- package/dist/genexus-ide-ui/p-fdb45861.entry.js.map +0 -1
- /package/dist/genexus-ide-ui/{p-22d8de70.entry.js.map → p-03265b1b.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-86b0cf22.entry.js.map → p-09d55db9.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-ec2cb326.entry.js.map → p-1105c966.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-1e44952c.entry.js.map → p-1364f700.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-ae468251.entry.js.map → p-1a53cc60.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-37a2e9ac.entry.js.map → p-1c36217e.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-fdd9de33.entry.js.map → p-1cfcec9e.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-64e05f19.entry.js.map → p-22908448.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-cce8a91a.entry.js.map → p-24af7f98.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-e2a87cd7.entry.js.map → p-26aff07c.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-56ab7460.entry.js.map → p-2d7323a8.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-296d8ba7.js.map → p-2de01408.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-90c8cb0d.entry.js.map → p-3468662b.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-5a565d8f.entry.js.map → p-34b5a494.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-e4fe373f.entry.js.map → p-3e15089e.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-7a3baebc.entry.js.map → p-49f9f6bf.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-324af897.entry.js.map → p-4cd56d14.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-d9c27591.entry.js.map → p-502f2b47.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-848b26be.entry.js.map → p-52af77c2.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-d26f3f46.js.map → p-5545d58d.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-4f6d120f.entry.js.map → p-57354473.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-3611f8b7.entry.js.map → p-57986b2e.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-67b7c308.entry.js.map → p-5a734013.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-960c4988.js.map → p-5b1576cc.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-cff284a9.entry.js.map → p-5dc54e85.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-e9f2dd3f.entry.js.map → p-6374dabb.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-20cca16c.entry.js.map → p-6637e817.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-6d8b4f96.entry.js.map → p-6e667dde.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-4fc17d27.entry.js.map → p-70024ecb.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-9dbe2323.entry.js.map → p-71f3b66e.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-c49885c3.entry.js.map → p-822090ba.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-2e043c76.entry.js.map → p-8900c81a.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-ae3102f4.entry.js.map → p-97114eef.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-2320aa7a.entry.js.map → p-9a604798.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-07fedb96.entry.js.map → p-9ffe118a.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-57542159.entry.js.map → p-a6dd3f03.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-307e47a1.entry.js.map → p-aa821b66.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-562db47d.entry.js.map → p-acaed500.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-68b911a6.entry.js.map → p-afc73c6f.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-7153555f.entry.js.map → p-b238a545.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-a837de2e.entry.js.map → p-b2af0c95.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-2b1634e7.entry.js.map → p-b3e352c8.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-f0efd16f.entry.js.map → p-bb1394ca.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-b5fa3116.entry.js.map → p-c74d18fe.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-9c83ec17.entry.js.map → p-c9fd4853.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-27a2429c.entry.js.map → p-d7169c07.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-291eb585.entry.js.map → p-d8c7e0b5.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-4f815835.entry.js.map → p-dcb1516d.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-e3711567.entry.js.map → p-df4249e1.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-580899ab.entry.js.map → p-df8bf481.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-e4bd955a.entry.js.map → p-e07c97d5.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-f1cc5d30.entry.js.map → p-e3f234a8.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-a526d1f5.entry.js.map → p-eaab7765.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-5cb80ab8.entry.js.map → p-ebe6d71f.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-d1cb5507.js.map → p-f194af32.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-5707060d.entry.js.map → p-f2f9e36e.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-14e9afa7.js.map → p-f3aa0e41.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-e36d7f5c.entry.js.map → p-f654f86d.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-caad0b7e.entry.js.map → p-f963b96e.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-de92ee84.entry.js.map → p-fbab024e.entry.js.map} +0 -0
- /package/dist/genexus-ide-ui/{p-9e78c60c.entry.js.map → p-fce76974.entry.js.map} +0 -0
|
@@ -1,97 +1,124 @@
|
|
|
1
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
2
|
+
if (kind === "a" && !f)
|
|
3
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
5
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
6
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
7
|
+
};
|
|
8
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
9
|
+
if (kind === "m")
|
|
10
|
+
throw new TypeError("Private method is not writable");
|
|
11
|
+
if (kind === "a" && !f)
|
|
12
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
13
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
14
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
15
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
16
|
+
};
|
|
17
|
+
var _GxIdeGamInstallationSettings__componentLocale, _GxIdeGamInstallationSettings_futureUpgradesComboEl, _GxIdeGamInstallationSettings_panelsCheckboxEl, _GxIdeGamInstallationSettings_webPanelsCheckboxEl, _GxIdeGamInstallationSettings_cancelCallbackHandler, _GxIdeGamInstallationSettings_repairCallbackHandler, _GxIdeGamInstallationSettings_renderFilters, _GxIdeGamInstallationSettings_renderDescription, _GxIdeGamInstallationSettings_saveCallbackHandler;
|
|
18
|
+
/* eslint-disable @stencil-community/own-props-must-be-private */
|
|
1
19
|
/* STENCIL IMPORTS */
|
|
2
20
|
import { Host, h } from "@stencil/core";
|
|
3
|
-
/* OTHER LIBRARIES IMPORTS */
|
|
4
|
-
/* CUSTOM IMPORTS */
|
|
5
|
-
import { config } from "../../common/config";
|
|
6
21
|
import { Locale } from "../../common/locale";
|
|
22
|
+
const CSS_BUNDLES = [
|
|
23
|
+
"resets/box-sizing",
|
|
24
|
+
"components/button",
|
|
25
|
+
"components/checkbox",
|
|
26
|
+
"components/combo-box",
|
|
27
|
+
"components/edit",
|
|
28
|
+
"utils/form",
|
|
29
|
+
"utils/layout",
|
|
30
|
+
"utils/typography"
|
|
31
|
+
];
|
|
7
32
|
export class GxIdeGamInstallationSettings {
|
|
8
33
|
constructor() {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
this
|
|
34
|
+
/**
|
|
35
|
+
* The component hard-coded strings translations.
|
|
36
|
+
*/
|
|
37
|
+
_GxIdeGamInstallationSettings__componentLocale.set(this, void 0);
|
|
38
|
+
_GxIdeGamInstallationSettings_futureUpgradesComboEl.set(this, void 0);
|
|
39
|
+
_GxIdeGamInstallationSettings_panelsCheckboxEl.set(this, void 0);
|
|
40
|
+
_GxIdeGamInstallationSettings_webPanelsCheckboxEl.set(this, void 0);
|
|
41
|
+
_GxIdeGamInstallationSettings_cancelCallbackHandler.set(this, () => {
|
|
42
|
+
this.cancelCallback();
|
|
43
|
+
});
|
|
44
|
+
_GxIdeGamInstallationSettings_repairCallbackHandler.set(this, async () => {
|
|
14
45
|
if (this.saveCallback) {
|
|
15
46
|
const data = {
|
|
16
|
-
importWebPanels: this.
|
|
17
|
-
importPanels: this.
|
|
18
|
-
futureUpgrades: this.
|
|
19
|
-
? this.
|
|
47
|
+
importWebPanels: !!__classPrivateFieldGet(this, _GxIdeGamInstallationSettings_webPanelsCheckboxEl, "f").value,
|
|
48
|
+
importPanels: !!__classPrivateFieldGet(this, _GxIdeGamInstallationSettings_panelsCheckboxEl, "f").value,
|
|
49
|
+
futureUpgrades: __classPrivateFieldGet(this, _GxIdeGamInstallationSettings_futureUpgradesComboEl, "f").value
|
|
50
|
+
? __classPrivateFieldGet(this, _GxIdeGamInstallationSettings_futureUpgradesComboEl, "f").value
|
|
20
51
|
: null
|
|
21
52
|
};
|
|
22
53
|
await this.repairCallback(data);
|
|
23
54
|
}
|
|
24
|
-
};
|
|
25
|
-
this
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
55
|
+
});
|
|
56
|
+
_GxIdeGamInstallationSettings_renderFilters.set(this, () => {
|
|
57
|
+
var _a;
|
|
58
|
+
return (h("div", { class: "field-group", role: "region", "aria-label": __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").filters.filtersHeading }, h("h5", { class: "subtitle-regular-s margin-block-end-s" }, __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").filters.filtersHeading), h("div", { class: "filters__wrapper" }, h("div", { class: "field-group", role: "group", "aria-labelledby": "frontend-objects-label" }, h("div", { class: "field field-block" }, h("label", { id: "frontend-objects-label", class: "label" }, __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").filters.frontEndObjects), h("div", { class: "field-group-inline" }, h("ch-checkbox", { class: "checkbox", checkedValue: "webPanels", value: ((_a = this.defaultConfiguration) === null || _a === void 0 ? void 0 : _a.importWebPanels)
|
|
59
|
+
? "webPanels"
|
|
60
|
+
: undefined, caption: __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").filters.webPanelsCheckbox, ref: (el) => (__classPrivateFieldSet(this, _GxIdeGamInstallationSettings_webPanelsCheckboxEl, el, "f")), part: "web-panels-checkbox" }), h("ch-checkbox", { class: "checkbox", checkedValue: "panels", value: this.defaultConfiguration.importPanels &&
|
|
61
|
+
this.canSelectPanels
|
|
62
|
+
? "panels"
|
|
63
|
+
: undefined, caption: __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").filters.panelsCheckbox, disabled: !this.canSelectPanels, ref: (el) => (__classPrivateFieldSet(this, _GxIdeGamInstallationSettings_panelsCheckboxEl, el, "f")), part: "panels-checkbox" }))), h("div", { class: "field field-block" }, h("label", { class: "label", htmlFor: "future-upgrades-combo" }, __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").filters.futureUpgradesComboLabel), h("ch-combo-box-render", { id: "future-upgrades-combo", class: "combo-box", value: this.defaultConfiguration.futureUpgrades, ref: (el) => (__classPrivateFieldSet(this, _GxIdeGamInstallationSettings_futureUpgradesComboEl, el, "f")), model: [
|
|
64
|
+
{
|
|
65
|
+
value: "automatic",
|
|
66
|
+
caption: __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").manageFutureUpgrades
|
|
67
|
+
.installAutomatically
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
value: "prompt",
|
|
71
|
+
caption: __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").manageFutureUpgrades.promptMe
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
value: "never",
|
|
75
|
+
caption: __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").manageFutureUpgrades.neverUpdate
|
|
76
|
+
}
|
|
77
|
+
], part: "future-upgrades-combo" }))))));
|
|
78
|
+
});
|
|
79
|
+
_GxIdeGamInstallationSettings_renderDescription.set(this, () => {
|
|
80
|
+
return (h("div", { class: "description" }, this.configurationType === "installation"
|
|
43
81
|
? [
|
|
44
|
-
h("
|
|
82
|
+
h("p", { class: "text-body" }, __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").header.headerTextInstallation
|
|
45
83
|
.firstSentence),
|
|
46
|
-
h("
|
|
84
|
+
h("p", { class: "text-body" }, __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").header.headerTextInstallation
|
|
47
85
|
.secondSentence),
|
|
48
|
-
h("
|
|
86
|
+
h("p", { class: "text-body" }, __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").header.headerTextInstallation
|
|
49
87
|
.thirdSentence)
|
|
50
88
|
]
|
|
51
89
|
: [
|
|
52
|
-
h("
|
|
53
|
-
h("
|
|
90
|
+
h("p", { class: "text-body" }, __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").header.headerTextUpdate.firstSentence),
|
|
91
|
+
h("p", { class: "text-body" }, __classPrivateFieldGet(this, _GxIdeGamInstallationSettings__componentLocale, "f").header.headerTextUpdate.secondSentence)
|
|
54
92
|
]));
|
|
55
|
-
};
|
|
56
|
-
this
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
93
|
+
});
|
|
94
|
+
_GxIdeGamInstallationSettings_saveCallbackHandler.set(this, async () => {
|
|
95
|
+
if (this.saveCallback) {
|
|
96
|
+
const data = {
|
|
97
|
+
importWebPanels: !!__classPrivateFieldGet(this, _GxIdeGamInstallationSettings_webPanelsCheckboxEl, "f").value,
|
|
98
|
+
importPanels: !!__classPrivateFieldGet(this, _GxIdeGamInstallationSettings_panelsCheckboxEl, "f").value,
|
|
99
|
+
futureUpgrades: __classPrivateFieldGet(this, _GxIdeGamInstallationSettings_futureUpgradesComboEl, "f").value
|
|
100
|
+
? __classPrivateFieldGet(this, _GxIdeGamInstallationSettings_futureUpgradesComboEl, "f").value
|
|
101
|
+
: null
|
|
102
|
+
};
|
|
103
|
+
await this.saveCallback(data);
|
|
104
|
+
}
|
|
105
|
+
});
|
|
65
106
|
this.cancelCallback = undefined;
|
|
107
|
+
this.canSelectPanels = false;
|
|
108
|
+
this.configurationType = "installation";
|
|
66
109
|
this.defaultConfiguration = {
|
|
67
110
|
importWebPanels: true,
|
|
68
111
|
importPanels: false,
|
|
69
112
|
futureUpgrades: "prompt"
|
|
70
113
|
};
|
|
71
|
-
this.
|
|
114
|
+
this.repairCallback = undefined;
|
|
115
|
+
this.saveCallback = undefined;
|
|
72
116
|
}
|
|
73
|
-
// 6.COMPONENT LIFECYCLE METHODS //
|
|
74
117
|
async componentWillLoad() {
|
|
75
|
-
this
|
|
118
|
+
__classPrivateFieldSet(this, _GxIdeGamInstallationSettings__componentLocale, await Locale.getComponentStrings(this.el), "f");
|
|
76
119
|
}
|
|
77
|
-
componentDidRender() {
|
|
78
|
-
if (!this.renderedFirstTime) {
|
|
79
|
-
this.componentDidRenderFirstTime.emit(this._componentLocale.componentName);
|
|
80
|
-
this.renderedFirstTime = true;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
// 10.RENDER() FUNCTION //
|
|
84
120
|
render() {
|
|
85
|
-
return (h(Host, { class: "
|
|
86
|
-
h("p", null, this._componentLocale.footer.footerSaveText),
|
|
87
|
-
h("p", null, this._componentLocale.footer.footerCancelText)
|
|
88
|
-
]) : (
|
|
89
|
-
// configurationType is "installation"
|
|
90
|
-
h("p", null, this._componentLocale.footer.enableSecurity)))), this.configurationType === "update" ? (h("gxg-button", { type: "outlined", slot: "footer-start", onClick: this.repairCallbackHandler }, this._componentLocale.footer.repairButton)) : null, h("gxg-button", { type: "outlined", slot: "footer-end", onClick: this.cancelCallbackHandler }, this.configurationType === "update"
|
|
91
|
-
? this._componentLocale.footer.cancelButton
|
|
92
|
-
: this._componentLocale.footer.no), h("gxg-button", { slot: "footer-end", onClick: this.saveCallbackHandler }, this.configurationType === "update"
|
|
93
|
-
? this._componentLocale.footer.confirmButton
|
|
94
|
-
: this._componentLocale.footer.yes)))));
|
|
121
|
+
return (h(Host, { class: "widget spacing-body" }, h("ch-theme", { model: CSS_BUNDLES }), h("div", { class: "control-header control-header-with-border" }, __classPrivateFieldGet(this, _GxIdeGamInstallationSettings_renderDescription, "f").call(this)), h("div", { class: "main-content field-group" }, __classPrivateFieldGet(this, _GxIdeGamInstallationSettings_renderFilters, "f").call(this)), h("div", { class: "footer" }, this.configurationType === "update" && (h("div", { class: "footer-info" }, h("p", null, "Use Repair to import GAM components again"))), h("div", { class: "control-footer-with-border control-footer-space-between" }, this.configurationType === "update" && (h("button", { id: "repair-button", class: "button-secondary", onClick: __classPrivateFieldGet(this, _GxIdeGamInstallationSettings_repairCallbackHandler, "f"), part: "button button--repair" }, "Repair")), h("div", { class: "buttons-spacer" }, h("button", { id: "cancel-button", class: "button-secondary", onClick: __classPrivateFieldGet(this, _GxIdeGamInstallationSettings_cancelCallbackHandler, "f"), part: "button button--cancel" }, "Cancel"), h("button", { id: "confirm-button", class: "button-primary", onClick: __classPrivateFieldGet(this, _GxIdeGamInstallationSettings_saveCallbackHandler, "f"), part: "button button--confirm" }, "Save"))))));
|
|
95
122
|
}
|
|
96
123
|
static get is() { return "gx-ide-gam-installation-settings"; }
|
|
97
124
|
static get encapsulation() { return "shadow"; }
|
|
@@ -108,11 +135,32 @@ export class GxIdeGamInstallationSettings {
|
|
|
108
135
|
static get assetsDirs() { return ["gx-ide-assets/gam-installation-settings"]; }
|
|
109
136
|
static get properties() {
|
|
110
137
|
return {
|
|
111
|
-
"
|
|
138
|
+
"cancelCallback": {
|
|
139
|
+
"type": "unknown",
|
|
140
|
+
"mutable": false,
|
|
141
|
+
"complexType": {
|
|
142
|
+
"original": "CancelCallback",
|
|
143
|
+
"resolved": "() => Promise<void>",
|
|
144
|
+
"references": {
|
|
145
|
+
"CancelCallback": {
|
|
146
|
+
"location": "local",
|
|
147
|
+
"path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/gam-installation-settings/gam-installation-settings.tsx",
|
|
148
|
+
"id": "src/components/gam-installation-settings/gam-installation-settings.tsx::CancelCallback"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"required": false,
|
|
153
|
+
"optional": false,
|
|
154
|
+
"docs": {
|
|
155
|
+
"tags": [],
|
|
156
|
+
"text": "Callback invoked when the user wants to cancel the exportation process"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"canSelectPanels": {
|
|
112
160
|
"type": "boolean",
|
|
113
161
|
"mutable": false,
|
|
114
162
|
"complexType": {
|
|
115
|
-
"original": "
|
|
163
|
+
"original": "boolean",
|
|
116
164
|
"resolved": "boolean",
|
|
117
165
|
"references": {}
|
|
118
166
|
},
|
|
@@ -120,9 +168,9 @@ export class GxIdeGamInstallationSettings {
|
|
|
120
168
|
"optional": false,
|
|
121
169
|
"docs": {
|
|
122
170
|
"tags": [],
|
|
123
|
-
"text": "
|
|
171
|
+
"text": "Determines 'Panels' checkbox activation, enabled only if an SD generator is in the KB.\nOtherwise, the checkbox is disabled."
|
|
124
172
|
},
|
|
125
|
-
"attribute": "
|
|
173
|
+
"attribute": "can-select-panels",
|
|
126
174
|
"reflect": false,
|
|
127
175
|
"defaultValue": "false"
|
|
128
176
|
},
|
|
@@ -144,17 +192,17 @@ export class GxIdeGamInstallationSettings {
|
|
|
144
192
|
"reflect": false,
|
|
145
193
|
"defaultValue": "\"installation\""
|
|
146
194
|
},
|
|
147
|
-
"
|
|
195
|
+
"defaultConfiguration": {
|
|
148
196
|
"type": "unknown",
|
|
149
197
|
"mutable": false,
|
|
150
198
|
"complexType": {
|
|
151
|
-
"original": "
|
|
152
|
-
"resolved": "
|
|
199
|
+
"original": "GamConfigData | undefined",
|
|
200
|
+
"resolved": "{ importWebPanels: boolean; importPanels: boolean; futureUpgrades: \"prompt\" | \"never\" | \"automatic\"; }",
|
|
153
201
|
"references": {
|
|
154
|
-
"
|
|
202
|
+
"GamConfigData": {
|
|
155
203
|
"location": "local",
|
|
156
204
|
"path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/gam-installation-settings/gam-installation-settings.tsx",
|
|
157
|
-
"id": "src/components/gam-installation-settings/gam-installation-settings.tsx::
|
|
205
|
+
"id": "src/components/gam-installation-settings/gam-installation-settings.tsx::GamConfigData"
|
|
158
206
|
}
|
|
159
207
|
}
|
|
160
208
|
},
|
|
@@ -162,41 +210,21 @@ export class GxIdeGamInstallationSettings {
|
|
|
162
210
|
"optional": false,
|
|
163
211
|
"docs": {
|
|
164
212
|
"tags": [],
|
|
165
|
-
"text": "
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
"saveCallback": {
|
|
169
|
-
"type": "unknown",
|
|
170
|
-
"mutable": false,
|
|
171
|
-
"complexType": {
|
|
172
|
-
"original": "SaveCallback",
|
|
173
|
-
"resolved": "(data: GamConfigData) => Promise<void>",
|
|
174
|
-
"references": {
|
|
175
|
-
"SaveCallback": {
|
|
176
|
-
"location": "local",
|
|
177
|
-
"path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/gam-installation-settings/gam-installation-settings.tsx",
|
|
178
|
-
"id": "src/components/gam-installation-settings/gam-installation-settings.tsx::SaveCallback"
|
|
179
|
-
}
|
|
180
|
-
}
|
|
213
|
+
"text": "Defines default config for initializing the dialog with stored gam config data"
|
|
181
214
|
},
|
|
182
|
-
"
|
|
183
|
-
"optional": false,
|
|
184
|
-
"docs": {
|
|
185
|
-
"tags": [],
|
|
186
|
-
"text": "Callback invoked when the user wants to start the exportation process"
|
|
187
|
-
}
|
|
215
|
+
"defaultValue": "{\n importWebPanels: true,\n importPanels: false,\n futureUpgrades: \"prompt\"\n }"
|
|
188
216
|
},
|
|
189
|
-
"
|
|
217
|
+
"repairCallback": {
|
|
190
218
|
"type": "unknown",
|
|
191
219
|
"mutable": false,
|
|
192
220
|
"complexType": {
|
|
193
|
-
"original": "
|
|
194
|
-
"resolved": "() => Promise<void>",
|
|
221
|
+
"original": "RepairCallback",
|
|
222
|
+
"resolved": "(config: GamConfigData) => Promise<void>",
|
|
195
223
|
"references": {
|
|
196
|
-
"
|
|
224
|
+
"RepairCallback": {
|
|
197
225
|
"location": "local",
|
|
198
226
|
"path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/gam-installation-settings/gam-installation-settings.tsx",
|
|
199
|
-
"id": "src/components/gam-installation-settings/gam-installation-settings.tsx::
|
|
227
|
+
"id": "src/components/gam-installation-settings/gam-installation-settings.tsx::RepairCallback"
|
|
200
228
|
}
|
|
201
229
|
}
|
|
202
230
|
},
|
|
@@ -204,20 +232,20 @@ export class GxIdeGamInstallationSettings {
|
|
|
204
232
|
"optional": false,
|
|
205
233
|
"docs": {
|
|
206
234
|
"tags": [],
|
|
207
|
-
"text": "Callback invoked when the user
|
|
235
|
+
"text": "Callback invoked when the user press repair button"
|
|
208
236
|
}
|
|
209
237
|
},
|
|
210
|
-
"
|
|
238
|
+
"saveCallback": {
|
|
211
239
|
"type": "unknown",
|
|
212
240
|
"mutable": false,
|
|
213
241
|
"complexType": {
|
|
214
|
-
"original": "
|
|
215
|
-
"resolved": "
|
|
242
|
+
"original": "SaveCallback",
|
|
243
|
+
"resolved": "(data: GamConfigData) => Promise<void>",
|
|
216
244
|
"references": {
|
|
217
|
-
"
|
|
245
|
+
"SaveCallback": {
|
|
218
246
|
"location": "local",
|
|
219
247
|
"path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/gam-installation-settings/gam-installation-settings.tsx",
|
|
220
|
-
"id": "src/components/gam-installation-settings/gam-installation-settings.tsx::
|
|
248
|
+
"id": "src/components/gam-installation-settings/gam-installation-settings.tsx::SaveCallback"
|
|
221
249
|
}
|
|
222
250
|
}
|
|
223
251
|
},
|
|
@@ -225,51 +253,12 @@ export class GxIdeGamInstallationSettings {
|
|
|
225
253
|
"optional": false,
|
|
226
254
|
"docs": {
|
|
227
255
|
"tags": [],
|
|
228
|
-
"text": "
|
|
229
|
-
}
|
|
230
|
-
"defaultValue": "{\n importWebPanels: true,\n importPanels: false,\n futureUpgrades: \"prompt\"\n }"
|
|
231
|
-
},
|
|
232
|
-
"canSelectPanels": {
|
|
233
|
-
"type": "boolean",
|
|
234
|
-
"mutable": false,
|
|
235
|
-
"complexType": {
|
|
236
|
-
"original": "boolean",
|
|
237
|
-
"resolved": "boolean",
|
|
238
|
-
"references": {}
|
|
239
|
-
},
|
|
240
|
-
"required": false,
|
|
241
|
-
"optional": false,
|
|
242
|
-
"docs": {
|
|
243
|
-
"tags": [],
|
|
244
|
-
"text": "Property determining 'Panels' checkbox activation. Enabled only if an SD generator is\npresent in the KB. If not, checkbox is disabled"
|
|
245
|
-
},
|
|
246
|
-
"attribute": "can-select-panels",
|
|
247
|
-
"reflect": false,
|
|
248
|
-
"defaultValue": "false"
|
|
256
|
+
"text": "Callback invoked when the user initiates the export process"
|
|
257
|
+
}
|
|
249
258
|
}
|
|
250
259
|
};
|
|
251
260
|
}
|
|
252
|
-
static get events() {
|
|
253
|
-
return [{
|
|
254
|
-
"method": "componentDidRenderFirstTime",
|
|
255
|
-
"name": "componentDidRenderFirstTime",
|
|
256
|
-
"bubbles": true,
|
|
257
|
-
"cancelable": true,
|
|
258
|
-
"composed": true,
|
|
259
|
-
"docs": {
|
|
260
|
-
"tags": [{
|
|
261
|
-
"name": "description",
|
|
262
|
-
"text": "Gets fired when the component has rendered for the first time."
|
|
263
|
-
}],
|
|
264
|
-
"text": ""
|
|
265
|
-
},
|
|
266
|
-
"complexType": {
|
|
267
|
-
"original": "string",
|
|
268
|
-
"resolved": "string",
|
|
269
|
-
"references": {}
|
|
270
|
-
}
|
|
271
|
-
}];
|
|
272
|
-
}
|
|
273
261
|
static get elementRef() { return "el"; }
|
|
274
262
|
}
|
|
263
|
+
_GxIdeGamInstallationSettings__componentLocale = new WeakMap(), _GxIdeGamInstallationSettings_futureUpgradesComboEl = new WeakMap(), _GxIdeGamInstallationSettings_panelsCheckboxEl = new WeakMap(), _GxIdeGamInstallationSettings_webPanelsCheckboxEl = new WeakMap(), _GxIdeGamInstallationSettings_cancelCallbackHandler = new WeakMap(), _GxIdeGamInstallationSettings_repairCallbackHandler = new WeakMap(), _GxIdeGamInstallationSettings_renderFilters = new WeakMap(), _GxIdeGamInstallationSettings_renderDescription = new WeakMap(), _GxIdeGamInstallationSettings_saveCallbackHandler = new WeakMap();
|
|
275
264
|
//# sourceMappingURL=gam-installation-settings.js.map
|
package/dist/collection/components/gam-installation-settings/gam-installation-settings.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gam-installation-settings.js","sourceRoot":"","sources":["../../../src/components/gam-installation-settings/gam-installation-settings.tsx"],"names":[],"mappings":"AAAA,qBAAqB;AACrB,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,EACJ,OAAO,EACP,KAAK,EAEN,MAAM,eAAe,CAAC;AACvB,6BAA6B;AAC7B,oBAAoB;AACpB,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAQ7C,MAAM,OAAO,4BAA4B;;QAO/B,sBAAiB,GAAG,KAAK,CAAC;QA+ElC,iBAAiB;QAEjB,0BAA0B;QAE1B,qBAAqB;QAEb,0BAAqB,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,CAAC,qBAAqB,IAElC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,YAAY,CAC/B,CACd,CAAC,CAAC,CAAC,IAAI;oBAER,kBACE,IAAI,EAAC,UAAU,EACf,IAAI,EAAC,YAAY,EACjB,OAAO,EAAE,IAAI,CAAC,qBAAqB,IAElC,IAAI,CAAC,iBAAiB,KAAK,QAAQ;wBAClC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,YAAY;wBAC3C,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,EAAE,CACxB;oBACb,kBAAY,IAAI,EAAC,YAAY,EAAC,OAAO,EAAE,IAAI,CAAC,mBAAmB,IAC5D,IAAI,CAAC,iBAAiB,KAAK,QAAQ;wBAClC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,aAAa;wBAC5C,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,GAAG,CACzB,CACI,CACf,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/* STENCIL IMPORTS */\nimport {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter\n} from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { config } from \"../../common/config\";\nimport { Locale } from \"../../common/locale\";\n\n@Component({\n tag: \"gx-ide-gam-installation-settings\",\n styleUrl: \"gam-installation-settings.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/gam-installation-settings\"]\n})\nexport class GxIdeGamInstallationSettings {\n // 1.OWN PROPERTIES //\n\n /**\n * The component hard-coded strings translations.\n */\n private _componentLocale: any;\n private renderedFirstTime = false;\n\n // 2. REFERENCE TO ELEMENTS //\n\n @Element() el: HTMLGxIdeGamInstallationSettingsElement;\n\n private webPanelsCheckboxEl!: HTMLGxgFormCheckboxElement;\n private panelsCheckboxEl!: HTMLGxgFormCheckboxElement;\n private futureUpgradesComboEl!: HTMLGxgComboBoxElement;\n\n // 3.STATE() VARIABLES //\n\n // 4.PUBLIC PROPERTY API | WATCH'S //\n\n /**\n * If true it displays the component title on the header\n */\n @Prop() readonly displayTitle = false;\n\n /**\n * Specifies the configuration type to be used\n */\n @Prop() readonly configurationType: \"installation\" | \"update\" =\n \"installation\";\n\n /**\n * Callback invoked when the user press repair button\n */\n @Prop() readonly repairCallback: RepairCallback;\n\n /**\n * Callback invoked when the user wants to start the exportation process\n */\n @Prop() readonly saveCallback: SaveCallback;\n\n /**\n * Callback invoked when the user wants to cancel the exportation process\n */\n @Prop() readonly cancelCallback: CancelCallback;\n\n /**\n * Defines the default configuration property. Necessary for initializing the dialogue\n * using stored 'game config data' from the server. If undefined, default values are\n * applied.\n */\n @Prop() readonly defaultConfiguration: GamConfigData | undefined = {\n importWebPanels: true,\n importPanels: false,\n futureUpgrades: \"prompt\"\n };\n\n /**\n * Property determining 'Panels' checkbox activation. Enabled only if an SD generator is\n * present in the KB. If not, checkbox is disabled\n */\n @Prop() readonly canSelectPanels: boolean = false;\n\n // 5.EVENTS (EMIT) //\n\n /**\n * @description Gets fired when the component has rendered for the first time.\n */\n @Event() componentDidRenderFirstTime: EventEmitter<string>;\n\n // 6.COMPONENT LIFECYCLE METHODS //\n\n async componentWillLoad() {\n this._componentLocale = await Locale.getComponentStrings(this.el);\n }\n\n componentDidRender() {\n if (!this.renderedFirstTime) {\n this.componentDidRenderFirstTime.emit(\n this._componentLocale.componentName\n );\n this.renderedFirstTime = true;\n }\n }\n\n // 7.LISTENERS //\n\n // 8.PUBLIC METHODS API //\n\n // 9.LOCAL METHODS //\n\n private repairCallbackHandler = async () => {\n if (this.saveCallback) {\n const data: GamConfigData = {\n importWebPanels: this.webPanelsCheckboxEl.checked,\n importPanels: this.panelsCheckboxEl.checked,\n futureUpgrades: this.futureUpgradesComboEl.value\n ? this.futureUpgradesComboEl.value\n : null\n };\n await this.repairCallback(data);\n }\n };\n\n private saveCallbackHandler = async () => {\n if (this.saveCallback) {\n const data: GamConfigData = {\n importWebPanels: this.webPanelsCheckboxEl.checked,\n importPanels: this.panelsCheckboxEl.checked,\n futureUpgrades: this.futureUpgradesComboEl.value\n ? this.futureUpgradesComboEl.value\n : null\n };\n await this.saveCallback(data);\n }\n };\n private cancelCallbackHandler = () => {\n this.cancelCallback();\n };\n\n /* Renders*/\n private renderHeader = () => {\n return (\n <header class=\"header\" slot=\"header\">\n {this.configurationType === \"installation\"\n ? [\n <gxg-text type=\"text-regular\">\n {\n this._componentLocale.header.headerTextInstallation\n .firstSentence\n }\n </gxg-text>,\n <gxg-text type=\"text-regular\">\n {\n this._componentLocale.header.headerTextInstallation\n .secondSentence\n }\n </gxg-text>,\n <gxg-text type=\"text-regular\">\n {\n this._componentLocale.header.headerTextInstallation\n .thirdSentence\n }\n </gxg-text>\n ]\n : [\n <gxg-text type=\"text-regular\">\n {this._componentLocale.header.headerTextUpdate.firstSentence}\n </gxg-text>,\n <gxg-text type=\"text-regular\">\n {this._componentLocale.header.headerTextUpdate.secondSentence}\n </gxg-text>\n ]}\n {/* header text */}\n </header>\n );\n };\n\n private renderFilters = () => {\n return (\n <div class=\"filters\">\n <gxg-title type=\"title-05\">\n {this._componentLocale.filters.filtersHeading}\n </gxg-title>\n\n <div class=\"filters__wrapper\">\n <div class=\"filters__wrapper-left\">\n <gxg-label labelPosition=\"above\" center={false}>\n Frontend Objects\n </gxg-label>\n <div class=\"filters__front-end-objects\">\n <gxg-form-checkbox\n label={this._componentLocale.filters.webPanelsCheckbox}\n part=\"web-panels-checkbox\"\n slot=\"footer-start\"\n ref={(el: HTMLGxgFormCheckboxElement) =>\n (this.webPanelsCheckboxEl = el as HTMLGxgFormCheckboxElement)\n }\n checked={this.defaultConfiguration?.importWebPanels}\n ></gxg-form-checkbox>\n <gxg-form-checkbox\n label={this._componentLocale.filters.panelsCheckbox}\n part=\"panels-checkbox\"\n slot=\"footer-start\"\n ref={(el: HTMLGxgFormCheckboxElement) =>\n (this.panelsCheckboxEl = el as HTMLGxgFormCheckboxElement)\n }\n checked={\n this.defaultConfiguration.importPanels && this.canSelectPanels\n }\n disabled={!this.canSelectPanels}\n ></gxg-form-checkbox>\n </div>\n </div>\n <div class=\"filters__wrapper-right\">\n <gxg-combo-box\n label={this._componentLocale.filters.futureUpgradesComboLabel}\n disableFilter\n part=\"future-upgrades-combo\"\n ref={(el: HTMLGxgComboBoxElement) =>\n (this.futureUpgradesComboEl = el as HTMLGxgComboBoxElement)\n }\n value={this.defaultConfiguration.futureUpgrades}\n >\n <gxg-combo-box-item value=\"automatic\">\n {\n this._componentLocale.manageFutureUpgrades\n .installAutomatically\n }\n </gxg-combo-box-item>\n <gxg-combo-box-item value=\"prompt\">\n {this._componentLocale.manageFutureUpgrades.promptMe}\n </gxg-combo-box-item>\n <gxg-combo-box-item value=\"never\">\n {this._componentLocale.manageFutureUpgrades.neverUpdate}\n </gxg-combo-box-item>\n </gxg-combo-box>\n </div>\n </div>\n </div>\n );\n };\n\n // 10.RENDER() FUNCTION //\n\n render() {\n return (\n <Host class=\"gx-ide-component\">\n <div class=\"gx-ide-main-wrapper\">\n <gx-ide-container\n noHeadingPadding\n headingPaddingTop\n noContentPadding\n noContentGap\n noAboveFooterPadding\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n >\n {this.renderHeader()}\n {this.renderFilters()}\n <div class=\"footer-above\" slot=\"footer-above\">\n {this.configurationType === \"update\" ? (\n <div class=\"footer-above__left\">\n <p>{this._componentLocale.footer.footerRepairText}</p>\n </div>\n ) : null}\n\n <div class=\"footer-above__right\">\n {this.configurationType === \"update\" ? (\n [\n <p>{this._componentLocale.footer.footerSaveText}</p>,\n <p>{this._componentLocale.footer.footerCancelText}</p>\n ]\n ) : (\n // configurationType is \"installation\"\n <p>{this._componentLocale.footer.enableSecurity}</p>\n )}\n </div>\n </div>\n\n {this.configurationType === \"update\" ? (\n <gxg-button\n type=\"outlined\"\n slot=\"footer-start\"\n onClick={this.repairCallbackHandler}\n >\n {this._componentLocale.footer.repairButton}\n </gxg-button>\n ) : null}\n\n <gxg-button\n type=\"outlined\"\n slot=\"footer-end\"\n onClick={this.cancelCallbackHandler}\n >\n {this.configurationType === \"update\"\n ? this._componentLocale.footer.cancelButton\n : this._componentLocale.footer.no}\n </gxg-button>\n <gxg-button slot=\"footer-end\" onClick={this.saveCallbackHandler}>\n {this.configurationType === \"update\"\n ? this._componentLocale.footer.confirmButton\n : this._componentLocale.footer.yes}\n </gxg-button>\n </gx-ide-container>\n </div>\n </Host>\n );\n }\n}\n\nexport type GamConfigData = {\n importWebPanels: boolean;\n importPanels: boolean;\n futureUpgrades: \"never\" | \"prompt\" | \"automatic\";\n};\n\nexport type SaveCallback = (data: GamConfigData) => Promise<void>;\nexport type CancelCallback = () => Promise<void>;\nexport type RepairCallback = (config: GamConfigData) => Promise<void>;\n"]}
|
|
1
|
+
{"version":3,"file":"gam-installation-settings.js","sourceRoot":"","sources":["../../../src/components/gam-installation-settings/gam-installation-settings.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iEAAiE;AACjE,qBAAqB;AACrB,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAIlE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,MAAM,WAAW,GAAmB;IAClC,mBAAmB;IACnB,mBAAmB;IACnB,qBAAqB;IACrB,sBAAsB;IACtB,iBAAiB;IACjB,YAAY;IACZ,cAAc;IACd,kBAAkB;CACnB,CAAC;AAOF,MAAM,OAAO,4BAA4B;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E,EAAE,EAAC,gBAAgB,EACnB,KAAK,EAAC,gBAAgB,EACtB,OAAO,EAAE,uBAAA,IAAI,yDAAqB,EAClC,IAAI,EAAC,wBAAwB,WAGtB,CACL,CACF,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/* eslint-disable @stencil-community/own-props-must-be-private */\n/* STENCIL IMPORTS */\nimport { Component, Host, h, Prop, Element } from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { MercuryBundles } from \"@genexus/mercury\";\nimport { Locale } from \"../../common/locale\";\n\nconst CSS_BUNDLES: MercuryBundles = [\n \"resets/box-sizing\",\n \"components/button\",\n \"components/checkbox\",\n \"components/combo-box\",\n \"components/edit\",\n \"utils/form\",\n \"utils/layout\",\n \"utils/typography\"\n];\n@Component({\n tag: \"gx-ide-gam-installation-settings\",\n styleUrl: \"gam-installation-settings.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/gam-installation-settings\"]\n})\nexport class GxIdeGamInstallationSettings {\n /**\n * The component hard-coded strings translations.\n */\n #_componentLocale: any;\n\n @Element() el: HTMLGxIdeGamInstallationSettingsElement;\n\n #futureUpgradesComboEl!: HTMLChComboBoxRenderElement;\n #panelsCheckboxEl!: HTMLChCheckboxElement;\n #webPanelsCheckboxEl!: HTMLChCheckboxElement;\n\n /**\n * Callback invoked when the user wants to cancel the exportation process\n */\n @Prop() readonly cancelCallback: CancelCallback;\n\n /**\n * Determines 'Panels' checkbox activation, enabled only if an SD generator is in the KB.\n * Otherwise, the checkbox is disabled.\n */\n @Prop() readonly canSelectPanels: boolean = false;\n\n /**\n * Specifies the configuration type to be used\n */\n @Prop() readonly configurationType: \"installation\" | \"update\" =\n \"installation\";\n\n /**\n * Defines default config for initializing the dialog with stored gam config data\n */\n @Prop() readonly defaultConfiguration: GamConfigData | undefined = {\n importWebPanels: true,\n importPanels: false,\n futureUpgrades: \"prompt\"\n };\n\n /**\n * Callback invoked when the user press repair button\n */\n @Prop() readonly repairCallback: RepairCallback;\n\n /**\n * Callback invoked when the user initiates the export process\n */\n @Prop() readonly saveCallback: SaveCallback;\n\n async componentWillLoad() {\n this.#_componentLocale = await Locale.getComponentStrings(this.el);\n }\n\n #cancelCallbackHandler = () => {\n this.cancelCallback();\n };\n\n #repairCallbackHandler = async () => {\n if (this.saveCallback) {\n const data: GamConfigData = {\n importWebPanels: !!this.#webPanelsCheckboxEl.value,\n importPanels: !!this.#panelsCheckboxEl.value,\n futureUpgrades: this.#futureUpgradesComboEl.value\n ? (this.#futureUpgradesComboEl.value as ComboValues)\n : null\n };\n await this.repairCallback(data);\n }\n };\n\n #renderFilters = () => {\n return (\n <div\n class=\"field-group\"\n role=\"region\"\n aria-label={this.#_componentLocale.filters.filtersHeading}\n >\n <h5 class=\"subtitle-regular-s margin-block-end-s\">\n {this.#_componentLocale.filters.filtersHeading}\n </h5>\n\n <div class=\"filters__wrapper\">\n <div\n class=\"field-group\"\n role=\"group\"\n aria-labelledby=\"frontend-objects-label\"\n >\n <div class=\"field field-block\">\n <label id=\"frontend-objects-label\" class=\"label\">\n {this.#_componentLocale.filters.frontEndObjects}\n </label>\n\n <div class=\"field-group-inline\">\n <ch-checkbox\n class=\"checkbox\"\n checkedValue=\"webPanels\"\n value={\n this.defaultConfiguration?.importWebPanels\n ? \"webPanels\"\n : undefined\n }\n caption={this.#_componentLocale.filters.webPanelsCheckbox}\n ref={(el: HTMLChCheckboxElement) =>\n (this.#webPanelsCheckboxEl = el as HTMLChCheckboxElement)\n }\n part=\"web-panels-checkbox\"\n ></ch-checkbox>\n\n <ch-checkbox\n class=\"checkbox\"\n checkedValue=\"panels\"\n value={\n this.defaultConfiguration.importPanels &&\n this.canSelectPanels\n ? \"panels\"\n : undefined\n }\n caption={this.#_componentLocale.filters.panelsCheckbox}\n disabled={!this.canSelectPanels}\n ref={(el: HTMLChCheckboxElement) =>\n (this.#panelsCheckboxEl = el as HTMLChCheckboxElement)\n }\n part=\"panels-checkbox\"\n ></ch-checkbox>\n </div>\n </div>\n\n <div class=\"field field-block\">\n <label class=\"label\" htmlFor=\"future-upgrades-combo\">\n {this.#_componentLocale.filters.futureUpgradesComboLabel}\n </label>\n <ch-combo-box-render\n id=\"future-upgrades-combo\"\n class=\"combo-box\"\n value={this.defaultConfiguration.futureUpgrades}\n ref={(el: HTMLChComboBoxRenderElement) =>\n (this.#futureUpgradesComboEl =\n el as HTMLChComboBoxRenderElement)\n }\n model={[\n {\n value: \"automatic\",\n caption:\n this.#_componentLocale.manageFutureUpgrades\n .installAutomatically\n },\n {\n value: \"prompt\",\n caption:\n this.#_componentLocale.manageFutureUpgrades.promptMe\n },\n {\n value: \"never\",\n caption:\n this.#_componentLocale.manageFutureUpgrades.neverUpdate\n }\n ]}\n part=\"future-upgrades-combo\"\n ></ch-combo-box-render>\n </div>\n </div>\n </div>\n </div>\n );\n };\n\n #renderDescription = () => {\n return (\n <div class=\"description\">\n {this.configurationType === \"installation\"\n ? [\n <p class=\"text-body\">\n {\n this.#_componentLocale.header.headerTextInstallation\n .firstSentence\n }\n </p>,\n <p class=\"text-body\">\n {\n this.#_componentLocale.header.headerTextInstallation\n .secondSentence\n }\n </p>,\n <p class=\"text-body\">\n {\n this.#_componentLocale.header.headerTextInstallation\n .thirdSentence\n }\n </p>\n ]\n : [\n <p class=\"text-body\">\n {this.#_componentLocale.header.headerTextUpdate.firstSentence}\n </p>,\n <p class=\"text-body\">\n {this.#_componentLocale.header.headerTextUpdate.secondSentence}\n </p>\n ]}\n {/* header text */}\n </div>\n );\n };\n\n #saveCallbackHandler = async () => {\n if (this.saveCallback) {\n const data: GamConfigData = {\n importWebPanels: !!this.#webPanelsCheckboxEl.value,\n importPanels: !!this.#panelsCheckboxEl.value,\n futureUpgrades: this.#futureUpgradesComboEl.value\n ? (this.#futureUpgradesComboEl.value as ComboValues)\n : null\n };\n await this.saveCallback(data);\n }\n };\n\n render() {\n return (\n <Host class=\"widget spacing-body\">\n <ch-theme model={CSS_BUNDLES}></ch-theme>\n\n <div class=\"control-header control-header-with-border\">\n {this.#renderDescription()}\n </div>\n <div class=\"main-content field-group\">{this.#renderFilters()}</div>\n\n <div class=\"footer\">\n {this.configurationType === \"update\" && (\n <div class=\"footer-info\">\n <p>Use Repair to import GAM components again</p>\n </div>\n )}\n\n <div class=\"control-footer-with-border control-footer-space-between\">\n {this.configurationType === \"update\" && (\n <button\n id=\"repair-button\"\n class=\"button-secondary\"\n onClick={this.#repairCallbackHandler}\n part=\"button button--repair\"\n >\n Repair\n </button>\n )}\n <div class=\"buttons-spacer\">\n <button\n id=\"cancel-button\"\n class=\"button-secondary\"\n onClick={this.#cancelCallbackHandler}\n part=\"button button--cancel\"\n >\n Cancel\n </button>\n <button\n id=\"confirm-button\"\n class=\"button-primary\"\n onClick={this.#saveCallbackHandler}\n part=\"button button--confirm\"\n >\n Save\n </button>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n\nexport type CancelCallback = () => Promise<void>;\ntype ComboValues = \"automatic\" | \"prompt\" | \"never\";\nexport type GamConfigData = {\n importWebPanels: boolean;\n importPanels: boolean;\n futureUpgrades: \"never\" | \"prompt\" | \"automatic\";\n};\n\nexport type RepairCallback = (config: GamConfigData) => Promise<void>;\nexport type SaveCallback = (data: GamConfigData) => Promise<void>;\n"]}
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"filtersHeading": "Security Objects : Login, Not Authorized, Change Password, Register, etc",
|
|
24
24
|
"webPanelsCheckbox": "Web Panels",
|
|
25
25
|
"panelsCheckbox": "Panels",
|
|
26
|
-
"futureUpgradesComboLabel": "Select How to manage the future upgrades:"
|
|
26
|
+
"futureUpgradesComboLabel": "Select How to manage the future upgrades:",
|
|
27
|
+
"frontEndObjects": "Front End Objects"
|
|
27
28
|
},
|
|
28
29
|
"footer": {
|
|
29
30
|
"footerSaveText": "Select Save to Apply your Changes",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"filtersHeading": "セキュリティオブジェクト: ログイン、未承認、パスワード変更、登録など",
|
|
24
24
|
"webPanelsCheckbox": "Web パネル",
|
|
25
25
|
"panelsCheckbox": "パネル",
|
|
26
|
-
"futureUpgradesComboLabel": "今後のアップグレードの管理方法を選択:"
|
|
26
|
+
"futureUpgradesComboLabel": "今後のアップグレードの管理方法を選択:",
|
|
27
|
+
"frontEndObjects": ""
|
|
27
28
|
},
|
|
28
29
|
"footer": {
|
|
29
30
|
"footerSaveText": "保存を選択して変更を適用",
|
|
@@ -40,4 +41,4 @@
|
|
|
40
41
|
"title": "ロード中...",
|
|
41
42
|
"cancelLabel": "キャンセル"
|
|
42
43
|
}
|
|
43
|
-
}
|
|
44
|
+
}
|
|
@@ -51,18 +51,7 @@ const ASSISTANT_RESPONSE_MARKDOWN = `
|
|
|
51
51
|
### Horizontal Rules {#horizontal-rules}
|
|
52
52
|
To create a horizontal rule, use three or more asterisks (\`***\`), dashes (\`---\`), or underscores (\`___\`) on a line by themselves.
|
|
53
53
|
`;
|
|
54
|
-
const ASSISTANT_RESPONSE_SHORT_MARKDOWN = `
|
|
55
|
-
### Code block {#code-block}
|
|
56
|
-
To create code blocks, you’ll use three backticks (\` \`\`\` \`) or three tildes (\`~~~\`) on the lines before and after the code block.
|
|
57
|
-
|
|
58
|
-
\`\`\`json
|
|
59
|
-
{
|
|
60
|
-
"firstName": "John",
|
|
61
|
-
"lastName": "Smith",
|
|
62
|
-
"age": 25
|
|
63
|
-
}
|
|
64
|
-
\`\`\`
|
|
65
|
-
`;
|
|
54
|
+
const ASSISTANT_RESPONSE_SHORT_MARKDOWN = '\n### Code block {#code-block}\nTo create code blocks, you’ll use three backticks (` ``` `) or three tildes (`~~~`) on the lines before and after the code block.\n\n```json\n{\n "firstName": "John",\n "lastName": "Smith",\n "age": 25\n}\n```\n\nindex: 5\nindex: 5\nindex: 5\nindex: 5\nindex: 5\nindex: 5\nindex: 5\n';
|
|
66
55
|
const sendChatToLLM = () => {
|
|
67
56
|
// This is a WA to get the chat reference
|
|
68
57
|
const chatRef = document.querySelector("ch-chat");
|
|
@@ -235,7 +224,7 @@ export const codeFixerRecord = [
|
|
|
235
224
|
id: "8",
|
|
236
225
|
role: "assistant",
|
|
237
226
|
status: "waiting",
|
|
238
|
-
content: "
|
|
227
|
+
content: "You can provide further details or updates"
|
|
239
228
|
},
|
|
240
229
|
{
|
|
241
230
|
id: "9",
|