gd-sprest-bs 9.9.5 → 9.9.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/dist/gd-sprest-bs.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ declare module 'gd-sprest-bs/components/components' {
|
|
|
70
70
|
export * from "gd-sprest-bs/components/listForm/types";
|
|
71
71
|
export * from "gd-sprest-bs/components/listFormDialog/types";
|
|
72
72
|
export * from "gd-sprest-bs/components/peoplePicker/types";
|
|
73
|
+
export * from "gd-sprest-bs/components/richtextBox/types";
|
|
73
74
|
|
|
74
75
|
import { IFormControlTypes as Parent } from "gd-bs/src/components/form/controlTypes";
|
|
75
76
|
export interface IFormControlTypes extends Parent {
|
|
@@ -1143,3 +1144,85 @@ declare module 'gd-sprest-bs/components/peoplePicker/types' {
|
|
|
1143
1144
|
}
|
|
1144
1145
|
}
|
|
1145
1146
|
|
|
1147
|
+
import { IFormControlProps } from "gd-bs/src/components/form/controlTypes";
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* Rich TextBox
|
|
1151
|
+
*/
|
|
1152
|
+
export const RichTextBox: (props: IRichTextBoxProps) => IRichTextBox
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* Rich TextBox
|
|
1156
|
+
*/
|
|
1157
|
+
export interface IRichTextBox {
|
|
1158
|
+
/** The textbox element. */
|
|
1159
|
+
el: HTMLDivElement;
|
|
1160
|
+
|
|
1161
|
+
/** The quill object. */
|
|
1162
|
+
quillObj: any;
|
|
1163
|
+
|
|
1164
|
+
/** Method to get the value. */
|
|
1165
|
+
getValue: () => string;
|
|
1166
|
+
|
|
1167
|
+
/** Method to set the value. */
|
|
1168
|
+
setValue: (string) => void;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* Rich TextBox Quill Options
|
|
1173
|
+
*/
|
|
1174
|
+
export interface IRichTextBoxOptions {
|
|
1175
|
+
debug?: string | boolean | undefined;
|
|
1176
|
+
modules?: { [key: string]: any } | undefined;
|
|
1177
|
+
placeholder?: string | undefined;
|
|
1178
|
+
readOnly?: boolean | undefined;
|
|
1179
|
+
theme?: string | undefined;
|
|
1180
|
+
formats?: string[] | undefined;
|
|
1181
|
+
bounds?: HTMLElement | string | undefined;
|
|
1182
|
+
scrollingContainer?: HTMLElement | string | undefined;
|
|
1183
|
+
strict?: boolean | undefined;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* Rich TextBox Props
|
|
1188
|
+
*/
|
|
1189
|
+
export interface IRichTextBoxProps {
|
|
1190
|
+
/** Assigns the object to the input parameter. */
|
|
1191
|
+
assignTo?: (obj: IRichTextBox) => void;
|
|
1192
|
+
|
|
1193
|
+
/** The class name to apply to the element. */
|
|
1194
|
+
className?: string;
|
|
1195
|
+
|
|
1196
|
+
/** The element to render the form to. */
|
|
1197
|
+
el?: Element;
|
|
1198
|
+
|
|
1199
|
+
/** True to disable the date/time plugin */
|
|
1200
|
+
disabled?: boolean;
|
|
1201
|
+
|
|
1202
|
+
/** The date/time label. */
|
|
1203
|
+
label?: string;
|
|
1204
|
+
|
|
1205
|
+
/** The quill options. */
|
|
1206
|
+
options?: IRichTextBoxOptions;
|
|
1207
|
+
|
|
1208
|
+
/** The placeholder text. */
|
|
1209
|
+
placeholder?: string;
|
|
1210
|
+
|
|
1211
|
+
/** The date/time value. */
|
|
1212
|
+
value?: string;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Form Control Properties - Rich TextBox
|
|
1217
|
+
*/
|
|
1218
|
+
export interface IFormControlPropsRichTextBox extends IFormControlProps {
|
|
1219
|
+
/** The quill options. */
|
|
1220
|
+
options?: IRichTextBoxOptions;
|
|
1221
|
+
|
|
1222
|
+
/** The placeholder text. */
|
|
1223
|
+
placeholder?: string;
|
|
1224
|
+
|
|
1225
|
+
/** The date/time value. */
|
|
1226
|
+
value?: string;
|
|
1227
|
+
}
|
|
1228
|
+
|
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./field/types";
|
|
|
4
4
|
export * from "./listForm/types";
|
|
5
5
|
export * from "./listFormDialog/types";
|
|
6
6
|
export * from "./peoplePicker/types";
|
|
7
|
+
export * from "./richtextBox/types";
|
|
7
8
|
|
|
8
9
|
// Customize the form control types
|
|
9
10
|
import { IFormControlTypes as Parent } from "gd-bs/src/components/form/controlTypes";
|