pace-table-lib 1.0.22 → 1.0.24
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/dist/components/SortUI/ContextMenu.d.ts +9 -0
- package/dist/components/StaticTable/HelperFunctions.d.ts +4 -0
- package/dist/components/StaticTable/StaticTableConst.d.ts +15 -1
- package/dist/pace-table-lib.es.js +535 -228
- package/dist/pace-table-lib.es.js.map +1 -1
- package/dist/pace-table-lib.umd.js +534 -227
- package/dist/pace-table-lib.umd.js.map +1 -1
- package/dist/stats.html +1 -1
- package/package.json +1 -1
|
@@ -13,3 +13,7 @@ export declare function compareVal(a: number, op: string, b: number): boolean;
|
|
|
13
13
|
export declare function applyConditionalFormatting(style: CSSProperties, conFormat?: any): CSSProperties;
|
|
14
14
|
export declare function applyFormat(obj: any, format: any): void;
|
|
15
15
|
export declare function getPercentageBy(dataValue: any, totalValue: any): number;
|
|
16
|
+
export declare function createBorder(bWidth: number, bType: string, bColor: string): string;
|
|
17
|
+
export declare function calculateWidthHeightDynamically(content: string, fontSize: number, fontFamily: string, fixedWidth?: number): number;
|
|
18
|
+
export declare function applyTextRelatedCss(headerArr: any[], flag: boolean): any[];
|
|
19
|
+
export declare function applyTextCssForCorners(headerArr: any[], flag: boolean): any[];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CONDITIONAL_FORMAT_FOR } from "./StaticTableTypeDec.types";
|
|
2
2
|
export declare const TOTAL = "Total";
|
|
3
|
-
export declare const BORDER_STYLE = "1px solid #ccc";
|
|
4
3
|
export declare const MONTHS_SHORT: string[];
|
|
5
4
|
export declare const MONTHS_FULL: string[];
|
|
6
5
|
export declare const DATE_FORMATS: string[];
|
|
@@ -64,3 +63,18 @@ export declare const VALUE_FORMAT_OBJ: {
|
|
|
64
63
|
readonly COMMA: "Comma Separated";
|
|
65
64
|
};
|
|
66
65
|
export declare const ConFormattingTypeMap: Record<CONDITIONAL_FORMAT_FOR, string>;
|
|
66
|
+
export declare const TEXT_STYLES: {
|
|
67
|
+
wrap: {
|
|
68
|
+
"--wBreak": string;
|
|
69
|
+
"--wSpace": string;
|
|
70
|
+
};
|
|
71
|
+
nowrap: {
|
|
72
|
+
"--overFlow": string;
|
|
73
|
+
"--wSpace": string;
|
|
74
|
+
"--tOverFlow": string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
export declare const SORT_OP: {
|
|
78
|
+
LOW_TO_HIGH: string;
|
|
79
|
+
HIGH_TO_LOW: string;
|
|
80
|
+
};
|