@genexus/genexus-ide-ui 0.0.115 → 0.0.117

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist/cjs/genexus-ide-ui.cjs.js +1 -1
  2. package/dist/cjs/gx-ide-bpm-app-declaration.cjs.entry.js.map +1 -1
  3. package/dist/cjs/gx-ide-bpm-assign-roles.cjs.entry.js +138 -0
  4. package/dist/cjs/gx-ide-bpm-assign-roles.cjs.entry.js.map +1 -0
  5. package/dist/cjs/{gx-ide-container_3.cjs.entry.js → gx-ide-container_2.cjs.entry.js} +127 -53
  6. package/dist/cjs/gx-ide-container_2.cjs.entry.js.map +1 -0
  7. package/dist/cjs/gx-ide-manage-module-references.cjs.entry.js +26 -24
  8. package/dist/cjs/gx-ide-manage-module-references.cjs.entry.js.map +1 -1
  9. package/dist/cjs/gx-ide-title_2.cjs.entry.js +77 -0
  10. package/dist/cjs/gx-ide-title_2.cjs.entry.js.map +1 -0
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/collection/collection-manifest.json +2 -1
  13. package/dist/collection/components/{bpm-application-declaration → bpm/application-declaration}/bpm-app-declaration.js +19 -19
  14. package/dist/collection/components/bpm/application-declaration/bpm-app-declaration.js.map +1 -0
  15. package/dist/collection/components/bpm/application-declaration/helpers.js.map +1 -0
  16. package/dist/collection/components/bpm/assign-roles/assign-roles.css +557 -0
  17. package/dist/collection/components/bpm/assign-roles/assign-roles.js +265 -0
  18. package/dist/collection/components/bpm/assign-roles/assign-roles.js.map +1 -0
  19. package/dist/collection/components/bpm/assign-roles/gx-ide-assets/bpm-assign-roles/langs/bpm-assign-roles.lang.en.json +24 -0
  20. package/dist/collection/components/bpm/assign-roles/gx-ide-assets/bpm-assign-roles/langs/bpm-assign-roles.lang.ja.json +3 -0
  21. package/dist/collection/components/bpm/assign-roles/gx-ide-assets/bpm-assign-roles/langs/bpm-assign-roles.lang.zh.json +3 -0
  22. package/dist/collection/components/modules/manage-module-references/manage-module-references.css +4 -0
  23. package/dist/collection/components/modules/manage-module-references/manage-module-references.js +29 -26
  24. package/dist/collection/components/modules/manage-module-references/manage-module-references.js.map +1 -1
  25. package/dist/components/gx-ide-bpm-app-declaration.js.map +1 -1
  26. package/dist/components/gx-ide-bpm-assign-roles.d.ts +11 -0
  27. package/dist/components/gx-ide-bpm-assign-roles.js +236 -0
  28. package/dist/components/gx-ide-bpm-assign-roles.js.map +1 -0
  29. package/dist/components/gx-ide-manage-module-references.js +27 -24
  30. package/dist/components/gx-ide-manage-module-references.js.map +1 -1
  31. package/dist/esm/genexus-ide-ui.js +1 -1
  32. package/dist/esm/gx-ide-bpm-app-declaration.entry.js.map +1 -1
  33. package/dist/esm/gx-ide-bpm-assign-roles.entry.js +134 -0
  34. package/dist/esm/gx-ide-bpm-assign-roles.entry.js.map +1 -0
  35. package/dist/esm/{gx-ide-container_3.entry.js → gx-ide-container_2.entry.js} +128 -53
  36. package/dist/esm/gx-ide-container_2.entry.js.map +1 -0
  37. package/dist/esm/gx-ide-manage-module-references.entry.js +26 -24
  38. package/dist/esm/gx-ide-manage-module-references.entry.js.map +1 -1
  39. package/dist/esm/gx-ide-title_2.entry.js +72 -0
  40. package/dist/esm/gx-ide-title_2.entry.js.map +1 -0
  41. package/dist/esm/loader.js +1 -1
  42. package/dist/genexus-ide-ui/genexus-ide-ui.css +2 -2
  43. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
  44. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js.map +1 -1
  45. package/dist/genexus-ide-ui/gx-ide-assets/bpm-assign-roles/langs/bpm-assign-roles.lang.en.json +24 -0
  46. package/dist/genexus-ide-ui/gx-ide-assets/bpm-assign-roles/langs/bpm-assign-roles.lang.ja.json +3 -0
  47. package/dist/genexus-ide-ui/gx-ide-assets/bpm-assign-roles/langs/bpm-assign-roles.lang.zh.json +3 -0
  48. package/dist/genexus-ide-ui/{p-9d7a1451.entry.js → p-3ad793aa.entry.js} +89 -165
  49. package/dist/genexus-ide-ui/p-3ad793aa.entry.js.map +1 -0
  50. package/dist/genexus-ide-ui/{p-6b0ea3c8.entry.js → p-7a5810d6.entry.js} +192 -116
  51. package/dist/genexus-ide-ui/p-7a5810d6.entry.js.map +1 -0
  52. package/dist/genexus-ide-ui/p-874d336e.entry.js +232 -0
  53. package/dist/genexus-ide-ui/p-874d336e.entry.js.map +1 -0
  54. package/dist/genexus-ide-ui/{p-ef061e8e.entry.js → p-b19e8dbf.entry.js} +31 -27
  55. package/dist/genexus-ide-ui/p-b19e8dbf.entry.js.map +1 -0
  56. package/dist/genexus-ide-ui/p-b4294776.entry.js.map +1 -1
  57. package/dist/types/components/{bpm-application-declaration → bpm/application-declaration}/bpm-app-declaration.d.ts +1 -1
  58. package/dist/types/components/bpm/assign-roles/assign-roles.d.ts +59 -0
  59. package/dist/types/components/modules/manage-module-references/manage-module-references.d.ts +5 -1
  60. package/dist/types/components.d.ts +132 -58
  61. package/package.json +3 -3
  62. package/dist/cjs/gx-ide-container_3.cjs.entry.js.map +0 -1
  63. package/dist/cjs/gxg-form-checkbox.cjs.entry.js +0 -151
  64. package/dist/cjs/gxg-form-checkbox.cjs.entry.js.map +0 -1
  65. package/dist/collection/components/bpm-application-declaration/bpm-app-declaration.js.map +0 -1
  66. package/dist/collection/components/bpm-application-declaration/helpers.js.map +0 -1
  67. package/dist/esm/gx-ide-container_3.entry.js.map +0 -1
  68. package/dist/esm/gxg-form-checkbox.entry.js +0 -147
  69. package/dist/esm/gxg-form-checkbox.entry.js.map +0 -1
  70. package/dist/genexus-ide-ui/p-6b0ea3c8.entry.js.map +0 -1
  71. package/dist/genexus-ide-ui/p-9d7a1451.entry.js.map +0 -1
  72. package/dist/genexus-ide-ui/p-ef061e8e.entry.js.map +0 -1
  73. /package/dist/collection/components/{bpm-application-declaration → bpm/application-declaration}/bpm-app-declaration.css +0 -0
  74. /package/dist/collection/components/{bpm-application-declaration → bpm/application-declaration}/gx-ide-assets/bpm-app-declaration/langs/bpm-app-declaration.lang.en.json +0 -0
  75. /package/dist/collection/components/{bpm-application-declaration → bpm/application-declaration}/gx-ide-assets/bpm-app-declaration/langs/bpm-app-declaration.lang.ja.json +0 -0
  76. /package/dist/collection/components/{bpm-application-declaration → bpm/application-declaration}/gx-ide-assets/bpm-app-declaration/langs/bpm-app-declaration.lang.zh.json +0 -0
  77. /package/dist/collection/components/{bpm-application-declaration → bpm/application-declaration}/gx-ide-assets/bpm-app-declaration/shortcuts.json +0 -0
  78. /package/dist/collection/components/{bpm-application-declaration → bpm/application-declaration}/helpers.js +0 -0
  79. /package/dist/types/components/{bpm-application-declaration → bpm/application-declaration}/helpers.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpm-app-declaration.js","sourceRoot":"","sources":["../../../../src/components/bpm/application-declaration/bpm-app-declaration.tsx"],"names":[],"mappings":"AAAA,qBAAqB;AACrB,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,EACJ,KAAK,EACL,OAAO,EACP,KAAK,EAEL,KAAK,EACL,YAAY,EACb,MAAM,eAAe,CAAC;AACvB,6BAA6B;AAC7B,oBAAoB;AACpB,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,0CAA0C,EAAE,MAAM,WAAW,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAQlD,MAAM,OAAO,sBAAsB;;QAqBzB,sBAAiB,GAAG,KAAK,CAAC;QAC1B,iBAAY,GAAG,YAAY,CACjC,oDAAoD,CACrD,CAAC;QA+FF,iBAAiB;QAEjB,0BAA0B;QAE1B,qBAAqB;QAEb,8BAAyB,GAAG,KAAK,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,IAEnB,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,YAAY,CAChC;oBACb,kBACE,IAAI,EAAC,mBAAmB,EACxB,IAAI,EAAC,YAAY,EACjB,IAAI,EAAC,mBAAmB,EACxB,OAAO,EAAE,IAAI,CAAC,sBAAsB,EACpC,IAAI,EAAC,gBAAgB,IAEpB,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,aAAa,CACjC,CACI,CACf;YACN,qBAAe,GAAG,EAAE,IAAI,CAAC,YAAY,GAAkB,CAClD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/* STENCIL IMPORTS */\nimport {\n Component,\n Host,\n h,\n Prop,\n State,\n Element,\n Event,\n EventEmitter,\n Watch,\n getAssetPath\n} from \"@stencil/core\";\n/* OTHER LIBRARIES IMPORTS */\n/* CUSTOM IMPORTS */\nimport { Locale } from \"../../../common/locale\";\nimport { config } from \"../../../common/config\";\nimport { SuggestData } from \"@genexus/chameleon-controls-library/dist/types/components/suggest/ch-suggest\";\nimport { renderSuggestLists } from \"../../../common/render-suggest\";\nimport { renderComboItems } from \"../../../common/render-combo-items\";\nimport { convertSuggestedApplicationsToSuggestItems } from \"./helpers\";\nimport { gridCommon } from \"../../../common/grid\";\nimport { GxOption } from \"../../../common/types\";\n@Component({\n tag: \"gx-ide-bpm-app-declaration\",\n styleUrl: \"bpm-app-declaration.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/bpm-app-declaration\"]\n})\nexport class GxIdeBpmAppDeclaration {\n /*\nINDEX:\n1.OWN PROPERTIES \n2.REFERENCE TO ELEMENTS\n3.STATE() VARIABLES\n4.PUBLIC PROPERTY API | WATCH'S\n5.EVENTS (EMIT)\n6.COMPONENT LIFECYCLE METHODS\n7.LISTENERS\n8.PUBLIC METHODS API\n9.LOCAL METHODS\n10.RENDER() FUNCTION\n*/\n\n // 1.OWN PROPERTIES //\n\n /**\n * The component hard-coded strings translations.\n */\n private _componentLocale: any;\n private renderedFirstTime = false;\n private shortcutsSrc = getAssetPath(\n `./gx-ide-assets/bpm-app-declaration/shortcuts.json`\n );\n\n /**\n * The state of the actual application. Used to add a new 'Relevant data' option on 'selectMappingCallback', and update the application with the new option\n */\n private applicationState: ApplicationDeclarationData;\n\n // 2. REFERENCE TO ELEMENTS //\n\n @Element() el: HTMLGxIdeBpmAppDeclarationElement;\n private applicationSuggestEl: HTMLChSuggestElement;\n\n // 3.STATE() VARIABLES //\n\n /**\n * Possible suggestions for the applications\n */\n @State() suggestedApplications: SuggestData;\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 * Current application value\n */\n @Prop({ mutable: true }) application: ApplicationDeclarationData;\n\n @Watch(\"application\")\n watchApplicationHandler(newApplication: ApplicationDeclarationData) {\n this.applicationState = newApplication;\n }\n\n /**\n * Callback invoked to get options for application input suggest\n */\n @Prop() readonly suggestApplicationsCallback: SuggestApplicationsCallback;\n\n /**\n * Callback invoked to get access to selection application dialog\n */\n @Prop() readonly selectApplicationCallback: SelectApplicationCallback;\n\n /**\n * Callback invoked when user press mapping auto-def button\n */\n @Prop() readonly selectMappingCallback: SelectMappingCallback;\n\n /**\n * Callback invoked when user confirms application declaration\n */\n @Prop() readonly confirmCallback: ConfirmCallback;\n\n /**\n * Callback invoked when user cancels application declaration\n */\n @Prop() readonly cancelCallback: CancelCallback;\n\n /**\n * Callback invoked when user select one of the options provided by the suggest\n */\n @Prop() readonly getDataMappingCallback: GetDataMappingCallback;\n\n // 5.EVENTS (EMIT) //\n\n /**\n * @description Gets fired when the component has rendered for the first time.\n */\n @Event() componentDidRenderFirstTime: EventEmitter<string>;\n\n // 6.COMPONENT LIFECYCLE METHODS //\n\n async componentWillLoad() {\n this._componentLocale = await Locale.getComponentStrings(this.el);\n this.applicationState = this.application;\n }\n\n async componentDidLoad() {\n /* this.applicationSuggestValueChangedHandler(this.applicationText); */\n this.listenApplicationSelected();\n this.applicationSuggestEl.focus();\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 listenApplicationSelected = async () => {\n this.applicationSuggestEl.addEventListener(\"itemSelected\", (e: any) => {\n this.getDataMappingCallbackHandler(e.detail.value);\n });\n };\n\n private applicationSuggestValueChangedHandler = async (\n e: CustomEvent<string>\n ) => {\n const value = e.detail;\n this.suggestApplicationsCallback(value)\n .then(result => {\n this.suggestedApplications =\n convertSuggestedApplicationsToSuggestItems(result);\n })\n .catch(() => {\n // to do\n });\n };\n\n private getDataMappingCallbackHandler = async (applicationName: string) => {\n this.application = await this.getDataMappingCallback(applicationName);\n };\n\n private selectApplicationCallbackHandler = async () => {\n const callbackResult = await this.selectApplicationCallback();\n if (callbackResult) {\n this.application = callbackResult;\n }\n };\n\n private confirmCallbackHandler = async () => {\n await this.confirmCallback(this.application);\n };\n\n private cancelCallbackHandler = async () => {\n await this.cancelCallback();\n };\n\n private selectMappingCallbackHandler = (parameter: string) => async () => {\n if (this.selectMappingCallback) {\n const newRelevantData = await this.selectMappingCallback(parameter);\n if (newRelevantData) {\n // update actual application with new relevant data option\n // first find mapping index\n const dataIndex: number = this.applicationState.mappings.findIndex(\n mapping => {\n return mapping.parameter === parameter;\n }\n );\n if (dataIndex !== -1) {\n // new relevant data could be new, or already existent.\n const found = this.applicationState.mappings[\n dataIndex\n ].relevantDataOptions.find(option => {\n return option === newRelevantData;\n });\n if (!found) {\n // new. add.\n this.applicationState.mappings[dataIndex].relevantDataOptions.push(\n newRelevantData\n );\n }\n // always set this data as selected\n this.applicationState.mappings[dataIndex].relevantData =\n newRelevantData;\n // update\n this.application = { ...this.applicationState };\n }\n }\n }\n };\n\n private dataOptionsToComboItems = (\n relevantDataOptions: string[]\n ): GxOption[] => {\n const gxOptions: GxOption[] = [\n { id: this._componentLocale.dataMappings.emptyOption }\n ];\n relevantDataOptions.forEach(relevantOption => {\n const gxOption: GxOption = { id: relevantOption };\n gxOptions.push(gxOption);\n });\n return gxOptions;\n };\n\n private clearApplicationHandler = () => {\n this.application = {\n application: undefined,\n mappings: []\n };\n };\n\n private renderDataMappingsGrid = (): Element => {\n return (\n <gxg-grid ellipsis-cell-wrapper noBorder>\n <ch-grid part=\"ch-grid-data-mappings\">\n <ch-grid-columnset>\n <ch-grid-column\n columnName={\n this.application.application?.typeIcon === \"objects/transaction\"\n ? this._componentLocale.dataMappings.firstColName\n : this._componentLocale.dataMappings.firstColNameParameter\n }\n settingable={false}\n size={gridCommon.colSize.common}\n ></ch-grid-column>\n\n <ch-grid-column\n columnName={this._componentLocale.dataMappings.secondColName}\n settingable={false}\n sortable={false}\n size={gridCommon.colSize.common}\n ></ch-grid-column>\n <ch-grid-column\n settingable={false}\n sortable={false}\n size={gridCommon.colSize.auto}\n ></ch-grid-column>\n </ch-grid-columnset>\n\n {this.application.mappings.map((obj: DataMappingData, index) => (\n <ch-grid-row rowId={index + obj.parameter}>\n <ch-grid-cell>\n <span class=\"cell-wrapper\">{`${obj.access}: ${obj.parameter}`}</span>\n </ch-grid-cell>\n <ch-grid-cell>\n <span class=\"cell-wrapper\">\n <gxg-combo-box disableFilter value={obj.relevantData}>\n {renderComboItems(\n this.dataOptionsToComboItems(obj.relevantDataOptions) ??\n []\n )}\n </gxg-combo-box>\n {/* <div class=\"row-button\">{obj.relevantData}</div> */}\n </span>\n </ch-grid-cell>\n <ch-grid-cell>\n <span class=\"cell-wrapper\">\n <gxg-button\n data-index={index}\n type=\"secondary-icon-only\"\n icon=\"gemini-tools/add\"\n onClick={this.selectMappingCallbackHandler(obj.parameter)}\n class=\"select-mapping-callback-button\"\n ></gxg-button>\n </span>\n </ch-grid-cell>\n </ch-grid-row>\n ))}\n </ch-grid>\n </gxg-grid>\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 noContentPadding\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n >\n <header slot=\"header\" class=\"header\">\n <div class=\"header__first-row\">\n <gxg-suggest class=\"application-suggest\">\n <ch-suggest\n value={this.application.application?.name || null}\n onValueChanged={this.applicationSuggestValueChangedHandler}\n ref={el =>\n (this.applicationSuggestEl = el as HTMLChSuggestElement)\n }\n part=\"application-suggest\"\n >\n {renderSuggestLists(this.suggestedApplications)}\n </ch-suggest>\n </gxg-suggest>\n <gxg-button\n type=\"secondary-icon-only\"\n icon=\"gemini-tools/show-more-horizontal\"\n onClick={this.selectApplicationCallbackHandler}\n class=\"selector-dialog-button\"\n part=\"open-selector-dialog-button\"\n ></gxg-button>\n <gxg-button\n type=\"outlined\"\n part=\"clear-application-button\"\n onClick={this.clearApplicationHandler}\n >\n Clear\n </gxg-button>\n </div>\n <div class=\"header__second-row\">\n <gx-ide-title type=\"secondary\">\n {this._componentLocale.dataMappings.title}\n </gx-ide-title>\n </div>\n </header>\n\n <div class=\"data-mappings\">{this.renderDataMappingsGrid()}</div>\n <gxg-button\n type=\"secondary-text-only\"\n slot=\"footer-end\"\n onClick={this.cancelCallbackHandler}\n part=\"cancel-button\"\n >\n {this._componentLocale.buttons.cancelButton}\n </gxg-button>\n <gxg-button\n type=\"primary-text-only\"\n slot=\"footer-end\"\n icon=\"general/datastore\"\n onClick={this.confirmCallbackHandler}\n part=\"confirm-button\"\n >\n {this._componentLocale.buttons.confirmButton}\n </gxg-button>\n </gx-ide-container>\n </div>\n <gxg-shortcuts src={this.shortcutsSrc}></gxg-shortcuts>\n </Host>\n );\n }\n}\n\nexport type ApplicationDeclarationData = {\n application?: ApplicationData;\n mappings: DataMappingData[];\n};\nexport type ApplicationData = {\n name: string;\n typeIcon: string;\n};\n\nexport type DataMappingData = {\n parameter: string;\n access: \"in\" | \"out\" | \"in-out\";\n relevantDataOptions: string[];\n relevantData?: string;\n};\n\nexport type SuggestApplicationsCallback = (\n prefix: string\n) => Promise<string[] | undefined>;\n\nexport type SelectApplicationCallback = () => Promise<\n ApplicationDeclarationData | undefined\n>;\n\nexport type SelectMappingCallback = (parameter: string) => Promise<string>;\n\nexport type ConfirmCallback = (\n data: ApplicationDeclarationData\n) => Promise<void>;\n\nexport type CancelCallback = () => Promise<void>;\n\nexport type GetDataMappingCallback = (\n applicationName: string\n) => Promise<ApplicationDeclarationData>;\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../src/components/bpm/application-declaration/helpers.ts"],"names":[],"mappings":"AAKA,qBAAqB;AAErB;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACxD,qBAA+B,EAClB,EAAE;IACf,MAAM,WAAW,GAAgB;QAC/B,YAAY,EAAE,IAAI;QAClB,YAAY,EAAE,EAAE;KACjB,CAAC;IACF,IAAI,qBAAqB,CAAC,MAAM,EAAE;QAChC,MAAM,WAAW,GAAoB;YACnC,KAAK,EAAE,cAAc;YACrB,KAAK,EAAE,EAAE;SACV,CAAC;QACF,qBAAqB,CAAC,OAAO,CAAC,CAAC,oBAA4B,EAAE,EAAE;YAC7D,MAAM,WAAW,GAAoB;gBACnC,KAAK,EAAE,oBAAoB;gBAC3B,WAAW,EAAE,IAAI;gBACjB,IAAI,EAAE,IAAI;aACX,CAAC;YACF,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;QACH,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KAC5C;IACD,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC","sourcesContent":["/* Ch Suggest*/\nimport { SuggestItemData } from \"@genexus/chameleon-controls-library/dist/types/components/suggest/suggest-list-item/ch-suggest-list-item\";\nimport { SuggestListData } from \"@genexus/chameleon-controls-library/dist/types/components/suggest/suggest-list/ch-suggest-list\";\nimport { SuggestData } from \"@genexus/chameleon-controls-library/dist/types/components/suggest/ch-suggest\";\n\n/* References Types*/\n\n/**\n * @description This function converts string[] to SuggestItemData[]\n */\nexport const convertSuggestedApplicationsToSuggestItems = (\n suggestedApplications: string[]\n): SuggestData => {\n const suggestData: SuggestData = {\n suggestItems: null,\n suggestLists: []\n };\n if (suggestedApplications.length) {\n const suggestList: SuggestListData = {\n label: \"Applications\",\n items: []\n };\n suggestedApplications.forEach((suggestedApplication: string) => {\n const suggestItem: SuggestItemData = {\n value: suggestedApplication,\n description: null,\n icon: null\n };\n suggestList.items.push(suggestItem);\n });\n suggestData.suggestLists.push(suggestList);\n }\n return suggestData;\n};\n"]}
