@sankhyalabs/ezui 0.0.0-bugfix-dev-kb-74998.4 → 0.0.0-bugfix-dev-KB-75210.0
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-card-item_3.cjs.entry.js → ez-card-item_2.cjs.entry.js} +0 -123
- package/dist/cjs/ez-chart.cjs.entry.js +1 -1
- package/dist/cjs/ez-double-list.cjs.entry.js +287 -0
- package/dist/cjs/ez-filter-input.cjs.entry.js +130 -0
- package/dist/cjs/ez-form-view.cjs.entry.js +8 -2
- package/dist/cjs/ez-grid.cjs.entry.js +777 -109
- package/dist/cjs/ez-list.cjs.entry.js +253 -205
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-popup.cjs.entry.js +4 -1
- package/dist/cjs/ez-split-item.cjs.entry.js +3 -2
- package/dist/cjs/ez-split-panel.cjs.entry.js +54 -2
- package/dist/cjs/ezListHelper-0d3970b4.js +90 -0
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/filter-column.cjs.entry.js +2 -2
- package/dist/cjs/index-a7b0c73d.js +10 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/ez-double-list/doubleListHelper.js +82 -0
- package/dist/collection/components/ez-double-list/ez-double-list.css +62 -0
- package/dist/collection/components/ez-double-list/ez-double-list.js +440 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +2 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +6 -2
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +4 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js +4 -0
- package/dist/collection/components/ez-grid/ez-grid.css +24 -6
- package/dist/collection/components/ez-grid/ez-grid.js +25 -5
- package/dist/collection/components/ez-grid/subcomponents/filter-column.css +4 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js +1 -1
- package/dist/collection/components/ez-list/ez-list.js +296 -206
- package/dist/collection/components/ez-list/ezListHelper.js +85 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +2 -2
- package/dist/collection/components/ez-popup/ez-popup.css +1 -0
- package/dist/collection/components/ez-popup/ez-popup.js +5 -2
- package/dist/collection/components/ez-split-panel/ez-split-panel.css +15 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.js +71 -1
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +13 -2
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +20 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +1481 -338
- package/dist/esm/{ez-card-item_3.entry.js → ez-card-item_2.entry.js} +1 -123
- package/dist/esm/ez-chart.entry.js +1 -1
- package/dist/esm/ez-double-list.entry.js +283 -0
- package/dist/esm/ez-filter-input.entry.js +126 -0
- package/dist/esm/ez-form-view.entry.js +8 -2
- package/dist/esm/ez-grid.entry.js +778 -110
- package/dist/esm/ez-list.entry.js +253 -205
- package/dist/esm/ez-multi-selection-list.entry.js +1 -1
- package/dist/esm/ez-popup.entry.js +4 -1
- package/dist/esm/ez-split-item.entry.js +3 -2
- package/dist/esm/ez-split-panel.entry.js +54 -2
- package/dist/esm/ezListHelper-00fb9b8d.js +87 -0
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/filter-column.entry.js +2 -2
- package/dist/esm/index-baa5e267.js +10 -2
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-16e612fc.entry.js +1 -0
- package/dist/ezui/p-17eabf46.entry.js +1 -0
- package/dist/ezui/p-2475fd6e.entry.js +1 -0
- package/dist/ezui/{p-baf80b13.entry.js → p-35d467a8.entry.js} +1 -1
- package/dist/ezui/p-5b205c80.entry.js +1 -0
- package/dist/ezui/p-65f471bc.entry.js +1 -0
- package/dist/ezui/p-66924de6.entry.js +1 -0
- package/dist/ezui/p-7e677b7b.entry.js +1 -0
- package/dist/ezui/p-80dfc50b.js +1 -0
- package/dist/ezui/{p-b36542d8.entry.js → p-a6fe527a.entry.js} +1 -1
- package/dist/ezui/p-b46e9f59.entry.js +309 -0
- package/dist/ezui/p-e3e3fd7a.entry.js +1 -0
- package/dist/ezui/{p-2b46b37b.entry.js → p-fa6732f2.entry.js} +1 -1
- package/dist/types/components/ez-double-list/doubleListHelper.d.ts +10 -0
- package/dist/types/components/ez-double-list/ez-double-list.d.ts +87 -0
- package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +2 -1
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +4 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +5 -1
- package/dist/types/components/ez-list/ez-list.d.ts +23 -2
- package/dist/types/components/ez-list/ezListHelper.d.ts +20 -0
- package/dist/types/components/ez-popup/ez-popup.d.ts +1 -1
- package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +7 -0
- package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +4 -0
- package/dist/types/components.d.ts +133 -13
- package/package.json +1 -1
- package/react/components.d.ts +1 -0
- package/react/components.js +1 -0
- package/react/components.js.map +1 -1
- package/dist/ezui/p-4575d511.entry.js +0 -1
- package/dist/ezui/p-90bcd2ba.entry.js +0 -1
- package/dist/ezui/p-bfad39eb.entry.js +0 -1
- package/dist/ezui/p-c806f32f.entry.js +0 -1
- package/dist/ezui/p-ca1ce49f.entry.js +0 -309
- package/dist/ezui/p-cd2e78f0.entry.js +0 -1
- package/dist/ezui/p-e78e0843.entry.js +0 -1
|
@@ -11,13 +11,19 @@
|
|
|
11
11
|
/*@doc Define o z-index do componente selection counter.*/
|
|
12
12
|
--ez-grid__selection-counter--z-index: var(--visible, 1);
|
|
13
13
|
/*@doc Define o sombreamento usado como borda.*/
|
|
14
|
-
--ez-grid__container--shadow:
|
|
14
|
+
--ez-grid__container--shadow: var(--shadow);
|
|
15
15
|
/*@doc Define altura mínima da grid */
|
|
16
16
|
--ez-grid--min-height: 300px;
|
|
17
17
|
/*@doc Define o outline usado como borda.*/
|
|
18
|
-
--ez-grid__container--outline:
|
|
19
|
-
/*@doc Define
|
|
20
|
-
--ez-
|
|
18
|
+
--ez-grid__container--shadow--outline: var(--shadow--outline) var(--color--strokes);
|
|
19
|
+
/*@doc Define a sombra do header.*/
|
|
20
|
+
--ez-grid__header--shadow: var(--shadow--xsmall);
|
|
21
|
+
/*@doc Define o outline usado como borda do header.*/
|
|
22
|
+
--ez-grid__header--shadow--outline: var(--shadow--outline) var(--color--strokes);
|
|
23
|
+
/*@doc Define o outline do header.*/
|
|
24
|
+
--ez-grid__header--outline: none;
|
|
25
|
+
/*@doc Define a borda do header.*/
|
|
26
|
+
--ez-grid__header--border: none;
|
|
21
27
|
|
|
22
28
|
min-height: var(--ez-grid--min-height);
|
|
23
29
|
}
|
|
@@ -31,6 +37,18 @@
|
|
|
31
37
|
background-color: var(--ez-grid__header--background-color, #FFF);
|
|
32
38
|
}
|
|
33
39
|
|
|
40
|
+
.grid-header.shadow-mode {
|
|
41
|
+
box-shadow: var(--ez-grid__header--shadow);
|
|
42
|
+
border: var(--ez-grid__header--border);
|
|
43
|
+
outline: var(--ez-grid__header--outline);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.grid-header.outline-mode {
|
|
47
|
+
box-shadow: var(--ez-grid__header--shadow--outline);
|
|
48
|
+
border: var(--ez-grid__header--border);
|
|
49
|
+
outline: var(--ez-grid__header--outline);
|
|
50
|
+
}
|
|
51
|
+
|
|
34
52
|
.grid__container {
|
|
35
53
|
/*private*/
|
|
36
54
|
padding-top: 15px;
|
|
@@ -42,9 +60,9 @@
|
|
|
42
60
|
background-color: var(--ez-grid__header--background-color);
|
|
43
61
|
}
|
|
44
62
|
|
|
45
|
-
.grid__container.
|
|
63
|
+
.grid__container.outline-mode {
|
|
46
64
|
/*public*/
|
|
47
|
-
box-shadow: var(--ez-grid__container--shadow
|
|
65
|
+
box-shadow: var(--ez-grid__container--shadow--outline);
|
|
48
66
|
border: none;
|
|
49
67
|
outline: none;
|
|
50
68
|
}
|
|
@@ -40,7 +40,8 @@ export class EzGrid {
|
|
|
40
40
|
this.enableGridInsert = false;
|
|
41
41
|
this.enableContinuousInsert = true;
|
|
42
42
|
this.enableLockManger = true;
|
|
43
|
-
this.
|
|
43
|
+
this.outlineMode = false;
|
|
44
|
+
this.enableRowTableStriped = true;
|
|
44
45
|
}
|
|
45
46
|
/**
|
|
46
47
|
* Aplica a definição de colunas.
|
|
@@ -402,7 +403,8 @@ export class EzGrid {
|
|
|
402
403
|
this.setSelection(this.dataUnit.getSelectionInfo());
|
|
403
404
|
}
|
|
404
405
|
},
|
|
405
|
-
enableLockManger: this.enableLockManger
|
|
406
|
+
enableLockManger: this.enableLockManger,
|
|
407
|
+
enableRowTableStriped: this.enableRowTableStriped,
|
|
406
408
|
});
|
|
407
409
|
if (this.config) {
|
|
408
410
|
this.observeConfig(this.config);
|
|
@@ -517,7 +519,7 @@ export class EzGrid {
|
|
|
517
519
|
}
|
|
518
520
|
render() {
|
|
519
521
|
var _a;
|
|
520
|
-
return (h(Host, { "no-header": this.hideHeader() }, h("div", { class: `grid__container ${this.
|
|
522
|
+
return (h(Host, { "no-header": this.hideHeader() }, h("div", { class: `grid__container ${this.outlineMode ? 'outline-mode' : 'shadow-mode'} ez-grid`, ref: elem => (this._container = elem) }), h("div", { class: `ez-box ${this.outlineMode ? 'outline-mode' : 'shadow-mode'} ez-padding--small grid-header` }, h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), h("div", { class: "grid-header__position" }, h("div", { class: `grid-header__container grid-header__left-container ${this.resolveLeftHeaderClass()}` }, h("slot", { name: "leftButtons" })), this.getPaginationControl())), h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
|
|
521
523
|
${this._showSelectionCounter ? 'grid__selection-counter--opened' : ''}
|
|
522
524
|
` }, h(SelectionCounter, { selectionCount: this._selectionCount, currentPageSelected: this._currentPageSelected, paginationInfo: this._paginationInfo, canSelectAll: (_a = this.selectionToastConfig) === null || _a === void 0 ? void 0 : _a.canSelectAll, allRecordSelected: this._isAllSelection, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), h("div", { class: "grid__footer" }, h("slot", { name: "footer" }))));
|
|
523
525
|
}
|
|
@@ -820,7 +822,7 @@ export class EzGrid {
|
|
|
820
822
|
"reflect": false,
|
|
821
823
|
"defaultValue": "true"
|
|
822
824
|
},
|
|
823
|
-
"
|
|
825
|
+
"outlineMode": {
|
|
824
826
|
"type": "boolean",
|
|
825
827
|
"mutable": false,
|
|
826
828
|
"complexType": {
|
|
@@ -834,7 +836,25 @@ export class EzGrid {
|
|
|
834
836
|
"tags": [],
|
|
835
837
|
"text": "Altera visualmente as sombras e bordas do componente\nQuando true, aplica o padr\u00E3o de sombras ao componente (Utilizar quando for o elemento principal do layout)\nQuando false, aplica o padr\u00E3o de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)"
|
|
836
838
|
},
|
|
837
|
-
"attribute": "
|
|
839
|
+
"attribute": "outline-mode",
|
|
840
|
+
"reflect": false,
|
|
841
|
+
"defaultValue": "false"
|
|
842
|
+
},
|
|
843
|
+
"enableRowTableStriped": {
|
|
844
|
+
"type": "boolean",
|
|
845
|
+
"mutable": false,
|
|
846
|
+
"complexType": {
|
|
847
|
+
"original": "boolean",
|
|
848
|
+
"resolved": "boolean",
|
|
849
|
+
"references": {}
|
|
850
|
+
},
|
|
851
|
+
"required": false,
|
|
852
|
+
"optional": true,
|
|
853
|
+
"docs": {
|
|
854
|
+
"tags": [],
|
|
855
|
+
"text": "Ativa modo de linhas com cores alternadas."
|
|
856
|
+
},
|
|
857
|
+
"attribute": "enable-row-table-striped",
|
|
838
858
|
"reflect": false,
|
|
839
859
|
"defaultValue": "true"
|
|
840
860
|
}
|
|
@@ -157,7 +157,7 @@ export class FilterColumn {
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
render() {
|
|
160
|
-
return (h("ez-popover", { class: 'filter-column__popover', "overlay-type": 'none', ref: (element) => (this.ezPopoverElement = element), autoClose: true, onEzVisibilityChange: this.handleEzVisibilityChange.bind(this) }, h("section", { class: 'filter-column' }, h("header", { class: 'filter-column__header' }, h("span", { class: 'ez-text ez-text--medium filter-column__header-title' }, "Filtro da coluna ", this.columnLabel), h("ez-button", { mode: 'icon', "icon-name": 'close', class: 'ez-button--tertiary', onClick: () => this.hide() })), h("ez-multi-selection-list", { columnName: this.columnName, dataSource: this.dataSource, options: this.options, useOptions: this.useOptions, ref: (element) => (this.ezMultiSelectionList = element), onChangeFilteredOptions: (event) => this.changeSelectedItems(event.detail), isTextSearch: this.isTextSearch }), h("footer", { class: 'filter-column__footer' }, h("ez-button", { label: 'Aplicar', class: 'ez-button--primary', onClick: this.submit.bind(this) })))));
|
|
160
|
+
return (h("ez-popover", { class: 'filter-column__popover', "overlay-type": 'none', ref: (element) => (this.ezPopoverElement = element), autoClose: true, onEzVisibilityChange: this.handleEzVisibilityChange.bind(this) }, h("section", { class: 'filter-column' }, h("header", { class: 'filter-column__header' }, h("span", { class: 'ez-text ez-text--medium filter-column__header-title' }, "Filtro da coluna ", this.columnLabel), h("ez-button", { mode: 'icon', "icon-name": 'close', class: 'ez-button--tertiary', onClick: () => this.hide() })), h("ez-multi-selection-list", { id: 'filter-column-selection-list', columnName: this.columnName, dataSource: this.dataSource, options: this.options, useOptions: this.useOptions, ref: (element) => (this.ezMultiSelectionList = element), onChangeFilteredOptions: (event) => this.changeSelectedItems(event.detail), isTextSearch: this.isTextSearch }), h("footer", { class: 'filter-column__footer' }, h("ez-button", { label: 'Aplicar', class: 'ez-button--primary', onClick: this.submit.bind(this) })))));
|
|
161
161
|
}
|
|
162
162
|
static get is() { return "filter-column"; }
|
|
163
163
|
static get originalStyleUrls() {
|