@sankhyalabs/ezui 1.1.30 → 1.1.34
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.
- package/dist/cjs/ez-action-chip.cjs.entry.js +2 -2
- package/dist/cjs/ez-button_16.cjs.entry.js +96 -63
- package/dist/cjs/ez-dialog.cjs.entry.js +46 -0
- package/dist/cjs/ez-label-chip.cjs.entry.js +2 -2
- package/dist/cjs/ez-modal.cjs.entry.js +22 -12
- package/dist/cjs/ez-number-input.cjs.entry.js +2 -2
- package/dist/cjs/ez-popover.cjs.entry.js +2 -2
- package/dist/cjs/ez-popup.cjs.entry.js +37 -0
- package/dist/cjs/ez-time-input.cjs.entry.js +2 -2
- package/dist/cjs/ezui.cjs.js +3 -3
- package/dist/cjs/{index-f08ae9d8.js → index-0f668cc5.js} +70 -61
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +6 -4
- package/dist/collection/components/ez-calendar/ez-calendar.js +3 -5
- package/dist/collection/components/ez-check/ez-check.js +1 -1
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +75 -44
- package/dist/collection/components/ez-dialog/ez-dialog.css +442 -0
- package/dist/collection/components/ez-dialog/ez-dialog.js +198 -0
- package/dist/collection/components/ez-form/subcomponents/structure/Field.js +2 -1
- package/dist/collection/components/ez-modal/ez-modal.js +33 -26
- package/dist/collection/components/ez-popup/ez-popup.css +387 -0
- package/dist/collection/components/ez-popup/ez-popup.js +131 -0
- package/dist/collection/components/ez-search/ez-search.js +45 -1
- package/dist/collection/components/ez-upload/ez-upload.js +9 -10
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +224 -104
- package/dist/esm/ez-action-chip.entry.js +2 -2
- package/dist/esm/ez-button_16.entry.js +96 -63
- package/dist/esm/ez-dialog.entry.js +42 -0
- package/dist/esm/ez-label-chip.entry.js +2 -2
- package/dist/esm/ez-modal.entry.js +22 -12
- package/dist/esm/ez-number-input.entry.js +2 -2
- package/dist/esm/ez-popover.entry.js +2 -2
- package/dist/esm/ez-popup.entry.js +33 -0
- package/dist/esm/ez-time-input.entry.js +2 -2
- package/dist/esm/ezui.js +3 -3
- package/dist/esm/{index-3e5d5166.js → index-89fc9bfd.js} +70 -61
- package/dist/esm/loader.js +3 -3
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-06c7c4e3.entry.js +1 -0
- package/dist/ezui/p-171bdc12.entry.js +1 -0
- package/dist/ezui/p-40fe4f51.entry.js +1 -0
- package/dist/ezui/p-55c5b134.entry.js +1 -0
- package/dist/ezui/p-762ac7a0.js +1 -0
- package/dist/ezui/p-7f528c19.entry.js +1 -0
- package/dist/ezui/p-b81916dd.entry.js +1 -0
- package/dist/ezui/p-c2368320.entry.js +1 -0
- package/dist/ezui/p-caa50ec5.entry.js +1 -0
- package/dist/ezui/p-d8a47f23.entry.js +1 -0
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +9 -4
- package/dist/types/components/ez-dialog/ez-dialog.d.ts +33 -0
- package/dist/types/components/ez-modal/ez-modal.d.ts +4 -0
- package/dist/types/components/ez-popup/ez-popup.d.ts +24 -0
- package/dist/types/components/ez-search/ez-search.d.ts +8 -0
- package/dist/types/components.d.ts +143 -4
- package/loader/index.d.ts +0 -1
- package/package.json +7 -6
- package/react/components.d.ts +2 -0
- package/react/components.js +2 -0
- package/react/components.js.map +1 -1
- package/dist/ezui/p-106dafe7.entry.js +0 -1
- package/dist/ezui/p-534472a3.entry.js +0 -1
- package/dist/ezui/p-5d398030.entry.js +0 -1
- package/dist/ezui/p-7509be4f.entry.js +0 -1
- package/dist/ezui/p-c6987a1b.entry.js +0 -1
- package/dist/ezui/p-f3a62790.entry.js +0 -1
- package/dist/ezui/p-f918e4da.js +0 -1
- package/dist/ezui/p-fc46887a.entry.js +0 -1
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0f668cc5.js');
|
|
6
6
|
|
|
7
7
|
const ezModalCss = ":host{--modal-z-index:var(--most-visible, 3);--modal-vertical-padding:var(--space--large, 24px);display:block}.modal{position:fixed;padding:var(--modal-vertical-padding) 0;display:flex;top:0px;z-index:var(--modal-z-index);left:0px;width:100%;box-sizing:border-box;height:100vh;backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}@keyframes expand-modal--left{from{transform:translate(-100%)}}@keyframes expand-modal--right{from{transform:translate(100%)}}.modal__container{display:flex;flex-wrap:wrap;height:100%;box-sizing:border-box;width:100%;align-items:flex-start}.modal__container--right{animation:expand-modal--right .2s ease-in-out 1;justify-content:flex-end}.modal__container--left{animation:expand-modal--left .2s ease-in-out 1;justify-content:flex-start}.modal__content{display:flex;flex-wrap:wrap;max-height:calc(100% - 48px);overflow-y:auto;background-color:rgb(255, 255, 255);padding:24px;border-radius:12px 0px 0px 12px;box-shadow:rgb(0 38 111 / 12%) 0px 0px 16px 0px}.modal__content--right{border-radius:12px 0px 0px 12px}.modal__content--left{border-radius:0px 12px 12px 0px}.modal__box__container{display:flex;flex-wrap:wrap;background-color:#fff;width:100%;border-radius:12px}.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%}}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
let EzModal = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.ezChange = index.createEvent(this, "ezChange", 7);
|
|
@@ -24,8 +24,7 @@ const EzModal = class {
|
|
|
24
24
|
this.closeoutsideclick = false;
|
|
25
25
|
this.handleKeyboardEvent = (ev) => {
|
|
26
26
|
if ((ev === null || ev === void 0 ? void 0 : ev.key) === 'Escape' && this.closeesc) {
|
|
27
|
-
this.
|
|
28
|
-
this.ezChange.emit(this.oppened);
|
|
27
|
+
this.closeModal();
|
|
29
28
|
}
|
|
30
29
|
};
|
|
31
30
|
}
|
|
@@ -44,6 +43,10 @@ const EzModal = class {
|
|
|
44
43
|
document.removeEventListener('keydown', this.handleKeyboardEvent);
|
|
45
44
|
}
|
|
46
45
|
}
|
|
46
|
+
closeModal() {
|
|
47
|
+
this.oppened = false;
|
|
48
|
+
this.ezChange.emit(this.oppened);
|
|
49
|
+
}
|
|
47
50
|
///////
|
|
48
51
|
// trapTabKey(e) {
|
|
49
52
|
// // Check for TAB key press
|
|
@@ -92,16 +95,23 @@ const EzModal = class {
|
|
|
92
95
|
componentDidLoad() {
|
|
93
96
|
this.handleOppenedChange();
|
|
94
97
|
}
|
|
98
|
+
onMouseDownHandler(event) {
|
|
99
|
+
if (this.closeoutsideclick && event.target === this._overlay) {
|
|
100
|
+
this.closeModal();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
onWeelHandler(event) {
|
|
104
|
+
event.stopPropagation();
|
|
105
|
+
event.preventDefault();
|
|
106
|
+
}
|
|
95
107
|
//Ainda teremos ajustes visuais
|
|
96
108
|
render() {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
: undefined)
|
|
104
|
-
: undefined));
|
|
109
|
+
const positionSufix = this.align === "left" ? "left" : "right";
|
|
110
|
+
return (index.h(index.Host, null, this.oppened
|
|
111
|
+
?
|
|
112
|
+
index.h("div", { class: 'modal', onMouseDown: evt => this.onMouseDownHandler(evt), onWheel: evt => this.onWeelHandler(evt) }, index.h("div", { class: `modal__container modal__container--${positionSufix}`, ref: ref => this._overlay = ref }, index.h("div", { class: `modal__content modal__content--${positionSufix} ${this.modalsize}` }, index.h("slot", null))))
|
|
113
|
+
:
|
|
114
|
+
undefined));
|
|
105
115
|
}
|
|
106
116
|
static get watchers() { return {
|
|
107
117
|
"oppened": ["handleOppenedChange"]
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0f668cc5.js');
|
|
6
6
|
const RequestMetadata = require('./RequestMetadata-2cd01e8a.js');
|
|
7
7
|
|
|
8
8
|
const ezNumberInputCss = ":host{--ni--height:42px;--ni--width:100%;--ni__icon--width:48px;--ni--border-radius:var(--border--radius-medium, 12px);--ni--font-size:var(--text--medium, 14px);--ni--font-family:var(--font-pattern, Arial);--ni__input--background-color:var(--background--medium, #e0e0e0);--ni__input--border:var(--border--medium, 2px solid);--ni__input--border-color:var(--ni__input--background-color);--ni__input--focus--border-color:var(--color--primary, #008561);--ni__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ni__input--disabled--color:var(--text--disable, #AFB6C0);--ni__input--error--border-color:#CC2936;--ni__placeholder--disabled--color:var(--text--disable, #AFB6C0);--ni__placeholder--color:var(--title--primary, #919191);--ni__placeholder--font-weight:var(--text-weight--large, 500);--ni__message_box--font-size:var(--text--small, 12px);--ni__message_box--info--color:var(--color--success, #22085d);--ni__message_box--error--color:var(--color--error, #FF0000);display:flex;flex-wrap:wrap;position:relative;width:var(--ni--width)}.invisible{visibility:hidden}input{width:100%;box-sizing:border-box;padding:var(--space--medium);height:var(--ni--height);border-radius:var(--ni--border-radius);font-family:var(--ni--font-family);font-size:var(--ni--font-size);border:var(--ni__input--border);border-color:var(--ni__input--border-color);background-color:var(--ni__input--background-color);font-weight:var(--text-weight--large)}input:disabled{background-color:var(--ni__input--disabled--background-color);color:var(--ni__input--disabled--color)}input:focus{outline:none;border-color:var(--ni__input--focus--border-color)}input.icon--left{padding-left:var(--ni__icon--width)}input.icon--right{padding-right:var(--ni__icon--width)}input::placeholder{color:var(--ni__placeholder--color);font-weight:var(--ni__placeholder--font-weight)}input:disabled::placeholder{color:var(--ni__placeholder--disabled--color)}input.hasError{color:inherit;border-color:var(--ni__input--error--border-color)}input.text--right{text-align:right}.message-box{min-height:16px;min-width:100%;margin-top:2px;line-height:12px;font-family:var(--ni--font-family);font-size:var(--ni__message_box--font-size);color:var(--ni__message_box--info--color)}.hasError{color:var(--ni__message_box--error--color)}.input__label{font-size:var(--text--medium);font-weight:var(--text-weight--large);left:var(--space--medium);position:absolute;color:var(--title--primary);top:var(--space--medium);font-family:var(--ni--font-family);-webkit-transition:font-size .3s, top .3s;transition:font-size .3s, top .3s;z-index:var(--visible)}.input__label--floated{font-family:var(--ni--font-family);font-size:var(--text--extra-small);top:var(--space--small);color:var(--text--primary)}.input__label--left{left:var(--ni__icon--width)}.input--with--label{padding-bottom:0}";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
let NumberInput = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.ezChange = index.createEvent(this, "ezChange", 7);
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0f668cc5.js');
|
|
6
6
|
require('./RequestMetadata-2cd01e8a.js');
|
|
7
7
|
const FloatingManager = require('./FloatingManager-6cfeb947.js');
|
|
8
8
|
|
|
9
9
|
const ezPopoverCss = ":host{--pop__box--border-radius:var(--border--radius-medium, 12px);--pop__box--box-shadow:var(--shadow, 0px 0px 16px 0px #000);position:relative;display:flex;user-select:none;width:100%}.box{z-index:var(--more-visible, 1);display:flex;flex-direction:column;height:fit-content;background-color:transparent;border-radius:var(--pop__box--border-radius);box-shadow:var(--pop__box--box-shadow)}.box--fit-content{width:fit-content}.box--full-width{width:100%}";
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
let EzPopover = class {
|
|
12
12
|
constructor(hostRef) {
|
|
13
13
|
index.registerInstance(this, hostRef);
|
|
14
14
|
this._firstRender = true;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-0f668cc5.js');
|
|
6
|
+
|
|
7
|
+
const ezPopupCss = ":host{display:flex;--popup-title--primary:var(--title--primary, #2b3a54);--popup-font-pattern:var(--font-pattern, \"'Sora', 'Algerian'\");--popup-text-weight--large:var(--text-weight--large, 600);--popup-space--small:var(--space--small, 6px);--popup-space--medium:var(--space--medium, 12px);--popup-space--large:var(--space--large, 24px);--popup-error--background-color:var(--color--alert-error-800, #BD0025);--popup-warning--background-color:var(--color--alert-warning-500, #EFB103);--popup-text-weight--medium:var(--text-weight--medium, 400);--popup-text-shadow:var(--text-shadow, \"0 0 0 #353535, 0 0 1px transparent\");--popup-text--medium:var(--text--medium, 14px);--popup-text--primary:var(--text--primary, #626e82);--popup-z-index:var(--most-visible, 3);--popup--trash__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>');--popup--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>')}.overlay{position:fixed;display:flex;top:0px;z-index:var(--popup-z-index);left:0px;width:100%;align-items:center;justify-content:center;box-sizing:border-box;height:100vh;backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.popup{display:flex;height:100%;align-items:center;justify-content:center;box-sizing:border-box}.popup__container{width:100%;max-height:90%;display:flex;flex-wrap:wrap;overflow:hidden;background:#FFFF;color:var(--popup-title--primary);border-radius:12px;box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122);box-sizing:border-box;padding:var(--popup-space--large)}.popup__content{box-sizing:border-box;max-height:100%;width:100%;display:flex;flex-wrap:wrap}.popup__expandable-content{box-sizing:border-box;overflow-y:auto;width:100%;display:flex;flex-wrap:wrap;max-height:80vh;content-visibility:auto}.popup__header{padding-bottom:var(--popup-space--large);width:100%;display:flex}.popup__title{width:100%}.dialog__error--indicator{box-sizing:border-box;width:12px;border-radius:6px 0px 0px 6px;background-color:var(--popup-error--background-color)}.dialog__warning--indicator{width:12px;border-radius:6px 0px 0px 6px;box-sizing:border-box;background-color:var(--popup-warning--background-color)}.message{font-weight:var(--popup-text-weight--medium)}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:'';display:flex;background-color:var(--popup-title--primary);width:12px;height:12px;-webkit-mask-image:var(--popup--close__image);mask-image:var(--popup--close__image)}.btn-close--solo{width:100%}.title{display:flex;font-family:var(--popup-font-pattern);margin:0;font-weight:var(--popup-text-weight--large);line-height:1.3}.title--large{font-size:var(--popup-title--large)}.title__container{display:flex;align-items:center;padding-bottom:var(--popup-space--medium);align-self:center}.title--label{padding-left:var(--popup-space--small)}.text{font-family:var(--popup-font-pattern);text-shadow:var(--popup-text-shadow)}.text--medium{font-size:var(--popup-text--medium)}.text--primary{color:var(--popup-text--primary);text-shadow:var(--popup-text-shadow)}.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%}}";
|
|
8
|
+
|
|
9
|
+
let EzPopup = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.ezChange = index.createEvent(this, "ezChange", 7);
|
|
13
|
+
/**
|
|
14
|
+
* Define o width que o componente deve ter, seguindo o grid system.
|
|
15
|
+
*/
|
|
16
|
+
this.size = "col--sd-6";
|
|
17
|
+
/**
|
|
18
|
+
* Controla a exibição do componente.
|
|
19
|
+
*/
|
|
20
|
+
this.opened = false;
|
|
21
|
+
/**
|
|
22
|
+
* Define o componente utilizará um cabeçalho com botão de fechamento.
|
|
23
|
+
*/
|
|
24
|
+
this.useHeader = false;
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
if (this.opened) {
|
|
28
|
+
return (index.h(index.Host, null, index.h("div", { class: "overlay" }, index.h("div", { class: "popup col " + this.size }, index.h("div", { class: "popup__container" }, index.h("div", { class: "popup__content" }, index.h("div", { class: "popup__header" }, this.title ?
|
|
29
|
+
index.h("div", { class: "title popup__title" }, this.title)
|
|
30
|
+
: undefined, index.h("button", { class: this.title ? "btn-close" : "btn-close btn-close--solo", onClick: () => { this.opened = false; this.ezChange.emit("CANCEL"); } })), index.h("div", { class: "popup__expandable-content" }, index.h("slot", null))))))));
|
|
31
|
+
}
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
EzPopup.style = ezPopupCss;
|
|
36
|
+
|
|
37
|
+
exports.ez_popup = EzPopup;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0f668cc5.js');
|
|
6
6
|
const RequestMetadata = require('./RequestMetadata-2cd01e8a.js');
|
|
7
7
|
|
|
8
8
|
const ezTimeInputCss = ":host{--eztime--height:42px;--eztime--width:100%;--eztime__icon--width:48px;--eztime--border-radius:var(--border--radius-medium, 12px);--eztime--font-size:var(--text--medium, 14px);--eztime--font-family:var(--font-pattern, Arial);--eztime--font-weight:var(--text-weight--large, 500);--eztime--space--medium:var(--space--medium, 6px);--eztime__input--background-color:var(--background--medium, #e0e0e0);--eztime__input--border:var(--border--medium, 2px solid);--eztime__input--border-color:var(--eztime__input--background-color);--eztime__input--focus--border-color:var(--color--primary, #008561);--eztime__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--eztime__input--disabled--color:var(--text--disable, #AFB6C0);--eztime__input--error--border-color:#CC2936;--eztime__label--color:var(--title--primary, #919191);--eztime__message_box--font-size:var(--text--small, 12px);--eztime__message_box--info--color:var(--color--success, #22085d);--eztime__message_box--error--color:var(--color--error, #FF0000);display:flex;flex-wrap:wrap;position:relative;width:var(--eztime--width)}.invisible{visibility:hidden}input{width:100%;box-sizing:border-box;padding:var(--space--medium, 6px);font-weight:var(--text-weight--large, 600);height:var(--eztime--height);border-radius:var(--eztime--border-radius);font-family:var(--eztime--font-family);font-size:var(--eztime--font-size);border:var(--eztime__input--border);border-color:var(--eztime__input--border-color);background-color:var(--eztime__input--background-color)}input:disabled{background-color:var(--eztime__input--disabled--background-color);color:var(--eztime__input--disabled--color)}input:focus{outline:none;border-color:var(--eztime__input--focus--border-color)}input.icon--left{padding-left:var(--eztime__icon--width)}input.icon--right{padding-right:var(--eztime__icon--width)}input::placeholder{color:var(--eztime__placeholder--color);font-weight:var(--eztime__placeholder--font-weight)}input:disabled::placeholder{color:var(--eztime__placeholder--disabled--color)}input.hasError{color:inherit;border-color:var(--eztime__input--error--border-color)}input.text--right{text-align:right}.message-box{min-height:16px;min-width:100%;margin-top:2px;line-height:12px;font-family:var(--eztime--font-family);font-size:var(--eztime__message_box--font-size);color:var(--eztime__message_box--info--color)}.hasError{color:var(--eztime__message_box--error--color)}.input__label{font-size:var(--eztime--font-size);font-weight:var(--eztime--font-weight);position:absolute;color:var(it__label--color);top:var(--eztime--space--medium);font-family:var(--eztime--font-family);-webkit-transition:font-size .3s, top .3s;transition:font-size .3s, top .3s;z-index:var(--visible);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;left:var(--eztime__icon--width);width:calc(100% - 10px - var(--eztime__icon--width))}.input__label--floated{font-family:var(--eztime--font-family);font-size:var(--text--extra-small);top:var(--space--small);color:var(--text--primary)}.input__label--left{left:var(--eztime__icon--width);width:calc(100% - 10px - var(--eztime__icon--width))}.input__label--right{padding-right:var(--eztime__icon--width);width:calc(100% - 10px - var(--eztime__icon--width))}.input--with--label{padding-bottom:0}";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
let EzTimeInput = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
/**
|
package/dist/cjs/ezui.cjs.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-0f668cc5.js');
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v2.
|
|
6
|
+
Stencil Client Patch Browser v2.10.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const patchBrowser = () => {
|
|
9
9
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('ezui.cjs.js', document.baseURI).href));
|
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["ez-label-chip.cjs",[[1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errormessage":[1537],"showSeconds":[516,"show-seconds"],"setFocus":[64],"setBlur":[64]}]]],["ez-action-chip.cjs",[[1,"ez-action-chip",{"label":[513],"enabled":[516]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalsize":[
|
|
18
|
+
return index.bootstrapLazy([["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"critical":[1028],"message":[1025],"oppened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"title":[1025],"handleButtonClick":[64]}]]],["ez-label-chip.cjs",[[1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errormessage":[1537],"showSeconds":[516,"show-seconds"],"setFocus":[64],"setBlur":[64]}]]],["ez-action-chip.cjs",[[1,"ez-action-chip",{"label":[513],"enabled":[516]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalsize":[1],"align":[1],"oppened":[4],"closeesc":[4],"closeoutsideclick":[4]}]]],["ez-number-input.cjs",[[1,"ez-number-input",{"strvalue":[1025],"value":[1026],"label":[513],"enabled":[516],"errormessage":[1537],"precision":[1538],"prettyprecision":[1538],"textleft":[516],"formatnumber":[513],"setFocus":[64],"setBlur":[64],"handleFocusout":[64]}]]],["ez-popover.cjs",[[1,"ez-popover",{"autoclose":[516],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxwidth":[513],"isOpened":[1540,"is-opened"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup.cjs",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[1540,"use-header"],"title":[1]}]]],["ez-button_16.cjs",[[0,"ez-form",{"metadataexecutor":[1],"loadexecutor":[1],"saveexecutor":[1],"removeexecutor":[1],"fieldsearchexecutor":[1],"ignoresavevalidation":[4],"metadata":[16],"slavemode":[4],"validate":[64],"getChanges":[64],"changeFieldValue":[64]}],[1,"form-metadata",{"name":[1],"label":[1],"dataunit":[1025],"many":[4],"autoload":[4],"metadata":[1040]}],[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errormessage":[1537]}],[1,"ez-search",{"value":[1040],"label":[1537],"enabled":[1540],"errormessage":[1537],"optionloader":[16],"showselectedvalue":[4],"showoptionvalue":[4]}],[1,"ez-numeric-input",{"label":[513],"value":[1538],"enabled":[516],"errormessage":[1537],"precision":[8],"prettyprecision":[8]}],[1,"ez-check",{"label":[513],"value":[1540],"enabled":[516],"mode":[513],"getMode":[64],"setFocus":[64]}],[1,"ez-collapsable-box",{"value":[1540],"label":[513],"showHide":[64]}],[1,"ez-tabselector",{"selectedindex":[1537],"selectedtab":[1537],"tabs":[1]}],[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errormessage":[1537],"rows":[1538],"setFocus":[64],"setBlur":[64]}],[1,"ez-upload",{"maxFileSize":[514,"max-file-size"],"headers":[16],"timeout":[514],"withCredentials":[516,"with-credentials"],"formDataName":[513,"form-data-name"],"target":[513],"fileList":[32],"addFiles":[64]}],[1,"place-holder"],[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513]}],[1,"ez-combo-box",{"value":[1040],"label":[513],"enabled":[516],"options":[1040],"errormessage":[1537],"searchmode":[4],"showselectedvalue":[4],"showoptionvalue":[4],"optionloader":[16],"_preSelection":[32],"_visibleOptions":[32]}],[1,"ez-calendar",{"value":[1040],"floating":[516],"show":[64],"hide":[64]}],[1,"ez-icon",{"size":[513],"href":[513]}],[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errormessage":[1537],"onlynumber":[516],"mask":[1],"restrict":[1],"setFocus":[64],"setBlur":[64]}]]]], options);
|
|
19
19
|
});
|
|
@@ -367,7 +367,6 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
367
367
|
// Workaround for Safari, moving the <input> caret when re-assigning the same valued
|
|
368
368
|
if (memberName === 'list') {
|
|
369
369
|
isProp = false;
|
|
370
|
-
// tslint:disable-next-line: triple-equals
|
|
371
370
|
}
|
|
372
371
|
else if (oldValue == null || elm[memberName] != n) {
|
|
373
372
|
elm[memberName] = n;
|
|
@@ -1005,14 +1004,14 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1005
1004
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1006
1005
|
plt.jmp(() => {
|
|
1007
1006
|
const propName = attrNameToPropName.get(attrName);
|
|
1008
|
-
// In a
|
|
1007
|
+
// In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
|
|
1009
1008
|
// in the case where an attribute was set inline.
|
|
1010
1009
|
// ```html
|
|
1011
1010
|
// <my-component some-attribute="some-value"></my-component>
|
|
1012
1011
|
// ```
|
|
1013
1012
|
//
|
|
1014
|
-
// There is an edge case where a developer sets the attribute inline on a custom element and then
|
|
1015
|
-
// changes it before it has been upgraded as shown below:
|
|
1013
|
+
// There is an edge case where a developer sets the attribute inline on a custom element and then
|
|
1014
|
+
// programmatically changes it before it has been upgraded as shown below:
|
|
1016
1015
|
//
|
|
1017
1016
|
// ```html
|
|
1018
1017
|
// <!-- this component has _not_ been upgraded yet -->
|
|
@@ -1022,13 +1021,13 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1022
1021
|
// el = document.querySelector("#test");
|
|
1023
1022
|
// el.someAttribute = "another-value";
|
|
1024
1023
|
// // upgrade component
|
|
1025
|
-
//
|
|
1024
|
+
// customElements.define('my-component', MyComponent);
|
|
1026
1025
|
// </script>
|
|
1027
1026
|
// ```
|
|
1028
1027
|
// In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
|
|
1029
1028
|
// will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
|
|
1030
1029
|
// to the value that was set inline i.e. "some-value" from above example. When
|
|
1031
|
-
// the connectedCallback attempts to unshadow it will use "some-value" as the
|
|
1030
|
+
// the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
|
|
1032
1031
|
//
|
|
1033
1032
|
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
|
|
1034
1033
|
// by connectedCallback as this attributeChangedCallback will not fire.
|
|
@@ -1042,6 +1041,14 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1042
1041
|
newValue = this[propName];
|
|
1043
1042
|
delete this[propName];
|
|
1044
1043
|
}
|
|
1044
|
+
else if (prototype.hasOwnProperty(propName) &&
|
|
1045
|
+
typeof this[propName] === 'number' &&
|
|
1046
|
+
this[propName] == newValue) {
|
|
1047
|
+
// if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
|
|
1048
|
+
// APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
|
|
1049
|
+
// `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
|
|
1050
|
+
return;
|
|
1051
|
+
}
|
|
1045
1052
|
this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
|
|
1046
1053
|
});
|
|
1047
1054
|
};
|
|
@@ -1128,7 +1135,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1128
1135
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1129
1136
|
const schedule = () => scheduleUpdate(hostRef, true);
|
|
1130
1137
|
if (ancestorComponent && ancestorComponent['s-rc']) {
|
|
1131
|
-
// this is the
|
|
1138
|
+
// this is the initial load and this component it has an ancestor component
|
|
1132
1139
|
// but the ancestor component has NOT fired its will update lifecycle yet
|
|
1133
1140
|
// so let's just cool our jets and wait for the ancestor to continue first
|
|
1134
1141
|
// this will get fired off when the ancestor component
|
|
@@ -1208,68 +1215,70 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1208
1215
|
let isBootstrapping = true;
|
|
1209
1216
|
Object.assign(plt, options);
|
|
1210
1217
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1211
|
-
lazyBundles.map((lazyBundle) =>
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1218
|
+
lazyBundles.map((lazyBundle) => {
|
|
1219
|
+
lazyBundle[1].map((compactMeta) => {
|
|
1220
|
+
const cmpMeta = {
|
|
1221
|
+
$flags$: compactMeta[0],
|
|
1222
|
+
$tagName$: compactMeta[1],
|
|
1223
|
+
$members$: compactMeta[2],
|
|
1224
|
+
$listeners$: compactMeta[3],
|
|
1225
|
+
};
|
|
1226
|
+
{
|
|
1227
|
+
cmpMeta.$members$ = compactMeta[2];
|
|
1228
|
+
}
|
|
1229
|
+
{
|
|
1230
|
+
cmpMeta.$attrsToReflect$ = [];
|
|
1231
|
+
}
|
|
1232
|
+
{
|
|
1233
|
+
cmpMeta.$watchers$ = {};
|
|
1234
|
+
}
|
|
1235
|
+
const tagName = cmpMeta.$tagName$;
|
|
1236
|
+
const HostElement = class extends HTMLElement {
|
|
1237
|
+
// StencilLazyHost
|
|
1238
|
+
constructor(self) {
|
|
1239
|
+
// @ts-ignore
|
|
1240
|
+
super(self);
|
|
1241
|
+
self = this;
|
|
1242
|
+
registerHost(self, cmpMeta);
|
|
1243
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1244
|
+
// this component is using shadow dom
|
|
1245
|
+
// and this browser supports shadow dom
|
|
1246
|
+
// add the read-only property "shadowRoot" to the host element
|
|
1247
|
+
// adding the shadow root build conditionals to minimize runtime
|
|
1241
1248
|
{
|
|
1242
|
-
|
|
1249
|
+
{
|
|
1250
|
+
self.attachShadow({ mode: 'open' });
|
|
1251
|
+
}
|
|
1243
1252
|
}
|
|
1244
1253
|
}
|
|
1245
1254
|
}
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1255
|
+
connectedCallback() {
|
|
1256
|
+
if (appLoadFallback) {
|
|
1257
|
+
clearTimeout(appLoadFallback);
|
|
1258
|
+
appLoadFallback = null;
|
|
1259
|
+
}
|
|
1260
|
+
if (isBootstrapping) {
|
|
1261
|
+
// connectedCallback will be processed once all components have been registered
|
|
1262
|
+
deferredConnectedCallbacks.push(this);
|
|
1263
|
+
}
|
|
1264
|
+
else {
|
|
1265
|
+
plt.jmp(() => connectedCallback(this));
|
|
1266
|
+
}
|
|
1251
1267
|
}
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
deferredConnectedCallbacks.push(this);
|
|
1268
|
+
disconnectedCallback() {
|
|
1269
|
+
plt.jmp(() => disconnectedCallback(this));
|
|
1255
1270
|
}
|
|
1256
|
-
|
|
1257
|
-
|
|
1271
|
+
componentOnReady() {
|
|
1272
|
+
return getHostRef(this).$onReadyPromise$;
|
|
1258
1273
|
}
|
|
1274
|
+
};
|
|
1275
|
+
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1276
|
+
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1277
|
+
cmpTags.push(tagName);
|
|
1278
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1259
1279
|
}
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
}
|
|
1263
|
-
componentOnReady() {
|
|
1264
|
-
return getHostRef(this).$onReadyPromise$;
|
|
1265
|
-
}
|
|
1266
|
-
};
|
|
1267
|
-
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1268
|
-
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1269
|
-
cmpTags.push(tagName);
|
|
1270
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1271
|
-
}
|
|
1272
|
-
}));
|
|
1280
|
+
});
|
|
1281
|
+
});
|
|
1273
1282
|
{
|
|
1274
1283
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
1275
1284
|
visibilityStyle.setAttribute('data-styles', '');
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0f668cc5.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v2.
|
|
8
|
+
Stencil Client Patch Esm v2.10.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["ez-label-chip.cjs",[[1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errormessage":[1537],"showSeconds":[516,"show-seconds"],"setFocus":[64],"setBlur":[64]}]]],["ez-action-chip.cjs",[[1,"ez-action-chip",{"label":[513],"enabled":[516]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalsize":[
|
|
17
|
+
return index.bootstrapLazy([["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"critical":[1028],"message":[1025],"oppened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"title":[1025],"handleButtonClick":[64]}]]],["ez-label-chip.cjs",[[1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errormessage":[1537],"showSeconds":[516,"show-seconds"],"setFocus":[64],"setBlur":[64]}]]],["ez-action-chip.cjs",[[1,"ez-action-chip",{"label":[513],"enabled":[516]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalsize":[1],"align":[1],"oppened":[4],"closeesc":[4],"closeoutsideclick":[4]}]]],["ez-number-input.cjs",[[1,"ez-number-input",{"strvalue":[1025],"value":[1026],"label":[513],"enabled":[516],"errormessage":[1537],"precision":[1538],"prettyprecision":[1538],"textleft":[516],"formatnumber":[513],"setFocus":[64],"setBlur":[64],"handleFocusout":[64]}]]],["ez-popover.cjs",[[1,"ez-popover",{"autoclose":[516],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxwidth":[513],"isOpened":[1540,"is-opened"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup.cjs",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[1540,"use-header"],"title":[1]}]]],["ez-button_16.cjs",[[0,"ez-form",{"metadataexecutor":[1],"loadexecutor":[1],"saveexecutor":[1],"removeexecutor":[1],"fieldsearchexecutor":[1],"ignoresavevalidation":[4],"metadata":[16],"slavemode":[4],"validate":[64],"getChanges":[64],"changeFieldValue":[64]}],[1,"form-metadata",{"name":[1],"label":[1],"dataunit":[1025],"many":[4],"autoload":[4],"metadata":[1040]}],[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errormessage":[1537]}],[1,"ez-search",{"value":[1040],"label":[1537],"enabled":[1540],"errormessage":[1537],"optionloader":[16],"showselectedvalue":[4],"showoptionvalue":[4]}],[1,"ez-numeric-input",{"label":[513],"value":[1538],"enabled":[516],"errormessage":[1537],"precision":[8],"prettyprecision":[8]}],[1,"ez-check",{"label":[513],"value":[1540],"enabled":[516],"mode":[513],"getMode":[64],"setFocus":[64]}],[1,"ez-collapsable-box",{"value":[1540],"label":[513],"showHide":[64]}],[1,"ez-tabselector",{"selectedindex":[1537],"selectedtab":[1537],"tabs":[1]}],[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errormessage":[1537],"rows":[1538],"setFocus":[64],"setBlur":[64]}],[1,"ez-upload",{"maxFileSize":[514,"max-file-size"],"headers":[16],"timeout":[514],"withCredentials":[516,"with-credentials"],"formDataName":[513,"form-data-name"],"target":[513],"fileList":[32],"addFiles":[64]}],[1,"place-holder"],[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513]}],[1,"ez-combo-box",{"value":[1040],"label":[513],"enabled":[516],"options":[1040],"errormessage":[1537],"searchmode":[4],"showselectedvalue":[4],"showoptionvalue":[4],"optionloader":[16],"_preSelection":[32],"_visibleOptions":[32]}],[1,"ez-calendar",{"value":[1040],"floating":[516],"show":[64],"hide":[64]}],[1,"ez-icon",{"size":[513],"href":[513]}],[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errormessage":[1537],"onlynumber":[516],"mask":[1],"restrict":[1],"setFocus":[64],"setBlur":[64]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"entries": [
|
|
3
|
-
"./components/ez-form/ez-form.js",
|
|
4
3
|
"./components/ez-combo-box/ez-combo-box.js",
|
|
5
|
-
"./components/ez-
|
|
4
|
+
"./components/ez-form/ez-form.js",
|
|
6
5
|
"./components/ez-upload/ez-upload.js",
|
|
7
6
|
"./components/ez-action-chip/ez-action-chip.js",
|
|
8
7
|
"./components/ez-button/ez-button.js",
|
|
@@ -10,6 +9,7 @@
|
|
|
10
9
|
"./components/ez-check/ez-check.js",
|
|
11
10
|
"./components/ez-collapsable-box/ez-collapsable-box.js",
|
|
12
11
|
"./components/ez-date-input/ez-date-input.js",
|
|
12
|
+
"./components/ez-dialog/ez-dialog.js",
|
|
13
13
|
"./components/ez-form/subcomponents/form-metadata.js",
|
|
14
14
|
"./components/ez-form/subcomponents/place-holder.js",
|
|
15
15
|
"./components/ez-icon/ez-icon.js",
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"./components/ez-number-input/ez-number-input.js",
|
|
19
19
|
"./components/ez-numeric-input/ez-numeric-input.js",
|
|
20
20
|
"./components/ez-popover/ez-popover.js",
|
|
21
|
+
"./components/ez-popup/ez-popup.js",
|
|
22
|
+
"./components/ez-search/ez-search.js",
|
|
21
23
|
"./components/ez-tabselector/ez-tabselector.js",
|
|
22
24
|
"./components/ez-text-area/ez-text-area.js",
|
|
23
25
|
"./components/ez-text-input/ez-text-input.js",
|
|
@@ -25,8 +27,8 @@
|
|
|
25
27
|
],
|
|
26
28
|
"compiler": {
|
|
27
29
|
"name": "@stencil/core",
|
|
28
|
-
"version": "2.
|
|
29
|
-
"typescriptVersion": "4.
|
|
30
|
+
"version": "2.10.0",
|
|
31
|
+
"typescriptVersion": "4.3.5"
|
|
30
32
|
},
|
|
31
33
|
"collections": [],
|
|
32
34
|
"bundles": []
|
|
@@ -25,11 +25,9 @@ export class EzCalendar {
|
|
|
25
25
|
async show(top, left, bottom, right) {
|
|
26
26
|
if (this.floating) {
|
|
27
27
|
this._floatingID = FloatingManager.float(this._box, this._container, { autoClose: true, top, left, bottom, right });
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
});*/
|
|
28
|
+
window.requestAnimationFrame(() => {
|
|
29
|
+
this._box.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'nearest' });
|
|
30
|
+
});
|
|
33
31
|
}
|
|
34
32
|
}
|
|
35
33
|
/**
|
|
@@ -55,7 +55,7 @@ export class EzCheck {
|
|
|
55
55
|
render() {
|
|
56
56
|
return (h(Host, null,
|
|
57
57
|
h("input", { type: "checkbox", class: "regularMode", checked: this.value === true, onChange: () => { this.changeValue(); }, disabled: !this.enabled, ref: (el) => this._inputElem = el }),
|
|
58
|
-
this.label ? h("label", { class: this.getLabelClasses(), title: this.label }, this.label) : null));
|
|
58
|
+
this.label ? h("label", { class: this.getLabelClasses(), onClick: () => { this.changeValue(); }, title: this.label }, this.label) : null));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "ez-check"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|