@sankhyalabs/ezui 1.2.0-beta.2 → 1.2.0-beta.21
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/{ApplicationUtils-483c0a9e.js → ApplicationUtils-edc62c5c.js} +6 -2
- package/dist/cjs/{CSSVarsUtils-09b431cc.js → CSSVarsUtils-af809e73.js} +17 -0
- package/dist/cjs/{DialogType-a1e288e6.js → DialogType-aa435c52.js} +1 -0
- package/dist/cjs/FieldBuilder-cd3e45ed.js +119 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js +67 -15
- package/dist/cjs/ez-button.cjs.entry.js +12 -10
- package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
- package/dist/cjs/ez-chip.cjs.entry.js +6 -6
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +85 -6
- package/dist/cjs/ez-combo-box.cjs.entry.js +38 -13
- package/dist/cjs/ez-date-input.cjs.entry.js +9 -14
- package/dist/cjs/ez-date-time-input.cjs.entry.js +9 -14
- package/dist/cjs/ez-dialog.cjs.entry.js +42 -7
- package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-form.cjs.entry.js +44 -133
- package/dist/cjs/ez-grid-config.cjs.entry.js +4 -5
- package/dist/cjs/ez-grid.cjs.entry.js +97 -10
- package/dist/cjs/ez-icon.cjs.entry.js +1 -1
- package/dist/cjs/ez-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal-container.cjs.entry.js +54 -0
- package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-popover.cjs.entry.js +1 -1
- package/dist/cjs/ez-popup.cjs.entry.js +7 -3
- package/dist/cjs/ez-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/ez-scroller.cjs.entry.js +1 -1
- package/dist/cjs/ez-search.cjs.entry.js +1 -1
- package/dist/cjs/ez-tabselector.cjs.entry.js +7 -5
- package/dist/cjs/ez-text-area.cjs.entry.js +6 -6
- package/dist/cjs/ez-text-edit.cjs.entry.js +103 -0
- package/dist/cjs/ez-text-input.cjs.entry.js +11 -1
- package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-upload.cjs.entry.js +2 -2
- package/dist/cjs/ez-view-stack.cjs.entry.js +9 -5
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +6 -4
- package/dist/collection/components/ez-actions-button/ez-actions-button.css +49 -20
- package/dist/collection/components/ez-actions-button/ez-actions-button.js +219 -23
- package/dist/collection/components/ez-button/ez-button.css +1 -6
- package/dist/collection/components/ez-button/ez-button.js +11 -9
- package/dist/collection/components/ez-calendar/ez-calendar.css +17 -20
- package/dist/collection/components/ez-chip/ez-chip.css +6 -3
- package/dist/collection/components/ez-chip/ez-chip.js +5 -5
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +16 -0
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +226 -7
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +1 -22
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +42 -18
- package/dist/collection/components/ez-date-input/ez-date-input.js +8 -13
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +8 -13
- package/dist/collection/components/ez-dialog/DialogType.js +1 -0
- package/dist/collection/components/ez-dialog/ez-dialog.css +19 -25
- package/dist/collection/components/ez-dialog/ez-dialog.js +41 -6
- package/dist/collection/components/ez-form/DataBinder.js +1 -0
- package/dist/collection/components/ez-form/ez-form.js +22 -13
- package/dist/collection/components/ez-form/fieldbuilder/FieldBuilder.js +1 -1
- package/dist/collection/components/ez-form/structure/FormSheetMetadata.js +24 -14
- package/dist/collection/components/ez-grid/controller/DataUnitBridge.js +3 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +64 -10
- package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRenderer.js +31 -0
- package/dist/collection/components/ez-grid/ez-grid.js +40 -3
- package/dist/collection/components/ez-grid/subcomponents/ez-grid-config/ez-grid-config.css +36 -25
- package/dist/collection/components/ez-grid/subcomponents/ez-grid-config/ez-grid-config.js +1 -2
- package/dist/collection/components/ez-grid/subcomponents/ez-select-box/ez-select-box.js +5 -4
- package/dist/collection/components/ez-icon/ez-icon.css +117 -98
- package/dist/collection/components/ez-list/ez-list.css +9 -1
- package/dist/collection/components/ez-modal-container/ez-modal-container.css +38 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.js +166 -0
- package/dist/collection/components/ez-modal-container/index.js +2 -0
- package/dist/collection/components/ez-modal-container/modal-action.js +8 -0
- package/dist/collection/components/ez-modal-container/modal-button-status.js +7 -0
- package/dist/collection/components/ez-popover/ez-popover.css +1 -1
- package/dist/collection/components/ez-popup/ez-popup.css +4 -0
- package/dist/collection/components/ez-popup/ez-popup.js +26 -4
- package/dist/collection/components/ez-radio-button/ez-radio-button.css +16 -5
- package/dist/collection/components/ez-radio-button/ez-radio-button.js +1 -1
- package/dist/collection/components/ez-scroller/ez-scroller.css +4 -2
- package/dist/collection/components/ez-search/ez-search.js +6 -6
- package/dist/collection/components/ez-tabselector/ez-tabselector.css +9 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +7 -3
- package/dist/collection/components/ez-text-area/ez-text-area.css +6 -3
- package/dist/collection/components/ez-text-area/ez-text-area.js +5 -5
- package/dist/collection/components/ez-text-edit/ez-text-edit.css +19 -0
- package/dist/collection/components/ez-text-edit/ez-text-edit.js +188 -0
- package/dist/collection/components/ez-text-input/ez-text-input.css +18 -2
- package/dist/collection/components/ez-text-input/ez-text-input.js +28 -0
- package/dist/collection/components/ez-view-stack/ez-view-stack.js +12 -6
- package/dist/collection/utils/ApplicationUtils.js +5 -1
- package/dist/collection/utils/CSSVarsUtils.js +17 -0
- package/dist/collection/utils/index.js +1 -0
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +728 -254
- package/dist/esm/{ApplicationUtils-5f87ae60.js → ApplicationUtils-205ac4bc.js} +6 -2
- package/dist/esm/{CSSVarsUtils-499b75c2.js → CSSVarsUtils-00f67f32.js} +17 -0
- package/dist/esm/{DialogType-72afa679.js → DialogType-4059dc4d.js} +1 -0
- package/dist/esm/FieldBuilder-9e9545fc.js +117 -0
- package/dist/esm/ez-actions-button.entry.js +67 -15
- package/dist/esm/ez-button.entry.js +12 -10
- package/dist/esm/ez-calendar.entry.js +1 -1
- package/dist/esm/ez-chip.entry.js +6 -6
- package/dist/esm/ez-collapsible-box.entry.js +86 -7
- package/dist/esm/ez-combo-box.entry.js +38 -13
- package/dist/esm/ez-date-input.entry.js +9 -14
- package/dist/esm/ez-date-time-input.entry.js +10 -15
- package/dist/esm/ez-dialog.entry.js +42 -7
- package/dist/esm/ez-filter-input.entry.js +1 -1
- package/dist/esm/ez-form.entry.js +43 -132
- package/dist/esm/ez-grid-config.entry.js +4 -5
- package/dist/esm/ez-grid.entry.js +97 -10
- package/dist/esm/ez-icon.entry.js +1 -1
- package/dist/esm/ez-list.entry.js +1 -1
- package/dist/esm/ez-modal-container.entry.js +50 -0
- package/dist/esm/ez-number-input.entry.js +1 -1
- package/dist/esm/ez-popover.entry.js +1 -1
- package/dist/esm/ez-popup.entry.js +7 -3
- package/dist/esm/ez-radio-button.entry.js +2 -2
- package/dist/esm/ez-scroller.entry.js +1 -1
- package/dist/esm/ez-search.entry.js +1 -1
- package/dist/esm/ez-tabselector.entry.js +7 -5
- package/dist/esm/ez-text-area.entry.js +6 -6
- package/dist/esm/ez-text-edit.entry.js +99 -0
- package/dist/esm/ez-text-input.entry.js +11 -1
- package/dist/esm/ez-time-input.entry.js +1 -1
- package/dist/esm/ez-upload.entry.js +2 -2
- package/dist/esm/ez-view-stack.entry.js +9 -5
- 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-0b44cf1c.js +1 -0
- package/dist/ezui/p-0c7203d5.entry.js +1 -0
- package/dist/ezui/p-2cc6dd66.entry.js +1 -0
- package/dist/ezui/p-2ccad880.entry.js +1 -0
- package/dist/ezui/p-333d79c4.entry.js +1 -0
- package/dist/ezui/p-3987f8d8.entry.js +1 -0
- package/dist/ezui/p-3c87845d.entry.js +1 -0
- package/dist/ezui/{p-768053d0.entry.js → p-43bb6a59.entry.js} +1 -1
- package/dist/ezui/p-4a5e37a7.js +1 -0
- package/dist/ezui/p-4ad647fc.entry.js +1 -0
- package/dist/ezui/p-54ecd19a.js +1 -0
- package/dist/ezui/{p-03742d3e.entry.js → p-56688470.entry.js} +1 -1
- package/dist/ezui/{p-b901ba02.entry.js → p-5a1927a2.entry.js} +1 -1
- package/dist/ezui/{p-b2cf7db2.entry.js → p-63d567cc.entry.js} +1 -1
- package/dist/ezui/p-6befd7e4.entry.js +1 -0
- package/dist/ezui/p-712bd293.entry.js +1 -0
- package/dist/ezui/{p-d9c72ff7.entry.js → p-72c75a43.entry.js} +1 -1
- package/dist/ezui/{p-15d18ece.entry.js → p-744eb735.entry.js} +1 -1
- package/dist/ezui/{p-81eb2738.entry.js → p-802d23d9.entry.js} +1 -1
- package/dist/ezui/p-86daa81a.entry.js +1 -0
- package/dist/ezui/{p-72ab066f.entry.js → p-b706619e.entry.js} +1 -1
- package/dist/ezui/p-bca406db.entry.js +1 -0
- package/dist/ezui/p-be06251d.entry.js +1 -0
- package/dist/ezui/{p-e7d03a0d.entry.js → p-bffae598.entry.js} +1 -1
- package/dist/ezui/p-d91527dc.entry.js +1 -0
- package/dist/ezui/p-dd257f17.entry.js +1 -0
- package/dist/ezui/p-e1148f5c.js +1 -0
- package/dist/ezui/p-e1f2b5da.entry.js +1 -0
- package/dist/ezui/p-e230bfd2.entry.js +1 -0
- package/dist/ezui/{p-5c721278.entry.js → p-e3ee814c.entry.js} +1 -1
- package/dist/ezui/p-e697ffd5.entry.js +1 -0
- package/dist/ezui/p-ec9decf2.entry.js +1 -0
- package/dist/ezui/p-f36dbc21.entry.js +1 -0
- package/dist/types/components/ez-actions-button/ez-actions-button.d.ts +42 -9
- package/dist/types/components/ez-chip/ez-chip.d.ts +1 -1
- package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +46 -1
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +15 -5
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +0 -1
- package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +0 -1
- package/dist/types/components/ez-dialog/DialogType.d.ts +1 -0
- package/dist/types/components/ez-dialog/ez-dialog.d.ts +3 -0
- package/dist/types/components/ez-form/DataBinder.d.ts +2 -2
- package/dist/types/components/ez-form/ez-form.d.ts +21 -11
- package/dist/types/components/ez-form/fieldbuilder/tpl/CheckBox.tpl.d.ts +3 -3
- package/dist/types/components/ez-form/fieldbuilder/tpl/NumberInput.tpl.d.ts +2 -5
- package/dist/types/components/ez-form/structure/FormSheetMetadata.d.ts +3 -3
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +11 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +5 -1
- package/dist/types/components/ez-grid/controller/ag-grid/components/cellRenderer.d.ts +9 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +8 -3
- package/dist/types/components/ez-grid/subcomponents/ez-select-box/ez-select-box.d.ts +2 -6
- package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +43 -0
- package/dist/types/components/ez-modal-container/index.d.ts +2 -0
- package/dist/types/components/ez-modal-container/modal-action.d.ts +7 -0
- package/dist/types/components/ez-modal-container/modal-button-status.d.ts +6 -0
- package/dist/types/components/ez-popup/ez-popup.d.ts +4 -0
- package/dist/types/components/ez-search/ez-search.d.ts +3 -3
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +2 -0
- package/dist/types/components/ez-text-edit/ez-text-edit.d.ts +39 -0
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +5 -0
- package/dist/types/components/ez-view-stack/ez-view-stack.d.ts +5 -1
- package/dist/types/components.d.ts +266 -28
- package/dist/types/utils/ApplicationUtils.d.ts +1 -0
- package/dist/types/utils/CSSVarsUtils.d.ts +1 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/package.json +5 -5
- package/react/components.d.ts +2 -0
- package/react/components.js +2 -0
- package/react/components.js.map +1 -1
- package/dist/ezui/p-3263a002.js +0 -1
- package/dist/ezui/p-3ae441ec.entry.js +0 -1
- package/dist/ezui/p-3ffdde40.entry.js +0 -1
- package/dist/ezui/p-416bedbe.entry.js +0 -1
- package/dist/ezui/p-47e06040.entry.js +0 -1
- package/dist/ezui/p-6cfe20a0.entry.js +0 -1
- package/dist/ezui/p-719e9ef9.entry.js +0 -1
- package/dist/ezui/p-787fbdfe.js +0 -1
- package/dist/ezui/p-7fe1ac9a.entry.js +0 -1
- package/dist/ezui/p-898b9906.js +0 -1
- package/dist/ezui/p-9c3c9da8.entry.js +0 -1
- package/dist/ezui/p-a27dafa4.entry.js +0 -1
- package/dist/ezui/p-a3ff4f0e.entry.js +0 -1
- package/dist/ezui/p-aba3fa6c.entry.js +0 -1
- package/dist/ezui/p-b3e978aa.entry.js +0 -1
- package/dist/ezui/p-cccd8cde.entry.js +0 -1
- package/dist/ezui/p-cf283c4a.entry.js +0 -1
- package/dist/ezui/p-d0671e14.entry.js +0 -1
- package/dist/ezui/p-e0f06d73.entry.js +0 -1
- package/dist/ezui/p-ed835b36.entry.js +0 -1
|
@@ -11,14 +11,20 @@
|
|
|
11
11
|
/*@doc Define o espaçamento utilizado à esquerda do botão de fechar do componente.*/
|
|
12
12
|
--ez-grid-config__button-close--padding-left: var(--space--medium, 12px);
|
|
13
13
|
|
|
14
|
-
/*@doc Define
|
|
15
|
-
--
|
|
14
|
+
/*@doc Define a cor do texto utilizado para o titulo do componente.*/
|
|
15
|
+
--snk-grid-config__title--color: var(--title--primary, #2B3A54);
|
|
16
16
|
|
|
17
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 tamanho da fonte utilizada para o titulo do componente.*/
|
|
21
|
+
--ez-grid-config__title--font-size: var(--title--large, 20px);
|
|
22
|
+
|
|
20
23
|
/*@doc Define o peso do texto utilizado para o titulo do componente.*/
|
|
21
|
-
--ez-grid-config__title--font-weight: var(--text-weight--large, 700);
|
|
24
|
+
--ez-grid-config__title--font-weight: var(--text-weight--extra-large, 700);
|
|
25
|
+
|
|
26
|
+
/*@doc Define o estilo da fonte utilizada para o subtitulo do componente.*/
|
|
27
|
+
--ez-grid-config__subtitle--font-family: var(--font-pattern, "Sora");
|
|
22
28
|
|
|
23
29
|
/*@doc Define o tamanho da fonte utilizada para o subtitulo do componente.*/
|
|
24
30
|
--ez-grid-config__subtitle--font-size: var(--text--medium, 14px);
|
|
@@ -27,10 +33,13 @@
|
|
|
27
33
|
--ez-grid-config__scrollbar--width: var(--space--medium, 12px);
|
|
28
34
|
|
|
29
35
|
/*@doc Define a cor da barra de rolagem do componente.*/
|
|
30
|
-
--ez-grid-config__scrollbar--background-color: var(--
|
|
36
|
+
--ez-grid-config__scrollbar--background-color-primary: var(--scrollbar--primary, #2B3A54);
|
|
37
|
+
|
|
38
|
+
/*@doc Define a cor de fundo da barra de rolagem do componente.*/
|
|
39
|
+
--ez-grid-config__scrollbar--background-color-secondary: var(--scrollbar--secondary, #E5EAF0);
|
|
31
40
|
|
|
32
41
|
/*@doc Define o raio da borda da barra de rolagem do componente.*/
|
|
33
|
-
--ez-grid-config__scrollbar--border-radius: var(--border--radius-
|
|
42
|
+
--ez-grid-config__scrollbar--border-radius: var(--border--radius-small, 6px);
|
|
34
43
|
|
|
35
44
|
/* @doc Define o estilo do texto do grupo da lista. */
|
|
36
45
|
--ez-grid-config__group--font-family: var(--font-pattern, "Sora");
|
|
@@ -82,13 +91,6 @@ ez-list {
|
|
|
82
91
|
display: none;
|
|
83
92
|
}
|
|
84
93
|
|
|
85
|
-
.grid-config__main {
|
|
86
|
-
overflow-y: auto;
|
|
87
|
-
|
|
88
|
-
/*public*/
|
|
89
|
-
padding-right: var(--ez-grid-config__main--padding-right);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
94
|
.tabselector-container {
|
|
93
95
|
/*public*/
|
|
94
96
|
padding: var(--ez-grid-config__tabselector-container--padding) 0;
|
|
@@ -106,13 +108,6 @@ ez-list {
|
|
|
106
108
|
width: 100%;
|
|
107
109
|
}
|
|
108
110
|
|
|
109
|
-
.subtitle {
|
|
110
|
-
/*public*/
|
|
111
|
-
font-family: var(--ez-grid-config__subtitle--font-family);
|
|
112
|
-
font-size: var(--ez-grid-config__subtitle--font-size);
|
|
113
|
-
color: var(--text--primary);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
111
|
.title {
|
|
117
112
|
display: flex;
|
|
118
113
|
margin: 0;
|
|
@@ -121,29 +116,45 @@ ez-list {
|
|
|
121
116
|
text-align: left;
|
|
122
117
|
|
|
123
118
|
/*public*/
|
|
124
|
-
color: var(--
|
|
119
|
+
color: var(--snk-grid-config__title--color);
|
|
120
|
+
font-size: var(--ez-grid-config__title--font-size);
|
|
125
121
|
font-family: var(--ez-grid-config__title--font-family);
|
|
126
|
-
font-size: var(--title--large);
|
|
127
122
|
font-weight: var(--ez-grid-config__title--font-weight);
|
|
128
123
|
}
|
|
129
124
|
|
|
125
|
+
.subtitle {
|
|
126
|
+
/*public*/
|
|
127
|
+
color: var(--text--primary);
|
|
128
|
+
font-size: var(--ez-grid-config__subtitle--font-size);
|
|
129
|
+
font-family: var(--ez-grid-config__subtitle--font-family);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.grid-config__main {
|
|
133
|
+
overflow-y: auto;
|
|
134
|
+
scrollbar-width: thin;
|
|
135
|
+
|
|
136
|
+
/*public*/
|
|
137
|
+
scrollbar-color: var(--ez-grid-config__scrollbar--background-color-primary) var(--ez-grid-config__scrollbar--background-color-secondary);
|
|
138
|
+
padding-right: var(--ez-grid-config__main--padding-right);
|
|
139
|
+
}
|
|
140
|
+
|
|
130
141
|
.grid-config__main::-webkit-scrollbar-track {
|
|
131
|
-
|
|
142
|
+
/*public*/
|
|
143
|
+
background-color: var(--ez-grid-config__scrollbar--background-color-secondary);
|
|
132
144
|
}
|
|
133
145
|
|
|
134
146
|
.grid-config__main::-webkit-scrollbar-thumb {
|
|
135
147
|
/*public*/
|
|
136
|
-
background-color: var(--ez-grid-config__scrollbar--background-color);
|
|
148
|
+
background-color: var(--ez-grid-config__scrollbar--background-color-primary);
|
|
137
149
|
border-radius: var(--ez-grid-config__scrollbar--border-radius);
|
|
138
150
|
}
|
|
139
151
|
|
|
140
152
|
.grid-config__main::-webkit-scrollbar {
|
|
141
|
-
background-color: #f0f2f5;
|
|
142
|
-
|
|
143
153
|
/*public*/
|
|
144
154
|
width: var(--ez-grid-config__scrollbar--width);
|
|
145
155
|
max-width: var(--ez-grid-config__scrollbar--width);
|
|
146
156
|
min-width: var(--ez-grid-config__scrollbar--width);
|
|
157
|
+
background-color: var(--ez-grid-config__scrollbar--background-color-secondary);
|
|
147
158
|
}
|
|
148
159
|
|
|
149
160
|
.group-name {
|
|
@@ -75,7 +75,7 @@ export class EzGridConfig {
|
|
|
75
75
|
}
|
|
76
76
|
buildColumnListSlot(item, group) {
|
|
77
77
|
return (h("div", null,
|
|
78
|
-
h("ez-check", { mode: 'switch', id: 'switch' + item + group, value: group.group === "Visíveis", onEzChange: (ev) => { this.switchColumnGroup(ev, item); } })));
|
|
78
|
+
h("ez-check", { mode: 'switch', id: 'switch' + ((item === null || item === void 0 ? void 0 : item.label) || '') + ((group === null || group === void 0 ? void 0 : group.group) || ''), value: group.group === "Visíveis", onEzChange: (ev) => { this.switchColumnGroup(ev, item); } })));
|
|
79
79
|
}
|
|
80
80
|
buildOrderListSlot(item) {
|
|
81
81
|
let selectedOption = "na";
|
|
@@ -158,7 +158,6 @@ export class EzGridConfig {
|
|
|
158
158
|
this.columns = newColumnList;
|
|
159
159
|
this._dataChanged = false;
|
|
160
160
|
this.closeConfig();
|
|
161
|
-
ApplicationUtils.info("As configurações foram salvas com sucesso!");
|
|
162
161
|
this.save();
|
|
163
162
|
}
|
|
164
163
|
save() {
|
|
@@ -23,11 +23,12 @@ export class SelectBox {
|
|
|
23
23
|
"type": "string",
|
|
24
24
|
"mutable": false,
|
|
25
25
|
"complexType": {
|
|
26
|
-
"original": "
|
|
27
|
-
"resolved": "
|
|
26
|
+
"original": "IOption | string",
|
|
27
|
+
"resolved": "IOption | string",
|
|
28
28
|
"references": {
|
|
29
|
-
"
|
|
30
|
-
"location": "
|
|
29
|
+
"IOption": {
|
|
30
|
+
"location": "import",
|
|
31
|
+
"path": "../../../ez-combo-box/ez-combo-box"
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
34
|
},
|
|
@@ -53,104 +53,123 @@ svg {
|
|
|
53
53
|
-webkit-font-smoothing: antialiased;
|
|
54
54
|
-moz-osx-font-smoothing: grayscale;
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
.ez-icon-
|
|
58
|
-
.ez-icon-account:before { content: "\
|
|
59
|
-
.ez-icon-
|
|
60
|
-
.ez-icon-
|
|
61
|
-
.ez-icon-alert-
|
|
62
|
-
.ez-icon-alert-
|
|
63
|
-
.ez-icon-alert-
|
|
64
|
-
.ez-icon-
|
|
65
|
-
.ez-icon-
|
|
66
|
-
.ez-icon-
|
|
67
|
-
.ez-icon-
|
|
68
|
-
.ez-icon-
|
|
69
|
-
.ez-icon-
|
|
70
|
-
.ez-icon-
|
|
71
|
-
.ez-icon-
|
|
72
|
-
.ez-icon-
|
|
73
|
-
.ez-icon-
|
|
74
|
-
.ez-icon-
|
|
75
|
-
.ez-icon-
|
|
76
|
-
.ez-icon-
|
|
77
|
-
.ez-icon-
|
|
78
|
-
.ez-icon-circle
|
|
79
|
-
.ez-icon-
|
|
80
|
-
.ez-icon-
|
|
81
|
-
.ez-icon-
|
|
82
|
-
.ez-icon-
|
|
83
|
-
.ez-icon-
|
|
84
|
-
.ez-icon-
|
|
85
|
-
.ez-icon-
|
|
86
|
-
.ez-icon-
|
|
87
|
-
.ez-icon-
|
|
88
|
-
.ez-icon-
|
|
89
|
-
.ez-icon-
|
|
90
|
-
.ez-icon-
|
|
91
|
-
.ez-icon-
|
|
92
|
-
.ez-icon-
|
|
93
|
-
.ez-icon-
|
|
94
|
-
.ez-icon-
|
|
95
|
-
.ez-icon-
|
|
96
|
-
.ez-icon-
|
|
97
|
-
.ez-icon-
|
|
98
|
-
.ez-icon-
|
|
99
|
-
.ez-icon-
|
|
100
|
-
.ez-icon-
|
|
101
|
-
.ez-icon-
|
|
102
|
-
.ez-icon-
|
|
103
|
-
.ez-icon-
|
|
104
|
-
.ez-icon-
|
|
105
|
-
.ez-icon-
|
|
106
|
-
.ez-icon-
|
|
107
|
-
.ez-icon-
|
|
108
|
-
.ez-icon-
|
|
109
|
-
.ez-icon-
|
|
110
|
-
.ez-icon-
|
|
111
|
-
.ez-icon-
|
|
112
|
-
.ez-icon-
|
|
113
|
-
.ez-icon-
|
|
114
|
-
.ez-icon-
|
|
115
|
-
.ez-icon-
|
|
116
|
-
.ez-icon-
|
|
117
|
-
.ez-icon-
|
|
118
|
-
.ez-icon-
|
|
119
|
-
.ez-icon-
|
|
120
|
-
.ez-icon-
|
|
121
|
-
.ez-icon-
|
|
122
|
-
.ez-icon-
|
|
123
|
-
.ez-icon-
|
|
124
|
-
.ez-icon-
|
|
125
|
-
.ez-icon-
|
|
126
|
-
.ez-icon-
|
|
127
|
-
.ez-icon-
|
|
128
|
-
.ez-icon-
|
|
129
|
-
.ez-icon-
|
|
130
|
-
.ez-icon-
|
|
131
|
-
.ez-icon-
|
|
132
|
-
.ez-icon-
|
|
133
|
-
.ez-icon-
|
|
134
|
-
.ez-icon-
|
|
135
|
-
.ez-icon-
|
|
136
|
-
.ez-icon-
|
|
137
|
-
.ez-icon-
|
|
138
|
-
.ez-icon-
|
|
139
|
-
.ez-icon-
|
|
140
|
-
.ez-icon-
|
|
141
|
-
.ez-icon-
|
|
142
|
-
.ez-icon-
|
|
143
|
-
.ez-icon-
|
|
144
|
-
.ez-icon-
|
|
145
|
-
.ez-icon-
|
|
146
|
-
.ez-icon-
|
|
147
|
-
.ez-icon-
|
|
148
|
-
.ez-icon-
|
|
149
|
-
.ez-icon-
|
|
150
|
-
.ez-icon-
|
|
151
|
-
.ez-icon-
|
|
152
|
-
.ez-icon-
|
|
153
|
-
.ez-icon-
|
|
56
|
+
.ez-icon-2chevron-down:before { content: "\ea01"; }
|
|
57
|
+
.ez-icon-2chevron-up:before { content: "\ea02"; }
|
|
58
|
+
.ez-icon-account-outline:before { content: "\ea03"; }
|
|
59
|
+
.ez-icon-account:before { content: "\ea04"; }
|
|
60
|
+
.ez-icon-actions-sprite:before { content: "\ea05"; }
|
|
61
|
+
.ez-icon-alert-circle-inverted:before { content: "\ea06"; }
|
|
62
|
+
.ez-icon-alert-circle:before { content: "\ea07"; }
|
|
63
|
+
.ez-icon-alert-mail:before { content: "\ea08"; }
|
|
64
|
+
.ez-icon-alert-popup:before { content: "\ea09"; }
|
|
65
|
+
.ez-icon-anexo:before { content: "\ea0a"; }
|
|
66
|
+
.ez-icon-apps:before { content: "\ea0b"; }
|
|
67
|
+
.ez-icon-arrow_back:before { content: "\ea0c"; }
|
|
68
|
+
.ez-icon-arrow_downward:before { content: "\ea0d"; }
|
|
69
|
+
.ez-icon-balance:before { content: "\ea0e"; }
|
|
70
|
+
.ez-icon-bell-inverted:before { content: "\ea0f"; }
|
|
71
|
+
.ez-icon-bell:before { content: "\ea10"; }
|
|
72
|
+
.ez-icon-boleto:before { content: "\ea11"; }
|
|
73
|
+
.ez-icon-business-center:before { content: "\ea12"; }
|
|
74
|
+
.ez-icon-calendar-clock:before { content: "\ea13"; }
|
|
75
|
+
.ez-icon-calendar:before { content: "\ea14"; }
|
|
76
|
+
.ez-icon-cash-remove:before { content: "\ea15"; }
|
|
77
|
+
.ez-icon-check-circle-inverted:before { content: "\ea16"; }
|
|
78
|
+
.ez-icon-check-circle:before { content: "\ea17"; }
|
|
79
|
+
.ez-icon-check:before { content: "\ea18"; }
|
|
80
|
+
.ez-icon-chevron-down:before { content: "\ea19"; }
|
|
81
|
+
.ez-icon-chevron-left:before { content: "\ea1a"; }
|
|
82
|
+
.ez-icon-chevron-right:before { content: "\ea1b"; }
|
|
83
|
+
.ez-icon-chevron-up:before { content: "\ea1c"; }
|
|
84
|
+
.ez-icon-circle--medium:before { content: "\ea1d"; }
|
|
85
|
+
.ez-icon-circle:before { content: "\ea1e"; }
|
|
86
|
+
.ez-icon-cleaning:before { content: "\ea1f"; }
|
|
87
|
+
.ez-icon-clipboard:before { content: "\ea20"; }
|
|
88
|
+
.ez-icon-close:before { content: "\ea21"; }
|
|
89
|
+
.ez-icon-cobrar:before { content: "\ea22"; }
|
|
90
|
+
.ez-icon-configuration:before { content: "\ea23"; }
|
|
91
|
+
.ez-icon-copy:before { content: "\ea24"; }
|
|
92
|
+
.ez-icon-credit_card:before { content: "\ea25"; }
|
|
93
|
+
.ez-icon-crop:before { content: "\ea26"; }
|
|
94
|
+
.ez-icon-custom:before { content: "\ea27"; }
|
|
95
|
+
.ez-icon-delete:before { content: "\ea28"; }
|
|
96
|
+
.ez-icon-description:before { content: "\ea29"; }
|
|
97
|
+
.ez-icon-dot-notification:before { content: "\ea2a"; }
|
|
98
|
+
.ez-icon-dots-horizontal:before { content: "\ea2b"; }
|
|
99
|
+
.ez-icon-dots-vertical:before { content: "\ea2c"; }
|
|
100
|
+
.ez-icon-drag-indicator:before { content: "\ea2d"; }
|
|
101
|
+
.ez-icon-dual-chevron-down:before { content: "\ea2e"; }
|
|
102
|
+
.ez-icon-dual-chevron-up:before { content: "\ea2f"; }
|
|
103
|
+
.ez-icon-edit-file:before { content: "\ea30"; }
|
|
104
|
+
.ez-icon-edit-table:before { content: "\ea31"; }
|
|
105
|
+
.ez-icon-edit-time:before { content: "\ea32"; }
|
|
106
|
+
.ez-icon-edit:before { content: "\ea33"; }
|
|
107
|
+
.ez-icon-email:before { content: "\ea34"; }
|
|
108
|
+
.ez-icon-expand:before { content: "\ea35"; }
|
|
109
|
+
.ez-icon-extrato:before { content: "\ea36"; }
|
|
110
|
+
.ez-icon-eye-off:before { content: "\ea37"; }
|
|
111
|
+
.ez-icon-eye:before { content: "\ea38"; }
|
|
112
|
+
.ez-icon-favorite:before { content: "\ea39"; }
|
|
113
|
+
.ez-icon-file-download:before { content: "\ea3a"; }
|
|
114
|
+
.ez-icon-file-upload:before { content: "\ea3b"; }
|
|
115
|
+
.ez-icon-filter:before { content: "\ea3c"; }
|
|
116
|
+
.ez-icon-find-file:before { content: "\ea3d"; }
|
|
117
|
+
.ez-icon-find-page:before { content: "\ea3e"; }
|
|
118
|
+
.ez-icon-format-color-fill:before { content: "\ea3f"; }
|
|
119
|
+
.ez-icon-graph_bar:before { content: "\ea40"; }
|
|
120
|
+
.ez-icon-handshake:before { content: "\ea41"; }
|
|
121
|
+
.ez-icon-help-inverted:before { content: "\ea42"; }
|
|
122
|
+
.ez-icon-help:before { content: "\ea43"; }
|
|
123
|
+
.ez-icon-home:before { content: "\ea44"; }
|
|
124
|
+
.ez-icon-icons104:before { content: "\ea45"; }
|
|
125
|
+
.ez-icon-language:before { content: "\ea46"; }
|
|
126
|
+
.ez-icon-launch:before { content: "\ea47"; }
|
|
127
|
+
.ez-icon-lightbulb:before { content: "\ea48"; }
|
|
128
|
+
.ez-icon-list:before { content: "\ea49"; }
|
|
129
|
+
.ez-icon-location:before { content: "\ea4a"; }
|
|
130
|
+
.ez-icon-lock-outline:before { content: "\ea4b"; }
|
|
131
|
+
.ez-icon-lock:before { content: "\ea4c"; }
|
|
132
|
+
.ez-icon-menu:before { content: "\ea4d"; }
|
|
133
|
+
.ez-icon-mid:before { content: "\ea4e"; }
|
|
134
|
+
.ez-icon-minus:before { content: "\ea4f"; }
|
|
135
|
+
.ez-icon-money-off:before { content: "\ea50"; }
|
|
136
|
+
.ez-icon-money:before { content: "\ea51"; }
|
|
137
|
+
.ez-icon-more:before { content: "\ea52"; }
|
|
138
|
+
.ez-icon-north-west:before { content: "\ea53"; }
|
|
139
|
+
.ez-icon-number:before { content: "\ea54"; }
|
|
140
|
+
.ez-icon-ordem-ascendente:before { content: "\ea55"; }
|
|
141
|
+
.ez-icon-ordem-descendente:before { content: "\ea56"; }
|
|
142
|
+
.ez-icon-parcelar:before { content: "\ea57"; }
|
|
143
|
+
.ez-icon-pause:before { content: "\ea58"; }
|
|
144
|
+
.ez-icon-payments:before { content: "\ea59"; }
|
|
145
|
+
.ez-icon-play:before { content: "\ea5a"; }
|
|
146
|
+
.ez-icon-plus:before { content: "\ea5b"; }
|
|
147
|
+
.ez-icon-power:before { content: "\ea5c"; }
|
|
148
|
+
.ez-icon-print:before { content: "\ea5d"; }
|
|
149
|
+
.ez-icon-push-pin:before { content: "\ea5e"; }
|
|
150
|
+
.ez-icon-receipt:before { content: "\ea5f"; }
|
|
151
|
+
.ez-icon-restore:before { content: "\ea60"; }
|
|
152
|
+
.ez-icon-return:before { content: "\ea61"; }
|
|
153
|
+
.ez-icon-save:before { content: "\ea62"; }
|
|
154
|
+
.ez-icon-search:before { content: "\ea63"; }
|
|
155
|
+
.ez-icon-settings-inverted:before { content: "\ea64"; }
|
|
156
|
+
.ez-icon-settings:before { content: "\ea65"; }
|
|
157
|
+
.ez-icon-share:before { content: "\ea66"; }
|
|
158
|
+
.ez-icon-shield:before { content: "\ea67"; }
|
|
159
|
+
.ez-icon-south-east:before { content: "\ea68"; }
|
|
160
|
+
.ez-icon-sync:before { content: "\ea69"; }
|
|
161
|
+
.ez-icon-table:before { content: "\ea6a"; }
|
|
162
|
+
.ez-icon-text:before { content: "\ea6b"; }
|
|
163
|
+
.ez-icon-timeline:before { content: "\ea6c"; }
|
|
164
|
+
.ez-icon-timer-outline:before { content: "\ea6d"; }
|
|
165
|
+
.ez-icon-tune:before { content: "\ea6e"; }
|
|
166
|
+
.ez-icon-un-pin:before { content: "\ea6f"; }
|
|
167
|
+
.ez-icon-unfold_less:before { content: "\ea70"; }
|
|
168
|
+
.ez-icon-unfold_more:before { content: "\ea71"; }
|
|
169
|
+
.ez-icon-user-circle:before { content: "\ea72"; }
|
|
170
|
+
.ez-icon-warning-outline:before { content: "\ea73"; }
|
|
171
|
+
.ez-icon-warning_triangle:before { content: "\ea74"; }
|
|
172
|
+
.ez-icon-whatshot:before { content: "\ea75"; }
|
|
154
173
|
/*
|
|
155
174
|
END CSS GENERATED BY EZ-DESIGN ICONS
|
|
156
175
|
*/
|
|
@@ -145,7 +145,15 @@ p {
|
|
|
145
145
|
display: flex;
|
|
146
146
|
justify-content: flex-start;
|
|
147
147
|
align-items: center;
|
|
148
|
-
width:
|
|
148
|
+
width: 100%;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.group-container .item-content {
|
|
152
|
+
max-width: calc(100% - 41px);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.items-container .item-content {
|
|
156
|
+
max-width: calc(100% - 100px);
|
|
149
157
|
}
|
|
150
158
|
|
|
151
159
|
.draggable-list {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-rows: 0 auto 1fr auto 0;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.ez-modal-container__header{
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: nowrap;
|
|
11
|
+
flex-direction: row;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ez-modal-container__content {
|
|
16
|
+
overflow-y: auto;
|
|
17
|
+
scrollbar-gutter: stable;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ez-modal-container__title{
|
|
21
|
+
display: grid;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ez-modal-container__close-button{
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
background-color: transparent;
|
|
27
|
+
border: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.ez-modal-container__close-icon{
|
|
31
|
+
--icon--color: var(--title--primary, #2B3A54)
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.ez-modal-container__focus-ctrl{
|
|
35
|
+
height: 0px;
|
|
36
|
+
background-color: transparent;
|
|
37
|
+
border: none;
|
|
38
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { Component, h, Host, Prop, Event } from '@stencil/core';
|
|
2
|
+
import ModalAction from './modal-action';
|
|
3
|
+
import ModalButtonStatus from './modal-button-status';
|
|
4
|
+
export class EzModalContainer {
|
|
5
|
+
cancelIsVisible() {
|
|
6
|
+
return (this.cancelButtonStatus !== ModalButtonStatus.HIDDEN && this.cancelButtonLabel != undefined);
|
|
7
|
+
}
|
|
8
|
+
okIsVisible() {
|
|
9
|
+
return (this.okButtonStatus !== ModalButtonStatus.HIDDEN && this.okButtonLabel != undefined);
|
|
10
|
+
}
|
|
11
|
+
componentDidLoad() {
|
|
12
|
+
window.requestAnimationFrame(() => {
|
|
13
|
+
this.ezModalAction.emit(ModalAction.LOAD);
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
focusLast(_evt) {
|
|
17
|
+
this._okButton.setFocus();
|
|
18
|
+
}
|
|
19
|
+
focusFirst(_evt) {
|
|
20
|
+
this._closeButton.focus();
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
return (h(Host, null,
|
|
24
|
+
h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: evt => this.focusLast(evt) }),
|
|
25
|
+
h("div", { class: "ez-modal-container__header ez-align--middle" },
|
|
26
|
+
h("div", { class: "ez-col ez-align--middle ez-modal-container__title" },
|
|
27
|
+
h("h2", { class: "ez-text ez-title--large ez-title--primary ez-text--bold ez-margin-vertical--extra-small" }, this.modalTitle),
|
|
28
|
+
this.modalSubTitle ? h("div", { class: "ez-text ez-text--medium ez-text--primary ez-margin-vertical--extra-small" }, this.modalSubTitle) : undefined),
|
|
29
|
+
h("button", { ref: ref => this._closeButton = ref, class: "ez-modal-container__close-button", onClick: () => this.ezModalAction.emit(ModalAction.CLOSE) },
|
|
30
|
+
h("ez-icon", { class: "ez-modal-container__close-icon", size: "medium", iconName: "close" }))),
|
|
31
|
+
h("div", { class: "ez-modal-container__content ez-margin-top--large" },
|
|
32
|
+
h("slot", null)),
|
|
33
|
+
h("div", { class: 'ez-col ez-margin-left--auto' },
|
|
34
|
+
this.cancelIsVisible() ? h("ez-button", { label: this.cancelButtonLabel, enabled: this.cancelButtonStatus !== ModalButtonStatus.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction.CANCEL) }) : undefined,
|
|
35
|
+
this.okIsVisible() ? h("ez-button", { ref: ref => this._okButton = ref, label: this.okButtonLabel, enabled: this.okButtonStatus !== ModalButtonStatus.DISABLED, class: "ez-button--primary ez-margin-left--medium", onClick: () => this.ezModalAction.emit(ModalAction.OK) }) : undefined),
|
|
36
|
+
h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: evt => this.focusFirst(evt) })));
|
|
37
|
+
}
|
|
38
|
+
static get is() { return "ez-modal-container"; }
|
|
39
|
+
static get encapsulation() { return "scoped"; }
|
|
40
|
+
static get originalStyleUrls() { return {
|
|
41
|
+
"$": ["./ez-modal-container.css"]
|
|
42
|
+
}; }
|
|
43
|
+
static get styleUrls() { return {
|
|
44
|
+
"$": ["ez-modal-container.css"]
|
|
45
|
+
}; }
|
|
46
|
+
static get properties() { return {
|
|
47
|
+
"modalTitle": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"mutable": false,
|
|
50
|
+
"complexType": {
|
|
51
|
+
"original": "string",
|
|
52
|
+
"resolved": "string",
|
|
53
|
+
"references": {}
|
|
54
|
+
},
|
|
55
|
+
"required": false,
|
|
56
|
+
"optional": false,
|
|
57
|
+
"docs": {
|
|
58
|
+
"tags": [],
|
|
59
|
+
"text": "T\u00EDtulo do modal"
|
|
60
|
+
},
|
|
61
|
+
"attribute": "modal-title",
|
|
62
|
+
"reflect": false
|
|
63
|
+
},
|
|
64
|
+
"modalSubTitle": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"mutable": false,
|
|
67
|
+
"complexType": {
|
|
68
|
+
"original": "string",
|
|
69
|
+
"resolved": "string",
|
|
70
|
+
"references": {}
|
|
71
|
+
},
|
|
72
|
+
"required": false,
|
|
73
|
+
"optional": false,
|
|
74
|
+
"docs": {
|
|
75
|
+
"tags": [],
|
|
76
|
+
"text": "Subt\u00EDtulo (opcional), geralmente usado para orienta\u00E7\u00E3o do usu\u00E1rio"
|
|
77
|
+
},
|
|
78
|
+
"attribute": "modal-sub-title",
|
|
79
|
+
"reflect": false
|
|
80
|
+
},
|
|
81
|
+
"cancelButtonLabel": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"mutable": false,
|
|
84
|
+
"complexType": {
|
|
85
|
+
"original": "string",
|
|
86
|
+
"resolved": "string",
|
|
87
|
+
"references": {}
|
|
88
|
+
},
|
|
89
|
+
"required": false,
|
|
90
|
+
"optional": false,
|
|
91
|
+
"docs": {
|
|
92
|
+
"tags": [],
|
|
93
|
+
"text": "Determina o texto do bot\u00E3o de cancelar"
|
|
94
|
+
},
|
|
95
|
+
"attribute": "cancel-button-label",
|
|
96
|
+
"reflect": false
|
|
97
|
+
},
|
|
98
|
+
"okButtonLabel": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"mutable": false,
|
|
101
|
+
"complexType": {
|
|
102
|
+
"original": "string",
|
|
103
|
+
"resolved": "string",
|
|
104
|
+
"references": {}
|
|
105
|
+
},
|
|
106
|
+
"required": false,
|
|
107
|
+
"optional": false,
|
|
108
|
+
"docs": {
|
|
109
|
+
"tags": [],
|
|
110
|
+
"text": "Determina o texto do bot\u00E3o de Ok"
|
|
111
|
+
},
|
|
112
|
+
"attribute": "ok-button-label",
|
|
113
|
+
"reflect": false
|
|
114
|
+
},
|
|
115
|
+
"cancelButtonStatus": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"mutable": false,
|
|
118
|
+
"complexType": {
|
|
119
|
+
"original": "string",
|
|
120
|
+
"resolved": "string",
|
|
121
|
+
"references": {}
|
|
122
|
+
},
|
|
123
|
+
"required": false,
|
|
124
|
+
"optional": false,
|
|
125
|
+
"docs": {
|
|
126
|
+
"tags": [],
|
|
127
|
+
"text": "Varia\u00E7\u00E3o de estado do bot\u00E3o de cancelar: [HIDDEN|ENABLED|DISABLED]"
|
|
128
|
+
},
|
|
129
|
+
"attribute": "cancel-button-status",
|
|
130
|
+
"reflect": false
|
|
131
|
+
},
|
|
132
|
+
"okButtonStatus": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"mutable": false,
|
|
135
|
+
"complexType": {
|
|
136
|
+
"original": "string",
|
|
137
|
+
"resolved": "string",
|
|
138
|
+
"references": {}
|
|
139
|
+
},
|
|
140
|
+
"required": false,
|
|
141
|
+
"optional": false,
|
|
142
|
+
"docs": {
|
|
143
|
+
"tags": [],
|
|
144
|
+
"text": "Varia\u00E7\u00E3o de estado do bot\u00E3o de ok: [HIDDEN|ENABLED|DISABLED]"
|
|
145
|
+
},
|
|
146
|
+
"attribute": "ok-button-status",
|
|
147
|
+
"reflect": false
|
|
148
|
+
}
|
|
149
|
+
}; }
|
|
150
|
+
static get events() { return [{
|
|
151
|
+
"method": "ezModalAction",
|
|
152
|
+
"name": "ezModalAction",
|
|
153
|
+
"bubbles": true,
|
|
154
|
+
"cancelable": true,
|
|
155
|
+
"composed": true,
|
|
156
|
+
"docs": {
|
|
157
|
+
"tags": [],
|
|
158
|
+
"text": "Representa a intera\u00E7\u00E3o com o usu\u00E1rio.\nOK - Quando o bot\u00E3o \u00E9 acionado\nCANCEL - Quando o bot\u00E3o de cancelar \u00E9 acionado\nCLOSE - Quando o bot\u00E3o de fechar \u00E9 acionado.\nLOAD - Quando o modal \u00E9 carregado (eventualmente pode ser usado para dar foco a um elemento espec\u00EDfico)"
|
|
159
|
+
},
|
|
160
|
+
"complexType": {
|
|
161
|
+
"original": "string",
|
|
162
|
+
"resolved": "string",
|
|
163
|
+
"references": {}
|
|
164
|
+
}
|
|
165
|
+
}]; }
|
|
166
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var ModalButtonStatus;
|
|
2
|
+
(function (ModalButtonStatus) {
|
|
3
|
+
ModalButtonStatus["ENABLED"] = "ENABLED";
|
|
4
|
+
ModalButtonStatus["DISABLED"] = "DISABLED";
|
|
5
|
+
ModalButtonStatus["HIDDEN"] = "HIDDEN";
|
|
6
|
+
})(ModalButtonStatus || (ModalButtonStatus = {}));
|
|
7
|
+
export default ModalButtonStatus;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/*@doc Define a cor de fundo do popover.*/
|
|
9
9
|
--ez-popover__box--background-color: var(--background--xlight, #fff);
|
|
10
10
|
/*@doc Define a camada de visibilidade do popover.*/
|
|
11
|
-
--ez-popover__box--z-index: var(--more-visible,
|
|
11
|
+
--ez-popover__box--z-index: var(--more-visible, 2);
|
|
12
12
|
|
|
13
13
|
/***************
|
|
14
14
|
host style
|