@elliemae/ds-wysiwygeditor 2.3.0-alpha.1 → 2.3.0-alpha.6
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/{cjs → dist/cjs}/DSWYSIWYGEditor.js +0 -0
- package/{cjs → dist/cjs}/DSWYSIWYGEditor.js.map +0 -0
- package/{cjs → dist/cjs}/components/CustomImageUploader.js +0 -0
- package/{cjs → dist/cjs}/components/CustomImageUploader.js.map +0 -0
- package/{cjs → dist/cjs}/components/CustomToolbar.js +0 -0
- package/{cjs → dist/cjs}/components/CustomToolbar.js.map +0 -0
- package/{cjs → dist/cjs}/components/DSWYSIWYGEditorImpl.js +0 -0
- package/{cjs → dist/cjs}/components/DSWYSIWYGEditorImpl.js.map +0 -0
- package/{cjs → dist/cjs}/components/ImageLibraryModal.js +0 -0
- package/{cjs → dist/cjs}/components/ImageLibraryModal.js.map +0 -0
- package/{cjs → dist/cjs}/components/InsertFieldModal.js +0 -0
- package/{cjs → dist/cjs}/components/InsertFieldModal.js.map +0 -0
- package/{cjs → dist/cjs}/components/TippedButton.js +0 -0
- package/{cjs → dist/cjs}/components/TippedButton.js.map +0 -0
- package/{cjs → dist/cjs}/components/TippedSelect.js +0 -0
- package/{cjs → dist/cjs}/components/TippedSelect.js.map +0 -0
- package/{cjs → dist/cjs}/components/colors.js +0 -0
- package/{cjs → dist/cjs}/components/colors.js.map +0 -0
- package/{cjs → dist/cjs}/components/customFields.js +0 -0
- package/{cjs → dist/cjs}/components/customFields.js.map +0 -0
- package/{cjs → dist/cjs}/constants.js +0 -0
- package/{cjs → dist/cjs}/constants.js.map +0 -0
- package/{cjs → dist/cjs}/index.js +0 -0
- package/{cjs → dist/cjs}/index.js.map +0 -0
- package/{cjs → dist/cjs}/quillMatchers/clipboardLinkWithTagMatcher.js +0 -0
- package/{cjs → dist/cjs}/quillMatchers/clipboardLinkWithTagMatcher.js.map +0 -0
- package/{cjs → dist/cjs}/quillOverrides/IndentStyle.js +0 -0
- package/{cjs → dist/cjs}/quillOverrides/IndentStyle.js.map +0 -0
- package/{cjs → dist/cjs}/quillOverrides/LinkFormat.js +0 -0
- package/{cjs → dist/cjs}/quillOverrides/LinkFormat.js.map +0 -0
- package/{cjs → dist/cjs}/quillOverrides/PlainClipboard.js +0 -0
- package/{cjs → dist/cjs}/quillOverrides/PlainClipboard.js.map +0 -0
- package/{cjs → dist/cjs}/utils.js +0 -0
- package/{cjs → dist/cjs}/utils.js.map +0 -0
- package/{esm → dist/esm}/DSWYSIWYGEditor.js +0 -0
- package/{esm → dist/esm}/DSWYSIWYGEditor.js.map +0 -0
- package/{esm → dist/esm}/components/CustomImageUploader.js +0 -0
- package/{esm → dist/esm}/components/CustomImageUploader.js.map +0 -0
- package/{esm → dist/esm}/components/CustomToolbar.js +0 -0
- package/{esm → dist/esm}/components/CustomToolbar.js.map +0 -0
- package/{esm → dist/esm}/components/DSWYSIWYGEditorImpl.js +0 -0
- package/{esm → dist/esm}/components/DSWYSIWYGEditorImpl.js.map +0 -0
- package/{esm → dist/esm}/components/ImageLibraryModal.js +0 -0
- package/{esm → dist/esm}/components/ImageLibraryModal.js.map +0 -0
- package/{esm → dist/esm}/components/InsertFieldModal.js +0 -0
- package/{esm → dist/esm}/components/InsertFieldModal.js.map +0 -0
- package/{esm → dist/esm}/components/TippedButton.js +0 -0
- package/{esm → dist/esm}/components/TippedButton.js.map +0 -0
- package/{esm → dist/esm}/components/TippedSelect.js +0 -0
- package/{esm → dist/esm}/components/TippedSelect.js.map +0 -0
- package/{esm → dist/esm}/components/colors.js +0 -0
- package/{esm → dist/esm}/components/colors.js.map +0 -0
- package/{esm → dist/esm}/components/customFields.js +0 -0
- package/{esm → dist/esm}/components/customFields.js.map +0 -0
- package/{esm → dist/esm}/constants.js +0 -0
- package/{esm → dist/esm}/constants.js.map +0 -0
- package/{esm → dist/esm}/index.js +0 -0
- package/{esm → dist/esm}/index.js.map +0 -0
- package/{esm → dist/esm}/quillMatchers/clipboardLinkWithTagMatcher.js +0 -0
- package/{esm → dist/esm}/quillMatchers/clipboardLinkWithTagMatcher.js.map +0 -0
- package/{esm → dist/esm}/quillOverrides/IndentStyle.js +0 -0
- package/{esm → dist/esm}/quillOverrides/IndentStyle.js.map +0 -0
- package/{esm → dist/esm}/quillOverrides/LinkFormat.js +0 -0
- package/{esm → dist/esm}/quillOverrides/LinkFormat.js.map +0 -0
- package/{esm → dist/esm}/quillOverrides/PlainClipboard.js +0 -0
- package/{esm → dist/esm}/quillOverrides/PlainClipboard.js.map +0 -0
- package/{esm → dist/esm}/utils.js +0 -0
- package/{esm → dist/esm}/utils.js.map +0 -0
- package/package.json +58 -56
- package/types/DSWYSIWYGEditor.d.ts +0 -75
- package/types/components/CustomImageUploader.d.ts +0 -8
- package/types/components/CustomToolbar.d.ts +0 -21
- package/types/components/DSWYSIWYGEditorImpl.d.ts +0 -15
- package/types/components/ImageLibraryModal.d.ts +0 -31
- package/types/components/InsertFieldModal.d.ts +0 -41
- package/types/components/TippedButton.d.ts +0 -12
- package/types/components/TippedSelect.d.ts +0 -13
- package/types/components/colors.d.ts +0 -1
- package/types/components/customFields.d.ts +0 -36
- package/types/constants.d.ts +0 -26
- package/types/index.d.ts +0 -4
- package/types/quillMatchers/clipboardLinkWithTagMatcher.d.ts +0 -2
- package/types/quillOverrides/IndentStyle.d.ts +0 -10
- package/types/quillOverrides/LinkFormat.d.ts +0 -12
- package/types/quillOverrides/PlainClipboard.d.ts +0 -8
- package/types/utils.d.ts +0 -1
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,79 +1,82 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-wysiwygeditor",
|
|
3
|
-
"version": "2.3.0-alpha.
|
|
3
|
+
"version": "2.3.0-alpha.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - WYSIWYG Editor",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"module": "./dist/esm/index.js",
|
|
10
|
+
"main": "./dist/cjs/index.js",
|
|
11
|
+
"types": "./dist/types/index.d.ts",
|
|
9
12
|
"exports": {
|
|
10
13
|
".": {
|
|
11
|
-
"import": "./esm/index.js",
|
|
12
|
-
"require": "./cjs/index.js"
|
|
14
|
+
"import": "./dist/esm/index.js",
|
|
15
|
+
"require": "./dist/cjs/index.js"
|
|
13
16
|
},
|
|
14
17
|
"./utils": {
|
|
15
|
-
"import": "./esm/utils.js",
|
|
16
|
-
"require": "./cjs/utils.js"
|
|
18
|
+
"import": "./dist/esm/utils.js",
|
|
19
|
+
"require": "./dist/cjs/utils.js"
|
|
17
20
|
},
|
|
18
21
|
"./quillOverrides/PlainClipboard": {
|
|
19
|
-
"import": "./esm/quillOverrides/PlainClipboard.js",
|
|
20
|
-
"require": "./cjs/quillOverrides/PlainClipboard.js"
|
|
22
|
+
"import": "./dist/esm/quillOverrides/PlainClipboard.js",
|
|
23
|
+
"require": "./dist/cjs/quillOverrides/PlainClipboard.js"
|
|
21
24
|
},
|
|
22
25
|
"./quillOverrides/LinkFormat": {
|
|
23
|
-
"import": "./esm/quillOverrides/LinkFormat.js",
|
|
24
|
-
"require": "./cjs/quillOverrides/LinkFormat.js"
|
|
26
|
+
"import": "./dist/esm/quillOverrides/LinkFormat.js",
|
|
27
|
+
"require": "./dist/cjs/quillOverrides/LinkFormat.js"
|
|
25
28
|
},
|
|
26
29
|
"./quillOverrides/IndentStyle": {
|
|
27
|
-
"import": "./esm/quillOverrides/IndentStyle.js",
|
|
28
|
-
"require": "./cjs/quillOverrides/IndentStyle.js"
|
|
30
|
+
"import": "./dist/esm/quillOverrides/IndentStyle.js",
|
|
31
|
+
"require": "./dist/cjs/quillOverrides/IndentStyle.js"
|
|
29
32
|
},
|
|
30
33
|
"./quillMatchers/clipboardLinkWithTagMatcher": {
|
|
31
|
-
"import": "./esm/quillMatchers/clipboardLinkWithTagMatcher.js",
|
|
32
|
-
"require": "./cjs/quillMatchers/clipboardLinkWithTagMatcher.js"
|
|
34
|
+
"import": "./dist/esm/quillMatchers/clipboardLinkWithTagMatcher.js",
|
|
35
|
+
"require": "./dist/cjs/quillMatchers/clipboardLinkWithTagMatcher.js"
|
|
33
36
|
},
|
|
34
37
|
"./DSWYSIWYGEditor": {
|
|
35
|
-
"import": "./esm/DSWYSIWYGEditor.js",
|
|
36
|
-
"require": "./cjs/DSWYSIWYGEditor.js"
|
|
38
|
+
"import": "./dist/esm/DSWYSIWYGEditor.js",
|
|
39
|
+
"require": "./dist/cjs/DSWYSIWYGEditor.js"
|
|
37
40
|
},
|
|
38
41
|
"./constants": {
|
|
39
|
-
"import": "./esm/constants.js",
|
|
40
|
-
"require": "./cjs/constants.js"
|
|
42
|
+
"import": "./dist/esm/constants.js",
|
|
43
|
+
"require": "./dist/cjs/constants.js"
|
|
41
44
|
},
|
|
42
45
|
"./components/TippedSelect": {
|
|
43
|
-
"import": "./esm/components/TippedSelect.js",
|
|
44
|
-
"require": "./cjs/components/TippedSelect.js"
|
|
46
|
+
"import": "./dist/esm/components/TippedSelect.js",
|
|
47
|
+
"require": "./dist/cjs/components/TippedSelect.js"
|
|
45
48
|
},
|
|
46
49
|
"./components/TippedButton": {
|
|
47
|
-
"import": "./esm/components/TippedButton.js",
|
|
48
|
-
"require": "./cjs/components/TippedButton.js"
|
|
50
|
+
"import": "./dist/esm/components/TippedButton.js",
|
|
51
|
+
"require": "./dist/cjs/components/TippedButton.js"
|
|
49
52
|
},
|
|
50
53
|
"./components/InsertFieldModal": {
|
|
51
|
-
"import": "./esm/components/InsertFieldModal.js",
|
|
52
|
-
"require": "./cjs/components/InsertFieldModal.js"
|
|
54
|
+
"import": "./dist/esm/components/InsertFieldModal.js",
|
|
55
|
+
"require": "./dist/cjs/components/InsertFieldModal.js"
|
|
53
56
|
},
|
|
54
57
|
"./components/ImageLibraryModal": {
|
|
55
|
-
"import": "./esm/components/ImageLibraryModal.js",
|
|
56
|
-
"require": "./cjs/components/ImageLibraryModal.js"
|
|
58
|
+
"import": "./dist/esm/components/ImageLibraryModal.js",
|
|
59
|
+
"require": "./dist/cjs/components/ImageLibraryModal.js"
|
|
57
60
|
},
|
|
58
61
|
"./components/DSWYSIWYGEditorImpl": {
|
|
59
|
-
"import": "./esm/components/DSWYSIWYGEditorImpl.js",
|
|
60
|
-
"require": "./cjs/components/DSWYSIWYGEditorImpl.js"
|
|
62
|
+
"import": "./dist/esm/components/DSWYSIWYGEditorImpl.js",
|
|
63
|
+
"require": "./dist/cjs/components/DSWYSIWYGEditorImpl.js"
|
|
61
64
|
},
|
|
62
65
|
"./components/CustomToolbar": {
|
|
63
|
-
"import": "./esm/components/CustomToolbar.js",
|
|
64
|
-
"require": "./cjs/components/CustomToolbar.js"
|
|
66
|
+
"import": "./dist/esm/components/CustomToolbar.js",
|
|
67
|
+
"require": "./dist/cjs/components/CustomToolbar.js"
|
|
65
68
|
},
|
|
66
69
|
"./components/CustomImageUploader": {
|
|
67
|
-
"import": "./esm/components/CustomImageUploader.js",
|
|
68
|
-
"require": "./cjs/components/CustomImageUploader.js"
|
|
70
|
+
"import": "./dist/esm/components/CustomImageUploader.js",
|
|
71
|
+
"require": "./dist/cjs/components/CustomImageUploader.js"
|
|
69
72
|
},
|
|
70
73
|
"./components/customFields": {
|
|
71
|
-
"import": "./esm/components/customFields.js",
|
|
72
|
-
"require": "./cjs/components/customFields.js"
|
|
74
|
+
"import": "./dist/esm/components/customFields.js",
|
|
75
|
+
"require": "./dist/cjs/components/customFields.js"
|
|
73
76
|
},
|
|
74
77
|
"./components/colors": {
|
|
75
|
-
"import": "./esm/components/colors.js",
|
|
76
|
-
"require": "./cjs/components/colors.js"
|
|
78
|
+
"import": "./dist/esm/components/colors.js",
|
|
79
|
+
"require": "./dist/cjs/components/colors.js"
|
|
77
80
|
}
|
|
78
81
|
},
|
|
79
82
|
"sideEffects": [
|
|
@@ -85,25 +88,19 @@
|
|
|
85
88
|
"url": "https://git.elliemae.io/platform-ui/dimsum.git"
|
|
86
89
|
},
|
|
87
90
|
"engines": {
|
|
88
|
-
"
|
|
89
|
-
"node": ">=
|
|
91
|
+
"pnpm": ">=6",
|
|
92
|
+
"node": ">=16"
|
|
90
93
|
},
|
|
91
94
|
"author": "ICE MT",
|
|
92
|
-
"scripts": {
|
|
93
|
-
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
|
|
94
|
-
"prebuild": "exit 0",
|
|
95
|
-
"predev": "exit 0",
|
|
96
|
-
"build": "node ../../scripts/build/build.js"
|
|
97
|
-
},
|
|
98
95
|
"dependencies": {
|
|
99
|
-
"@elliemae/ds-button": "2.3.0-alpha.
|
|
100
|
-
"@elliemae/ds-dropdownmenu": "2.3.0-alpha.
|
|
101
|
-
"@elliemae/ds-icons": "2.3.0-alpha.
|
|
102
|
-
"@elliemae/ds-imagelibrarymodal": "2.3.0-alpha.
|
|
103
|
-
"@elliemae/ds-modal": "2.3.0-alpha.
|
|
104
|
-
"@elliemae/ds-shared": "2.3.0-alpha.
|
|
105
|
-
"@elliemae/ds-tooltip": "2.3.0-alpha.
|
|
106
|
-
"@elliemae/ds-uploader": "2.3.0-alpha.
|
|
96
|
+
"@elliemae/ds-button": "2.3.0-alpha.6",
|
|
97
|
+
"@elliemae/ds-dropdownmenu": "2.3.0-alpha.6",
|
|
98
|
+
"@elliemae/ds-icons": "2.3.0-alpha.6",
|
|
99
|
+
"@elliemae/ds-imagelibrarymodal": "2.3.0-alpha.6",
|
|
100
|
+
"@elliemae/ds-modal": "2.3.0-alpha.6",
|
|
101
|
+
"@elliemae/ds-shared": "2.3.0-alpha.6",
|
|
102
|
+
"@elliemae/ds-tooltip": "2.3.0-alpha.6",
|
|
103
|
+
"@elliemae/ds-uploader": "2.3.0-alpha.6",
|
|
107
104
|
"prop-types": "~15.7.2",
|
|
108
105
|
"quill-blot-formatter": "~1.0.5",
|
|
109
106
|
"quill-delta": "4.2.2",
|
|
@@ -112,12 +109,17 @@
|
|
|
112
109
|
},
|
|
113
110
|
"publishConfig": {
|
|
114
111
|
"access": "public",
|
|
115
|
-
"
|
|
116
|
-
"generateSubmodules": true
|
|
112
|
+
"typeSafety": false
|
|
117
113
|
},
|
|
118
114
|
"peerDependencies": {
|
|
119
115
|
"lodash": "^4.17.21",
|
|
120
116
|
"react": "~17.0.2",
|
|
121
117
|
"react-dom": "^17.0.2"
|
|
118
|
+
},
|
|
119
|
+
"scripts": {
|
|
120
|
+
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
|
|
121
|
+
"prebuild": "exit 0",
|
|
122
|
+
"predev": "exit 0",
|
|
123
|
+
"build": "node ../../scripts/build/build.js"
|
|
122
124
|
}
|
|
123
125
|
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
declare const DSWYSIWYGEditor: {
|
|
4
|
-
({ value, onChange, getQuillRef, quillModules, customToolbar, toolbarHandlers, showRawHTML, height, hideItems, ...rest }: {
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
value?: string | undefined;
|
|
7
|
-
onChange?: (() => null) | undefined;
|
|
8
|
-
getQuillRef?: (() => null) | undefined;
|
|
9
|
-
quillModules?: {} | undefined;
|
|
10
|
-
customToolbar: any;
|
|
11
|
-
toolbarHandlers: any;
|
|
12
|
-
showRawHTML?: boolean | undefined;
|
|
13
|
-
height: any;
|
|
14
|
-
hideItems: any;
|
|
15
|
-
}): JSX.Element;
|
|
16
|
-
propTypes: {
|
|
17
|
-
value: import("react-desc").PropTypesDescValue;
|
|
18
|
-
onChange: import("react-desc").PropTypesDescValue;
|
|
19
|
-
getQuillRef: {
|
|
20
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
21
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
-
};
|
|
23
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
24
|
-
};
|
|
25
|
-
quillModules: {
|
|
26
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
-
};
|
|
29
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
|
-
};
|
|
31
|
-
customToolbar: {
|
|
32
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
33
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
|
-
};
|
|
35
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
36
|
-
};
|
|
37
|
-
toolbarHandlers: {
|
|
38
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
39
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
-
};
|
|
41
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
42
|
-
};
|
|
43
|
-
showRawHTML: {
|
|
44
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
-
};
|
|
46
|
-
height: {
|
|
47
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
48
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
|
-
};
|
|
50
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
51
|
-
};
|
|
52
|
-
readOnly: {
|
|
53
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
54
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
55
|
-
};
|
|
56
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
57
|
-
};
|
|
58
|
-
hideItems: {
|
|
59
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
60
|
-
};
|
|
61
|
-
zIndex: {
|
|
62
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
63
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
64
|
-
};
|
|
65
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
declare const WYSIWYWithSchema: {
|
|
70
|
-
(props?: unknown): JSX.Element;
|
|
71
|
-
propTypes: unknown;
|
|
72
|
-
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
73
|
-
};
|
|
74
|
-
export { WYSIWYWithSchema };
|
|
75
|
-
export default DSWYSIWYGEditor;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const CustomImageUploader: ({ quillRef, editorFieldName, allowedImageTypes, uploadAsset, zIndex, }: {
|
|
3
|
-
quillRef: any;
|
|
4
|
-
editorFieldName: any;
|
|
5
|
-
allowedImageTypes?: string | undefined;
|
|
6
|
-
uploadAsset?: (() => null) | undefined;
|
|
7
|
-
zIndex?: number | undefined;
|
|
8
|
-
}) => JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const CustomDropdown: ({ options, label, onSelectMenuItem, onClickOutsideMenu, onClose, closeMenuOnItemSelection, isOpen, minWidth, maxWidth, zIndex, }: {
|
|
3
|
-
options: any;
|
|
4
|
-
label: any;
|
|
5
|
-
onSelectMenuItem?: (() => null) | undefined;
|
|
6
|
-
onClickOutsideMenu?: (() => null) | undefined;
|
|
7
|
-
onClose?: (() => null) | undefined;
|
|
8
|
-
closeMenuOnItemSelection: any;
|
|
9
|
-
isOpen: any;
|
|
10
|
-
minWidth: any;
|
|
11
|
-
maxWidth: any;
|
|
12
|
-
zIndex?: number | undefined;
|
|
13
|
-
}) => JSX.Element;
|
|
14
|
-
export declare const CustomToolbar: ({ customFields, customItems, hideItems, onShowHTML, id, userProps, }: {
|
|
15
|
-
customFields: any;
|
|
16
|
-
customItems?: never[] | undefined;
|
|
17
|
-
hideItems?: {} | undefined;
|
|
18
|
-
onShowHTML?: (() => void) | undefined;
|
|
19
|
-
id?: string | undefined;
|
|
20
|
-
userProps: any;
|
|
21
|
-
}) => JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export default class DSWYSIWYGEditorImpl extends React.PureComponent {
|
|
3
|
-
quillModules: any;
|
|
4
|
-
constructor(props: any);
|
|
5
|
-
componentDidMount(): void;
|
|
6
|
-
onChangeQuill: (html: any, delta: any, source: any, editor: any) => void;
|
|
7
|
-
onChangeTextArea: (e: any) => void;
|
|
8
|
-
onInserFieldConfirm: (fieldCode: any) => void;
|
|
9
|
-
onImageConfirm: (image: any) => void;
|
|
10
|
-
onFieldModalClose: () => void;
|
|
11
|
-
onImageModalClose: () => void;
|
|
12
|
-
getEditor(): any;
|
|
13
|
-
quillRef: (ref: any) => void;
|
|
14
|
-
render(): JSX.Element;
|
|
15
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
export default class ImageLibraryModal extends React.PureComponent {
|
|
4
|
-
static propTypes: {
|
|
5
|
-
onConfirm: PropTypes.Validator<(...args: any[]) => any>;
|
|
6
|
-
onClose: PropTypes.Validator<(...args: any[]) => any>;
|
|
7
|
-
onReject: PropTypes.Requireable<(...args: any[]) => any>;
|
|
8
|
-
imagesData: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
9
|
-
id: PropTypes.Requireable<string>;
|
|
10
|
-
url: PropTypes.Validator<string>;
|
|
11
|
-
name: PropTypes.Validator<string>;
|
|
12
|
-
description: PropTypes.Requireable<string>;
|
|
13
|
-
createdBy: PropTypes.Validator<string>;
|
|
14
|
-
createdDate: PropTypes.Validator<string>;
|
|
15
|
-
}> | null | undefined)[]>;
|
|
16
|
-
isOpen: PropTypes.Validator<boolean>;
|
|
17
|
-
};
|
|
18
|
-
static defaultProps: {
|
|
19
|
-
onReject: undefined;
|
|
20
|
-
imagesData: {
|
|
21
|
-
url: string;
|
|
22
|
-
name: string;
|
|
23
|
-
createdBy: string;
|
|
24
|
-
createdDate: string;
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
constructor(props: any);
|
|
28
|
-
onSelect: (selectedImage: any) => void;
|
|
29
|
-
onConfirm: () => void;
|
|
30
|
-
render(): JSX.Element;
|
|
31
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
export default class InsertFieldModal extends React.PureComponent {
|
|
4
|
-
static propTypes: {
|
|
5
|
-
onConfirm: PropTypes.Validator<(...args: any[]) => any>;
|
|
6
|
-
onClose: PropTypes.Validator<(...args: any[]) => any>;
|
|
7
|
-
confirmLabel: PropTypes.Requireable<string>;
|
|
8
|
-
customFields: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
9
|
-
disableDoubleClick: PropTypes.Requireable<boolean>;
|
|
10
|
-
isOpen: PropTypes.Requireable<boolean>;
|
|
11
|
-
modalTitle: PropTypes.Requireable<string>;
|
|
12
|
-
modalType: PropTypes.Requireable<string>;
|
|
13
|
-
rejectLabel: PropTypes.Requireable<string>;
|
|
14
|
-
shouldCloseOnOverlayClick: PropTypes.Requireable<boolean>;
|
|
15
|
-
size: PropTypes.Requireable<string>;
|
|
16
|
-
onSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
|
-
};
|
|
18
|
-
static defaultProps: {
|
|
19
|
-
confirmLabel: string;
|
|
20
|
-
customFields: string[];
|
|
21
|
-
disableDoubleClick: boolean;
|
|
22
|
-
isOpen: boolean;
|
|
23
|
-
modalTitle: string;
|
|
24
|
-
modalType: string;
|
|
25
|
-
rejectLabel: string;
|
|
26
|
-
shouldCloseOnOverlayClick: boolean;
|
|
27
|
-
size: any;
|
|
28
|
-
onSelect: undefined;
|
|
29
|
-
};
|
|
30
|
-
constructor(props: any);
|
|
31
|
-
componentDidMount(): void;
|
|
32
|
-
getDerivedStateFromProps(nextProps: any): void;
|
|
33
|
-
onConfirm: () => void;
|
|
34
|
-
onReject: () => void;
|
|
35
|
-
drawDiv: (className: any, content: any, content2: any) => JSX.Element;
|
|
36
|
-
drawLabel: (className: any, label: any, value: any) => JSX.Element;
|
|
37
|
-
handleElementClick: (e: any, selectedFieldCode: any) => void;
|
|
38
|
-
preventSpacebarScroll: () => void;
|
|
39
|
-
renderElements: () => any;
|
|
40
|
-
render(): JSX.Element;
|
|
41
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface TippedButtonPropsT {
|
|
3
|
-
tip: string;
|
|
4
|
-
zIndex: number;
|
|
5
|
-
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
style?: React.CSSProperties;
|
|
8
|
-
className?: string;
|
|
9
|
-
value?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const TippedButton: ({ className, tip, children, onClick, zIndex, ...rest }: TippedButtonPropsT) => JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface TippedSelectPropsT {
|
|
3
|
-
tip: string;
|
|
4
|
-
onChange?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
5
|
-
className?: string;
|
|
6
|
-
options?: string[];
|
|
7
|
-
defaultValue?: string;
|
|
8
|
-
values?: string[];
|
|
9
|
-
zIndex?: number;
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export declare const TippedSelect: (props: TippedSelectPropsT) => JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getRainbowColors(size?: number): any[];
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export declare const fields: string[];
|
|
2
|
-
/**
|
|
3
|
-
* Returns the fields names
|
|
4
|
-
*
|
|
5
|
-
* @param customFields
|
|
6
|
-
*/
|
|
7
|
-
export declare const getFields: (customFields?: string[]) => {
|
|
8
|
-
id: string;
|
|
9
|
-
label: string;
|
|
10
|
-
onClick: (() => any) | null;
|
|
11
|
-
type: string | null;
|
|
12
|
-
}[];
|
|
13
|
-
/**
|
|
14
|
-
* Returns a field's name
|
|
15
|
-
*
|
|
16
|
-
* @param field
|
|
17
|
-
*/
|
|
18
|
-
export declare const getFieldName: (field: any) => any;
|
|
19
|
-
/**
|
|
20
|
-
* Returns a field's id. E.g: «456»
|
|
21
|
-
*
|
|
22
|
-
* @param field
|
|
23
|
-
*/
|
|
24
|
-
export declare const getFieldCode: (field: any) => any;
|
|
25
|
-
declare const _default: {
|
|
26
|
-
fields: string[];
|
|
27
|
-
getFields: (customFields?: string[]) => {
|
|
28
|
-
id: string;
|
|
29
|
-
label: string;
|
|
30
|
-
onClick: (() => any) | null;
|
|
31
|
-
type: string | null;
|
|
32
|
-
}[];
|
|
33
|
-
getFieldName: (field: any) => any;
|
|
34
|
-
getFieldCode: (field: any) => any;
|
|
35
|
-
};
|
|
36
|
-
export default _default;
|
package/types/constants.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const colors: any[];
|
|
2
|
-
export declare const fonts: string[];
|
|
3
|
-
export declare const sizes: string[];
|
|
4
|
-
export declare const sizesReal: string[];
|
|
5
|
-
export declare const defaultItems: {
|
|
6
|
-
HEADER: string;
|
|
7
|
-
FONT: string;
|
|
8
|
-
FONT_SIZE: string;
|
|
9
|
-
BOLD: string;
|
|
10
|
-
ITALIC: string;
|
|
11
|
-
UNDERLINE: string;
|
|
12
|
-
STRIKE: string;
|
|
13
|
-
SUB: string;
|
|
14
|
-
SUPER: string;
|
|
15
|
-
ORDERED_LIST: string;
|
|
16
|
-
BULLET_LIST: string;
|
|
17
|
-
INDENT_MINUS_ONE: string;
|
|
18
|
-
INDENT_PLUS_ONE: string;
|
|
19
|
-
ALIGN: string;
|
|
20
|
-
FONT_COLOR: string;
|
|
21
|
-
FONT_BACKGROUND_COLOR: string;
|
|
22
|
-
HYPERLINK: string;
|
|
23
|
-
IMAGE: string;
|
|
24
|
-
CLEAR_FORMAT: string;
|
|
25
|
-
SHOW_HTML: string;
|
|
26
|
-
};
|
package/types/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare const Parchment: any;
|
|
2
|
-
declare class IndentAttributor extends Parchment.Attributor.Style {
|
|
3
|
-
add(node: any, value: any): any;
|
|
4
|
-
value(node: any): number | undefined;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Meant to override quill's indent format's style and add the indentation inline instead of applying a class
|
|
8
|
-
*/
|
|
9
|
-
declare const IndentStyle: IndentAttributor;
|
|
10
|
-
export default IndentStyle;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const Link: any;
|
|
2
|
-
declare class LinkFormat extends Link {
|
|
3
|
-
blotName: string;
|
|
4
|
-
tagName: string;
|
|
5
|
-
SANITIZED_URL: string;
|
|
6
|
-
PROTOCOL_WHITELIST: string[];
|
|
7
|
-
static create(value: any): any;
|
|
8
|
-
static formats(domNode: any): any;
|
|
9
|
-
static sanitize(url: any): any;
|
|
10
|
-
format(name: any, value: any): void;
|
|
11
|
-
}
|
|
12
|
-
export default LinkFormat;
|
package/types/utils.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const formatHTML: (html: any) => string;
|