@mythpe/quasar-ui-qui 0.2.27 → 0.2.28

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@mythpe/quasar-ui-qui",
3
- "version": "0.2.27",
3
+ "version": "0.2.28",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -72,6 +72,7 @@ const props = withDefaults(defineProps<P>(), {
72
72
  })
73
73
 
74
74
  type Emits = {
75
+ (e: 'save', value: string | null): void;
75
76
  (e: 'clear'): void;
76
77
  (e: 'undo'): void;
77
78
  }
@@ -113,6 +114,7 @@ const save = (type: 'image/jpeg' | 'image/svg+xml') => {
113
114
  const v = isEmpty ? null : padRef.value?.save(type)
114
115
  handleBlur(undefined, !0)
115
116
  handleChange(v, !0)
117
+ emit('save', v || null)
116
118
  }
117
119
  const clear = () => {
118
120
  padRef.value?.clear()