leafer-ui 1.0.0-rc.20 → 1.0.0-rc.21

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.
@@ -1265,7 +1265,8 @@ class Debug {
1265
1265
  this.warn(...messages);
1266
1266
  }
1267
1267
  warn(...messages) {
1268
- console.warn(this.name, ...messages);
1268
+ if (D$4.showWarn)
1269
+ console.warn(this.name, ...messages);
1269
1270
  }
1270
1271
  repeat(name, ...messages) {
1271
1272
  if (!this.repeatMap[name]) {
@@ -1284,6 +1285,7 @@ class Debug {
1284
1285
  }
1285
1286
  Debug.filterList = [];
1286
1287
  Debug.excludeList = [];
1288
+ Debug.showWarn = true;
1287
1289
  function getNameList(name) {
1288
1290
  if (!name)
1289
1291
  name = [];
@@ -7479,7 +7481,7 @@ Group = __decorate([
7479
7481
  var Leafer_1;
7480
7482
  const debug$3 = Debug.get('Leafer');
7481
7483
  let Leafer = Leafer_1 = class Leafer extends Group {
7482
- static get version() { return '1.0.0-rc.20'; }
7484
+ static get version() { return '1.0.0-rc.21'; }
7483
7485
  get __tag() { return 'Leafer'; }
7484
7486
  get isApp() { return false; }
7485
7487
  get app() { return this.parent || this; }
@@ -8522,7 +8524,7 @@ function penPathType() {
8522
8524
  };
8523
8525
  }
8524
8526
 
8525
- const version = "1.0.0-rc.20";
8527
+ const version = "1.0.0-rc.21";
8526
8528
 
8527
8529
  let App = class App extends Leafer {
8528
8530
  get __tag() { return 'App'; }