@fjyueke/bify-mcp 1.0.5 → 1.0.6
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/index.js +26 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -195,20 +195,22 @@ var componentMappings = [
|
|
|
195
195
|
arcoImport: "@arco-design/mobile-react",
|
|
196
196
|
bifyImport: "@fjyueke/bify-core",
|
|
197
197
|
propMappings: [
|
|
198
|
-
{ arcoProp: "type", bifyProp: "
|
|
198
|
+
{ arcoProp: "type", bifyProp: "color" },
|
|
199
|
+
{ arcoProp: "ghost", bifyProp: "variant", transform: () => "outlined" },
|
|
199
200
|
{ arcoProp: "size", bifyProp: "size" },
|
|
200
201
|
{ arcoProp: "disabled", bifyProp: "disabled" },
|
|
201
202
|
{ arcoProp: "loading", bifyProp: "loading" },
|
|
202
203
|
{ arcoProp: "icon", bifyProp: "icon" },
|
|
203
204
|
{ arcoProp: "onClick", bifyProp: "onClick" },
|
|
204
205
|
{ arcoProp: "className", bifyProp: "className" },
|
|
205
|
-
{ arcoProp: "style", bifyProp: "style" }
|
|
206
|
+
{ arcoProp: "style", bifyProp: "style" },
|
|
207
|
+
{ arcoProp: "block", bifyProp: "block" }
|
|
206
208
|
],
|
|
207
209
|
valueMappings: {
|
|
208
|
-
|
|
209
|
-
ghost: "outlined",
|
|
210
|
+
color: {
|
|
210
211
|
default: "default",
|
|
211
|
-
primary: "primary"
|
|
212
|
+
primary: "primary",
|
|
213
|
+
ghost: "default"
|
|
212
214
|
},
|
|
213
215
|
size: {
|
|
214
216
|
mini: "mini",
|
|
@@ -238,7 +240,9 @@ var componentMappings = [
|
|
|
238
240
|
propMappings: [
|
|
239
241
|
{ arcoProp: "dot", bifyProp: "dot" },
|
|
240
242
|
{ arcoProp: "count", bifyProp: "content" },
|
|
241
|
-
{ arcoProp: "maxCount", bifyProp: "max" }
|
|
243
|
+
{ arcoProp: "maxCount", bifyProp: "max" },
|
|
244
|
+
{ arcoProp: "position", bifyProp: "position" },
|
|
245
|
+
{ arcoProp: "fixed", bifyProp: "fixed" }
|
|
242
246
|
]
|
|
243
247
|
},
|
|
244
248
|
{
|
|
@@ -247,18 +251,24 @@ var componentMappings = [
|
|
|
247
251
|
arcoImport: "@arco-design/mobile-react",
|
|
248
252
|
bifyImport: "@fjyueke/bify-core",
|
|
249
253
|
propMappings: [
|
|
250
|
-
{ arcoProp: "type", bifyProp: "
|
|
254
|
+
{ arcoProp: "type", bifyProp: "color" },
|
|
251
255
|
{ arcoProp: "size", bifyProp: "size" },
|
|
252
|
-
{ arcoProp: "closable", bifyProp: "
|
|
253
|
-
{ arcoProp: "onClose", bifyProp: "onClose" }
|
|
256
|
+
{ arcoProp: "closable", bifyProp: "closeable" },
|
|
257
|
+
{ arcoProp: "onClose", bifyProp: "onClose" },
|
|
258
|
+
{ arcoProp: "shape", bifyProp: "shape" }
|
|
254
259
|
],
|
|
255
260
|
valueMappings: {
|
|
256
|
-
|
|
261
|
+
color: {
|
|
257
262
|
default: "default",
|
|
258
263
|
primary: "primary",
|
|
259
264
|
success: "success",
|
|
260
265
|
warning: "warning",
|
|
261
266
|
danger: "danger"
|
|
267
|
+
},
|
|
268
|
+
size: {
|
|
269
|
+
small: "small",
|
|
270
|
+
medium: "medium",
|
|
271
|
+
large: "large"
|
|
262
272
|
}
|
|
263
273
|
}
|
|
264
274
|
},
|
|
@@ -325,8 +335,12 @@ var componentMappings = [
|
|
|
325
335
|
propMappings: [
|
|
326
336
|
{ arcoProp: "visible", bifyProp: "open" },
|
|
327
337
|
{ arcoProp: "title", bifyProp: "title" },
|
|
328
|
-
{ arcoProp: "content", bifyProp: "
|
|
329
|
-
{ arcoProp: "onClose", bifyProp: "onClose" }
|
|
338
|
+
{ arcoProp: "content", bifyProp: "message" },
|
|
339
|
+
{ arcoProp: "onClose", bifyProp: "onClose" },
|
|
340
|
+
{ arcoProp: "confirmText", bifyProp: "confirm" },
|
|
341
|
+
{ arcoProp: "cancelText", bifyProp: "cancel" },
|
|
342
|
+
{ arcoProp: "onConfirm", bifyProp: "onConfirm" },
|
|
343
|
+
{ arcoProp: "onCancel", bifyProp: "onCancel" }
|
|
330
344
|
]
|
|
331
345
|
},
|
|
332
346
|
{
|