@fixefy/fixefy-ui-utils 0.0.1 → 0.0.2
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-cjs/{commander/index.js → index.js} +2 -0
- package/dist-es/index.js +3 -0
- package/dist-types/commander/index.d.ts +33 -1
- package/dist-types/index.d.ts +3 -0
- package/package.json +1 -1
- package/dist-es/commander/index.js +0 -1
- package/dist-types/commander/commander.d.ts +0 -33
- /package/dist-cjs/commander/{commander.jsx → index.jsx} +0 -0
- /package/dist-es/commander/{commander.jsx → index.jsx} +0 -0
|
@@ -2,3 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./commander"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./constants"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./page_context"), exports);
|
package/dist-es/index.js
ADDED
|
@@ -1 +1,33 @@
|
|
|
1
|
-
|
|
1
|
+
import { Maybe } from '@fixefy/fixefy-entities';
|
|
2
|
+
export declare function buildCode(obj: any, level: number | undefined, name: string): string[];
|
|
3
|
+
export declare const copyToClipboard: (str: string) => void;
|
|
4
|
+
export declare function convertToString(input: any): Maybe<string>;
|
|
5
|
+
export declare const determineIconByEvent: (event: {
|
|
6
|
+
type: string;
|
|
7
|
+
}) => string | undefined;
|
|
8
|
+
export declare function formatNumberWithCommas(number: number): string;
|
|
9
|
+
export declare function getNormalizationKeyForEntity(entity_type: string): string;
|
|
10
|
+
export declare const getStringValueByValueType: ({ value, name }: {
|
|
11
|
+
value: any;
|
|
12
|
+
name: string;
|
|
13
|
+
}) => any;
|
|
14
|
+
export declare function getVal(val: any): any;
|
|
15
|
+
export declare const isInServer: () => boolean;
|
|
16
|
+
export declare const isValidTimestamp: (_timestamp: any) => boolean;
|
|
17
|
+
export declare function lineString(level: any, name?: String): string;
|
|
18
|
+
export declare function makeString(len?: number): string;
|
|
19
|
+
export declare const nest: ({ items }: {
|
|
20
|
+
items: Array<any>;
|
|
21
|
+
}) => any[];
|
|
22
|
+
export declare function normalizeTimestamp(timestamp: any, options: any): string;
|
|
23
|
+
export declare function normalizeStringBodyRaw(key: string, body: any): any;
|
|
24
|
+
export declare function titleCase(str?: string): string;
|
|
25
|
+
export declare function toCamelCase(inputArray: Maybe<Array<any>>): string;
|
|
26
|
+
export declare function toCamelCaseString(input: string): string;
|
|
27
|
+
export declare const toCurrency: (input: string | number) => string | number;
|
|
28
|
+
export declare const toInitials: (str: string) => string | undefined;
|
|
29
|
+
export declare function toPascalCase(string: string, title?: boolean): string;
|
|
30
|
+
export declare function toWords(input: Maybe<string>): RegExpMatchArray | null | undefined;
|
|
31
|
+
export declare function trimRuleCode(input: any): string;
|
|
32
|
+
export declare const useStatePromisify: (_state: any) => any[];
|
|
33
|
+
export declare const getScoreColor: (value: number) => "bad" | "low" | "medium" | "high" | "excellent";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './commander';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Maybe } from '@fixefy/fixefy-entities';
|
|
2
|
-
export declare function buildCode(obj: any, level: number | undefined, name: string): string[];
|
|
3
|
-
export declare const copyToClipboard: (str: string) => void;
|
|
4
|
-
export declare function convertToString(input: any): Maybe<string>;
|
|
5
|
-
export declare const determineIconByEvent: (event: {
|
|
6
|
-
type: string;
|
|
7
|
-
}) => string | undefined;
|
|
8
|
-
export declare function formatNumberWithCommas(number: number): string;
|
|
9
|
-
export declare function getNormalizationKeyForEntity(entity_type: string): string;
|
|
10
|
-
export declare const getStringValueByValueType: ({ value, name }: {
|
|
11
|
-
value: any;
|
|
12
|
-
name: string;
|
|
13
|
-
}) => any;
|
|
14
|
-
export declare function getVal(val: any): any;
|
|
15
|
-
export declare const isInServer: () => boolean;
|
|
16
|
-
export declare const isValidTimestamp: (_timestamp: any) => boolean;
|
|
17
|
-
export declare function lineString(level: any, name?: String): string;
|
|
18
|
-
export declare function makeString(len?: number): string;
|
|
19
|
-
export declare const nest: ({ items }: {
|
|
20
|
-
items: Array<any>;
|
|
21
|
-
}) => any[];
|
|
22
|
-
export declare function normalizeTimestamp(timestamp: any, options: any): string;
|
|
23
|
-
export declare function normalizeStringBodyRaw(key: string, body: any): any;
|
|
24
|
-
export declare function titleCase(str?: string): string;
|
|
25
|
-
export declare function toCamelCase(inputArray: Maybe<Array<any>>): string;
|
|
26
|
-
export declare function toCamelCaseString(input: string): string;
|
|
27
|
-
export declare const toCurrency: (input: string | number) => string | number;
|
|
28
|
-
export declare const toInitials: (str: string) => string | undefined;
|
|
29
|
-
export declare function toPascalCase(string: string, title?: boolean): string;
|
|
30
|
-
export declare function toWords(input: Maybe<string>): RegExpMatchArray | null | undefined;
|
|
31
|
-
export declare function trimRuleCode(input: any): string;
|
|
32
|
-
export declare const useStatePromisify: (_state: any) => any[];
|
|
33
|
-
export declare const getScoreColor: (value: number) => "bad" | "low" | "medium" | "high" | "excellent";
|
|
File without changes
|
|
File without changes
|