1 line
6.2 KiB
JSON
1 line
6.2 KiB
JSON
{"ast":null,"code":"import { BaseTableComponent } from '../base-table/base-table.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../../../services/group.service\";\nimport * as i2 from \"src/app/services/color-mode.service\";\nimport * as i3 from \"@generic-ui/ngx-grid\";\nexport class GroupTableComponent extends BaseTableComponent {\n constructor(service, columns, cModeService) {\n super(service, columns, cModeService);\n }\n static #_ = this.ɵfac = function GroupTableComponent_Factory(t) {\n return new (t || GroupTableComponent)(i0.ɵɵdirectiveInject(i1.GroupService), i0.ɵɵdirectiveInject('GROUP_COMPLETE_TABLE_COLUMNS'), i0.ɵɵdirectiveInject(i2.ColorModeService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: GroupTableComponent,\n selectors: [[\"app-group-table\"]],\n features: [i0.ɵɵInheritDefinitionFeature],\n decls: 2,\n vars: 14,\n consts: [[\"grid\", \"\"], [3, \"selectedRows\", \"columns\", \"columnMenu\", \"sorting\", \"loading\", \"rowSelection\", \"rowDetail\", \"autoResizeWidth\", \"paging\", \"searching\", \"cellEditing\", \"virtualScroll\", \"infoPanel\", \"titlePanel\", \"theme\"]],\n template: function GroupTableComponent_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"gui-grid\", 1, 0);\n i0.ɵɵlistener(\"selectedRows\", function GroupTableComponent_Template_gui_grid_selectedRows_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onSelectedRows($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"columns\", ctx.columns)(\"columnMenu\", ctx.columnMenu)(\"sorting\", ctx.sorting)(\"loading\", ctx.loading)(\"rowSelection\", ctx.rowSelection)(\"rowDetail\", ctx.rowDetail)(\"autoResizeWidth\", ctx.autoResizeWidth)(\"paging\", ctx.paging)(\"searching\", ctx.searching)(\"cellEditing\", ctx.cellEditing)(\"virtualScroll\", true)(\"infoPanel\", ctx.infoPanel)(\"titlePanel\", ctx.titlePanel)(\"theme\", ctx.theme);\n }\n },\n dependencies: [i3.GuiGridComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJncm91cC10YWJsZS5jb21wb25lbnQuY3NzIn0= */\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvY29tcG9uZW50cy90YWJsZXMvZ3JvdXAtdGFibGUvZ3JvdXAtdGFibGUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0Esd0tBQXdLIiwic291cmNlUm9vdCI6IiJ9 */\"]\n });\n}","map":{"version":3,"names":["BaseTableComponent","GroupTableComponent","constructor","service","columns","cModeService","_","i0","ɵɵdirectiveInject","i1","GroupService","i2","ColorModeService","_2","selectors","features","ɵɵInheritDefinitionFeature","decls","vars","consts","template","GroupTableComponent_Template","rf","ctx","ɵɵelementStart","ɵɵlistener","GroupTableComponent_Template_gui_grid_selectedRows_0_listener","$event","ɵɵrestoreView","_r1","ɵɵresetView","onSelectedRows","ɵɵelementEnd","ɵɵproperty","columnMenu","sorting","loading","rowSelection","rowDetail","autoResizeWidth","paging","searching","cellEditing","infoPanel","titlePanel","theme"],"sources":["E:\\TekH\\Visual Studio\\WebUserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\tables\\group-table\\group-table.component.ts","E:\\TekH\\Visual Studio\\WebUserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\tables\\base-table\\base-table.component.html"],"sourcesContent":["import { Component, Inject } from '@angular/core';\r\nimport { GroupService } from '../../../services/group.service';\r\nimport { Group } from '../../../models/user-management.api.models';\r\nimport { GuiColumn } from '@generic-ui/ngx-grid';\r\nimport { BaseTableComponent } from '../base-table/base-table.component';\r\nimport { ColorModeService } from 'src/app/services/color-mode.service';\r\n\r\n@Component({\r\n selector: 'app-group-table',\r\n templateUrl: '../base-table/base-table.component.html',\r\n styleUrl: './group-table.component.css'\r\n})\r\nexport class GroupTableComponent extends BaseTableComponent<Group, GroupService> {\r\n constructor(\r\n service: GroupService, @Inject('GROUP_COMPLETE_TABLE_COLUMNS') columns: Array<GuiColumn>, cModeService: ColorModeService) {\r\n super(service, columns, cModeService)\r\n }\r\n}","<gui-grid #grid\r\n [columns]=\"columns\"\r\n [columnMenu]=\"columnMenu\"\r\n [sorting]=\"sorting\"\r\n [loading]=\"loading\"\r\n [rowSelection] = \"rowSelection\"\r\n [rowDetail]=\"rowDetail\"\r\n [autoResizeWidth]=\"autoResizeWidth\"\r\n [paging]=\"paging\"\r\n [searching]=\"searching\"\r\n [cellEditing]=\"cellEditing\"\r\n [virtualScroll]=\"true\"\r\n [infoPanel]=\"infoPanel\"\r\n [titlePanel]=\"titlePanel\"\r\n [theme]=\"theme\"\r\n (selectedRows)=\"onSelectedRows($event)\">\r\n</gui-grid>"],"mappings":"AAIA,SAASA,kBAAkB,QAAQ,oCAAoC;;;;;AAQvE,OAAM,MAAOC,mBAAoB,SAAQD,kBAAuC;EAC9EE,YACEC,OAAqB,EAA0CC,OAAyB,EAAEC,YAA8B;IACxH,KAAK,CAACF,OAAO,EAAEC,OAAO,EAAEC,YAAY,CAAC;EACvC;EAAC,QAAAC,CAAA,G;qBAJUL,mBAAmB,EAAAM,EAAA,CAAAC,iBAAA,CAAAC,EAAA,CAAAC,YAAA,GAAAH,EAAA,CAAAC,iBAAA,CAEG,8BAA8B,GAAAD,EAAA,CAAAC,iBAAA,CAAAG,EAAA,CAAAC,gBAAA;EAAA;EAAA,QAAAC,EAAA,G;UAFpDZ,mBAAmB;IAAAa,SAAA;IAAAC,QAAA,GAAAR,EAAA,CA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