@sankhyalabs/ezui 5.14.3 → 5.15.0-dev.1

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.
Files changed (57) hide show
  1. package/dist/cjs/{ApplicationUtils-735a1107.js → ApplicationUtils-c9d1205c.js} +22 -0
  2. package/dist/cjs/{RecordValidationProcessor-54ddab94.js → RecordValidationProcessor-4c893e04.js} +1 -1
  3. package/dist/cjs/ez-actions-button.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-alert-list.cjs.entry.js +86 -0
  5. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-form.cjs.entry.js +2 -2
  8. package/dist/cjs/ez-grid.cjs.entry.js +2 -2
  9. package/dist/cjs/ez-list.cjs.entry.js +4 -2
  10. package/dist/cjs/ez-text-edit.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-upload.cjs.entry.js +1 -1
  12. package/dist/cjs/ezui.cjs.js +1 -1
  13. package/dist/cjs/index-1064511f.js +4 -0
  14. package/dist/cjs/loader.cjs.js +1 -1
  15. package/dist/collection/collection-manifest.json +2 -1
  16. package/dist/collection/components/ez-alert-list/ez-alert-list.css +73 -0
  17. package/dist/collection/components/ez-alert-list/ez-alert-list.js +204 -0
  18. package/dist/collection/components/ez-list/ez-list.css +12 -7
  19. package/dist/collection/components/ez-list/ez-list.js +3 -1
  20. package/dist/collection/utils/ApplicationUtils.js +22 -0
  21. package/dist/custom-elements/index.d.ts +6 -0
  22. package/dist/custom-elements/index.js +109 -3
  23. package/dist/esm/{ApplicationUtils-834f2fbc.js → ApplicationUtils-eaf91331.js} +22 -0
  24. package/dist/esm/{RecordValidationProcessor-03a15fd0.js → RecordValidationProcessor-b00b8b77.js} +1 -1
  25. package/dist/esm/ez-actions-button.entry.js +1 -1
  26. package/dist/esm/ez-alert-list.entry.js +82 -0
  27. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  28. package/dist/esm/ez-combo-box.entry.js +1 -1
  29. package/dist/esm/ez-form.entry.js +2 -2
  30. package/dist/esm/ez-grid.entry.js +2 -2
  31. package/dist/esm/ez-list.entry.js +4 -2
  32. package/dist/esm/ez-text-edit.entry.js +1 -1
  33. package/dist/esm/ez-upload.entry.js +1 -1
  34. package/dist/esm/ezui.js +1 -1
  35. package/dist/esm/index-296b8458.js +4 -0
  36. package/dist/esm/loader.js +1 -1
  37. package/dist/ezui/ezui.esm.js +1 -1
  38. package/dist/ezui/{p-e3b77b6b.js → p-04f24913.js} +1 -1
  39. package/dist/ezui/{p-978d09d0.entry.js → p-07e537da.entry.js} +1 -1
  40. package/dist/ezui/{p-accc4282.entry.js → p-0b902469.entry.js} +1 -1
  41. package/dist/ezui/{p-51b2313e.entry.js → p-203a5e3d.entry.js} +1 -1
  42. package/dist/ezui/p-2187f86c.js +1 -0
  43. package/dist/ezui/{p-a68063e8.entry.js → p-245a44ed.entry.js} +1 -1
  44. package/dist/ezui/{p-b550b2c3.entry.js → p-871c1a07.entry.js} +1 -1
  45. package/dist/ezui/{p-d4cfe7cd.entry.js → p-b3688ee6.entry.js} +1 -1
  46. package/dist/ezui/{p-16b5126b.entry.js → p-b806cd19.entry.js} +1 -1
  47. package/dist/ezui/p-d3b5228e.entry.js +1 -0
  48. package/dist/ezui/p-e68935dc.entry.js +1 -0
  49. package/dist/types/components/ez-alert-list/ez-alert-list.d.ts +46 -0
  50. package/dist/types/components.d.ts +64 -1
  51. package/dist/types/utils/ApplicationUtils.d.ts +11 -0
  52. package/package.json +1 -1
  53. package/react/components.d.ts +1 -0
  54. package/react/components.js +1 -0
  55. package/react/components.js.map +1 -1
  56. package/dist/ezui/p-244dfe8a.entry.js +0 -1
  57. package/dist/ezui/p-c4e64f24.js +0 -1
