@genexus/genexus-ide-ui 0.0.138 → 0.0.139
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/genexus-ide-ui.cjs.js +1 -1
- package/dist/cjs/gx-ide-bpm-import-gxpm.cjs.entry.js +43 -0
- package/dist/cjs/gx-ide-bpm-import-gxpm.cjs.entry.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/bpm/import-gxpm/gx-ide-assets/bpm-import-gxpm/langs/bpm-import-gxpm.lang.en.json +10 -0
- package/dist/collection/components/bpm/import-gxpm/gx-ide-assets/bpm-import-gxpm/langs/bpm-import-gxpm.lang.ja.json +3 -0
- package/dist/collection/components/bpm/import-gxpm/gx-ide-assets/bpm-import-gxpm/langs/bpm-import-gxpm.lang.zh.json +3 -0
- package/dist/collection/components/bpm/import-gxpm/import-gxpm.css +562 -0
- package/dist/collection/components/bpm/import-gxpm/import-gxpm.js +88 -0
- package/dist/collection/components/bpm/import-gxpm/import-gxpm.js.map +1 -0
- package/dist/components/gx-ide-bpm-import-gxpm.d.ts +11 -0
- package/dist/components/gx-ide-bpm-import-gxpm.js +101 -0
- package/dist/components/gx-ide-bpm-import-gxpm.js.map +1 -0
- package/dist/esm/genexus-ide-ui.js +1 -1
- package/dist/esm/gx-ide-bpm-import-gxpm.entry.js +39 -0
- package/dist/esm/gx-ide-bpm-import-gxpm.entry.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js.map +1 -1
- package/dist/genexus-ide-ui/gx-ide-assets/bpm-import-gxpm/langs/bpm-import-gxpm.lang.en.json +10 -0
- package/dist/genexus-ide-ui/gx-ide-assets/bpm-import-gxpm/langs/bpm-import-gxpm.lang.ja.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/bpm-import-gxpm/langs/bpm-import-gxpm.lang.zh.json +3 -0
- package/dist/genexus-ide-ui/p-049a370c.entry.js +78 -0
- package/dist/genexus-ide-ui/p-049a370c.entry.js.map +1 -0
- package/dist/types/components/bpm/files-selector/files-selector.d.ts +50 -0
- package/dist/types/components/bpm/import-gxpm/import-gxpm.d.ts +21 -0
- package/dist/types/components.d.ts +40 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["importGxpmCss","GxIdeTemplate","this","renderedFirstTime","automaticBackupHandler","componentWillLoad","_componentLocale","Locale","getComponentStrings","el","componentDidRender","componentDidRenderFirstTime","emit","componentName","render","h","Host","class","containerTitle","displayTitle","slimmerFooter","config","gxIdeContainer","htmlFor","type","id","icon","accessibleName","checkedValue","unCheckedValue","value","onInput","slot"],"sources":["src/components/bpm/import-gxpm/import-gxpm.scss?tag=gx-ide-bpm-import-gxpm&encapsulation=shadow","src/components/bpm/import-gxpm/import-gxpm.tsx"],"sourcesContent":["@import \"../../../global/gx-ide-common.scss\";\n@import \"../../../global/gx-ide-mixins.scss\";\n@import \"../../../global/temporary-tokens-chameleon.scss\";\n\n:host {\n display: block;\n}\n\n.header {\n display: grid;\n align-items: center;\n grid-template-columns: max-content 1fr min-content;\n gap: var(--mer-spacing--sm);\n}\n","/* 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-bpm-import-gxpm\",\n styleUrl: \"import-gxpm.scss\",\n shadow: true,\n assetsDirs: [\"gx-ide-assets/bpm-import-gxpm\"]\n})\nexport class GxIdeTemplate {\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: HTMLGxIdeBpmImportGxpmElement;\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 // 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 automaticBackupHandler = () => {};\n\n // 10.RENDER() FUNCTION //\n\n render() {\n return (\n <Host class=\"gx-ide-component\">\n <div class=\"gx-ide-main-wrapper\">\n <gx-ide-container\n containerTitle={\n this.displayTitle ? this._componentLocale.componentName : null\n }\n slimmerFooter={config.gxIdeContainer.slimmerFooter}\n >\n <div class=\"header\">\n <label htmlFor=\"project-path\">Project Path</label>\n <input type=\"text\" class=\"input-text\" id=\"project-path\" />\n <gxg-button\n type=\"secondary-icon-only\"\n icon=\"gemini-tools/show-more-horizontal\"\n ></gxg-button>\n </div>\n\n <div class=\"control-wrapper\">\n <label htmlFor=\"automatic-backup\">Automatic Backup</label>\n <ch-checkbox\n id=\"automatic-backup\"\n accessibleName=\"el mismo que el label\"\n checkedValue=\"true\"\n unCheckedValue=\"false\"\n value=\"checked\"\n onInput={this.automaticBackupHandler}\n ></ch-checkbox>\n </div>\n <button slot=\"footer-end\">Cancel</button>\n <button slot=\"footer-end\">Ok</button>\n </gx-ide-container>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":";;;;;;AAAA,MAAMA,IAAgB;;MCqBTC,IAAa;;;;IAOhBC,KAAAC,oBAAoB;;;;QA2CpBD,KAAAE,yBAAyB;wBA9BD;;;EAWhC,uBAAMC;IACJH,KAAKI,yBAAyBC,EAAOC,oBAAoBN,KAAKO;;EAGhE,kBAAAC;IACE,KAAKR,KAAKC,mBAAmB;MAC3BD,KAAKS,4BAA4BC,KAC/BV,KAAKI,iBAAiBO;MAExBX,KAAKC,oBAAoB;;;;EAc7B,MAAAW;IACE,OACEC,EAACC,GAAI;MAACC,OAAM;OACVF,EAAA;MAAKE,OAAM;OACTF,EAAA;MACEG,gBACEhB,KAAKiB,eAAejB,KAAKI,iBAAiBO,gBAAgB;MAE5DO,eAAeC,EAAOC,eAAeF;OAErCL,EAAA;MAAKE,OAAM;OACTF,EAAA;MAAOQ,SAAQ;OAAc,iBAC7BR,EAAA;MAAOS,MAAK;MAAOP,OAAM;MAAaQ,IAAG;QACzCV,EAAA;MACES,MAAK;MACLE,MAAK;SAITX,EAAA;MAAKE,OAAM;OACTF,EAAA;MAAOQ,SAAQ;OAAkB,qBACjCR,EAAA;MACEU,IAAG;MACHE,gBAAe;MACfC,cAAa;MACbC,gBAAe;MACfC,OAAM;MACNC,SAAS7B,KAAKE;SAGlBW,EAAA;MAAQiB,MAAK;OAAY,WACzBjB,EAAA;MAAQiB,MAAK;OAAY"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
export declare class GxIdeTemplate {
|
|
3
|
+
/**
|
|
4
|
+
* The component hard-coded strings translations.
|
|
5
|
+
*/
|
|
6
|
+
private _componentLocale;
|
|
7
|
+
private renderedFirstTime;
|
|
8
|
+
el: HTMLGxIdeBpmFilesSelectorElement;
|
|
9
|
+
private fileInput;
|
|
10
|
+
/**
|
|
11
|
+
* Contains the list of files
|
|
12
|
+
*/
|
|
13
|
+
files: File[];
|
|
14
|
+
/**
|
|
15
|
+
* Contains the list of selected files
|
|
16
|
+
*/
|
|
17
|
+
selectedFiles: string[];
|
|
18
|
+
/**
|
|
19
|
+
* If true it displays the component title on the header
|
|
20
|
+
*/
|
|
21
|
+
readonly displayTitle = false;
|
|
22
|
+
/**
|
|
23
|
+
* Allowed extensions when 'Add files' button is pressed
|
|
24
|
+
*/
|
|
25
|
+
readonly allowedExtensions: string[];
|
|
26
|
+
/**
|
|
27
|
+
* Callback invoked when user press 'Add files' button. Returns a list with selected files.
|
|
28
|
+
*/
|
|
29
|
+
readonly addCallback: (files: File[]) => Promise<void>;
|
|
30
|
+
/**
|
|
31
|
+
* Callback invoked when remove button is pressed.
|
|
32
|
+
*/
|
|
33
|
+
readonly removeCallback: (files: File[] | string[]) => Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* @description Gets fired when the component has rendered for the first time.
|
|
36
|
+
*/
|
|
37
|
+
componentDidRenderFirstTime: EventEmitter<string>;
|
|
38
|
+
/**
|
|
39
|
+
* @description Gets fired when something changes on items section.
|
|
40
|
+
*/
|
|
41
|
+
selectionChanged: EventEmitter<void>;
|
|
42
|
+
componentWillLoad(): Promise<void>;
|
|
43
|
+
componentDidRender(): void;
|
|
44
|
+
private fileSelectionChangedHandler;
|
|
45
|
+
private loadFileHandle;
|
|
46
|
+
private handleFileInputChange;
|
|
47
|
+
private removeFiles;
|
|
48
|
+
private handleRemoveButtonClick;
|
|
49
|
+
render(): any;
|
|
50
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
export declare class GxIdeTemplate {
|
|
3
|
+
/**
|
|
4
|
+
* The component hard-coded strings translations.
|
|
5
|
+
*/
|
|
6
|
+
private _componentLocale;
|
|
7
|
+
private renderedFirstTime;
|
|
8
|
+
el: HTMLGxIdeBpmImportGxpmElement;
|
|
9
|
+
/**
|
|
10
|
+
* If true it displays the component title on the header
|
|
11
|
+
*/
|
|
12
|
+
readonly displayTitle = false;
|
|
13
|
+
/**
|
|
14
|
+
* @description Gets fired when the component has rendered for the first time.
|
|
15
|
+
*/
|
|
16
|
+
componentDidRenderFirstTime: EventEmitter<string>;
|
|
17
|
+
componentWillLoad(): Promise<void>;
|
|
18
|
+
componentDidRender(): void;
|
|
19
|
+
private automaticBackupHandler;
|
|
20
|
+
render(): any;
|
|
21
|
+
}
|
|
@@ -232,6 +232,12 @@ export namespace Components {
|
|
|
232
232
|
*/
|
|
233
233
|
"removeCallback": (files: File[] | string[]) => Promise<void>;
|
|
234
234
|
}
|
|
235
|
+
interface GxIdeBpmImportGxpm {
|
|
236
|
+
/**
|
|
237
|
+
* If true it displays the component title on the header
|
|
238
|
+
*/
|
|
239
|
+
"displayTitle": false;
|
|
240
|
+
}
|
|
235
241
|
interface GxIdeBpmTimerDuration {
|
|
236
242
|
/**
|
|
237
243
|
* Callback invoked when user cancels application declaration
|
|
@@ -1786,6 +1792,10 @@ export interface GxIdeBpmFilesSelectorCustomEvent<T> extends CustomEvent<T> {
|
|
|
1786
1792
|
detail: T;
|
|
1787
1793
|
target: HTMLGxIdeBpmFilesSelectorElement;
|
|
1788
1794
|
}
|
|
1795
|
+
export interface GxIdeBpmImportGxpmCustomEvent<T> extends CustomEvent<T> {
|
|
1796
|
+
detail: T;
|
|
1797
|
+
target: HTMLGxIdeBpmImportGxpmElement;
|
|
1798
|
+
}
|
|
1789
1799
|
export interface GxIdeBpmTimerDurationCustomEvent<T> extends CustomEvent<T> {
|
|
1790
1800
|
detail: T;
|
|
1791
1801
|
target: HTMLGxIdeBpmTimerDurationElement;
|
|
@@ -1990,6 +2000,23 @@ declare global {
|
|
|
1990
2000
|
prototype: HTMLGxIdeBpmFilesSelectorElement;
|
|
1991
2001
|
new (): HTMLGxIdeBpmFilesSelectorElement;
|
|
1992
2002
|
};
|
|
2003
|
+
interface HTMLGxIdeBpmImportGxpmElementEventMap {
|
|
2004
|
+
"componentDidRenderFirstTime": string;
|
|
2005
|
+
}
|
|
2006
|
+
interface HTMLGxIdeBpmImportGxpmElement extends Components.GxIdeBpmImportGxpm, HTMLStencilElement {
|
|
2007
|
+
addEventListener<K extends keyof HTMLGxIdeBpmImportGxpmElementEventMap>(type: K, listener: (this: HTMLGxIdeBpmImportGxpmElement, ev: GxIdeBpmImportGxpmCustomEvent<HTMLGxIdeBpmImportGxpmElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2008
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2009
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2010
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2011
|
+
removeEventListener<K extends keyof HTMLGxIdeBpmImportGxpmElementEventMap>(type: K, listener: (this: HTMLGxIdeBpmImportGxpmElement, ev: GxIdeBpmImportGxpmCustomEvent<HTMLGxIdeBpmImportGxpmElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2012
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2013
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2014
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2015
|
+
}
|
|
2016
|
+
var HTMLGxIdeBpmImportGxpmElement: {
|
|
2017
|
+
prototype: HTMLGxIdeBpmImportGxpmElement;
|
|
2018
|
+
new (): HTMLGxIdeBpmImportGxpmElement;
|
|
2019
|
+
};
|
|
1993
2020
|
interface HTMLGxIdeBpmTimerDurationElementEventMap {
|
|
1994
2021
|
"componentDidRenderFirstTime": string;
|
|
1995
2022
|
}
|
|
@@ -2608,6 +2635,7 @@ declare global {
|
|
|
2608
2635
|
"gx-ide-bpm-app-declaration": HTMLGxIdeBpmAppDeclarationElement;
|
|
2609
2636
|
"gx-ide-bpm-assign-roles": HTMLGxIdeBpmAssignRolesElement;
|
|
2610
2637
|
"gx-ide-bpm-files-selector": HTMLGxIdeBpmFilesSelectorElement;
|
|
2638
|
+
"gx-ide-bpm-import-gxpm": HTMLGxIdeBpmImportGxpmElement;
|
|
2611
2639
|
"gx-ide-bpm-timer-duration": HTMLGxIdeBpmTimerDurationElement;
|
|
2612
2640
|
"gx-ide-card": HTMLGxIdeCardElement;
|
|
2613
2641
|
"gx-ide-connect-gx-server": HTMLGxIdeConnectGxServerElement;
|
|
@@ -2798,6 +2826,16 @@ declare namespace LocalJSX {
|
|
|
2798
2826
|
*/
|
|
2799
2827
|
"removeCallback"?: (files: File[] | string[]) => Promise<void>;
|
|
2800
2828
|
}
|
|
2829
|
+
interface GxIdeBpmImportGxpm {
|
|
2830
|
+
/**
|
|
2831
|
+
* If true it displays the component title on the header
|
|
2832
|
+
*/
|
|
2833
|
+
"displayTitle"?: false;
|
|
2834
|
+
/**
|
|
2835
|
+
* @description Gets fired when the component has rendered for the first time.
|
|
2836
|
+
*/
|
|
2837
|
+
"onComponentDidRenderFirstTime"?: (event: GxIdeBpmImportGxpmCustomEvent<string>) => void;
|
|
2838
|
+
}
|
|
2801
2839
|
interface GxIdeBpmTimerDuration {
|
|
2802
2840
|
/**
|
|
2803
2841
|
* Callback invoked when user cancels application declaration
|
|
@@ -4461,6 +4499,7 @@ declare namespace LocalJSX {
|
|
|
4461
4499
|
"gx-ide-bpm-app-declaration": GxIdeBpmAppDeclaration;
|
|
4462
4500
|
"gx-ide-bpm-assign-roles": GxIdeBpmAssignRoles;
|
|
4463
4501
|
"gx-ide-bpm-files-selector": GxIdeBpmFilesSelector;
|
|
4502
|
+
"gx-ide-bpm-import-gxpm": GxIdeBpmImportGxpm;
|
|
4464
4503
|
"gx-ide-bpm-timer-duration": GxIdeBpmTimerDuration;
|
|
4465
4504
|
"gx-ide-card": GxIdeCard;
|
|
4466
4505
|
"gx-ide-connect-gx-server": GxIdeConnectGxServer;
|
|
@@ -4513,6 +4552,7 @@ declare module "@stencil/core" {
|
|
|
4513
4552
|
"gx-ide-bpm-app-declaration": LocalJSX.GxIdeBpmAppDeclaration & JSXBase.HTMLAttributes<HTMLGxIdeBpmAppDeclarationElement>;
|
|
4514
4553
|
"gx-ide-bpm-assign-roles": LocalJSX.GxIdeBpmAssignRoles & JSXBase.HTMLAttributes<HTMLGxIdeBpmAssignRolesElement>;
|
|
4515
4554
|
"gx-ide-bpm-files-selector": LocalJSX.GxIdeBpmFilesSelector & JSXBase.HTMLAttributes<HTMLGxIdeBpmFilesSelectorElement>;
|
|
4555
|
+
"gx-ide-bpm-import-gxpm": LocalJSX.GxIdeBpmImportGxpm & JSXBase.HTMLAttributes<HTMLGxIdeBpmImportGxpmElement>;
|
|
4516
4556
|
"gx-ide-bpm-timer-duration": LocalJSX.GxIdeBpmTimerDuration & JSXBase.HTMLAttributes<HTMLGxIdeBpmTimerDurationElement>;
|
|
4517
4557
|
"gx-ide-card": LocalJSX.GxIdeCard & JSXBase.HTMLAttributes<HTMLGxIdeCardElement>;
|
|
4518
4558
|
"gx-ide-connect-gx-server": LocalJSX.GxIdeConnectGxServer & JSXBase.HTMLAttributes<HTMLGxIdeConnectGxServerElement>;
|