@sankhyalabs/ezui 1.1.160 → 1.1.161
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-combo-box.cjs.entry.js +1 -1
- package/dist/cjs/{grid-config.cjs.entry.js → ez-grid-config.cjs.entry.js} +6 -6
- package/dist/cjs/ez-grid.cjs.entry.js +7 -3
- package/dist/cjs/ez-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal.cjs.entry.js +1 -1
- package/dist/cjs/{select-box.cjs.entry.js → ez-select-box.cjs.entry.js} +3 -3
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +10 -4
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +6 -2
- package/dist/collection/components/ez-grid/ez-grid.css +4 -0
- package/dist/collection/components/ez-grid/ez-grid.js +7 -7
- package/dist/collection/components/ez-grid/subcomponents/{gridconfig/grid-config.css → ez-grid-config/ez-grid-config.css} +46 -20
- package/dist/collection/components/ez-grid/subcomponents/{gridconfig/grid-config.js → ez-grid-config/ez-grid-config.js} +12 -12
- package/dist/collection/components/ez-grid/subcomponents/{select-box/select-box.css → ez-select-box/ez-select-box.css} +3 -4
- package/dist/collection/components/ez-grid/subcomponents/{select-box/select-box.js → ez-select-box/ez-select-box.js} +3 -3
- package/dist/collection/components/ez-list/ez-list.css +84 -46
- package/dist/collection/components/ez-modal/ez-modal.css +2 -2
- package/dist/custom-elements/index.d.ts +12 -12
- package/dist/custom-elements/index.js +460 -456
- package/dist/esm/ez-combo-box.entry.js +1 -1
- package/dist/esm/{grid-config.entry.js → ez-grid-config.entry.js} +6 -6
- package/dist/esm/ez-grid.entry.js +7 -3
- package/dist/esm/ez-list.entry.js +1 -1
- package/dist/esm/ez-modal.entry.js +1 -1
- package/dist/esm/{select-box.entry.js → ez-select-box.entry.js} +3 -3
- 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-1fecaeb8.entry.js +1 -0
- package/dist/ezui/p-8c1b9fe0.entry.js +1 -0
- package/dist/ezui/{p-ae2fea4c.entry.js → p-8d73594f.entry.js} +1 -1
- package/dist/ezui/p-988ff301.entry.js +1 -0
- package/dist/ezui/p-cf56d3e8.entry.js +1 -0
- package/dist/ezui/{p-727a39e5.entry.js → p-fd6f3bf9.entry.js} +1 -1
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +1 -1
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +1 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +5 -5
- package/dist/types/components/ez-grid/subcomponents/{gridconfig/grid-config.d.ts → ez-grid-config/ez-grid-config.d.ts} +4 -4
- package/dist/types/components/ez-grid/subcomponents/{select-box/select-box.d.ts → ez-select-box/ez-select-box.d.ts} +0 -0
- package/dist/types/components.d.ts +41 -41
- package/package.json +1 -1
- package/react/components.d.ts +2 -2
- package/react/components.js +2 -2
- package/react/components.js.map +1 -1
- package/dist/ezui/p-ad6cc559.entry.js +0 -1
- package/dist/ezui/p-bea6f8a6.entry.js +0 -1
- package/dist/ezui/p-c2de757f.entry.js +0 -1
- package/dist/ezui/p-ecee9d8d.entry.js +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
|
|
3
2
|
/*@doc Define o espaçamento utilizado no rodapé do componente.*/
|
|
4
3
|
--ez-grid-config__footer--padding-top: var(--space--medium, 12px);
|
|
5
4
|
|
|
@@ -15,8 +14,10 @@
|
|
|
15
14
|
/*@doc Define o estilo da fonte utilizada para o subtitulo do componente.*/
|
|
16
15
|
--ez-grid-config__subtitle--font-family: var(--font-pattern, "Sora");
|
|
17
16
|
|
|
17
|
+
/*@doc Define o estilo da fonte utilizada para o titulo do componente.*/
|
|
18
18
|
--ez-grid-config__title--font-family: var(--font-pattern, "Sora");
|
|
19
19
|
|
|
20
|
+
/*@doc Define o peso do texto utilizado para o titulo do componente.*/
|
|
20
21
|
--ez-grid-config__title--font-weight: var(--text-weight--large, 700);
|
|
21
22
|
|
|
22
23
|
/*@doc Define o tamanho da fonte utilizada para o subtitulo do componente.*/
|
|
@@ -26,19 +27,22 @@
|
|
|
26
27
|
--ez-grid-config__scrollbar--width: var(--space--medium, 12px);
|
|
27
28
|
|
|
28
29
|
/*@doc Define a cor da barra de rolagem do componente.*/
|
|
29
|
-
--ez-grid-
|
|
30
|
+
--ez-grid-config__scrollbar--background-color: var(--text--primary, #626e82);
|
|
30
31
|
|
|
31
32
|
/*@doc Define o raio da borda da barra de rolagem do componente.*/
|
|
32
|
-
--ez-grid-
|
|
33
|
+
--ez-grid-config__scrollbar--border-radius: var(--border--radius-medium, 12px);
|
|
33
34
|
|
|
34
35
|
/* @doc Define o estilo do texto do grupo da lista. */
|
|
35
|
-
--ez-
|
|
36
|
+
--ez-grid-config__group--font-family: var(--font-pattern, "Sora");
|
|
37
|
+
|
|
36
38
|
/* @doc Define o tamanho do texto do grupo da lista. */
|
|
37
|
-
--ez-
|
|
39
|
+
--ez-grid-config__group--font-size: var(--text--medium, 14px);
|
|
40
|
+
|
|
38
41
|
/* @doc Define o peso do texto do grupo da lista. */
|
|
39
|
-
--ez-
|
|
42
|
+
--ez-grid-config__group--font-weight: var(--text-weight--large, 600);
|
|
43
|
+
|
|
40
44
|
/* @doc Define o espaçamento inferior do grupo da lista. */
|
|
41
|
-
--ez-
|
|
45
|
+
--ez-grid-config__group--padding-bottom: var(--space-small, 6px);
|
|
42
46
|
|
|
43
47
|
display: grid;
|
|
44
48
|
grid-template-rows: auto 1fr auto;
|
|
@@ -46,6 +50,13 @@
|
|
|
46
50
|
width: 100%;
|
|
47
51
|
}
|
|
48
52
|
|
|
53
|
+
@media screen and (min-width: 480px) {
|
|
54
|
+
:host {
|
|
55
|
+
width: 359px;
|
|
56
|
+
max-width: 359px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
49
60
|
.padding-right--medium {
|
|
50
61
|
padding-right: var(--space--medium);
|
|
51
62
|
}
|
|
@@ -53,15 +64,18 @@
|
|
|
53
64
|
ez-list {
|
|
54
65
|
height: 100%;
|
|
55
66
|
}
|
|
56
|
-
|
|
67
|
+
|
|
68
|
+
.height-calc {
|
|
57
69
|
max-height: calc(100% - 24px);
|
|
58
70
|
}
|
|
59
71
|
|
|
60
72
|
.grid-config__footer {
|
|
61
|
-
padding-top: var(--ez-grid-config__footer--padding-top);
|
|
62
73
|
display: flex;
|
|
63
74
|
justify-content: flex-end;
|
|
64
75
|
width: 100%;
|
|
76
|
+
|
|
77
|
+
/*public*/
|
|
78
|
+
padding-top: var(--ez-grid-config__footer--padding-top);
|
|
65
79
|
}
|
|
66
80
|
|
|
67
81
|
.hidden {
|
|
@@ -69,15 +83,19 @@ ez-list {
|
|
|
69
83
|
}
|
|
70
84
|
|
|
71
85
|
.grid-config__main {
|
|
72
|
-
padding-right: var(--ez-grid-config__main--padding-right);
|
|
73
86
|
overflow-y: auto;
|
|
87
|
+
|
|
88
|
+
/*public*/
|
|
89
|
+
padding-right: var(--ez-grid-config__main--padding-right);
|
|
74
90
|
}
|
|
75
91
|
|
|
76
92
|
.tabselector-container {
|
|
93
|
+
/*public*/
|
|
77
94
|
padding: var(--ez-grid-config__tabselector-container--padding) 0;
|
|
78
95
|
}
|
|
79
96
|
|
|
80
97
|
.button-close {
|
|
98
|
+
/*public*/
|
|
81
99
|
padding-left: var(--ez-grid-config__button-close--padding-left);
|
|
82
100
|
}
|
|
83
101
|
|
|
@@ -85,10 +103,11 @@ ez-list {
|
|
|
85
103
|
display: flex;
|
|
86
104
|
justify-content: space-between;
|
|
87
105
|
align-items: center;
|
|
88
|
-
width:
|
|
106
|
+
width: 100%;
|
|
89
107
|
}
|
|
90
108
|
|
|
91
109
|
.subtitle {
|
|
110
|
+
/*public*/
|
|
92
111
|
font-family: var(--ez-grid-config__subtitle--font-family);
|
|
93
112
|
font-size: var(--ez-grid-config__subtitle--font-size);
|
|
94
113
|
color: var(--text--primary);
|
|
@@ -97,13 +116,15 @@ ez-list {
|
|
|
97
116
|
.title {
|
|
98
117
|
display: flex;
|
|
99
118
|
margin: 0;
|
|
100
|
-
font-family: var(--ez-grid-config__title--font-family);
|
|
101
|
-
font-size: var(--title--large);
|
|
102
|
-
font-weight: var(--ez-grid-config__title--font-weight);
|
|
103
119
|
line-height: normal;
|
|
104
120
|
letter-spacing: 0em;
|
|
105
121
|
text-align: left;
|
|
122
|
+
|
|
123
|
+
/*public*/
|
|
106
124
|
color: var(--title--primary);
|
|
125
|
+
font-family: var(--ez-grid-config__title--font-family);
|
|
126
|
+
font-size: var(--title--large);
|
|
127
|
+
font-weight: var(--ez-grid-config__title--font-weight);
|
|
107
128
|
}
|
|
108
129
|
|
|
109
130
|
.grid-config__main::-webkit-scrollbar-track {
|
|
@@ -111,19 +132,24 @@ ez-list {
|
|
|
111
132
|
}
|
|
112
133
|
|
|
113
134
|
.grid-config__main::-webkit-scrollbar-thumb {
|
|
114
|
-
|
|
115
|
-
|
|
135
|
+
/*public*/
|
|
136
|
+
background-color: var(--ez-grid-config__scrollbar--background-color);
|
|
137
|
+
border-radius: var(--ez-grid-config__scrollbar--border-radius);
|
|
116
138
|
}
|
|
117
139
|
|
|
118
140
|
.grid-config__main::-webkit-scrollbar {
|
|
119
141
|
background-color: #f0f2f5;
|
|
142
|
+
|
|
143
|
+
/*public*/
|
|
120
144
|
width: var(--ez-grid-config__scrollbar--width);
|
|
121
145
|
max-width: var(--ez-grid-config__scrollbar--width);
|
|
122
146
|
min-width: var(--ez-grid-config__scrollbar--width);
|
|
123
147
|
}
|
|
148
|
+
|
|
124
149
|
.group-name {
|
|
125
|
-
|
|
126
|
-
font-
|
|
127
|
-
font-
|
|
128
|
-
|
|
150
|
+
/*public*/
|
|
151
|
+
font-family: var(--ez-grid-config__group--font-family);
|
|
152
|
+
font-size: var(--ez-grid-config__group--font-size);
|
|
153
|
+
font-weight: var(--ez-grid-config__group--font-weight);
|
|
154
|
+
padding-bottom: var(--ez-grid-config__group--padding-bottom);
|
|
129
155
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StringUtils } from '@sankhyalabs/core';
|
|
2
2
|
import { Component, Event, h, Host, Prop } from '@stencil/core';
|
|
3
3
|
import ApplicationUtils from '../../../../utils/ApplicationUtils';
|
|
4
|
-
export class
|
|
4
|
+
export class EzGridConfig {
|
|
5
5
|
constructor() {
|
|
6
6
|
this._orderListItems = [];
|
|
7
7
|
this._orderPriorityList = [];
|
|
@@ -82,7 +82,7 @@ export class GridConfig {
|
|
|
82
82
|
selectedOption = item.ascending == true ? 'asc' : 'desc';
|
|
83
83
|
}
|
|
84
84
|
return (h("div", null,
|
|
85
|
-
h("select-box", { selectedOption: selectedOption, key: 'select-box-' + this._componenteInternalKey + '-' + item, onEzChange: (ev) => { ev.stopPropagation(); this.updateOrder(ev.detail, item.label); } })));
|
|
85
|
+
h("ez-select-box", { selectedOption: selectedOption, key: 'ez-select-box-' + this._componenteInternalKey + '-' + item, onEzChange: (ev) => { ev.stopPropagation(); this.updateOrder(ev.detail, item.label); } })));
|
|
86
86
|
}
|
|
87
87
|
updateOrder(sortOrder, updatedItemLabel) {
|
|
88
88
|
var _a;
|
|
@@ -435,18 +435,18 @@ export class GridConfig {
|
|
|
435
435
|
h("div", { class: "grid-config__main" },
|
|
436
436
|
h("ez-list", { ref: (el) => this._columnList = el, class: this.selectedTab === "Colunas" ? "" : "hidden", dataSource: this._columListItems, onEzChange: ev => this.handleColumnListChange(ev), ezDraggable: true, ezSelectable: true, itemSlotBuilder: (item, group) => this.buildColumnListSlot(item, group), useGroups: true }),
|
|
437
437
|
h("div", { class: this.selectedTab === "Ordenação das linhas" ? "group-name" : "hidden" }, "Sequ\u00EAncia da ordena\u00E7\u00E3o"),
|
|
438
|
-
h("ez-list", { ref: (el) => this._orderList = el, class: this.selectedTab === "Ordenação das linhas" ? "
|
|
438
|
+
h("ez-list", { ref: (el) => this._orderList = el, class: this.selectedTab === "Ordenação das linhas" ? "height-calc" : "hidden", dataSource: this._orderListItems, ezSelectable: true, onEzChange: ev => this.handleOrderListChange(ev), ezDraggable: true, itemSlotBuilder: (item) => this.buildOrderListSlot(item) })),
|
|
439
439
|
h("div", { class: "grid-config__footer" },
|
|
440
440
|
h("ez-button", { class: "padding-right--medium", label: "Cancelar", onClick: () => this.closeConfig() }),
|
|
441
441
|
h("ez-button", { label: "Concluir", class: "ez-button--primary", onClick: () => this.finish() }))));
|
|
442
442
|
}
|
|
443
|
-
static get is() { return "grid-config"; }
|
|
443
|
+
static get is() { return "ez-grid-config"; }
|
|
444
444
|
static get encapsulation() { return "scoped"; }
|
|
445
445
|
static get originalStyleUrls() { return {
|
|
446
|
-
"$": ["grid-config.css"]
|
|
446
|
+
"$": ["ez-grid-config.css"]
|
|
447
447
|
}; }
|
|
448
448
|
static get styleUrls() { return {
|
|
449
|
-
"$": ["grid-config.css"]
|
|
449
|
+
"$": ["ez-grid-config.css"]
|
|
450
450
|
}; }
|
|
451
451
|
static get assetsDirs() { return ["../assets"]; }
|
|
452
452
|
static get properties() { return {
|
|
@@ -495,10 +495,10 @@ export class GridConfig {
|
|
|
495
495
|
"type": "unknown",
|
|
496
496
|
"mutable": true,
|
|
497
497
|
"complexType": {
|
|
498
|
-
"original": "
|
|
499
|
-
"resolved": "
|
|
498
|
+
"original": "IGridConfig",
|
|
499
|
+
"resolved": "IGridConfig",
|
|
500
500
|
"references": {
|
|
501
|
-
"
|
|
501
|
+
"IGridConfig": {
|
|
502
502
|
"location": "import",
|
|
503
503
|
"path": "../../controller/EzGridController"
|
|
504
504
|
}
|
|
@@ -523,10 +523,10 @@ export class GridConfig {
|
|
|
523
523
|
"text": ""
|
|
524
524
|
},
|
|
525
525
|
"complexType": {
|
|
526
|
-
"original": "
|
|
527
|
-
"resolved": "
|
|
526
|
+
"original": "IGridConfig",
|
|
527
|
+
"resolved": "IGridConfig",
|
|
528
528
|
"references": {
|
|
529
|
-
"
|
|
529
|
+
"IGridConfig": {
|
|
530
530
|
"location": "import",
|
|
531
531
|
"path": "../../controller/EzGridController"
|
|
532
532
|
}
|
|
@@ -9,13 +9,13 @@ export class SelectBox {
|
|
|
9
9
|
h("option", { value: "asc" }, "A-Z"),
|
|
10
10
|
h("option", { value: "desc" }, "Z-A")));
|
|
11
11
|
}
|
|
12
|
-
static get is() { return "select-box"; }
|
|
12
|
+
static get is() { return "ez-select-box"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
14
14
|
static get originalStyleUrls() { return {
|
|
15
|
-
"$": ["select-box.css"]
|
|
15
|
+
"$": ["ez-select-box.css"]
|
|
16
16
|
}; }
|
|
17
17
|
static get styleUrls() { return {
|
|
18
|
-
"$": ["select-box.css"]
|
|
18
|
+
"$": ["ez-select-box.css"]
|
|
19
19
|
}; }
|
|
20
20
|
static get assetsDirs() { return ["../assets"]; }
|
|
21
21
|
static get properties() { return {
|
|
@@ -1,78 +1,102 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
|
|
3
2
|
/* @doc Define a camada de visibilidae do componente. */
|
|
4
3
|
--ez-list__host--z-index: var(--visible, 1);
|
|
4
|
+
|
|
5
5
|
/* @doc Define o raio da borda do componente. */
|
|
6
6
|
--ez-list__host--border-radius: var(--border--radius-medium, 12px);
|
|
7
|
+
|
|
7
8
|
/* @doc Define o espaçamento entre a lista e o componente. */
|
|
8
9
|
--ez-list__host--padding: var(--space--medium, 12px);
|
|
9
10
|
|
|
10
11
|
/* @doc Define o espaçamento interno do ícone. */
|
|
11
|
-
--ez-
|
|
12
|
+
--ez-list__icon--padding: var(--space--small, 6px);
|
|
13
|
+
|
|
12
14
|
/* @doc Define a cor do ícone de arrasto do item da lista. */
|
|
13
15
|
--ez-list__icon--color: #AFB6C0;
|
|
14
16
|
|
|
15
17
|
/* @doc Define o espaçamento externo do item da lista. */
|
|
16
|
-
--ez-
|
|
18
|
+
--ez-list__item--margin: 0 var(--space--small, 6px);
|
|
19
|
+
|
|
17
20
|
/* @doc Define a cor do texto do item da lista. */
|
|
18
21
|
--ez-list__item--color: var(--title--primary, #2b3a54);
|
|
22
|
+
|
|
19
23
|
/* @doc Define o estilo borda inferior do item da lista. */
|
|
20
24
|
--ez-list__item--border-bottom: var(--border--small, 1px solid);
|
|
25
|
+
|
|
21
26
|
/* @doc Define a cor da borda inferior do item da lista. */
|
|
22
27
|
--ez-list__item--border-color: var(--title--primary, #2b3a54);
|
|
28
|
+
|
|
23
29
|
/* @doc Define o estilo do texto do item da lista. */
|
|
24
30
|
--ez-list__item--font-family: var(--font-pattern, "Sora");
|
|
31
|
+
|
|
25
32
|
/* @doc Define o tamanho do texto do item da lista. */
|
|
26
33
|
--ez-list__item--font-size: var(--text--medium, 14px);
|
|
27
34
|
|
|
28
35
|
/* @doc Define o espaçamento lateral direito para items selecionados. */
|
|
29
36
|
--ez-list__selectable--padding-right: var(--space--small, 6px);
|
|
37
|
+
|
|
30
38
|
/* @doc Define o espaçamento lateral esquerdo para items selecionados. */
|
|
31
39
|
--ez-list__selectable--padding-left: var(--space--small, 6px);
|
|
32
40
|
|
|
33
41
|
/*@doc Define o raio da borda de items selecionados.*/
|
|
34
|
-
--ez-list__selected-
|
|
42
|
+
--ez-list__selected-item--border-radius: var(--border--radius-small, 6px);
|
|
43
|
+
|
|
35
44
|
/*@doc Define a cor de fundo de items selecionados.*/
|
|
36
|
-
--ez-list__selected-
|
|
45
|
+
--ez-list__selected-item--background-color: var(--color--primary-300, #E2F4EF);
|
|
37
46
|
|
|
38
47
|
/* @doc Define o estilo do texto do grupo da lista. */
|
|
39
48
|
--ez-list__group--font-family: var(--font-pattern, "Sora");
|
|
49
|
+
|
|
40
50
|
/* @doc Define o tamanho do texto do grupo da lista. */
|
|
41
51
|
--ez-list__group--font-size: var(--text--medium, 14px);
|
|
52
|
+
|
|
42
53
|
/* @doc Define o peso do texto do grupo da lista. */
|
|
43
54
|
--ez-list__group--font-weight: var(--text-weight--large, 600);
|
|
55
|
+
|
|
44
56
|
/* @doc Define o espaçamento inferior do grupo da lista. */
|
|
45
57
|
--ez-list__group--padding-bottom: var(--space-small, 6px);
|
|
46
58
|
|
|
47
59
|
/* @doc Define o estilo do texto da área de transferência de grupos. */
|
|
48
|
-
--ez-
|
|
60
|
+
--ez-list__group-overlay--font-family: var(--font-pattern, "Sora");
|
|
61
|
+
|
|
49
62
|
/* @doc Define o tamanho do texto da área de transferência de grupos. */
|
|
50
|
-
--ez-
|
|
63
|
+
--ez-list__group-overlay--font-size: var(--text--medium, 14px);
|
|
51
64
|
|
|
52
65
|
/*@doc Define o raio da borda da barra de rolagem do container de grupos.*/
|
|
53
|
-
--ez-list__group-
|
|
66
|
+
--ez-list__group-container-scrollbar--border-radius: var(--border--radius-small, 6px);
|
|
67
|
+
|
|
54
68
|
/*@doc Define a largura da barra de rolagem do container de grupos.*/
|
|
55
|
-
--ez-list__group-
|
|
69
|
+
--ez-list__group-container-scrollbar--width: var(--space--medium, 12px);
|
|
70
|
+
|
|
56
71
|
/*@doc Define a cor da barra de rolagem do container de grupos.*/
|
|
57
|
-
--ez-list__group-
|
|
72
|
+
--ez-list__group-container-scrollbar--background-color-primary: var(--scrollbar--primary, #2B3A54);
|
|
73
|
+
|
|
74
|
+
/*@doc Define a cor de fundo da barra de rolagem do container de grupos.*/
|
|
75
|
+
--ez-list__group-container-scrollbar--background-color-secondary: var(--scrollbar--secondary, #E5EAF0);
|
|
58
76
|
|
|
59
77
|
/* @doc Define a cor da borda pontilhada sobre os elementos da lista. */
|
|
60
78
|
--ez-list__over--border--color: var(--color--primary, #008561);
|
|
61
79
|
|
|
62
|
-
/*@doc Define o espaçamento do container de itens arrastáveis .*/
|
|
63
|
-
--ez-list__draggable__list--padding-bottom: var(--space--small, 6px);
|
|
64
|
-
|
|
65
80
|
/*@doc Define a altura do container para arrasto para última posição .*/
|
|
66
81
|
--ez-list__last-droppable-space--height: var(--space--small, 6px);
|
|
67
82
|
|
|
68
83
|
/*@doc Define o raio da borda da barra de rolagem do componente.*/
|
|
69
|
-
--ez-
|
|
84
|
+
--ez-list__draggable-scrollbar--border-radius: var(--border--radius-small, 6px);
|
|
85
|
+
|
|
70
86
|
/*@doc Define a largura da barra de rolagem do componente.*/
|
|
71
|
-
--ez-
|
|
87
|
+
--ez-list__draggable-scrollbar--width: var(--space--medium, 12px);
|
|
88
|
+
|
|
72
89
|
/*@doc Define a cor da barra de rolagem do componente.*/
|
|
73
|
-
--ez-
|
|
90
|
+
--ez-list__draggable-scrollbar--background-color-primary: var(--scrollbar--primary, #2B3A54);
|
|
91
|
+
|
|
92
|
+
/*@doc Define a cor de fundo da barra de rolagem do componente.*/
|
|
93
|
+
--ez-list__draggable-scrollbar--background-color-secondary: var(--scrollbar--secondary, #E5EAF0);
|
|
94
|
+
|
|
95
|
+
/*@doc Define o espaçamento do container de itens arrastáveis .*/
|
|
96
|
+
--ez-list__draggable-list--padding-bottom: var(--space--small, 6px);
|
|
97
|
+
|
|
74
98
|
/* @doc Define a imagem do ícone de drag. */
|
|
75
|
-
--ez-
|
|
99
|
+
--ez-list__draggable-icon--image: url('data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="m 6.75,2.25 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z"/></svg>');
|
|
76
100
|
|
|
77
101
|
max-height: 100%;
|
|
78
102
|
width: 100%;
|
|
@@ -94,6 +118,7 @@ p {
|
|
|
94
118
|
font-family: var(--ez-list__item--font-family);
|
|
95
119
|
font-size: var(--ez-list__item--font-size);
|
|
96
120
|
flex: 1;
|
|
121
|
+
width: 100%;
|
|
97
122
|
}
|
|
98
123
|
|
|
99
124
|
.dragging {
|
|
@@ -118,8 +143,9 @@ p {
|
|
|
118
143
|
|
|
119
144
|
.item-content {
|
|
120
145
|
display: flex;
|
|
121
|
-
justify-content:
|
|
146
|
+
justify-content: flex-start;
|
|
122
147
|
align-items: center;
|
|
148
|
+
width: calc(100% - 41px);
|
|
123
149
|
}
|
|
124
150
|
|
|
125
151
|
.draggable-list {
|
|
@@ -128,12 +154,16 @@ p {
|
|
|
128
154
|
margin: 0;
|
|
129
155
|
width: 100%;
|
|
130
156
|
max-height: 100%;
|
|
157
|
+
scrollbar-width: thin;
|
|
158
|
+
|
|
159
|
+
/*public*/
|
|
160
|
+
scrollbar-color: var(--ez-list__draggable-scrollbar--background-color-primary) var(--ez-list__draggable-scrollbar--background-color-secondary);
|
|
131
161
|
}
|
|
132
162
|
|
|
133
163
|
.draggable-list li {
|
|
134
164
|
background-color: #fff;
|
|
135
165
|
display: flex;
|
|
136
|
-
margin: var(--ez-
|
|
166
|
+
margin: var(--ez-list__item--margin);
|
|
137
167
|
font-family: var(--ez-list__item--font-family);
|
|
138
168
|
font-size: var(--ez-list__item--font-size);
|
|
139
169
|
color: var(--ez-list__item--color);
|
|
@@ -159,19 +189,19 @@ p {
|
|
|
159
189
|
|
|
160
190
|
/* Precisamos dos tokens do scrollbar */
|
|
161
191
|
.draggable-list::-webkit-scrollbar-track {
|
|
162
|
-
background-color:
|
|
192
|
+
background-color: var(--ez-list__draggable-scrollbar--background-color-secondary);
|
|
163
193
|
}
|
|
164
194
|
|
|
165
195
|
.draggable-list::-webkit-scrollbar-thumb {
|
|
166
|
-
background-color: var(--ez-
|
|
167
|
-
border-radius: var(--ez-
|
|
196
|
+
background-color: var(--ez-list__draggable-scrollbar--background-color-primary);
|
|
197
|
+
border-radius: var(--ez-list__draggable-scrollbar--border-radius);
|
|
168
198
|
}
|
|
169
199
|
|
|
170
200
|
.draggable-list::-webkit-scrollbar {
|
|
171
|
-
background-color:
|
|
172
|
-
width: var(--ez-
|
|
173
|
-
max-width: var(--ez-
|
|
174
|
-
min-width: var(--ez-
|
|
201
|
+
background-color: var(--ez-list__draggable-scrollbar--background-color-secondary);
|
|
202
|
+
width: var(--ez-list__draggable-scrollbar--width);
|
|
203
|
+
max-width: var(--ez-list__draggable-scrollbar--width);
|
|
204
|
+
min-width: var(--ez-list__draggable-scrollbar--width);
|
|
175
205
|
}
|
|
176
206
|
|
|
177
207
|
.draggable-icon {
|
|
@@ -188,8 +218,8 @@ p {
|
|
|
188
218
|
background-color: var(--ez-list__icon--color);
|
|
189
219
|
width: 18px;
|
|
190
220
|
height: 18px;
|
|
191
|
-
-webkit-mask-image: var(--ez-
|
|
192
|
-
mask-image: var(--ez-
|
|
221
|
+
-webkit-mask-image: var(--ez-list__draggable-icon--image);
|
|
222
|
+
mask-image: var(--ez-list__draggable-icon--image);
|
|
193
223
|
}
|
|
194
224
|
|
|
195
225
|
* {
|
|
@@ -213,6 +243,10 @@ p {
|
|
|
213
243
|
overflow-y: auto;
|
|
214
244
|
outline: none;
|
|
215
245
|
width: 100%;
|
|
246
|
+
scrollbar-width: thin;
|
|
247
|
+
|
|
248
|
+
/*public*/
|
|
249
|
+
scrollbar-color: var(--ez-list__group-container-scrollbar--background-color-primary) var(--ez-list__group-container-scrollbar--background-color-secondary);
|
|
216
250
|
}
|
|
217
251
|
|
|
218
252
|
.group-name {
|
|
@@ -234,19 +268,19 @@ p {
|
|
|
234
268
|
|
|
235
269
|
/* Precisamos dos tokens do scrollbar */
|
|
236
270
|
.group-container::-webkit-scrollbar-track {
|
|
237
|
-
background-color:
|
|
271
|
+
background-color: var(--ez-list__group-container-scrollbar--background-color-secondary);
|
|
238
272
|
}
|
|
239
273
|
|
|
240
274
|
.group-container::-webkit-scrollbar-thumb {
|
|
241
|
-
background-color: var(--ez-list__group-
|
|
242
|
-
border-radius: var(--ez-list__group-
|
|
275
|
+
background-color: var(--ez-list__group-container-scrollbar--background-color-primary);
|
|
276
|
+
border-radius: var(--ez-list__group-container-scrollbar--border-radius);
|
|
243
277
|
}
|
|
244
278
|
|
|
245
279
|
.group-container::-webkit-scrollbar {
|
|
246
|
-
background-color:
|
|
247
|
-
width: var(--ez-list__group-
|
|
248
|
-
max-width: var(--ez-list__group-
|
|
249
|
-
min-width: var(--ez-list__group-
|
|
280
|
+
background-color: var(--ez-list__group-container-scrollbar--background-color-secondary);
|
|
281
|
+
width: var(--ez-list__group-container-scrollbar--width);
|
|
282
|
+
max-width: var(--ez-list__group-container-scrollbar--width);
|
|
283
|
+
min-width: var(--ez-list__group-container-scrollbar--width);
|
|
250
284
|
}
|
|
251
285
|
|
|
252
286
|
.section-container {
|
|
@@ -260,6 +294,10 @@ p {
|
|
|
260
294
|
max-height: 100%;
|
|
261
295
|
overflow-y: auto;
|
|
262
296
|
outline: none;
|
|
297
|
+
scrollbar-width: thin;
|
|
298
|
+
|
|
299
|
+
/*public*/
|
|
300
|
+
scrollbar-color: var(--ez-list__draggable-scrollbar--background-color-primary) var(--ez-list__draggable-scrollbar--background-color-secondary);
|
|
263
301
|
}
|
|
264
302
|
|
|
265
303
|
.group-items-container {
|
|
@@ -270,24 +308,24 @@ p {
|
|
|
270
308
|
}
|
|
271
309
|
|
|
272
310
|
.items-container::-webkit-scrollbar-track {
|
|
273
|
-
background-color:
|
|
311
|
+
background-color: var(--ez-list__draggable-scrollbar--background-color-secondary);
|
|
274
312
|
}
|
|
275
313
|
|
|
276
314
|
.items-container::-webkit-scrollbar-thumb {
|
|
277
|
-
background-color: var(--ez-
|
|
278
|
-
border-radius: var(--ez-
|
|
315
|
+
background-color: var(--ez-list__draggable-scrollbar--background-color-primary);
|
|
316
|
+
border-radius: var(--ez-list__draggable-scrollbar--border-radius);
|
|
279
317
|
}
|
|
280
318
|
|
|
281
319
|
.items-container::-webkit-scrollbar {
|
|
282
|
-
background-color:
|
|
283
|
-
width: var(--ez-
|
|
284
|
-
max-width: var(--ez-
|
|
285
|
-
min-width: var(--ez-
|
|
320
|
+
background-color: var(--ez-list__draggable-scrollbar--background-color-secondary);
|
|
321
|
+
width: var(--ez-list__draggable-scrollbar--width);
|
|
322
|
+
max-width: var(--ez-list__draggable-scrollbar--width);
|
|
323
|
+
min-width: var(--ez-list__draggable-scrollbar--width);
|
|
286
324
|
}
|
|
287
325
|
|
|
288
326
|
.group-overlay {
|
|
289
|
-
font-family: var(--ez-
|
|
290
|
-
font-size: var(--ez-
|
|
327
|
+
font-family: var(--ez-list__group-overlay--font-family);
|
|
328
|
+
font-size: var(--ez-list__group-overlay--font-size);
|
|
291
329
|
background: rgba(226, 244, 239, 0.8);
|
|
292
330
|
border: 1px solid #008561;
|
|
293
331
|
border-radius: 8px;
|
|
@@ -318,8 +356,8 @@ p {
|
|
|
318
356
|
}
|
|
319
357
|
|
|
320
358
|
.selected-item {
|
|
321
|
-
background: var(--ez-list__selected-
|
|
322
|
-
border-radius: var(--ez-list__selected-
|
|
359
|
+
background: var(--ez-list__selected-item--background-color);
|
|
360
|
+
border-radius: var(--ez-list__selected-item--border-radius);
|
|
323
361
|
}
|
|
324
362
|
|
|
325
363
|
.slot-item {
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
.modal__content {
|
|
55
55
|
display: flex;
|
|
56
56
|
flex-wrap: wrap;
|
|
57
|
-
|
|
58
|
-
max-height:
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
max-height: 100%;
|
|
59
59
|
height: 100%;
|
|
60
60
|
overflow-y: auto;
|
|
61
61
|
background-color: rgb(255, 255, 255);
|
|
@@ -86,6 +86,12 @@ export const EzGrid: {
|
|
|
86
86
|
new (): EzGrid;
|
|
87
87
|
};
|
|
88
88
|
|
|
89
|
+
interface EzGridConfig extends Components.EzGridConfig, HTMLElement {}
|
|
90
|
+
export const EzGridConfig: {
|
|
91
|
+
prototype: EzGridConfig;
|
|
92
|
+
new (): EzGridConfig;
|
|
93
|
+
};
|
|
94
|
+
|
|
89
95
|
interface EzIcon extends Components.EzIcon, HTMLElement {}
|
|
90
96
|
export const EzIcon: {
|
|
91
97
|
prototype: EzIcon;
|
|
@@ -134,6 +140,12 @@ export const EzSearch: {
|
|
|
134
140
|
new (): EzSearch;
|
|
135
141
|
};
|
|
136
142
|
|
|
143
|
+
interface EzSelectBox extends Components.EzSelectBox, HTMLElement {}
|
|
144
|
+
export const EzSelectBox: {
|
|
145
|
+
prototype: EzSelectBox;
|
|
146
|
+
new (): EzSelectBox;
|
|
147
|
+
};
|
|
148
|
+
|
|
137
149
|
interface EzTabselector extends Components.EzTabselector, HTMLElement {}
|
|
138
150
|
export const EzTabselector: {
|
|
139
151
|
prototype: EzTabselector;
|
|
@@ -176,18 +188,6 @@ export const EzViewStack: {
|
|
|
176
188
|
new (): EzViewStack;
|
|
177
189
|
};
|
|
178
190
|
|
|
179
|
-
interface GridConfig extends Components.GridConfig, HTMLElement {}
|
|
180
|
-
export const GridConfig: {
|
|
181
|
-
prototype: GridConfig;
|
|
182
|
-
new (): GridConfig;
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
interface SelectBox extends Components.SelectBox, HTMLElement {}
|
|
186
|
-
export const SelectBox: {
|
|
187
|
-
prototype: SelectBox;
|
|
188
|
-
new (): SelectBox;
|
|
189
|
-
};
|
|
190
|
-
|
|
191
191
|
interface TestDu extends Components.TestDu, HTMLElement {}
|
|
192
192
|
export const TestDu: {
|
|
193
193
|
prototype: TestDu;
|