@genexus/genexus-ide-ui 0.0.22 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ch-grid_4.cjs.entry.js → ch-grid_8.cjs.entry.js} +143 -0
- package/dist/cjs/{ch-suggest_5.cjs.entry.js → ch-suggest_4.cjs.entry.js} +0 -65
- package/dist/cjs/format-date-f2c49d1a.js +28 -0
- package/dist/cjs/genexus-ide-ui.cjs.js +1 -1
- package/dist/cjs/gx-ide-team-dev-commit.cjs.entry.js +4 -24
- package/dist/cjs/gx-ide-team-dev-select-recent-comment.cjs.entry.js +5 -15
- package/dist/cjs/gx-ide-team-dev-update-partial-selection.cjs.entry.js +102 -0
- package/dist/cjs/gx-ide-team-dev-update-to-revision.cjs.entry.js +53 -0
- package/dist/cjs/gx-ide-team-dev-update.cjs.entry.js +278 -0
- package/dist/cjs/gx-ide-top-bar.cjs.entry.js +37 -0
- package/dist/cjs/{gxg-combo-box_8.cjs.entry.js → gxg-combo-box_6.cjs.entry.js} +0 -132
- package/dist/cjs/gxg-form-checkbox-group_2.cjs.entry.js +140 -0
- package/dist/cjs/{gx-ide-top-bar_2.cjs.entry.js → gxg-form-radio-group.cjs.entry.js} +0 -31
- package/dist/cjs/gxg-text.cjs.entry.js +72 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/common/format-date.js +11 -0
- package/dist/collection/components/team-dev-commit/team-dev-commit.js +3 -13
- package/dist/collection/components/team-dev-select-recent-comment/team-dev-select-recent-comment.js +6 -16
- package/dist/collection/components/team-dev-update/gx-ide-assets/team-dev-update/langs/team-dev-update.lang.en.json +45 -0
- package/dist/collection/components/team-dev-update/gx-ide-assets/team-dev-update/langs/team-dev-update.lang.ja.json +3 -0
- package/dist/collection/components/team-dev-update/gx-ide-assets/team-dev-update/langs/team-dev-update.lang.zh.json +3 -0
- package/dist/collection/components/team-dev-update/team-dev-update.css +216 -0
- package/dist/collection/components/team-dev-update/team-dev-update.js +524 -0
- package/dist/collection/components/team-dev-update-partial-selection/gx-ide-assets/team-dev-update-partial-selection/langs/team-dev-update-partial-selection.lang.en.json +15 -0
- package/dist/collection/components/team-dev-update-partial-selection/gx-ide-assets/team-dev-update-partial-selection/langs/team-dev-update-partial-selection.lang.ja.json +3 -0
- package/dist/collection/components/team-dev-update-partial-selection/gx-ide-assets/team-dev-update-partial-selection/langs/team-dev-update-partial-selection.lang.zh.json +3 -0
- package/dist/collection/components/team-dev-update-partial-selection/team-dev-update-partial-selection.css +149 -0
- package/dist/collection/components/team-dev-update-partial-selection/team-dev-update-partial-selection.js +238 -0
- package/dist/collection/components/team-dev-update-to-revision/gx-ide-assets/team-dev-update-to-revision/langs/team-dev-update-to-revision.lang.en.json +11 -0
- package/dist/collection/components/team-dev-update-to-revision/gx-ide-assets/team-dev-update-to-revision/langs/team-dev-update-to-revision.lang.ja.json +3 -0
- package/dist/collection/components/team-dev-update-to-revision/gx-ide-assets/team-dev-update-to-revision/langs/team-dev-update-to-revision.lang.zh.json +3 -0
- package/dist/collection/components/team-dev-update-to-revision/team-dev-update-to-revision.css +147 -0
- package/dist/collection/components/team-dev-update-to-revision/team-dev-update-to-revision.js +136 -0
- package/dist/components/ch-grid-rowset-empty.js +1 -24
- package/dist/components/ch-grid-rowset-empty2.js +26 -0
- package/dist/components/format-date.js +25 -0
- package/dist/components/gx-ide-team-dev-commit.js +4 -24
- package/dist/components/gx-ide-team-dev-select-recent-comment.js +5 -15
- package/dist/components/gx-ide-team-dev-update-partial-selection.d.ts +11 -0
- package/dist/components/gx-ide-team-dev-update-partial-selection.js +213 -0
- package/dist/components/gx-ide-team-dev-update-to-revision.d.ts +11 -0
- package/dist/components/gx-ide-team-dev-update-to-revision.js +131 -0
- package/dist/components/gx-ide-team-dev-update.d.ts +11 -0
- package/dist/components/gx-ide-team-dev-update.js +473 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +3 -0
- package/dist/esm/{ch-grid_4.entry.js → ch-grid_8.entry.js} +140 -1
- package/dist/esm/{ch-suggest_5.entry.js → ch-suggest_4.entry.js} +1 -65
- package/dist/esm/format-date-e9ca0786.js +25 -0
- package/dist/esm/genexus-ide-ui.js +1 -1
- package/dist/esm/gx-ide-team-dev-commit.entry.js +4 -24
- package/dist/esm/gx-ide-team-dev-select-recent-comment.entry.js +5 -15
- package/dist/esm/gx-ide-team-dev-update-partial-selection.entry.js +98 -0
- package/dist/esm/gx-ide-team-dev-update-to-revision.entry.js +49 -0
- package/dist/esm/gx-ide-team-dev-update.entry.js +274 -0
- package/dist/esm/gx-ide-top-bar.entry.js +33 -0
- package/dist/esm/{gxg-combo-box_8.entry.js → gxg-combo-box_6.entry.js} +2 -132
- package/dist/esm/gxg-form-checkbox-group_2.entry.js +135 -0
- package/dist/esm/{gx-ide-top-bar_2.entry.js → gxg-form-radio-group.entry.js} +2 -32
- package/dist/esm/gxg-text.entry.js +68 -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/gx-ide-assets/team-dev-update/langs/team-dev-update.lang.en.json +45 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-update/langs/team-dev-update.lang.ja.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-update/langs/team-dev-update.lang.zh.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-update-partial-selection/langs/team-dev-update-partial-selection.lang.en.json +15 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-update-partial-selection/langs/team-dev-update-partial-selection.lang.ja.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-update-partial-selection/langs/team-dev-update-partial-selection.lang.zh.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-update-to-revision/langs/team-dev-update-to-revision.lang.en.json +11 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-update-to-revision/langs/team-dev-update-to-revision.lang.ja.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/team-dev-update-to-revision/langs/team-dev-update-to-revision.lang.zh.json +3 -0
- package/dist/genexus-ide-ui/p-16bd5578.entry.js +1 -0
- package/dist/genexus-ide-ui/p-32b8abf6.entry.js +1 -0
- package/dist/genexus-ide-ui/p-3bdcb73b.entry.js +1 -0
- package/dist/genexus-ide-ui/p-53d36ef7.entry.js +1 -0
- package/dist/genexus-ide-ui/p-5884a014.entry.js +1 -0
- package/dist/genexus-ide-ui/p-66072dce.entry.js +1 -0
- package/dist/genexus-ide-ui/p-6e80380b.entry.js +1 -0
- package/dist/genexus-ide-ui/p-718759e7.entry.js +1 -0
- package/dist/genexus-ide-ui/p-72303355.js +1 -0
- package/dist/genexus-ide-ui/p-757f8567.entry.js +1 -0
- package/dist/genexus-ide-ui/p-a0e85c2a.entry.js +1 -0
- package/dist/genexus-ide-ui/p-afe9515e.entry.js +1 -0
- package/dist/types/common/format-date.d.ts +1 -0
- package/dist/types/components/team-dev-commit/team-dev-commit.d.ts +0 -1
- package/dist/types/components/team-dev-select-recent-comment/team-dev-select-recent-comment.d.ts +1 -31
- package/dist/types/components/team-dev-update/team-dev-update.d.ts +173 -0
- package/dist/types/components/team-dev-update-partial-selection/team-dev-update-partial-selection.d.ts +61 -0
- package/dist/types/components/team-dev-update-to-revision/team-dev-update-to-revision.d.ts +41 -0
- package/dist/types/components.d.ts +207 -1
- package/package.json +1 -1
- package/dist/cjs/ch-grid-column-resize_4.cjs.entry.js +0 -150
- package/dist/esm/ch-grid-column-resize_4.entry.js +0 -143
- package/dist/genexus-ide-ui/p-54cef7ae.entry.js +0 -1
- package/dist/genexus-ide-ui/p-554ed73a.entry.js +0 -1
- package/dist/genexus-ide-ui/p-6d378d61.entry.js +0 -1
- package/dist/genexus-ide-ui/p-b26b5d74.entry.js +0 -1
- package/dist/genexus-ide-ui/p-d5c29251.entry.js +0 -1
- package/dist/genexus-ide-ui/p-f1a3397d.entry.js +0 -1
|
@@ -17,6 +17,9 @@ import { CancelCallback as CancelCallback1, CreateCallback as CreateCallback1, S
|
|
|
17
17
|
import { LoadReferencesCallback, ObjectData, OpenObjectCallback, OpenSelectorDialogCallback, SelectorSourceCallback, SelectReferenceCallback } from "./components/references/references";
|
|
18
18
|
import { CommitCallback, GetRecentComment, GridContextMenuCallback, LoadCallback, ObjetType, PendingItemCheckedResult, PendingItemsCheckedState } from "./components/team-dev-commit/team-dev-commit";
|
|
19
19
|
import { cancelCallback, confirmCallback } from "./components/team-dev-select-recent-comment/team-dev-select-recent-comment";
|
|
20
|
+
import { ConfirmCallback, GridContextMenuCallback as GridContextMenuCallback1, LoadCallback as LoadCallback1, ObjectType, PendingItemCheckedCallback, UpdateCallback, UpdateFromData } from "./components/team-dev-update/team-dev-update";
|
|
21
|
+
import { AddCallbackFn, CancelCallbackFn, ConfirmCallbackFn, ObjectData as ObjectData1 } from "./components/team-dev-update-partial-selection/team-dev-update-partial-selection";
|
|
22
|
+
import { cancelCallbackFn, confirmCallbackFn } from "./components/team-dev-update-to-revision/team-dev-update-to-revision";
|
|
20
23
|
import { GxgTreeItemData } from "@genexus/gemini/dist/types/components/tree-item/gxg-tree-item";
|
|
21
24
|
export namespace Components {
|
|
22
25
|
interface GxIdeContainer {
|
|
@@ -421,6 +424,88 @@ export namespace Components {
|
|
|
421
424
|
*/
|
|
422
425
|
"confirmCallback": confirmCallback;
|
|
423
426
|
}
|
|
427
|
+
interface GxIdeTeamDevUpdate {
|
|
428
|
+
/**
|
|
429
|
+
* This is a function provided by the developer that init the process of import a design.
|
|
430
|
+
*/
|
|
431
|
+
"confirmCallback": ConfirmCallback;
|
|
432
|
+
/**
|
|
433
|
+
* This is a function provided by the developer that return the information of an Image System type of data.
|
|
434
|
+
*/
|
|
435
|
+
"gridContextMenuCallback": GridContextMenuCallback;
|
|
436
|
+
/**
|
|
437
|
+
* This is a function provided by the developer that return the list of types of data loaded from file or url.
|
|
438
|
+
*/
|
|
439
|
+
"loadCallback": LoadCallback;
|
|
440
|
+
/**
|
|
441
|
+
* This is a function provided by the developer to call when the user makes a partial selection from button Change of Scope group.
|
|
442
|
+
*/
|
|
443
|
+
"objectsScopeCallback": () => Promise<"all" | "partial">;
|
|
444
|
+
/**
|
|
445
|
+
* This is a function provided by the developer to call when the user clicked in server url of Update From group.
|
|
446
|
+
*/
|
|
447
|
+
"openServerCallback": () => Promise<void>;
|
|
448
|
+
/**
|
|
449
|
+
* This is a function provided by the developer that return the information of a Font type of data.
|
|
450
|
+
*/
|
|
451
|
+
"pendingItemCheckedCallback": PendingItemCheckedCallback;
|
|
452
|
+
/**
|
|
453
|
+
* This is a function provided by the developer to call when the user wants to select the revision to work on.
|
|
454
|
+
*/
|
|
455
|
+
"revisionScopeCallback": () => Promise<string | undefined>;
|
|
456
|
+
/**
|
|
457
|
+
* Possibly values for the filter type
|
|
458
|
+
*/
|
|
459
|
+
"types": ObjectType[];
|
|
460
|
+
/**
|
|
461
|
+
* This is a function provided by the developer that return the information of a Design System type of data.
|
|
462
|
+
*/
|
|
463
|
+
"updateCallback": UpdateCallback;
|
|
464
|
+
/**
|
|
465
|
+
* Information to show in the container of group 'Update From'
|
|
466
|
+
*/
|
|
467
|
+
"updateFrom": UpdateFromData;
|
|
468
|
+
/**
|
|
469
|
+
* Validate necessary data input
|
|
470
|
+
*/
|
|
471
|
+
"validate": () => Promise<boolean>;
|
|
472
|
+
}
|
|
473
|
+
interface GxIdeTeamDevUpdatePartialSelection {
|
|
474
|
+
/**
|
|
475
|
+
* This is a function provided by the developer that return a list of new objects to populate the table of objects.
|
|
476
|
+
*/
|
|
477
|
+
"addCallback": AddCallbackFn;
|
|
478
|
+
/**
|
|
479
|
+
* This is a function provided by the developer for execute when cancel button is pressed.
|
|
480
|
+
*/
|
|
481
|
+
"cancelCallback": CancelCallbackFn;
|
|
482
|
+
/**
|
|
483
|
+
* This is a function provided by the developer and is invoked when the action confirm is executed passing the selected objects of the grid
|
|
484
|
+
*/
|
|
485
|
+
"confirmCallback": ConfirmCallbackFn;
|
|
486
|
+
/**
|
|
487
|
+
* The categories render in the filter category selector
|
|
488
|
+
*/
|
|
489
|
+
"selection": ObjectData[];
|
|
490
|
+
/**
|
|
491
|
+
* Validate necessary data input
|
|
492
|
+
*/
|
|
493
|
+
"validate": () => Promise<boolean>;
|
|
494
|
+
}
|
|
495
|
+
interface GxIdeTeamDevUpdateToRevision {
|
|
496
|
+
/**
|
|
497
|
+
* This is a function provided by the developer for execute when cancel button is pressed.
|
|
498
|
+
*/
|
|
499
|
+
"cancelCallback": cancelCallbackFn;
|
|
500
|
+
/**
|
|
501
|
+
* This is a function provided by the developer and is invoked when the action confirm is executed passing the selected objects of the grid
|
|
502
|
+
*/
|
|
503
|
+
"confirmCallback": confirmCallbackFn;
|
|
504
|
+
/**
|
|
505
|
+
* Validate necessary data input
|
|
506
|
+
*/
|
|
507
|
+
"validate": () => Promise<boolean>;
|
|
508
|
+
}
|
|
424
509
|
interface GxIdeTemplate {
|
|
425
510
|
/**
|
|
426
511
|
* The main title
|
|
@@ -492,6 +577,18 @@ export interface GxIdeTeamDevSelectRecentCommentCustomEvent<T> extends CustomEve
|
|
|
492
577
|
detail: T;
|
|
493
578
|
target: HTMLGxIdeTeamDevSelectRecentCommentElement;
|
|
494
579
|
}
|
|
580
|
+
export interface GxIdeTeamDevUpdateCustomEvent<T> extends CustomEvent<T> {
|
|
581
|
+
detail: T;
|
|
582
|
+
target: HTMLGxIdeTeamDevUpdateElement;
|
|
583
|
+
}
|
|
584
|
+
export interface GxIdeTeamDevUpdatePartialSelectionCustomEvent<T> extends CustomEvent<T> {
|
|
585
|
+
detail: T;
|
|
586
|
+
target: HTMLGxIdeTeamDevUpdatePartialSelectionElement;
|
|
587
|
+
}
|
|
588
|
+
export interface GxIdeTeamDevUpdateToRevisionCustomEvent<T> extends CustomEvent<T> {
|
|
589
|
+
detail: T;
|
|
590
|
+
target: HTMLGxIdeTeamDevUpdateToRevisionElement;
|
|
591
|
+
}
|
|
495
592
|
export interface GxIdeTemplateCustomEvent<T> extends CustomEvent<T> {
|
|
496
593
|
detail: T;
|
|
497
594
|
target: HTMLGxIdeTemplateElement;
|
|
@@ -557,6 +654,24 @@ declare global {
|
|
|
557
654
|
prototype: HTMLGxIdeTeamDevSelectRecentCommentElement;
|
|
558
655
|
new (): HTMLGxIdeTeamDevSelectRecentCommentElement;
|
|
559
656
|
};
|
|
657
|
+
interface HTMLGxIdeTeamDevUpdateElement extends Components.GxIdeTeamDevUpdate, HTMLStencilElement {
|
|
658
|
+
}
|
|
659
|
+
var HTMLGxIdeTeamDevUpdateElement: {
|
|
660
|
+
prototype: HTMLGxIdeTeamDevUpdateElement;
|
|
661
|
+
new (): HTMLGxIdeTeamDevUpdateElement;
|
|
662
|
+
};
|
|
663
|
+
interface HTMLGxIdeTeamDevUpdatePartialSelectionElement extends Components.GxIdeTeamDevUpdatePartialSelection, HTMLStencilElement {
|
|
664
|
+
}
|
|
665
|
+
var HTMLGxIdeTeamDevUpdatePartialSelectionElement: {
|
|
666
|
+
prototype: HTMLGxIdeTeamDevUpdatePartialSelectionElement;
|
|
667
|
+
new (): HTMLGxIdeTeamDevUpdatePartialSelectionElement;
|
|
668
|
+
};
|
|
669
|
+
interface HTMLGxIdeTeamDevUpdateToRevisionElement extends Components.GxIdeTeamDevUpdateToRevision, HTMLStencilElement {
|
|
670
|
+
}
|
|
671
|
+
var HTMLGxIdeTeamDevUpdateToRevisionElement: {
|
|
672
|
+
prototype: HTMLGxIdeTeamDevUpdateToRevisionElement;
|
|
673
|
+
new (): HTMLGxIdeTeamDevUpdateToRevisionElement;
|
|
674
|
+
};
|
|
560
675
|
interface HTMLGxIdeTemplateElement extends Components.GxIdeTemplate, HTMLStencilElement {
|
|
561
676
|
}
|
|
562
677
|
var HTMLGxIdeTemplateElement: {
|
|
@@ -586,6 +701,9 @@ declare global {
|
|
|
586
701
|
"gx-ide-references": HTMLGxIdeReferencesElement;
|
|
587
702
|
"gx-ide-team-dev-commit": HTMLGxIdeTeamDevCommitElement;
|
|
588
703
|
"gx-ide-team-dev-select-recent-comment": HTMLGxIdeTeamDevSelectRecentCommentElement;
|
|
704
|
+
"gx-ide-team-dev-update": HTMLGxIdeTeamDevUpdateElement;
|
|
705
|
+
"gx-ide-team-dev-update-partial-selection": HTMLGxIdeTeamDevUpdatePartialSelectionElement;
|
|
706
|
+
"gx-ide-team-dev-update-to-revision": HTMLGxIdeTeamDevUpdateToRevisionElement;
|
|
589
707
|
"gx-ide-template": HTMLGxIdeTemplateElement;
|
|
590
708
|
"gx-ide-test": HTMLGxIdeTestElement;
|
|
591
709
|
"gx-ide-top-bar": HTMLGxIdeTopBarElement;
|
|
@@ -1014,10 +1132,92 @@ declare namespace LocalJSX {
|
|
|
1014
1132
|
*/
|
|
1015
1133
|
"confirmCallback"?: confirmCallback;
|
|
1016
1134
|
/**
|
|
1017
|
-
* This event is
|
|
1135
|
+
* This event is emitted once just after the component is fully loaded and the first render() occurs.
|
|
1018
1136
|
*/
|
|
1019
1137
|
"onComponentDidLoadEvent"?: (event: GxIdeTeamDevSelectRecentCommentCustomEvent<boolean>) => void;
|
|
1020
1138
|
}
|
|
1139
|
+
interface GxIdeTeamDevUpdate {
|
|
1140
|
+
/**
|
|
1141
|
+
* This is a function provided by the developer that init the process of import a design.
|
|
1142
|
+
*/
|
|
1143
|
+
"confirmCallback": ConfirmCallback;
|
|
1144
|
+
/**
|
|
1145
|
+
* This is a function provided by the developer that return the information of an Image System type of data.
|
|
1146
|
+
*/
|
|
1147
|
+
"gridContextMenuCallback": GridContextMenuCallback;
|
|
1148
|
+
/**
|
|
1149
|
+
* This is a function provided by the developer that return the list of types of data loaded from file or url.
|
|
1150
|
+
*/
|
|
1151
|
+
"loadCallback": LoadCallback;
|
|
1152
|
+
/**
|
|
1153
|
+
* This is a function provided by the developer to call when the user makes a partial selection from button Change of Scope group.
|
|
1154
|
+
*/
|
|
1155
|
+
"objectsScopeCallback": () => Promise<"all" | "partial">;
|
|
1156
|
+
/**
|
|
1157
|
+
* This event is emitted once just after the component is fully loaded and the first render() occurs.
|
|
1158
|
+
*/
|
|
1159
|
+
"onComponentDidLoadEvent"?: (event: GxIdeTeamDevUpdateCustomEvent<boolean>) => void;
|
|
1160
|
+
/**
|
|
1161
|
+
* This is a function provided by the developer to call when the user clicked in server url of Update From group.
|
|
1162
|
+
*/
|
|
1163
|
+
"openServerCallback": () => Promise<void>;
|
|
1164
|
+
/**
|
|
1165
|
+
* This is a function provided by the developer that return the information of a Font type of data.
|
|
1166
|
+
*/
|
|
1167
|
+
"pendingItemCheckedCallback": PendingItemCheckedCallback;
|
|
1168
|
+
/**
|
|
1169
|
+
* This is a function provided by the developer to call when the user wants to select the revision to work on.
|
|
1170
|
+
*/
|
|
1171
|
+
"revisionScopeCallback": () => Promise<string | undefined>;
|
|
1172
|
+
/**
|
|
1173
|
+
* Possibly values for the filter type
|
|
1174
|
+
*/
|
|
1175
|
+
"types"?: ObjectType[];
|
|
1176
|
+
/**
|
|
1177
|
+
* This is a function provided by the developer that return the information of a Design System type of data.
|
|
1178
|
+
*/
|
|
1179
|
+
"updateCallback": UpdateCallback;
|
|
1180
|
+
/**
|
|
1181
|
+
* Information to show in the container of group 'Update From'
|
|
1182
|
+
*/
|
|
1183
|
+
"updateFrom"?: UpdateFromData;
|
|
1184
|
+
}
|
|
1185
|
+
interface GxIdeTeamDevUpdatePartialSelection {
|
|
1186
|
+
/**
|
|
1187
|
+
* This is a function provided by the developer that return a list of new objects to populate the table of objects.
|
|
1188
|
+
*/
|
|
1189
|
+
"addCallback": AddCallbackFn;
|
|
1190
|
+
/**
|
|
1191
|
+
* This is a function provided by the developer for execute when cancel button is pressed.
|
|
1192
|
+
*/
|
|
1193
|
+
"cancelCallback": CancelCallbackFn;
|
|
1194
|
+
/**
|
|
1195
|
+
* This is a function provided by the developer and is invoked when the action confirm is executed passing the selected objects of the grid
|
|
1196
|
+
*/
|
|
1197
|
+
"confirmCallback": ConfirmCallbackFn;
|
|
1198
|
+
/**
|
|
1199
|
+
* This event is emitted once just after the component is fully loaded and the first render() occurs.
|
|
1200
|
+
*/
|
|
1201
|
+
"onComponentDidLoadEvent"?: (event: GxIdeTeamDevUpdatePartialSelectionCustomEvent<boolean>) => void;
|
|
1202
|
+
/**
|
|
1203
|
+
* The categories render in the filter category selector
|
|
1204
|
+
*/
|
|
1205
|
+
"selection"?: ObjectData[];
|
|
1206
|
+
}
|
|
1207
|
+
interface GxIdeTeamDevUpdateToRevision {
|
|
1208
|
+
/**
|
|
1209
|
+
* This is a function provided by the developer for execute when cancel button is pressed.
|
|
1210
|
+
*/
|
|
1211
|
+
"cancelCallback": cancelCallbackFn;
|
|
1212
|
+
/**
|
|
1213
|
+
* This is a function provided by the developer and is invoked when the action confirm is executed passing the selected objects of the grid
|
|
1214
|
+
*/
|
|
1215
|
+
"confirmCallback": confirmCallbackFn;
|
|
1216
|
+
/**
|
|
1217
|
+
* This event is emitted once just after the component is fully loaded and the first render() occurs.
|
|
1218
|
+
*/
|
|
1219
|
+
"onComponentDidLoadEvent"?: (event: GxIdeTeamDevUpdateToRevisionCustomEvent<boolean>) => void;
|
|
1220
|
+
}
|
|
1021
1221
|
interface GxIdeTemplate {
|
|
1022
1222
|
/**
|
|
1023
1223
|
* The main title
|
|
@@ -1075,6 +1275,9 @@ declare namespace LocalJSX {
|
|
|
1075
1275
|
"gx-ide-references": GxIdeReferences;
|
|
1076
1276
|
"gx-ide-team-dev-commit": GxIdeTeamDevCommit;
|
|
1077
1277
|
"gx-ide-team-dev-select-recent-comment": GxIdeTeamDevSelectRecentComment;
|
|
1278
|
+
"gx-ide-team-dev-update": GxIdeTeamDevUpdate;
|
|
1279
|
+
"gx-ide-team-dev-update-partial-selection": GxIdeTeamDevUpdatePartialSelection;
|
|
1280
|
+
"gx-ide-team-dev-update-to-revision": GxIdeTeamDevUpdateToRevision;
|
|
1078
1281
|
"gx-ide-template": GxIdeTemplate;
|
|
1079
1282
|
"gx-ide-test": GxIdeTest;
|
|
1080
1283
|
"gx-ide-top-bar": GxIdeTopBar;
|
|
@@ -1094,6 +1297,9 @@ declare module "@stencil/core" {
|
|
|
1094
1297
|
"gx-ide-references": LocalJSX.GxIdeReferences & JSXBase.HTMLAttributes<HTMLGxIdeReferencesElement>;
|
|
1095
1298
|
"gx-ide-team-dev-commit": LocalJSX.GxIdeTeamDevCommit & JSXBase.HTMLAttributes<HTMLGxIdeTeamDevCommitElement>;
|
|
1096
1299
|
"gx-ide-team-dev-select-recent-comment": LocalJSX.GxIdeTeamDevSelectRecentComment & JSXBase.HTMLAttributes<HTMLGxIdeTeamDevSelectRecentCommentElement>;
|
|
1300
|
+
"gx-ide-team-dev-update": LocalJSX.GxIdeTeamDevUpdate & JSXBase.HTMLAttributes<HTMLGxIdeTeamDevUpdateElement>;
|
|
1301
|
+
"gx-ide-team-dev-update-partial-selection": LocalJSX.GxIdeTeamDevUpdatePartialSelection & JSXBase.HTMLAttributes<HTMLGxIdeTeamDevUpdatePartialSelectionElement>;
|
|
1302
|
+
"gx-ide-team-dev-update-to-revision": LocalJSX.GxIdeTeamDevUpdateToRevision & JSXBase.HTMLAttributes<HTMLGxIdeTeamDevUpdateToRevisionElement>;
|
|
1097
1303
|
"gx-ide-template": LocalJSX.GxIdeTemplate & JSXBase.HTMLAttributes<HTMLGxIdeTemplateElement>;
|
|
1098
1304
|
"gx-ide-test": LocalJSX.GxIdeTest & JSXBase.HTMLAttributes<HTMLGxIdeTestElement>;
|
|
1099
1305
|
"gx-ide-top-bar": LocalJSX.GxIdeTopBar & JSXBase.HTMLAttributes<HTMLGxIdeTopBarElement>;
|
package/package.json
CHANGED
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-5a32426a.js');
|
|
6
|
-
const helpers = require('./helpers-8845f008.js');
|
|
7
|
-
|
|
8
|
-
const chGridColumnResizeCss = ":host{display:block;min-width:1px;height:100%;cursor:ew-resize}.resize-mask{position:fixed;inset:0}";
|
|
9
|
-
|
|
10
|
-
const ChGridColumnResize = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
index.registerInstance(this, hostRef);
|
|
13
|
-
this.columnResizeStarted = index.createEvent(this, "columnResizeStarted", 7);
|
|
14
|
-
this.columnResizeFinished = index.createEvent(this, "columnResizeFinished", 7);
|
|
15
|
-
this.mousemoveFn = this.mousemoveHandler.bind(this);
|
|
16
|
-
/**
|
|
17
|
-
* Whether the component is currently resizing the column.
|
|
18
|
-
*/
|
|
19
|
-
this.resizing = false;
|
|
20
|
-
}
|
|
21
|
-
componentDidLoad() {
|
|
22
|
-
this.el.addEventListener("mousedown", this.mousedownHandler.bind(this));
|
|
23
|
-
}
|
|
24
|
-
clickHandler(eventInfo) {
|
|
25
|
-
eventInfo.stopPropagation();
|
|
26
|
-
}
|
|
27
|
-
dblclickHandler(eventInfo) {
|
|
28
|
-
eventInfo.stopPropagation();
|
|
29
|
-
if (helpers.mouseEventModifierKey(eventInfo)) {
|
|
30
|
-
this.column.size = "auto";
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
this.column.size = "max-content";
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
columnResizeStartedHandler() {
|
|
37
|
-
this.resizing = true;
|
|
38
|
-
}
|
|
39
|
-
columnResizeFinishedHandler() {
|
|
40
|
-
this.resizing = false;
|
|
41
|
-
}
|
|
42
|
-
mousedownHandler(eventInfo) {
|
|
43
|
-
eventInfo.stopPropagation();
|
|
44
|
-
eventInfo.preventDefault();
|
|
45
|
-
this.startPageX = eventInfo.pageX;
|
|
46
|
-
this.startColumnWidth = this.column.getBoundingClientRect().width;
|
|
47
|
-
document.addEventListener("mousemove", this.mousemoveFn, { passive: true });
|
|
48
|
-
document.addEventListener("mouseup", this.mouseupHandler.bind(this), {
|
|
49
|
-
once: true
|
|
50
|
-
});
|
|
51
|
-
this.columnResizeStarted.emit();
|
|
52
|
-
}
|
|
53
|
-
mousemoveHandler(eventInfo) {
|
|
54
|
-
const columnSize = this.startColumnWidth - (this.startPageX - eventInfo.pageX);
|
|
55
|
-
if (columnSize >= 0) {
|
|
56
|
-
this.column.size = `minmax(min-content, ${columnSize}px)`;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
mouseupHandler() {
|
|
60
|
-
document.removeEventListener("mousemove", this.mousemoveFn);
|
|
61
|
-
this.columnResizeFinished.emit();
|
|
62
|
-
}
|
|
63
|
-
render() {
|
|
64
|
-
return index.h("div", { class: "resize-mask", hidden: !this.resizing });
|
|
65
|
-
}
|
|
66
|
-
get el() { return index.getElement(this); }
|
|
67
|
-
};
|
|
68
|
-
ChGridColumnResize.style = chGridColumnResizeCss;
|
|
69
|
-
|
|
70
|
-
const chGridColumnSettingsCss = ":host{display:contents}";
|
|
71
|
-
|
|
72
|
-
const ChGridColumnSettings = class {
|
|
73
|
-
constructor(hostRef) {
|
|
74
|
-
index.registerInstance(this, hostRef);
|
|
75
|
-
/**
|
|
76
|
-
* Indicates whether the settings window is currently shown or not.
|
|
77
|
-
*/
|
|
78
|
-
this.show = false;
|
|
79
|
-
}
|
|
80
|
-
windowClosedHandler(eventInfo) {
|
|
81
|
-
eventInfo.stopPropagation();
|
|
82
|
-
this.column.showSettings = false;
|
|
83
|
-
}
|
|
84
|
-
columnSettingsChangedHandler() {
|
|
85
|
-
this.column.showSettings = false;
|
|
86
|
-
}
|
|
87
|
-
render() {
|
|
88
|
-
return (index.h(index.Host, null, index.h("ch-window", { modal: true, container: this.column, xAlign: "inside-start", yAlign: "outside-end", caption: this.column.columnName, closeText: "Close", closeOnOutsideClick: true, closeOnEscape: true, allowDrag: "header", hidden: !this.show, exportparts: "mask,window,header,caption,close,main,footer" }, index.h("slot", null))));
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
ChGridColumnSettings.style = chGridColumnSettingsCss;
|
|
92
|
-
|
|
93
|
-
const chGridSettingsCss = ":host{display:contents;--ch-window-mask-z-index:var(--ch-grid-settings-layer)}";
|
|
94
|
-
|
|
95
|
-
const ChGridSettings = class {
|
|
96
|
-
constructor(hostRef) {
|
|
97
|
-
index.registerInstance(this, hostRef);
|
|
98
|
-
this.settingsCloseClicked = index.createEvent(this, "settingsCloseClicked", 7);
|
|
99
|
-
/**
|
|
100
|
-
* Indicates whether the settings window is currently shown or not.
|
|
101
|
-
*/
|
|
102
|
-
this.show = false;
|
|
103
|
-
}
|
|
104
|
-
windowClosedHandler(eventInfo) {
|
|
105
|
-
eventInfo.stopPropagation();
|
|
106
|
-
this.show = false;
|
|
107
|
-
this.settingsCloseClicked.emit();
|
|
108
|
-
}
|
|
109
|
-
render() {
|
|
110
|
-
return (index.h(index.Host, null, index.h("ch-window", { modal: true, container: this.grid, caption: "Options", closeText: "Close", closeOnOutsideClick: true, closeOnEscape: true, allowDrag: "header", hidden: !this.show, exportparts: "mask,window,header,caption,close,main,footer" }, index.h("slot", null))));
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
ChGridSettings.style = chGridSettingsCss;
|
|
114
|
-
|
|
115
|
-
const chGridSettingsColumnsCss = ":host{display:flex;flex-direction:column}ul{display:contents;list-style-type:none}";
|
|
116
|
-
|
|
117
|
-
const ChGridSettingsColumns = class {
|
|
118
|
-
constructor(hostRef) {
|
|
119
|
-
index.registerInstance(this, hostRef);
|
|
120
|
-
this.handleClick = (eventInfo) => {
|
|
121
|
-
const checkbox = eventInfo.target;
|
|
122
|
-
const column = this.columns.find(column => column.columnId === checkbox.name);
|
|
123
|
-
column.hidden = !checkbox.checked;
|
|
124
|
-
eventInfo.stopPropagation();
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
getColumnsSorted() {
|
|
128
|
-
return [...this.columns].sort((a, b) => {
|
|
129
|
-
if (a.order < b.order) {
|
|
130
|
-
return -1;
|
|
131
|
-
}
|
|
132
|
-
if (a.order > b.order) {
|
|
133
|
-
return 1;
|
|
134
|
-
}
|
|
135
|
-
return 0;
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
render() {
|
|
139
|
-
const columnsSorted = this.getColumnsSorted();
|
|
140
|
-
return (index.h("ul", null, columnsSorted.map(column => (index.h("li", { part: "column" }, index.h("label", { part: "column-label" }, index.h("input", { part: !column.hidden
|
|
141
|
-
? "column-visible column-visible-checked"
|
|
142
|
-
: "column-visible", type: "checkbox", checked: !column.hidden, disabled: !column.hideable, name: column.columnId, onClick: this.handleClick }), column.columnName))))));
|
|
143
|
-
}
|
|
144
|
-
};
|
|
145
|
-
ChGridSettingsColumns.style = chGridSettingsColumnsCss;
|
|
146
|
-
|
|
147
|
-
exports.ch_grid_column_resize = ChGridColumnResize;
|
|
148
|
-
exports.ch_grid_column_settings = ChGridColumnSettings;
|
|
149
|
-
exports.ch_grid_settings = ChGridSettings;
|
|
150
|
-
exports.ch_grid_settings_columns = ChGridSettingsColumns;
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-0da01575.js';
|
|
2
|
-
import { m as mouseEventModifierKey } from './helpers-56190205.js';
|
|
3
|
-
|
|
4
|
-
const chGridColumnResizeCss = ":host{display:block;min-width:1px;height:100%;cursor:ew-resize}.resize-mask{position:fixed;inset:0}";
|
|
5
|
-
|
|
6
|
-
const ChGridColumnResize = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.columnResizeStarted = createEvent(this, "columnResizeStarted", 7);
|
|
10
|
-
this.columnResizeFinished = createEvent(this, "columnResizeFinished", 7);
|
|
11
|
-
this.mousemoveFn = this.mousemoveHandler.bind(this);
|
|
12
|
-
/**
|
|
13
|
-
* Whether the component is currently resizing the column.
|
|
14
|
-
*/
|
|
15
|
-
this.resizing = false;
|
|
16
|
-
}
|
|
17
|
-
componentDidLoad() {
|
|
18
|
-
this.el.addEventListener("mousedown", this.mousedownHandler.bind(this));
|
|
19
|
-
}
|
|
20
|
-
clickHandler(eventInfo) {
|
|
21
|
-
eventInfo.stopPropagation();
|
|
22
|
-
}
|
|
23
|
-
dblclickHandler(eventInfo) {
|
|
24
|
-
eventInfo.stopPropagation();
|
|
25
|
-
if (mouseEventModifierKey(eventInfo)) {
|
|
26
|
-
this.column.size = "auto";
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
this.column.size = "max-content";
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
columnResizeStartedHandler() {
|
|
33
|
-
this.resizing = true;
|
|
34
|
-
}
|
|
35
|
-
columnResizeFinishedHandler() {
|
|
36
|
-
this.resizing = false;
|
|
37
|
-
}
|
|
38
|
-
mousedownHandler(eventInfo) {
|
|
39
|
-
eventInfo.stopPropagation();
|
|
40
|
-
eventInfo.preventDefault();
|
|
41
|
-
this.startPageX = eventInfo.pageX;
|
|
42
|
-
this.startColumnWidth = this.column.getBoundingClientRect().width;
|
|
43
|
-
document.addEventListener("mousemove", this.mousemoveFn, { passive: true });
|
|
44
|
-
document.addEventListener("mouseup", this.mouseupHandler.bind(this), {
|
|
45
|
-
once: true
|
|
46
|
-
});
|
|
47
|
-
this.columnResizeStarted.emit();
|
|
48
|
-
}
|
|
49
|
-
mousemoveHandler(eventInfo) {
|
|
50
|
-
const columnSize = this.startColumnWidth - (this.startPageX - eventInfo.pageX);
|
|
51
|
-
if (columnSize >= 0) {
|
|
52
|
-
this.column.size = `minmax(min-content, ${columnSize}px)`;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
mouseupHandler() {
|
|
56
|
-
document.removeEventListener("mousemove", this.mousemoveFn);
|
|
57
|
-
this.columnResizeFinished.emit();
|
|
58
|
-
}
|
|
59
|
-
render() {
|
|
60
|
-
return h("div", { class: "resize-mask", hidden: !this.resizing });
|
|
61
|
-
}
|
|
62
|
-
get el() { return getElement(this); }
|
|
63
|
-
};
|
|
64
|
-
ChGridColumnResize.style = chGridColumnResizeCss;
|
|
65
|
-
|
|
66
|
-
const chGridColumnSettingsCss = ":host{display:contents}";
|
|
67
|
-
|
|
68
|
-
const ChGridColumnSettings = class {
|
|
69
|
-
constructor(hostRef) {
|
|
70
|
-
registerInstance(this, hostRef);
|
|
71
|
-
/**
|
|
72
|
-
* Indicates whether the settings window is currently shown or not.
|
|
73
|
-
*/
|
|
74
|
-
this.show = false;
|
|
75
|
-
}
|
|
76
|
-
windowClosedHandler(eventInfo) {
|
|
77
|
-
eventInfo.stopPropagation();
|
|
78
|
-
this.column.showSettings = false;
|
|
79
|
-
}
|
|
80
|
-
columnSettingsChangedHandler() {
|
|
81
|
-
this.column.showSettings = false;
|
|
82
|
-
}
|
|
83
|
-
render() {
|
|
84
|
-
return (h(Host, null, h("ch-window", { modal: true, container: this.column, xAlign: "inside-start", yAlign: "outside-end", caption: this.column.columnName, closeText: "Close", closeOnOutsideClick: true, closeOnEscape: true, allowDrag: "header", hidden: !this.show, exportparts: "mask,window,header,caption,close,main,footer" }, h("slot", null))));
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
ChGridColumnSettings.style = chGridColumnSettingsCss;
|
|
88
|
-
|
|
89
|
-
const chGridSettingsCss = ":host{display:contents;--ch-window-mask-z-index:var(--ch-grid-settings-layer)}";
|
|
90
|
-
|
|
91
|
-
const ChGridSettings = class {
|
|
92
|
-
constructor(hostRef) {
|
|
93
|
-
registerInstance(this, hostRef);
|
|
94
|
-
this.settingsCloseClicked = createEvent(this, "settingsCloseClicked", 7);
|
|
95
|
-
/**
|
|
96
|
-
* Indicates whether the settings window is currently shown or not.
|
|
97
|
-
*/
|
|
98
|
-
this.show = false;
|
|
99
|
-
}
|
|
100
|
-
windowClosedHandler(eventInfo) {
|
|
101
|
-
eventInfo.stopPropagation();
|
|
102
|
-
this.show = false;
|
|
103
|
-
this.settingsCloseClicked.emit();
|
|
104
|
-
}
|
|
105
|
-
render() {
|
|
106
|
-
return (h(Host, null, h("ch-window", { modal: true, container: this.grid, caption: "Options", closeText: "Close", closeOnOutsideClick: true, closeOnEscape: true, allowDrag: "header", hidden: !this.show, exportparts: "mask,window,header,caption,close,main,footer" }, h("slot", null))));
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
ChGridSettings.style = chGridSettingsCss;
|
|
110
|
-
|
|
111
|
-
const chGridSettingsColumnsCss = ":host{display:flex;flex-direction:column}ul{display:contents;list-style-type:none}";
|
|
112
|
-
|
|
113
|
-
const ChGridSettingsColumns = class {
|
|
114
|
-
constructor(hostRef) {
|
|
115
|
-
registerInstance(this, hostRef);
|
|
116
|
-
this.handleClick = (eventInfo) => {
|
|
117
|
-
const checkbox = eventInfo.target;
|
|
118
|
-
const column = this.columns.find(column => column.columnId === checkbox.name);
|
|
119
|
-
column.hidden = !checkbox.checked;
|
|
120
|
-
eventInfo.stopPropagation();
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
getColumnsSorted() {
|
|
124
|
-
return [...this.columns].sort((a, b) => {
|
|
125
|
-
if (a.order < b.order) {
|
|
126
|
-
return -1;
|
|
127
|
-
}
|
|
128
|
-
if (a.order > b.order) {
|
|
129
|
-
return 1;
|
|
130
|
-
}
|
|
131
|
-
return 0;
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
render() {
|
|
135
|
-
const columnsSorted = this.getColumnsSorted();
|
|
136
|
-
return (h("ul", null, columnsSorted.map(column => (h("li", { part: "column" }, h("label", { part: "column-label" }, h("input", { part: !column.hidden
|
|
137
|
-
? "column-visible column-visible-checked"
|
|
138
|
-
: "column-visible", type: "checkbox", checked: !column.hidden, disabled: !column.hideable, name: column.columnId, onClick: this.handleClick }), column.columnName))))));
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
ChGridSettingsColumns.style = chGridSettingsColumnsCss;
|
|
142
|
-
|
|
143
|
-
export { ChGridColumnResize as ch_grid_column_resize, ChGridColumnSettings as ch_grid_column_settings, ChGridSettings as ch_grid_settings, ChGridSettingsColumns as ch_grid_settings_columns };
|