raise-common-lib 0.0.167 → 0.0.169

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.
Files changed (34) hide show
  1. package/bundles/raise-common-lib.umd.js +271 -62
  2. package/bundles/raise-common-lib.umd.js.map +1 -1
  3. package/bundles/raise-common-lib.umd.min.js +1 -1
  4. package/bundles/raise-common-lib.umd.min.js.map +1 -1
  5. package/esm2015/lib/form/confirm-select/index.component.js +118 -0
  6. package/esm2015/lib/form/search-input/index.component.js +81 -0
  7. package/esm2015/lib/layout/grid-box/index.component.js +17 -29
  8. package/esm2015/lib/layout/multi-tab/index.component.js +6 -1
  9. package/esm2015/lib/layout/page-list/index.component.js +9 -28
  10. package/esm2015/lib/raise-common-lib.module.js +7 -1
  11. package/esm2015/public-api.js +2 -1
  12. package/esm2015/raise-common-lib.js +5 -4
  13. package/esm5/lib/form/confirm-select/index.component.js +143 -0
  14. package/esm5/lib/form/search-input/index.component.js +97 -0
  15. package/esm5/lib/layout/grid-box/index.component.js +18 -33
  16. package/esm5/lib/layout/multi-tab/index.component.js +6 -1
  17. package/esm5/lib/layout/page-list/index.component.js +10 -32
  18. package/esm5/lib/raise-common-lib.module.js +7 -1
  19. package/esm5/public-api.js +2 -1
  20. package/esm5/raise-common-lib.js +5 -4
  21. package/fesm2015/raise-common-lib.js +227 -53
  22. package/fesm2015/raise-common-lib.js.map +1 -1
  23. package/fesm5/raise-common-lib.js +268 -61
  24. package/fesm5/raise-common-lib.js.map +1 -1
  25. package/lib/form/confirm-select/index.component.d.ts +25 -0
  26. package/lib/form/search-input/index.component.d.ts +14 -0
  27. package/lib/layout/grid-box/index.component.d.ts +3 -5
  28. package/lib/layout/multi-tab/index.component.d.ts +1 -0
  29. package/lib/layout/page-list/index.component.d.ts +1 -4
  30. package/package.json +1 -1
  31. package/public-api.d.ts +1 -0
  32. package/raise-common-lib.d.ts +3 -2
  33. package/raise-common-lib.metadata.json +1 -1
  34. package/src/assets/img/toolbar-action-submitForApproval.svg +3 -3
@@ -2559,14 +2559,7 @@ var RsPageListComponent = /** @class */ (function () {
2559
2559
  * @return {?}
2560
2560
  */
2561
2561
  function () {
2562
- var _this = this;
2563
2562
  this.getInfo();
2564
- this.debouncedInput = debounce((/**
2565
- * @return {?}
2566
- */
2567
- function () {
2568
- _this.onSeach();
2569
- }), 300);
2570
2563
  };
2571
2564
  /**
2572
2565
  * @return {?}
@@ -2588,39 +2581,32 @@ var RsPageListComponent = /** @class */ (function () {
2588
2581
  this.hasWholeToolbarSlot = !!this.wholeToolbarSlot;
2589
2582
  };
2590
2583
  /**
2584
+ * @param {?} value
2591
2585
  * @return {?}
2592
2586
  */
2593
2587
  RsPageListComponent.prototype.onSeach = /**
2588
+ * @param {?} value
2594
2589
  * @return {?}
2595
2590
  */
2596
- function () {
2591
+ function (value) {
2597
2592
  if (this.gridContent) {
2598
- this.gridContent.grid.search(this.searchValue);
2593
+ this.gridContent.grid.search(value);
2599
2594
  }
2600
2595
  else if (this.orignGrid) {
2601
- this.orignGrid.search(this.searchValue);
2596
+ this.orignGrid.search(value);
2602
2597
  }
2603
2598
  else if (this.treeGrid) {
2604
- this.treeGrid.search(this.searchValue);
2599
+ this.treeGrid.search(value);
2605
2600
  }
2606
2601
  else {
2607
- this.onGridSearch.emit(this.searchValue);
2602
+ this.onGridSearch.emit(value);
2608
2603
  }
2609
2604
  };
2610
- /**
2611
- * @return {?}
2612
- */
2613
- RsPageListComponent.prototype.onInput = /**
2614
- * @return {?}
2615
- */
2616
- function () {
2617
- this.debouncedInput();
2618
- };
2619
2605
  RsPageListComponent.decorators = [
2620
2606
  { type: Component, args: [{
2621
2607
  selector: "rs-page-list",
2622
- 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 <div class=\"rs-search-input\" *ngIf=\"!hideSearch\">\r\n <ejs-textbox\r\n type=\"text\"\r\n class=\"e-input\"\r\n [(ngModel)]=\"searchValue\"\r\n (input)=\"onInput()\"\r\n [placeholder]=\"translation.SEARCH_ALL_FIELD || '.SEARCH_ALL_FIELD'\"\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",
2623
- 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)}.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}"]
2608
+ 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",
2609
+ 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)}"]
2624
2610
  }] }
