@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-83282.1 → 0.0.0-bugfix-dev-KB-75940.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 (115) hide show
  1. package/dist/cjs/ez-badge.cjs.entry.js +14 -2
  2. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-card-item_2.cjs.entry.js +1416 -7
  4. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-date-input.cjs.entry.js +4 -17
  6. package/dist/cjs/ez-date-time-input.cjs.entry.js +4 -16
  7. package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-grid.cjs.entry.js +4 -2
  9. package/dist/cjs/ez-list.cjs.entry.js +2 -2
  10. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +195 -0
  13. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-search.cjs.entry.js +28 -158
  16. package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
  17. package/dist/cjs/ezui.cjs.js +1 -1
  18. package/dist/cjs/index-a7b0c73d.js +4 -4
  19. package/dist/cjs/loader.cjs.js +1 -1
  20. package/dist/cjs/searchFormatters-b7e1ed1e.js +23 -0
  21. package/dist/collection/collection-manifest.json +2 -1
  22. package/dist/collection/components/ez-badge/ez-badge.css +12 -1
  23. package/dist/collection/components/ez-badge/ez-badge.js +31 -1
  24. package/dist/collection/components/ez-button/ez-button.css +1 -1
  25. package/dist/collection/components/ez-card-item/ez-card-item.css +1 -3
  26. package/dist/collection/components/ez-chip/ez-chip.css +5 -1
  27. package/dist/collection/components/ez-date-input/ez-date-input.js +4 -17
  28. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +4 -16
  29. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -1
  30. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +4 -2
  31. package/dist/collection/components/ez-list/ez-list.js +2 -2
  32. package/dist/collection/components/ez-modal/ez-modal.js +1 -1
  33. package/dist/collection/components/ez-modal-container/ez-modal-container.js +1 -1
  34. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +49 -14
  35. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +2 -2
  36. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +72 -12
  37. package/dist/collection/components/ez-popup/ez-popup.js +1 -1
  38. package/dist/collection/components/ez-scroller/ez-scroller.css +3 -0
  39. package/dist/collection/components/ez-search/ez-search.css +0 -219
  40. package/dist/collection/components/ez-search/ez-search.js +28 -167
  41. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css +227 -0
  42. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js +289 -0
  43. package/dist/collection/components/ez-search/utils/searchFormatters.js +18 -0
  44. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +1 -1
  45. package/dist/custom-elements/index.d.ts +6 -0
  46. package/dist/custom-elements/index.js +204 -226
  47. package/dist/esm/ez-badge.entry.js +14 -2
  48. package/dist/esm/ez-button.entry.js +1 -1
  49. package/dist/esm/ez-card-item_2.entry.js +1416 -7
  50. package/dist/esm/ez-chip.entry.js +1 -1
  51. package/dist/esm/ez-date-input.entry.js +4 -17
  52. package/dist/esm/ez-date-time-input.entry.js +4 -16
  53. package/dist/esm/ez-form-view.entry.js +1 -1
  54. package/dist/esm/ez-grid.entry.js +4 -2
  55. package/dist/esm/ez-list.entry.js +2 -2
  56. package/dist/esm/ez-modal-container.entry.js +1 -1
  57. package/dist/esm/ez-modal.entry.js +1 -1
  58. package/dist/esm/ez-popover-plus_3.entry.js +189 -0
  59. package/dist/esm/ez-popup.entry.js +1 -1
  60. package/dist/esm/ez-scroller_2.entry.js +1 -1
  61. package/dist/esm/ez-search.entry.js +29 -159
  62. package/dist/esm/ez-split-item.entry.js +1 -1
  63. package/dist/esm/ezui.js +1 -1
  64. package/dist/esm/index-baa5e267.js +4 -4
  65. package/dist/esm/loader.js +1 -1
  66. package/dist/esm/searchFormatters-8229207e.js +20 -0
  67. package/dist/ezui/ezui.esm.js +1 -1
  68. package/dist/ezui/p-0bffeffc.entry.js +1 -0
  69. package/dist/ezui/p-20cb13fa.entry.js +1 -0
  70. package/dist/ezui/p-23b6128c.entry.js +1 -0
  71. package/dist/ezui/p-248d4f54.entry.js +1 -0
  72. package/dist/ezui/p-2872fd16.entry.js +1 -0
  73. package/dist/ezui/p-288631d1.entry.js +1 -0
  74. package/dist/ezui/p-40a60148.js +1 -0
  75. package/dist/ezui/p-4e0628a7.entry.js +1 -0
  76. package/dist/ezui/{p-53116373.entry.js → p-664b91e8.entry.js} +1 -1
  77. package/dist/ezui/p-788467fe.entry.js +1 -0
  78. package/dist/ezui/p-84b1c99e.entry.js +1 -0
  79. package/dist/ezui/p-b7706b43.entry.js +1 -0
  80. package/dist/ezui/p-d2bc2f06.entry.js +1 -0
  81. package/dist/ezui/p-dcf3c8e5.entry.js +1 -0
  82. package/dist/ezui/{p-17be134a.entry.js → p-e06a9886.entry.js} +1 -1
  83. package/dist/ezui/p-e5c3ed19.entry.js +1 -0
  84. package/dist/ezui/p-e75c7a23.entry.js +1 -0
  85. package/dist/types/components/ez-badge/ez-badge.d.ts +5 -0
  86. package/dist/types/components/ez-calendar/ez-calendar.d.ts +3 -3
  87. package/dist/types/components/ez-date-input/ez-date-input.d.ts +2 -2
  88. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +2 -2
  89. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +1 -0
  90. package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +9 -4
  91. package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +12 -2
  92. package/dist/types/components/ez-search/ez-search.d.ts +3 -13
  93. package/dist/types/components/ez-search/subcomponent/search-list/search-list.d.ts +23 -0
  94. package/dist/types/components/ez-search/utils/searchFormatters.d.ts +2 -0
  95. package/dist/types/components.d.ts +80 -4
  96. package/package.json +1 -1
  97. package/react/components.d.ts +1 -0
  98. package/react/components.js +1 -0
  99. package/react/components.js.map +1 -1
  100. package/dist/cjs/ez-popover-core_2.cjs.entry.js +0 -1504
  101. package/dist/esm/ez-popover-core_2.entry.js +0 -1499
  102. package/dist/ezui/p-0faf71c5.entry.js +0 -1
  103. package/dist/ezui/p-17eabf46.entry.js +0 -1
  104. package/dist/ezui/p-1ad6c61b.entry.js +0 -1
  105. package/dist/ezui/p-2bb2a0c4.entry.js +0 -1
  106. package/dist/ezui/p-3195a7a7.entry.js +0 -1
  107. package/dist/ezui/p-3429080c.entry.js +0 -1
  108. package/dist/ezui/p-58783dcf.entry.js +0 -1
  109. package/dist/ezui/p-650e4b6d.entry.js +0 -1
  110. package/dist/ezui/p-65f471bc.entry.js +0 -1
  111. package/dist/ezui/p-7bd15498.entry.js +0 -1
  112. package/dist/ezui/p-990b4318.entry.js +0 -1
  113. package/dist/ezui/p-b26f6c5b.entry.js +0 -1
  114. package/dist/ezui/p-cb1535f7.entry.js +0 -1
  115. package/dist/ezui/p-d9548bdf.entry.js +0 -1
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-a7b0c73d.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
 
