@onereach/ui-components 16.1.1 → 16.1.2

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.
@@ -33,6 +33,10 @@ var script = defineComponent({
33
33
  type: String,
34
34
  default: 'Confirm'
35
35
  },
36
+ autoCloseOnConfirm: {
37
+ type: Boolean,
38
+ default: true
39
+ },
36
40
  cancelButtonText: {
37
41
  type: String,
38
42
  default: 'Cancel'
@@ -108,6 +112,12 @@ var script = defineComponent({
108
112
  function onInputBlur() {
109
113
  isInputActive.value = false;
110
114
  }
115
+ function onConfirmClick() {
116
+ confirm();
117
+ if (props.autoCloseOnConfirm) {
118
+ close();
119
+ }
120
+ }
111
121
  // Events
112
122
  watch(escape, val => {
113
123
  if (val) close();
@@ -145,6 +155,7 @@ var script = defineComponent({
145
155
  footerStyles,
146
156
  buttonsStyles,
147
157
  confirm,
158
+ onConfirmClick,
148
159
  open,
149
160
  close,
150
161
  onInputFocus,
@@ -219,10 +230,7 @@ var __vue_render__ = function () {
219
230
  "disabled": _vm.isConfirmationButtonDisabled
220
231
  },
221
232
  on: {
222
- "click": function ($event) {
223
- _vm.confirm();
224
- _vm.close();
225
- }
233
+ "click": _vm.onConfirmClick
226
234
  }
227
235
  }, [_vm._v("\n " + _vm._s(_vm.confirmButtonText) + "\n ")])], 1)];
228
236
  }, {
@@ -15,6 +15,10 @@ declare const _default: import("vue-demi").DefineComponent<{
15
15
  type: StringConstructor;
16
16
  default: string;
17
17
  };
18
+ autoCloseOnConfirm: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
18
22
  cancelButtonText: {
19
23
  type: StringConstructor;
20
24
  default: string;
@@ -61,6 +65,7 @@ declare const _default: import("vue-demi").DefineComponent<{
61
65
  footerStyles: import("vue-demi").ComputedRef<string[]>;
62
66
  buttonsStyles: import("vue-demi").ComputedRef<string[]>;
63
67
  confirm: () => void;
68
+ onConfirmClick: () => void;
64
69
  open: () => void;
65
70
  close: () => void;
66
71
  onInputFocus: () => void;
@@ -79,6 +84,10 @@ declare const _default: import("vue-demi").DefineComponent<{
79
84
  type: StringConstructor;
80
85
  default: string;
81
86
  };
87
+ autoCloseOnConfirm: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
82
91
  cancelButtonText: {
83
92
  type: StringConstructor;
84
93
  default: string;
@@ -117,6 +126,7 @@ declare const _default: import("vue-demi").DefineComponent<{
117
126
  isOpen: boolean;
118
127
  titleText: string;
119
128
  confirmButtonText: string;
129
+ autoCloseOnConfirm: boolean;
120
130
  cancelButtonText: string;
121
131
  confirmType: "d" | "c";
122
132
  loading: boolean;
@@ -1 +1 @@
1
- export { s as default } from '../OrConfirmV3-9cc0745f.js';
1
+ export { s as default } from '../OrConfirmV3-15f3041e.js';
@@ -15,6 +15,10 @@ declare const _default: import("vue-demi").DefineComponent<{
15
15
  type: StringConstructor;
16
16
  default: string;
17
17
  };
18
+ autoCloseOnConfirm: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
18
22
  cancelButtonText: {
19
23
  type: StringConstructor;
20
24
  default: string;
@@ -61,6 +65,7 @@ declare const _default: import("vue-demi").DefineComponent<{
61
65
  footerStyles: import("vue-demi").ComputedRef<string[]>;
62
66
  buttonsStyles: import("vue-demi").ComputedRef<string[]>;
63
67
  confirm: () => void;
68
+ onConfirmClick: () => void;
64
69
  open: () => void;
65
70
  close: () => void;
66
71
  onInputFocus: () => void;
@@ -79,6 +84,10 @@ declare const _default: import("vue-demi").DefineComponent<{
79
84
  type: StringConstructor;
80
85
  default: string;
81
86
  };
87
+ autoCloseOnConfirm: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
82
91
  cancelButtonText: {
83
92
  type: StringConstructor;
84
93
  default: string;
@@ -117,6 +126,7 @@ declare const _default: import("vue-demi").DefineComponent<{
117
126
  isOpen: boolean;
118
127
  titleText: string;
119
128
  confirmButtonText: string;
129
+ autoCloseOnConfirm: boolean;
120
130
  cancelButtonText: string;
121
131
  confirmType: "d" | "c";
122
132
  loading: boolean;
@@ -1 +1 @@
1
- export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirmV3-9cc0745f.js';
1
+ export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirmV3-15f3041e.js';
@@ -1 +1 @@
1
- export { C as ConfirmType } from '../OrConfirmV3-9cc0745f.js';
1
+ export { C as ConfirmType } from '../OrConfirmV3-15f3041e.js';
@@ -1 +1 @@
1
- export { a as Confirm, d as ConfirmFooter, f as ConfirmFooterButtons, e as ConfirmFooterTypes, b as ConfirmHeader, c as ConfirmInput } from '../OrConfirmV3-9cc0745f.js';
1
+ export { a as Confirm, d as ConfirmFooter, f as ConfirmFooterButtons, e as ConfirmFooterTypes, b as ConfirmHeader, c as ConfirmInput } from '../OrConfirmV3-15f3041e.js';
@@ -79,6 +79,10 @@ var script = defineComponent({
79
79
  type: String,
80
80
  default: 'Confirm'
81
81
  },
82
+ autoCloseOnConfirm: {
83
+ type: Boolean,
84
+ default: true
85
+ },
82
86
  cancelButtonText: {
83
87
  type: String,
84
88
  default: 'Cancel'
@@ -154,6 +158,12 @@ var script = defineComponent({
154
158
  function onInputBlur() {
155
159
  isInputActive.value = false;
156
160
  }
161
+ function onConfirmClick() {
162
+ confirm();
163
+ if (props.autoCloseOnConfirm) {
164
+ close();
165
+ }
166
+ }
157
167
  // Events
158
168
  watch(escape, val => {
159
169
  if (val) close();
@@ -191,6 +201,7 @@ var script = defineComponent({
191
201
  footerStyles,
192
202
  buttonsStyles,
193
203
  confirm,
204
+ onConfirmClick,
194
205
  open,
195
206
  close,
196
207
  onInputFocus,
@@ -246,14 +257,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
246
257
  color: _ctx.confirmButtonColor,
247
258
  loading: _ctx.loading,
248
259
  disabled: _ctx.isConfirmationButtonDisabled,
249
- onClick: _cache[2] || (_cache[2] = $event => {
250
- _ctx.confirm();
251
- _ctx.close();
252
- })
260
+ onClick: _ctx.onConfirmClick
253
261
  }, {
254
262
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.confirmButtonText), 1 /* TEXT */)]),
255
263
  _: 1 /* STABLE */
256
- }, 8 /* PROPS */, ["class", "color", "loading", "disabled"])], 2 /* CLASS */)])], 16 /* FULL_PROPS */)]),
264
+ }, 8 /* PROPS */, ["class", "color", "loading", "disabled", "onClick"])], 2 /* CLASS */)])], 16 /* FULL_PROPS */)]),
257
265
  _: 3 /* FORWARDED */
