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.
- package/bundles/raise-common-lib.umd.js +108 -93
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +1 -1
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/layout/page-list/index.component.js +14 -2
- package/esm5/lib/layout/page-list/index.component.js +18 -2
- package/fesm2015/raise-common-lib.js +89 -78
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +108 -93
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/layout/page-list/index.component.d.ts +3 -0
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
- package/src/assets/img/calendar_arrow_down.svg +3 -3
- package/src/assets/img/calendar_arrow_up.svg +3 -3
|
@@ -2582,6 +2582,99 @@ if (false) {
|
|
|
2582
2582
|
TruncatedTextToggleComponent.prototype.showCollapseBtn;
|
|
2583
2583
|
}
|
|
2584
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
|
+
|
|
2585
2678
|
/**
|
|
2586
2679
|
* @fileoverview added by tsickle
|
|
2587
2680
|
* Generated from: lib/layout/page-list/index.component.ts
|
|
@@ -2625,6 +2718,18 @@ var RsPageListComponent = /** @class */ (function () {
|
|
|
2625
2718
|
this.hasWholeToolbarSlot = !!this.wholeToolbarSlot;
|
|
2626
2719
|
this.hasLeftContentSlot = !!this.leftContentSlot;
|
|
2627
2720
|
};
|
|
2721
|
+
/**
|
|
2722
|
+
* @param {?} value
|
|
2723
|
+
* @return {?}
|
|
2724
|
+
*/
|
|
2725
|
+
RsPageListComponent.prototype.setSearchValue = /**
|
|
2726
|
+
* @param {?} value
|
|
2727
|
+
* @return {?}
|
|
2728
|
+
*/
|
|
2729
|
+
function (value) {
|
|
2730
|
+
this.searchInput.searchValue = value;
|
|
2731
|
+
this.onSeach(value);
|
|
2732
|
+
};
|
|
2628
2733
|
/**
|
|
2629
2734
|
* @param {?} value
|
|
2630
2735
|
* @return {?}
|
|
@@ -2659,6 +2764,7 @@ var RsPageListComponent = /** @class */ (function () {
|
|
|
2659
2764
|
orignGrid: [{ type: ContentChild, args: [GridComponent, { static: false },] }],
|
|
2660
2765
|
treeGrid: [{ type: ContentChild, args: [TreeGridComponent, { static: false },] }],
|
|
2661
2766
|
wholeToolbarSlot: [{ type: ContentChild, args: ["wholeToolbarSlot", { static: false },] }],
|
|
2767
|
+
searchInput: [{ type: ViewChild, args: ["searchInput", { static: false },] }],
|
|
2662
2768
|
leftContentSlot: [{ type: ContentChild, args: ["leftContentSlot", { static: false },] }],
|
|
2663
2769
|
pageTitle: [{ type: Input }],
|
|
2664
2770
|
customPageTitle: [{ type: Input }],
|
|
@@ -2678,6 +2784,8 @@ if (false) {
|
|
|
2678
2784
|
/** @type {?} */
|
|
2679
2785
|
RsPageListComponent.prototype.wholeToolbarSlot;
|
|
2680
2786
|
/** @type {?} */
|
|
2787
|
+
RsPageListComponent.prototype.searchInput;
|
|
2788
|
+
/** @type {?} */
|
|
2681
2789
|
RsPageListComponent.prototype.leftContentSlot;
|
|
2682
2790
|
/** @type {?} */
|
|
2683
2791
|
RsPageListComponent.prototype.pageTitle;
|
|
@@ -2811,99 +2919,6 @@ if (false) {
|
|
|
2811
2919
|
RsPageTabComponent.prototype.animation;
|
|
2812
2920
|
}
|
|
2813
2921
|
|
|
2814
|
-
/**
|
|
2815
|
-
* @fileoverview added by tsickle
|
|
2816
|
-
* Generated from: lib/form/search-input/index.component.ts
|
|
2817
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2818
|
-
*/
|
|
2819
|
-
var SearchInputComponent = /** @class */ (function () {
|
|
2820
|
-
function SearchInputComponent() {
|
|
2821
|
-
this.placeholder = "";
|
|
2822
|
-
this.hanleSearch = new EventEmitter();
|
|
2823
|
-
this.handleInput = new EventEmitter();
|
|
2824
|
-
this.searchValue = "";
|
|
2825
|
-
}
|
|
2826
|
-
/**
|
|
2827
|
-
* @return {?}
|
|
2828
|
-
*/
|
|
2829
|
-
SearchInputComponent.prototype.ngOnInit = /**
|
|
2830
|
-
* @return {?}
|
|
2831
|
-
*/
|
|
2832
|
-
function () {
|
|
2833
|
-
var _this = this;
|
|
2834
|
-
this.getInfo();
|
|
2835
|
-
this.debouncedInput = debounce((/**
|
|
2836
|
-
* @return {?}
|
|
2837
|
-
*/
|
|
2838
|
-
function () {
|
|
2839
|
-
_this.onSeach();
|
|
2840
|
-
}), 300);
|
|
2841
|
-
};
|
|
2842
|
-
/**
|
|
2843
|
-
* @return {?}
|
|
2844
|
-
*/
|
|
2845
|
-
SearchInputComponent.prototype.getInfo = /**
|
|
2846
|
-
* @return {?}
|
|
2847
|
-
*/
|
|
2848
|
-
function () {
|
|
2849
|
-
this.translation = JSON.parse(localStorage.getItem("translation"));
|
|
2850
|
-
this.placeholder = this.placeholder || this.translation.SEARCH;
|
|
2851
|
-
};
|
|
2852
|
-
/**
|
|
2853
|
-
* @param {?} e
|
|
2854
|
-
* @return {?}
|
|
2855
|
-
*/
|
|
2856
|
-
SearchInputComponent.prototype.onInput = /**
|
|
2857
|
-
* @param {?} e
|
|
2858
|
-
* @return {?}
|
|
2859
|
-
*/
|
|
2860
|
-
function (e) {
|
|
2861
|
-
this.handleInput.emit(e.value);
|
|
2862
|
-
this.debouncedInput();
|
|
2863
|
-
};
|
|
2864
|
-
/**
|
|
2865
|
-
* @return {?}
|
|
2866
|
-
*/
|
|
2867
|
-
SearchInputComponent.prototype.onSeach = /**
|
|
2868
|
-
* @return {?}
|
|
2869
|
-
*/
|
|
2870
|
-
function () {
|
|
2871
|
-
this.hanleSearch.emit(this.searchValue);
|
|
2872
|
-
};
|
|
2873
|
-
SearchInputComponent.decorators = [
|
|
2874
|
-
{ type: Component, args: [{
|
|
2875
|
-
selector: "rs-search-input",
|
|
2876
|
-
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",
|
|
2877
|
-
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}"]
|
|
2878
|
-
}] }
|
|
2879
|
-
];
|
|
2880
|
-
/** @nocollapse */
|
|
2881
|
-
SearchInputComponent.ctorParameters = function () { return []; };
|
|
2882
|
-
SearchInputComponent.propDecorators = {
|
|
2883
|
-
placeholder: [{ type: Input }],
|
|
2884
|
-
hanleSearch: [{ type: Output }],
|
|
2885
|
-
handleInput: [{ type: Output }]
|
|
2886
|
-
};
|
|
2887
|
-
return SearchInputComponent;
|
|
2888
|
-
}());
|
|
2889
|
-
if (false) {
|
|
2890
|
-
/** @type {?} */
|
|
2891
|
-
SearchInputComponent.prototype.placeholder;
|
|
2892
|
-
/** @type {?} */
|
|
2893
|
-
SearchInputComponent.prototype.hanleSearch;
|
|
2894
|
-
/** @type {?} */
|
|
2895
|
-
SearchInputComponent.prototype.handleInput;
|
|
2896
|
-
/**
|
|
2897
|
-
* @type {?}
|
|
2898
|
-
* @private
|
|
2899
|
-
*/
|
|
2900
|
-
SearchInputComponent.prototype.debouncedInput;
|
|
2901
|
-
/** @type {?} */
|
|
2902
|
-
SearchInputComponent.prototype.searchValue;
|
|
2903
|
-
/** @type {?} */
|
|
2904
|
-
SearchInputComponent.prototype.translation;
|
|
2905
|
-
}
|
|
2906
|
-
|
|
2907
2922
|
/**
|
|
2908
2923
|
* @fileoverview added by tsickle
|
|
2909
2924
|
* Generated from: lib/layout/grid-box/index.component.ts
|