@bildvitta/quasar-ui-asteroid 3.0.0-beta.11 → 3.0.0-beta.12
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/asteroid.cjs.css +1 -1
- package/dist/asteroid.cjs.js +33 -12
- package/dist/asteroid.cjs.min.js +2 -2
- package/dist/asteroid.esm.css +1 -1
- package/dist/asteroid.esm.js +34 -13
- package/dist/asteroid.esm.min.js +2 -2
- package/dist/asteroid.umd.css +1 -1
- package/dist/asteroid.umd.js +33 -12
- package/dist/asteroid.umd.min.js +2 -2
- package/package.json +1 -1
- package/src/components/input/QasInput.vue +20 -2
- package/src/components/page-header/QasPageHeader.vue +9 -6
- package/src/plugins/logger/Logger.js +1 -1
package/dist/asteroid.cjs.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}.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-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}}.
|
|
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.cjs.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.12
|
|
3
3
|
* (c) 2022 Bild & Vitta <systemteam@bild.com.br>
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -2454,7 +2454,7 @@ var Logger = () => {
|
|
|
2454
2454
|
group (message, payload = [], { error } = {}) {
|
|
2455
2455
|
if (!isDebugEnabled) return
|
|
2456
2456
|
|
|
2457
|
-
console.
|
|
2457
|
+
console.groupCollapsed(normalizeMessage(message), getStyle(error));
|
|
2458
2458
|
|
|
2459
2459
|
for (const item of payload) {
|
|
2460
2460
|
if (typeof item === 'string') {
|
|
@@ -2943,7 +2943,7 @@ var script$u = {
|
|
|
2943
2943
|
|
|
2944
2944
|
watch: {
|
|
2945
2945
|
mask () {
|
|
2946
|
-
const input = this.
|
|
2946
|
+
const input = this.getInput();
|
|
2947
2947
|
|
|
2948
2948
|
requestAnimationFrame(() => {
|
|
2949
2949
|
input.selectionStart = input.value ? input.value.length : '';
|
|
@@ -2977,12 +2977,30 @@ var script$u = {
|
|
|
2977
2977
|
},
|
|
2978
2978
|
|
|
2979
2979
|
toggleMask (first, second) {
|
|
2980
|
+
if (!this.modelValue.length) return
|
|
2981
|
+
|
|
2980
2982
|
const length = first.split('#').length - 2;
|
|
2981
2983
|
return this.modelValue?.length > length ? second : first
|
|
2982
2984
|
},
|
|
2983
2985
|
|
|
2984
2986
|
validate (value) {
|
|
2985
2987
|
return this.inputReference.validate(value)
|
|
2988
|
+
},
|
|
2989
|
+
|
|
2990
|
+
onPaste (event) {
|
|
2991
|
+
if (!this.mask) return
|
|
2992
|
+
|
|
2993
|
+
const value = event.clipboardData.getData('text');
|
|
2994
|
+
const input = this.getInput();
|
|
2995
|
+
|
|
2996
|
+
requestAnimationFrame(() => {
|
|
2997
|
+
this.$emit('update:modelValue', value);
|
|
2998
|
+
input.selectionStart = input.value ? input.value.length : '';
|
|
2999
|
+
});
|
|
3000
|
+
},
|
|
3001
|
+
|
|
3002
|
+
getInput () {
|
|
3003
|
+
return this.inputReference.$el?.querySelector('input')
|
|
2986
3004
|
}
|
|
2987
3005
|
}
|
|
2988
3006
|
};
|
|
@@ -3001,7 +3019,8 @@ function render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3001
3019
|
"error-message": _ctx.errorMessageData,
|
|
3002
3020
|
mask: $options.mask,
|
|
3003
3021
|
outlined: $props.outlined,
|
|
3004
|
-
"unmasked-value": $props.unmaskedValue
|
|
3022
|
+
"unmasked-value": $props.unmaskedValue,
|
|
3023
|
+
onPaste: $options.onPaste
|
|
3005
3024
|
}), vue.createSlots({ _: 2 /* DYNAMIC */ }, [
|
|
3006
3025
|
vue.renderList(_ctx.$slots, (_, name) => {
|
|
3007
3026
|
return {
|
|
@@ -3011,7 +3030,7 @@ function render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3011
3030
|
])
|
|
3012
3031
|
}
|
|
3013
3032
|
})
|
|
3014
|
-
]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["modelValue", "error", "error-message", "mask", "outlined", "unmasked-value"])
|
|
3033
|
+
]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["modelValue", "error", "error-message", "mask", "outlined", "unmasked-value", "onPaste"])
|
|
3015
3034
|
]))
|
|
3016
3035
|
}
|
|
3017
3036
|
|
|
@@ -7355,6 +7374,14 @@ const { hasPreviousRoute, history: history$1, getPreviousRoute } = useHistory();
|
|
|
7355
7374
|
var script$b = {
|
|
7356
7375
|
name: 'QasPageHeader',
|
|
7357
7376
|
|
|
7377
|
+
mixins: [
|
|
7378
|
+
quasar.createMetaMixin(function () {
|
|
7379
|
+
return {
|
|
7380
|
+
title: this.title
|
|
7381
|
+
}
|
|
7382
|
+
})
|
|
7383
|
+
],
|
|
7384
|
+
|
|
7358
7385
|
props: {
|
|
7359
7386
|
breadcrumbs: {
|
|
7360
7387
|
default: '',
|
|
@@ -7417,12 +7444,6 @@ var script$b = {
|
|
|
7417
7444
|
|
|
7418
7445
|
return lastIndex === index ? 'text-grey-7' : 'text-primary'
|
|
7419
7446
|
}
|
|
7420
|
-
},
|
|
7421
|
-
|
|
7422
|
-
meta () {
|
|
7423
|
-
return {
|
|
7424
|
-
title: this.title
|
|
7425
|
-
}
|
|
7426
7447
|
}
|
|
7427
7448
|
};
|
|
7428
7449
|
|
|
@@ -9461,7 +9482,7 @@ script.__file = "src/components/transfer/QasTransfer.vue";
|
|
|
9461
9482
|
|
|
9462
9483
|
var name = "@bildvitta/quasar-ui-asteroid";
|
|
9463
9484
|
var description = "Asteroid";
|
|
9464
|
-
var version$1 = "3.0.0-beta.
|
|
9485
|
+
var version$1 = "3.0.0-beta.12";
|
|
9465
9486
|
var author = "Bild & Vitta <systemteam@bild.com.br>";
|
|
9466
9487
|
var license = "MIT";
|
|
9467
9488
|
var main = "dist/asteroid.cjs.min.js";
|