258
266
  })) : createCommentVNode("v-if", true);
259
267
  }
@@ -22,7 +22,7 @@ export { default as OrCollapse } from './OrCollapse/OrCollapse.js';
22
22
  export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-e47002da.js';
23
23
  export { s as OrCombinedInputV3 } from './OrCombinedInputV3-ceff5a22.js';
24
24
  export { s as OrConfirm } from './OrConfirm-64cf7569.js';
25
- export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirmV3-9cc0745f.js';
25
+ export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirmV3-15f3041e.js';
26
26
  export { default as OrContextMenuV3 } from './OrContextMenuV3/OrContextMenu.js';
27
27
  export { D as DataGridVariant, s as OrDataGridV3 } from './OrDataGridV3-c33fee34.js';
28
28
  export { s as OrDateFormatV3 } from './OrDateFormatV3-c812a482.js';
@@ -14,7 +14,7 @@ export { C as CodeLanguage, s as OrCodeV3 } from './components/OrCodeV3-95f22d73
14
14
  export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './components/OrColorPicker-e47002da.js';
15
15
  export { s as OrCombinedInputV3 } from './components/OrCombinedInputV3-ceff5a22.js';
16
16
  export { s as OrConfirm } from './components/OrConfirm-64cf7569.js';
17
- export { C as ConfirmType, s as OrConfirmV3 } from './components/OrConfirmV3-9cc0745f.js';
17
+ export { C as ConfirmType, s as OrConfirmV3 } from './components/OrConfirmV3-15f3041e.js';
18
18
  export { default as OrContextMenuV3 } from './components/OrContextMenuV3/OrContextMenu.js';
