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,5 +1,5 @@
1
1
  import { __assign, __read, __spread } from 'tslib';
2
- import { EventEmitter, Component, ChangeDetectorRef, ViewChild, Input, Output, ContentChild, Injectable, ɵɵdefineInjectable, ɵɵinject, HostListener, ComponentFactoryResolver, ViewContainerRef, ViewChildren, Inject, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
2
+ import { EventEmitter, Component, ChangeDetectorRef, ViewChild, Input, Output, HostBinding, ContentChild, Injectable, ɵɵdefineInjectable, ɵɵinject, HostListener, ComponentFactoryResolver, ViewContainerRef, ViewChildren, Inject, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
3
3
  import { GridModule, PagerModule, GridAllModule, PageService, SortService, FilterService, ExcelExportService, EditService, ResizeService, ToolbarService, ColumnChooserService, AggregateService, ColumnMenuService, DetailRowService, SelectionService, GroupService } from '@syncfusion/ej2-angular-grids';
4
4
  import { debounce } from 'lodash';
5
5
  import { NavigationEnd, Router, ActivatedRoute, RouteReuseStrategy } from '@angular/router';
@@ -27,6 +27,8 @@ import { CarouselAllModule, ToolbarModule, TabModule } from '@syncfusion/ej2-ang
27
27
  import { PdfViewerModule, LinkAnnotationService, BookmarkViewService, MagnificationService, ThumbnailViewService, ToolbarService as ToolbarService$1, NavigationService, TextSearchService, TextSelectionService, PrintService } from '@syncfusion/ej2-angular-pdfviewer';
28
28
  import { DropDownButtonModule, SplitButtonModule } from '@syncfusion/ej2-angular-splitbuttons';
29
29
  import { RichTextEditorAllModule, HtmlEditorService, ToolbarService as ToolbarService$2 } from '@syncfusion/ej2-angular-richtexteditor';
30
+ import { MatMenuModule } from '@angular/material/menu';
31
+ import { MatTooltipModule } from '@angular/material/tooltip';
30
32
 
31
33
  /**
32
34
  * @fileoverview added by tsickle
@@ -889,6 +891,87 @@ if (false) {
889
891
  CommonGridComponent.prototype.ref;
890
892
  }
891
893
 
894
+ /**
895
+ * @fileoverview added by tsickle
896
+ * Generated from: lib/common-grid/grid-action/grid-action.component.ts
897
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
898
+ */
899
+ var GridActionComponent = /** @class */ (function () {
900
+ function GridActionComponent() {
901
+ this.translation = JSON.parse(localStorage.getItem("translation"));
902
+ }
903
+ GridActionComponent.decorators = [
904
+ { type: Component, args: [{
905
+ selector: "rs-grid-action",
906
+ 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",
907
+ 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}"]
908
+ }] }
909
+ ];
910
+ /** @nocollapse */
911
+ GridActionComponent.ctorParameters = function () { return []; };
912
+ return GridActionComponent;
913
+ }());
914
+ if (false) {
915
+ /** @type {?} */
916
+ GridActionComponent.prototype.translation;
917
+ }
918
+
919
+ /**
920
+ * @fileoverview added by tsickle
921
+ * Generated from: lib/common-grid/grid-action/grid-action-item/grid-action-item.component.ts
922
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
923
+ */
924
+ var GridActionItemComponent = /** @class */ (function () {
925
+ function GridActionItemComponent() {
926
+ this.ImageType = [
927
+ "Detail",
928
+ "Edit",
929
+ "Download",
930
+ "Delete",
931
+ "Note",
932
+ "Send",
933
+ "Copy",
934
+ "Settle",
935
+ "Preview",
936
+ "Export",
937
+ "Move",
938
+ ];
939
+ }
940
+ Object.defineProperty(GridActionItemComponent.prototype, "hostDisabled", {
941
+ get: /**
942
+ * @return {?}
943
+ */
944
+ function () {
945
+ return !!this.disabled;
946
+ },
947
+ enumerable: true,
948
+ configurable: true
949
+ });
950
+ GridActionItemComponent.decorators = [
951
+ { type: Component, args: [{
952
+ selector: "rs-grid-action-item",
953
+ 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"
954
+ }] }
955
+ ];
956
+ GridActionItemComponent.propDecorators = {
957
+ image: [{ type: Input, args: ["image",] }],
958
+ text: [{ type: Input, args: ["text",] }],
959
+ disabled: [{ type: Input, args: ["disabled",] }],
960
+ hostDisabled: [{ type: HostBinding, args: ["class.disabled",] }]
961
+ };
962
+ return GridActionItemComponent;
963
+ }());
964
+ if (false) {
965
+ /** @type {?} */
966
+ GridActionItemComponent.prototype.image;
967
+ /** @type {?} */
968
+ GridActionItemComponent.prototype.text;
969
+ /** @type {?} */
970
+ GridActionItemComponent.prototype.disabled;
971
+ /** @type {?} */
972
+ GridActionItemComponent.prototype.ImageType;
973
+ }
974
+
892
975
  /**
893
976
  * @fileoverview added by tsickle
894
977
  * Generated from: lib/float-box/index.component.ts
@@ -1281,7 +1364,7 @@ var RsPageListComponent = /** @class */ (function () {
1281
1364
  { type: Component, args: [{
1282
1365
  selector: "rs-page-list",
1283
1366
  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",
1284
- 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}"]
1367
+ 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}"]
1285
1368
  }] }
1286
1369
  ];
