@sankhyalabs/ezui 2.0.7 → 2.0.8
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-grid.cjs.entry.js +5 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +4 -0
- package/dist/collection/components/ez-grid/ez-grid.js +1 -1
- package/dist/custom-elements/index.js +5 -1
- package/dist/esm/ez-grid.entry.js +5 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-a7733cb4.entry.js → p-36d7e2d2.entry.js} +1 -1
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +1 -0
- package/package.json +1 -1
|
@@ -115175,9 +115175,13 @@ class AgGridController {
|
|
|
115175
115175
|
info['column'] = { colId: e['column'].colId, actualWidth: e['column'].actualWidth };
|
|
115176
115176
|
}
|
|
115177
115177
|
info['isUserChange'] = isUserChange;
|
|
115178
|
+
info['isElementResize'] = this.isElementResize(e);
|
|
115178
115179
|
this._columnStateChangeCallback(type, this.getColumnsState(), info);
|
|
115179
115180
|
}
|
|
115180
115181
|
}
|
|
115182
|
+
isElementResize(e) {
|
|
115183
|
+
return e["target"] && e["target"].getAttribute("ref") === "eResize";
|
|
115184
|
+
}
|
|
115181
115185
|
isUIEvent(source, type) {
|
|
115182
115186
|
let optionsArr = ["uiColumnMoved", "uiColumnResized", "uiColumnDragged", "uiColumnExpanded", "uiColumnSorted"];
|
|
115183
115187
|
if (type === 'dragStopped') {
|
|
@@ -115281,7 +115285,7 @@ let EzGrid = class {
|
|
|
115281
115285
|
var _a;
|
|
115282
115286
|
this.ezColumnStateChange.emit({ type, state, isUserChange: info.isUserChange });
|
|
115283
115287
|
if (info.isUserChange) {
|
|
115284
|
-
if (type === 'columnMovedEnd') {
|
|
115288
|
+
if (type === 'columnMovedEnd' && !info.isElementResize) {
|
|
115285
115289
|
let newConfig;
|
|
115286
115290
|
if (this.config) {
|
|
115287
115291
|
newConfig = { columns: [] };
|
|
@@ -433,9 +433,13 @@ export default class AgGridController {
|
|
|
433
433
|
info['column'] = { colId: e['column'].colId, actualWidth: e['column'].actualWidth };
|
|
434
434
|
}
|
|
435
435
|
info['isUserChange'] = isUserChange;
|
|
436
|
+
info['isElementResize'] = this.isElementResize(e);
|
|
436
437
|
this._columnStateChangeCallback(type, this.getColumnsState(), info);
|
|
437
438
|
}
|
|
438
439
|
}
|
|
440
|
+
isElementResize(e) {
|
|
441
|
+
return e["target"] && e["target"].getAttribute("ref") === "eResize";
|
|
442
|
+
}
|
|
439
443
|
isUIEvent(source, type) {
|
|
440
444
|
let optionsArr = ["uiColumnMoved", "uiColumnResized", "uiColumnDragged", "uiColumnExpanded", "uiColumnSorted"];
|
|
441
445
|
if (type === 'dragStopped') {
|
|
@@ -64,7 +64,7 @@ export class EzGrid {
|
|
|
64
64
|
var _a;
|
|
65
65
|
this.ezColumnStateChange.emit({ type, state, isUserChange: info.isUserChange });
|
|
66
66
|
if (info.isUserChange) {
|
|
67
|
-
if (type === 'columnMovedEnd') {
|
|
67
|
+
if (type === 'columnMovedEnd' && !info.isElementResize) {
|
|
68
68
|
let newConfig;
|
|
69
69
|
if (this.config) {
|
|
70
70
|
newConfig = { columns: [] };
|
|
@@ -118155,9 +118155,13 @@ class AgGridController {
|
|
|
118155
118155
|
info['column'] = { colId: e['column'].colId, actualWidth: e['column'].actualWidth };
|
|
118156
118156
|
}
|
|
118157
118157
|
info['isUserChange'] = isUserChange;
|
|
118158
|
+
info['isElementResize'] = this.isElementResize(e);
|
|
118158
118159
|
this._columnStateChangeCallback(type, this.getColumnsState(), info);
|
|
118159
118160
|
}
|
|
118160
118161
|
}
|
|
118162
|
+
isElementResize(e) {
|
|
118163
|
+
return e["target"] && e["target"].getAttribute("ref") === "eResize";
|
|
118164
|
+
}
|
|
118161
118165
|
isUIEvent(source, type) {
|
|
118162
118166
|
let optionsArr = ["uiColumnMoved", "uiColumnResized", "uiColumnDragged", "uiColumnExpanded", "uiColumnSorted"];
|
|
118163
118167
|
if (type === 'dragStopped') {
|
|
@@ -118262,7 +118266,7 @@ let EzGrid$1 = class extends HTMLElement$1 {
|
|
|
118262
118266
|
var _a;
|
|
118263
118267
|
this.ezColumnStateChange.emit({ type, state, isUserChange: info.isUserChange });
|
|
118264
118268
|
if (info.isUserChange) {
|
|
118265
|
-
if (type === 'columnMovedEnd') {
|
|
118269
|
+
if (type === 'columnMovedEnd' && !info.isElementResize) {
|
|
118266
118270
|
let newConfig;
|
|
118267
118271
|
if (this.config) {
|
|
118268
118272
|
newConfig = { columns: [] };
|
|
@@ -115171,9 +115171,13 @@ class AgGridController {
|
|
|
115171
115171
|
info['column'] = { colId: e['column'].colId, actualWidth: e['column'].actualWidth };
|
|
115172
115172
|
}
|
|
115173
115173
|
info['isUserChange'] = isUserChange;
|
|
115174
|
+
info['isElementResize'] = this.isElementResize(e);
|
|
115174
115175
|
this._columnStateChangeCallback(type, this.getColumnsState(), info);
|
|
115175
115176
|
}
|
|
115176
115177
|
}
|
|
115178
|
+
isElementResize(e) {
|
|
115179
|
+
return e["target"] && e["target"].getAttribute("ref") === "eResize";
|
|
115180
|
+
}
|
|
115177
115181
|
isUIEvent(source, type) {
|
|
115178
115182
|
let optionsArr = ["uiColumnMoved", "uiColumnResized", "uiColumnDragged", "uiColumnExpanded", "uiColumnSorted"];
|
|
115179
115183
|
if (type === 'dragStopped') {
|
|
@@ -115277,7 +115281,7 @@ let EzGrid = class {
|
|
|
115277
115281
|
var _a;
|
|
115278
115282
|
this.ezColumnStateChange.emit({ type, state, isUserChange: info.isUserChange });
|
|
115279
115283
|
if (info.isUserChange) {
|
|
115280
|
-
if (type === 'columnMovedEnd') {
|
|
115284
|
+
if (type === 'columnMovedEnd' && !info.isElementResize) {
|
|
115281
115285
|
let newConfig;
|
|
115282
115286
|
if (this.config) {
|
|
115283
115287
|
newConfig = { columns: [] };
|
package/dist/ezui/ezui.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-3c7ea91b.js";(()=>{const o=import.meta.url,s={};return""!==o&&(s.resourcesUrl=new URL(".",o).href),e(s)})().then((e=>o([["p-8c2105a5",[[1,"ez-actions-button",{enabled:[516],actions:[1040],size:[513],showLabel:[516,"show-label"],displayIcon:[513,"display-icon"],checkOption:[516,"check-option"],value:[513],isTransparent:[516,"is-transparent"],arrowActive:[516,"arrow-active"],_selectedAction:[32],hideActions:[64],isOpened:[64]}]]],["p-f6afdc4d",[[1,"ez-dialog",{confirm:[1028],dialogType:[1025,"dialog-type"],message:[1025],opened:[1540],personalizedIconPath:[1025,"personalized-icon-path"],ezTitle:[1025,"ez-title"],handleButtonClick:[64],show:[64]}]]],["p-43bb6a59",[[1,"ez-filter-input",{label:[1],value:[1537],enabled:[4],loading:[516],errorMessage:[1537,"error-message"],restrict:[1],mode:[513],setFocus:[64],setBlur:[64],isInvalid:[64]}]]],["p-
|
|
1
|
+
import{p as e,b as o}from"./p-3c7ea91b.js";(()=>{const o=import.meta.url,s={};return""!==o&&(s.resourcesUrl=new URL(".",o).href),e(s)})().then((e=>o([["p-8c2105a5",[[1,"ez-actions-button",{enabled:[516],actions:[1040],size:[513],showLabel:[516,"show-label"],displayIcon:[513,"display-icon"],checkOption:[516,"check-option"],value:[513],isTransparent:[516,"is-transparent"],arrowActive:[516,"arrow-active"],_selectedAction:[32],hideActions:[64],isOpened:[64]}]]],["p-f6afdc4d",[[1,"ez-dialog",{confirm:[1028],dialogType:[1025,"dialog-type"],message:[1025],opened:[1540],personalizedIconPath:[1025,"personalized-icon-path"],ezTitle:[1025,"ez-title"],handleButtonClick:[64],show:[64]}]]],["p-43bb6a59",[[1,"ez-filter-input",{label:[1],value:[1537],enabled:[4],loading:[516],errorMessage:[1537,"error-message"],restrict:[1],mode:[513],setFocus:[64],setBlur:[64],isInvalid:[64]}]]],["p-36d7e2d2",[[6,"ez-grid",{multipleSelection:[4,"multiple-selection"],config:[1040],serverUrl:[1,"server-url"],dataUnit:[16],statusResolver:[16],_paginationInfo:[32],setColumnsDef:[64],addColumnMenuItem:[64],setColumnsState:[64],setData:[64],getSelection:[64],getColumnsState:[64],getColumns:[64],quickFilter:[64]}]]],["p-dfcf55e0",[[6,"ez-modal-container",{modalTitle:[1,"modal-title"],modalSubTitle:[1,"modal-sub-title"],showTitleBar:[4,"show-title-bar"],cancelButtonLabel:[1,"cancel-button-label"],okButtonLabel:[1,"ok-button-label"],cancelButtonStatus:[1,"cancel-button-status"],okButtonStatus:[1,"ok-button-status"]}]]],["p-9b9ebf95",[[1,"ez-chip",{label:[513],enabled:[516],removePosition:[513,"remove-position"],mode:[513],value:[1540],setFocus:[64],setBlur:[64]}]]],["p-1cc11468",[[0,"ez-application"]]],["p-fe75f477",[[1,"ez-card-item",{item:[16]}]]],["p-42c6493e",[[1,"ez-list",{dataSource:[1040],useGroups:[1540,"use-groups"],ezDraggable:[1028,"ez-draggable"],ezSelectable:[1028,"ez-selectable"],itemSlotBuilder:[1040],_listItems:[32],_listGroupItems:[32],clearHistory:[64],scrollToTop:[64],setSelection:[64],getSelection:[64],getList:[64]}]]],["p-ed2135a5",[[1,"ez-loading-bar",{_showLoading:[32],hide:[64],show:[64]}]]],["p-7c227b86",[[1,"ez-modal",{modalSize:[1,"modal-size"],align:[1],opened:[1028],closeEsc:[4,"close-esc"],closeOutsideClick:[4,"close-outside-click"]}]]],["p-bffae598",[[1,"ez-popover",{autoClose:[516,"auto-close"],top:[1537],left:[1537],bottom:[1537],right:[1537],boxWidth:[513,"box-width"],opened:[1540],innerElement:[1537,"inner-element"],updatePosition:[64],show:[64],hide:[64]}]]],["p-cfcc23e6",[[1,"ez-popup",{size:[1],opened:[1540],useHeader:[1540,"use-header"],heightMode:[1537,"height-mode"],ezTitle:[1,"ez-title"]}]]],["p-11e137bb",[[1,"ez-radio-button",{value:[1544],options:[1040],enabled:[516],label:[513],direction:[1537]}]]],["p-e3ee814c",[[1,"ez-scroller",{direction:[1]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]]],["p-482c3dd8",[[1,"ez-toast",{message:[1025],fadeTime:[1026,"fade-time"],useIcon:[1028,"use-icon"],canClose:[1028,"can-close"],show:[64]}]]],["p-0c7203d5",[[0,"ez-view-stack",{show:[64],getSelectedIndex:[64]}]]],["p-2ccad880",[[1,"ez-text-input",{label:[513],value:[1537],enabled:[516],loading:[516],errorMessage:[1537,"error-message"],mask:[1],canShowError:[516,"can-show-error"],restrict:[1],mode:[513],noBorder:[516,"no-border"],setFocus:[64],setBlur:[64],isInvalid:[64]}]]],["p-659616e4",[[1,"ez-collapsible-box",{value:[1540],label:[513],headerSize:[513,"header-size"],iconPlacement:[513,"icon-placement"],stretchTitle:[516,"stretch-title"],removable:[516],editable:[516],conditionalSave:[16],_activeEditText:[32],showHide:[64],applyFocusTextEdit:[64],cancelEdition:[64]}]]],["p-56688470",[[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"],suppressEmptyOption:[4,"suppress-empty-option"],mode:[513],setFocus:[64],setBlur:[64],isInvalid:[64]}]]],["p-7f9196f6",[[1,"ez-date-input",{label:[513],value:[1040],enabled:[516],errorMessage:[1537,"error-message"],mode:[513],setFocus:[64],setBlur:[64],isInvalid:[64]}]]],["p-a15171b4",[[1,"ez-date-time-input",{label:[513],value:[1040],enabled:[516],errorMessage:[1537,"error-message"],showSeconds:[516,"show-seconds"],mode:[513],setFocus:[64],setBlur:[64],isInvalid:[64]}]]],["p-744eb735",[[1,"ez-time-input",{label:[513],value:[1026],enabled:[516],errorMessage:[1537,"error-message"],showSeconds:[516,"show-seconds"],mode:[513],setFocus:[64],setBlur:[64],isInvalid:[64]}]]],["p-1d054ad5",[[1,"ez-number-input",{label:[1],value:[1538],enabled:[4],errorMessage:[1537,"error-message"],precision:[2],prettyPrecision:[2,"pretty-precision"],mode:[513],setFocus:[64],setBlur:[64],isInvalid:[64]}]]],["p-f27c364b",[[1,"ez-tabselector",{selectedIndex:[1538,"selected-index"],selectedTab:[1537,"selected-tab"],tabs:[1],_processedTabs:[32]}]]],["p-0bd0afcf",[[1,"ez-check",{label:[513],value:[1540],enabled:[1540],indeterminate:[4],mode:[513],getMode:[64],setFocus:[64]}]]],["p-e697ffd5",[[1,"ez-text-area",{label:[513],value:[1537],enabled:[516],loading:[516],errorMessage:[1537,"error-message"],rows:[1538],canShowError:[516,"can-show-error"],mode:[513],setFocus:[64],setBlur:[64],isInvalid:[64]}]]],["p-efa32bcc",[[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],setFocus:[64],setBlur:[64]}]]],["p-5bdb1a41",[[1,"ez-text-edit",{value:[1],styled:[16],_newValue:[32],applyFocusSelect:[64]}]]],["p-1a17b0f5",[[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"],suppressSearch:[4,"suppress-search"],optionLoader:[16],suppressEmptyOption:[4,"suppress-empty-option"],canShowError:[516,"can-show-error"],mode:[513],_preSelection:[32],_visibleOptions:[32],_startLoading:[32],_showLoading:[32],_criteria:[32],setFocus:[64],setBlur:[64],isInvalid:[64]}]]],["p-63d567cc",[[1,"ez-calendar",{value:[1040],floating:[516],time:[516],showSeconds:[516,"show-seconds"],show:[64],fitVertical:[64],hide:[64]}]]],["p-ec9decf2",[[1,"ez-icon",{size:[513],href:[513],iconName:[513,"icon-name"]}]]],["p-00d35755",[[1,"ez-button",{label:[513],enabled:[516],mode:[513],image:[513],iconName:[513,"icon-name"],size:[513],setFocus:[64],setBlur:[64]}]]],["p-e0aa9cb1",[[0,"ez-form",{dataUnit:[1040],config:[16],recordsValidator:[16],submit:[64],cancel:[64],validate:[64]}]]]],e)));
|