novo-elements 12.1.0 → 13.0.0-next.1
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/addons/index.d.ts +0 -1
- package/elements/form/index.d.ts +6 -12
- package/fesm2022/novo-elements-addons.mjs +0 -1
- package/fesm2022/novo-elements-addons.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-form.mjs +115 -153
- package/fesm2022/novo-elements-elements-form.mjs.map +1 -1
- package/fesm2022/novo-elements.mjs +1 -4
- package/fesm2022/novo-elements.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -6
- package/addons/ace-editor/AceEditor.scss +0 -5
- package/addons/ace-editor/index.d.ts +0 -49
- package/fesm2022/novo-elements-addons-ace-editor.mjs +0 -152
- package/fesm2022/novo-elements-addons-ace-editor.mjs.map +0 -1
package/addons/index.d.ts
CHANGED
package/elements/form/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { NovoToastService, ToastOptions } from 'novo-elements/elements/toast';
|
|
|
11
11
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
12
12
|
import * as i5 from '@angular/forms';
|
|
13
13
|
import { UntypedFormGroup, FormBuilder, FormControl, ControlValueAccessor, NgForm, FormGroupDirective, NgControl, FormGroup } from '@angular/forms';
|
|
14
|
-
import * as
|
|
14
|
+
import * as i29 from 'novo-elements/elements/common';
|
|
15
15
|
import { NovoTemplate, CanUpdateErrorStateCtor, ErrorStateMatcher } from 'novo-elements/elements/common';
|
|
16
16
|
import { FocusKeyManager } from '@angular/cdk/a11y';
|
|
17
17
|
import * as i13 from '@angular/cdk/drag-drop';
|
|
@@ -40,10 +40,9 @@ import * as i21 from 'novo-elements/elements/header';
|
|
|
40
40
|
import * as i23 from 'novo-elements/elements/popover';
|
|
41
41
|
import * as i24 from 'angular-imask';
|
|
42
42
|
import * as i25 from 'novo-elements/elements/tip-well';
|
|
43
|
-
import * as i28 from 'novo-elements/addons/
|
|
44
|
-
import * as
|
|
45
|
-
import * as i32 from 'novo-elements/elements/
|
|
46
|
-
import * as i33 from 'novo-elements/elements/switch';
|
|
43
|
+
import * as i28 from 'novo-elements/addons/code-editor';
|
|
44
|
+
import * as i31 from 'novo-elements/elements/icon';
|
|
45
|
+
import * as i32 from 'novo-elements/elements/switch';
|
|
47
46
|
|
|
48
47
|
interface NovoFieldset {
|
|
49
48
|
title?: string;
|
|
@@ -313,11 +312,6 @@ declare class BaseControl extends ControlConfig {
|
|
|
313
312
|
constructor(type?: string, config?: NovoControlConfig);
|
|
314
313
|
}
|
|
315
314
|
|
|
316
|
-
declare class AceEditorControl extends BaseControl {
|
|
317
|
-
controlType: string;
|
|
318
|
-
constructor(config: NovoControlConfig);
|
|
319
|
-
}
|
|
320
|
-
|
|
321
315
|
declare class AddressControl extends BaseControl {
|
|
322
316
|
controlType: string;
|
|
323
317
|
constructor(config: NovoControlConfig);
|
|
@@ -1281,7 +1275,7 @@ declare class NovoFormElement implements AfterContentInit, OnInit {
|
|
|
1281
1275
|
|
|
1282
1276
|
declare class NovoFormModule {
|
|
1283
1277
|
static ɵfac: i0.ɵɵFactoryDeclaration<NovoFormModule, never>;
|
|
1284
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NovoFormModule, [typeof NovoAutoSize, typeof NovoControlElement, typeof NovoDynamicFormElement, typeof NovoFormElement, typeof NovoFieldsetElement, typeof NovoFieldsetHeaderElement, typeof ControlConfirmModal, typeof ControlPromptModal, typeof NovoControlGroup, typeof NovoControlTemplates], [typeof i4.CommonModule, typeof i8$1.OverlayModule, typeof i5.ReactiveFormsModule, typeof i10$1.NovoRadioModule, typeof i11$1.NovoTilesModule, typeof i8.NovoSelectModule, typeof i9.NovoPickerModule, typeof i14$1.NovoChipsModule, typeof i15$1.NovoDatePickerModule, typeof i16.NovoTimePickerModule, typeof i17.NovoDateTimePickerModule, typeof i18.NovoNovoCKEditorModule, typeof NovoFormExtrasModule, typeof i20.NovoQuickNoteModule, typeof i17.NovoDateTimePickerModule, typeof i21.NovoHeaderModule, typeof i11.NovoTooltipModule, typeof i23.NovoPopOverModule, typeof i24.IMaskModule, typeof i25.NovoTipWellModule, typeof i26.NovoModalModule, typeof i7.NovoButtonModule, typeof i28.
|
|
1278
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NovoFormModule, [typeof NovoAutoSize, typeof NovoControlElement, typeof NovoDynamicFormElement, typeof NovoFormElement, typeof NovoFieldsetElement, typeof NovoFieldsetHeaderElement, typeof ControlConfirmModal, typeof ControlPromptModal, typeof NovoControlGroup, typeof NovoControlTemplates], [typeof i4.CommonModule, typeof i8$1.OverlayModule, typeof i5.ReactiveFormsModule, typeof i10$1.NovoRadioModule, typeof i11$1.NovoTilesModule, typeof i8.NovoSelectModule, typeof i9.NovoPickerModule, typeof i14$1.NovoChipsModule, typeof i15$1.NovoDatePickerModule, typeof i16.NovoTimePickerModule, typeof i17.NovoDateTimePickerModule, typeof i18.NovoNovoCKEditorModule, typeof NovoFormExtrasModule, typeof i20.NovoQuickNoteModule, typeof i17.NovoDateTimePickerModule, typeof i21.NovoHeaderModule, typeof i11.NovoTooltipModule, typeof i23.NovoPopOverModule, typeof i24.IMaskModule, typeof i25.NovoTipWellModule, typeof i26.NovoModalModule, typeof i7.NovoButtonModule, typeof i28.NovoCodeEditorModule, typeof i29.NovoCommonModule, typeof i12.NovoCheckboxModule, typeof i31.NovoIconModule, typeof i10$1.NovoRadioModule, typeof i32.NovoSwitchModule], [typeof NovoAutoSize, typeof NovoDynamicFormElement, typeof NovoControlElement, typeof NovoFormElement, typeof NovoFieldsetHeaderElement, typeof NovoControlGroup, typeof NovoControlTemplates]>;
|
|
1285
1279
|
static ɵinj: i0.ɵɵInjectorDeclaration<NovoFormModule>;
|
|
1286
1280
|
}
|
|
1287
1281
|
|
|
@@ -1308,5 +1302,5 @@ declare class FormValidators {
|
|
|
1308
1302
|
};
|
|
1309
1303
|
}
|
|
1310
1304
|
|
|
1311
|
-
export {
|
|
1305
|
+
export { AddressControl, BaseControl, CheckListControl, CheckboxControl, CodeEditorControl, ControlConfirmModal, ControlFactory, ControlPromptModal, CustomControl, DateControl, DateTimeControl, EditState, EditorControl, FieldInteractionApi, FileControl, FormUtils, FormValidators, GroupedControl, NativeSelectControl, NovoAddressElement, NovoAutoSize, NovoControlElement, NovoControlGroup, NovoControlTemplates, NovoDynamicFormElement, NovoFieldsetElement, NovoFieldsetHeaderElement, NovoFile, NovoFileInputElement, NovoFormControl, NovoFormElement, NovoFormExtrasModule, NovoFormGroup, NovoFormModule, NumberRangeComponent, PickerControl, QuickNoteControl, RadioControl, ReadOnlyControl, SelectControl, SwitchControl, TablePickerControl, TextAreaControl, TextBoxControl, TilesControl, TimeControl, TimezoneControl };
|
|
1312
1306
|
export type { CustomHttp, FormField, IFieldInteractionEvent, IMaskOptions, ModifyPickerConfigArgs, NovoAddressConfig, NovoAddressSubfieldConfig, NovoControlConfig, NovoControlGroupAddConfig, NovoControlGroupRowConfig, NovoFieldset, NovoGroupedControlConfig, OptionsFunction, ResultsTemplateType };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"novo-elements-addons.mjs","sources":["../../../projects/novo-elements/src/addons/novo-elements-addons.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"novo-elements-addons.mjs","sources":["../../../projects/novo-elements/src/addons/novo-elements-addons.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;AAEG"}
|
|
@@ -56,13 +56,11 @@ import * as i17 from 'novo-elements/elements/popover';
|
|
|
56
56
|
import { NovoPopOverModule } from 'novo-elements/elements/popover';
|
|
57
57
|
import * as i18 from 'angular-imask';
|
|
58
58
|
import { IMaskModule } from 'angular-imask';
|
|
59
|
-
import * as i19 from 'novo-elements/addons/
|
|
60
|
-
import { NovoAceEditorModule } from 'novo-elements/addons/ace-editor';
|
|
61
|
-
import * as i20 from 'novo-elements/addons/code-editor';
|
|
59
|
+
import * as i19 from 'novo-elements/addons/code-editor';
|
|
62
60
|
import { NovoCodeEditorModule } from 'novo-elements/addons/code-editor';
|
|
63
|
-
import * as
|
|
61
|
+
import * as i21 from 'novo-elements/elements/checkbox';
|
|
64
62
|
import { NovoCheckboxModule } from 'novo-elements/elements/checkbox';
|
|
65
|
-
import * as
|
|
63
|
+
import * as i22 from 'novo-elements/elements/switch';
|
|
66
64
|
import { NovoSwitchModule } from 'novo-elements/elements/switch';
|
|
67
65
|
import * as i2 from 'novo-elements/elements/icon';
|
|
68
66
|
import { NovoIconModule } from 'novo-elements/elements/icon';
|
|
@@ -71,124 +69,6 @@ import { NovoFlexModule } from 'novo-elements/elements/flex';
|
|
|
71
69
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
72
70
|
import { NovoHeaderModule } from 'novo-elements/elements/header';
|
|
73
71
|
|
|
74
|
-
// NG2
|
|
75
|
-
class ControlConfig {
|
|
76
|
-
constructor() {
|
|
77
|
-
this.isEmbedded = false;
|
|
78
|
-
this.isInlineEmbedded = false;
|
|
79
|
-
this.highlighted = false;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
class BaseControl extends ControlConfig {
|
|
83
|
-
constructor(type = 'BaseControl', config = {}) {
|
|
84
|
-
super();
|
|
85
|
-
this.__type = 'BaseControl';
|
|
86
|
-
this.__type = type;
|
|
87
|
-
this.__config = config;
|
|
88
|
-
this.alwaysActive = config.alwaysActive;
|
|
89
|
-
this.validators = config.validators || [];
|
|
90
|
-
this.asyncValidators = config.asyncValidators || [];
|
|
91
|
-
this.value = config.value;
|
|
92
|
-
this.key = config.key || '';
|
|
93
|
-
this.label = config.label || '';
|
|
94
|
-
this.checkboxLabel = config.checkboxLabel;
|
|
95
|
-
this.name = config.name || '';
|
|
96
|
-
this.required = !!config.required;
|
|
97
|
-
this.hidden = !!config.hidden;
|
|
98
|
-
this.encrypted = !!config.encrypted;
|
|
99
|
-
this.sortOrder = config.sortOrder === undefined ? 1 : config.sortOrder;
|
|
100
|
-
this.controlType = config.controlType || '';
|
|
101
|
-
this.type = config.type;
|
|
102
|
-
this.subType = config.subType;
|
|
103
|
-
this.metaType = config.metaType;
|
|
104
|
-
this.placeholder = config.placeholder || '';
|
|
105
|
-
this.config = config.config || null;
|
|
106
|
-
this.dirty = !!(config.value !== undefined && config.value !== null);
|
|
107
|
-
this.multiple = !!config.multiple;
|
|
108
|
-
this.headerConfig = config.headerConfig || null;
|
|
109
|
-
this.currencyFormat = config.currencyFormat || null;
|
|
110
|
-
this.associatedEntity = config.associatedEntity || null;
|
|
111
|
-
this.optionsType = config.optionsType || null;
|
|
112
|
-
this.options = config.options || [];
|
|
113
|
-
this.forceClear = new EventEmitter();
|
|
114
|
-
this.readOnly = !!config.readOnly || !!config.disabled;
|
|
115
|
-
this.disabled = !!config.disabled;
|
|
116
|
-
this.enabled = true;
|
|
117
|
-
this.layoutOptions = config.layoutOptions || {};
|
|
118
|
-
this.military = !!config.military;
|
|
119
|
-
this.dateFormat = config.dateFormat;
|
|
120
|
-
this.textMaskEnabled = config.textMaskEnabled;
|
|
121
|
-
this.maskOptions = config.maskOptions;
|
|
122
|
-
this.allowInvalidDate = config.allowInvalidDate;
|
|
123
|
-
this.startDate = config.startDate;
|
|
124
|
-
this.endDate = config.endDate;
|
|
125
|
-
this.restrictFieldInteractions = !!config.restrictFieldInteractions;
|
|
126
|
-
this.highlighted = !!config.highlighted;
|
|
127
|
-
if (!Helpers.isEmpty(config.warning)) {
|
|
128
|
-
this.warning = config.warning;
|
|
129
|
-
}
|
|
130
|
-
if (this.required) {
|
|
131
|
-
this.validators.push(Validators.required);
|
|
132
|
-
}
|
|
133
|
-
if (!Helpers.isBlank(config.maxlength)) {
|
|
134
|
-
this.maxlength = config.maxlength;
|
|
135
|
-
this.validators.push(Validators.maxLength(this.maxlength));
|
|
136
|
-
}
|
|
137
|
-
if (!Helpers.isBlank(config.minlength)) {
|
|
138
|
-
this.minlength = config.minlength;
|
|
139
|
-
this.validators.push(Validators.minLength(this.minlength));
|
|
140
|
-
}
|
|
141
|
-
this.closeOnSelect = !!config.closeOnSelect;
|
|
142
|
-
this.interactions = config.interactions;
|
|
143
|
-
this.dataSpecialization = config.dataSpecialization;
|
|
144
|
-
this.dataType = config.dataType;
|
|
145
|
-
this.appendToBody = !!config.appendToBody;
|
|
146
|
-
if (this.appendToBody) {
|
|
147
|
-
notify('\'appendToBody\' has been deprecated. Please remove this attribute.');
|
|
148
|
-
}
|
|
149
|
-
this.parentScrollSelector = config.parentScrollSelector;
|
|
150
|
-
this.description = config.description;
|
|
151
|
-
if (config.tooltip) {
|
|
152
|
-
this.tooltip = config.tooltip;
|
|
153
|
-
this.tooltipPosition = config.tooltipPosition;
|
|
154
|
-
this.tooltipSize = config.tooltipSize;
|
|
155
|
-
this.tooltipPreline = config.tooltipPreline;
|
|
156
|
-
this.removeTooltipArrow = config.removeTooltipArrow;
|
|
157
|
-
this.tooltipAutoPosition = config.tooltipAutoPosition;
|
|
158
|
-
}
|
|
159
|
-
this.popoverAlways = config.popoverAlways;
|
|
160
|
-
this.popoverAnimation = config.popoverAnimation;
|
|
161
|
-
this.popoverContent = config.popoverContent;
|
|
162
|
-
this.popoverDisabled = config.popoverDisabled;
|
|
163
|
-
this.popoverDismissTimeout = config.popoverDismissTimeout;
|
|
164
|
-
this.popoverHtmlContent = config.popoverHtmlContent;
|
|
165
|
-
this.popoverOnHover = config.popoverOnHover;
|
|
166
|
-
this.popoverPlacement = config.popoverPlacement;
|
|
167
|
-
this.popoverTitle = config.popoverTitle;
|
|
168
|
-
this.template = config.template;
|
|
169
|
-
this.customControlConfig = config.customControlConfig;
|
|
170
|
-
this.tipWell = config.tipWell;
|
|
171
|
-
this.width = config.width;
|
|
172
|
-
this.startupFocus = !!config.startupFocus;
|
|
173
|
-
if (config.fileBrowserImageUploadUrl) {
|
|
174
|
-
this.fileBrowserImageUploadUrl = config.fileBrowserImageUploadUrl;
|
|
175
|
-
}
|
|
176
|
-
if (config.isEmpty) {
|
|
177
|
-
this.isEmpty = config.isEmpty;
|
|
178
|
-
}
|
|
179
|
-
this.weekStart = config.weekStart || 0;
|
|
180
|
-
this.disabledDateMessage = config.disabledDateMessage;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
// APP
|
|
185
|
-
class AceEditorControl extends BaseControl {
|
|
186
|
-
constructor(config) {
|
|
187
|
-
super('AceEditorControl', config);
|
|
188
|
-
this.controlType = 'ace-editor';
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
72
|
const MAX_INTEGER = 2147483647;
|
|
193
73
|
const MIN_YEAR = 1753;
|
|
194
74
|
class FormValidators {
|
|
@@ -303,6 +183,116 @@ class FormValidators {
|
|
|
303
183
|
}
|
|
304
184
|
}
|
|
305
185
|
|
|
186
|
+
// NG2
|
|
187
|
+
class ControlConfig {
|
|
188
|
+
constructor() {
|
|
189
|
+
this.isEmbedded = false;
|
|
190
|
+
this.isInlineEmbedded = false;
|
|
191
|
+
this.highlighted = false;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
class BaseControl extends ControlConfig {
|
|
195
|
+
constructor(type = 'BaseControl', config = {}) {
|
|
196
|
+
super();
|
|
197
|
+
this.__type = 'BaseControl';
|
|
198
|
+
this.__type = type;
|
|
199
|
+
this.__config = config;
|
|
200
|
+
this.alwaysActive = config.alwaysActive;
|
|
201
|
+
this.validators = config.validators || [];
|
|
202
|
+
this.asyncValidators = config.asyncValidators || [];
|
|
203
|
+
this.value = config.value;
|
|
204
|
+
this.key = config.key || '';
|
|
205
|
+
this.label = config.label || '';
|
|
206
|
+
this.checkboxLabel = config.checkboxLabel;
|
|
207
|
+
this.name = config.name || '';
|
|
208
|
+
this.required = !!config.required;
|
|
209
|
+
this.hidden = !!config.hidden;
|
|
210
|
+
this.encrypted = !!config.encrypted;
|
|
211
|
+
this.sortOrder = config.sortOrder === undefined ? 1 : config.sortOrder;
|
|
212
|
+
this.controlType = config.controlType || '';
|
|
213
|
+
this.type = config.type;
|
|
214
|
+
this.subType = config.subType;
|
|
215
|
+
this.metaType = config.metaType;
|
|
216
|
+
this.placeholder = config.placeholder || '';
|
|
217
|
+
this.config = config.config || null;
|
|
218
|
+
this.dirty = !!(config.value !== undefined && config.value !== null);
|
|
219
|
+
this.multiple = !!config.multiple;
|
|
220
|
+
this.headerConfig = config.headerConfig || null;
|
|
221
|
+
this.currencyFormat = config.currencyFormat || null;
|
|
222
|
+
this.associatedEntity = config.associatedEntity || null;
|
|
223
|
+
this.optionsType = config.optionsType || null;
|
|
224
|
+
this.options = config.options || [];
|
|
225
|
+
this.forceClear = new EventEmitter();
|
|
226
|
+
this.readOnly = !!config.readOnly || !!config.disabled;
|
|
227
|
+
this.disabled = !!config.disabled;
|
|
228
|
+
this.enabled = true;
|
|
229
|
+
this.layoutOptions = config.layoutOptions || {};
|
|
230
|
+
this.military = !!config.military;
|
|
231
|
+
this.dateFormat = config.dateFormat;
|
|
232
|
+
this.textMaskEnabled = config.textMaskEnabled;
|
|
233
|
+
this.maskOptions = config.maskOptions;
|
|
234
|
+
this.allowInvalidDate = config.allowInvalidDate;
|
|
235
|
+
this.startDate = config.startDate;
|
|
236
|
+
this.endDate = config.endDate;
|
|
237
|
+
this.restrictFieldInteractions = !!config.restrictFieldInteractions;
|
|
238
|
+
this.highlighted = !!config.highlighted;
|
|
239
|
+
if (!Helpers.isEmpty(config.warning)) {
|
|
240
|
+
this.warning = config.warning;
|
|
241
|
+
}
|
|
242
|
+
if (this.required) {
|
|
243
|
+
this.validators.push(Validators.required);
|
|
244
|
+
}
|
|
245
|
+
if (!Helpers.isBlank(config.maxlength)) {
|
|
246
|
+
this.maxlength = config.maxlength;
|
|
247
|
+
this.validators.push(Validators.maxLength(this.maxlength));
|
|
248
|
+
}
|
|
249
|
+
if (!Helpers.isBlank(config.minlength)) {
|
|
250
|
+
this.minlength = config.minlength;
|
|
251
|
+
this.validators.push(Validators.minLength(this.minlength));
|
|
252
|
+
}
|
|
253
|
+
this.closeOnSelect = !!config.closeOnSelect;
|
|
254
|
+
this.interactions = config.interactions;
|
|
255
|
+
this.dataSpecialization = config.dataSpecialization;
|
|
256
|
+
this.dataType = config.dataType;
|
|
257
|
+
this.appendToBody = !!config.appendToBody;
|
|
258
|
+
if (this.appendToBody) {
|
|
259
|
+
notify('\'appendToBody\' has been deprecated. Please remove this attribute.');
|
|
260
|
+
}
|
|
261
|
+
this.parentScrollSelector = config.parentScrollSelector;
|
|
262
|
+
this.description = config.description;
|
|
263
|
+
if (config.tooltip) {
|
|
264
|
+
this.tooltip = config.tooltip;
|
|
265
|
+
this.tooltipPosition = config.tooltipPosition;
|
|
266
|
+
this.tooltipSize = config.tooltipSize;
|
|
267
|
+
this.tooltipPreline = config.tooltipPreline;
|
|
268
|
+
this.removeTooltipArrow = config.removeTooltipArrow;
|
|
269
|
+
this.tooltipAutoPosition = config.tooltipAutoPosition;
|
|
270
|
+
}
|
|
271
|
+
this.popoverAlways = config.popoverAlways;
|
|
272
|
+
this.popoverAnimation = config.popoverAnimation;
|
|
273
|
+
this.popoverContent = config.popoverContent;
|
|
274
|
+
this.popoverDisabled = config.popoverDisabled;
|
|
275
|
+
this.popoverDismissTimeout = config.popoverDismissTimeout;
|
|
276
|
+
this.popoverHtmlContent = config.popoverHtmlContent;
|
|
277
|
+
this.popoverOnHover = config.popoverOnHover;
|
|
278
|
+
this.popoverPlacement = config.popoverPlacement;
|
|
279
|
+
this.popoverTitle = config.popoverTitle;
|
|
280
|
+
this.template = config.template;
|
|
281
|
+
this.customControlConfig = config.customControlConfig;
|
|
282
|
+
this.tipWell = config.tipWell;
|
|
283
|
+
this.width = config.width;
|
|
284
|
+
this.startupFocus = !!config.startupFocus;
|
|
285
|
+
if (config.fileBrowserImageUploadUrl) {
|
|
286
|
+
this.fileBrowserImageUploadUrl = config.fileBrowserImageUploadUrl;
|
|
287
|
+
}
|
|
288
|
+
if (config.isEmpty) {
|
|
289
|
+
this.isEmpty = config.isEmpty;
|
|
290
|
+
}
|
|
291
|
+
this.weekStart = config.weekStart || 0;
|
|
292
|
+
this.disabledDateMessage = config.disabledDateMessage;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
306
296
|
// APP
|
|
307
297
|
class AddressControl extends BaseControl {
|
|
308
298
|
constructor(config) {
|
|
@@ -2769,7 +2759,6 @@ class NovoControlElement extends OutsideClick {
|
|
|
2769
2759
|
'address',
|
|
2770
2760
|
'file',
|
|
2771
2761
|
'editor',
|
|
2772
|
-
'ace-editor',
|
|
2773
2762
|
'code-editor',
|
|
2774
2763
|
'radio',
|
|
2775
2764
|
'text-area',
|
|
@@ -4882,18 +4871,6 @@ class NovoControlTemplates {
|
|
|
4882
4871
|
</div>
|
|
4883
4872
|
</ng-template>
|
|
4884
4873
|
|
|
4885
|
-
<!--AceEditor-->
|
|
4886
|
-
<ng-template novoTemplate="ace-editor" let-control let-form="form" let-errors="errors" let-methods="methods">
|
|
4887
|
-
<div [formGroup]="form">
|
|
4888
|
-
<novo-ace-editor
|
|
4889
|
-
[name]="control.key"
|
|
4890
|
-
[formControlName]="control.key"
|
|
4891
|
-
(focus)="methods.handleFocus($event)"
|
|
4892
|
-
(blur)="methods.handleBlur($event)"
|
|
4893
|
-
></novo-ace-editor>
|
|
4894
|
-
</div>
|
|
4895
|
-
</ng-template>
|
|
4896
|
-
|
|
4897
4874
|
<!--CodeEditor-->
|
|
4898
4875
|
<ng-template novoTemplate="code-editor" let-control let-form="form" let-errors="errors" let-methods="methods">
|
|
4899
4876
|
<div [formGroup]="form">
|
|
@@ -5442,7 +5419,7 @@ class NovoControlTemplates {
|
|
|
5442
5419
|
></novo-quick-note>
|
|
5443
5420
|
</div>
|
|
5444
5421
|
</ng-template>
|
|
5445
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i3$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i3$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4$4.NovoRadioElement, selector: "novo-radio", inputs: ["id", "name", "tabindex", "vertical", "label", "button", "theme", "size", "icon", "color", "disabled", "checked", "value"], outputs: ["change", "blur", "focus"] }, { kind: "component", type: i4$4.NovoRadioGroup, selector: "novo-radio-group", inputs: ["id", "tabindex", "errorStateMatcher", "appearance", "value", "name", "disabled", "required", "placeholder"], outputs: ["change", "blur"] }, { kind: "component", type: i5$2.NovoTilesElement, selector: "novo-tiles", inputs: ["name", "options", "required", "controlDisabled"], outputs: ["onChange", "onSelectedOptionClick", "onDisabledOptionClick"] }, { kind: "component", type: i6$1.NovoSelectElement, selector: "novo-select", inputs: ["disabled", "required", "tabIndex", "id", "name", "placeholder", "readonly", "headerConfig", "position", "overlayWidth", "overlayHeight", "displayIcon", "displayWith", "compareWith", "hideLegacyOptions", "value", "multiple", "options"], outputs: ["onSelect", "selectionChange", "valueChange", "openedChange", "opened", "closed"] }, { kind: "component", type: i4$3.NovoPickerElement, selector: "novo-picker", inputs: ["config", "placeholder", "clearValueOnSelect", "closeOnSelect", "selected", "appendToBody", "parentScrollSelector", "parentScrollAction", "containerClass", "side", "autoSelectFirstOption", "overrideElement", "maxlength", "allowCustomValues", "width", "minWidth", "allowTabNavigation", "disablePickerInput"], outputs: ["changed", "select", "focus", "blur", "typing", "tab"] }, { kind: "component", type: i8$1.NovoChipsElement, selector: "chips,novo-chips", inputs: ["closeOnSelect", "placeholder", "source", "maxlength", "type", "allowCustomValues", "disablePickerInput", "overrideElement", "width", "minWidth", "size", "value"], outputs: ["changed", "focus", "blur", "typing"] }, { kind: "component", type: i8$1.NovoRowChipsElement, selector: "novo-row-chips", inputs: ["closeOnSelect"] }, { kind: "component", type: i9.NovoDatePickerInputElement, selector: "novo-date-picker-input", inputs: ["name", "start", "end", "placeholder", "maskOptions", "format", "textMaskEnabled", "allowInvalidDate", "overlayOnElement", "hideFooter", "hideToday", "hasButtons", "disabled", "disabledDateMessage", "dateForInitialView", "weekStart"], outputs: ["blurEvent", "focusEvent", "changeEvent", "onSave", "onCancel", "valueCleared"] }, { kind: "component", type: i10.NovoTimePickerInputElement, selector: "novo-time-picker-input", inputs: ["name", "placeholder", "military", "maskOptions", "disabled", "hasButtons", "saveDisabled", "overlayOnElement", "analog"], outputs: ["blurEvent", "focusEvent", "changeEvent", "onSave", "onCancel"] }, { kind: "component", type: i11.NovoDateTimePickerInputElement, selector: "novo-date-time-picker-input", inputs: ["name", "start", "end", "placeholder", "maskOptions", "military", "disabled", "format", "weekStart", "disabledDateMessage"], outputs: ["blurEvent", "focusEvent", "changeEvent"] }, { kind: "component", type: i12.NovoCKEditorElement, selector: "novo-editor", inputs: ["config", "debounce", "name", "minimal", "startupFocus", "fileBrowserImageUploadUrl", "disabled", "value"], outputs: ["change", "ready", "blur", "focus", "paste", "loaded"] }, { kind: "component", type: NovoAddressElement, selector: "novo-address", inputs: ["config", "readOnly"], outputs: ["change", "focus", "blur", "validityChange"] }, { kind: "component", type: NovoFileInputElement, selector: "novo-file-input", inputs: ["id", "tabindex", "errorStateMatcher", "multiple", "layoutOptions", "value", "dataFeatureId", "name", "disabled", "required", "placeholder"], outputs: ["edit", "save", "delete", "upload"] }, { kind: "component", type: i15.QuickNoteElement, selector: "novo-quick-note", inputs: ["config", "startupFocus", "placeholder"], outputs: ["focus", "blur", "change"] }, { kind: "directive", type: i4$2.TooltipDirective, selector: "[tooltip]", inputs: ["tooltip", "tooltipPosition", "tooltipType", "tooltipSize", "tooltipBounce", "tooltipNoAnimate", "tooltipRounded", "tooltipAlways", "tooltipPreline", "removeTooltipArrow", "tooltipAutoPosition", "tooltipIsHTML", "tooltipCloseOnClick", "tooltipOnOverflow", "tooltipActive"] }, { kind: "directive", type: i17.PopOverDirective, selector: "[popover], [novoPopover]", inputs: ["popover", "novoPopover", "popoverHtmlContent", "popoverDisabled", "popoverAlways", "popoverAnimation", "popoverPlacement", "popoverTitle", "popoverOnHover", "popoverDismissTimeout"], outputs: ["onShown", "onHidden"] }, { kind: "directive", type: i18.IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }, { kind: "component", type: i19.
|
|
5422
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i3$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i3$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4$4.NovoRadioElement, selector: "novo-radio", inputs: ["id", "name", "tabindex", "vertical", "label", "button", "theme", "size", "icon", "color", "disabled", "checked", "value"], outputs: ["change", "blur", "focus"] }, { kind: "component", type: i4$4.NovoRadioGroup, selector: "novo-radio-group", inputs: ["id", "tabindex", "errorStateMatcher", "appearance", "value", "name", "disabled", "required", "placeholder"], outputs: ["change", "blur"] }, { kind: "component", type: i5$2.NovoTilesElement, selector: "novo-tiles", inputs: ["name", "options", "required", "controlDisabled"], outputs: ["onChange", "onSelectedOptionClick", "onDisabledOptionClick"] }, { kind: "component", type: i6$1.NovoSelectElement, selector: "novo-select", inputs: ["disabled", "required", "tabIndex", "id", "name", "placeholder", "readonly", "headerConfig", "position", "overlayWidth", "overlayHeight", "displayIcon", "displayWith", "compareWith", "hideLegacyOptions", "value", "multiple", "options"], outputs: ["onSelect", "selectionChange", "valueChange", "openedChange", "opened", "closed"] }, { kind: "component", type: i4$3.NovoPickerElement, selector: "novo-picker", inputs: ["config", "placeholder", "clearValueOnSelect", "closeOnSelect", "selected", "appendToBody", "parentScrollSelector", "parentScrollAction", "containerClass", "side", "autoSelectFirstOption", "overrideElement", "maxlength", "allowCustomValues", "width", "minWidth", "allowTabNavigation", "disablePickerInput"], outputs: ["changed", "select", "focus", "blur", "typing", "tab"] }, { kind: "component", type: i8$1.NovoChipsElement, selector: "chips,novo-chips", inputs: ["closeOnSelect", "placeholder", "source", "maxlength", "type", "allowCustomValues", "disablePickerInput", "overrideElement", "width", "minWidth", "size", "value"], outputs: ["changed", "focus", "blur", "typing"] }, { kind: "component", type: i8$1.NovoRowChipsElement, selector: "novo-row-chips", inputs: ["closeOnSelect"] }, { kind: "component", type: i9.NovoDatePickerInputElement, selector: "novo-date-picker-input", inputs: ["name", "start", "end", "placeholder", "maskOptions", "format", "textMaskEnabled", "allowInvalidDate", "overlayOnElement", "hideFooter", "hideToday", "hasButtons", "disabled", "disabledDateMessage", "dateForInitialView", "weekStart"], outputs: ["blurEvent", "focusEvent", "changeEvent", "onSave", "onCancel", "valueCleared"] }, { kind: "component", type: i10.NovoTimePickerInputElement, selector: "novo-time-picker-input", inputs: ["name", "placeholder", "military", "maskOptions", "disabled", "hasButtons", "saveDisabled", "overlayOnElement", "analog"], outputs: ["blurEvent", "focusEvent", "changeEvent", "onSave", "onCancel"] }, { kind: "component", type: i11.NovoDateTimePickerInputElement, selector: "novo-date-time-picker-input", inputs: ["name", "start", "end", "placeholder", "maskOptions", "military", "disabled", "format", "weekStart", "disabledDateMessage"], outputs: ["blurEvent", "focusEvent", "changeEvent"] }, { kind: "component", type: i12.NovoCKEditorElement, selector: "novo-editor", inputs: ["config", "debounce", "name", "minimal", "startupFocus", "fileBrowserImageUploadUrl", "disabled", "value"], outputs: ["change", "ready", "blur", "focus", "paste", "loaded"] }, { kind: "component", type: NovoAddressElement, selector: "novo-address", inputs: ["config", "readOnly"], outputs: ["change", "focus", "blur", "validityChange"] }, { kind: "component", type: NovoFileInputElement, selector: "novo-file-input", inputs: ["id", "tabindex", "errorStateMatcher", "multiple", "layoutOptions", "value", "dataFeatureId", "name", "disabled", "required", "placeholder"], outputs: ["edit", "save", "delete", "upload"] }, { kind: "component", type: i15.QuickNoteElement, selector: "novo-quick-note", inputs: ["config", "startupFocus", "placeholder"], outputs: ["focus", "blur", "change"] }, { kind: "directive", type: i4$2.TooltipDirective, selector: "[tooltip]", inputs: ["tooltip", "tooltipPosition", "tooltipType", "tooltipSize", "tooltipBounce", "tooltipNoAnimate", "tooltipRounded", "tooltipAlways", "tooltipPreline", "removeTooltipArrow", "tooltipAutoPosition", "tooltipIsHTML", "tooltipCloseOnClick", "tooltipOnOverflow", "tooltipActive"] }, { kind: "directive", type: i17.PopOverDirective, selector: "[popover], [novoPopover]", inputs: ["popover", "novoPopover", "popoverHtmlContent", "popoverDisabled", "popoverAlways", "popoverAnimation", "popoverPlacement", "popoverTitle", "popoverOnHover", "popoverDismissTimeout"], outputs: ["onShown", "onHidden"] }, { kind: "directive", type: i18.IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }, { kind: "component", type: i19.NovoCodeEditor, selector: "novo-code-editor", inputs: ["theme", "lineNumbers", "name", "mode"], outputs: ["blur", "focus"] }, { kind: "directive", type: i5.NovoTemplate, selector: "[novoTemplate]", inputs: ["type", "novoTemplate"] }, { kind: "directive", type: i5.ThemeColorDirective, selector: "[theme]", inputs: ["theme"] }, { kind: "component", type: i21.NovoCheckboxElement, selector: "novo-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "name", "label", "disabled", "layoutOptions", "color", "value", "tabIndex", "required", "checked", "indeterminate"], outputs: ["change", "indeterminateChange", "onSelect"] }, { kind: "component", type: i21.NovoCheckListElement, selector: "novo-check-list", inputs: ["name", "options", "disabled"], outputs: ["onSelect"] }, { kind: "component", type: i22.NovoSwitchElement, selector: "novo-switch", inputs: ["theme", "icons", "disabled"], outputs: ["onChange"] }, { kind: "directive", type: NovoAutoSize, selector: "textarea[autosize]" }] }); }
|
|
5446
5423
|
}
|
|
5447
5424
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NovoControlTemplates, decorators: [{
|
|
5448
5425
|
type: Component,
|
|
@@ -5589,18 +5566,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
|
|
|
5589
5566
|
</div>
|
|
5590
5567
|
</ng-template>
|
|
5591
5568
|
|
|
5592
|
-
<!--AceEditor-->
|
|
5593
|
-
<ng-template novoTemplate="ace-editor" let-control let-form="form" let-errors="errors" let-methods="methods">
|
|
5594
|
-
<div [formGroup]="form">
|
|
5595
|
-
<novo-ace-editor
|
|
5596
|
-
[name]="control.key"
|
|
5597
|
-
[formControlName]="control.key"
|
|
5598
|
-
(focus)="methods.handleFocus($event)"
|
|
5599
|
-
(blur)="methods.handleBlur($event)"
|
|
5600
|
-
></novo-ace-editor>
|
|
5601
|
-
</div>
|
|
5602
|
-
</ng-template>
|
|
5603
|
-
|
|
5604
5569
|
<!--CodeEditor-->
|
|
5605
5570
|
<ng-template novoTemplate="code-editor" let-control let-form="form" let-errors="errors" let-methods="methods">
|
|
5606
5571
|
<div [formGroup]="form">
|
|
@@ -6735,7 +6700,6 @@ class NovoFormModule {
|
|
|
6735
6700
|
NovoTipWellModule,
|
|
6736
6701
|
NovoModalModule,
|
|
6737
6702
|
NovoButtonModule,
|
|
6738
|
-
NovoAceEditorModule,
|
|
6739
6703
|
NovoCodeEditorModule,
|
|
6740
6704
|
NovoCommonModule,
|
|
6741
6705
|
NovoCheckboxModule,
|
|
@@ -6770,7 +6734,6 @@ class NovoFormModule {
|
|
|
6770
6734
|
NovoTipWellModule,
|
|
6771
6735
|
NovoModalModule,
|
|
6772
6736
|
NovoButtonModule,
|
|
6773
|
-
NovoAceEditorModule,
|
|
6774
6737
|
NovoCodeEditorModule,
|
|
6775
6738
|
NovoCommonModule,
|
|
6776
6739
|
NovoCheckboxModule,
|
|
@@ -6804,7 +6767,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
|
|
|
6804
6767
|
NovoTipWellModule,
|
|
6805
6768
|
NovoModalModule,
|
|
6806
6769
|
NovoButtonModule,
|
|
6807
|
-
NovoAceEditorModule,
|
|
6808
6770
|
NovoCodeEditorModule,
|
|
6809
6771
|
NovoCommonModule,
|
|
6810
6772
|
NovoCheckboxModule,
|
|
@@ -6841,5 +6803,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
|
|
|
6841
6803
|
* Generated bundle index. Do not edit.
|
|
6842
6804
|
*/
|
|
6843
6805
|
|
|
6844
|
-
export {
|
|
6806
|
+
export { AddressControl, BaseControl, CheckListControl, CheckboxControl, CodeEditorControl, ControlConfirmModal, ControlFactory, ControlPromptModal, CustomControl, DateControl, DateTimeControl, EditState, EditorControl, FieldInteractionApi, FileControl, FormUtils, FormValidators, GroupedControl, NativeSelectControl, NovoAddressElement, NovoAutoSize, NovoControlElement, NovoControlGroup, NovoControlTemplates, NovoDynamicFormElement, NovoFieldsetElement, NovoFieldsetHeaderElement, NovoFile, NovoFileInputElement, NovoFormControl, NovoFormElement, NovoFormExtrasModule, NovoFormGroup, NovoFormModule, NumberRangeComponent, PickerControl, QuickNoteControl, RadioControl, ReadOnlyControl, SelectControl, SwitchControl, TablePickerControl, TextAreaControl, TextBoxControl, TilesControl, TimeControl, TimezoneControl };
|
|
6845
6807
|
//# sourceMappingURL=novo-elements-elements-form.mjs.map
|