ms-time-sheet 0.0.1
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.
- package/README.md +24 -0
- package/esm2022/lib/ms-time-sheet.component.mjs +4956 -0
- package/esm2022/lib/ms-time-sheet.service.mjs +14 -0
- package/esm2022/lib/pipes/filter.pipe.mjs +23 -0
- package/esm2022/lib/pipes/pinned-columns.pipe.mjs +16 -0
- package/esm2022/lib/services/common.service.mjs +207 -0
- package/esm2022/lib/services/copy-service.service.mjs +209 -0
- package/esm2022/lib/services/split-columns.service.mjs +143 -0
- package/esm2022/lib/statuses.mjs +44 -0
- package/esm2022/ms-time-sheet.mjs +5 -0
- package/esm2022/public-api.mjs +6 -0
- package/fesm2022/ms-time-sheet.mjs +5603 -0
- package/fesm2022/ms-time-sheet.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/ms-time-sheet.component.d.ts +626 -0
- package/lib/ms-time-sheet.service.d.ts +6 -0
- package/lib/pipes/filter.pipe.d.ts +7 -0
- package/lib/pipes/pinned-columns.pipe.d.ts +7 -0
- package/lib/services/common.service.d.ts +17 -0
- package/lib/services/copy-service.service.d.ts +13 -0
- package/lib/services/split-columns.service.d.ts +9 -0
- package/lib/statuses.d.ts +3 -0
- package/package.json +25 -0
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CommonService {
|
|
3
|
+
constructor();
|
|
4
|
+
gethasVisibleColumns(columns: any[]): boolean;
|
|
5
|
+
gethasInVisibleColumns(columns: any[]): boolean;
|
|
6
|
+
getTotalColumnsLength(columns: any[]): number;
|
|
7
|
+
gethasRightPinnedColumns(columns: any[]): boolean;
|
|
8
|
+
gethasLeftPinnedColumns(columns: any[]): boolean;
|
|
9
|
+
getExpandedRowCount(data: any[]): number;
|
|
10
|
+
getFiltersFromColumns(columns: any[], filtersConfig: any[]): any[];
|
|
11
|
+
applyFiltersToColumns(columns: any[], filters: any[]): Promise<any[]>;
|
|
12
|
+
activeFilteredColumns: any[];
|
|
13
|
+
updateActiveFilteredColumns(columns: any[]): any[];
|
|
14
|
+
hasFieldChanged(current: any, original: any, type: string): boolean;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CopyServiceService {
|
|
3
|
+
constructor();
|
|
4
|
+
getSelectedDataForCopy(dataSet: any[], columns: any[], rowSelectedIndexes: Set<number>, selectedCells: any[], getNestedValue: (obj: any, path: string) => any): any[][];
|
|
5
|
+
copyToClipboard(selectedData: any[][], selector?: string): void;
|
|
6
|
+
updateRows: any[];
|
|
7
|
+
pasteFromClipboardText(text: string, dataSet: any[], columns: any[], startRowIndex: number, startColIndex: number, startSubColIndex?: number): Promise<any[]>;
|
|
8
|
+
setNestedValue(obj: any, column: any, option: any, calledFromInput?: boolean): void;
|
|
9
|
+
cutSelectedSelectedData(dataSet: any[], rowSelectedIndexes: Set<number>, selectedCells: any[], columns: any[], setNestedValue: (obj: any, column: any, value: any) => void): any;
|
|
10
|
+
cutWithAnimation(selectedData: any[][], selector?: string): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CopyServiceService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CopyServiceService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SplitColumnsService {
|
|
3
|
+
prepareColumns(columns: any[], containerWidth: number): any;
|
|
4
|
+
setColumnsQuery(columns: any[]): any[];
|
|
5
|
+
assignDefaultWidths(columns: any[], containerWidth: number): any[];
|
|
6
|
+
private getVisibleLeafColumns;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SplitColumnsService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SplitColumnsService>;
|
|
9
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ms-time-sheet",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^18.2.0",
|
|
6
|
+
"@angular/core": "^18.2.0"
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"tslib": "^2.3.0"
|
|
10
|
+
},
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"module": "fesm2022/ms-time-sheet.mjs",
|
|
13
|
+
"typings": "index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
"./package.json": {
|
|
16
|
+
"default": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./index.d.ts",
|
|
20
|
+
"esm2022": "./esm2022/ms-time-sheet.mjs",
|
|
21
|
+
"esm": "./esm2022/ms-time-sheet.mjs",
|
|
22
|
+
"default": "./fesm2022/ms-time-sheet.mjs"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
package/public-api.d.ts
ADDED