@ajf/material 15.2.3 → 15.2.4

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.
Files changed (46) hide show
  1. package/esm2020/form-builder/condition-editor-dialog.mjs +7 -4
  2. package/esm2020/form-builder/condition-editor.mjs +20 -128
  3. package/esm2020/form-builder/form-builder-module.mjs +3 -7
  4. package/esm2020/form-builder/form-builder-service.mjs +3 -2
  5. package/esm2020/form-builder/node-properties.mjs +9 -4
  6. package/esm2020/form-builder/validation-condition-editor-dialog.mjs +7 -4
  7. package/esm2020/form-builder/warning-condition-editor-dialog.mjs +7 -4
  8. package/esm2020/forms/field-service.mjs +3 -3
  9. package/fesm2015/ajf-material-form-builder.mjs +55 -153
  10. package/fesm2015/ajf-material-form-builder.mjs.map +1 -1
  11. package/fesm2015/ajf-material-forms.mjs +2 -2
  12. package/fesm2015/ajf-material-forms.mjs.map +1 -1
  13. package/fesm2020/ajf-material-form-builder.mjs +55 -153
  14. package/fesm2020/ajf-material-form-builder.mjs.map +1 -1
  15. package/fesm2020/ajf-material-forms.mjs +2 -2
  16. package/fesm2020/ajf-material-forms.mjs.map +1 -1
  17. package/form-builder/condition-editor-dialog.d.ts +1 -0
  18. package/form-builder/condition-editor.d.ts +5 -8
  19. package/form-builder/form-builder-module.d.ts +25 -26
  20. package/form-builder/validation-condition-editor-dialog.d.ts +1 -0
  21. package/form-builder/warning-condition-editor-dialog.d.ts +1 -0
  22. package/package.json +2 -10
  23. package/esm2020/monaco-editor/ajf-material-monaco-editor.mjs +0 -5
  24. package/esm2020/monaco-editor/auto-complete-item-model.mjs +0 -49
  25. package/esm2020/monaco-editor/autocomplete-singleton-model.mjs +0 -135
  26. package/esm2020/monaco-editor/editor-language-model.mjs +0 -60
  27. package/esm2020/monaco-editor/editor-options-model.mjs +0 -37
  28. package/esm2020/monaco-editor/editor-scrollbar-options.mjs +0 -23
  29. package/esm2020/monaco-editor/editor-theme.mjs +0 -30
  30. package/esm2020/monaco-editor/monaco-editor-module.mjs +0 -37
  31. package/esm2020/monaco-editor/monaco-editor.mjs +0 -451
  32. package/esm2020/monaco-editor/public_api.mjs +0 -24
  33. package/fesm2015/ajf-material-monaco-editor.mjs +0 -791
  34. package/fesm2015/ajf-material-monaco-editor.mjs.map +0 -1
  35. package/fesm2020/ajf-material-monaco-editor.mjs +0 -791
  36. package/fesm2020/ajf-material-monaco-editor.mjs.map +0 -1
  37. package/monaco-editor/auto-complete-item-model.d.ts +0 -35
  38. package/monaco-editor/autocomplete-singleton-model.d.ts +0 -55
  39. package/monaco-editor/editor-language-model.d.ts +0 -59
  40. package/monaco-editor/editor-options-model.d.ts +0 -334
  41. package/monaco-editor/editor-scrollbar-options.d.ts +0 -83
  42. package/monaco-editor/editor-theme.d.ts +0 -29
  43. package/monaco-editor/index.d.ts +0 -5
  44. package/monaco-editor/monaco-editor-module.d.ts +0 -7
  45. package/monaco-editor/monaco-editor.d.ts +0 -155
  46. package/monaco-editor/public_api.d.ts +0 -23
