@bildvitta/quasar-ui-asteroid 3.20.0-beta.22 → 3.20.0-beta.23

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bildvitta/quasar-ui-asteroid",
3
3
  "description": "Asteroid",
4
- "version": "3.20.0-beta.22",
4
+ "version": "3.20.0-beta.23",
5
5
  "author": "Bild & Vitta <systemteam@bild.com.br>",
6
6
  "license": "MIT",
7
7
  "main": "./src/asteroid.js",
@@ -390,6 +390,8 @@ const containerStyle = computed(() => `width: ${props.columnWidth};`)
390
390
 
391
391
  const defaultConfirmDialogProps = computed(() => {
392
392
  const defaultProps = {
393
+ title: 'Confirmar mudança',
394
+
393
395
  ok: {
394
396
  label: 'Confirmar',
395
397
  onClick: onConfirmDrop.value,
@@ -57,7 +57,8 @@ const props = defineProps({
57
57
  },
58
58
 
59
59
  disableCloseButton: {
60
- type: Boolean
60
+ type: Boolean,
61
+ default: undefined
61
62
  },
62
63
 
63
64
  ok: {
@@ -202,7 +203,7 @@ const headerProps = computed(() => {
202
203
  buttonProps: {
203
204
  ...(props.useCloseButton && {
204
205
  color: 'grey-10',
205
- disable: props.disableCloseButton,
206
+ disable: props.disableCloseButton ?? props.ok.loading,
206
207
  icon: 'sym_r_close',
207
208
  variant: 'tertiary',
208
209
  'data-cy': 'dialog-close-btn',