@dcloudio/uni-app-plus 3.0.0-alpha-4010720240511002 → 3.0.0-alpha-4010820240516001

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.
@@ -13262,15 +13262,15 @@ function parseTheme(pageStyle) {
13262
13262
  function useTabBarThemeChange(tabBar, options) {
13263
13263
  if (__uniConfig.darkmode) {
13264
13264
  const fn = () => {
13265
- const { list = [], color, selectedColor, backgroundColor, borderStyle, } = parseTheme(options);
13266
- tabBar &&
13265
+ const { list = [], color, selectedColor, backgroundColor, borderStyle, midButton, } = parseTheme(options);
13266
+ if (tabBar) {
13267
13267
  tabBar.setTabBarStyle({
13268
13268
  color,
13269
13269
  selectedColor,
13270
13270
  backgroundColor,
13271
13271
  borderStyle,
13272
+ midButton,
13272
13273
  });
13273
- tabBar &&
13274
13274
  tabBar.setTabBarItems({
13275
13275
  list: list.map((item) => ({
13276
13276
  iconPath: item.iconPath,
@@ -13278,6 +13278,7 @@ function useTabBarThemeChange(tabBar, options) {
13278
13278
  visible: item.visible,
13279
13279
  })),
13280
13280
  });
13281
+ }
13281
13282
  };
13282
13283
  // 由于应用首次启动获取不到手机 theme 应用首次启动设置下 tabBar
13283
13284
  fn();
@@ -17351,7 +17352,7 @@ function normalizeArg(arg) {
17351
17352
  return arg;
17352
17353
  }
17353
17354
  function initUTSInstanceMethod(async, opts, instanceId, proxy) {
17354
- return initProxyFunction(async, opts, instanceId, proxy);
17355
+ return initProxyFunction('method', async, opts, instanceId, proxy);
17355
17356
  }
17356
17357
  function getProxy() {
17357
17358
  if (!proxy) {
@@ -17410,7 +17411,7 @@ function invokePropGetter(args) {
17410
17411
  }
17411
17412
  return resolveSyncResult(args, getProxy().invokeSync(args, () => { }));
17412
17413
  }
17413
- function initProxyFunction(async, { moduleName, moduleType, package: pkg, class: cls, name: propOrMethod, method, companion, params: methodParams, return: returnOptions, errMsg, }, instanceId, proxy) {
17414
+ function initProxyFunction(type, async, { moduleName, moduleType, package: pkg, class: cls, name: methodName, method, companion, params: methodParams, return: returnOptions, errMsg, }, instanceId, proxy) {
17414
17415
  const invokeCallback = ({ id, name, params, keepAlive, }) => {
17415
17416
  const callback = callbacks[id];
17416
17417
  if (callback) {
@@ -17420,7 +17421,7 @@ function initProxyFunction(async, { moduleName, moduleType, package: pkg, class:
17420
17421
  }
17421
17422
  }
17422
17423
  else {
17423
- console.error(`${pkg}${cls}.${propOrMethod} ${name} is not found`);
17424
+ console.error(`${pkg}${cls}.${methodName} ${name} is not found`);
17424
17425
  }
17425
17426
  };
17426
17427
  const baseArgs = instanceId
@@ -17428,7 +17429,8 @@ function initProxyFunction(async, { moduleName, moduleType, package: pkg, class:
17428
17429
  moduleName,
17429
17430
  moduleType,
17430
17431
  id: instanceId,
17431
- name: propOrMethod,
17432
+ type,
17433
+ name: methodName,
17432
17434
  method: methodParams,
17433
17435
  }
17434
17436
  : {
@@ -17436,7 +17438,8 @@ function initProxyFunction(async, { moduleName, moduleType, package: pkg, class:
17436
17438
  moduleType,
17437
17439
  package: pkg,
17438
17440
  class: cls,
17439
- name: method || propOrMethod,
17441
+ name: method || methodName,
17442
+ type,
17440
17443
  companion,
17441
17444
  method: methodParams,
17442
17445
  };
@@ -17482,7 +17485,7 @@ function initUTSStaticMethod(async, opts) {
17482
17485
  opts.method = 's_' + opts.name;
17483
17486
  }
17484
17487
  }
17485
- return initProxyFunction(async, opts, 0);
17488
+ return initProxyFunction('method', async, opts, 0);
17486
17489
  }
17487
17490
  const initUTSProxyFunction = initUTSStaticMethod;
17488
17491
  function parseClassMethodName(name, methods) {
@@ -17497,8 +17500,11 @@ function isUndefined(value) {
17497
17500
  function isProxyInterfaceOptions(options) {
17498
17501
  return !isUndefined(options.instanceId);
17499
17502
  }
17503
+ function parseClassPropertySetter(name) {
17504
+ return '__$set' + capitalize(name);
17505
+ }
17500
17506
  function initUTSProxyClass(options) {
17501
- const { moduleName, moduleType, package: pkg, class: cls, methods, props, errMsg, } = options;
17507
+ const { moduleName, moduleType, package: pkg, class: cls, methods, props, setters, errMsg, } = options;
17502
17508
  const baseOptions = {
17503
17509
  moduleName,
17504
17510
  moduleType,
@@ -17510,6 +17516,7 @@ function initUTSProxyClass(options) {
17510
17516
  let constructorParams = [];
17511
17517
  let staticMethods = {};
17512
17518
  let staticProps = [];
17519
+ let staticSetters = {};
17513
17520
  let isProxyInterface = false;
17514
17521
  if (isProxyInterfaceOptions(options)) {
17515
17522
  isProxyInterface = true;
@@ -17519,6 +17526,7 @@ function initUTSProxyClass(options) {
17519
17526
  constructorParams = options.constructor.params;
17520
17527
  staticMethods = options.staticMethods;
17521
17528
  staticProps = options.staticProps;
17529
+ staticSetters = options.staticSetters;
17522
17530
  }
17523
17531
  // iOS 需要为 ByJs 的 class 构造函数(如果包含JSONObject或UTSCallback类型)补充最后一个参数
17524
17532
  if (isUTSiOS()) {
@@ -17536,7 +17544,7 @@ function initUTSProxyClass(options) {
17536
17544
  // 初始化实例 ID
17537
17545
  if (!isProxyInterface) {
17538
17546
  // 初始化未指定时,每次都要创建instanceId
17539
- this.__instanceId = initProxyFunction(false, extend({ name: 'constructor', params: constructorParams }, baseOptions), 0).apply(null, params);
17547
+ this.__instanceId = initProxyFunction('method', false, extend({ name: 'constructor', params: constructorParams }, baseOptions), 0).apply(null, params);
17540
17548
  }
17541
17549
  else if (typeof instanceId === 'number') {
17542
17550
  this.__instanceId = instanceId;
@@ -17568,6 +17576,7 @@ function initUTSProxyClass(options) {
17568
17576
  moduleName,
17569
17577
  moduleType,
17570
17578
  id: instance.__instanceId,
17579
+ type: 'property',
17571
17580
  name: name,
17572
17581
  errMsg,
17573
17582
  });
@@ -17575,10 +17584,28 @@ function initUTSProxyClass(options) {
17575
17584
  }
17576
17585
  return target[name];
17577
17586
  },
17587
+ set(_, name, newValue) {
17588
+ if (props.includes(name)) {
17589
+ const setter = parseClassPropertySetter(name);
17590
+ if (!target[setter]) {
17591
+ const param = setters[name];
17592
+ if (param) {
17593
+ target[setter] = initProxyFunction('property', false, extend({
17594
+ name: name,
17595
+ params: [param],
17596
+ }, baseOptions), instance.__instanceId, proxy);
17597
+ }
17598
+ }
17599
+ target[parseClassPropertySetter(name)](newValue);
17600
+ return true;
17601
+ }
17602
+ return false;
17603
+ },
17578
17604
  });
17579
17605
  return proxy;
17580
17606
  }
17581
17607
  };
17608
+ const staticPropSetterCache = {};
17582
17609
  const staticMethodCache = {};
17583
17610
  return new Proxy(ProxyClass, {
17584
17611
  get(target, name, receiver) {
@@ -17587,16 +17614,42 @@ function initUTSProxyClass(options) {
17587
17614
  if (!staticMethodCache[name]) {
17588
17615
  const { async, params, return: returnOptions } = staticMethods[name];
17589
17616
  // 静态方法
17590
- staticMethodCache[name] = initUTSStaticMethod(!!async, extend({ name, companion: true, params, return: returnOptions }, baseOptions));
17617
+ staticMethodCache[name] = initUTSStaticMethod(!!async, extend({
17618
+ name,
17619
+ companion: true,
17620
+ params,
17621
+ return: returnOptions,
17622
+ }, baseOptions));
17591
17623
  }
17592
17624
  return staticMethodCache[name];
17593
17625
  }
17594
17626
  if (staticProps.includes(name)) {
17595
- // 静态属性
17596
- return invokePropGetter(extend({ name: name, companion: true }, baseOptions));
17627
+ return invokePropGetter(extend({
17628
+ name: name,
17629
+ companion: true,
17630
+ type: 'property',
17631
+ }, baseOptions));
17597
17632
  }
17598
17633
  return Reflect.get(target, name, receiver);
17599
17634
  },
17635
+ set(_, name, newValue) {
17636
+ if (staticProps.includes(name)) {
17637
+ // 静态属性
17638
+ const setter = parseClassPropertySetter(name);
17639
+ if (!staticPropSetterCache[setter]) {
17640
+ const param = staticSetters[name];
17641
+ if (param) {
17642
+ staticPropSetterCache[setter] = initProxyFunction('property', false, extend({
17643
+ name: name,
17644
+ params: [param],
17645
+ }, baseOptions), 0);
17646
+ }
17647
+ }
17648
+ staticPropSetterCache[parseClassPropertySetter(name)](newValue);
17649
+ return true;
17650
+ }
17651
+ return false;
17652
+ },
17600
17653
  });
17601
17654
  }
17602
17655
  function isUTSAndroid() {
@@ -1078,7 +1078,23 @@ var ON_POP_GESTURE = "onPopGesture";
1078
1078
  function parsePageStyle(route) {
1079
1079
  var style = /* @__PURE__ */ new Map();
1080
1080
  var routeMeta = route.meta;
1081
- var routeKeys = ["id", "route", "i18n", "isQuit", "isEntry", "isTabBar", "tabBarIndex", "tabBarText", "windowTop", "topWindow", "leftWindow", "rightWindow", "eventChannel"];
1081
+ var routeKeys = [
1082
+ "id",
1083
+ "route",
1084
+ "i18n",
1085
+ "isQuit",
1086
+ "isEntry",
1087
+ "isTabBar",
1088
+ "tabBarIndex",
1089
+ "tabBarText",
1090
+ "windowTop",
1091
+ "topWindow",
1092
+ "leftWindow",
1093
+ "rightWindow",
1094
+ "eventChannel",
1095
+ // 忽略 initRouteMeta产生的 navigationBar 对象
1096
+ "navigationBar"
1097
+ ];
1082
1098
  var navKeys = ["navigationBarTitleText", "navigationBarBackgroundColor", "navigationBarTextStyle", "navigationStyle"];
1083
1099
  Object.keys(routeMeta).forEach((key) => {
1084
1100
  if (!routeKeys.includes(key) && !navKeys.includes(key)) {
@@ -1091,11 +1107,13 @@ function parsePageStyle(route) {
1091
1107
  navigationBar[key] = routeMeta[key];
1092
1108
  }
1093
1109
  });
1094
- if (Object.keys(navigationBar).length) {
1095
- style.set("navigationBar", navigationBar);
1110
+ if (Object.keys(navigationBar).length > 0) {
1096
1111
  if (navigationBar.navigationBarTextStyle !== "custom" && !routeMeta.isQuit && routeMeta.route !== __uniConfig.realEntryPagePath) {
1097
- navigationBar["navigationBarAutoBackButton"] = true;
1112
+ style.set("navigationBarAutoBackButton", true);
1098
1113
  }
1114
+ Object.keys(navigationBar).forEach((key) => {
1115
+ style.set(key, navigationBar[key]);
1116
+ });
1099
1117
  }
1100
1118
  return style;
1101
1119
  }
@@ -1837,7 +1855,7 @@ var setNavigationBarColor = /* @__PURE__ */ defineAsyncApi(API_SET_NAVIGATION_BA
1837
1855
  return reject("getCurrentPages is empty");
1838
1856
  }
1839
1857
  var appPage = page.$nativePage;
1840
- appPage.updateStyle(/* @__PURE__ */ new Map([["navigationBar", /* @__PURE__ */ new Map([["navigationBarTextStyle", frontColor == "#000000" ? "black" : "white"], ["navigationBarBackgroundColor", backgroundColor]])]]));
1858
+ appPage.updateStyle(/* @__PURE__ */ new Map([["navigationBarTextStyle", frontColor == "#000000" ? "black" : "white"], ["navigationBarBackgroundColor", backgroundColor]]));
1841
1859
  resolve();
1842
1860
  }, SetNavigationBarColorProtocol, SetNavigationBarColorOptions);
1843
1861
  var setNavigationBarTitle = /* @__PURE__ */ defineAsyncApi(API_SET_NAVIGATION_BAR_TITLE, (options, _ref) => {
@@ -1851,7 +1869,7 @@ var setNavigationBarTitle = /* @__PURE__ */ defineAsyncApi(API_SET_NAVIGATION_BA
1851
1869
  return;
1852
1870
  }
1853
1871
  var appPage = page.$nativePage;
1854
- appPage.updateStyle(/* @__PURE__ */ new Map([["navigationBar", /* @__PURE__ */ new Map([["navigationBarTitleText", options.title]])]]));
1872
+ appPage.updateStyle(/* @__PURE__ */ new Map([["navigationBarTitleText", options.title]]));
1855
1873
  resolve();
1856
1874
  });
1857
1875
  var getElementById = /* @__PURE__ */ defineSyncApi("getElementById", (id2) => {
@@ -2193,7 +2211,7 @@ function normalizeArg(arg) {
2193
2211
  return arg;
2194
2212
  }
2195
2213
  function initUTSInstanceMethod(async, opts, instanceId, proxy2) {
2196
- return initProxyFunction(async, opts, instanceId, proxy2);
2214
+ return initProxyFunction("method", async, opts, instanceId, proxy2);
2197
2215
  }
2198
2216
  function getProxy() {
2199
2217
  if (!proxy) {
@@ -2250,13 +2268,13 @@ function invokePropGetter(args) {
2250
2268
  return resolveSyncResult(args, getProxy().invokeSync(args, () => {
2251
2269
  }));
2252
2270
  }
2253
- function initProxyFunction(async, _ref, instanceId, proxy2) {
2271
+ function initProxyFunction(type, async, _ref, instanceId, proxy2) {
2254
2272
  var {
2255
2273
  moduleName,
2256
2274
  moduleType,
2257
2275
  package: pkg,
2258
2276
  class: cls,
2259
- name: propOrMethod,
2277
+ name: methodName,
2260
2278
  method,
2261
2279
  companion,
2262
2280
  params: methodParams,
@@ -2277,21 +2295,23 @@ function initProxyFunction(async, _ref, instanceId, proxy2) {
2277
2295
  delete callbacks[id2];
2278
2296
  }
2279
2297
  } else {
2280
- console.error("".concat(pkg).concat(cls, ".").concat(propOrMethod, " ").concat(name, " is not found"));
2298
+ console.error("".concat(pkg).concat(cls, ".").concat(methodName, " ").concat(name, " is not found"));
2281
2299
  }
2282
2300
  };
2283
2301
  var baseArgs = instanceId ? {
2284
2302
  moduleName,
2285
2303
  moduleType,
2286
2304
  id: instanceId,
2287
- name: propOrMethod,
2305
+ type,
2306
+ name: methodName,
2288
2307
  method: methodParams
2289
2308
  } : {
2290
2309
  moduleName,
2291
2310
  moduleType,
2292
2311
  package: pkg,
2293
2312
  class: cls,
2294
- name: method || propOrMethod,
2313
+ name: method || methodName,
2314
+ type,
2295
2315
  companion,
2296
2316
  method: methodParams
2297
2317
  };
@@ -2329,7 +2349,7 @@ function initUTSStaticMethod(async, opts) {
2329
2349
  opts.method = "s_" + opts.name;
2330
2350
  }
2331
2351
  }
2332
- return initProxyFunction(async, opts, 0);
2352
+ return initProxyFunction("method", async, opts, 0);
2333
2353
  }
2334
2354
  var initUTSProxyFunction = initUTSStaticMethod;
2335
2355
  function parseClassMethodName(name, methods) {
@@ -2344,6 +2364,9 @@ function isUndefined(value) {
2344
2364
  function isProxyInterfaceOptions(options) {
2345
2365
  return !isUndefined(options.instanceId);
2346
2366
  }
2367
+ function parseClassPropertySetter(name) {
2368
+ return "__$set" + capitalize(name);
2369
+ }
2347
2370
  function initUTSProxyClass(options) {
2348
2371
  var {
2349
2372
  moduleName,
@@ -2352,6 +2375,7 @@ function initUTSProxyClass(options) {
2352
2375
  class: cls,
2353
2376
  methods,
2354
2377
  props,
2378
+ setters,
2355
2379
  errMsg
2356
2380
  } = options;
2357
2381
  var baseOptions = {
@@ -2365,6 +2389,7 @@ function initUTSProxyClass(options) {
2365
2389
  var constructorParams = [];
2366
2390
  var staticMethods = {};
2367
2391
  var staticProps = [];
2392
+ var staticSetters = {};
2368
2393
  var isProxyInterface = false;
2369
2394
  if (isProxyInterfaceOptions(options)) {
2370
2395
  isProxyInterface = true;
@@ -2373,6 +2398,7 @@ function initUTSProxyClass(options) {
2373
2398
  constructorParams = options.constructor.params;
2374
2399
  staticMethods = options.staticMethods;
2375
2400
  staticProps = options.staticProps;
2401
+ staticSetters = options.staticSetters;
2376
2402
  }
2377
2403
  if (isUTSiOS()) {
2378
2404
  if (constructorParams.find((p) => p.type === "UTSCallback" || p.type.indexOf("JSONObject") > 0)) {
@@ -2393,7 +2419,7 @@ function initUTSProxyClass(options) {
2393
2419
  for (var _len2 = arguments.length, params = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
2394
2420
  params[_key2] = arguments[_key2];
2395
2421
  }
2396
- this.__instanceId = initProxyFunction(false, extend({
2422
+ this.__instanceId = initProxyFunction("method", false, extend({
2397
2423
  name: "constructor",
2398
2424
  params: constructorParams
2399
2425
  }, baseOptions), 0).apply(null, params);
@@ -2427,17 +2453,36 @@ function initUTSProxyClass(options) {
2427
2453
  moduleName,
2428
2454
  moduleType,
2429
2455
  id: instance.__instanceId,
2456
+ type: "property",
2430
2457
  name,
2431
2458
  errMsg
2432
2459
  });
2433
2460
  }
2434
2461
  }
2435
2462
  return target[name];
2463
+ },
2464
+ set(_, name, newValue) {
2465
+ if (props.includes(name)) {
2466
+ var setter = parseClassPropertySetter(name);
2467
+ if (!target[setter]) {
2468
+ var param = setters[name];
2469
+ if (param) {
2470
+ target[setter] = initProxyFunction("property", false, extend({
2471
+ name,
2472
+ params: [param]
2473
+ }, baseOptions), instance.__instanceId, proxy2);
2474
+ }
2475
+ }
2476
+ target[parseClassPropertySetter(name)](newValue);
2477
+ return true;
2478
+ }
2479
+ return false;
2436
2480
  }
2437
2481
  });
2438
2482
  return proxy2;
2439
2483
  }
2440
2484
  };
2485
+ var staticPropSetterCache = {};
2441
2486
  var staticMethodCache = {};
2442
2487
  return new Proxy(ProxyClass, {
2443
2488
  get(target, name, receiver) {
@@ -2461,10 +2506,28 @@ function initUTSProxyClass(options) {
2461
2506
  if (staticProps.includes(name)) {
2462
2507
  return invokePropGetter(extend({
2463
2508
  name,
2464
- companion: true
2509
+ companion: true,
2510
+ type: "property"
2465
2511
  }, baseOptions));
2466
2512
  }
2467
2513
  return Reflect.get(target, name, receiver);
2514
+ },
2515
+ set(_, name, newValue) {
2516
+ if (staticProps.includes(name)) {
2517
+ var setter = parseClassPropertySetter(name);
2518
+ if (!staticPropSetterCache[setter]) {
2519
+ var param = staticSetters[name];
2520
+ if (param) {
2521
+ staticPropSetterCache[setter] = initProxyFunction("property", false, extend({
2522
+ name,
2523
+ params: [param]
2524
+ }, baseOptions), 0);
2525
+ }
2526
+ }
2527
+ staticPropSetterCache[parseClassPropertySetter(name)](newValue);
2528
+ return true;
2529
+ }
2530
+ return false;
2468
2531
  }
2469
2532
  });
2470
2533
  }
@@ -2939,6 +3002,11 @@ function $dispatchParent(context, componentName, eventName) {
2939
3002
  }
2940
3003
  }
2941
3004
  }
3005
+ function initUniCustomEvent(element, e) {
3006
+ e.target = element;
3007
+ e.currentTarget = element;
3008
+ return e;
3009
+ }
2942
3010
  var CHECKBOX_NAME = "Checkbox";
2943
3011
  var CHECKBOX_ROOT_ELEMENT = "uni-checkbox-element";
2944
3012
  class UniCheckboxElement extends UniElementImpl {
@@ -3211,7 +3279,7 @@ class UniCheckboxGroupChangeEventDetail {
3211
3279
  this.value = value;
3212
3280
  }
3213
3281
  }
3214
- class UniCheckboxGroupChangeEvent extends CustomEvent {
3282
+ class UniCheckboxGroupChangeEvent extends UniCustomEvent {
3215
3283
  constructor(value) {
3216
3284
  super("change", {
3217
3285
  detail: new UniCheckboxGroupChangeEventDetail(value)
@@ -3252,7 +3320,7 @@ const checkboxGroup = /* @__PURE__ */ defineBuiltInComponent({
3252
3320
  i.checked = info.checked;
3253
3321
  }
3254
3322
  });
3255
- emit("change", new UniCheckboxGroupChangeEvent(_getValue()));
3323
+ emit("change", initUniCustomEvent(uniCheckboxGroupElementRef.value, new UniCheckboxGroupChangeEvent(_getValue())));
3256
3324
  };
3257
3325
  var _getValue = () => {
3258
3326
  var valueArray = [];
@@ -3572,7 +3640,7 @@ class UniRadioGroupChangeEventDetail {
3572
3640
  this.value = value;
3573
3641
  }
3574
3642
  }
3575
- class UniRadioGroupChangeEvent extends CustomEvent {
3643
+ class UniRadioGroupChangeEvent extends UniCustomEvent {
3576
3644
  constructor(value) {
3577
3645
  super("change", {
3578
3646
  detail: new UniRadioGroupChangeEventDetail(value)
@@ -3609,7 +3677,7 @@ const radioGroup = /* @__PURE__ */ defineBuiltInComponent({
3609
3677
  };
3610
3678
  var _changeHandler = (data) => {
3611
3679
  _setValue(data.name);
3612
- emit("change", new UniRadioGroupChangeEvent(data.name));
3680
+ emit("change", initUniCustomEvent(uniRadioGroupElementRef.value, new UniRadioGroupChangeEvent(data.name)));
3613
3681
  };
3614
3682
  var _getValue = () => {
3615
3683
  var value = "";
@@ -4122,7 +4190,7 @@ class UniPickerViewChangeEventDetail {
4122
4190
  this.value = value;
4123
4191
  }
4124
4192
  }
4125
- class UniPickerViewChangeEvent extends CustomEvent {
4193
+ class UniPickerViewChangeEvent extends UniCustomEvent {
4126
4194
  constructor(value) {
4127
4195
  super("change", {
4128
4196
  detail: new UniPickerViewChangeEventDetail(value)
@@ -4224,7 +4292,7 @@ const pickerView = /* @__PURE__ */ defineBuiltInComponent({
4224
4292
  if (data.valueSync.length > index2) {
4225
4293
  data.valueSync[index2] = val;
4226
4294
  }
4227
- emit("change", new UniPickerViewChangeEvent([...data.valueSync]));
4295
+ emit("change", initUniCustomEvent(pickerViewElementRef.value, new UniPickerViewChangeEvent([...data.valueSync])));
4228
4296
  }
4229
4297
  };
4230
4298
  expose({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-plus",
3
- "version": "3.0.0-alpha-4010720240511002",
3
+ "version": "3.0.0-alpha-4010820240516001",
4
4
  "description": "@dcloudio/uni-app-plus",
5
5
  "files": [
6
6
  "dist",
@@ -29,20 +29,20 @@
29
29
  "main": "dist/uni.compiler.js"
30
30
  },
31
31
  "dependencies": {
32
- "@dcloudio/uni-app-uts": "3.0.0-alpha-4010720240511002",
33
- "@dcloudio/uni-app-vite": "3.0.0-alpha-4010720240511002",
34
- "@dcloudio/uni-app-vue": "3.0.0-alpha-4010720240511002",
32
+ "@dcloudio/uni-app-uts": "3.0.0-alpha-4010820240516001",
33
+ "@dcloudio/uni-app-vite": "3.0.0-alpha-4010820240516001",
34
+ "@dcloudio/uni-app-vue": "3.0.0-alpha-4010820240516001",
35
35
  "debug": "^4.3.3",
36
36
  "fs-extra": "^10.0.0",
37
37
  "licia": "^1.29.0",
38
38
  "postcss-selector-parser": "^6.0.6"
39
39
  },
40
40
  "devDependencies": {
41
- "@dcloudio/uni-cli-shared": "3.0.0-alpha-4010720240511002",
42
- "@dcloudio/uni-components": "3.0.0-alpha-4010720240511002",
43
- "@dcloudio/uni-h5": "3.0.0-alpha-4010720240511002",
44
- "@dcloudio/uni-i18n": "3.0.0-alpha-4010720240511002",
45
- "@dcloudio/uni-shared": "3.0.0-alpha-4010720240511002",
41
+ "@dcloudio/uni-cli-shared": "3.0.0-alpha-4010820240516001",
42
+ "@dcloudio/uni-components": "3.0.0-alpha-4010820240516001",
43
+ "@dcloudio/uni-h5": "3.0.0-alpha-4010820240516001",
44
+ "@dcloudio/uni-i18n": "3.0.0-alpha-4010820240516001",
45
+ "@dcloudio/uni-shared": "3.0.0-alpha-4010820240516001",
46
46
  "@types/pako": "1.0.2",
47
47
  "@vue/compiler-sfc": "3.4.21",
48
48
  "autoprefixer": "^10.4.19",
@@ -60,8 +60,8 @@ uni-button[loading]:before {
60
60
 
61
61
  @media (prefers-color-scheme: dark) {
62
62
  html {
63
- --UI-BG-CLOLOR-ACTIVE: #373737;
64
- --UI-BORDER-CLOLOR-1: #373737;
63
+ --UI-BG-COLOR-ACTIVE: #373737;
64
+ --UI-BORDER-COLOR-1: #373737;
65
65
  /* UI */
66
66
  --UI-BG: #000;
67
67
  --UI-BG-0: #191919;