@sankhyalabs/ezui 1.2.0-beta.6 → 1.2.0-beta.7

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 (147) hide show
  1. package/dist/cjs/{ApplicationUtils-483c0a9e.js → ApplicationUtils-2ac1b73e.js} +2 -1
  2. package/dist/cjs/ApplicationUtils-475b50d9.js +63 -0
  3. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  4. package/dist/cjs/css-shim-3bfdba4f.js +6 -0
  5. package/dist/cjs/dom-8ac1ad03.js +75 -0
  6. package/dist/cjs/ez-actions-button.cjs.entry.js +7 -6
  7. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-calendar.cjs.entry.js +4 -4
  10. package/dist/cjs/ez-card-item.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-combo-box.cjs.entry.js +7 -6
  15. package/dist/cjs/ez-date-input.cjs.entry.js +6 -6
  16. package/dist/cjs/ez-date-time-input.cjs.entry.js +4 -4
  17. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  18. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  19. package/dist/cjs/ez-form.cjs.entry.js +460 -49
  20. package/dist/cjs/ez-grid-config.cjs.entry.js +5 -5
  21. package/dist/cjs/ez-grid.cjs.entry.js +1153 -989
  22. package/dist/cjs/ez-icon.cjs.entry.js +3 -3
  23. package/dist/cjs/ez-list.cjs.entry.js +3 -1
  24. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  25. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-number-input.cjs.entry.js +4 -4
  27. package/dist/cjs/ez-popover.cjs.entry.js +5 -5
  28. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  29. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-scroller.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-search.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-select-box.cjs.entry.js +1 -1
  33. package/dist/cjs/ez-tabselector.cjs.entry.js +2 -1
  34. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  35. package/dist/cjs/ez-text-input.cjs.entry.js +3 -3
  36. package/dist/cjs/ez-time-input.cjs.entry.js +7 -7
  37. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-upload.cjs.entry.js +2 -2
  39. package/dist/cjs/ez-view-stack.cjs.entry.js +2 -1
  40. package/dist/cjs/ezui.cjs.js +112 -4
  41. package/dist/cjs/index-0ad7c3e4.js +6 -0
  42. package/dist/cjs/index-2ec1da82.js +2307 -0
  43. package/dist/cjs/index-d9c5cb88.js +3068 -0
  44. package/dist/cjs/loader.cjs.js +18 -2
  45. package/dist/cjs/shadow-css-41d9783d.js +390 -0
  46. package/dist/collection/collection-manifest.json +2 -2
  47. package/dist/collection/utils/ApplicationUtils.js +2 -1
  48. package/dist/custom-elements/index.js +3844 -967
  49. package/dist/esm/ApplicationUtils-30a69eb0.js +61 -0
  50. package/dist/esm/{ApplicationUtils-5f87ae60.js → ApplicationUtils-a4a76132.js} +2 -1
  51. package/dist/esm/app-globals-0f993ce5.js +3 -0
  52. package/dist/esm/css-shim-20dbffa5.js +4 -0
  53. package/dist/esm/dom-c5ed0ba5.js +73 -0
  54. package/dist/esm/ez-actions-button.entry.js +4 -3
  55. package/dist/esm/ez-application.entry.js +1 -1
  56. package/dist/esm/ez-button.entry.js +1 -1
  57. package/dist/esm/ez-calendar.entry.js +2 -2
  58. package/dist/esm/ez-card-item.entry.js +1 -1
  59. package/dist/esm/ez-check.entry.js +1 -1
  60. package/dist/esm/ez-chip.entry.js +1 -1
  61. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  62. package/dist/esm/ez-combo-box.entry.js +4 -3
  63. package/dist/esm/ez-date-input.entry.js +2 -2
  64. package/dist/esm/ez-date-time-input.entry.js +2 -2
  65. package/dist/esm/ez-dialog.entry.js +1 -1
  66. package/dist/esm/ez-filter-input.entry.js +1 -1
  67. package/dist/esm/ez-form.entry.js +426 -15
  68. package/dist/esm/ez-grid-config.entry.js +3 -3
  69. package/dist/esm/ez-grid.entry.js +1119 -955
  70. package/dist/esm/ez-icon.entry.js +2 -2
  71. package/dist/esm/ez-list.entry.js +3 -1
  72. package/dist/esm/ez-loading-bar.entry.js +1 -1
  73. package/dist/esm/ez-modal.entry.js +1 -1
  74. package/dist/esm/ez-number-input.entry.js +2 -2
  75. package/dist/esm/ez-popover.entry.js +2 -2
  76. package/dist/esm/ez-popup.entry.js +1 -1
  77. package/dist/esm/ez-radio-button.entry.js +1 -1
  78. package/dist/esm/ez-scroller.entry.js +1 -1
  79. package/dist/esm/ez-search.entry.js +1 -1
  80. package/dist/esm/ez-select-box.entry.js +1 -1
  81. package/dist/esm/ez-tabselector.entry.js +2 -1
  82. package/dist/esm/ez-text-area.entry.js +1 -1
  83. package/dist/esm/ez-text-input.entry.js +2 -2
  84. package/dist/esm/ez-time-input.entry.js +2 -2
  85. package/dist/esm/ez-toast.entry.js +1 -1
  86. package/dist/esm/ez-upload.entry.js +2 -2
  87. package/dist/esm/ez-view-stack.entry.js +2 -1
  88. package/dist/esm/ezui.js +112 -4
  89. package/dist/esm/index-12b43518.js +3 -0
  90. package/dist/esm/index-1e9d524f.js +3031 -0
  91. package/dist/esm/index-b96183c8.js +2295 -0
  92. package/dist/esm/loader.js +18 -2
  93. package/dist/esm/shadow-css-8c625855.js +388 -0
  94. package/dist/ezui/ApplicationUtils-30a69eb0.js +61 -0
  95. package/dist/ezui/CSSVarsUtils-499b75c2.js +53 -0
  96. package/dist/ezui/DialogType-72afa679.js +8 -0
  97. package/dist/ezui/app-globals-0f993ce5.js +3 -0
  98. package/dist/ezui/css-shim-20dbffa5.js +4 -0
  99. package/dist/ezui/dom-c5ed0ba5.js +73 -0
  100. package/dist/ezui/ez-actions-button.entry.js +98 -0
  101. package/dist/ezui/ez-application.entry.js +22 -0
  102. package/dist/ezui/ez-button.entry.js +73 -0
  103. package/dist/ezui/ez-calendar.entry.js +219 -0
  104. package/dist/ezui/ez-card-item.entry.js +40 -0
  105. package/dist/ezui/ez-check.entry.js +72 -0
  106. package/dist/ezui/ez-chip.entry.js +97 -0
  107. package/dist/ezui/ez-collapsible-box.entry.js +57 -0
  108. package/dist/ezui/ez-combo-box.entry.js +439 -0
  109. package/dist/ezui/ez-date-input.entry.js +159 -0
  110. package/dist/ezui/ez-date-time-input.entry.js +214 -0
  111. package/dist/ezui/ez-dialog.entry.js +108 -0
  112. package/dist/ezui/ez-filter-input.entry.js +75 -0
  113. package/dist/ezui/ez-form.entry.js +1395 -0
  114. package/dist/ezui/ez-grid-config.entry.js +433 -0
  115. package/dist/ezui/ez-grid.entry.js +115419 -0
  116. package/dist/ezui/ez-icon.entry.js +37 -0
  117. package/dist/ezui/ez-list.entry.js +516 -0
  118. package/dist/ezui/ez-loading-bar.entry.js +24 -0
  119. package/dist/ezui/ez-modal.entry.js +67 -0
  120. package/dist/ezui/ez-number-input.entry.js +148 -0
  121. package/dist/ezui/ez-popover.entry.js +141 -0
  122. package/dist/ezui/ez-popup.entry.js +49 -0
  123. package/dist/ezui/ez-radio-button.entry.js +45 -0
  124. package/dist/ezui/ez-scroller.entry.js +101 -0
  125. package/dist/ezui/ez-search.entry.js +83 -0
  126. package/dist/ezui/ez-select-box.entry.js +18 -0
  127. package/dist/ezui/ez-tabselector.entry.js +195 -0
  128. package/dist/ezui/ez-text-area.entry.js +158 -0
  129. package/dist/ezui/ez-text-input.entry.js +235 -0
  130. package/dist/ezui/ez-time-input.entry.js +164 -0
  131. package/dist/ezui/ez-toast.entry.js +84 -0
  132. package/dist/ezui/ez-upload.entry.js +379 -0
  133. package/dist/ezui/ez-view-stack.entry.js +74 -0
  134. package/dist/ezui/ezui.esm.js +125 -1
  135. package/dist/ezui/index-12b43518.js +3 -0
  136. package/dist/ezui/index-1e9d524f.js +3031 -0
  137. package/dist/ezui/index-b96183c8.js +2295 -0
  138. package/dist/ezui/index.esm.js +1 -0
  139. package/dist/ezui/{p-72ab066f.entry.js → p-4eb273f8.entry.js} +1 -1
  140. package/dist/ezui/p-adbe4188.js +1 -0
  141. package/dist/ezui/{p-6cfe20a0.entry.js → p-af43be42.entry.js} +1 -1
  142. package/dist/ezui/{p-47e06040.entry.js → p-c9d2060e.entry.js} +1 -1
  143. package/dist/ezui/{p-3ae441ec.entry.js → p-d836f546.entry.js} +1 -1
  144. package/dist/ezui/{p-7fe1ac9a.entry.js → p-e55fc20f.entry.js} +1 -1
  145. package/dist/ezui/shadow-css-8c625855.js +388 -0
  146. package/package.json +1 -1
  147. package/dist/ezui/p-898b9906.js +0 -1