8
- const ezChipCss = ":host{--ez-label-chip--height:30px;--ez-label-chip__label--font-size:var(--text--medium, 14px);--ez-label-chip__label--font-family:var(--font-pattern, Arial);--ez-label-chip__label--font-weight:var(--text-weight--medium, 400);--ez-label-chip__label--space--medium:var(--space--medium, 12px);--ez-label-chip__label--title--primary:var(--title--primary, #2B3A54);--ez-label-chip__label--text--primary:var(--text--primary, #626e82);--ez-label-chip__label__container--border-radius:var(--border--radius-large, 24px);--ez-label-chip__label__container--border:1px solid;--ez-label-chip__label__container--border-color-strokes:var(--color--strokes, #DCE0E8);--ez-label-chip__label__container--color-primary:var(--color--primary, #008561);--ez-label-chip__label__container-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ez-label-chip__label__container--background-color:var(--color--primary-300);--ez-label-chip__label__container--border-color:#0085610F;--ez-label-chip__label__container--default--border-color--active:var(--color--primary, #007a5a);--ez-label-chip__label__container--default--background-color--hover:var(--color--primary-300, #f2faf8);--ez-label-chip__label__container--default--color--hover:var(--color--primary, #f2faf8);--ez-label-chip__label__container--text--disabled:var(--text--disable, #AFB6C0);--ez-label-chip__label__container--default--border-color--active:var(--color--primary)}.lbl{display:flex;white-space:nowrap;align-items:center;cursor:pointer;user-select:none;color:var(--ez-label-chip__label--title--primary);height:var(--ez-label-chip--height);font-family:var(--ez-label-chip__label--font-family);font-size:var(--ez-label-chip__label--font-size);font-weight:var(--ez-label-chip__label--font-weight)}.lbl--active{color:var(--ez-label-chip__label__container--default--color--hover)}.lbl--disabled{color:var(--ez-label-chip__label__container--text--disabled)}.label__container{cursor:pointer;width:max-content;display:flex;flex-wrap:wrap;align-items:center;background-color:#FFFFFF;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary);border:var(--ez-label-chip__label__container--border);border-radius:var(--ez-label-chip__label__container--border-radius);border-color:var(--ez-label-chip__label__container--border-color-strokes);padding-right:var(--ez-label-chip__label--space--medium);padding-left:var(--ez-label-chip__label--space--medium);outline-color:var(--ez-label-chip__label__container--default--border-color--active)}.label__content{display:flex;align-items:center;flex-wrap:wrap;--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--disabled{cursor:default;border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__container--active{border-color:var(--ez-label-chip__label__container--default--background-color--hover);background-color:var(--ez-label-chip__label__container--default--background-color--hover);color:var(--ez-label-chip__label__container--default--color--hover);fill:var(--ez-label-chip__label__container--default--color--hover);--ez-icon--color:var(--ez-label-chip__label__container--default--color--hover)}.label__container:hover{border-color:var(--ez-label-chip__label__container--default--border-color--active)}.label__container:focus{outline:var(--border--medium) var(--ez-label-chip__label__container--default--border-color--active)}.label__container--disabled:hover{cursor:default;border:var(--ez-label-chip__label__container--border);border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__content__icon{display:flex;cursor:pointer;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--row-reverse{flex-direction:row-reverse}.label__container .btn-close{padding:0px 0px 0px 8px}.label__container--row-reverse .btn-close{padding:0px 8px 0px 0px}.cursor-disable{cursor:default}ez-icon{--ez-icon--color:inherit}";
8
+ const ezChipCss = ":host{--ez-label-chip--height:30px;--ez-label-chip__label--font-size:var(--text--medium, 14px);--ez-label-chip__label--font-family:var(--font-pattern, Arial);--ez-label-chip__label--font-weight:var(--text-weight--medium, 400);--ez-label-chip__label--space--medium:var(--space--medium, 12px);--ez-label-chip__label--title--primary:var(--title--primary, #2B3A54);--ez-label-chip__label--text--primary:var(--text--primary, #626e82);--ez-label-chip__label__container--border-radius:var(--border--radius-large, 24px);--ez-label-chip__label__container--border:1px solid;--ez-label-chip__label__container--border-color-strokes:var(--color--strokes, #DCE0E8);--ez-label-chip__label__container--color-primary:var(--color--primary, #008561);--ez-label-chip__label__container-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ez-label-chip__label__container--background-color:var(--color--primary-300);--ez-label-chip__label__container--border-color:#0085610F;--ez-label-chip__label__container--default--border-color--active:var(--color--primary, #007a5a);--ez-label-chip__label__container--default--background-color--hover:var(--color--primary-300, #f2faf8);--ez-label-chip__label__container--default--color--hover:var(--color--primary, #f2faf8);--ez-label-chip__label__container--text--disabled:var(--text--disable, #AFB6C0);--ez-label-chip__label__container--default--border-color--active:var(--color--primary);--ez-label-chip__label__container--default--margin-top:var(--space-extra-small, 3px)}.lbl{display:flex;white-space:nowrap;align-items:center;cursor:pointer;user-select:none;color:var(--ez-label-chip__label--title--primary);height:var(--ez-label-chip--height);font-family:var(--ez-label-chip__label--font-family);font-size:var(--ez-label-chip__label--font-size);font-weight:var(--ez-label-chip__label--font-weight)}.lbl--active{color:var(--ez-label-chip__label__container--default--color--hover)}.lbl--disabled{color:var(--ez-label-chip__label__container--text--disabled)}.label__container{cursor:pointer;width:max-content;display:flex;flex-wrap:wrap;align-items:center;background-color:#FFFFFF;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary);border:var(--ez-label-chip__label__container--border);border-radius:var(--ez-label-chip__label__container--border-radius);border-color:var(--ez-label-chip__label__container--border-color-strokes);padding-right:var(--ez-label-chip__label--space--medium);padding-left:var(--ez-label-chip__label--space--medium);outline-color:var(--ez-label-chip__label__container--default--border-color--active);margin-top:var(--ez-label-chip__label__container--default--margin-top)}.label__content{display:flex;align-items:center;flex-wrap:wrap;--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--disabled{cursor:default;border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__container--active{border-color:var(--ez-label-chip__label__container--default--background-color--hover);background-color:var(--ez-label-chip__label__container--default--background-color--hover);color:var(--ez-label-chip__label__container--default--color--hover);fill:var(--ez-label-chip__label__container--default--color--hover);--ez-icon--color:var(--ez-label-chip__label__container--default--color--hover)}.label__container:hover{border-color:var(--ez-label-chip__label__container--default--border-color--active)}.label__container:focus{outline:none;box-shadow:0 0 0 2px var(--ez-label-chip__label__container--default--border-color--active)}.label__container--disabled:hover{cursor:default;border:var(--ez-label-chip__label__container--border);border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__content__icon{display:flex;cursor:pointer;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--row-reverse{flex-direction:row-reverse}.label__container .btn-close{padding:0px 0px 0px 8px}.label__container--row-reverse .btn-close{padding:0px 8px 0px 0px}.cursor-disable{cursor:default}ez-icon{--ez-icon--color:inherit}";
9
9
 
