@sankhyalabs/ezui 1.1.88 → 1.1.91

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 (74) hide show
  1. package/dist/cjs/{AssetsUtils-caf95dab.js → AssetsUtils-4909c6de.js} +1 -1
  2. package/dist/cjs/ez-action-chip.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-button_11.cjs.entry.js +96 -51
  5. package/dist/cjs/ez-calendar.cjs.entry.js +11 -4
  6. package/dist/cjs/ez-collapsible-box_7.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-form.cjs.entry.js +2 -2
  10. package/dist/cjs/ez-label-chip.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-time-input.cjs.entry.js +2 -2
  14. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  15. package/dist/cjs/ezui.cjs.js +2 -2
  16. package/dist/cjs/{index-0bce1636.js → index-88286449.js} +358 -8
  17. package/dist/cjs/loader.cjs.js +2 -2
  18. package/dist/collection/collection-manifest.json +1 -1
  19. package/dist/collection/components/ez-calendar/ez-calendar.css +33 -29
  20. package/dist/collection/components/ez-calendar/ez-calendar.js +9 -2
  21. package/dist/collection/components/ez-form/store/form.slice.js +1 -1
  22. package/dist/collection/components/ez-grid/controller/DataUnitBridge.js +7 -5
  23. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +49 -1
  24. package/dist/collection/components/ez-grid/ez-grid.css +7 -2
  25. package/dist/collection/components/ez-grid/ez-grid.js +24 -3
  26. package/dist/collection/components/ez-grid/subcomponents/gridconfig/grid-config.js +1 -1
  27. package/dist/collection/components/ez-list/ez-list.js +2 -1
  28. package/dist/collection/components/ez-tabselector/ez-tabselector.js +40 -46
  29. package/dist/custom-elements/index.js +107 -55
  30. package/dist/esm/{AssetsUtils-9b1d9c38.js → AssetsUtils-9b1329a3.js} +1 -1
  31. package/dist/esm/ez-action-chip.entry.js +1 -1
  32. package/dist/esm/ez-application.entry.js +1 -1
  33. package/dist/esm/ez-button_11.entry.js +96 -51
  34. package/dist/esm/ez-calendar.entry.js +11 -4
  35. package/dist/esm/ez-collapsible-box_7.entry.js +1 -1
  36. package/dist/esm/ez-combo-box.entry.js +1 -1
  37. package/dist/esm/ez-dialog.entry.js +1 -1
  38. package/dist/esm/ez-form.entry.js +2 -2
  39. package/dist/esm/ez-label-chip.entry.js +1 -1
  40. package/dist/esm/ez-popover.entry.js +1 -1
  41. package/dist/esm/ez-popup.entry.js +1 -1
  42. package/dist/esm/ez-time-input.entry.js +2 -2
  43. package/dist/esm/ez-toast.entry.js +1 -1
  44. package/dist/esm/ezui.js +2 -2
  45. package/dist/esm/{index-d80a8d1f.js → index-6b8bfbeb.js} +358 -8
  46. package/dist/esm/loader.js +2 -2
  47. package/dist/ezui/ezui.esm.js +1 -1
  48. package/dist/ezui/{p-4e08b842.entry.js → p-0094463f.entry.js} +1 -1
  49. package/dist/ezui/{p-091b27f2.entry.js → p-020f1285.entry.js} +1 -1
  50. package/dist/ezui/{p-27a35580.entry.js → p-038fd0cb.entry.js} +1 -1
  51. package/dist/ezui/{p-f87c7082.js → p-477bb703.js} +1 -1
  52. package/dist/ezui/{p-a52b3368.entry.js → p-502d7e0d.entry.js} +1 -1
  53. package/dist/ezui/{p-19d8a928.entry.js → p-542d3d29.entry.js} +1 -1
  54. package/dist/ezui/{p-826b6c4d.entry.js → p-552a0b2e.entry.js} +1 -1
  55. package/dist/ezui/{p-3e79877f.entry.js → p-60469339.entry.js} +1 -1
  56. package/dist/ezui/{p-eefc1f9d.entry.js → p-7e0281cd.entry.js} +1 -1
  57. package/dist/ezui/p-89a57641.js +1 -0
  58. package/dist/ezui/p-95fc543c.entry.js +1 -0
  59. package/dist/ezui/{p-b678dc80.entry.js → p-b217f40b.entry.js} +1 -1
  60. package/dist/ezui/{p-6206515e.entry.js → p-b8678ee6.entry.js} +1 -1
  61. package/dist/ezui/p-d22db59d.entry.js +1 -0
  62. package/dist/ezui/{p-85a056d7.entry.js → p-d4386e30.entry.js} +24 -24
  63. package/dist/types/components/ez-calendar/ez-calendar.d.ts +1 -0
  64. package/dist/types/components/ez-form/store/form.slice.d.ts +2 -1
  65. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +12 -0
  66. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +3 -0
  67. package/dist/types/components/ez-grid/ez-grid.d.ts +4 -0
  68. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +13 -6
  69. package/dist/types/components.d.ts +9 -4
  70. package/package.json +2 -2
  71. package/dist/collection/utils/FloatingManager.js +0 -16
  72. package/dist/ezui/p-39218c31.entry.js +0 -1
  73. package/dist/ezui/p-535771b6.entry.js +0 -1
  74. package/dist/ezui/p-7c101b34.js +0 -1
@@ -7776,7 +7776,7 @@ function HeadersInstanceToPlainObject(headers) {
7776
7776
  //# sourceMappingURL=index.js.map
7777
7777
  });
7778
7778
 