1287
1370
  RsPageListComponent.propDecorators = {
@@ -1437,7 +1520,7 @@ var GridBoxComponent = /** @class */ (function () {
1437
1520
  { type: Component, args: [{
1438
1521
  selector: "rs-grid-box",
1439
1522
  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",
1440
- 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}"]
1523
+ 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}"]
1441
1524
  }] }
1442
1525
  ];
1443
1526
  GridBoxComponent.propDecorators = {
@@ -20775,6 +20858,56 @@ if (false) {
20775
20858
  DrawerFormComponent.prototype.ref;
20776
20859
  }
20777
20860
 
20861
+ /**
20862
+ * @fileoverview added by tsickle
20863
+ * Generated from: lib/form/toolbar-item/index.component.ts
20864
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
20865
+ */
20866
+ var ToolbarItemComponent = /** @class */ (function () {
20867
+ function ToolbarItemComponent() {
20868
+ this.ImageType = [
20869
+ "Add",
20870
+ "Delete",
20871
+ "Download",
20872
+ "Export",
20873
+ ];
20874
+ }
20875
+ Object.defineProperty(ToolbarItemComponent.prototype, "hostDisabled", {
20876
+ get: /**
20877
+ * @return {?}
20878
+ */
20879
+ function () {
20880
+ return !!this.disabled;
20881
+ },
20882
+ enumerable: true,
20883
+ configurable: true
20884
+ });
20885
+ ToolbarItemComponent.decorators = [
20886
+ { type: Component, args: [{
20887
+ selector: "rs-toolbar-item",
20888
+ 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",
20889
+ 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}"]
20890
+ }] }
20891
+ ];
20892
+ ToolbarItemComponent.propDecorators = {
20893
+ image: [{ type: Input, args: ["image",] }],
20894
+ text: [{ type: Input, args: ["text",] }],
20895
+ disabled: [{ type: Input, args: ["disabled",] }],
20896
+ hostDisabled: [{ type: HostBinding, args: ["class.disabled",] }]
20897
+ };
20898
+ return ToolbarItemComponent;
20899
+ }());
20900
+ if (false) {
20901
+ /** @type {?} */
20902
+ ToolbarItemComponent.prototype.image;
20903
+ /** @type {?} */
20904
+ ToolbarItemComponent.prototype.text;
20905
+ /** @type {?} */
20906
+ ToolbarItemComponent.prototype.disabled;
20907
+ /** @type {?} */
20908
+ ToolbarItemComponent.prototype.ImageType;
20909
+ }
20910
+
20778
20911
  /**
20779
20912
  * @fileoverview added by tsickle
20780
20913
  * Generated from: lib/service/icon-loader.service.ts
@@ -21617,6 +21750,8 @@ var RaiseCommonLibModule = /** @class */ (function () {
21617
21750
  { type: NgModule, args: [{
21618
21751
  declarations: [
21619
21752
  CommonGridComponent,
21753
+ GridActionComponent,
21754
+ GridActionItemComponent,
21620
21755
  FloatBoxComponent,
21621
21756
  RsPageListComponent,
21622
21757
  RsPageTabComponent,
@@ -21635,6 +21770,7 @@ var RaiseCommonLibModule = /** @class */ (function () {
21635
21770
  CommonDeleteComponent,
21636
21771
  DrawerComponent,
21637
21772
  DrawerFormComponent,
21773
+ ToolbarItemComponent
21638
21774
  ],
21639
21775
  imports: [
21640
21776
  CommonModule,
@@ -21642,6 +21778,8 @@ var RaiseCommonLibModule = /** @class */ (function () {
21642
21778
  ReactiveFormsModule,
21643
21779
  FormsModule,
21644
21780
  MatSnackBarModule,
21781
+ MatMenuModule,
21782
+ MatTooltipModule,
21645
21783
  MatDialogModule,
21646
21784
  MatIconModule,
21647
21785
  GridModule,
@@ -21722,6 +21860,8 @@ var RaiseCommonLibModule = /** @class */ (function () {
21722
21860
  ReactiveFormsModule,
21723
21861
  FormsModule,
21724
21862
  MatSnackBarModule,
21863
+ MatMenuModule,
21864
+ MatTooltipModule,
21725
21865
  MatDialogModule,
21726
21866
  GridModule,
21727
21867
  PagerModule,
@@ -21760,6 +21900,8 @@ var RaiseCommonLibModule = /** @class */ (function () {
21760
21900
  SplitButtonModule,
21761
21901
  RichTextEditorAllModule,
21762
21902
  CommonGridComponent,
21903
+ GridActionComponent,
21904
+ GridActionItemComponent,
21763
21905
  FloatBoxComponent,
21764
21906
  RsPageListComponent,
21765
21907
  RsPageTabComponent,
@@ -21775,6 +21917,7 @@ var RaiseCommonLibModule = /** @class */ (function () {
21775
21917
  SwitchInputComponent,
21776
21918
  DrawerComponent,
21777
21919
  DrawerFormComponent,
21920
+ ToolbarItemComponent,
21778
21921
  ],
21779
21922
  entryComponents: [
21780
21923
  NewActionNotificationComponent,
@@ -21799,5 +21942,5 @@ var RaiseCommonLibModule = /** @class */ (function () {
21799
21942
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
21800
21943
  */
21801
21944
 
21802
- export { CheckboxGroupComponent, CommonFunctionService, CommonGridComponent, DefaultDrawerConfig, DialogService, DrawerComponent, DrawerFormComponent, DrawerService, EmailPattern, FloatBoxComponent, GridBoxComponent, IconLoaderService, KeepAliveService, MainContainerComponent, MessageType, MultiTabComponent, RSAsideComponent, RSFooterComponent, RSHeaderComponent, RadioGroupComponent, RaiseCommonLibModule, RsPageListComponent, RsPageTabComponent, SwitchInputComponent, TagInputComponent, TranslationService, filterShowSection, NewActionNotificationComponent as ɵa, CommonDialogComponent as ɵb, CommonDeleteComponent as ɵc };
21945
+ export { CheckboxGroupComponent, CommonFunctionService, CommonGridComponent, DefaultDrawerConfig, DialogService, DrawerComponent, DrawerFormComponent, DrawerService, EmailPattern, FloatBoxComponent, GridActionComponent, GridActionItemComponent, GridBoxComponent, IconLoaderService, KeepAliveService, MainContainerComponent, MessageType, MultiTabComponent, RSAsideComponent, RSFooterComponent, RSHeaderComponent, RadioGroupComponent, RaiseCommonLibModule, RsPageListComponent, RsPageTabComponent, SwitchInputComponent, TagInputComponent, ToolbarItemComponent, TranslationService, filterShowSection, NewActionNotificationComponent as ɵa, CommonDialogComponent as ɵb, CommonDeleteComponent as ɵc };
21803
21946
  //# sourceMappingURL=raise-common-lib.js.map