10
10
  const EzChip = class {
11
11
  constructor(hostRef) {
@@ -97,22 +97,9 @@ const EzDateInput = class {
97
97
  this._changePending = false;
98
98
  }
99
99
  }
100
- showCalendar() {
101
- this.handleBlur();
102
- this._calendar.value = this.value;
103
- let top;
104
- if (this.isFixed()) {
105
- top = 29;
106
- this._calendar.fitHorizontal(0);
107
- }
108
- else {
109
- top = this.errorMessage || this.mode === "slim" ? 6 : -13;
110
- }
111
- this._calendar.fitVertical(top, this._elem.clientHeight);
112
- }
113
100
  hideCalendar() {
114
101
  this.changeValue(this._calendar.value);
115
- this._calendar.hide();
102
+ this._popover.hide();
116
103
  }
117
104
  handleBlur() {
118
105
  if (!this._changePending) {
@@ -173,8 +160,8 @@ const EzDateInput = class {
173
160
  this._textInput.value = textValue;
174
161
  }
175
162
  }
176
- isFixed() {
177
- return this._elem.dataset.isFixed === "true";
163
+ disconnectedCallback() {
164
+ this.hideCalendar();
178
165
  }
179
166
  componentDidLoad() {
180
167
  CSSVarsUtils.CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
@@ -187,7 +174,7 @@ const EzDateInput = class {
187
174
  }
188
175
  render() {
189
176
  core.ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
190
- return (index.h(index.Host, null, index.h("ez-text-input", { "data-element-id": core.ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), restrict: "0123456789/", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError }, index.h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.showCalendar(), slot: "leftIcon" })), index.h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": core.ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, floating: true, "data-is-fixed": this._elem.dataset.isFixed })));
177
+ return (index.h(index.Host, null, index.h("ez-text-input", { "data-element-id": core.ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), restrict: "0123456789/", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError }, index.h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => { var _a; return (_a = this._popover) === null || _a === void 0 ? void 0 : _a.showUnder(this._textInput); }, slot: "leftIcon" })), index.h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none' }, index.h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": core.ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); } }))));
191
178
  }
192
179
  get _elem() { return index.getElement(this); }
193
180
  static get watchers() { return {
@@ -131,21 +131,9 @@ const EzDateTimeInput = class {
131
131
  this.value = newValueValidated;
132
132
  }
133
133
  }
134
- showCalendar() {
135
- let top;
136
- if (this.isFixed()) {
137
- top = 29;
138
- this._calendar.fitHorizontal(0);
139
- }
140
- else {
141
- top = this.errorMessage || this.mode === "slim" ? 6 : -13;
142
- }
143
- this._calendar.fitVertical(top, this._elem.clientHeight);
144
- this._calendar.style.visibility = 'inherit';
145
- }
146
134
  hideCalendar() {
147
135
  this.changeValue(this._calendar.value);
148
- this._calendar.hide();
136
+ this._popover.hide();
149
137
  }
150
138
  getParsedDateTime(strValue) {
151
139
  var _a, _b;
@@ -223,8 +211,8 @@ const EzDateTimeInput = class {
223
211
  this._textInput.value = textValue;
224
212
  }
225
213
  }
226
- isFixed() {
227
- return this._elem.dataset.isFixed === "true";
214
+ disconnectedCallback() {
215
+ this.hideCalendar();
228
216
  }
229
217
  componentDidLoad() {
230
218
  CSSVarsUtils.CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
@@ -237,7 +225,7 @@ const EzDateTimeInput = class {
237
225
  }
238
226
  render() {
239
227
  core.ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
240
- return (index.h(index.Host, null, index.h("ez-text-input", { "data-element-id": core.ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, restrict: "0123456789/: ", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, onKeyDown: event => { this.handleKeyDown(event); }, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), onFocus: () => this.handleFocus(), onClick: () => this.handleClick(), canShowError: this.canShowError }, index.h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.showCalendar(), slot: "leftIcon" })), index.h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": core.ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, floating: true, time: true, showSeconds: this.showSeconds, "data-is-fixed": this._elem.dataset.isFixed })));
228
+ return (index.h(index.Host, null, index.h("ez-text-input", { "data-element-id": core.ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, restrict: "0123456789/: ", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, onKeyDown: event => { this.handleKeyDown(event); }, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), onFocus: () => this.handleFocus(), onClick: () => this.handleClick(), canShowError: this.canShowError }, index.h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => { var _a; return (_a = this._popover) === null || _a === void 0 ? void 0 : _a.showUnder(this._textInput); }, slot: "leftIcon" })), index.h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none' }, index.h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": core.ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, time: true, showSeconds: this.showSeconds }))));
241
229
  }
242
230
  get _elem() { return index.getElement(this); }
243
231
  static get watchers() { return {
@@ -80,7 +80,7 @@ function buildNumeric(fieldName, fieldLabel, readOnly, precision, prettyPrecisio
80
80
  const buildSearch = ({ name, label, readOnly, required, contextName, canShowError, optionLoader, props }) => {
81
81
  var _a;
82
82
  return (index.h("div", { class: "ez-col ez-col--sd-12" },
83
- index.h("ez-search", { class: "ez-input__no-margin", enabled: !readOnly, suppressEmptyOption: required, label: label, "data-field-name": name, "data-context-name": contextName, key: name, canShowError: canShowError, optionLoader: optionLoader, ignoreLimitCharsToSearch: (_a = props.ignoreLimitCharsToSearch) !== null && _a !== void 0 ? _a : false })));
83
+ index.h("ez-search", { class: "ez-input__no-margin", enabled: !readOnly, suppressEmptyOption: required, label: label, "data-field-name": name, "data-context-name": contextName, key: name, canShowError: canShowError, optionLoader: optionLoader, ignoreLimitCharsToSearch: (_a = props === null || props === void 0 ? void 0 : props.ignoreLimitCharsToSearch) !== null && _a !== void 0 ? _a : false })));
84
84
  };
85
85
 
86
86
  const buildTextArea = ({ name, label, readOnly, contextName, rows, canShowError }) => {
@@ -64768,6 +64768,7 @@ class AgGridController {
64768
64768
  this.RECORD_ARCHIVE_COL_ID = '__RECORD_ARCHIVE__';
64769
64769
  this.BLOCK_LOAD_DEBOUNCE = 100;
64770
64770
  this.DEFAULT_FONT_SIZE = 14;
64771
+ this.DEFAULT_FONT_SIZE_HTML5 = 32;
64771
64772
  this.DEFAULT_ICON_SIZE = 12;
64772
64773
  this.DEFAULT_MAX_SIZE = 200;
64773
64774
  this.DOC_WIDTH = 800;
@@ -65833,8 +65834,9 @@ class AgGridController {
65833
65834
  if (cfgColumn.customWidth != undefined) {
65834
65835
  return cfgColumn.customWidth;
65835
65836
  }
65836
- if (cfgColumn.width != undefined) {
65837
- return cfgColumn.width;
65837
+ if (cfgColumn.width != undefined && !isNaN(cfgColumn.width)) {
65838
+ // TODO: Valor somado devido a divergência do tamanho das fontes entre HTML5 e Design System.
65839
+ return parseInt(cfgColumn.width) + this.DEFAULT_FONT_SIZE_HTML5;
65838
65840
  }
65839
65841
  const field = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(cfgColumn.name);
65840
65842
  if ((field === null || field === void 0 ? void 0 : field.userInterface) === core.UserInterface.SEARCH) {
@@ -589,7 +589,7 @@ const EzList = class {
589
589
  return { id: item.id, label: item.label, check: evt.detail };
590
590
  }
591
591
  renderListWithGroups() {
592
- return index.h("div", { class: 'group-container', ref: el => (this._groupContainer = el), tabIndex: 0, onKeyDown: event => this.keyDownHandler(event) }, this._listGroupItems.map(group => {
592
+ return index.h("div", { class: 'group-container', ref: el => (this._groupContainer = el), tabIndex: this.ezSelectable ? 0 : undefined, onKeyDown: event => this.keyDownHandler(event) }, this._listGroupItems.map(group => {
593
593
  return (index.h("div", { id: this.getDivGroupId(group.group), class: 'group', key: group.group + group.items.length, onDrop: () => this.onDropGroup(group) }, index.h("label", { draggable: false, class: 'group-name', title: group.group }, group.group), index.h("section", { class: 'section-container', onDragOver: ev => ev.preventDefault() }, index.h("div", { class: 'group-items-container' }, index.h("div", { class: 'draggable-list' }, group.items.map((item, index$1) => (index.h("li", Object.assign({ id: 'item_' + item.id, class: {
594
594
  'selectable-container': this.ezSelectable,
595
595
  'hover-feedback': this.hoverFeedback,
@@ -599,7 +599,7 @@ const EzList = class {
599
599
  }));
600
600
  }
601
601
  renderList() {
602
- return index.h("div", { class: 'items-container', ref: el => (this._itemContainer = el), tabIndex: 0, onKeyDown: event => {
602
+ return index.h("div", { class: 'items-container', ref: el => (this._itemContainer = el), tabIndex: this.ezSelectable ? 0 : undefined, onKeyDown: event => {
603
603
  this.keyDownHandler(event);
604
604
  } }, index.h("div", { class: 'draggable-list' }, this._listItems.map((item, index$1) => (index.h("li", Object.assign({ id: 'item_' + item.id, class: {
605
605
  'selectable-container': this.ezSelectable,
@@ -72,7 +72,7 @@ const EzModalContainer = class {
72
72
  this._closeButton.focus();
73
73
  }
74
74
  render() {
75
- return (index.h(index.Host, null, index.h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusLast() }), index.h("div", { ref: ref => this._modalRef = ref, tabIndex: -1, class: "ez-modal-container__header-container" }, this.showTitleBar && (index.h("div", { class: "ez-modal-container__header ez-margin-bottom--medium" }, index.h("div", { class: "ez-col ez-align--middle ez-modal-container__title" }, index.h("h2", { class: "ez-text ez-title--large ez-title--primary ez-text--bold ez-margin-vertical--extra-small" }, this.modalTitle), this.modalSubTitle && (index.h("div", { class: "ez-text ez-text--medium ez-text--primary ez-margin-vertical--extra-small" }, this.modalSubTitle))), (this.showCloseButton && index.h("button", { ref: ref => this._closeButton = ref, class: "ez-modal-container__close-button", onClick: () => this.ezModalAction.emit(ModalAction$1.CLOSE) }, index.h("ez-icon", { class: "ez-modal-container__close-icon", size: "medium", iconName: "close" })))))), index.h("div", { class: "ez-modal-container__content" }, index.h("slot", null)), index.h("div", { class: "ez-modal-container__footer" }, this.cancelIsVisible() && (index.h("ez-button", { label: this.cancelButtonLabel, enabled: this.cancelButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.CANCEL) })), this.okIsVisible() && (index.h("ez-button", { ref: ref => this._okButton = ref, class: "ez-button--primary", label: this.okButtonLabel, enabled: this.okButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.OK) }))), index.h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusFirst() })));
75
+ return (index.h(index.Host, null, index.h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusLast() }), index.h("div", { ref: ref => this._modalRef = ref, tabIndex: -1, class: "ez-modal-container__header-container" }, this.showTitleBar && (index.h("div", { class: "ez-modal-container__header ez-margin-bottom--medium" }, index.h("div", { class: "ez-col ez-align--middle ez-modal-container__title" }, index.h("h2", { class: "ez-text ez-title--large ez-title--primary ez-text--bold ez-margin-vertical--extra-small" }, this.modalTitle), this.modalSubTitle && (index.h("div", { class: "ez-text ez-text--medium ez-text--primary ez-margin-vertical--extra-small" }, this.modalSubTitle))), (this.showCloseButton && index.h("button", { ref: ref => this._closeButton = ref, class: "ez-modal-container__close-button", onClick: () => this.ezModalAction.emit(ModalAction$1.CLOSE) }, index.h("ez-icon", { class: "ez-modal-container__close-icon", size: "medium", iconName: "close" })))))), index.h("div", { tabIndex: -1, class: "ez-modal-container__content" }, index.h("slot", null)), index.h("div", { tabIndex: -1, class: "ez-modal-container__footer" }, this.cancelIsVisible() && (index.h("ez-button", { label: this.cancelButtonLabel, enabled: this.cancelButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.CANCEL) })), this.okIsVisible() && (index.h("ez-button", { ref: ref => this._okButton = ref, class: "ez-button--primary", label: this.okButtonLabel, enabled: this.okButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.OK) }))), index.h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusFirst() })));
76
76
  }
77
77
  get _element() { return index.getElement(this); }
78
78
  };
@@ -36,7 +36,7 @@ const EzModal = class {
36
36
  }
37
37
  componentDidLoad() {
38
38
  this.observeOpened();
39
- new core.KeyboardManager({ propagate: false, element: this._element })
39
+ new core.KeyboardManager({ propagate: false, element: this._element, enableShadowDom: true })
40
40
  .bind("Enter", this.ezModalAction.emit.bind("OK"))
41
41
  .bind("Escape", () => this.closeModal())
42
42
  .bind("Esc", () => this.closeModal());
@@ -0,0 +1,195 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-a7b0c73d.js');
6
+ const core = require('@sankhyalabs/core');
7
+ const searchFormatters = require('./searchFormatters-b7e1ed1e.js');
8
+
9
+ const ezPopoverPlusCss = ":host{display:none}";
10
+
11
+ const EzPopoverPlus = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.ezVisibilityChange = index.createEvent(this, "ezVisibilityChange", 7);
15
+ this.autoClose = true;
16
+ this.boxWidth = "fit-content";
17
+ this.opened = false;
18
+ this.overlayType = "light";
19
+ this.anchorElement = undefined;
20
+ this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
21
+ this.useAnchorSize = false;
22
+ this.minWidth = 150;
23
+ }
24
+ async observeOpened(newValue) {
25
+ if (newValue && !this._popOverCore) {
26
+ this.renderPopoverCore();
27
+ }
28
+ this._popOverCore.opened = newValue;
29
+ }
30
+ /**
31
+ * Atualiza a posição do popover.
32
+ */
33
+ async updatePosition(top, left) {
34
+ var _a;
35
+ await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.updatePosition(top, left));
36
+ }
37
+ /**
38
+ * Exibe o ez-popover.
39
+ */
40
+ async show(top, left) {
41
+ if (!this._popOverCore) {
42
+ this.renderPopoverCore();
43
+ }
44
+ await this._popOverCore.show(top, left);
45
+ }
46
+ /**
47
+ * Ancora a exibição do popOver a um elemento HTML.
48
+ */
49
+ async showUnder(element, options) {
50
+ if (!this._popOverCore) {
51
+ this.renderPopoverCore();
52
+ }
53
+ await this._popOverCore.showUnder(element, options);
54
+ }
55
+ /**
56
+ * Oculta o ez-popover.
57
+ */
58
+ async hide() {
59
+ var _a;
60
+ await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.hide());
61
+ }
62
+ /**
63
+ * Altera as opções.
64
+ */
65
+ async setOptions(options) {
66
+ var _a;
67
+ await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.setOptions(options));
68
+ }
69
+ /**
70
+ * Altera o elemento de ancoragem.
71
+ */
72
+ async setAnchorElement(anchor) {
73
+ var _a;
74
+ await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.setAnchorElement(anchor));
75
+ }
76
+ renderPopoverCore() {
77
+ this._popOverCore = document.createElement('ez-popover-core');
78
+ this._popOverCore.opened = this.opened;
79
+ this._popOverCore.anchorElement = this.anchorElement;
80
+ this._popOverCore.autoClose = this.autoClose;
81
+ this._popOverCore.boxWidth = this.boxWidth;
82
+ this._popOverCore.overlayType = this.overlayType;
83
+ this._popOverCore.options = this.options;
84
+ this._popOverCore.useAnchorSize = this.useAnchorSize;
85
+ this._popOverCore.minWidth = this.minWidth;
86
+ this._popOverCore.addEventListener('ezVisibilityChange', ({ detail }) => {
87
+ this.ezVisibilityChange.emit(detail);
88
+ this.opened = detail;
89
+ });
90
+ const firstChild = this._host.children.item(0);
91
+ if (firstChild) {
92
+ this._popOverCore.appendChild(firstChild);
93
+ }
94
+ else {
95
+ console.warn('O slot do popover está vazio. Adicione conteúdo ao slot para exibição correta.');
96
+ }
97
+ document.body.appendChild(this._popOverCore);
98
+ }
99
+ render() {
100
+ return (index.h(index.Host, null, index.h("slot", null)));
101
+ }
102
+ get _host() { return index.getElement(this); }
103
+ static get watchers() { return {
104
+ "opened": ["observeOpened"]
105
+ }; }
106
+ };
107
+ EzPopoverPlus.style = ezPopoverPlusCss;
108
+
109
+ const multiSelectionBoxMessageCss = ".multi-selection__message{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%;min-height:320px;text-align:center}.multi-selection__text-message{margin-top:-30px;font-family:var(--font-pattern);font-size:var(--text--meduim);padding:var(--space-xs);color:var(--text--primary)}";
110
+
111
+ const MultiSelectionBoxMessage = class {
112
+ constructor(hostRef) {
113
+ index.registerInstance(this, hostRef);
114
+ this.message = undefined;
115
+ }
116
+ render() {
117
+ return (index.h("div", { class: "multi-selection__message" }, index.h("span", { class: "multi-selection__text-message" }, this.message)));
118
+ }
119
+ };
120
+ MultiSelectionBoxMessage.style = multiSelectionBoxMessageCss;
121
+
122
+ const searchListCss = ":host{--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--small, 6px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px)}.list-options{position:relative;z-index:var(--more-visible, 2);margin:var(--space--small) 0px;padding:0px;padding-inline-start:0px;box-sizing:border-box;width:100%;height:100%;max-height:350px;min-width:150px;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;margin:var(--space--medium) 0px;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-search__list-title--primary);border-top:3px solid transparent}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);gap:var(--space--small, 6px)}.preselected{background-color:var(--background--medium)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}";
123
+
124
+ const SearchList = class {
125
+ constructor(hostRef) {
126
+ index.registerInstance(this, hostRef);
127
+ this.changeValue = index.createEvent(this, "changeValue", 7);
128
+ this.changePreSelection = index.createEvent(this, "changePreSelection", 7);
129
+ this._startHighlightTag = "<span class='card-item__highlight'>";
130
+ this._endHighlightTag = "</span>";
131
+ this.showLoading = undefined;
132
+ this.visibleOptions = [];
133
+ this.textEmptyList = undefined;
134
+ this.canShowListOptions = undefined;
135
+ this.value = undefined;
136
+ this.showOptionValue = true;
137
+ this.preSelection = undefined;
138
+ }
139
+ async nextOption() {
140
+ const newPreSelection = this.preSelection === undefined ? 0 : Math.min(this.preSelection + 1, this.visibleOptions.length - 1);
141
+ this.changePreSelection.emit(newPreSelection);
142
+ this.scrollToOption(this.visibleOptions[newPreSelection]);
143
+ }
144
+ async previousOption() {
145
+ const newPreSelection = this.preSelection === undefined ? 0 : Math.max(this.preSelection - 1, 0);
146
+ this.changePreSelection.emit(newPreSelection);
147
+ this.scrollToOption(this.visibleOptions[newPreSelection]);
148
+ }
149
+ selectOption(newOption) {
150
+ const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value: searchFormatters.replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.value), label: searchFormatters.replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.label) });
151
+ const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value: searchFormatters.replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value), label: searchFormatters.replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.label) });
152
+ this.changeValue.emit(newOptionsFormatted);
153
+ }
154
+ createOption(detail) {
155
+ let { key, title } = detail;
156
+ const startHighlight = new RegExp(this._startHighlightTag, 'g');
157
+ const endHighlight = new RegExp(this._endHighlightTag, 'g');
158
+ title = core.StringUtils.decodeHtmlEntities(title);
159
+ const option = {
160
+ value: key === null || key === void 0 ? void 0 : key.replace(startHighlight, '').replace(endHighlight, ''),
161
+ label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
162
+ };
163
+ this.selectOption(option);
164
+ }
165
+ scrollToOption(opt) {
166
+ window.requestAnimationFrame(() => {
167
+ const liElem = (opt === null || opt === void 0 ? void 0 : opt.value)
168
+ ? this._optionsList.querySelector(`div#item_${opt.value.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g, '\\$1')}`)
169
+ : undefined;
170
+ if (liElem) {
171
+ liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
172
+ }
173
+ });
174
+ }
175
+ buildItem(opt, index$1) {
176
+ opt.label = opt.label || opt.value;
177
+ const card = {
178
+ key: opt.value,
179
+ title: opt.label,
180
+ details: opt.details
181
+ };
182
+ return index.h("div", { style: { "height": "100%" }, class: index$1 === this.preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.createOption(card), onMouseOver: () => this.changePreSelection.emit(index$1) }, index.h("ez-card-item", { item: card, compacted: true, enableKey: this.showOptionValue }));
183
+ }
184
+ render() {
185
+ return (index.h(index.Host, null, index.h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading
186
+ && this.visibleOptions.length === 0
187
+ && index.h("div", { class: "message" }, index.h("span", { class: "message__no-result" }, this.textEmptyList)), this.showLoading
188
+ && index.h("div", { class: "message" }, index.h("div", { class: "message__loading" })), this.canShowListOptions && this.visibleOptions.map((opt, index) => this.buildItem(opt, index)))));
189
+ }
190
+ };
191
+ SearchList.style = searchListCss;
192
+
193
+ exports.ez_popover_plus = EzPopoverPlus;
194
+ exports.multi_selection_box_message = MultiSelectionBoxMessage;
195
+ exports.search_list = SearchList;
@@ -35,7 +35,7 @@ const EzPopup = class {
35
35
  if (this.opened && this._popupRef) {
36
36
  this._popupRef.focus();
37
37
  }
38
- new core.KeyboardManager({ propagate: false, element: this._element })
38
+ new core.KeyboardManager({ propagate: false, element: this._element, enableShadowDom: true })
39
39
  .bind("Enter", this.ezPopupAction.emit.bind("OK"))
40
40
  .bind("Escape", () => this.closePopup())
41
41
  .bind("Esc", () => this.closePopup());
@@ -6,7 +6,7 @@ const index = require('./index-a7b0c73d.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const EzScrollDirection = require('./EzScrollDirection-b2c99895.js');
8
8
 
9
- const ezScrollerCss = ":host{--ez-scroller--box-shadow-color:var(--background--body, #fafcff);--ez-scroller__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-scroller__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-scroller__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-scroller__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-scroller__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-scroller__scrollbar--width:var(--space--small, 6px);--ez-scroller__max-height:unset;display:flex;cursor:grab;width:100%;overflow:hidden}.dragging{cursor:grabbing}.ez-scroller__container{display:flex;overflow-y:hidden;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked),.ez-scroller__container:not(.ez-scroller__container--locked):hover{scrollbar-color:var(--ez-scroller__scrollbar--color-clicked) var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container--both{overflow-y:scroll;overflow-x:scroll;flex-wrap:wrap}.ez-scroller__container--horizontal{overflow-x:scroll;flex-direction:row}.ez-scroller__container--vertical{overflow-y:scroll;flex-direction:column;width:100%;max-height:var(--ez-scroller__max-height)}.ez-scroller__container::-webkit-scrollbar{background-color:transparent;width:var(--ez-scroller__scrollbar--width);height:var(--ez-scroller__scrollbar--width);max-width:var(--ez-scroller__scrollbar--width);min-width:var(--ez-scroller__scrollbar--width)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-track{visibility:hidden;background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-track,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-track{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-thumb{background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb{background-color:var(--ez-scroller__scrollbar--color-default)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:hover{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-scroller__scrollbar--color-hover)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:active{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-scroller__scrollbar--color-clicked)}.ez-scroller__wrapper{display:flex;position:relative;width:100%;height:auto}.ez-scroller__wrapper--horizontal{flex-direction:row}.ez-scroller__wrapper--vertical{flex-direction:column}.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--shadow-end::after{content:\"\";display:flex;position:absolute;z-index:1}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{width:24px;min-height:calc(100% - 10px)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before{left:0;background:linear-gradient(to right, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{right:0;background:linear-gradient(to left, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{min-width:calc(100% - 10px);height:24px}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before{top:0;background:linear-gradient(to bottom, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{bottom:0;background:linear-gradient(to top, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}";
9
+ const ezScrollerCss = ":host{--ez-scroller--box-shadow-color:var(--background--body, #fafcff);--ez-scroller__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-scroller__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-scroller__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-scroller__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-scroller__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-scroller__scrollbar--width:var(--space--small, 6px);--ez-scroller__max-height:unset;--ez-scroller__scrollbar--padding-right:var(--space-extra-small, 3px);display:flex;cursor:grab;width:100%;overflow:hidden}.dragging{cursor:grabbing}.ez-scroller__container{display:flex;overflow-y:hidden;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked),.ez-scroller__container:not(.ez-scroller__container--locked):hover{scrollbar-color:var(--ez-scroller__scrollbar--color-clicked) var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container--both{overflow-y:scroll;overflow-x:scroll;flex-wrap:wrap}.ez-scroller__container--horizontal{overflow-x:scroll;flex-direction:row;padding-right:var(--ez-scroller__scrollbar--padding-right)}.ez-scroller__container--vertical{overflow-y:scroll;flex-direction:column;width:100%;max-height:var(--ez-scroller__max-height)}.ez-scroller__container::-webkit-scrollbar{background-color:transparent;width:var(--ez-scroller__scrollbar--width);height:var(--ez-scroller__scrollbar--width);max-width:var(--ez-scroller__scrollbar--width);min-width:var(--ez-scroller__scrollbar--width)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-track{visibility:hidden;background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-track,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-track{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-thumb{background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb{background-color:var(--ez-scroller__scrollbar--color-default)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:hover{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-scroller__scrollbar--color-hover)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:active{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-scroller__scrollbar--color-clicked)}.ez-scroller__wrapper{display:flex;position:relative;width:100%;height:auto}.ez-scroller__wrapper--horizontal{flex-direction:row}.ez-scroller__wrapper--vertical{flex-direction:column}.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--shadow-end::after{content:\"\";display:flex;position:absolute;z-index:1}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{width:24px;min-height:calc(100% - 10px)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before{left:0;background:linear-gradient(to right, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{right:0;background:linear-gradient(to left, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{min-width:calc(100% - 10px);height:24px}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before{top:0;background:linear-gradient(to bottom, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{bottom:0;background:linear-gradient(to top, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}";
10
10
 
11
11
  const EzScroller = class {
12
12
  constructor(hostRef) {