@@ -0,0 +1,73 @@
1
+ /*
2
+ Stencil Client Patch Browser v2.13.0 | MIT Licensed | https://stenciljs.com
3
+ */
4
+ (function(){
5
+ var aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function g(a){var b=aa.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return !b&&a}function l(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return !(!a||!(a.__CE_isImportDocument||a instanceof Document))}
6
+ function n(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}
7
+ function p(a,b,d){d=void 0===d?new Set:d;for(var c=a;c;){if(c.nodeType===Node.ELEMENT_NODE){var e=c;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){c=e.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)p(c,b,d);c=n(a,e);continue}else if("template"===f){c=n(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)p(e,b,d);}c=c.firstChild?c.firstChild:n(a,c);}}function r(a,b,d){a[b]=d;}function u(){this.a=new Map;this.g=new Map;this.c=[];this.f=[];this.b=!1;}function ba(a,b,d){a.a.set(b,d);a.g.set(d.constructorFunction,d);}function ca(a,b){a.b=!0;a.c.push(b);}function da(a,b){a.b=!0;a.f.push(b);}function v(a,b){a.b&&p(b,function(b){return w(a,b)});}function w(a,b){if(a.b&&!b.__CE_patched){b.__CE_patched=!0;for(var d=0;d<a.c.length;d++)a.c[d](b);for(d=0;d<a.f.length;d++)a.f[d](b);}}
8
+ function x(a,b){var d=[];p(b,function(b){return d.push(b)});for(b=0;b<d.length;b++){var c=d[b];1===c.__CE_state?a.connectedCallback(c):y(a,c);}}function z(a,b){var d=[];p(b,function(b){return d.push(b)});for(b=0;b<d.length;b++){var c=d[b];1===c.__CE_state&&a.disconnectedCallback(c);}}
9
+ function A(a,b,d){d=void 0===d?{}:d;var c=d.u||new Set,e=d.i||function(b){return y(a,b)},f=[];p(b,function(b){if("link"===b.localName&&"import"===b.getAttribute("rel")){var d=b.import;d instanceof Node&&(d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0);d&&"complete"===d.readyState?d.__CE_documentLoadHandled=!0:b.addEventListener("load",function(){var d=b.import;if(!d.__CE_documentLoadHandled){d.__CE_documentLoadHandled=!0;var f=new Set(c);f.delete(d);A(a,d,{u:f,i:e});}});}else f.push(b);},c);if(a.b)for(b=
10
+ 0;b<f.length;b++)w(a,f[b]);for(b=0;b<f.length;b++)e(f[b]);}
11
+ function y(a,b){if(void 0===b.__CE_state){var d=b.ownerDocument;if(d.defaultView||d.__CE_isImportDocument&&d.__CE_hasRegistry)if(d=a.a.get(b.localName)){d.constructionStack.push(b);var c=d.constructorFunction;try{try{if(new c!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{d.constructionStack.pop();}}catch(t){throw b.__CE_state=2,t;}b.__CE_state=1;b.__CE_definition=d;if(d.attributeChangedCallback)for(d=d.observedAttributes,c=0;c<d.length;c++){var e=
12
+ d[c],f=b.getAttribute(e);null!==f&&a.attributeChangedCallback(b,e,null,f,null);}l(b)&&a.connectedCallback(b);}}}u.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a);};u.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a);};
13
+ u.prototype.attributeChangedCallback=function(a,b,d,c,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,d,c,e);};function B(a){var b=document;this.c=a;this.a=b;this.b=void 0;A(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}));}function C(a){a.b&&a.b.disconnect();}B.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||C(this);for(b=0;b<a.length;b++)for(var d=a[b].addedNodes,c=0;c<d.length;c++)A(this.c,d[c]);};function ea(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a);});}function D(a){if(a.a)throw Error("Already resolved.");a.a=void 0;a.b&&a.b(void 0);}function E(a){this.c=!1;this.a=a;this.j=new Map;this.f=function(b){return b()};this.b=!1;this.g=[];this.o=new B(a);}
14
+ E.prototype.l=function(a,b){var d=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!g(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.a.get(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var c=function(b){var a=e[b];if(void 0!==a&&!(a instanceof Function))throw Error("The '"+b+"' callback must be a function.");
15
+ return a},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=c("connectedCallback");var t=c("disconnectedCallback");var k=c("adoptedCallback");var h=c("attributeChangedCallback");var m=b.observedAttributes||[];}catch(q){return}finally{this.c=!1;}b={localName:a,constructorFunction:b,connectedCallback:f,disconnectedCallback:t,adoptedCallback:k,attributeChangedCallback:h,observedAttributes:m,constructionStack:[]};ba(this.a,
16
+ a,b);this.g.push(b);this.b||(this.b=!0,this.f(function(){return fa(d)}));};E.prototype.i=function(a){A(this.a,a);};
17
+ function fa(a){if(!1!==a.b){a.b=!1;for(var b=a.g,d=[],c=new Map,e=0;e<b.length;e++)c.set(b[e].localName,[]);A(a.a,document,{i:function(b){if(void 0===b.__CE_state){var e=b.localName,f=c.get(e);f?f.push(b):a.a.a.get(e)&&d.push(b);}}});for(e=0;e<d.length;e++)y(a.a,d[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=c.get(f.localName);for(var t=0;t<f.length;t++)y(a.a,f[t]);(e=a.j.get(e))&&D(e);}}}E.prototype.get=function(a){if(a=this.a.a.get(a))return a.constructorFunction};
18
+ E.prototype.m=function(a){if(!g(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.j.get(a);if(b)return b.c;b=new ea;this.j.set(a,b);this.a.a.get(a)&&!this.g.some(function(b){return b.localName===a})&&D(b);return b.c};E.prototype.s=function(a){C(this.o);var b=this.f;this.f=function(d){return a(function(){return b(d)})};};window.CustomElementRegistry=E;E.prototype.define=E.prototype.l;E.prototype.upgrade=E.prototype.i;E.prototype.get=E.prototype.get;
19
+ E.prototype.whenDefined=E.prototype.m;E.prototype.polyfillWrapFlushCallback=E.prototype.s;var F=window.Document.prototype.createElement,G=window.Document.prototype.createElementNS,ha=window.Document.prototype.importNode,ia=window.Document.prototype.prepend,ja=window.Document.prototype.append,ka=window.DocumentFragment.prototype.prepend,la=window.DocumentFragment.prototype.append,H=window.Node.prototype.cloneNode,I=window.Node.prototype.appendChild,J=window.Node.prototype.insertBefore,K=window.Node.prototype.removeChild,L=window.Node.prototype.replaceChild,M=Object.getOwnPropertyDescriptor(window.Node.prototype,
20
+ "textContent"),N=window.Element.prototype.attachShadow,O=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),P=window.Element.prototype.getAttribute,Q=window.Element.prototype.setAttribute,R=window.Element.prototype.removeAttribute,S=window.Element.prototype.getAttributeNS,T=window.Element.prototype.setAttributeNS,U=window.Element.prototype.removeAttributeNS,ma=window.Element.prototype.insertAdjacentElement,na=window.Element.prototype.insertAdjacentHTML,oa=window.Element.prototype.prepend,
21
+ pa=window.Element.prototype.append,V=window.Element.prototype.before,qa=window.Element.prototype.after,ra=window.Element.prototype.replaceWith,sa=window.Element.prototype.remove,ta=window.HTMLElement,W=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ua=window.HTMLElement.prototype.insertAdjacentElement,va=window.HTMLElement.prototype.insertAdjacentHTML;var wa=new function(){};function xa(){var a=X;window.HTMLElement=function(){function b(){var b=this.constructor,c=a.g.get(b);if(!c)throw Error("The custom element being constructed was not registered with `customElements`.");var e=c.constructionStack;if(0===e.length)return e=F.call(document,c.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=c,w(a,e),e;c=e.length-1;var f=e[c];if(f===wa)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");
22
+ e[c]=wa;Object.setPrototypeOf(f,b.prototype);w(a,f);return f}b.prototype=ta.prototype;Object.defineProperty(b.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:b});return b}();}function Y(a,b,d){function c(b){return function(d){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var f=[],m=0;m<e.length;m++){var q=e[m];q instanceof Element&&l(q)&&f.push(q);if(q instanceof DocumentFragment)for(q=q.firstChild;q;q=q.nextSibling)c.push(q);else c.push(q);}b.apply(this,e);for(e=0;e<f.length;e++)z(a,f[e]);if(l(this))for(e=0;e<c.length;e++)f=c[e],f instanceof Element&&x(a,f);}}void 0!==d.h&&(b.prepend=c(d.h));void 0!==d.append&&(b.append=c(d.append));}function ya(){var a=X;r(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var d=a.a.get(b);if(d)return new d.constructorFunction}b=F.call(this,b);w(a,b);return b});r(Document.prototype,"importNode",function(b,d){b=ha.call(this,b,!!d);this.__CE_hasRegistry?A(a,b):v(a,b);return b});r(Document.prototype,"createElementNS",function(b,d){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var c=a.a.get(d);if(c)return new c.constructorFunction}b=G.call(this,b,
23
+ d);w(a,b);return b});Y(a,Document.prototype,{h:ia,append:ja});}function za(){function a(a,c){Object.defineProperty(a,"textContent",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(a){if(this.nodeType===Node.TEXT_NODE)c.set.call(this,a);else {var d=void 0;if(this.firstChild){var e=this.childNodes,k=e.length;if(0<k&&l(this)){d=Array(k);for(var h=0;h<k;h++)d[h]=e[h];}}c.set.call(this,a);if(d)for(a=0;a<d.length;a++)z(b,d[a]);}}});}var b=X;r(Node.prototype,"insertBefore",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);
24
+ a=J.call(this,a,c);if(l(this))for(c=0;c<e.length;c++)x(b,e[c]);return a}e=l(a);c=J.call(this,a,c);e&&z(b,a);l(this)&&x(b,a);return c});r(Node.prototype,"appendChild",function(a){if(a instanceof DocumentFragment){var c=Array.prototype.slice.apply(a.childNodes);a=I.call(this,a);if(l(this))for(var e=0;e<c.length;e++)x(b,c[e]);return a}c=l(a);e=I.call(this,a);c&&z(b,a);l(this)&&x(b,a);return e});r(Node.prototype,"cloneNode",function(a){a=H.call(this,!!a);this.ownerDocument.__CE_hasRegistry?A(b,a):v(b,
25
+ a);return a});r(Node.prototype,"removeChild",function(a){var c=l(a),e=K.call(this,a);c&&z(b,a);return e});r(Node.prototype,"replaceChild",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);a=L.call(this,a,c);if(l(this))for(z(b,c),c=0;c<e.length;c++)x(b,e[c]);return a}e=l(a);var f=L.call(this,a,c),d=l(this);d&&z(b,c);e&&z(b,a);d&&x(b,a);return f});M&&M.get?a(Node.prototype,M):ca(b,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){for(var a=[],
26
+ b=0;b<this.childNodes.length;b++){var f=this.childNodes[b];f.nodeType!==Node.COMMENT_NODE&&a.push(f.textContent);}return a.join("")},set:function(a){for(;this.firstChild;)K.call(this,this.firstChild);null!=a&&""!==a&&I.call(this,document.createTextNode(a));}});});}function Aa(a){function b(b){return function(e){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var k=[],h=0;h<c.length;h++){var m=c[h];m instanceof Element&&l(m)&&k.push(m);if(m instanceof DocumentFragment)for(m=m.firstChild;m;m=m.nextSibling)d.push(m);else d.push(m);}b.apply(this,c);for(c=0;c<k.length;c++)z(a,k[c]);if(l(this))for(c=0;c<d.length;c++)k=d[c],k instanceof Element&&x(a,k);}}var d=Element.prototype;void 0!==V&&(d.before=b(V));void 0!==V&&(d.after=b(qa));void 0!==ra&&
27
+ r(d,"replaceWith",function(b){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var d=[],k=0;k<e.length;k++){var h=e[k];h instanceof Element&&l(h)&&d.push(h);if(h instanceof DocumentFragment)for(h=h.firstChild;h;h=h.nextSibling)c.push(h);else c.push(h);}k=l(this);ra.apply(this,e);for(e=0;e<d.length;e++)z(a,d[e]);if(k)for(z(a,this),e=0;e<c.length;e++)d=c[e],d instanceof Element&&x(a,d);});void 0!==sa&&r(d,"remove",function(){var b=l(this);sa.call(this);b&&z(a,this);});}function Ba(){function a(a,b){Object.defineProperty(a,"innerHTML",{enumerable:b.enumerable,configurable:!0,get:b.get,set:function(a){var e=this,d=void 0;l(this)&&(d=[],p(this,function(a){a!==e&&d.push(a);}));b.set.call(this,a);if(d)for(var f=0;f<d.length;f++){var t=d[f];1===t.__CE_state&&c.disconnectedCallback(t);}this.ownerDocument.__CE_hasRegistry?A(c,this):v(c,this);return a}});}function b(a,b){r(a,"insertAdjacentElement",function(a,e){var d=l(e);a=b.call(this,a,e);d&&z(c,e);l(a)&&x(c,e);return a});}
28
+ function d(a,b){function e(a,b){for(var e=[];a!==b;a=a.nextSibling)e.push(a);for(b=0;b<e.length;b++)A(c,e[b]);}r(a,"insertAdjacentHTML",function(a,c){a=a.toLowerCase();if("beforebegin"===a){var d=this.previousSibling;b.call(this,a,c);e(d||this.parentNode.firstChild,this);}else if("afterbegin"===a)d=this.firstChild,b.call(this,a,c),e(this.firstChild,d);else if("beforeend"===a)d=this.lastChild,b.call(this,a,c),e(d||this.firstChild,null);else if("afterend"===a)d=this.nextSibling,b.call(this,a,c),e(this.nextSibling,
29
+ d);else throw new SyntaxError("The value provided ("+String(a)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");});}var c=X;N&&r(Element.prototype,"attachShadow",function(a){a=N.call(this,a);var b=c;if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var e=0;e<b.c.length;e++)b.c[e](a);}return this.__CE_shadowRoot=a});O&&O.get?a(Element.prototype,O):W&&W.get?a(HTMLElement.prototype,W):da(c,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){return H.call(this,!0).innerHTML},
30
+ set:function(a){var b="template"===this.localName,c=b?this.content:this,e=G.call(document,this.namespaceURI,this.localName);for(e.innerHTML=a;0<c.childNodes.length;)K.call(c,c.childNodes[0]);for(a=b?e.content:e;0<a.childNodes.length;)I.call(c,a.childNodes[0]);}});});r(Element.prototype,"setAttribute",function(a,b){if(1!==this.__CE_state)return Q.call(this,a,b);var e=P.call(this,a);Q.call(this,a,b);b=P.call(this,a);c.attributeChangedCallback(this,a,e,b,null);});r(Element.prototype,"setAttributeNS",function(a,
31
+ b,d){if(1!==this.__CE_state)return T.call(this,a,b,d);var e=S.call(this,a,b);T.call(this,a,b,d);d=S.call(this,a,b);c.attributeChangedCallback(this,b,e,d,a);});r(Element.prototype,"removeAttribute",function(a){if(1!==this.__CE_state)return R.call(this,a);var b=P.call(this,a);R.call(this,a);null!==b&&c.attributeChangedCallback(this,a,b,null,null);});r(Element.prototype,"removeAttributeNS",function(a,b){if(1!==this.__CE_state)return U.call(this,a,b);var d=S.call(this,a,b);U.call(this,a,b);var e=S.call(this,
32
+ a,b);d!==e&&c.attributeChangedCallback(this,b,d,e,a);});ua?b(HTMLElement.prototype,ua):ma?b(Element.prototype,ma):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");va?d(HTMLElement.prototype,va):na?d(Element.prototype,na):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");Y(c,Element.prototype,{h:oa,append:pa});Aa(c);}var Z=window.customElements;if(!Z||Z.forcePolyfill||"function"!=typeof Z.define||"function"!=typeof Z.get){var X=new u;xa();ya();Y(X,DocumentFragment.prototype,{h:ka,append:la});za();Ba();document.__CE_hasRegistry=!0;var customElements=new E(X);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:customElements});}}).call(self);
33
+
34
+ // Polyfill document.baseURI
35
+ "string"!==typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var a=document.querySelector("base");return a&&a.href?a.href:document.URL}});
36
+
37
+ // Polyfill CustomEvent
38
+ "function"!==typeof window.CustomEvent&&(window.CustomEvent=function(c,a){a=a||{bubbles:!1,cancelable:!1,detail:void 0};var b=document.createEvent("CustomEvent");b.initCustomEvent(c,a.bubbles,a.cancelable,a.detail);return b},window.CustomEvent.prototype=window.Event.prototype);
39
+
40
+ // Event.composedPath
41
+ (function(b,c,d){b.composedPath||(b.composedPath=function(){if(this.path)return this.path;var a=this.target;for(this.path=[];null!==a.parentNode;)this.path.push(a),a=a.parentNode;this.path.push(c,d);return this.path});})(Event.prototype,document,window);
42
+
43
+ /*!
44
+ Element.closest and Element.matches
45
+ https://github.com/jonathantneal/closest
46
+ Creative Commons Zero v1.0 Universal
47
+ */
48
+ (function(a){"function"!==typeof a.matches&&(a.matches=a.msMatchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||function(a){a=(this.document||this.ownerDocument).querySelectorAll(a);for(var b=0;a[b]&&a[b]!==this;)++b;return !!a[b]});"function"!==typeof a.closest&&(a.closest=function(a){for(var b=this;b&&1===b.nodeType;){if(b.matches(a))return b;b=b.parentNode;}return null});})(window.Element.prototype);
49
+
50
+ /*!
51
+ Element.getRootNode()
52
+ */
53
+ (function(c){function d(a){a=b(a);return a&&11===a.nodeType?d(a.host):a}function b(a){return a&&a.parentNode?b(a.parentNode):a}"function"!==typeof c.getRootNode&&(c.getRootNode=function(a){return a&&a.composed?d(this):b(this)});})(Element.prototype);
54
+
55
+ /*!
56
+ Element.isConnected()
57
+ */
58
+ (function(a){"isConnected"in a||Object.defineProperty(a,"isConnected",{configurable:!0,enumerable:!0,get:function(){var a=this.getRootNode({composed:!0});return a&&9===a.nodeType}});})(Element.prototype);
59
+
60
+ /*!
61
+ Element.remove()
62
+ */
63
+ (function(b){b.forEach(function(a){a.hasOwnProperty("remove")||Object.defineProperty(a,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this);}});});})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);
64
+
65
+ /*!
66
+ Element.classList
67
+ */
68
+ !function(e){'classList'in e||Object.defineProperty(e,"classList",{get:function(){var e=this,t=(e.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function n(){t.length>0?e.setAttribute("class",t.join(" ")):e.removeAttribute("class");}return ""===t[0]&&t.splice(0,1),t.toggle=function(e,i){void 0!==i?i?t.add(e):t.remove(e):-1!==t.indexOf(e)?t.splice(t.indexOf(e),1):t.push(e),n();},t.add=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1===t.indexOf(e[i])&&t.push(e[i]);n();},t.remove=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1!==t.indexOf(e[i])&&t.splice(t.indexOf(e[i]),1);n();},t.item=function(e){return t[e]},t.contains=function(e){return -1!==t.indexOf(e)},t.replace=function(e,i){-1!==t.indexOf(e)&&t.splice(t.indexOf(e),1,i),n();},t.value=e.getAttribute("class")||"",t}});}(Element.prototype);
69
+
70
+ /*!
71
+ DOMTokenList
72
+ */
73
+ (function(b){try{document.body.classList.add();}catch(e){var c=b.add,d=b.remove;b.add=function(){for(var a=0;a<arguments.length;a++)c.call(this,arguments[a]);};b.remove=function(){for(var a=0;a<arguments.length;a++)d.call(this,arguments[a]);};}})(DOMTokenList.prototype);
@@ -0,0 +1,98 @@
1
+ import { r as registerInstance, e as createEvent, h, f as Host, g as getElement } from './index-1e9d524f.js';
2
+ import { F as FloatingManager } from './index-b96183c8.js';
3
+ import './index-12b43518.js';
4
+ import { C as CSSVarsUtils } from './CSSVarsUtils-499b75c2.js';
5
+ import './ApplicationUtils-30a69eb0.js';
6
+ import './DialogType-72afa679.js';
7
+
8
+ const ezActionsButtonCss = ":host{--ez-actions-button__box--border-radius:var(--border--radius-medium, 12px);--ez-actions-button__box--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-actions-button__box--background-color:var(--background--xlight, #fff);--ez-actions-button__box--padding:var(--space-small, 6px);--ez-actions-button__box--top-margin:var(--space-extra-small, 3px);--ez-actions-button__action--min-width:400px;--ez-actions-button__action--background-color:var(--background--xlight, #fff);display:flex;flex-direction:column;height:fit-content;user-select:none}.actions-list{display:flex;flex-direction:column;position:absolute;width:fit-content;height:fit-content;z-index:var(--more-visible, 1);padding:var(--ez-actions-button__box--padding);margin-top:var(--ez-actions-button__box--top-margin);background-color:var(--ez-actions-button__box--background-color);border-radius:var(--ez-actions-button__box--border-radius);box-shadow:var(--ez-actions-button__box--box-shadow)}.btn-action{--ez-button--min-width:var(--ez-actions-button__action--min-width);--ez-button--background-color:var(--ez-actions-button__action--background-color)}";
9
+
10
+ let EzActionsButton = class {
11
+ constructor(hostRef) {
12
+ registerInstance(this, hostRef);
13
+ this.ezAction = createEvent(this, "ezAction", 7);
14
+ /**
15
+ * Deixa o campo disponível ou não para interação com usuário.
16
+ */
17
+ this.enabled = true;
18
+ this.innerClickCheck = (floatingContainer, node) => {
19
+ if (node && floatingContainer) {
20
+ if (node === floatingContainer) {
21
+ return true;
22
+ }
23
+ const children = floatingContainer.children;
24
+ for (let i = 0; i < children.length; i++) {
25
+ if (children[i].shadowRoot.contains(node)) {
26
+ return true;
27
+ }
28
+ }
29
+ }
30
+ return false;
31
+ };
32
+ }
33
+ showActions() {
34
+ if (!this.enabled) {
35
+ return;
36
+ }
37
+ this._floatingID = FloatingManager.float(this._actionsList, this._listContainer, { autoClose: true, innerClickTest: this.innerClickCheck });
38
+ const docWidth = document.body.clientWidth;
39
+ const bounding = this._actionsList.getBoundingClientRect();
40
+ if (bounding.right > docWidth) {
41
+ FloatingManager.updateFloatPosition(this._actionsList, this._listContainer, { autoClose: true, innerClickTest: this.innerClickCheck, left: (docWidth - bounding.width) + "px" });
42
+ }
43
+ window.requestAnimationFrame(() => {
44
+ this._actionsList.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
45
+ });
46
+ }
47
+ hideActions() {
48
+ if (this._floatingID != undefined) {
49
+ FloatingManager.close(this._floatingID);
50
+ }
51
+ this._floatingID = undefined;
52
+ }
53
+ //---------------------------------------------
54
+ // Event handlers
55
+ //---------------------------------------------
56
+ handlerButtonClick() {
57
+ this.showActions();
58
+ }
59
+ actionClick(action) {
60
+ this.hideActions();
61
+ this.ezAction.emit(action);
62
+ }
63
+ //---------------------------------------------
64
+ // Lifecycle web component
65
+ //---------------------------------------------
66
+ componentWillLoad() {
67
+ if (this.actions == undefined) {
68
+ this.actions = [];
69
+ const optionsTags = this._element.querySelectorAll("action");
70
+ if (optionsTags) {
71
+ optionsTags.forEach((e) => {
72
+ let label = e.innerText;
73
+ let value = e.getAttribute("value");
74
+ if (!value) {
75
+ value = label;
76
+ }
77
+ this.actions.push({ label, value });
78
+ e.hidden = true;
79
+ });
80
+ }
81
+ }
82
+ }
83
+ componentDidLoad() {
84
+ CSSVarsUtils.applyVarsButton(this._element, this._button);
85
+ }
86
+ componentDidRender() {
87
+ if (this._floatingID == undefined) {
88
+ this._actionsList.remove();
89
+ }
90
+ }
91
+ render() {
92
+ return (h(Host, null, h("ez-button", { ref: elem => this._button = elem, enabled: this.enabled, mode: "icon", iconName: "dots-vertical", size: this.size, onClick: () => this.handlerButtonClick() }), h("section", { class: "list-container", ref: elem => this._listContainer = elem }, h("div", { class: "actions-list", ref: elem => this._actionsList = elem }, this.actions.map(action => h("ez-button", { class: "btn-action", size: "small", label: action.label, onClick: () => this.actionClick(action) }))))));
93
+ }
94
+ get _element() { return getElement(this); }
95
+ };
96
+ EzActionsButton.style = ezActionsButtonCss;
97
+
98
+ export { EzActionsButton as ez_actions_button };
@@ -0,0 +1,22 @@
1
+ import { r as registerInstance, e as createEvent, h } from './index-1e9d524f.js';
2
+
3
+ const ezApplicationCss = "";
4
+
5
+ let EzApplication = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.applicationLoaded = createEvent(this, "applicationLoaded", 7);
9
+ }
10
+ componentWillLoad() {
11
+ //Initizalize application
12
+ }
13
+ componentDidLoad() {
14
+ this.applicationLoaded.emit(true);
15
+ }
16
+ render() {
17
+ return (h("div", null));
18
+ }
19
+ };
20
+ EzApplication.style = ezApplicationCss;
21
+
22
+ export { EzApplication as ez_application };
@@ -0,0 +1,73 @@
1
+ import { r as registerInstance, h } from './index-1e9d524f.js';
2
+
3
+ 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:0px;--ez-button--padding-bottom:0px;--ez-button--padding-right:var(--space--large, 24px);--ez-button--padding-left:var(--space--large, 24px);--ez-button--color:var(--title--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-color:var(--color--primary-600);--ez-button--hover--background-color:var(--background--medium, 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(--border--xlarge, 4px solid) var(--color--primary-300);--ez-button--focus--box-shadow:none;--ez-button--active-color:var(--color--primary-700);--ez-button--active--background-color:var(--background--strong);--ez-button--link-color:var(--color--primary, '#008561');--ez-button--link--hover-color:var(--color--primary-700, '#1C1D22');--ez-button--link--small--font-size:var(--text--small, 12px);--ez-button--link--medium--font-size:var(--text--medium, 14px);--ez-button--link--large--font-size:var(--text--large, 16px)}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:focus{outline:var(--ez-button--focus--border);box-shadow:var(--ez-button--focus--box-shadow)}button:hover{outline:none;background-color:var(--ez-button--hover--background-color);color:var(--ez-button--hover-color);fill:var(--ez-button--hover-color);--ez-icon--color:var(--ez-button--hover-color)}button:focus{outline:none;outline:var(--ez-button--focus--border);box-shadow:var(--ez-button--focus--box-shadow)}button:active{outline:none;box-shadow:none;background-color:var(--ez-button--active--background-color);color:var(--ez-button--active-color);fill:var(--ez-button--active-color);--ez-icon--color:var(--ez-button--active-color)}button:disabled{background-color:var(--ez-button--disabled--background-color);color:var(--ez-button--disabled-color);fill:var(--ez-button--disabled-color);border:none;--ez-icon--color:var(--ez-button--disabled-color);cursor:no-drop}.small{height:32px;--ez-button--font-size:var(--text--small, 12px)}.medium{height:42px}.large{height:46px}.btn-icon{padding:0px}.btn-icon--medium{width:42px;min-width:42px;height:42px}.btn-icon--small{width:32px;min-width:32px;height:32px}.btn-icon--large{width:46px;min-width:46px;height:46px}.label-icon{display:flex;flex-direction:column;align-items:center;color:var(--ez-button--color)}.label-icon:hover{color:var(--ez-button--hover-color);fill:var(--ez-button--hover-color);--ez-icon--color:var(--ez-button--hover-color)}.label-icon:active{color:var(--ez-button--active-color);fill:var(--ez-button--active-color);--ez-icon--color:var(--ez-button--active-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);user-select:none}button:disabled+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);color:var(--ez-button--disabled-color);cursor:no-drop}div.label-icon{cursor:pointer}div.label-icon,button:disabled{cursor:no-drop}a{font-family:var(--ez-button--font-family);font-weight:var(--ez-button--font-weight);color:var(--ez-button--link-color);cursor:pointer;display:flex;align-items:center;justify-content:center;}a:hover{color:var(--ez-button--link--hover-color)}a.small{font-size:var(--ez-button--link--small--font-size);line-height:var(--ez-button--link--small--font-size)}a.medium{font-size:var(--ez-button--link--medium--font-size);line-height:var(--ez-button--link--medium--font-size)}a.large{font-size:var(--ez-button--link--large--font-size);line-height:var(--ez-button--link--large--font-size)}";
4
+
5
+ let EzButton = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ /**
9
+ * Deixa o botão disponível ou não para interação com o usuário.
10
+ */
11
+ this.enabled = true;
12
+ /**
13
+ * Define o modo de uso do botão; opções: icon, link e regular
14
+ */
15
+ this.mode = "regular";
16
+ }
17
+ /**
18
+ * Realiza o foco no botão
19
+ */
20
+ async setFocus() {
21
+ this._button.focus();
22
+ }
23
+ /**
24
+ * Remove o foco no botão
25
+ */
26
+ async setBlur() {
27
+ this._button.blur();
28
+ }
29
+ getIconSize(sizeParam = "medium") {
30
+ const sizeList = ["small", "medium", "large"];
31
+ const sizeLowerCase = this.size && this.size.toLowerCase();
32
+ return sizeList.includes(sizeLowerCase) ? sizeLowerCase : sizeParam;
33
+ }
34
+ handleSlotChange(ev) {
35
+ const slot = ev.target;
36
+ const content = slot.assignedElements()[0];
37
+ if (this.mode == "link") {
38
+ content.style.display = "inline";
39
+ if (slot.name == "leftIcon") {
40
+ content.style.paddingRight = "var(--ez-button__inline__icon--padding)";
41
+ }
42
+ else if (slot.name == "rightIcon") {
43
+ content.style.paddingLeft = "var(--ez-button__inline__icon--padding)";
44
+ }
45
+ }
46
+ else {
47
+ content.style.setProperty("--ez-icon--color", "var(--ez-icon--color)");
48
+ }
49
+ }
50
+ render() {
51
+ if (this.mode == "icon") {
52
+ return (h("button", { class: "btn-icon " + ((this.getIconSize()) ? `btn-icon--${this.getIconSize()}` : ""), type: "button", disabled: !this.enabled, ref: (el) => this._button = el }, h("ez-icon", { class: "icon", href: this.image, iconName: this.iconName, size: this.getIconSize(), onClick: evt => {
53
+ if (!this.enabled)
54
+ evt.stopPropagation();
55
+ } })));
56
+ }
57
+ else if (this.mode == "label-icon") {
58
+ return (h("div", { class: "label-icon" }, h("button", { class: "btn-icon " + ((this.getIconSize()) ? `btn-icon--${this.getIconSize()}` : ""), type: "button", disabled: !this.enabled, ref: (el) => this._button = el }, h("ez-icon", { class: "icon", href: this.image, iconName: this.iconName, size: this.getIconSize(), onClick: evt => {
59
+ if (!this.enabled)
60
+ evt.stopPropagation();
61
+ } })), h("label", { title: this.label }, this.label)));
62
+ }
63
+ else if (this.mode == "link") {
64
+ return (h("a", { class: this.getIconSize(), ref: (el) => this._button = el }, h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label, h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
65
+ }
66
+ else {
67
+ return (h("button", { class: this.getIconSize(""), type: "button", disabled: !this.enabled, ref: (el) => this._button = el }, h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label, h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
68
+ }
69
+ }
70
+ };
71
+ EzButton.style = ezButtonCss;
72
+
73
+ export { EzButton as ez_button };
@@ -0,0 +1,219 @@
1
+ import { r as registerInstance, e as createEvent, i as forceUpdate, h } from './index-1e9d524f.js';
2
+ import { F as FloatingManager } from './index-b96183c8.js';
3
+
4
+ const ezCalendarCss = ":host{--ez-calendar--font-family:var(--font-pattern, Arial);--ez-calendar--color:var(--title--primary, #626e82);--ez-calendar--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-calendar__body--background-color:var(--background--xlight, #FFF);--ez-calendar__time--background-color:var(--background--xlight, #FAFAFA);--ez-calendar__body--padding:var(--space--medium, 12px) var(--space--small, 6px);--ez-calendar__body--border-radius:var(--border--radius-medium, 12px);--ez-calendar__body--shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-container--z-index:var(--more-visible, 2);--ez-calendar__header-line--stroke:1px;--ez-calendar__header-line--color:var(--color--strokes, #C0C0C0);--ez-calendar__nav-btn--fill:var(--text--primary, #008561);--ez-calendar__nav-btn--hover--fill:var(--color--primary, #350404);--ez-calendar__nav-btn--width:10px;--ez-calendar__nav-btn--height:16px;--ez-calendar__nav-btn--previous-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z\"/></svg>');--ez-calendar__nav-btn--next-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z\"/></svg>');--ez-calendar__cell--margin:0px 1.5px;--ez-calendar__cell--width:var(--space--large, 24px);--ez-calendar__cell--padding:1.5px 0px;--ez-calendar__cell--border-radius:var(--border--radius-small, 6px);--ez-calendar__cell--over--background-color:var(--color--primary, #E2F4EF);--ez-calendar__cell--over--color:var(--color--primary-300, #008561);--ez-calendar__cell--outset--color:var(--color--disable-primary, #E5EAF0);--ez-calendar__cell--selected--background-color:var(--color--primary, #008561);--ez-calendar__cell--selected--color:var(--color--inverted, #FFF);--ez-calendar__btn-today--color:var(--color--primary);--ez-calendar__btn-today--hover--background-color:var(--color--primary-300, #E2F4EF);--ez-calendar__btn-today--border-radius:var(--border--radius-small, 6px);position:relative;display:flex;user-select:none}.calendar__container{display:flex;z-index:var(--more-visible, 2)}.calendar{z-index:var(--more-visible, 2);display:flex;flex-direction:column;background-color:var(--ez-calendar__body--background-color);padding:var(--ez-calendar__body--padding);border-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__header{display:flex;justify-content:space-between;padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color)}.calendar__btn-next,.calendar__btn-previous{outline:none;border:none;background-color:unset;cursor:pointer;padding:0px}.calendar__btn-next::after,.calendar__btn-previous::after{content:'';display:flex;background-color:var(--ez-calendar__nav-btn--fill);width:var(--ez-calendar__nav-btn--width);height:var(--ez-calendar__nav-btn--height)}.calendar__btn-previous::after{-webkit-mask-image:var(--ez-calendar__nav-btn--previous-image);mask-image:var(--ez-calendar__nav-btn--previous-image)}.calendar__btn-next::after{-webkit-mask-image:var(--ez-calendar__nav-btn--next-image);mask-image:var(--ez-calendar__nav-btn--next-image)}.calendar__btn-next:hover::after,.calendar__btn-previous:hover::after{background-color:var(--ez-calendar__nav-btn--hover--fill)}.calendar__lbl-month{font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__line{display:flex;padding:0px;margin:0px}.calendar__cell{display:flex;justify-content:center;align-content:center;cursor:pointer;font-size:var(--text--extra-small, 10px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);padding:var(--ez-calendar__cell--padding);margin:var(--ez-calendar__cell--margin);min-width:var(--ez-calendar__cell--width);border-radius:var(--ez-calendar__cell--border-radius)}.calendar__cell:hover{background-color:var(--ez-calendar__cell--over--background-color);color:var(--ez-calendar__cell--over--color)}.calendar__cell--secondary{color:var(--ez-calendar__cell--outset--color)}.calendar__cell--unselectable:hover{background-color:unset;border-radius:unset;cursor:unset;color:var(--ez-calendar--color)}.calendar__cell--unselectable{font-weight:var(--text-weight--large, 600);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__cell--selected,.calendar__cell--selected:hover{background-color:var(--ez-calendar__cell--selected--background-color);color:var(--ez-calendar__cell--selected--color)}.calendar__footer{display:flex;flex-direction:column}.calendar__btn-today{border:none;background-color:unset;cursor:pointer;font-weight:var(--text-weight--large, 600);font-size:var(--title--extra-small, 12px);padding:0px;font-family:var(--ez-calendar--font-family);text-shadow:var(--ez-calendar--text-shadow);color:var(--ez-calendar__btn-today--color);border-radius:var(--ez-calendar__btn-today--border-radius)}.calendar__btn-today:hover{background-color:var(--ez-calendar__btn-today--hover--background-color)}section{display:flex}.calendar-time{margin-left:-10px;display:flex;flex-direction:column;padding:12px 0px 0px 10px;background-color:var(--ez-calendar__time--background-color);border-top-right-radius:var(--ez-calendar__body--border-radius);border-bottom-right-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__column{height:136px;padding:0px;margin:0px;overflow:auto}.calendar__column::-webkit-scrollbar{width:0px;max-width:0px;min-width:0px}.calendar-time__header{padding-left:var(--space--small, 6px);padding-right:var(--space--small, 6px);display:flex;justify-content:space-between;padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.separatorTime{color:#A2ABB9;padding:0px 1px;line-height:16px;font-size:17px;font-weight:normal}.endHidden{-webkit-mask-image:linear-gradient(180deg, #000 calc(100% - 48px), transparent 100%)}.calendar__column .calendar__cell{margin:0px;padding:1.5px 1.5px}";
5
+
6
+ let EzCalendar = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.ezChange = createEvent(this, "ezChange", 7);
10
+ this._firstRender = true;
11
+ this._todayLabel = "Hoje";
12
+ this._weekDayLabels = ["D", "S", "T", "Q", "Q", "S", "S"];
13
+ this._monthLabels = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
14
+ this._hoursLabel = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23"];
15
+ this._minutosLabel = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59"];
16
+ /**
17
+ * A data selecionada no calendário
18
+ */
19
+ this.value = new Date();
20
+ /**
21
+ * No modo floating o calendário só se tornará visível
22
+ * quando o método show() for acionado.
23
+ */
24
+ this.floating = false;
25
+ /**
26
+ * Exibe ou não as horas e minutos no calendario
27
+ */
28
+ this.time = false;
29
+ /**
30
+ * Exibe ou não os segundos no calendario
31
+ */
32
+ this.showSeconds = false;
33
+ }
34
+ /**
35
+ * Usado no modo floating. Faz com que o componente seja exibido.
36
+ * É possível determinar ajustes de posicionamento através dos parâmetros
37
+ * top, left, bottom e right. Esses parâmetros devem ser informados como
38
+ * strings no formato css.
39
+ */
40
+ async show(top, left, bottom, right) {
41
+ if (this.floating) {
42
+ this._floatingID = FloatingManager.float(this._box, this._container, { autoClose: true, top, left, bottom, right });
43
+ window.requestAnimationFrame(() => {
44
+ this._box.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
45
+ });
46
+ this.scroll();
47
+ }
48
+ }
49
+ /**
50
+ * Método necessário para ajustar o posicionamento do calendar acima ou abaixo do ez-date-input conforme a disponibilidade de espaço.
51
+ */
52
+ async fitVertical(topOffset, bottomOffset) {
53
+ const neededHeight = this._container.getBoundingClientRect().bottom + this._calendarHeight;
54
+ const availableBottom = (window.innerHeight || document.documentElement.clientHeight) > neededHeight;
55
+ if (availableBottom) {
56
+ this.show(topOffset + "px", undefined, "unset");
57
+ }
58
+ else {
59
+ this.show("unset", undefined, bottomOffset + "px");
60
+ }
61
+ }
62
+ /**
63
+ * Usado no modo floating. Faz com que o componente seja ocultado.
64
+ */
65
+ async hide() {
66
+ if (this._floatingID !== undefined) {
67
+ FloatingManager.close(this._floatingID);
68
+ this._floatingID = undefined;
69
+ }
70
+ }
71
+ observeValue() {
72
+ if (this.value) {
73
+ this._currentPosition.setTime(this.value.getTime());
74
+ this._currentPosition.setDate(1);
75
+ }
76
+ }
77
+ getMonthLabel() {
78
+ return this._monthLabels[this._currentPosition.getMonth()] + " " + this._currentPosition.getFullYear();
79
+ }
80
+ isSelectedDate(d) {
81
+ if (this.value) {
82
+ return this.value.getDate() == d.getDate() && this.value.getMonth() == d.getMonth() && this.value.getFullYear() == d.getFullYear();
83
+ }
84
+ return false;
85
+ }
86
+ changeMonth(offset) {
87
+ this._currentPosition.setMonth(this._currentPosition.getMonth() + offset);
88
+ forceUpdate(this);
89
+ }
90
+ selectDate(d) {
91
+ let newDate = d;
92
+ if (this.value && (this.time || this.showSeconds)) {
93
+ newDate.setHours(this.value.getHours());
94
+ newDate.setMinutes(this.value.getMinutes());
95
+ if (this.showSeconds) {
96
+ newDate.setSeconds(this.value.getSeconds());
97
+ }
98
+ else {
99
+ newDate.setSeconds(0);
100
+ }
101
+ }
102
+ this.value = newDate;
103
+ this.ezChange.emit(this.value);
104
+ }
105
+ selectHours(hour) {
106
+ if (!this.value) {
107
+ this.value = new Date();
108
+ }
109
+ this.value = new Date(this.value.getFullYear(), this.value.getMonth(), this.value.getDate(), hour, this.value.getMinutes(), this.value.getSeconds());
110
+ this.ezChange.emit(this.value);
111
+ }
112
+ selectMinutes(minute) {
113
+ if (!this.value) {
114
+ this.value = new Date();
115
+ }
116
+ this.value = new Date(this.value.getFullYear(), this.value.getMonth(), this.value.getDate(), this.value.getHours(), minute, this.value.getSeconds());
117
+ this.ezChange.emit(this.value);
118
+ }
119
+ selectSeconds(second) {
120
+ if (!this.value) {
121
+ this.value = new Date();
122
+ }
123
+ this.value = new Date(this.value.getFullYear(), this.value.getMonth(), this.value.getDate(), this.value.getHours(), this.value.getMinutes(), second);
124
+ this.ezChange.emit(this.value);
125
+ }
126
+ updateScroll(element) {
127
+ if (element) {
128
+ const { scrollHeight, clientHeight, scrollTop } = element;
129
+ const remainingScroll = scrollHeight - clientHeight - Math.ceil(scrollTop);
130
+ if (remainingScroll > 0) {
131
+ element.classList.add("endHidden");
132
+ }
133
+ else {
134
+ element.classList.remove("endHidden");
135
+ }
136
+ }
137
+ }
138
+ componentDidRender() {
139
+ if (this.floating && this._firstRender) {
140
+ this._calendarHeight = this._box.clientHeight;
141
+ this._box.remove();
142
+ this._firstRender = false;
143
+ }
144
+ this.updateScroll(this._hoursScroll);
145
+ this.updateScroll(this._minutesScroll);
146
+ this.updateScroll(this._secondsScroll);
147
+ }
148
+ componentDidLoad() {
149
+ this.scroll();
150
+ }
151
+ scroll() {
152
+ if (this.time || this.showSeconds) {
153
+ this._hoursScroll.scrollTop = this._hoursSelect.offsetTop - 64;
154
+ this._minutesScroll.scrollTop = this._minutesSelect.offsetTop - 64;
155
+ this.updateScroll(this._hoursScroll);
156
+ this.updateScroll(this._minutesScroll);
157
+ if (this.showSeconds) {
158
+ this._secondsScroll.scrollTop = this._secondsSelect.offsetTop - 64;
159
+ this.updateScroll(this._secondsScroll);
160
+ }
161
+ }
162
+ }
163
+ render() {
164
+ if (this._currentPosition == null) {
165
+ this._currentPosition = new Date();
166
+ if (this.value) {
167
+ this._currentPosition.setTime(this.value.getTime());
168
+ }
169
+ this._currentPosition.setDate(1);
170
+ }
171
+ const firstDate = new Date();
172
+ firstDate.setTime(this._currentPosition.getTime());
173
+ firstDate.setDate(1 - firstDate.getDay());
174
+ return (h("section", { ref: elem => this._container = elem }, h("div", { ref: elem => this._box = elem, class: "calendar__container" }, h("div", { class: "calendar" }, h("div", { class: "calendar__header" }, h("button", { class: "calendar__btn-previous", onClick: () => this.changeMonth(-1) }), h("label", { class: "calendar__lbl-month" }, this.getMonthLabel()), h("button", { class: "calendar__btn-next", onClick: () => this.changeMonth(1) })), h("div", { class: "calendar__body" }, h("div", { class: "calendar__line" }, this._weekDayLabels.map(day => h("div", { "data-day": day, class: "calendar__cell calendar__cell--unselectable" }, day))), [0, 7, 14, 21, 28, 35].map(offset => h("div", { class: "calendar__line" }, [0, 1, 2, 3, 4, 5, 6].map(index => {
175
+ const date = new Date();
176
+ date.setTime(firstDate.getTime());
177
+ date.setDate(date.getDate() + offset + index);
178
+ let classNames = "calendar__cell";
179
+ if (this._currentPosition.getMonth() != date.getMonth()) {
180
+ classNames += " calendar__cell--secondary";
181
+ }
182
+ else if (this.isSelectedDate(date)) {
183
+ classNames += " calendar__cell--selected";
184
+ }
185
+ return h("div", { class: classNames, onClick: () => this.selectDate(date) }, date.getDate());
186
+ })))), h("div", { class: "calendar__footer" }, h("button", { class: "calendar__btn-today", onClick: () => this.selectDate(new Date()) }, this._todayLabel))), (this.time || this.showSeconds) &&
187
+ h("div", { class: "calendar-time" }, h("div", { class: "calendar-time__header" }, h("div", null, "H"), h("div", { class: "separatorTime" }, ":"), h("div", null, "M"), this.showSeconds &&
188
+ h("div", { class: "separatorTime" }, ":"), this.showSeconds &&
189
+ h("div", null, "S")), h("div", { class: "calendar__body ", style: { display: 'flex', paddingLeft: '12px', paddingRight: '12px' } }, h("div", { class: "calendar__column", ref: elem => this._hoursScroll = elem, onScroll: () => this.updateScroll(this._hoursScroll) }, this._hoursLabel.map((offset, index) => {
190
+ if (index === this.value.getHours()) {
191
+ return (h("div", { style: { display: 'flex' }, ref: elem => this._hoursSelect = elem }, h("div", { "data-hour": offset, class: "calendar__cell calendar__cell--selected", onClick: () => this.selectHours(index) }, offset), h("div", { class: "separatorTime" }, ":")));
192
+ }
193
+ else {
194
+ return (h("div", { style: { display: 'flex' } }, h("div", { "data-hour": offset, class: "calendar__cell", onClick: () => this.selectHours(index) }, offset), h("div", { class: "separatorTime" }, ":")));
195
+ }
196
+ })), h("div", { class: "calendar__column", ref: elem => this._minutesScroll = elem, onScroll: () => this.updateScroll(this._minutesScroll) }, this._minutosLabel.map((offset, index) => {
197
+ if (index === this.value.getMinutes()) {
198
+ return (h("div", { style: { display: 'flex' }, ref: elem => this._minutesSelect = elem }, h("div", { "data-minute": offset, class: "calendar__cell calendar__cell--selected", onClick: () => this.selectMinutes(index) }, offset), this.showSeconds && h("div", { class: "separatorTime" }, ":")));
199
+ }
200
+ else {
201
+ return (h("div", { style: { display: 'flex' } }, h("div", { "data-minute": offset, class: "calendar__cell", onClick: () => this.selectMinutes(index) }, offset), this.showSeconds && h("div", { class: "separatorTime" }, ":")));
202
+ }
203
+ })), this.showSeconds &&
204
+ h("div", { class: "calendar__column", ref: elem => this._secondsScroll = elem, onScroll: () => this.updateScroll(this._secondsScroll) }, this._minutosLabel.map((offset, index) => {
205
+ if (index === this.value.getSeconds()) {
206
+ return (h("div", { "data-second": offset, class: "calendar__cell calendar__cell--selected", onClick: () => this.selectSeconds(index), ref: elem => this._secondsSelect = elem }, offset));
207
+ }
208
+ else {
209
+ return (h("div", { "data-second": offset, class: "calendar__cell", onClick: () => this.selectSeconds(index) }, offset));
210
+ }
211
+ })))))));
212
+ }
213
+ static get watchers() { return {
214
+ "value": ["observeValue"]
215
+ }; }
216
+ };
217
+ EzCalendar.style = ezCalendarCss;
218
+
219
+ export { EzCalendar as ez_calendar };
@@ -0,0 +1,40 @@
1
+ import { r as registerInstance, e as createEvent, h, f as Host } from './index-1e9d524f.js';
2
+
3
+ const ezCardItemCss = ":host{--ez-card-item--font-size:var(--text--medium, 14px);--ez-card-item--font-family:var(--font-pattern, Arial);--ez-card-item--font-weight:var(--text-weight--medium, 400);--ez-card-item--font-weight-large:var(--text-weight--large, 600);--ez-card-item--color:var(--title--primary, #2B3A54);--ez-card-item__key--color:var(--text--primary, #626e82);--ez-card-item__detail-label--color:var(--text--secondary, #A2ABB9);--ez-card-item__detail--padding-bottom:var(--space--extra-small, 3px);--ez-card-item__title--padding-bottom:var(--space--extra-small, 3px);--ez-card-item__highlight--color:var(--color--primary-300, #E2F4EF);width:100%;display:flex;cursor:pointer}.card-item{display:flex;flex-direction:column;width:100%;cursor:pointer;padding:12px;z-index:0;position:relative}.card-item:hover{background:#F0F3F7;border-radius:12px}.card-item__title{display:flex;align-items:center;line-height:18px;cursor:pointer;font-size:var(--ez-card-item--font-size);font-family:var(--ez-card-item--font-family);font-weight:var(--ez-card-item--font-weight-large);color:var(--ez-card-item--color);padding-bottom:var(--ez-card-item__title--padding-bottom);gap:var(--space--small, 6px)}.card-item__key{color:var(--ez-card-item__key--color)}.card-item__details{display:flex;cursor:pointer;justify-content:space-between;gap:var(--space--small, 6px)}.card-item__details-left{cursor:pointer;width:50%}.card-item__details-right{width:50%;cursor:pointer}.card-item__detail:not(:last-child){cursor:pointer;padding-bottom:var(--ez-card-item__detail--padding-bottom)}.card-item__detail-label{cursor:pointer;font-size:var(--ez-card-item--font-size);font-family:var(--ez-card-item--font-family);font-weight:var(--ez-card-item--font-weight);color:var(--ez-card-item__detail-label--color)}.card-item__detail-value{cursor:pointer;font-size:var(--ez-card-item--font-size);font-family:var(--ez-card-item--font-family);font-weight:var(--ez-card-item--font-weight);color:var(--ez-card-item--color)}.card-item__highlight{position:relative;border-radius:8px;z-index:-1;background-color:var(--ez-card-item__highlight--color);outline:2px solid var(--ez-card-item__highlight--color);box-shadow:-4px 0px 0px 0px var(--ez-card-item__highlight--color), \n 4px 0px 0px 0px var(--ez-card-item__highlight--color)}";
4
+
5
+ let EzCardItem = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.ezClick = createEvent(this, "ezClick", 7);
9
+ }
10
+ componentWillRender() {
11
+ this.createDetailList();
12
+ }
13
+ createDetailList() {
14
+ var _a, _b, _c;
15
+ this._details = { detailsLeft: [], detailsRight: [] };
16
+ let cont = 0;
17
+ if ((_a = this.item) === null || _a === void 0 ? void 0 : _a.details) {
18
+ for (const attribute in this.item.details) {
19
+ cont < 3 ?
20
+ this._details.detailsLeft.push({ label: attribute, value: (_b = this.item.details[attribute]) === null || _b === void 0 ? void 0 : _b.toString() }) :
21
+ this._details.detailsRight.push({ label: attribute, value: (_c = this.item.details[attribute]) === null || _c === void 0 ? void 0 : _c.toString() });
22
+ cont++;
23
+ }
24
+ }
25
+ }
26
+ buildDetailContent(detail) {
27
+ return h("div", { class: "card-item__detail" }, h("label", { class: "card-item__detail-label" }, detail.label), ": ", h("label", { class: "card-item__detail-value", innerHTML: detail.value }));
28
+ }
29
+ render() {
30
+ return (h(Host, null, this.item &&
31
+ h("div", { class: "card-item", onClick: () => { this.ezClick.emit(this.item); } }, h("label", { class: "card-item__title" }, h("span", { class: "card-item__key", innerHTML: this.item.key }), h("span", { innerHTML: this.item.title })), h("div", { class: "card-item__details" }, h("div", { class: "card-item__details-left" }, this._details.detailsLeft.map(detail => {
32
+ return this.buildDetailContent(detail);
33
+ })), h("div", { class: "card-item__details-right" }, this._details.detailsRight.map(detail => {
34
+ return this.buildDetailContent(detail);
35
+ }))))));
36
+ }
37
+ };
38
+ EzCardItem.style = ezCardItemCss;
39
+
40
+ export { EzCardItem as ez_card_item };