2625
2611
  ];
2626
2612
  RsPageListComponent.propDecorators = {
@@ -2655,17 +2641,10 @@ if (false) {
2655
2641
  RsPageListComponent.prototype.isInner;
2656
2642
  /** @type {?} */
2657
2643
  RsPageListComponent.prototype.onGridSearch;
2658
- /**
2659
- * @type {?}
2660
- * @private
2661
- */
2662
- RsPageListComponent.prototype.debouncedInput;
2663
2644
  /** @type {?} */
2664
2645
  RsPageListComponent.prototype.hasWholeToolbarSlot;
2665
2646
  /** @type {?} */
2666
2647
  RsPageListComponent.prototype.translation;
2667
- /** @type {?} */
2668
- RsPageListComponent.prototype.searchValue;
2669
2648
  }
2670
2649
 
2671
2650
  /**
@@ -2787,6 +2766,7 @@ var GridBoxComponent = /** @class */ (function () {
2787
2766
  function GridBoxComponent() {
2788
2767
  this.hideSearch = false;
2789
2768
  this.isInner = false;
2769
+ this.onGridSearch = new EventEmitter();
2790
2770
  this.hasWholeToolbarSlot = false;
2791
2771
  }
2792
2772
  /**
@@ -2796,14 +2776,7 @@ var GridBoxComponent = /** @class */ (function () {
2796
2776
  * @return {?}
2797
2777
  */
2798
2778
  function () {
2799
- var _this = this;
2800
2779
  this.getInfo();
2801
- this.debouncedInput = debounce((/**
2802
- * @return {?}
2803
- */
2804
- function () {
2805
- _this.onSeach();
2806
- }), 300);
2807
2780
  };
2808
2781
  /**
2809
2782
  * @return {?}
@@ -2825,36 +2798,32 @@ var GridBoxComponent = /** @class */ (function () {
2825
2798
  this.hasWholeToolbarSlot = !!this.wholeToolbarSlot;
2826
2799
  };
2827
2800
  /**
2801
+ * @param {?} value
2828
2802
  * @return {?}
2829
2803
  */
2830
2804
  GridBoxComponent.prototype.onSeach = /**
2805
+ * @param {?} value
2831
2806
  * @return {?}
2832
2807
  */
2833
- function () {
2808
+ function (value) {
2834
2809
  if (this.gridContent) {
2835
- this.gridContent.grid.search(this.searchValue);
2810
+ this.gridContent.grid.search(value);
2836
2811
  }
2837
2812
  else if (this.orignGrid) {
2838
- this.orignGrid.search(this.searchValue);
2813
+ this.orignGrid.search(value);
2839
2814
  }
2840
2815
  else if (this.treeGrid) {
2841
- this.treeGrid.search(this.searchValue);
2816
+ this.treeGrid.search(value);
2817
+ }
2818
+ else {
2819
+ this.onGridSearch.emit(value);
2842
2820
  }
2843
- };
2844
- /**
2845
- * @return {?}
2846
- */
2847
- GridBoxComponent.prototype.onInput = /**
2848
- * @return {?}
2849
- */
2850
- function () {
2851
- this.debouncedInput();
2852
2821
  };
2853
2822
  GridBoxComponent.decorators = [
2854
2823
  { type: Component, args: [{
2855
2824
  selector: "rs-grid-box",
2856
- 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 <div class=\"rs-search-input\" *ngIf=\"!hideSearch\">\r\n <ejs-textbox\r\n type=\"text\"\r\n class=\"e-input\"\r\n [(ngModel)]=\"searchValue\"\r\n (input)=\"onInput()\"\r\n [placeholder]=\"translation.SEARCH_ALL_FIELD|| '.SEARCH_ALL_FIELD'\"\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",
2857
- 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}.rs-grid-box .rs-search-input{width:240px}.rs-grid-box .rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group.e-input-focus,.rs-grid-box .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-grid-box .rs-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-grid-box .rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:26px}.rs-grid-box .rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-grid-box .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}"]
2825
+ 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",
2826
+ 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}"]
2858
2827
  }] }
2859
2828
  ];
2860
2829
  GridBoxComponent.propDecorators = {
@@ -2863,7 +2832,8 @@ var GridBoxComponent = /** @class */ (function () {
2863
2832
  treeGrid: [{ type: ContentChild, args: [TreeGridComponent, { static: false },] }],
2864
2833
  wholeToolbarSlot: [{ type: ContentChild, args: ["wholeToolbarSlot", { static: false },] }],
2865
2834
  hideSearch: [{ type: Input }],
2866
- isInner: [{ type: Input }]
2835
+ isInner: [{ type: Input }],
2836
+ onGridSearch: [{ type: Output }]
2867
2837
  };
2868
2838
  return GridBoxComponent;
2869
2839
  }());
@@ -2880,17 +2850,12 @@ if (false) {
2880
2850
  GridBoxComponent.prototype.hideSearch;
2881
2851
  /** @type {?} */
2882
2852
  GridBoxComponent.prototype.isInner;
2883
- /**
2884
- * @type {?}
2885
- * @private
2886
- */
2887
- GridBoxComponent.prototype.debouncedInput;
2853
+ /** @type {?} */
2854
+ GridBoxComponent.prototype.onGridSearch;
2888
2855
  /** @type {?} */
2889
2856
  GridBoxComponent.prototype.hasWholeToolbarSlot;
2890
2857
  /** @type {?} */
2891
2858
  GridBoxComponent.prototype.translation;
2892
- /** @type {?} */
2893
- GridBoxComponent.prototype.searchValue;
2894
2859
  }
2895
2860
 
2896
2861
  /**
@@ -3190,6 +3155,7 @@ var MultiTabComponent = /** @class */ (function () {
3190
3155
  this.flattenMenu = [];
3191
3156
  this.defaultTabUrl = "";
3192
3157
  this.onRefreshTab = new EventEmitter();
3158
+ this.onCloseTab = new EventEmitter();
3193
3159
  this.subscriptions = [];
3194
3160
  this.TAB_WIDTH = 164;
3195
3161
  this.GAP_NORMAL = 54;
@@ -3449,6 +3415,7 @@ var MultiTabComponent = /** @class */ (function () {
3449
3415
  }
3450
3416
  this.setEllipsisTitle();
3451
3417
  sessionStorage.setItem("TabCache", JSON.stringify(this.tabList));
3418
+ this.onCloseTab.emit(tab);
3452
3419
  this.ref.markForCheck();
3453
3420
  };
3454
3421
  /**
@@ -3684,6 +3651,7 @@ var MultiTabComponent = /** @class */ (function () {
3684
3651
  flattenMenu: [{ type: Input }],
3685
3652
  defaultTabUrl: [{ type: Input }],
3686
3653
  onRefreshTab: [{ type: Output }],
3654
+ onCloseTab: [{ type: Output }],
3687
3655
  onResize: [{ type: HostListener, args: ["window:resize", ["$event"],] }]
3688
3656
  };
3689
3657
  return MultiTabComponent;
@@ -3701,6 +3669,8 @@ if (false) {
3701
3669
  MultiTabComponent.prototype.defaultTabUrl;
3702
3670
  /** @type {?} */
3703
3671
  MultiTabComponent.prototype.onRefreshTab;
3672
+ /** @type {?} */
3673
+ MultiTabComponent.prototype.onCloseTab;
3704
3674
  /**
3705
3675
  * @type {?}
3706
3676
  * @private
@@ -22004,6 +21974,99 @@ if (false) {
22004
21974
  EncryptedInputComponent.prototype.encrypted;
22005
21975
  }
22006
21976
 
21977
+ /**
21978
+ * @fileoverview added by tsickle
21979
+ * Generated from: lib/form/search-input/index.component.ts
21980
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
21981
+ */
21982
+ var SearchInputComponent = /** @class */ (function () {
21983
+ function SearchInputComponent() {
21984
+ this.placeholder = "";
21985
+ this.hanleSearch = new EventEmitter();
21986
+ this.handleInput = new EventEmitter();
21987
+ this.searchValue = "";
21988
+ }
21989
+ /**
21990
+ * @return {?}
21991
+ */
21992
+ SearchInputComponent.prototype.ngOnInit = /**
21993
+ * @return {?}
21994
+ */
21995
+ function () {
21996
+ var _this = this;
21997
+ this.getInfo();
21998
+ this.debouncedInput = debounce((/**
21999
+ * @return {?}
22000
+ */
22001
+ function () {
22002
+ _this.onSeach();
22003
+ }), 300);
22004
+ };
22005
+ /**
22006
+ * @return {?}
22007
+ */
22008
+ SearchInputComponent.prototype.getInfo = /**
22009
+ * @return {?}
22010
+ */
22011
+ function () {
22012
+ this.translation = JSON.parse(localStorage.getItem("translation"));
22013
+ this.placeholder = this.placeholder || this.translation.SEARCH;
22014
+ };
22015
+ /**
22016
+ * @param {?} e
22017
+ * @return {?}
22018
+ */
22019
+ SearchInputComponent.prototype.onInput = /**
22020
+ * @param {?} e
22021
+ * @return {?}
22022
+ */
22023
+ function (e) {
22024
+ this.handleInput.emit(e.value);
22025
+ this.debouncedInput();
22026
+ };
22027
+ /**
22028
+ * @return {?}
22029
+ */
22030
+ SearchInputComponent.prototype.onSeach = /**
22031
+ * @return {?}
22032
+ */
22033
+ function () {
22034
+ this.hanleSearch.emit(this.searchValue);
22035
+ };
22036
+ SearchInputComponent.decorators = [
22037
+ { type: Component, args: [{
22038
+ selector: "rs-search-input",
22039
+ 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",
22040
+ styles: [".rs-search-input{width:240px}.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:26px}.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:6px 0 0 8px;display:block;width:16px;height:16px;background-image:url(/assets/img/search.svg);background-size:cover;background-position:center}"]
22041
+ }] }
22042
+ ];
22043
+ /** @nocollapse */
22044
+ SearchInputComponent.ctorParameters = function () { return []; };
22045
+ SearchInputComponent.propDecorators = {
22046
+ placeholder: [{ type: Input }],
22047
+ hanleSearch: [{ type: Output }],
22048
+ handleInput: [{ type: Output }]
22049
+ };
22050
+ return SearchInputComponent;
22051
+ }());
22052
+ if (false) {
22053
+ /** @type {?} */
22054
+ SearchInputComponent.prototype.placeholder;
22055
+ /** @type {?} */
22056
+ SearchInputComponent.prototype.hanleSearch;
22057
+ /** @type {?} */
22058
+ SearchInputComponent.prototype.handleInput;
22059
+ /**
22060
+ * @type {?}
22061
+ * @private
22062
+ */
22063
+ SearchInputComponent.prototype.debouncedInput;
22064
+ /** @type {?} */
22065
+ SearchInputComponent.prototype.searchValue;
22066
+ /** @type {?} */
22067
+ SearchInputComponent.prototype.translation;
22068
+ }
22069
+
22007
22070
  /**
22008
22071
  * @fileoverview added by tsickle
22009
22072
  * Generated from: lib/form/drawer-form/constants.ts
@@ -23115,6 +23178,146 @@ var KeepAliveService = /** @class */ (function () {
23115
23178
  return KeepAliveService;
23116
23179
  }());
23117
23180
 
23181
+ /**
23182
+ * @fileoverview added by tsickle
23183
+ * Generated from: lib/form/confirm-select/index.component.ts
23184
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
23185
+ */
23186
+ var ConfirmSelectComponent = /** @class */ (function () {
23187
+ function ConfirmSelectComponent() {
23188
+ this.dataSource = [];
23189
+ this.disabled = false;
23190
+ this.fields = { text: "Game", value: "Id" };
23191
+ this.showSelectAll = true;
23192
+ this.valueChange = new EventEmitter();
23193
+ this.selectedItems = [];
23194
+ this.isInteracted = false;
23195
+ }
23196
+ /**
23197
+ * @return {?}
23198
+ */
23199
+ ConfirmSelectComponent.prototype.ngOnInit = /**
23200
+ * @return {?}
23201
+ */
23202
+ function () {
23203
+ this.getInfo();
23204
+ this.resetSelectedItems();
23205
+ };
23206
+ /**
23207
+ * @param {?} changes
23208
+ * @return {?}
23209
+ */
23210
+ ConfirmSelectComponent.prototype.ngOnChanges = /**
23211
+ * @param {?} changes
23212
+ * @return {?}
23213
+ */
23214
+ function (changes) {
23215
+ if (changes.value && !changes.value.firstChange) {
23216
+ this.resetSelectedItems();
23217
+ }
23218
+ };
23219
+ /**
23220
+ * @return {?}
23221
+ */
23222
+ ConfirmSelectComponent.prototype.getInfo = /**
23223
+ * @return {?}
23224
+ */
23225
+ function () {
23226
+ this.translation = JSON.parse(localStorage.getItem("translation"));
23227
+ };
23228
+ /**
23229
+ * @return {?}
23230
+ */
23231
+ ConfirmSelectComponent.prototype.resetSelectedItems = /**
23232
+ * @return {?}
23233
+ */
23234
+ function () {
23235
+ this.selectedItems = JSON.parse(JSON.stringify(this.value || []));
23236
+ };
23237
+ /**
23238
+ * @return {?}
23239
+ */
23240
+ ConfirmSelectComponent.prototype.onCancel = /**
23241
+ * @return {?}
23242
+ */
23243
+ function () {
23244
+ this.isInteracted = true;
23245
+ this.resetSelectedItems();
23246
+ this.comfirmSelect.hidePopup();
23247
+ };
23248
+ /**
23249
+ * @return {?}
23250
+ */
23251
+ ConfirmSelectComponent.prototype.onApply = /**
23252
+ * @return {?}
23253
+ */
23254
+ function () {
23255
+ this.isInteracted = true;
23256
+ /** @type {?} */
23257
+ var val = this.comfirmSelect.value;
23258
+ this.valueChange.emit(val);
23259
+ this.comfirmSelect.hidePopup();
23260
+ };
23261
+ /**
23262
+ * @param {?} e
23263
+ * @return {?}
23264
+ */
23265
+ ConfirmSelectComponent.prototype.onClose = /**
23266
+ * @param {?} e
23267
+ * @return {?}
23268
+ */
23269
+ function (e) {
23270
+ if (this.isInteracted) {
23271
+ this.isInteracted = false;
23272
+ }
23273
+ else {
23274
+ this.resetSelectedItems();
23275
+ }
23276
+ };
23277
+ ConfirmSelectComponent.decorators = [
23278
+ { type: Component, args: [{
23279
+ selector: "rs-confirm-select",
23280
+ template: "<div class=\"rs-confirm-select\">\r\n <ejs-multiselect\r\n #comfirmSelect\r\n [dataSource]=\"dataSource\"\r\n [showDropDownIcon]=\"true\"\r\n [placeholder]=\"placeholder\"\r\n [(ngModel)]=\"selectedItems\"\r\n [fields]=\"fields\"\r\n [showSelectAll]=\"showSelectAll\"\r\n mode=\"CheckBox\"\r\n [footerTemplate]=\"footerTemplate\"\r\n [showClearButton]=\"false\"\r\n (close)=\"onClose($event)\"\r\n >\r\n <ng-template #footerTemplate=\"\" let-data=\"data\">\r\n <div class=\"confirm-select-footer\">\r\n <button class=\"e-btn\" (click)=\"onCancel()\">Cancel</button>\r\n <button class=\"e-btn e-primary\" (click)=\"onApply()\">Apply</button>\r\n </div>\r\n </ng-template>\r\n </ejs-multiselect>\r\n</div>\r\n",
23281
+ styles: [".confirm-select-footer{display:flex;align-items:center;justify-content:flex-end;padding:0 12px;gap:12px;height:40px;border-top:solid 1px var(--rs-border-color)}"]
23282
+ }] }
23283
+ ];
23284
+ ConfirmSelectComponent.propDecorators = {
23285
+ comfirmSelect: [{ type: ViewChild, args: ["comfirmSelect", { static: false },] }],
23286
+ value: [{ type: Input }],
23287
+ dataSource: [{ type: Input }],
23288
+ disabled: [{ type: Input }],
23289
+ fields: [{ type: Input }],
23290
+ placeholder: [{ type: Input }],
23291
+ showSelectAll: [{ type: Input }],
23292
+ valueChange: [{ type: Output }]
23293
+ };
23294
+ return ConfirmSelectComponent;
23295
+ }());
23296
+ if (false) {
23297
+ /** @type {?} */
23298
+ ConfirmSelectComponent.prototype.comfirmSelect;
23299
+ /** @type {?} */
23300
+ ConfirmSelectComponent.prototype.value;
23301
+ /** @type {?} */
23302
+ ConfirmSelectComponent.prototype.dataSource;
23303
+ /** @type {?} */
23304
+ ConfirmSelectComponent.prototype.disabled;
23305
+ /** @type {?} */
23306
+ ConfirmSelectComponent.prototype.fields;
23307
+ /** @type {?} */
23308
+ ConfirmSelectComponent.prototype.placeholder;
23309
+ /** @type {?} */
23310
+ ConfirmSelectComponent.prototype.showSelectAll;
23311
+ /** @type {?} */
23312
+ ConfirmSelectComponent.prototype.valueChange;
23313
+ /** @type {?} */
23314
+ ConfirmSelectComponent.prototype.translation;
23315
+ /** @type {?} */
23316
+ ConfirmSelectComponent.prototype.selectedItems;
23317
+ /** @type {?} */
23318
+ ConfirmSelectComponent.prototype.isInteracted;
23319
+ }
23320
+
23118
23321
  /**
23119
23322
  * @fileoverview added by tsickle
23120
23323
  * Generated from: lib/raise-common-lib.module.ts
@@ -23143,6 +23346,8 @@ var RaiseCommonLibModule = /** @class */ (function () {
23143
23346
  CheckboxGroupComponent,
23144
23347
  SwitchInputComponent,
23145
23348
  EncryptedInputComponent,
23349
+ SearchInputComponent,
23350
+ ConfirmSelectComponent,
23146
23351
  NewActionNotificationComponent,
23147
23352
  CommonDialogComponent,
23148
23353
  CommonDeleteComponent,
@@ -23303,6 +23508,8 @@ var RaiseCommonLibModule = /** @class */ (function () {
23303
23508
  CheckboxGroupComponent,
23304
23509
  SwitchInputComponent,
23305
23510
  EncryptedInputComponent,
23511
+ SearchInputComponent,
23512
+ ConfirmSelectComponent,
23306
23513
  DrawerComponent,
23307
23514
  DrawerFormComponent,
23308
23515
  ToolbarItemComponent,
@@ -23335,5 +23542,5 @@ var RaiseCommonLibModule = /** @class */ (function () {
23335
23542
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
23336
23543
  */
23337
23544
 
23338
- export { CheckboxGroupComponent, CommonDialogComponent, CommonFunctionService, CommonGridComponent, DefaultDrawerConfig, DialogService, DrawerComponent, DrawerFormComponent, DrawerService, EmailPattern, EncryptedInputComponent, FloatBoxComponent, GridActionComponent, GridActionItemComponent, GridBoxComponent, IconLoaderService, KeepAliveService, MainContainerComponent, MessageType, MultiTabComponent, RSAsideComponent, RSFooterComponent, RSHeaderComponent, RSNavCardGroupComponent, RSToolbarComponent, RadioGroupComponent, RaiseCommonLibModule, RsCommentaryComponent, RsPageListComponent, RsPageTabComponent, SwitchInputComponent, TagInputComponent, ToolbarItemComponent, TranslationService, TruncatedTextToggleComponent, filterShowSection, Debounce as ɵa, NewActionNotificationComponent as ɵb, CommonDeleteComponent as ɵc };
23545
+ export { CheckboxGroupComponent, CommonDialogComponent, CommonFunctionService, CommonGridComponent, DefaultDrawerConfig, DialogService, DrawerComponent, DrawerFormComponent, DrawerService, EmailPattern, EncryptedInputComponent, FloatBoxComponent, GridActionComponent, GridActionItemComponent, GridBoxComponent, IconLoaderService, KeepAliveService, MainContainerComponent, MessageType, MultiTabComponent, RSAsideComponent, RSFooterComponent, RSHeaderComponent, RSNavCardGroupComponent, RSToolbarComponent, RadioGroupComponent, RaiseCommonLibModule, RsCommentaryComponent, RsPageListComponent, RsPageTabComponent, SearchInputComponent, SwitchInputComponent, TagInputComponent, ToolbarItemComponent, TranslationService, TruncatedTextToggleComponent, filterShowSection, Debounce as ɵa, ConfirmSelectComponent as ɵb, NewActionNotificationComponent as ɵc, CommonDeleteComponent as ɵd };
23339
23546
  //# sourceMappingURL=raise-common-lib.js.map