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.
- package/bundles/raise-common-lib.umd.js +271 -62
- 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/form/confirm-select/index.component.js +118 -0
- package/esm2015/lib/form/search-input/index.component.js +81 -0
- package/esm2015/lib/layout/grid-box/index.component.js +17 -29
- package/esm2015/lib/layout/multi-tab/index.component.js +6 -1
- package/esm2015/lib/layout/page-list/index.component.js +9 -28
- package/esm2015/lib/raise-common-lib.module.js +7 -1
- package/esm2015/public-api.js +2 -1
- package/esm2015/raise-common-lib.js +5 -4
- package/esm5/lib/form/confirm-select/index.component.js +143 -0
- package/esm5/lib/form/search-input/index.component.js +97 -0
- package/esm5/lib/layout/grid-box/index.component.js +18 -33
- package/esm5/lib/layout/multi-tab/index.component.js +6 -1
- package/esm5/lib/layout/page-list/index.component.js +10 -32
- package/esm5/lib/raise-common-lib.module.js +7 -1
- package/esm5/public-api.js +2 -1
- package/esm5/raise-common-lib.js +5 -4
- package/fesm2015/raise-common-lib.js +227 -53
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +268 -61
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/form/confirm-select/index.component.d.ts +25 -0
- package/lib/form/search-input/index.component.d.ts +14 -0
- package/lib/layout/grid-box/index.component.d.ts +3 -5
- package/lib/layout/multi-tab/index.component.d.ts +1 -0
- package/lib/layout/page-list/index.component.d.ts +1 -4
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/raise-common-lib.d.ts +3 -2
- package/raise-common-lib.metadata.json +1 -1
- package/src/assets/img/toolbar-action-submitForApproval.svg +3 -3
|
@@ -2751,14 +2751,7 @@
|
|
|
2751
2751
|
* @return {?}
|
|
2752
2752
|
*/
|
|
2753
2753
|
function () {
|
|
2754
|
-
var _this = this;
|
|
2755
2754
|
this.getInfo();
|
|
2756
|
-
this.debouncedInput = lodash.debounce((/**
|
|
2757
|
-
* @return {?}
|
|
2758
|
-
*/
|
|
2759
|
-
function () {
|
|
2760
|
-
_this.onSeach();
|
|
2761
|
-
}), 300);
|
|
2762
2755
|
};
|
|
2763
2756
|
/**
|
|
2764
2757
|
* @return {?}
|
|
@@ -2780,39 +2773,32 @@
|
|
|
2780
2773
|
this.hasWholeToolbarSlot = !!this.wholeToolbarSlot;
|
|
2781
2774
|
};
|
|
2782
2775
|
/**
|
|
2776
|
+
* @param {?} value
|
|
2783
2777
|
* @return {?}
|
|
2784
2778
|
*/
|
|
2785
2779
|
RsPageListComponent.prototype.onSeach = /**
|
|
2780
|
+
* @param {?} value
|
|
2786
2781
|
* @return {?}
|
|
2787
2782
|
*/
|
|
2788
|
-
function () {
|
|
2783
|
+
function (value) {
|
|
2789
2784
|
if (this.gridContent) {
|
|
2790
|
-
this.gridContent.grid.search(
|
|
2785
|
+
this.gridContent.grid.search(value);
|
|
2791
2786
|
}
|
|
2792
2787
|
else if (this.orignGrid) {
|
|
2793
|
-
this.orignGrid.search(
|
|
2788
|
+
this.orignGrid.search(value);
|
|
2794
2789
|
}
|
|
2795
2790
|
else if (this.treeGrid) {
|
|
2796
|
-
this.treeGrid.search(
|
|
2791
|
+
this.treeGrid.search(value);
|
|
2797
2792
|
}
|
|
2798
2793
|
else {
|
|
2799
|
-
this.onGridSearch.emit(
|
|
2794
|
+
this.onGridSearch.emit(value);
|
|
2800
2795
|
}
|
|
2801
2796
|
};
|
|
2802
|
-
/**
|
|
2803
|
-
* @return {?}
|
|
2804
|
-
*/
|
|
2805
|
-
RsPageListComponent.prototype.onInput = /**
|
|
2806
|
-
* @return {?}
|
|
2807
|
-
*/
|
|
2808
|
-
function () {
|
|
2809
|
-
this.debouncedInput();
|
|
2810
|
-
};
|
|
2811
2797
|
RsPageListComponent.decorators = [
|
|
2812
2798
|
{ type: core.Component, args: [{
|
|
2813
2799
|
selector: "rs-page-list",
|
|
2814
|
-
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 <
|
|
2815
|
-
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)}
|
|
2800
|
+
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",
|
|
2801
|
+
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)}"]
|
|
2816
2802
|
}] }
|
|
2817
2803
|
];
|
|
2818
2804
|
RsPageListComponent.propDecorators = {
|
|
@@ -2847,17 +2833,10 @@
|
|
|
2847
2833
|
RsPageListComponent.prototype.isInner;
|
|
2848
2834
|
/** @type {?} */
|
|
2849
2835
|
RsPageListComponent.prototype.onGridSearch;
|
|
2850
|
-
/**
|
|
2851
|
-
* @type {?}
|
|
2852
|
-
* @private
|
|
2853
|
-
*/
|
|
2854
|
-
RsPageListComponent.prototype.debouncedInput;
|
|
2855
2836
|
/** @type {?} */
|
|
2856
2837
|
RsPageListComponent.prototype.hasWholeToolbarSlot;
|
|
2857
2838
|
/** @type {?} */
|
|
2858
2839
|
RsPageListComponent.prototype.translation;
|
|
2859
|
-
/** @type {?} */
|
|
2860
|
-
RsPageListComponent.prototype.searchValue;
|
|
2861
2840
|
}
|
|
2862
2841
|
|
|
2863
2842
|
/**
|
|
@@ -2979,6 +2958,7 @@
|
|
|
2979
2958
|
function GridBoxComponent() {
|
|
2980
2959
|
this.hideSearch = false;
|
|
2981
2960
|
this.isInner = false;
|
|
2961
|
+
this.onGridSearch = new core.EventEmitter();
|
|
2982
2962
|
this.hasWholeToolbarSlot = false;
|
|
2983
2963
|
}
|
|
2984
2964
|
/**
|
|
@@ -2988,14 +2968,7 @@
|
|
|
2988
2968
|
* @return {?}
|
|
2989
2969
|
*/
|
|
2990
2970
|
function () {
|
|
2991
|
-
var _this = this;
|
|
2992
2971
|
this.getInfo();
|
|
2993
|
-
this.debouncedInput = lodash.debounce((/**
|
|
2994
|
-
* @return {?}
|
|
2995
|
-
*/
|
|
2996
|
-
function () {
|
|
2997
|
-
_this.onSeach();
|
|
2998
|
-
}), 300);
|
|
2999
2972
|
};
|
|
3000
2973
|
/**
|
|
3001
2974
|
* @return {?}
|
|
@@ -3017,36 +2990,32 @@
|
|
|
3017
2990
|
this.hasWholeToolbarSlot = !!this.wholeToolbarSlot;
|
|
3018
2991
|
};
|
|
3019
2992
|
/**
|
|
2993
|
+
* @param {?} value
|
|
3020
2994
|
* @return {?}
|
|
3021
2995
|
*/
|
|
3022
2996
|
GridBoxComponent.prototype.onSeach = /**
|
|
2997
|
+
* @param {?} value
|
|
3023
2998
|
* @return {?}
|
|
3024
2999
|
*/
|
|
3025
|
-
function () {
|
|
3000
|
+
function (value) {
|
|
3026
3001
|
if (this.gridContent) {
|
|
3027
|
-
this.gridContent.grid.search(
|
|
3002
|
+
this.gridContent.grid.search(value);
|
|
3028
3003
|
}
|
|
3029
3004
|
else if (this.orignGrid) {
|
|
3030
|
-
this.orignGrid.search(
|
|
3005
|
+
this.orignGrid.search(value);
|
|
3031
3006
|
}
|
|
3032
3007
|
else if (this.treeGrid) {
|
|
3033
|
-
this.treeGrid.search(
|
|
3008
|
+
this.treeGrid.search(value);
|
|
3009
|
+
}
|
|
3010
|
+
else {
|
|
3011
|
+
this.onGridSearch.emit(value);
|
|
3034
3012
|
}
|
|
3035
|
-
};
|
|
3036
|
-
/**
|
|
3037
|
-
* @return {?}
|
|
3038
|
-
*/
|
|
3039
|
-
GridBoxComponent.prototype.onInput = /**
|
|
3040
|
-
* @return {?}
|
|
3041
|
-
*/
|
|
3042
|
-
function () {
|
|
3043
|
-
this.debouncedInput();
|
|
3044
3013
|
};
|
|
3045
3014
|
GridBoxComponent.decorators = [
|
|
3046
3015
|
{ type: core.Component, args: [{
|
|
3047
3016
|
selector: "rs-grid-box",
|
|
3048
|
-
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 <
|
|
3049
|
-
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}
|
|
3017
|
+
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",
|
|
3018
|
+
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}"]
|
|
3050
3019
|
}] }
|
|
3051
3020
|
];
|
|
3052
3021
|
GridBoxComponent.propDecorators = {
|
|
@@ -3055,7 +3024,8 @@
|
|
|
3055
3024
|
treeGrid: [{ type: core.ContentChild, args: [ej2AngularTreegrid.TreeGridComponent, { static: false },] }],
|
|
3056
3025
|
wholeToolbarSlot: [{ type: core.ContentChild, args: ["wholeToolbarSlot", { static: false },] }],
|
|
3057
3026
|
hideSearch: [{ type: core.Input }],
|
|
3058
|
-
isInner: [{ type: core.Input }]
|
|
3027
|
+
isInner: [{ type: core.Input }],
|
|
3028
|
+
onGridSearch: [{ type: core.Output }]
|
|
3059
3029
|
};
|
|
3060
3030
|
return GridBoxComponent;
|
|
3061
3031
|
}());
|
|
@@ -3072,17 +3042,12 @@
|
|
|
3072
3042
|
GridBoxComponent.prototype.hideSearch;
|
|
3073
3043
|
/** @type {?} */
|
|
3074
3044
|
GridBoxComponent.prototype.isInner;
|
|
3075
|
-
/**
|
|
3076
|
-
|
|
3077
|
-
* @private
|
|
3078
|
-
*/
|
|
3079
|
-
GridBoxComponent.prototype.debouncedInput;
|
|
3045
|
+
/** @type {?} */
|
|
3046
|
+
GridBoxComponent.prototype.onGridSearch;
|
|
3080
3047
|
/** @type {?} */
|
|
3081
3048
|
GridBoxComponent.prototype.hasWholeToolbarSlot;
|
|
3082
3049
|
/** @type {?} */
|
|
3083
3050
|
GridBoxComponent.prototype.translation;
|
|
3084
|
-
/** @type {?} */
|
|
3085
|
-
GridBoxComponent.prototype.searchValue;
|
|
3086
3051
|
}
|
|
3087
3052
|
|
|
3088
3053
|
/**
|
|
@@ -3382,6 +3347,7 @@
|
|
|
3382
3347
|
this.flattenMenu = [];
|
|
3383
3348
|
this.defaultTabUrl = "";
|
|
3384
3349
|
this.onRefreshTab = new core.EventEmitter();
|
|
3350
|
+
this.onCloseTab = new core.EventEmitter();
|
|
3385
3351
|
this.subscriptions = [];
|
|
3386
3352
|
this.TAB_WIDTH = 164;
|
|
3387
3353
|
this.GAP_NORMAL = 54;
|
|
@@ -3641,6 +3607,7 @@
|
|
|
3641
3607
|
}
|
|
3642
3608
|
this.setEllipsisTitle();
|
|
3643
3609
|
sessionStorage.setItem("TabCache", JSON.stringify(this.tabList));
|
|
3610
|
+
this.onCloseTab.emit(tab);
|
|
3644
3611
|
this.ref.markForCheck();
|
|
3645
3612
|
};
|
|
3646
3613
|
/**
|
|
@@ -3876,6 +3843,7 @@
|
|
|
3876
3843
|
flattenMenu: [{ type: core.Input }],
|
|
3877
3844
|
defaultTabUrl: [{ type: core.Input }],
|
|
3878
3845
|
onRefreshTab: [{ type: core.Output }],
|
|
3846
|
+
onCloseTab: [{ type: core.Output }],
|
|
3879
3847
|
onResize: [{ type: core.HostListener, args: ["window:resize", ["$event"],] }]
|
|
3880
3848
|
};
|
|
3881
3849
|
return MultiTabComponent;
|
|
@@ -3893,6 +3861,8 @@
|
|
|
3893
3861
|
MultiTabComponent.prototype.defaultTabUrl;
|
|
3894
3862
|
/** @type {?} */
|
|
3895
3863
|
MultiTabComponent.prototype.onRefreshTab;
|
|
3864
|
+
/** @type {?} */
|
|
3865
|
+
MultiTabComponent.prototype.onCloseTab;
|
|
3896
3866
|
/**
|
|
3897
3867
|
* @type {?}
|
|
3898
3868
|
* @private
|
|
@@ -22196,6 +22166,99 @@
|
|
|
22196
22166
|
EncryptedInputComponent.prototype.encrypted;
|
|
22197
22167
|
}
|
|
22198
22168
|
|
|
22169
|
+
/**
|
|
22170
|
+
* @fileoverview added by tsickle
|
|
22171
|
+
* Generated from: lib/form/search-input/index.component.ts
|
|
22172
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
22173
|
+
*/
|
|
22174
|
+
var SearchInputComponent = /** @class */ (function () {
|
|
22175
|
+
function SearchInputComponent() {
|
|
22176
|
+
this.placeholder = "";
|
|
22177
|
+
this.hanleSearch = new core.EventEmitter();
|
|
22178
|
+
this.handleInput = new core.EventEmitter();
|
|
22179
|
+
this.searchValue = "";
|
|
22180
|
+
}
|
|
22181
|
+
/**
|
|
22182
|
+
* @return {?}
|
|
22183
|
+
*/
|
|
22184
|
+
SearchInputComponent.prototype.ngOnInit = /**
|
|
22185
|
+
* @return {?}
|
|
22186
|
+
*/
|
|
22187
|
+
function () {
|
|
22188
|
+
var _this = this;
|
|
22189
|
+
this.getInfo();
|
|
22190
|
+
this.debouncedInput = lodash.debounce((/**
|
|
22191
|
+
* @return {?}
|
|
22192
|
+
*/
|
|
22193
|
+
function () {
|
|
22194
|
+
_this.onSeach();
|
|
22195
|
+
}), 300);
|
|
22196
|
+
};
|
|
22197
|
+
/**
|
|
22198
|
+
* @return {?}
|
|
22199
|
+
*/
|
|
22200
|
+
SearchInputComponent.prototype.getInfo = /**
|
|
22201
|
+
* @return {?}
|
|
22202
|
+
*/
|
|
22203
|
+
function () {
|
|
22204
|
+
this.translation = JSON.parse(localStorage.getItem("translation"));
|
|
22205
|
+
this.placeholder = this.placeholder || this.translation.SEARCH;
|
|
22206
|
+
};
|
|
22207
|
+
/**
|
|
22208
|
+
* @param {?} e
|
|
22209
|
+
* @return {?}
|
|
22210
|
+
*/
|
|
22211
|
+
SearchInputComponent.prototype.onInput = /**
|
|
22212
|
+
* @param {?} e
|
|
22213
|
+
* @return {?}
|
|
22214
|
+
*/
|
|
22215
|
+
function (e) {
|
|
22216
|
+
this.handleInput.emit(e.value);
|
|
22217
|
+
this.debouncedInput();
|
|
22218
|
+
};
|
|
22219
|
+
/**
|
|
22220
|
+
* @return {?}
|
|
22221
|
+
*/
|
|
22222
|
+
SearchInputComponent.prototype.onSeach = /**
|
|
22223
|
+
* @return {?}
|
|
22224
|
+
*/
|
|
22225
|
+
function () {
|
|
22226
|
+
this.hanleSearch.emit(this.searchValue);
|
|
22227
|
+
};
|
|
22228
|
+
SearchInputComponent.decorators = [
|
|
22229
|
+
{ type: core.Component, args: [{
|
|
22230
|
+
selector: "rs-search-input",
|
|
22231
|
+
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",
|
|
22232
|
+
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}"]
|
|
22233
|
+
}] }
|
|
22234
|
+
];
|
|
22235
|
+
/** @nocollapse */
|
|
22236
|
+
SearchInputComponent.ctorParameters = function () { return []; };
|
|
22237
|
+
SearchInputComponent.propDecorators = {
|
|
22238
|
+
placeholder: [{ type: core.Input }],
|
|
22239
|
+
hanleSearch: [{ type: core.Output }],
|
|
22240
|
+
handleInput: [{ type: core.Output }]
|
|
22241
|
+
};
|
|
22242
|
+
return SearchInputComponent;
|
|
22243
|
+
}());
|
|
22244
|
+
if (false) {
|
|
22245
|
+
/** @type {?} */
|
|
22246
|
+
SearchInputComponent.prototype.placeholder;
|
|
22247
|
+
/** @type {?} */
|
|
22248
|
+
SearchInputComponent.prototype.hanleSearch;
|
|
22249
|
+
/** @type {?} */
|
|
22250
|
+
SearchInputComponent.prototype.handleInput;
|
|
22251
|
+
/**
|
|
22252
|
+
* @type {?}
|
|
22253
|
+
* @private
|
|
22254
|
+
*/
|
|
22255
|
+
SearchInputComponent.prototype.debouncedInput;
|
|
22256
|
+
/** @type {?} */
|
|
22257
|
+
SearchInputComponent.prototype.searchValue;
|
|
22258
|
+
/** @type {?} */
|
|
22259
|
+
SearchInputComponent.prototype.translation;
|
|
22260
|
+
}
|
|
22261
|
+
|
|
22199
22262
|
/**
|
|
22200
22263
|
* @fileoverview added by tsickle
|
|
22201
22264
|
* Generated from: lib/form/drawer-form/constants.ts
|
|
@@ -23307,6 +23370,146 @@
|
|
|
23307
23370
|
return KeepAliveService;
|
|
23308
23371
|
}());
|
|
23309
23372
|
|
|
23373
|
+
/**
|
|
23374
|
+
* @fileoverview added by tsickle
|
|
23375
|
+
* Generated from: lib/form/confirm-select/index.component.ts
|
|
23376
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
23377
|
+
*/
|
|
23378
|
+
var ConfirmSelectComponent = /** @class */ (function () {
|
|
23379
|
+
function ConfirmSelectComponent() {
|
|
23380
|
+
this.dataSource = [];
|
|
23381
|
+
this.disabled = false;
|
|
23382
|
+
this.fields = { text: "Game", value: "Id" };
|
|
23383
|
+
this.showSelectAll = true;
|
|
23384
|
+
this.valueChange = new core.EventEmitter();
|
|
23385
|
+
this.selectedItems = [];
|
|
23386
|
+
this.isInteracted = false;
|
|
23387
|
+
}
|
|
23388
|
+
/**
|
|
23389
|
+
* @return {?}
|
|
23390
|
+
*/
|
|
23391
|
+
ConfirmSelectComponent.prototype.ngOnInit = /**
|
|
23392
|
+
* @return {?}
|
|
23393
|
+
*/
|
|
23394
|
+
function () {
|
|
23395
|
+
this.getInfo();
|
|
23396
|
+
this.resetSelectedItems();
|
|
23397
|
+
};
|
|
23398
|
+
/**
|
|
23399
|
+
* @param {?} changes
|
|
23400
|
+
* @return {?}
|
|
23401
|
+
*/
|
|
23402
|
+
ConfirmSelectComponent.prototype.ngOnChanges = /**
|
|
23403
|
+
* @param {?} changes
|
|
23404
|
+
* @return {?}
|
|
23405
|
+
*/
|
|
23406
|
+
function (changes) {
|
|
23407
|
+
if (changes.value && !changes.value.firstChange) {
|
|
23408
|
+
this.resetSelectedItems();
|
|
23409
|
+
}
|
|
23410
|
+
};
|
|
23411
|
+
/**
|
|
23412
|
+
* @return {?}
|
|
23413
|
+
*/
|
|
23414
|
+
ConfirmSelectComponent.prototype.getInfo = /**
|
|
23415
|
+
* @return {?}
|
|
23416
|
+
*/
|
|
23417
|
+
function () {
|
|
23418
|
+
this.translation = JSON.parse(localStorage.getItem("translation"));
|
|
23419
|
+
};
|
|
23420
|
+
/**
|
|
23421
|
+
* @return {?}
|
|
23422
|
+
*/
|
|
23423
|
+
ConfirmSelectComponent.prototype.resetSelectedItems = /**
|
|
23424
|
+
* @return {?}
|
|
23425
|
+
*/
|
|
23426
|
+
function () {
|
|
23427
|
+
this.selectedItems = JSON.parse(JSON.stringify(this.value || []));
|
|
23428
|
+
};
|
|
23429
|
+
/**
|
|
23430
|
+
* @return {?}
|
|
23431
|
+
*/
|
|
23432
|
+
ConfirmSelectComponent.prototype.onCancel = /**
|
|
23433
|
+
* @return {?}
|
|
23434
|
+
*/
|
|
23435
|
+
function () {
|
|
23436
|
+
this.isInteracted = true;
|
|
23437
|
+
this.resetSelectedItems();
|
|
23438
|
+
this.comfirmSelect.hidePopup();
|
|
23439
|
+
};
|
|
23440
|
+
/**
|
|
23441
|
+
* @return {?}
|
|
23442
|
+
*/
|
|
23443
|
+
ConfirmSelectComponent.prototype.onApply = /**
|
|
23444
|
+
* @return {?}
|
|
23445
|
+
*/
|
|
23446
|
+
function () {
|
|
23447
|
+
this.isInteracted = true;
|
|
23448
|
+
/** @type {?} */
|
|
23449
|
+
var val = this.comfirmSelect.value;
|
|
23450
|
+
this.valueChange.emit(val);
|
|
23451
|
+
this.comfirmSelect.hidePopup();
|
|
23452
|
+
};
|
|
23453
|
+
/**
|
|
23454
|
+
* @param {?} e
|
|
23455
|
+
* @return {?}
|
|
23456
|
+
*/
|
|
23457
|
+
ConfirmSelectComponent.prototype.onClose = /**
|
|
23458
|
+
* @param {?} e
|
|
23459
|
+
* @return {?}
|
|
23460
|
+
*/
|
|
23461
|
+
function (e) {
|
|
23462
|
+
if (this.isInteracted) {
|
|
23463
|
+
this.isInteracted = false;
|
|
23464
|
+
}
|
|
23465
|
+
else {
|
|
23466
|
+
this.resetSelectedItems();
|
|
23467
|
+
}
|
|
23468
|
+
};
|
|
23469
|
+
ConfirmSelectComponent.decorators = [
|
|
23470
|
+
{ type: core.Component, args: [{
|
|
23471
|
+
selector: "rs-confirm-select",
|
|
23472
|
+
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",
|
|
23473
|
+
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)}"]
|
|
23474
|
+
}] }
|
|
23475
|
+
];
|
|
23476
|
+
ConfirmSelectComponent.propDecorators = {
|
|
23477
|
+
comfirmSelect: [{ type: core.ViewChild, args: ["comfirmSelect", { static: false },] }],
|
|
23478
|
+
value: [{ type: core.Input }],
|
|
23479
|
+
dataSource: [{ type: core.Input }],
|
|
23480
|
+
disabled: [{ type: core.Input }],
|
|
23481
|
+
fields: [{ type: core.Input }],
|
|
23482
|
+
placeholder: [{ type: core.Input }],
|
|
23483
|
+
showSelectAll: [{ type: core.Input }],
|
|
23484
|
+
valueChange: [{ type: core.Output }]
|
|
23485
|
+
};
|
|
23486
|
+
return ConfirmSelectComponent;
|
|
23487
|
+
}());
|
|
23488
|
+
if (false) {
|
|
23489
|
+
/** @type {?} */
|
|
23490
|
+
ConfirmSelectComponent.prototype.comfirmSelect;
|
|
23491
|
+
/** @type {?} */
|
|
23492
|
+
ConfirmSelectComponent.prototype.value;
|
|
23493
|
+
/** @type {?} */
|
|
23494
|
+
ConfirmSelectComponent.prototype.dataSource;
|
|
23495
|
+
/** @type {?} */
|
|
23496
|
+
ConfirmSelectComponent.prototype.disabled;
|
|
23497
|
+
/** @type {?} */
|
|
23498
|
+
ConfirmSelectComponent.prototype.fields;
|
|
23499
|
+
/** @type {?} */
|
|
23500
|
+
ConfirmSelectComponent.prototype.placeholder;
|
|
23501
|
+
/** @type {?} */
|
|
23502
|
+
ConfirmSelectComponent.prototype.showSelectAll;
|
|
23503
|
+
/** @type {?} */
|
|
23504
|
+
ConfirmSelectComponent.prototype.valueChange;
|
|
23505
|
+
/** @type {?} */
|
|
23506
|
+
ConfirmSelectComponent.prototype.translation;
|
|
23507
|
+
/** @type {?} */
|
|
23508
|
+
ConfirmSelectComponent.prototype.selectedItems;
|
|
23509
|
+
/** @type {?} */
|
|
23510
|
+
ConfirmSelectComponent.prototype.isInteracted;
|
|
23511
|
+
}
|
|
23512
|
+
|
|
23310
23513
|
/**
|
|
23311
23514
|
* @fileoverview added by tsickle
|
|
23312
23515
|
* Generated from: lib/raise-common-lib.module.ts
|
|
@@ -23335,6 +23538,8 @@
|
|
|
23335
23538
|
CheckboxGroupComponent,
|
|
23336
23539
|
SwitchInputComponent,
|
|
23337
23540
|
EncryptedInputComponent,
|
|
23541
|
+
SearchInputComponent,
|
|
23542
|
+
ConfirmSelectComponent,
|
|
23338
23543
|
NewActionNotificationComponent,
|
|
23339
23544
|
CommonDialogComponent,
|
|
23340
23545
|
CommonDeleteComponent,
|
|
@@ -23495,6 +23700,8 @@
|
|
|
23495
23700
|
CheckboxGroupComponent,
|
|
23496
23701
|
SwitchInputComponent,
|
|
23497
23702
|
EncryptedInputComponent,
|
|
23703
|
+
SearchInputComponent,
|
|
23704
|
+
ConfirmSelectComponent,
|
|
23498
23705
|
DrawerComponent,
|
|
23499
23706
|
DrawerFormComponent,
|
|
23500
23707
|
ToolbarItemComponent,
|
|
@@ -23545,6 +23752,7 @@
|
|
|
23545
23752
|
exports.RsCommentaryComponent = RsCommentaryComponent;
|
|
23546
23753
|
exports.RsPageListComponent = RsPageListComponent;
|
|
23547
23754
|
exports.RsPageTabComponent = RsPageTabComponent;
|
|
23755
|
+
exports.SearchInputComponent = SearchInputComponent;
|
|
23548
23756
|
exports.SwitchInputComponent = SwitchInputComponent;
|
|
23549
23757
|
exports.TagInputComponent = TagInputComponent;
|
|
23550
23758
|
exports.ToolbarItemComponent = ToolbarItemComponent;
|
|
@@ -23552,8 +23760,9 @@
|
|
|
23552
23760
|
exports.TruncatedTextToggleComponent = TruncatedTextToggleComponent;
|
|
23553
23761
|
exports.filterShowSection = filterShowSection;
|
|
23554
23762
|
exports.ɵa = Debounce;
|
|
23555
|
-
exports.ɵb =
|
|
23556
|
-
exports.ɵc =
|
|
23763
|
+
exports.ɵb = ConfirmSelectComponent;
|
|
23764
|
+
exports.ɵc = NewActionNotificationComponent;
|
|
23765
|
+
exports.ɵd = CommonDeleteComponent;
|
|
23557
23766
|
|
|
23558
23767
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
23559
23768
|
|