{"ast":null,"code":"import * as i0 from \"@angular/core\";\nimport * as i1 from \"../tables/user-table/user-table.component\";\nexport class UserComponent {\n constructor() {\n this.cellEditing = {\n enabled: true,\n rowEdit: (value, item, index) => {\n console.log(\"rowEdit\", value, item, index);\n return Boolean(index % 2);\n },\n cellEdit: (value, item, index) => {\n console.log(\"cellEdit\", value, item, index);\n return Boolean(index % 5);\n }\n };\n }\n static #_ = this.ɵfac = function UserComponent_Factory(t) {\n return new (t || UserComponent)();\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: UserComponent,\n selectors: [[\"app-user\"]],\n decls: 2,\n vars: 1,\n consts: [[\"userTable\", \"\"], [3, \"cellEditing\"]],\n template: function UserComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"app-user-table\", 1, 0);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"cellEditing\", ctx.cellEditing);\n }\n },\n dependencies: [i1.UserTableComponent],\n styles: [\"/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ1c2VyLmNvbXBvbmVudC5jc3MifQ== */\\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvY29tcG9uZW50cy91c2VyL3VzZXIuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EsZ0tBQWdLIiwic291cmNlUm9vdCI6IiJ9 */\"]\n });\n}","map":{"version":3,"names":["UserComponent","constructor","cellEditing","enabled","rowEdit","value","item","index","console","log","Boolean","cellEdit","_","_2","selectors","decls","vars","consts","template","UserComponent_Template","rf","ctx","i0","ɵɵelement","ɵɵproperty"],"sources":["E:\\TekH\\Visual Studio\\WebUserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user\\user.component.ts","E:\\TekH\\Visual Studio\\WebUserManager\\DigitalData.UserManager.NgWebUI\\ClientApp\\src\\app\\components\\user\\user.component.html"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { GuiCellEdit } from '@generic-ui/ngx-grid';\r\n\r\n@Component({\r\n selector: 'app-user',\r\n templateUrl: './user.component.html',\r\n styleUrl: './user.component.css'\r\n})\r\nexport class UserComponent {\r\n\r\n cellEditing: GuiCellEdit = {\r\n enabled: true,\r\n rowEdit: (value: any, item: any, index: number) => {\r\n console.log(\"rowEdit\", value, item, index)\r\n return Boolean(index % 2);\r\n },\r\n cellEdit: (value: any, item: any, index: number) => {\r\n console.log(\"cellEdit\", value, item, index)\r\n return Boolean(index % 5);\r\n }\r\n }\r\n}",""],"mappings":";;AAQA,OAAM,MAAOA,aAAa;EAL1BC,YAAA;IAOE,KAAAC,WAAW,GAAgB;MACzBC,OAAO,EAAE,IAAI;MACbC,OAAO,EAAEA,CAACC,KAAU,EAAEC,IAAS,EAAEC,KAAa,KAAI;QAChDC,OAAO,CAACC,GAAG,CAAC,SAAS,EAAEJ,KAAK,EAAEC,IAAI,EAAEC,KAAK,CAAC;QAC1C,OAAOG,OAAO,CAACH,KAAK,GAAG,CAAC,CAAC;MAC3B,CAAC;MACDI,QAAQ,EAAEA,CAACN,KAAU,EAAEC,IAAS,EAAEC,KAAa,KAAI;QACjDC,OAAO,CAACC,GAAG,CAAC,UAAU,EAAEJ,KAAK,EAAEC,IAAI,EAAEC,KAAK,CAAC;QAC3C,OAAOG,OAAO,CAACH,KAAK,GAAG,CAAC,CAAC;MAC3B;KACD;;EACF,QAAAK,CAAA,G;qBAbYZ,aAAa;EAAA;EAAA,QAAAa,EAAA,G;UAAbb,aAAa;IAAAc,SAAA;IAAAC,KAAA;IAAAC,IAAA;IAAAC,MAAA;IAAAC,QAAA,WAAAC,uBAAAC,EAAA,EAAAC,GAAA;MAAA,IAAAD,EAAA;QCR1BE,EAAA,CAAAC,SAAA,2BAA0E;;;QAA/CD,EAAA,CAAAE,UAAA,gBAAAH,GAAA,CAAAnB,WAAA,CAA6B","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}