raise-common-lib 0.0.58 → 0.0.61

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.
Files changed (48) hide show
  1. package/bundles/raise-common-lib.umd.js +150 -6
  2. package/bundles/raise-common-lib.umd.js.map +1 -1
  3. package/bundles/raise-common-lib.umd.min.js +2 -2
  4. package/bundles/raise-common-lib.umd.min.js.map +1 -1
  5. package/esm2015/lib/common-grid/grid-action/grid-action-item/grid-action-item.component.js +52 -0
  6. package/esm2015/lib/common-grid/grid-action/grid-action.component.js +25 -0
  7. package/esm2015/lib/form/toolbar-item/index.component.js +46 -0
  8. package/esm2015/lib/layout/grid-box/index.component.js +1 -1
  9. package/esm2015/lib/layout/page-list/index.component.js +1 -1
  10. package/esm2015/lib/raise-common-lib.module.js +16 -1
  11. package/esm2015/public-api.js +4 -1
  12. package/esm2015/raise-common-lib.js +2 -2
  13. package/esm5/lib/common-grid/grid-action/grid-action-item/grid-action-item.component.js +58 -0
  14. package/esm5/lib/common-grid/grid-action/grid-action.component.js +27 -0
  15. package/esm5/lib/form/toolbar-item/index.component.js +52 -0
  16. package/esm5/lib/layout/grid-box/index.component.js +1 -1
  17. package/esm5/lib/layout/page-list/index.component.js +1 -1
  18. package/esm5/lib/raise-common-lib.module.js +16 -1
  19. package/esm5/public-api.js +4 -1
  20. package/esm5/raise-common-lib.js +2 -2
  21. package/fesm2015/raise-common-lib.js +136 -4
  22. package/fesm2015/raise-common-lib.js.map +1 -1
  23. package/fesm5/raise-common-lib.js +147 -4
  24. package/fesm5/raise-common-lib.js.map +1 -1
  25. package/lib/common-grid/grid-action/grid-action-item/grid-action-item.component.d.ts +7 -0
  26. package/lib/common-grid/grid-action/grid-action.component.d.ts +11 -0
  27. package/lib/form/toolbar-item/index.component.d.ts +7 -0
  28. package/package.json +1 -1
  29. package/public-api.d.ts +3 -0
  30. package/raise-common-lib.metadata.json +1 -1
  31. package/src/assets/img/drawer-back.svg +4 -4
  32. package/src/assets/img/grid-action-copy.svg +6 -0
  33. package/src/assets/img/grid-action-delete.svg +14 -0
  34. package/src/assets/img/grid-action-detail.svg +7 -0
  35. package/src/assets/img/grid-action-download.svg +7 -0
  36. package/src/assets/img/grid-action-edit.svg +4 -0
  37. package/src/assets/img/grid-action-export.svg +12 -0
  38. package/src/assets/img/grid-action-move.svg +8 -0
  39. package/src/assets/img/grid-action-note.svg +10 -0
  40. package/src/assets/img/grid-action-send.svg +5 -0
  41. package/src/assets/img/grid-action-settle.svg +13 -0
  42. package/src/assets/img/grid-pager-arrow-left.svg +3 -0
  43. package/src/assets/img/grid-pager-arrows-left.svg +4 -0
  44. package/src/assets/img/more.svg +5 -0
  45. package/src/assets/img/table-column-menu.svg +5 -0
  46. package/src/assets/img/table-sort-arrow.svg +6 -0
  47. package/src/assets/img/toolbar-action-add.svg +4 -0
  48. package/src/assets/style/reset/grid.scss +466 -125
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-grids'), require('lodash'), require('@angular/router'), require('rxjs/operators'), require('rxjs'), require('@angular/common/http'), require('@syncfusion/ej2-base'), require('@angular/common'), require('@syncfusion/ej2-data'), require('@angular/material/icon'), require('@angular/platform-browser'), require('@angular/material/snack-bar'), require('@angular/material/dialog'), require('@angular/forms'), require('@syncfusion/ej2-angular-buttons'), require('@syncfusion/ej2-angular-diagrams'), require('@syncfusion/ej2-angular-popups'), require('@syncfusion/ej2-angular-calendars'), require('@syncfusion/ej2-angular-inputs'), require('@syncfusion/ej2-angular-dropdowns'), require('@syncfusion/ej2-angular-pivotview'), require('@syncfusion/ej2-angular-charts'), require('@syncfusion/ej2-angular-layouts'), require('@syncfusion/ej2-angular-navigations'), require('@syncfusion/ej2-angular-pdfviewer'), require('@syncfusion/ej2-angular-splitbuttons'), require('@syncfusion/ej2-angular-richtexteditor')) :
3
- typeof define === 'function' && define.amd ? define('raise-common-lib', ['exports', '@angular/core', '@syncfusion/ej2-angular-grids', 'lodash', '@angular/router', 'rxjs/operators', 'rxjs', '@angular/common/http', '@syncfusion/ej2-base', '@angular/common', '@syncfusion/ej2-data', '@angular/material/icon', '@angular/platform-browser', '@angular/material/snack-bar', '@angular/material/dialog', '@angular/forms', '@syncfusion/ej2-angular-buttons', '@syncfusion/ej2-angular-diagrams', '@syncfusion/ej2-angular-popups', '@syncfusion/ej2-angular-calendars', '@syncfusion/ej2-angular-inputs', '@syncfusion/ej2-angular-dropdowns', '@syncfusion/ej2-angular-pivotview', '@syncfusion/ej2-angular-charts', '@syncfusion/ej2-angular-layouts', '@syncfusion/ej2-angular-navigations', '@syncfusion/ej2-angular-pdfviewer', '@syncfusion/ej2-angular-splitbuttons', '@syncfusion/ej2-angular-richtexteditor'], factory) :
4
- (global = global || self, factory(global['raise-common-lib'] = {}, global.ng.core, global.ej2AngularGrids, global.lodash, global.ng.router, global.rxjs.operators, global.rxjs, global.ng.common.http, global.ej2Base, global.ng.common, global.ej2Data, global.ng.material.icon, global.ng.platformBrowser, global.ng.material['snack-bar'], global.ng.material.dialog, global.ng.forms, global.ej2AngularButtons, global.ej2AngularDiagrams, global.ej2AngularPopups, global.ej2AngularCalendars, global.ej2AngularInputs, global.ej2AngularDropdowns, global.ej2AngularPivotview, global.ej2AngularCharts, global.ej2AngularLayouts, global.ej2AngularNavigations, global.ej2AngularPdfviewer, global.ej2AngularSplitbuttons, global.ej2AngularRichtexteditor));
5
- }(this, (function (exports, core, ej2AngularGrids, lodash, router, operators, rxjs, http, ej2Base, common, ej2Data, icon, platformBrowser, snackBar, dialog, forms, ej2AngularButtons, ej2AngularDiagrams, ej2AngularPopups, ej2AngularCalendars, ej2AngularInputs, ej2AngularDropdowns, ej2AngularPivotview, ej2AngularCharts, ej2AngularLayouts, ej2AngularNavigations, ej2AngularPdfviewer, ej2AngularSplitbuttons, ej2AngularRichtexteditor) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-grids'), require('lodash'), require('@angular/router'), require('rxjs/operators'), require('rxjs'), require('@angular/common/http'), require('@syncfusion/ej2-base'), require('@angular/common'), require('@syncfusion/ej2-data'), require('@angular/material/icon'), require('@angular/platform-browser'), require('@angular/material/snack-bar'), require('@angular/material/dialog'), require('@angular/forms'), require('@syncfusion/ej2-angular-buttons'), require('@syncfusion/ej2-angular-diagrams'), require('@syncfusion/ej2-angular-popups'), require('@syncfusion/ej2-angular-calendars'), require('@syncfusion/ej2-angular-inputs'), require('@syncfusion/ej2-angular-dropdowns'), require('@syncfusion/ej2-angular-pivotview'), require('@syncfusion/ej2-angular-charts'), require('@syncfusion/ej2-angular-layouts'), require('@syncfusion/ej2-angular-navigations'), require('@syncfusion/ej2-angular-pdfviewer'), require('@syncfusion/ej2-angular-splitbuttons'), require('@syncfusion/ej2-angular-richtexteditor'), require('@angular/material/menu'), require('@angular/material/tooltip')) :
3
+ typeof define === 'function' && define.amd ? define('raise-common-lib', ['exports', '@angular/core', '@syncfusion/ej2-angular-grids', 'lodash', '@angular/router', 'rxjs/operators', 'rxjs', '@angular/common/http', '@syncfusion/ej2-base', '@angular/common', '@syncfusion/ej2-data', '@angular/material/icon', '@angular/platform-browser', '@angular/material/snack-bar', '@angular/material/dialog', '@angular/forms', '@syncfusion/ej2-angular-buttons', '@syncfusion/ej2-angular-diagrams', '@syncfusion/ej2-angular-popups', '@syncfusion/ej2-angular-calendars', '@syncfusion/ej2-angular-inputs', '@syncfusion/ej2-angular-dropdowns', '@syncfusion/ej2-angular-pivotview', '@syncfusion/ej2-angular-charts', '@syncfusion/ej2-angular-layouts', '@syncfusion/ej2-angular-navigations', '@syncfusion/ej2-angular-pdfviewer', '@syncfusion/ej2-angular-splitbuttons', '@syncfusion/ej2-angular-richtexteditor', '@angular/material/menu', '@angular/material/tooltip'], factory) :
4
+ (global = global || self, factory(global['raise-common-lib'] = {}, global.ng.core, global.ej2AngularGrids, global.lodash, global.ng.router, global.rxjs.operators, global.rxjs, global.ng.common.http, global.ej2Base, global.ng.common, global.ej2Data, global.ng.material.icon, global.ng.platformBrowser, global.ng.material['snack-bar'], global.ng.material.dialog, global.ng.forms, global.ej2AngularButtons, global.ej2AngularDiagrams, global.ej2AngularPopups, global.ej2AngularCalendars, global.ej2AngularInputs, global.ej2AngularDropdowns, global.ej2AngularPivotview, global.ej2AngularCharts, global.ej2AngularLayouts, global.ej2AngularNavigations, global.ej2AngularPdfviewer, global.ej2AngularSplitbuttons, global.ej2AngularRichtexteditor, global.ng.material.menu, global.ng.material.tooltip));
5
+ }(this, (function (exports, core, ej2AngularGrids, lodash, router, operators, rxjs, http, ej2Base, common, ej2Data, icon, platformBrowser, snackBar, dialog, forms, ej2AngularButtons, ej2AngularDiagrams, ej2AngularPopups, ej2AngularCalendars, ej2AngularInputs, ej2AngularDropdowns, ej2AngularPivotview, ej2AngularCharts, ej2AngularLayouts, ej2AngularNavigations, ej2AngularPdfviewer, ej2AngularSplitbuttons, ej2AngularRichtexteditor, menu, tooltip) { 'use strict';
6
6
 
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -1084,6 +1084,87 @@
1084
1084
  CommonGridComponent.prototype.ref;
1085
1085
  }
1086
1086
 
1087
+ /**
1088
+ * @fileoverview added by tsickle
1089
+ * Generated from: lib/common-grid/grid-action/grid-action.component.ts
1090
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1091
+ */
1092
+ var GridActionComponent = /** @class */ (function () {
1093
+ function GridActionComponent() {
1094
+ this.translation = JSON.parse(localStorage.getItem("translation"));
1095
+ }
1096
+ GridActionComponent.decorators = [
1097
+ { type: core.Component, args: [{
1098
+ selector: "rs-grid-action",
1099
+ template: "<button\r\n\tclass=\"grid-action-toggle\"\r\n\tmat-button\r\n\ttype=\"button\"\r\n\t[matMenuTriggerFor]=\"menu\"\r\n\tmatTooltip=\"{{ translation.ACTIONS }}\"\r\n>\r\n\t<mat-icon svgIcon=\"more\"></mat-icon>\r\n</button>\r\n<mat-menu #menu=\"matMenu\" class=\"grid-action-menu-content\">\r\n\t<ng-content></ng-content>\r\n</mat-menu>\r\n",
1100
+ styles: [":host{flex:none;display:block;margin-left:auto}.grid-action-toggle{width:24px;height:24px;min-width:24px;max-width:24px;padding:0;border-radius:4px;display:flex;flex-flow:row nowrap;justify-content:center;align-items:center;background:0 0}.grid-action-toggle:hover{background:rgba(214,227,245,.2)}.grid-action-toggle .mat-button-wrapper{max-height:24px;height:24px}.grid-action-toggle ::ng-deep .mat-icon{width:16px;height:16px;display:flex;flex-flow:row nowrap;justify-content:center;align-items:center}::ng-deep .grid-action-menu-content.mat-menu-panel{padding:8px;border-radius:8px;background-color:#fff;box-shadow:0 0 8px 0 rgba(0,0,0,.25)}::ng-deep .grid-action-menu-content.mat-menu-panel kt-grid-action-item.disabled{pointer-events:none}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item{display:flex;flex-flow:row nowrap;align-items:center;gap:8px;height:28px!important;padding:0 16px 0 8px;border-radius:4px;color:#44566c;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:14px}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item:hover{background-color:rgba(0,0,0,.04)}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item:hover .mat-menu-ripple{background:0 0!important}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image{height:16px;display:flex;flex-flow:row nowrap;justify-content:center;align-items:center}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image::before{display:block;width:16px;height:16px;line-height:16px}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image[data-type=Detail]::before{content:url(/assets/img/grid-action-detail.svg)}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image[data-type=Delete]::before{content:url(/assets/img/grid-action-delete.svg)}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image[data-type=Send]::before{content:url(/assets/img/grid-action-send.svg)}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image[data-type=Copy]::before{content:url(/assets/img/grid-action-copy.svg)}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image[data-type=Edit]::before{content:url(/assets/img/grid-action-edit.svg)}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image[data-type=Note]::before{content:url(/assets/img/grid-action-note.svg)}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image[data-type=Settle]::before{content:url(/assets/img/grid-action-settle.svg)}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image[data-type=Download]::before{content:url(/assets/img/grid-action-download.svg)}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image[data-type=Preview]::before{content:url(/assets/img/grid-action-detail.svg)}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image[data-type=Export]::before{content:url(/assets/img/grid-action-export.svg)}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image[data-type=Move]::before{content:url(/assets/img/grid-action-move.svg)}::ng-deep .grid-action-menu-content.mat-menu-panel button.grid-action-item.mat-menu-item .grid-action-image img{height:16px;display:block}"]
1101
+ }] }
1102
+ ];
1103
+ /** @nocollapse */
1104
+ GridActionComponent.ctorParameters = function () { return []; };
1105
+ return GridActionComponent;
1106
+ }());
1107
+ if (false) {
1108
+ /** @type {?} */
1109
+ GridActionComponent.prototype.translation;
1110
+ }
1111
+
1112
+ /**
1113
+ * @fileoverview added by tsickle
1114
+ * Generated from: lib/common-grid/grid-action/grid-action-item/grid-action-item.component.ts
1115
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1116
+ */
1117
+ var GridActionItemComponent = /** @class */ (function () {
1118
+ function GridActionItemComponent() {
1119
+ this.ImageType = [
1120
+ "Detail",
1121
+ "Edit",
1122
+ "Download",
1123
+ "Delete",
1124
+ "Note",
1125
+ "Send",
1126
+ "Copy",
1127
+ "Settle",
1128
+ "Preview",
1129
+ "Export",
1130
+ "Move",
1131
+ ];
1132
+ }
1133
+ Object.defineProperty(GridActionItemComponent.prototype, "hostDisabled", {
1134
+ get: /**
1135
+ * @return {?}
1136
+ */
1137
+ function () {
1138
+ return !!this.disabled;
1139
+ },
1140
+ enumerable: true,
1141
+ configurable: true
1142
+ });
1143
+ GridActionItemComponent.decorators = [
1144
+ { type: core.Component, args: [{
1145
+ selector: "rs-grid-action-item",
1146
+ template: "<button\r\n\tclass=\"grid-action-item\"\r\n\tmat-menu-item\r\n\ttype=\"button\"\r\n\t[disabled]=\"!!disabled\"\r\n>\r\n\t<span class=\"grid-action-image\" [attr.data-type]=\"image\">\r\n\t\t<img *ngIf=\"!ImageType.includes(image)\" [src]=\"image\" />\r\n\t</span>\r\n\t<span>{{ text }}</span>\r\n</button>\r\n"
1147
+ }] }
1148
+ ];
1149
+ GridActionItemComponent.propDecorators = {
1150
+ image: [{ type: core.Input, args: ["image",] }],
1151
+ text: [{ type: core.Input, args: ["text",] }],
1152
+ disabled: [{ type: core.Input, args: ["disabled",] }],
1153
+ hostDisabled: [{ type: core.HostBinding, args: ["class.disabled",] }]
1154
+ };
1155
+ return GridActionItemComponent;
1156
+ }());
1157
+ if (false) {
1158
+ /** @type {?} */
1159
+ GridActionItemComponent.prototype.image;
1160
+ /** @type {?} */
1161
+ GridActionItemComponent.prototype.text;
1162
+ /** @type {?} */
1163
+ GridActionItemComponent.prototype.disabled;
1164
+ /** @type {?} */
1165
+ GridActionItemComponent.prototype.ImageType;
1166
+ }
1167
+
1087
1168
  /**
1088
1169
  * @fileoverview added by tsickle
1089
1170
  * Generated from: lib/float-box/index.component.ts
@@ -1476,7 +1557,7 @@
1476
1557
  { type: core.Component, args: [{
1477
1558
  selector: "rs-page-list",
1478
1559
  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 <div class=\"rs-page-title\" *ngIf=\"pageTitle\">{{ pageTitle }}</div>\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-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 <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()\"\r\n placeholder=\"Search all fields\"\r\n [showClearButton]=\"true\"\r\n autocomplete=\"off\"\r\n ></ejs-textbox>\r\n </div>\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",
1479
- 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;margin-bottom:4px}.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;gap:12px}.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:28px}.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-search-input{width:240px}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group.e-input-focus,.rs-page-list-wrap .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-page-list-wrap .rs-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:26px}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-page-list-wrap .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}"]
1560
+ 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;margin-bottom:4px}.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;gap:4px}.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}.rs-page-list-wrap .rs-content-wrap .rs-toolbar-wrap .rs-right-col{gap:12px}.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-search-input{width:240px}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group.e-input-focus,.rs-page-list-wrap .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-page-list-wrap .rs-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:26px}.rs-page-list-wrap .rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-page-list-wrap .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}"]
1480
1561
  }] }
1481
1562
  ];
1482
1563
  RsPageListComponent.propDecorators = {
@@ -1632,7 +1713,7 @@
1632
1713
  { type: core.Component, args: [{
1633
1714
  selector: "rs-grid-box",
1634
1715
  template: "<div class=\"rs-grid-box\" [ngClass]=\"{ 'is-not-inner': !isInner }\">\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 <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()\"\r\n placeholder=\"Search all fields\"\r\n [showClearButton]=\"true\"\r\n autocomplete=\"off\"\r\n ></ejs-textbox>\r\n </div>\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",
1635
- 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;margin-bottom:4px}.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;gap:12px}.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:28px}.rs-grid-box .rs-grid-wrap{flex:1;height:0}.rs-grid-box .rs-search-input{width:240px}.rs-grid-box .rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group.e-input-focus,.rs-grid-box .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-grid-box .rs-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-grid-box .rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:26px}.rs-grid-box .rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-grid-box .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}"]
1716
+ 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;margin-bottom:4px}.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;gap:4px}.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}.rs-grid-box .rs-toolbar-wrap .rs-right-col{gap:12px}.rs-grid-box .rs-grid-wrap{flex:1;height:0}.rs-grid-box .rs-search-input{width:240px}.rs-grid-box .rs-search-input ::ng-deep .e-input-group{border-radius:14px!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group.e-input-focus,.rs-grid-box .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-grid-box .rs-search-input ::ng-deep .e-input-group.e-input-focus input.e-input,.rs-grid-box .rs-search-input ::ng-deep .e-input-group:hover input.e-input{box-shadow:none!important}.rs-grid-box .rs-search-input ::ng-deep .e-input-group input.e-input{width:calc(100% - 50px);height:26px}.rs-grid-box .rs-search-input ::ng-deep .e-input-group input.e-input:hover{box-shadow:none!important}.rs-grid-box .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}"]
1636
1717
  }] }
1637
1718
  ];
1638
1719
  GridBoxComponent.propDecorators = {
@@ -20970,6 +21051,56 @@
20970
21051
  DrawerFormComponent.prototype.ref;
20971
21052
  }
20972
21053
 
21054
+ /**
21055
+ * @fileoverview added by tsickle
21056
+ * Generated from: lib/form/toolbar-item/index.component.ts
21057
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
21058
+ */
21059
+ var ToolbarItemComponent = /** @class */ (function () {
21060
+ function ToolbarItemComponent() {
21061
+ this.ImageType = [
21062
+ "Add",
21063
+ "Delete",
21064
+ "Download",
21065
+ "Export",
21066
+ ];
21067
+ }
21068
+ Object.defineProperty(ToolbarItemComponent.prototype, "hostDisabled", {
21069
+ get: /**
21070
+ * @return {?}
21071
+ */
21072
+ function () {
21073
+ return !!this.disabled;
21074
+ },
21075
+ enumerable: true,
21076
+ configurable: true
21077
+ });
21078
+ ToolbarItemComponent.decorators = [
21079
+ { type: core.Component, args: [{
21080
+ selector: "rs-toolbar-item",
21081
+ template: "<button class=\"toolbar-action-item e-btn text\" [disabled]=\"!!disabled\">\r\n <span class=\"toolbar-action-image\" [attr.data-type]=\"image\">\r\n <img *ngIf=\"!ImageType.includes(image)\" [src]=\"image\" />\r\n </span>\r\n <span>{{ text }}</span>\r\n</button>\r\n",
21082
+ styles: ["rs-toolbar-item.disabled{pointer-events:none}.toolbar-action-item{min-width:auto;padding:4px 8px}.toolbar-action-item .toolbar-action-image{height:16px;display:flex;flex-flow:row nowrap;justify-content:center;align-items:center}.toolbar-action-item .toolbar-action-image::before{display:block;width:16px;height:16px;line-height:16px}.toolbar-action-item .toolbar-action-image[data-type=Add]::before{content:url(/assets/img/toolbar-action-add.svg)}.toolbar-action-item .toolbar-action-image[data-type=Detail]::before{content:url(/assets/img/grid-action-detail.svg)}.toolbar-action-item .toolbar-action-image[data-type=Delete]::before{content:url(/assets/img/grid-action-delete.svg)}.toolbar-action-item .toolbar-action-image[data-type=Send]::before{content:url(/assets/img/grid-action-send.svg)}.toolbar-action-item .toolbar-action-image[data-type=Copy]::before{content:url(/assets/img/grid-action-copy.svg)}.toolbar-action-item .toolbar-action-image[data-type=Edit]::before{content:url(/assets/img/grid-action-edit.svg)}.toolbar-action-item .toolbar-action-image[data-type=Note]::before{content:url(/assets/img/grid-action-note.svg)}.toolbar-action-item .toolbar-action-image[data-type=Settle]::before{content:url(/assets/img/grid-action-settle.svg)}.toolbar-action-item .toolbar-action-image[data-type=Download]::before{content:url(/assets/img/grid-action-download.svg)}.toolbar-action-item .toolbar-action-image[data-type=Preview]::before{content:url(/assets/img/grid-action-detail.svg)}.toolbar-action-item .toolbar-action-image[data-type=Export]::before{content:url(/assets/img/grid-action-export.svg)}.toolbar-action-item .toolbar-action-image[data-type=Move]::before{content:url(/assets/img/grid-action-move.svg)}.toolbar-action-item .toolbar-action-image img{height:16px;display:block}"]
21083
+ }] }
21084
+ ];
21085
+ ToolbarItemComponent.propDecorators = {
21086
+ image: [{ type: core.Input, args: ["image",] }],
21087
+ text: [{ type: core.Input, args: ["text",] }],
21088
+ disabled: [{ type: core.Input, args: ["disabled",] }],
21089
+ hostDisabled: [{ type: core.HostBinding, args: ["class.disabled",] }]
21090
+ };
21091
+ return ToolbarItemComponent;
21092
+ }());
21093
+ if (false) {
21094
+ /** @type {?} */
21095
+ ToolbarItemComponent.prototype.image;
21096
+ /** @type {?} */
21097
+ ToolbarItemComponent.prototype.text;
21098
+ /** @type {?} */
21099
+ ToolbarItemComponent.prototype.disabled;
21100
+ /** @type {?} */
21101
+ ToolbarItemComponent.prototype.ImageType;
21102
+ }
21103
+
20973
21104
  /**
20974
21105
  * @fileoverview added by tsickle
20975
21106
  * Generated from: lib/service/icon-loader.service.ts
@@ -21812,6 +21943,8 @@
21812
21943
  { type: core.NgModule, args: [{
21813
21944
  declarations: [
21814
21945
  CommonGridComponent,
21946
+ GridActionComponent,
21947
+ GridActionItemComponent,
21815
21948
  FloatBoxComponent,
21816
21949
  RsPageListComponent,
21817
21950
  RsPageTabComponent,
@@ -21830,6 +21963,7 @@
21830
21963
  CommonDeleteComponent,
21831
21964
  DrawerComponent,
21832
21965
  DrawerFormComponent,
21966
+ ToolbarItemComponent
21833
21967
  ],
21834
21968
  imports: [
21835
21969
  common.CommonModule,
@@ -21837,6 +21971,8 @@
21837
21971
  forms.ReactiveFormsModule,
21838
21972
  forms.FormsModule,
21839
21973
  snackBar.MatSnackBarModule,
21974
+ menu.MatMenuModule,
21975
+ tooltip.MatTooltipModule,
21840
21976
  dialog.MatDialogModule,
21841
21977
  icon.MatIconModule,
21842
21978
  ej2AngularGrids.GridModule,
@@ -21917,6 +22053,8 @@
21917
22053
  forms.ReactiveFormsModule,
21918
22054
  forms.FormsModule,
21919
22055
  snackBar.MatSnackBarModule,
22056
+ menu.MatMenuModule,
22057
+ tooltip.MatTooltipModule,
21920
22058
  dialog.MatDialogModule,
21921
22059
  ej2AngularGrids.GridModule,
21922
22060
  ej2AngularGrids.PagerModule,
@@ -21955,6 +22093,8 @@
21955
22093
  ej2AngularSplitbuttons.SplitButtonModule,
21956
22094
  ej2AngularRichtexteditor.RichTextEditorAllModule,
21957
22095
  CommonGridComponent,
22096
+ GridActionComponent,
22097
+ GridActionItemComponent,
21958
22098
  FloatBoxComponent,
21959
22099
  RsPageListComponent,
21960
22100
  RsPageTabComponent,
@@ -21970,6 +22110,7 @@
21970
22110
  SwitchInputComponent,
21971
22111
  DrawerComponent,
21972
22112
  DrawerFormComponent,
22113
+ ToolbarItemComponent,
21973
22114
  ],
21974
22115
  entryComponents: [
21975
22116
  NewActionNotificationComponent,
@@ -21992,6 +22133,8 @@
21992
22133
  exports.DrawerService = DrawerService;
21993
22134
  exports.EmailPattern = EmailPattern;
21994
22135
  exports.FloatBoxComponent = FloatBoxComponent;
22136
+ exports.GridActionComponent = GridActionComponent;
22137
+ exports.GridActionItemComponent = GridActionItemComponent;
21995
22138
  exports.GridBoxComponent = GridBoxComponent;
21996
22139
  exports.IconLoaderService = IconLoaderService;
21997
22140
  exports.KeepAliveService = KeepAliveService;
@@ -22007,6 +22150,7 @@
22007
22150
  exports.RsPageTabComponent = RsPageTabComponent;
22008
22151
  exports.SwitchInputComponent = SwitchInputComponent;
22009
22152
  exports.TagInputComponent = TagInputComponent;
22153
+ exports.ToolbarItemComponent = ToolbarItemComponent;
22010
22154
  exports.TranslationService = TranslationService;
22011
22155
  exports.filterShowSection = filterShowSection;
22012
22156
  exports.ɵa = NewActionNotificationComponent;