raise-common-lib 0.0.186 → 0.0.188

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.
@@ -1389,6 +1389,8 @@ var FloatBoxComponent = /** @class */ (function () {
1389
1389
  */
1390
1390
  function () {
1391
1391
  _this.opened = "no";
1392
+ _this.ref.markForCheck();
1393
+ _this.ref.detectChanges();
1392
1394
  _this.openChange.emit(false);
1393
1395
  }), 0);
1394
1396
  };
@@ -2580,6 +2582,99 @@ if (false) {
2580
2582
  TruncatedTextToggleComponent.prototype.showCollapseBtn;
2581
2583
  }
2582
2584
 
2585
+ /**
2586
+ * @fileoverview added by tsickle
2587
+ * Generated from: lib/form/search-input/index.component.ts
2588
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2589
+ */
2590
+ var SearchInputComponent = /** @class */ (function () {
2591
+ function SearchInputComponent() {
2592
+ this.placeholder = "";
2593
+ this.hanleSearch = new EventEmitter();
2594
+ this.handleInput = new EventEmitter();
2595
+ this.searchValue = "";
2596
+ }
2597
+ /**
2598
+ * @return {?}
2599
+ */
2600
+ SearchInputComponent.prototype.ngOnInit = /**
2601
+ * @return {?}
2602
+ */
2603
+ function () {
2604
+ var _this = this;
2605
+ this.getInfo();
2606
+ this.debouncedInput = debounce((/**
2607
+ * @return {?}
2608
+ */
2609
+ function () {
2610
+ _this.onSeach();
2611
+ }), 300);
2612
+ };
2613
+ /**
2614
+ * @return {?}
2615
+ */
2616
+ SearchInputComponent.prototype.getInfo = /**
2617
+ * @return {?}
2618
+ */
2619
+ function () {
2620
+ this.translation = JSON.parse(localStorage.getItem("translation"));
2621
+ this.placeholder = this.placeholder || this.translation.SEARCH;
2622
+ };
2623
+ /**
2624
+ * @param {?} e
2625
+ * @return {?}
2626
+ */
2627
+ SearchInputComponent.prototype.onInput = /**
2628
+ * @param {?} e
2629
+ * @return {?}
2630
+ */
2631
+ function (e) {
2632
+ this.handleInput.emit(e.value);
2633
+ this.debouncedInput();
2634
+ };
2635
+ /**
2636
+ * @return {?}
2637
+ */
2638
+ SearchInputComponent.prototype.onSeach = /**
2639
+ * @return {?}
2640
+ */
2641
+ function () {
2642
+ this.hanleSearch.emit(this.searchValue);
2643
+ };
2644
+ SearchInputComponent.decorators = [
2645
+ { type: Component, args: [{
2646
+ selector: "rs-search-input",
2647
+ template: "<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($event)\"\r\n [placeholder]=\"placeholder\"\r\n [showClearButton]=\"true\"\r\n autocomplete=\"off\"\r\n ></ejs-textbox>\r\n</div>\r\n",
2648
+ styles: [".rs-search-input{width:240px}.rs-search-input .e-textbox{display:block;box-shadow:none!important}.rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-search-input ::ng-deep .e-input-group.e-input-focus,.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-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:24px!important;line-height:22px!important}.rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-search-input ::ng-deep .e-input-group::before{content:\"\"!important;margin:5px 0 0 8px;display:block;width:16px;height:16px;background-image:url(/assets/img/search.svg);background-size:cover;background-position:center}"]
2649
+ }] }
2650
+ ];
2651
+ /** @nocollapse */
2652
+ SearchInputComponent.ctorParameters = function () { return []; };
2653
+ SearchInputComponent.propDecorators = {
2654
+ placeholder: [{ type: Input }],
2655
+ hanleSearch: [{ type: Output }],
2656
+ handleInput: [{ type: Output }]
2657
+ };
2658
+ return SearchInputComponent;
2659
+ }());
2660
+ if (false) {
2661
+ /** @type {?} */
2662
+ SearchInputComponent.prototype.placeholder;
2663
+ /** @type {?} */
2664
+ SearchInputComponent.prototype.hanleSearch;
2665
+ /** @type {?} */
2666
+ SearchInputComponent.prototype.handleInput;
2667
+ /**
2668
+ * @type {?}
2669
+ * @private
2670
+ */
2671
+ SearchInputComponent.prototype.debouncedInput;
2672
+ /** @type {?} */
2673
+ SearchInputComponent.prototype.searchValue;
2674
+ /** @type {?} */
2675
+ SearchInputComponent.prototype.translation;
2676
+ }
2677
+
2583
2678
  /**
2584
2679
  * @fileoverview added by tsickle
2585
2680
  * Generated from: lib/layout/page-list/index.component.ts
@@ -2621,6 +2716,18 @@ var RsPageListComponent = /** @class */ (function () {
2621
2716
  // 检测是否传入了 wholeToolbarSlot
2622
2717
  this.hasWholeToolbarSlot = !!this.wholeToolbarSlot;
2623
2718
  };
2719
+ /**
2720
+ * @param {?} value
2721
+ * @return {?}
2722
+ */
2723
+ RsPageListComponent.prototype.setSearchValue = /**
2724
+ * @param {?} value
2725
+ * @return {?}
2726
+ */
2727
+ function (value) {
2728
+ this.searchInput.searchValue = value;
2729
+ this.onSeach(value);
2730
+ };
2624
2731
  /**
2625
2732
  * @param {?} value
2626
2733
  * @return {?}
@@ -2646,7 +2753,7 @@ var RsPageListComponent = /** @class */ (function () {
2646
2753
  RsPageListComponent.decorators = [
2647
2754
  { type: Component, args: [{
2648
2755
  selector: "rs-page-list",
2649
- 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 <h1 class=\"rs-page-title\" *ngIf=\"pageTitle\">{{ pageTitle }}</h1>\r\n </ng-template>\r\n <div class=\"rs-sub-section\">\r\n <ng-content select=\"[subSectionSlot]\"></ng-content>\r\n </div>\r\n <div class=\"rs-content-wrap\">\r\n <div class=\"rs-content-tab\">\r\n <ng-content select=\"[contentTabSlot]\"></ng-content>\r\n </div>\r\n <div class=\"rs-toolbar-wrap\">\r\n <div class=\"rs-whole-bar\" *ngIf=\"hasWholeToolbarSlot\">\r\n <ng-content select=\"[wholeToolbarSlot]\"></ng-content>\r\n </div>\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 <rs-search-input\r\n *ngIf=\"!hideSearch\"\r\n [placeholder]=\"translation.SEARCH_ALL_FIELD\"\r\n (hanleSearch)=\"onSeach($event)\"\r\n ></rs-search-input>\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",
2756
+ 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 <h1 class=\"rs-page-title\" *ngIf=\"pageTitle\">{{ pageTitle }}</h1>\r\n </ng-template>\r\n <div class=\"rs-sub-section\">\r\n <ng-content select=\"[subSectionSlot]\"></ng-content>\r\n </div>\r\n <div class=\"rs-content-wrap\">\r\n <div class=\"rs-content-tab\">\r\n <ng-content select=\"[contentTabSlot]\"></ng-content>\r\n </div>\r\n <div class=\"rs-toolbar-wrap\">\r\n <div class=\"rs-whole-bar\" *ngIf=\"hasWholeToolbarSlot\">\r\n <ng-content select=\"[wholeToolbarSlot]\"></ng-content>\r\n </div>\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 <rs-search-input\r\n #searchInput\r\n *ngIf=\"!hideSearch\"\r\n [placeholder]=\"translation.SEARCH_ALL_FIELD\"\r\n (hanleSearch)=\"onSeach($event)\"\r\n ></rs-search-input>\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",
2650
2757
  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-sub-section{width:100%}.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;padding-bottom:4px;border-bottom:1px solid #eaedf0}.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-whole-bar{width:100%}.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;align-items:center}.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:24px!important;min-width:auto!important}.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-right-col{gap:12px}.rs-page-list-wrap .rs-content-wrap .rs-left-col{flex:1;width:0;gap:4px}.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)}"]
2651
2758
  }] }
2652
2759
  ];
@@ -2655,6 +2762,7 @@ var RsPageListComponent = /** @class */ (function () {
2655
2762
  orignGrid: [{ type: ContentChild, args: [GridComponent, { static: false },] }],
2656
2763
  treeGrid: [{ type: ContentChild, args: [TreeGridComponent, { static: false },] }],
2657
2764
  wholeToolbarSlot: [{ type: ContentChild, args: ["wholeToolbarSlot", { static: false },] }],
2765
+ searchInput: [{ type: ViewChild, args: ["searchInput", { static: false },] }],
2658
2766
  pageTitle: [{ type: Input }],
2659
2767
  customPageTitle: [{ type: Input }],
2660
2768
  hideSearch: [{ type: Input }],
@@ -2673,6 +2781,8 @@ if (false) {
2673
2781
  /** @type {?} */
2674
2782
  RsPageListComponent.prototype.wholeToolbarSlot;
2675
2783
  /** @type {?} */
2784
+ RsPageListComponent.prototype.searchInput;
2785
+ /** @type {?} */
2676
2786
  RsPageListComponent.prototype.pageTitle;
2677
2787
  /** @type {?} */
2678
2788
  RsPageListComponent.prototype.customPageTitle;
@@ -2838,6 +2948,18 @@ var GridBoxComponent = /** @class */ (function () {
2838
2948
  // 检测是否传入了 wholeToolbarSlot
2839
2949
  this.hasWholeToolbarSlot = !!this.wholeToolbarSlot;
2840
2950
  };
2951
+ /**
2952
+ * @param {?} value
2953
+ * @return {?}
2954
+ */
2955
+ GridBoxComponent.prototype.setSearchValue = /**
2956
+ * @param {?} value
2957
+ * @return {?}
2958
+ */
2959
+ function (value) {
2960
+ this.searchInput.searchValue = value;
2961
+ this.onSeach(value);
2962
+ };
2841
2963
  /**
2842
2964
  * @param {?} value
2843
2965
  * @return {?}
@@ -2863,7 +2985,7 @@ var GridBoxComponent = /** @class */ (function () {
2863
2985
  GridBoxComponent.decorators = [
2864
2986
  { type: Component, args: [{
2865
2987
  selector: "rs-grid-box",
2866
- template: "<div class=\"rs-grid-box\" [ngClass]=\"{ 'is-not-inner': !isInner }\">\r\n <div class=\"rs-content-tab\">\r\n <ng-content select=\"[contentTabSlot]\"></ng-content>\r\n </div>\r\n <div class=\"rs-toolbar-wrap\">\r\n <div class=\"rs-whole-bar\" *ngIf=\"hasWholeToolbarSlot\">\r\n <ng-content select=\"[wholeToolbarSlot]\"></ng-content>\r\n </div>\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 <rs-search-input\r\n *ngIf=\"!hideSearch\"\r\n [placeholder]=\"translation.SEARCH_ALL_FIELD\"\r\n (hanleSearch)=\"onSeach($event)\"\r\n ></rs-search-input>\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",
2988
+ template: "<div class=\"rs-grid-box\" [ngClass]=\"{ 'is-not-inner': !isInner }\">\r\n <div class=\"rs-content-tab\">\r\n <ng-content select=\"[contentTabSlot]\"></ng-content>\r\n </div>\r\n <div class=\"rs-toolbar-wrap\">\r\n <div class=\"rs-whole-bar\" *ngIf=\"hasWholeToolbarSlot\">\r\n <ng-content select=\"[wholeToolbarSlot]\"></ng-content>\r\n </div>\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 <rs-search-input\r\n #searchInput\r\n *ngIf=\"!hideSearch\"\r\n [placeholder]=\"translation.SEARCH_ALL_FIELD\"\r\n (hanleSearch)=\"onSeach($event)\"\r\n ></rs-search-input>\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",
2867
2989
  styles: [":host{height:100%}.rs-grid-box{display:flex;flex-direction:column;height:100%}.rs-grid-box.is-not-inner{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-grid-box .rs-toolbar-wrap{display:flex;justify-content:space-between;align-items:center;padding-bottom:4px;border-bottom:1px solid #eaedf0}.rs-grid-box .rs-toolbar-wrap .rs-whole-bar{width:100%}.rs-grid-box .rs-toolbar-wrap .rs-left-col,.rs-grid-box .rs-toolbar-wrap .rs-right-col{display:flex;align-items:center}.rs-grid-box .rs-toolbar-wrap .rs-left-col ::ng-deep .e-btn,.rs-grid-box .rs-toolbar-wrap .rs-right-col ::ng-deep .e-btn{height:24px!important;min-width:auto!important}.rs-grid-box .rs-toolbar-wrap .rs-left-col{flex:1;width:0;gap:4px}.rs-grid-box .rs-toolbar-wrap .rs-right-col{gap:12px}.rs-grid-box .rs-grid-wrap{flex:1;height:0}"]
2868
2990
  }] }
2869
2991
  ];
@@ -2872,6 +2994,7 @@ var GridBoxComponent = /** @class */ (function () {
2872
2994
  orignGrid: [{ type: ContentChild, args: [GridComponent, { static: false },] }],
2873
2995
  treeGrid: [{ type: ContentChild, args: [TreeGridComponent, { static: false },] }],
2874
2996
  wholeToolbarSlot: [{ type: ContentChild, args: ["wholeToolbarSlot", { static: false },] }],
2997
+ searchInput: [{ type: ViewChild, args: ["searchInput", { static: false },] }],
2875
2998
  hideSearch: [{ type: Input }],
2876
2999
  isInner: [{ type: Input }],
2877
3000
  onGridSearch: [{ type: Output }]
@@ -2888,6 +3011,8 @@ if (false) {
2888
3011
  /** @type {?} */
2889
3012
  GridBoxComponent.prototype.wholeToolbarSlot;
2890
3013
  /** @type {?} */
3014
+ GridBoxComponent.prototype.searchInput;
3015
+ /** @type {?} */
2891
3016
  GridBoxComponent.prototype.hideSearch;
2892
3017
  /** @type {?} */
2893
3018
  GridBoxComponent.prototype.isInner;
@@ -3064,6 +3189,19 @@ var DrawerService = /** @class */ (function () {
3064
3189
  drawer && drawer.back();
3065
3190
  }
3066
3191
  };
3192
+ /**
3193
+ * @param {?} config
3194
+ * @return {?}
3195
+ */
3196
+ DrawerService.prototype.setConfig = /**
3197
+ * @param {?} config
3198
+ * @return {?}
3199
+ */
3200
+ function (config) {
3201
+ if (this.uniqueDrawerComponent) {
3202
+ this.uniqueDrawerComponent.setConfig(config);
3203
+ }
3204
+ };
3067
3205
  /**
3068
3206
  * @param {?} cacheKey
3069
3207
  * @return {?}
@@ -3904,6 +4042,24 @@ var DrawerComponent = /** @class */ (function () {
3904
4042
  this.drawer.nativeElement.insertBefore(this.header.nativeElement, this.drawer.nativeElement.firstChild);
3905
4043
  this.header.nativeElement.append(this.toolbarSlot.nativeElement);
3906
4044
  }
4045
+ this.config = cache.config;
4046
+ this.ref.markForCheck();
4047
+ };
4048
+ /**
4049
+ * @param {?} config
4050
+ * @return {?}
4051
+ */
4052
+ DrawerComponent.prototype.setConfig = /**
4053
+ * @param {?} config
4054
+ * @return {?}
4055
+ */
4056
+ function (config) {
4057
+ /** @type {?} */
4058
+ var cache = this.componentRefMap.get(this.service.cacheKey);
4059
+ if (cache) {
4060
+ cache.config = __assign({}, cache.config, config);
4061
+ this.setCache(cache);
4062
+ }
3907
4063
  };
3908
4064
  /**
3909
4065
  * @template T
@@ -3941,7 +4097,6 @@ var DrawerComponent = /** @class */ (function () {
3941
4097
  this.setComponentData(componentRef, data);
3942
4098
  this.componentRefMap.set(this.service.cacheKey, cache);
3943
4099
  this.setCache(cache);
3944
- this.config = showConfig;
3945
4100
  this.toggleOpenStatus(true, true);
3946
4101
  return componentRef.instance;
3947
4102
  };
@@ -3998,7 +4153,6 @@ var DrawerComponent = /** @class */ (function () {
3998
4153
  var cache = this.componentRefMap.get(this.service.cacheKey);
3999
4154
  if (cache) {
4000
4155
  cache.ref.location.nativeElement.style.display = "";
4001
- this.config = cache.config;
4002
4156
  this.setCache(cache);
4003
4157
  this.toggleOpenStatus(true);
4004
4158
  }
@@ -21512,8 +21666,8 @@ var RSAsideComponent = /** @class */ (function () {
21512
21666
  RSAsideComponent.decorators = [
21513
21667
  { type: Component, args: [{
21514
21668
  selector: "rs-aside",
21515
- template: "<div class=\"rs-aside\" [ngClass]=\"{ isCollapsed: isCollapsed }\">\r\n <div class=\"nav-list\">\r\n <div\r\n class=\"nav-group\"\r\n [ngClass]=\"group.class\"\r\n *ngFor=\"let group of navList\"\r\n >\r\n <div\r\n class=\"nav-item\"\r\n [ngClass]=\"{ isCurrent: currentNav === nav.url }\"\r\n *ngFor=\"let nav of group.navItems\"\r\n (click)=\"onNavClick(nav)\"\r\n >\r\n <div class=\"nav-item-inner\" *ngIf=\"nav.menuType === 'MENU'\">\r\n <ejs-tooltip\r\n [showTipPointer]=\"false\"\r\n *ngIf=\"isCollapsed; else originIcon\"\r\n >\r\n <ng-template #content>\r\n <div class=\"tooltip-content\">\r\n {{ nav.label }}\r\n </div>\r\n </ng-template>\r\n <mat-icon class=\"menu-icon\" [svgIcon]=\"nav.iconCode\"></mat-icon>\r\n </ejs-tooltip>\r\n <ng-template #originIcon>\r\n <mat-icon class=\"menu-icon\" [svgIcon]=\"nav.iconCode\"></mat-icon>\r\n </ng-template>\r\n <!-- <mat-icon class=\"menu-icon\" [svgIcon]=\"nav.iconCode\"></mat-icon> -->\r\n <ejs-tooltip\r\n [showTipPointer]=\"false\"\r\n *ngIf=\"nav.displayLabel !== nav.label; else originText\"\r\n >\r\n <ng-template #content>\r\n <div class=\"tooltip-content\">\r\n {{ nav.label }}\r\n </div>\r\n </ng-template>\r\n <span class=\"nav-text\" [ngClass]=\"{ isCollapsed: isCollapsed }\">{{\r\n nav.displayLabel\r\n }}</span>\r\n </ejs-tooltip>\r\n <ng-template #originText>\r\n <span class=\"nav-text\" [ngClass]=\"{ isCollapsed: isCollapsed }\">{{\r\n nav.label\r\n }}</span>\r\n </ng-template>\r\n </div>\r\n <div class=\"dividing-line\" *ngIf=\"nav.menuType === 'LABEL'\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"bottom-iconbox\" [ngClass]=\"{ isCollapsed: isCollapsed }\">\r\n <ng-content select=\"[bottomIconBox]\"></ng-content>\r\n </div>\r\n</div>\r\n",
21516
- styles: [".rs-aside{display:flex;flex-direction:column;height:100%;width:240px;will-change:width;transition:width .3s;padding-right:20px}.rs-aside.isCollapsed{width:64px;padding-right:0}.rs-aside.isCollapsed .nav-list .nav-item .nav-item-inner{margin-right:12px}.rs-aside.isCollapsed .nav-list .nav-item .dividing-line{margin:8px 20px 8px 10px}.rs-aside .nav-list{padding-top:12px;flex:1;overflow:auto;height:0}.rs-aside .nav-list .nav-item{cursor:pointer;padding-left:11px}.rs-aside .nav-list .nav-item .nav-item-inner{height:32px;display:flex;align-items:center;padding:8px 8px 8px 12px}.rs-aside .nav-list .nav-item .nav-item-inner ::ng-deep .menu-icon{width:33px;height:16px;display:flex;align-items:center}.rs-aside .nav-list .nav-item .nav-item-inner ::ng-deep .menu-icon svg{width:16px;height:16px}.rs-aside .nav-list .nav-item .dividing-line{margin:8px 0 8px 10px;height:1px;background-color:rgba(219,225,231,.5)}.rs-aside .nav-list .nav-item:hover .nav-item-inner{border-radius:6px;background:rgba(31,123,255,.04)}.rs-aside .nav-list .nav-item .nav-text{color:#5f6f81;font-family:Arial;font-size:12px;font-weight:400;line-height:16px;transition:.3s;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;position:relative;top:1px;flex:1}@media (min-width:993px){.rs-aside .nav-list .nav-item .nav-text.isCollapsed{opacity:0;width:0}}.rs-aside .nav-list .nav-item.isCurrent{position:relative}.rs-aside .nav-list .nav-item.isCurrent .nav-text{color:#44566c;font-weight:700}.rs-aside .nav-list .nav-item.isCurrent::before{content:\"\";position:absolute;left:4px;top:8px;width:3px;height:16px;background-color:#1364b3;border-radius:2px}.rs-aside .bottom-iconbox{padding:12px 20px;height:48px;display:flex;gap:12px}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon{width:24px;height:24px;display:flex;justify-content:center;align-items:center;border:1px solid #eaedf0;border-radius:24px;cursor:pointer}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon svg{width:16px;height:16px;color:#6c7c90;stroke:#6c7c90}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon.disabled{cursor:default;opacity:.5}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon:not(.disabled):hover{background-color:#fff}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon:not(.disabled):hover svg{color:#1f7bff;stroke:#1f7bff}@media (min-width:993px){.rs-aside .bottom-iconbox.isCollapsed{flex-direction:column;height:auto}}@media (max-width:992px){.rs-aside{width:0;position:absolute;height:calc(100% - 50px);z-index:10;background-color:var(--rs-container-bg);padding-right:0}.rs-aside .bottom-iconbox{display:none}.rs-aside.isCollapsed{width:240px;padding-right:16px}.rs-aside.isCollapsed .bottom-iconbox{display:flex}}"]
21669
+ template: "<div class=\"rs-aside\" [ngClass]=\"{ isCollapsed: isCollapsed }\">\r\n <div class=\"nav-list\">\r\n <div\r\n class=\"nav-group\"\r\n [ngClass]=\"group.class\"\r\n *ngFor=\"let group of navList\"\r\n >\r\n <div\r\n class=\"nav-item\"\r\n [ngClass]=\"{ isCurrent: currentNav === nav.url }\"\r\n *ngFor=\"let nav of group.navItems\"\r\n (click)=\"onNavClick(nav)\"\r\n >\r\n <div class=\"nav-item-inner\" *ngIf=\"nav.menuType === 'MENU'\">\r\n <ejs-tooltip\r\n [showTipPointer]=\"false\"\r\n *ngIf=\"isCollapsed; else originIcon\"\r\n position='RightCenter'\r\n >\r\n <ng-template #content>\r\n <div class=\"tooltip-content\">\r\n {{ nav.label }}\r\n </div>\r\n </ng-template>\r\n <mat-icon class=\"menu-icon\" [svgIcon]=\"nav.iconCode\"></mat-icon>\r\n </ejs-tooltip>\r\n <ng-template #originIcon>\r\n <mat-icon class=\"menu-icon\" [svgIcon]=\"nav.iconCode\"></mat-icon>\r\n </ng-template>\r\n <!-- <mat-icon class=\"menu-icon\" [svgIcon]=\"nav.iconCode\"></mat-icon> -->\r\n <ejs-tooltip\r\n [showTipPointer]=\"false\"\r\n *ngIf=\"nav.displayLabel !== nav.label; else originText\"\r\n position='RightCenter'\r\n class=\"nav-tooltip-text\"\r\n >\r\n <ng-template #content>\r\n <div class=\"tooltip-content\">\r\n {{ nav.label }}\r\n </div>\r\n </ng-template>\r\n <span class=\"nav-text\" [ngClass]=\"{ isCollapsed: isCollapsed }\">{{\r\n nav.displayLabel\r\n }}</span>\r\n </ejs-tooltip>\r\n <ng-template #originText>\r\n <span class=\"nav-text\" [ngClass]=\"{ isCollapsed: isCollapsed }\">{{\r\n nav.label\r\n }}</span>\r\n </ng-template>\r\n </div>\r\n <div class=\"dividing-line\" *ngIf=\"nav.menuType === 'LABEL'\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"bottom-iconbox\" [ngClass]=\"{ isCollapsed: isCollapsed }\">\r\n <ng-content select=\"[bottomIconBox]\"></ng-content>\r\n </div>\r\n</div>\r\n",
21670
+ styles: [".rs-aside{display:flex;flex-direction:column;height:100%;width:240px;will-change:width;transition:width .3s;padding-right:20px}.rs-aside.isCollapsed{width:64px;padding-right:0}.rs-aside.isCollapsed .nav-list .nav-item .nav-item-inner{margin-right:12px}.rs-aside.isCollapsed .nav-list .nav-item .dividing-line{margin:8px 20px 8px 10px}.rs-aside .nav-list{padding-top:12px;flex:1;overflow:auto;height:0}.rs-aside .nav-list .nav-item{cursor:pointer;padding-left:11px}.rs-aside .nav-list .nav-item .nav-item-inner{height:32px;display:flex;align-items:center;padding:8px 8px 8px 12px}.rs-aside .nav-list .nav-item .nav-item-inner ::ng-deep .menu-icon{width:33px;height:16px;display:flex;align-items:center}.rs-aside .nav-list .nav-item .nav-item-inner ::ng-deep .menu-icon svg{width:16px;height:16px}.rs-aside .nav-list .nav-item .dividing-line{margin:8px 0 8px 10px;height:1px;background-color:rgba(219,225,231,.5)}.rs-aside .nav-list .nav-item:hover .nav-item-inner{border-radius:6px;background:rgba(31,123,255,.04)}.rs-aside .nav-list .nav-item .nav-text{display:inline-block;color:#5f6f81;font-family:Arial;font-size:12px;font-weight:400;line-height:16px;transition:.3s;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;position:relative;top:1px;flex:1}@media (min-width:993px){.rs-aside .nav-list .nav-item .nav-text.isCollapsed{opacity:0;width:0}}.rs-aside .nav-list .nav-item .nav-tooltip-text{flex:1;width:0}.rs-aside .nav-list .nav-item.isCurrent{position:relative}.rs-aside .nav-list .nav-item.isCurrent .nav-text{color:#44566c;font-weight:700}.rs-aside .nav-list .nav-item.isCurrent::before{content:\"\";position:absolute;left:4px;top:8px;width:3px;height:16px;background-color:#1364b3;border-radius:2px}.rs-aside .bottom-iconbox{padding:12px 20px;height:48px;display:flex;gap:12px}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon{width:24px;height:24px;display:flex;justify-content:center;align-items:center;border:1px solid #eaedf0;border-radius:24px;cursor:pointer}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon svg{width:16px;height:16px;color:#6c7c90;stroke:#6c7c90}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon.disabled{cursor:default;opacity:.5}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon:not(.disabled):hover{background-color:#fff}.rs-aside .bottom-iconbox ::ng-deep .menu-bottom-icon:not(.disabled):hover svg{color:#1f7bff;stroke:#1f7bff}@media (min-width:993px){.rs-aside .bottom-iconbox.isCollapsed{flex-direction:column;height:auto}}@media (max-width:992px){.rs-aside{width:0;position:absolute;height:calc(100% - 50px);z-index:10;background-color:var(--rs-container-bg);padding-right:0}.rs-aside .bottom-iconbox{display:none}.rs-aside.isCollapsed{width:240px;padding-right:16px}.rs-aside.isCollapsed .bottom-iconbox{display:flex}}"]
21517
21671
  }] }
21518
21672
  ];
21519
21673
  /** @nocollapse */
@@ -22033,99 +22187,6 @@ if (false) {
22033
22187
  EncryptedInputComponent.prototype.encrypted;
22034
22188
  }
22035
22189
 
22036
- /**
22037
- * @fileoverview added by tsickle
22038
- * Generated from: lib/form/search-input/index.component.ts
22039
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
22040
- */
22041
- var SearchInputComponent = /** @class */ (function () {
22042
- function SearchInputComponent() {
22043
- this.placeholder = "";
22044
- this.hanleSearch = new EventEmitter();
22045
- this.handleInput = new EventEmitter();
22046
- this.searchValue = "";
22047
- }
22048
- /**
22049
- * @return {?}
22050
- */
22051
- SearchInputComponent.prototype.ngOnInit = /**
22052
- * @return {?}
22053
- */
22054
- function () {
22055
- var _this = this;
22056
- this.getInfo();
22057
- this.debouncedInput = debounce((/**
22058
- * @return {?}
22059
- */
22060
- function () {
22061
- _this.onSeach();
22062
- }), 300);
22063
- };
22064
- /**
22065
- * @return {?}
22066
- */
22067
- SearchInputComponent.prototype.getInfo = /**
22068
- * @return {?}
22069
- */
22070
- function () {
22071
- this.translation = JSON.parse(localStorage.getItem("translation"));
22072
- this.placeholder = this.placeholder || this.translation.SEARCH;
22073
- };
22074
- /**
22075
- * @param {?} e
22076
- * @return {?}
22077
- */
22078
- SearchInputComponent.prototype.onInput = /**
22079
- * @param {?} e
22080
- * @return {?}
22081
- */
22082
- function (e) {
22083
- this.handleInput.emit(e.value);
22084
- this.debouncedInput();
22085
- };
22086
- /**
22087
- * @return {?}
22088
- */
22089
- SearchInputComponent.prototype.onSeach = /**
22090
- * @return {?}
22091
- */
22092
- function () {
22093
- this.hanleSearch.emit(this.searchValue);
22094
- };
22095
- SearchInputComponent.decorators = [
22096
- { type: Component, args: [{
22097
- selector: "rs-search-input",
22098
- template: "<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($event)\"\r\n [placeholder]=\"placeholder\"\r\n [showClearButton]=\"true\"\r\n autocomplete=\"off\"\r\n ></ejs-textbox>\r\n</div>\r\n",
22099
- styles: [".rs-search-input{width:240px}.rs-search-input .e-textbox{display:block;box-shadow:none!important}.rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-search-input ::ng-deep .e-input-group.e-input-focus,.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-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:24px!important;line-height:22px!important}.rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-search-input ::ng-deep .e-input-group::before{content:\"\"!important;margin:5px 0 0 8px;display:block;width:16px;height:16px;background-image:url(/assets/img/search.svg);background-size:cover;background-position:center}"]
22100
- }] }
22101
- ];
22102
- /** @nocollapse */
22103
- SearchInputComponent.ctorParameters = function () { return []; };
22104
- SearchInputComponent.propDecorators = {
22105
- placeholder: [{ type: Input }],
22106
- hanleSearch: [{ type: Output }],
22107
- handleInput: [{ type: Output }]
22108
- };
22109
- return SearchInputComponent;
22110
- }());
22111
- if (false) {
22112
- /** @type {?} */
22113
- SearchInputComponent.prototype.placeholder;
22114
- /** @type {?} */
22115
- SearchInputComponent.prototype.hanleSearch;
22116
- /** @type {?} */
22117
- SearchInputComponent.prototype.handleInput;
22118
- /**
22119
- * @type {?}
22120
- * @private
22121
- */
22122
- SearchInputComponent.prototype.debouncedInput;
22123
- /** @type {?} */
22124
- SearchInputComponent.prototype.searchValue;
22125
- /** @type {?} */
22126
- SearchInputComponent.prototype.translation;
22127
- }
22128
-
22129
22190
  /**
22130
22191
  * @fileoverview added by tsickle
22131
22192
  * Generated from: lib/form/drawer-form/constants.ts