@ajf/material 15.2.2 → 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 (62) 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 +8 -3
  9. package/esm2020/forms/form.mjs +3 -3
  10. package/esm2020/forms/forms-module.mjs +8 -1
  11. package/esm2020/forms/geolocation-field.mjs +44 -0
  12. package/esm2020/geolocation/ajf-material-geolocation.mjs +5 -0
  13. package/esm2020/geolocation/geolocation-module.mjs +61 -0
  14. package/esm2020/geolocation/geolocation.mjs +50 -0
  15. package/esm2020/geolocation/public_api.mjs +24 -0
  16. package/esm2020/time/time.mjs +2 -2
  17. package/fesm2015/ajf-material-form-builder.mjs +55 -153
  18. package/fesm2015/ajf-material-form-builder.mjs.map +1 -1
  19. package/fesm2015/ajf-material-forms.mjs +78 -29
  20. package/fesm2015/ajf-material-forms.mjs.map +1 -1
  21. package/fesm2015/ajf-material-geolocation.mjs +136 -0
  22. package/fesm2015/ajf-material-geolocation.mjs.map +1 -0
  23. package/fesm2015/ajf-material-time.mjs +2 -2
  24. package/fesm2020/ajf-material-form-builder.mjs +55 -153
  25. package/fesm2020/ajf-material-form-builder.mjs.map +1 -1
  26. package/fesm2020/ajf-material-forms.mjs +76 -29
  27. package/fesm2020/ajf-material-forms.mjs.map +1 -1
  28. package/fesm2020/ajf-material-geolocation.mjs +136 -0
  29. package/fesm2020/ajf-material-geolocation.mjs.map +1 -0
  30. package/fesm2020/ajf-material-time.mjs +2 -2
  31. package/form-builder/condition-editor-dialog.d.ts +1 -0
  32. package/form-builder/condition-editor.d.ts +5 -8
  33. package/form-builder/form-builder-module.d.ts +25 -26
  34. package/form-builder/validation-condition-editor-dialog.d.ts +1 -0
  35. package/form-builder/warning-condition-editor-dialog.d.ts +1 -0
  36. package/forms/forms-module.d.ts +37 -35
  37. package/{monaco-editor/auto-complete-item-model.d.ts → forms/geolocation-field.d.ts} +8 -13
  38. package/geolocation/geolocation-module.d.ts +13 -0
  39. package/{monaco-editor/editor-theme.d.ts → geolocation/geolocation.d.ts} +9 -5
  40. package/{monaco-editor → geolocation}/index.d.ts +1 -1
  41. package/{monaco-editor → geolocation}/public_api.d.ts +2 -2
  42. package/package.json +10 -10
  43. package/esm2020/monaco-editor/ajf-material-monaco-editor.mjs +0 -5
  44. package/esm2020/monaco-editor/auto-complete-item-model.mjs +0 -49
  45. package/esm2020/monaco-editor/autocomplete-singleton-model.mjs +0 -135
  46. package/esm2020/monaco-editor/editor-language-model.mjs +0 -60
  47. package/esm2020/monaco-editor/editor-options-model.mjs +0 -37
  48. package/esm2020/monaco-editor/editor-scrollbar-options.mjs +0 -23
  49. package/esm2020/monaco-editor/editor-theme.mjs +0 -30
  50. package/esm2020/monaco-editor/monaco-editor-module.mjs +0 -37
  51. package/esm2020/monaco-editor/monaco-editor.mjs +0 -451
  52. package/esm2020/monaco-editor/public_api.mjs +0 -24
  53. package/fesm2015/ajf-material-monaco-editor.mjs +0 -791
  54. package/fesm2015/ajf-material-monaco-editor.mjs.map +0 -1
  55. package/fesm2020/ajf-material-monaco-editor.mjs +0 -791
  56. package/fesm2020/ajf-material-monaco-editor.mjs.map +0 -1
  57. package/monaco-editor/autocomplete-singleton-model.d.ts +0 -55
  58. package/monaco-editor/editor-language-model.d.ts +0 -59
  59. package/monaco-editor/editor-options-model.d.ts +0 -334
  60. package/monaco-editor/editor-scrollbar-options.d.ts +0 -83
  61. package/monaco-editor/monaco-editor-module.d.ts +0 -7
  62. package/monaco-editor/monaco-editor.d.ts +0 -155
@@ -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
- }