survey-creator-core 1.9.82 → 1.9.84
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/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +75 -14
- package/survey-creator-core.d.ts +1 -8046
- package/survey-creator-core.fontless.css +74 -13
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +4 -4
- package/survey-creator-core.i18n.js +126 -128
- package/survey-creator-core.i18n.js.map +1 -1
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +447 -152
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +5 -5
- package/survey-creator-core.min.js +2 -2
- package/typings/components/action-container-view-model.d.ts +27 -0
- package/typings/components/embedded-survey.d.ts +9 -0
- package/typings/components/header/logo-image.d.ts +15 -0
- package/typings/components/image-item-value.d.ts +21 -0
- package/typings/components/item-value.d.ts +42 -0
- package/typings/components/link-value.d.ts +27 -0
- package/typings/components/matrix-cell.d.ts +25 -0
- package/typings/components/page-navigator/page-navigator.d.ts +39 -0
- package/typings/components/page.d.ts +28 -0
- package/typings/components/question-dropdown.d.ts +18 -0
- package/typings/components/question-image.d.ts +9 -0
- package/typings/components/question-rating.d.ts +15 -0
- package/typings/components/question.d.ts +41 -0
- package/typings/components/results.d.ts +40 -0
- package/typings/components/row.d.ts +9 -0
- package/typings/components/side-bar/side-bar-model.d.ts +34 -0
- package/typings/components/side-bar/side-bar-tab-model.d.ts +11 -0
- package/typings/components/simulator.d.ts +205 -0
- package/typings/components/string-editor.d.ts +68 -0
- package/typings/components/tabs/designer-plugin.d.ts +26 -0
- package/typings/components/tabs/designer.d.ts +29 -0
- package/typings/components/tabs/embed-json.d.ts +1 -0
- package/typings/components/tabs/embed.d.ts +13 -0
- package/typings/components/tabs/json-editor-ace.d.ts +22 -0
- package/typings/components/tabs/json-editor-plugin.d.ts +28 -0
- package/typings/components/tabs/json-editor-textarea.d.ts +22 -0
- package/typings/components/tabs/logic-actions-model.d.ts +49 -0
- package/typings/components/tabs/logic-expression.d.ts +32 -0
- package/typings/components/tabs/logic-item-editor.d.ts +53 -0
- package/typings/components/tabs/logic-items.d.ts +96 -0
- package/typings/components/tabs/logic-plugin.d.ts +22 -0
- package/typings/components/tabs/logic-theme.d.ts +327 -0
- package/typings/components/tabs/logic-types.d.ts +77 -0
- package/typings/components/tabs/logic-ui.d.ts +68 -0
- package/typings/components/tabs/logic.d.ts +102 -0
- package/typings/components/tabs/test-plugin.d.ts +33 -0
- package/typings/components/tabs/test.d.ts +43 -0
- package/typings/components/tabs/translation-plugin.d.ts +33 -0
- package/typings/components/tabs/translation-theme.d.ts +301 -0
- package/typings/components/tabs/translation.d.ts +199 -0
- package/typings/components/toolbox/toolbox-tool.d.ts +16 -0
- package/typings/creator-base.d.ts +1375 -0
- package/typings/creator-options.d.ts +247 -0
- package/typings/creator-responsivity-manager.d.ts +22 -0
- package/typings/creator-settings.d.ts +216 -0
- package/typings/custom-questions/question-color.d.ts +15 -0
- package/typings/custom-questions/question-file.d.ts +15 -0
- package/typings/custom-questions/question-spin-editor.d.ts +25 -0
- package/typings/editable-object.d.ts +20 -0
- package/typings/editorLocalization.d.ts +951 -0
- package/typings/entries/index.d.ts +68 -0
- package/typings/expressionToDisplayText.d.ts +46 -0
- package/typings/json5.d.ts +46 -0
- package/typings/localization/english.d.ts +922 -0
- package/typings/pages-controller.d.ts +21 -0
- package/typings/plugins/undo-redo/index.d.ts +12 -0
- package/typings/plugins/undo-redo/undo-redo-controller.d.ts +40 -0
- package/typings/plugins/undo-redo/undo-redo-manager.d.ts +78 -0
- package/typings/property-grid/bindings.d.ts +10 -0
- package/typings/property-grid/cells-survey.d.ts +14 -0
- package/typings/property-grid/condition-survey.d.ts +117 -0
- package/typings/property-grid/condition.d.ts +13 -0
- package/typings/property-grid/description-parser.d.ts +10 -0
- package/typings/property-grid/fast-entry.d.ts +32 -0
- package/typings/property-grid/index.d.ts +239 -0
- package/typings/property-grid/matrices.d.ts +132 -0
- package/typings/property-grid/object-selector.d.ts +42 -0
- package/typings/property-grid/property-grid-view-model.d.ts +23 -0
- package/typings/property-grid/restfull.d.ts +8 -0
- package/typings/property-grid/values-survey.d.ts +42 -0
- package/typings/property-grid/values.d.ts +37 -0
- package/typings/property-grid-theme/property-grid.d.ts +346 -0
- package/typings/question-editor/definition.d.ts +22 -0
- package/typings/question-editor/properties.d.ts +49 -0
- package/typings/questionconverter.d.ts +12 -0
- package/typings/selection-history.d.ts +20 -0
- package/typings/selection-owner.d.ts +7 -0
- package/typings/survey-helper.d.ts +43 -0
- package/typings/svgbundle.d.ts +1 -0
- package/typings/textWorker.d.ts +18 -0
- package/typings/toolbox.d.ts +269 -0
- package/typings/utils/actions.d.ts +5 -0
- package/typings/utils/events.d.ts +14 -0
- package/typings/utils/resizer.d.ts +24 -0
- package/typings/utils/utils.d.ts +19 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export declare let Version: string;
|
|
2
|
+
export { enStrings } from "../localization/english";
|
|
3
|
+
export { editorLocalization, defaultStrings } from "../editorLocalization";
|
|
4
|
+
export { editorLocalization as localization } from "../editorLocalization";
|
|
5
|
+
export * from "../creator-settings";
|
|
6
|
+
export { ICreatorOptions } from "../creator-options";
|
|
7
|
+
export * from "../creator-base";
|
|
8
|
+
export * from "../creator-responsivity-manager";
|
|
9
|
+
export * from "../components/tabs/embed";
|
|
10
|
+
export * from "../components/tabs/json-editor-ace";
|
|
11
|
+
export * from "../components/tabs/json-editor-plugin";
|
|
12
|
+
export * from "../components/tabs/json-editor-textarea";
|
|
13
|
+
export * from "../components/tabs/test";
|
|
14
|
+
export * from "../components/tabs/test-plugin";
|
|
15
|
+
export * from "../components/tabs/logic";
|
|
16
|
+
export * from "../components/tabs/translation";
|
|
17
|
+
export * from "../components/tabs/translation-theme";
|
|
18
|
+
export * from "../components/tabs/translation-plugin";
|
|
19
|
+
export * from "../components/tabs/designer";
|
|
20
|
+
export * from "../components/tabs/designer-plugin";
|
|
21
|
+
export * from "../components/tabs/logic-ui";
|
|
22
|
+
export * from "../components/tabs/logic-plugin";
|
|
23
|
+
export * from "../components/tabs/logic-theme";
|
|
24
|
+
export * from "../components/toolbox/toolbox-tool";
|
|
25
|
+
export * from "../components/page-navigator/page-navigator";
|
|
26
|
+
export * from "../components/page";
|
|
27
|
+
export * from "../components/row";
|
|
28
|
+
export * from "../components/question";
|
|
29
|
+
export * from "../components/question-dropdown";
|
|
30
|
+
export * from "../components/question-image";
|
|
31
|
+
export * from "../components/question-rating";
|
|
32
|
+
export * from "../components/item-value";
|
|
33
|
+
export * from "../components/image-item-value";
|
|
34
|
+
export * from "../components/matrix-cell";
|
|
35
|
+
export * from "../components/simulator";
|
|
36
|
+
export * from "../components/results";
|
|
37
|
+
export * from "../components/header/logo-image";
|
|
38
|
+
export * from "../components/string-editor";
|
|
39
|
+
export * from "../components/embedded-survey";
|
|
40
|
+
export * from "../components/link-value";
|
|
41
|
+
export * from "../editorLocalization";
|
|
42
|
+
export * from "../json5";
|
|
43
|
+
export * from "../custom-questions/question-spin-editor";
|
|
44
|
+
export * from "../custom-questions/question-color";
|
|
45
|
+
export * from "../custom-questions/question-file";
|
|
46
|
+
export * from "../property-grid";
|
|
47
|
+
export * from "../property-grid/condition";
|
|
48
|
+
export * from "../property-grid/matrices";
|
|
49
|
+
export * from "../property-grid/bindings";
|
|
50
|
+
export * from "../property-grid/property-grid-view-model";
|
|
51
|
+
export * from "../property-grid/object-selector";
|
|
52
|
+
export * from "../property-grid/restfull";
|
|
53
|
+
export * from "../property-grid/values";
|
|
54
|
+
export { propertyGridCss } from "../property-grid-theme/property-grid";
|
|
55
|
+
export * from "../questionconverter";
|
|
56
|
+
export * from "../svgbundle";
|
|
57
|
+
export * from "../textWorker";
|
|
58
|
+
export * from "../toolbox";
|
|
59
|
+
export * from "../components/side-bar/side-bar-model";
|
|
60
|
+
export * from "../components/side-bar/side-bar-tab-model";
|
|
61
|
+
export * from "../utils/events";
|
|
62
|
+
export * from "../utils/utils";
|
|
63
|
+
export * from "../question-editor/definition";
|
|
64
|
+
export * from "../survey-helper";
|
|
65
|
+
export * from "../utils/resizer";
|
|
66
|
+
export * from "../plugins/undo-redo";
|
|
67
|
+
export * from "../plugins/undo-redo/undo-redo-manager";
|
|
68
|
+
export * from "../pages-controller";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as Survey from "survey-core";
|
|
2
|
+
export declare class ExpressionToDisplayText {
|
|
3
|
+
survey: Survey.SurveyModel;
|
|
4
|
+
private options;
|
|
5
|
+
private currentQuestion;
|
|
6
|
+
private showTitles;
|
|
7
|
+
constructor(survey: Survey.SurveyModel, options?: any);
|
|
8
|
+
toDisplayText(expression: string): string;
|
|
9
|
+
toExpression(node: Survey.Operand): string;
|
|
10
|
+
private toDisplayTextCore;
|
|
11
|
+
private getQuestionText;
|
|
12
|
+
private getDisplayText;
|
|
13
|
+
private getDisplayOperand;
|
|
14
|
+
static operatorText: {
|
|
15
|
+
less: string;
|
|
16
|
+
lessorequal: string;
|
|
17
|
+
greater: string;
|
|
18
|
+
greaterorequal: string;
|
|
19
|
+
equal: string;
|
|
20
|
+
notequal: string;
|
|
21
|
+
plus: string;
|
|
22
|
+
minus: string;
|
|
23
|
+
mul: string;
|
|
24
|
+
div: string;
|
|
25
|
+
power: string;
|
|
26
|
+
mod: string;
|
|
27
|
+
negate: string;
|
|
28
|
+
};
|
|
29
|
+
private getDisplayOperator;
|
|
30
|
+
private getDisplayBinary;
|
|
31
|
+
private getDisplayUnary;
|
|
32
|
+
private proceedBinary;
|
|
33
|
+
private getQuestionFromOperands;
|
|
34
|
+
private replaceVariables;
|
|
35
|
+
private replaceVariable;
|
|
36
|
+
private getQuestionByName;
|
|
37
|
+
}
|
|
38
|
+
export declare class ExpressionRemoveVariable {
|
|
39
|
+
private wasRemoved;
|
|
40
|
+
constructor();
|
|
41
|
+
remove(expression: string, variable: string): string;
|
|
42
|
+
private processOperand;
|
|
43
|
+
private processVariable;
|
|
44
|
+
private processUnary;
|
|
45
|
+
private proceedBinary;
|
|
46
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare class SurveyJSON5 {
|
|
2
|
+
static positionName: string;
|
|
3
|
+
private static escapee;
|
|
4
|
+
private static ws;
|
|
5
|
+
private endAt;
|
|
6
|
+
private at;
|
|
7
|
+
private ch;
|
|
8
|
+
private text;
|
|
9
|
+
private parseType;
|
|
10
|
+
constructor(parseType?: number);
|
|
11
|
+
parse(source: any, reviver?: any, startFrom?: number, endAt?: number): any;
|
|
12
|
+
private error;
|
|
13
|
+
private next;
|
|
14
|
+
private peek;
|
|
15
|
+
private chartAt;
|
|
16
|
+
private identifier;
|
|
17
|
+
private number;
|
|
18
|
+
private string;
|
|
19
|
+
private inlineComment;
|
|
20
|
+
private blockComment;
|
|
21
|
+
private comment;
|
|
22
|
+
private white;
|
|
23
|
+
private word;
|
|
24
|
+
private array;
|
|
25
|
+
private object;
|
|
26
|
+
private value;
|
|
27
|
+
private replacer;
|
|
28
|
+
private indentStr;
|
|
29
|
+
private objStack;
|
|
30
|
+
stringify(obj: any, replacer?: any, space?: any): any;
|
|
31
|
+
private getIndent;
|
|
32
|
+
private getReplacedValueOrUndefined;
|
|
33
|
+
private isWordChar;
|
|
34
|
+
private isWordStart;
|
|
35
|
+
private isWord;
|
|
36
|
+
private isArray;
|
|
37
|
+
private isDate;
|
|
38
|
+
private isNaN;
|
|
39
|
+
private checkForCircular;
|
|
40
|
+
private makeIndent;
|
|
41
|
+
private static cx;
|
|
42
|
+
private static escapable;
|
|
43
|
+
private static meta;
|
|
44
|
+
private escapeString;
|
|
45
|
+
private internalStringify;
|
|
46
|
+
}
|