@sankhyalabs/ezui 1.1.73 → 1.1.76

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 (93) hide show
  1. package/dist/cjs/ez-action-chip.cjs.entry.js +2 -2
  2. package/dist/cjs/ez-button_16.cjs.entry.js +179 -165
  3. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-label-chip.cjs.entry.js +12 -12
  5. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-time-input.cjs.entry.js +21 -2
  11. package/dist/cjs/ez-toast.cjs.entry.js +5 -2
  12. package/dist/cjs/ezui.cjs.js +2 -2
  13. package/dist/cjs/{index-4d2896bb.js → index-9431aeeb.js} +2 -0
  14. package/dist/cjs/loader.cjs.js +2 -2
  15. package/dist/collection/components/ez-action-chip/ez-action-chip.css +21 -21
  16. package/dist/collection/components/ez-action-chip/ez-action-chip.js +1 -1
  17. package/dist/collection/components/ez-button/ez-button.css +62 -43
  18. package/dist/collection/components/ez-button/ez-button.js +9 -2
  19. package/dist/collection/components/ez-calendar/ez-calendar.css +64 -64
  20. package/dist/collection/components/ez-calendar/ez-calendar.js +12 -9
  21. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +34 -34
  22. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +12 -12
  23. package/dist/collection/components/ez-combo-box/ez-combo-box.css +2 -2
  24. package/dist/collection/components/ez-date-input/ez-date-input.css +17 -3
  25. package/dist/collection/components/ez-date-input/ez-date-input.js +2 -2
  26. package/dist/collection/components/ez-form/ez-form.js +37 -35
  27. package/dist/collection/components/ez-form/store/Form.actions.js +16 -16
  28. package/dist/collection/components/ez-form/store/Form.reducer.js +17 -17
  29. package/dist/collection/components/ez-form/subcomponents/DataUnit.js +8 -8
  30. package/dist/collection/components/ez-form/subcomponents/form-metadata.js +12 -12
  31. package/dist/collection/components/ez-form/subcomponents/place-holder.js +1 -1
  32. package/dist/collection/components/ez-form/subcomponents/structure/Field.js +22 -22
  33. package/dist/collection/components/ez-form/subcomponents/structure/NavigationBar.js +7 -7
  34. package/dist/collection/components/ez-label-chip/ez-label-chip.css +49 -49
  35. package/dist/collection/components/ez-label-chip/ez-label-chip.js +11 -11
  36. package/dist/collection/components/ez-numeric-input/ez-numeric-input.css +4 -4
  37. package/dist/collection/components/ez-search/ez-search.js +9 -9
  38. package/dist/collection/components/ez-text-area/ez-text-area.css +48 -48
  39. package/dist/collection/components/ez-text-input/ez-text-input.css +60 -60
  40. package/dist/collection/components/ez-text-input/ez-text-input.js +16 -16
  41. package/dist/collection/components/ez-time-input/ez-time-input.js +3 -2
  42. package/dist/collection/components/ez-toast/ez-toast.css +9 -9
  43. package/dist/collection/components/ez-toast/ez-toast.js +4 -1
  44. package/dist/collection/components/ez-upload/ez-upload.css +41 -41
  45. package/dist/collection/components/ez-upload/ez-upload.js +53 -50
  46. package/dist/collection/utils/AssetsUtils.js +19 -0
  47. package/dist/custom-elements/index.js +219 -183
  48. package/dist/esm/ez-action-chip.entry.js +2 -2
  49. package/dist/esm/ez-button_16.entry.js +179 -165
  50. package/dist/esm/ez-dialog.entry.js +1 -1
  51. package/dist/esm/ez-label-chip.entry.js +12 -12
  52. package/dist/esm/ez-list.entry.js +1 -1
  53. package/dist/esm/ez-modal.entry.js +1 -1
  54. package/dist/esm/ez-number-input.entry.js +1 -1
  55. package/dist/esm/ez-popover.entry.js +1 -1
  56. package/dist/esm/ez-popup.entry.js +1 -1
  57. package/dist/esm/ez-time-input.entry.js +21 -2
  58. package/dist/esm/ez-toast.entry.js +5 -2
  59. package/dist/esm/ezui.js +2 -2
  60. package/dist/esm/{index-33153059.js → index-fd3c8023.js} +2 -1
  61. package/dist/esm/loader.js +2 -2
  62. package/dist/ezui/ezui.esm.js +1 -1
  63. package/dist/ezui/{p-67410dfa.entry.js → p-11ae4ae7.entry.js} +1 -1
  64. package/dist/ezui/{p-50464bdf.entry.js → p-47fa3d6c.entry.js} +1 -1
  65. package/dist/ezui/p-66954a04.entry.js +1 -0
  66. package/dist/ezui/p-823ff0a0.entry.js +1 -0
  67. package/dist/ezui/{p-7f3bc6d9.entry.js → p-8ab6168f.entry.js} +1 -1
  68. package/dist/ezui/{p-15743b09.entry.js → p-9c1fb51c.entry.js} +1 -1
  69. package/dist/ezui/{p-061d21ba.entry.js → p-9d85125b.entry.js} +1 -1
  70. package/dist/ezui/p-a0b6eee2.entry.js +1 -0
  71. package/dist/ezui/p-a7b546b2.entry.js +1 -0
  72. package/dist/ezui/p-c833c94f.entry.js +1 -0
  73. package/dist/ezui/{p-8818da66.entry.js → p-d443f020.entry.js} +1 -1
  74. package/dist/ezui/{p-4df6f855.js → p-e0ab3746.js} +1 -1
  75. package/dist/types/components/ez-action-chip/ez-action-chip.d.ts +2 -2
  76. package/dist/types/components/ez-calendar/ez-calendar.d.ts +4 -1
  77. package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +3 -3
  78. package/dist/types/components/ez-form/ez-form.d.ts +9 -9
  79. package/dist/types/components/ez-form/subcomponents/DataUnit.d.ts +1 -1
  80. package/dist/types/components/ez-form/subcomponents/form-metadata.d.ts +1 -1
  81. package/dist/types/components/ez-label-chip/ez-label-chip.d.ts +2 -2
  82. package/dist/types/components/ez-search/ez-search.d.ts +5 -5
  83. package/dist/types/components/ez-text-input/ez-text-input.d.ts +1 -1
  84. package/dist/types/components/ez-toast/ez-toast.d.ts +3 -0
  85. package/dist/types/components/ez-upload/ez-upload.d.ts +10 -7
  86. package/dist/types/components.d.ts +47 -38
  87. package/dist/types/utils/AssetsUtils.d.ts +1 -0
  88. package/package.json +1 -1
  89. package/dist/ezui/p-0db8d49b.entry.js +0 -1
  90. package/dist/ezui/p-129b53df.entry.js +0 -1
  91. package/dist/ezui/p-25953d44.entry.js +0 -1
  92. package/dist/ezui/p-74809665.entry.js +0 -1
  93. package/dist/ezui/p-a99f8d42.entry.js +0 -1
@@ -1,7 +1,7 @@
1
- import { createEvent, h, forceUpdate, Host, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
1
+ import { createEvent, h, forceUpdate, Host, getAssetPath, setAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
2
2
  export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
3
3
 
4
- const ezActionChipCss = ":host{--ac--height:36px;--ac--border-radius:var(--border--radius-large, 24px);--ac__border:1px solid;--ac__border-color-strokes:var(--color--strokes, #DCE0E8);--ac--font-size:var(--text--medium, 14px);--ac--font-family:var(--font-pattern, Arial);--ac--font-weight:var(--text-weight--large, 500);--ac__label--title--primary:var(--title--primary, #919191);--ac__label-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ac__label__default--background-color--hover:var(--color--primary-200, #f2faf8);--ac__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(--ac__label--title--primary);fill:var(--ac__label--title--primary);border:var(--ac__border);border-radius:var(--ac--border-radius);border-color:var(--ac__border-color-strokes);padding-right:var(--space--medium, 12px);padding-left:var(--space--medium, 12px)}.label__container:hover{border-color:var(--ac__label__default--border-color--hover);background-color:var(--ac__label__default--background-color--hover)}label{display:flex;align-items:center;font-weight:var(--text-weight--large, 600);cursor:pointer;height:var(--ac--height);font-family:var(--ac--font-family);font-size:var(--ac--font-size)}";
4
+ 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)}";
5
5
 
