raise-common-lib 0.0.27 → 0.0.28

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.
@@ -1427,6 +1427,7 @@
1427
1427
  function RsPageListComponent() {
1428
1428
  this.customPageTitle = false;
1429
1429
  this.isInner = false;
1430
+ this.hasWholeToolbarSlot = false;
1430
1431
  }
1431
1432
  /**
1432
1433
  * @return {?}
@@ -1443,6 +1444,16 @@
1443
1444
  _this.onSeach();
1444
1445
  }), 300);
1445
1446
  };
1447
+ /**
1448
+ * @return {?}
1449
+ */
1450
+ RsPageListComponent.prototype.ngAfterContentInit = /**
1451
+ * @return {?}
1452
+ */
1453
+ function () {
1454
+ // 检测是否传入了 wholeToolbarSlot
1455
+ this.hasWholeToolbarSlot = !!this.wholeToolbarSlot;
1456
+ };
1446
1457
  /**
1447
1458
  * @return {?}
1448
1459
  */
@@ -1464,12 +1475,13 @@
1464
1475
  RsPageListComponent.decorators = [
1465
1476
  { type: core.Component, args: [{
1466
1477
  selector: 'rs-page-list',
1467
- template: "<div class=\"rs-page-list-wrap\" [ngClass]=\"{ 'is-not-inner': !isInner }\">\r\n <ng-container *ngIf=\"customPageTitle; else defaultTitle\">\r\n <ng-content select=\"[titleSlot]\"></ng-content>\r\n </ng-container>\r\n <ng-template #defaultTitle>\r\n <div class=\"rs-page-title\" *ngIf=\"pageTitle\">{{ pageTitle }}</div>\r\n </ng-template>\r\n <div class=\"rs-content-wrap\">\r\n <div class=\"rs-toolbar-wrap\">\r\n <div class=\"rs-left-col\">\r\n <ng-content select=\"[leftToolbarBtnSlot]\"></ng-content>\r\n </div>\r\n <div class=\"rs-right-col\">\r\n <ng-content select=\"[rightToolbarBtnSlot]\"></ng-content>\r\n <div class=\"rs-search-input\">\r\n <ejs-textbox\r\n type=\"text\"\r\n class=\"e-input\"\r\n [(ngModel)]=\"searchValue\"\r\n (input)=\"onInput()\"\r\n placeholder=\"Search all fields\"\r\n [showClearButton]=\"true\"\r\n autocomplete=\"off\"\r\n ></ejs-textbox>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"rs-grid-wrap\">\r\n <ng-content select=\"[gridSlot]\"></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n",
1478
+ template: "<div class=\"rs-page-list-wrap\" [ngClass]=\"{ 'is-not-inner': !isInner }\">\r\n <ng-container *ngIf=\"customPageTitle; else defaultTitle\">\r\n <ng-content select=\"[titleSlot]\"></ng-content>\r\n </ng-container>\r\n <ng-template #defaultTitle>\r\n <div class=\"rs-page-title\" *ngIf=\"pageTitle\">{{ pageTitle }}</div>\r\n </ng-template>\r\n <div class=\"rs-content-wrap\">\r\n <div class=\"rs-toolbar-wrap\">\r\n <ng-content select=\"[wholeToolbarSlot]\"></ng-content>\r\n <div class=\"rs-left-col\" *ngIf=\"!hasWholeToolbarSlot\">\r\n <ng-content select=\"[leftToolbarBtnSlot]\"></ng-content>\r\n </div>\r\n <div class=\"rs-right-col\" *ngIf=\"!hasWholeToolbarSlot\">\r\n <ng-content select=\"[rightToolbarBtnSlot]\"></ng-content>\r\n <div class=\"rs-search-input\">\r\n <ejs-textbox\r\n type=\"text\"\r\n class=\"e-input\"\r\n [(ngModel)]=\"searchValue\"\r\n (input)=\"onInput()\"\r\n placeholder=\"Search all fields\"\r\n [showClearButton]=\"true\"\r\n autocomplete=\"off\"\r\n ></ejs-textbox>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"rs-grid-wrap\">\r\n <ng-content select=\"[gridSlot]\"></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n",
1468
1479
  styles: [".rs-page-list-wrap{height:100%;display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1885px}.rs-page-list-wrap .rs-page-title{font-family:var(--rs-font-family);font-size:var(--rs-page-title-font-size);font-weight:700;text-align:left;color:var(--rs-page-title-color);display:flex;align-items:center;padding:16px 8px 12px 20px}.rs-page-list-wrap .rs-content-wrap{display:flex;flex-direction:column;flex:1;height:0}.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-left-col,.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-right-col{display:flex;gap:12px}.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-left-col ::ng-deep .e-btn,.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-right-col ::ng-deep .e-btn{height:28px}.rs-page-list-wrap .rs-content-wrap .rs-grid-wrap{flex:1;height:0}.rs-page-list-wrap.is-not-inner .rs-content-wrap{border-radius:15px;padding:12px 20px;background:#fff;border:1px solid var(--rs-border-color);box-shadow:0 0 4px 0 rgba(0,0,0,.1)}.rs-page-list-wrap .rs-search-input{width:240px}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group.e-input-focus,.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group:hover{box-shadow:0 0 3px 0 rgba(31,123,255,.4)!important;border-color:var(--rs-input-hover-border-color)!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:26px}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group::before{content:\"\"!important;margin:6px 0 0 8px;display:block;width:16px;height:16px;background-image:url(/assets/img/search.svg);background-size:cover;background-position:center}"]
1469
1480
  }] }
1470
1481
  ];
1471
1482
  RsPageListComponent.propDecorators = {
1472
1483
  gridContent: [{ type: core.ContentChild, args: [CommonGridComponent, { static: true },] }],
1484
+ wholeToolbarSlot: [{ type: core.ContentChild, args: ['wholeToolbarSlot', { static: true },] }],
1473
1485
  pageTitle: [{ type: core.Input }],
1474
1486
  customPageTitle: [{ type: core.Input }],
1475
1487
  isInner: [{ type: core.Input }]
@@ -1480,6 +1492,8 @@
1480
1492
  /** @type {?} */
1481
1493
  RsPageListComponent.prototype.gridContent;
1482
1494
  /** @type {?} */
1495
+ RsPageListComponent.prototype.wholeToolbarSlot;
1496
+ /** @type {?} */
1483
1497
  RsPageListComponent.prototype.pageTitle;
1484
1498
  /** @type {?} */
1485
1499
  RsPageListComponent.prototype.customPageTitle;
@@ -1491,6 +1505,8 @@
1491
1505
  */
1492
1506
  RsPageListComponent.prototype.debouncedInput;
1493
1507
  /** @type {?} */
1508
+ RsPageListComponent.prototype.hasWholeToolbarSlot;
1509
+ /** @type {?} */
1494
1510
  RsPageListComponent.prototype.searchValue;
1495
1511
  }
1496
1512
 
@@ -2215,6 +2231,14 @@
2215
2231
  }
2216
2232
  }
2217
2233
  }));
2234
+ };
2235
+ /**
2236
+ * @return {?}
2237
+ */
2238
+ MultiTabComponent.prototype.ngAfterViewInit = /**
2239
+ * @return {?}
2240
+ */
2241
+ function () {
2218
2242
  this.setEllipsisTitle();
2219
2243
  };
2220
2244
  /**