19
19
  export { D as DataGridVariant, s as OrDataGridV3 } from './components/OrDataGridV3-c33fee34.js';
20
20
  export { s as OrDateFormatV3 } from './components/OrDateFormatV3-c812a482.js';
@@ -84,6 +84,10 @@ var script = defineComponent({
84
84
  type: String,
85
85
  default: 'Confirm'
86
86
  },
87
+ autoCloseOnConfirm: {
88
+ type: Boolean,
89
+ default: true
90
+ },
87
91
  cancelButtonText: {
88
92
  type: String,
89
93
  default: 'Cancel'
@@ -159,6 +163,12 @@ var script = defineComponent({
159
163
  function onInputBlur() {
160
164
  isInputActive.value = false;
161
165
  }
166
+ function onConfirmClick() {
167
+ confirm();
168
+ if (props.autoCloseOnConfirm) {
169
+ close();
170
+ }
171
+ }
162
172
  // Events
163
173
  watch(escape, val => {
164
174
  if (val) close();
@@ -196,6 +206,7 @@ var script = defineComponent({
196
206
  footerStyles,
197
207
  buttonsStyles,
198
208
  confirm,
209
+ onConfirmClick,
199
210
  open,
200
211
  close,
201
212
  onInputFocus,
@@ -270,10 +281,7 @@ var __vue_render__ = function () {
270
281
  "disabled": _vm.isConfirmationButtonDisabled
271
282
  },
272
283
  on: {
273
- "click": function ($event) {
274
- _vm.confirm();
275
- _vm.close();
276
- }
284
+ "click": _vm.onConfirmClick
277
285
  }
278
286
  }, [_vm._v("\n " + _vm._s(_vm.confirmButtonText) + "\n ")])], 1)];
279
287
  }, {
@@ -32,7 +32,7 @@ export { _ as OrCollapse } from '../OrCollapse-8f62d508.js';
32
32
  export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-b381a65b.js';
33
33
  export { _ as OrCombinedInputV3 } from '../OrCombinedInput-da2fc9f0.js';
34
34
  export { _ as OrConfirm } from '../OrConfirm-8f6d47e1.js';
35
- export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-6766069a.js';
35
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-5aa5f76c.js';
36
36
  export { _ as OrContextMenuV3 } from '../OrContextMenu-a6fee3eb.js';
37
37
  export { _ as OrDataGridV3 } from '../OrDataGrid-6461fca4.js';
38
38
  export { D as DataGridVariant } from '../OrDataGridToolbar-462aec20.js';
@@ -15,6 +15,10 @@ declare const _default: import("vue-demi").DefineComponent<{
15
15
  type: StringConstructor;
16
16
  default: string;
17
17
  };
18
+ autoCloseOnConfirm: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
18
22
  cancelButtonText: {
19
23
  type: StringConstructor;
20
24
  default: string;
@@ -61,6 +65,7 @@ declare const _default: import("vue-demi").DefineComponent<{
61
65
  footerStyles: import("vue-demi").ComputedRef<string[]>;
62
66
  buttonsStyles: import("vue-demi").ComputedRef<string[]>;
63
67
  confirm: () => void;
68
+ onConfirmClick: () => void;
64
69
  open: () => void;
65
70
  close: () => void;
66
71
  onInputFocus: () => void;
@@ -79,6 +84,10 @@ declare const _default: import("vue-demi").DefineComponent<{
79
84
  type: StringConstructor;
80
85
  default: string;
81
86
  };
87
+ autoCloseOnConfirm: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
82
91
  cancelButtonText: {
83
92
  type: StringConstructor;
84
93
  default: string;
@@ -117,6 +126,7 @@ declare const _default: import("vue-demi").DefineComponent<{
117
126
  isOpen: boolean;
118
127
  titleText: string;
119
128
  confirmButtonText: string;
129
+ autoCloseOnConfirm: boolean;
120
130
  cancelButtonText: string;
121
131
  confirmType: "d" | "c";
122
132
  loading: boolean;
@@ -1,4 +1,4 @@
1
- export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-6766069a.js';
1
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-5aa5f76c.js';
2
2
  import '@vueuse/core';
3
3
  import '@vueuse/math';
4
4
  import 'vue-demi';
@@ -32,7 +32,7 @@ export { _ as OrCollapse } from './OrCollapse-8f62d508.js';
32
32
  export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-b381a65b.js';
33
33
  export { _ as OrCombinedInputV3 } from './OrCombinedInput-da2fc9f0.js';
34
34
  export { _ as OrConfirm } from './OrConfirm-8f6d47e1.js';
35
- export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-6766069a.js';
35
+ export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-5aa5f76c.js';
36
36
  export { _ as OrContextMenuV3 } from './OrContextMenu-a6fee3eb.js';
37
37
  export { _ as OrDataGridV3 } from './OrDataGrid-6461fca4.js';
38
38
  export { D as DataGridVariant } from './OrDataGridToolbar-462aec20.js';
@@ -83,6 +83,10 @@ var script = defineComponent({
83
83
  type: String,
84
84
  default: 'Confirm'
85
85
  },
86
+ autoCloseOnConfirm: {
87
+ type: Boolean,
88
+ default: true
89
+ },
86
90
  cancelButtonText: {
87
91
  type: String,
88
92
  default: 'Cancel'
@@ -158,6 +162,12 @@ var script = defineComponent({
158
162
  function onInputBlur() {
159
163
  isInputActive.value = false;
160
164
  }
165
+ function onConfirmClick() {
166
+ confirm();
167
+ if (props.autoCloseOnConfirm) {
168
+ close();
169
+ }
170
+ }
161
171
  // Events
162
172
  watch(escape, val => {
163
173
  if (val) close();
@@ -195,6 +205,7 @@ var script = defineComponent({
195
205
  footerStyles,
196
206
  buttonsStyles,
197
207
  confirm,
208
+ onConfirmClick,
198
209
  open,
199
210
  close,
200
211
  onInputFocus,
@@ -250,14 +261,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
250
261
  color: _ctx.confirmButtonColor,
251
262
  loading: _ctx.loading,
252
263
  disabled: _ctx.isConfirmationButtonDisabled,
253
- onClick: _cache[2] || (_cache[2] = $event => {
254
- _ctx.confirm();
255
- _ctx.close();
256
- })
264
+ onClick: _ctx.onConfirmClick
257
265
  }, {
258
266
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.confirmButtonText), 1 /* TEXT */)]),
259
267
  _: 1 /* STABLE */
260
- }, 8 /* PROPS */, ["class", "color", "loading", "disabled"])], 2 /* CLASS */)])], 16 /* FULL_PROPS */)]),
268
+ }, 8 /* PROPS */, ["class", "color", "loading", "disabled", "onClick"])], 2 /* CLASS */)])], 16 /* FULL_PROPS */)]),
261
269
  _: 3 /* FORWARDED */
