ms-time-sheet 0.0.6 → 0.0.8
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/esm2022/lib/badges.mjs +71 -0
- package/esm2022/lib/ms-time-sheet.component.mjs +353 -92
- package/fesm2022/ms-time-sheet.mjs +415 -127
- package/fesm2022/ms-time-sheet.mjs.map +1 -1
- package/lib/badges.d.ts +3 -0
- package/lib/ms-time-sheet.component.d.ts +40 -14
- package/package.json +1 -1
- package/esm2022/lib/statuses.mjs +0 -44
- package/lib/statuses.d.ts +0 -3
package/lib/badges.d.ts
ADDED
|
@@ -55,12 +55,7 @@ export declare class TimeSheetComponent implements OnInit, OnChanges, AfterViewI
|
|
|
55
55
|
private resizeObservers;
|
|
56
56
|
private timeouts;
|
|
57
57
|
private intervals;
|
|
58
|
-
isShortLeavePopoverVisible: boolean;
|
|
59
|
-
currentShortLeaveData: any[];
|
|
60
|
-
private hideTimeout;
|
|
61
58
|
hideShortBreakTooltip(): void;
|
|
62
|
-
showShortLeavePopover(event: MouseEvent, row: any): void;
|
|
63
|
-
hideShortLeavePopover(): void;
|
|
64
59
|
private intersectionObserver;
|
|
65
60
|
private lazyLoadCallbacks;
|
|
66
61
|
private viewportElements;
|
|
@@ -98,6 +93,7 @@ export declare class TimeSheetComponent implements OnInit, OnChanges, AfterViewI
|
|
|
98
93
|
topFilterRowHeight: number;
|
|
99
94
|
rowShadingEnabled: boolean;
|
|
100
95
|
showSerialNumber: boolean;
|
|
96
|
+
enableExport: boolean;
|
|
101
97
|
singleSpaAssetsPath: string;
|
|
102
98
|
filtersConfig: any[];
|
|
103
99
|
loading: boolean;
|
|
@@ -154,6 +150,8 @@ export declare class TimeSheetComponent implements OnInit, OnChanges, AfterViewI
|
|
|
154
150
|
showResetColumns: boolean;
|
|
155
151
|
};
|
|
156
152
|
timezonePrefs: any;
|
|
153
|
+
shouldShowButton(condition: string | null): boolean;
|
|
154
|
+
getButtonPermission(button: any): boolean;
|
|
157
155
|
enableProgressiveLoading: boolean;
|
|
158
156
|
progressiveChunkSize: number;
|
|
159
157
|
progressiveDelay: number;
|
|
@@ -184,6 +182,14 @@ export declare class TimeSheetComponent implements OnInit, OnChanges, AfterViewI
|
|
|
184
182
|
currentManualLogs: any[];
|
|
185
183
|
noShortLeaveDetail: any;
|
|
186
184
|
noShortLeaveLeft: any;
|
|
185
|
+
manualLogsMoused: boolean;
|
|
186
|
+
showShortLeaveTooltipModal: boolean;
|
|
187
|
+
shortLeaveTooltipPosition: {
|
|
188
|
+
x: number;
|
|
189
|
+
y: number;
|
|
190
|
+
};
|
|
191
|
+
currentShortLeaveData: any[];
|
|
192
|
+
shortLeaveTooltipMoused: boolean;
|
|
187
193
|
showBreakTooltip(event: MouseEvent, breakItem: any): void;
|
|
188
194
|
showShortBreakTooltip(event: MouseEvent, shortBreak: any, type?: string): void;
|
|
189
195
|
setPosition(event: MouseEvent): void;
|
|
@@ -191,6 +197,8 @@ export declare class TimeSheetComponent implements OnInit, OnChanges, AfterViewI
|
|
|
191
197
|
getBreakTooltip(breakItem: any): string;
|
|
192
198
|
hasManualLogs(row: any): boolean;
|
|
193
199
|
preventManualLogsTooltipHide(): void;
|
|
200
|
+
getBreakColor(type: string): string;
|
|
201
|
+
getBreakColorClass(type: string): string;
|
|
194
202
|
groupedColumns: any[];
|
|
195
203
|
activeCol: any;
|
|
196
204
|
activeFilterCell: any;
|
|
@@ -306,8 +314,16 @@ export declare class TimeSheetComponent implements OnInit, OnChanges, AfterViewI
|
|
|
306
314
|
private zoneOptimizationEnabled;
|
|
307
315
|
private microtaskQueue;
|
|
308
316
|
private isProcessingMicrotasks;
|
|
317
|
+
private animationFrameQueue;
|
|
318
|
+
private isProcessingAnimationFrames;
|
|
319
|
+
private objectPool;
|
|
320
|
+
private maxPoolSize;
|
|
321
|
+
private getPooledObject;
|
|
322
|
+
private returnToPool;
|
|
309
323
|
private scheduleMicrotask;
|
|
310
324
|
private processMicrotaskQueue;
|
|
325
|
+
private scheduleAnimationFrame;
|
|
326
|
+
private processAnimationFrameQueue;
|
|
311
327
|
private weakRefRegistry;
|
|
312
328
|
registerForAdvancedCleanup(obj: object, cleanup: () => void): void;
|
|
313
329
|
cleanupWeakRefs(): void;
|
|
@@ -591,13 +607,14 @@ export declare class TimeSheetComponent implements OnInit, OnChanges, AfterViewI
|
|
|
591
607
|
deatilsList: any;
|
|
592
608
|
openExpendIndex: any;
|
|
593
609
|
positionedYet: boolean;
|
|
610
|
+
private shouldHideAddLeave;
|
|
594
611
|
onRightClick(event: MouseEvent | TouchEvent, item: any, context?: 'main' | 'accordion-parent' | 'accordion-child'): boolean;
|
|
595
612
|
onActionClick(action: string): void;
|
|
596
613
|
onVerifyClick(type: string): void;
|
|
597
614
|
getCellClasses(column: any, value: any): string;
|
|
598
615
|
removeColumnFilterFromColumn(column: any): void;
|
|
599
616
|
onSideMenuColumnsVisibilityChange(): void;
|
|
600
|
-
downloadCsv(): void;
|
|
617
|
+
downloadCsv(type?: string): void;
|
|
601
618
|
onFontChange(): void;
|
|
602
619
|
onGlobalSearch(): void;
|
|
603
620
|
onSearchReset(): void;
|
|
@@ -658,6 +675,7 @@ export declare class TimeSheetComponent implements OnInit, OnChanges, AfterViewI
|
|
|
658
675
|
redo(): void;
|
|
659
676
|
onPaste(event: ClipboardEvent): Promise<void>;
|
|
660
677
|
isDate(value: any): boolean;
|
|
678
|
+
formatLogState(value: any): string;
|
|
661
679
|
detailEditingKey: string | null;
|
|
662
680
|
activeDetailRow: any;
|
|
663
681
|
activeDetailCol: any;
|
|
@@ -723,7 +741,6 @@ export declare class TimeSheetComponent implements OnInit, OnChanges, AfterViewI
|
|
|
723
741
|
private currentTooltip;
|
|
724
742
|
getEmployeeNameTitle(row: any): string;
|
|
725
743
|
getTooltipContent(dataItem: any, field: string): string;
|
|
726
|
-
getBreakColor(type: string): string;
|
|
727
744
|
minuteOptions: number[];
|
|
728
745
|
tooltipMinutes: number;
|
|
729
746
|
formattedDuration: string;
|
|
@@ -832,9 +849,17 @@ export declare class TimeSheetComponent implements OnInit, OnChanges, AfterViewI
|
|
|
832
849
|
onRangeChange(value: Date[]): void;
|
|
833
850
|
clearDateRange(): void;
|
|
834
851
|
togglePicker(picker: BsDaterangepickerDirective): void;
|
|
852
|
+
navigateDate(direction: 'left' | 'right'): void;
|
|
835
853
|
onRangeSelected(range: (Date | undefined)[] | undefined, picker: BsDaterangepickerDirective): void;
|
|
836
854
|
onMainScroll(event: Event): void;
|
|
837
855
|
ngOnDestroy(): void;
|
|
856
|
+
buttons: {
|
|
857
|
+
name: string;
|
|
858
|
+
iconPath: string;
|
|
859
|
+
is_showIcon: boolean;
|
|
860
|
+
has_permission: boolean | (() => boolean);
|
|
861
|
+
condition?: string | null;
|
|
862
|
+
}[];
|
|
838
863
|
emailClicked: EventEmitter<void>;
|
|
839
864
|
addAttendanceClicked: EventEmitter<void>;
|
|
840
865
|
isStartDateNotEqualToEndDate: () => boolean;
|
|
@@ -852,7 +877,9 @@ export declare class TimeSheetComponent implements OnInit, OnChanges, AfterViewI
|
|
|
852
877
|
exportDailyClicked: EventEmitter<void>;
|
|
853
878
|
deleteClicked: EventEmitter<void>;
|
|
854
879
|
onDeleteClick(): void;
|
|
880
|
+
onActionButtonClick(name: string): void;
|
|
855
881
|
get areDatesSelectedAndEqual(): boolean;
|
|
882
|
+
get hasAccordionDetails(): boolean;
|
|
856
883
|
isArray(value: any): boolean;
|
|
857
884
|
getTimelineHours(): string[];
|
|
858
885
|
getTimePosition(timeString: string): number;
|
|
@@ -867,19 +894,18 @@ export declare class TimeSheetComponent implements OnInit, OnChanges, AfterViewI
|
|
|
867
894
|
calculateTotalHours(row: any): string;
|
|
868
895
|
getAvatarColor(name: string): string;
|
|
869
896
|
getInitialss(name: string): string;
|
|
870
|
-
getStatusBadgeClass(status: string):
|
|
871
|
-
getAttendanceStatusBadgeClass(status: string):
|
|
897
|
+
getStatusBadgeClass(status: string): string;
|
|
898
|
+
getAttendanceStatusBadgeClass(status: string): string;
|
|
872
899
|
getHeatmapMonths(): string[];
|
|
873
900
|
getHeatmapWeeks(): any[][];
|
|
874
901
|
getActivityForDate(date: Date): number;
|
|
875
902
|
getHeatmapColor(activity: number): string;
|
|
876
903
|
getHeatmapTooltip(day: any): string;
|
|
877
|
-
shortLeaveTooltipPosition: {
|
|
878
|
-
x: number;
|
|
879
|
-
y: number;
|
|
880
|
-
};
|
|
881
904
|
formatDate(date: string | Date): string;
|
|
905
|
+
showShortLeaveTooltip(event: MouseEvent, row: any): void;
|
|
906
|
+
hideShortLeaveTooltip(): void;
|
|
907
|
+
preventShortLeaveTooltipHide(): void;
|
|
882
908
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimeSheetComponent, never>;
|
|
883
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimeSheetComponent, "time-sheet", never, { "paginationConfig": { "alias": "paginationConfig"; "required": false; }; "dataSet": { "alias": "dataSet"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "headerRowHeight": { "alias": "headerRowHeight"; "required": false; }; "showVerticalBorder": { "alias": "showVerticalBorder"; "required": false; }; "evenRowsBackgroundColor": { "alias": "evenRowsBackgroundColor"; "required": false; }; "oddRowsBackgroundColor": { "alias": "oddRowsBackgroundColor"; "required": false; }; "headerBackgroundColor": { "alias": "headerBackgroundColor"; "required": false; }; "checkboxesBackgroundColor": { "alias": "checkboxesBackgroundColor"; "required": false; }; "showColumnsGrouping": { "alias": "showColumnsGrouping"; "required": false; }; "rowHoverColor": { "alias": "rowHoverColor"; "required": false; }; "leftPinnedBackgroundColor": { "alias": "leftPinnedBackgroundColor"; "required": false; }; "bodyBackgroundColor": { "alias": "bodyBackgroundColor"; "required": false; }; "rightPinnedBackgroundColor": { "alias": "rightPinnedBackgroundColor"; "required": false; }; "sidemenuBackgroundColor": { "alias": "sidemenuBackgroundColor"; "required": false; }; "bodyTextColor": { "alias": "bodyTextColor"; "required": false; }; "headerTextColor": { "alias": "headerTextColor"; "required": false; }; "headerTextFontsSize": { "alias": "headerTextFontsSize"; "required": false; }; "bodyTextFontsSize": { "alias": "bodyTextFontsSize"; "required": false; }; "headerFontWeight": { "alias": "headerFontWeight"; "required": false; }; "bodyFontWeight": { "alias": "bodyFontWeight"; "required": false; }; "checkedRowBackgroundColor": { "alias": "checkedRowBackgroundColor"; "required": false; }; "dropdownsBackgroundColor": { "alias": "dropdownsBackgroundColor"; "required": false; }; "footerRowHeight": { "alias": "footerRowHeight"; "required": false; }; "topGroupedBadgesBackgroundColor": { "alias": "topGroupedBadgesBackgroundColor"; "required": false; }; "showRowsGrouping": { "alias": "showRowsGrouping"; "required": false; }; "showFilterRow": { "alias": "showFilterRow"; "required": false; }; "fontFaimly": { "alias": "fontFaimly"; "required": false; }; "showSideMenu": { "alias": "showSideMenu"; "required": false; }; "footerPadding": { "alias": "footerPadding"; "required": false; }; "topFilterRowHeight": { "alias": "topFilterRowHeight"; "required": false; }; "rowShadingEnabled": { "alias": "rowShadingEnabled"; "required": false; }; "showSerialNumber": { "alias": "showSerialNumber"; "required": false; }; "singleSpaAssetsPath": { "alias": "singleSpaAssetsPath"; "required": false; }; "filtersConfig": { "alias": "filtersConfig"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "verticalScrollbarWidth": { "alias": "verticalScrollbarWidth"; "required": false; }; "horizintalScrollbarWidth": { "alias": "horizintalScrollbarWidth"; "required": false; }; "showCellDetailsBox": { "alias": "showCellDetailsBox"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "tableSearch": { "alias": "tableSearch"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "config": { "alias": "config"; "required": false; }; "showTaskbar": { "alias": "showTaskbar"; "required": false; }; "tableName": { "alias": "tableName"; "required": false; }; "listingType": { "alias": "listingType"; "required": false; }; "checkboxState": { "alias": "checkboxState"; "required": false; }; "taskbarActions": { "alias": "taskbarActions"; "required": false; }; "sortingConfig": { "alias": "sortingConfig"; "required": false; }; "tableFilterViewId": { "alias": "tableFilterViewId"; "required": false; }; "selectedTableLayout": { "alias": "selectedTableLayout"; "required": false; }; "closeDropdown": { "alias": "closeDropdown"; "required": false; }; "globalSearchText": { "alias": "globalSearchText"; "required": false; }; "nestedTablerowFontsize": { "alias": "nestedTablerowFontsize"; "required": false; }; "nestedTableHeaderRowHeight": { "alias": "nestedTableHeaderRowHeight"; "required": false; }; "nestedTablerowHeight": { "alias": "nestedTablerowHeight"; "required": false; }; "gridType": { "alias": "gridType"; "required": false; }; "isSingleDay": { "alias": "isSingleDay"; "required": false; }; "leftPinnedBoxshadow": { "alias": "leftPinnedBoxshadow"; "required": false; }; "rightPinnedBoxshadow": { "alias": "rightPinnedBoxshadow"; "required": false; }; "enableAccordionShadow": { "alias": "enableAccordionShadow"; "required": false; }; "enableAccordionSeparators": { "alias": "enableAccordionSeparators"; "required": false; }; "enableRowShading": { "alias": "enableRowShading"; "required": false; }; "selectedRowsBackgroundColor": { "alias": "selectedRowsBackgroundColor"; "required": false; }; "nestedTableHeaderBAckgroundColor": { "alias": "nestedTableHeaderBAckgroundColor"; "required": false; }; "tableView": { "alias": "tableView"; "required": false; }; "columnThreedotsMunuConfig": { "alias": "columnThreedotsMunuConfig"; "required": false; }; "timezonePrefs": { "alias": "timezonePrefs"; "required": false; }; "enableProgressiveLoading": { "alias": "enableProgressiveLoading"; "required": false; }; "progressiveChunkSize": { "alias": "progressiveChunkSize"; "required": false; }; "progressiveDelay": { "alias": "progressiveDelay"; "required": false; }; "enableInfiniteScroll": { "alias": "enableInfiniteScroll"; "required": false; }; "hasMoreData": { "alias": "hasMoreData"; "required": false; }; "loadingMore": { "alias": "loadingMore"; "required": false; }; "detailsIconPosition": { "alias": "detailsIconPosition"; "required": false; }; "detailsPosition": { "alias": "detailsPosition"; "required": false; }; "isStartDateNotEqualToEndDate": { "alias": "isStartDateNotEqualToEndDate"; "required": false; }; }, { "onShortBreakClick": "onShortBreakClick"; "searchEvent": "searchEvent"; "loadMoreData": "loadMoreData"; "changeLayout": "changeLayout"; "filterOptions": "filterOptions"; "genericEvent": "genericEvent"; "tablePresetConfig": "tablePresetConfig"; "sortingOrderOptions": "sortingOrderOptions"; "createUpdateConfigListing": "createUpdateConfigListing"; "loadMore": "loadMore"; "emailClicked": "emailClicked"; "addAttendanceClicked": "addAttendanceClicked"; "backPayClicked": "backPayClicked"; "grandTotalClicked": "grandTotalClicked"; "printClicked": "printClicked"; "exportClicked": "exportClicked"; "exportDailyClicked": "exportDailyClicked"; "deleteClicked": "deleteClicked"; }, never, never, true, never>;
|
|
909
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimeSheetComponent, "time-sheet", never, { "paginationConfig": { "alias": "paginationConfig"; "required": false; }; "dataSet": { "alias": "dataSet"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "headerRowHeight": { "alias": "headerRowHeight"; "required": false; }; "showVerticalBorder": { "alias": "showVerticalBorder"; "required": false; }; "evenRowsBackgroundColor": { "alias": "evenRowsBackgroundColor"; "required": false; }; "oddRowsBackgroundColor": { "alias": "oddRowsBackgroundColor"; "required": false; }; "headerBackgroundColor": { "alias": "headerBackgroundColor"; "required": false; }; "checkboxesBackgroundColor": { "alias": "checkboxesBackgroundColor"; "required": false; }; "showColumnsGrouping": { "alias": "showColumnsGrouping"; "required": false; }; "rowHoverColor": { "alias": "rowHoverColor"; "required": false; }; "leftPinnedBackgroundColor": { "alias": "leftPinnedBackgroundColor"; "required": false; }; "bodyBackgroundColor": { "alias": "bodyBackgroundColor"; "required": false; }; "rightPinnedBackgroundColor": { "alias": "rightPinnedBackgroundColor"; "required": false; }; "sidemenuBackgroundColor": { "alias": "sidemenuBackgroundColor"; "required": false; }; "bodyTextColor": { "alias": "bodyTextColor"; "required": false; }; "headerTextColor": { "alias": "headerTextColor"; "required": false; }; "headerTextFontsSize": { "alias": "headerTextFontsSize"; "required": false; }; "bodyTextFontsSize": { "alias": "bodyTextFontsSize"; "required": false; }; "headerFontWeight": { "alias": "headerFontWeight"; "required": false; }; "bodyFontWeight": { "alias": "bodyFontWeight"; "required": false; }; "checkedRowBackgroundColor": { "alias": "checkedRowBackgroundColor"; "required": false; }; "dropdownsBackgroundColor": { "alias": "dropdownsBackgroundColor"; "required": false; }; "footerRowHeight": { "alias": "footerRowHeight"; "required": false; }; "topGroupedBadgesBackgroundColor": { "alias": "topGroupedBadgesBackgroundColor"; "required": false; }; "showRowsGrouping": { "alias": "showRowsGrouping"; "required": false; }; "showFilterRow": { "alias": "showFilterRow"; "required": false; }; "fontFaimly": { "alias": "fontFaimly"; "required": false; }; "showSideMenu": { "alias": "showSideMenu"; "required": false; }; "footerPadding": { "alias": "footerPadding"; "required": false; }; "topFilterRowHeight": { "alias": "topFilterRowHeight"; "required": false; }; "rowShadingEnabled": { "alias": "rowShadingEnabled"; "required": false; }; "showSerialNumber": { "alias": "showSerialNumber"; "required": false; }; "enableExport": { "alias": "enableExport"; "required": false; }; "singleSpaAssetsPath": { "alias": "singleSpaAssetsPath"; "required": false; }; "filtersConfig": { "alias": "filtersConfig"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "verticalScrollbarWidth": { "alias": "verticalScrollbarWidth"; "required": false; }; "horizintalScrollbarWidth": { "alias": "horizintalScrollbarWidth"; "required": false; }; "showCellDetailsBox": { "alias": "showCellDetailsBox"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "tableSearch": { "alias": "tableSearch"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "config": { "alias": "config"; "required": false; }; "showTaskbar": { "alias": "showTaskbar"; "required": false; }; "tableName": { "alias": "tableName"; "required": false; }; "listingType": { "alias": "listingType"; "required": false; }; "checkboxState": { "alias": "checkboxState"; "required": false; }; "taskbarActions": { "alias": "taskbarActions"; "required": false; }; "sortingConfig": { "alias": "sortingConfig"; "required": false; }; "tableFilterViewId": { "alias": "tableFilterViewId"; "required": false; }; "selectedTableLayout": { "alias": "selectedTableLayout"; "required": false; }; "closeDropdown": { "alias": "closeDropdown"; "required": false; }; "globalSearchText": { "alias": "globalSearchText"; "required": false; }; "nestedTablerowFontsize": { "alias": "nestedTablerowFontsize"; "required": false; }; "nestedTableHeaderRowHeight": { "alias": "nestedTableHeaderRowHeight"; "required": false; }; "nestedTablerowHeight": { "alias": "nestedTablerowHeight"; "required": false; }; "gridType": { "alias": "gridType"; "required": false; }; "isSingleDay": { "alias": "isSingleDay"; "required": false; }; "leftPinnedBoxshadow": { "alias": "leftPinnedBoxshadow"; "required": false; }; "rightPinnedBoxshadow": { "alias": "rightPinnedBoxshadow"; "required": false; }; "enableAccordionShadow": { "alias": "enableAccordionShadow"; "required": false; }; "enableAccordionSeparators": { "alias": "enableAccordionSeparators"; "required": false; }; "enableRowShading": { "alias": "enableRowShading"; "required": false; }; "selectedRowsBackgroundColor": { "alias": "selectedRowsBackgroundColor"; "required": false; }; "nestedTableHeaderBAckgroundColor": { "alias": "nestedTableHeaderBAckgroundColor"; "required": false; }; "tableView": { "alias": "tableView"; "required": false; }; "columnThreedotsMunuConfig": { "alias": "columnThreedotsMunuConfig"; "required": false; }; "timezonePrefs": { "alias": "timezonePrefs"; "required": false; }; "enableProgressiveLoading": { "alias": "enableProgressiveLoading"; "required": false; }; "progressiveChunkSize": { "alias": "progressiveChunkSize"; "required": false; }; "progressiveDelay": { "alias": "progressiveDelay"; "required": false; }; "enableInfiniteScroll": { "alias": "enableInfiniteScroll"; "required": false; }; "hasMoreData": { "alias": "hasMoreData"; "required": false; }; "loadingMore": { "alias": "loadingMore"; "required": false; }; "detailsIconPosition": { "alias": "detailsIconPosition"; "required": false; }; "detailsPosition": { "alias": "detailsPosition"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "isStartDateNotEqualToEndDate": { "alias": "isStartDateNotEqualToEndDate"; "required": false; }; }, { "onShortBreakClick": "onShortBreakClick"; "searchEvent": "searchEvent"; "loadMoreData": "loadMoreData"; "changeLayout": "changeLayout"; "filterOptions": "filterOptions"; "genericEvent": "genericEvent"; "tablePresetConfig": "tablePresetConfig"; "sortingOrderOptions": "sortingOrderOptions"; "createUpdateConfigListing": "createUpdateConfigListing"; "loadMore": "loadMore"; "emailClicked": "emailClicked"; "addAttendanceClicked": "addAttendanceClicked"; "backPayClicked": "backPayClicked"; "grandTotalClicked": "grandTotalClicked"; "printClicked": "printClicked"; "exportClicked": "exportClicked"; "exportDailyClicked": "exportDailyClicked"; "deleteClicked": "deleteClicked"; }, never, never, true, never>;
|
|
884
910
|
}
|
|
885
911
|
export {};
|
package/package.json
CHANGED
package/esm2022/lib/statuses.mjs
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export const STATUSES_BADGE_MAP = {
|
|
2
|
-
// Success – Green
|
|
3
|
-
'active': 'badge badge-success',
|
|
4
|
-
'approved': 'badge badge-success',
|
|
5
|
-
'accepted': 'badge badge-success',
|
|
6
|
-
'completed': 'badge badge-success',
|
|
7
|
-
'evaluated': 'badge badge-success',
|
|
8
|
-
'assigned': 'badge badge-success',
|
|
9
|
-
'scrap': 'badge badge-success',
|
|
10
|
-
'move-available': 'badge badge-success',
|
|
11
|
-
'move-assigned': 'badge badge-success',
|
|
12
|
-
// Warning – Yellow/Amber
|
|
13
|
-
'contract': 'badge badge-warning',
|
|
14
|
-
'warranty': 'badge badge-warning',
|
|
15
|
-
'scheduled': 'badge badge-warning',
|
|
16
|
-
'leased': 'badge badge-warning',
|
|
17
|
-
'disposed': 'badge badge-warning',
|
|
18
|
-
'maintenance': 'badge badge-warning',
|
|
19
|
-
'assigning start': 'badge badge-warning',
|
|
20
|
-
'evaluation start': 'badge badge-warning',
|
|
21
|
-
'to be start assigning': 'badge badge-warning',
|
|
22
|
-
'pending': 'badge badge-warning',
|
|
23
|
-
'leave': 'badge badge-warning',
|
|
24
|
-
// Danger – Red
|
|
25
|
-
'inactive': 'badge badge-danger',
|
|
26
|
-
'rejected': 'badge badge-danger',
|
|
27
|
-
'unassigned': 'badge badge-danger',
|
|
28
|
-
'trashed': 'badge badge-danger',
|
|
29
|
-
'onhold': 'badge badge-danger',
|
|
30
|
-
'assigning stop': 'badge badge-danger',
|
|
31
|
-
'evaluation stop': 'badge badge-danger',
|
|
32
|
-
'unavailable': 'badge badge-danger',
|
|
33
|
-
'move-error': 'badge badge-danger',
|
|
34
|
-
'failed': 'badge badge-danger',
|
|
35
|
-
'absent': 'badge badge-danger',
|
|
36
|
-
// Info – Blue
|
|
37
|
-
'insurance': 'badge badge-info',
|
|
38
|
-
'pastdue': 'badge badge-info',
|
|
39
|
-
// Dark – Neutral/Other
|
|
40
|
-
'expired': 'badge badge-dark',
|
|
41
|
-
'draft': 'badge badge-dark',
|
|
42
|
-
'present': 'badge badge-success'
|
|
43
|
-
};
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9tcy10aW1lLXNoZWV0L3NyYy9saWIvc3RhdHVzZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sa0JBQWtCLEdBQThCO0lBQzNELG1CQUFtQjtJQUNuQixRQUFRLEVBQUUscUJBQXFCO0lBQy9CLFVBQVUsRUFBRSxxQkFBcUI7SUFDakMsVUFBVSxFQUFFLHFCQUFxQjtJQUNqQyxXQUFXLEVBQUUscUJBQXFCO0lBQ2xDLFdBQVcsRUFBRSxxQkFBcUI7SUFDbEMsVUFBVSxFQUFFLHFCQUFxQjtJQUNqQyxPQUFPLEVBQUUscUJBQXFCO0lBQzlCLGdCQUFnQixFQUFFLHFCQUFxQjtJQUN2QyxlQUFlLEVBQUUscUJBQXFCO0lBRXRDLHlCQUF5QjtJQUN6QixVQUFVLEVBQUUscUJBQXFCO0lBQ2pDLFVBQVUsRUFBRSxxQkFBcUI7SUFDakMsV0FBVyxFQUFFLHFCQ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