raise-common-lib 0.0.201 → 0.0.203

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.
@@ -2774,6 +2774,99 @@
2774
2774
  TruncatedTextToggleComponent.prototype.showCollapseBtn;
2775
2775
  }
2776
2776
 
2777
+ /**
2778
+ * @fileoverview added by tsickle
2779
+ * Generated from: lib/form/search-input/index.component.ts
2780
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2781
+ */
2782
+ var SearchInputComponent = /** @class */ (function () {
2783
+ function SearchInputComponent() {
2784
+ this.placeholder = "";
2785
+ this.hanleSearch = new core.EventEmitter();
2786
+ this.handleInput = new core.EventEmitter();
2787
+ this.searchValue = "";
2788
+ }
2789
+ /**
2790
+ * @return {?}
2791
+ */
2792
+ SearchInputComponent.prototype.ngOnInit = /**
2793
+ * @return {?}
2794
+ */
2795
+ function () {
2796
+ var _this = this;
2797
+ this.getInfo();
2798
+ this.debouncedInput = lodash.debounce((/**
2799
+ * @return {?}
2800
+ */
2801
+ function () {
2802
+ _this.onSeach();
2803
+ }), 300);
2804
+ };
2805
+ /**
2806
+ * @return {?}
2807
+ */
2808
+ SearchInputComponent.prototype.getInfo = /**
2809
+ * @return {?}
2810
+ */
2811
+ function () {
2812
+ this.translation = JSON.parse(localStorage.getItem("translation"));
2813
+ this.placeholder = this.placeholder || this.translation.SEARCH;
2814
+ };
2815
+ /**
2816
+ * @param {?} e
2817
+ * @return {?}
2818
+ */
2819
+ SearchInputComponent.prototype.onInput = /**
2820
+ * @param {?} e
2821
+ * @return {?}
2822
+ */
2823
+ function (e) {
2824
+ this.handleInput.emit(e.value);
2825
+ this.debouncedInput();
2826
+ };
2827
+ /**
2828
+ * @return {?}
2829
+ */
2830
+ SearchInputComponent.prototype.onSeach = /**
2831
+ * @return {?}
2832
+ */
2833
+ function () {
2834
+ this.hanleSearch.emit(this.searchValue);
2835
+ };
2836
+ SearchInputComponent.decorators = [
2837
+ { type: core.Component, args: [{
2838
+ selector: "rs-search-input",
2839
+ 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",
2840
+ 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}"]
2841
+ }] }
2842
+ ];
2843
+ /** @nocollapse */
2844
+ SearchInputComponent.ctorParameters = function () { return []; };
2845
+ SearchInputComponent.propDecorators = {
2846
+ placeholder: [{ type: core.Input }],
2847
+ hanleSearch: [{ type: core.Output }],
2848
+ handleInput: [{ type: core.Output }]
2849
+ };
2850
+ return SearchInputComponent;
2851
+ }());
2852
+ if (false) {
2853
+ /** @type {?} */
2854
+ SearchInputComponent.prototype.placeholder;
2855
+ /** @type {?} */
2856
+ SearchInputComponent.prototype.hanleSearch;
2857
+ /** @type {?} */
2858
+ SearchInputComponent.prototype.handleInput;
2859
+ /**
2860
+ * @type {?}
2861
+ * @private
2862
+ */
2863
+ SearchInputComponent.prototype.debouncedInput;
2864
+ /** @type {?} */
2865
+ SearchInputComponent.prototype.searchValue;
2866
+ /** @type {?} */
2867
+ SearchInputComponent.prototype.translation;
2868
+ }
2869
+
2777
2870
  /**
2778
2871
  * @fileoverview added by tsickle
2779
2872
  * Generated from: lib/layout/page-list/index.component.ts
@@ -2817,6 +2910,18 @@
2817
2910
  this.hasWholeToolbarSlot = !!this.wholeToolbarSlot;
2818
2911
  this.hasLeftContentSlot = !!this.leftContentSlot;
2819
2912
  };
2913
+ /**
2914
+ * @param {?} value
2915
+ * @return {?}
2916
+ */
2917
+ RsPageListComponent.prototype.setSearchValue = /**
2918
+ * @param {?} value
2919
+ * @return {?}
2920
+ */
2921
+ function (value) {
2922
+ this.searchInput.searchValue = value;
2923
+ this.onSeach(value);
2924
+ };
2820
2925
  /**
2821
2926
  * @param {?} value
2822
2927
  * @return {?}
@@ -2851,6 +2956,7 @@
2851
2956
  orignGrid: [{ type: core.ContentChild, args: [ej2AngularGrids.GridComponent, { static: false },] }],
2852
2957
  treeGrid: [{ type: core.ContentChild, args: [ej2AngularTreegrid.TreeGridComponent, { static: false },] }],
2853
2958
  wholeToolbarSlot: [{ type: core.ContentChild, args: ["wholeToolbarSlot", { static: false },] }],
2959
+ searchInput: [{ type: core.ViewChild, args: ["searchInput", { static: false },] }],
2854
2960
  leftContentSlot: [{ type: core.ContentChild, args: ["leftContentSlot", { static: false },] }],
2855
2961
  pageTitle: [{ type: core.Input }],
2856
2962
  customPageTitle: [{ type: core.Input }],
@@ -2870,6 +2976,8 @@
2870
2976
  /** @type {?} */