@@ -0,0 +1,557 @@
1
+ :root {
2
+ --ui-animaton-speed: 0.2s;
3
+ }
4
+
5
+ /*ALIGNMENT*/
6
+ /*Ellipsis*/
7
+ /*****************************************************
8
+ TYPOGRAPHY
9
+ *****************************************************/
10
+ /*Title 01 (Positive)*/
11
+ .gxg-title-01 {
12
+ font-family: var(--ds-base-font-family-primary);
13
+ font-weight: var(--ds-title-01-font-weight);
14
+ font-size: var(--ds-title-01-font-size);
15
+ letter-spacing: var(--ds-base-font-letter-spacing--comfortable);
16
+ color: var(--ds-base-font-color);
17
+ text-align: start;
18
+ line-height: var(--ds-base-font-line-height--comfortable);
19
+ }
20
+
21
+ /*Title 01 (Negative)*/
22
+ .gxg-title-01--negative {
23
+ font-family: var(--ds-base-font-family-primary);
24
+ font-weight: var(--ds-title-01-font-weight);
25
+ font-size: var(--ds-title-01-font-size);
26
+ letter-spacing: var(--ds-base-font-letter-spacing--comfortable);
27
+ color: var(--ds-base-font-color);
28
+ text-align: start;
29
+ line-height: var(--ds-base-font-line-height--comfortable);
30
+ color: var(--ds-base-font-color--negative);
31
+ }
32
+
33
+ /*Title 02 (Positive)*/
34
+ .gxg-title-02 {
35
+ font-family: var(--ds-base-font-family-primary);
36
+ font-weight: var(--ds-title-02-font-weight);
37
+ font-size: var(--ds-title-02-font-size);
38
+ letter-spacing: var(--ds-base-font-letter-spacing--regular);
39
+ color: var(--ds-base-font-color);
40
+ text-align: start;
41
+ text-transform: uppercase;
42
+ line-height: var(--ds-base-font-line-height--comfortable);
43
+ }
44
+
45
+ .gxg-title-02--negative {
46
+ font-family: var(--ds-base-font-family-primary);
47
+ font-weight: var(--ds-title-02-font-weight);
48
+ font-size: var(--ds-title-02-font-size);
49
+ letter-spacing: var(--ds-base-font-letter-spacing--regular);
50
+ color: var(--ds-base-font-color);
51
+ text-align: start;
52
+ text-transform: uppercase;
53
+ line-height: var(--ds-base-font-line-height--comfortable);
54
+ color: var(--color-on-primary);
55
+ }
56
+
57
+ /*Title 03*/
58
+ .gxg-title-03 {
59
+ font-family: var(--ds-base-font-family-primary);
60
+ font-weight: var(--ds-title-03-font-weight);
61
+ font-size: var(--ds-title-03-font-size);
62
+ letter-spacing: var(--ds-base-font-letter-spacing--regular);
63
+ color: var(--ds-base-font-color);
64
+ text-align: start;
65
+ text-transform: uppercase;
66
+ line-height: var(--ds-base-font-line-height--comfortable);
67
+ }
68
+
69
+ .gxg-title-03--negative {
70
+ font-family: var(--ds-base-font-family-primary);
71
+ font-weight: var(--ds-title-03-font-weight);
72
+ font-size: var(--ds-title-03-font-size);
73
+ letter-spacing: var(--ds-base-font-letter-spacing--regular);
74
+ color: var(--ds-base-font-color);
75
+ text-align: start;
76
+ text-transform: uppercase;
77
+ line-height: var(--ds-base-font-line-height--comfortable);
78
+ color: var(--ds-base-font-color--negative);
79
+ }
80
+
81
+ /*Title 04*/
82
+ .gxg-title-04 {
83
+ font-family: var(--ds-base-font-family-primary);
84
+ font-weight: var(--ds-title-04-font-weight);
85
+ font-size: var(--ds-title-04-font-size);
86
+ letter-spacing: var(--ds-base-font-letter-spacing--comfortable);
87
+ color: var(--ds-base-font-color);
88
+ text-align: start;
89
+ line-height: var(--ds-base-font-line-height--comfortable);
90
+ }
91
+
92
+ .gxg-title-04--negative {
93
+ font-family: var(--ds-base-font-family-primary);
94
+ font-weight: var(--ds-title-04-font-weight);
95
+ font-size: var(--ds-title-04-font-size);
96
+ letter-spacing: var(--ds-base-font-letter-spacing--comfortable);
97
+ color: var(--ds-base-font-color);
98
+ text-align: start;
99
+ line-height: var(--ds-base-font-line-height--comfortable);
100
+ color: var(--ds-base-font-color--negative);
101
+ }
102
+
103
+ /*Title 05*/
104
+ .gxg-title-05 {
105
+ font-family: var(--ds-base-font-family-primary);
106
+ font-weight: var(--ds-title-05-font-weight);
107
+ font-size: var(--ds-title-05-font-size);
108
+ letter-spacing: var(--ds-base-font-letter-spacing--regular);
109
+ color: var(--ds-base-font-color);
110
+ text-align: start;
111
+ line-height: var(--ds-base-font-line-height--comfortable);
112
+ }
113
+
114
+ .gxg-title-05--negative {
115
+ font-family: var(--ds-base-font-family-primary);
116
+ font-weight: var(--ds-title-05-font-weight);
117
+ font-size: var(--ds-title-05-font-size);
118
+ letter-spacing: var(--ds-base-font-letter-spacing--regular);
119
+ color: var(--ds-base-font-color);
120
+ text-align: start;
121
+ line-height: var(--ds-base-font-line-height--comfortable);
122
+ color: var(--ds-base-font-color--negative);
123
+ }
124
+
125
+ /*Text*/
126
+ .gxg-text {
127
+ font-family: var(--ds-base-font-family-primary);
128
+ font-size: var(--ds-base-font-size);
129
+ color: var(--ds-base-font-size-color);
130
+ font-weight: var(--ds-base-font-size-weight);
131
+ line-height: var(--ds-base-font-line-height--comfortable);
132
+ }
133
+
134
+ .gxg-text--negative {
135
+ font-family: var(--ds-base-font-family-primary);
136
+ font-size: var(--ds-base-font-size);
137
+ color: var(--ds-base-font-size-color);
138
+ font-weight: var(--ds-base-font-size-weight);
139
+ line-height: var(--ds-base-font-line-height--comfortable);
140
+ color: var(--ds-base-font-color--negative);
141
+ }
142
+
143
+ .gxg-text--gray {
144
+ font-family: var(--ds-base-font-family-primary);
145
+ font-size: var(--ds-base-font-size);
146
+ color: var(--ds-base-font-size-color);
147
+ font-weight: var(--ds-base-font-size-weight);
148
+ line-height: var(--ds-base-font-line-height--comfortable);
149
+ color: var(--ds-base-font-color--dimmed);
150
+ }
151
+
152
+ /*Quote*/
153
+ .gxg-quote {
154
+ font-family: var(--ds-base-font-family-primary);
155
+ font-size: var(--ds-base-font-size);
156
+ color: var(--ds-base-font-size-color);
157
+ font-weight: var(--ds-base-font-size-weight);
158
+ line-height: var(--ds-base-font-line-height--comfortable);
159
+ font-style: italic;
160
+ }
161
+
162
+ .gxg-quote--negative {
163
+ color: var(--ds-base-font-color--negative);
164
+ }
165
+
166
+ /*Link*/
167
+ .gxg-link {
168
+ line-height: unset;
169
+ font-family: var(--ds-base-font-family-primary);
170
+ font-size: var(--ds-base-font-size);
171
+ color: var(--ds-base-font-size-color);
172
+ font-weight: var(--ds-base-font-size-weight);
173
+ line-height: var(--ds-base-font-line-height--comfortable);
174
+ color: var(--ds-base-font-color--link);
175
+ text-decoration: underline;
176
+ cursor: pointer;
177
+ display: inline-block;
178
+ }
179
+ .gxg-link:hover {
180
+ color: var(--ds-base-font-color--link-hover);
181
+ }
182
+ .gxg-link:active {
183
+ color: var(--ds-base-font-color--link-active);
184
+ }
185
+
186
+ .gxg-link-gray {
187
+ line-height: unset;
188
+ font-family: var(--ds-base-font-family-primary);
189
+ font-size: var(--ds-base-font-size);
190
+ color: var(--ds-base-font-size-color);
191
+ font-weight: var(--ds-base-font-size-weight);
192
+ line-height: var(--ds-base-font-line-height--comfortable);
193
+ color: var(--ds-base-font-color--link);
194
+ text-decoration: underline;
195
+ cursor: pointer;
196
+ display: inline-block;
197
+ color: var(--ds-base-font-color--dimmed);
198
+ }
199
+ .gxg-link-gray:hover {
200
+ line-height: unset;
201
+ font-family: var(--ds-base-font-family-primary);
202
+ font-size: var(--ds-base-font-size);
203
+ color: var(--ds-base-font-size-color);
204
+ font-weight: var(--ds-base-font-size-weight);
205
+ line-height: var(--ds-base-font-line-height--comfortable);
206
+ color: var(--ds-base-font-color--link);
207
+ text-decoration: underline;
208
+ cursor: pointer;
209
+ display: inline-block;
210
+ color: var(--ds-base-font-color--dimmed);
211
+ filter: brightness(1.4);
212
+ }
213
+
214
+ /*Alerts*/
215
+ .gxg-alert-error {
216
+ font-family: var(--ds-base-font-family-primary);
217
+ font-size: var(--ds-base-font-size);
218
+ color: var(--ds-base-font-size-color);
219
+ font-weight: var(--ds-base-font-size-weight);
220
+ line-height: var(--ds-base-font-line-height--comfortable);
221
+ color: var(--ds-base-font-color--error);
222
+ display: inline-block;
223
+ }
224
+
225
+ .gxg-alert-warning {
226
+ font-family: var(--ds-base-font-family-primary);
227
+ font-size: var(--ds-base-font-size);
228
+ color: var(--ds-base-font-size-color);
229
+ font-weight: var(--ds-base-font-size-weight);
230
+ line-height: var(--ds-base-font-line-height--comfortable);
231
+ color: var(--ds-base-font-color--warning);
232
+ display: inline-block;
233
+ }
234
+
235
+ .gxg-alert-success {
236
+ font-family: var(--ds-base-font-family-primary);
237
+ font-size: var(--ds-base-font-size);
238
+ color: var(--ds-base-font-size-color);
239
+ font-weight: var(--ds-base-font-size-weight);
240
+ line-height: var(--ds-base-font-line-height--comfortable);
241
+ color: var(--ds-base-font-color--success);
242
+ display: inline-block;
243
+ }
244
+
245
+ /*Tab*/
246
+ .gxg-tab--disabled {
247
+ color: var(--color-primary-disabled);
248
+ pointer-events: none;
249
+ }
250
+ .gxg-tab--disabled[disabled] {
251
+ color: var(--color-primary-disabled);
252
+ pointer-events: none;
253
+ }
254
+
255
+ /*Label*/
256
+ .gxg-label {
257
+ font-family: var(--ds-base-font-family-primary);
258
+ font-weight: var(--gxg-label-font-weight);
259
+ font-size: var(--gxg-label-font-size);
260
+ color: var(--gxg-label-color);
261
+ text-align: center;
262
+ line-height: 1.455em;
263
+ display: flex;
264
+ align-items: center;
265
+ }
266
+ .gxg-label:hover {
267
+ color: var(--color-primary-hover);
268
+ }
269
+ .gxg-label:focus {
270
+ color: var(--color-primary-active);
271
+ }
272
+ .gxg-label:active {
273
+ color: var(--color-primary-active);
274
+ }
275
+ .gxg-label[disabled] {
276
+ color: var(--color-primary-disabled);
277
+ }
278
+
279
+ .gxg-label--negative {
280
+ color: var(--color-on-primary);
281
+ }
282
+ .gxg-label--negative[disabled] {
283
+ color: var(--color-on-disabled);
284
+ }
285
+
286
+ /*****************************************************
287
+ GXG-BUTTON and GXG-BUTTON-GROUP COMMON STYLES
288
+ *****************************************************/
289
+ /*****************************************************
290
+ FORM ELEMENTS
291
+ *****************************************************/
292
+ .gxg-scrollbar {
293
+ /* Track */
294
+ /* Handle */
295
+ /* Handle on hover */
296
+ }
297
+ .gxg-scrollbar::-webkit-scrollbar {
298
+ width: var(--gxg-scrollbar-width);
299
+ height: var(--gxg-scrollbar-width);
300
+ }
301
+ .gxg-scrollbar::-webkit-scrollbar-track {
302
+ background-color: var(--gxg-scrollbar-track-background);
303
+ border-radius: var(--gxg-scrollbar-track-border-radius);
304
+ }
305
+ .gxg-scrollbar::-webkit-scrollbar-thumb {
306
+ background-color: var(--gxg-scrollbar-track-thumb-background);
307
+ border-radius: var(--gxg-scrollbar-track-thumb-radius);
308
+ }
309
+ .gxg-scrollbar::-webkit-scrollbar-thumb:hover {
310
+ background-color: var(--gxg-scrollbar-track-thumb-hover-background);
311
+ }
312
+ .gxg-scrollbar::-webkit-scrollbar-corner {
313
+ background: rgba(0, 0, 0, 0);
314
+ }
315
+
316
+ /*Gx Ide*/
317
+ /*@container queries*/
318
+ /* hiChar styles
319
+ Found on /common/helpers.tsx hiChar function is used to add a span/class to every character that matches a search value. It is used to help the user see why the filter results are filtered. The span/class on the characters are useless without proper styling.
320
+ */
321
+ /* Helper Classes */
322
+ .gxi-hidden {
323
+ display: none !important;
324
+ }
325
+
326
+ .gxi-full-height {
327
+ height: 100%;
328
+ }
329
+
330
+ .gxi-overflow-auto {
331
+ overflow: auto;
332
+ }
333
+
334
+ .gxi-display-flex {
335
+ display: flex;
336
+ }
337
+
338
+ .align-start {
339
+ display: flex;
340
+ align-items: start;
341
+ }
342
+
343
+ .align-center {
344
+ display: flex;
345
+ align-items: center;
346
+ }
347
+
348
+ .align-end {
349
+ display: flex;
350
+ align-items: end;
351
+ }
352
+
353
+ .overflow-auto {
354
+ overflow: auto;
355
+ }
356
+
357
+ .justify-start {
358
+ display: flex;
359
+ justify-content: start;
360
+ }
361
+
362
+ .justify-center {
363
+ display: flex;
364
+ justify-content: center;
365
+ }
366
+
367
+ .justify-end {
368
+ display: flex;
369
+ justify-content: end;
370
+ }
371
+
372
+ /* Grids */
373
+ .grid {
374
+ display: grid;
375
+ grid-row-gap: var(--gx-ide-grid-row-gap);
376
+ grid-column-gap: var(--gx-ide-grid-column-gap);
377
+ grid-template-rows: auto;
378
+ }
379
+
380
+ ch-grid-cell {
381
+ display: flex;
382
+ }
383
+
384
+ ch-grid {
385
+ overflow: auto;
386
+ height: 100%;
387
+ }
388
+
389
+ ch-grid-column {
390
+ /*to be removed when this works inside a component with shadow: true*/
391
+ z-index: 99;
392
+ border-bottom: 1px solid var(--mer-color__neutral-gray--800);
393
+ }
394
+
395
+ ch-grid-column:first-child {
396
+ padding-inline-start: var(--gx-ide-container__padding) !important;
397
+ }
398
+
399
+ ch-grid-column:last-child {
400
+ padding-inline-end: var(--gx-ide-container__padding) !important;
401
+ }
402
+
403
+ ch-grid-cell {
404
+ --mer-spacing--xs: var(--gx-ide-container__padding);
405
+ }
406
+
407
+ /*--- Layout ---*/
408
+ .layout {
409
+ display: grid;
410
+ gap: var(--mer-spacing--lg);
411
+ box-sizing: border-box;
412
+ }
413
+ .layout--two-cols {
414
+ grid-template-columns: 1fr 1fr;
415
+ }
416
+ .layout--space-above {
417
+ padding-block-start: var(--mer-spacing--lg);
418
+ }
419
+
420
+ /*Gxg Tabs*/
421
+ gxg-tabs {
422
+ box-shadow: none;
423
+ }
424
+
425
+ /*All components Host should have this class set. !important is set on every rule, since this styles could be overridden by the host user, since they are applied on the host component*/
426
+ :host(.gx-ide-component) {
427
+ height: 100% !important;
428
+ display: flex !important;
429
+ flex-direction: column !important;
430
+ }
431
+
432
+ /*stylize the top bar*/
433
+ :host(:focus-within) gx-ide-top-bar::part(wrapper) {
434
+ background-color: var(--color-secondary-enabled);
435
+ }
436
+
437
+ /* Main wrapper (should be the first element inside the host. Everything should be inside .gx-ide-main-wrapper) */
438
+ .gx-ide-main-wrapper {
439
+ color: var(--gx-ide-component-text-color);
440
+ font-weight: var(--mer-font__weight--regular);
441
+ font-size: var(--mer-font__size--xs);
442
+ font-family: var(--mer-font-family--primary);
443
+ height: 100%;
444
+ background-color: var(--gx-ide-component-background-color);
445
+ display: flex;
446
+ flex-direction: column;
447
+ flex-grow: 1;
448
+ box-sizing: border-box;
449
+ }
450
+
451
+ /*This is the main element. This is the one that take the remaining vertical space*/
452
+ .gx-ide-main {
453
+ flex-grow: 1;
454
+ overflow-y: auto;
455
+ /* Track */
456
+ /* Handle */
457
+ /* Handle on hover */
458
+ }
459
+ .gx-ide-main::-webkit-scrollbar {
460
+ width: var(--gxg-scrollbar-width);
461
+ height: var(--gxg-scrollbar-width);
462
+ }
463
+ .gx-ide-main::-webkit-scrollbar-track {
464
+ background-color: var(--gxg-scrollbar-track-background);
465
+ border-radius: var(--gxg-scrollbar-track-border-radius);
466
+ }
467
+ .gx-ide-main::-webkit-scrollbar-thumb {
468
+ background-color: var(--gxg-scrollbar-track-thumb-background);
469
+ border-radius: var(--gxg-scrollbar-track-thumb-radius);
470
+ }
471
+ .gx-ide-main::-webkit-scrollbar-thumb:hover {
472
+ background-color: var(--gxg-scrollbar-track-thumb-hover-background);
473
+ }
474
+ .gx-ide-main::-webkit-scrollbar-corner {
475
+ background: rgba(0, 0, 0, 0);
476
+ }
477
+
478
+ .gx-ide-overflow {
479
+ overflow-y: auto;
480
+ /* Track */
481
+ /* Handle */
482
+ /* Handle on hover */
483
+ }
484
+ .gx-ide-overflow::-webkit-scrollbar {
485
+ width: var(--gxg-scrollbar-width);
486
+ height: var(--gxg-scrollbar-width);
487
+ }
488
+ .gx-ide-overflow::-webkit-scrollbar-track {
489
+ background-color: var(--gxg-scrollbar-track-background);
490
+ border-radius: var(--gxg-scrollbar-track-border-radius);
491
+ }
492
+ .gx-ide-overflow::-webkit-scrollbar-thumb {
493
+ background-color: var(--gxg-scrollbar-track-thumb-background);
494
+ border-radius: var(--gxg-scrollbar-track-thumb-radius);
495
+ }
496
+ .gx-ide-overflow::-webkit-scrollbar-thumb:hover {
497
+ background-color: var(--gxg-scrollbar-track-thumb-hover-background);
498
+ }
499
+ .gx-ide-overflow::-webkit-scrollbar-corner {
500
+ background: rgba(0, 0, 0, 0);
501
+ }
502
+
503
+ /*gxg-tree-view*/
504
+ .tree-container {
505
+ display: flex;
506
+ height: 100%;
507
+ width: 100%;
508
+ box-sizing: border-box;
509
+ }
510
+
511
+ p {
512
+ margin: 0;
513
+ }
514
+
515
+ /*Gx Ide*/
516
+ /*@container queries*/
517
+ /* hiChar styles
518
+ Found on /common/helpers.tsx hiChar function is used to add a span/class to every character that matches a search value. It is used to help the user see why the filter results are filtered. The span/class on the characters are useless without proper styling.
519
+ */
520
+ :host {
521
+ display: block;
522
+ }
523
+
524
+ .roles__container {
525
+ display: grid;
526
+ height: 100%;
527
+ box-sizing: border-box;
528
+ grid-template-columns: 1fr 1fr;
529
+ gap: var(--gx-ide-form-items-gap);
530
+ }
531
+ .roles__role {
532
+ display: grid;
533
+ grid-template-rows: auto 1fr;
534
+ overflow: auto;
535
+ }
536
+ .roles__list {
537
+ display: flex;
538
+ flex-direction: column;
539
+ height: 100%;
540
+ overflow: auto;
541
+ }
542
+ .roles__list-header {
543
+ display: grid;
544
+ grid-template-rows: auto 1fr;
545
+ gap: var(--mer-spacing--xs);
546
+ }
547
+ .roles__list-title {
548
+ background-color: var(--mer-color__elevation--01);
549
+ display: flex;
550
+ align-items: center;
551
+ justify-content: center;
552
+ }
553
+
554
+ .add-remove-buttons {
555
+ display: flex;
556
+ justify-content: space-between;
557
+ }