6
6
  let EzLabelChip$2 = class extends HTMLElement {
7
7
  constructor() {
@@ -23,7 +23,7 @@ let EzLabelChip$2 = class extends HTMLElement {
23
23
  static get style() { return ezActionChipCss; }
24
24
  };
25
25
 
26
- const ezButtonCss = ":host{--button--min-width:100px;--button--height:42px;--button__icon--width:18px;--button__inline__icon--padding:12px;--button--padding-top:var(--space--medium, 12px);--button--padding-bottom:var(--space--medium, 12px);--button--padding-right:var(--space--large, 24px);--button--padding-left:var(--space--large, 24px);--button--color:var(--text--primary, #FFF);--button--font-size:var(--text--medium, 14px);--button--font-family:var(--font-pattern, Arial);--button--font-weight:var(--text-weight--large);--button--background-color:var(--background--medium, #c0c0c0);--button--border-radius:var(--border--radius-large, 12px);--button--border:none;--button--hover--background-color:var(--background--strong, var(--button--background-color));--button--disabled-color:var(--text--disable);--button--disabled--background-color:var(--color--disable-secondary);--button--focus--border:var(--button--border);--button--focus--box-shadow:none;--button--link-color:var(--title--primary, '#C0C0C0')}ez-icon{--ez-icon--color:inherit}button{display:flex;align-items:center;justify-content:center;margin:0;cursor:pointer;transition:background-color 0.2s linear;min-width:var(--button--min-width);height:var(--button--height);font-family:var(--button--font-family);font-size:var(--button--font-size);font-weight:var(--button--font-weight);padding:var(--button--padding-top) var(--button--padding-right) var(--button--padding-bottom) var(--button--padding-left);border-radius:var(--button--border-radius);background-color:var(--button--background-color);color:var(--button--color);fill:var(--button--color);border:var(--button--border)}button:hover{background-color:var(--button--hover--background-color)}button:focus{outline:none;border:var(--button--focus--border);box-shadow:var(--button--focus--box-shadow)}button:disabled{background-color:var(--button--disabled--background-color);color:var(--button--disabled-color);fill:var(--button--disabled-color);border:none;cursor:no-drop}button.icon{width:42px;min-width:42px;height:42px;padding:0px}a{font-family:var(--button--font-family);font-size:var(--button--font-size);font-weight:var(--button--font-weight);color:var(--button--link-color);cursor:pointer;display:flex;align-items:center;justify-content:center;}";
26
+ const ezButtonCss = ":host{--ez-button--min-width:100px;--ez-button--height:42px;--ez-button__icon--width:18px;--ez-button__inline__icon--padding:12px;--ez-button--padding-top:var(--space--medium, 12px);--ez-button--padding-bottom:var(--space--medium, 12px);--ez-button--padding-right:var(--space--large, 24px);--ez-button--padding-left:var(--space--large, 24px);--ez-button--color:var(--text--primary, #FFF);--ez-button--font-size:var(--text--medium, 14px);--ez-button--font-family:var(--font-pattern, Arial);--ez-button--font-weight:var(--text-weight--large);--ez-button--background-color:var(--background--medium, #c0c0c0);--ez-button--border-radius:var(--border--radius-large, 12px);--ez-button--border:none;--ez-button--hover--background-color:var(--background--strong, var(--ez-button--background-color));--ez-button--disabled-color:var(--text--disable);--ez-button--disabled--background-color:var(--color--disable-secondary);--ez-button--focus--border:var(--ez-button--border);--ez-button--focus--box-shadow:none;--ez-button--link-color:var(--title--primary, '#C0C0C0')}ez-icon{--ez-icon--color:inherit}button{display:flex;align-items:center;justify-content:center;margin:0;cursor:pointer;transition:background-color 0.2s linear;min-width:var(--ez-button--min-width);height:var(--ez-button--height);font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);padding:var(--ez-button--padding-top) var(--ez-button--padding-right) var(--ez-button--padding-bottom) var(--ez-button--padding-left);border-radius:var(--ez-button--border-radius);background-color:var(--ez-button--background-color);color:var(--ez-button--color);fill:var(--ez-button--color);border:var(--ez-button--border)}button:hover{background-color:var(--ez-button--hover--background-color)}button:focus{outline:none;border:var(--ez-button--focus--border);box-shadow:var(--ez-button--focus--box-shadow)}button:disabled{background-color:var(--ez-button--disabled--background-color);color:var(--ez-button--disabled-color);fill:var(--ez-button--disabled-color);border:none;cursor:no-drop}button.icon{width:42px;min-width:42px;height:42px;padding:0px}.label-icon{display:flex;flex-direction:column;align-items:center;color:var(--ez-button--color)}.label-icon label{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight)}a{font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);color:var(--ez-button--link-color);cursor:pointer;display:flex;align-items:center;justify-content:center;}";
27
27
 
28
28
  let EzButton$1 = class extends HTMLElement {
29
29
  constructor() {
@@ -45,10 +45,10 @@ let EzButton$1 = class extends HTMLElement {
45
45
  if (this.mode == "link") {
46
46
  content.style.display = "inline";
47
47
  if (slot.name == "leftIcon") {
48
- content.style.paddingRight = "var(--button__inline__icon--padding)";
48
+ content.style.paddingRight = "var(--ez-button__inline__icon--padding)";
49
49
  }
50
50
  else if (slot.name == "rightIcon") {
51
- content.style.paddingLeft = "var(--button__inline__icon--padding)";
51
+ content.style.paddingLeft = "var(--ez-button__inline__icon--padding)";
52
52
  }
53
53
  }
54
54
  else {
@@ -62,6 +62,12 @@ let EzButton$1 = class extends HTMLElement {
62
62
  evt.stopPropagation();
63
63
  } })));
64
64
  }
65
+ else if (this.mode == "label-icon") {
66
+ return (h("div", { class: "label-icon" }, h("button", { class: "icon", type: "button", disabled: !this.enabled }, h("ez-icon", { class: "icon", href: this.image, size: "large", onClick: evt => {
67
+ if (!this.enabled)
68
+ evt.stopPropagation();
69
+ } })), h("label", { title: this.label }, this.label)));
70
+ }
65
71
  else if (this.mode == "link") {
66
72
  return (h("a", null, h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label, h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
67
73
  }
@@ -764,7 +770,7 @@ var Method;
764
770
  Method[Method["DELETE"] = 3] = "DELETE";
765
771
  })(Method || (Method = {}));
766
772
 
767
- const ezCalendarCss = ":host{--cal--font-family:var(--font-pattern, Arial);--cal--color:var(--title--primary, #626e82);--cal--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--cal__body--background-color:var(--background--xlight, #FFF);--cal__body--padding:var(--space--medium, 12px);--cal__body--border-radius:var(--border--radius-medium, 12px);--cal__body--shadow:var(--shadow, 0px 0px 16px 0px #000);--cal__header-line--stroke:2px;--cal__header-line--color:var(--color--strokes, #C0C0C0);--cal__nav-btn--fill:var(--text--primary, #008561);--cal__nav-btn--hover--fill:var(--color--primary, #350404);--cal__nav-btn--width:10px;--cal__nav-btn--height:16px;--cal__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>');--cal__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>');--cal__cell--margin:0px var(--space--small, 12px);--cal__cell--width:var(--space--large, 24px);--cal__cell--padding:var(--space--extra-small, 3px) 0px;--cal__cell--border-radius:var(--border--radius-small, 6px);--cal__cell--over--background-color:var(--color--strokes, #C0C0C0);--cal__cell--outset--color:var(--color--strokes, #C0C0C0);--cal__cell--selected--background-color:var(--color--primary, #008561);--cal__cell--selected--color:var(--color--inverted, #FFF);--cal__btn-today--color:var(--color--primary);--cal__btn-today--hover--background-color:var(--color--strokes, #C0C0C0);--cal__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(--cal__body--background-color);padding:var(--cal__body--padding);border-radius:var(--cal__body--border-radius);box-shadow:var(--cal__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(--cal--font-family);color:var(--cal--color);text-shadow:var(--cal--text-shadow);border-bottom:solid var(--cal__header-line--stroke) var(--cal__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(--cal__nav-btn--fill);width:var(--cal__nav-btn--width);height:var(--cal__nav-btn--height)}.calendar__btn-previous::after{-webkit-mask-image:var(--cal__nav-btn--previous-image);mask-image:var(--cal__nav-btn--previous-image)}.calendar__btn-next::after{-webkit-mask-image:var(--cal__nav-btn--next-image);mask-image:var(--cal__nav-btn--next-image)}.calendar__btn-next:hover::after,.calendar__btn-previous:hover::after{background-color:var(--cal__nav-btn--hover--fill)}.calendar__lbl-month{font-weight:var(--text-weight--large, 600);font-size:var(--title--medium, 16px);font-family:var(--cal--font-family);color:var(--cal--color);text-shadow:var(--cal--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(--cal--font-family);color:var(--cal--color);text-shadow:var(--cal--text-shadow);padding:var(--cal__cell--padding);margin:var(--cal__cell--margin);min-width:var(--cal__cell--width);border-radius:var(--cal__cell--border-radius)}.calendar__cell:hover{background-color:var(--cal__cell--over--background-color)}.calendar__cell--secondary{color:var(--cal__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(--cal--font-family);color:var(--cal--color);text-shadow:var(--cal--text-shadow)}.calendar__cell--selected,.calendar__cell--selected:hover{background-color:var(--cal__cell--selected--background-color);color:var(--cal__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(--cal--font-family);text-shadow:var(--cal--text-shadow);color:var(--cal__btn-today--color);border-radius:var(--cal__btn-today--border-radius)}.calendar__btn-today:hover{background-color:var(--cal__btn-today--hover--background-color)}";
773
+ 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__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, #C0C0C0);--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, #C0C0C0);--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)}";
768
774
 
769
775
  let EzCalendar$1 = class extends HTMLElement {
770
776
  constructor() {
@@ -773,9 +779,9 @@ let EzCalendar$1 = class extends HTMLElement {
773
779
  this.__attachShadow();
774
780
  this.ezChange = createEvent(this, "ezChange", 7);
775
781
  this._firstRender = true;
776
- this._todayLabel = 'Hoje';
777
- this._weekDayLabels = ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'];
778
- this._monthLabels = ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'];
782
+ this._todayLabel = "Hoje";
783
+ this._weekDayLabels = ["D", "S", "T", "Q", "Q", "S", "S"];
784
+ this._monthLabels = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
779
785
  /**
780
786
  * A data selecionada no calendário
781
787
  */
@@ -796,18 +802,21 @@ let EzCalendar$1 = class extends HTMLElement {
796
802
  if (this.floating) {
797
803
  this._floatingID = FloatingManager.float(this._box, this._container, { autoClose: true, top, left, bottom, right });
798
804
  window.requestAnimationFrame(() => {
799
- this._box.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'nearest' });
805
+ this._box.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
800
806
  });
801
807
  }
802
808
  }
809
+ /**
810
+ * Método necessário para ajustar o posicionamento do calendar acima ou abaixo do ez-date-input conforme a disponibilidade de espaço.
811
+ */
803
812
  async fitVertical(topOffset, bottomOffset) {
804
813
  const neededHeight = this._container.getBoundingClientRect().bottom + this._calendarHeight;
805
814
  const availableBottom = (window.innerHeight || document.documentElement.clientHeight) > neededHeight;
806
815
  if (availableBottom) {
807
- this.show(topOffset + 'px', undefined, 'unset');
816
+ this.show(topOffset + "px", undefined, "unset");
808
817
  }
809
818
  else {
810
- this.show('unset', undefined, bottomOffset + 'px');
819
+ this.show("unset", undefined, bottomOffset + "px");
811
820
  }
812
821
  }
813
822
  /**
@@ -946,7 +955,7 @@ let EzCheck$1 = class extends HTMLElement {
946
955
  static get style() { return ezCheckCss; }
947
956
  };
948
957
 
949
- const ezCollapsibleBoxCss = ":host{--collapsible-box--height:42px;--collapsible-box--font-size:var(--title--medium, 14px);--collapsible-box--font-family:var(--font-pattern, Arial);--collapsible-box--font-weight:var(--text-weight--large, 600);--collapsible-box--color:var(--title--primary);--collapsible-box__btn--image--xsmall:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"12px\" width=\"7.5px\"><path d=\"M 0,10.56 4.5967752,6.0000006 0,1.3800006 1.4516132,0 7.5,6.0000006 1.4516132,12 Z\"/></svg>');--collapsible-box__btn--image--small:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"14px\" width=\"8.68px\"><path d=\"M 0,12.32 5.3200012,7.0000007 0,1.6100007 1.6800004,0 8.68,7.0000007 1.6800004,14 Z\"/></svg>');--collapsible-box__btn--image--medium: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>');--collapsible-box__btn--image--large:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"18px\" width=\"11.25px\"><path d=\"M 0,15.84 6.8951628,9.0000009 0,2.0700009 2.1774198,0 11.25,9.0000009 2.1774198,18 Z\"/></svg>');--collapsible-box__btn--image--xlarge:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"20px\" width=\"12.5px\"><path d=\"M 0,17.6 7.661292,10.000001 0,2.300001 2.4193553,0 12.5,10.000001 2.4193553,20 Z\"/></svg>');--collapsible-box__btn--fill:var(--collapsible-box--color);--collapsible-box__btn--width:10px;--collapsible-box__btn--height:16px;display:flex;flex-wrap:wrap;width:100%}.collapsible-box__title{width:100%;align-self:center;display:flex;box-sizing:border-box}.collapsible-box__label{white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;width:100%;font-family:var(--collapsible-box--font-family);font-size:var(--collapsible-box--font-size);font-weight:var(--collapsible-box--font-weight);color:var(--collapsible-box--color)}.collapsible-box__label--icon-right{white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;font-family:var(--collapsible-box--font-family);font-size:var(--collapsible-box--font-size);font-weight:var(--collapsible-box--font-weight);color:var(--collapsible-box--color)}.collapsible-box__btn{outline:none;border:none;background-color:unset;cursor:pointer;padding:1px 6px}.collapsible-box__btn::after{content:'';display:flex;background-color:var(--collapsible-box__btn--fill);width:var(--collapsible-box__btn--width);height:var(--collapsible-box__btn--height);transition:transform var(--transition);transform:rotate(90deg)}.collapsible-box__btn--xsmall::after{width:7.5px;height:12px;-webkit-mask-image:var(--collapsible-box__btn--image--xsmall);mask-image:var(--collapsible-box__btn--image--xsmall)}.collapsible-box__btn--small::after{width:8.68px;height:14px;-webkit-mask-image:var(--collapsible-box__btn--image--small);mask-image:var(--collapsible-box__btn--image--small)}.collapsible-box__btn--medium::after{width:10px;height:16px;-webkit-mask-image:var(--collapsible-box__btn--image--medium);mask-image:var(--collapsible-box__btn--image--medium)}.collapsible-box__btn--large::after{width:11.25px;height:18px;-webkit-mask-image:var(--collapsible-box__btn--image--large);mask-image:var(--collapsible-box__btn--image--large)}.collapsible-box__btn--xlarge::after{width:12.5px;height:20px;-webkit-mask-image:var(--collapsible-box__btn--image--xlarge);mask-image:var(--collapsible-box__btn--image--xlarge)}.collapsible-box__btn--collapsed::after{transform:rotate(0deg)}.font--xsmall{font-size:10px}.font--small{font-size:12px}.font--medium{font-size:14px}.font--large{font-size:16px}.font--xlarge{font-size:20px}";
958
+ const ezCollapsibleBoxCss = ":host{--ez-collapsible-box--height:42px;--ez-collapsible-box--font-size:var(--title--medium, 14px);--ez-collapsible-box--font-family:var(--font-pattern, Arial);--ez-collapsible-box--font-weight:var(--text-weight--large, 600);--ez-collapsible-box--color:var(--title--primary);--ez-collapsible-box__btn--image--xsmall:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"12px\" width=\"7.5px\"><path d=\"M 0,10.56 4.5967752,6.0000006 0,1.3800006 1.4516132,0 7.5,6.0000006 1.4516132,12 Z\"/></svg>');--ez-collapsible-box__btn--image--small:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"14px\" width=\"8.68px\"><path d=\"M 0,12.32 5.3200012,7.0000007 0,1.6100007 1.6800004,0 8.68,7.0000007 1.6800004,14 Z\"/></svg>');--ez-collapsible-box__btn--image--medium: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-collapsible-box__btn--image--large:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"18px\" width=\"11.25px\"><path d=\"M 0,15.84 6.8951628,9.0000009 0,2.0700009 2.1774198,0 11.25,9.0000009 2.1774198,18 Z\"/></svg>');--ez-collapsible-box__btn--image--xlarge:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"20px\" width=\"12.5px\"><path d=\"M 0,17.6 7.661292,10.000001 0,2.300001 2.4193553,0 12.5,10.000001 2.4193553,20 Z\"/></svg>');--ez-collapsible-box__btn--fill:var(--ez-collapsible-box--color);--ez-collapsible-box__btn--width:10px;--ez-collapsible-box__btn--height:16px;display:flex;flex-wrap:wrap;width:100%}.collapsible-box__title{width:100%;align-self:center;display:flex;box-sizing:border-box}.collapsible-box__label{white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;width:100%;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight);color:var(--ez-collapsible-box--color)}.collapsible-box__label--icon-right{white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight);color:var(--ez-collapsible-box--color)}.collapsible-box__btn{outline:none;border:none;background-color:unset;cursor:pointer;padding:1px 6px}.collapsible-box__btn::after{content:'';display:flex;background-color:var(--ez-collapsible-box__btn--fill);width:var(--ez-collapsible-box__btn--width);height:var(--ez-collapsible-box__btn--height);transition:transform var(--transition);transform:rotate(90deg)}.collapsible-box__btn--xsmall::after{width:7.5px;height:12px;-webkit-mask-image:var(--ez-collapsible-box__btn--image--xsmall);mask-image:var(--ez-collapsible-box__btn--image--xsmall)}.collapsible-box__btn--small::after{width:8.68px;height:14px;-webkit-mask-image:var(--ez-collapsible-box__btn--image--small);mask-image:var(--ez-collapsible-box__btn--image--small)}.collapsible-box__btn--medium::after{width:10px;height:16px;-webkit-mask-image:var(--ez-collapsible-box__btn--image--medium);mask-image:var(--ez-collapsible-box__btn--image--medium)}.collapsible-box__btn--large::after{width:11.25px;height:18px;-webkit-mask-image:var(--ez-collapsible-box__btn--image--large);mask-image:var(--ez-collapsible-box__btn--image--large)}.collapsible-box__btn--xlarge::after{width:12.5px;height:20px;-webkit-mask-image:var(--ez-collapsible-box__btn--image--xlarge);mask-image:var(--ez-collapsible-box__btn--image--xlarge)}.collapsible-box__btn--collapsed::after{transform:rotate(0deg)}.font--xsmall{font-size:10px}.font--small{font-size:12px}.font--medium{font-size:14px}.font--large{font-size:16px}.font--xlarge{font-size:20px}";
950
959
 
951
960
  let EzCollapsibleBox$1 = class extends HTMLElement {
952
961
  constructor() {
@@ -961,11 +970,11 @@ let EzCollapsibleBox$1 = class extends HTMLElement {
961
970
  /**
962
971
  * Define o tamanho do texto e do ícone do componente.
963
972
  */
964
- this.headersize = "small";
973
+ this.headerSize = "small";
965
974
  /**
966
975
  * Define o local onde o ícone será renderizado.
967
976
  */
968
- this.iconplacement = "left";
977
+ this.iconPlacement = "left";
969
978
  }
970
979
  observeValue() {
971
980
  this.ezChange.emit();
@@ -977,10 +986,10 @@ let EzCollapsibleBox$1 = class extends HTMLElement {
977
986
  this.value = !this.value;
978
987
  }
979
988
  render() {
980
- return (h(Host, null, this.iconplacement == 'right' ?
981
- h("div", { class: "collapsible-box__title" }, h("label", { class: (this.iconplacement == 'right' ? "collapsible-box__label--icon-right " : "collapsible-box__label ") + (this.headersize ? "font--" + this.headersize : ""), onClick: () => this.showHide(), title: this.label }, this.label), h("button", { class: this.value ? "collapsible-box__btn collapsible-box__btn--collapsed " + "collapsible-box__btn--" + this.headersize : "collapsible-box__btn " + "collapsible-box__btn--" + this.headersize, onClick: () => this.showHide() }))
989
+ return (h(Host, null, this.iconPlacement == "right" ?
990
+ h("div", { class: "collapsible-box__title" }, h("label", { class: (this.iconPlacement == "right" ? "collapsible-box__label--icon-right " : "collapsible-box__label ") + (this.headerSize ? "font--" + this.headerSize : ""), onClick: () => this.showHide(), title: this.label }, this.label), h("button", { class: this.value ? "collapsible-box__btn collapsible-box__btn--collapsed " + "collapsible-box__btn--" + this.headerSize : "collapsible-box__btn " + "collapsible-box__btn--" + this.headerSize, onClick: () => this.showHide() }))
982
991
  :
983
- h("div", { class: "collapsible-box__title" }, h("button", { class: this.value ? "collapsible-box__btn collapsible-box__btn--collapsed " + "collapsible-box__btn--" + this.headersize : "collapsible-box__btn " + "collapsible-box__btn--" + this.headersize, onClick: () => this.showHide() }), h("label", { class: (this.iconplacement == 'right' ? "collapsible-box__label--icon-right " : "collapsible-box__label ") + (this.headersize ? "font--" + this.headersize : ""), onClick: () => this.showHide(), title: this.label }, this.label)), !this.value ? h("slot", null) : null));
992
+ h("div", { class: "collapsible-box__title" }, h("button", { class: this.value ? "collapsible-box__btn collapsible-box__btn--collapsed " + "collapsible-box__btn--" + this.headerSize : "collapsible-box__btn " + "collapsible-box__btn--" + this.headerSize, onClick: () => this.showHide() }), h("label", { class: (this.iconPlacement == "right" ? "collapsible-box__label--icon-right " : "collapsible-box__label ") + (this.headerSize ? "font--" + this.headerSize : ""), onClick: () => this.showHide(), title: this.label }, this.label)), !this.value ? h("slot", null) : null));
984
993
  }
985
994
  static get watchers() { return {
986
995
  "value": ["observeValue"]
@@ -988,7 +997,7 @@ let EzCollapsibleBox$1 = class extends HTMLElement {
988
997
  static get style() { return ezCollapsibleBoxCss; }
989
998
  };
990
999
 
991
- const ezComboBoxCss = ":host{--combo-box--height:42px;--combo-box--width:100%;--combo-box__icon--width:48px;--combo-box--border-radius:var(--border--radius-medium, 12px);--combo-box--border-radius-small:var(--border--radius-small, 6px);--combo-box--font-size:var(--text--medium, 14px);--combo-box--font-family:var(--font-pattern, Arial);--combo-box--font-weight--large:var(--text-weight--large, 500);--combo-box--font-weight--medium:var(--text-weight--medium, 400);--combo-box--background-color--xlight:var(--background--xlight, #fff);--combo-box__input--background-color:var(--background--medium, #e0e0e0);--combo-box__input--border:var(--border--medium, 2px solid);--combo-box__input--border-color:var(--combo-box__input--background-color);--combo-box__input--focus--border-color:var(--color--primary, #008561);--combo-box__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--combo-box__input--disabled--color:var(--text--disable, #AFB6C0);--combo-box__input--error--border-color:#CC2936;--combo-box__label--color:var(--title--primary, #919191);--combo-box__list-text--primary:var(--text--primary, #626e82);--combo-box__list-height:calc(var(--combo-box--font-size) + var(--combo-box--space--medium));--combo-box--drop-down__image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"16px\"><path d=\"M 1.8585859,3.0707069 7.9999998,9.2121212 14.141414,3.0707069 16,5.0101006 7.9999998,12.929293 0,4.9292932 Z\"/></svg>');--combo-box--search__image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"22px\" width=\"22px\"><path d=\"m 9.4,2.3 c 4.1,0 7.4,3.2 7.4,7.2 0,1.8 -0.7,3.4 -1.8,4.7 l 0.3,0.3 h 0.9 l 5.7,5.6 -1.7,1.7 -5.7,-5.6 V 15.3 L 14.3,15 C 13,16.1 11.3,16.7 9.5,16.7 5.3,16.7 2,13.5 2,9.5 2,5.5 5.3,2.3 9.4,2.3 m 0,2.2 c -2.9,0 -5.1,2.2 -5.1,5 0,2.8 2.3,5 5.1,5 2.8,0 5.1,-2.2 5.1,-5 0,-2.8 -2.2,-5 -5.1,-5 z\"/></svg>');--combo-box--space--medium:var(--space--medium, 12px);--combo-box--space--small:var(--space--small, 6px);display:flex;flex-wrap:wrap;position:relative;width:var(--combo-box--width)}ez-text-input{--it__input--background-color:var(--combo-box__input--background-color, #FFFFFF);--it__input--border-color:var(--combo-box__input--border-color, #DCE0E8)}.list-container{position:relative;width:100%}.options-list{box-sizing:border-box;width:100%;z-index:var(--more-visible, 2);display:flex;flex-direction:column;background-color:var(--combo-box--background-color--xlight);padding:var(--combo-box--space--small);border-radius:var(--combo-box--border-radius);box-shadow:var(--shadow, 0px 0px 16px 0px #000);scroll-behavior:smooth;max-height:calc(4*var(--combo-box__list-height) + 2*var(--combo-box--space--small));overflow:auto}.item{text-align:left;display:flex;justify-content:space-between;align-items:center;border-radius:var(--combo-box--border-radius-small);padding:0 var(--combo-box--space--small);list-style-type:none;min-height:var(--combo-box__list-height)}.item--label{text-align:left;flex-basis:85%;flex-grow:1;color:var(--combo-box__list-text--primary);font-weight:var(--combo-box--font-weight--large);font-family:var(--combo-box--font-family);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item--value{text-align:right;flex-basis:15%;flex-grow:0;color:var(--combo-box__list-text--primary);font-weight:var(--combo-box--font-weight--large);font-family:var(--combo-box--font-family);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}li:hover{background-color:var(--background--medium)}.preselected{background-color:var(--background--medium)}.btn-open-options{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-options:disabled{cursor:unset}.btn-open-options::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:16px;height:16px;-webkit-mask-image:var(--combo-box--drop-down__image);mask-image:var(--combo-box--drop-down__image)}.btn-open-options:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-options:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}.btn-open-search{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-search:disabled{cursor:unset}.btn-open-search::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:22px;height:22px;-webkit-mask-image:var(--combo-box--search__image);mask-image:var(--combo-box--search__image)}.btn-open-search:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-search:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}";
1000
+ const ezComboBoxCss = ":host{--combo-box--height:42px;--combo-box--width:100%;--combo-box__icon--width:48px;--combo-box--border-radius:var(--border--radius-medium, 12px);--combo-box--border-radius-small:var(--border--radius-small, 6px);--combo-box--font-size:var(--text--medium, 14px);--combo-box--font-family:var(--font-pattern, Arial);--combo-box--font-weight--large:var(--text-weight--large, 500);--combo-box--font-weight--medium:var(--text-weight--medium, 400);--combo-box--background-color--xlight:var(--background--xlight, #fff);--combo-box__input--background-color:var(--background--medium, #e0e0e0);--combo-box__input--border:var(--border--medium, 2px solid);--combo-box__input--border-color:var(--combo-box__input--background-color);--combo-box__input--focus--border-color:var(--color--primary, #008561);--combo-box__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--combo-box__input--disabled--color:var(--text--disable, #AFB6C0);--combo-box__input--error--border-color:#CC2936;--combo-box__label--color:var(--title--primary, #919191);--combo-box__list-text--primary:var(--text--primary, #626e82);--combo-box__list-height:calc(var(--combo-box--font-size) + var(--combo-box--space--medium));--combo-box--drop-down__image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"16px\"><path d=\"M 1.8585859,3.0707069 7.9999998,9.2121212 14.141414,3.0707069 16,5.0101006 7.9999998,12.929293 0,4.9292932 Z\"/></svg>');--combo-box--search__image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"22px\" width=\"22px\"><path d=\"m 9.4,2.3 c 4.1,0 7.4,3.2 7.4,7.2 0,1.8 -0.7,3.4 -1.8,4.7 l 0.3,0.3 h 0.9 l 5.7,5.6 -1.7,1.7 -5.7,-5.6 V 15.3 L 14.3,15 C 13,16.1 11.3,16.7 9.5,16.7 5.3,16.7 2,13.5 2,9.5 2,5.5 5.3,2.3 9.4,2.3 m 0,2.2 c -2.9,0 -5.1,2.2 -5.1,5 0,2.8 2.3,5 5.1,5 2.8,0 5.1,-2.2 5.1,-5 0,-2.8 -2.2,-5 -5.1,-5 z\"/></svg>');--combo-box--space--medium:var(--space--medium, 12px);--combo-box--space--small:var(--space--small, 6px);display:flex;flex-wrap:wrap;position:relative;width:var(--combo-box--width)}ez-text-input{--ez-text-input__input--background-color:var(--combo-box__input--background-color, #FFFFFF);--ez-text-input__input--border-color:var(--combo-box__input--border-color, #DCE0E8)}.list-container{position:relative;width:100%}.options-list{box-sizing:border-box;width:100%;z-index:var(--more-visible, 2);display:flex;flex-direction:column;background-color:var(--combo-box--background-color--xlight);padding:var(--combo-box--space--small);border-radius:var(--combo-box--border-radius);box-shadow:var(--shadow, 0px 0px 16px 0px #000);scroll-behavior:smooth;max-height:calc(4*var(--combo-box__list-height) + 2*var(--combo-box--space--small));overflow:auto}.item{text-align:left;display:flex;justify-content:space-between;align-items:center;border-radius:var(--combo-box--border-radius-small);padding:0 var(--combo-box--space--small);list-style-type:none;min-height:var(--combo-box__list-height)}.item--label{text-align:left;flex-basis:85%;flex-grow:1;color:var(--combo-box__list-text--primary);font-weight:var(--combo-box--font-weight--large);font-family:var(--combo-box--font-family);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item--value{text-align:right;flex-basis:15%;flex-grow:0;color:var(--combo-box__list-text--primary);font-weight:var(--combo-box--font-weight--large);font-family:var(--combo-box--font-family);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}li:hover{background-color:var(--background--medium)}.preselected{background-color:var(--background--medium)}.btn-open-options{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-options:disabled{cursor:unset}.btn-open-options::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:16px;height:16px;-webkit-mask-image:var(--combo-box--drop-down__image);mask-image:var(--combo-box--drop-down__image)}.btn-open-options:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-options:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}.btn-open-search{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-search:disabled{cursor:unset}.btn-open-search::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:22px;height:22px;-webkit-mask-image:var(--combo-box--search__image);mask-image:var(--combo-box--search__image)}.btn-open-search:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-search:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}";
992
1001
 
993
1002
  let EzComboBox$1 = class extends HTMLElement {
994
1003
  constructor() {
@@ -1245,7 +1254,7 @@ class CSSVarsUtils {
1245
1254
  }
1246
1255
  }
1247
1256
 
1248
- const ezDateInputCss = ":host{display:block;width:100%;--di__calendar-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"15px\"><path d=\"M 3.171875,5.25 C 2.6485088,5.25 2.21875,5.6797588 2.21875,6.203125 2.21875,6.7264912 2.6485088,7.15625 3.171875,7.15625 3.6952412,7.15625 4.125,6.7264912 4.125,6.203125 4.125,5.6797588 3.6952412,5.25 3.171875,5.25 Z m 2.875,0 C 5.5235088,5.25 5.09375,5.6797588 5.09375,6.203125 5.09375,6.7264912 5.5235088,7.15625 6.046875,7.15625 6.5702412,7.15625 7,6.7264912 7,6.203125 7,5.6797588 6.5702412,5.25 6.046875,5.25 Z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.9511719,-0.4297588 0.9511719,-0.953125 C 9.8730469,5.6797588 9.4452412,5.25 8.921875,5.25 Z m 2.873047,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.953125 0.953125,0.953125 0.523366,0 0.953125,-0.4297588 0.953125,-0.953125 C 12.748047,5.6797588 12.318288,5.25 11.794922,5.25 Z M 3.171875,8.1230469 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 0.5233662,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 C 6.5702412,10.029297 7,9.5995381 7,9.0761719 7,8.5528057 6.5702412,8.1230469 6.046875,8.1230469 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297587,0.9531251 0.953125,0.9531251 0.5233661,0 0.9531249,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.9531251 0.953125,0.9531251 0.523367,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.171875,10.998047 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 C 6.5702412,12.904297 7,12.474538 7,11.951172 7,11.427806 6.5702412,10.998047 6.046875,10.998047 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297587,0.953125 0.953125,0.953125 0.5233661,0 0.9531249,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.429759,0.953125 0.953125,0.953125 0.523367,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.5,0 c -0.554,0 -1,0.446 -1,1 v 0.050781 C 1.0853217,1.2909766 0,2.5186658 0,4 v 9 c 0,1.652487 1.3475134,3 3,3 h 9 c 1.652487,0 3,-1.347513 3,-3 V 4 C 15,2.5186658 13.914678,1.2909766 12.5,1.0507812 V 1 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 C 4.5,0.446 4.054,0 3.5,0 Z m 1,2.0996094 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 v -0.640625 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 V 2.1738281 C 13.311725,2.3905225 13.900391,3.11278 13.900391,4 v 9 c 0,1.062113 -0.838278,1.900391 -1.900391,1.900391 H 3 C 1.9378864,14.900391 1.0996094,14.062113 1.0996094,13 V 4 C 1.0996094,3.11278 1.6882747,2.3905225 2.5,2.1738281 v 0.5664063 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 z\"/></svg>')}.btn-open-cal{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-cal:disabled{cursor:unset}.btn-open-cal::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:15px;height:16px;-webkit-mask-image:var(--di__calendar-image);mask-image:var(--di__calendar-image)}.btn-open-cal:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-cal:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}";
1257
+ const ezDateInputCss = ":host{display:block;width:100%;--ez-date-input__input--background-color:var(--background--medium, #e0e0e0);--ez-date-input__input--border-color:var(--ez-date-input__input--background-color);--ez-date-input__calendar-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"15px\"><path d=\"M 3.171875,5.25 C 2.6485088,5.25 2.21875,5.6797588 2.21875,6.203125 2.21875,6.7264912 2.6485088,7.15625 3.171875,7.15625 3.6952412,7.15625 4.125,6.7264912 4.125,6.203125 4.125,5.6797588 3.6952412,5.25 3.171875,5.25 Z m 2.875,0 C 5.5235088,5.25 5.09375,5.6797588 5.09375,6.203125 5.09375,6.7264912 5.5235088,7.15625 6.046875,7.15625 6.5702412,7.15625 7,6.7264912 7,6.203125 7,5.6797588 6.5702412,5.25 6.046875,5.25 Z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.9511719,-0.4297588 0.9511719,-0.953125 C 9.8730469,5.6797588 9.4452412,5.25 8.921875,5.25 Z m 2.873047,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.953125 0.953125,0.953125 0.523366,0 0.953125,-0.4297588 0.953125,-0.953125 C 12.748047,5.6797588 12.318288,5.25 11.794922,5.25 Z M 3.171875,8.1230469 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 0.5233662,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 C 6.5702412,10.029297 7,9.5995381 7,9.0761719 7,8.5528057 6.5702412,8.1230469 6.046875,8.1230469 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297587,0.9531251 0.953125,0.9531251 0.5233661,0 0.9531249,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.9531251 0.953125,0.9531251 0.523367,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.171875,10.998047 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 C 6.5702412,12.904297 7,12.474538 7,11.951172 7,11.427806 6.5702412,10.998047 6.046875,10.998047 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297587,0.953125 0.953125,0.953125 0.5233661,0 0.9531249,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.429759,0.953125 0.953125,0.953125 0.523367,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.5,0 c -0.554,0 -1,0.446 -1,1 v 0.050781 C 1.0853217,1.2909766 0,2.5186658 0,4 v 9 c 0,1.652487 1.3475134,3 3,3 h 9 c 1.652487,0 3,-1.347513 3,-3 V 4 C 15,2.5186658 13.914678,1.2909766 12.5,1.0507812 V 1 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 C 4.5,0.446 4.054,0 3.5,0 Z m 1,2.0996094 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 v -0.640625 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 V 2.1738281 C 13.311725,2.3905225 13.900391,3.11278 13.900391,4 v 9 c 0,1.062113 -0.838278,1.900391 -1.900391,1.900391 H 3 C 1.9378864,14.900391 1.0996094,14.062113 1.0996094,13 V 4 C 1.0996094,3.11278 1.6882747,2.3905225 2.5,2.1738281 v 0.5664063 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 z\"/></svg>')}.text-input{--ez-text-input__input--background-color:inherit;--ez-text-input__input--border-color:inherit}.btn-open-cal{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-cal:disabled{cursor:unset}.btn-open-cal::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:15px;height:16px;-webkit-mask-image:var(--ez-date-input__calendar-image);mask-image:var(--ez-date-input__calendar-image)}.btn-open-cal:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-cal:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}ez-text-input{--text-input__input--background-color:var(--ez-date-input__input--background-color, #FFFFFF);--text-input__input--border-color:var(--ez-date-input__input--border-color, #DCE0E8)}";
1249
1258
 
1250
1259
  let EzDateInput$1 = class extends HTMLElement {
1251
1260
  constructor() {
@@ -1306,14 +1315,14 @@ let EzDateInput$1 = class extends HTMLElement {
1306
1315
  }
1307
1316
  }
1308
1317
  getTextValue(d) {
1309
- return d ? new Intl.DateTimeFormat('pt-BR').format(d) : null;
1318
+ return d ? new Intl.DateTimeFormat("pt-BR").format(d) : null;
1310
1319
  }
1311
1320
  componentDidLoad() {
1312
1321
  CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
1313
1322
  }
1314
1323
  render() {
1315
1324
  return (h(Host, null, h("ez-text-input", { ref: elem => this._textInput = elem, onBlur: () => this.parseDate(), onKeyDown: event => {
1316
- if (event.key === 'H' || event.key === 'h')
1325
+ if (event.key === "H" || event.key === "h")
1317
1326
  this.changeValue(new Date());
1318
1327
  }, label: this.label, onEzChange: event => event.stopPropagation(), value: this.getTextValue(this.value), restrict: "0123456789/", enabled: this.enabled, errorMessage: this.errorMessage }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.showCalendar(), slot: "leftIcon" })), h("ez-calendar", { onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, floating: true, ref: elem => this._calendar = elem })));
1319
1328
  }
@@ -1988,19 +1997,19 @@ thunk.withExtraArgument = createThunkMiddleware;
1988
1997
 
1989
1998
  function changeFieldValue$1(dataUnit, recordId, fieldName, value) {
1990
1999
  return {
1991
- type: 'FORM/CHANGEFIELD',
2000
+ type: "FORM/CHANGEFIELD",
1992
2001
  payload: { dataUnit, recordId, fieldName, value }
1993
2002
  };
1994
2003
  }
1995
2004
  function changeTab$1(formId, index) {
1996
2005
  return {
1997
- type: 'FORM/CHANGETAB',
2006
+ type: "FORM/CHANGETAB",
1998
2007
  payload: { formId, index }
1999
2008
  };
2000
2009
  }
2001
2010
  function clearEdition$1(dataUnit, recordsLimit) {
2002
2011
  return {
2003
- type: 'FORM/CLEAREDITION',
2012
+ type: "FORM/CLEAREDITION",
2004
2013
  payload: {
2005
2014
  dataUnit,
2006
2015
  recordsLimit
@@ -2009,13 +2018,13 @@ function clearEdition$1(dataUnit, recordsLimit) {
2009
2018
  }
2010
2019
  function collapseExpandGroup(collapseId, collapsed) {
2011
2020
  return {
2012
- type: 'FORM/COLLAPSEGROUP',
2021
+ type: "FORM/COLLAPSEGROUP",
2013
2022
  payload: { collapseId, collapsed }
2014
2023
  };
2015
2024
  }
2016
2025
  function previousRecord(dataUnit) {
2017
2026
  return {
2018
- type: 'FORM/NAVIGATE',
2027
+ type: "FORM/NAVIGATE",
2019
2028
  payload: {
2020
2029
  dataUnit,
2021
2030
  limit: 0,
@@ -2025,7 +2034,7 @@ function previousRecord(dataUnit) {
2025
2034
  }
2026
2035
  function nextRecord(dataUnit, limit) {
2027
2036
  return {
2028
- type: 'FORM/NAVIGATE',
2037
+ type: "FORM/NAVIGATE",
2029
2038
  payload: {
2030
2039
  dataUnit,
2031
2040
  limit,
@@ -2035,7 +2044,7 @@ function nextRecord(dataUnit, limit) {
2035
2044
  }
2036
2045
  function insertRecord$1(dataUnit, insertionIndex) {
2037
2046
  return {
2038
- type: 'FORM/INSERT',
2047
+ type: "FORM/INSERT",
2039
2048
  payload: {
2040
2049
  dataUnit,
2041
2050
  insertionIndex
@@ -2044,12 +2053,12 @@ function insertRecord$1(dataUnit, insertionIndex) {
2044
2053
  }
2045
2054
  function formLoad() {
2046
2055
  return {
2047
- type: 'FORM/LOAD'
2056
+ type: "FORM/LOAD"
2048
2057
  };
2049
2058
  }
2050
2059
  function dataLoading$1(dataUnit) {
2051
2060
  return {
2052
- type: 'FORM/DATALOADING',
2061
+ type: "FORM/DATALOADING",
2053
2062
  payload: {
2054
2063
  dataUnit
2055
2064
  }
@@ -2057,7 +2066,7 @@ function dataLoading$1(dataUnit) {
2057
2066
  }
2058
2067
  function savingChanges$1(dataUnit) {
2059
2068
  return {
2060
- type: 'FORM/SAVINGCHANGES',
2069
+ type: "FORM/SAVINGCHANGES",
2061
2070
  payload: {
2062
2071
  dataUnit
2063
2072
  }
@@ -2065,7 +2074,7 @@ function savingChanges$1(dataUnit) {
2065
2074
  }
2066
2075
  function dataLoaded$1(dataUnit) {
2067
2076
  return {
2068
- type: 'FORM/DATALOADED',
2077
+ type: "FORM/DATALOADED",
2069
2078
  payload: {
2070
2079
  dataUnit
2071
2080
  }
@@ -2073,7 +2082,7 @@ function dataLoaded$1(dataUnit) {
2073
2082
  }
2074
2083
  function changesSaved$1(dataUnit) {
2075
2084
  return {
2076
- type: 'FORM/CHANGESSAVED',
2085
+ type: "FORM/CHANGESSAVED",
2077
2086
  payload: {
2078
2087
  dataUnit
2079
2088
  }
@@ -2081,7 +2090,7 @@ function changesSaved$1(dataUnit) {
2081
2090
  }
2082
2091
  function removingRecord$1(dataUnit) {
2083
2092
  return {
2084
- type: 'FORM/REMOVINGRECORD',
2093
+ type: "FORM/REMOVINGRECORD",
2085
2094
  payload: {
2086
2095
  dataUnit
2087
2096
  }
@@ -2089,7 +2098,7 @@ function removingRecord$1(dataUnit) {
2089
2098
  }
2090
2099
  function recordRemoved$1(dataUnit) {
2091
2100
  return {
2092
- type: 'FORM/RECORDREMOVED',
2101
+ type: "FORM/RECORDREMOVED",
2093
2102
  payload: {
2094
2103
  dataUnit
2095
2104
  }
@@ -2097,7 +2106,7 @@ function recordRemoved$1(dataUnit) {
2097
2106
  }
2098
2107
  function invalidField$1(tabController, tabIndex, dataUnit, recordIndex, recordId, fieldName, errorMessage) {
2099
2108
  return {
2100
- type: 'FORM/INVALIDFIELD',
2109
+ type: "FORM/INVALIDFIELD",
2101
2110
  payload: {
2102
2111
  tabController,
2103
2112
  tabIndex,
@@ -2111,7 +2120,7 @@ function invalidField$1(tabController, tabIndex, dataUnit, recordIndex, recordId
2111
2120
  }
2112
2121
  function showHideNavigationButtons(buttonName, status) {
2113
2122
  return {
2114
- type: 'FORM/SHOWHIDENAVBTN',
2123
+ type: "FORM/SHOWHIDENAVBTN",
2115
2124
  payload: {
2116
2125
  buttonName,
2117
2126
  status
@@ -2772,19 +2781,19 @@ const inicialNonHistState = {
2772
2781
  };
2773
2782
  function formReducer(state = inicialHistState, action) {
2774
2783
  switch (action.type) {
2775
- case 'FORM/COLLAPSEGROUP':
2784
+ case "FORM/COLLAPSEGROUP":
2776
2785
  return collapseGroup(state, action.payload);
2777
- case 'FORM/CHANGETAB':
2786
+ case "FORM/CHANGETAB":
2778
2787
  return changeTab(state, action.payload.formId, action.payload.index);
2779
- case 'FORM/NAVIGATE':
2788
+ case "FORM/NAVIGATE":
2780
2789
  return navigate(state, action.payload);
2781
- case 'FORM/INSERT':
2790
+ case "FORM/INSERT":
2782
2791
  return insertRecord(state, action.payload);
2783
- case 'FORM/CHANGEFIELD':
2792
+ case "FORM/CHANGEFIELD":
2784
2793
  return changeFieldValue(state, action.payload);
2785
- case 'FORM/CLEAREDITION':
2794
+ case "FORM/CLEAREDITION":
2786
2795
  return clearEdition(state, action.payload);
2787
- case 'FORM/INVALIDFIELD':
2796
+ case "FORM/INVALIDFIELD":
2788
2797
  return navigateToInvalid(state, action.payload);
2789
2798
  default:
2790
2799
  return state;
@@ -2792,25 +2801,25 @@ function formReducer(state = inicialHistState, action) {
2792
2801
  }
2793
2802
  function formNonHistoricReducer(state = inicialNonHistState, action) {
2794
2803
  switch (action.type) {
2795
- case 'FORM/DATALOADING':
2804
+ case "FORM/DATALOADING":
2796
2805
  return dataLoading(state, action.payload);
2797
- case 'FORM/DATALOADED':
2806
+ case "FORM/DATALOADED":
2798
2807
  return dataLoaded(state, action.payload);
2799
- case 'FORM/SAVINGCHANGES':
2808
+ case "FORM/SAVINGCHANGES":
2800
2809
  return savingChanges(state, action.payload);
2801
- case 'FORM/CHANGESSAVED':
2810
+ case "FORM/CHANGESSAVED":
2802
2811
  return changesSaved(state, action.payload);
2803
- case 'FORM/REMOVINGRECORD':
2812
+ case "FORM/REMOVINGRECORD":
2804
2813
  return removingRecord(state, action.payload);
2805
- case 'FORM/RECORDREMOVED':
2814
+ case "FORM/RECORDREMOVED":
2806
2815
  return recordRemoved(state, action.payload);
2807
- case 'FORM/INVALIDFIELD':
2816
+ case "FORM/INVALIDFIELD":
2808
2817
  return invalidField(state, action.payload);
2809
- case 'FORM/CLEAREDITION':
2818
+ case "FORM/CLEAREDITION":
2810
2819
  return clearAllInvalidFields(state, action.payload);
2811
- case 'FORM/CHANGEFIELD':
2820
+ case "FORM/CHANGEFIELD":
2812
2821
  return clearInvalidField(state, action.payload);
2813
- case 'FORM/SHOWHIDENAVBTN':
2822
+ case "FORM/SHOWHIDENAVBTN":
2814
2823
  return showHideNavBtn(state, action.payload);
2815
2824
  default:
2816
2825
  return state;
@@ -3000,13 +3009,13 @@ const NavigationBar = ({ dataUnit: du, buttonProps, enabled }) => {
3000
3009
  || buttonProps.cancelVisible
3001
3010
  || buttonProps.reloadVisible) {
3002
3011
  return h("div", { class: "col col--sd-12 align--right" },
3003
- buttonProps.previousVisible ? h("ez-button", { key: du.name + '_previous', title: "Registro anterior", mode: "icon", enabled: enabled && du.hasPrevious(), onClick: () => du.previous(), image: "/themes/default/images/icons/actions-sprite.svg#previous-circle-inverted", class: "button--secondary margin-right--medium" }) : null,
3004
- buttonProps.nextVisible ? h("ez-button", { key: du.name + '_next', title: "Pr\u00F3ximo registro", mode: "icon", enabled: enabled && du.hasNext(), onClick: () => du.next(), image: "/themes/default/images/icons/actions-sprite.svg#next-circle-inverted", class: "button--secondary margin-right--medium" }) : null,
3005
- buttonProps.removeVisible ? h("ez-button", { key: du.name + '_remove', label: "Remover", enabled: enabled && du.hasCurrentRecord(), onClick: () => removeHandler(du), image: "/themes/default/images/icons/actions-sprite.svg#minus-circle-inverted", class: "button--secondary margin-right--medium" }) : null,
3006
- buttonProps.addVisible ? h("ez-button", { key: du.name + '_add', label: "Adicionar", enabled: enabled, onClick: () => du.insert(), class: "button--secondary margin-right--medium" }) : null,
3007
- buttonProps.reloadVisible ? h("ez-button", { key: du.name + '_reload', title: "Recarregar", enabled: enabled, mode: "icon", onClick: () => du.load(), image: "/themes/default/images/icons/actions-sprite.svg#rotate", class: "button--secondary margin-right--medium" }) : null,
3008
- buttonProps.cancelVisible ? h("ez-button", { key: du.name + '_cancel', label: "Cancelar", enabled: enabled && du.hasChanges(), onClick: () => du.cancel(), class: "button--secondary margin-right--medium" }) : null,
3009
- buttonProps.saveVisible ? h("ez-button", { key: du.name + '_save', label: "Salvar", enabled: enabled && du.hasChanges(), onClick: () => saveHandler(du), class: "button--primary margin-right--medium" }) : null);
3012
+ buttonProps.previousVisible ? h("ez-button", { key: du.name + "_previous", title: "Registro anterior", mode: "icon", enabled: enabled && du.hasPrevious(), onClick: () => du.previous(), image: "/themes/default/images/icons/actions-sprite.svg#previous-circle-inverted", class: "button--secondary margin-right--medium" }) : null,
3013
+ buttonProps.nextVisible ? h("ez-button", { key: du.name + "_next", title: "Pr\u00F3ximo registro", mode: "icon", enabled: enabled && du.hasNext(), onClick: () => du.next(), image: "/themes/default/images/icons/actions-sprite.svg#next-circle-inverted", class: "button--secondary margin-right--medium" }) : null,
3014
+ buttonProps.removeVisible ? h("ez-button", { key: du.name + "_remove", label: "Remover", enabled: enabled && du.hasCurrentRecord(), onClick: () => removeHandler(du), image: "/themes/default/images/icons/actions-sprite.svg#minus-circle-inverted", class: "button--secondary margin-right--medium" }) : null,
3015
+ buttonProps.addVisible ? h("ez-button", { key: du.name + "_add", label: "Adicionar", enabled: enabled, onClick: () => du.insert(), class: "button--secondary margin-right--medium" }) : null,
3016
+ buttonProps.reloadVisible ? h("ez-button", { key: du.name + "_reload", title: "Recarregar", enabled: enabled, mode: "icon", onClick: () => du.load(), image: "/themes/default/images/icons/actions-sprite.svg#rotate", class: "button--secondary margin-right--medium" }) : null,
3017
+ buttonProps.cancelVisible ? h("ez-button", { key: du.name + "_cancel", label: "Cancelar", enabled: enabled && du.hasChanges(), onClick: () => du.cancel(), class: "button--secondary margin-right--medium" }) : null,
3018
+ buttonProps.saveVisible ? h("ez-button", { key: du.name + "_save", label: "Salvar", enabled: enabled && du.hasChanges(), onClick: () => saveHandler(du), class: "button--primary margin-right--medium" }) : null);
3010
3019
  }
3011
3020
  else {
3012
3021
  return null;
@@ -3052,7 +3061,7 @@ const selectErrorMessage = (state, dataUnit, recordId, fieldName) => {
3052
3061
  const selectVisibleButtons = state => state.nonhist.visibleButtons;
3053
3062
 
3054
3063
  class DataUnit {
3055
- constructor(name, unitLabel, cardinality = '1', parentDU = null) {
3064
+ constructor(name, unitLabel, cardinality = "1", parentDU = null) {
3056
3065
  this.name = name;
3057
3066
  this.unitLabel = unitLabel;
3058
3067
  this.cardinality = cardinality;
@@ -3135,13 +3144,13 @@ class DataUnit {
3135
3144
  }, 100);
3136
3145
  }
3137
3146
  cancel() {
3138
- this.records = this.records.filter(r => !r.record__id.startsWith('NEW_'));
3147
+ this.records = this.records.filter(r => !r.record__id.startsWith("NEW_"));
3139
3148
  this._store.dispatch(clearEdition$1(this.name, this.records.length - 1));
3140
3149
  }
3141
3150
  insert() {
3142
3151
  const insertionIndex = this.records.length;
3143
3152
  const newRecordIndex = selectNewRecordIndex(this._store.getState(), this.name);
3144
- const newRecord = { record__id: 'NEW_' + (newRecordIndex + 1) };
3153
+ const newRecord = { record__id: "NEW_" + (newRecordIndex + 1) };
3145
3154
  this.bindToParent(newRecord);
3146
3155
  this.records.push(newRecord);
3147
3156
  this._store.dispatch(insertRecord$1(this.name, insertionIndex));
@@ -3254,7 +3263,7 @@ class DataUnit {
3254
3263
  }
3255
3264
  else {
3256
3265
  if (result.__data__unit === this.name) {
3257
- if (this.cardinality === '1') {
3266
+ if (this.cardinality === "1") {
3258
3267
  this.records = [this.buildRecordFromSaveResult(this.records[0], result)];
3259
3268
  }
3260
3269
  }
@@ -3265,7 +3274,7 @@ class DataUnit {
3265
3274
  this._store.dispatch(changesSaved$1(this.name));
3266
3275
  }
3267
3276
  buildRecordFromSaveResult(baseRecord, saveResult) {
3268
- const newRecord = baseRecord ? Object.assign({}, baseRecord) : { record__id: '' };
3277
+ const newRecord = baseRecord ? Object.assign({}, baseRecord) : { record__id: "" };
3269
3278
  Object.keys(saveResult).forEach(attrib => {
3270
3279
  if (!attrib.startsWith("__")) {
3271
3280
  newRecord[attrib] = saveResult[attrib];
@@ -3359,19 +3368,19 @@ const Field = ({ dataUnit, field, forceScroll, enabled }) => {
3359
3368
  dataUnit.changeValue(name, newValue);
3360
3369
  };
3361
3370
  switch (userInterface) {
3362
- case 'LONGTEXT':
3371
+ case "LONGTEXT":
3363
3372
  return h("div", { class: "col col--sd-12 padding--small" }, loadingData ? h("place-holder", null) :
3364
- h("ez-text-area", { value: value || '', label: formattedLabel, onEzChange: evt => changeFieldHandler(evt.target['value']), errorMessage: errorMessage, ref: elem => scrollToView(forceScroll, elem), key: key, enabled: isEnabled }));
3365
- case 'CHECKBOX':
3366
- case 'SWITCH':
3373
+ h("ez-text-area", { value: value || "", label: formattedLabel, onEzChange: evt => changeFieldHandler(evt.target["value"]), errorMessage: errorMessage, ref: elem => scrollToView(forceScroll, elem), key: key, enabled: isEnabled }));
3374
+ case "CHECKBOX":
3375
+ case "SWITCH":
3367
3376
  return h("div", { class: "col col--sd-12 col--tb-3 padding--small align--middle padding-bottom--large" }, loadingData ? h("place-holder", null) :
3368
- h("ez-check", { value: value, label: label, enabled: isEnabled, mode: userInterface === "CHECKBOX" ? "regular" : "switch", onEzChange: (event) => changeFieldHandler(event.target['value']), ref: elem => scrollToView(forceScroll, elem), key: key }));
3369
- case 'OPTIONSELECTOR':
3370
- const optsObj = properties ? JSON.parse(getProp(properties, 'options')) : {};
3377
+ h("ez-check", { value: value, label: label, enabled: isEnabled, mode: userInterface === "CHECKBOX" ? "regular" : "switch", onEzChange: (event) => changeFieldHandler(event.target["value"]), ref: elem => scrollToView(forceScroll, elem), key: key }));
3378
+ case "OPTIONSELECTOR":
3379
+ const optsObj = properties ? JSON.parse(getProp(properties, "options")) : {};
3371
3380
  const normalized = Object.keys(optsObj).map(key => { return { value: key, label: optsObj[key] }; });
3372
3381
  return h("div", { class: "col col--sd-12 col--tb-3 padding--small" }, loadingData ? h("place-holder", null) :
3373
- h("ez-combo-box", { value: value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target['value']), errorMessage: errorMessage, ref: elem => scrollToView(forceScroll, elem), key: key, options: normalized }));
3374
- case 'SEARCH':
3382
+ h("ez-combo-box", { value: value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target["value"]), errorMessage: errorMessage, ref: elem => scrollToView(forceScroll, elem), key: key, options: normalized }));
3383
+ case "SEARCH":
3375
3384
  const context = {
3376
3385
  __MAIN_FORM: form,
3377
3386
  __DATA_UNIT: dataUnit.name,
@@ -3395,38 +3404,38 @@ const Field = ({ dataUnit, field, forceScroll, enabled }) => {
3395
3404
  }
3396
3405
  });
3397
3406
  if (criteriaList.length > 0) {
3398
- context['CRITERIA'] = criteriaList;
3407
+ context["CRITERIA"] = criteriaList;
3399
3408
  }
3400
3409
  return h("div", { class: "col col--sd-12 col--tb-3 padding--small" }, loadingData ? h("place-holder", null) :
3401
- h("ez-search", { value: value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target['value']), errorMessage: errorMessage, optionloader: (argument) => {
3410
+ h("ez-search", { value: value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target["value"]), errorMessage: errorMessage, optionLoader: (argument) => {
3402
3411
  if (form) {
3403
3412
  return form.loadSearch(argument, context);
3404
3413
  }
3405
3414
  }, ref: elem => scrollToView(forceScroll, elem), key: key }));
3406
- case 'FILE':
3407
- const target = getProp(properties, 'URL');
3408
- const strHeaders = getProp(properties, 'HEADERS');
3415
+ case "FILE":
3416
+ const target = getProp(properties, "URL");
3417
+ const strHeaders = getProp(properties, "HEADERS");
3409
3418
  const headers = strHeaders ? JSON.parse(strHeaders) : {};
3410
3419
  const maxfiles = Number(getProp(properties, "maxfiles") || 0);
3411
3420
  return (h("div", { class: "col col--sd-12 padding--small" }, loadingData ? h("place-holder", null) :
3412
- h("ez-upload", { value: value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.detail), urlupload: target, requestheaders: headers, maxfiles: maxfiles })));
3413
- case 'DATE':
3421
+ h("ez-upload", { value: value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.detail), urlUpload: target, requestHeaders: headers, maxFiles: maxfiles })));
3422
+ case "DATE":
3414
3423
  return h("div", { class: "col col--sd-12 col--tb-3 padding--small" }, loadingData ? h("place-holder", null) :
3415
- h("ez-date-input", { value: !value ? null : DateUtils.clearTime(value), label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target['value']), errorMessage: errorMessage, ref: elem => scrollToView(forceScroll, elem), key: key }));
3416
- case 'DECIMALNUMBER':
3417
- case 'INTEGERNUMBER':
3424
+ h("ez-date-input", { value: !value ? null : DateUtils.clearTime(value), label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target["value"]), errorMessage: errorMessage, ref: elem => scrollToView(forceScroll, elem), key: key }));
3425
+ case "DECIMALNUMBER":
3426
+ case "INTEGERNUMBER":
3418
3427
  let precision = 0;
3419
3428
  let prettyPrecision = 0;
3420
- if (userInterface === 'DECIMALNUMBER') {
3429
+ if (userInterface === "DECIMALNUMBER") {
3421
3430
  precision = Number(getProp(properties, "precision") || 2);
3422
3431
  prettyPrecision = Number(getProp(properties, "prettyprecision") || precision);
3423
3432
  }
3424
3433
  return h("div", { class: "col col--sd-12 col--tb-3 padding--small" }, loadingData ? h("place-holder", null) :
3425
- h("ez-numeric-input", { value: !value ? null : value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target['value']), errorMessage: errorMessage, precision: precision, prettyprecision: prettyPrecision, ref: elem => scrollToView(forceScroll, elem), key: key }));
3434
+ h("ez-numeric-input", { value: !value ? null : value, label: formattedLabel, enabled: isEnabled, onEzChange: (event) => changeFieldHandler(event.target["value"]), errorMessage: errorMessage, precision: precision, prettyprecision: prettyPrecision, ref: elem => scrollToView(forceScroll, elem), key: key }));
3426
3435
  //IMAGE, DATETIME, ELAPSEDTIME, PASSWORD, MASKEDTEXT, HTML
3427
3436
  default:
3428
3437
  return h("div", { class: "col col--sd-12 col--tb-3 padding--small" }, loadingData ? h("place-holder", null) :
3429
- h("ez-text-input", { value: value, label: formattedLabel, enabled: isEnabled, loading: loadingData, onInput: (event) => changeFieldHandler(event.target['value']), errorMessage: errorMessage, ref: elem => scrollToView(forceScroll, elem), key: key }));
3438
+ h("ez-text-input", { value: value, label: formattedLabel, enabled: isEnabled, loading: loadingData, onInput: (event) => changeFieldHandler(event.target["value"]), errorMessage: errorMessage, ref: elem => scrollToView(forceScroll, elem), key: key }));
3430
3439
  }
3431
3440
  };
3432
3441
  function getProp(properties, name) {
@@ -3511,8 +3520,9 @@ let EzForm$1 = class extends HTMLElement {
3511
3520
  this._preparedMetadata = undefined;
3512
3521
  }
3513
3522
  async validate() {
3523
+ const duSourcesNames = Array.from(this._duSources.keys());
3514
3524
  for (let i = 0; i < this._duSources.size; i++) {
3515
- const duName = Array.from(this._duSources.keys())[i];
3525
+ const duName = duSourcesNames[i];
3516
3526
  let du = this._dataUnits.get(duName);
3517
3527
  if (du === undefined) {
3518
3528
  const source = this._duSources.get(duName);
@@ -3526,8 +3536,9 @@ let EzForm$1 = class extends HTMLElement {
3526
3536
  }
3527
3537
  async getChanges() {
3528
3538
  let allChanges = [];
3539
+ const dataUnits = Array.from(this._dataUnits.values());
3529
3540
  for (let i = 0; i < this._dataUnits.size; i++) {
3530
- const du = Array.from(this._dataUnits.values())[i];
3541
+ const du = dataUnits[i];
3531
3542
  //Só devemos buscar as alterações de DU raiz, pois os sub DUs serão enviados junto.
3532
3543
  if (!du.parentDU) {
3533
3544
  const duChanges = du.getChangesToSave();
@@ -3545,15 +3556,15 @@ let EzForm$1 = class extends HTMLElement {
3545
3556
  }
3546
3557
  }
3547
3558
  validateRecords(dataUnit, records, triggedBy) {
3548
- const result = { isValid: true, message: '' };
3549
- if (this.ignoresavevalidation && triggedBy === "SAVE") {
3559
+ const result = { isValid: true, message: "" };
3560
+ if (this.ignoreSaveValidation && triggedBy === "SAVE") {
3550
3561
  return result;
3551
3562
  }
3552
3563
  const validateField = (field) => {
3553
3564
  if (field.readOnly) {
3554
3565
  return false;
3555
3566
  }
3556
- if (field.userInterface === 'SWITCH' || field.userInterface === 'CHECKBOX') {
3567
+ if (field.userInterface === "SWITCH" || field.userInterface === "CHECKBOX") {
3557
3568
  return false;
3558
3569
  }
3559
3570
  return true;
@@ -3564,7 +3575,7 @@ let EzForm$1 = class extends HTMLElement {
3564
3575
  const recordIndex = record["record__index"];
3565
3576
  const fieldName = field.name;
3566
3577
  const fieldValue = record[fieldName];
3567
- if (fieldValue === null || fieldValue === undefined || fieldValue === '') {
3578
+ if (fieldValue === null || fieldValue === undefined || fieldValue === "") {
3568
3579
  const tabPosition = this._tabPositionByField.get(dataUnit.name + field.name);
3569
3580
  this._store.dispatch(invalidField$1(tabPosition.tabName, tabPosition.index, dataUnit.name, recordIndex, record.record__id, field.name, "Essa informação é obrigatória"));
3570
3581
  result.isValid = false;
@@ -3591,7 +3602,7 @@ let EzForm$1 = class extends HTMLElement {
3591
3602
  return result;
3592
3603
  }
3593
3604
  loadMDFromExecutor(callBack) {
3594
- const loadMetadataFunction = this.parseExecutor(this.metadataexecutor);
3605
+ const loadMetadataFunction = this.parseExecutor(this.metadataExecutor);
3595
3606
  if (loadMetadataFunction) {
3596
3607
  const result = loadMetadataFunction();
3597
3608
  if (result) {
@@ -3671,7 +3682,7 @@ let EzForm$1 = class extends HTMLElement {
3671
3682
  });
3672
3683
  this._store = createStore(rootReducer, applyMiddleware(thunk));
3673
3684
  this._store.subscribe(() => { forceUpdate(this); });
3674
- if (this.slavemode) {
3685
+ if (this.slaveMode) {
3675
3686
  this._store.dispatch(showHideNavigationButtons("saveVisible", false));
3676
3687
  this._store.dispatch(showHideNavigationButtons("cancelVisible", false));
3677
3688
  this._store.dispatch(showHideNavigationButtons("reloadVisible", false));
@@ -3694,12 +3705,12 @@ let EzForm$1 = class extends HTMLElement {
3694
3705
  this._duToLoad = [];
3695
3706
  }
3696
3707
  loadSearch(argument, context) {
3697
- const fieldSearchExecutor = this.parseExecutor(this.fieldsearchexecutor);
3708
+ const fieldSearchExecutor = this.parseExecutor(this.fieldSearchExecutor);
3698
3709
  if (fieldSearchExecutor) {
3699
3710
  return fieldSearchExecutor(argument, context);
3700
3711
  }
3701
3712
  else {
3702
- return [{ value: 0, label: 'Sem resultados' }];
3713
+ return [{ value: 0, label: "Sem resultados" }];
3703
3714
  }
3704
3715
  }
3705
3716
  buildDataUnit(dataUnit, parentDataUnit) {
@@ -3726,9 +3737,9 @@ let EzForm$1 = class extends HTMLElement {
3726
3737
  }
3727
3738
  decorateDU(dataUnit) {
3728
3739
  dataUnit.store = this._store;
3729
- dataUnit.loadExecutor = this.parseExecutor(this.loadexecutor);
3730
- dataUnit.saveExecutor = this.parseExecutor(this.saveexecutor);
3731
- dataUnit.removeExecutor = this.parseExecutor(this.removeexecutor);
3740
+ dataUnit.loadExecutor = this.parseExecutor(this.loadExecutor);
3741
+ dataUnit.saveExecutor = this.parseExecutor(this.saveExecutor);
3742
+ dataUnit.removeExecutor = this.parseExecutor(this.removeExecutor);
3732
3743
  dataUnit.recordsValidator = this;
3733
3744
  }
3734
3745
  render() {
@@ -3772,7 +3783,7 @@ let EzIcon$1 = class extends HTMLElement {
3772
3783
  static get style() { return ezIconCss; }
3773
3784
  };
3774
3785
 
3775
- const ezLabelChipCss = ":host{--lc--height:36px;--lc__label--font-size:var(--text--medium, 14px);--lc__label--font-family:var(--font-pattern, Arial);--lc__label--font-weight:var(--text-weight--large, 600);--lc__label--space--medium:var(--space--medium, 12px);--lc__label--title--primary:var(--title--primary, #919191);--lc__label__container--border-radius:var(--border--radius-large, 24px);--lc__label__container--border:1px solid;--lc__label__container--border-color-strokes:var(--color--strokes, #DCE0E8);--lc__label__container--color-primary:var(--color--primary, #008561);--lc__label__container-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--lc__label__container--background-color:#0085610F;--lc__label__container--border-color:#0085610F;--lc__label__container--default--border-color--hover:var(--color--primary-600, #007a5a);--lc__label__container--default--background-color--hover:var(--color--primary-200, #f2faf8);--lc__label__container--text--disabled:var(--text--disable, #AFB6C0);--lc__btn__close--image:url('data:image/svg+xml;utf8,<svg width=\"8\" height=\"8\" viewBox=\"0 0 8 8\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 4.7098145,3.9968334 7.8535703,0.85318776 C 7.9473034,0.75946455 8,0.63233985 8,0.49978585 8,0.36723841 7.947304,0.24011361 7.8535703,0.14638378 7.7598354,0.05266059 7.6327257,6.48e-8 7.500152,6.48e-8 7.3676457,6.48e-8 7.2404691,0.0526608 7.1467354,0.14638378 L 4.00298,3.2900293 0.8591984,0.14638378 C 0.76546463,0.05266059 0.63834103,6.48e-8 0.50578123,6.48e-8 0.3732281,6.48e-8 0.24609783,0.05266059 0.15236397,0.14638378 0.05863012,0.24011361 0.00597395,0.36723841 0.00597395,0.49978585 c 0,0.132554 0.05265617,0.2596787 0.14639002,0.35340191 L 3.2961455,3.9968334 0.15236397,7.1411589 C 0.10466427,7.1872561 0.06663114,7.2424161 0.04046961,7.303371 0.01431473,7.3643212 5.6180845e-4,7.429943 1.6859246e-5,7.4962264 -5.2808998e-4,7.5625744 0.01214297,7.6283944 0.03729854,7.6897476 c 0.02514888,0.061416 0.06227604,0.1171794 0.1092096,0.1640783 0.0469402,0.046903 0.10274083,0.083936 0.16415749,0.1090508 0.0614166,0.025114 0.12721688,0.037703 0.19355667,0.037103 0.06634,-5.714e-4 0.13190027,-0.014457 0.19284393,-0.04064 0.0609507,-0.026246 0.11606474,-0.064351 0.16213217,-0.1120492 L 4.00298,4.7036374 7.1467354,7.8472967 c 0.093734,0.09373 0.2209103,0.1463572 0.3534166,0.1463572 0.1325737,0 0.2596834,-0.052623 0.3534183,-0.1463572 C 7.9473034,7.753567 8,7.6264624 8,7.493895 8,7.3613281 7.9473086,7.2342224 7.8535703,7.1404927 Z\"/></svg>')}.btn-close{align-items:flex-start;display:flex;outline:none;border:none;padding:0px 0px 0px 6px;background-color:unset;cursor:pointer}.btn-close::after{content:'';display:flex;background-color:var(--lc__label__container--color-primary);width:8px;height:8px;-webkit-mask-image:var(--lc__btn__close--image);mask-image:var(--lc__btn__close--image)}.label__container{width:fit-content;display:flex;flex-wrap:wrap;position:relative;align-items:center;background-color:#FFFFFF;align-self:center;color:var(--lc__label--title--primary);fill:var(--lc__label--title--primary);border:var(--lc__label__container--border);border-radius:var(--lc__label__container--border-radius);border-color:var(--lc__label__container--border-color-strokes);padding-right:var(--lc__label--space--medium);padding-left:var(--lc__label--space--medium)}.label__container:hover{border-color:var(--lc__label__container--default--border-color--hover);background-color:var(--lc__label__container--default--background-color--hover)}.label__container--active{width:fit-content;display:flex;flex-wrap:wrap;position:relative;align-items:center;align-self:center;border:var(--lc__label__container--border);border-radius:var(--lc__label__container--border-radius);padding-right:var(--lc__label--space--medium);padding-left:var(--lc__label--space--medium);fill:var(--lc__label__container--color-primary);color:var(--lc__label__container--color-primary);border-color:var(--lc__label__container--border-color);background-color:var(--lc__label__container--background-color)}.label__container--disabled{width:fit-content;display:flex;flex-wrap:wrap;position:relative;align-items:center;align-self:center;border:var(--lc__label__container--border);border-color:var(--lc__label__container-color--disable-secondary);border-radius:var(--lc__label__container--border-radius);padding-right:var(--lc__label--space--medium);padding-left:var(--lc__label--space--medium);fill:var(--lc__label__container--text--disabled);color:var(--lc__label__container--text--disabled);background-color:var(--lc__label__container-color--disable-secondary)}label{display:flex;align-items:center;font-weight:var(--lc__label--font-weight);cursor:pointer;height:var(--lc--height);font-family:var(--lc__label--font-family);font-size:var(--lc__label--font-size)}.label__icon{display:flex;cursor:pointer}";
3786
+ const ezLabelChipCss = ":host{--ez-label-chip--height:36px;--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--large, 600);--ez-label-chip__label--space--medium:var(--space--medium, 12px);--ez-label-chip__label--title--primary:var(--title--primary, #919191);--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:#0085610F;--ez-label-chip__label__container--border-color:#0085610F;--ez-label-chip__label__container--default--border-color--hover:var(--color--primary-600, #007a5a);--ez-label-chip__label__container--default--background-color--hover:var(--color--primary-200, #f2faf8);--ez-label-chip__label__container--text--disabled:var(--text--disable, #AFB6C0);--ez-label-chip__btn__close--image:url('data:image/svg+xml;utf8,<svg width=\"8\" height=\"8\" viewBox=\"0 0 8 8\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 4.7098145,3.9968334 7.8535703,0.85318776 C 7.9473034,0.75946455 8,0.63233985 8,0.49978585 8,0.36723841 7.947304,0.24011361 7.8535703,0.14638378 7.7598354,0.05266059 7.6327257,6.48e-8 7.500152,6.48e-8 7.3676457,6.48e-8 7.2404691,0.0526608 7.1467354,0.14638378 L 4.00298,3.2900293 0.8591984,0.14638378 C 0.76546463,0.05266059 0.63834103,6.48e-8 0.50578123,6.48e-8 0.3732281,6.48e-8 0.24609783,0.05266059 0.15236397,0.14638378 0.05863012,0.24011361 0.00597395,0.36723841 0.00597395,0.49978585 c 0,0.132554 0.05265617,0.2596787 0.14639002,0.35340191 L 3.2961455,3.9968334 0.15236397,7.1411589 C 0.10466427,7.1872561 0.06663114,7.2424161 0.04046961,7.303371 0.01431473,7.3643212 5.6180845e-4,7.429943 1.6859246e-5,7.4962264 -5.2808998e-4,7.5625744 0.01214297,7.6283944 0.03729854,7.6897476 c 0.02514888,0.061416 0.06227604,0.1171794 0.1092096,0.1640783 0.0469402,0.046903 0.10274083,0.083936 0.16415749,0.1090508 0.0614166,0.025114 0.12721688,0.037703 0.19355667,0.037103 0.06634,-5.714e-4 0.13190027,-0.014457 0.19284393,-0.04064 0.0609507,-0.026246 0.11606474,-0.064351 0.16213217,-0.1120492 L 4.00298,4.7036374 7.1467354,7.8472967 c 0.093734,0.09373 0.2209103,0.1463572 0.3534166,0.1463572 0.1325737,0 0.2596834,-0.052623 0.3534183,-0.1463572 C 7.9473034,7.753567 8,7.6264624 8,7.493895 8,7.3613281 7.9473086,7.2342224 7.8535703,7.1404927 Z\"/></svg>')}.btn-close{align-items:flex-start;display:flex;outline:none;border:none;padding:0px 0px 0px 6px;background-color:unset;cursor:pointer}.btn-close::after{content:'';display:flex;background-color:var(--ez-label-chip__label__container--color-primary);width:8px;height:8px;-webkit-mask-image:var(--ez-label-chip__btn__close--image);mask-image:var(--ez-label-chip__btn__close--image)}.label__container{width:fit-content;display:flex;flex-wrap:wrap;position:relative;align-items:center;background-color:#FFFFFF;align-self:center;color:var(--ez-label-chip__label--title--primary);fill:var(--ez-label-chip__label--title--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)}.label__container:hover{border-color:var(--ez-label-chip__label__container--default--border-color--hover);background-color:var(--ez-label-chip__label__container--default--background-color--hover)}.label__container--active{width:fit-content;display:flex;flex-wrap:wrap;position:relative;align-items:center;align-self:center;border:var(--ez-label-chip__label__container--border);border-radius:var(--ez-label-chip__label__container--border-radius);padding-right:var(--ez-label-chip__label--space--medium);padding-left:var(--ez-label-chip__label--space--medium);fill:var(--ez-label-chip__label__container--color-primary);color:var(--ez-label-chip__label__container--color-primary);border-color:var(--ez-label-chip__label__container--border-color);background-color:var(--ez-label-chip__label__container--background-color)}.label__container--disabled{width:fit-content;display:flex;flex-wrap:wrap;position:relative;align-items:center;align-self:center;border:var(--ez-label-chip__label__container--border);border-color:var(--ez-label-chip__label__container-color--disable-secondary);border-radius:var(--ez-label-chip__label__container--border-radius);padding-right:var(--ez-label-chip__label--space--medium);padding-left:var(--ez-label-chip__label--space--medium);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);background-color:var(--ez-label-chip__label__container-color--disable-secondary)}label{display:flex;align-items:center;font-weight:var(--ez-label-chip__label--font-weight);cursor:pointer;height:var(--ez-label-chip--height);font-family:var(--ez-label-chip__label--font-family);font-size:var(--ez-label-chip__label--font-size)}.label__icon{display:flex;cursor:pointer}";
3776
3787
 
3777
3788
  let EzLabelChip$1 = class extends HTMLElement {
3778
3789
  constructor() {
@@ -3814,7 +3825,7 @@ let EzLabelChip$1 = class extends HTMLElement {
3814
3825
  //---------------------------------------------
3815
3826
  handleClick(ev) {
3816
3827
  const target = ev.target;
3817
- if (target.assignedSlot === null && !target.classList.contains('label__icon')) {
3828
+ if (target.assignedSlot === null && !target.classList.contains("label__icon")) {
3818
3829
  this.valueChange.emit(this.value);
3819
3830
  this.swichState();
3820
3831
  }
@@ -3826,13 +3837,13 @@ let EzLabelChip$1 = class extends HTMLElement {
3826
3837
  }
3827
3838
  reflectChange() {
3828
3839
  if (this._divElem) {
3829
- this._divElem.classList.remove('label__container--active');
3830
- this._divElem.classList.remove('label__container');
3840
+ this._divElem.classList.remove("label__container--active");
3841
+ this._divElem.classList.remove("label__container");
3831
3842
  if (this.value) {
3832
- this._divElem.classList.add('label__container--active');
3843
+ this._divElem.classList.add("label__container--active");
3833
3844
  }
3834
3845
  else {
3835
- this._divElem.classList.add('label__container');
3846
+ this._divElem.classList.add("label__container");
3836
3847
  }
3837
3848
  }
3838
3849
  }
@@ -3842,7 +3853,7 @@ let EzLabelChip$1 = class extends HTMLElement {
3842
3853
  componentDidLoad() {
3843
3854
  if (this._divElem) {
3844
3855
  if (this.value) {
3845
- this._divElem.classList.add('label__container--active');
3856
+ this._divElem.classList.add("label__container--active");
3846
3857
  }
3847
3858
  else {
3848
3859
  this.handleEnabledState();
@@ -3850,12 +3861,12 @@ let EzLabelChip$1 = class extends HTMLElement {
3850
3861
  }
3851
3862
  }
3852
3863
  handleEnabledState() {
3853
- this._divElem.classList.remove('label__container--disabled');
3864
+ this._divElem.classList.remove("label__container--disabled");
3854
3865
  if (!this.enabled) {
3855
- this._divElem.classList.remove('label__container');
3856
- this._divElem.classList.add('label__container--disabled');
3866
+ this._divElem.classList.remove("label__container");
3867
+ this._divElem.classList.add("label__container--disabled");
3857
3868
  if (this._labelElem) {
3858
- this._labelElem.style.cursor = 'default';
3869
+ this._labelElem.style.cursor = "default";
3859
3870
  }
3860
3871
  }
3861
3872
  }
@@ -4344,7 +4355,7 @@ let NumberInput = class extends HTMLElement {
4344
4355
  static get style() { return ezNumberInputCss; }
4345
4356
  };
4346
4357
 
4347
- const ezNumericInputCss = ":host{display:block;width:100%;--it__input--background-color:var(--background--medium, #e0e0e0);--it__input--border-color:var(--it__input--background-color)}.text-input{--it__input--background-color:inherit;--it__input--border-color:inherit}";
4358
+ const ezNumericInputCss = ":host{display:block;width:100%;--ez-text-input__input--background-color:var(--background--medium, #e0e0e0);--ez-text-input__input--border-color:var(--ez-text-input__input--background-color)}.text-input{--ez-text-input__input--background-color:inherit;--ez-text-input__input--border-color:inherit}";
4348
4359
 
4349
4360
  let EzNumericInput$1 = class extends HTMLElement {
4350
4361
  constructor() {
@@ -4574,11 +4585,11 @@ let EzSearch$1 = class extends HTMLElement {
4574
4585
  /**
4575
4586
  * Ajusta a opção de mostrar o "value" ao selecionar uma opção.
4576
4587
  */
4577
- this.showselectedvalue = true;
4588
+ this.showSelectedValue = true;
4578
4589
  /**
4579
4590
  * Ajusta a opção de mostrar o "value" para cada opção.
4580
4591
  */
4581
- this.showoptionvalue = true;
4592
+ this.showOptionValue = true;
4582
4593
  }
4583
4594
  updateValue() {
4584
4595
  if (this._comboElement) {
@@ -4591,7 +4602,7 @@ let EzSearch$1 = class extends HTMLElement {
4591
4602
  this.ezChange.emit(evt.detail);
4592
4603
  }
4593
4604
  render() {
4594
- return (h("ez-combo-box", { ref: elem => this._comboElement = elem, value: this.value, label: this.label, enabled: this.enabled, errorMessage: this.errorMessage, optionLoader: this.optionloader, searchMode: true, onEzChange: evt => this.onComboChange(evt), showSelectedValue: this.showselectedvalue, showOptionValue: this.showoptionvalue }));
4605
+ return (h("ez-combo-box", { ref: elem => this._comboElement = elem, value: this.value, label: this.label, enabled: this.enabled, errorMessage: this.errorMessage, optionLoader: this.optionLoader, searchMode: true, onEzChange: evt => this.onComboChange(evt), showSelectedValue: this.showSelectedValue, showOptionValue: this.showOptionValue }));
4595
4606
  }
4596
4607
  ;
4597
4608
  static get watchers() { return {
@@ -4803,7 +4814,7 @@ class Tab {
4803
4814
  }
4804
4815
  }
4805
4816
 
4806
- const ezTextAreaCss = ":host{--ta--width:100%;--ta--border-radius:var(--border--radius-medium, 12px);--ta--font-size:var(--text--medium, 14px);--ta--font-family:var(--font-pattern, Arial);--ta--font-weight:var(--text-weight--large, 500);--ta--color:var(--title--primary, #000);--ta__input--background-color:var(--background--medium, #e0e0e0);--ta__input--border:var(--border--medium, 2px solid);--ta__input--border-color:var(--ta__input--background-color);--ta__input--focus--border-color:var(--color--primary, #008561);--ta__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ta__input--disabled--color:var(--text--disable, #AFB6C0);--ta__input--error--border-color:#CC2936;--ta__message_box--font-size:var(--text--small, 12px);--ta__message_box--info--color:var(--color--success, #22085d);--ta__message_box--error--color:var(--color--error, #FF0000);--ta__label--floating--top:6px;--ta__label--padding-top:12px;--ta__label--padding-left:14px;--ta__label--padding-right:12px;display:flex;flex-wrap:wrap;position:relative;width:var(--ta--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(--ta--font-family);font-size:var(--ta--font-size);color:var(--ta--color);padding:0;background:none}textarea:focus{outline:none}textarea:disabled{background-color:transparent;color:var(--ta__input--disabled--color)}.textarea{width:100%;box-sizing:border-box;padding-left:var(--space--medium);padding-right:var(--space--extra-small);border-radius:var(--ta--border-radius);border:var(--ta__input--border);border-color:var(--ta__input--border-color);background-color:var(--ta__input--background-color)}.textarea--focus{border-color:var(--ta__input--focus--border-color)}.textarea.hasError{color:var(--ta--color);border-color:var(--ta__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(--ta--font-family);font-size:var(--ta__message_box--font-size);color:var(--ta__message_box--info--color)}.hasError{color:var(--ta__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(--ta__label--padding-right));left:var(--ta--space--medium);font-family:var(--ta--font-family);font-size:var(--ta--font-size);font-weight:var(--ta--font-weight);color:var(--ta--color);top:var(--ta__label--padding-top);left:var(--ta__label--padding-left);padding-right:var(--ta__label--padding-right)}.textarea__label--floated{font-family:var(--ta--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--ta__label--floating--top)}.textarea__label--disabled{color:var(--ta__input--disabled--color)}";
4817
+ 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)}";
4807
4818
 
4808
4819
  let EzTextArea$1 = class extends HTMLElement {
4809
4820
  constructor() {
@@ -4911,7 +4922,7 @@ let EzTextArea$1 = class extends HTMLElement {
4911
4922
  static get style() { return ezTextAreaCss; }
4912
4923
  };
4913
4924
 
4914
- const ezTextInputCss = ":host{--text-input--height:42px;--text-input--width:100%;--text-input__icon--width:48px;--text-input--border-radius:var(--border--radius-medium, 12px);--text-input--font-size:var(--text--medium, 14px);--text-input--font-family:var(--font-pattern, Arial);--text-input--font-weight:var(--text-weight--large, 500);--text-input--color:var(--title--primary, #000);--text-input__input--background-color:var(--background--medium, #e0e0e0);--text-input__input--border:var(--border--medium, 2px solid);--text-input__input--border-color:var(--text-input__input--background-color);--text-input__input--focus--border-color:var(--color--alert-cold-800, #042EFF);--text-input__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--text-input__input--disabled--color:var(--text--disable, #AFB6C0);--text-input__input--error--border-color:#CC2936;--text-input__message_box--font-size:var(--text--small, 12px);--text-input__message_box--info--color:var(--color--success, #22085d);--text-input__message_box--error--color:var(--color--error, #FF0000);--text-input__label--floating--top:6px;--text-input__label--padding-top:12px;--text-input__label--padding-left:14px;--text-input__label--padding-right:12px;display:flex;flex-wrap:wrap;position:relative;width:var(--text-input--width)}input{width:100%;box-sizing:border-box;padding:var(--space--medium, 6px);font-weight:var(--text-weight--large, 600);height:var(--text-input--height);border-radius:var(--text-input--border-radius);font-family:var(--text-input--font-family);font-size:var(--text-input--font-size);border:var(--text-input__input--border);border-color:var(--text-input__input--border-color);background-color:var(--text-input__input--background-color);color:var(--text-input--color)}input:disabled{background-color:var(--text-input__input--disabled--background-color);color:var(--text-input__input--disabled--color)}input:focus{outline:none;border-color:var(--text-input__input--focus--border-color)}input.icon--left{padding-left:var(--text-input__icon--width)}input.icon--right{padding-right:var(--text-input__icon--width)}input.hasError{color:var(--text-input--color);border-color:var(--text-input__input--error--border-color)}input.text--right{text-align:right}.message-box{display:flex;min-height:16px;min-width:100%;margin-top:2px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--text-input--font-family);font-size:var(--text-input__message_box--font-size);color:var(--text-input__message_box--info--color)}.hasError{color:var(--text-input__message_box--error--color)}.input__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-input__label--padding-right));left:var(--text-input--space--medium);font-family:var(--text-input--font-family);font-size:var(--text-input--font-size);font-weight:var(--text-input--font-weight);color:var(--text-input--color);top:var(--text-input__label--padding-top);left:var(--text-input__label--padding-left);padding-right:var(--text-input__label--padding-right)}.input__label--floated{font-family:var(--text-input--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--text-input__label--floating--top)}.input__label--disabled{color:var(--text-input__input--disabled--color)}.input__label--left{text-align:left;left:calc(var(--text-input__icon--width) + 2px);width:calc(100% - var(--text-input__icon--width))}.input__label--right{right:var(--text-input__icon--width);width:calc(100% - var(--text-input__icon--width))}.input__label--left.input__label--right{left:calc(var(--text-input__icon--width) + 2px);width:calc(100% - var(--text-input__icon--width) * 2)}.input--with--label{padding-bottom:0}";
4925
+ const ezTextInputCss = ":host{--ez-text-input--height:42px;--ez-text-input--width:100%;--ez-text-input__icon--width:48px;--ez-text-input--border-radius:var(--border--radius-medium, 12px);--ez-text-input--font-size:var(--text--medium, 14px);--ez-text-input--font-family:var(--font-pattern, Arial);--ez-text-input--font-weight:var(--text-weight--large, 500);--ez-text-input--color:var(--title--primary, #000);--ez-text-input__input--background-color:var(--background--medium, #e0e0e0);--ez-text-input__input--border:var(--border--medium, 2px solid);--ez-text-input__input--border-color:var(--ez-text-input__input--background-color);--ez-text-input__input--focus--border-color:var(--color--alert-cold-800, #042EFF);--ez-text-input__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-text-input__input--disabled--color:var(--text--disable, #AFB6C0);--ez-text-input__input--error--border-color:#CC2936;--ez-text-input__message_box--font-size:var(--text--small, 12px);--ez-text-input__message_box--info--color:var(--color--success, #22085d);--ez-text-input__message_box--error--color:var(--color--error, #FF0000);--ez-text-input__label--floating--top:6px;--ez-text-input__label--padding-top:12px;--ez-text-input__label--padding-left:14px;--ez-text-input__label--padding-right:12px;display:flex;flex-wrap:wrap;position:relative;width:var(--ez-text-input--width)}input{width:100%;box-sizing:border-box;padding:var(--space--medium, 6px);font-weight:var(--text-weight--large, 600);height:var(--ez-text-input--height);border-radius:var(--ez-text-input--border-radius);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);border:var(--ez-text-input__input--border);border-color:var(--ez-text-input__input--border-color);background-color:var(--ez-text-input__input--background-color);color:var(--ez-text-input--color)}input:disabled{background-color:var(--ez-text-input__input--disabled--background-color);color:var(--ez-text-input__input--disabled--color)}input:focus{outline:none;border-color:var(--ez-text-input__input--focus--border-color)}input.icon--left{padding-left:var(--ez-text-input__icon--width)}input.icon--right{padding-right:var(--ez-text-input__icon--width)}input.hasError{color:var(--ez-text-input--color);border-color:var(--ez-text-input__input--error--border-color)}input.text--right{text-align:right}.message-box{display:flex;min-height:16px;min-width:100%;margin-top:2px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input__message_box--font-size);color:var(--ez-text-input__message_box--info--color)}.hasError{color:var(--ez-text-input__message_box--error--color)}.input__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(--ez-text-input__label--padding-right));left:var(--ez-text-input--space--medium);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);font-weight:var(--ez-text-input--font-weight);color:var(--ez-text-input--color);top:var(--ez-text-input__label--padding-top);left:var(--ez-text-input__label--padding-left);padding-right:var(--ez-text-input__label--padding-right)}.input__label--floated{font-family:var(--ez-text-input--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--ez-text-input__label--floating--top)}.input__label--disabled{color:var(--ez-text-input__input--disabled--color)}.input__label--left{text-align:left;left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - var(--ez-text-input__icon--width))}.input__label--right{right:var(--ez-text-input__icon--width);width:calc(100% - var(--ez-text-input__icon--width))}.input__label--left.input__label--right{left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - var(--ez-text-input__icon--width) * 2)}.input--with--label{padding-bottom:0}";
4915
4926
 
4916
4927
  let EzTextInput$1 = class extends HTMLElement {
4917
4928
  constructor() {
@@ -4925,14 +4936,14 @@ let EzTextInput$1 = class extends HTMLElement {
4925
4936
  this.enabled = true;
4926
4937
  }
4927
4938
  showError() {
4928
- const hasError = typeof this.errorMessage === 'string' && this.errorMessage !== '';
4939
+ const hasError = typeof this.errorMessage === "string" && this.errorMessage !== "";
4929
4940
  if (hasError) {
4930
- this._inputElem.classList.add('hasError');
4931
- this._messageBoxElem.classList.add('hasError');
4941
+ this._inputElem.classList.add("hasError");
4942
+ this._messageBoxElem.classList.add("hasError");
4932
4943
  }
4933
4944
  else {
4934
- this._inputElem.classList.remove('hasError');
4935
- this._messageBoxElem.classList.remove('hasError');
4945
+ this._inputElem.classList.remove("hasError");
4946
+ this._messageBoxElem.classList.remove("hasError");
4936
4947
  }
4937
4948
  }
4938
4949
  prepareMask() {
@@ -4950,7 +4961,7 @@ let EzTextInput$1 = class extends HTMLElement {
4950
4961
  this._inputElem.value = this.value;
4951
4962
  }
4952
4963
  this.handleChange();
4953
- this.ezChange.emit();
4964
+ this.ezChange.emit(this.value);
4954
4965
  this.adjustFloatingLabel();
4955
4966
  }
4956
4967
  adjustFloatingLabel() {
@@ -5035,22 +5046,22 @@ let EzTextInput$1 = class extends HTMLElement {
5035
5046
  content.style.justifyContent = "center";
5036
5047
  content.style.overflow = "hidden";
5037
5048
  content.style.top = "0px";
5038
- content.style.width = "var(--text-input__icon--width)";
5039
- content.style.height = "var(--text-input--height)";
5049
+ content.style.width = "var(--ez-text-input__icon--width)";
5050
+ content.style.height = "var(--ez-text-input--height)";
5040
5051
  if (slot.name == "leftIcon") {
5041
5052
  content.style.left = "0px";
5042
- content.style.borderRadius = "var(--text-input--border-radius) 0 0 var(--text-input--border-radius)";
5043
- this._inputElem.classList.add('icon--left');
5053
+ content.style.borderRadius = "var(--ez-text-input--border-radius) 0 0 var(--ez-text-input--border-radius)";
5054
+ this._inputElem.classList.add("icon--left");
5044
5055
  if (this._labelElem) {
5045
- this._labelElem.classList.add('input__label--left');
5056
+ this._labelElem.classList.add("input__label--left");
5046
5057
  }
5047
5058
  }
5048
5059
  else if (slot.name == "rightIcon") {
5049
5060
  content.style.right = "0px";
5050
- content.style.borderRadius = "0 var(--text-input--border-radius) var(--text-input--border-radius) 0";
5051
- this._inputElem.classList.add('icon--right');
5061
+ content.style.borderRadius = "0 var(--ez-text-input--border-radius) var(--ez-text-input--border-radius) 0";
5062
+ this._inputElem.classList.add("icon--right");
5052
5063
  if (this._labelElem) {
5053
- this._labelElem.classList.add('input__label--right');
5064
+ this._labelElem.classList.add("input__label--right");
5054
5065
  }
5055
5066
  }
5056
5067
  }
@@ -5100,6 +5111,25 @@ let EzTextInput$1 = class extends HTMLElement {
5100
5111
  static get style() { return ezTextInputCss; }
5101
5112
  };
5102
5113
 
5114
+ const getSpritePath = (sprite) => `${getContextAssetsPath("../assets/actions-sprite.svg")}#${sprite}`;
5115
+ let ctxLoaded = false;
5116
+ function getContextAssetsPath(resource) {
5117
+ if (!ctxLoaded) {
5118
+ const scriptElem = document.querySelector("script[data-ezui-assets-url]");
5119
+ if (scriptElem) {
5120
+ let assetsPath = scriptElem.dataset.ezuiAssetsUrl;
5121
+ if (assetsPath) {
5122
+ if (assetsPath.startsWith('/')) {
5123
+ assetsPath = window.location.origin + assetsPath;
5124
+ }
5125
+ setAssetPath(assetsPath);
5126
+ }
5127
+ }
5128
+ ctxLoaded = true;
5129
+ }
5130
+ return getAssetPath(resource);
5131
+ }
5132
+
5103
5133
  const ezTimeInputCss = ":host{display:flex;flex-wrap:wrap;position:relative;width:100%}";
5104
5134
 
5105
5135
  let EzTimeInput$1 = class extends HTMLElement {
@@ -5199,7 +5229,7 @@ let EzTimeInput$1 = class extends HTMLElement {
5199
5229
  }
5200
5230
  }
5201
5231
  render() {
5202
- return (h(Host, null, h("ez-text-input", { ref: (el) => this._inputElem = el, value: this.viewValue, enabled: this.enabled, label: this.label, onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); }, errorMessage: this.errorMessage }, h("ez-icon", { slot: "leftIcon", href: getAssetPath("./assets/actions-sprite.svg") + "#timer-outline" }))));
5232
+ return (h(Host, null, h("ez-text-input", { ref: (el) => this._inputElem = el, value: this.viewValue, enabled: this.enabled, label: this.label, onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); }, errorMessage: this.errorMessage }, h("ez-icon", { slot: "leftIcon", href: getSpritePath("timer-outline") }))));
5203
5233
  }
5204
5234
  static get assetsDirs() { return ["../assets"]; }
5205
5235
  get _elem() { return this; }
@@ -5210,7 +5240,7 @@ let EzTimeInput$1 = class extends HTMLElement {
5210
5240
  static get style() { return ezTimeInputCss; }
5211
5241
  };
5212
5242
 
5213
- const ezToastCss = ":host{--toast__btn__close__image:url('data:image/svg+xml;utf8,<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" xmlns=\"http://www.w3.org/2000/svg%22%3E<path d=\"M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z\"/></svg>');--toast__container-z-index:var(--more-visible, 2);--toast__container--background-color:var(--color--secondary, #383c45);--toast__icon--padding-left:var(--space--small, 6px)}.toast__container{position:fixed;display:flex;bottom:100px;z-index:var(--toast__container-z-index);left:100px;width:30%;box-sizing:border-box;background-color:var(--toast__container--background-color);border-radius:6px;align-items:center;padding:12px;visibility:hidden}.message__container{font-family:\"Sora\", \"Algerian\";text-shadow:0 0 0 #353535, 0 0 1px transparent;color:#FFFFFF;font-size:14px;width:90%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.message__conteiner--icon{padding-left:var(--toast__icon--padding-left);width:80%}.btn-close{display:flex;justify-content:flex-end;padding:0;outline:none;width:10%;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:'';display:flex;background-color:#FFFFFF;width:12px;height:12px;-webkit-mask-image:var(--toast__btn__close__image);mask-image:var(--toast__btn__close__image)}.toast__container--oppened{animation:fadein 0.5s, fadeout 0.5s 3s;visibility:visible}@-webkit-keyframes fadein{from{left:-100px;opacity:0}to{left:100px;opacity:1}}@keyframes fadein{from{left:-100px;opacity:0}to{left:100px;opacity:1}}@-webkit-keyframes fadeout{from{left:100px;opacity:1}to{bottom:0;opacity:0}}@keyframes fadeout{from{left:100px;opacity:1}to{bottom:0;opacity:0}}";
5243
+ const ezToastCss = ":host{--ez-toast__btn__close__image:url('data:image/svg+xml;utf8,<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" xmlns=\"http://www.w3.org/2000/svg%22%3E<path d=\"M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z\"/></svg>');--ez-toast__container-z-index:var(--more-visible, 2);--ez-toast__container--background-color:var(--color--secondary, #383c45);--ez-toast__icon--padding-left:var(--space--small, 6px)}.toast__container{position:fixed;display:flex;bottom:100px;z-index:var(--ez-toast__container-z-index);left:100px;width:30%;box-sizing:border-box;background-color:var(--ez-toast__container--background-color);border-radius:6px;align-items:center;padding:12px;visibility:hidden}.message__container{font-family:\"Sora\", \"Algerian\";text-shadow:0 0 0 #353535, 0 0 1px transparent;color:#FFFFFF;font-size:14px;width:90%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.message__conteiner--icon{padding-left:var(--ez-toast__icon--padding-left);width:80%}.btn-close{display:flex;justify-content:flex-end;padding:0;outline:none;width:10%;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:'';display:flex;background-color:#FFFFFF;width:12px;height:12px;-webkit-mask-image:var(--ez-toast__btn__close__image);mask-image:var(--ez-toast__btn__close__image)}.toast__container--oppened{animation:fadein 0.5s, fadeout 0.5s 3s;visibility:visible}@-webkit-keyframes fadein{from{left:-100px;opacity:0}to{left:100px;opacity:1}}@keyframes fadein{from{left:-100px;opacity:0}to{left:100px;opacity:1}}@-webkit-keyframes fadeout{from{left:100px;opacity:1}to{bottom:0;opacity:0}}@keyframes fadeout{from{left:100px;opacity:1}to{bottom:0;opacity:0}}";
5214
5244
 
5215
5245
  let EzToast$1 = class extends HTMLElement {
5216
5246
  constructor() {
@@ -5226,6 +5256,9 @@ let EzToast$1 = class extends HTMLElement {
5226
5256
  */
5227
5257
  this.useIcon = false;
5228
5258
  }
5259
+ /**
5260
+ * Exibe o componente na tela.
5261
+ */
5229
5262
  async show() {
5230
5263
  this.container.classList.add("toast__container--oppened");
5231
5264
  this.container.style.animation = `fadein 0.5s, fadeout 0.5s ${this.fadeTime / 1000}s`;
@@ -5332,7 +5365,7 @@ class RemoteFile {
5332
5365
  }
5333
5366
  }
5334
5367
 
5335
- const ezUploadCss = ":host{--iu--height:42px;--iu--width:100%;--iu__icon--width:48px;--iu__container--background-color:var(--background--medium, #d2dce9);--iu__color--primary:var(--color--primary, #008561);--iu--padding--extra-small:var(--space--extra-small, 3px);--iu--padding--small:var(--space--small, 6px);--iu--padding--medium:var(--space--medium, 12px);--iu--padding--large:var(--space--large, 24px);--iu__border--color:var(--color-strokes, #DCE0E8);--iu--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--iu--text--primary:var(--text-primary, #626e82);--iu--font-size:var(--text--medium, 14px);--iu--font-family:var(--font-pattern, Arial);--iu--font-weight:var(--text-weight--large, 500);--iu__btn__cancel-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"8x\" width=\"8px\"><path d=\"M 8,0.8 7.2,0 4,3.2 0.8,0 0,0.8 3.2,4 0,7.2 0.8,8 4,4.8 7.2,8 8,7.2 4.8,4 Z\"/></svg>');--iu__file-icon-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"11x\" width=\"9px\"><path d=\"M 1.2272719,8.4999999 V 2.75 c 0,-1.1045695 1.4652499,-2 3.2727273,-2 1.8074777,0 3.2727281,0.8954305 3.2727281,2 V 8.9999999 C 7.7727273,9.690356 6.8569456,10.25 5.7272719,10.25 4.5975985,10.25 3.6818174,9.690356 3.6818174,8.9999999 V 3.75 c 0,-0.2761425 0.3663125,-0.5 0.8181818,-0.5 0.4518694,0 0.8181818,0.2238575 0.8181818,0.5 V 8.4999999 H 6.5454537 V 3.75 C 6.5454537,3.059644 5.6296725,2.5 4.4999992,2.5 3.3703258,2.5 2.4545446,3.059644 2.4545446,3.75 V 8.9999999 C 2.4545446,10.10457 3.9197945,11 5.7272719,11 7.5347496,11 9,10.10457 9,8.9999999 V 2.75 C 9,1.231217 6.9852809,0 4.4999992,0 2.0147181,5e-7 0,1.231217 0,2.75 v 5.7499999 z\"/></svg>');display:flex;flex-wrap:wrap;position:relative;font-family:var(--iu--font-family);font-size:var(--iu--font-size);width:var(--iu--width);font-weight:var(--iu--font-weight)}.iu{display:flex;flex-wrap:wrap;background-color:var(--iu__container--background-color);padding:var(--iu--padding--small);width:100%;border-radius:12px;box-sizing:border-box}.iu__container{width:100%;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;border:2px dashed var(--iu__border--color);border-radius:6px;box-sizing:border-box}.iu__footer{display:flex;flex-wrap:wrap;justify-content:flex-start;width:100%;padding:0 var(--iu--padding--medium) var(--iu--padding--medium) var(--iu--padding--medium);box-sizing:border-box}.iu__item{display:flex;width:100%;justify-content:flex-start;align-items:center;align-self:center;padding-bottom:var(--iu--padding--extra-small);box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iu__item-label{display:flex;max-width:80%;align-self:stretch;align-items:center}.file__name{font-weight:200}.box__content{width:100%;justify-content:center;align-items:center;height:100%;border:1px dashed var(--iu__border--color);border-radius:6px;box-sizing:border-box}.box__container{display:flex;flex-wrap:wrap;background-color:var(--iu__container--background-color);padding:6px;width:100%;border-radius:12px}a:-webkit-any-link{color:#008561;fill:#008561;cursor:pointer;text-decoration:none}progress[value]{display:flex;width:100%;appearance:none;border:1px solid var(--iu__border--color);height:12px;justify-content:flex-start;align-items:center;border-radius:3px;position:relative}progress[value]::-webkit-progress-bar{display:flex;-webkit-appearance:none;width:100%;background-color:rgb(255, 255, 255);border-radius:2px;padding:2px}progress[value]::-webkit-progress-value{display:flex;width:100%;background-color:var(--iu__color--primary)}.text--center{text-align:center}.align--middle{align-self:center;align-items:center}.text{font-family:\"Sora\", \"Algerian\";text-shadow:0 0 0 #353535, 0 0 1px transparent}.text--primary{color:var(--iu--text--primary);text-shadow:var(--iu--text-shadow)}.text--ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text--medium{font-size:14px}.text--small{font-size:12px}.btn-cancel{outline:none;border:none;background-color:unset;cursor:pointer}.btn-cancel::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:8px;height:8px;-webkit-mask-image:var(--iu__btn__cancel-image);mask-image:var(--iu__btn__cancel-image)}.iu_header{display:flex;flex-direction:column;width:100%}.iu__label{padding:var(--space--small);box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--iu--font-family);font-size:var(--text--extra-small);font-weight:var(--iu--font-weight);color:var(--iu--text--primary);text-shadow:var(--iu--text-shadow)}.iu__file-icon{outline:none;border:none;background-color:unset;cursor:pointer}.iu__file-icon:disabled{cursor:unset}.iu__file-icon::after{content:'';display:flex;background-color:var(--text--primary, #626e82);width:9px;height:11px;-webkit-mask-image:var(--iu__file-icon-image);mask-image:var(--iu__file-icon-image)}.iu__file-icon:disabled::after{background-color:var(--text--disable, #AFB6C0)}.iu__icon-label{justify-content:center;display:flex;cursor:pointer;padding:var(--iu--padding--large) 0px;box-sizing:border-box}.background--disabled{background-color:var(--color--disable-secondary, #F2F5F8)}.text--disabled{color:var(--text--disable, #AFB6C0)}.mouse-pointer--disabled{cursor:unset}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}";
5368
+ const ezUploadCss = ":host{--ez-upload--height:42px;--ez-upload--width:100%;--ez-upload__icon--width:48px;--ez-upload__container--background-color:var(--background--medium, #d2dce9);--ez-upload__color--primary:var(--color--primary, #008561);--ez-upload--padding--extra-small:var(--space--extra-small, 3px);--ez-upload--padding--small:var(--space--small, 6px);--ez-upload--padding--medium:var(--space--medium, 12px);--ez-upload--padding--large:var(--space--large, 24px);--ez-upload__border--color:var(--color-strokes, #DCE0E8);--ez-upload--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-upload--text--primary:var(--text-primary, #626e82);--ez-upload--font-size:var(--text--medium, 14px);--ez-upload--font-family:var(--font-pattern, Arial);--ez-upload--font-weight:var(--text-weight--large, 500);--ez-upload__btn__cancel-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"8x\" width=\"8px\"><path d=\"M 8,0.8 7.2,0 4,3.2 0.8,0 0,0.8 3.2,4 0,7.2 0.8,8 4,4.8 7.2,8 8,7.2 4.8,4 Z\"/></svg>');--ez-upload__file-icon-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"11x\" width=\"9px\"><path d=\"M 1.2272719,8.4999999 V 2.75 c 0,-1.1045695 1.4652499,-2 3.2727273,-2 1.8074777,0 3.2727281,0.8954305 3.2727281,2 V 8.9999999 C 7.7727273,9.690356 6.8569456,10.25 5.7272719,10.25 4.5975985,10.25 3.6818174,9.690356 3.6818174,8.9999999 V 3.75 c 0,-0.2761425 0.3663125,-0.5 0.8181818,-0.5 0.4518694,0 0.8181818,0.2238575 0.8181818,0.5 V 8.4999999 H 6.5454537 V 3.75 C 6.5454537,3.059644 5.6296725,2.5 4.4999992,2.5 3.3703258,2.5 2.4545446,3.059644 2.4545446,3.75 V 8.9999999 C 2.4545446,10.10457 3.9197945,11 5.7272719,11 7.5347496,11 9,10.10457 9,8.9999999 V 2.75 C 9,1.231217 6.9852809,0 4.4999992,0 2.0147181,5e-7 0,1.231217 0,2.75 v 5.7499999 z\"/></svg>');display:flex;flex-wrap:wrap;position:relative;font-family:var(--ez-upload--font-family);font-size:var(--ez-upload--font-size);width:var(--ez-upload--width);font-weight:var(--ez-upload--font-weight)}.iu{display:flex;flex-wrap:wrap;background-color:var(--ez-upload__container--background-color);padding:var(--ez-upload--padding--small);width:100%;border-radius:12px;box-sizing:border-box}.iu__container{width:100%;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;border:2px dashed var(--ez-upload__border--color);border-radius:6px;box-sizing:border-box}.iu__footer{display:flex;flex-wrap:wrap;justify-content:flex-start;width:100%;padding:0 var(--ez-upload--padding--medium) var(--ez-upload--padding--medium) var(--ez-upload--padding--medium);box-sizing:border-box}.iu__item{display:flex;width:100%;justify-content:flex-start;align-items:center;align-self:center;padding-bottom:var(--ez-upload--padding--extra-small);box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iu__item-label{display:flex;max-width:80%;align-self:stretch;align-items:center}.file__name{font-weight:200}.box__content{width:100%;justify-content:center;align-items:center;height:100%;border:1px dashed var(--ez-upload__border--color);border-radius:6px;box-sizing:border-box}.box__container{display:flex;flex-wrap:wrap;background-color:var(--ez-upload__container--background-color);padding:6px;width:100%;border-radius:12px}a:-webkit-any-link{color:#008561;fill:#008561;cursor:pointer;text-decoration:none}progress[value]{display:flex;width:100%;appearance:none;border:1px solid var(--ez-upload__border--color);height:12px;justify-content:flex-start;align-items:center;border-radius:3px;position:relative}progress[value]::-webkit-progress-bar{display:flex;-webkit-appearance:none;width:100%;background-color:rgb(255, 255, 255);border-radius:2px;padding:2px}progress[value]::-webkit-progress-value{display:flex;width:100%;background-color:var(--ez-upload__color--primary)}.text--center{text-align:center}.align--middle{align-self:center;align-items:center}.text{font-family:\"Sora\", \"Algerian\";text-shadow:0 0 0 #353535, 0 0 1px transparent}.text--primary{color:var(--ez-upload--text--primary);text-shadow:var(--ez-upload--text-shadow)}.text--ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text--medium{font-size:14px}.text--small{font-size:12px}.btn-cancel{outline:none;border:none;background-color:unset;cursor:pointer}.btn-cancel::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:8px;height:8px;-webkit-mask-image:var(--ez-upload__btn__cancel-image);mask-image:var(--ez-upload__btn__cancel-image)}.iu_header{display:flex;flex-direction:column;width:100%}.iu__label{padding:var(--space--small);box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--ez-upload--font-family);font-size:var(--text--extra-small);font-weight:var(--ez-upload--font-weight);color:var(--ez-upload--text--primary);text-shadow:var(--ez-upload--text-shadow)}.iu__file-icon{outline:none;border:none;background-color:unset;cursor:pointer}.iu__file-icon:disabled{cursor:unset}.iu__file-icon::after{content:'';display:flex;background-color:var(--text--primary, #626e82);width:9px;height:11px;-webkit-mask-image:var(--ez-upload__file-icon-image);mask-image:var(--ez-upload__file-icon-image)}.iu__file-icon:disabled::after{background-color:var(--text--disable, #AFB6C0)}.iu__icon-label{justify-content:center;display:flex;cursor:pointer;padding:var(--ez-upload--padding--large) 0px;box-sizing:border-box}.background--disabled{background-color:var(--color--disable-secondary, #F2F5F8)}.text--disabled{color:var(--text--disable, #AFB6C0)}.mouse-pointer--disabled{cursor:unset}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}";
5336
5369
 
5337
5370
  let EzUpload$1 = class extends HTMLElement {
5338
5371
  constructor() {
@@ -5365,28 +5398,31 @@ let EzUpload$1 = class extends HTMLElement {
5365
5398
  }
5366
5399
  normalizeRequestHeaders() {
5367
5400
  this._requestHeaders = new Map();
5368
- if (typeof this.requestheaders == 'string') {
5401
+ if (typeof this.requestHeaders == "string") {
5369
5402
  try {
5370
- this.requestheaders = JSON.parse(this.requestheaders);
5403
+ this.requestHeaders = JSON.parse(this.requestHeaders);
5371
5404
  }
5372
5405
  catch (e) {
5373
- this.requestheaders = undefined;
5406
+ this.requestHeaders = undefined;
5374
5407
  }
5375
5408
  }
5376
- for (var key in this.requestheaders) {
5377
- this._requestHeaders.set(key, this.requestheaders[key]);
5409
+ for (var key in this.requestHeaders) {
5410
+ this._requestHeaders.set(key, this.requestHeaders[key]);
5378
5411
  }
5379
5412
  }
5413
+ /**
5414
+ * Método responsável por adicionar um ou mais arquivos ao componente.
5415
+ */
5380
5416
  async addFiles(files) {
5381
- if (this.maxfiles > 0) {
5417
+ if (this.maxFiles > 0) {
5382
5418
  let countDistinctFiles = this._filePointers.size;
5383
5419
  files.forEach(file => {
5384
5420
  if (!this._filePointers.has(file.name)) {
5385
5421
  countDistinctFiles++;
5386
5422
  }
5387
5423
  });
5388
- if (countDistinctFiles > this.maxfiles) {
5389
- this.showError(`A quantidade máxima de arquivos é ${this.maxfiles}.`);
5424
+ if (countDistinctFiles > this.maxFiles) {
5425
+ this.showError(`A quantidade máxima de arquivos é ${this.maxFiles}.`);
5390
5426
  return;
5391
5427
  }
5392
5428
  }
@@ -5413,7 +5449,7 @@ let EzUpload$1 = class extends HTMLElement {
5413
5449
  if (this.validateFile(file)) {
5414
5450
  const uploadingFile = new RemoteFile(file);
5415
5451
  this._filePointers.set(file.name, uploadingFile);
5416
- uploadingFile.upload(this.urlupload, this._requestHeaders, (file) => this.updateFeedback(file))
5452
+ uploadingFile.upload(this.urlUpload, this._requestHeaders, (file) => this.updateFeedback(file))
5417
5453
  .then((files) => files.forEach(ezFile => this.finishUpload(ezFile)))
5418
5454
  .catch(msg => this.showError(msg));
5419
5455
  forceUpdate(this);
@@ -5434,13 +5470,13 @@ let EzUpload$1 = class extends HTMLElement {
5434
5470
  this.ezChange.emit(this.value);
5435
5471
  }
5436
5472
  buildProgressId(uploading) {
5437
- let sanitizedName = uploading.name.replace(/[^a-z0-9_]/gi, '_');
5473
+ let sanitizedName = uploading.name.replace(/[^a-z0-9_]/gi, "_");
5438
5474
  return `PROGRESS_${sanitizedName}_${uploading.file.lastModified}`;
5439
5475
  }
5440
5476
  updateFeedback(uf) {
5441
5477
  window.requestAnimationFrame(() => {
5442
5478
  if (this._host) {
5443
- const progress = this._host.shadowRoot.querySelector('#' + this.buildProgressId(uf));
5479
+ const progress = this._host.shadowRoot.querySelector("#" + this.buildProgressId(uf));
5444
5480
  if (progress) {
5445
5481
  progress.value = uf.progress;
5446
5482
  }
@@ -5448,20 +5484,20 @@ let EzUpload$1 = class extends HTMLElement {
5448
5484
  });
5449
5485
  }
5450
5486
  validateFile(file) {
5451
- if (!this._filePointers.has(file.name) && this.maxfiles > 0 && this._filePointers.size >= this.maxfiles) {
5452
- this.showError(`A quantidade máxima de arquivos é ${this.maxfiles}.`);
5487
+ if (!this._filePointers.has(file.name) && this.maxFiles > 0 && this._filePointers.size >= this.maxFiles) {
5488
+ this.showError(`A quantidade máxima de arquivos é ${this.maxFiles}.`);
5453
5489
  return false;
5454
5490
  }
5455
5491
  if (file.size === 0) {
5456
5492
  this.showError(`Erro de permissão: O arquivo "${file.name}" não pode ser enviado.`);
5457
5493
  return false;
5458
5494
  }
5459
- if (!this.urlupload) {
5495
+ if (!this.urlUpload) {
5460
5496
  this.showError("Endereço de upload não informado");
5461
5497
  return false;
5462
5498
  }
5463
- if (this.maxfilesize >= 0 && file.size > this.maxfilesize) {
5464
- this.showError("O tamanho máximo dos arquivos é de " + this.formatBytes(this.maxfilesize));
5499
+ if (this.maxFileSize >= 0 && file.size > this.maxFileSize) {
5500
+ this.showError("O tamanho máximo dos arquivos é de " + this.formatBytes(this.maxFileSize));
5465
5501
  return false;
5466
5502
  }
5467
5503
  return true;
@@ -5471,17 +5507,17 @@ let EzUpload$1 = class extends HTMLElement {
5471
5507
  }
5472
5508
  formatBytes(bytes, decimals = 1) {
5473
5509
  if (bytes === 0)
5474
- return '0 Bytes';
5510
+ return "0 Bytes";
5475
5511
  const k = 1024;
5476
5512
  const dm = decimals < 0 ? 0 : decimals;
5477
- const sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
5513
+ const sizes = ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
5478
5514
  const i = Math.floor(Math.log(bytes) / Math.log(k));
5479
- return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i];
5515
+ return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + " " + sizes[i];
5480
5516
  }
5481
5517
  onFileInputChange(event) {
5482
5518
  const input = event.target;
5483
5519
  this.addFiles(Array.from(input.files));
5484
- this._fileInput.value = '';
5520
+ this._fileInput.value = "";
5485
5521
  }
5486
5522
  isRemoteFile(item) {
5487
5523
  return "file" in item;
@@ -5497,10 +5533,10 @@ let EzUpload$1 = class extends HTMLElement {
5497
5533
  this.removeFromList(name);
5498
5534
  }
5499
5535
  else {
5500
- if (this.urldelete) {
5536
+ if (this.urlDelete) {
5501
5537
  const uploadingFile = new RemoteFile(null);
5502
5538
  this._filePointers.set(item.name, uploadingFile);
5503
- uploadingFile.delete(item, this.urldelete, null)
5539
+ uploadingFile.delete(item, this.urlDelete, null)
5504
5540
  .then(_ok => this.removeFromList(name))
5505
5541
  .catch(msg => this.showError(msg));
5506
5542
  }
@@ -5516,20 +5552,20 @@ let EzUpload$1 = class extends HTMLElement {
5516
5552
  }
5517
5553
  componentDidLoad() {
5518
5554
  if (this.enabled && this._dropZone && window.FileList && window.File) {
5519
- this._dropZone.addEventListener('dragover', event => {
5555
+ this._dropZone.addEventListener("dragover", event => {
5520
5556
  event.stopPropagation();
5521
5557
  event.preventDefault();
5522
- event.dataTransfer.dropEffect = 'copy';
5523
- this._dropZone.style.background = '#c2dbff';
5558
+ event.dataTransfer.dropEffect = "copy";
5559
+ this._dropZone.style.background = "#c2dbff";
5524
5560
  });
5525
- this._dropZone.addEventListener('drop', event => {
5561
+ this._dropZone.addEventListener("drop", event => {
5526
5562
  event.stopPropagation();
5527
5563
  event.preventDefault();
5528
5564
  this.addFiles(Array.from(event.dataTransfer.files));
5529
- this._dropZone.style.background = '';
5565
+ this._dropZone.style.background = "";
5530
5566
  });
5531
- this._dropZone.addEventListener('dragleave', _event => {
5532
- this._dropZone.style.background = '';
5567
+ this._dropZone.addEventListener("dragleave", _event => {
5568
+ this._dropZone.style.background = "";
5533
5569
  });
5534
5570
  }
5535
5571
  }
@@ -5541,7 +5577,7 @@ let EzUpload$1 = class extends HTMLElement {
5541
5577
  }
5542
5578
  }
5543
5579
  render() {
5544
- return (h("div", { ref: (el) => this._dropZone = el, class: this.evalDisabledClass('iu', 'background--disabled') }, h("div", { class: "iu__container", onClick: () => this.openFilesDialog() }, h("div", { class: "iu_header" }, this.label ? h("label", { class: this.evalDisabledClass('iu__label', 'text--disabled'), title: this.label }, this.label) : null, h("div", { class: this.evalDisabledClass('iu__icon-label', 'mouse-pointer--disabled') }, h("button", { class: "iu__file-icon", disabled: !this.enabled }), h("div", { class: this.evalDisabledClass('text text--center text--medium text--primary', 'text--disabled') }, this.enabled ? 'Arraste e solte ou clique para adicionar arquivos' : 'Somente leitura'))), this.buildFooter()), h("input", { ref: (el) => this._fileInput = el, onChange: (ev) => this.onFileInputChange(ev), type: "file", multiple: true, hidden: true })));
5580
+ return (h("div", { ref: (el) => this._dropZone = el, class: this.evalDisabledClass("iu", "background--disabled") }, h("div", { class: "iu__container", onClick: () => this.openFilesDialog() }, h("div", { class: "iu_header" }, this.label ? h("label", { class: this.evalDisabledClass("iu__label", "text--disabled"), title: this.label }, this.label) : null, h("div", { class: this.evalDisabledClass("iu__icon-label", "mouse-pointer--disabled") }, h("button", { class: "iu__file-icon", disabled: !this.enabled }), h("div", { class: this.evalDisabledClass("text text--center text--medium text--primary", "text--disabled") }, this.enabled ? "Arraste e solte ou clique para adicionar arquivos" : "Somente leitura"))), this.buildFooter()), h("input", { ref: (el) => this._fileInput = el, onChange: (ev) => this.onFileInputChange(ev), type: "file", multiple: true, hidden: true })));
5545
5581
  }
5546
5582
  buildFooter() {
5547
5583
  if (this._filePointers.size === 0) {
@@ -5553,8 +5589,8 @@ let EzUpload$1 = class extends HTMLElement {
5553
5589
  }
5554
5590
  buildFileItem(item) {
5555
5591
  const fileName = item.name;
5556
- const progress = Number(item['progress']);
5557
- const downloadURL = item['downloadURL'];
5592
+ const progress = Number(item["progress"]);
5593
+ const downloadURL = item["downloadURL"];
5558
5594
  const label = `${fileName} (${this.formatBytes(item.size)})`;
5559
5595
  return (h("div", { class: "iu__item", key: fileName, onClick: evt => evt.stopPropagation() }, h("div", { class: "iu__item-label modificador" }, h("div", { title: label, class: "col--stretch align--middle file__name text text--primary text--small text--ellipsis align--middle" }, downloadURL ? h("a", { href: downloadURL, download: true }, label) : label)), isNaN(progress)
5560
5596
  ?
@@ -5572,7 +5608,7 @@ let EzUpload$1 = class extends HTMLElement {
5572
5608
  get _host() { return this; }
5573
5609
  static get watchers() { return {
5574
5610
  "value": ["changeValue"],
5575
- "requestheaders": ["normalizeRequestHeaders"]
5611
+ "requestHeaders": ["normalizeRequestHeaders"]
5576
5612
  }; }
5577
5613
  static get style() { return ezUploadCss; }
5578
5614
  };
@@ -5593,7 +5629,7 @@ let FormMetadata$1 = class extends HTMLElement {
5593
5629
  label = "Selecione uma das opções:";
5594
5630
  }
5595
5631
  const objOpts = {};
5596
- Array.from(element.getElementsByTagName('OPTION')).forEach((optElem, index) => {
5632
+ Array.from(element.getElementsByTagName("OPTION")).forEach((optElem, index) => {
5597
5633
  const optValue = optElem.getAttribute("value") || index;
5598
5634
  const optLabel = optElem.textContent;
5599
5635
  objOpts[optValue] = optLabel;
@@ -5601,15 +5637,15 @@ let FormMetadata$1 = class extends HTMLElement {
5601
5637
  properties.push({ name: "options", value: JSON.stringify(objOpts) });
5602
5638
  }
5603
5639
  else if (userInterface === "FILE") {
5604
- const urlElement = element.querySelector('URL');
5605
- const headersElement = element.querySelectorAll('HEADERS>HEADER');
5640
+ const urlElement = element.querySelector("URL");
5641
+ const headersElement = element.querySelectorAll("HEADERS>HEADER");
5606
5642
  if (urlElement) {
5607
5643
  properties.push({ name: "URL", value: urlElement.textContent });
5608
5644
  }
5609
5645
  if (headersElement && headersElement.length > 0) {
5610
5646
  const headers = {};
5611
5647
  headersElement.forEach(header => {
5612
- headers[header.getAttribute('name')] = header.textContent;
5648
+ headers[header.getAttribute("name")] = header.textContent;
5613
5649
  });
5614
5650
  properties.push({ name: "HEADERS", value: JSON.stringify(headers) });
5615
5651
  }
@@ -5635,7 +5671,7 @@ let FormMetadata$1 = class extends HTMLElement {
5635
5671
  }
5636
5672
  buildFieldSet(dataUnit, element) {
5637
5673
  const label = element.getAttribute("label");
5638
- const fields = Array.from(element.getElementsByTagName('FIELD')).map(f => {
5674
+ const fields = Array.from(element.getElementsByTagName("FIELD")).map(f => {
5639
5675
  const field = this.buildField(f);
5640
5676
  dataUnit.addFieldMetadata(field);
5641
5677
  return { name: field.name };
@@ -5652,7 +5688,7 @@ let FormMetadata$1 = class extends HTMLElement {
5652
5688
  Array.from(elements).forEach(child => {
5653
5689
  const tagName = child.tagName.toUpperCase();
5654
5690
  switch (tagName) {
5655
- case 'FIELD':
5691
+ case "FIELD":
5656
5692
  if (!form.items) {
5657
5693
  form.items = [];
5658
5694
  }
@@ -5660,13 +5696,13 @@ let FormMetadata$1 = class extends HTMLElement {
5660
5696
  dataUnit.addFieldMetadata(f);
5661
5697
  form.items.push({ name: f.name });
5662
5698
  break;
5663
- case 'FIELD-SET':
5699
+ case "FIELD-SET":
5664
5700
  if (!form.items) {
5665
5701
  form.items = [];
5666
5702
  }
5667
5703
  form.items.push(this.buildFieldSet(dataUnit, child));
5668
5704
  break;
5669
- case 'SUB-FORM':
5705
+ case "SUB-FORM":
5670
5706
  if (!form.subForms) {
5671
5707
  form.subForms = [];
5672
5708
  }
@@ -5675,7 +5711,7 @@ let FormMetadata$1 = class extends HTMLElement {
5675
5711
  const subDuName = child.getAttribute("dataunit");
5676
5712
  let subDu;
5677
5713
  if (subDuName) {
5678
- subDu = new DataUnit(subDuName, 'noname', child.hasAttribute("many") ? 'N' : '1');
5714
+ subDu = new DataUnit(subDuName, "noname", child.hasAttribute("many") ? "N" : "1");
5679
5715
  }
5680
5716
  else {
5681
5717
  subDu = dataUnit;
@@ -5690,7 +5726,7 @@ let FormMetadata$1 = class extends HTMLElement {
5690
5726
  if (!this.dataunit) {
5691
5727
  this.dataunit = "dataunit_" + (this.name || this.label || new Date().getTime());
5692
5728
  }
5693
- const du = new DataUnit(this.dataunit, 'noname', this.many ? 'N' : '1');
5729
+ const du = new DataUnit(this.dataunit, "noname", this.many ? "N" : "1");
5694
5730
  this.metadata = this.fromElements(this._host.children, this.label, this.name, du, this.autoload);
5695
5731
  }
5696
5732
  render() {
@@ -5717,11 +5753,11 @@ const EzActionChip = /*@__PURE__*/proxyCustomElement(EzLabelChip$2, [1,"ez-actio
5717
5753
  const EzButton = /*@__PURE__*/proxyCustomElement(EzButton$1, [1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513]}]);
5718
5754
  const EzCalendar = /*@__PURE__*/proxyCustomElement(EzCalendar$1, [1,"ez-calendar",{"value":[1040],"floating":[516]}]);
5719
5755
  const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"value":[1540],"enabled":[516],"mode":[513]}]);
5720
- const EzCollapsibleBox = /*@__PURE__*/proxyCustomElement(EzCollapsibleBox$1, [1,"ez-collapsible-box",{"value":[1540],"label":[513],"headersize":[513],"iconplacement":[513]}]);
5756
+ const EzCollapsibleBox = /*@__PURE__*/proxyCustomElement(EzCollapsibleBox$1, [1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"]}]);
5721
5757
  const EzComboBox = /*@__PURE__*/proxyCustomElement(EzComboBox$1, [1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"optionLoader":[16],"_preSelection":[32],"_visibleOptions":[32]}]);
5722
5758
  const EzDateInput = /*@__PURE__*/proxyCustomElement(EzDateInput$1, [1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"]}]);
5723
5759
  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"]}]);
5724
- const EzForm = /*@__PURE__*/proxyCustomElement(EzForm$1, [0,"ez-form",{"metadataexecutor":[1],"loadexecutor":[1],"saveexecutor":[1],"removeexecutor":[1],"fieldsearchexecutor":[1],"ignoresavevalidation":[4],"metadata":[16],"slavemode":[4],"enabled":[4],"loading":[1540]}]);
5760
+ const EzForm = /*@__PURE__*/proxyCustomElement(EzForm$1, [0,"ez-form",{"metadataExecutor":[1,"metadata-executor"],"loadExecutor":[1,"load-executor"],"saveExecutor":[1,"save-executor"],"removeExecutor":[1,"remove-executor"],"fieldSearchExecutor":[1,"field-search-executor"],"ignoreSaveValidation":[4,"ignore-save-validation"],"metadata":[16],"slaveMode":[4,"slave-mode"],"enabled":[4],"loading":[1540]}]);
5725
5761
  const EzIcon = /*@__PURE__*/proxyCustomElement(EzIcon$1, [1,"ez-icon",{"size":[513],"href":[513]}]);
5726
5762
  const EzLabelChip = /*@__PURE__*/proxyCustomElement(EzLabelChip$1, [1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540]}]);
5727
5763
  const EzList = /*@__PURE__*/proxyCustomElement(EzList$1, [1,"ez-list",{"initialList":[1040],"draggable":[4],"isMultipleSelection":[1540,"is-multiple-selection"]}]);
@@ -5730,13 +5766,13 @@ const EzNumberInput = /*@__PURE__*/proxyCustomElement(NumberInput, [1,"ez-number
5730
5766
  const EzNumericInput = /*@__PURE__*/proxyCustomElement(EzNumericInput$1, [1,"ez-numeric-input",{"label":[513],"value":[1538],"enabled":[516],"errorMessage":[1537,"error-message"],"precision":[8],"prettyprecision":[8]}]);
5731
5767
  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]}]);
5732
5768
  const EzPopup = /*@__PURE__*/proxyCustomElement(EzPopup$1, [1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[1540,"use-header"],"ezTitle":[1,"ez-title"]}]);
5733
- const EzSearch = /*@__PURE__*/proxyCustomElement(EzSearch$1, [1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionloader":[16],"showselectedvalue":[4],"showoptionvalue":[4]}]);
5769
+ 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"]}]);
5734
5770
  const EzTabselector = /*@__PURE__*/proxyCustomElement(EzTabselector$1, [1,"ez-tabselector",{"selectedIndex":[1537,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1]}]);
5735
5771
  const EzTextArea = /*@__PURE__*/proxyCustomElement(EzTextArea$1, [1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"rows":[1538]}]);
5736
5772
  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]}]);
5737
5773
  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"]}]);
5738
5774
  const EzToast = /*@__PURE__*/proxyCustomElement(EzToast$1, [1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"]}]);
5739
- const EzUpload = /*@__PURE__*/proxyCustomElement(EzUpload$1, [1,"ez-upload",{"label":[1],"enabled":[4],"maxfilesize":[2],"maxfiles":[2],"requestheaders":[8],"urlupload":[1],"urldelete":[1],"value":[1040]}]);
5775
+ const EzUpload = /*@__PURE__*/proxyCustomElement(EzUpload$1, [1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040]}]);
5740
5776
  const FormMetadata = /*@__PURE__*/proxyCustomElement(FormMetadata$1, [1,"form-metadata",{"name":[1],"label":[1],"dataunit":[1025],"many":[4],"autoload":[4],"metadata":[1040]}]);
5741
5777
  const PlaceHolder = /*@__PURE__*/proxyCustomElement(PlaceHolder$1, [1,"place-holder"]);
5742
5778
  const defineCustomElements = (opts) => {