@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.umd.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-map__draw{height:300px;width:100%}.qas-nested-fields__actions{height:56px}.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.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
|
*/
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
},
|
|
89
89
|
|
|
90
90
|
hasLabel () {
|
|
91
|
-
return !!
|
|
91
|
+
return !!this.label
|
|
92
92
|
},
|
|
93
93
|
|
|
94
94
|
showLabel () {
|
|
@@ -111,9 +111,7 @@
|
|
|
111
111
|
unelevated: ""
|
|
112
112
|
}, $options.attributes), vue.createSlots({
|
|
113
113
|
default: vue.withCtx(() => [
|
|
114
|
-
(
|
|
115
|
-
? vue.renderSlot(_ctx.$slots, "default", { key: 0 })
|
|
116
|
-
: vue.createCommentVNode("v-if", true)
|
|
114
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
117
115
|
]),
|
|
118
116
|
_: 2 /* DYNAMIC */
|
|
119
117
|
}, [
|
|
@@ -193,7 +191,7 @@
|
|
|
193
191
|
};
|
|
194
192
|
|
|
195
193
|
const _hoisted_1$r = { class: "flex items-center justify-center q-gutter-x-md" };
|
|
196
|
-
const _hoisted_2$k = { class: "flex items-center justify-center q-gutter-x-sm
|
|
194
|
+
const _hoisted_2$k = { class: "flex items-center justify-center q-gutter-x-sm" };
|
|
197
195
|
|
|
198
196
|
function render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
199
197
|
const _component_q_icon = vue.resolveComponent("q-icon");
|
|
@@ -225,7 +223,7 @@
|
|
|
225
223
|
return vue.renderSlot(_ctx.$slots, key, { item: item }, () => [
|
|
226
224
|
(vue.openBlock(), vue.createBlock(_component_q_item, vue.mergeProps({
|
|
227
225
|
key: key,
|
|
228
|
-
class: "text-
|
|
226
|
+
class: "text-primary",
|
|
229
227
|
clickable: ""
|
|
230
228
|
}, item.props, {
|
|
231
229
|
onClick: $event => ($options.onClick(item))
|
|
@@ -1021,7 +1019,7 @@
|
|
|
1021
1019
|
const _directive_close_popup = vue.resolveDirective("close-popup");
|
|
1022
1020
|
|
|
1023
1021
|
return (vue.openBlock(), vue.createBlock(_component_q_header, {
|
|
1024
|
-
class: "bg-white qas-app-bar shadow-
|
|
1022
|
+
class: "bg-white qas-app-bar shadow-14",
|
|
1025
1023
|
"height-hint": "70"
|
|
1026
1024
|
}, {
|
|
1027
1025
|
default: vue.withCtx(() => [
|
|
@@ -1124,7 +1122,7 @@
|
|
|
1124
1122
|
]),
|
|
1125
1123
|
vue.createVNode(_component_q_menu, {
|
|
1126
1124
|
anchor: "bottom end",
|
|
1127
|
-
class: "shadow-
|
|
1125
|
+
class: "shadow-14",
|
|
1128
1126
|
"max-height": "400px",
|
|
1129
1127
|
offset: [0, 5],
|
|
1130
1128
|
self: "top end"
|
|
@@ -1203,6 +1201,11 @@
|
|
|
1203
1201
|
type: String
|
|
1204
1202
|
},
|
|
1205
1203
|
|
|
1204
|
+
brandMenu: {
|
|
1205
|
+
default: '',
|
|
1206
|
+
type: String
|
|
1207
|
+
},
|
|
1208
|
+
|
|
1206
1209
|
modules: {
|
|
1207
1210
|
default: () => [],
|
|
1208
1211
|
type: Array
|
|
@@ -1316,21 +1319,17 @@
|
|
|
1316
1319
|
}
|
|
1317
1320
|
};
|
|
1318
1321
|
|
|
1319
|
-
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";
|
|
1320
|
-
|
|
1321
1322
|
const _hoisted_1$o = { class: "column flex full-height justify-between no-wrap overflow-x-hidden" };
|
|
1322
1323
|
const _hoisted_2$h = {
|
|
1323
1324
|
key: 0,
|
|
1324
1325
|
class: "q-ma-md"
|
|
1325
1326
|
};
|
|
1326
1327
|
const _hoisted_3$d = /*#__PURE__*/vue.createElementVNode("div", { class: "q-mb-sm text-caption text-grey-7 text-weight-medium" }, " Você está no modulo: ", -1 /* HOISTED */);
|
|
1327
|
-
const _hoisted_4$9 = {
|
|
1328
|
-
const _hoisted_5$6 = {
|
|
1328
|
+
const _hoisted_4$9 = {
|
|
1329
1329
|
key: 0,
|
|
1330
|
-
|
|
1331
|
-
class: "block q-mb-md q-mx-auto",
|
|
1332
|
-
src: _imports_0
|
|
1330
|
+
class: "q-mx-md"
|
|
1333
1331
|
};
|
|
1332
|
+
const _hoisted_5$6 = ["alt", "src"];
|
|
1334
1333
|
|
|
1335
1334
|
function render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1336
1335
|
const _component_qas_select = vue.resolveComponent("qas-select");
|
|
@@ -1471,12 +1470,18 @@
|
|
|
1471
1470
|
_: 1 /* STABLE */
|
|
1472
1471
|
})
|
|
1473
1472
|
]),
|
|
1474
|
-
|
|
1475
|
-
vue.
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1473
|
+
($props.brandMenu)
|
|
1474
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$9, [
|
|
1475
|
+
(!$data.isMini)
|
|
1476
|
+
? (vue.openBlock(), vue.createElementBlock("img", {
|
|
1477
|
+
key: 0,
|
|
1478
|
+
alt: $props.title,
|
|
1479
|
+
class: "block q-mb-md q-mx-auto",
|
|
1480
|
+
src: $props.brandMenu
|
|
1481
|
+
}, null, 8 /* PROPS */, _hoisted_5$6))
|
|
1482
|
+
: vue.createCommentVNode("v-if", true)
|
|
1483
|
+
]))
|
|
1484
|
+
: vue.createCommentVNode("v-if", true)
|
|
1480
1485
|
])
|
|
1481
1486
|
]),
|
|
1482
1487
|
_: 1 /* STABLE */
|
|
@@ -1503,7 +1508,7 @@
|
|
|
1503
1508
|
boxClass () {
|
|
1504
1509
|
return {
|
|
1505
1510
|
'border-primary-contrast': this.outlined,
|
|
1506
|
-
'shadow-
|
|
1511
|
+
'shadow-14': !this.unelevated
|
|
1507
1512
|
}
|
|
1508
1513
|
}
|
|
1509
1514
|
}
|
|
@@ -1560,7 +1565,7 @@
|
|
|
1560
1565
|
},
|
|
1561
1566
|
|
|
1562
1567
|
cardClasses () {
|
|
1563
|
-
return this.formMode ? 'bg-white border-primary no-shadow' : '
|
|
1568
|
+
return this.formMode ? 'bg-white border-primary no-shadow' : 'shadow-14'
|
|
1564
1569
|
},
|
|
1565
1570
|
|
|
1566
1571
|
gutterClass () {
|
|
@@ -1884,7 +1889,7 @@
|
|
|
1884
1889
|
]),
|
|
1885
1890
|
vue.createVNode(_component_qas_btn, {
|
|
1886
1891
|
class: "q-ml-xs",
|
|
1887
|
-
color: "grey-
|
|
1892
|
+
color: "grey-7",
|
|
1888
1893
|
flat: "",
|
|
1889
1894
|
icon: $props.icon,
|
|
1890
1895
|
loading: $data.isLoading,
|
|
@@ -3000,7 +3005,10 @@
|
|
|
3000
3005
|
}
|
|
3001
3006
|
},
|
|
3002
3007
|
|
|
3003
|
-
emits: [
|
|
3008
|
+
emits: [
|
|
3009
|
+
'update:modelValue',
|
|
3010
|
+
'update-model'
|
|
3011
|
+
],
|
|
3004
3012
|
|
|
3005
3013
|
data () {
|
|
3006
3014
|
return {
|
|
@@ -3011,15 +3019,13 @@
|
|
|
3011
3019
|
computed: {
|
|
3012
3020
|
defaultMode () {
|
|
3013
3021
|
return defaultModes[this.mode]
|
|
3014
|
-
}
|
|
3015
|
-
|
|
3016
|
-
model: {
|
|
3017
|
-
get () {
|
|
3018
|
-
return this.modelValue
|
|
3019
|
-
},
|
|
3022
|
+
}
|
|
3023
|
+
},
|
|
3020
3024
|
|
|
3021
|
-
|
|
3022
|
-
|
|
3025
|
+
watch: {
|
|
3026
|
+
modelValue (value) {
|
|
3027
|
+
if (this.autoNumeric) {
|
|
3028
|
+
this.autoNumeric.set(value);
|
|
3023
3029
|
}
|
|
3024
3030
|
}
|
|
3025
3031
|
},
|
|
@@ -3054,39 +3060,56 @@
|
|
|
3054
3060
|
Object.assign(options, this.autonumericProps);
|
|
3055
3061
|
|
|
3056
3062
|
this.$nextTick(() => {
|
|
3057
|
-
this.$refs.input.value = this.modelValue;
|
|
3058
3063
|
this.autoNumeric = new AutoNumeric__default["default"](this.$refs.input, options);
|
|
3064
|
+
this.autoNumeric.set(this.modelValue);
|
|
3059
3065
|
});
|
|
3060
3066
|
},
|
|
3061
3067
|
|
|
3062
3068
|
beforeUnmount () {
|
|
3063
3069
|
this.autoNumeric.remove();
|
|
3070
|
+
},
|
|
3071
|
+
|
|
3072
|
+
methods: {
|
|
3073
|
+
setSelect () {
|
|
3074
|
+
this.$refs?.input?.select();
|
|
3075
|
+
},
|
|
3076
|
+
|
|
3077
|
+
emitValue () {
|
|
3078
|
+
this.$emit('update:modelValue', this.autoNumeric.getNumber());
|
|
3079
|
+
},
|
|
3080
|
+
|
|
3081
|
+
emitUpdateModel (value) {
|
|
3082
|
+
this.$emit('update-model', {
|
|
3083
|
+
value,
|
|
3084
|
+
raw: this.autoNumeric.getNumber()
|
|
3085
|
+
});
|
|
3086
|
+
}
|
|
3064
3087
|
}
|
|
3065
3088
|
};
|
|
3066
3089
|
|
|
3067
|
-
const _hoisted_1$j = ["id"
|
|
3090
|
+
const _hoisted_1$j = ["id"];
|
|
3068
3091
|
|
|
3069
3092
|
function render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3070
3093
|
const _component_q_field = vue.resolveComponent("q-field");
|
|
3071
3094
|
|
|
3072
3095
|
return (vue.openBlock(), vue.createBlock(_component_q_field, {
|
|
3073
|
-
|
|
3074
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (($options.model) = $event)),
|
|
3096
|
+
"model-value": $props.modelValue,
|
|
3075
3097
|
outlined: ""
|
|
3076
3098
|
}, {
|
|
3077
|
-
control: vue.withCtx(({
|
|
3099
|
+
control: vue.withCtx(({ floatingLabel, id }) => [
|
|
3078
3100
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
3079
3101
|
id: id,
|
|
3080
3102
|
ref: "input",
|
|
3081
3103
|
class: "q-field__input",
|
|
3082
|
-
|
|
3083
|
-
|
|
3104
|
+
onBlur: _cache[0] || (_cache[0] = (...args) => ($options.emitValue && $options.emitValue(...args))),
|
|
3105
|
+
onClick: _cache[1] || (_cache[1] = (...args) => ($options.setSelect && $options.setSelect(...args))),
|
|
3106
|
+
onInput: _cache[2] || (_cache[2] = $event => ($options.emitUpdateModel($event.target.value)))
|
|
3084
3107
|
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_1$j), [
|
|
3085
3108
|
[vue.vShow, floatingLabel]
|
|
3086
3109
|
])
|
|
3087
3110
|
]),
|
|
3088
3111
|
_: 1 /* STABLE */
|
|
3089
|
-
}, 8 /* PROPS */, ["
|
|
3112
|
+
}, 8 /* PROPS */, ["model-value"]))
|
|
3090
3113
|
}
|
|
3091
3114
|
|
|
3092
3115
|
script$t.render = render$t;
|
|
@@ -3342,7 +3365,8 @@
|
|
|
3342
3365
|
vue.createVNode(_component_qas_input, vue.mergeProps({
|
|
3343
3366
|
modelValue: $options.model,
|
|
3344
3367
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (($options.model) = $event)),
|
|
3345
|
-
"bottom-slots":
|
|
3368
|
+
"bottom-slots": false,
|
|
3369
|
+
color: "negative"
|
|
3346
3370
|
}, _ctx.$attrs, {
|
|
3347
3371
|
"remove-error-on-type": "",
|
|
3348
3372
|
type: $options.type
|
|
@@ -3645,7 +3669,7 @@
|
|
|
3645
3669
|
},
|
|
3646
3670
|
|
|
3647
3671
|
getFileNameClass (isFailed) {
|
|
3648
|
-
return isFailed ? 'text-negative' : 'text-grey-
|
|
3672
|
+
return isFailed ? 'text-negative' : 'text-grey-9'
|
|
3649
3673
|
},
|
|
3650
3674
|
|
|
3651
3675
|
isFailed (file) {
|
|
@@ -3837,7 +3861,7 @@
|
|
|
3837
3861
|
}, [
|
|
3838
3862
|
vue.createVNode(_component_qas_avatar, {
|
|
3839
3863
|
class: "q-mr-sm",
|
|
3840
|
-
color: "
|
|
3864
|
+
color: "contrast-primary",
|
|
3841
3865
|
icon: "o_attach_file",
|
|
3842
3866
|
image: file.image,
|
|
3843
3867
|
rounded: "",
|
|
@@ -4587,7 +4611,7 @@
|
|
|
4587
4611
|
},
|
|
4588
4612
|
|
|
4589
4613
|
filterButtonColor () {
|
|
4590
|
-
return this.hasActiveFilters ? 'primary' : 'grey-
|
|
4614
|
+
return this.hasActiveFilters ? 'primary' : 'grey-9'
|
|
4591
4615
|
},
|
|
4592
4616
|
|
|
4593
4617
|
filterButtonLabel () {
|
|
@@ -4834,7 +4858,10 @@
|
|
|
4834
4858
|
label: $options.filterButtonLabel
|
|
4835
4859
|
}, {
|
|
4836
4860
|
default: vue.withCtx(() => [
|
|
4837
|
-
vue.createVNode(_component_q_menu,
|
|
4861
|
+
vue.createVNode(_component_q_menu, {
|
|
4862
|
+
class: "full-width",
|
|
4863
|
+
"max-width": "240px"
|
|
4864
|
+
}, {
|
|
4838
4865
|
default: vue.withCtx(() => [
|
|
4839
4866
|
($data.isFetching)
|
|
4840
4867
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$6, [
|
|
@@ -4902,11 +4929,11 @@
|
|
|
4902
4929
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.activeFilters, (filterItem, key) => {
|
|
4903
4930
|
return (vue.openBlock(), vue.createBlock(_component_q_chip, {
|
|
4904
4931
|
key: key,
|
|
4905
|
-
color: "
|
|
4932
|
+
color: "primary",
|
|
4906
4933
|
dense: "",
|
|
4907
4934
|
removable: "",
|
|
4908
4935
|
size: "md",
|
|
4909
|
-
"text-color": "
|
|
4936
|
+
"text-color": "white",
|
|
4910
4937
|
onRemove: $event => ($options.removeFilter(filterItem))
|
|
4911
4938
|
}, {
|
|
4912
4939
|
default: vue.withCtx(() => [
|
|
@@ -6210,7 +6237,7 @@
|
|
|
6210
6237
|
}
|
|
6211
6238
|
};
|
|
6212
6239
|
|
|
6213
|
-
const _hoisted_1$b = { class: "qas-list-items shadow-
|
|
6240
|
+
const _hoisted_1$b = { class: "qas-list-items shadow-14" };
|
|
6214
6241
|
|
|
6215
6242
|
function render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6216
6243
|
const _component_q_item_section = vue.resolveComponent("q-item-section");
|
|
@@ -6363,6 +6390,7 @@
|
|
|
6363
6390
|
handler (value) {
|
|
6364
6391
|
this.$emit('update:results', quasar.extend([], true, value));
|
|
6365
6392
|
},
|
|
6393
|
+
deep: true,
|
|
6366
6394
|
immediate: true
|
|
6367
6395
|
}
|
|
6368
6396
|
},
|
|
@@ -6381,10 +6409,16 @@
|
|
|
6381
6409
|
async fetchList (filters = {}) {
|
|
6382
6410
|
this.mx_isFetching = true;
|
|
6383
6411
|
|
|
6412
|
+
const hasFilters = !!Object.keys(filters).length;
|
|
6413
|
+
|
|
6384
6414
|
try {
|
|
6385
6415
|
const response = await this.$store.dispatch(
|
|
6386
6416
|
`${this.entity}/fetchList`,
|
|
6387
|
-
{
|
|
6417
|
+
{
|
|
6418
|
+
...this.mx_context,
|
|
6419
|
+
url: this.url,
|
|
6420
|
+
...(hasFilters && { filters })
|
|
6421
|
+
}
|
|
6388
6422
|
);
|
|
6389
6423
|
|
|
6390
6424
|
const { errors, fields, metadata } = response.data;
|
|
@@ -6428,7 +6462,7 @@
|
|
|
6428
6462
|
const _hoisted_3$4 = { key: 0 };
|
|
6429
6463
|
const _hoisted_4$4 = { key: 1 };
|
|
6430
6464
|
const _hoisted_5$3 = { class: "q-my-xl text-center" };
|
|
6431
|
-
const _hoisted_6$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "text-grey-
|
|
6465
|
+
const _hoisted_6$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "text-grey-7" }, "Nenhum item encontrado.", -1 /* HOISTED */);
|
|
6432
6466
|
const _hoisted_7$1 = {
|
|
6433
6467
|
key: 2,
|
|
6434
6468
|
class: "q-py-lg text-center"
|
|
@@ -6476,7 +6510,7 @@
|
|
|
6476
6510
|
vue.createElementVNode("div", _hoisted_5$3, [
|
|
6477
6511
|
vue.createVNode(_component_q_icon, {
|
|
6478
6512
|
class: "q-mb-sm text-center",
|
|
6479
|
-
color: "grey-
|
|
6513
|
+
color: "grey-7",
|
|
6480
6514
|
name: "o_search",
|
|
6481
6515
|
size: "38px"
|
|
6482
6516
|
}),
|
|
@@ -7450,7 +7484,7 @@
|
|
|
7450
7484
|
|
|
7451
7485
|
return (vue.openBlock(), vue.createBlock(_component_q_img, {
|
|
7452
7486
|
ratio: $options.ratio,
|
|
7453
|
-
"spinner-color": "grey-
|
|
7487
|
+
"spinner-color": "grey-7",
|
|
7454
7488
|
src: $options.imageSource
|
|
7455
7489
|
}, {
|
|
7456
7490
|
error: vue.withCtx(() => [
|
|
@@ -8187,7 +8221,7 @@
|
|
|
8187
8221
|
key: 2,
|
|
8188
8222
|
class: "q-my-xl text-center"
|
|
8189
8223
|
};
|
|
8190
|
-
const _hoisted_3$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "text-grey-
|
|
8224
|
+
const _hoisted_3$1 = /*#__PURE__*/vue.createElementVNode("div", { class: "text-grey-7" }, "Nenhum item encontrado.", -1 /* HOISTED */);
|
|
8191
8225
|
const _hoisted_4$1 = { key: 3 };
|
|
8192
8226
|
|
|
8193
8227
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -8210,7 +8244,7 @@
|
|
|
8210
8244
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$2, [
|
|
8211
8245
|
vue.createVNode(_component_q_icon, {
|
|
8212
8246
|
class: "q-mb-sm text-center",
|
|
8213
|
-
color: "grey-
|
|
8247
|
+
color: "grey-7",
|
|
8214
8248
|
name: "o_search",
|
|
8215
8249
|
size: "38px"
|
|
8216
8250
|
}),
|
|
@@ -8973,6 +9007,7 @@
|
|
|
8973
9007
|
options: {
|
|
8974
9008
|
handler (value) {
|
|
8975
9009
|
this.optionsList = quasar.extend(true, [], value);
|
|
9010
|
+
this.setSelectedFromValue(true);
|
|
8976
9011
|
},
|
|
8977
9012
|
|
|
8978
9013
|
immediate: true
|
|
@@ -9038,7 +9073,7 @@
|
|
|
9038
9073
|
},
|
|
9039
9074
|
|
|
9040
9075
|
setSelectedFromValue (isFirst) {
|
|
9041
|
-
this.modelValue.forEach(item => {
|
|
9076
|
+
this.optionsList.length && this.modelValue.forEach(item => {
|
|
9042
9077
|
const selected = this.optionsList.find(option => {
|
|
9043
9078
|
return option[this.valueKey] === (this.emitValue ? item : item[this.valueKey])
|
|
9044
9079
|
});
|
|
@@ -9215,7 +9250,7 @@
|
|
|
9215
9250
|
|
|
9216
9251
|
var name = "@bildvitta/quasar-ui-asteroid";
|
|
9217
9252
|
var description = "Asteroid";
|
|
9218
|
-
var version$1 = "3.0.0-beta.
|
|
9253
|
+
var version$1 = "3.0.0-beta.7";
|
|
9219
9254
|
var author = "Bild & Vitta <systemteam@bild.com.br>";
|
|
9220
9255
|
var license = "MIT";
|
|
9221
9256
|
var main = "dist/asteroid.cjs.min.js";
|