262
270
  })) : createCommentVNode("v-if", true);
263
271
  }
@@ -30,7 +30,7 @@ export { s as OrCollapse } from '../OrCollapse-fdd7efab.js';
30
30
  export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-28027e9a.js';
31
31
  export { s as OrCombinedInputV3 } from '../OrCombinedInput-75b556fa.js';
32
32
  export { s as OrConfirm } from '../OrConfirm-05a78778.js';
33
- export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-327d0622.js';
33
+ export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-aa2ea8b3.js';
34
34
  export { s as OrContextMenuV3 } from '../OrContextMenu-d8c71891.js';
35
35
  export { s as OrDataGridV3 } from '../OrDataGrid-550f18b2.js';
36
36
  export { D as DataGridVariant } from '../OrDataGridToolbar-a4871539.js';
@@ -15,6 +15,10 @@ declare const _default: import("vue-demi").DefineComponent<{
15
15
  type: StringConstructor;
16
16
  default: string;
17
17
  };
18
+ autoCloseOnConfirm: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
18
22
  cancelButtonText: {
19
23
  type: StringConstructor;
20
24
  default: string;
@@ -61,6 +65,7 @@ declare const _default: import("vue-demi").DefineComponent<{
61
65
  footerStyles: import("vue-demi").ComputedRef<string[]>;
62
66
  buttonsStyles: import("vue-demi").ComputedRef<string[]>;
63
67
  confirm: () => void;
68
+ onConfirmClick: () => void;
64
69
  open: () => void;
65
70
  close: () => void;
66
71
  onInputFocus: () => void;
@@ -79,6 +84,10 @@ declare const _default: import("vue-demi").DefineComponent<{
79
84
  type: StringConstructor;
80
85
  default: string;
81
86
  };
87
+ autoCloseOnConfirm: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
82
91
  cancelButtonText: {
83
92
  type: StringConstructor;
84
93
  default: string;
@@ -117,6 +126,7 @@ declare const _default: import("vue-demi").DefineComponent<{
117
126
  isOpen: boolean;
118
127
  titleText: string;
119
128
  confirmButtonText: string;
129
+ autoCloseOnConfirm: boolean;
120
130
  cancelButtonText: string;
121
131
  confirmType: "d" | "c";
122
132
  loading: boolean;
@@ -1,4 +1,4 @@
1
- export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-327d0622.js';
1
+ export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-aa2ea8b3.js';
2
2
  import '@vueuse/core';
3
3
  import '@vueuse/math';
4
4
  import 'vue-demi';
@@ -30,7 +30,7 @@ export { s as OrCollapse } from './OrCollapse-fdd7efab.js';
30
30
  export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-28027e9a.js';
31
31
  export { s as OrCombinedInputV3 } from './OrCombinedInput-75b556fa.js';
32
32
  export { s as OrConfirm } from './OrConfirm-05a78778.js';
33
- export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-327d0622.js';
33
+ export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-aa2ea8b3.js';
34
34
  export { s as OrContextMenuV3 } from './OrContextMenu-d8c71891.js';
35
35
  export { s as OrDataGridV3 } from './OrDataGrid-550f18b2.js';
36
36
  export { D as DataGridVariant } from './OrDataGridToolbar-a4871539.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "16.1.1",
3
+ "version": "16.1.2",
4
4
  "npmUnpacked": "4.15.2",
5
5
  "description": "Vue components library for v2/3",
6
6
  "sideEffects": false,
@@ -40,7 +40,7 @@
40
40
  "@codemirror/lang-json": "6.0.1",
41
41
  "@codemirror/lang-markdown": "6.1.1",
42
42
  "@floating-ui/dom": "1.5.3",
43
- "@onereach/styles": "^16.1.1",
43
+ "@onereach/styles": "^16.1.2",
44
44
  "@splidejs/splide": "4.0.6",
45
45
  "@tiptap/core": "2.0.3",
46
46
  "@tiptap/extension-blockquote": "2.0.3",
@@ -180,5 +180,5 @@
180
180
  },
181
181
  "./package.json": "./package.json"
182
182
  },
183
- "gitHead": "de80d373a3b8408b7554e36d34e5608a4d58e237"
183
+ "gitHead": "46d18e60986abccd4e32d4af67692a9e64991514"
184
184
  }
@@ -54,7 +54,7 @@
54
54
  :color="confirmButtonColor"
55
55
  :loading="loading"
56
56
  :disabled="isConfirmationButtonDisabled"
57
- @click="confirm(); close()"
57
+ @click="onConfirmClick"
58
58
  >
59
59
  {{ confirmButtonText }}
60
60
  </OrButton>
@@ -103,6 +103,11 @@ export default defineComponent({
103
103
  default: 'Confirm',
104
104
  },
105
105
 
106
+ autoCloseOnConfirm: {
107
+ type: Boolean,
108
+ default: true,
109
+ },
110
+
106
111
  cancelButtonText: {
107
112
  type: String,
108
113
  default: 'Cancel',
@@ -223,6 +228,12 @@ export default defineComponent({
223
228
  isInputActive.value = false;
224
229
  }
225
230
 
231
+ function onConfirmClick(): void {
232
+ confirm();
233
+ if (props.autoCloseOnConfirm) {
234
+ close();
235
+ }
236
+ }
226
237
  // Events
227
238
  watch(escape, (val) => {
228
239
  if (val) close();
@@ -263,6 +274,7 @@ export default defineComponent({
263
274
  footerStyles,
264
275
  buttonsStyles,
265
276
  confirm,
277
+ onConfirmClick,
266
278
  open,
267
279
  close,
268
280
  onInputFocus,