raise-common-lib 0.0.185 → 0.0.187
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 +134 -101
- 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/commentary/index.component.js +6 -5
- package/esm2015/lib/float-box/index.component.js +3 -1
- package/esm2015/lib/layout/grid-box/index.component.js +15 -3
- package/esm2015/lib/layout/page-list/index.component.js +15 -3
- package/esm2015/lib/layout/rs-aside/index.component.js +3 -3
- package/esm5/lib/commentary/index.component.js +6 -5
- package/esm5/lib/float-box/index.component.js +3 -1
- package/esm5/lib/layout/grid-box/index.component.js +19 -3
- package/esm5/lib/layout/page-list/index.component.js +19 -3
- package/esm5/lib/layout/rs-aside/index.component.js +3 -3
- package/fesm2015/raise-common-lib.js +111 -86
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +134 -101
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/commentary/index.component.d.ts +1 -1
- package/lib/layout/grid-box/index.component.d.ts +3 -0
- 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/grid-action-preview.svg +6 -6
|
@@ -1581,6 +1581,8 @@
|
|
|
1581
1581
|
*/
|
|
1582
1582
|
function () {
|
|
1583
1583
|
_this.opened = "no";
|
|
1584
|
+
_this.ref.markForCheck();
|
|
1585
|
+
_this.ref.detectChanges();
|
|
1584
1586
|
_this.openChange.emit(false);
|
|
1585
1587
|
}), 0);
|
|
1586
1588
|
};
|
|
@@ -2415,11 +2417,11 @@
|
|
|
2415
2417
|
lastModifiedOn: "lastModifiedOn",
|
|
2416
2418
|
messageBody: "messageBody",
|
|
2417
2419
|
};
|
|
2420
|
+
this.dateTimePipeFormat = "dd-MMM-yyyy hh:mm:a";
|
|
2418
2421
|
this.actionComplete = new core.EventEmitter();
|
|
2419
2422
|
this.commentVal = "";
|
|
2420
2423
|
this.replyVal = "";
|
|
2421
2424
|
this.editCommentVal = "";
|
|
2422
|
-
this.dateTimePipeFormat = "dd-MMM-yyyy hh:mm:a";
|
|
2423
2425
|
}
|
|
2424
2426
|
/**
|
|
2425
2427
|
* @return {?}
|
|
@@ -2529,7 +2531,7 @@
|
|
|
2529
2531
|
* @return {?}
|
|
2530
2532
|
*/
|
|
2531
2533
|
function (res) {
|
|
2532
|
-
if (res ===
|
|
2534
|
+
if (res === "close") {
|
|
2533
2535
|
return;
|
|
2534
2536
|
}
|
|
2535
2537
|
/** @type {?} */
|
|
@@ -2628,6 +2630,7 @@
|
|
|
2628
2630
|
deletePermission: [{ type: core.Input }],
|
|
2629
2631
|
isReadOnly: [{ type: core.Input }],
|
|
2630
2632
|
filedsKey: [{ type: core.Input }],
|
|
2633
|
+
dateTimePipeFormat: [{ type: core.Input }],
|
|
2631
2634
|
actionComplete: [{ type: core.Output }]
|
|
2632
2635
|
};
|
|
2633
2636
|
__decorate([
|
|
@@ -2670,6 +2673,8 @@
|
|
|
2670
2673
|
/** @type {?} */
|
|
2671
2674
|
RsCommentaryComponent.prototype.filedsKey;
|
|
2672
2675
|
/** @type {?} */
|
|
2676
|
+
RsCommentaryComponent.prototype.dateTimePipeFormat;
|
|
2677
|
+
/** @type {?} */
|
|
2673
2678
|
RsCommentaryComponent.prototype.actionComplete;
|
|
2674
2679
|
/** @type {?} */
|
|
2675
2680
|
RsCommentaryComponent.prototype.commentVal;
|
|
@@ -2678,8 +2683,6 @@
|
|
|
2678
2683
|
/** @type {?} */
|
|
2679
2684
|
RsCommentaryComponent.prototype.editCommentVal;
|
|
2680
2685
|
/** @type {?} */
|
|
2681
|
-
RsCommentaryComponent.prototype.dateTimePipeFormat;
|
|
2682
|
-
/** @type {?} */
|
|
2683
2686
|
RsCommentaryComponent.prototype.translation;
|
|
2684
2687
|
/** @type {?} */
|
|
2685
2688
|
RsCommentaryComponent.prototype.cf;
|
|
@@ -2771,6 +2774,99 @@
|
|
|
2771
2774
|
TruncatedTextToggleComponent.prototype.showCollapseBtn;
|
|
2772
2775
|
}
|
|
2773
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
|
+
|
|
2774
2870
|
/**
|
|
2775
2871
|
* @fileoverview added by tsickle
|
|
2776
2872
|
* Generated from: lib/layout/page-list/index.component.ts
|
|
@@ -2812,6 +2908,18 @@
|
|
|
2812
2908
|
// 检测是否传入了 wholeToolbarSlot
|
|
2813
2909
|
this.hasWholeToolbarSlot = !!this.wholeToolbarSlot;
|
|
2814
2910
|
};
|
|
2911
|
+
/**
|
|
2912
|
+
* @param {?} value
|
|
2913
|
+
* @return {?}
|
|
2914
|
+
*/
|
|
2915
|
+
RsPageListComponent.prototype.setSearchValue = /**
|
|
2916
|
+
* @param {?} value
|
|
2917
|
+
* @return {?}
|
|
2918
|
+
*/
|
|
2919
|
+
function (value) {
|
|
2920
|
+
this.searchInput.searchValue = value;
|
|
2921
|
+
this.onSeach(value);
|
|
2922
|
+
};
|
|
2815
2923
|
/**
|
|
2816
2924
|
* @param {?} value
|
|
2817
2925
|
* @return {?}
|
|
@@ -2837,7 +2945,7 @@
|
|
|
2837
2945
|
RsPageListComponent.decorators = [
|
|
2838
2946
|
{ type: core.Component, args: [{
|
|
2839
2947
|
selector: "rs-page-list",
|
|
2840
|
-
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",
|
|
2948
|
+
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",
|
|
2841
2949
|
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)}"]
|
|
2842
2950
|
}] }
|
|
2843
2951
|
];
|
|
@@ -2846,6 +2954,7 @@
|
|
|
2846
2954
|
orignGrid: [{ type: core.ContentChild, args: [ej2AngularGrids.GridComponent, { static: false },] }],
|
|
2847
2955
|
treeGrid: [{ type: core.ContentChild, args: [ej2AngularTreegrid.TreeGridComponent, { static: false },] }],
|
|
2848
2956
|
wholeToolbarSlot: [{ type: core.ContentChild, args: ["wholeToolbarSlot", { static: false },] }],
|
|
2957
|
+
searchInput: [{ type: core.ViewChild, args: ["searchInput", { static: false },] }],
|
|
2849
2958
|
pageTitle: [{ type: core.Input }],
|
|
2850
2959
|
customPageTitle: [{ type: core.Input }],
|
|
2851
2960
|
hideSearch: [{ type: core.Input }],
|
|
@@ -2864,6 +2973,8 @@
|
|
|
2864
2973
|
/** @type {?} */
|
|
2865
2974
|
RsPageListComponent.prototype.wholeToolbarSlot;
|
|
2866
2975
|
/** @type {?} */
|
|
2976
|
+
RsPageListComponent.prototype.searchInput;
|
|
2977
|
+
/** @type {?} */
|
|
2867
2978
|
RsPageListComponent.prototype.pageTitle;
|
|
2868
2979
|
/** @type {?} */
|
|
2869
2980
|
RsPageListComponent.prototype.customPageTitle;
|
|
@@ -3029,6 +3140,18 @@
|
|
|
3029
3140
|
// 检测是否传入了 wholeToolbarSlot
|
|
3030
3141
|
this.hasWholeToolbarSlot = !!this.wholeToolbarSlot;
|
|
3031
3142
|
};
|
|
3143
|
+
/**
|
|
3144
|
+
* @param {?} value
|
|
3145
|
+
* @return {?}
|
|
3146
|
+
*/
|
|
3147
|
+
GridBoxComponent.prototype.setSearchValue = /**
|
|
3148
|
+
* @param {?} value
|
|
3149
|
+
* @return {?}
|
|
3150
|
+
*/
|
|
3151
|
+
function (value) {
|
|
3152
|
+
this.searchInput.searchValue = value;
|
|
3153
|
+
this.onSeach(value);
|
|
3154
|
+
};
|
|
3032
3155
|
/**
|
|
3033
3156
|
* @param {?} value
|
|
3034
3157
|
* @return {?}
|
|
@@ -3054,7 +3177,7 @@
|
|
|
3054
3177
|
GridBoxComponent.decorators = [
|
|
3055
3178
|
{ type: core.Component, args: [{
|
|
3056
3179
|
selector: "rs-grid-box",
|
|
3057
|
-
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",
|
|
3180
|
+
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",
|
|
3058
3181
|
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}"]
|
|
3059
3182
|
}] }
|
|
3060
3183
|
];
|
|
@@ -3063,6 +3186,7 @@
|
|
|
3063
3186
|
orignGrid: [{ type: core.ContentChild, args: [ej2AngularGrids.GridComponent, { static: false },] }],
|
|
3064
3187
|
treeGrid: [{ type: core.ContentChild, args: [ej2AngularTreegrid.TreeGridComponent, { static: false },] }],
|
|
3065
3188
|
wholeToolbarSlot: [{ type: core.ContentChild, args: ["wholeToolbarSlot", { static: false },] }],
|
|
3189
|
+
searchInput: [{ type: core.ViewChild, args: ["searchInput", { static: false },] }],
|
|
3066
3190
|
hideSearch: [{ type: core.Input }],
|
|
3067
3191
|
isInner: [{ type: core.Input }],
|
|
3068
3192
|
onGridSearch: [{ type: core.Output }]
|
|
@@ -3079,6 +3203,8 @@
|
|
|
3079
3203
|
/** @type {?} */
|
|
3080
3204
|
GridBoxComponent.prototype.wholeToolbarSlot;
|
|
3081
3205
|
/** @type {?} */
|
|
3206
|
+
GridBoxComponent.prototype.searchInput;
|
|
3207
|
+
/** @type {?} */
|
|
3082
3208
|
GridBoxComponent.prototype.hideSearch;
|
|
3083
3209
|
/** @type {?} */
|
|
3084
3210
|
GridBoxComponent.prototype.isInner;
|
|
@@ -21703,8 +21829,8 @@
|
|
|
21703
21829
|
RSAsideComponent.decorators = [
|
|
21704
21830
|
{ type: core.Component, args: [{
|
|
21705
21831
|
selector: "rs-aside",
|
|
21706
|
-
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",
|
|
21707
|
-
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}}"]
|
|
21832
|
+
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",
|
|
21833
|
+
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}}"]
|
|
21708
21834
|
}] }
|
|
21709
21835
|
];
|
|
21710
21836
|
/** @nocollapse */
|
|
@@ -22224,99 +22350,6 @@
|
|
|
22224
22350
|
EncryptedInputComponent.prototype.encrypted;
|
|
22225
22351
|
}
|
|
22226
22352
|
|
|
22227
|
-
/**
|
|
22228
|
-
* @fileoverview added by tsickle
|
|
22229
|
-
* Generated from: lib/form/search-input/index.component.ts
|
|
22230
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
22231
|
-
*/
|
|
22232
|
-
var SearchInputComponent = /** @class */ (function () {
|
|
22233
|
-
function SearchInputComponent() {
|
|
22234
|
-
this.placeholder = "";
|
|
22235
|
-
this.hanleSearch = new core.EventEmitter();
|
|
22236
|
-
this.handleInput = new core.EventEmitter();
|
|
22237
|
-
this.searchValue = "";
|
|
22238
|
-
}
|
|
22239
|
-
/**
|
|
22240
|
-
* @return {?}
|
|
22241
|
-
*/
|
|
22242
|
-
SearchInputComponent.prototype.ngOnInit = /**
|
|
22243
|
-
* @return {?}
|
|
22244
|
-
*/
|
|
22245
|
-
function () {
|
|
22246
|
-
var _this = this;
|
|
22247
|
-
this.getInfo();
|
|
22248
|
-
this.debouncedInput = lodash.debounce((/**
|
|
22249
|
-
* @return {?}
|
|
22250
|
-
*/
|
|
22251
|
-
function () {
|
|
22252
|
-
_this.onSeach();
|
|
22253
|
-
}), 300);
|
|
22254
|
-
};
|
|
22255
|
-
/**
|
|
22256
|
-
* @return {?}
|
|
22257
|
-
*/
|
|
22258
|
-
SearchInputComponent.prototype.getInfo = /**
|
|
22259
|
-
* @return {?}
|
|
22260
|
-
*/
|
|
22261
|
-
function () {
|
|
22262
|
-
this.translation = JSON.parse(localStorage.getItem("translation"));
|
|
22263
|
-
this.placeholder = this.placeholder || this.translation.SEARCH;
|
|
22264
|
-
};
|
|
22265
|
-
/**
|
|
22266
|
-
* @param {?} e
|
|
22267
|
-
* @return {?}
|
|
22268
|
-
*/
|
|
22269
|
-
SearchInputComponent.prototype.onInput = /**
|
|
22270
|
-
* @param {?} e
|
|
22271
|
-
* @return {?}
|
|
22272
|
-
*/
|
|
22273
|
-
function (e) {
|
|
22274
|
-
this.handleInput.emit(e.value);
|
|
22275
|
-
this.debouncedInput();
|
|
22276
|
-
};
|
|
22277
|
-
/**
|
|
22278
|
-
* @return {?}
|
|
22279
|
-
*/
|
|
22280
|
-
SearchInputComponent.prototype.onSeach = /**
|
|
22281
|
-
* @return {?}
|
|
22282
|
-
*/
|
|
22283
|
-
function () {
|
|
22284
|
-
this.hanleSearch.emit(this.searchValue);
|
|
22285
|
-
};
|
|
22286
|
-
SearchInputComponent.decorators = [
|
|
22287
|
-
{ type: core.Component, args: [{
|
|
22288
|
-
selector: "rs-search-input",
|
|
22289
|
-
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",
|
|
22290
|
-
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}"]
|
|
22291
|
-
}] }
|
|
22292
|
-
];
|
|
22293
|
-
/** @nocollapse */
|
|
22294
|
-
SearchInputComponent.ctorParameters = function () { return []; };
|
|
22295
|
-
SearchInputComponent.propDecorators = {
|
|
22296
|
-
placeholder: [{ type: core.Input }],
|
|
22297
|
-
hanleSearch: [{ type: core.Output }],
|
|
22298
|
-
handleInput: [{ type: core.Output }]
|
|
22299
|
-
};
|
|
22300
|
-
return SearchInputComponent;
|
|
22301
|
-
}());
|
|
22302
|
-
if (false) {
|
|
22303
|
-
/** @type {?} */
|
|
22304
|
-
SearchInputComponent.prototype.placeholder;
|
|
22305
|
-
/** @type {?} */
|
|
22306
|
-
SearchInputComponent.prototype.hanleSearch;
|
|
22307
|
-
/** @type {?} */
|
|
22308
|
-
SearchInputComponent.prototype.handleInput;
|
|
22309
|
-
/**
|
|
22310
|
-
* @type {?}
|
|
22311
|
-
* @private
|
|
22312
|
-
*/
|
|
22313
|
-
SearchInputComponent.prototype.debouncedInput;
|
|
22314
|
-
/** @type {?} */
|
|
22315
|
-
SearchInputComponent.prototype.searchValue;
|
|
22316
|
-
/** @type {?} */
|
|
22317
|
-
SearchInputComponent.prototype.translation;
|
|
22318
|
-
}
|
|
22319
|
-
|
|
22320
22353
|
/**
|
|
22321
22354
|
* @fileoverview added by tsickle
|
|
22322
22355
|
* Generated from: lib/form/drawer-form/constants.ts
|