@@ -1,83 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) Gnucoop soc. coop.
4
- *
5
- * This file is part of the Advanced JSON forms (ajf).
6
- *
7
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
8
- * modify it under the terms of the GNU Affero General Public License as
9
- * published by the Free Software Foundation, either version 3 of the License,
10
- * or (at your option) any later version.
11
- *
12
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with Advanced JSON forms (ajf).
19
- * If not, see http://www.gnu.org/licenses/.
20
- *
21
- */
22
- /**
23
- * Configuration options for editor scrollbars
24
- */
25
- export interface IEditorScrollbarOptions {
26
- /**
27
- * The size of arrows (if displayed).
28
- * Defaults to 11.
29
- */
30
- arrowSize?: number;
31
- /**
32
- * Render vertical scrollbar.
33
- * Accepted values: 'auto', 'visible', 'hidden'.
34
- * Defaults to 'auto'.
35
- */
36
- vertical?: string;
37
- /**
38
- * Render horizontal scrollbar.
39
- * Accepted values: 'auto', 'visible', 'hidden'.
40
- * Defaults to 'auto'.
41
- */
42
- horizontal?: string;
43
- /**
44
- * Cast horizontal and vertical shadows when the content is scrolled.
45
- * Defaults to true.
46
- */
47
- useShadows?: boolean;
48
- /**
49
- * Render arrows at the top and bottom of the vertical scrollbar.
50
- * Defaults to false.
51
- */
52
- verticalHasArrows?: boolean;
53
- /**
54
- * Render arrows at the left and right of the horizontal scrollbar.
55
- * Defaults to false.
56
- */
57
- horizontalHasArrows?: boolean;
58
- /**
59
- * Listen to mouse wheel events and react to them by scrolling.
60
- * Defaults to true.
61
- */
62
- handleMouseWheel?: boolean;
63
- /**
64
- * Height in pixels for the horizontal scrollbar.
65
- * Defaults to 10 (px).
66
- */
67
- horizontalScrollbarSize?: number;
68
- /**
69
- * Width in pixels for the vertical scrollbar.
70
- * Defaults to 10 (px).
71
- */
72
- verticalScrollbarSize?: number;
73
- /**
74
- * Width in pixels for the vertical slider.
75
- * Defaults to `verticalScrollbarSize`.
76
- */
77
- verticalSliderSize?: number;
78
- /**
79
- * Height in pixels for the horizontal slider.
80
- * Defaults to `horizontalScrollbarSize`.
81
- */
82
- horizontalSliderSize?: number;
83
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) Gnucoop soc. coop.
4
- *
5
- * This file is part of the Advanced JSON forms (ajf).
6
- *
7
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
8
- * modify it under the terms of the GNU Affero General Public License as
9
- * published by the Free Software Foundation, either version 3 of the License,
10
- * or (at your option) any later version.
11
- *
12
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with Advanced JSON forms (ajf).
19
- * If not, see http://www.gnu.org/licenses/.
20
- *
21
- */
22
- /**
23
- * List of theme available for Monaco Editor
24
- */
25
- export declare class IEditorTheme {
26
- static readonly VISUAL_STUDIO = "vs";
27
- static readonly VISUAL_STUDIO_DARK = "vs-dark";
28
- static readonly HIGH_CONTRAST_DARK = "hc-black";
29
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ajf/material/monaco-editor" />
5
- export * from './public_api';
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./monaco-editor";
3
- export declare class AjfMonacoEditorModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<AjfMonacoEditorModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<AjfMonacoEditorModule, [typeof i1.AjfMonacoEditor], never, [typeof i1.AjfMonacoEditor]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<AjfMonacoEditorModule>;
7
- }
@@ -1,155 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) Gnucoop soc. coop.
4
- *
5
- * This file is part of the Advanced JSON forms (ajf).
6
- *
7
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
8
- * modify it under the terms of the GNU Affero General Public License as
9
- * published by the Free Software Foundation, either version 3 of the License,
10
- * or (at your option) any later version.
11
- *
12
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with Advanced JSON forms (ajf).
19
- * If not, see http://www.gnu.org/licenses/.
20
- *
21
- */
22
- import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core';
23
- import { IEditorLanguage } from './editor-language-model';
24
- import { IEditorScrollbarOptions } from './editor-scrollbar-options';
25
- import { IEditorTheme } from './editor-theme';
26
- import * as i0 from "@angular/core";
27
- export declare class AjfMonacoEditor implements OnDestroy, AfterViewInit, OnChanges {
28
- experimentalScreenReader?: boolean;
29
- ariaLabel?: string;
30
- rulers?: number[];
31
- wordSeparators?: string;
32
- selectionClipboard?: boolean;
33
- lineNumbers?: boolean;
34
- selectOnLineNumbers?: boolean;
35
- lineNumbersMinChars?: number;
36
- glyphMargin?: boolean;
37
- lineDecorationsWidth?: number;
38
- revealHorizontalRightPadding?: number;
39
- roundedSelection?: boolean;
40
- theme?: IEditorTheme;
41
- readOnly?: boolean;
42
- scrollbar?: IEditorScrollbarOptions;
43
- overviewRulerLanes?: number;
44
- cursorBlinking?: string;
45
- mouseWheelZoom?: boolean;
46
- cursorStyle?: string;
47
- fontLigatures?: boolean;
48
- disableTranslate3d?: boolean;
49
- hideCursorInOverviewRuler?: boolean;
50
- scrollBeyondLastLine?: boolean;
51
- automaticLayout?: boolean;
52
- wrappingColumn?: number;
53
- wordWrap?: boolean;
54
- wrappingIndent?: string;
55
- wordWrapBreakBeforeCharacters?: string;
56
- wordWrapBreakAfterCharacters?: string;
57
- wordWrapBreakObtrusiveCharacters?: string;
58
- stopRenderingLineAfter?: number;
59
- hover?: boolean;
60
- contextmenu?: boolean;
61
- mouseWheelScrollSensitivity?: number;
62
- quickSuggestions?: boolean;
63
- quickSuggestionsDelay?: number;
64
- parameterHints?: boolean;
65
- iconsInSuggestions?: boolean;
66
- autoClosingBrackets?: boolean;
67
- formatOnType?: boolean;
68
- suggestOnTriggerCharacters?: boolean;
69
- acceptSuggestionOnEnter?: boolean;
70
- snippetSuggestions?: 'top' | 'bottom' | 'inline' | 'none';
71
- tabCompletion?: boolean;
72
- wordBasedSuggestions?: boolean;
73
- selectionHighlight?: boolean;
74
- codeLens?: boolean;
75
- folding?: boolean;
76
- renderWhitespace?: 'none' | 'boundary' | 'all';
77
- renderControlCharacters?: boolean;
78
- renderIndentGuides?: boolean;
79
- renderLineHighlight?: boolean;
80
- useTabStops?: boolean;
81
- fontFamily?: string;
82
- fontWeight?: 'normal' | 'bold' | 'bolder' | 'lighter' | 'initial' | 'inherit' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
83
- fontSize?: number;
84
- lineHeight?: number;
85
- language: IEditorLanguage;
86
- disableAutocomplete: boolean;
87
- autoFormatOnLoad: boolean;
88
- monacoLibPath: string;
89
- set valueToCompare(v: string);
90
- set value(v: string);
91
- readonly valueChange: EventEmitter<any>;
92
- readonly valueToCompareChange: EventEmitter<any>;
93
- readonly init: EventEmitter<any>;
94
- editorContent: ElementRef;
95
- private _editor;
96
- get editor(): any;
97
- private _value;
98
- private _valueToCompare;
99
- constructor();
100
- /**
101
- * load Monaco lib
102
- */
103
- ngAfterViewInit(): void;
104
- /**
105
- * Upon destruction of the component we make sure to dispose both the editor and
106
- * the extra libs that we might've loaded
107
- */
108
- ngOnDestroy(): void;
109
- ngOnChanges(_changes: {
110
- [propKey: string]: SimpleChange;
111
- }): void;
112
- /**
113
- * Destroy the monaco componenent
114
- */
115
- dispose(): void;
116
- /**
117
- * Triggered when windows is resized
118
- * @param event
119
- */
120
- onResize(_event: any): void;
121
- /**
122
- * Init editor
123
- * Is called once monaco library is available
124
- */
125
- private _initMonaco;
126
- private _initEditor;
127
- /**
128
- * Create a simple editor text
129
- * @param div
130
- * @param options
131
- */
132
- private _initSimpleEditor;
133
- /**
134
- * Create a diff editor to compare two string (_value and _valueToCompare)
135
- * @param div
136
- */
137
- private _initDiffEditor;
138
- private _getOptions;
139
- /**
140
- * UpdateValue
141
- *
142
- * @param value
143
- */
144
- private _updateValue;
145
- /**
146
- * UpdateValue
147
- *
148
- * @param value
149
- */
150
- private _updateValueToCompare;
151
- private _getOriginalModel;
152
- private _getModifiedModel;
153
- static ɵfac: i0.ɵɵFactoryDeclaration<AjfMonacoEditor, never>;
154
- static ɵcmp: i0.ɵɵComponentDeclaration<AjfMonacoEditor, "ajf-monaco-editor", never, { "experimentalScreenReader": "experimentalScreenReader"; "ariaLabel": "ariaLabel"; "rulers": "rulers"; "wordSeparators": "wordSeparators"; "selectionClipboard": "selectionClipboard"; "lineNumbers": "lineNumbers"; "selectOnLineNumbers": "selectOnLineNumbers"; "lineNumbersMinChars": "lineNumbersMinChars"; "glyphMargin": "glyphMargin"; "lineDecorationsWidth": "lineDecorationsWidth"; "revealHorizontalRightPadding": "revealHorizontalRightPadding"; "roundedSelection": "roundedSelection"; "theme": "theme"; "readOnly": "readOnly"; "scrollbar": "scrollbar"; "overviewRulerLanes": "overviewRulerLanes"; "cursorBlinking": "cursorBlinking"; "mouseWheelZoom": "mouseWheelZoom"; "cursorStyle": "cursorStyle"; "fontLigatures": "fontLigatures"; "disableTranslate3d": "disableTranslate3d"; "hideCursorInOverviewRuler": "hideCursorInOverviewRuler"; "scrollBeyondLastLine": "scrollBeyondLastLine"; "automaticLayout": "automaticLayout"; "wrappingColumn": "wrappingColumn"; "wordWrap": "wordWrap"; "wrappingIndent": "wrappingIndent"; "wordWrapBreakBeforeCharacters": "wordWrapBreakBeforeCharacters"; "wordWrapBreakAfterCharacters": "wordWrapBreakAfterCharacters"; "wordWrapBreakObtrusiveCharacters": "wordWrapBreakObtrusiveCharacters"; "stopRenderingLineAfter": "stopRenderingLineAfter"; "hover": "hover"; "contextmenu": "contextmenu"; "mouseWheelScrollSensitivity": "mouseWheelScrollSensitivity"; "quickSuggestions": "quickSuggestions"; "quickSuggestionsDelay": "quickSuggestionsDelay"; "parameterHints": "parameterHints"; "iconsInSuggestions": "iconsInSuggestions"; "autoClosingBrackets": "autoClosingBrackets"; "formatOnType": "formatOnType"; "suggestOnTriggerCharacters": "suggestOnTriggerCharacters"; "acceptSuggestionOnEnter": "acceptSuggestionOnEnter"; "snippetSuggestions": "snippetSuggestions"; "tabCompletion": "tabCompletion"; "wordBasedSuggestions": "wordBasedSuggestions"; "selectionHighlight": "selectionHighlight"; "codeLens": "codeLens"; "folding": "folding"; "renderWhitespace": "renderWhitespace"; "renderControlCharacters": "renderControlCharacters"; "renderIndentGuides": "renderIndentGuides"; "renderLineHighlight": "renderLineHighlight"; "useTabStops": "useTabStops"; "fontFamily": "fontFamily"; "fontWeight": "fontWeight"; "fontSize": "fontSize"; "lineHeight": "lineHeight"; "language": "language"; "disableAutocomplete": "disableAutocomplete"; "autoFormatOnLoad": "autoFormatOnLoad"; "monacoLibPath": "monacoLibPath"; "valueToCompare": "valueToCompare"; "value": "value"; }, { "valueChange": "valueChange"; "valueToCompareChange": "valueToCompareChange"; "init": "init"; }, never, never, false, never>;
155
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) Gnucoop soc. coop.
4
- *
5
- * This file is part of the Advanced JSON forms (ajf).
6
- *
7
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
8
- * modify it under the terms of the GNU Affero General Public License as
9
- * published by the Free Software Foundation, either version 3 of the License,
10
- * or (at your option) any later version.
11
- *
12
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with Advanced JSON forms (ajf).
19
- * If not, see http://www.gnu.org/licenses/.
20
- *
21
- */
22
- export * from './monaco-editor-module';
23
- export * from './monaco-editor';