This commit is contained in:
chapal 2026-12-01 14:50:17 +06:00
parent 5ab15e9b34
commit cf66e78d35

View File

@ -14,12 +14,6 @@ import {OrganogramService} from '../../_services/payroll/organogram.service';
import {loadingPanelService} from '../../hrm-loding panel/loding.panel.service';
import {Observable} from 'rxjs';
import { type TreeNode } from 'src/app/_models/common/ui-types';
/** An organogram node also shows the second part of the position name (`label2`) in the chart. */
interface OrgTreeNode extends TreeNode {
label2?: string;
children?: OrgTreeNode[];
}
import {ApiService} from '../../app.api.service';
@ -36,6 +30,11 @@ import { TabViewCompatModule } from 'src/app/custom-components/tab-view-compat/t
import { EmployeePickerComponent } from 'src/app/picker/employee-picker.component';
import { TreeViewModule } from '@progress/kendo-angular-treeview';
import { OrganogramPickerComponent } from 'src/app/picker/organogram-picker.component';
/** PrimeNG TreeNode plus a second label line (e.g. designation) shown in the organogram chart. */
export interface OrgTreeNode extends TreeNode {
label2?: string;
children?: OrgTreeNode[];
}
const is = (fileName: string, ext: string) =>
new RegExp(`.${ext}\$`).test(fileName);