@clickview/curator 1.0.18-dev.0 → 1.0.18-dev.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/dist/curator-app.js +3 -3
- package/dist/libs/common/src/react/utils/TextHelper.d.ts +10 -0
- package/dist/projects/curator/src/shared/utils/index.d.ts +0 -1
- package/package.json +3 -3
- package/dist/libs/common/src/backbone/utils/ConcurrencyHelper.d.ts +0 -13
- package/dist/projects/curator/src/shared/services/LanguageDataService.d.ts +0 -11
- package/dist/projects/curator/src/shared/utils/StringHelper.d.ts +0 -6
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ObjectHash } from 'backbone';
|
|
3
|
+
export declare const TextHelper: {
|
|
4
|
+
escapeExpression(text: string): string;
|
|
5
|
+
escapeRegExp(str: string): string;
|
|
6
|
+
slugify(str: string): string;
|
|
7
|
+
linkifyText(text: string, options?: ObjectHash): string;
|
|
8
|
+
isEqual(str1: import("react").Key, str2: import("react").Key): boolean;
|
|
9
|
+
toTitleCase(str: string): string;
|
|
10
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clickview/curator",
|
|
3
|
-
"version": "1.0.18-dev.
|
|
3
|
+
"version": "1.0.18-dev.1",
|
|
4
4
|
"description": "curator",
|
|
5
5
|
"main": "dist/curator-app.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"author": "Matt Trengrove",
|
|
21
21
|
"license": "ISC",
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@clickview/tooling": "0.0.18-dev.
|
|
23
|
+
"@clickview/tooling": "0.0.18-dev.1",
|
|
24
24
|
"@types/cropperjs": "1.3.0",
|
|
25
25
|
"@types/react-copy-to-clipboard": "4.3.0",
|
|
26
26
|
"@types/react-transition-group": "4.2.3",
|
|
27
27
|
"@types/yup": "0.26.24"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@clickview/styles": "1.0.8-dev.
|
|
30
|
+
"@clickview/styles": "1.0.8-dev.1",
|
|
31
31
|
"cropperjs": "1.5.6",
|
|
32
32
|
"marked": "0.8.0",
|
|
33
33
|
"react-copy-to-clipboard": "5.0.2",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Not really for concurrency 😂
|
|
3
|
-
* But useful in circumstances where we need to manually wait for
|
|
4
|
-
* a sequence of callbacks or other resources to execute and don't
|
|
5
|
-
* want the overhead of promises.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ConcurrencyHelper {
|
|
8
|
-
private value;
|
|
9
|
-
constructor(initialValue: number);
|
|
10
|
-
increment(): void;
|
|
11
|
-
decrement(): void;
|
|
12
|
-
getValue(): number;
|
|
13
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseDataService } from "../../../../../libs/common/src/backbone/services/BaseDataService";
|
|
2
|
-
interface LanguageConfig {
|
|
3
|
-
locale: string;
|
|
4
|
-
phrases: any;
|
|
5
|
-
}
|
|
6
|
-
export declare class LanguageDataService extends BaseDataService {
|
|
7
|
-
get name(): string;
|
|
8
|
-
get channelName(): string;
|
|
9
|
-
getLanguageConfig(callback?: (languageConfig: LanguageConfig) => void): void;
|
|
10
|
-
}
|
|
11
|
-
export {};
|