@@ -0,0 +1,204 @@
1
+ import { ElementIDUtils, FloatingManager } from '@sankhyalabs/core';
2
+ import { Host, h } from '@stencil/core';
3
+ export class EzAlertList {
4
+ constructor() {
5
+ this.alerts = [];
6
+ this.enableDragAndDrop = undefined;
7
+ this.enableExpand = undefined;
8
+ this.itemRightSlotBuilder = undefined;
9
+ this.opened = true;
10
+ this.expanded = false;
11
+ }
12
+ observeOpened() {
13
+ this.manageOverlay();
14
+ }
15
+ /**
16
+ * Gerencia a exibição do overlay usando FloatingManager do Core.
17
+ */
18
+ async manageOverlay() {
19
+ if (this.opened) {
20
+ this._overlayId = FloatingManager.float(this._container, this._overlayRef, {
21
+ autoClose: false,
22
+ isFixed: !this.enableDragAndDrop,
23
+ bottom: '10px',
24
+ right: '10px'
25
+ });
26
+ }
27
+ else {
28
+ FloatingManager.close(this._overlayId);
29
+ this._overlayId = undefined;
30
+ }
31
+ }
32
+ componentDidRender() {
33
+ this.manageOverlay();
34
+ if (this.opened) {
35
+ this._container.focus();
36
+ }
37
+ }
38
+ componentWillLoad() {
39
+ this.dataElementId = ElementIDUtils.addIDInfo(this._element, 'EzAlertList');
40
+ }
41
+ alertId(title, index) {
42
+ const concatTitle = (title) => title.split(' ').join('-');
43
+ return `alert-${index}-${concatTitle(title)}`;
44
+ }
45
+ getAlertTitle(id) {
46
+ var _a;
47
+ return (_a = this.alerts.find((alert, index) => this.alertId(alert.title, index) === id)) === null || _a === void 0 ? void 0 : _a.title;
48
+ }
49
+ render() {
50
+ return (h(Host, Object.assign({}, { [ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME]: this.dataElementId }), h("div", { ref: elem => (this._overlayRef = elem) }, h("div", { class: "alert-list__container", ref: elem => (this._container = elem) }, h("div", { class: "alert-list__content" }, h("div", { class: "alert-list__header" }, h("div", { class: "alert-list__title" }, `Avisos (${this.alerts.length})`), h("div", { class: "alert-list__header__buttons" }, h("ez-button", { mode: "icon", size: "small", iconName: "expand", "data-element-id": ElementIDUtils.getInternalIDInfo('expandButton'), onClick: () => { }, title: this.expanded ? 'Resumir' : 'Expandir' }), h("ez-button", { mode: "icon", size: "small", iconName: "close", "data-element-id": ElementIDUtils.getInternalIDInfo('closeButton'), onClick: () => {
51
+ this.opened = false;
52
+ }, title: 'Fechar' }))), h("div", { class: "alert-list__expandable-content" }, h("ez-list", { hoverFeedback: true, itemLeftSlotBuilder: item => {
53
+ return (h("a", { href: "#", style: {
54
+ fontFamily: "var(--font-pattern, 'Roboto')",
55
+ fontSize: 'var(--text--medium, 14px)',
56
+ fontWeight: 'var(--text-weight--medium, 400)',
57
+ color: 'var(--color--primary, #008561)',
58
+ marginRight: '4px',
59
+ cursor: 'pointer',
60
+ display: 'flex',
61
+ width: 'max-content',
62
+ textDecoration: 'none'
63
+ } }, `${this.getAlertTitle(item.id)}:`));
64
+ }, dataSource: this.alerts.map((alert, index) => {
65
+ return {
66
+ id: this.alertId(alert.title, index),
67
+ label: alert.detail,
68
+ };
69
+ }) })))))));
70
+ }
71
+ static get is() { return "ez-alert-list"; }
72
+ static get encapsulation() { return "shadow"; }
73
+ static get originalStyleUrls() {
74
+ return {
75
+ "$": ["ez-alert-list.css"]
76
+ };
77
+ }
78
+ static get styleUrls() {
79
+ return {
80
+ "$": ["ez-alert-list.css"]
81
+ };
82
+ }
83
+ static get properties() {
84
+ return {
85
+ "alerts": {
86
+ "type": "unknown",
87
+ "mutable": true,
88
+ "complexType": {
89
+ "original": "AlertItem[]",
90
+ "resolved": "AlertItem[]",
91
+ "references": {
92
+ "AlertItem": {
93
+ "location": "local"
94
+ }
95
+ }
96
+ },
97
+ "required": false,
98
+ "optional": false,
99
+ "docs": {
100
+ "tags": [],
101
+ "text": "Lista de alertas que devem ser apresentados no componente."
102
+ },
103
+ "defaultValue": "[]"
104
+ },
105
+ "enableDragAndDrop": {
106
+ "type": "boolean",
107
+ "mutable": false,
108
+ "complexType": {
109
+ "original": "boolean",
110
+ "resolved": "boolean",
111
+ "references": {}
112
+ },
113
+ "required": false,
114
+ "optional": false,
115
+ "docs": {
116
+ "tags": [],
117
+ "text": "Define se o componente pode ser arrastado na tela."
118
+ },
119
+ "attribute": "enable-drag-and-drop",
120
+ "reflect": true
121
+ },
122
+ "enableExpand": {
123
+ "type": "boolean",
124
+ "mutable": false,
125
+ "complexType": {
126
+ "original": "boolean",
127
+ "resolved": "boolean",
128
+ "references": {}
129
+ },
130
+ "required": false,
131
+ "optional": false,
132
+ "docs": {
133
+ "tags": [],
134
+ "text": "Define se o componente pode ser expandido."
135
+ },
136
+ "attribute": "enable-expand",
137
+ "reflect": true
138
+ },
139
+ "itemRightSlotBuilder": {
140
+ "type": "unknown",
141
+ "mutable": false,
142
+ "complexType": {
143
+ "original": "SlotBuilder",
144
+ "resolved": "(item: ListItem, group?: ListGroup) => string | HTMLElement",
145
+ "references": {
146
+ "SlotBuilder": {
147
+ "location": "import",
148
+ "path": "../ez-list/ez-list"
149
+ }
150
+ }
151
+ },
152
+ "required": false,
153
+ "optional": false,
154
+ "docs": {
155
+ "tags": [],
156
+ "text": "Define builder para elementos a direita do componente"
157
+ }
158
+ },
159
+ "opened": {
160
+ "type": "boolean",
161
+ "mutable": true,
162
+ "complexType": {
163
+ "original": "boolean",
164
+ "resolved": "boolean",
165
+ "references": {}
166
+ },
167
+ "required": false,
168
+ "optional": false,
169
+ "docs": {
170
+ "tags": [],
171
+ "text": "Define se o componente est\u00E1 aberto."
172
+ },
173
+ "attribute": "opened",
174
+ "reflect": true,
175
+ "defaultValue": "true"
176
+ },
177
+ "expanded": {
178
+ "type": "boolean",
179
+ "mutable": true,
180
+ "complexType": {
181
+ "original": "boolean",
182
+ "resolved": "boolean",
183
+ "references": {}
184
+ },
185
+ "required": false,
186
+ "optional": false,
187
+ "docs": {
188
+ "tags": [],
189
+ "text": "Define se o componente est\u00E1 expandido."
190
+ },
191
+ "attribute": "expanded",
192
+ "reflect": true,
193
+ "defaultValue": "false"
194
+ }
195
+ };
196
+ }
197
+ static get elementRef() { return "_element"; }
198
+ static get watchers() {
199
+ return [{
200
+ "propName": "opened",
201
+ "methodName": "observeOpened"
202
+ }];
203
+ }
204
+ }
@@ -21,16 +21,19 @@
21
21
  --ez-list__item--color: var(--title--primary, #2b3a54);
22
22
 
23
23
  /* @doc Define o estilo borda inferior do item da lista. */
24
- --ez-list__item--border-bottom: var(--border--small, 1px solid);
24
+ --ez-list__item--border-bottom;
25
25
 
26
26
  /* @doc Define a cor da borda inferior do item da lista. */
27
- --ez-list__item--border-color: var(--title--primary, #2b3a54);
27
+ --ez-list__item--border-bottom-color;
28
28
 
29
29
  /* @doc Define o estilo do texto do item da lista. */
30
30
  --ez-list__item--font-family: var(--font-pattern, "Roboto");
31
31
 
32
32
  /* @doc Define o tamanho do texto do item da lista. */
33
33
  --ez-list__item--font-size: var(--text--medium, 14px);
34
+
35
+ /* @doc Define o tipo da quebra de linha do item da lista. */
36
+ --ez-list__item--white-space: var(--ez-list__item--white-space, nowrap);
34
37
 
35
38
  /* @doc Define o espaçamento lateral direito para items selecionados. */
36
39
  --ez-list__selectable--padding-right: var(--space--small, 6px);
@@ -146,7 +149,6 @@ p {
146
149
  display: flex;
147
150
  overflow: hidden;
148
151
  justify-content: flex-start;
149
- align-items: center;
150
152
  width: 100%;
151
153
  }
152
154
 
@@ -156,7 +158,7 @@ p {
156
158
  width: 100%;
157
159
  max-height: 100%;
158
160
  scrollbar-width: thin;
159
-
161
+
160
162
  /*public*/
161
163
  color: var(--text-color);
162
164
  scrollbar-color: var(--ez-list__scrollbar--color-clicked) var(--ez-list__scrollbar--color-background);
@@ -164,13 +166,14 @@ p {
164
166
 
165
167
  .draggable-list li {
166
168
  display: flex;
167
- height: 32px;
168
-
169
+
169
170
  /*public*/
171
+ padding: var(--space--2xs, 8px) var(--space--3xs, 4px);
170
172
  margin: var(--ez-list__item--margin);
171
173
  font-family: var(--ez-list__item--font-family);
172
174
  font-size: var(--ez-list__item--font-size);
173
175
  color: var(--ez-list__item--color);
176
+ border-bottom: var(--ez-list__item--border-bottom, none) var(--ez-list__item--border-bottom-color);
174
177
  }
175
178
 
176
179
  .over {
@@ -254,9 +257,11 @@ p {
254
257
  }
255
258
 
256
259
  .text--ellipsis {
257
- white-space: nowrap;
258
260
  overflow: hidden;
259
261
  text-overflow: ellipsis;
262
+
263
+ /*public*/
264
+ white-space: var(--ez-list__item--white-space);
260
265
  }
261
266
 
262
267
  .group-container {
@@ -434,7 +434,9 @@ export class EzList {
434
434
  this.setSelection(previousItem, true);
435
435
  }
436
436
  keyDownHandler(event) {
437
- event.preventDefault();
437
+ if (!event.ctrlKey) {
438
+ event.preventDefault();
439
+ }
438
440
  this.getSelection().then(selectedItem => {
439
441
  if (selectedItem) {
440
442
  switch (event.key) {
@@ -104,6 +104,21 @@ export default class ApplicationUtils {
104
104
  modal.opened = true;
105
105
  return () => modal.remove();
106
106
  }
107
+ static showAlerts(props) {
108
+ const alertListId = 'EzAlertList';
109
+ let alertList = document.getElementById(alertListId);
110
+ if (!alertList) {
111
+ alertList = document.createElement('ez-alert-list');
112
+ alertList.setAttribute("id", alertListId);
113
+ window.document.body.appendChild(alertList);
114
+ }
115
+ props = Object.assign(Object.assign({}, ApplicationUtils.defaultAlertListProps), props);
116
+ alertList.itemRightSlotBuilder = props.itemRightSlotBuilder;
117
+ alertList.enableDragAndDrop = props.enableDragAndDrop;
118
+ alertList.enableExpand = props.enableExpand;
119
+ alertList.opened = props.opened;
120
+ alertList.alerts = props.alerts;
121
+ }
107
122
  }
108
123
  ApplicationUtils.defaultMessageOptions = {
109
124
  canClose: true,
@@ -119,4 +134,11 @@ ApplicationUtils.defaultModalProps = {
119
134
  closeOutsideClick: true,
120
135
  closeEsc: true
121
136
  };
137
+ ApplicationUtils.defaultAlertListProps = {
138
+ alerts: [],
139
+ enableDragAndDrop: true,
140
+ enableExpand: true,
141
+ itemRightSlotBuilder: null,
142
+ opened: true
143
+ };
122
144
  ;
@@ -14,6 +14,12 @@ export const EzAlert: {
14
14
  new (): EzAlert;
15
15
  };
16
16
 
17
+ interface EzAlertList extends Components.EzAlertList, HTMLElement {}
18
+ export const EzAlertList: {
19
+ prototype: EzAlertList;
20
+ new (): EzAlertList;
21
+ };
22
+
17
23
  interface EzApplication extends Components.EzApplication, HTMLElement {}
18
24
  export const EzApplication: {
19
25
  prototype: EzApplication;
@@ -180,6 +180,21 @@ class ApplicationUtils {
180
180
  modal.opened = true;
181
181
  return () => modal.remove();
182
182
  }
183
+ static showAlerts(props) {
184
+ const alertListId = 'EzAlertList';
185
+ let alertList = document.getElementById(alertListId);
186
+ if (!alertList) {
187
+ alertList = document.createElement('ez-alert-list');
188
+ alertList.setAttribute("id", alertListId);
189
+ window.document.body.appendChild(alertList);
190
+ }
191
+ props = Object.assign(Object.assign({}, ApplicationUtils.defaultAlertListProps), props);
192
+ alertList.itemRightSlotBuilder = props.itemRightSlotBuilder;
193
+ alertList.enableDragAndDrop = props.enableDragAndDrop;
194
+ alertList.enableExpand = props.enableExpand;
195
+ alertList.opened = props.opened;
196
+ alertList.alerts = props.alerts;
197
+ }
183
198
  }
184
199
  ApplicationUtils.defaultMessageOptions = {
185
200
  canClose: true,
@@ -195,6 +210,13 @@ ApplicationUtils.defaultModalProps = {
195
210
  closeOutsideClick: true,
196
211
  closeEsc: true
197
212
  };
213
+ ApplicationUtils.defaultAlertListProps = {
214
+ alerts: [],
215
+ enableDragAndDrop: true,
216
+ enableExpand: true,
217
+ itemRightSlotBuilder: null,
218
+ opened: true
219
+ };
198
220
 
199
221
  class CSSVarsUtils {
200
222
  static applyCSSVars(document, host, child) {
@@ -1053,6 +1075,86 @@ const EzAlert$1 = class extends HTMLElement$1 {
1053
1075
  static get style() { return ezAlertCss; }
1054
1076
  };
1055
1077
 
1078
+ const ezAlertListCss = ":host{display:flex;--ez-alert-list__container--width:680px;--ez-alert-list__container--height:220px;--ez-alert-list__title--font-family:var(--font-pattern, \"Roboto\");--ez-alert-list__title--font-size:var(--title--large, 20px);--ez-alert-list__title--color:var(--title--primary, #2b3a54);--ez-alert-list__title--font-weight:var(--text-weight--extra-large, 700);--ez-list__item--border-bottom:var(--border--small, 1px solid);--ez-list__item--border-bottom-color:var(--color--strokes, #DCE0E8);--ez-list__item--white-space:break-space}.alert-list__content{display:flex;flex-direction:column;gap:var(--space--xs);margin:var(--space--large, 24px);width:100%}.alert-list__container{z-index:var(--more-visible--2x, 3);display:flex;height:var(--ez-alert-list__container--height);width:var(--ez-alert-list__container--width);border-radius:var(--border--radius-medium);background-color:var(--background--xlight);box-shadow:0px 8px 24px 0px rgba(0, 38, 111, 0.1)}.alert-list__header{width:100%;display:flex;align-items:center;justify-content:space-between}.alert-list__title{font-family:var(--ez-alert-list__title--font-family);font-size:var(--ez-alert-list__title--font-size);font-weight:var(--ez-alert-list__title--font-weight);color:var(--ez-alert-list__title--color)}.alert-list__header__buttons{display:flex;gap:var(--space--xs)}.alert-list__expandable-content{overflow-y:auto;scrollbar-width:thin}";
1079
+
1080
+ const EzAlertList$1 = class extends HTMLElement$1 {
1081
+ constructor() {
1082
+ super();
1083
+ this.__registerHost();
1084
+ this.__attachShadow();
1085
+ this.alerts = [];
1086
+ this.enableDragAndDrop = undefined;
1087
+ this.enableExpand = undefined;
1088
+ this.itemRightSlotBuilder = undefined;
1089
+ this.opened = true;
1090
+ this.expanded = false;
1091
+ }
1092
+ observeOpened() {
1093
+ this.manageOverlay();
1094
+ }
1095
+ /**
1096
+ * Gerencia a exibição do overlay usando FloatingManager do Core.
1097
+ */
1098
+ async manageOverlay() {
1099
+ if (this.opened) {
1100
+ this._overlayId = FloatingManager.float(this._container, this._overlayRef, {
1101
+ autoClose: false,
1102
+ isFixed: !this.enableDragAndDrop,
1103
+ bottom: '10px',
1104
+ right: '10px'
1105
+ });
1106
+ }
1107
+ else {
1108
+ FloatingManager.close(this._overlayId);
1109
+ this._overlayId = undefined;
1110
+ }
1111
+ }
1112
+ componentDidRender() {
1113
+ this.manageOverlay();
1114
+ if (this.opened) {
1115
+ this._container.focus();
1116
+ }
1117
+ }
1118
+ componentWillLoad() {
1119
+ this.dataElementId = ElementIDUtils.addIDInfo(this._element, 'EzAlertList');
1120
+ }
1121
+ alertId(title, index) {
1122
+ const concatTitle = (title) => title.split(' ').join('-');
1123
+ return `alert-${index}-${concatTitle(title)}`;
1124
+ }
1125
+ getAlertTitle(id) {
1126
+ var _a;
1127
+ return (_a = this.alerts.find((alert, index) => this.alertId(alert.title, index) === id)) === null || _a === void 0 ? void 0 : _a.title;
1128
+ }
1129
+ render() {
1130
+ return (h(Host, Object.assign({}, { [ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME]: this.dataElementId }), h("div", { ref: elem => (this._overlayRef = elem) }, h("div", { class: "alert-list__container", ref: elem => (this._container = elem) }, h("div", { class: "alert-list__content" }, h("div", { class: "alert-list__header" }, h("div", { class: "alert-list__title" }, `Avisos (${this.alerts.length})`), h("div", { class: "alert-list__header__buttons" }, h("ez-button", { mode: "icon", size: "small", iconName: "expand", "data-element-id": ElementIDUtils.getInternalIDInfo('expandButton'), onClick: () => { }, title: this.expanded ? 'Resumir' : 'Expandir' }), h("ez-button", { mode: "icon", size: "small", iconName: "close", "data-element-id": ElementIDUtils.getInternalIDInfo('closeButton'), onClick: () => {
1131
+ this.opened = false;
1132
+ }, title: 'Fechar' }))), h("div", { class: "alert-list__expandable-content" }, h("ez-list", { hoverFeedback: true, itemLeftSlotBuilder: item => {
1133
+ return (h("a", { href: "#", style: {
1134
+ fontFamily: "var(--font-pattern, 'Roboto')",
1135
+ fontSize: 'var(--text--medium, 14px)',
1136
+ fontWeight: 'var(--text-weight--medium, 400)',
1137
+ color: 'var(--color--primary, #008561)',
1138
+ marginRight: '4px',
1139
+ cursor: 'pointer',
1140
+ display: 'flex',
1141
+ width: 'max-content',
1142
+ textDecoration: 'none'
1143
+ } }, `${this.getAlertTitle(item.id)}:`));
1144
+ }, dataSource: this.alerts.map((alert, index) => {
1145
+ return {
1146
+ id: this.alertId(alert.title, index),
1147
+ label: alert.detail,
1148
+ };
1149
+ }) })))))));
1150
+ }
1151
+ get _element() { return this; }
1152
+ static get watchers() { return {
1153
+ "opened": ["observeOpened"]
1154
+ }; }
1155
+ static get style() { return ezAlertListCss; }
1156
+ };
1157
+
1056
1158
  const ezApplicationCss = "";
1057
1159
 
1058
1160
  const EzApplication$1 = class extends HTMLElement$1 {
@@ -125860,7 +125962,7 @@ const EzIcon$1 = class extends HTMLElement$1 {
125860
125962
  static get style() { return ezIconCss; }
125861
125963
  };
125862
125964
 
125863
- const ezListCss = ":host{--ez-list__host--z-index:var(--visible, 1);--ez-list__host--border-radius:var(--border--radius-medium, 12px);--ez-list__host--padding:var(--space--medium, 12px);--ez-list__icon--padding:var(--space--small, 6px);--ez-list__icon--color:#AFB6C0;--ez-list__item--margin:0 var(--space--small, 6px);--ez-list__item--color:var(--title--primary, #2b3a54);--ez-list__item--border-bottom:var(--border--small, 1px solid);--ez-list__item--border-color:var(--title--primary, #2b3a54);--ez-list__item--font-family:var(--font-pattern, \"Roboto\");--ez-list__item--font-size:var(--text--medium, 14px);--ez-list__selectable--padding-right:var(--space--small, 6px);--ez-list__selectable--padding-left:var(--space--small, 6px);--ez-list__selected-item--border-radius:var(--border--radius-small, 6px);--ez-list__selected-item--background-color:var(--color--primary-300, #E2F4EF);--ez-list__group--font-family:var(--font-pattern, \"Roboto\");--ez-list__group--font-size:var(--text--medium, 14px);--ez-list__group--font-weight:var(--text-weight--large, 600);--ez-list__group--padding-bottom:var(--space-small, 6px);--ez-list__group-overlay--font-family:var(--font-pattern, \"Roboto\");--ez-list__group-overlay--font-size:var(--text--medium, 14px);--ez-list__over--border--color:var(--color--primary, #008561);--ez-list__last-droppable-space--height:var(--space--small, 6px);--ez-list__draggable-list--padding-bottom:var(--space--small, 6px);--ez-list__draggable-icon--image:url('data:image/svg+xml;utf8,<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m 6.75,2.25 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z\"/></svg>');--ez-list__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-list__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-list__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-list__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-list__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-list__scrollbar--width:var(--space--medium, 12px);max-height:100%;width:100%;background-color:#fff;display:flex;z-index:var(--ez-list__host--z-index)}p{margin:0}.draggable{width:100%;display:grid;grid-template-columns:minmax(0px, auto) minmax(0px, auto);place-items:center;border-top:1px dashed #fff;justify-content:space-between;font-family:var(--ez-list__item--font-family);font-size:var(--ez-list__item--font-size)}.dragging{background:#FFFFFF;border:1px solid #008561;box-sizing:border-box;box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122);border-radius:6px}.selectable{cursor:pointer;padding-right:var(--ez-list__selectable--padding-right);padding-left:var(--ez-list__selectable--padding-left)}.selectable-container{margin:0px !important}.hover-feedback:hover{background-color:var(--background--medium);border-radius:var(--border--radius-regular)}.item-content{display:flex;overflow:hidden;justify-content:flex-start;align-items:center;width:100%}.draggable-list{padding:0;margin:0;width:100%;max-height:100%;scrollbar-width:thin;color:var(--text-color);scrollbar-color:var(--ez-list__scrollbar--color-clicked) var(--ez-list__scrollbar--color-background)}.draggable-list li{display:flex;height:32px;margin:var(--ez-list__item--margin);font-family:var(--ez-list__item--font-family);font-size:var(--ez-list__item--font-size);color:var(--ez-list__item--color)}.over{border-top:1px dashed var(--ez-list__over--border--color)}.last-droppable-space{height:var(--ez-list__last-droppable-space--height)}.draggable-selected{background-color:var(--background--strong) !important}.draggable-selected div:hover{background-color:var(--background--strong) !important}.draggable-list::-webkit-scrollbar{background-color:var(--ez-list__scrollbar--color-background);width:var(--ez-list__scrollbar--width);max-width:var(--ez-list__scrollbar--width);min-width:var(--ez-list__scrollbar--width)}.draggable-list::-webkit-scrollbar-track{background-color:var(--ez-list__scrollbar--color-background);border-radius:var(--ez-list__scrollbar--border-radius)}.draggable-list::-webkit-scrollbar-thumb{background-color:var(--ez-list__scrollbar--color-default);border-radius:var(--ez-list__scrollbar--border-radius)}.draggable-list::-webkit-scrollbar-thumb:vertical:hover,.draggable-list::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-list__scrollbar--color-hover)}.draggable-list::-webkit-scrollbar-thumb:vertical:active,.draggable-list::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-list__scrollbar--color-clicked)}.draggable-icon{align-items:flex-start;display:flex;outline:none;border:none;background-color:unset}.draggable-icon::after{content:'';display:flex;width:18px;height:18px;background-color:var(--ez-list__icon--color);-webkit-mask-image:var(--ez-list__draggable-icon--image);mask-image:var(--ez-list__draggable-icon--image)}*{box-sizing:border-box}.checkbox{width:fit-content}.text--ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.group-container{display:flex;flex-direction:column;max-height:100%;overflow-y:auto;outline:none;width:100%;scrollbar-width:thin;scrollbar-color:var(--ez-list__scrollbar--color-clicked) var(--ez-list__scrollbar--color-background)}.group-name{-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--title--primary);font-family:var(--ez-list__group--font-family);font-size:var(--ez-list__group--font-size);font-weight:var(--ez-list__group--font-weight);padding-bottom:var(--ez-list__group--padding-bottom)}.group{display:flex;flex-direction:column}.group-container::-webkit-scrollbar{background-color:var(--ez-list__scrollbar--color-background);width:var(--ez-list__scrollbar--width);max-width:var(--ez-list__scrollbar--width);min-width:var(--ez-list__scrollbar--width)}.group-container::-webkit-scrollbar-track{background-color:var(--ez-list__scrollbar--color-background);border-radius:var(--ez-list__scrollbar--border-radius)}.group-container::-webkit-scrollbar-thumb{background-color:var(--ez-list__scrollbar--color-default);border-radius:var(--ez-list__scrollbar--border-radius)}.group-container::-webkit-scrollbar-thumb:vertical:hover,.group-container::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-list__scrollbar--color-hover)}.group-container::-webkit-scrollbar-thumb:vertical:active,.group-container::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-list__scrollbar--color-clicked)}.section-container{display:flex;position:relative;height:100%}.items-container{width:100%;max-height:100%;outline:none;scrollbar-width:thin;scrollbar-color:var(--ez-list__scrollbar--color-clicked) var(--ez-list__scrollbar--color-background)}.group-items-container{width:100%;max-height:100%;height:100%;outline:none}.items-container::-webkit-scrollbar{background-color:var(--ez-list__scrollbar--color-background);width:var(--ez-list__scrollbar--width);max-width:var(--ez-list__scrollbar--width);min-width:var(--ez-list__scrollbar--width)}.items-container::-webkit-scrollbar-track{background-color:var(--ez-list__scrollbar--color-background);border-radius:var(--ez-list__scrollbar--border-radius)}.items-container::-webkit-scrollbar-thumb{background-color:var(--ez-list__scrollbar--color-default);border-radius:var(--ez-list__scrollbar--border-radius)}.items-container::-webkit-scrollbar-thumb:vertical:hover,.items-container::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-list__scrollbar--color-hover)}.items-container::-webkit-scrollbar-thumb:vertical:active,.items-container::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-list__scrollbar--color-clicked)}.group-overlay{background:rgba(226, 244, 239, 0.8);border:1px solid #008561;border-radius:8px;position:absolute;display:none;place-items:center;top:0;bottom:0;left:0;right:0;z-index:2;margin:0;cursor:pointer;font-family:var(--ez-list__group-overlay--font-family);font-size:var(--ez-list__group-overlay--font-size)}.presetedHeight{min-height:100px}.overlay-text{position:absolute;top:50%;left:50%;font-size:50px;color:white;transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%)}.selected-item{background:var(--ez-list__selected-item--background-color);border-radius:var(--ez-list__selected-item--border-radius)}.slot-item{align-items:flex-end}.overGroup{background:rgba(226, 244, 239, 0.8);border:1px solid #008561;box-sizing:border-box;border-radius:8px;padding-top:6px}";
125965
+ const ezListCss = ":host {\n /* @doc Define a camada de visibilidae do componente. */\n --ez-list__host--z-index: var(--visible, 1);\n\n /* @doc Define o raio da borda do componente. */\n --ez-list__host--border-radius: var(--border--radius-medium, 12px);\n\n /* @doc Define o espaçamento entre a lista e o componente. */\n --ez-list__host--padding: var(--space--medium, 12px);\n\n /* @doc Define o espaçamento interno do ícone. */\n --ez-list__icon--padding: var(--space--small, 6px);\n\n /* @doc Define a cor do ícone de arrasto do item da lista. */\n --ez-list__icon--color: #AFB6C0;\n\n /* @doc Define o espaçamento externo do item da lista. */\n --ez-list__item--margin: 0 var(--space--small, 6px);\n\n /* @doc Define a cor do texto do item da lista. */\n --ez-list__item--color: var(--title--primary, #2b3a54);\n\n /* @doc Define o estilo borda inferior do item da lista. */\n --ez-list__item--border-bottom;\n\n /* @doc Define a cor da borda inferior do item da lista. */\n --ez-list__item--border-bottom-color;\n\n /* @doc Define o estilo do texto do item da lista. */\n --ez-list__item--font-family: var(--font-pattern, \"Roboto\");\n\n /* @doc Define o tamanho do texto do item da lista. */\n --ez-list__item--font-size: var(--text--medium, 14px);\n \n /* @doc Define o tipo da quebra de linha do item da lista. */\n --ez-list__item--white-space: var(--ez-list__item--white-space, nowrap);\n\n /* @doc Define o espaçamento lateral direito para items selecionados. */\n --ez-list__selectable--padding-right: var(--space--small, 6px);\n \n /* @doc Define o espaçamento lateral esquerdo para items selecionados. */\n --ez-list__selectable--padding-left: var(--space--small, 6px);\n\n /*@doc Define o raio da borda de items selecionados.*/\n --ez-list__selected-item--border-radius: var(--border--radius-small, 6px);\n \n /*@doc Define a cor de fundo de items selecionados.*/\n --ez-list__selected-item--background-color: var(--color--primary-300, #E2F4EF);\n\n /* @doc Define o estilo do texto do grupo da lista. */\n --ez-list__group--font-family: var(--font-pattern, \"Roboto\");\n \n /* @doc Define o tamanho do texto do grupo da lista. */\n --ez-list__group--font-size: var(--text--medium, 14px);\n \n /* @doc Define o peso do texto do grupo da lista. */\n --ez-list__group--font-weight: var(--text-weight--large, 600);\n \n /* @doc Define o espaçamento inferior do grupo da lista. */\n --ez-list__group--padding-bottom: var(--space-small, 6px);\n\n /* @doc Define o estilo do texto da área de transferência de grupos. */\n --ez-list__group-overlay--font-family: var(--font-pattern, \"Roboto\");\n\n /* @doc Define o tamanho do texto da área de transferência de grupos. */\n --ez-list__group-overlay--font-size: var(--text--medium, 14px);\n \n /* @doc Define a cor da borda pontilhada sobre os elementos da lista. */\n --ez-list__over--border--color: var(--color--primary, #008561);\n\n /*@doc Define a altura do container para arrasto para última posição .*/\n --ez-list__last-droppable-space--height: var(--space--small, 6px);\n \n /*@doc Define o espaçamento do container de itens arrastáveis .*/\n --ez-list__draggable-list--padding-bottom: var(--space--small, 6px);\n\n /* @doc Define a imagem do ícone de drag. */\n --ez-list__draggable-icon--image: url('data:image/svg+xml;utf8,<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m 6.75,2.25 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z\"/></svg>');\n\n /* scrollbar */\n /*@doc Define a cor da barra de rolagem do componente.*/\n --ez-list__scrollbar--color-default: var(--scrollbar--default, #626e82);\n /*@doc Define a cor de fundo da barra de rolagem do componente.*/\n --ez-list__scrollbar--color-background: var(--scrollbar--background, #E5EAF0);\n /*@doc Define a cor do hover na barra de rolagem do componente.*/\n --ez-list__scrollbar--color-hover: var(--scrollbar--hover, #2B3A54);\n /*@doc Define a cor do active na barra de rolagem do componente.*/\n --ez-list__scrollbar--color-clicked: var(--scrollbar--clicked, #a2abb9);\n /*@doc Define o raio da borda da barra de rolagem do componente.*/\n --ez-list__scrollbar--border-radius: var(--border--radius-small, 6px);\n /*@doc Define a largura da barra de rolagem do componente.*/\n --ez-list__scrollbar--width: var(--space--medium, 12px);\n\n max-height: 100%;\n width: 100%;\n background-color: #fff;\n display: flex;\n\n /*public*/\n z-index: var(--ez-list__host--z-index);\n}\n\np {\n margin: 0;\n}\n\n.draggable {\n /* private */\n width: 100%;\n display: grid;\n grid-template-columns: minmax(0px, auto) minmax(0px, auto);\n place-items: center;\n border-top: 1px dashed #fff;\n justify-content: space-between;\n\n /*public*/\n font-family: var(--ez-list__item--font-family);\n font-size: var(--ez-list__item--font-size);\n}\n\n.dragging {\n background: #FFFFFF;\n /* Primary/color--primary */\n\n border: 1px solid #008561;\n box-sizing: border-box;\n box-shadow: 0px 0px 16px rgba(0, 38, 111, 0.122);\n border-radius: 6px;\n}\n\n.selectable {\n cursor: pointer;\n\n /*public*/\n padding-right: var(--ez-list__selectable--padding-right);\n padding-left: var(--ez-list__selectable--padding-left);\n}\n\n.selectable-container {\n margin: 0px !important;\n}\n\n.hover-feedback:hover {\n background-color: var(--background--medium);\n border-radius: var(--border--radius-regular);\n}\n\n.item-content {\n display: flex;\n overflow: hidden;\n justify-content: flex-start;\n width: 100%;\n}\n\n.draggable-list {\n padding: 0;\n margin: 0;\n width: 100%;\n max-height: 100%;\n scrollbar-width: thin;\n \n /*public*/\n color: var(--text-color);\n scrollbar-color: var(--ez-list__scrollbar--color-clicked) var(--ez-list__scrollbar--color-background);\n}\n\n.draggable-list li {\n display: flex;\n \n /*public*/\n padding: var(--space--2xs, 8px) var(--space--3xs, 4px);\n margin: var(--ez-list__item--margin);\n font-family: var(--ez-list__item--font-family);\n font-size: var(--ez-list__item--font-size);\n color: var(--ez-list__item--color);\n border-bottom: var(--ez-list__item--border-bottom, none) var(--ez-list__item--border-bottom-color);\n}\n\n.over {\n /*public*/\n border-top: 1px dashed var(--ez-list__over--border--color);\n}\n\n.last-droppable-space {\n /*public*/\n height: var(--ez-list__last-droppable-space--height);\n}\n\n.draggable-selected {\n /*public*/\n background-color: var(--background--strong) !important;\n}\n\n.draggable-selected div:hover {\n /*public*/\n background-color: var(--background--strong) !important;\n}\n\n.draggable-list::-webkit-scrollbar {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-background);\n width: var(--ez-list__scrollbar--width);\n max-width: var(--ez-list__scrollbar--width);\n min-width: var(--ez-list__scrollbar--width);\n}\n\n.draggable-list::-webkit-scrollbar-track {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-background);\n border-radius: var(--ez-list__scrollbar--border-radius);\n}\n\n.draggable-list::-webkit-scrollbar-thumb {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-default);\n border-radius: var(--ez-list__scrollbar--border-radius);\n}\n\n.draggable-list::-webkit-scrollbar-thumb:vertical:hover,\n.draggable-list::-webkit-scrollbar-thumb:horizontal:hover {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-hover);\n}\n\n.draggable-list::-webkit-scrollbar-thumb:vertical:active,\n.draggable-list::-webkit-scrollbar-thumb:horizontal:active {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-clicked);\n}\n\n.draggable-icon {\n align-items: flex-start;\n display: flex;\n outline: none;\n border: none;\n background-color: unset;\n}\n\n.draggable-icon::after {\n content: '';\n display: flex;\n width: 18px;\n height: 18px;\n\n /*public*/\n background-color: var(--ez-list__icon--color);\n -webkit-mask-image: var(--ez-list__draggable-icon--image);\n mask-image: var(--ez-list__draggable-icon--image);\n}\n\n* {\n box-sizing: border-box;\n}\n\n.checkbox {\n width: fit-content;\n}\n\n.text--ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n \n /*public*/\n white-space: var(--ez-list__item--white-space);\n}\n\n.group-container {\n display: flex;\n flex-direction: column;\n max-height: 100%;\n overflow-y: auto;\n outline: none;\n width: 100%;\n scrollbar-width: thin;\n\n /*public*/\n scrollbar-color: var(--ez-list__scrollbar--color-clicked) var(--ez-list__scrollbar--color-background);\n}\n\n.group-name {\n -webkit-user-select: none;\n -moz-user-select: -moz-none;\n -ms-user-select: none;\n user-select: none;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n /*public*/\n color: var(--title--primary);\n font-family: var(--ez-list__group--font-family);\n font-size: var(--ez-list__group--font-size);\n font-weight: var(--ez-list__group--font-weight);\n padding-bottom: var(--ez-list__group--padding-bottom);\n}\n\n.group {\n display: flex;\n flex-direction: column;\n}\n\n.group-container::-webkit-scrollbar {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-background);\n width: var(--ez-list__scrollbar--width);\n max-width: var(--ez-list__scrollbar--width);\n min-width: var(--ez-list__scrollbar--width);\n}\n\n.group-container::-webkit-scrollbar-track {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-background);\n border-radius: var(--ez-list__scrollbar--border-radius);\n}\n\n.group-container::-webkit-scrollbar-thumb {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-default);\n border-radius: var(--ez-list__scrollbar--border-radius);\n}\n\n.group-container::-webkit-scrollbar-thumb:vertical:hover,\n.group-container::-webkit-scrollbar-thumb:horizontal:hover {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-hover);\n}\n\n.group-container::-webkit-scrollbar-thumb:vertical:active,\n.group-container::-webkit-scrollbar-thumb:horizontal:active {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-clicked);\n}\n\n.section-container {\n display: flex;\n position: relative;\n height: 100%;\n}\n\n.items-container {\n width: 100%;\n max-height: 100%;\n outline: none;\n scrollbar-width: thin;\n\n /*public*/\n scrollbar-color: var(--ez-list__scrollbar--color-clicked) var(--ez-list__scrollbar--color-background);\n}\n\n.group-items-container {\n width: 100%;\n max-height: 100%;\n height: 100%;\n outline: none;\n}\n\n.items-container::-webkit-scrollbar {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-background);\n width: var(--ez-list__scrollbar--width);\n max-width: var(--ez-list__scrollbar--width);\n min-width: var(--ez-list__scrollbar--width);\n}\n\n.items-container::-webkit-scrollbar-track {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-background);\n border-radius: var(--ez-list__scrollbar--border-radius);\n}\n\n.items-container::-webkit-scrollbar-thumb {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-default);\n border-radius: var(--ez-list__scrollbar--border-radius);\n}\n\n.items-container::-webkit-scrollbar-thumb:vertical:hover,\n.items-container::-webkit-scrollbar-thumb:horizontal:hover {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-hover);\n}\n\n.items-container::-webkit-scrollbar-thumb:vertical:active,\n.items-container::-webkit-scrollbar-thumb:horizontal:active {\n /*public*/\n background-color: var(--ez-list__scrollbar--color-clicked);\n}\n\n.group-overlay {\n background: rgba(226, 244, 239, 0.8);\n border: 1px solid #008561;\n border-radius: 8px;\n position: absolute;\n display: none;\n place-items: center;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 2;\n margin: 0;\n cursor: pointer;\n\n /*public*/\n font-family: var(--ez-list__group-overlay--font-family);\n font-size: var(--ez-list__group-overlay--font-size);\n}\n\n.presetedHeight {\n min-height: 100px;\n}\n\n.overlay-text {\n position: absolute;\n top: 50%;\n left: 50%;\n font-size: 50px;\n color: white;\n transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n}\n\n.selected-item {\n /*public*/\n background: var(--ez-list__selected-item--background-color);\n border-radius: var(--ez-list__selected-item--border-radius);\n}\n\n.slot-item {\n align-items: flex-end;\n}\n\n.overGroup {\n background: rgba(226, 244, 239, 0.8);\n border: 1px solid #008561;\n box-sizing: border-box;\n border-radius: 8px;\n padding-top: 6px;\n}";
125864
125966
 
125865
125967
  const EzList$1 = class extends HTMLElement$1 {
125866
125968
  constructor() {
@@ -126302,7 +126404,9 @@ const EzList$1 = class extends HTMLElement$1 {
126302
126404
  this.setSelection(previousItem, true);
126303
126405
  }
126304
126406
  keyDownHandler(event) {
126305
- event.preventDefault();
126407
+ if (!event.ctrlKey) {
126408
+ event.preventDefault();
126409
+ }
126306
126410
  this.getSelection().then(selectedItem => {
126307
126411
  if (selectedItem) {
126308
126412
  switch (event.key) {
@@ -129743,6 +129847,7 @@ const MultiSelectionBoxMessage$1 = class extends HTMLElement$1 {
129743
129847
 
129744
129848
  const EzActionsButton = /*@__PURE__*/proxyCustomElement(EzActionsButton$1, [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]}]);
129745
129849
  const EzAlert = /*@__PURE__*/proxyCustomElement(EzAlert$1, [1,"ez-alert",{"alertType":[513,"alert-type"]}]);
129850
+ const EzAlertList = /*@__PURE__*/proxyCustomElement(EzAlertList$1, [1,"ez-alert-list",{"alerts":[1040],"enableDragAndDrop":[516,"enable-drag-and-drop"],"enableExpand":[516,"enable-expand"],"itemRightSlotBuilder":[16],"opened":[1540],"expanded":[1540]}]);
129746
129851
  const EzApplication = /*@__PURE__*/proxyCustomElement(EzApplication$1, [0,"ez-application"]);
129747
129852
  const EzBadge = /*@__PURE__*/proxyCustomElement(EzBadge$1, [1,"ez-badge",{"size":[513],"label":[513],"iconLeft":[513,"icon-left"],"iconRight":[513,"icon-right"],"position":[1040],"hasSlot":[32]}]);
129748
129853
  const EzBreadcrumb = /*@__PURE__*/proxyCustomElement(EzBreadcrumb$1, [1,"ez-breadcrumb",{"items":[1040],"fillMode":[1025,"fill-mode"],"maxItems":[1026,"max-items"],"positionEllipsis":[1026,"position-ellipsis"],"visibleItems":[32],"hiddenItems":[32],"showDropdown":[32],"collapseConfigPosition":[32]}]);
@@ -129793,6 +129898,7 @@ const defineCustomElements = (opts) => {
129793
129898
  [
129794
129899
  EzActionsButton,
129795
129900
  EzAlert,
129901
+ EzAlertList,
129796
129902
  EzApplication,
129797
129903
  EzBadge,
129798
129904
  EzBreadcrumb,
@@ -129846,4 +129952,4 @@ const defineCustomElements = (opts) => {
129846
129952
  }
129847
129953
  };
129848
129954
 
129849
- export { EzActionsButton, EzAlert, EzApplication, EzBadge, EzBreadcrumb, EzButton, EzCalendar, EzCardItem, EzCheck, EzChip, EzCollapsibleBox, EzComboBox, EzDateInput, EzDateTimeInput, EzDialog, EzDropdown, EzFileItem, EzFilterInput, EzForm, EzFormView, EzGrid, EzGuideNavigator, EzIcon, EzList, EzLoadingBar, EzModal, EzModalContainer, EzMultiSelectionList, EzNumberInput, EzPopover, EzPopup, EzRadioButton, EzScroller, EzSearch, EzSidebarButton, EzSkeleton, EzTabselector, EzTextArea, EzTextEdit, EzTextInput, EzTimeInput, EzToast, EzTree, EzUpload, EzViewStack, FilterColumn, MultiSelectionBoxMessage, defineCustomElements };
129955
+ export { EzActionsButton, EzAlert, EzAlertList, EzApplication, EzBadge, EzBreadcrumb, EzButton, EzCalendar, EzCardItem, EzCheck, EzChip, EzCollapsibleBox, EzComboBox, EzDateInput, EzDateTimeInput, EzDialog, EzDropdown, EzFileItem, EzFilterInput, EzForm, EzFormView, EzGrid, EzGuideNavigator, EzIcon, EzList, EzLoadingBar, EzModal, EzModalContainer, EzMultiSelectionList, EzNumberInput, EzPopover, EzPopup, EzRadioButton, EzScroller, EzSearch, EzSidebarButton, EzSkeleton, EzTabselector, EzTextArea, EzTextEdit, EzTextInput, EzTimeInput, EzToast, EzTree, EzUpload, EzViewStack, FilterColumn, MultiSelectionBoxMessage, defineCustomElements };
@@ -169,6 +169,21 @@ class ApplicationUtils {
169
169
  modal.opened = true;
170
170
  return () => modal.remove();
171
171
  }
172
+ static showAlerts(props) {
173
+ const alertListId = 'EzAlertList';
174
+ let alertList = document.getElementById(alertListId);
175
+ if (!alertList) {
176
+ alertList = document.createElement('ez-alert-list');
177
+ alertList.setAttribute("id", alertListId);
178
+ window.document.body.appendChild(alertList);
179
+ }
180
+ props = Object.assign(Object.assign({}, ApplicationUtils.defaultAlertListProps), props);
181
+ alertList.itemRightSlotBuilder = props.itemRightSlotBuilder;
182
+ alertList.enableDragAndDrop = props.enableDragAndDrop;
183
+ alertList.enableExpand = props.enableExpand;
184
+ alertList.opened = props.opened;
185
+ alertList.alerts = props.alerts;
186
+ }
172
187
  }
173
188
  ApplicationUtils.defaultMessageOptions = {
174
189
  canClose: true,
@@ -184,5 +199,12 @@ ApplicationUtils.defaultModalProps = {
184
199
  closeOutsideClick: true,
185
200
  closeEsc: true
186
201
  };
202
+ ApplicationUtils.defaultAlertListProps = {
203
+ alerts: [],
204
+ enableDragAndDrop: true,
205
+ enableExpand: true,
206
+ itemRightSlotBuilder: null,
207
+ opened: true
208
+ };
187
209
 
188
210
  export { ApplicationUtils as A };
@@ -1,5 +1,5 @@
1
1
  import { UserInterface } from '@sankhyalabs/core';
2
- import { A as ApplicationUtils } from './ApplicationUtils-834f2fbc.js';
2
+ import { A as ApplicationUtils } from './ApplicationUtils-eaf91331.js';
3
3
 
4
4
  const buildFieldMetadata = (descriptor, config) => {
5
5
  let { name, label, group } = Object.assign({}, config);
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-296b8458.js';
2
2
  import { FloatingManager, ElementIDUtils } from '@sankhyalabs/core';
3
- import './ApplicationUtils-834f2fbc.js';
3
+ import './ApplicationUtils-eaf91331.js';
4
4
  import { C as CSSVarsUtils } from './CSSVarsUtils-a97cfa29.js';
5
5
  import './DialogType-54a62731.js';
6
6
  import './CheckMode-bdb2ec19.js';