7779
- const ezCalendarCss = ":host{--ez-calendar--font-family:var(--font-pattern, Arial);--ez-calendar--color:var(--title--primary, #626e82);--ez-calendar--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-calendar__body--background-color:var(--background--xlight, #FFF);--ez-calendar__Time--background-color:var(--background--xlight, #FAFAFA);--ez-calendar__body--padding:var(--space--medium, 12px);--ez-calendar__body--border-radius:var(--border--radius-medium, 12px);--ez-calendar__body--shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-calendar__header-line--stroke:2px;--ez-calendar__header-line--color:var(--color--strokes, #C0C0C0);--ez-calendar__nav-btn--fill:var(--text--primary, #008561);--ez-calendar__nav-btn--hover--fill:var(--color--primary, #350404);--ez-calendar__nav-btn--width:10px;--ez-calendar__nav-btn--height:16px;--ez-calendar__nav-btn--previous-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z\"/></svg>');--ez-calendar__nav-btn--next-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z\"/></svg>');--ez-calendar__cell--margin:0px var(--space--small, 12px);--ez-calendar__cell--width:var(--space--large, 24px);--ez-calendar__cell--padding:var(--space--extra-small, 3px) 0px;--ez-calendar__cell--border-radius:var(--border--radius-small, 6px);--ez-calendar__cell--over--background-color:var(--color--strokes, #E2F4EF);--ez-calendar__cell--outset--color:var(--color--strokes, #C0C0C0);--ez-calendar__cell--selected--background-color:var(--color--primary, #008561);--ez-calendar__cell--selected--color:var(--color--inverted, #FFF);--ez-calendar__btn-today--color:var(--color--primary);--ez-calendar__btn-today--hover--background-color:var(--color--strokes, #E2F4EF);--ez-calendar__btn-today--border-radius:var(--border--radius-small, 6px);position:relative;display:flex;user-select:none}.calendar{z-index:var(--more-visible, 2);display:flex;flex-direction:column;background-color:var(--ez-calendar__body--background-color);padding:var(--ez-calendar__body--padding);border-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__header{display:flex;justify-content:space-between;padding-bottom:var(--space--medium, 12px);margin:var(--space--small, 6px) var(--space--, 12px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color)}.calendar__btn-next,.calendar__btn-previous{outline:none;border:none;background-color:unset;cursor:pointer;padding:0px}.calendar__btn-next::after,.calendar__btn-previous::after{content:'';display:flex;background-color:var(--ez-calendar__nav-btn--fill);width:var(--ez-calendar__nav-btn--width);height:var(--ez-calendar__nav-btn--height)}.calendar__btn-previous::after{-webkit-mask-image:var(--ez-calendar__nav-btn--previous-image);mask-image:var(--ez-calendar__nav-btn--previous-image)}.calendar__btn-next::after{-webkit-mask-image:var(--ez-calendar__nav-btn--next-image);mask-image:var(--ez-calendar__nav-btn--next-image)}.calendar__btn-next:hover::after,.calendar__btn-previous:hover::after{background-color:var(--ez-calendar__nav-btn--hover--fill)}.calendar__lbl-month{font-weight:var(--text-weight--large, 600);font-size:var(--title--medium, 16px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__line{display:flex;padding:0px;margin:0px}.calendar__cell{display:flex;justify-content:center;align-content:center;cursor:pointer;font-size:var(--text--small, 12px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);padding:var(--ez-calendar__cell--padding);margin:var(--ez-calendar__cell--margin);min-width:var(--ez-calendar__cell--width);border-radius:var(--ez-calendar__cell--border-radius)}.calendar__cell:hover{background-color:var(--ez-calendar__cell--over--background-color)}.calendar__cell--secondary{color:var(--ez-calendar__cell--outset--color)}.calendar__cell--unselectable:hover{background-color:unset;border-radius:unset;cursor:unset}.calendar__cell--unselectable{font-weight:var(--text-weight--large, 600);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__cell--selected,.calendar__cell--selected:hover{background-color:var(--ez-calendar__cell--selected--background-color);color:var(--ez-calendar__cell--selected--color)}.calendar__body{padding:var(--space--small, 6px) 0px}.calendar__footer{display:flex;flex-direction:column}.calendar__btn-today{border:none;background-color:unset;cursor:pointer;font-weight:var(--text-weight--large, 600);font-size:var(--title--small);padding:var(--space--extra-small, 6px);font-family:var(--ez-calendar--font-family);text-shadow:var(--ez-calendar--text-shadow);color:var(--ez-calendar__btn-today--color);border-radius:var(--ez-calendar__btn-today--border-radius)}.calendar__btn-today:hover{background-color:var(--ez-calendar__btn-today--hover--background-color)}section{display:flex}.calendarTime{margin-left:-10px;display:flex;flex-direction:column;padding:12px 6px;padding-left:16px;padding-bottom:0px;background-color:var(--ez-calendar__Time--background-color);border-top-right-radius:var(--ez-calendar__body--border-radius);border-bottom-right-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__column{height:180px;padding:0px;margin:0px;overflow:auto}.calendar__column::-webkit-scrollbar{width:0px;max-width:0px;min-width:0px}.calendarTime__header{padding-left:6px;padding-right:6px;display:flex;justify-content:space-between;padding-bottom:var(--space--medium, 12px);margin:var(--space--small, 6px) var(--space--, 12px);font-weight:var(--text-weight--large, 600);font-size:var(--title--medium, 16px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.separatorTime{color:#A2ABB9}.endHidden{-webkit-mask-image:linear-gradient(180deg, #000 calc(100% - 48px), transparent 100%)}";
7779
+ const ezCalendarCss = ":host{--ez-calendar--font-family:var(--font-pattern, Arial);--ez-calendar--color:var(--title--primary, #626e82);--ez-calendar--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-calendar__body--background-color:var(--background--xlight, #FFF);--ez-calendar__Time--background-color:var(--background--xlight, #FAFAFA);--ez-calendar__body--padding:var(--space--medium, 12px) var(--space--small, 6px);--ez-calendar__body--border-radius:var(--border--radius-medium, 12px);--ez-calendar__body--shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-calendar__header-line--stroke:1px;--ez-calendar__header-line--color:var(--color--strokes, #C0C0C0);--ez-calendar__nav-btn--fill:var(--text--primary, #008561);--ez-calendar__nav-btn--hover--fill:var(--color--primary, #350404);--ez-calendar__nav-btn--width:10px;--ez-calendar__nav-btn--height:16px;--ez-calendar__nav-btn--previous-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z\"/></svg>');--ez-calendar__nav-btn--next-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z\"/></svg>');--ez-calendar__cell--margin:0px 1.5px;--ez-calendar__cell--width:var(--space--large, 24px);--ez-calendar__cell--padding:1.5px 0px;--ez-calendar__cell--border-radius:var(--border--radius-small, 6px);--ez-calendar__cell--over--background-color:var(--color--primary, #E2F4EF);--ez-calendar__cell--over--color:var(--color--primary-300, #008561);--ez-calendar__cell--outset--color:var(--color--disable-primary, #E5EAF0);--ez-calendar__cell--selected--background-color:var(--color--primary, #008561);--ez-calendar__cell--selected--color:var(--color--inverted, #FFF);--ez-calendar__btn-today--color:var(--color--primary);--ez-calendar__btn-today--hover--background-color:var(--color--primary-300, #E2F4EF);--ez-calendar__btn-today--border-radius:var(--border--radius-small, 6px);position:relative;display:flex;user-select:none}.calendar{z-index:var(--more-visible, 2);display:flex;flex-direction:column;background-color:var(--ez-calendar__body--background-color);padding:var(--ez-calendar__body--padding);border-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__header{display:flex;justify-content:space-between;padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color)}.calendar__btn-next,.calendar__btn-previous{outline:none;border:none;background-color:unset;cursor:pointer;padding:0px}.calendar__btn-next::after,.calendar__btn-previous::after{content:'';display:flex;background-color:var(--ez-calendar__nav-btn--fill);width:var(--ez-calendar__nav-btn--width);height:var(--ez-calendar__nav-btn--height)}.calendar__btn-previous::after{-webkit-mask-image:var(--ez-calendar__nav-btn--previous-image);mask-image:var(--ez-calendar__nav-btn--previous-image)}.calendar__btn-next::after{-webkit-mask-image:var(--ez-calendar__nav-btn--next-image);mask-image:var(--ez-calendar__nav-btn--next-image)}.calendar__btn-next:hover::after,.calendar__btn-previous:hover::after{background-color:var(--ez-calendar__nav-btn--hover--fill)}.calendar__lbl-month{font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__line{display:flex;padding:0px;margin:0px}.calendar__cell{display:flex;justify-content:center;align-content:center;cursor:pointer;font-size:var(--text--extra-small, 10px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);padding:var(--ez-calendar__cell--padding);margin:var(--ez-calendar__cell--margin);min-width:var(--ez-calendar__cell--width);border-radius:var(--ez-calendar__cell--border-radius)}.calendar__cell:hover{background-color:var(--ez-calendar__cell--over--background-color);color:var(--ez-calendar__cell--over--color)}.calendar__cell--secondary{color:var(--ez-calendar__cell--outset--color)}.calendar__cell--unselectable:hover{background-color:unset;border-radius:unset;cursor:unset}.calendar__cell--unselectable{font-weight:var(--text-weight--large, 600);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__cell--selected,.calendar__cell--selected:hover{background-color:var(--ez-calendar__cell--selected--background-color);color:var(--ez-calendar__cell--selected--color)}.calendar__footer{display:flex;flex-direction:column}.calendar__btn-today{border:none;background-color:unset;cursor:pointer;font-weight:var(--text-weight--large, 600);font-size:var(--title--extra-small, 12px);padding:0px;font-family:var(--ez-calendar--font-family);text-shadow:var(--ez-calendar--text-shadow);color:var(--ez-calendar__btn-today--color);border-radius:var(--ez-calendar__btn-today--border-radius)}.calendar__btn-today:hover{background-color:var(--ez-calendar__btn-today--hover--background-color)}section{display:flex}.calendarTime{margin-left:-10px;display:flex;flex-direction:column;padding:12px 0px 0px 10px;background-color:var(--ez-calendar__Time--background-color);border-top-right-radius:var(--ez-calendar__body--border-radius);border-bottom-right-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__column{height:136px;padding:0px;margin:0px;overflow:auto}.calendar__column::-webkit-scrollbar{width:0px;max-width:0px;min-width:0px}.calendarTime__header{padding-left:var(--space--small, 6px);padding-right:var(--space--small, 6px);display:flex;justify-content:space-between;padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.separatorTime{color:#A2ABB9;padding:0px 1px;line-height:16px;font-size:17px;font-weight:normal}.endHidden{-webkit-mask-image:linear-gradient(180deg, #000 calc(100% - 48px), transparent 100%)}.calendar__column .calendar__cell{margin:0px;padding:1.5px 1.5px}";
7780
7780
 
