@syncfusion/ej2-angular-inplace-editor 29.2.4-ngcc → 30.1.37-ngcc

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.
@@ -4,255 +4,255 @@ import { ComponentBase, ComponentMixins, FormBase, Template, setValue } from '@s
4
4
  import { AutoComplete, ColorPicker, ComboBox, DateRangePicker, InPlaceEditor, MultiSelect, Rte, Slider, TimePicker } from '@syncfusion/ej2-inplace-editor';
5
5
  import { CommonModule } from '@angular/common';
6
6
 
7
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
8
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
10
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
11
- return c > 3 && r && Object.defineProperty(target, key, r), r;
12
- };
13
- var __metadata = (this && this.__metadata) || function (k, v) {
14
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
15
- };
16
- const inputs = ['actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value'];
17
- const outputs = ['focus', 'blur', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating', 'valueChange'];
18
- const twoWays = ['value'];
19
- /**
20
- * `ejs-inplaceeditor` represents the Angular InPlaceEditor Component.
21
- * ```html
22
- * <ejs-inplaceeditor></ejs-inplaceeditor>
23
- * ```
24
- */
25
- let InPlaceEditorComponent = InPlaceEditorComponent_1 = class InPlaceEditorComponent extends InPlaceEditor {
26
- /**
27
- * @param {?} ngEle
28
- * @param {?} srenderer
29
- * @param {?} viewContainerRef
30
- * @param {?} injector
31
- * @param {?} cdr
32
- */
33
- constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
34
- super();
35
- this.ngEle = ngEle;
36
- this.srenderer = srenderer;
37
- this.viewContainerRef = viewContainerRef;
38
- this.injector = injector;
39
- this.cdr = cdr;
40
- this.element = this.ngEle.nativeElement;
41
- this.injectedModules = this.injectedModules || [];
42
- try {
43
- let mod = this.injector.get('InPlace-EditorAutoComplete');
44
- if (this.injectedModules.indexOf(mod) === -1) {
45
- this.injectedModules.push(mod);
46
- }
47
- }
48
- catch (_a) { }
49
- try {
50
- let mod = this.injector.get('InPlace-EditorColorPicker');
51
- if (this.injectedModules.indexOf(mod) === -1) {
52
- this.injectedModules.push(mod);
53
- }
54
- }
55
- catch (_b) { }
56
- try {
57
- let mod = this.injector.get('InPlace-EditorComboBox');
58
- if (this.injectedModules.indexOf(mod) === -1) {
59
- this.injectedModules.push(mod);
60
- }
61
- }
62
- catch (_c) { }
63
- try {
64
- let mod = this.injector.get('InPlace-EditorDateRangePicker');
65
- if (this.injectedModules.indexOf(mod) === -1) {
66
- this.injectedModules.push(mod);
67
- }
68
- }
69
- catch (_d) { }
70
- try {
71
- let mod = this.injector.get('InPlace-EditorMultiSelect');
72
- if (this.injectedModules.indexOf(mod) === -1) {
73
- this.injectedModules.push(mod);
74
- }
75
- }
76
- catch (_e) { }
77
- try {
78
- let mod = this.injector.get('InPlace-EditorRte');
79
- if (this.injectedModules.indexOf(mod) === -1) {
80
- this.injectedModules.push(mod);
81
- }
82
- }
83
- catch (_f) { }
84
- try {
85
- let mod = this.injector.get('InPlace-EditorSlider');
86
- if (this.injectedModules.indexOf(mod) === -1) {
87
- this.injectedModules.push(mod);
88
- }
89
- }
90
- catch (_g) { }
91
- try {
92
- let mod = this.injector.get('InPlace-EditorTimePicker');
93
- if (this.injectedModules.indexOf(mod) === -1) {
94
- this.injectedModules.push(mod);
95
- }
96
- }
97
- catch (_h) { }
98
- this.registerEvents(outputs);
99
- this.addTwoWay.call(this, twoWays);
100
- setValue('currentInstance', this, this.viewContainerRef);
101
- this.formContext = new FormBase();
102
- this.formCompContext = new ComponentBase();
103
- }
104
- /**
105
- * @param {?} registerFunction
106
- * @return {?}
107
- */
108
- registerOnChange(registerFunction) {
109
- }
110
- /**
111
- * @param {?} registerFunction
112
- * @return {?}
113
- */
114
- registerOnTouched(registerFunction) {
115
- }
116
- /**
117
- * @param {?} value
118
- * @return {?}
119
- */
120
- writeValue(value) {
121
- }
122
- /**
123
- * @param {?} disabled
124
- * @return {?}
125
- */
126
- setDisabledState(disabled) {
127
- }
128
- /**
129
- * @return {?}
130
- */
131
- ngOnInit() {
132
- this.formCompContext.ngOnInit(this);
133
- }
134
- /**
135
- * @return {?}
136
- */
137
- ngAfterViewInit() {
138
- this.formContext.ngAfterViewInit(this);
139
- }
140
- /**
141
- * @return {?}
142
- */
143
- ngOnDestroy() {
144
- this.formCompContext.ngOnDestroy(this);
145
- }
146
- /**
147
- * @return {?}
148
- */
149
- ngAfterContentChecked() {
150
- this.formCompContext.ngAfterContentChecked(this);
151
- }
152
- };
153
- InPlaceEditorComponent.decorators = [
154
- { type: Component, args: [{
155
- selector: 'ejs-inplaceeditor',
156
- inputs: inputs,
157
- outputs: outputs,
158
- template: '',
159
- changeDetection: ChangeDetectionStrategy.OnPush,
160
- providers: [
161
- {
162
- provide: NG_VALUE_ACCESSOR,
163
- useExisting: forwardRef(() => InPlaceEditorComponent_1),
164
- multi: true
165
- }
166
- ],
167
- queries: {}
168
- },] },
169
- ];
170
- /**
171
- * @nocollapse
172
- */
173
- InPlaceEditorComponent.ctorParameters = () => [
174
- { type: ElementRef, },
175
- { type: Renderer2, },
176
- { type: ViewContainerRef, },
177
- { type: Injector, },
178
- { type: ChangeDetectorRef, },
179
- ];
180
- InPlaceEditorComponent.propDecorators = {
181
- 'template': [{ type: ContentChild, args: ['template',] },],
182
- };
183
- __decorate([
184
- Template(),
185
- __metadata("design:type", Object)
186
- ], InPlaceEditorComponent.prototype, "template", void 0);
187
- InPlaceEditorComponent = InPlaceEditorComponent_1 = __decorate([
188
- ComponentMixins([ComponentBase, FormBase]),
189
- __metadata("design:paramtypes", [ElementRef,
190
- Renderer2,
191
- ViewContainerRef,
192
- Injector,
193
- ChangeDetectorRef])
194
- ], InPlaceEditorComponent);
7
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
8
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
10
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
11
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
12
+ };
13
+ var __metadata = (this && this.__metadata) || function (k, v) {
14
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
15
+ };
16
+ const inputs = ['actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value'];
17
+ const outputs = ['focus', 'blur', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating', 'valueChange'];
18
+ const twoWays = ['value'];
19
+ /**
20
+ * `ejs-inplaceeditor` represents the Angular InPlaceEditor Component.
21
+ * ```html
22
+ * <ejs-inplaceeditor></ejs-inplaceeditor>
23
+ * ```
24
+ */
25
+ let InPlaceEditorComponent = InPlaceEditorComponent_1 = class InPlaceEditorComponent extends InPlaceEditor {
26
+ /**
27
+ * @param {?} ngEle
28
+ * @param {?} srenderer
29
+ * @param {?} viewContainerRef
30
+ * @param {?} injector
31
+ * @param {?} cdr
32
+ */
33
+ constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
34
+ super();
35
+ this.ngEle = ngEle;
36
+ this.srenderer = srenderer;
37
+ this.viewContainerRef = viewContainerRef;
38
+ this.injector = injector;
39
+ this.cdr = cdr;
40
+ this.element = this.ngEle.nativeElement;
41
+ this.injectedModules = this.injectedModules || [];
42
+ try {
43
+ let mod = this.injector.get('InPlace-EditorAutoComplete');
44
+ if (this.injectedModules.indexOf(mod) === -1) {
45
+ this.injectedModules.push(mod);
46
+ }
47
+ }
48
+ catch (_a) { }
49
+ try {
50
+ let mod = this.injector.get('InPlace-EditorColorPicker');
51
+ if (this.injectedModules.indexOf(mod) === -1) {
52
+ this.injectedModules.push(mod);
53
+ }
54
+ }
55
+ catch (_b) { }
56
+ try {
57
+ let mod = this.injector.get('InPlace-EditorComboBox');
58
+ if (this.injectedModules.indexOf(mod) === -1) {
59
+ this.injectedModules.push(mod);
60
+ }
61
+ }
62
+ catch (_c) { }
63
+ try {
64
+ let mod = this.injector.get('InPlace-EditorDateRangePicker');
65
+ if (this.injectedModules.indexOf(mod) === -1) {
66
+ this.injectedModules.push(mod);
67
+ }
68
+ }
69
+ catch (_d) { }
70
+ try {
71
+ let mod = this.injector.get('InPlace-EditorMultiSelect');
72
+ if (this.injectedModules.indexOf(mod) === -1) {
73
+ this.injectedModules.push(mod);
74
+ }
75
+ }
76
+ catch (_e) { }
77
+ try {
78
+ let mod = this.injector.get('InPlace-EditorRte');
79
+ if (this.injectedModules.indexOf(mod) === -1) {
80
+ this.injectedModules.push(mod);
81
+ }
82
+ }
83
+ catch (_f) { }
84
+ try {
85
+ let mod = this.injector.get('InPlace-EditorSlider');
86
+ if (this.injectedModules.indexOf(mod) === -1) {
87
+ this.injectedModules.push(mod);
88
+ }
89
+ }
90
+ catch (_g) { }
91
+ try {
92
+ let mod = this.injector.get('InPlace-EditorTimePicker');
93
+ if (this.injectedModules.indexOf(mod) === -1) {
94
+ this.injectedModules.push(mod);
95
+ }
96
+ }
97
+ catch (_h) { }
98
+ this.registerEvents(outputs);
99
+ this.addTwoWay.call(this, twoWays);
100
+ setValue('currentInstance', this, this.viewContainerRef);
101
+ this.formContext = new FormBase();
102
+ this.formCompContext = new ComponentBase();
103
+ }
104
+ /**
105
+ * @param {?} registerFunction
106
+ * @return {?}
107
+ */
108
+ registerOnChange(registerFunction) {
109
+ }
110
+ /**
111
+ * @param {?} registerFunction
112
+ * @return {?}
113
+ */
114
+ registerOnTouched(registerFunction) {
115
+ }
116
+ /**
117
+ * @param {?} value
118
+ * @return {?}
119
+ */
120
+ writeValue(value) {
121
+ }
122
+ /**
123
+ * @param {?} disabled
124
+ * @return {?}
125
+ */
126
+ setDisabledState(disabled) {
127
+ }
128
+ /**
129
+ * @return {?}
130
+ */
131
+ ngOnInit() {
132
+ this.formCompContext.ngOnInit(this);
133
+ }
134
+ /**
135
+ * @return {?}
136
+ */
137
+ ngAfterViewInit() {
138
+ this.formContext.ngAfterViewInit(this);
139
+ }
140
+ /**
141
+ * @return {?}
142
+ */
143
+ ngOnDestroy() {
144
+ this.formCompContext.ngOnDestroy(this);
145
+ }
146
+ /**
147
+ * @return {?}
148
+ */
149
+ ngAfterContentChecked() {
150
+ this.formCompContext.ngAfterContentChecked(this);
151
+ }
152
+ };
153
+ InPlaceEditorComponent.decorators = [
154
+ { type: Component, args: [{
155
+ selector: 'ejs-inplaceeditor',
156
+ inputs: inputs,
157
+ outputs: outputs,
158
+ template: '',
159
+ changeDetection: ChangeDetectionStrategy.OnPush,
160
+ providers: [
161
+ {
162
+ provide: NG_VALUE_ACCESSOR,
163
+ useExisting: forwardRef(() => InPlaceEditorComponent_1),
164
+ multi: true
165
+ }
166
+ ],
167
+ queries: {}
168
+ },] },
169
+ ];
170
+ /**
171
+ * @nocollapse
172
+ */
173
+ InPlaceEditorComponent.ctorParameters = () => [
174
+ { type: ElementRef, },
175
+ { type: Renderer2, },
176
+ { type: ViewContainerRef, },
177
+ { type: Injector, },
178
+ { type: ChangeDetectorRef, },
179
+ ];
180
+ InPlaceEditorComponent.propDecorators = {
181
+ 'template': [{ type: ContentChild, args: ['template',] },],
182
+ };
183
+ __decorate([
184
+ Template(),
185
+ __metadata("design:type", Object)
186
+ ], InPlaceEditorComponent.prototype, "template", void 0);
187
+ InPlaceEditorComponent = InPlaceEditorComponent_1 = __decorate([
188
+ ComponentMixins([ComponentBase, FormBase]),
189
+ __metadata("design:paramtypes", [ElementRef,
190
+ Renderer2,
191
+ ViewContainerRef,
192
+ Injector,
193
+ ChangeDetectorRef])
194
+ ], InPlaceEditorComponent);
195
195
  var InPlaceEditorComponent_1;
