@sankhyalabs/ezui 2.5.2 → 2.6.0
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-file-item.cjs.entry.js +77 -0
- package/dist/cjs/ez-icon.cjs.entry.js +1 -1
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/ez-file-item/ez-file-item.css +125 -0
- package/dist/collection/components/ez-file-item/ez-file-item.js +198 -0
- package/dist/collection/components/ez-icon/ez-icon.css +135 -109
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +75 -2
- package/dist/esm/ez-file-item.entry.js +73 -0
- package/dist/esm/ez-icon.entry.js +1 -1
- 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-1634c851.entry.js +1 -0
- package/dist/ezui/p-5f4994de.entry.js +1 -0
- package/dist/types/components/ez-file-item/ez-file-item.d.ts +36 -0
- package/dist/types/components.d.ts +61 -0
- package/package.json +3 -3
- package/react/components.d.ts +1 -0
- package/react/components.js +1 -0
- package/react/components.js.map +1 -1
- package/dist/ezui/p-87ee59e8.entry.js +0 -1
|
@@ -48,128 +48,154 @@ svg {
|
|
|
48
48
|
*/
|
|
49
49
|
[class^="ez-icon-"], [class*=" ez-icon-"] {
|
|
50
50
|
font-family: 'ez-icons' !important;
|
|
51
|
-
font-size:
|
|
51
|
+
font-size:16px;
|
|
52
52
|
font-style:normal;
|
|
53
53
|
-webkit-font-smoothing: antialiased;
|
|
54
54
|
-moz-osx-font-smoothing: grayscale;
|
|
55
55
|
}
|
|
56
|
+
|
|
56
57
|
.ez-icon-2chevron-down:before { content: "\ea01"; }
|
|
57
58
|
.ez-icon-2chevron-up:before { content: "\ea02"; }
|
|
58
59
|
.ez-icon-account-outline:before { content: "\ea03"; }
|
|
59
60
|
.ez-icon-account:before { content: "\ea04"; }
|
|
60
|
-
.ez-icon-actions-sprite:before { content: "\ea05"; }
|
|
61
|
+
.ez-icon-actions-sprite-v1:before { content: "\ea05"; }
|
|
61
62
|
.ez-icon-alert-circle-inverted:before { content: "\ea06"; }
|
|
62
63
|
.ez-icon-alert-circle:before { content: "\ea07"; }
|
|
63
64
|
.ez-icon-alert-mail:before { content: "\ea08"; }
|
|
64
65
|
.ez-icon-alert-popup:before { content: "\ea09"; }
|
|
65
66
|
.ez-icon-anexo:before { content: "\ea0a"; }
|
|
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-
|
|
79
|
-
.ez-icon-check:before { content: "\ea18"; }
|
|
80
|
-
.ez-icon-
|
|
81
|
-
.ez-icon-
|
|
82
|
-
.ez-icon-chevron-
|
|
83
|
-
.ez-icon-chevron-
|
|
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-
|
|
154
|
-
.ez-icon-
|
|
155
|
-
.ez-icon-
|
|
156
|
-
.ez-icon-
|
|
157
|
-
.ez-icon-
|
|
158
|
-
.ez-icon-
|
|
159
|
-
.ez-icon-
|
|
160
|
-
.ez-icon-
|
|
161
|
-
.ez-icon-
|
|
162
|
-
.ez-icon-
|
|
163
|
-
.ez-icon-
|
|
164
|
-
.ez-icon-
|
|
165
|
-
.ez-icon-
|
|
166
|
-
.ez-icon-
|
|
167
|
-
.ez-icon-
|
|
168
|
-
.ez-icon-
|
|
169
|
-
.ez-icon-
|
|
170
|
-
.ez-icon-
|
|
171
|
-
.ez-icon-
|
|
172
|
-
.ez-icon-
|
|
67
|
+
.ez-icon-antecipação:before { content: "\ea0b"; }
|
|
68
|
+
.ez-icon-apps:before { content: "\ea0c"; }
|
|
69
|
+
.ez-icon-arrow_back:before { content: "\ea0d"; }
|
|
70
|
+
.ez-icon-arrow_downward:before { content: "\ea0e"; }
|
|
71
|
+
.ez-icon-baixa:before { content: "\ea0f"; }
|
|
72
|
+
.ez-icon-balance:before { content: "\ea10"; }
|
|
73
|
+
.ez-icon-bell-inverted:before { content: "\ea11"; }
|
|
74
|
+
.ez-icon-bell:before { content: "\ea12"; }
|
|
75
|
+
.ez-icon-boleto:before { content: "\ea13"; }
|
|
76
|
+
.ez-icon-business-center:before { content: "\ea14"; }
|
|
77
|
+
.ez-icon-calendar-clock:before { content: "\ea15"; }
|
|
78
|
+
.ez-icon-calendar:before { content: "\ea16"; }
|
|
79
|
+
.ez-icon-cash-remove:before { content: "\ea17"; }
|
|
80
|
+
.ez-icon-check-circle-inverted:before { content: "\ea18"; }
|
|
81
|
+
.ez-icon-check-circle:before { content: "\ea19"; }
|
|
82
|
+
.ez-icon-check:before { content: "\ea1a"; }
|
|
83
|
+
.ez-icon-chevron-down:before { content: "\ea1b"; }
|
|
84
|
+
.ez-icon-chevron-left:before { content: "\ea1c"; }
|
|
85
|
+
.ez-icon-chevron-right:before { content: "\ea1d"; }
|
|
86
|
+
.ez-icon-chevron-up:before { content: "\ea1e"; }
|
|
87
|
+
.ez-icon-circle--medium:before { content: "\ea1f"; }
|
|
88
|
+
.ez-icon-circle:before { content: "\ea20"; }
|
|
89
|
+
.ez-icon-cleaning:before { content: "\ea21"; }
|
|
90
|
+
.ez-icon-clipboard:before { content: "\ea22"; }
|
|
91
|
+
.ez-icon-close:before { content: "\ea23"; }
|
|
92
|
+
.ez-icon-cobrar:before { content: "\ea24"; }
|
|
93
|
+
.ez-icon-code:before { content: "\ea25"; }
|
|
94
|
+
.ez-icon-configuration:before { content: "\ea26"; }
|
|
95
|
+
.ez-icon-copy:before { content: "\ea27"; }
|
|
96
|
+
.ez-icon-credit_card:before { content: "\ea28"; }
|
|
97
|
+
.ez-icon-crop:before { content: "\ea29"; }
|
|
98
|
+
.ez-icon-custom:before { content: "\ea2a"; }
|
|
99
|
+
.ez-icon-delete:before { content: "\ea2b"; }
|
|
100
|
+
.ez-icon-description:before { content: "\ea2c"; }
|
|
101
|
+
.ez-icon-dividir:before { content: "\ea2d"; }
|
|
102
|
+
.ez-icon-docx:before { content: "\ea2e"; }
|
|
103
|
+
.ez-icon-dot-notification:before { content: "\ea2f"; }
|
|
104
|
+
.ez-icon-dots-horizontal:before { content: "\ea30"; }
|
|
105
|
+
.ez-icon-dots-vertical:before { content: "\ea31"; }
|
|
106
|
+
.ez-icon-drag-indicator:before { content: "\ea32"; }
|
|
107
|
+
.ez-icon-dual-chevron-down:before { content: "\ea33"; }
|
|
108
|
+
.ez-icon-dual-chevron-up:before { content: "\ea34"; }
|
|
109
|
+
.ez-icon-edit-file:before { content: "\ea35"; }
|
|
110
|
+
.ez-icon-edit-table:before { content: "\ea36"; }
|
|
111
|
+
.ez-icon-edit-time:before { content: "\ea37"; }
|
|
112
|
+
.ez-icon-edit:before { content: "\ea38"; }
|
|
113
|
+
.ez-icon-email:before { content: "\ea39"; }
|
|
114
|
+
.ez-icon-estorno:before { content: "\ea3a"; }
|
|
115
|
+
.ez-icon-exe:before { content: "\ea3b"; }
|
|
116
|
+
.ez-icon-expand:before { content: "\ea3c"; }
|
|
117
|
+
.ez-icon-expandir_card:before { content: "\ea3d"; }
|
|
118
|
+
.ez-icon-extrato:before { content: "\ea3e"; }
|
|
119
|
+
.ez-icon-eye-off:before { content: "\ea3f"; }
|
|
120
|
+
.ez-icon-eye:before { content: "\ea40"; }
|
|
121
|
+
.ez-icon-favorite:before { content: "\ea41"; }
|
|
122
|
+
.ez-icon-figma:before { content: "\ea42"; }
|
|
123
|
+
.ez-icon-file-download:before { content: "\ea43"; }
|
|
124
|
+
.ez-icon-file-upload:before { content: "\ea44"; }
|
|
125
|
+
.ez-icon-filter:before { content: "\ea45"; }
|
|
126
|
+
.ez-icon-find-file:before { content: "\ea46"; }
|
|
127
|
+
.ez-icon-find-page:before { content: "\ea47"; }
|
|
128
|
+
.ez-icon-format-color-fill:before { content: "\ea48"; }
|
|
129
|
+
.ez-icon-generic:before { content: "\ea49"; }
|
|
130
|
+
.ez-icon-gif:before { content: "\ea4a"; }
|
|
131
|
+
.ez-icon-graph_bar:before { content: "\ea4b"; }
|
|
132
|
+
.ez-icon-handshake:before { content: "\ea4c"; }
|
|
133
|
+
.ez-icon-help-inverted:before { content: "\ea4d"; }
|
|
134
|
+
.ez-icon-help:before { content: "\ea4e"; }
|
|
135
|
+
.ez-icon-hide_menu:before { content: "\ea4f"; }
|
|
136
|
+
.ez-icon-home:before { content: "\ea50"; }
|
|
137
|
+
.ez-icon-icons104:before { content: "\ea51"; }
|
|
138
|
+
.ez-icon-language:before { content: "\ea52"; }
|
|
139
|
+
.ez-icon-launch:before { content: "\ea53"; }
|
|
140
|
+
.ez-icon-lightbulb:before { content: "\ea54"; }
|
|
141
|
+
.ez-icon-list:before { content: "\ea55"; }
|
|
142
|
+
.ez-icon-location:before { content: "\ea56"; }
|
|
143
|
+
.ez-icon-lock-outline:before { content: "\ea57"; }
|
|
144
|
+
.ez-icon-lock:before { content: "\ea58"; }
|
|
145
|
+
.ez-icon-menu:before { content: "\ea59"; }
|
|
146
|
+
.ez-icon-mid:before { content: "\ea5a"; }
|
|
147
|
+
.ez-icon-minus:before { content: "\ea5b"; }
|
|
148
|
+
.ez-icon-money-off:before { content: "\ea5c"; }
|
|
149
|
+
.ez-icon-money:before { content: "\ea5d"; }
|
|
150
|
+
.ez-icon-more:before { content: "\ea5e"; }
|
|
151
|
+
.ez-icon-mp3:before { content: "\ea5f"; }
|
|
152
|
+
.ez-icon-mp4:before { content: "\ea60"; }
|
|
153
|
+
.ez-icon-north-west:before { content: "\ea61"; }
|
|
154
|
+
.ez-icon-number:before { content: "\ea62"; }
|
|
155
|
+
.ez-icon-ordem-ascendente:before { content: "\ea63"; }
|
|
156
|
+
.ez-icon-ordem-descendente:before { content: "\ea64"; }
|
|
157
|
+
.ez-icon-parcelar:before { content: "\ea65"; }
|
|
158
|
+
.ez-icon-pause:before { content: "\ea66"; }
|
|
159
|
+
.ez-icon-payments:before { content: "\ea67"; }
|
|
160
|
+
.ez-icon-pdf:before { content: "\ea68"; }
|
|
161
|
+
.ez-icon-play:before { content: "\ea69"; }
|
|
162
|
+
.ez-icon-plus:before { content: "\ea6a"; }
|
|
163
|
+
.ez-icon-png:before { content: "\ea6b"; }
|
|
164
|
+
.ez-icon-power:before { content: "\ea6c"; }
|
|
165
|
+
.ez-icon-pptx:before { content: "\ea6d"; }
|
|
166
|
+
.ez-icon-print:before { content: "\ea6e"; }
|
|
167
|
+
.ez-icon-push-pin:before { content: "\ea6f"; }
|
|
168
|
+
.ez-icon-rateio:before { content: "\ea70"; }
|
|
169
|
+
.ez-icon-receipt:before { content: "\ea71"; }
|
|
170
|
+
.ez-icon-recolher_card:before { content: "\ea72"; }
|
|
171
|
+
.ez-icon-restore:before { content: "\ea73"; }
|
|
172
|
+
.ez-icon-return:before { content: "\ea74"; }
|
|
173
|
+
.ez-icon-save:before { content: "\ea75"; }
|
|
174
|
+
.ez-icon-search:before { content: "\ea76"; }
|
|
175
|
+
.ez-icon-settings-inverted:before { content: "\ea77"; }
|
|
176
|
+
.ez-icon-settings:before { content: "\ea78"; }
|
|
177
|
+
.ez-icon-share:before { content: "\ea79"; }
|
|
178
|
+
.ez-icon-shield:before { content: "\ea7a"; }
|
|
179
|
+
.ez-icon-show_menu:before { content: "\ea7b"; }
|
|
180
|
+
.ez-icon-south-east:before { content: "\ea7c"; }
|
|
181
|
+
.ez-icon-sync:before { content: "\ea7d"; }
|
|
182
|
+
.ez-icon-table:before { content: "\ea7e"; }
|
|
183
|
+
.ez-icon-tag_code:before { content: "\ea7f"; }
|
|
184
|
+
.ez-icon-text:before { content: "\ea80"; }
|
|
185
|
+
.ez-icon-timeline:before { content: "\ea81"; }
|
|
186
|
+
.ez-icon-timer-outline:before { content: "\ea82"; }
|
|
187
|
+
.ez-icon-tune:before { content: "\ea83"; }
|
|
188
|
+
.ez-icon-txt:before { content: "\ea84"; }
|
|
189
|
+
.ez-icon-un-pin:before { content: "\ea85"; }
|
|
190
|
+
.ez-icon-unfold_less:before { content: "\ea86"; }
|
|
191
|
+
.ez-icon-unfold_more:before { content: "\ea87"; }
|
|
192
|
+
.ez-icon-user-circle:before { content: "\ea88"; }
|
|
193
|
+
.ez-icon-warning-outline:before { content: "\ea89"; }
|
|
194
|
+
.ez-icon-warning_triangle:before { content: "\ea8a"; }
|
|
195
|
+
.ez-icon-whatshot:before { content: "\ea8b"; }
|
|
196
|
+
.ez-icon-xlsx:before { content: "\ea8c"; }
|
|
197
|
+
.ez-icon-zip:before { content: "\ea8d"; }
|
|
198
|
+
|
|
173
199
|
/*
|
|
174
200
|
END CSS GENERATED BY EZ-DESIGN ICONS
|
|
175
201
|
*/
|
|
@@ -74,6 +74,12 @@ export const EzDialog: {
|
|
|
74
74
|
new (): EzDialog;
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
+
interface EzFileItem extends Components.EzFileItem, HTMLElement {}
|
|
78
|
+
export const EzFileItem: {
|
|
79
|
+
prototype: EzFileItem;
|
|
80
|
+
new (): EzFileItem;
|
|
81
|
+
};
|
|
82
|
+
|
|
77
83
|
interface EzFilterInput extends Components.EzFilterInput, HTMLElement {}
|
|
78
84
|
export const EzFilterInput: {
|
|
79
85
|
prototype: EzFilterInput;
|
|
@@ -1994,6 +1994,77 @@ let EzDialog$1 = class extends HTMLElement$1 {
|
|
|
1994
1994
|
static get style() { return ezDialogCss; }
|
|
1995
1995
|
};
|
|
1996
1996
|
|
|
1997
|
+
const ezFileItemCss = ":host{display:flex;width:100%;--ez-file-item--height:42px;--ez-file-item--padding:9px;--ez-file-item--border-radius:var(--border--radius-medium, 12px);--ez-file-item--border-color:var(--color--strokes, #DCE0E8);--ez-file-item--border-style:var(--border--small, 1px solid);--ez-file-item--font-family:var(--font-pattern, Arial);--ez-file-item--font-size:var(--text--medium, 14px);--ez-file-item--font-weight:var(--text-weight--medium, 400);--ez-file-item--color:var(--title--primary, #2B3A54);--ez-file-item__file-size--font-weight:var(--text-weight--large, 600);--ez-file-item__file-size--color:var(--color--primary, #008561);--ez-file-item__background-progress--color:var(--color--primary-300, E2F4EF);--ez-file-item--icon-color:var(--title--primary, #2B3A54)}.box{display:flex;box-sizing:border-box;position:relative;align-items:center;justify-content:space-between;width:100%;padding:var(--ez-file-item--padding);border:var(--ez-file-item--border-color) var(--ez-file-item--border-style);border-radius:var(--ez-file-item--border-radius);height:var(--ez-file-item--height)}.box::before{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;clip-path:inset(2px calc(var(--ez-file-item--upload-progress, 0%) + 2px) 2px 2px round calc(var(--ez-file-item--border-radius) - 4px));background-color:var(--ez-file-item__background-progress--color)}.content{display:flex;align-items:center;z-index:0;overflow:hidden}.file-name{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-family:var(--ez-file-item--font-family);font-size:var(--ez-file-item--font-size);font-weight:var(--ez-file-item--font-weight);color:var(--ez-file-item--color)}.file-type-icon{flex-shrink:0;--ez-icon--color:var(--ez-file-item--icon-color);padding-right:var(--ez-file-item--padding)}.file-size{padding-left:2px;overflow:hidden;flex-shrink:0;white-space:nowrap;font-family:var(--ez-file-item--font-family);font-size:var(--ez-file-item--font-size);font-weight:var(--ez-file-item__file-size--font-weight);color:var(--ez-file-item__file-size--color)}.btn-remove{cursor:pointer;flex-shrink:0;--ez-icon--color:var(--ez-file-item--icon-color)}";
|
|
1998
|
+
|
|
1999
|
+
let EzFileItem$1 = class extends HTMLElement$1 {
|
|
2000
|
+
constructor() {
|
|
2001
|
+
super();
|
|
2002
|
+
this.__registerHost();
|
|
2003
|
+
this.__attachShadow();
|
|
2004
|
+
this.ezClick = createEvent(this, "ezClick", 7);
|
|
2005
|
+
this.ezRemove = createEvent(this, "ezRemove", 7);
|
|
2006
|
+
/**
|
|
2007
|
+
* Define se o usuário pode remover o arquivo que está sendo apresentado.
|
|
2008
|
+
*/
|
|
2009
|
+
this.canRemove = true;
|
|
2010
|
+
/**
|
|
2011
|
+
* Percentual de carregamento do arquivo para o servidor.
|
|
2012
|
+
*/
|
|
2013
|
+
this.progress = 100;
|
|
2014
|
+
}
|
|
2015
|
+
observeProgress(newProgress) {
|
|
2016
|
+
if (newProgress < 0 || newProgress > 100) {
|
|
2017
|
+
throw new Error("O progresso de upload deve ser um número entre 0 e 100.");
|
|
2018
|
+
}
|
|
2019
|
+
this._element.style.setProperty("--ez-file-item--upload-progress", `${100 - newProgress}%`);
|
|
2020
|
+
}
|
|
2021
|
+
getFileSize() {
|
|
2022
|
+
if (!this.fileSize || this.fileSize === 0) {
|
|
2023
|
+
return "";
|
|
2024
|
+
}
|
|
2025
|
+
return `(${StringUtils$1.formatBytes(this.fileSize)})`;
|
|
2026
|
+
}
|
|
2027
|
+
getIconName() {
|
|
2028
|
+
let extension;
|
|
2029
|
+
if (this.iconName) {
|
|
2030
|
+
return this.iconName;
|
|
2031
|
+
}
|
|
2032
|
+
if (this.fileName.indexOf(".") > -1) {
|
|
2033
|
+
const index = this.fileName.lastIndexOf(".");
|
|
2034
|
+
extension = this.fileName.substring(index);
|
|
2035
|
+
}
|
|
2036
|
+
return FILE_TYPE_ICONS[extension] || DEFAULT_FILE_TYPE_ICON;
|
|
2037
|
+
}
|
|
2038
|
+
render() {
|
|
2039
|
+
this._element.title = `${this.fileName} ${this.getFileSize()}`;
|
|
2040
|
+
ElementIDUtils.addIDInfoIfNotExists(this._element, 'ezFileIcon');
|
|
2041
|
+
return (h("div", { class: "box", onClick: () => this.ezClick.emit(this.fileName) }, h("div", { class: "content" }, h("ez-icon", { "data-element-id": ElementIDUtils.getInternalIDInfo("fileIcon"), class: "file-type-icon", size: "medium", "icon-name": this.getIconName() }), h("label", { class: "file-name" }, this.fileName), h("label", { class: "file-size" }, this.getFileSize())), this.canRemove ?
|
|
2042
|
+
h("ez-icon", { "data-element-id": ElementIDUtils.getInternalIDInfo("remove"), class: "btn-remove", size: "medium", "icon-name": "close", onClick: evt => {
|
|
2043
|
+
this.ezRemove.emit(this.fileName);
|
|
2044
|
+
evt.stopPropagation();
|
|
2045
|
+
} }) : undefined));
|
|
2046
|
+
}
|
|
2047
|
+
get _element() { return this; }
|
|
2048
|
+
static get watchers() { return {
|
|
2049
|
+
"progress": ["observeProgress"]
|
|
2050
|
+
}; }
|
|
2051
|
+
static get style() { return ezFileItemCss; }
|
|
2052
|
+
};
|
|
2053
|
+
const FILE_TYPE_ICONS = {
|
|
2054
|
+
".exe": "exe",
|
|
2055
|
+
".gif": "gif",
|
|
2056
|
+
".mp3": "mp3",
|
|
2057
|
+
".mp4": "mp4",
|
|
2058
|
+
".pdf": "pdf",
|
|
2059
|
+
".png": "png",
|
|
2060
|
+
".txt": "txt",
|
|
2061
|
+
".zip": "zip",
|
|
2062
|
+
".docx": "docx",
|
|
2063
|
+
".xlsx": "xlsx",
|
|
2064
|
+
".pptx": "pptx"
|
|
2065
|
+
};
|
|
2066
|
+
const DEFAULT_FILE_TYPE_ICON = "generic";
|
|
2067
|
+
|
|
1997
2068
|
const ezFilterInputCss = ":host{display:block;width:100%}";
|
|
1998
2069
|
|
|
1999
2070
|
let EzFilterInput$1 = class extends HTMLElement$1 {
|
|
@@ -118577,7 +118648,7 @@ let EzGrid$1 = class extends HTMLElement$1 {
|
|
|
118577
118648
|
static get style() { return ezGridCss; }
|
|
118578
118649
|
};
|
|
118579
118650
|
|
|
118580
|
-
const ezIconCss = ":host{display:flex;overflow:hidden;position:relative;--ez-icon--color:var(--icon--color, #ffffff)}svg{display:flex;justify-content:center;align-items:center;fill:var(--ez-icon--color)}.x-small{width:12px;height:12px}.small{width:16px;height:16px}.medium{width:20px;height:20px}.large{width:24px;height:24px}.x-large{width:30px;height:30px}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{color:var(--ez-icon--color)}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{font-family:'ez-icons' !important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-icon-2chevron-down:before{content:\"\\ea01\"}.ez-icon-2chevron-up:before{content:\"\\ea02\"}.ez-icon-account-outline:before{content:\"\\ea03\"}.ez-icon-account:before{content:\"\\ea04\"}.ez-icon-actions-sprite:before{content:\"\\ea05\"}.ez-icon-alert-circle-inverted:before{content:\"\\ea06\"}.ez-icon-alert-circle:before{content:\"\\ea07\"}.ez-icon-alert-mail:before{content:\"\\ea08\"}.ez-icon-alert-popup:before{content:\"\\ea09\"}.ez-icon-anexo:before{content:\"\\ea0a\"}.ez-icon-
|
|
118651
|
+
const ezIconCss = ":host{display:flex;overflow:hidden;position:relative;--ez-icon--color:var(--icon--color, #ffffff)}svg{display:flex;justify-content:center;align-items:center;fill:var(--ez-icon--color)}.x-small{width:12px;height:12px}.small{width:16px;height:16px}.medium{width:20px;height:20px}.large{width:24px;height:24px}.x-large{width:30px;height:30px}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{color:var(--ez-icon--color)}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{font-family:'ez-icons' !important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-icon-2chevron-down:before{content:\"\\ea01\"}.ez-icon-2chevron-up:before{content:\"\\ea02\"}.ez-icon-account-outline:before{content:\"\\ea03\"}.ez-icon-account:before{content:\"\\ea04\"}.ez-icon-actions-sprite-v1:before{content:\"\\ea05\"}.ez-icon-alert-circle-inverted:before{content:\"\\ea06\"}.ez-icon-alert-circle:before{content:\"\\ea07\"}.ez-icon-alert-mail:before{content:\"\\ea08\"}.ez-icon-alert-popup:before{content:\"\\ea09\"}.ez-icon-anexo:before{content:\"\\ea0a\"}.ez-icon-antecipação:before{content:\"\\ea0b\"}.ez-icon-apps:before{content:\"\\ea0c\"}.ez-icon-arrow_back:before{content:\"\\ea0d\"}.ez-icon-arrow_downward:before{content:\"\\ea0e\"}.ez-icon-baixa:before{content:\"\\ea0f\"}.ez-icon-balance:before{content:\"\\ea10\"}.ez-icon-bell-inverted:before{content:\"\\ea11\"}.ez-icon-bell:before{content:\"\\ea12\"}.ez-icon-boleto:before{content:\"\\ea13\"}.ez-icon-business-center:before{content:\"\\ea14\"}.ez-icon-calendar-clock:before{content:\"\\ea15\"}.ez-icon-calendar:before{content:\"\\ea16\"}.ez-icon-cash-remove:before{content:\"\\ea17\"}.ez-icon-check-circle-inverted:before{content:\"\\ea18\"}.ez-icon-check-circle:before{content:\"\\ea19\"}.ez-icon-check:before{content:\"\\ea1a\"}.ez-icon-chevron-down:before{content:\"\\ea1b\"}.ez-icon-chevron-left:before{content:\"\\ea1c\"}.ez-icon-chevron-right:before{content:\"\\ea1d\"}.ez-icon-chevron-up:before{content:\"\\ea1e\"}.ez-icon-circle--medium:before{content:\"\\ea1f\"}.ez-icon-circle:before{content:\"\\ea20\"}.ez-icon-cleaning:before{content:\"\\ea21\"}.ez-icon-clipboard:before{content:\"\\ea22\"}.ez-icon-close:before{content:\"\\ea23\"}.ez-icon-cobrar:before{content:\"\\ea24\"}.ez-icon-code:before{content:\"\\ea25\"}.ez-icon-configuration:before{content:\"\\ea26\"}.ez-icon-copy:before{content:\"\\ea27\"}.ez-icon-credit_card:before{content:\"\\ea28\"}.ez-icon-crop:before{content:\"\\ea29\"}.ez-icon-custom:before{content:\"\\ea2a\"}.ez-icon-delete:before{content:\"\\ea2b\"}.ez-icon-description:before{content:\"\\ea2c\"}.ez-icon-dividir:before{content:\"\\ea2d\"}.ez-icon-docx:before{content:\"\\ea2e\"}.ez-icon-dot-notification:before{content:\"\\ea2f\"}.ez-icon-dots-horizontal:before{content:\"\\ea30\"}.ez-icon-dots-vertical:before{content:\"\\ea31\"}.ez-icon-drag-indicator:before{content:\"\\ea32\"}.ez-icon-dual-chevron-down:before{content:\"\\ea33\"}.ez-icon-dual-chevron-up:before{content:\"\\ea34\"}.ez-icon-edit-file:before{content:\"\\ea35\"}.ez-icon-edit-table:before{content:\"\\ea36\"}.ez-icon-edit-time:before{content:\"\\ea37\"}.ez-icon-edit:before{content:\"\\ea38\"}.ez-icon-email:before{content:\"\\ea39\"}.ez-icon-estorno:before{content:\"\\ea3a\"}.ez-icon-exe:before{content:\"\\ea3b\"}.ez-icon-expand:before{content:\"\\ea3c\"}.ez-icon-expandir_card:before{content:\"\\ea3d\"}.ez-icon-extrato:before{content:\"\\ea3e\"}.ez-icon-eye-off:before{content:\"\\ea3f\"}.ez-icon-eye:before{content:\"\\ea40\"}.ez-icon-favorite:before{content:\"\\ea41\"}.ez-icon-figma:before{content:\"\\ea42\"}.ez-icon-file-download:before{content:\"\\ea43\"}.ez-icon-file-upload:before{content:\"\\ea44\"}.ez-icon-filter:before{content:\"\\ea45\"}.ez-icon-find-file:before{content:\"\\ea46\"}.ez-icon-find-page:before{content:\"\\ea47\"}.ez-icon-format-color-fill:before{content:\"\\ea48\"}.ez-icon-generic:before{content:\"\\ea49\"}.ez-icon-gif:before{content:\"\\ea4a\"}.ez-icon-graph_bar:before{content:\"\\ea4b\"}.ez-icon-handshake:before{content:\"\\ea4c\"}.ez-icon-help-inverted:before{content:\"\\ea4d\"}.ez-icon-help:before{content:\"\\ea4e\"}.ez-icon-hide_menu:before{content:\"\\ea4f\"}.ez-icon-home:before{content:\"\\ea50\"}.ez-icon-icons104:before{content:\"\\ea51\"}.ez-icon-language:before{content:\"\\ea52\"}.ez-icon-launch:before{content:\"\\ea53\"}.ez-icon-lightbulb:before{content:\"\\ea54\"}.ez-icon-list:before{content:\"\\ea55\"}.ez-icon-location:before{content:\"\\ea56\"}.ez-icon-lock-outline:before{content:\"\\ea57\"}.ez-icon-lock:before{content:\"\\ea58\"}.ez-icon-menu:before{content:\"\\ea59\"}.ez-icon-mid:before{content:\"\\ea5a\"}.ez-icon-minus:before{content:\"\\ea5b\"}.ez-icon-money-off:before{content:\"\\ea5c\"}.ez-icon-money:before{content:\"\\ea5d\"}.ez-icon-more:before{content:\"\\ea5e\"}.ez-icon-mp3:before{content:\"\\ea5f\"}.ez-icon-mp4:before{content:\"\\ea60\"}.ez-icon-north-west:before{content:\"\\ea61\"}.ez-icon-number:before{content:\"\\ea62\"}.ez-icon-ordem-ascendente:before{content:\"\\ea63\"}.ez-icon-ordem-descendente:before{content:\"\\ea64\"}.ez-icon-parcelar:before{content:\"\\ea65\"}.ez-icon-pause:before{content:\"\\ea66\"}.ez-icon-payments:before{content:\"\\ea67\"}.ez-icon-pdf:before{content:\"\\ea68\"}.ez-icon-play:before{content:\"\\ea69\"}.ez-icon-plus:before{content:\"\\ea6a\"}.ez-icon-png:before{content:\"\\ea6b\"}.ez-icon-power:before{content:\"\\ea6c\"}.ez-icon-pptx:before{content:\"\\ea6d\"}.ez-icon-print:before{content:\"\\ea6e\"}.ez-icon-push-pin:before{content:\"\\ea6f\"}.ez-icon-rateio:before{content:\"\\ea70\"}.ez-icon-receipt:before{content:\"\\ea71\"}.ez-icon-recolher_card:before{content:\"\\ea72\"}.ez-icon-restore:before{content:\"\\ea73\"}.ez-icon-return:before{content:\"\\ea74\"}.ez-icon-save:before{content:\"\\ea75\"}.ez-icon-search:before{content:\"\\ea76\"}.ez-icon-settings-inverted:before{content:\"\\ea77\"}.ez-icon-settings:before{content:\"\\ea78\"}.ez-icon-share:before{content:\"\\ea79\"}.ez-icon-shield:before{content:\"\\ea7a\"}.ez-icon-show_menu:before{content:\"\\ea7b\"}.ez-icon-south-east:before{content:\"\\ea7c\"}.ez-icon-sync:before{content:\"\\ea7d\"}.ez-icon-table:before{content:\"\\ea7e\"}.ez-icon-tag_code:before{content:\"\\ea7f\"}.ez-icon-text:before{content:\"\\ea80\"}.ez-icon-timeline:before{content:\"\\ea81\"}.ez-icon-timer-outline:before{content:\"\\ea82\"}.ez-icon-tune:before{content:\"\\ea83\"}.ez-icon-txt:before{content:\"\\ea84\"}.ez-icon-un-pin:before{content:\"\\ea85\"}.ez-icon-unfold_less:before{content:\"\\ea86\"}.ez-icon-unfold_more:before{content:\"\\ea87\"}.ez-icon-user-circle:before{content:\"\\ea88\"}.ez-icon-warning-outline:before{content:\"\\ea89\"}.ez-icon-warning_triangle:before{content:\"\\ea8a\"}.ez-icon-whatshot:before{content:\"\\ea8b\"}.ez-icon-xlsx:before{content:\"\\ea8c\"}.ez-icon-zip:before{content:\"\\ea8d\"}.x-small--font{font-size:12px}.small--font{font-size:16px}.medium--font{font-size:20px}.large--font{font-size:24px}.x-large--font{font-size:30px}";
|
|
118581
118652
|
|
|
118582
118653
|
let EzIcon$1 = class extends HTMLElement$1 {
|
|
118583
118654
|
constructor() {
|
|
@@ -121401,6 +121472,7 @@ const EzComboBox = /*@__PURE__*/proxyCustomElement(EzComboBox$1, [1,"ez-combo-bo
|
|
|
121401
121472
|
const EzDateInput = /*@__PURE__*/proxyCustomElement(EzDateInput$1, [1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513]}]);
|
|
121402
121473
|
const EzDateTimeInput = /*@__PURE__*/proxyCustomElement(EzDateTimeInput$1, [1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513]}]);
|
|
121403
121474
|
const EzDialog = /*@__PURE__*/proxyCustomElement(EzDialog$1, [1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"]}]);
|
|
121475
|
+
const EzFileItem = /*@__PURE__*/proxyCustomElement(EzFileItem$1, [1,"ez-file-item",{"canRemove":[4,"can-remove"],"fileName":[1,"file-name"],"iconName":[1,"icon-name"],"fileSize":[2,"file-size"],"progress":[2]}]);
|
|
121404
121476
|
const EzFilterInput = /*@__PURE__*/proxyCustomElement(EzFilterInput$1, [1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513]}]);
|
|
121405
121477
|
const EzForm = /*@__PURE__*/proxyCustomElement(EzForm$1, [0,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16]}]);
|
|
121406
121478
|
const EzGrid = /*@__PURE__*/proxyCustomElement(EzGrid$1, [6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32]},[[0,"ezSelectionChange","onSelectionChange"]]]);
|
|
@@ -121438,6 +121510,7 @@ const defineCustomElements = (opts) => {
|
|
|
121438
121510
|
EzDateInput,
|
|
121439
121511
|
EzDateTimeInput,
|
|
121440
121512
|
EzDialog,
|
|
121513
|
+
EzFileItem,
|
|
121441
121514
|
EzFilterInput,
|
|
121442
121515
|
EzForm,
|
|
121443
121516
|
EzGrid,
|
|
@@ -121468,4 +121541,4 @@ const defineCustomElements = (opts) => {
|
|
|
121468
121541
|
}
|
|
121469
121542
|
};
|
|
121470
121543
|
|
|
121471
|
-
export { EzActionsButton, EzApplication, EzButton, EzCalendar, EzCardItem, EzCheck, EzChip, EzCollapsibleBox, EzComboBox, EzDateInput, EzDateTimeInput, EzDialog, EzFilterInput, EzForm, EzGrid, EzIcon, EzList, EzLoadingBar, EzModal, EzModalContainer, EzNumberInput, EzPopover, EzPopup, EzRadioButton, EzScroller, EzSearch, EzTabselector, EzTextArea, EzTextEdit, EzTextInput, EzTimeInput, EzToast, EzUpload, EzViewStack, defineCustomElements };
|
|
121544
|
+
export { EzActionsButton, EzApplication, EzButton, EzCalendar, EzCardItem, EzCheck, EzChip, EzCollapsibleBox, EzComboBox, EzDateInput, EzDateTimeInput, EzDialog, EzFileItem, EzFilterInput, EzForm, EzGrid, EzIcon, EzList, EzLoadingBar, EzModal, EzModalContainer, EzNumberInput, EzPopover, EzPopup, EzRadioButton, EzScroller, EzSearch, EzTabselector, EzTextArea, EzTextEdit, EzTextInput, EzTimeInput, EzToast, EzUpload, EzViewStack, defineCustomElements };
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-7bc778b3.js';
|
|
2
|
+
import { StringUtils, ElementIDUtils } from '@sankhyalabs/core';
|
|
3
|
+
|
|
4
|
+
const ezFileItemCss = ":host{display:flex;width:100%;--ez-file-item--height:42px;--ez-file-item--padding:9px;--ez-file-item--border-radius:var(--border--radius-medium, 12px);--ez-file-item--border-color:var(--color--strokes, #DCE0E8);--ez-file-item--border-style:var(--border--small, 1px solid);--ez-file-item--font-family:var(--font-pattern, Arial);--ez-file-item--font-size:var(--text--medium, 14px);--ez-file-item--font-weight:var(--text-weight--medium, 400);--ez-file-item--color:var(--title--primary, #2B3A54);--ez-file-item__file-size--font-weight:var(--text-weight--large, 600);--ez-file-item__file-size--color:var(--color--primary, #008561);--ez-file-item__background-progress--color:var(--color--primary-300, E2F4EF);--ez-file-item--icon-color:var(--title--primary, #2B3A54)}.box{display:flex;box-sizing:border-box;position:relative;align-items:center;justify-content:space-between;width:100%;padding:var(--ez-file-item--padding);border:var(--ez-file-item--border-color) var(--ez-file-item--border-style);border-radius:var(--ez-file-item--border-radius);height:var(--ez-file-item--height)}.box::before{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;clip-path:inset(2px calc(var(--ez-file-item--upload-progress, 0%) + 2px) 2px 2px round calc(var(--ez-file-item--border-radius) - 4px));background-color:var(--ez-file-item__background-progress--color)}.content{display:flex;align-items:center;z-index:0;overflow:hidden}.file-name{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-family:var(--ez-file-item--font-family);font-size:var(--ez-file-item--font-size);font-weight:var(--ez-file-item--font-weight);color:var(--ez-file-item--color)}.file-type-icon{flex-shrink:0;--ez-icon--color:var(--ez-file-item--icon-color);padding-right:var(--ez-file-item--padding)}.file-size{padding-left:2px;overflow:hidden;flex-shrink:0;white-space:nowrap;font-family:var(--ez-file-item--font-family);font-size:var(--ez-file-item--font-size);font-weight:var(--ez-file-item__file-size--font-weight);color:var(--ez-file-item__file-size--color)}.btn-remove{cursor:pointer;flex-shrink:0;--ez-icon--color:var(--ez-file-item--icon-color)}";
|
|
5
|
+
|
|
6
|
+
let EzFileItem = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.ezClick = createEvent(this, "ezClick", 7);
|
|
10
|
+
this.ezRemove = createEvent(this, "ezRemove", 7);
|
|
11
|
+
/**
|
|
12
|
+
* Define se o usuário pode remover o arquivo que está sendo apresentado.
|
|
13
|
+
*/
|
|
14
|
+
this.canRemove = true;
|
|
15
|
+
/**
|
|
16
|
+
* Percentual de carregamento do arquivo para o servidor.
|
|
17
|
+
*/
|
|
18
|
+
this.progress = 100;
|
|
19
|
+
}
|
|
20
|
+
observeProgress(newProgress) {
|
|
21
|
+
if (newProgress < 0 || newProgress > 100) {
|
|
22
|
+
throw new Error("O progresso de upload deve ser um número entre 0 e 100.");
|
|
23
|
+
}
|
|
24
|
+
this._element.style.setProperty("--ez-file-item--upload-progress", `${100 - newProgress}%`);
|
|
25
|
+
}
|
|
26
|
+
getFileSize() {
|
|
27
|
+
if (!this.fileSize || this.fileSize === 0) {
|
|
28
|
+
return "";
|
|
29
|
+
}
|
|
30
|
+
return `(${StringUtils.formatBytes(this.fileSize)})`;
|
|
31
|
+
}
|
|
32
|
+
getIconName() {
|
|
33
|
+
let extension;
|
|
34
|
+
if (this.iconName) {
|
|
35
|
+
return this.iconName;
|
|
36
|
+
}
|
|
37
|
+
if (this.fileName.indexOf(".") > -1) {
|
|
38
|
+
const index = this.fileName.lastIndexOf(".");
|
|
39
|
+
extension = this.fileName.substring(index);
|
|
40
|
+
}
|
|
41
|
+
return FILE_TYPE_ICONS[extension] || DEFAULT_FILE_TYPE_ICON;
|
|
42
|
+
}
|
|
43
|
+
render() {
|
|
44
|
+
this._element.title = `${this.fileName} ${this.getFileSize()}`;
|
|
45
|
+
ElementIDUtils.addIDInfoIfNotExists(this._element, 'ezFileIcon');
|
|
46
|
+
return (h("div", { class: "box", onClick: () => this.ezClick.emit(this.fileName) }, h("div", { class: "content" }, h("ez-icon", { "data-element-id": ElementIDUtils.getInternalIDInfo("fileIcon"), class: "file-type-icon", size: "medium", "icon-name": this.getIconName() }), h("label", { class: "file-name" }, this.fileName), h("label", { class: "file-size" }, this.getFileSize())), this.canRemove ?
|
|
47
|
+
h("ez-icon", { "data-element-id": ElementIDUtils.getInternalIDInfo("remove"), class: "btn-remove", size: "medium", "icon-name": "close", onClick: evt => {
|
|
48
|
+
this.ezRemove.emit(this.fileName);
|
|
49
|
+
evt.stopPropagation();
|
|
50
|
+
} }) : undefined));
|
|
51
|
+
}
|
|
52
|
+
get _element() { return getElement(this); }
|
|
53
|
+
static get watchers() { return {
|
|
54
|
+
"progress": ["observeProgress"]
|
|
55
|
+
}; }
|
|
56
|
+
};
|
|
57
|
+
const FILE_TYPE_ICONS = {
|
|
58
|
+
".exe": "exe",
|
|
59
|
+
".gif": "gif",
|
|
60
|
+
".mp3": "mp3",
|
|
61
|
+
".mp4": "mp4",
|
|
62
|
+
".pdf": "pdf",
|
|
63
|
+
".png": "png",
|
|
64
|
+
".txt": "txt",
|
|
65
|
+
".zip": "zip",
|
|
66
|
+
".docx": "docx",
|
|
67
|
+
".xlsx": "xlsx",
|
|
68
|
+
".pptx": "pptx"
|
|
69
|
+
};
|
|
70
|
+
const DEFAULT_FILE_TYPE_ICON = "generic";
|
|
71
|
+
EzFileItem.style = ezFileItemCss;
|
|
72
|
+
|
|
73
|
+
export { EzFileItem as ez_file_item };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-7bc778b3.js';
|
|
2
2
|
import { StringUtils, ElementIDUtils } from '@sankhyalabs/core';
|
|
3
3
|
|
|
4
|
-
const ezIconCss = ":host{display:flex;overflow:hidden;position:relative;--ez-icon--color:var(--icon--color, #ffffff)}svg{display:flex;justify-content:center;align-items:center;fill:var(--ez-icon--color)}.x-small{width:12px;height:12px}.small{width:16px;height:16px}.medium{width:20px;height:20px}.large{width:24px;height:24px}.x-large{width:30px;height:30px}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{color:var(--ez-icon--color)}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{font-family:'ez-icons' !important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-icon-2chevron-down:before{content:\"\\ea01\"}.ez-icon-2chevron-up:before{content:\"\\ea02\"}.ez-icon-account-outline:before{content:\"\\ea03\"}.ez-icon-account:before{content:\"\\ea04\"}.ez-icon-actions-sprite:before{content:\"\\ea05\"}.ez-icon-alert-circle-inverted:before{content:\"\\ea06\"}.ez-icon-alert-circle:before{content:\"\\ea07\"}.ez-icon-alert-mail:before{content:\"\\ea08\"}.ez-icon-alert-popup:before{content:\"\\ea09\"}.ez-icon-anexo:before{content:\"\\ea0a\"}.ez-icon-
|
|
4
|
+
const ezIconCss = ":host{display:flex;overflow:hidden;position:relative;--ez-icon--color:var(--icon--color, #ffffff)}svg{display:flex;justify-content:center;align-items:center;fill:var(--ez-icon--color)}.x-small{width:12px;height:12px}.small{width:16px;height:16px}.medium{width:20px;height:20px}.large{width:24px;height:24px}.x-large{width:30px;height:30px}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{color:var(--ez-icon--color)}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{font-family:'ez-icons' !important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-icon-2chevron-down:before{content:\"\\ea01\"}.ez-icon-2chevron-up:before{content:\"\\ea02\"}.ez-icon-account-outline:before{content:\"\\ea03\"}.ez-icon-account:before{content:\"\\ea04\"}.ez-icon-actions-sprite-v1:before{content:\"\\ea05\"}.ez-icon-alert-circle-inverted:before{content:\"\\ea06\"}.ez-icon-alert-circle:before{content:\"\\ea07\"}.ez-icon-alert-mail:before{content:\"\\ea08\"}.ez-icon-alert-popup:before{content:\"\\ea09\"}.ez-icon-anexo:before{content:\"\\ea0a\"}.ez-icon-antecipação:before{content:\"\\ea0b\"}.ez-icon-apps:before{content:\"\\ea0c\"}.ez-icon-arrow_back:before{content:\"\\ea0d\"}.ez-icon-arrow_downward:before{content:\"\\ea0e\"}.ez-icon-baixa:before{content:\"\\ea0f\"}.ez-icon-balance:before{content:\"\\ea10\"}.ez-icon-bell-inverted:before{content:\"\\ea11\"}.ez-icon-bell:before{content:\"\\ea12\"}.ez-icon-boleto:before{content:\"\\ea13\"}.ez-icon-business-center:before{content:\"\\ea14\"}.ez-icon-calendar-clock:before{content:\"\\ea15\"}.ez-icon-calendar:before{content:\"\\ea16\"}.ez-icon-cash-remove:before{content:\"\\ea17\"}.ez-icon-check-circle-inverted:before{content:\"\\ea18\"}.ez-icon-check-circle:before{content:\"\\ea19\"}.ez-icon-check:before{content:\"\\ea1a\"}.ez-icon-chevron-down:before{content:\"\\ea1b\"}.ez-icon-chevron-left:before{content:\"\\ea1c\"}.ez-icon-chevron-right:before{content:\"\\ea1d\"}.ez-icon-chevron-up:before{content:\"\\ea1e\"}.ez-icon-circle--medium:before{content:\"\\ea1f\"}.ez-icon-circle:before{content:\"\\ea20\"}.ez-icon-cleaning:before{content:\"\\ea21\"}.ez-icon-clipboard:before{content:\"\\ea22\"}.ez-icon-close:before{content:\"\\ea23\"}.ez-icon-cobrar:before{content:\"\\ea24\"}.ez-icon-code:before{content:\"\\ea25\"}.ez-icon-configuration:before{content:\"\\ea26\"}.ez-icon-copy:before{content:\"\\ea27\"}.ez-icon-credit_card:before{content:\"\\ea28\"}.ez-icon-crop:before{content:\"\\ea29\"}.ez-icon-custom:before{content:\"\\ea2a\"}.ez-icon-delete:before{content:\"\\ea2b\"}.ez-icon-description:before{content:\"\\ea2c\"}.ez-icon-dividir:before{content:\"\\ea2d\"}.ez-icon-docx:before{content:\"\\ea2e\"}.ez-icon-dot-notification:before{content:\"\\ea2f\"}.ez-icon-dots-horizontal:before{content:\"\\ea30\"}.ez-icon-dots-vertical:before{content:\"\\ea31\"}.ez-icon-drag-indicator:before{content:\"\\ea32\"}.ez-icon-dual-chevron-down:before{content:\"\\ea33\"}.ez-icon-dual-chevron-up:before{content:\"\\ea34\"}.ez-icon-edit-file:before{content:\"\\ea35\"}.ez-icon-edit-table:before{content:\"\\ea36\"}.ez-icon-edit-time:before{content:\"\\ea37\"}.ez-icon-edit:before{content:\"\\ea38\"}.ez-icon-email:before{content:\"\\ea39\"}.ez-icon-estorno:before{content:\"\\ea3a\"}.ez-icon-exe:before{content:\"\\ea3b\"}.ez-icon-expand:before{content:\"\\ea3c\"}.ez-icon-expandir_card:before{content:\"\\ea3d\"}.ez-icon-extrato:before{content:\"\\ea3e\"}.ez-icon-eye-off:before{content:\"\\ea3f\"}.ez-icon-eye:before{content:\"\\ea40\"}.ez-icon-favorite:before{content:\"\\ea41\"}.ez-icon-figma:before{content:\"\\ea42\"}.ez-icon-file-download:before{content:\"\\ea43\"}.ez-icon-file-upload:before{content:\"\\ea44\"}.ez-icon-filter:before{content:\"\\ea45\"}.ez-icon-find-file:before{content:\"\\ea46\"}.ez-icon-find-page:before{content:\"\\ea47\"}.ez-icon-format-color-fill:before{content:\"\\ea48\"}.ez-icon-generic:before{content:\"\\ea49\"}.ez-icon-gif:before{content:\"\\ea4a\"}.ez-icon-graph_bar:before{content:\"\\ea4b\"}.ez-icon-handshake:before{content:\"\\ea4c\"}.ez-icon-help-inverted:before{content:\"\\ea4d\"}.ez-icon-help:before{content:\"\\ea4e\"}.ez-icon-hide_menu:before{content:\"\\ea4f\"}.ez-icon-home:before{content:\"\\ea50\"}.ez-icon-icons104:before{content:\"\\ea51\"}.ez-icon-language:before{content:\"\\ea52\"}.ez-icon-launch:before{content:\"\\ea53\"}.ez-icon-lightbulb:before{content:\"\\ea54\"}.ez-icon-list:before{content:\"\\ea55\"}.ez-icon-location:before{content:\"\\ea56\"}.ez-icon-lock-outline:before{content:\"\\ea57\"}.ez-icon-lock:before{content:\"\\ea58\"}.ez-icon-menu:before{content:\"\\ea59\"}.ez-icon-mid:before{content:\"\\ea5a\"}.ez-icon-minus:before{content:\"\\ea5b\"}.ez-icon-money-off:before{content:\"\\ea5c\"}.ez-icon-money:before{content:\"\\ea5d\"}.ez-icon-more:before{content:\"\\ea5e\"}.ez-icon-mp3:before{content:\"\\ea5f\"}.ez-icon-mp4:before{content:\"\\ea60\"}.ez-icon-north-west:before{content:\"\\ea61\"}.ez-icon-number:before{content:\"\\ea62\"}.ez-icon-ordem-ascendente:before{content:\"\\ea63\"}.ez-icon-ordem-descendente:before{content:\"\\ea64\"}.ez-icon-parcelar:before{content:\"\\ea65\"}.ez-icon-pause:before{content:\"\\ea66\"}.ez-icon-payments:before{content:\"\\ea67\"}.ez-icon-pdf:before{content:\"\\ea68\"}.ez-icon-play:before{content:\"\\ea69\"}.ez-icon-plus:before{content:\"\\ea6a\"}.ez-icon-png:before{content:\"\\ea6b\"}.ez-icon-power:before{content:\"\\ea6c\"}.ez-icon-pptx:before{content:\"\\ea6d\"}.ez-icon-print:before{content:\"\\ea6e\"}.ez-icon-push-pin:before{content:\"\\ea6f\"}.ez-icon-rateio:before{content:\"\\ea70\"}.ez-icon-receipt:before{content:\"\\ea71\"}.ez-icon-recolher_card:before{content:\"\\ea72\"}.ez-icon-restore:before{content:\"\\ea73\"}.ez-icon-return:before{content:\"\\ea74\"}.ez-icon-save:before{content:\"\\ea75\"}.ez-icon-search:before{content:\"\\ea76\"}.ez-icon-settings-inverted:before{content:\"\\ea77\"}.ez-icon-settings:before{content:\"\\ea78\"}.ez-icon-share:before{content:\"\\ea79\"}.ez-icon-shield:before{content:\"\\ea7a\"}.ez-icon-show_menu:before{content:\"\\ea7b\"}.ez-icon-south-east:before{content:\"\\ea7c\"}.ez-icon-sync:before{content:\"\\ea7d\"}.ez-icon-table:before{content:\"\\ea7e\"}.ez-icon-tag_code:before{content:\"\\ea7f\"}.ez-icon-text:before{content:\"\\ea80\"}.ez-icon-timeline:before{content:\"\\ea81\"}.ez-icon-timer-outline:before{content:\"\\ea82\"}.ez-icon-tune:before{content:\"\\ea83\"}.ez-icon-txt:before{content:\"\\ea84\"}.ez-icon-un-pin:before{content:\"\\ea85\"}.ez-icon-unfold_less:before{content:\"\\ea86\"}.ez-icon-unfold_more:before{content:\"\\ea87\"}.ez-icon-user-circle:before{content:\"\\ea88\"}.ez-icon-warning-outline:before{content:\"\\ea89\"}.ez-icon-warning_triangle:before{content:\"\\ea8a\"}.ez-icon-whatshot:before{content:\"\\ea8b\"}.ez-icon-xlsx:before{content:\"\\ea8c\"}.ez-icon-zip:before{content:\"\\ea8d\"}.x-small--font{font-size:12px}.small--font{font-size:16px}.medium--font{font-size:20px}.large--font{font-size:24px}.x-large--font{font-size:30px}";
|
|
5
5
|
|
|
6
6
|
let EzIcon = class {
|
|
7
7
|
constructor(hostRef) {
|
package/dist/esm/ezui.js
CHANGED
|
@@ -13,5 +13,5 @@ const patchBrowser = () => {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
patchBrowser().then(options => {
|
|
16
|
-
return bootstrapLazy([["ez-actions-button",[[1,"ez-actions-button",{"enabled":[516],"actions":[1040],"size":[513],"showLabel":[516,"show-label"],"displayIcon":[513,"display-icon"],"checkOption":[516,"check-option"],"value":[513],"isTransparent":[516,"is-transparent"],"arrowActive":[516,"arrow-active"],"_selectedAction":[32],"hideActions":[64],"isOpened":[64]}]]],["ez-dialog",[[1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"show":[64]}]]],["ez-filter-input",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-grid",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]},[[0,"ezSelectionChange","onSelectionChange"]]]]],["ez-modal-container",[[6,"ez-modal-container",{"modalTitle":[1,"modal-title"],"modalSubTitle":[1,"modal-sub-title"],"showTitleBar":[4,"show-title-bar"],"cancelButtonLabel":[1,"cancel-button-label"],"okButtonLabel":[1,"ok-button-label"],"cancelButtonStatus":[1,"cancel-button-status"],"okButtonStatus":[1,"ok-button-status"]}]]],["ez-chip",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-application",[[0,"ez-application"]]],["ez-card-item",[[1,"ez-card-item",{"item":[16]}]]],["ez-list",[[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64]}]]],["ez-loading-bar",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["ez-modal",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-popover",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["ez-radio-button",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["ez-scroller",[[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isFirefox":[32],"isActive":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]]],["ez-toast",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["ez-view-stack",[[0,"ez-view-stack",{"show":[64],"getSelectedIndex":[64]}]]],["ez-text-input",[[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-collapsible-box",[[1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"headerAlign":[513,"header-align"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32],"showHide":[64],"applyFocusTextEdit":[64],"cancelEdition":[64]}]]],["ez-search",[[1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-input",[[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-time-input",[[1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-time-input",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-number-input",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-tabselector",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["ez-check",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[516],"mode":[513],"getMode":[64],"setFocus":[64]}]]],["ez-text-area",[[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-upload",[[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64],"setFocus":[64],"setBlur":[64]}]]],["ez-text-edit",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["ez-combo-box",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-calendar",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[64]}]]],["ez-icon",[[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]]],["ez-button",[[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513],"setFocus":[64],"setBlur":[64]}]]],["ez-form",[[0,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"validate":[64]}]]]], options);
|
|
16
|
+
return bootstrapLazy([["ez-actions-button",[[1,"ez-actions-button",{"enabled":[516],"actions":[1040],"size":[513],"showLabel":[516,"show-label"],"displayIcon":[513,"display-icon"],"checkOption":[516,"check-option"],"value":[513],"isTransparent":[516,"is-transparent"],"arrowActive":[516,"arrow-active"],"_selectedAction":[32],"hideActions":[64],"isOpened":[64]}]]],["ez-dialog",[[1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"show":[64]}]]],["ez-filter-input",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-grid",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]},[[0,"ezSelectionChange","onSelectionChange"]]]]],["ez-modal-container",[[6,"ez-modal-container",{"modalTitle":[1,"modal-title"],"modalSubTitle":[1,"modal-sub-title"],"showTitleBar":[4,"show-title-bar"],"cancelButtonLabel":[1,"cancel-button-label"],"okButtonLabel":[1,"ok-button-label"],"cancelButtonStatus":[1,"cancel-button-status"],"okButtonStatus":[1,"ok-button-status"]}]]],["ez-chip",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-file-item",[[1,"ez-file-item",{"canRemove":[4,"can-remove"],"fileName":[1,"file-name"],"iconName":[1,"icon-name"],"fileSize":[2,"file-size"],"progress":[2]}]]],["ez-application",[[0,"ez-application"]]],["ez-card-item",[[1,"ez-card-item",{"item":[16]}]]],["ez-list",[[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64]}]]],["ez-loading-bar",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["ez-modal",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-popover",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["ez-radio-button",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["ez-scroller",[[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isFirefox":[32],"isActive":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]]],["ez-toast",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["ez-view-stack",[[0,"ez-view-stack",{"show":[64],"getSelectedIndex":[64]}]]],["ez-text-input",[[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-collapsible-box",[[1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"headerAlign":[513,"header-align"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32],"showHide":[64],"applyFocusTextEdit":[64],"cancelEdition":[64]}]]],["ez-search",[[1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-input",[[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-time-input",[[1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-time-input",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-number-input",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-tabselector",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["ez-check",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[516],"mode":[513],"getMode":[64],"setFocus":[64]}]]],["ez-text-area",[[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-upload",[[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64],"setFocus":[64],"setBlur":[64]}]]],["ez-text-edit",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["ez-combo-box",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-calendar",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[64]}]]],["ez-icon",[[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]]],["ez-button",[[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513],"setFocus":[64],"setBlur":[64]}]]],["ez-form",[[0,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"validate":[64]}]]]], options);
|
|
17
17
|
});
|