@sankhyalabs/ezui 1.1.88 → 1.1.89
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/ez-button_11.cjs.entry.js +11 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +7 -0
- package/dist/collection/components/ez-grid/ez-grid.js +18 -0
- package/dist/custom-elements/index.js +11 -0
- package/dist/esm/ez-button_11.entry.js +11 -0
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-85a056d7.entry.js → p-93bb1854.entry.js} +1 -1
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +4 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +2 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +4 -0
- package/dist/types/components.d.ts +4 -0
- package/package.json +1 -1
|
@@ -110178,6 +110178,7 @@ class AgGridController {
|
|
|
110178
110178
|
this._columnStateChangeCallback = options.onColumnStateChange;
|
|
110179
110179
|
this._selectionChangeCallback = options.onSelectionChange;
|
|
110180
110180
|
this._paginationChangeCallback = options.onPaginationChange;
|
|
110181
|
+
this._doubleClickCallBack = options.onDoubleClick;
|
|
110181
110182
|
this._multipleSelection = options.allowMultipleSelection;
|
|
110182
110183
|
this._pageSize = options.pageSize;
|
|
110183
110184
|
this._serverURL = options.serverURL;
|
|
@@ -110217,6 +110218,7 @@ class AgGridController {
|
|
|
110217
110218
|
opt.onColumnVisible = e => this.onCallStateChange("visibleChange", e);
|
|
110218
110219
|
opt.onSelectionChanged = e => this.onSelectionChange(e);
|
|
110219
110220
|
opt.onPaginationChanged = () => this.onPaginationChange();
|
|
110221
|
+
opt.onRowDoubleClicked = evt => this.onRowDoubleClick(evt);
|
|
110220
110222
|
}
|
|
110221
110223
|
setOptionsPagination(opt) {
|
|
110222
110224
|
opt.pagination = (this._pageSize > -1);
|
|
@@ -110360,6 +110362,11 @@ class AgGridController {
|
|
|
110360
110362
|
}
|
|
110361
110363
|
}
|
|
110362
110364
|
}
|
|
110365
|
+
onRowDoubleClick(evt) {
|
|
110366
|
+
if (this._doubleClickCallBack) {
|
|
110367
|
+
this._doubleClickCallBack(evt.data);
|
|
110368
|
+
}
|
|
110369
|
+
}
|
|
110363
110370
|
conditionalSet(host, attribute, value) {
|
|
110364
110371
|
if (value !== null && value !== undefined && value !== false) {
|
|
110365
110372
|
host[attribute] = value;
|
|
@@ -110452,6 +110459,7 @@ let EzGrid = class {
|
|
|
110452
110459
|
index.registerInstance(this, hostRef);
|
|
110453
110460
|
this.ezColumnStateChange = index.createEvent(this, "ezColumnStateChange", 7);
|
|
110454
110461
|
this.ezSelectionChange = index.createEvent(this, "ezSelectionChange", 7);
|
|
110462
|
+
this.ezDoubleClick = index.createEvent(this, "ezDoubleClick", 7);
|
|
110455
110463
|
this._gridController = new AgGridController(false);
|
|
110456
110464
|
this._popUpVisible = false;
|
|
110457
110465
|
/**
|
|
@@ -110520,6 +110528,9 @@ let EzGrid = class {
|
|
|
110520
110528
|
this._navigationLastRow = status.pageEnd;
|
|
110521
110529
|
this._navigationTotalRows = status.totalRows;
|
|
110522
110530
|
},
|
|
110531
|
+
onDoubleClick: (row) => {
|
|
110532
|
+
this.ezDoubleClick.emit(row);
|
|
110533
|
+
},
|
|
110523
110534
|
allowMultipleSelection: this.multipleSelection,
|
|
110524
110535
|
pageSize: this.pageSize,
|
|
110525
110536
|
serverURL: this.serverUrl,
|
|
@@ -13,6 +13,7 @@ export default class AgGridController {
|
|
|
13
13
|
this._columnStateChangeCallback = options.onColumnStateChange;
|
|
14
14
|
this._selectionChangeCallback = options.onSelectionChange;
|
|
15
15
|
this._paginationChangeCallback = options.onPaginationChange;
|
|
16
|
+
this._doubleClickCallBack = options.onDoubleClick;
|
|
16
17
|
this._multipleSelection = options.allowMultipleSelection;
|
|
17
18
|
this._pageSize = options.pageSize;
|
|
18
19
|
this._serverURL = options.serverURL;
|
|
@@ -52,6 +53,7 @@ export default class AgGridController {
|
|
|
52
53
|
opt.onColumnVisible = e => this.onCallStateChange("visibleChange", e);
|
|
53
54
|
opt.onSelectionChanged = e => this.onSelectionChange(e);
|
|
54
55
|
opt.onPaginationChanged = () => this.onPaginationChange();
|
|
56
|
+
opt.onRowDoubleClicked = evt => this.onRowDoubleClick(evt);
|
|
55
57
|
}
|
|
56
58
|
setOptionsPagination(opt) {
|
|
57
59
|
opt.pagination = (this._pageSize > -1);
|
|
@@ -195,6 +197,11 @@ export default class AgGridController {
|
|
|
195
197
|
}
|
|
196
198
|
}
|
|
197
199
|
}
|
|
200
|
+
onRowDoubleClick(evt) {
|
|
201
|
+
if (this._doubleClickCallBack) {
|
|
202
|
+
this._doubleClickCallBack(evt.data);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
198
205
|
conditionalSet(host, attribute, value) {
|
|
199
206
|
if (value !== null && value !== undefined && value !== false) {
|
|
200
207
|
host[attribute] = value;
|
|
@@ -71,6 +71,9 @@ export class EzGrid {
|
|
|
71
71
|
this._navigationLastRow = status.pageEnd;
|
|
72
72
|
this._navigationTotalRows = status.totalRows;
|
|
73
73
|
},
|
|
74
|
+
onDoubleClick: (row) => {
|
|
75
|
+
this.ezDoubleClick.emit(row);
|
|
76
|
+
},
|
|
74
77
|
allowMultipleSelection: this.multipleSelection,
|
|
75
78
|
pageSize: this.pageSize,
|
|
76
79
|
serverURL: this.serverUrl,
|
|
@@ -244,6 +247,21 @@ export class EzGrid {
|
|
|
244
247
|
}
|
|
245
248
|
}
|
|
246
249
|
}
|
|
250
|
+
}, {
|
|
251
|
+
"method": "ezDoubleClick",
|
|
252
|
+
"name": "ezDoubleClick",
|
|
253
|
+
"bubbles": true,
|
|
254
|
+
"cancelable": true,
|
|
255
|
+
"composed": true,
|
|
256
|
+
"docs": {
|
|
257
|
+
"tags": [],
|
|
258
|
+
"text": "Evento disparado com o duplo clique de uma linha"
|
|
259
|
+
},
|
|
260
|
+
"complexType": {
|
|
261
|
+
"original": "any",
|
|
262
|
+
"resolved": "any",
|
|
263
|
+
"references": {}
|
|
264
|
+
}
|
|
247
265
|
}]; }
|
|
248
266
|
static get methods() { return {
|
|
249
267
|
"setColumnsDef": {
|
|
@@ -119470,6 +119470,7 @@ class AgGridController {
|
|
|
119470
119470
|
this._columnStateChangeCallback = options.onColumnStateChange;
|
|
119471
119471
|
this._selectionChangeCallback = options.onSelectionChange;
|
|
119472
119472
|
this._paginationChangeCallback = options.onPaginationChange;
|
|
119473
|
+
this._doubleClickCallBack = options.onDoubleClick;
|
|
119473
119474
|
this._multipleSelection = options.allowMultipleSelection;
|
|
119474
119475
|
this._pageSize = options.pageSize;
|
|
119475
119476
|
this._serverURL = options.serverURL;
|
|
@@ -119509,6 +119510,7 @@ class AgGridController {
|
|
|
119509
119510
|
opt.onColumnVisible = e => this.onCallStateChange("visibleChange", e);
|
|
119510
119511
|
opt.onSelectionChanged = e => this.onSelectionChange(e);
|
|
119511
119512
|
opt.onPaginationChanged = () => this.onPaginationChange();
|
|
119513
|
+
opt.onRowDoubleClicked = evt => this.onRowDoubleClick(evt);
|
|
119512
119514
|
}
|
|
119513
119515
|
setOptionsPagination(opt) {
|
|
119514
119516
|
opt.pagination = (this._pageSize > -1);
|
|
@@ -119652,6 +119654,11 @@ class AgGridController {
|
|
|
119652
119654
|
}
|
|
119653
119655
|
}
|
|
119654
119656
|
}
|
|
119657
|
+
onRowDoubleClick(evt) {
|
|
119658
|
+
if (this._doubleClickCallBack) {
|
|
119659
|
+
this._doubleClickCallBack(evt.data);
|
|
119660
|
+
}
|
|
119661
|
+
}
|
|
119655
119662
|
conditionalSet(host, attribute, value) {
|
|
119656
119663
|
if (value !== null && value !== undefined && value !== false) {
|
|
119657
119664
|
host[attribute] = value;
|
|
@@ -119691,6 +119698,7 @@ let EzGrid$1 = class extends HTMLElement$1 {
|
|
|
119691
119698
|
this.__registerHost();
|
|
119692
119699
|
this.ezColumnStateChange = createEvent(this, "ezColumnStateChange", 7);
|
|
119693
119700
|
this.ezSelectionChange = createEvent(this, "ezSelectionChange", 7);
|
|
119701
|
+
this.ezDoubleClick = createEvent(this, "ezDoubleClick", 7);
|
|
119694
119702
|
this._gridController = new AgGridController(false);
|
|
119695
119703
|
this._popUpVisible = false;
|
|
119696
119704
|
/**
|
|
@@ -119759,6 +119767,9 @@ let EzGrid$1 = class extends HTMLElement$1 {
|
|
|
119759
119767
|
this._navigationLastRow = status.pageEnd;
|
|
119760
119768
|
this._navigationTotalRows = status.totalRows;
|
|
119761
119769
|
},
|
|
119770
|
+
onDoubleClick: (row) => {
|
|
119771
|
+
this.ezDoubleClick.emit(row);
|
|
119772
|
+
},
|
|
119762
119773
|
allowMultipleSelection: this.multipleSelection,
|
|
119763
119774
|
pageSize: this.pageSize,
|
|
119764
119775
|
serverURL: this.serverUrl,
|
|
@@ -110174,6 +110174,7 @@ class AgGridController {
|
|
|
110174
110174
|
this._columnStateChangeCallback = options.onColumnStateChange;
|
|
110175
110175
|
this._selectionChangeCallback = options.onSelectionChange;
|
|
110176
110176
|
this._paginationChangeCallback = options.onPaginationChange;
|
|
110177
|
+
this._doubleClickCallBack = options.onDoubleClick;
|
|
110177
110178
|
this._multipleSelection = options.allowMultipleSelection;
|
|
110178
110179
|
this._pageSize = options.pageSize;
|
|
110179
110180
|
this._serverURL = options.serverURL;
|
|
@@ -110213,6 +110214,7 @@ class AgGridController {
|
|
|
110213
110214
|
opt.onColumnVisible = e => this.onCallStateChange("visibleChange", e);
|
|
110214
110215
|
opt.onSelectionChanged = e => this.onSelectionChange(e);
|
|
110215
110216
|
opt.onPaginationChanged = () => this.onPaginationChange();
|
|
110217
|
+
opt.onRowDoubleClicked = evt => this.onRowDoubleClick(evt);
|
|
110216
110218
|
}
|
|
110217
110219
|
setOptionsPagination(opt) {
|
|
110218
110220
|
opt.pagination = (this._pageSize > -1);
|
|
@@ -110356,6 +110358,11 @@ class AgGridController {
|
|
|
110356
110358
|
}
|
|
110357
110359
|
}
|
|
110358
110360
|
}
|
|
110361
|
+
onRowDoubleClick(evt) {
|
|
110362
|
+
if (this._doubleClickCallBack) {
|
|
110363
|
+
this._doubleClickCallBack(evt.data);
|
|
110364
|
+
}
|
|
110365
|
+
}
|
|
110359
110366
|
conditionalSet(host, attribute, value) {
|
|
110360
110367
|
if (value !== null && value !== undefined && value !== false) {
|
|
110361
110368
|
host[attribute] = value;
|
|
@@ -110448,6 +110455,7 @@ let EzGrid = class {
|
|
|
110448
110455
|
registerInstance(this, hostRef);
|
|
110449
110456
|
this.ezColumnStateChange = createEvent(this, "ezColumnStateChange", 7);
|
|
110450
110457
|
this.ezSelectionChange = createEvent(this, "ezSelectionChange", 7);
|
|
110458
|
+
this.ezDoubleClick = createEvent(this, "ezDoubleClick", 7);
|
|
110451
110459
|
this._gridController = new AgGridController(false);
|
|
110452
110460
|
this._popUpVisible = false;
|
|
110453
110461
|
/**
|
|
@@ -110516,6 +110524,9 @@ let EzGrid = class {
|
|
|
110516
110524
|
this._navigationLastRow = status.pageEnd;
|
|
110517
110525
|
this._navigationTotalRows = status.totalRows;
|
|
110518
110526
|
},
|
|
110527
|
+
onDoubleClick: (row) => {
|
|
110528
|
+
this.ezDoubleClick.emit(row);
|
|
110529
|
+
},
|
|
110519
110530
|
allowMultipleSelection: this.multipleSelection,
|
|
110520
110531
|
pageSize: this.pageSize,
|
|
110521
110532
|
serverURL: this.serverUrl,
|
package/dist/ezui/ezui.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-7c101b34.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then((e=>a([["p-4e08b842",[[0,"ez-form",{dataUnit:[1040],config:[16],submit:[64],cancel:[64],validate:[64]}]]],["p-091b27f2",[[1,"ez-dialog",{confirm:[1028],critical:[1028],message:[1025],opened:[1540],personalizedIconPath:[1025,"personalized-icon-path"],ezTitle:[1025,"ez-title"],handleButtonClick:[64],show:[64]}]]],["p-eefc1f9d",[[1,"ez-time-input",{label:[513],viewValue:[1537,"view-value"],value:[1026],enabled:[516],errorMessage:[1537,"error-message"],showSeconds:[516,"show-seconds"],setFocus:[64],setBlur:[64]}]]],["p-6206515e",[[1,"ez-action-chip",{label:[513],enabled:[516]}]]],["p-39218c31",[[0,"ez-application"]]],["p-19d8a928",[[1,"ez-label-chip",{label:[513],enabled:[516],removable:[516],value:[1540],setFocus:[64],setBlur:[64]}]]],["p-826b6c4d",[[1,"ez-popover",{autoClose:[516,"auto-close"],top:[1537],left:[1537],bottom:[1537],right:[1537],boxWidth:[513,"box-width"],opened:[1540],updatePosition:[64],show:[64],hide:[64]}]]],["p-a52b3368",[[1,"ez-popup",{size:[1],opened:[1540],useHeader:[1540,"use-header"],ezTitle:[1,"ez-title"]}]]],["p-b678dc80",[[1,"ez-toast",{message:[1025],fadeTime:[1026,"fade-time"],useIcon:[1028,"use-icon"],show:[64]}]]],["p-535771b6",[[1,"ez-calendar",{value:[1040],floating:[516],time:[516],showSeconds:[516,"show-seconds"],show:[64],fitVertical:[64],hide:[64]}]]],["p-
|
|
1
|
+
import{p as e,b as a}from"./p-7c101b34.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then((e=>a([["p-4e08b842",[[0,"ez-form",{dataUnit:[1040],config:[16],submit:[64],cancel:[64],validate:[64]}]]],["p-091b27f2",[[1,"ez-dialog",{confirm:[1028],critical:[1028],message:[1025],opened:[1540],personalizedIconPath:[1025,"personalized-icon-path"],ezTitle:[1025,"ez-title"],handleButtonClick:[64],show:[64]}]]],["p-eefc1f9d",[[1,"ez-time-input",{label:[513],viewValue:[1537,"view-value"],value:[1026],enabled:[516],errorMessage:[1537,"error-message"],showSeconds:[516,"show-seconds"],setFocus:[64],setBlur:[64]}]]],["p-6206515e",[[1,"ez-action-chip",{label:[513],enabled:[516]}]]],["p-39218c31",[[0,"ez-application"]]],["p-19d8a928",[[1,"ez-label-chip",{label:[513],enabled:[516],removable:[516],value:[1540],setFocus:[64],setBlur:[64]}]]],["p-826b6c4d",[[1,"ez-popover",{autoClose:[516,"auto-close"],top:[1537],left:[1537],bottom:[1537],right:[1537],boxWidth:[513,"box-width"],opened:[1540],updatePosition:[64],show:[64],hide:[64]}]]],["p-a52b3368",[[1,"ez-popup",{size:[1],opened:[1540],useHeader:[1540,"use-header"],ezTitle:[1,"ez-title"]}]]],["p-b678dc80",[[1,"ez-toast",{message:[1025],fadeTime:[1026,"fade-time"],useIcon:[1028,"use-icon"],show:[64]}]]],["p-535771b6",[[1,"ez-calendar",{value:[1040],floating:[516],time:[516],showSeconds:[516,"show-seconds"],show:[64],fitVertical:[64],hide:[64]}]]],["p-93bb1854",[[0,"test-du"],[2,"ez-grid",{multipleSelection:[4,"multiple-selection"],pageSize:[2,"page-size"],serverUrl:[1,"server-url"],dataUnit:[16],_navigationHasPrevious:[32],_navigationHasNext:[32],_navigationFirstRow:[32],_navigationLastRow:[32],_navigationTotalRows:[32],_popUpVisible:[32],setColumnsDef:[64],addColumnMenuItem:[64],setColumnsState:[64],setData:[64],getSelection:[64],getColumnsState:[64],getColumns:[64]}],[2,"grid-config",{selectedTab:[1025,"selected-tab"],columns:[1040]}],[1,"ez-modal",{modalSize:[1,"modal-size"],align:[1],opened:[1028],closeEsc:[4,"close-esc"],closeOutsideClick:[4,"close-outside-click"]}],[1,"ez-list",{dataSource:[1040],useGroups:[1540,"use-groups"],ezDraggable:[1028,"ez-draggable"],ezSelectable:[1028,"ez-selectable"],itemSlotBuilder:[1040],_listItems:[32],_listGroupItems:[32],setSelection:[64],getSelection:[64],getList:[64]}],[1,"select-box",{selectedOption:[1,"selected-option"]}],[1,"ez-button",{label:[513],enabled:[516],mode:[513],image:[513],iconName:[513,"icon-name"],size:[513]}],[1,"ez-check",{label:[513],value:[1540],enabled:[516],mode:[513],getMode:[64],setFocus:[64]}],[1,"ez-tabselector",{selectedIndex:[1537,"selected-index"],selectedTab:[1537,"selected-tab"],tabs:[1]}],[1,"ez-icon",{size:[513],href:[513],iconName:[513,"icon-name"]}],[1,"ez-text-input",{label:[513],value:[1537],enabled:[516],loading:[516],errorMessage:[1537,"error-message"],mask:[1],restrict:[1],setFocus:[64],setBlur:[64]}]]],["p-3e79877f",[[1,"ez-combo-box",{value:[1537],label:[513],enabled:[516],options:[1040],errorMessage:[1537,"error-message"],searchMode:[4,"search-mode"],showSelectedValue:[4,"show-selected-value"],showOptionValue:[4,"show-option-value"],optionLoader:[16],_preSelection:[32],_visibleOptions:[32]}]]],["p-27a35580",[[1,"ez-date-input",{label:[513],value:[1040],enabled:[516],errorMessage:[1537,"error-message"]}],[1,"ez-date-time-input",{label:[513],value:[1040],enabled:[516],errorMessage:[1537,"error-message"],showSeconds:[516,"show-seconds"]}],[1,"ez-search",{value:[1537],label:[1537],enabled:[1540],errorMessage:[1537,"error-message"],optionLoader:[16],showSelectedValue:[4,"show-selected-value"],showOptionValue:[4,"show-option-value"]}],[1,"ez-number-input",{label:[1],value:[1538],enabled:[4],errorMessage:[1537,"error-message"],precision:[2],prettyPrecision:[2,"pretty-precision"]}],[1,"ez-collapsible-box",{value:[1540],label:[513],headerSize:[513,"header-size"],iconPlacement:[513,"icon-placement"],showHide:[64]}],[1,"ez-text-area",{label:[513],value:[1537],enabled:[516],loading:[516],errorMessage:[1537,"error-message"],rows:[1538],setFocus:[64],setBlur:[64]}],[1,"ez-upload",{label:[1],enabled:[4],maxFileSize:[2,"max-file-size"],maxFiles:[2,"max-files"],requestHeaders:[8,"request-headers"],urlUpload:[1,"url-upload"],urlDelete:[1,"url-delete"],value:[1040],addFiles:[64]}]]]],e)));
|