@sankhyalabs/ezui 1.1.68 → 1.1.71
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 +1 -1
- package/dist/cjs/ez-button_16.cjs.entry.js +97 -97
- package/dist/cjs/ez-dialog.cjs.entry.js +7 -1
- package/dist/cjs/ez-modal.cjs.entry.js +16 -69
- package/dist/cjs/ez-popover.cjs.entry.js +13 -18
- package/dist/cjs/ez-popup.cjs.entry.js +2 -2
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ez-action-chip/ez-action-chip.css +2 -1
- package/dist/collection/components/ez-action-chip/ez-action-chip.js +1 -1
- package/dist/collection/components/ez-button/ez-button.css +11 -6
- package/dist/collection/components/ez-button/ez-button.js +4 -1
- package/dist/collection/components/ez-calendar/ez-calendar.css +2 -2
- package/dist/collection/components/ez-check/ez-check.js +6 -6
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +2 -2
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +1 -1
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +46 -44
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +36 -37
- package/dist/collection/components/ez-date-input/ez-date-input.js +1 -1
- package/dist/collection/components/ez-dialog/ez-dialog.css +43 -43
- package/dist/collection/components/ez-dialog/ez-dialog.js +10 -4
- package/dist/collection/components/ez-form/subcomponents/structure/FormSheet.js +1 -1
- package/dist/collection/components/ez-icon/ez-icon.js +2 -2
- package/dist/collection/components/ez-label-chip/ez-label-chip.css +2 -1
- package/dist/collection/components/ez-label-chip/ez-label-chip.js +1 -1
- package/dist/collection/components/ez-modal/ez-modal.css +1 -1
- package/dist/collection/components/ez-modal/ez-modal.js +30 -83
- package/dist/collection/components/ez-numeric-input/ez-numeric-input.css +1 -1
- package/dist/collection/components/ez-numeric-input/ez-numeric-input.js +2 -2
- package/dist/collection/components/ez-popover/ez-popover.css +4 -5
- package/dist/collection/components/ez-popover/ez-popover.js +25 -30
- package/dist/collection/components/ez-popup/ez-popup.css +7 -7
- package/dist/collection/components/ez-popup/ez-popup.js +4 -4
- package/dist/collection/components/ez-search/ez-search.js +3 -3
- package/dist/collection/components/ez-tabselector/ez-tabselector.css +7 -10
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +68 -70
- package/dist/collection/components/ez-text-area/ez-text-area.css +6 -0
- package/dist/collection/components/ez-text-area/ez-text-area.js +4 -4
- package/dist/collection/components/ez-text-input/ez-text-input.css +8 -0
- package/dist/collection/components/ez-text-input/ez-text-input.js +3 -3
- package/dist/collection/components/ez-time-input/ez-time-input.css +8 -0
- package/dist/collection/components/ez-time-input/ez-time-input.js +1 -1
- package/dist/collection/components/ez-toast/ez-toast.css +2 -2
- package/dist/collection/components/ez-upload/ez-upload.css +4 -1
- package/dist/collection/components/ez-upload/ez-upload.js +3 -3
- package/dist/custom-elements/index.js +140 -192
- package/dist/esm/ez-action-chip.entry.js +1 -1
- package/dist/esm/ez-button_16.entry.js +97 -97
- package/dist/esm/ez-dialog.entry.js +7 -1
- package/dist/esm/ez-modal.entry.js +16 -69
- package/dist/esm/ez-popover.entry.js +13 -18
- package/dist/esm/ez-popup.entry.js +2 -2
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-1bc9ddad.entry.js +1 -0
- package/dist/ezui/{p-4f4b8aae.entry.js → p-1c33a56d.entry.js} +1 -1
- package/dist/ezui/p-5aa8871e.entry.js +1 -0
- package/dist/ezui/p-a7e23f65.entry.js +1 -0
- package/dist/ezui/p-a88ee12f.entry.js +1 -0
- package/dist/ezui/p-b692a0ab.entry.js +1 -0
- package/dist/types/components/ez-action-chip/ez-action-chip.d.ts +1 -1
- package/dist/types/components/ez-button/ez-button.d.ts +1 -1
- package/dist/types/components/ez-check/ez-check.d.ts +3 -3
- package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +1 -1
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +7 -7
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +1 -1
- package/dist/types/components/ez-dialog/ez-dialog.d.ts +8 -2
- package/dist/types/components/ez-icon/ez-icon.d.ts +1 -1
- package/dist/types/components/ez-label-chip/ez-label-chip.d.ts +1 -1
- package/dist/types/components/ez-modal/ez-modal.d.ts +9 -9
- package/dist/types/components/ez-numeric-input/ez-numeric-input.d.ts +2 -2
- package/dist/types/components/ez-popover/ez-popover.d.ts +4 -5
- package/dist/types/components/ez-popup/ez-popup.d.ts +3 -3
- package/dist/types/components/ez-search/ez-search.d.ts +2 -2
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +19 -10
- package/dist/types/components/ez-text-area/ez-text-area.d.ts +3 -3
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +3 -3
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +1 -1
- package/dist/types/components/ez-upload/ez-upload.d.ts +3 -3
- package/dist/types/components.d.ts +116 -92
- package/package.json +1 -1
- package/dist/ezui/p-7c7dbfcb.entry.js +0 -1
- package/dist/ezui/p-7d066b1c.entry.js +0 -1
- package/dist/ezui/p-8c8f1c00.entry.js +0 -1
- package/dist/ezui/p-d185d7e8.entry.js +0 -1
- package/dist/ezui/p-ee5058c1.entry.js +0 -1
|
@@ -13,104 +13,51 @@ let EzModal = class {
|
|
|
13
13
|
/**
|
|
14
14
|
* Controle de exibição do Modal
|
|
15
15
|
*/
|
|
16
|
-
this.
|
|
16
|
+
this.opened = true;
|
|
17
17
|
/**
|
|
18
|
-
* Define se o modal será fechado ao
|
|
18
|
+
* Define se o modal será fechado ao clicar ESC
|
|
19
19
|
*/
|
|
20
|
-
this.
|
|
20
|
+
this.closeEsc = false;
|
|
21
21
|
/**
|
|
22
22
|
* Define se o modal será fechado ao clicar fora do conteúdo.
|
|
23
23
|
*/
|
|
24
|
-
this.
|
|
24
|
+
this.closeOutsideClick = false;
|
|
25
25
|
this.handleKeyboardEvent = (ev) => {
|
|
26
|
-
if ((ev === null || ev === void 0 ? void 0 : ev.key) ===
|
|
26
|
+
if ((ev === null || ev === void 0 ? void 0 : ev.key) === "Escape" && this.closeEsc) {
|
|
27
27
|
this.closeModal();
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
// this.oppened = false;
|
|
35
|
-
// this.ezChange.emit(this.oppened);
|
|
36
|
-
// }
|
|
37
|
-
// }
|
|
38
|
-
handleOppenedChange() {
|
|
39
|
-
if (this.oppened) {
|
|
40
|
-
document.addEventListener('keydown', this.handleKeyboardEvent);
|
|
31
|
+
handleopenedChange() {
|
|
32
|
+
if (this.opened) {
|
|
33
|
+
document.addEventListener("keydown", this.handleKeyboardEvent);
|
|
41
34
|
}
|
|
42
35
|
else {
|
|
43
|
-
document.removeEventListener(
|
|
36
|
+
document.removeEventListener("keydown", this.handleKeyboardEvent);
|
|
44
37
|
}
|
|
45
38
|
}
|
|
46
39
|
closeModal() {
|
|
47
|
-
this.
|
|
48
|
-
this.ezCloseModal.emit(this.
|
|
40
|
+
this.opened = false;
|
|
41
|
+
this.ezCloseModal.emit(this.opened);
|
|
49
42
|
}
|
|
50
|
-
///////
|
|
51
|
-
// trapTabKey(e) {
|
|
52
|
-
// // Check for TAB key press
|
|
53
|
-
// if (e.keyCode === 9) {
|
|
54
|
-
// // SHIFT + TAB
|
|
55
|
-
// if (e.shiftKey) {
|
|
56
|
-
// if (document.activeElement === this._firstTabStop) {
|
|
57
|
-
// e.preventDefault();
|
|
58
|
-
// this._lastTabStop.focus();
|
|
59
|
-
// }
|
|
60
|
-
// // TAB
|
|
61
|
-
// } else {
|
|
62
|
-
// if (document.activeElement === this._lastTabStop) {
|
|
63
|
-
// e.preventDefault();
|
|
64
|
-
// this._firstTabStop.focus();
|
|
65
|
-
// }
|
|
66
|
-
// }
|
|
67
|
-
// }
|
|
68
|
-
// if (e.keyCode === 27) {
|
|
69
|
-
// this.closeModal();
|
|
70
|
-
// }
|
|
71
|
-
// }
|
|
72
|
-
// closeModal() {
|
|
73
|
-
// this.oppened = false;
|
|
74
|
-
// this._focusedElementBeforeModal.focus();
|
|
75
|
-
// }
|
|
76
|
-
// componentDidLoad() {
|
|
77
|
-
// this._overlay.addEventListener('keydown', (ev) => { this.trapTabKey(ev) });
|
|
78
|
-
// // Save current focus
|
|
79
|
-
// this._focusedElementBeforeModal = document.activeElement;
|
|
80
|
-
// // Find all focusable children
|
|
81
|
-
// var focusableElementsString = 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]';
|
|
82
|
-
// var focusableElements = this._modalContainer.querySelectorAll(focusableElementsString);
|
|
83
|
-
// // Convert NodeList to Array
|
|
84
|
-
// focusableElements = Array.prototype.slice.call(focusableElements);
|
|
85
|
-
// this._firstTabStop = focusableElements[0];
|
|
86
|
-
// this._lastTabStop = focusableElements[focusableElements.length - 1];
|
|
87
|
-
// // Focus first child
|
|
88
|
-
// this._firstTabStop.focus();
|
|
89
|
-
// }
|
|
90
|
-
// componentDidUpdate() {
|
|
91
|
-
// var focusableElementsString = 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]';
|
|
92
|
-
// var focusableElements = this._modalContainer.querySelectorAll(focusableElementsString);
|
|
93
|
-
// }
|
|
94
|
-
/////
|
|
95
43
|
componentDidLoad() {
|
|
96
|
-
this.
|
|
44
|
+
this.handleopenedChange();
|
|
97
45
|
}
|
|
98
46
|
onMouseDownHandler(event) {
|
|
99
|
-
if (this.
|
|
47
|
+
if (this.closeOutsideClick && event.target === this._overlay) {
|
|
100
48
|
this.closeModal();
|
|
101
49
|
}
|
|
102
50
|
}
|
|
103
|
-
//Ainda teremos ajustes visuais
|
|
104
51
|
render() {
|
|
105
52
|
const positionSufix = this.align === "left" ? "left" : "right";
|
|
106
|
-
return (index.h(index.Host, null, this.
|
|
53
|
+
return (index.h(index.Host, null, this.opened
|
|
107
54
|
?
|
|
108
|
-
index.h("div", { class:
|
|
55
|
+
index.h("div", { class: "modal", onMouseDown: evt => this.onMouseDownHandler(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))))
|
|
109
56
|
:
|
|
110
57
|
undefined));
|
|
111
58
|
}
|
|
112
59
|
static get watchers() { return {
|
|
113
|
-
"
|
|
60
|
+
"opened": ["handleopenedChange"]
|
|
114
61
|
}; }
|
|
115
62
|
};
|
|
116
63
|
EzModal.style = ezModalCss;
|
|
@@ -6,7 +6,7 @@ const index = require('./index-0f668cc5.js');
|
|
|
6
6
|
require('./RequestMetadata-2cd01e8a.js');
|
|
7
7
|
const FloatingManager = require('./FloatingManager-6cfeb947.js');
|
|
8
8
|
|
|
9
|
-
const ezPopoverCss = ":host{--
|
|
9
|
+
const ezPopoverCss = ":host{--popover__box--border-radius:var(--border--radius-medium, 12px);--popover__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:var(--background--xlight);border-radius:var(--popover__box--border-radius);box-shadow:var(--popover__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) {
|
|
@@ -17,28 +17,28 @@ let EzPopover = class {
|
|
|
17
17
|
* No modo floating = false o popover só se tornará visível
|
|
18
18
|
* quando o método show() for acionado.
|
|
19
19
|
*/
|
|
20
|
-
this.
|
|
20
|
+
this.autoClose = true;
|
|
21
21
|
/**
|
|
22
22
|
* Offset top do popover em relação ao componente pai
|
|
23
23
|
*/
|
|
24
|
-
this.top =
|
|
24
|
+
this.top = "0px";
|
|
25
25
|
/**
|
|
26
26
|
* Offset left do popover em relação ao componente pai
|
|
27
27
|
*/
|
|
28
|
-
this.left =
|
|
28
|
+
this.left = "0px";
|
|
29
29
|
/**
|
|
30
30
|
* Offset bottom do popover em relação ao componente pai
|
|
31
31
|
*/
|
|
32
|
-
this.bottom =
|
|
32
|
+
this.bottom = "0px";
|
|
33
33
|
/**
|
|
34
34
|
* Offset right do popover em relação ao componente pai
|
|
35
35
|
*/
|
|
36
|
-
this.right =
|
|
36
|
+
this.right = "0px";
|
|
37
37
|
/**
|
|
38
38
|
* Ajusta o comportamento da largura do popover.
|
|
39
39
|
* Opções: "100% e "fit-content" (default)
|
|
40
40
|
*/
|
|
41
|
-
this.
|
|
41
|
+
this.boxWidth = "fit-content";
|
|
42
42
|
}
|
|
43
43
|
dispatchVisibilityChange(newValue, oldValue) {
|
|
44
44
|
if (newValue != oldValue) {
|
|
@@ -50,7 +50,7 @@ let EzPopover = class {
|
|
|
50
50
|
*/
|
|
51
51
|
async updatePosition(top = this.top, left = this.left, bottom = this.bottom, right = this.right) {
|
|
52
52
|
const floatingOptions = {
|
|
53
|
-
autoClose: this.
|
|
53
|
+
autoClose: this.autoClose,
|
|
54
54
|
top,
|
|
55
55
|
left,
|
|
56
56
|
bottom,
|
|
@@ -62,8 +62,6 @@ let EzPopover = class {
|
|
|
62
62
|
if (_container.shadowRoot && _container.shadowRoot.contains(node)) {
|
|
63
63
|
return true;
|
|
64
64
|
}
|
|
65
|
-
//Here: we pass this._box as parameter but we need to change to _host
|
|
66
|
-
//because we need to get the lasChild (inner content to put in slot)
|
|
67
65
|
_container = this._host;
|
|
68
66
|
return !_container.lastElementChild.shadowRoot ? _container.contains(node) : _container.lastElementChild.shadowRoot.contains(node);
|
|
69
67
|
}
|
|
@@ -72,11 +70,10 @@ let EzPopover = class {
|
|
|
72
70
|
}
|
|
73
71
|
/**
|
|
74
72
|
* Faz com que o popover seja renderizado na DOM.
|
|
75
|
-
*
|
|
76
73
|
*/
|
|
77
74
|
async show(top = this.top, left = this.left, bottom = this.bottom, right = this.right) {
|
|
78
75
|
const floatingOptions = {
|
|
79
|
-
autoClose: this.
|
|
76
|
+
autoClose: this.autoClose,
|
|
80
77
|
top,
|
|
81
78
|
left,
|
|
82
79
|
bottom,
|
|
@@ -88,14 +85,12 @@ let EzPopover = class {
|
|
|
88
85
|
if (_container.shadowRoot && _container.shadowRoot.contains(node)) {
|
|
89
86
|
return true;
|
|
90
87
|
}
|
|
91
|
-
// Here: we pass this._box as parameter but we need to change to _host
|
|
92
|
-
// because we need to get the lasChild (inner content to put in slot)
|
|
93
88
|
_container = this._host;
|
|
94
89
|
return !_container.lastElementChild.shadowRoot ? _container.contains(node) : _container.lastElementChild.shadowRoot.contains(node);
|
|
95
90
|
}
|
|
96
91
|
};
|
|
97
92
|
this._floatingID = FloatingManager.FloatingManager.float(this._box, this._container, floatingOptions);
|
|
98
|
-
this.
|
|
93
|
+
this.opened = true;
|
|
99
94
|
}
|
|
100
95
|
/**
|
|
101
96
|
* Usado no modo floating. Faz com que o componente seja ocultado.
|
|
@@ -104,7 +99,7 @@ let EzPopover = class {
|
|
|
104
99
|
if (this._floatingID !== undefined) {
|
|
105
100
|
FloatingManager.FloatingManager.close(this._floatingID);
|
|
106
101
|
this._floatingID = undefined;
|
|
107
|
-
this.
|
|
102
|
+
this.opened = false;
|
|
108
103
|
}
|
|
109
104
|
}
|
|
110
105
|
componentDidRender() {
|
|
@@ -114,11 +109,11 @@ let EzPopover = class {
|
|
|
114
109
|
}
|
|
115
110
|
}
|
|
116
111
|
render() {
|
|
117
|
-
return (index.h(index.Host, null, index.h("section", { ref: el => this._container = el }, index.h("div", { class: `box ${this.
|
|
112
|
+
return (index.h(index.Host, null, index.h("section", { ref: el => this._container = el }, index.h("div", { class: `box ${this.boxWidth === "fit-content" ? "box--fit-content" : "box--full-width"}`, ref: el => this._box = el }, index.h("slot", null)))));
|
|
118
113
|
}
|
|
119
114
|
get _host() { return index.getElement(this); }
|
|
120
115
|
static get watchers() { return {
|
|
121
|
-
"
|
|
116
|
+
"opened": ["dispatchVisibilityChange"]
|
|
122
117
|
}; }
|
|
123
118
|
};
|
|
124
119
|
EzPopover.style = ezPopoverCss;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-0f668cc5.js');
|
|
6
6
|
|
|
7
|
-
const ezPopupCss = ":host{display:flex;--popup-z-index:var(--most-visible, 3);--popup__container--color:var(--title--primary, #2b3a54);--popup__container--padding:var(--space--large, 24px);--popup__header--padding-bottom:var(--space--medium, 12px);--popup__title--font-family:var(--font-pattern, \"'Sora', 'Algerian'\");--popup__title--font-size:var(--title--extra-large, 24px);--popup__title--color:var(--title--primary, #2b3a54);--popup__title--font-weight:var(--text-weight--large, 600);--popup__btn__close--
|
|
7
|
+
const ezPopupCss = ":host{display:flex;--popup-z-index:var(--most-visible, 3);--popup__container--color:var(--title--primary, #2b3a54);--popup__container--padding:var(--space--large, 24px);--popup__header--padding-bottom:var(--space--medium, 12px);--popup__title--font-family:var(--font-pattern, \"'Sora', 'Algerian'\");--popup__title--font-size:var(--title--extra-large, 24px);--popup__title--color:var(--title--primary, #2b3a54);--popup__title--font-weight:var(--text-weight--large, 600);--popup__btn__close--icon-color:var(--title--primary, #2b3a54);--popup__btn__close--icon:url('data:image/svg+xml;utf8,<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 8.2421753,6.9944578 13.743748,1.4930784 C 13.907781,1.3290628 14,1.1065946 14,0.87462511 14,0.64266712 13.907782,0.42019873 13.743748,0.25617155 13.579712,0.09215597 13.35727,6.48e-8 13.125266,6.48e-8 12.89338,6.48e-8 12.670821,0.09215634 12.506787,0.25617155 L 7.005215,5.7575508 1.5035972,0.25617155 C 1.3395631,0.09215597 1.1170968,6.48e-8 0.88511716,6.48e-8 0.65314917,6.48e-8 0.4306712,0.09215597 0.26663695,0.25617155 0.10260271,0.42019873 0.01045441,0.64266712 0.01045441,0.87462511 c 0,0.23196949 0.0921483,0.45443769 0.25618254,0.61845329 L 5.7682546,6.9944578 0.26663695,12.497027 c -0.0834745,0.08067 -0.15003245,0.1772 -0.19581514,0.283871 C 0.02505077,12.887561 9.831648e-4,13.002399 2.950369e-5,13.118395 -9.2415746e-4,13.234504 0.02125019,13.349689 0.06527245,13.457057 c 0.04401053,0.107479 0.10898307,0.205064 0.1911168,0.287137 0.0821454,0.08208 0.17979645,0.146888 0.28727561,0.190839 0.10747906,0.04395 0.22262954,0.06598 0.33872417,0.06493 0.116095,-10e-4 0.23082547,-0.0253 0.33747687,-0.07112 0.1066637,-0.04593 0.2031133,-0.112615 0.2837313,-0.196086 L 7.005215,8.2313646 12.506787,13.732768 c 0.164034,0.164027 0.386593,0.256125 0.618479,0.256125 0.232004,0 0.454446,-0.09209 0.618482,-0.256125 C 13.907781,13.568741 14,13.346308 14,13.114315 14,12.882323 13.90779,12.659888 13.743748,12.495861 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__container--color);border-radius:12px;box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122);box-sizing:border-box;padding:var(--popup__container--padding)}.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__header--padding-bottom);width:100%;display:flex}.popup__title{display:flex;margin:0;width:100%;font-family:var(--popup__title--font-family);font-size:var(--popup__title--font-size);font-weight:var(--popup__title--font-weight);color:var(--popup__title--color);line-height:1.3}.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__btn__close--icon-color);width:14px;height:14px;-webkit-mask-image:var(--popup__btn__close--icon);mask-image:var(--popup__btn__close--icon)}.btn-close--solo{width:100%}.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 EzPopup = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -27,7 +27,7 @@ let EzPopup = class {
|
|
|
27
27
|
*/
|
|
28
28
|
this.opened = false;
|
|
29
29
|
/**
|
|
30
|
-
* Define o componente utilizará um cabeçalho com botão de fechamento.
|
|
30
|
+
* Define se o componente utilizará um cabeçalho com botão de fechamento.
|
|
31
31
|
*/
|
|
32
32
|
this.useHeader = false;
|
|
33
33
|
}
|
package/dist/cjs/ezui.cjs.js
CHANGED
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"critical":[1028],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"handleButtonClick":[64],"show":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"setFocus":[64],"setBlur":[64]}]]],["ez-action-chip.cjs",[[1,"ez-action-chip",{"label":[513],"enabled":[516]}]]],["ez-label-chip.cjs",[[1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-modal.cjs",[[1,"ez-modal",{"
|
|
18
|
+
return index.bootstrapLazy([["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"critical":[1028],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"handleButtonClick":[64],"show":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"setFocus":[64],"setBlur":[64]}]]],["ez-action-chip.cjs",[[1,"ez-action-chip",{"label":[513],"enabled":[516]}]]],["ez-label-chip.cjs",[[1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[4],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-number-input.cjs",[[1,"ez-number-input",{"strvalue":[1025],"value":[1026],"label":[513],"enabled":[516],"errorMessage":[1537,"error-message"],"precision":[1538],"prettyprecision":[1538],"textleft":[516],"formatnumber":[513],"setFocus":[64],"setBlur":[64],"handleFocusout":[64]}]]],["ez-popover.cjs",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup.cjs",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[1540,"use-header"],"ezTitle":[1,"ez-title"]}]]],["ez-toast.cjs",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"show":[64]}]]],["ez-button_16.cjs",[[0,"ez-form",{"metadataexecutor":[1],"loadexecutor":[1],"saveexecutor":[1],"removeexecutor":[1],"fieldsearchexecutor":[1],"ignoresavevalidation":[4],"metadata":[16],"slavemode":[4],"enabled":[4],"loading":[1540],"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,"error-message"]}],[1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionloader":[16],"showselectedvalue":[4],"showoptionvalue":[4]}],[1,"ez-numeric-input",{"label":[513],"value":[1538],"enabled":[516],"errorMessage":[1537,"error-message"],"precision":[8],"prettyprecision":[8]}],[1,"ez-check",{"label":[513],"value":[1540],"enabled":[516],"mode":[513],"getMode":[64],"setFocus":[64]}],[1,"ez-collapsible-box",{"value":[1540],"label":[513],"headersize":[513],"iconplacement":[513],"showHide":[64]}],[1,"ez-tabselector",{"selectedIndex":[1537,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1]}],[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"setFocus":[64],"setBlur":[64]}],[1,"ez-upload",{"label":[1],"enabled":[4],"maxfilesize":[2],"maxfiles":[2],"requestheaders":[8],"urlupload":[1],"urldelete":[1],"value":[1040],"addFiles":[64]}],[1,"place-holder"],[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513]}],[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"optionLoader":[16],"_preSelection":[32],"_visibleOptions":[32]}],[1,"ez-calendar",{"value":[1040],"floating":[516],"show":[64],"fitVertical":[64],"hide":[64]}],[1,"ez-icon",{"size":[513],"href":[513]}],[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"mask":[1],"restrict":[1],"setFocus":[64],"setBlur":[64]}]]]], options);
|
|
19
19
|
});
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -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-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"critical":[1028],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"handleButtonClick":[64],"show":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"setFocus":[64],"setBlur":[64]}]]],["ez-action-chip.cjs",[[1,"ez-action-chip",{"label":[513],"enabled":[516]}]]],["ez-label-chip.cjs",[[1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-modal.cjs",[[1,"ez-modal",{"
|
|
17
|
+
return index.bootstrapLazy([["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"critical":[1028],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"handleButtonClick":[64],"show":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"setFocus":[64],"setBlur":[64]}]]],["ez-action-chip.cjs",[[1,"ez-action-chip",{"label":[513],"enabled":[516]}]]],["ez-label-chip.cjs",[[1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[4],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-number-input.cjs",[[1,"ez-number-input",{"strvalue":[1025],"value":[1026],"label":[513],"enabled":[516],"errorMessage":[1537,"error-message"],"precision":[1538],"prettyprecision":[1538],"textleft":[516],"formatnumber":[513],"setFocus":[64],"setBlur":[64],"handleFocusout":[64]}]]],["ez-popover.cjs",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup.cjs",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[1540,"use-header"],"ezTitle":[1,"ez-title"]}]]],["ez-toast.cjs",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"show":[64]}]]],["ez-button_16.cjs",[[0,"ez-form",{"metadataexecutor":[1],"loadexecutor":[1],"saveexecutor":[1],"removeexecutor":[1],"fieldsearchexecutor":[1],"ignoresavevalidation":[4],"metadata":[16],"slavemode":[4],"enabled":[4],"loading":[1540],"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,"error-message"]}],[1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionloader":[16],"showselectedvalue":[4],"showoptionvalue":[4]}],[1,"ez-numeric-input",{"label":[513],"value":[1538],"enabled":[516],"errorMessage":[1537,"error-message"],"precision":[8],"prettyprecision":[8]}],[1,"ez-check",{"label":[513],"value":[1540],"enabled":[516],"mode":[513],"getMode":[64],"setFocus":[64]}],[1,"ez-collapsible-box",{"value":[1540],"label":[513],"headersize":[513],"iconplacement":[513],"showHide":[64]}],[1,"ez-tabselector",{"selectedIndex":[1537,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1]}],[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"setFocus":[64],"setBlur":[64]}],[1,"ez-upload",{"label":[1],"enabled":[4],"maxfilesize":[2],"maxfiles":[2],"requestheaders":[8],"urlupload":[1],"urldelete":[1],"value":[1040],"addFiles":[64]}],[1,"place-holder"],[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513]}],[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"optionLoader":[16],"_preSelection":[32],"_visibleOptions":[32]}],[1,"ez-calendar",{"value":[1040],"floating":[516],"show":[64],"fitVertical":[64],"hide":[64]}],[1,"ez-icon",{"size":[513],"href":[513]}],[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"mask":[1],"restrict":[1],"setFocus":[64],"setBlur":[64]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
background-color: #FFFFFF;
|
|
39
39
|
align-items: center;
|
|
40
40
|
align-self: center;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
/*public*/
|
|
41
43
|
color: var(--ac__label--title--primary);
|
|
42
44
|
fill: var(--ac__label--title--primary);
|
|
43
45
|
border: var(--ac__border);
|
|
@@ -45,7 +47,6 @@
|
|
|
45
47
|
border-color: var(--ac__border-color-strokes);
|
|
46
48
|
padding-right: var(--space--medium, 12px);
|
|
47
49
|
padding-left: var(--space--medium, 12px);
|
|
48
|
-
cursor: pointer;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.label__container:hover {
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
--button--padding-top: var(--space--medium, 12px);
|
|
17
17
|
/*@doc Define o espaçamento inferior ao label.*/
|
|
18
18
|
--button--padding-bottom: var(--space--medium, 12px);
|
|
19
|
-
/*@doc Define o espaçamento
|
|
19
|
+
/*@doc Define o espaçamento à direita do label.*/
|
|
20
20
|
--button--padding-right: var(--space--large, 24px);
|
|
21
|
-
/*@doc Define o espaçamento
|
|
21
|
+
/*@doc Define o espaçamento à esquerda do label.*/
|
|
22
22
|
--button--padding-left: var(--space--large, 24px);
|
|
23
23
|
|
|
24
24
|
/* general */
|
|
25
25
|
/*@doc Define a cor do label.*/
|
|
26
|
-
--button--color: var(--text--
|
|
26
|
+
--button--color: var(--text--primary, #FFF);
|
|
27
27
|
/*@doc Define o tamanho do label.*/
|
|
28
28
|
--button--font-size: var(--text--medium, 14px);
|
|
29
29
|
/*@doc Define a família da fonte do label.*/
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
/*@doc Define o peso da fonte do label.*/
|
|
32
32
|
--button--font-weight: var(--text-weight--large);
|
|
33
33
|
/*@doc Define a cor de fundo do botão.*/
|
|
34
|
-
--button--background-color: var(--
|
|
34
|
+
--button--background-color: var(--background--medium, #c0c0c0);
|
|
35
35
|
/*@doc Define o raio da borda do botão.*/
|
|
36
36
|
--button--border-radius: var(--border--radius-large, 12px);
|
|
37
37
|
/*@doc Define o estilo da borda do botão.*/
|
|
38
38
|
--button--border: none;
|
|
39
39
|
|
|
40
40
|
/*@doc Define a cor de fundo quando o cursor está sobre o botão.*/
|
|
41
|
-
--button--hover--background-color: var(--
|
|
41
|
+
--button--hover--background-color: var(--background--strong, var(--button--background-color));
|
|
42
42
|
|
|
43
43
|
/*@doc Define a cor do texto quando o botão está desabilitado.*/
|
|
44
44
|
--button--disabled-color: var(--text--disable);
|
|
45
45
|
/*@doc Define a cor de fundo quando o botão está desabilitado.*/
|
|
46
|
-
--button--disabled--background-color: var(--color--disable-
|
|
46
|
+
--button--disabled--background-color: var(--color--disable-secondary);
|
|
47
47
|
|
|
48
48
|
/*@doc Define o estido da borda quando o botão está selecionado.*/
|
|
49
49
|
--button--focus--border: var(--button--border);
|
|
@@ -54,6 +54,10 @@
|
|
|
54
54
|
--button--link-color: var(--title--primary, '#C0C0C0');
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
ez-icon {
|
|
58
|
+
--ez-icon--color: inherit;
|
|
59
|
+
}
|
|
60
|
+
|
|
57
61
|
button {
|
|
58
62
|
/*private*/
|
|
59
63
|
display: flex;
|
|
@@ -114,4 +118,5 @@ a {
|
|
|
114
118
|
display: flex;
|
|
115
119
|
align-items: center;
|
|
116
120
|
justify-content: center;
|
|
121
|
+
/*public*/
|
|
117
122
|
}
|
|
@@ -22,6 +22,9 @@ export class EzButton {
|
|
|
22
22
|
content.style.paddingLeft = "var(--button__inline__icon--padding)";
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
+
else {
|
|
26
|
+
content.style.setProperty('--ez-icon--color', 'var(--ez-icon--color)');
|
|
27
|
+
}
|
|
25
28
|
}
|
|
26
29
|
render() {
|
|
27
30
|
if (this.mode == "icon") {
|
|
@@ -116,7 +119,7 @@ export class EzButton {
|
|
|
116
119
|
"optional": false,
|
|
117
120
|
"docs": {
|
|
118
121
|
"tags": [],
|
|
119
|
-
"text": "Define o icone svg que ser\u00E1 utilizado no bot\u00E3o
|
|
122
|
+
"text": "Define o icone svg que ser\u00E1 utilizado no bot\u00E3o. Esta propriedade s\u00F3 \u00E9 utilizada caso o componente esteja no modo 'icon'"
|
|
120
123
|
},
|
|
121
124
|
"attribute": "image",
|
|
122
125
|
"reflect": true
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
--cal__nav-btn--width: 10px;
|
|
32
32
|
/*@doc Define a altura do ícone de navegação.*/
|
|
33
33
|
--cal__nav-btn--height: 16px;
|
|
34
|
-
/*@doc Contém a imagem do ícone de navegação
|
|
34
|
+
/*@doc Contém a imagem do ícone de navegação à esquerda.*/
|
|
35
35
|
--cal__nav-btn--previous-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z"/></svg>');
|
|
36
|
-
/*@doc Contém a imagem do ícone de navegação
|
|
36
|
+
/*@doc Contém a imagem do ícone de navegação à direita.*/
|
|
37
37
|
--cal__nav-btn--next-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z"/></svg>');
|
|
38
38
|
|
|
39
39
|
/* cell */
|
|
@@ -2,12 +2,12 @@ import { Component, Prop, h, Watch, Method, Event, Host } from '@stencil/core';
|
|
|
2
2
|
export class EzCheck {
|
|
3
3
|
constructor() {
|
|
4
4
|
/**
|
|
5
|
-
* Deixa o campo disponível ou não
|
|
5
|
+
* Deixa o campo disponível ou não para interação com o usuário.
|
|
6
6
|
*/
|
|
7
7
|
this.enabled = true;
|
|
8
8
|
/**
|
|
9
9
|
* Existem dois modos de visualização: regular e switch.
|
|
10
|
-
* Se esta propriedade for omitida, o componete assume o formato "regular"
|
|
10
|
+
* Se esta propriedade for omitida, o componete assume o formato "regular".
|
|
11
11
|
* No modo "regular" a visualização é a tradicional de uma caixinha marcada/desmarcada.
|
|
12
12
|
* No modo "switch" o campo tem uma interface em formato de um pino liga/desliga.
|
|
13
13
|
*/
|
|
@@ -48,7 +48,7 @@ export class EzCheck {
|
|
|
48
48
|
getLabelClasses() {
|
|
49
49
|
let classes = "label";
|
|
50
50
|
if (!this.enabled) {
|
|
51
|
-
classes
|
|
51
|
+
classes += " label--disabled";
|
|
52
52
|
}
|
|
53
53
|
return classes;
|
|
54
54
|
}
|
|
@@ -78,7 +78,7 @@ export class EzCheck {
|
|
|
78
78
|
"optional": false,
|
|
79
79
|
"docs": {
|
|
80
80
|
"tags": [],
|
|
81
|
-
"text": "
|
|
81
|
+
"text": "T\u00EDtulo do campo"
|
|
82
82
|
},
|
|
83
83
|
"attribute": "label",
|
|
84
84
|
"reflect": true
|
|
@@ -112,7 +112,7 @@ export class EzCheck {
|
|
|
112
112
|
"optional": false,
|
|
113
113
|
"docs": {
|
|
114
114
|
"tags": [],
|
|
115
|
-
"text": "Deixa o campo dispon\u00EDvel ou n\u00E3o
|
|
115
|
+
"text": "Deixa o campo dispon\u00EDvel ou n\u00E3o para intera\u00E7\u00E3o com o usu\u00E1rio."
|
|
116
116
|
},
|
|
117
117
|
"attribute": "enabled",
|
|
118
118
|
"reflect": true,
|
|
@@ -130,7 +130,7 @@ export class EzCheck {
|
|
|
130
130
|
"optional": false,
|
|
131
131
|
"docs": {
|
|
132
132
|
"tags": [],
|
|
133
|
-
"text": "Existem dois modos de visualiza\u00E7\u00E3o: regular e switch.\nSe esta propriedade for omitida, o componete assume o formato \"regular\"
|
|
133
|
+
"text": "Existem dois modos de visualiza\u00E7\u00E3o: regular e switch.\nSe esta propriedade for omitida, o componete assume o formato \"regular\".\nNo modo \"regular\" a visualiza\u00E7\u00E3o \u00E9 a tradicional de uma caixinha marcada/desmarcada.\nNo modo \"switch\" o campo tem uma interface em formato de um pino liga/desliga."
|
|
134
134
|
},
|
|
135
135
|
"attribute": "mode",
|
|
136
136
|
"reflect": true,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
/*@doc Define a altura do componente quando
|
|
2
|
+
/*@doc Define a altura do componente quando colapsado.*/
|
|
3
3
|
--collapsible-box--height: 42px;
|
|
4
4
|
|
|
5
5
|
/*@doc Define o tamanho da fonte do header.*/
|
|
6
6
|
--collapsible-box--font-size: var(--title--medium, 14px);
|
|
7
7
|
/*@doc Define a família da fonte do header.*/
|
|
8
8
|
--collapsible-box--font-family: var(--font-pattern, Arial);
|
|
9
|
-
/*@doc Define o peso da fonte header.*/
|
|
9
|
+
/*@doc Define o peso da fonte do header.*/
|
|
10
10
|
--collapsible-box--font-weight: var(--text-weight--large, 600);
|
|
11
11
|
/*@doc Define a cor da fonte do header.*/
|
|
12
12
|
--collapsible-box--color: var(--title--primary);
|