2871
2977
  RsPageListComponent.prototype.wholeToolbarSlot;
2872
2978
  /** @type {?} */
2979
+ RsPageListComponent.prototype.searchInput;
2980
+ /** @type {?} */
2873
2981
  RsPageListComponent.prototype.leftContentSlot;
2874
2982
  /** @type {?} */
2875
2983
  RsPageListComponent.prototype.pageTitle;
@@ -3003,99 +3111,6 @@
3003
3111
  RsPageTabComponent.prototype.animation;
3004
3112
  }
3005
3113
 
3006
- /**
3007
- * @fileoverview added by tsickle
3008
- * Generated from: lib/form/search-input/index.component.ts
3009
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3010
- */
3011
- var SearchInputComponent = /** @class */ (function () {
3012
- function SearchInputComponent() {
3013
- this.placeholder = "";
3014
- this.hanleSearch = new core.EventEmitter();
3015
- this.handleInput = new core.EventEmitter();
3016
- this.searchValue = "";
3017
- }
3018
- /**
3019
- * @return {?}
3020
- */
3021
- SearchInputComponent.prototype.ngOnInit = /**
3022
- * @return {?}
3023
- */
3024
- function () {
3025
- var _this = this;
3026
- this.getInfo();
3027
- this.debouncedInput = lodash.debounce((/**
3028
- * @return {?}
3029
- */
3030
- function () {
3031
- _this.onSeach();
3032
- }), 300);
3033
- };
3034
- /**
3035
- * @return {?}
3036
- */
3037
- SearchInputComponent.prototype.getInfo = /**
3038
- * @return {?}
3039
- */
3040
- function () {
3041
- this.translation = JSON.parse(localStorage.getItem("translation"));
3042
- this.placeholder = this.placeholder || this.translation.SEARCH;
3043
- };
3044
- /**
3045
- * @param {?} e
3046
- * @return {?}
3047
- */
3048
- SearchInputComponent.prototype.onInput = /**
3049
- * @param {?} e
3050
- * @return {?}
3051
- */
3052
- function (e) {
3053
- this.handleInput.emit(e.value);
3054
- this.debouncedInput();
3055
- };
3056
- /**
3057
- * @return {?}
3058
- */
3059
- SearchInputComponent.prototype.onSeach = /**
3060
- * @return {?}
3061
- */
3062
- function () {
3063
- this.hanleSearch.emit(this.searchValue);
3064
- };
3065
- SearchInputComponent.decorators = [
3066
- { type: core.Component, args: [{
3067
- selector: "rs-search-input",
3068
- 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",
3069
- 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}"]
3070
- }] }
3071
- ];
3072
- /** @nocollapse */
3073
- SearchInputComponent.ctorParameters = function () { return []; };
3074
- SearchInputComponent.propDecorators = {
3075
- placeholder: [{ type: core.Input }],
3076
- hanleSearch: [{ type: core.Output }],
3077
- handleInput: [{ type: core.Output }]
3078
- };
3079
- return SearchInputComponent;
3080
- }());
3081
- if (false) {
3082
- /** @type {?} */
3083
- SearchInputComponent.prototype.placeholder;
3084
- /** @type {?} */
3085
- SearchInputComponent.prototype.hanleSearch;
3086
- /** @type {?} */
3087
- SearchInputComponent.prototype.handleInput;
3088
- /**
3089
- * @type {?}
3090
- * @private
3091
- */
3092
- SearchInputComponent.prototype.debouncedInput;
3093
- /** @type {?} */
3094
- SearchInputComponent.prototype.searchValue;
3095
- /** @type {?} */
3096
- SearchInputComponent.prototype.translation;
3097
- }
3098
-
3099
3114
  /**
3100
3115
  * @fileoverview added by tsickle
3101
3116
  * Generated from: lib/layout/grid-box/index.component.ts