@bildvitta/quasar-ui-asteroid 3.0.0-beta.4 → 3.0.0-beta.7
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/api/QasActionsMenu.json +15 -15
- package/dist/api/QasAppBar.json +4 -4
- package/dist/api/QasAppMenu.json +11 -7
- package/dist/api/QasBtn.json +1 -1
- package/dist/api/QasCard.json +4 -4
- package/dist/api/QasCheckboxGroup.json +8 -8
- package/dist/api/QasCopy.json +4 -4
- package/dist/api/QasDateTimeInput.json +6 -6
- package/dist/api/QasDelete.json +17 -17
- package/dist/api/QasDialog.json +21 -21
- package/dist/api/QasFilters.json +16 -16
- package/dist/api/QasFormGenerator.json +31 -31
- package/dist/api/QasFormView.json +84 -84
- package/dist/api/QasGallery.json +4 -4
- package/dist/api/QasGridGenerator.json +39 -39
- package/dist/api/QasInput.json +13 -13
- package/dist/api/QasListView.json +55 -55
- package/dist/api/QasNestedFields.json +32 -32
- package/dist/api/QasNumericInput.json +21 -2
- package/dist/api/QasPageHeader.json +7 -7
- package/dist/api/QasPasswordInput.json +13 -13
- package/dist/api/QasPasswordStrengthChecker.json +12 -12
- package/dist/api/QasProfile.json +5 -5
- package/dist/api/QasResizer.json +11 -11
- package/dist/api/QasSearchBox.json +5 -5
- package/dist/api/QasSelect.json +14 -14
- package/dist/api/QasSelectList.json +6 -6
- package/dist/api/QasSignatureUploader.json +9 -9
- package/dist/api/QasSingleView.json +40 -40
- package/dist/api/QasSortable.json +20 -20
- package/dist/api/QasTableGenerator.json +5 -5
- package/dist/api/QasTransfer.json +9 -9
- package/dist/api/QasUploader.json +17 -17
- package/dist/asteroid.cjs.css +1 -1
- package/dist/asteroid.cjs.js +93 -58
- package/dist/asteroid.cjs.min.js +2 -2
- package/dist/asteroid.esm.css +1 -1
- package/dist/asteroid.esm.js +94 -59
- package/dist/asteroid.esm.min.js +2 -2
- package/dist/asteroid.umd.css +1 -1
- package/dist/asteroid.umd.js +93 -58
- package/dist/asteroid.umd.min.js +2 -2
- package/dist/vetur/asteroid-attributes.json +259 -255
- package/dist/vetur/asteroid-tags.json +89 -88
- package/package.json +1 -1
- package/src/assets/gear.svg +27 -0
- package/src/components/actions-menu/QasActionsMenu.vue +2 -2
- package/src/components/actions-menu/QasActionsMenu.yml +15 -15
- package/src/components/app-bar/QasAppBar.vue +2 -2
- package/src/components/app-bar/QasAppBar.yml +4 -4
- package/src/components/app-menu/QasAppMenu.vue +7 -3
- package/src/components/app-menu/QasAppMenu.yml +11 -7
- package/src/components/box/QasBox.vue +1 -1
- package/src/components/btn/QasBtn.vue +2 -2
- package/src/components/btn/QasBtn.yml +1 -1
- package/src/components/card/QasCard.vue +1 -1
- package/src/components/card/QasCard.yml +4 -4
- package/src/components/checkbox-group/QasCheckboxGroup.yml +9 -8
- package/src/components/copy/QasCopy.vue +1 -1
- package/src/components/copy/QasCopy.yml +4 -3
- package/src/components/date-time-input/QasDateTimeInput.yml +6 -5
- package/src/components/delete/QasDelete.yml +15 -15
- package/src/components/dialog/QasDialog.yml +20 -19
- package/src/components/filters/QasFilters.vue +3 -3
- package/src/components/filters/QasFilters.yml +16 -16
- package/src/components/form-generator/QasFormGenerator.yml +21 -21
- package/src/components/form-view/QasFormView.yml +68 -68
- package/src/components/gallery/QasGallery.yml +4 -4
- package/src/components/grid-generator/QasGridGenerator.yml +28 -27
- package/src/components/input/QasInput.yml +13 -13
- package/src/components/list-items/QasListItems.vue +1 -1
- package/src/components/list-view/QasListView.vue +10 -3
- package/src/components/list-view/QasListView.yml +48 -48
- package/src/components/nested-fields/QasNestedFields.yml +26 -25
- package/src/components/numeric-input/QasNumericInput.vue +31 -13
- package/src/components/numeric-input/QasNumericInput.yml +16 -2
- package/src/components/page-header/QasPageHeader.yml +4 -4
- package/src/components/password-input/QasPasswordInput.vue +1 -1
- package/src/components/password-input/QasPasswordInput.yml +11 -11
- package/src/components/password-strength-checker/QasPasswordStrengthChecker.yml +10 -10
- package/src/components/profile/QasProfile.yml +5 -5
- package/src/components/resizer/QasResizer.vue +1 -1
- package/src/components/resizer/QasResizer.yml +6 -5
- package/src/components/search-box/QasSearchBox.yml +5 -5
- package/src/components/select/QasSelect.yml +7 -7
- package/src/components/select-list/QasSelectList.yml +6 -6
- package/src/components/signature-pad/QasSignaturePad.vue +1 -1
- package/src/components/signature-uploader/QasSignatureUploader.yml +9 -9
- package/src/components/single-view/QasSingleView.vue +2 -2
- package/src/components/single-view/QasSingleView.yml +36 -36
- package/src/components/sortable/QasSortable.yml +17 -17
- package/src/components/table-generator/QasTableGenerator.yml +5 -5
- package/src/components/transfer/QasTransfer.vue +2 -1
- package/src/components/transfer/QasTransfer.yml +9 -9
- package/src/components/uploader/QasUploader.vue +2 -2
- package/src/components/uploader/QasUploader.yml +12 -12
- package/src/composables/index.js +1 -1
- package/src/composables/{useHistory.js → use-history.js} +0 -0
- package/src/css/utils/index.scss +0 -1
- package/src/css/variables/index.scss +1 -0
- package/src/css/variables/shadow.scss +33 -0
- package/src/css/variables/typography.scss +1 -1
- package/src/index.scss +1 -0
- package/src/pages/ErrorComponent.vue +56 -0
- package/src/pages/Forbidden.vue +19 -5
- package/src/pages/NotFound.vue +19 -5
- package/src/pages/ServerError.vue +23 -0
- package/src/assets/logo-modular.svg +0 -1
- package/src/composables/useForm.js +0 -3
- package/src/css/utils/shadow.scss +0 -7
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"qas-actions-menu": {
|
|
3
3
|
"attributes": [
|
|
4
|
+
"delete-icon",
|
|
5
|
+
"delete-label",
|
|
6
|
+
"delete-props",
|
|
4
7
|
"icon",
|
|
5
8
|
"label",
|
|
6
|
-
"list"
|
|
7
|
-
"delete-label",
|
|
8
|
-
"delete-icon",
|
|
9
|
-
"delete-props"
|
|
9
|
+
"list"
|
|
10
10
|
],
|
|
11
11
|
"description": "Componente para abrir um menu de ação a partir de um botão, muito utilizado em tela de edição."
|
|
12
12
|
},
|
|
@@ -28,18 +28,19 @@
|
|
|
28
28
|
"qas-app-bar": {
|
|
29
29
|
"attributes": [
|
|
30
30
|
"is-auth",
|
|
31
|
-
"title",
|
|
32
31
|
"notifications",
|
|
32
|
+
"title",
|
|
33
33
|
"user"
|
|
34
34
|
],
|
|
35
35
|
"description": "Cria um seção para alertar sobre um conteúdo."
|
|
36
36
|
},
|
|
37
37
|
"qas-app-menu": {
|
|
38
38
|
"attributes": [
|
|
39
|
-
"
|
|
39
|
+
"brand-menu",
|
|
40
40
|
"items",
|
|
41
|
-
"
|
|
42
|
-
"modules"
|
|
41
|
+
"model-value",
|
|
42
|
+
"modules",
|
|
43
|
+
"title"
|
|
43
44
|
],
|
|
44
45
|
"description": "Menu lateral."
|
|
45
46
|
},
|
|
@@ -88,17 +89,17 @@
|
|
|
88
89
|
},
|
|
89
90
|
"qas-checkbox-group": {
|
|
90
91
|
"attributes": [
|
|
91
|
-
"
|
|
92
|
+
"inline",
|
|
92
93
|
"model-value",
|
|
93
|
-
"
|
|
94
|
+
"options"
|
|
94
95
|
],
|
|
95
96
|
"description": "Componente para gerar dinamicamente checkbox agrupados."
|
|
96
97
|
},
|
|
97
98
|
"qas-copy": {
|
|
98
99
|
"attributes": [
|
|
99
100
|
"icon",
|
|
100
|
-
"
|
|
101
|
-
"
|
|
101
|
+
"text",
|
|
102
|
+
"size"
|
|
102
103
|
],
|
|
103
104
|
"description": "Copia algum texto para o clipboard após clicar no botão."
|
|
104
105
|
},
|
|
@@ -108,10 +109,10 @@
|
|
|
108
109
|
"date-only",
|
|
109
110
|
"date-props",
|
|
110
111
|
"gmt",
|
|
112
|
+
"model-value",
|
|
111
113
|
"time-mask",
|
|
112
114
|
"time-only",
|
|
113
|
-
"time-props"
|
|
114
|
-
"model-value"
|
|
115
|
+
"time-props"
|
|
115
116
|
],
|
|
116
117
|
"description": "Componente de input data e hora, implementa o \"QasInput\"."
|
|
117
118
|
},
|
|
@@ -123,12 +124,12 @@
|
|
|
123
124
|
},
|
|
124
125
|
"qas-delete": {
|
|
125
126
|
"attributes": [
|
|
126
|
-
"entity",
|
|
127
127
|
"custom-id",
|
|
128
|
+
"deleting",
|
|
128
129
|
"dialog-props",
|
|
129
|
-
"
|
|
130
|
+
"entity",
|
|
130
131
|
"tag",
|
|
131
|
-
"
|
|
132
|
+
"url",
|
|
132
133
|
"use-auto-delete-route"
|
|
133
134
|
],
|
|
134
135
|
"description": "Componente para C.R.U.D. responsável por deletar (Delete)."
|
|
@@ -141,15 +142,15 @@
|
|
|
141
142
|
"attributes": [
|
|
142
143
|
"actions-props",
|
|
143
144
|
"cancel",
|
|
144
|
-
"card",
|
|
145
145
|
"card-props",
|
|
146
|
+
"card",
|
|
146
147
|
"max-width",
|
|
147
148
|
"min-width",
|
|
149
|
+
"model-value",
|
|
148
150
|
"ok",
|
|
149
151
|
"persistent",
|
|
150
|
-
"use-
|
|
151
|
-
"
|
|
152
|
-
"use-close-icon"
|
|
152
|
+
"use-close-icon",
|
|
153
|
+
"use-form"
|
|
153
154
|
],
|
|
154
155
|
"description": "Componente de dialog."
|
|
155
156
|
},
|
|
@@ -164,25 +165,25 @@
|
|
|
164
165
|
"qas-filters": {
|
|
165
166
|
"attributes": [
|
|
166
167
|
"entity",
|
|
168
|
+
"force-refetch",
|
|
169
|
+
"search-placeholder",
|
|
170
|
+
"url",
|
|
167
171
|
"use-badges",
|
|
168
172
|
"use-filter-button",
|
|
169
|
-
"use-search",
|
|
170
173
|
"use-search-on-type",
|
|
171
|
-
"search
|
|
172
|
-
"url",
|
|
173
|
-
"force-refetch"
|
|
174
|
+
"use-search"
|
|
174
175
|
],
|
|
175
176
|
"description": "Componente para criação de filtros dinâmicos."
|
|
176
177
|
},
|
|
177
178
|
"qas-form-generator": {
|
|
178
179
|
"attributes": [
|
|
180
|
+
"columns",
|
|
179
181
|
"error",
|
|
180
|
-
"fields",
|
|
181
182
|
"fields-props",
|
|
182
|
-
"
|
|
183
|
+
"fields",
|
|
184
|
+
"gutter",
|
|
183
185
|
"model-value",
|
|
184
|
-
"
|
|
185
|
-
"gutter"
|
|
186
|
+
"order"
|
|
186
187
|
],
|
|
187
188
|
"description": "Componente para criação de múltiplos campos dinâmicos a partir do componente `QasField`."
|
|
188
189
|
},
|
|
@@ -191,22 +192,22 @@
|
|
|
191
192
|
"cancel-button",
|
|
192
193
|
"cancel-route",
|
|
193
194
|
"custom-id",
|
|
195
|
+
"dialog",
|
|
194
196
|
"disable",
|
|
197
|
+
"entity",
|
|
198
|
+
"errors",
|
|
199
|
+
"fetching",
|
|
200
|
+
"fields",
|
|
201
|
+
"ignore-keys-in-unsaved-changes",
|
|
202
|
+
"metadata",
|
|
195
203
|
"mode",
|
|
204
|
+
"model-value",
|
|
196
205
|
"read-only",
|
|
197
206
|
"route",
|
|
198
207
|
"show-dialog-on-unsaved-changes",
|
|
199
|
-
"ignore-keys-in-unsaved-changes",
|
|
200
208
|
"submit-button",
|
|
201
|
-
"model-value",
|
|
202
209
|
"submitting",
|
|
203
|
-
"
|
|
204
|
-
"dialog",
|
|
205
|
-
"url",
|
|
206
|
-
"fields",
|
|
207
|
-
"errors",
|
|
208
|
-
"metadata",
|
|
209
|
-
"fetching"
|
|
210
|
+
"url"
|
|
210
211
|
],
|
|
211
212
|
"description": "Componente para C.R.U.D. responsável pela pela criação (Create) e edição (Update)."
|
|
212
213
|
},
|
|
@@ -215,8 +216,8 @@
|
|
|
215
216
|
"carousel-next-icon",
|
|
216
217
|
"carousel-previous-icon",
|
|
217
218
|
"height",
|
|
218
|
-
"initial-size",
|
|
219
219
|
"images",
|
|
220
|
+
"initial-size",
|
|
220
221
|
"load-size",
|
|
221
222
|
"show-more-label",
|
|
222
223
|
"use-load-all"
|
|
@@ -225,25 +226,25 @@
|
|
|
225
226
|
},
|
|
226
227
|
"qas-grid-generator": {
|
|
227
228
|
"attributes": [
|
|
229
|
+
"columns",
|
|
228
230
|
"content-class",
|
|
229
|
-
"header-class",
|
|
230
|
-
"hide-empty-result",
|
|
231
231
|
"empty-result-text",
|
|
232
|
-
"result",
|
|
233
232
|
"fields",
|
|
234
|
-
"
|
|
235
|
-
"
|
|
233
|
+
"gutter",
|
|
234
|
+
"header-class",
|
|
235
|
+
"hide-empty-result",
|
|
236
|
+
"result"
|
|
236
237
|
],
|
|
237
238
|
"description": "Componente para criação de textos dinâmicos."
|
|
238
239
|
},
|
|
239
240
|
"qas-input": {
|
|
240
241
|
"attributes": [
|
|
242
|
+
"error-message",
|
|
243
|
+
"error",
|
|
241
244
|
"model-value",
|
|
242
|
-
"unmasked-value",
|
|
243
245
|
"outlined",
|
|
244
|
-
"error",
|
|
245
|
-
"
|
|
246
|
-
"remove-error-on-type"
|
|
246
|
+
"remove-error-on-type",
|
|
247
|
+
"unmasked-value"
|
|
247
248
|
],
|
|
248
249
|
"description": "Componente para input que implementa o \"QInput\" repassando propriedades, slots e eventos."
|
|
249
250
|
},
|
|
@@ -276,17 +277,17 @@
|
|
|
276
277
|
},
|
|
277
278
|
"qas-list-view": {
|
|
278
279
|
"attributes": [
|
|
279
|
-
"entity",
|
|
280
280
|
"dialog",
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
"fields",
|
|
281
|
+
"disable-refresh",
|
|
282
|
+
"entity",
|
|
284
283
|
"errors",
|
|
285
|
-
"metadata",
|
|
286
284
|
"fetching",
|
|
287
|
-
"
|
|
288
|
-
"
|
|
289
|
-
"
|
|
285
|
+
"fields",
|
|
286
|
+
"filters-props",
|
|
287
|
+
"metadata",
|
|
288
|
+
"results",
|
|
289
|
+
"url",
|
|
290
|
+
"use-filter"
|
|
290
291
|
],
|
|
291
292
|
"description": "Componente para C.R.U.D. responsável pela parte de listagem (Read)."
|
|
292
293
|
},
|
|
@@ -305,12 +306,12 @@
|
|
|
305
306
|
"btn-destroy-props",
|
|
306
307
|
"btn-duplicate-props",
|
|
307
308
|
"destroy-key",
|
|
308
|
-
"model-value",
|
|
309
309
|
"errors",
|
|
310
310
|
"field",
|
|
311
311
|
"fields-props",
|
|
312
312
|
"form-columns",
|
|
313
313
|
"form-gutter",
|
|
314
|
+
"model-value",
|
|
314
315
|
"row-label",
|
|
315
316
|
"row-object",
|
|
316
317
|
"use-animation",
|
|
@@ -338,21 +339,21 @@
|
|
|
338
339
|
"qas-page-header": {
|
|
339
340
|
"attributes": [
|
|
340
341
|
"breadcrumbs",
|
|
341
|
-
"use-breadcrumbs",
|
|
342
342
|
"title",
|
|
343
|
-
"root"
|
|
343
|
+
"root",
|
|
344
|
+
"use-breadcrumbs"
|
|
344
345
|
],
|
|
345
346
|
"description": "Componente para cabeçalho de páginas com breadcrumbs e botão de voltar baseado no histórico de navegação dentro da aplicação."
|
|
346
347
|
},
|
|
347
348
|
"qas-password-input": {
|
|
348
349
|
"attributes": [
|
|
349
|
-
"use-strength-checker",
|
|
350
350
|
"icon-color",
|
|
351
|
-
"model-value",
|
|
352
351
|
"levels",
|
|
352
|
+
"model-value",
|
|
353
353
|
"minlength",
|
|
354
354
|
"specials",
|
|
355
355
|
"track-color",
|
|
356
|
+
"use-strength-checker",
|
|
356
357
|
"use-lowercase",
|
|
357
358
|
"use-numbers",
|
|
358
359
|
"use-special",
|
|
@@ -362,9 +363,9 @@
|
|
|
362
363
|
},
|
|
363
364
|
"qas-password-strength-checker": {
|
|
364
365
|
"attributes": [
|
|
365
|
-
"model-value",
|
|
366
|
-
"password",
|
|
367
366
|
"levels",
|
|
367
|
+
"password",
|
|
368
|
+
"model-value",
|
|
368
369
|
"minlength",
|
|
369
370
|
"specials",
|
|
370
371
|
"track-color",
|
|
@@ -382,16 +383,16 @@
|
|
|
382
383
|
"list",
|
|
383
384
|
"result",
|
|
384
385
|
"subtitle",
|
|
385
|
-
"
|
|
386
|
-
"
|
|
386
|
+
"tag",
|
|
387
|
+
"title"
|
|
387
388
|
],
|
|
388
389
|
"description": "Componente para cabeçalho de perfil."
|
|
389
390
|
},
|
|
390
391
|
"qas-resizer": {
|
|
391
392
|
"attributes": [
|
|
393
|
+
"resize",
|
|
392
394
|
"size",
|
|
393
|
-
"source"
|
|
394
|
-
"resize"
|
|
395
|
+
"source"
|
|
395
396
|
],
|
|
396
397
|
"description": "Componente para exibir imagem redimensionadas, implementa o \"QImg\"."
|
|
397
398
|
},
|
|
@@ -403,8 +404,8 @@
|
|
|
403
404
|
"list",
|
|
404
405
|
"model-value",
|
|
405
406
|
"placeholder",
|
|
406
|
-
"
|
|
407
|
-
"
|
|
407
|
+
"results",
|
|
408
|
+
"use-empty-slot"
|
|
408
409
|
],
|
|
409
410
|
"description": "Componente para pesquisa utilizando Fuse.js."
|
|
410
411
|
},
|
|
@@ -414,17 +415,17 @@
|
|
|
414
415
|
"fuse-options",
|
|
415
416
|
"list",
|
|
416
417
|
"model-value",
|
|
417
|
-
"
|
|
418
|
+
"param-key",
|
|
418
419
|
"redirect-key",
|
|
419
|
-
"
|
|
420
|
+
"to"
|
|
420
421
|
],
|
|
421
422
|
"description": "Componente para selecionar dentro de uma lista com pesquisa utilizando o `QasSearchBox`."
|
|
422
423
|
},
|
|
423
424
|
"qas-select": {
|
|
424
425
|
"attributes": [
|
|
425
|
-
"model-value",
|
|
426
426
|
"fuse-options",
|
|
427
427
|
"label-key",
|
|
428
|
+
"model-value",
|
|
428
429
|
"no-option-label",
|
|
429
430
|
"options",
|
|
430
431
|
"searchable",
|
|
@@ -444,46 +445,46 @@
|
|
|
444
445
|
"qas-signature-uploader": {
|
|
445
446
|
"attributes": [
|
|
446
447
|
"dialog-props",
|
|
447
|
-
"upload-label",
|
|
448
|
-
"signature-label",
|
|
449
448
|
"model-value",
|
|
449
|
+
"readonly",
|
|
450
|
+
"signature-label",
|
|
450
451
|
"type",
|
|
451
|
-
"
|
|
452
|
+
"upload-label"
|
|
452
453
|
],
|
|
453
454
|
"description": "Componente \"qas-signature-uploader\" do Asteroid."
|
|
454
455
|
},
|
|
455
456
|
"qas-single-view": {
|
|
456
457
|
"attributes": [
|
|
457
|
-
"entity",
|
|
458
458
|
"custom-id",
|
|
459
459
|
"dialog",
|
|
460
|
-
"
|
|
461
|
-
"result",
|
|
462
|
-
"fields",
|
|
460
|
+
"entity",
|
|
463
461
|
"errors",
|
|
462
|
+
"fields",
|
|
463
|
+
"fetching",
|
|
464
464
|
"metadata",
|
|
465
|
-
"
|
|
465
|
+
"result",
|
|
466
|
+
"url"
|
|
466
467
|
],
|
|
467
468
|
"description": "Componente para C.R.U.D. responsável pela visualização (Read) ou conhecido também como \"show\"."
|
|
468
469
|
},
|
|
469
470
|
"qas-sortable": {
|
|
470
471
|
"attributes": [
|
|
471
472
|
"entity",
|
|
472
|
-
"sortable-options",
|
|
473
473
|
"list",
|
|
474
|
+
"sortable-options",
|
|
475
|
+
"sorted",
|
|
474
476
|
"tag",
|
|
475
|
-
"url"
|
|
476
|
-
"sorted"
|
|
477
|
+
"url"
|
|
477
478
|
],
|
|
478
479
|
"description": "Componente para reordenar items em uma lista e salvar após isto."
|
|
479
480
|
},
|
|
480
481
|
"qas-table-generator": {
|
|
481
482
|
"attributes": [
|
|
482
483
|
"columns",
|
|
484
|
+
"empty-result-text",
|
|
483
485
|
"fields",
|
|
484
486
|
"results",
|
|
485
487
|
"row-key",
|
|
486
|
-
"empty-result-text",
|
|
487
488
|
"use-scroll-on-grab"
|
|
488
489
|
],
|
|
489
490
|
"description": "Componente para criação de tabela dinâmica usando o `QTable` do quasar."
|
|
@@ -513,10 +514,10 @@
|
|
|
513
514
|
"qas-transfer": {
|
|
514
515
|
"attributes": [
|
|
515
516
|
"emit-value",
|
|
516
|
-
"model-value",
|
|
517
517
|
"fuse-options",
|
|
518
|
-
"label",
|
|
519
518
|
"label-key",
|
|
519
|
+
"label",
|
|
520
|
+
"model-value",
|
|
520
521
|
"options",
|
|
521
522
|
"use-empty-slot",
|
|
522
523
|
"value-key"
|
|
@@ -530,11 +531,11 @@
|
|
|
530
531
|
"error-message",
|
|
531
532
|
"hint",
|
|
532
533
|
"max-files",
|
|
534
|
+
"model-value",
|
|
533
535
|
"pica-resize-options",
|
|
536
|
+
"readonly",
|
|
534
537
|
"size-limit",
|
|
535
538
|
"use-resize",
|
|
536
|
-
"readonly",
|
|
537
|
-
"model-value",
|
|
538
539
|
"uploading"
|
|
539
540
|
],
|
|
540
541
|
"description": "Componente para upload com auto redimensionamento que implementa o \"QField\" e \"QUploader\"."
|
package/package.json
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 100 100">
|
|
3
|
+
<g>
|
|
4
|
+
<path id="small" fill="#424242" d="m86.6 10.3v-0.1c-1.5-2-3.3-3.7-5.4-5.3v0.1c-1.7 1.3-3.4 2.7-5 4.1-0.7-0.4-1.3-0.7-1.9-1-0.8-0.4-1.6-0.8-2.5-1-0.3-0.1-0.6-0.2-0.9-0.2-0.2-2.2-0.4-4.4-0.7-6.6-1-0.2-2-0.2-3.1-0.3h-1.6c-1 0.1-1.9 0.1-2.8 0.3-0.3 2.1-0.5 4.3-0.6 6.5-0.4 0-0.7 0.1-1.1 0.2-0.1 0-0.2 0-0.3 0.1-0.8 0.2-1.6 0.6-2.4 1-0.7 0.3-1.3 0.6-1.9 1-1.7-1.4-3.3-2.7-5-4.1l-0.1-0.1c-0.4 0.3-0.8 0.6-1.1 0.9-0.7 0.5-1.3 1.1-1.8 1.7-0.9 0.8-1.6 1.8-2.4 2.8h0.1c1.3 1.7 2.7 3.3 4.1 5-0.4 0.6-0.8 1.3-1.1 1.9-0.4 0.8-0.7 1.7-0.9 2.5-0.2 0.4-0.3 0.8-0.3 1.1-2.2 0.2-4.4 0.4-6.5 0.7-0.2 1-0.3 2-0.3 3.1 0 1.5 0.1 3 0.4 4.4 2.1 0.2 4.2 0.4 6.4 0.6 0 0.4 0.1 0.8 0.3 1.1 0.2 0.9 0.5 1.7 0.9 2.6 0.4 0.7 0.7 1.4 1.2 2-1.4 1.7-2.8 3.3-4.1 5 1.5 2.1 3.3 3.9 5.4 5.4v-0.1c1.6-1.3 3.3-2.7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7 5.3 0.4 7.8-1 2.5-1.5 4-3.5 4.8-6.2v-0.1c0.7-2.7 0.3-5.3-1.1-7.7-1.4-2.5-3.5-4.1-6.2-4.8-2.7-0.8-5.4-0.4-7.8 1-2.5 1.4-4 3.5-4.7 6.3zm6-4c1.9-1.1 3.8-1.4 5.8-0.8 2 0.5 3.6 1.7 4.7 3.6 1.1 1.8 1.3 3.8 0.8 5.8-0.6 2-1.8 3.6-3.6 4.6v0.1c-1.9 1-3.8 1.3-5.8 0.7-2.1-0.5-3.6-1.7-4.7-3.6-1-1.8-1.3-3.7-0.8-5.8 0.6-2 1.8-3.5 3.6-4.6z" />
|
|
18
|
+
<animateTransform
|
|
19
|
+
attributeName="transform"
|
|
20
|
+
attributeType="XML"
|
|
21
|
+
type="rotate"
|
|
22
|
+
from="0 32.5 65"
|
|
23
|
+
to="360 32.5 65"
|
|
24
|
+
dur="6s"
|
|
25
|
+
repeatCount="indefinite"/>
|
|
26
|
+
</g>
|
|
27
|
+
</svg>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<q-menu class="qas-actions-menu__menu">
|
|
4
4
|
<q-list class="qas-actions-menu__list" separator>
|
|
5
5
|
<slot v-for="(item, key) in list" :item="item" :name="key">
|
|
6
|
-
<q-item :key="key" class="text-
|
|
6
|
+
<q-item :key="key" class="text-primary" clickable v-bind="item.props" @click="onClick(item)">
|
|
7
7
|
<q-item-section>
|
|
8
8
|
<div class="flex items-center justify-center q-gutter-x-md">
|
|
9
9
|
<q-icon :name="item.icon" size="sm" />
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
<qas-delete v-if="hasDelete" v-bind="deleteProps" class="text-negative" clickable tag="q-item" @success="onDeleteSuccess">
|
|
17
17
|
<q-item-section>
|
|
18
|
-
<div class="flex items-center justify-center q-gutter-x-sm
|
|
18
|
+
<div class="flex items-center justify-center q-gutter-x-sm">
|
|
19
19
|
<q-icon :name="deleteIcon" size="sm" />
|
|
20
20
|
<div>{{ deleteLabel }}</div>
|
|
21
21
|
</div>
|
|
@@ -4,6 +4,21 @@ meta:
|
|
|
4
4
|
desc: Componente para abrir um menu de ação a partir de um botão, muito utilizado em tela de edição.
|
|
5
5
|
|
|
6
6
|
props:
|
|
7
|
+
delete-icon:
|
|
8
|
+
desc: Ícone do botão de deletar.
|
|
9
|
+
default: o_delete
|
|
10
|
+
type: String
|
|
11
|
+
|
|
12
|
+
delete-label:
|
|
13
|
+
desc: Rótulo do botão de deletar.
|
|
14
|
+
default: Excluir
|
|
15
|
+
type: String
|
|
16
|
+
|
|
17
|
+
delete-props:
|
|
18
|
+
desc: Props para repassar para o componente "QasDelete", caso seja um objeto vazio, o componente não vai adicionar a opção de deletar por padrão.
|
|
19
|
+
default: {}
|
|
20
|
+
type: Object
|
|
21
|
+
|
|
7
22
|
icon:
|
|
8
23
|
desc: Ícone do botão.
|
|
9
24
|
default: o_settings
|
|
@@ -29,21 +44,6 @@ props:
|
|
|
29
44
|
}"
|
|
30
45
|
]
|
|
31
46
|
|
|
32
|
-
delete-label:
|
|
33
|
-
desc: Rótulo do botão de deletar.
|
|
34
|
-
default: Excluir
|
|
35
|
-
type: String
|
|
36
|
-
|
|
37
|
-
delete-icon:
|
|
38
|
-
desc: Ícone do botão de deletar.
|
|
39
|
-
default: o_delete
|
|
40
|
-
type: String
|
|
41
|
-
|
|
42
|
-
delete-props:
|
|
43
|
-
desc: Props para repassar para o componente "QasDelete", caso seja um objeto vazio, o componente não vai adicionar a opção de deletar por padrão.
|
|
44
|
-
default: {}
|
|
45
|
-
type: Object
|
|
46
|
-
|
|
47
47
|
slots:
|
|
48
48
|
'[nome-da-chave]':
|
|
49
49
|
desc: 'Slot dinâmico gerado a partir das chaves dentro do objeto da prop "list"'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<q-header class="bg-white qas-app-bar shadow-
|
|
2
|
+
<q-header class="bg-white qas-app-bar shadow-14" height-hint="70">
|
|
3
3
|
<q-toolbar class="qas-app-bar__toolbar" color="bg-white">
|
|
4
4
|
<q-ajax-bar color="white" position="top" size="2px" />
|
|
5
5
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<div class="ellipsis text-bold">{{ user.email }}</div>
|
|
31
31
|
</div>
|
|
32
32
|
|
|
33
|
-
<q-menu anchor="bottom end" class="shadow-
|
|
33
|
+
<q-menu anchor="bottom end" class="shadow-14" max-height="400px" :offset="[0, 5]" self="top end">
|
|
34
34
|
<div class="qas-app-bar__user-menu">
|
|
35
35
|
<div class="q-pa-lg text-center">
|
|
36
36
|
<button class="unset" @click="goToProfile">
|
|
@@ -8,15 +8,15 @@ props:
|
|
|
8
8
|
desc: Controla se mostra ou não o menu de usuário.
|
|
9
9
|
type: Boolean
|
|
10
10
|
|
|
11
|
-
title:
|
|
12
|
-
desc: Título do header, normalmente usado como título da aplicação.
|
|
13
|
-
type: String
|
|
14
|
-
|
|
15
11
|
notifications:
|
|
16
12
|
desc: Ícone de notificação que fica ao lado do menu de usuário.
|
|
17
13
|
type: Object
|
|
18
14
|
default: {}
|
|
19
15
|
|
|
16
|
+
title:
|
|
17
|
+
desc: Título do header, normalmente usado como título da aplicação.
|
|
18
|
+
type: String
|
|
19
|
+
|
|
20
20
|
user:
|
|
21
21
|
desc: Informações de usuário para ser usado no menu.
|
|
22
22
|
type: Object
|
|
@@ -35,9 +35,8 @@
|
|
|
35
35
|
</q-list>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
|
-
<div class="q-mx-md">
|
|
39
|
-
|
|
40
|
-
<img v-if="!isMini" alt="Modular" class="block q-mb-md q-mx-auto" src="../../assets/logo-modular.svg">
|
|
38
|
+
<div v-if="brandMenu" class="q-mx-md">
|
|
39
|
+
<img v-if="!isMini" :alt="title" class="block q-mb-md q-mx-auto" :src="brandMenu">
|
|
41
40
|
</div>
|
|
42
41
|
</div>
|
|
43
42
|
</q-drawer>
|
|
@@ -65,6 +64,11 @@ export default {
|
|
|
65
64
|
type: String
|
|
66
65
|
},
|
|
67
66
|
|
|
67
|
+
brandMenu: {
|
|
68
|
+
default: '',
|
|
69
|
+
type: String
|
|
70
|
+
},
|
|
71
|
+
|
|
68
72
|
modules: {
|
|
69
73
|
default: () => [],
|
|
70
74
|
type: Array
|
|
@@ -4,25 +4,29 @@ meta:
|
|
|
4
4
|
desc: Menu lateral.
|
|
5
5
|
|
|
6
6
|
props:
|
|
7
|
-
|
|
8
|
-
desc:
|
|
9
|
-
|
|
10
|
-
type: Boolean
|
|
7
|
+
brand-menu:
|
|
8
|
+
desc: Imagem para ser usada como logo no menu.
|
|
9
|
+
type: String
|
|
11
10
|
|
|
12
11
|
items:
|
|
13
12
|
desc: Itens do menu.
|
|
14
13
|
type: Array
|
|
15
14
|
default: []
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
desc:
|
|
19
|
-
|
|
16
|
+
model-value:
|
|
17
|
+
desc: Model do componente, controla quando o menu lateral é aberto e fechado.
|
|
18
|
+
default: true
|
|
19
|
+
type: Boolean
|
|
20
20
|
|
|
21
21
|
modules:
|
|
22
22
|
desc: Lista de módulos que o usuário tem acesso para navegar.
|
|
23
23
|
type: Array
|
|
24
24
|
default: []
|
|
25
25
|
|
|
26
|
+
title:
|
|
27
|
+
desc: Título que vai ficar no label do select de módulos.
|
|
28
|
+
type: String
|
|
29
|
+
|
|
26
30
|
events:
|
|
27
31
|
'@update:model-value -> function(value)':
|
|
28
32
|
desc: Dispara quando o model-value altera, também usado para v-model.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<q-btn color="primary" no-caps unelevated v-bind="attributes">
|
|
3
|
-
<slot
|
|
3
|
+
<slot />
|
|
4
4
|
|
|
5
5
|
<template v-for="(_, name) in slots" #[name]="context">
|
|
6
6
|
<slot :name="name" v-bind="context || {}" />
|
|
@@ -32,7 +32,7 @@ export default {
|
|
|
32
32
|
},
|
|
33
33
|
|
|
34
34
|
hasLabel () {
|
|
35
|
-
return !!
|
|
35
|
+
return !!this.label
|
|
36
36
|
},
|
|
37
37
|
|
|
38
38
|
showLabel () {
|
|
@@ -8,7 +8,7 @@ meta:
|
|
|
8
8
|
|
|
9
9
|
props:
|
|
10
10
|
hide-label-on-small-screen:
|
|
11
|
-
desc: Esconde o rótulo (label) do botão quando o tamanho da tela for pequeno.
|
|
11
|
+
desc: Esconde o rótulo (label) do botão quando o tamanho da tela for pequeno (esta propriedade só funciona se o "rotulo") for passado via propriedade "label".
|
|
12
12
|
type: Boolean
|
|
13
13
|
|
|
14
14
|
label:
|