7781
7781
  let EzCalendar$1 = class extends HTMLElement$1 {
7782
7782
  constructor() {
@@ -7789,7 +7789,7 @@ let EzCalendar$1 = class extends HTMLElement$1 {
7789
7789
  this._weekDayLabels = ["D", "S", "T", "Q", "Q", "S", "S"];
7790
7790
  this._monthLabels = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
7791
7791
  this._hoursLabel = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23"];
7792
- this._minutosLabel = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59"];
7792
+ this._minutosLabel = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59"];
7793
7793
  /**
7794
7794
  * A data selecionada no calendário
7795
7795
  */
@@ -7820,6 +7820,7 @@ let EzCalendar$1 = class extends HTMLElement$1 {
7820
7820
  window.requestAnimationFrame(() => {
7821
7821
  this._box.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
7822
7822
  });
7823
+ this.scroll();
7823
7824
  }
7824
7825
  }
7825
7826
  /**
@@ -7922,11 +7923,17 @@ let EzCalendar$1 = class extends HTMLElement$1 {
7922
7923
  this.updateScroll(this._secondsScroll);
7923
7924
  }
7924
7925
  componentDidLoad() {
7926
+ this.scroll();
7927
+ }
7928
+ scroll() {
7925
7929
  if (this.time || this.showSeconds) {
7926
7930
  this._hoursScroll.scrollTop = this._hoursSelect.offsetTop - 64;
7927
7931
  this._minutesScroll.scrollTop = this._minutesSelect.offsetTop - 64;
7932
+ this.updateScroll(this._hoursScroll);
7933
+ this.updateScroll(this._minutesScroll);
7928
7934
  if (this.showSeconds) {
7929
7935
  this._secondsScroll.scrollTop = this._secondsSelect.offsetTop - 64;
7936
+ this.updateScroll(this._secondsScroll);
7930
7937
  }
7931
7938
  }
7932
7939
  }
@@ -7956,7 +7963,7 @@ let EzCalendar$1 = class extends HTMLElement$1 {
7956
7963
  })))), h("div", { class: "calendar__footer" }, h("button", { class: "calendar__btn-today", onClick: () => this.selectDate(new Date()) }, this._todayLabel))), (this.time || this.showSeconds) &&
7957
7964
  h("div", { class: "calendarTime" }, h("div", { class: "calendarTime__header" }, h("div", null, "H"), h("div", { class: "separatorTime" }, ":"), h("div", null, "M"), this.showSeconds &&
7958
7965
  h("div", { class: "separatorTime" }, ":"), this.showSeconds &&
7959
- h("div", null, "S")), h("div", { class: "calendar__body ", style: { display: 'flex', paddingLeft: '6px', paddingRight: '6px' } }, h("div", { class: "calendar__column", ref: elem => this._hoursScroll = elem, onScroll: () => this.updateScroll(this._hoursScroll) }, this._hoursLabel.map((offset, index) => {
7966
+ h("div", null, "S")), h("div", { class: "calendar__body ", style: { display: 'flex', paddingLeft: '12px', paddingRight: '12px' } }, h("div", { class: "calendar__column", ref: elem => this._hoursScroll = elem, onScroll: () => this.updateScroll(this._hoursScroll) }, this._hoursLabel.map((offset, index) => {
7960
7967
  if (index === this.value.getHours()) {
7961
7968
  return (h("div", { style: { display: 'flex' }, ref: elem => this._hoursSelect = elem }, h("div", { class: "calendar__cell calendar__cell--selected", onClick: () => this.selectHours(index) }, offset), h("div", { class: "separatorTime" }, ":")));
7962
7969
  }
@@ -9207,7 +9214,7 @@ function loadMetadata(formMetadata) {
9207
9214
  function changeTab(currentSheet) {
9208
9215
  return {
9209
9216
  type: FormActions.CHANGE_TAB,
9210
- payload: currentSheet
9217
+ payload: currentSheet.tabKey
9211
9218
  };
9212
9219
  }
9213
9220
  /////////////////////////////// SELECTORS ///////////////////////////////
@@ -119470,6 +119477,7 @@ class AgGridController {
119470
119477
  this._columnStateChangeCallback = options.onColumnStateChange;
119471
119478
  this._selectionChangeCallback = options.onSelectionChange;
119472
119479
  this._paginationChangeCallback = options.onPaginationChange;
119480
+ this._doubleClickCallBack = options.onDoubleClick;
119473
119481
  this._multipleSelection = options.allowMultipleSelection;
119474
119482
  this._pageSize = options.pageSize;
119475
119483
  this._serverURL = options.serverURL;
@@ -119509,6 +119517,7 @@ class AgGridController {
119509
119517
  opt.onColumnVisible = e => this.onCallStateChange("visibleChange", e);
119510
119518
  opt.onSelectionChanged = e => this.onSelectionChange(e);
119511
119519
  opt.onPaginationChanged = () => this.onPaginationChange();
119520
+ opt.onRowDoubleClicked = evt => this.onRowDoubleClick(evt);
119512
119521
  }
119513
119522
  setOptionsPagination(opt) {
119514
119523
  opt.pagination = (this._pageSize > -1);
@@ -119567,7 +119576,13 @@ class AgGridController {
119567
119576
  if (this._grid === undefined) {
119568
119577
  throw new Error("Erro interno: Grid ainda não inicializado.");
119569
119578
  }
119570
- this._gridOptions.columnApi.applyColumnState({ state: state.map(s => this.buildColState(s)) });
119579
+ //TODO neste ponto estamos utilizando um método descontinuado,
119580
+ //pelo fato de que o applyColumnState não reordena as colunas conforme
119581
+ //o estado passado.
119582
+ //https://stackoverflow.com/questions/51488241/ag-grid-how-to-save-and-reload-column-order
119583
+ //Assim que for corrigido o applyColumnState devemos substituir o setColumnState por ele.
119584
+ // this._gridOptions.columnApi.applyColumnState({ state: state.map(s => this.buildColState(s)) });
119585
+ this._gridOptions.columnApi.setColumnState(state.map(s => this.buildColState(s)));
119571
119586
  }
119572
119587
  getColumnsState() {
119573
119588
  if (this._grid === undefined) {
@@ -119607,9 +119622,44 @@ class AgGridController {
119607
119622
  resizable: true,
119608
119623
  headerComponentParams: {
119609
119624
  template: HeaderColumnTemplate
119625
+ },
119626
+ valueFormatter: params => {
119627
+ return this.getFormatterByColumn(params, source);
119610
119628
  }
119611
119629
  };
119612
119630
  }
119631
+ getFormatterByColumn(params, source) {
119632
+ var _a, _b;
119633
+ if ((source === null || source === void 0 ? void 0 : source.userInterface) === "OPTIONSELECTOR" && source.options) {
119634
+ const prop = source === null || source === void 0 ? void 0 : source.options;
119635
+ let options;
119636
+ if (typeof prop === "string") {
119637
+ const parsed = JSON.parse(prop);
119638
+ options = Object.keys(parsed).map(key => { return { value: key, label: parsed[key] }; });
119639
+ }
119640
+ else {
119641
+ options = prop;
119642
+ }
119643
+ let optionSelected;
119644
+ options.forEach((option) => {
119645
+ if (option.value == params.value) {
119646
+ optionSelected = option;
119647
+ }
119648
+ });
119649
+ return optionSelected === null || optionSelected === void 0 ? void 0 : optionSelected.label;
119650
+ }
119651
+ if ((source === null || source === void 0 ? void 0 : source.userInterface) === "SWITCH") {
119652
+ if ((params === null || params === void 0 ? void 0 : params.value) === "S" || (params === null || params === void 0 ? void 0 : params.value) === true) {
119653
+ return "Sim";
119654
+ }
119655
+ else if ((params === null || params === void 0 ? void 0 : params.value) === "N" || (params === null || params === void 0 ? void 0 : params.value) === false) {
119656
+ return "Não";
119657
+ }
119658
+ }
119659
+ if ((source === null || source === void 0 ? void 0 : source.userInterface) === "SEARCH") {
119660
+ return ((_a = params === null || params === void 0 ? void 0 : params.value) === null || _a === void 0 ? void 0 : _a.value) + " - " + ((_b = params === null || params === void 0 ? void 0 : params.value) === null || _b === void 0 ? void 0 : _b.label);
119661
+ }
119662
+ }
119613
119663
  buildColState(source) {
119614
119664
  return {
119615
119665
  colId: source.name,
@@ -119652,6 +119702,11 @@ class AgGridController {
119652
119702
  }
119653
119703
  }
119654
119704
  }
119705
+ onRowDoubleClick(evt) {
119706
+ if (this._doubleClickCallBack) {
119707
+ this._doubleClickCallBack(evt.data);
119708
+ }
119709
+ }
119655
119710
  conditionalSet(host, attribute, value) {
119656
119711
  if (value !== null && value !== undefined && value !== false) {
119657
119712
  host[attribute] = value;
@@ -119674,16 +119729,18 @@ class DataUnitBridge {
119674
119729
  }
119675
119730
  buildColumnDefs() {
119676
119731
  const columnDefs = [];
119677
- this._dataUnit.metadata.fields.forEach(f => {
119678
- if (f.visible !== false) {
119679
- columnDefs.push({ label: f.label, name: f.name });
119680
- }
119681
- });
119732
+ if (this._dataUnit.metadata) {
119733
+ this._dataUnit.metadata.fields.forEach(f => {
119734
+ if (f.visible !== false) {
119735
+ columnDefs.push({ label: f.label, name: f.name, userInterface: f.userInterface, options: this._dataUnit.getField(f.name).properties.options });
119736
+ }
119737
+ });
119738
+ }
119682
119739
  return columnDefs;
119683
119740
  }
119684
119741
  }
119685
119742
 
119686
- const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ezgrid__header--background-color:var(--background--xlight, #FFF)}.grid__header.sc-ez-grid{display:flex;justify-content:flex-end;align-items:center;background-color:var(--ezgrid__header--background-color)}";
119743
+ const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ezgrid__header--background-color:var(--background--xlight, #FFF)}.grid-header.sc-ez-grid{display:flex;justify-content:space-between;align-items:center;background-color:var(--ezgrid__header--background-color)}.grid-header__container.sc-ez-grid{display:flex;align-items:center}";
119687
119744
 
119688
119745
  let EzGrid$1 = class extends HTMLElement$1 {
119689
119746
  constructor() {
@@ -119691,6 +119748,7 @@ let EzGrid$1 = class extends HTMLElement$1 {
119691
119748
  this.__registerHost();
119692
119749
  this.ezColumnStateChange = createEvent(this, "ezColumnStateChange", 7);
119693
119750
  this.ezSelectionChange = createEvent(this, "ezSelectionChange", 7);
119751
+ this.ezDoubleClick = createEvent(this, "ezDoubleClick", 7);
119694
119752
  this._gridController = new AgGridController(false);
119695
119753
  this._popUpVisible = false;
119696
119754
  /**
@@ -119759,6 +119817,9 @@ let EzGrid$1 = class extends HTMLElement$1 {
119759
119817
  this._navigationLastRow = status.pageEnd;
119760
119818
  this._navigationTotalRows = status.totalRows;
119761
119819
  },
119820
+ onDoubleClick: (row) => {
119821
+ this.ezDoubleClick.emit(row);
119822
+ },
119762
119823
  allowMultipleSelection: this.multipleSelection,
119763
119824
  pageSize: this.pageSize,
119764
119825
  serverURL: this.serverUrl,
@@ -119791,7 +119852,7 @@ let EzGrid$1 = class extends HTMLElement$1 {
119791
119852
  this._popUpVisible = true;
119792
119853
  }
119793
119854
  render() {
119794
- return (h(Host, null, h("div", { class: "box box--shadow padding--medium grid__header margin-bottom--small" }, this.getPaginationControl(), h("ez-button", { size: "small", iconName: "settings", class: "button--secondary", mode: "icon", onClick: () => { this.openConfig(); } })), h("div", { class: "grid__container ag-sankhya-theme", ref: elem => this._container = elem }), h("div", { class: "grid__footer" }), h("ez-modal", { modalSize: "small", closeEsc: true, closeOutsideClick: true, opened: this._popUpVisible, onEzCloseModal: () => this._popUpVisible = false }, h("grid-config", { ref: ref => this._gridConfig = ref, selectedTab: "Colunas", onConfigFinish: evt => this.applyConfig(evt.detail), onConfigCancel: _evt => this.closeConfig() }))));
119855
+ return (h(Host, null, h("div", { class: "box box--shadow padding--medium grid-header margin-bottom--small" }, h("div", { class: "grid-header__container" }, h("slot", { name: "leftButtons" })), h("div", { class: "grid-header__container" }, this.getPaginationControl(), h("ez-button", { size: "small", iconName: "settings", class: "button--secondary", mode: "icon", onClick: () => { this.openConfig(); } }))), h("div", { class: "grid__container ag-sankhya-theme", ref: elem => this._container = elem }), h("div", { class: "grid__footer" }), h("ez-modal", { modalSize: "small", closeEsc: true, closeOutsideClick: true, opened: this._popUpVisible, onEzCloseModal: () => this._popUpVisible = false }, h("grid-config", { ref: ref => this._gridConfig = ref, selectedTab: "Colunas", onConfigFinish: evt => this.applyConfig(evt.detail), onConfigCancel: _evt => this.closeConfig() }))));
119795
119856
  }
119796
119857
  static get assetsDirs() { return ["../assets"]; }
119797
119858
  static get style() { return ezGridCss; }
@@ -120098,7 +120159,8 @@ let EzList$1 = class extends HTMLElement$1 {
120098
120159
  }
120099
120160
  }
120100
120161
  else {
120101
- newList.find(group => group.group == dragEndItem.groupName).items.splice(dragEndItem.index, 0, this._dragStartItem.item);
120162
+ let indexForAdd = (dragEndItem.index > this._dragStartItem.index) ? dragEndItem.index - 1 : dragEndItem.index;
120163
+ newList.find(group => group.group == dragEndItem.groupName).items.splice(indexForAdd, 0, this._dragStartItem.item);
120102
120164
  }
120103
120165
  this._listGroupItems = newList;
120104
120166
  this.ezChange.emit(this._listGroupItems);
@@ -120697,12 +120759,10 @@ let EzTabselector$1 = class extends HTMLElement$1 {
120697
120759
  this.ezChange = createEvent(this, "ezChange", 7);
120698
120760
  this.setFocusedParam = (ev) => {
120699
120761
  if (ev.key === "Enter") {
120700
- this.selectedIndex = this.focusedIndex;
120701
- this.focusedIndex = undefined;
120702
- this.selectedTab = this._processedTabs[this.selectedIndex]["tabKey"];
120703
- this.handleTabClick(this.selectedTab, parseInt(this.selectedIndex));
120762
+ const selectedTab = this._processedTabs[this._focusedIndex];
120763
+ this.handleTabClick(selectedTab);
120704
120764
  ev.preventDefault();
120705
- this.setFocusedTab(this.selectedIndex);
120765
+ this.setFocusedTab(selectedTab.index);
120706
120766
  }
120707
120767
  else if (ev.key === "ArrowLeft" || ev.key === "ArrowRight") {
120708
120768
  let operator = undefined;
@@ -120715,48 +120775,46 @@ let EzTabselector$1 = class extends HTMLElement$1 {
120715
120775
  else {
120716
120776
  return;
120717
120777
  }
120718
- if (this.focusedIndex === undefined) {
120778
+ if (this._focusedIndex === undefined) {
120719
120779
  if (operator === false) {
120720
- this.focusedIndex = this.selectedIndex !== undefined ? (parseInt(this.selectedIndex) - 1).toString() : undefined;
120780
+ this._focusedIndex = this.selectedIndex !== undefined ? this.selectedIndex - 1 : undefined;
120721
120781
  }
120722
120782
  else {
120723
- this.focusedIndex = this.selectedIndex !== undefined ? (parseInt(this.selectedIndex) + 1).toString() : undefined;
120783
+ this._focusedIndex = this.selectedIndex !== undefined ? this.selectedIndex + 1 : undefined;
120724
120784
  }
120725
120785
  }
120726
120786
  else {
120727
120787
  if (operator === false) {
120728
- this.focusedIndex = (parseInt(this.focusedIndex) - 1).toString();
120788
+ this._focusedIndex = this._focusedIndex - 1;
120729
120789
  }
120730
120790
  else {
120731
- this.focusedIndex = (parseInt(this.focusedIndex) + 1).toString();
120791
+ this._focusedIndex = this._focusedIndex + 1;
120732
120792
  }
120733
120793
  }
120734
- if (parseInt(this.focusedIndex) < 0) {
120735
- this.focusedIndex = "0";
120794
+ if (this._focusedIndex < 0) {
120795
+ this._focusedIndex = 0;
120736
120796
  }
120737
- else if (parseInt(this.focusedIndex) > this._processedTabs.length - 1) {
120738
- this.focusedIndex = (this._processedTabs.length - 1).toString();
120797
+ else if (this._focusedIndex > this._processedTabs.length - 1) {
120798
+ this._focusedIndex = this._processedTabs.length - 1;
120739
120799
  }
120740
- this.setFocusedBtn(true, this.focusedIndex);
120741
- this.setFocusedTab(this.focusedIndex);
120742
- this.ezChange.emit(this.selectedTab);
120800
+ this.setFocusedBtn(true, this._focusedIndex);
120801
+ this.setFocusedTab(this._focusedIndex);
120743
120802
  }
120744
120803
  else if (ev.key === "Tab" || ev.key === "Escape") {
120745
- this.focusedIndex = undefined;
120746
- this.selectedTab = this._processedTabs[this.selectedIndex]["tabKey"];
120747
- this.handleTabClick(this.selectedTab, parseInt(this.selectedIndex));
120804
+ const currentTab = this._processedTabs[this.selectedIndex];
120805
+ this._focusedIndex = undefined;
120806
+ this.handleTabClick(currentTab);
120748
120807
  ev.preventDefault();
120749
120808
  this.setFocusedTab(this.selectedIndex);
120750
120809
  }
120751
- // this.setFocusedTab();
120752
120810
  };
120753
120811
  }
120754
- handleTabClick(tab, index) {
120755
- this.selectedIndex = index.toString();
120756
- this.focusedIndex = undefined;
120757
- this.selectedTab = tab;
120758
- this.ezChange.emit(this.selectedTab);
120759
- this.setFocusedBtn(false, this.selectedIndex);
120812
+ handleTabClick(tab) {
120813
+ this.selectedIndex = tab.index;
120814
+ this._focusedIndex = undefined;
120815
+ this.selectedTab = tab.tabKey;
120816
+ this.ezChange.emit(tab);
120817
+ this.setFocusedBtn(false, tab.index);
120760
120818
  }
120761
120819
  componentWillRender() {
120762
120820
  if (!this._processedTabs) {
@@ -120764,16 +120822,16 @@ let EzTabselector$1 = class extends HTMLElement$1 {
120764
120822
  if (this.tabs) {
120765
120823
  this.tabs.split(",").forEach((label) => {
120766
120824
  label = label.trim();
120767
- this._processedTabs.push(new Tab(label, label));
120825
+ this._processedTabs.push({ label, tabKey: label, index: this._processedTabs.length });
120768
120826
  });
120769
120827
  }
120770
120828
  this._hostElem.querySelectorAll("ez-tab").forEach((elem) => {
120771
120829
  const tabKey = elem.getAttribute("tabKey");
120772
120830
  const label = elem.getAttribute("label");
120773
- const t = new Tab(label, tabKey);
120831
+ const t = { label, tabKey, index: this._processedTabs.length };
120774
120832
  const content = elem.firstChild;
120775
120833
  if (content) {
120776
- content.setAttribute("slot", "tab" + this._processedTabs.length);
120834
+ content.setAttribute("slot", "tab" + t.index);
120777
120835
  this._hostElem.appendChild(content);
120778
120836
  }
120779
120837
  this._processedTabs.push(t);
@@ -120872,23 +120930,17 @@ let EzTabselector$1 = class extends HTMLElement$1 {
120872
120930
  return (h(Host, null, h("button", { class: "backward-button", ref: (el) => this._backwardButton = el, onClick: () => this.scrollBackward() }), h("div", { class: "scroll", ref: (el) => this._scrollContainer = el, onScroll: () => this.domScrollHandler(), onKeyDown: (ev) => this.setFocusedParam(ev) }, this._processedTabs.map((tab, index) => {
120873
120931
  const labelStyle = { "min-width": this.getTextWidth(tab.label) };
120874
120932
  const tabId = "tab" + index;
120875
- const isSelected = index === parseInt(this.selectedIndex) || (this.selectedTab && tab.tabKey === this.selectedTab);
120933
+ const isSelected = index === this.selectedIndex || (this.selectedTab && tab.tabKey === this.selectedTab);
120876
120934
  if (isSelected) {
120877
120935
  this.selectedTab = tab.tabKey;
120878
- this.selectedIndex = index.toString();
120936
+ this.selectedIndex = index;
120879
120937
  }
120880
- return h("button", { id: tabId, class: `tab${isSelected ? " is-active" : ""}`, onClick: () => this.handleTabClick(tab.tabKey, index), style: labelStyle }, h("span", { class: "tab-label", title: tab.label }, tab.label), h("slot", { name: tabId, onSlotchange: (ev) => { this.handleSlotChange(ev); } }));
120938
+ return h("button", { id: tabId, class: `tab${isSelected ? " is-active" : ""}`, onClick: () => this.handleTabClick(tab), style: labelStyle }, h("span", { class: "tab-label", title: tab.label }, tab.label), h("slot", { name: tabId, onSlotchange: (ev) => { this.handleSlotChange(ev); } }));
120881
120939
  })), h("button", { class: "forward-button", ref: (el) => this._forwardButton = el, onClick: () => this.scrollFoward() })));
120882
120940
  }
120883
120941
  get _hostElem() { return this; }
120884
120942
  static get style() { return ezTabselectorCss; }
120885
120943
  };
120886
- class Tab {
120887
- constructor(label, tabKey) {
120888
- this.label = label;
120889
- this.tabKey = tabKey;
120890
- }
120891
- }
120892
120944
 
120893
120945
  const ezTextAreaCss = ":host{--text-area--width:100%;--text-area--border-radius:var(--border--radius-medium, 12px);--text-area--font-size:var(--text--medium, 14px);--text-area--font-family:var(--font-pattern, Arial);--text-area--font-weight:var(--text-weight--large, 500);--text-area--color:var(--title--primary, #000);--text-area__input--background-color:var(--background--medium, #e0e0e0);--text-area__input--border:var(--border--medium, 2px solid);--text-area__input--border-color:var(--text-area__input--background-color);--text-area__input--focus--border-color:var(--color--primary, #008561);--text-area__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--text-area__input--disabled--color:var(--text--disable, #AFB6C0);--text-area__input--error--border-color:#CC2936;--text-area__message_box--font-size:var(--text--small, 12px);--text-area__message_box--info--color:var(--color--success, #22085d);--text-area__message_box--error--color:var(--color--error, #FF0000);--text-area__label--floating--top:6px;--text-area__label--padding-top:12px;--text-area__label--padding-left:14px;--text-area__label--padding-right:12px;display:flex;flex-wrap:wrap;position:relative;width:var(--text-area--width)}textarea{box-sizing:border-box;border:none;resize:none;margin-top:calc(var(--space--medium, 12px) + 4px);width:100%;font-weight:var(--text-weight--large, 600);font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);color:var(--text-area--color);padding:0;background:none}textarea:focus{outline:none}textarea:disabled{background-color:transparent;color:var(--text-area__input--disabled--color)}.textarea{width:100%;box-sizing:border-box;padding-left:var(--space--medium);padding-right:var(--space--extra-small);border-radius:var(--text-area--border-radius);border:var(--text-area__input--border);border-color:var(--text-area__input--border-color);background-color:var(--text-area__input--background-color)}.textarea--focus{border-color:var(--text-area__input--focus--border-color)}.textarea.hasError{color:var(--text-area--color);border-color:var(--text-area__input--error--border-color)}.message-box{min-height:16px;min-width:100%;margin-top:2px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--text-area--font-family);font-size:var(--text-area__message_box--font-size);color:var(--text-area__message_box--info--color)}.hasError{color:var(--text-area__message_box--error--color)}.textarea__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--text-area__label--padding-right));left:var(--text-area--space--medium);font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color);top:var(--text-area__label--padding-top);left:var(--text-area__label--padding-left);padding-right:var(--text-area__label--padding-right)}.textarea__label--floated{font-family:var(--text-area--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--text-area__label--floating--top)}.textarea__label--disabled{color:var(--text-area__input--disabled--color)}";
120894
120946
 
@@ -121934,7 +121986,7 @@ let GridConfig$1 = class extends HTMLElement$1 {
121934
121986
  }
121935
121987
  }
121936
121988
  render() {
121937
- return (h(Host, null, h("div", { class: "grid-config__header" }, h("div", { class: "title-container" }, h("div", { class: "" }, h("label", { class: "title" }, "Configura\u00E7\u00E3o da Grade"), h("label", { class: "subtitle" }, "Defina visibilidade e ordem das colunas.")), h("div", { class: "button-close" }, h("ez-button", { mode: 'icon', image: getSpritePath("close"), size: 'medium', onClick: () => this.closeConfig() }))), h("div", { class: "tabselector-container" }, h("ez-tabselector", { selectedTab: this.selectedTab, selectedIndex: '0', onEzChange: (ev) => { this.handleTabChange(ev); }, tabs: 'Colunas, Ordena\u00E7\u00E3o' })), h("div", null, h("ez-text-input", { ref: (el) => this._searchElement = el, label: "Localizar coluna", onKeyUp: evt => this.locateColumn(evt) }, h("ez-icon", { slot: "leftIcon", size: "medium", href: getSpritePath("search") })))), h("div", { class: "grid-config__main" }, h("ez-list", { ref: (el) => this._columnList = el, class: this.selectedTab === "Colunas" ? "" : "hidden", dataSource: this._columListItems, onEzChange: ev => this.handleColumnListChange(ev), ezDraggable: true, ezSelectable: true, itemSlotBuilder: (item, group) => this.buildColumnListSlot(item, group), useGroups: true }), h("ez-list", { ref: (el) => this._orderList = el, class: this.selectedTab === "Ordenação" ? "" : "hidden", dataSource: this._orderListItems, ezSelectable: true, itemSlotBuilder: (item) => this.buildOrderListSlot(item) })), h("div", { class: "grid-config__footer" }, h("ez-button", { class: "padding-right--medium", label: "Cancelar", onClick: () => this.closeConfig() }), h("ez-button", { label: "Concluir", class: "button--primary", onClick: () => this.finish() }))));
121989
+ return (h(Host, null, h("div", { class: "grid-config__header" }, h("div", { class: "title-container" }, h("div", { class: "" }, h("label", { class: "title" }, "Configura\u00E7\u00E3o da Grade"), h("label", { class: "subtitle" }, "Defina visibilidade e ordem das colunas.")), h("div", { class: "button-close" }, h("ez-button", { mode: 'icon', image: getSpritePath("close"), size: 'medium', onClick: () => this.closeConfig() }))), h("div", { class: "tabselector-container" }, h("ez-tabselector", { selectedTab: this.selectedTab, selectedIndex: 0, onEzChange: (ev) => { this.handleTabChange(ev); }, tabs: 'Colunas, Ordena\u00E7\u00E3o' })), h("div", null, h("ez-text-input", { ref: (el) => this._searchElement = el, label: "Localizar coluna", onKeyUp: evt => this.locateColumn(evt) }, h("ez-icon", { slot: "leftIcon", size: "medium", href: getSpritePath("search") })))), h("div", { class: "grid-config__main" }, h("ez-list", { ref: (el) => this._columnList = el, class: this.selectedTab === "Colunas" ? "" : "hidden", dataSource: this._columListItems, onEzChange: ev => this.handleColumnListChange(ev), ezDraggable: true, ezSelectable: true, itemSlotBuilder: (item, group) => this.buildColumnListSlot(item, group), useGroups: true }), h("ez-list", { ref: (el) => this._orderList = el, class: this.selectedTab === "Ordenação" ? "" : "hidden", dataSource: this._orderListItems, ezSelectable: true, itemSlotBuilder: (item) => this.buildOrderListSlot(item) })), h("div", { class: "grid-config__footer" }, h("ez-button", { class: "padding-right--medium", label: "Cancelar", onClick: () => this.closeConfig() }), h("ez-button", { label: "Concluir", class: "button--primary", onClick: () => this.finish() }))));
121938
121990
  }
121939
121991
  static get assetsDirs() { return ["../assets"]; }
121940
121992
  static get style() { return gridConfigCss; }
@@ -122042,7 +122094,7 @@ const EzDateInput = /*@__PURE__*/proxyCustomElement(EzDateInput$1, [1,"ez-date-i
122042
122094
  const EzDateTimeInput = /*@__PURE__*/proxyCustomElement(EzDateTimeInput$1, [1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"]}]);
122043
122095
  const EzDialog = /*@__PURE__*/proxyCustomElement(EzDialog$1, [1,"ez-dialog",{"confirm":[1028],"critical":[1028],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"]}]);
122044
122096
  const EzForm = /*@__PURE__*/proxyCustomElement(EzForm$1, [0,"ez-form",{"dataUnit":[1040],"config":[16]}]);
122045
- const EzGrid = /*@__PURE__*/proxyCustomElement(EzGrid$1, [2,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"pageSize":[2,"page-size"],"serverUrl":[1,"server-url"],"dataUnit":[16],"_navigationHasPrevious":[32],"_navigationHasNext":[32],"_navigationFirstRow":[32],"_navigationLastRow":[32],"_navigationTotalRows":[32],"_popUpVisible":[32]}]);
122097
+ const EzGrid = /*@__PURE__*/proxyCustomElement(EzGrid$1, [6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"pageSize":[2,"page-size"],"serverUrl":[1,"server-url"],"dataUnit":[16],"_navigationHasPrevious":[32],"_navigationHasNext":[32],"_navigationFirstRow":[32],"_navigationLastRow":[32],"_navigationTotalRows":[32],"_popUpVisible":[32]}]);
122046
122098
  const EzIcon = /*@__PURE__*/proxyCustomElement(EzIcon$1, [1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]);
122047
122099
  const EzLabelChip = /*@__PURE__*/proxyCustomElement(EzLabelChip$1, [1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540]}]);
122048
122100
  const EzList = /*@__PURE__*/proxyCustomElement(EzList$1, [1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"_listItems":[32],"_listGroupItems":[32]}]);
@@ -122051,7 +122103,7 @@ const EzNumberInput = /*@__PURE__*/proxyCustomElement(EzNumberInput$1, [1,"ez-nu
122051
122103
  const EzPopover = /*@__PURE__*/proxyCustomElement(EzPopover$1, [1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540]}]);
122052
122104
  const EzPopup = /*@__PURE__*/proxyCustomElement(EzPopup$1, [1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[1540,"use-header"],"ezTitle":[1,"ez-title"]}]);
122053
122105
  const EzSearch = /*@__PURE__*/proxyCustomElement(EzSearch$1, [1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"]}]);
122054
- const EzTabselector = /*@__PURE__*/proxyCustomElement(EzTabselector$1, [1,"ez-tabselector",{"selectedIndex":[1537,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1]}]);
122106
+ const EzTabselector = /*@__PURE__*/proxyCustomElement(EzTabselector$1, [1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1]}]);
122055
122107
  const EzTextArea = /*@__PURE__*/proxyCustomElement(EzTextArea$1, [1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"rows":[1538]}]);
122056
122108
  const EzTextInput = /*@__PURE__*/proxyCustomElement(EzTextInput$1, [1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"mask":[1],"restrict":[1]}]);
122057
122109
  const EzTimeInput = /*@__PURE__*/proxyCustomElement(EzTimeInput$1, [1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"]}]);
@@ -1,4 +1,4 @@
1
- import { a as getAssetPath, s as setAssetPath } from './index-d80a8d1f.js';
1
+ import { a as getAssetPath, s as setAssetPath } from './index-6b8bfbeb.js';
2
2
 
3
3
  const getSpritePath = (sprite) => `${getContextAssetsPath("../assets/actions-sprite.svg")}#${sprite}`;
4
4
  let ctxLoaded = false;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-d80a8d1f.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-6b8bfbeb.js';
2
2
 
3
3
  const ezActionChipCss = ":host{--ez-action-chip--height:36px;--ez-action-chip--border-radius:var(--border--radius-large, 24px);--ez-action-chip__border:1px solid;--ez-action-chip__border-color-strokes:var(--color--strokes, #DCE0E8);--ez-action-chip--font-size:var(--text--medium, 14px);--ez-action-chip--font-family:var(--font-pattern, Arial);--ez-action-chip--font-weight:var(--text-weight--large, 500);--ez-action-chip__label--title--primary:var(--title--primary, #919191);--ez-action-chip__label-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ez-action-chip__label__default--background-color--hover:var(--color--primary-200, #f2faf8);--ez-action-chip__label__default--border-color--hover:var(--color--primary-600, #007a5a)}.label__container{width:fit-content;display:flex;flex-wrap:wrap;position:relative;background-color:#FFFFFF;align-items:center;align-self:center;cursor:pointer;color:var(--ez-action-chip__label--title--primary);fill:var(--ez-action-chip__label--title--primary);border:var(--ez-action-chip__border);border-radius:var(--ez-action-chip--border-radius);border-color:var(--ez-action-chip__border-color-strokes);padding-right:var(--space--medium, 12px);padding-left:var(--space--medium, 12px)}.label__container:hover{border-color:var(--ez-action-chip__label__default--border-color--hover);background-color:var(--ez-action-chip__label__default--background-color--hover)}label{display:flex;align-items:center;font-weight:var(--text-weight--large, 600);cursor:pointer;height:var(--ez-action-chip--height);font-family:var(--ez-action-chip--font-family);font-size:var(--ez-action-chip--font-size)}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-d80a8d1f.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-6b8bfbeb.js';
2
2
 
3
3
  const ezApplicationCss = "";
4
4