@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
package/dist/asteroid.esm.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,700;1,400;1,700&display=swap";:root{--qas-background-color: #f5f5f5;--qas-generic-border-radius: 8px}h1{font-size:6rem;font-weight:800;letter-spacing:0;line-height:6rem;margin:0}h2{font-size:3.75rem;font-weight:700;letter-spacing:0;line-height:3.75rem;margin:0}h3{font-size:3rem;font-weight:600;letter-spacing:0;line-height:2.5rem;margin:0}h4{font-size:2.125rem;font-weight:800;letter-spacing:0;line-height:2.5rem;margin:0}h5{font-size:1.5rem;font-weight:700;letter-spacing:0;line-height:2rem;margin:0}h6{font-size:1.25rem;font-weight:600;letter-spacing:0;line-height:2rem;margin:0}body{background-color:var(--qas-background-color)}.q-field--outlined .q-field__inner{background-color:#fff;border-radius:var(--qas-generic-border-radius)}.q-radio__inner::before{color:var(--q-primary)}.q-tabs__arrow{color:var(--q-primary)}.bg-no-repeat{background-repeat:no-repeat !important}.bg-size-contain{background-size:contain !important}.bg-size-cover{background-size:cover !important}.bg-position-bottom{background-position:bottom !important}.bg-position-center{background-position:center !important}.bg-position-left{background-position:left !important}.bg-position-right{background-position:right !important}.bg-position-top{background-position:top !important}.border-secondary-contrast:not(.border-top):not(.border-left):not(.border-bottom):not(.border-right),.border-secondary:not(.border-top):not(.border-left):not(.border-bottom):not(.border-right),.border-primary-contrast:not(.border-top):not(.border-left):not(.border-bottom):not(.border-right),.border-primary:not(.border-top):not(.border-left):not(.border-bottom):not(.border-right){border-width:1px !important}.border-primary{border:0 solid var(--q-primary) !important}.border-primary-contrast{border:0 solid var(--q-primary-contrast) !important}.border-secondary{border:0 solid var(--q-secondary) !important}.border-secondary-contrast{border:0 solid var(--q-secondary-contrast) !important}.border-top{border-top-width:1px !important}.border-left{border-left-width:1px !important}.border-bottom{border-bottom-width:1px !important}.border-right{border-right-width:1px !important}.rounded-borders-sm{border-radius:calc(var(--qas-generic-border-radius) / 2) !important}.rounded-borders-lg{border-radius:calc(var(--qas-generic-border-radius) * 2) !important}.rounded-borders-top{border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important}.rounded-borders-right{border-bottom-left-radius:0 !important;border-top-left-radius:0 !important}.rounded-borders-bottom{border-top-left-radius:0 !important;border-top-right-radius:0 !important}.rounded-borders-left{border-bottom-right-radius:0 !important;border-top-right-radius:0 !important}.container,.container-xs,.container-sm,.container-md,.container-lg,.container-xl{margin-left:auto;margin-right:auto;max-width:1280px;width:calc(100% - 80px)}.container.spaced,.container-xs.spaced,.container-sm.spaced,.container-md.spaced,.container-lg.spaced,.container-xl.spaced{padding-bottom:20px;padding-top:20px}@media(max-width: 599px){.container,.container-xs,.container-sm,.container-md,.container-lg,.container-xl{width:calc(100% - 20px)}}.container-xs{max-width:599px !important}.container-sm{max-width:1023px !important}.container-md{max-width:1439px !important}.container-lg{max-width:1919px !important}body{font-family:Inter,system-ui,sans-serif}.qs-lh-xs{line-height:.85 !important}.qs-lh-sm{line-height:1 !important}.qs-lh-md{line-height:1.15 !important}.qs-lh-lg{line-height:1.3 !important}.qs-lh-xl{line-height:1.5 !important}.opacity-10{opacity:0.1 !important}.opacity-20{opacity:0.2 !important}.opacity-30{opacity:0.3 !important}.opacity-40{opacity:0.4 !important}.opacity-50{opacity:0.5 !important}.opacity-60{opacity:0.6 !important}.opacity-70{opacity:0.7 !important}.opacity-80{opacity:0.8 !important}.opacity-90{opacity:0.9 !important}.
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,700;1,400;1,700&display=swap";:root{--qas-background-color: #f5f5f5;--qas-generic-border-radius: 8px}h1{font-size:6rem;font-weight:800;letter-spacing:0;line-height:6rem;margin:0}h2{font-size:3.75rem;font-weight:700;letter-spacing:0;line-height:3.75rem;margin:0}h3{font-size:3rem;font-weight:600;letter-spacing:0;line-height:2.5rem;margin:0}h4{font-size:2.125rem;font-weight:800;letter-spacing:0;line-height:2.5rem;margin:0}h5{font-size:1.5rem;font-weight:700;letter-spacing:0;line-height:2rem;margin:0}h6{font-size:1.25rem;font-weight:600;letter-spacing:0;line-height:2rem;margin:0}body{background-color:var(--qas-background-color)}.q-field--outlined .q-field__inner{background-color:#fff;border-radius:var(--qas-generic-border-radius)}.q-radio__inner::before{color:var(--q-primary)}.q-tabs__arrow{color:var(--q-primary)}.bg-no-repeat{background-repeat:no-repeat !important}.bg-size-contain{background-size:contain !important}.bg-size-cover{background-size:cover !important}.bg-position-bottom{background-position:bottom !important}.bg-position-center{background-position:center !important}.bg-position-left{background-position:left !important}.bg-position-right{background-position:right !important}.bg-position-top{background-position:top !important}.border-secondary-contrast:not(.border-top):not(.border-left):not(.border-bottom):not(.border-right),.border-secondary:not(.border-top):not(.border-left):not(.border-bottom):not(.border-right),.border-primary-contrast:not(.border-top):not(.border-left):not(.border-bottom):not(.border-right),.border-primary:not(.border-top):not(.border-left):not(.border-bottom):not(.border-right){border-width:1px !important}.border-primary{border:0 solid var(--q-primary) !important}.border-primary-contrast{border:0 solid var(--q-primary-contrast) !important}.border-secondary{border:0 solid var(--q-secondary) !important}.border-secondary-contrast{border:0 solid var(--q-secondary-contrast) !important}.border-top{border-top-width:1px !important}.border-left{border-left-width:1px !important}.border-bottom{border-bottom-width:1px !important}.border-right{border-right-width:1px !important}.rounded-borders-sm{border-radius:calc(var(--qas-generic-border-radius) / 2) !important}.rounded-borders-lg{border-radius:calc(var(--qas-generic-border-radius) * 2) !important}.rounded-borders-top{border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important}.rounded-borders-right{border-bottom-left-radius:0 !important;border-top-left-radius:0 !important}.rounded-borders-bottom{border-top-left-radius:0 !important;border-top-right-radius:0 !important}.rounded-borders-left{border-bottom-right-radius:0 !important;border-top-right-radius:0 !important}.container,.container-xs,.container-sm,.container-md,.container-lg,.container-xl{margin-left:auto;margin-right:auto;max-width:1280px;width:calc(100% - 80px)}.container.spaced,.container-xs.spaced,.container-sm.spaced,.container-md.spaced,.container-lg.spaced,.container-xl.spaced{padding-bottom:20px;padding-top:20px}@media(max-width: 599px){.container,.container-xs,.container-sm,.container-md,.container-lg,.container-xl{width:calc(100% - 20px)}}.container-xs{max-width:599px !important}.container-sm{max-width:1023px !important}.container-md{max-width:1439px !important}.container-lg{max-width:1919px !important}body{font-family:Inter,system-ui,sans-serif}.qs-lh-xs{line-height:.85 !important}.qs-lh-sm{line-height:1 !important}.qs-lh-md{line-height:1.15 !important}.qs-lh-lg{line-height:1.3 !important}.qs-lh-xl{line-height:1.5 !important}.opacity-10{opacity:0.1 !important}.opacity-20{opacity:0.2 !important}.opacity-30{opacity:0.3 !important}.opacity-40{opacity:0.4 !important}.opacity-50{opacity:0.5 !important}.opacity-60{opacity:0.6 !important}.opacity-70{opacity:0.7 !important}.opacity-80{opacity:0.8 !important}.opacity-90{opacity:0.9 !important}.text-baseline{vertical-align:baseline !important}.text-break{word-break:break-all !important}.text-underline{text-decoration:underline !important}.text-no-decoration{text-decoration:none !important}.unset{all:unset}a.unset,button.unset{cursor:pointer}.qas-actions-menu__list{width:265px;z-index:1}.qas-alert{border-style:solid;border-width:0 10px}.qas-app-bar__toolbar{height:70px}.qas-app-bar__brand{height:24px;margin-right:8px;position:relative;top:4px}.qas-app-bar__user{background-color:var(--qas-background-color);transition:background-color .3s cubic-bezier(0.25, 0.8, 0.5, 1)}.qas-app-bar__user:focus,.qas-app-bar__user:hover{background-color:rgba(255,255,255,.2)}.qas-app-bar__user-data{max-width:180px}.qas-app-bar__user-menu{width:260px}@media(max-width: 599px){.qas-app-bar__user-data{display:none}}.q-expansion-item--expanded .q-item:not(.qas-app-menu--active.q-item){background-color:#fafafa}.qas-list-items .q-list>.q-item{padding:24px 16px}.qas-nested-fields__actions{height:56px}.qas-map__draw{height:300px;width:100%}.qas-signature-pad__canvas{border:1px solid rgba(0,0,0,.12)}.qas-table-generator .q-table th{font-weight:bold}.qas-table-generator--mobile{margin:0 -10px}.qas-table-generator--mobile .q-table{margin-left:10px}.qas-transfer__icon{transform:rotate(-90deg)}.qas-uploader__input{display:none}
|
package/dist/asteroid.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @bildvitta/quasar-ui-asteroid v3.0.0-beta.
|
|
2
|
+
* @bildvitta/quasar-ui-asteroid v3.0.0-beta.7
|
|
3
3
|
* (c) 2022 Bild & Vitta <systemteam@bild.com.br>
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, resolveComponent, createBlock, mergeProps, createSlots, withCtx,
|
|
6
|
+
import { openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, resolveComponent, createBlock, mergeProps, createSlots, withCtx, renderList, normalizeProps, guardReactiveProps, createVNode, Fragment, toDisplayString, createCommentVNode, resolveDynamicComponent, createTextVNode, resolveDirective, withDirectives, reactive, computed, markRaw, vShow, normalizeStyle, withModifiers, TransitionGroup } from 'vue';
|
|
7
7
|
import { camelize, camelizeKeys } from 'humps';
|
|
8
8
|
import { parseISO, format, isMatch } from 'date-fns';
|
|
9
9
|
import { ptBR } from 'date-fns/locale';
|
|
@@ -87,7 +87,7 @@ var script$K = {
|
|
|
87
87
|
},
|
|
88
88
|
|
|
89
89
|
hasLabel () {
|
|
90
|
-
return !!
|
|
90
|
+
return !!this.label
|
|
91
91
|
},
|
|
92
92
|
|
|
93
93
|
showLabel () {
|
|
@@ -110,9 +110,7 @@ function render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
110
110
|
unelevated: ""
|
|
111
111
|
}, $options.attributes), createSlots({
|
|
112
112
|
default: withCtx(() => [
|
|
113
|
-
(
|
|
114
|
-
? renderSlot(_ctx.$slots, "default", { key: 0 })
|
|
115
|
-
: createCommentVNode("v-if", true)
|
|
113
|
+
renderSlot(_ctx.$slots, "default")
|
|
116
114
|
]),
|
|
117
115
|
_: 2 /* DYNAMIC */
|
|
118
116
|
}, [
|
|
@@ -192,7 +190,7 @@ var script$J = {
|
|
|
192
190
|
};
|
|
193
191
|
|
|
194
192
|
const _hoisted_1$r = { class: "flex items-center justify-center q-gutter-x-md" };
|
|
195
|
-
const _hoisted_2$k = { class: "flex items-center justify-center q-gutter-x-sm
|
|
193
|
+
const _hoisted_2$k = { class: "flex items-center justify-center q-gutter-x-sm" };
|
|
196
194
|
|
|
197
195
|
function render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
198
196
|
const _component_q_icon = resolveComponent("q-icon");
|
|
@@ -224,7 +222,7 @@ function render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
224
222
|
return renderSlot(_ctx.$slots, key, { item: item }, () => [
|
|
225
223
|
(openBlock(), createBlock(_component_q_item, mergeProps({
|
|
226
224
|
key: key,
|
|
227
|
-
class: "text-
|
|
225
|
+
class: "text-primary",
|
|
228
226
|
clickable: ""
|
|
229
227
|
}, item.props, {
|
|
230
228
|
onClick: $event => ($options.onClick(item))
|
|
@@ -1020,7 +1018,7 @@ function render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1020
1018
|
const _directive_close_popup = resolveDirective("close-popup");
|
|
1021
1019
|
|
|
1022
1020
|
return (openBlock(), createBlock(_component_q_header, {
|
|
1023
|
-
class: "bg-white qas-app-bar shadow-
|
|
1021
|
+
class: "bg-white qas-app-bar shadow-14",
|
|
1024
1022
|
"height-hint": "70"
|
|
1025
1023
|
}, {
|
|
1026
1024
|
default: withCtx(() => [
|
|
@@ -1123,7 +1121,7 @@ function render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1123
1121
|
]),
|
|
1124
1122
|
createVNode(_component_q_menu, {
|
|
1125
1123
|
anchor: "bottom end",
|
|
1126
|
-
class: "shadow-
|
|
1124
|
+
class: "shadow-14",
|
|
1127
1125
|
"max-height": "400px",
|
|
1128
1126
|
offset: [0, 5],
|
|
1129
1127
|
self: "top end"
|
|
@@ -1202,6 +1200,11 @@ var script$E = {
|
|
|
1202
1200
|
type: String
|
|
1203
1201
|
},
|
|
1204
1202
|
|
|
1203
|
+
brandMenu: {
|
|
1204
|
+
default: '',
|
|
1205
|
+
type: String
|
|
1206
|
+
},
|
|
1207
|
+
|
|
1205
1208
|
modules: {
|
|
1206
1209
|
default: () => [],
|
|
1207
1210
|
type: Array
|
|
@@ -1315,21 +1318,17 @@ var script$E = {
|
|
|
1315
1318
|
}
|
|
1316
1319
|
};
|
|
1317
1320
|
|
|
1318
|
-
var _imports_0 = "data:image/svg+xml,%3Csvg%20width%3D%22126%22%20height%3D%2226%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20opacity%3D%22.3%22%3E%3Cg%20clip-path%3D%22url%28%23a%29%22%3E%3Cpath%20d%3D%22M6.829%2010.909c.02-2.295.059-4.6.119-6.895C9.197%202.653%2011.41%201.3%2013.58%200c2.172%201.301%204.393%202.653%206.634%204.014.07%202.295.11%204.6.12%206.895a342.175%20342.175%200%200%200%206.048%203.417c-.02%202.504-.1%205.017-.238%207.521A575.699%20575.699%200%200%200%2019.392%2026a404.892%20404.892%200%200%201-5.81-3.388A525.05%20525.05%200%200%201%207.77%2026a574.702%20574.702%200%200%200-6.753-4.153%20158.72%20158.72%200%200%201-.238-7.52%20381.833%20381.833%200%200%200%206.049-3.418Zm6.752-9.24c-1.487.884-2.994%201.788-4.521%202.702%201.487.855%202.994%201.73%204.521%202.613a830.152%20830.152%200%200%201%204.522-2.613c-1.527-.904-3.034-1.818-4.522-2.702Zm.714%206.577v5.295c1.537-.884%203.064-1.768%204.591-2.642-.01-1.759-.03-3.507-.06-5.266-1.487.855-3.004%201.729-4.53%202.613Zm5.87%2015.658a402.133%20402.133%200%200%201%204.602-2.792c.079-1.719.128-3.438.158-5.156-1.547.884-3.084%201.788-4.62%202.692-.04%201.749-.08%203.507-.14%205.256Zm4.046-9.16c-1.517-.845-3.044-1.72-4.571-2.593a767.782%20767.782%200%200%200-4.601%202.652c1.527.884%203.044%201.759%204.551%202.613%201.547-.894%203.084-1.788%204.621-2.672Zm-15.806%209.21c1.468-.835%202.955-1.71%204.462-2.594%200-1.768-.01-3.546-.01-5.315a577.521%20577.521%200%200%201-4.56%202.623c.029%201.758.059%203.527.108%205.285Zm3.719-9.15c-1.537-.885-3.064-1.78-4.601-2.653a310.65%20310.65%200%200%201-4.572%202.593c1.537.874%203.084%201.768%204.621%202.672a573.757%20573.757%200%200%200%204.552-2.613Z%22%20fill%3D%22%2300314D%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22m47.676%2021.17-.022-10.315-5.113%208.536h-1.29l-5.112-8.403V21.17h-2.756V5.61h2.378l6.18%2010.314L48.01%205.61h2.378l.022%2015.56h-2.734ZM58.193%2021.325c-1.2%200-2.282-.26-3.245-.778a5.774%205.774%200%200%201-2.268-2.156c-.533-.934-.8-1.986-.8-3.157%200-1.17.267-2.215.8-3.134a5.774%205.774%200%200%201%202.267-2.156c.964-.52%202.045-.778%203.246-.778%201.215%200%202.304.259%203.268.778a5.619%205.619%200%200%201%202.245%202.156c.548.919.822%201.963.822%203.134%200%201.17-.274%202.223-.822%203.157a5.62%205.62%200%200%201-2.245%202.156c-.964.518-2.053.778-3.268.778Zm0-2.379c1.023%200%201.867-.34%202.534-1.022.667-.682%201-1.578%201-2.69%200-1.111-.333-2.008-1-2.69-.667-.681-1.511-1.022-2.534-1.022s-1.867.34-2.534%201.022c-.652.682-.978%201.579-.978%202.69%200%201.112.326%202.008.978%202.69.667.681%201.511%201.022%202.534%201.022ZM78.513%204.675V21.17h-2.667v-1.534c-.46.563-1.03.986-1.712%201.267-.667.282-1.408.423-2.223.423-1.14%200-2.17-.252-3.09-.756a5.47%205.47%200%200%201-2.133-2.134c-.52-.934-.779-2-.779-3.2%200-1.201.26-2.26.778-3.18a5.471%205.471%200%200%201%202.135-2.134c.918-.504%201.948-.755%203.09-.755.785%200%201.503.133%202.155.4a4.337%204.337%200%200%201%201.668%201.2v-6.09h2.778Zm-6.268%2014.271c.667%200%201.267-.148%201.8-.444a3.372%203.372%200%200%200%201.267-1.312c.312-.563.467-1.215.467-1.956%200-.74-.155-1.393-.467-1.956a3.217%203.217%200%200%200-1.267-1.29%203.507%203.507%200%200%200-1.8-.466c-.667%200-1.267.155-1.8.467a3.217%203.217%200%200%200-1.268%201.289c-.311.563-.467%201.215-.467%201.956%200%20.741.156%201.393.467%201.956.311.563.734%201%201.267%201.312a3.644%203.644%200%200%200%201.8.444ZM91.854%209.299v11.87H89.21v-1.511c-.444.533-1%20.948-1.667%201.244a5.487%205.487%200%200%201-2.156.423c-1.586%200-2.838-.437-3.757-1.312-.904-.889-1.356-2.2-1.356-3.934v-6.78h2.779V15.7c0%201.067.237%201.867.711%202.4.49.52%201.178.779%202.067.779.993%200%201.779-.304%202.357-.912.592-.622.889-1.511.889-2.667V9.299h2.778ZM93.805%204.675h2.78V21.17h-2.78V4.675ZM103.773%209.166c1.749%200%203.083.422%204.002%201.267.933.83%201.4%202.09%201.4%203.778v6.958h-2.623v-1.445c-.341.519-.83.92-1.467%201.2-.622.267-1.378.4-2.267.4-.89%200-1.668-.147-2.334-.444-.667-.311-1.186-.733-1.556-1.267a3.317%203.317%200%200%201-.534-1.845c0-1.067.393-1.919%201.178-2.556.8-.652%202.053-.978%203.757-.978h3.067v-.178c0-.83-.252-1.467-.755-1.912-.489-.444-1.223-.667-2.201-.667-.667%200-1.326.104-1.978.312-.638.207-1.179.496-1.623.867l-1.09-2.023c.623-.475%201.371-.838%202.246-1.09a9.984%209.984%200%200%201%202.778-.377Zm-.377%2010.136c.696%200%201.311-.156%201.845-.467a2.638%202.638%200%200%200%201.155-1.378v-1.378h-2.867c-1.601%200-2.401.526-2.401%201.578%200%20.504.2.904.6%201.2.4.297.956.445%201.668.445ZM113.997%2011.033c.8-1.245%202.208-1.867%204.224-1.867v2.645a3.532%203.532%200%200%200-.645-.067c-1.082%200-1.927.319-2.534.956-.608.622-.912%201.526-.912%202.712v5.757h-2.778V9.3h2.645v1.734Z%22%20fill%3D%22%2300314D%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22a%22%3E%3Cpath%20fill%3D%22%23fff%22%20transform%3D%22matrix%28-1%200%200%201%2026.383%200%29%22%20d%3D%22M0%200h25.603v26H0z%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";
|
|
1319
|
-
|
|
1320
1321
|
const _hoisted_1$o = { class: "column flex full-height justify-between no-wrap overflow-x-hidden" };
|
|
1321
1322
|
const _hoisted_2$h = {
|
|
1322
1323
|
key: 0,
|
|
1323
1324
|
class: "q-ma-md"
|
|
1324
1325
|
};
|
|
1325
1326
|
const _hoisted_3$d = /*#__PURE__*/createElementVNode("div", { class: "q-mb-sm text-caption text-grey-7 text-weight-medium" }, " Você está no modulo: ", -1 /* HOISTED */);
|
|
1326
|
-
const _hoisted_4$9 = {
|
|
1327
|
-
const _hoisted_5$6 = {
|
|
1327
|
+
const _hoisted_4$9 = {
|
|
1328
1328
|
key: 0,
|
|
1329
|
-
|
|
1330
|
-
class: "block q-mb-md q-mx-auto",
|
|
1331
|
-
src: _imports_0
|
|
1329
|
+
class: "q-mx-md"
|
|
1332
1330
|
};
|
|
1331
|
+
const _hoisted_5$6 = ["alt", "src"];
|
|
1333
1332
|
|
|
1334
1333
|
function render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1335
1334
|
const _component_qas_select = resolveComponent("qas-select");
|
|
@@ -1470,12 +1469,18 @@ function render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1470
1469
|
_: 1 /* STABLE */
|
|
1471
1470
|
})
|
|
1472
1471
|
]),
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1472
|
+
($props.brandMenu)
|
|
1473
|
+
? (openBlock(), createElementBlock("div", _hoisted_4$9, [
|
|
1474
|
+
(!$data.isMini)
|
|
1475
|
+
? (openBlock(), createElementBlock("img", {
|
|
1476
|
+
key: 0,
|
|
1477
|
+
alt: $props.title,
|
|
1478
|
+
class: "block q-mb-md q-mx-auto",
|
|
1479
|
+
src: $props.brandMenu
|
|
1480
|
+
}, null, 8 /* PROPS */, _hoisted_5$6))
|
|
1481
|
+
: createCommentVNode("v-if", true)
|
|
1482
|
+
]))
|
|
1483
|
+
: createCommentVNode("v-if", true)
|
|
1479
1484
|
])
|
|
1480
1485
|
]),
|
|
1481
1486
|
_: 1 /* STABLE */
|
|
@@ -1502,7 +1507,7 @@ var script$D = {
|
|
|
1502
1507
|
boxClass () {
|
|
1503
1508
|
return {
|
|
1504
1509
|
'border-primary-contrast': this.outlined,
|
|
1505
|
-
'shadow-
|
|
1510
|
+
'shadow-14': !this.unelevated
|
|
1506
1511
|
}
|
|
1507
1512
|
}
|
|
1508
1513
|
}
|
|
@@ -1559,7 +1564,7 @@ var script$C = {
|
|
|
1559
1564
|
},
|
|
1560
1565
|
|
|
1561
1566
|
cardClasses () {
|
|
1562
|
-
return this.formMode ? 'bg-white border-primary no-shadow' : '
|
|
1567
|
+
return this.formMode ? 'bg-white border-primary no-shadow' : 'shadow-14'
|
|
1563
1568
|
},
|
|
1564
1569
|
|
|
1565
1570
|
gutterClass () {
|
|
@@ -1883,7 +1888,7 @@ function render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1883
1888
|
]),
|
|
1884
1889
|
createVNode(_component_qas_btn, {
|
|
1885
1890
|
class: "q-ml-xs",
|
|
1886
|
-
color: "grey-
|
|
1891
|
+
color: "grey-7",
|
|
1887
1892
|
flat: "",
|
|
1888
1893
|
icon: $props.icon,
|
|
1889
1894
|
loading: $data.isLoading,
|
|
@@ -2999,7 +3004,10 @@ var script$t = {
|
|
|
2999
3004
|
}
|
|
3000
3005
|
},
|
|
3001
3006
|
|
|
3002
|
-
emits: [
|
|
3007
|
+
emits: [
|
|
3008
|
+
'update:modelValue',
|
|
3009
|
+
'update-model'
|
|
3010
|
+
],
|
|
3003
3011
|
|
|
3004
3012
|
data () {
|
|
3005
3013
|
return {
|
|
@@ -3010,15 +3018,13 @@ var script$t = {
|
|
|
3010
3018
|
computed: {
|
|
3011
3019
|
defaultMode () {
|
|
3012
3020
|
return defaultModes[this.mode]
|
|
3013
|
-
}
|
|
3014
|
-
|
|
3015
|
-
model: {
|
|
3016
|
-
get () {
|
|
3017
|
-
return this.modelValue
|
|
3018
|
-
},
|
|
3021
|
+
}
|
|
3022
|
+
},
|
|
3019
3023
|
|
|
3020
|
-
|
|
3021
|
-
|
|
3024
|
+
watch: {
|
|
3025
|
+
modelValue (value) {
|
|
3026
|
+
if (this.autoNumeric) {
|
|
3027
|
+
this.autoNumeric.set(value);
|
|
3022
3028
|
}
|
|
3023
3029
|
}
|
|
3024
3030
|
},
|
|
@@ -3053,39 +3059,56 @@ var script$t = {
|
|
|
3053
3059
|
Object.assign(options, this.autonumericProps);
|
|
3054
3060
|
|
|
3055
3061
|
this.$nextTick(() => {
|
|
3056
|
-
this.$refs.input.value = this.modelValue;
|
|
3057
3062
|
this.autoNumeric = new AutoNumeric(this.$refs.input, options);
|
|
3063
|
+
this.autoNumeric.set(this.modelValue);
|
|
3058
3064
|
});
|
|
3059
3065
|
},
|
|
3060
3066
|
|
|
3061
3067
|
beforeUnmount () {
|
|
3062
3068
|
this.autoNumeric.remove();
|
|
3069
|
+
},
|
|
3070
|
+
|
|
3071
|
+
methods: {
|
|
3072
|
+
setSelect () {
|
|
3073
|
+
this.$refs?.input?.select();
|
|
3074
|
+
},
|
|
3075
|
+
|
|
3076
|
+
emitValue () {
|
|
3077
|
+
this.$emit('update:modelValue', this.autoNumeric.getNumber());
|
|
3078
|
+
},
|
|
3079
|
+
|
|
3080
|
+
emitUpdateModel (value) {
|
|
3081
|
+
this.$emit('update-model', {
|
|
3082
|
+
value,
|
|
3083
|
+
raw: this.autoNumeric.getNumber()
|
|
3084
|
+
});
|
|
3085
|
+
}
|
|
3063
3086
|
}
|
|
3064
3087
|
};
|
|
3065
3088
|
|
|
3066
|
-
const _hoisted_1$j = ["id"
|
|
3089
|
+
const _hoisted_1$j = ["id"];
|
|
3067
3090
|
|
|
3068
3091
|
function render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3069
3092
|
const _component_q_field = resolveComponent("q-field");
|
|
3070
3093
|
|
|
3071
3094
|
return (openBlock(), createBlock(_component_q_field, {
|
|
3072
|
-
|
|
3073
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (($options.model) = $event)),
|
|
3095
|
+
"model-value": $props.modelValue,
|
|
3074
3096
|
outlined: ""
|
|
3075
3097
|
}, {
|
|
3076
|
-
control: withCtx(({
|
|
3098
|
+
control: withCtx(({ floatingLabel, id }) => [
|
|
3077
3099
|
withDirectives(createElementVNode("input", {
|
|
3078
3100
|
id: id,
|
|
3079
3101
|
ref: "input",
|
|
3080
3102
|
class: "q-field__input",
|
|
3081
|
-
|
|
3082
|
-
|
|
3103
|
+
onBlur: _cache[0] || (_cache[0] = (...args) => ($options.emitValue && $options.emitValue(...args))),
|
|
3104
|
+
onClick: _cache[1] || (_cache[1] = (...args) => ($options.setSelect && $options.setSelect(...args))),
|
|
3105
|
+
onInput: _cache[2] || (_cache[2] = $event => ($options.emitUpdateModel($event.target.value)))
|
|
3083
3106
|
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_1$j), [
|
|
3084
3107
|
[vShow, floatingLabel]
|
|
3085
3108
|
])
|
|
3086
3109
|
]),
|
|
3087
3110
|
_: 1 /* STABLE */
|
|
3088
|
-
}, 8 /* PROPS */, ["
|
|
3111
|
+
}, 8 /* PROPS */, ["model-value"]))
|
|
3089
3112
|
}
|
|
3090
3113
|
|
|
3091
3114
|
script$t.render = render$t;
|
|
@@ -3341,7 +3364,8 @@ function render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3341
3364
|
createVNode(_component_qas_input, mergeProps({
|
|
3342
3365
|
modelValue: $options.model,
|
|
3343
3366
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (($options.model) = $event)),
|
|
3344
|
-
"bottom-slots":
|
|
3367
|
+
"bottom-slots": false,
|
|
3368
|
+
color: "negative"
|
|
3345
3369
|
}, _ctx.$attrs, {
|
|
3346
3370
|
"remove-error-on-type": "",
|
|
3347
3371
|
type: $options.type
|
|
@@ -3644,7 +3668,7 @@ var script$q = {
|
|
|
3644
3668
|
},
|
|
3645
3669
|
|
|
3646
3670
|
getFileNameClass (isFailed) {
|
|
3647
|
-
return isFailed ? 'text-negative' : 'text-grey-
|
|
3671
|
+
return isFailed ? 'text-negative' : 'text-grey-9'
|
|
3648
3672
|
},
|
|
3649
3673
|
|
|
3650
3674
|
isFailed (file) {
|
|
@@ -3836,7 +3860,7 @@ function render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3836
3860
|
}, [
|
|
3837
3861
|
createVNode(_component_qas_avatar, {
|
|
3838
3862
|
class: "q-mr-sm",
|
|
3839
|
-
color: "
|
|
3863
|
+
color: "contrast-primary",
|
|
3840
3864
|
icon: "o_attach_file",
|
|
3841
3865
|
image: file.image,
|
|
3842
3866
|
rounded: "",
|
|
@@ -4586,7 +4610,7 @@ var script$m = {
|
|
|
4586
4610
|
},
|
|
4587
4611
|
|
|
4588
4612
|
filterButtonColor () {
|
|
4589
|
-
return this.hasActiveFilters ? 'primary' : 'grey-
|
|
4613
|
+
return this.hasActiveFilters ? 'primary' : 'grey-9'
|
|
4590
4614
|
},
|
|
4591
4615
|
|
|
4592
4616
|
filterButtonLabel () {
|
|
@@ -4833,7 +4857,10 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4833
4857
|
label: $options.filterButtonLabel
|
|
4834
4858
|
}, {
|
|
4835
4859
|
default: withCtx(() => [
|
|
4836
|
-
createVNode(_component_q_menu,
|
|
4860
|
+
createVNode(_component_q_menu, {
|
|
4861
|
+
class: "full-width",
|
|
4862
|
+
"max-width": "240px"
|
|
4863
|
+
}, {
|
|
4837
4864
|
default: withCtx(() => [
|
|
4838
4865
|
($data.isFetching)
|
|
4839
4866
|
? (openBlock(), createElementBlock("div", _hoisted_4$6, [
|
|
@@ -4901,11 +4928,11 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4901
4928
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.activeFilters, (filterItem, key) => {
|
|
4902
4929
|
return (openBlock(), createBlock(_component_q_chip, {
|
|
4903
4930
|
key: key,
|
|
4904
|
-
color: "
|
|
4931
|
+
color: "primary",
|
|
4905
4932
|
dense: "",
|
|
4906
4933
|
removable: "",
|
|
4907
4934
|
size: "md",
|
|
4908
|
-
"text-color": "
|
|
4935
|
+
"text-color": "white",
|
|
4909
4936
|
onRemove: $event => ($options.removeFilter(filterItem))
|
|
4910
4937
|
}, {
|
|
4911
4938
|
default: withCtx(() => [
|
|
@@ -6209,7 +6236,7 @@ var script$f = {
|
|
|
6209
6236
|
}
|
|
6210
6237
|
};
|
|
6211
6238
|
|
|
6212
|
-
const _hoisted_1$b = { class: "qas-list-items shadow-
|
|
6239
|
+
const _hoisted_1$b = { class: "qas-list-items shadow-14" };
|
|
6213
6240
|
|
|
6214
6241
|
function render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6215
6242
|
const _component_q_item_section = resolveComponent("q-item-section");
|
|
@@ -6362,6 +6389,7 @@ var script$e = {
|
|
|
6362
6389
|
handler (value) {
|
|
6363
6390
|
this.$emit('update:results', extend([], true, value));
|
|
6364
6391
|
},
|
|
6392
|
+
deep: true,
|
|
6365
6393
|
immediate: true
|
|
6366
6394
|
}
|
|
6367
6395
|
},
|
|
@@ -6380,10 +6408,16 @@ var script$e = {
|
|
|
6380
6408
|
async fetchList (filters = {}) {
|
|
6381
6409
|
this.mx_isFetching = true;
|
|
6382
6410
|
|
|
6411
|
+
const hasFilters = !!Object.keys(filters).length;
|
|
6412
|
+
|
|
6383
6413
|
try {
|
|
6384
6414
|
const response = await this.$store.dispatch(
|
|
6385
6415
|
`${this.entity}/fetchList`,
|
|
6386
|
-
{
|
|
6416
|
+
{
|
|
6417
|
+
...this.mx_context,
|
|
6418
|
+
url: this.url,
|
|
6419
|
+
...(hasFilters && { filters })
|
|
6420
|
+
}
|
|
6387
6421
|
);
|
|
6388
6422
|
|
|
6389
6423
|
const { errors, fields, metadata } = response.data;
|
|
@@ -6427,7 +6461,7 @@ const _hoisted_2$7 = { class: "relative-position" };
|
|
|
6427
6461
|
const _hoisted_3$4 = { key: 0 };
|
|
6428
6462
|
const _hoisted_4$4 = { key: 1 };
|
|
6429
6463
|
const _hoisted_5$3 = { class: "q-my-xl text-center" };
|
|
6430
|
-
const _hoisted_6$1 = /*#__PURE__*/createElementVNode("div", { class: "text-grey-
|
|
6464
|
+
const _hoisted_6$1 = /*#__PURE__*/createElementVNode("div", { class: "text-grey-7" }, "Nenhum item encontrado.", -1 /* HOISTED */);
|
|
6431
6465
|
const _hoisted_7$1 = {
|
|
6432
6466
|
key: 2,
|
|
6433
6467
|
class: "q-py-lg text-center"
|
|
@@ -6475,7 +6509,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6475
6509
|
createElementVNode("div", _hoisted_5$3, [
|
|
6476
6510
|
createVNode(_component_q_icon, {
|
|
6477
6511
|
class: "q-mb-sm text-center",
|
|
6478
|
-
color: "grey-
|
|
6512
|
+
color: "grey-7",
|
|
6479
6513
|
name: "o_search",
|
|
6480
6514
|
size: "38px"
|
|
6481
6515
|
}),
|
|
@@ -7449,7 +7483,7 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7449
7483
|
|
|
7450
7484
|
return (openBlock(), createBlock(_component_q_img, {
|
|
7451
7485
|
ratio: $options.ratio,
|
|
7452
|
-
"spinner-color": "grey-
|
|
7486
|
+
"spinner-color": "grey-7",
|
|
7453
7487
|
src: $options.imageSource
|
|
7454
7488
|
}, {
|
|
7455
7489
|
error: withCtx(() => [
|
|
@@ -8186,7 +8220,7 @@ const _hoisted_2$2 = {
|
|
|
8186
8220
|
key: 2,
|
|
8187
8221
|
class: "q-my-xl text-center"
|
|
8188
8222
|
};
|
|
8189
|
-
const _hoisted_3$1 = /*#__PURE__*/createElementVNode("div", { class: "text-grey-
|
|
8223
|
+
const _hoisted_3$1 = /*#__PURE__*/createElementVNode("div", { class: "text-grey-7" }, "Nenhum item encontrado.", -1 /* HOISTED */);
|
|
8190
8224
|
const _hoisted_4$1 = { key: 3 };
|
|
8191
8225
|
|
|
8192
8226
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -8209,7 +8243,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8209
8243
|
? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
8210
8244
|
createVNode(_component_q_icon, {
|
|
8211
8245
|
class: "q-mb-sm text-center",
|
|
8212
|
-
color: "grey-
|
|
8246
|
+
color: "grey-7",
|
|
8213
8247
|
name: "o_search",
|
|
8214
8248
|
size: "38px"
|
|
8215
8249
|
}),
|
|
@@ -8972,6 +9006,7 @@ var script = {
|
|
|
8972
9006
|
options: {
|
|
8973
9007
|
handler (value) {
|
|
8974
9008
|
this.optionsList = extend(true, [], value);
|
|
9009
|
+
this.setSelectedFromValue(true);
|
|
8975
9010
|
},
|
|
8976
9011
|
|
|
8977
9012
|
immediate: true
|
|
@@ -9037,7 +9072,7 @@ var script = {
|
|
|
9037
9072
|
},
|
|
9038
9073
|
|
|
9039
9074
|
setSelectedFromValue (isFirst) {
|
|
9040
|
-
this.modelValue.forEach(item => {
|
|
9075
|
+
this.optionsList.length && this.modelValue.forEach(item => {
|
|
9041
9076
|
const selected = this.optionsList.find(option => {
|
|
9042
9077
|
return option[this.valueKey] === (this.emitValue ? item : item[this.valueKey])
|
|
9043
9078
|
});
|
|
@@ -9214,7 +9249,7 @@ script.__file = "src/components/transfer/QasTransfer.vue";
|
|
|
9214
9249
|
|
|
9215
9250
|
var name = "@bildvitta/quasar-ui-asteroid";
|
|
9216
9251
|
var description = "Asteroid";
|
|
9217
|
-
var version$1 = "3.0.0-beta.
|
|
9252
|
+
var version$1 = "3.0.0-beta.7";
|
|
9218
9253
|
var author = "Bild & Vitta <systemteam@bild.com.br>";
|
|
9219
9254
|
var license = "MIT";
|
|
9220
9255
|
var main = "dist/asteroid.cjs.min.js";
|