@capacitor/dialog 8.0.0-dev-2444-20251112T191745.0 → 8.0.0-dev-2440-20251112T200151.0
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/android/src/main/java/com/capacitorjs/plugins/dialog/Dialog.java +106 -76
- package/android/src/main/java/com/capacitorjs/plugins/dialog/DialogPlugin.java +12 -5
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/plugin.cjs.js +1 -1
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +1 -1
- package/dist/plugin.js.map +1 -1
- package/ios/Sources/DialogPlugin/DialogPlugin.swift +5 -5
- package/package.json +12 -12
|
@@ -42,27 +42,35 @@ public class Dialog {
|
|
|
42
42
|
) {
|
|
43
43
|
final String alertOkButtonTitle = okButtonTitle == null ? "OK" : okButtonTitle;
|
|
44
44
|
|
|
45
|
-
new Handler(Looper.getMainLooper())
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
45
|
+
new Handler(Looper.getMainLooper())
|
|
46
|
+
.post(
|
|
47
|
+
() -> {
|
|
48
|
+
AlertDialog.Builder builder = new AlertDialog.Builder(context);
|
|
49
|
+
|
|
50
|
+
if (title != null) {
|
|
51
|
+
builder.setTitle(title);
|
|
52
|
+
}
|
|
53
|
+
builder
|
|
54
|
+
.setMessage(message)
|
|
55
|
+
.setPositiveButton(
|
|
56
|
+
alertOkButtonTitle,
|
|
57
|
+
(dialog, buttonIndex) -> {
|
|
58
|
+
dialog.dismiss();
|
|
59
|
+
listener.onResult(true, false, null);
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
.setOnCancelListener(
|
|
63
|
+
dialog -> {
|
|
64
|
+
dialog.dismiss();
|
|
65
|
+
listener.onResult(false, true, null);
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
AlertDialog dialog = builder.create();
|
|
70
|
+
|
|
71
|
+
dialog.show();
|
|
72
|
+
}
|
|
73
|
+
);
|
|
66
74
|
}
|
|
67
75
|
|
|
68
76
|
public static void confirm(final Context context, final String message, final Dialog.OnResultListener listener) {
|
|
@@ -80,30 +88,41 @@ public class Dialog {
|
|
|
80
88
|
final String confirmOkButtonTitle = okButtonTitle == null ? "OK" : okButtonTitle;
|
|
81
89
|
final String confirmCancelButtonTitle = cancelButtonTitle == null ? "Cancel" : cancelButtonTitle;
|
|
82
90
|
|
|
83
|
-
new Handler(Looper.getMainLooper())
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
91
|
+
new Handler(Looper.getMainLooper())
|
|
92
|
+
.post(
|
|
93
|
+
() -> {
|
|
94
|
+
final AlertDialog.Builder builder = new AlertDialog.Builder(context);
|
|
95
|
+
if (title != null) {
|
|
96
|
+
builder.setTitle(title);
|
|
97
|
+
}
|
|
98
|
+
builder
|
|
99
|
+
.setMessage(message)
|
|
100
|
+
.setPositiveButton(
|
|
101
|
+
confirmOkButtonTitle,
|
|
102
|
+
(dialog, buttonIndex) -> {
|
|
103
|
+
dialog.dismiss();
|
|
104
|
+
listener.onResult(true, false, null);
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
.setNegativeButton(
|
|
108
|
+
confirmCancelButtonTitle,
|
|
109
|
+
(dialog, buttonIndex) -> {
|
|
110
|
+
dialog.dismiss();
|
|
111
|
+
listener.onResult(false, false, null);
|
|
112
|
+
}
|
|
113
|
+
)
|
|
114
|
+
.setOnCancelListener(
|
|
115
|
+
dialog -> {
|
|
116
|
+
dialog.dismiss();
|
|
117
|
+
listener.onResult(false, true, null);
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
|
|
121
|
+
AlertDialog dialog = builder.create();
|
|
122
|
+
|
|
123
|
+
dialog.show();
|
|
124
|
+
}
|
|
125
|
+
);
|
|
107
126
|
}
|
|
108
127
|
|
|
109
128
|
public static void prompt(final Context context, final String message, final Dialog.OnResultListener listener) {
|
|
@@ -125,36 +144,47 @@ public class Dialog {
|
|
|
125
144
|
final String promptInputPlaceholder = inputPlaceholder == null ? "" : inputPlaceholder;
|
|
126
145
|
final String promptInputText = inputText == null ? "" : inputText;
|
|
127
146
|
|
|
128
|
-
new Handler(Looper.getMainLooper())
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
147
|
+
new Handler(Looper.getMainLooper())
|
|
148
|
+
.post(
|
|
149
|
+
() -> {
|
|
150
|
+
final AlertDialog.Builder builder = new AlertDialog.Builder(context);
|
|
151
|
+
final EditText input = new EditText(context);
|
|
152
|
+
|
|
153
|
+
input.setHint(promptInputPlaceholder);
|
|
154
|
+
input.setText(promptInputText);
|
|
155
|
+
if (title != null) {
|
|
156
|
+
builder.setTitle(title);
|
|
157
|
+
}
|
|
158
|
+
builder
|
|
159
|
+
.setMessage(message)
|
|
160
|
+
.setView(input)
|
|
161
|
+
.setPositiveButton(
|
|
162
|
+
promptOkButtonTitle,
|
|
163
|
+
(dialog, buttonIndex) -> {
|
|
164
|
+
dialog.dismiss();
|
|
165
|
+
|
|
166
|
+
String inputText1 = input.getText().toString().trim();
|
|
167
|
+
listener.onResult(true, false, inputText1);
|
|
168
|
+
}
|
|
169
|
+
)
|
|
170
|
+
.setNegativeButton(
|
|
171
|
+
promptCancelButtonTitle,
|
|
172
|
+
(dialog, buttonIndex) -> {
|
|
173
|
+
dialog.dismiss();
|
|
174
|
+
listener.onResult(false, true, null);
|
|
175
|
+
}
|
|
176
|
+
)
|
|
177
|
+
.setOnCancelListener(
|
|
178
|
+
dialog -> {
|
|
179
|
+
dialog.dismiss();
|
|
180
|
+
listener.onResult(false, true, null);
|
|
181
|
+
}
|
|
182
|
+
);
|
|
183
|
+
|
|
184
|
+
AlertDialog dialog = builder.create();
|
|
185
|
+
|
|
186
|
+
dialog.show();
|
|
187
|
+
}
|
|
188
|
+
);
|
|
159
189
|
}
|
|
160
190
|
}
|
|
@@ -48,11 +48,18 @@ public class DialogPlugin extends Plugin {
|
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
Dialog.confirm(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
Dialog.confirm(
|
|
52
|
+
activity,
|
|
53
|
+
message,
|
|
54
|
+
title,
|
|
55
|
+
okButtonTitle,
|
|
56
|
+
cancelButtonTitle,
|
|
57
|
+
(value, didCancel, inputValue) -> {
|
|
58
|
+
JSObject ret = new JSObject();
|
|
59
|
+
ret.put("value", value);
|
|
60
|
+
call.resolve(ret);
|
|
61
|
+
}
|
|
62
|
+
);
|
|
56
63
|
}
|
|
57
64
|
|
|
58
65
|
@PluginMethod
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { registerPlugin } from '@capacitor/core';
|
|
2
2
|
const Dialog = registerPlugin('Dialog', {
|
|
3
|
-
web: () => import('./web').then(
|
|
3
|
+
web: () => import('./web').then(m => new m.DialogWeb()),
|
|
4
4
|
});
|
|
5
5
|
export * from './definitions';
|
|
6
6
|
export { Dialog };
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,MAAM,GAAG,cAAc,CAAe,QAAQ,EAAE;IACpD,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,MAAM,GAAG,cAAc,CAAe,QAAQ,EAAE;IACpD,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;CACxD,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,CAAC","sourcesContent":["import { registerPlugin } from '@capacitor/core';\n\nimport type { DialogPlugin } from './definitions';\n\nconst Dialog = registerPlugin<DialogPlugin>('Dialog', {\n web: () => import('./web').then(m => new m.DialogWeb()),\n});\n\nexport * from './definitions';\nexport { Dialog };\n"]}
|
package/dist/plugin.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var core = require('@capacitor/core');
|
|
4
4
|
|
|
5
5
|
const Dialog = core.registerPlugin('Dialog', {
|
|
6
|
-
web: () => Promise.resolve().then(function () { return web; }).then(
|
|
6
|
+
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.DialogWeb()),
|
|
7
7
|
});
|
|
8
8
|
|
|
9
9
|
class DialogWeb extends core.WebPlugin {
|
package/dist/plugin.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Dialog = registerPlugin('Dialog', {\n web: () => import('./web').then(
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Dialog = registerPlugin('Dialog', {\n web: () => import('./web').then(m => new m.DialogWeb()),\n});\nexport * from './definitions';\nexport { Dialog };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class DialogWeb extends WebPlugin {\n async alert(options) {\n window.alert(options.message);\n }\n async prompt(options) {\n const val = window.prompt(options.message, options.inputText || '');\n return {\n value: val !== null ? val : '',\n cancelled: val === null,\n };\n }\n async confirm(options) {\n const val = window.confirm(options.message);\n return {\n value: val,\n };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,MAAM,GAAGA,mBAAc,CAAC,QAAQ,EAAE;AACxC,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;AAC3D,CAAC;;ACFM,MAAM,SAAS,SAASC,cAAS,CAAC;AACzC,IAAI,MAAM,KAAK,CAAC,OAAO,EAAE;AACzB,QAAQ,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;AACrC,IAAI;AACJ,IAAI,MAAM,MAAM,CAAC,OAAO,EAAE;AAC1B,QAAQ,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC;AAC3E,QAAQ,OAAO;AACf,YAAY,KAAK,EAAE,GAAG,KAAK,IAAI,GAAG,GAAG,GAAG,EAAE;AAC1C,YAAY,SAAS,EAAE,GAAG,KAAK,IAAI;AACnC,SAAS;AACT,IAAI;AACJ,IAAI,MAAM,OAAO,CAAC,OAAO,EAAE;AAC3B,QAAQ,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC;AACnD,QAAQ,OAAO;AACf,YAAY,KAAK,EAAE,GAAG;AACtB,SAAS;AACT,IAAI;AACJ;;;;;;;;;"}
|
package/dist/plugin.js
CHANGED
|
@@ -2,7 +2,7 @@ var capacitorDialog = (function (exports, core) {
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
const Dialog = core.registerPlugin('Dialog', {
|
|
5
|
-
web: () => Promise.resolve().then(function () { return web; }).then(
|
|
5
|
+
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.DialogWeb()),
|
|
6
6
|
});
|
|
7
7
|
|
|
8
8
|
class DialogWeb extends core.WebPlugin {
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Dialog = registerPlugin('Dialog', {\n web: () => import('./web').then(
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Dialog = registerPlugin('Dialog', {\n web: () => import('./web').then(m => new m.DialogWeb()),\n});\nexport * from './definitions';\nexport { Dialog };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class DialogWeb extends WebPlugin {\n async alert(options) {\n window.alert(options.message);\n }\n async prompt(options) {\n const val = window.prompt(options.message, options.inputText || '');\n return {\n value: val !== null ? val : '',\n cancelled: val === null,\n };\n }\n async confirm(options) {\n const val = window.confirm(options.message);\n return {\n value: val,\n };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,MAAM,GAAGA,mBAAc,CAAC,QAAQ,EAAE;IACxC,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3D,CAAC;;ICFM,MAAM,SAAS,SAASC,cAAS,CAAC;IACzC,IAAI,MAAM,KAAK,CAAC,OAAO,EAAE;IACzB,QAAQ,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;IACrC,IAAI;IACJ,IAAI,MAAM,MAAM,CAAC,OAAO,EAAE;IAC1B,QAAQ,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC;IAC3E,QAAQ,OAAO;IACf,YAAY,KAAK,EAAE,GAAG,KAAK,IAAI,GAAG,GAAG,GAAG,EAAE;IAC1C,YAAY,SAAS,EAAE,GAAG,KAAK,IAAI;IACnC,SAAS;IACT,IAAI;IACJ,IAAI,MAAM,OAAO,CAAC,OAAO,EAAE;IAC3B,QAAQ,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC;IACnD,QAAQ,OAAO;IACf,YAAY,KAAK,EAAE,GAAG;IACtB,SAAS;IACT,IAAI;IACJ;;;;;;;;;;;;;;;"}
|
|
@@ -24,7 +24,7 @@ public class DialogPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
24
24
|
|
|
25
25
|
DispatchQueue.main.async { [weak self] in
|
|
26
26
|
let alert = UIAlertController(title: title, message: message, preferredStyle: UIAlertController.Style.alert)
|
|
27
|
-
alert.addAction(UIAlertAction(title: buttonTitle, style: UIAlertAction.Style.default, handler: { (_) in
|
|
27
|
+
alert.addAction(UIAlertAction(title: buttonTitle, style: UIAlertAction.Style.default, handler: { (_) -> Void in
|
|
28
28
|
call.resolve()
|
|
29
29
|
}))
|
|
30
30
|
self?.bridge?.viewController?.present(alert, animated: true, completion: nil)
|
|
@@ -42,12 +42,12 @@ public class DialogPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
42
42
|
|
|
43
43
|
DispatchQueue.main.async { [weak self] in
|
|
44
44
|
let alert = UIAlertController(title: title, message: message, preferredStyle: UIAlertController.Style.alert)
|
|
45
|
-
alert.addAction(UIAlertAction(title: cancelButtonTitle, style: UIAlertAction.Style.default, handler: { (_) in
|
|
45
|
+
alert.addAction(UIAlertAction(title: cancelButtonTitle, style: UIAlertAction.Style.default, handler: { (_) -> Void in
|
|
46
46
|
call.resolve([
|
|
47
47
|
"value": false
|
|
48
48
|
])
|
|
49
49
|
}))
|
|
50
|
-
alert.addAction(UIAlertAction(title: okButtonTitle, style: UIAlertAction.Style.default, handler: { (_) in
|
|
50
|
+
alert.addAction(UIAlertAction(title: okButtonTitle, style: UIAlertAction.Style.default, handler: { (_) -> Void in
|
|
51
51
|
call.resolve([
|
|
52
52
|
"value": true
|
|
53
53
|
])
|
|
@@ -75,13 +75,13 @@ public class DialogPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
75
75
|
textField.text = inputText
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
alert.addAction(UIAlertAction(title: cancelButtonTitle, style: UIAlertAction.Style.default, handler: { (_) in
|
|
78
|
+
alert.addAction(UIAlertAction(title: cancelButtonTitle, style: UIAlertAction.Style.default, handler: { (_) -> Void in
|
|
79
79
|
call.resolve([
|
|
80
80
|
"value": "",
|
|
81
81
|
"cancelled": true
|
|
82
82
|
])
|
|
83
83
|
}))
|
|
84
|
-
alert.addAction(UIAlertAction(title: okButtonTitle, style: UIAlertAction.Style.default, handler: { (_) in
|
|
84
|
+
alert.addAction(UIAlertAction(title: okButtonTitle, style: UIAlertAction.Style.default, handler: { (_) -> Void in
|
|
85
85
|
let textField = alert.textFields?[0]
|
|
86
86
|
call.resolve([
|
|
87
87
|
"value": textField?.text ?? "",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/dialog",
|
|
3
|
-
"version": "8.0.0-dev-
|
|
3
|
+
"version": "8.0.0-dev-2440-20251112T200151.0",
|
|
4
4
|
"description": "The Dialog API provides methods for triggering native dialog windows for alerts, confirmations, and input prompts",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
|
38
38
|
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
|
|
39
39
|
"eslint": "eslint . --ext ts",
|
|
40
|
-
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"
|
|
40
|
+
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
|
|
41
41
|
"swiftlint": "node-swiftlint",
|
|
42
42
|
"docgen": "docgen --api DialogPlugin --output-readme README.md --output-json dist/docs.json",
|
|
43
43
|
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
|
|
@@ -49,18 +49,18 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@capacitor/android": "next",
|
|
51
51
|
"@capacitor/core": "next",
|
|
52
|
-
"@capacitor/docgen": "0.
|
|
52
|
+
"@capacitor/docgen": "0.3.0",
|
|
53
53
|
"@capacitor/ios": "next",
|
|
54
54
|
"@ionic/eslint-config": "^0.4.0",
|
|
55
|
-
"@ionic/prettier-config": "
|
|
56
|
-
"@ionic/swiftlint-config": "^
|
|
57
|
-
"eslint": "^8.57.
|
|
58
|
-
"prettier": "
|
|
59
|
-
"prettier-plugin-java": "
|
|
60
|
-
"rimraf": "^6.0
|
|
61
|
-
"rollup": "^4.
|
|
62
|
-
"swiftlint": "^
|
|
63
|
-
"typescript": "
|
|
55
|
+
"@ionic/prettier-config": "~1.0.1",
|
|
56
|
+
"@ionic/swiftlint-config": "^2.0.0",
|
|
57
|
+
"eslint": "^8.57.1",
|
|
58
|
+
"prettier": "~2.3.0",
|
|
59
|
+
"prettier-plugin-java": "~1.0.2",
|
|
60
|
+
"rimraf": "^6.1.0",
|
|
61
|
+
"rollup": "^4.53.2",
|
|
62
|
+
"swiftlint": "^2.0.0",
|
|
63
|
+
"typescript": "^5.9.3"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@capacitor/core": "next"
|