196
196
 
197
- /**
198
- * NgModule definition for the InPlaceEditor component.
199
- */
200
- class InPlaceEditorModule {
201
- }
202
- InPlaceEditorModule.decorators = [
203
- { type: NgModule, args: [{
204
- imports: [CommonModule],
205
- declarations: [
206
- InPlaceEditorComponent
207
- ],
208
- exports: [
209
- InPlaceEditorComponent
210
- ]
211
- },] },
212
- ];
213
- /**
214
- * @nocollapse
215
- */
197
+ /**
198
+ * NgModule definition for the InPlaceEditor component.
199
+ */
200
+ class InPlaceEditorModule {
201
+ }
202
+ InPlaceEditorModule.decorators = [
203
+ { type: NgModule, args: [{
204
+ imports: [CommonModule],
205
+ declarations: [
206
+ InPlaceEditorComponent
207
+ ],
208
+ exports: [
209
+ InPlaceEditorComponent
210
+ ]
211
+ },] },
212
+ ];
213
+ /**
214
+ * @nocollapse
215
+ */
216
216
  InPlaceEditorModule.ctorParameters = () => [];
217
217
 
218
- const AutoCompleteService = { provide: 'InPlace-EditorAutoComplete', useValue: AutoComplete };
219
- const ColorPickerService = { provide: 'InPlace-EditorColorPicker', useValue: ColorPicker };
220
- const ComboBoxService = { provide: 'InPlace-EditorComboBox', useValue: ComboBox };
221
- const DateRangePickerService = { provide: 'InPlace-EditorDateRangePicker', useValue: DateRangePicker };
222
- const MultiSelectService = { provide: 'InPlace-EditorMultiSelect', useValue: MultiSelect };
223
- const RteService = { provide: 'InPlace-EditorRte', useValue: Rte };
224
- const SliderService = { provide: 'InPlace-EditorSlider', useValue: Slider };
225
- const TimePickerService = { provide: 'InPlace-EditorTimePicker', useValue: TimePicker };
226
- /**
227
- * NgModule definition for the InPlaceEditor component with providers.
228
- */
229
- class InPlaceEditorAllModule {
230
- }
231
- InPlaceEditorAllModule.decorators = [
232
- { type: NgModule, args: [{
233
- imports: [CommonModule, InPlaceEditorModule],
234
- exports: [
235
- InPlaceEditorModule
236
- ],
237
- providers: [
238
- AutoCompleteService,
239
- ColorPickerService,
240
- ComboBoxService,
241
- DateRangePickerService,
242
- MultiSelectService,
243
- RteService,
244
- SliderService,
245
- TimePickerService
246
- ]
247
- },] },
248
- ];
249
- /**
250
- * @nocollapse
251
- */
218
+ const AutoCompleteService = { provide: 'InPlace-EditorAutoComplete', useValue: AutoComplete };
219
+ const ColorPickerService = { provide: 'InPlace-EditorColorPicker', useValue: ColorPicker };
220
+ const ComboBoxService = { provide: 'InPlace-EditorComboBox', useValue: ComboBox };
221
+ const DateRangePickerService = { provide: 'InPlace-EditorDateRangePicker', useValue: DateRangePicker };
222
+ const MultiSelectService = { provide: 'InPlace-EditorMultiSelect', useValue: MultiSelect };
223
+ const RteService = { provide: 'InPlace-EditorRte', useValue: Rte };
224
+ const SliderService = { provide: 'InPlace-EditorSlider', useValue: Slider };
225
+ const TimePickerService = { provide: 'InPlace-EditorTimePicker', useValue: TimePicker };
226
+ /**
227
+ * NgModule definition for the InPlaceEditor component with providers.
228
+ */
229
+ class InPlaceEditorAllModule {
230
+ }
231
+ InPlaceEditorAllModule.decorators = [
232
+ { type: NgModule, args: [{
233
+ imports: [CommonModule, InPlaceEditorModule],
234
+ exports: [
235
+ InPlaceEditorModule
236
+ ],
237
+ providers: [
238
+ AutoCompleteService,
239
+ ColorPickerService,
240
+ ComboBoxService,
241
+ DateRangePickerService,
242
+ MultiSelectService,
243
+ RteService,
244
+ SliderService,
245
+ TimePickerService
246
+ ]
247
+ },] },
248
+ ];
249
+ /**
250
+ * @nocollapse
251
+ */
252
252
  InPlaceEditorAllModule.ctorParameters = () => [];
253
253
 
254
- /**
255
- * Generated bundle index. Do not edit.
254
+ /**
255
+ * Generated bundle index. Do not edit.
256
256
  */
257
257
 
258
258
  export { InPlaceEditorComponent, InPlaceEditorModule, InPlaceEditorAllModule, AutoCompleteService, ColorPickerService, ComboBoxService, DateRangePickerService, MultiSelectService, RteService, SliderService, TimePickerService, inputs as ɵa, outputs as ɵb };
@@ -1,10 +1,10 @@
1
- Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
2
-
3
- To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
4
-
5
- Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
6
-
7
- Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
8
-
9
- The Syncfusion license that contains the terms and conditions can be found at
10
- https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
1
+ Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
2
+
3
+ To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
4
+
5
+ Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
6
+
7
+ Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
8
+
9
+ The Syncfusion license that contains the terms and conditions can be found at
10
+ https://www.syncfusion.com/content/downloads/syncfusion_license.pdf