@sankhyalabs/ezui 1.1.68 → 1.1.69
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 +8 -8
- package/dist/cjs/ez-dialog.cjs.entry.js +3 -0
- package/dist/cjs/ez-modal.cjs.entry.js +1 -1
- package/dist/cjs/ez-popover.cjs.entry.js +0 -4
- package/dist/cjs/ez-popup.cjs.entry.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 +3 -2
- package/dist/collection/components/ez-button/ez-button.js +3 -3
- 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.js +2 -2
- package/dist/collection/components/ez-date-input/ez-date-input.js +1 -1
- package/dist/collection/components/ez-dialog/ez-dialog.js +5 -2
- 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 +4 -4
- 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.js +0 -4
- package/dist/collection/components/ez-popup/ez-popup.css +2 -2
- package/dist/collection/components/ez-popup/ez-popup.js +3 -3
- package/dist/collection/components/ez-search/ez-search.js +2 -2
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +1 -1
- 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 +14 -15
- package/dist/esm/ez-action-chip.entry.js +1 -1
- package/dist/esm/ez-button_16.entry.js +8 -8
- package/dist/esm/ez-dialog.entry.js +3 -0
- package/dist/esm/ez-modal.entry.js +1 -1
- package/dist/esm/ez-popover.entry.js +0 -4
- package/dist/esm/ez-popup.entry.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-169d99a1.entry.js +1 -0
- package/dist/ezui/{p-4f4b8aae.entry.js → p-1c33a56d.entry.js} +1 -1
- 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 +2 -2
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +1 -1
- package/dist/types/components/ez-dialog/ez-dialog.d.ts +4 -1
- 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 +3 -3
- package/dist/types/components/ez-numeric-input/ez-numeric-input.d.ts +2 -2
- package/dist/types/components/ez-popup/ez-popup.d.ts +2 -2
- package/dist/types/components/ez-search/ez-search.d.ts +2 -2
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +1 -1
- 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 +62 -59
- package/package.json +1 -1
- package/dist/ezui/p-7d066b1c.entry.js +0 -1
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-0f668cc5.js');
|
|
6
6
|
|
|
7
|
-
const ezActionChipCss = ":host{--ac--height:36px;--ac--border-radius:var(--border--radius-large, 24px);--ac__border:1px solid;--ac__border-color-strokes:var(--color--strokes, #DCE0E8);--ac--font-size:var(--text--medium, 14px);--ac--font-family:var(--font-pattern, Arial);--ac--font-weight:var(--text-weight--large, 500);--ac__label--title--primary:var(--title--primary, #919191);--ac__label-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ac__label__default--background-color--hover:var(--color--primary-200, #f2faf8);--ac__label__default--border-color--hover:var(--color--primary-600, #007a5a)}.label__container{width:fit-content;display:flex;flex-wrap:wrap;position:relative;background-color:#FFFFFF;align-items:center;align-self:center;color:var(--ac__label--title--primary);fill:var(--ac__label--title--primary);border:var(--ac__border);border-radius:var(--ac--border-radius);border-color:var(--ac__border-color-strokes);padding-right:var(--space--medium, 12px);padding-left:var(--space--medium, 12px)
|
|
7
|
+
const ezActionChipCss = ":host{--ac--height:36px;--ac--border-radius:var(--border--radius-large, 24px);--ac__border:1px solid;--ac__border-color-strokes:var(--color--strokes, #DCE0E8);--ac--font-size:var(--text--medium, 14px);--ac--font-family:var(--font-pattern, Arial);--ac--font-weight:var(--text-weight--large, 500);--ac__label--title--primary:var(--title--primary, #919191);--ac__label-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ac__label__default--background-color--hover:var(--color--primary-200, #f2faf8);--ac__label__default--border-color--hover:var(--color--primary-600, #007a5a)}.label__container{width:fit-content;display:flex;flex-wrap:wrap;position:relative;background-color:#FFFFFF;align-items:center;align-self:center;cursor:pointer;color:var(--ac__label--title--primary);fill:var(--ac__label--title--primary);border:var(--ac__border);border-radius:var(--ac--border-radius);border-color:var(--ac__border-color-strokes);padding-right:var(--space--medium, 12px);padding-left:var(--space--medium, 12px)}.label__container:hover{border-color:var(--ac__label__default--border-color--hover);background-color:var(--ac__label__default--background-color--hover)}label{display:flex;align-items:center;font-weight:var(--text-weight--large, 600);cursor:pointer;height:var(--ac--height);font-family:var(--ac--font-family);font-size:var(--ac--font-size)}";
|
|
8
8
|
|
|
9
9
|
let EzLabelChip = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -6,7 +6,7 @@ const index = require('./index-0f668cc5.js');
|
|
|
6
6
|
const RequestMetadata = require('./RequestMetadata-2cd01e8a.js');
|
|
7
7
|
const FloatingManager = require('./FloatingManager-6cfeb947.js');
|
|
8
8
|
|
|
9
|
-
const ezButtonCss = ":host{--button--min-width:100px;--button--height:42px;--button__icon--width:18px;--button__inline__icon--padding:12px;--button--padding-top:var(--space--medium, 12px);--button--padding-bottom:var(--space--medium, 12px);--button--padding-right:var(--space--large, 24px);--button--padding-left:var(--space--large, 24px);--button--color:var(--text--inverted, #FFF);--button--font-size:var(--text--medium, 14px);--button--font-family:var(--font-pattern, Arial);--button--font-weight:var(--text-weight--large);--button--background-color:var(--color--primary, #c0c0c0);--button--border-radius:var(--border--radius-large, 12px);--button--border:none;--button--hover--background-color:var(--color--primary-700, var(--button--background-color));--button--disabled-color:var(--text--disable);--button--disabled--background-color:var(--color--disable-primary);--button--focus--border:var(--button--border);--button--focus--box-shadow:none;--button--link-color:var(--title--primary, '#C0C0C0')}button{display:flex;align-items:center;justify-content:center;margin:0;cursor:pointer;transition:background-color 0.2s linear;min-width:var(--button--min-width);height:var(--button--height);font-family:var(--button--font-family);font-size:var(--button--font-size);font-weight:var(--button--font-weight);padding:var(--button--padding-top) var(--button--padding-right) var(--button--padding-bottom) var(--button--padding-left);border-radius:var(--button--border-radius);background-color:var(--button--background-color);color:var(--button--color);fill:var(--button--color);border:var(--button--border)}button:hover{background-color:var(--button--hover--background-color)}button:focus{outline:none;border:var(--button--focus--border);box-shadow:var(--button--focus--box-shadow)}button:disabled{background-color:var(--button--disabled--background-color);color:var(--button--disabled-color);fill:var(--button--disabled-color);border:none;cursor:no-drop}button.icon{width:42px;min-width:42px;height:42px;padding:0px}a{font-family:var(--button--font-family);font-size:var(--button--font-size);font-weight:var(--button--font-weight);color:var(--button--link-color);cursor:pointer;display:flex;align-items:center;justify-content:center}";
|
|
9
|
+
const ezButtonCss = ":host{--button--min-width:100px;--button--height:42px;--button__icon--width:18px;--button__inline__icon--padding:12px;--button--padding-top:var(--space--medium, 12px);--button--padding-bottom:var(--space--medium, 12px);--button--padding-right:var(--space--large, 24px);--button--padding-left:var(--space--large, 24px);--button--color:var(--text--inverted, #FFF);--button--font-size:var(--text--medium, 14px);--button--font-family:var(--font-pattern, Arial);--button--font-weight:var(--text-weight--large);--button--background-color:var(--color--primary, #c0c0c0);--button--border-radius:var(--border--radius-large, 12px);--button--border:none;--button--hover--background-color:var(--color--primary-700, var(--button--background-color));--button--disabled-color:var(--text--disable);--button--disabled--background-color:var(--color--disable-primary);--button--focus--border:var(--button--border);--button--focus--box-shadow:none;--button--link-color:var(--title--primary, '#C0C0C0')}button{display:flex;align-items:center;justify-content:center;margin:0;cursor:pointer;transition:background-color 0.2s linear;min-width:var(--button--min-width);height:var(--button--height);font-family:var(--button--font-family);font-size:var(--button--font-size);font-weight:var(--button--font-weight);padding:var(--button--padding-top) var(--button--padding-right) var(--button--padding-bottom) var(--button--padding-left);border-radius:var(--button--border-radius);background-color:var(--button--background-color);color:var(--button--color);fill:var(--button--color);border:var(--button--border)}button:hover{background-color:var(--button--hover--background-color)}button:focus{outline:none;border:var(--button--focus--border);box-shadow:var(--button--focus--box-shadow)}button:disabled{background-color:var(--button--disabled--background-color);color:var(--button--disabled-color);fill:var(--button--disabled-color);border:none;cursor:no-drop}button.icon{width:42px;min-width:42px;height:42px;padding:0px}a{font-family:var(--button--font-family);font-size:var(--button--font-size);font-weight:var(--button--font-weight);color:var(--button--link-color);cursor:pointer;display:flex;align-items:center;justify-content:center;}";
|
|
10
10
|
|
|
11
11
|
let EzButton = class {
|
|
12
12
|
constructor(hostRef) {
|
|
@@ -21,9 +21,9 @@ let EzButton = class {
|
|
|
21
21
|
this.mode = "regular";
|
|
22
22
|
}
|
|
23
23
|
handleSlotChange(ev) {
|
|
24
|
-
const slot = ev.target;
|
|
25
|
-
const content = slot.assignedElements()[0];
|
|
26
24
|
if (this.mode == "link") {
|
|
25
|
+
const slot = ev.target;
|
|
26
|
+
const content = slot.assignedElements()[0];
|
|
27
27
|
content.style.display = "inline";
|
|
28
28
|
if (slot.name == "leftIcon") {
|
|
29
29
|
content.style.paddingRight = "var(--button__inline__icon--padding)";
|
|
@@ -212,12 +212,12 @@ let EzCheck = class {
|
|
|
212
212
|
index.registerInstance(this, hostRef);
|
|
213
213
|
this.ezChange = index.createEvent(this, "ezChange", 7);
|
|
214
214
|
/**
|
|
215
|
-
* Deixa o campo disponível ou não
|
|
215
|
+
* Deixa o campo disponível ou não para interação com o usuário.
|
|
216
216
|
*/
|
|
217
217
|
this.enabled = true;
|
|
218
218
|
/**
|
|
219
219
|
* Existem dois modos de visualização: regular e switch.
|
|
220
|
-
* Se esta propriedade for omitida, o componete assume o formato "regular"
|
|
220
|
+
* Se esta propriedade for omitida, o componete assume o formato "regular".
|
|
221
221
|
* No modo "regular" a visualização é a tradicional de uma caixinha marcada/desmarcada.
|
|
222
222
|
* No modo "switch" o campo tem uma interface em formato de um pino liga/desliga.
|
|
223
223
|
*/
|
|
@@ -258,7 +258,7 @@ let EzCheck = class {
|
|
|
258
258
|
getLabelClasses() {
|
|
259
259
|
let classes = "label";
|
|
260
260
|
if (!this.enabled) {
|
|
261
|
-
classes
|
|
261
|
+
classes += " label--disabled";
|
|
262
262
|
}
|
|
263
263
|
return classes;
|
|
264
264
|
}
|
|
@@ -2970,7 +2970,7 @@ let EzIcon = class {
|
|
|
2970
2970
|
constructor(hostRef) {
|
|
2971
2971
|
index.registerInstance(this, hostRef);
|
|
2972
2972
|
/**
|
|
2973
|
-
* Tamanho do
|
|
2973
|
+
* Tamanho do ícone
|
|
2974
2974
|
*/
|
|
2975
2975
|
this.size = 'medium';
|
|
2976
2976
|
}
|
|
@@ -3296,7 +3296,7 @@ let EzTextArea = class {
|
|
|
3296
3296
|
*/
|
|
3297
3297
|
this.enabled = true;
|
|
3298
3298
|
/**
|
|
3299
|
-
* Ajusta o
|
|
3299
|
+
* Ajusta o número de linhas e consequentemente o height do textarea. Valor default: 4
|
|
3300
3300
|
*/
|
|
3301
3301
|
this.rows = 4;
|
|
3302
3302
|
}
|
|
@@ -46,6 +46,9 @@ let EzDialog = class {
|
|
|
46
46
|
this._currentMessage = this._messageQueue.shift();
|
|
47
47
|
index.forceUpdate(this);
|
|
48
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Faz com que o componente seja exibido.
|
|
51
|
+
*/
|
|
49
52
|
async show(title, message, critical, confirm, icon) {
|
|
50
53
|
this.opened = true;
|
|
51
54
|
return new Promise(resolve => {
|
|
@@ -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
|
}
|
|
@@ -88,8 +86,6 @@ let EzPopover = class {
|
|
|
88
86
|
if (_container.shadowRoot && _container.shadowRoot.contains(node)) {
|
|
89
87
|
return true;
|
|
90
88
|
}
|
|
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
89
|
_container = this._host;
|
|
94
90
|
return !_container.lastElementChild.shadowRoot ? _container.contains(node) : _container.lastElementChild.shadowRoot.contains(node);
|
|
95
91
|
}
|
|
@@ -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,9 +16,9 @@
|
|
|
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 */
|
|
@@ -114,4 +114,5 @@ a {
|
|
|
114
114
|
display: flex;
|
|
115
115
|
align-items: center;
|
|
116
116
|
justify-content: center;
|
|
117
|
+
/*public*/
|
|
117
118
|
}
|
|
@@ -11,9 +11,9 @@ export class EzButton {
|
|
|
11
11
|
this.mode = "regular";
|
|
12
12
|
}
|
|
13
13
|
handleSlotChange(ev) {
|
|
14
|
-
const slot = ev.target;
|
|
15
|
-
const content = slot.assignedElements()[0];
|
|
16
14
|
if (this.mode == "link") {
|
|
15
|
+
const slot = ev.target;
|
|
16
|
+
const content = slot.assignedElements()[0];
|
|
17
17
|
content.style.display = "inline";
|
|
18
18
|
if (slot.name == "leftIcon") {
|
|
19
19
|
content.style.paddingRight = "var(--button__inline__icon--padding)";
|
|
@@ -116,7 +116,7 @@ export class EzButton {
|
|
|
116
116
|
"optional": false,
|
|
117
117
|
"docs": {
|
|
118
118
|
"tags": [],
|
|
119
|
-
"text": "Define o icone svg que ser\u00E1 utilizado no bot\u00E3o
|
|
119
|
+
"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
120
|
},
|
|
121
121
|
"attribute": "image",
|
|
122
122
|
"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);
|
|
@@ -277,7 +277,7 @@ export class EzComboBox {
|
|
|
277
277
|
"optional": false,
|
|
278
278
|
"docs": {
|
|
279
279
|
"tags": [],
|
|
280
|
-
"text": "
|
|
280
|
+
"text": "T\u00EDtulo do campo"
|
|
281
281
|
},
|
|
282
282
|
"attribute": "label",
|
|
283
283
|
"reflect": true
|
|
@@ -319,7 +319,7 @@ export class EzComboBox {
|
|
|
319
319
|
"optional": false,
|
|
320
320
|
"docs": {
|
|
321
321
|
"tags": [],
|
|
322
|
-
"text": "Array no formato \"{value: string, label: string} que alimenta as op\u00E7\u00F5es do Combobox
|
|
322
|
+
"text": "Array no formato \"{value: string, label: string}\" que alimenta as op\u00E7\u00F5es do Combobox"
|
|
323
323
|
}
|
|
324
324
|
},
|
|
325
325
|
"errorMessage": {
|
|
@@ -36,6 +36,9 @@ export class EzDialog {
|
|
|
36
36
|
this._currentMessage = this._messageQueue.shift();
|
|
37
37
|
forceUpdate(this);
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Faz com que o componente seja exibido.
|
|
41
|
+
*/
|
|
39
42
|
async show(title, message, critical, confirm, icon) {
|
|
40
43
|
this.opened = true;
|
|
41
44
|
return new Promise(resolve => {
|
|
@@ -175,7 +178,7 @@ export class EzDialog {
|
|
|
175
178
|
"optional": false,
|
|
176
179
|
"docs": {
|
|
177
180
|
"tags": [],
|
|
178
|
-
"text": "Define o \u00EDcone a ser exibido ao lado do t\u00EDtulo do"
|
|
181
|
+
"text": "Define o \u00EDcone a ser exibido ao lado do t\u00EDtulo do componente"
|
|
179
182
|
},
|
|
180
183
|
"attribute": "personalized-icon-path",
|
|
181
184
|
"reflect": false
|
|
@@ -276,7 +279,7 @@ export class EzDialog {
|
|
|
276
279
|
"return": "Promise<boolean>"
|
|
277
280
|
},
|
|
278
281
|
"docs": {
|
|
279
|
-
"text": "",
|
|
282
|
+
"text": "Faz com que o componente seja exibido.",
|
|
280
283
|
"tags": []
|
|
281
284
|
}
|
|
282
285
|
}
|
|
@@ -2,7 +2,7 @@ import { Component, h, Host, Prop } from '@stencil/core';
|
|
|
2
2
|
export class EzIcon {
|
|
3
3
|
constructor() {
|
|
4
4
|
/**
|
|
5
|
-
* Tamanho do
|
|
5
|
+
* Tamanho do ícone
|
|
6
6
|
*/
|
|
7
7
|
this.size = 'medium';
|
|
8
8
|
}
|
|
@@ -38,7 +38,7 @@ export class EzIcon {
|
|
|
38
38
|
"optional": false,
|
|
39
39
|
"docs": {
|
|
40
40
|
"tags": [],
|
|
41
|
-
"text": "Tamanho do
|
|
41
|
+
"text": "Tamanho do \u00EDcone"
|
|
42
42
|
},
|
|
43
43
|
"attribute": "size",
|
|
44
44
|
"reflect": true,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
--lc__label__container--border: 1px solid;
|
|
23
23
|
/*@doc Define a cor da borda do container.*/
|
|
24
24
|
--lc__label__container--border-color-strokes: var(--color--strokes, #DCE0E8);
|
|
25
|
-
/*@doc Define a cor do texto, do ícone do label (quando o chip está ativo)
|
|
25
|
+
/*@doc Define a cor do texto, do ícone do label e do botão de remoção (quando o chip está ativo).*/
|
|
26
26
|
--lc__label__container--color-primary: var(--color--primary, #008561);
|
|
27
27
|
/*@doc Define a cor da borda e do fundo quando o chip está desativado.*/
|
|
28
28
|
--lc__label__container-color--disable-secondary: var(--color--disable-secondary, #F2F5F8);
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
--lc__label__container--text--disabled: var(--text--disable, #AFB6C0);
|
|
39
39
|
|
|
40
40
|
/* Buttons */
|
|
41
|
+
/* @doc Contém o ícone do botão de fechamento. */
|
|
41
42
|
--lc__btn__close--image: url('data:image/svg+xml;utf8,<svg width="8" height="8" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg"><path d="M 4.7098145,3.9968334 7.8535703,0.85318776 C 7.9473034,0.75946455 8,0.63233985 8,0.49978585 8,0.36723841 7.947304,0.24011361 7.8535703,0.14638378 7.7598354,0.05266059 7.6327257,6.48e-8 7.500152,6.48e-8 7.3676457,6.48e-8 7.2404691,0.0526608 7.1467354,0.14638378 L 4.00298,3.2900293 0.8591984,0.14638378 C 0.76546463,0.05266059 0.63834103,6.48e-8 0.50578123,6.48e-8 0.3732281,6.48e-8 0.24609783,0.05266059 0.15236397,0.14638378 0.05863012,0.24011361 0.00597395,0.36723841 0.00597395,0.49978585 c 0,0.132554 0.05265617,0.2596787 0.14639002,0.35340191 L 3.2961455,3.9968334 0.15236397,7.1411589 C 0.10466427,7.1872561 0.06663114,7.2424161 0.04046961,7.303371 0.01431473,7.3643212 5.6180845e-4,7.429943 1.6859246e-5,7.4962264 -5.2808998e-4,7.5625744 0.01214297,7.6283944 0.03729854,7.6897476 c 0.02514888,0.061416 0.06227604,0.1171794 0.1092096,0.1640783 0.0469402,0.046903 0.10274083,0.083936 0.16415749,0.1090508 0.0614166,0.025114 0.12721688,0.037703 0.19355667,0.037103 0.06634,-5.714e-4 0.13190027,-0.014457 0.19284393,-0.04064 0.0609507,-0.026246 0.11606474,-0.064351 0.16213217,-0.1120492 L 4.00298,4.7036374 7.1467354,7.8472967 c 0.093734,0.09373 0.2209103,0.1463572 0.3534166,0.1463572 0.1325737,0 0.2596834,-0.052623 0.3534183,-0.1463572 C 7.9473034,7.753567 8,7.6264624 8,7.493895 8,7.3613281 7.9473086,7.2342224 7.8535703,7.1404927 Z"/></svg>');
|
|
42
43
|
}
|
|
43
44
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
/*@doc Define a camada que o componente será exibido.*/
|
|
2
|
+
/*@doc Define a camada em que o componente será exibido.*/
|
|
3
3
|
--modal-z-index: var(--most-visible, 3);
|
|
4
4
|
/*@doc Define o espaçamento vertical do conteúdo do modal.*/
|
|
5
5
|
--modal-vertical-padding: var(--space--large, 24px);
|
|
@@ -6,7 +6,7 @@ export class EzModal {
|
|
|
6
6
|
*/
|
|
7
7
|
this.oppened = true;
|
|
8
8
|
/**
|
|
9
|
-
* Define se o modal será fechado ao
|
|
9
|
+
* Define se o modal será fechado ao clicar ESC
|
|
10
10
|
*/
|
|
11
11
|
this.closeesc = false;
|
|
12
12
|
/**
|
|
@@ -124,7 +124,7 @@ export class EzModal {
|
|
|
124
124
|
"optional": false,
|
|
125
125
|
"docs": {
|
|
126
126
|
"tags": [],
|
|
127
|
-
"text": "Define o tamanho do modal
|
|
127
|
+
"text": "Define o tamanho do modal. Devem ser utilizados os tamanhos definidos de colunas como \"col-sd-3\""
|
|
128
128
|
},
|
|
129
129
|
"attribute": "modalsize",
|
|
130
130
|
"reflect": false
|
|
@@ -141,7 +141,7 @@ export class EzModal {
|
|
|
141
141
|
"optional": false,
|
|
142
142
|
"docs": {
|
|
143
143
|
"tags": [],
|
|
144
|
-
"text": "Define o alinhamento do modal
|
|
144
|
+
"text": "Define o alinhamento do modal. Seus valores podem ser 'right' ou 'left'"
|
|
145
145
|
},
|
|
146
146
|
"attribute": "align",
|
|
147
147
|
"reflect": false
|
|
@@ -176,7 +176,7 @@ export class EzModal {
|
|
|
176
176
|
"optional": false,
|
|
177
177
|
"docs": {
|
|
178
178
|
"tags": [],
|
|
179
|
-
"text": "Define se o modal ser\u00E1 fechado ao
|
|
179
|
+
"text": "Define se o modal ser\u00E1 fechado ao clicar ESC"
|
|
180
180
|
},
|
|
181
181
|
"attribute": "closeesc",
|
|
182
182
|
"reflect": false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
display: block;
|
|
3
3
|
width: 100%;
|
|
4
|
-
/*@doc Define a cor
|
|
4
|
+
/*@doc Define a cor de fundo do input.*/
|
|
5
5
|
--it__input--background-color: var(--background--medium, #e0e0e0);
|
|
6
6
|
/*@doc Define a cor da borda do input.*/
|
|
7
7
|
--it__input--border-color: var(--it__input--background-color);
|
|
@@ -64,7 +64,7 @@ export class EzNumericInput {
|
|
|
64
64
|
"optional": false,
|
|
65
65
|
"docs": {
|
|
66
66
|
"tags": [],
|
|
67
|
-
"text": "
|
|
67
|
+
"text": "T\u00EDtulo do campo"
|
|
68
68
|
},
|
|
69
69
|
"attribute": "label",
|
|
70
70
|
"reflect": true
|
|
@@ -164,7 +164,7 @@ export class EzNumericInput {
|
|
|
164
164
|
"composed": true,
|
|
165
165
|
"docs": {
|
|
166
166
|
"tags": [],
|
|
167
|
-
"text": "
|
|
167
|
+
"text": "Evento disparado quando o estado do componente \u00E9 alterado (onEzChange)."
|
|
168
168
|
},
|
|
169
169
|
"complexType": {
|
|
170
170
|
"original": "string",
|
|
@@ -52,8 +52,6 @@ export class EzPopover {
|
|
|
52
52
|
if (_container.shadowRoot && _container.shadowRoot.contains(node)) {
|
|
53
53
|
return true;
|
|
54
54
|
}
|
|
55
|
-
//Here: we pass this._box as parameter but we need to change to _host
|
|
56
|
-
//because we need to get the lasChild (inner content to put in slot)
|
|
57
55
|
_container = this._host;
|
|
58
56
|
return !_container.lastElementChild.shadowRoot ? _container.contains(node) : _container.lastElementChild.shadowRoot.contains(node);
|
|
59
57
|
}
|
|
@@ -78,8 +76,6 @@ export class EzPopover {
|
|
|
78
76
|
if (_container.shadowRoot && _container.shadowRoot.contains(node)) {
|
|
79
77
|
return true;
|
|
80
78
|
}
|
|
81
|
-
// Here: we pass this._box as parameter but we need to change to _host
|
|
82
|
-
// because we need to get the lasChild (inner content to put in slot)
|
|
83
79
|
_container = this._host;
|
|
84
80
|
return !_container.lastElementChild.shadowRoot ? _container.contains(node) : _container.lastElementChild.shadowRoot.contains(node);
|
|
85
81
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
display: flex;
|
|
3
3
|
/* General */
|
|
4
|
-
/*@doc Define a camada que o componente será exibido.*/
|
|
4
|
+
/*@doc Define a camada em que o componente será exibido.*/
|
|
5
5
|
--popup-z-index: var(--most-visible, 3);
|
|
6
6
|
|
|
7
7
|
/* Popup */
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
--popup__title--font-weight: var(--text-weight--large, 600);
|
|
26
26
|
|
|
27
27
|
/* Buttons */
|
|
28
|
-
/* @doc Define a cor
|
|
28
|
+
/* @doc Define a cor do ícone do botão de fechamento. */
|
|
29
29
|
--popup__btn__close--background-color: var(--title--primary, #2b3a54);
|
|
30
30
|
/* @doc Contém o ícone do botão de fechamento. */
|
|
31
31
|
--popup__btn__close--image: 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>');
|
|
@@ -18,7 +18,7 @@ export class EzPopup {
|
|
|
18
18
|
*/
|
|
19
19
|
this.opened = false;
|
|
20
20
|
/**
|
|
21
|
-
* Define o componente utilizará um cabeçalho com botão de fechamento.
|
|
21
|
+
* Define se o componente utilizará um cabeçalho com botão de fechamento.
|
|
22
22
|
*/
|
|
23
23
|
this.useHeader = false;
|
|
24
24
|
}
|
|
@@ -99,7 +99,7 @@ export class EzPopup {
|
|
|
99
99
|
"optional": false,
|
|
100
100
|
"docs": {
|
|
101
101
|
"tags": [],
|
|
102
|
-
"text": "Define o componente utilizar\u00E1 um cabe\u00E7alho com bot\u00E3o de fechamento."
|
|
102
|
+
"text": "Define se o componente utilizar\u00E1 um cabe\u00E7alho com bot\u00E3o de fechamento."
|
|
103
103
|
},
|
|
104
104
|
"attribute": "use-header",
|
|
105
105
|
"reflect": true,
|
|
@@ -117,7 +117,7 @@ export class EzPopup {
|
|
|
117
117
|
"optional": false,
|
|
118
118
|
"docs": {
|
|
119
119
|
"tags": [],
|
|
120
|
-
"text": "
|
|
120
|
+
"text": "T\u00EDtulo do componente."
|
|
121
121
|
},
|
|
122
122
|
"attribute": "ez-title",
|
|
123
123
|
"reflect": false
|
|
@@ -71,7 +71,7 @@ export class EzSearch {
|
|
|
71
71
|
"optional": false,
|
|
72
72
|
"docs": {
|
|
73
73
|
"tags": [],
|
|
74
|
-
"text": "
|
|
74
|
+
"text": "T\u00EDtulo do campo"
|
|
75
75
|
},
|
|
76
76
|
"attribute": "label",
|
|
77
77
|
"reflect": true
|
|
@@ -195,7 +195,7 @@ export class EzSearch {
|
|
|
195
195
|
"composed": true,
|
|
196
196
|
"docs": {
|
|
197
197
|
"tags": [],
|
|
198
|
-
"text": "
|
|
198
|
+
"text": "Evento emitido ao clicar para abrir o popup"
|
|
199
199
|
},
|
|
200
200
|
"complexType": {
|
|
201
201
|
"original": "any",
|
|
@@ -263,7 +263,7 @@ export class EzTabselector {
|
|
|
263
263
|
"composed": true,
|
|
264
264
|
"docs": {
|
|
265
265
|
"tags": [],
|
|
266
|
-
"text": "
|
|
266
|
+
"text": "Evento emitido ao clicar para abrir o popup (onChange)."
|
|
267
267
|
},
|
|
268
268
|
"complexType": {
|
|
269
269
|
"original": "string",
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
/* dimensions */
|
|
3
|
+
/*@doc Define a largura do componente.*/
|
|
3
4
|
--ta--width: 100%;
|
|
4
5
|
|
|
5
6
|
/* general */
|
|
7
|
+
/*@doc Define o raio da borda do input do componente.*/
|
|
6
8
|
--ta--border-radius: var(--border--radius-medium, 12px);
|
|
9
|
+
/*@doc Define o tamanho da fonte do input e label do componente.*/
|
|
7
10
|
--ta--font-size: var(--text--medium, 14px);
|
|
11
|
+
/*@doc Define a família da fonte do input, label e caixa de mensagem do componente.*/
|
|
8
12
|
--ta--font-family: var(--font-pattern, Arial);
|
|
13
|
+
/*@doc Define o peso da fonte do label do componente.*/
|
|
9
14
|
--ta--font-weight: var(--text-weight--large, 500);
|
|
15
|
+
/*@doc Define a cor da fonte do input e label do componente.*/
|
|
10
16
|
--ta--color: var(--title--primary, #000);
|
|
11
17
|
|
|
12
18
|
/* input */
|
|
@@ -6,7 +6,7 @@ export class EzTextArea {
|
|
|
6
6
|
*/
|
|
7
7
|
this.enabled = true;
|
|
8
8
|
/**
|
|
9
|
-
* Ajusta o
|
|
9
|
+
* Ajusta o número de linhas e consequentemente o height do textarea. Valor default: 4
|
|
10
10
|
*/
|
|
11
11
|
this.rows = 4;
|
|
12
12
|
}
|
|
@@ -118,7 +118,7 @@ export class EzTextArea {
|
|
|
118
118
|
"optional": false,
|
|
119
119
|
"docs": {
|
|
120
120
|
"tags": [],
|
|
121
|
-
"text": "
|
|
121
|
+
"text": "T\u00EDtulo do campo"
|
|
122
122
|
},
|
|
123
123
|
"attribute": "label",
|
|
124
124
|
"reflect": true
|
|
@@ -204,7 +204,7 @@ export class EzTextArea {
|
|
|
204
204
|
"optional": false,
|
|
205
205
|
"docs": {
|
|
206
206
|
"tags": [],
|
|
207
|
-
"text": "Ajusta o
|
|
207
|
+
"text": "Ajusta o n\u00FAmero de linhas e consequentemente o height do textarea. Valor default: 4"
|
|
208
208
|
},
|
|
209
209
|
"attribute": "rows",
|
|
210
210
|
"reflect": true,
|
|
@@ -219,7 +219,7 @@ export class EzTextArea {
|
|
|
219
219
|
"composed": true,
|
|
220
220
|
"docs": {
|
|
221
221
|
"tags": [],
|
|
222
|
-
"text": "
|
|
222
|
+
"text": "Evento disparado quando o estado do componente \u00E9 alterado (onEzChange)."
|
|
223
223
|
},
|
|
224
224
|
"complexType": {
|
|
225
225
|
"original": "string",
|