raise-common-lib 0.0.201-beta → 0.0.201
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 +182 -110
- 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/drawer-form/drawer-form.component.js +1 -1
- package/esm2015/lib/layout/page-list/index.component.js +10 -15
- package/esm2015/lib/layout/rs-stepper/constants.js +6 -0
- package/esm2015/lib/layout/rs-stepper/index.component.js +68 -0
- package/esm2015/lib/raise-common-lib.module.js +4 -1
- package/esm2015/public-api.js +3 -1
- package/esm2015/raise-common-lib.js +2 -2
- package/esm5/lib/form/drawer-form/drawer-form.component.js +1 -1
- package/esm5/lib/layout/page-list/index.component.js +10 -19
- package/esm5/lib/layout/rs-stepper/constants.js +6 -0
- package/esm5/lib/layout/rs-stepper/index.component.js +75 -0
- package/esm5/lib/raise-common-lib.module.js +4 -1
- package/esm5/public-api.js +3 -1
- package/esm5/raise-common-lib.js +2 -2
- package/fesm2015/raise-common-lib.js +161 -92
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +182 -111
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/layout/page-list/index.component.d.ts +2 -3
- package/lib/layout/rs-stepper/constants.d.ts +5 -0
- package/lib/layout/rs-stepper/index.component.d.ts +12 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/raise-common-lib.metadata.json +1 -1
- package/src/assets/img/step-arrow.svg +3 -0
- package/src/assets/style/syncfusion.min.css +1 -1
- package/src/assets/style/variables.scss +1 -0
|
@@ -2774,99 +2774,6 @@
|
|
|
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
|
-
|
|
2870
2777
|
/**
|
|
2871
2778
|
* @fileoverview added by tsickle
|
|
2872
2779
|
* Generated from: lib/layout/page-list/index.component.ts
|
|
@@ -2879,6 +2786,7 @@
|
|
|
2879
2786
|
this.isInner = false;
|
|
2880
2787
|
this.onGridSearch = new core.EventEmitter();
|
|
2881
2788
|
this.hasWholeToolbarSlot = false;
|
|
2789
|
+
this.hasLeftContentSlot = false;
|
|
2882
2790
|
}
|
|
2883
2791
|
/**
|
|
2884
2792
|
* @return {?}
|
|
@@ -2907,18 +2815,7 @@
|
|
|
2907
2815
|
function () {
|
|
2908
2816
|
// 检测是否传入了 wholeToolbarSlot
|
|
2909
2817
|
this.hasWholeToolbarSlot = !!this.wholeToolbarSlot;
|
|
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);
|
|
2818
|
+
this.hasLeftContentSlot = !!this.leftContentSlot;
|
|
2922
2819
|
};
|
|
2923
2820
|
/**
|
|
2924
2821
|
* @param {?} value
|
|
@@ -2945,8 +2842,8 @@
|
|
|
2945
2842
|
RsPageListComponent.decorators = [
|
|
2946
2843
|
{ type: core.Component, args: [{
|
|
2947
2844
|
selector: "rs-page-list",
|
|
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
|
|
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)}"]
|
|
2845
|
+
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\r\n class=\"rs-content-wrap\"\r\n [ngClass]=\"{ 'has-left-content': hasLeftContentSlot }\"\r\n >\r\n <div class=\"rs-left-content\" *ngIf=\"hasLeftContentSlot\">\r\n <ng-content select=\"[leftContentSlot]\"></ng-content>\r\n </div>\r\n <div class=\"rs-right-content\">\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</div>\r\n",
|
|
2846
|
+
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-left-content{height:100%}.rs-page-list-wrap .rs-content-wrap .rs-right-content{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-content-wrap.has-left-content{flex-direction:row}.rs-page-list-wrap .rs-content-wrap.has-left-content .rs-right-content{height:auto;width:0}"]
|
|
2950
2847
|
}] }
|
|
2951
2848
|
];
|
|
2952
2849
|
RsPageListComponent.propDecorators = {
|
|
@@ -2954,7 +2851,7 @@
|
|
|
2954
2851
|
orignGrid: [{ type: core.ContentChild, args: [ej2AngularGrids.GridComponent, { static: false },] }],
|
|
2955
2852
|
treeGrid: [{ type: core.ContentChild, args: [ej2AngularTreegrid.TreeGridComponent, { static: false },] }],
|
|
2956
2853
|
wholeToolbarSlot: [{ type: core.ContentChild, args: ["wholeToolbarSlot", { static: false },] }],
|
|
2957
|
-
|
|
2854
|
+
leftContentSlot: [{ type: core.ContentChild, args: ["leftContentSlot", { static: false },] }],
|
|
2958
2855
|
pageTitle: [{ type: core.Input }],
|
|
2959
2856
|
customPageTitle: [{ type: core.Input }],
|
|
2960
2857
|
hideSearch: [{ type: core.Input }],
|
|
@@ -2973,7 +2870,7 @@
|
|
|
2973
2870
|
/** @type {?} */
|
|
2974
2871
|
RsPageListComponent.prototype.wholeToolbarSlot;
|
|
2975
2872
|
/** @type {?} */
|
|
2976
|
-
RsPageListComponent.prototype.
|
|
2873
|
+
RsPageListComponent.prototype.leftContentSlot;
|
|
2977
2874
|
/** @type {?} */
|
|
2978
2875
|
RsPageListComponent.prototype.pageTitle;
|
|
2979
2876
|
/** @type {?} */
|
|
@@ -2987,6 +2884,8 @@
|
|
|
2987
2884
|
/** @type {?} */
|
|
2988
2885
|
RsPageListComponent.prototype.hasWholeToolbarSlot;
|
|
2989
2886
|
/** @type {?} */
|
|
2887
|
+
RsPageListComponent.prototype.hasLeftContentSlot;
|
|
2888
|
+
/** @type {?} */
|
|
2990
2889
|
RsPageListComponent.prototype.translation;
|
|
2991
2890
|
}
|
|
2992
2891
|
|
|
@@ -3104,6 +3003,99 @@
|
|
|
3104
3003
|
RsPageTabComponent.prototype.animation;
|
|
3105
3004
|
}
|
|
3106
3005
|
|
|
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
|
+
|
|
3107
3099
|
/**
|
|
3108
3100
|
* @fileoverview added by tsickle
|
|
3109
3101
|
* Generated from: lib/layout/grid-box/index.component.ts
|
|
@@ -21914,6 +21906,83 @@
|
|
|
21914
21906
|
RSAsideComponent.prototype.cf;
|
|
21915
21907
|
}
|
|
21916
21908
|
|
|
21909
|
+
/**
|
|
21910
|
+
* @fileoverview added by tsickle
|
|
21911
|
+
* Generated from: lib/layout/rs-stepper/index.component.ts
|
|
21912
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
21913
|
+
*/
|
|
21914
|
+
var RSStepperComponent = /** @class */ (function () {
|
|
21915
|
+
function RSStepperComponent(cf) {
|
|
21916
|
+
this.cf = cf;
|
|
21917
|
+
this.steps = [];
|
|
21918
|
+
this.currentStep = 0;
|
|
21919
|
+
this.stepClick = new core.EventEmitter();
|
|
21920
|
+
}
|
|
21921
|
+
/**
|
|
21922
|
+
* @return {?}
|
|
21923
|
+
*/
|
|
21924
|
+
RSStepperComponent.prototype.ngOnInit = /**
|
|
21925
|
+
* @return {?}
|
|
21926
|
+
*/
|
|
21927
|
+
function () {
|
|
21928
|
+
var _this = this;
|
|
21929
|
+
this.steps.forEach((/**
|
|
21930
|
+
* @param {?} step
|
|
21931
|
+
* @return {?}
|
|
21932
|
+
*/
|
|
21933
|
+
function (step) {
|
|
21934
|
+
step.displayTitle = _this.cf.setMiddleEllipsis(step.label, 132, 12);
|
|
21935
|
+
}));
|
|
21936
|
+
};
|
|
21937
|
+
/**
|
|
21938
|
+
* @param {?} step
|
|
21939
|
+
* @return {?}
|
|
21940
|
+
*/
|
|
21941
|
+
RSStepperComponent.prototype.onStepClick = /**
|
|
21942
|
+
* @param {?} step
|
|
21943
|
+
* @return {?}
|
|
21944
|
+
*/
|
|
21945
|
+
function (step) {
|
|
21946
|
+
if (step.step < this.currentStep) {
|
|
21947
|
+
this.currentStep = step.step;
|
|
21948
|
+
this.stepClick.emit(step);
|
|
21949
|
+
}
|
|
21950
|
+
};
|
|
21951
|
+
RSStepperComponent.decorators = [
|
|
21952
|
+
{ type: core.Component, args: [{
|
|
21953
|
+
selector: 'rs-stepper',
|
|
21954
|
+
template: "<div class=\"rs-stepper\">\r\n <div class=\"steps-wrap\">\r\n <ng-container *ngFor=\"let item of steps\">\r\n <div\r\n class=\"step\"\r\n [ngClass]=\"{\r\n done: item.step < currentStep,\r\n active: item.step === currentStep\r\n }\"\r\n (click)=\"onStepClick(item)\"\r\n >\r\n <div\r\n class=\"step-label\"\r\n [matTooltip]=\"item.label !== item.displayTitle ? item.label : ''\"\r\n matTooltipPosition=\"above\"\r\n >\r\n {{ item.displayTitle }}\r\n </div>\r\n </div>\r\n <div class=\"step-arrow\" *ngIf=\"item.step !== steps.length - 1\">\r\n <img src=\"../../../assets/img/step-arrow.svg\" />\r\n </div>\r\n </ng-container>\r\n </div>\r\n</div>\r\n",
|
|
21955
|
+
styles: [".rs-stepper{font-family:Arial;width:100%;border-bottom:1px solid var(--rs-border-color)}.rs-stepper .steps-wrap{display:flex;align-items:center;justify-content:space-between;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:0 auto;gap:8px}.rs-stepper .steps-wrap .step{flex:1;padding:0 12px 12px}.rs-stepper .steps-wrap .step .step-label{color:var(--rs-labels-color);font-size:12px;font-weight:400;line-height:22px;text-align:center;white-space:nowrap;max-width:132px}.rs-stepper .steps-wrap .step.done{cursor:pointer}.rs-stepper .steps-wrap .step.done .step-label{color:var(--rs-active-labels-color)}.rs-stepper .steps-wrap .step.active .step-label{color:var(--rs-active-labels-color);font-weight:700}.rs-stepper .steps-wrap .step-arrow{padding:4px;align-self:flex-start}"]
|
|
21956
|
+
}] }
|
|
21957
|
+
];
|
|
21958
|
+
/** @nocollapse */
|
|
21959
|
+
RSStepperComponent.ctorParameters = function () { return [
|
|
21960
|
+
{ type: CommonFunctionService }
|
|
21961
|
+
]; };
|
|
21962
|
+
RSStepperComponent.propDecorators = {
|
|
21963
|
+
steps: [{ type: core.Input }],
|
|
21964
|
+
currentStep: [{ type: core.Input }],
|
|
21965
|
+
stepClick: [{ type: core.Output }]
|
|
21966
|
+
};
|
|
21967
|
+
return RSStepperComponent;
|
|
21968
|
+
}());
|
|
21969
|
+
if (false) {
|
|
21970
|
+
/** @type {?} */
|
|
21971
|
+
RSStepperComponent.prototype.steps;
|
|
21972
|
+
/** @type {?} */
|
|
21973
|
+
RSStepperComponent.prototype.currentStep;
|
|
21974
|
+
/** @type {?} */
|
|
21975
|
+
RSStepperComponent.prototype.stepClick;
|
|
21976
|
+
/** @type {?} */
|
|
21977
|
+
RSStepperComponent.prototype.cf;
|
|
21978
|
+
}
|
|
21979
|
+
|
|
21980
|
+
/**
|
|
21981
|
+
* @fileoverview added by tsickle
|
|
21982
|
+
* Generated from: lib/layout/rs-stepper/constants.ts
|
|
21983
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
21984
|
+
*/
|
|
21985
|
+
|
|
21917
21986
|
/**
|
|
21918
21987
|
* @fileoverview added by tsickle
|
|
21919
21988
|
* Generated from: lib/form/tag-input/index.component.ts
|
|
@@ -23229,7 +23298,7 @@
|
|
|
23229
23298
|
{ type: core.Component, args: [{
|
|
23230
23299
|
selector: "rs-drawer-form",
|
|
23231
23300
|
template: "<div #drawerFormEl class=\"rs-drawer-form-container\">\r\n <div class=\"section-container\">\r\n <div #sectionEl class=\"section-item\" *ngFor=\"let section of sections\">\r\n <input\r\n type=\"checkbox\"\r\n class=\"section-expand-checkbox\"\r\n *ngIf=\"section.title\"\r\n />\r\n <div class=\"section-title\" *ngIf=\"section.title\">\r\n <span>{{ section.title }}</span>\r\n </div>\r\n <div class=\"section-form\" *ngIf=\"!section.customKey\">\r\n <div\r\n class=\"form-item\"\r\n *ngFor=\"let field of section.fields\"\r\n [attr.data-required]=\"field.required ? 'yes' : 'no'\"\r\n [attr.data-disabled]=\"field.disabled || formDisabled ? 'yes' : 'no'\"\r\n [attr.data-error]=\"\r\n fieldValidMap[field.formKey] === false ? 'yes' : 'no'\r\n \"\r\n >\r\n <div class=\"form-label\">\r\n <span>{{ field.label }}</span>\r\n <ejs-tooltip\r\n class=\"form-tooltip\"\r\n cssClass=\"rs-drawer-tooltip\"\r\n *ngIf=\"field.tooltip\"\r\n position=\"RightCenter\"\r\n [content]=\"field.tooltip\"\r\n >\r\n <span class=\"tooltip-icon\"></span>\r\n </ejs-tooltip>\r\n </div>\r\n <div class=\"form-content\">\r\n <!-- Radio -->\r\n <rs-radio-group\r\n *ngIf=\"field.fieldFormType === 'Radio'\"\r\n [value]=\"form[field.formKey]\"\r\n [dataSource]=\"getOptions(field)\"\r\n [fields]=\"getOptionFields(field)\"\r\n [disabled]=\"getDisabled(field)\"\r\n [error]=\"fieldValidMap[field.formKey] === false\"\r\n (valueChange)=\"onChange($event, field)\"\r\n ></rs-radio-group>\r\n <!-- Checkbox -->\r\n <rs-checkbox-group\r\n *ngIf=\"field.fieldFormType === 'Checkbox'\"\r\n [value]=\"form[field.formKey]\"\r\n [dataSource]=\"getOptions(field)\"\r\n [fields]=\"getOptionFields(field)\"\r\n [disabled]=\"getDisabled(field)\"\r\n [error]=\"fieldValidMap[field.formKey] === false\"\r\n (valueChange)=\"onChange($event, field)\"\r\n ></rs-checkbox-group>\r\n <!-- Switch -->\r\n <rs-switch-input\r\n *ngIf=\"field.fieldFormType === 'Switch'\"\r\n [value]=\"form[field.formKey]\"\r\n [disabled]=\"getDisabled(field)\"\r\n (valueChange)=\"onChange($event, field)\"\r\n ></rs-switch-input>\r\n <!-- Input -->\r\n <input\r\n class=\"e-input\"\r\n *ngIf=\"\r\n field.fieldFormType === 'Text' ||\r\n field.fieldFormType === 'Email'\r\n \"\r\n [value]=\"form[field.formKey]\"\r\n [disabled]=\"getDisabled(field)\"\r\n [required]=\"field.required\"\r\n [attr.maxlength]=\"field.maxlength\"\r\n [attr.minlength]=\"field.minlength\"\r\n [class.error]=\"fieldValidMap[field.formKey] === false\"\r\n (input)=\"onInput($event.target.value, field)\"\r\n (change)=\"onChange($event.target.value, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n autocomplete=\"off\"\r\n />\r\n <!-- Textarea -->\r\n <textarea\r\n class=\"e-input\"\r\n *ngIf=\"field.fieldFormType === 'Textarea'\"\r\n [value]=\"form[field.formKey]\"\r\n [disabled]=\"getDisabled(field)\"\r\n [required]=\"field.required\"\r\n [attr.maxlength]=\"field.maxlength\"\r\n [attr.minlength]=\"field.minlength\"\r\n [class.error]=\"fieldValidMap[field.formKey] === false\"\r\n (input)=\"onInput($event.target.value, field)\"\r\n (change)=\"onChange($event.target.value, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n autocomplete=\"off\"\r\n rows=\"3\"\r\n ></textarea>\r\n <!-- Number Input -->\r\n <ejs-numerictextbox\r\n *ngIf=\"field.fieldFormType === 'Number'\"\r\n [value]=\"form[field.formKey]\"\r\n [max]=\"field.max\"\r\n [min]=\"field.min\"\r\n [step]=\"field.step\"\r\n [decimals]=\"field.decimals\"\r\n [format]=\"field.format || numberFormat\"\r\n [enabled]=\"!getDisabled(field)\"\r\n [class.error]=\"fieldValidMap[field.formKey] === false\"\r\n (change)=\"onComponentChange($event, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n ></ejs-numerictextbox>\r\n <!-- Tags Input -->\r\n <rs-tag-input\r\n *ngIf=\"field.fieldFormType === 'Tags'\"\r\n [value]=\"form[field.formKey]\"\r\n [fields]=\"getOptionFields(field)\"\r\n [inputMaxlength]=\"field.maxlength\"\r\n [inputMinlength]=\"field.minlength\"\r\n [disabled]=\"getDisabled(field)\"\r\n [error]=\"fieldValidMap[field.formKey] === false\"\r\n (valueChange)=\"onChange($event, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n ></rs-tag-input>\r\n <!-- AutoComplete -->\r\n <ejs-autocomplete\r\n *ngIf=\"field.fieldFormType === 'AutoComplete'\"\r\n [value]=\"form[field.formKey]\"\r\n [dataSource]=\"getOptions(field)\"\r\n [fields]=\"getOptionFields(field)\"\r\n [enabled]=\"!getDisabled(field)\"\r\n [class.error]=\"fieldValidMap[field.formKey] === false\"\r\n (filtering)=\"onFiltering($event, field)\"\r\n (change)=\"onComponentChange($event, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n ></ejs-autocomplete>\r\n <!-- Dropdown -->\r\n <ejs-dropdownlist\r\n #dropdown\r\n *ngIf=\"field.fieldFormType === 'Dropdown'\"\r\n [value]=\"form[field.formKey]\"\r\n [dataSource]=\"getOptions(field)\"\r\n [fields]=\"getOptionFields(field)\"\r\n [allowFiltering]=\"true\"\r\n [showClearButton]=\"true\"\r\n [enabled]=\"!getDisabled(field)\"\r\n [class.error]=\"fieldValidMap[field.formKey] === false\"\r\n (filtering)=\"onFiltering($event, field)\"\r\n (dataBound)=\"onDropdownDataBound($event, field)\"\r\n (change)=\"onComponentChange($event, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n ></ejs-dropdownlist>\r\n <!-- MultiSelect -->\r\n <ejs-multiselect\r\n *ngIf=\"field.fieldFormType === 'MultiSelect'\"\r\n mode=\"CheckBox\"\r\n [ngModel]=\"form[field.formKey]\"\r\n [dataSource]=\"getOptions(field)\"\r\n [fields]=\"getOptionFields(field)\"\r\n [allowFiltering]=\"true\"\r\n [showDropDownIcon]=\"true\"\r\n [enabled]=\"!getDisabled(field)\"\r\n [class.error]=\"fieldValidMap[field.formKey] === false\"\r\n (filtering)=\"onFiltering($event, field)\"\r\n (change)=\"onComponentChange($event, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onBlur(field)\"\r\n >\r\n </ejs-multiselect>\r\n <!-- Datepicker -->\r\n <ejs-datepicker\r\n *ngIf=\"field.fieldFormType === 'Datepicker'\"\r\n [(value)]=\"dateForm[field.formKey]\"\r\n [format]=\"field.format || dateFormat\"\r\n [enabled]=\"!getDisabled(field)\"\r\n [class.error]=\"\r\n fieldValidMap[field.formKey] === false ||\r\n dateValidMap[field.formKey] === false\r\n \"\r\n (change)=\"onComponentChange($event, field)\"\r\n (focus)=\"onFocus(field)\"\r\n (blur)=\"onDatePickerBlur($event, field)\"\r\n ></ejs-datepicker>\r\n <ng-template\r\n #customTemplateContainer\r\n *ngIf=\"field.fieldFormType === 'Custom'\"\r\n ></ng-template>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"section-form\" *ngIf=\"section.customKey\">\r\n <ng-template #customSectionContainer></ng-template>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"sections.length > 1 && showAnchor\" class=\"anchor-container\">\r\n <div\r\n class=\"anchor-item\"\r\n *ngFor=\"let section of sections; let index = index\"\r\n [style.display]=\"section.title ? 'block' : 'none'\"\r\n [attr.data-active]=\"scrollIndex === index ? 'yes' : 'no'\"\r\n [attr.data-content]=\"section.title\"\r\n (click)=\"onClickAnchor(index)\"\r\n ></div>\r\n </div>\r\n</div>\r\n",
|
|
23232
|
-
styles: [":host{display:block;margin-top:16px}.rs-drawer-form-container{display:flex;flex-flow:row nowrap;align-items:flex-start;gap:32px}.rs-drawer-form-container .section-container{
|
|
23301
|
+
styles: [":host{display:block;margin-top:16px}.rs-drawer-form-container{display:flex;flex-flow:row nowrap;align-items:flex-start;gap:32px}.rs-drawer-form-container .section-container{display:flex;flex-flow:column nowrap;max-width:1576px;flex:1;width:0}.rs-drawer-form-container .section-item{position:relative}.rs-drawer-form-container .section-item:not(:first-child){border-top:1px solid #eaedf0}.rs-drawer-form-container .section-expand-checkbox{display:block;width:100%;height:28px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;position:absolute;top:0;left:0}.rs-drawer-form-container .section-expand-checkbox:checked+.section-title::before{transform:rotate(-90deg)}.rs-drawer-form-container .section-expand-checkbox:checked+.section-title+.section-form{max-height:0;overflow:hidden}.rs-drawer-form-container .section-title{padding:6px 0;margin-bottom:12px;color:#44566c;font-family:Arial;font-size:13px;font-style:normal;font-weight:700;line-height:16px;display:flex;flex-flow:row nowrap;align-items:center;pointer-events:none}.rs-drawer-form-container .section-title::before{content:url(../../assets/img/down-arrow.svg);display:block;height:16px;width:16px;margin-right:8px}.rs-drawer-form-container .section-form{display:flex;flex-flow:row wrap;justify-content:space-between;gap:12px 56px;max-width:1576px;padding:0 24px;margin-bottom:20px}.rs-drawer-form-container .section-form .form-item{min-height:28px;min-width:400px;max-width:700px;width:calc((100% - 56px)/ 2);display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:flex-start}.rs-drawer-form-container .section-form .form-item[data-required=yes] .form-label>span:first-child::after{content:\"*\";color:var(--rs-input-require-label-color)}.rs-drawer-form-container .section-form .form-item .form-label{flex:none;width:144px;height:28px;margin-right:16px;color:#43566c;font-family:Arial;font-size:12px;font-style:normal;font-weight:400;line-height:14px;display:flex;flex-flow:row nowrap;align-items:center}.rs-drawer-form-container .section-form .form-item .form-label .form-tooltip{margin-left:4px}.rs-drawer-form-container .section-form .form-item .form-label .form-tooltip .tooltip-icon::before{content:\" \";display:block;width:14px;height:14px;background-image:url(../../assets/img/tooltip-icon.svg);background-size:contain;cursor:pointer}.rs-drawer-form-container .section-form .form-item .form-content{flex:auto}@media (max-width:1420px){.rs-drawer-form-container .section-form .form-item{width:100%}}.rs-drawer-form-container .anchor-container{flex:none;display:flex;flex-flow:column nowrap;gap:4px;min-width:120px;height:auto;position:-webkit-sticky;position:sticky;top:56px}.rs-drawer-form-container .anchor-item{min-width:120px;padding:4px 12px;border-left:1px solid #eaedf0;cursor:pointer;color:#44566c;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:16px;position:relative}.rs-drawer-form-container .anchor-item::before{content:attr(data-content);color:#44566c;font-weight:400;position:absolute;left:12px}.rs-drawer-form-container .anchor-item::after{content:attr(data-content);visibility:hidden;color:#1364b3;font-weight:700}.rs-drawer-form-container .anchor-item[data-active=yes]{border-color:#1f7bff}.rs-drawer-form-container .anchor-item[data-active=yes]::before{visibility:hidden}.rs-drawer-form-container .anchor-item[data-active=yes]::after{visibility:visible}.rs-drawer-tooltip.e-tooltip-wrap{border:none;background-color:#44566c}.rs-drawer-tooltip.e-tooltip-wrap .e-arrow-tip{height:4px;visibility:hidden}"]
|
|
23233
23302
|
}] }
|
|
23234
23303
|
];
|
|
23235
23304
|
/** @nocollapse */
|
|
@@ -25164,6 +25233,7 @@
|
|
|
25164
25233
|
RSNavCardGroupComponent,
|
|
25165
25234
|
RSToolbarComponent,
|
|
25166
25235
|
TruncatedTextToggleComponent,
|
|
25236
|
+
RSStepperComponent
|
|
25167
25237
|
],
|
|
25168
25238
|
imports: [
|
|
25169
25239
|
common.CommonModule,
|
|
@@ -25327,6 +25397,7 @@
|
|
|
25327
25397
|
RSToolbarComponent,
|
|
25328
25398
|
TruncatedTextToggleComponent,
|
|
25329
25399
|
CommonDialogComponent,
|
|
25400
|
+
RSStepperComponent
|
|
25330
25401
|
],
|
|
25331
25402
|
entryComponents: [
|
|
25332
25403
|
NewActionNotificationComponent,
|
|
@@ -25363,6 +25434,7 @@
|
|
|
25363
25434
|
exports.RSFooterComponent = RSFooterComponent;
|
|
25364
25435
|
exports.RSHeaderComponent = RSHeaderComponent;
|
|
25365
25436
|
exports.RSNavCardGroupComponent = RSNavCardGroupComponent;
|
|
25437
|
+
exports.RSStepperComponent = RSStepperComponent;
|
|
25366
25438
|
exports.RSToolbarComponent = RSToolbarComponent;
|
|
25367
25439
|
exports.RadioGroupComponent = RadioGroupComponent;
|
|
25368
25440
|
exports.RaiseCommonLibModule = RaiseCommonLibModule;
|