@syncfusion/ej2-inplace-editor 20.4.54 → 21.1.37

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 (38) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/ej2-inplace-editor.min.js +1 -1
  3. package/dist/ej2-inplace-editor.umd.min.js +1 -1
  4. package/dist/ej2-inplace-editor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-inplace-editor.es2015.js +4 -35
  6. package/dist/es6/ej2-inplace-editor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-inplace-editor.es5.js +4 -35
  8. package/dist/es6/ej2-inplace-editor.es5.js.map +1 -1
  9. package/dist/global/ej2-inplace-editor.min.js +1 -1
  10. package/dist/global/ej2-inplace-editor.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +17 -17
  13. package/src/inplace-editor/base/inplace-editor-model.d.ts +1 -2
  14. package/src/inplace-editor/base/inplace-editor.js +1 -33
  15. package/src/inplace-editor/base/interface.d.ts +1 -0
  16. package/src/inplace-editor/base/models-model.d.ts +2 -0
  17. package/src/inplace-editor/base/models.d.ts +2 -0
  18. package/src/inplace-editor/base/models.js +0 -2
  19. package/src/inplace-editor/modules/combo-box.d.ts +2 -0
  20. package/src/inplace-editor/modules/combo-box.js +2 -0
  21. package/src/inplace-editor/modules/date-range-picker.d.ts +1 -0
  22. package/src/inplace-editor/modules/date-range-picker.js +1 -0
  23. package/styles/inplace-editor/_bootstrap-dark-definition.scss +0 -1
  24. package/styles/inplace-editor/_bootstrap-definition.scss +0 -1
  25. package/styles/inplace-editor/_bootstrap4-definition.scss +0 -1
  26. package/styles/inplace-editor/_bootstrap5-definition.scss +0 -2
  27. package/styles/inplace-editor/_fabric-dark-definition.scss +0 -1
  28. package/styles/inplace-editor/_fabric-definition.scss +0 -1
  29. package/styles/inplace-editor/_fluent-definition.scss +0 -2
  30. package/styles/inplace-editor/_fusionnew-definition.scss +0 -2
  31. package/styles/inplace-editor/_highcontrast-definition.scss +0 -1
  32. package/styles/inplace-editor/_highcontrast-light-definition.scss +0 -1
  33. package/styles/inplace-editor/_layout.scss +9 -9
  34. package/styles/inplace-editor/_material-dark-definition.scss +0 -1
  35. package/styles/inplace-editor/_material-definition.scss +0 -1
  36. package/styles/inplace-editor/_tailwind-definition.scss +0 -2
  37. package/styles/inplace-editor/_theme.scss +12 -12
  38. package/styles/inplace-editor/_material3-definition.scss +0 -71
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.4.54
3
+ * version : 21.1.37
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-inplace-editor@*",
3
- "_id": "@syncfusion/ej2-inplace-editor@20.4.48",
3
+ "_id": "@syncfusion/ej2-inplace-editor@21.1.35",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-CiaEa6rE/qq8iglhSI9KdsjPMkNSoM8bNu9S6UU4MhmUbDAYysbFXGyhboO8dF0bl6BxQfAbrMG0DEMKQ0EGxA==",
5
+ "_integrity": "sha512-KLSITPYFK8hlrFzVSlGCbK+TLYsb1uHQ/l6mYmmLti4O1B/IyXOIg8BbbbATzuzFwpU9W+EWB7sseNFdf4QzVw==",
6
6
  "_location": "/@syncfusion/ej2-inplace-editor",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -24,10 +24,10 @@
24
24
  "/@syncfusion/ej2-react-inplace-editor",
25
25
  "/@syncfusion/ej2-vue-inplace-editor"
26
26
  ],
27
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inplace-editor/-/ej2-inplace-editor-20.4.48.tgz",
28
- "_shasum": "5429d7334162027ee255a439740d7a70eb0753b9",
27
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inplace-editor/-/ej2-inplace-editor-21.1.35.tgz",
28
+ "_shasum": "7125dde1a3b03644290ff87f62ceed9e53c3442b",
29
29
  "_spec": "@syncfusion/ej2-inplace-editor@*",
30
- "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
30
+ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
31
31
  "author": {
32
32
  "name": "Syncfusion Inc."
33
33
  },
@@ -36,17 +36,17 @@
36
36
  },
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
- "@syncfusion/ej2-base": "~20.4.51",
40
- "@syncfusion/ej2-buttons": "~20.4.53",
41
- "@syncfusion/ej2-calendars": "~20.4.54",
42
- "@syncfusion/ej2-data": "~20.4.48",
43
- "@syncfusion/ej2-dropdowns": "~20.4.54",
44
- "@syncfusion/ej2-inputs": "~20.4.54",
45
- "@syncfusion/ej2-lists": "~20.4.50",
46
- "@syncfusion/ej2-navigations": "~20.4.53",
47
- "@syncfusion/ej2-popups": "~20.4.53",
48
- "@syncfusion/ej2-richtexteditor": "~20.4.53",
49
- "@syncfusion/ej2-splitbuttons": "~20.4.50"
39
+ "@syncfusion/ej2-base": "~21.1.37",
40
+ "@syncfusion/ej2-buttons": "~21.1.37",
41
+ "@syncfusion/ej2-calendars": "~21.1.37",
42
+ "@syncfusion/ej2-data": "~21.1.37",
43
+ "@syncfusion/ej2-dropdowns": "~21.1.37",
44
+ "@syncfusion/ej2-inputs": "~21.1.37",
45
+ "@syncfusion/ej2-lists": "~21.1.37",
46
+ "@syncfusion/ej2-navigations": "~21.1.37",
47
+ "@syncfusion/ej2-popups": "~21.1.37",
48
+ "@syncfusion/ej2-richtexteditor": "~21.1.37",
49
+ "@syncfusion/ej2-splitbuttons": "~21.1.37"
50
50
  },
51
51
  "deprecated": false,
52
52
  "description": "A package of Essential JS 2 Inplace editor components, which is used to edit and update the value dynamically in server.",
@@ -69,6 +69,6 @@
69
69
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
70
70
  },
71
71
  "typings": "index.d.ts",
72
- "version": "20.4.54",
72
+ "version": "21.1.37",
73
73
  "sideEffects": false
74
74
  }
@@ -1,4 +1,4 @@
1
- import { Component, INotifyPropertyChanged, NotifyPropertyChanges, Property, Event, EmitType, select } from '@syncfusion/ej2-base';import { detach, addClass, removeClass, EventHandler, setStyleAttribute, Complex, ModuleDeclaration } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, closest, extend, L10n, compile, Browser, Touch, TapEventArgs } from '@syncfusion/ej2-base';import { updateBlazorTemplate, resetBlazorTemplate, SanitizeHtmlHelper, getValue, isBlazor } from '@syncfusion/ej2-base';import { DataManager, UrlAdaptor, Query, WebApiAdaptor, ODataV4Adaptor, ReturnOption, Predicate } from '@syncfusion/ej2-data';import { Button, ButtonModel } from '@syncfusion/ej2-buttons';import { RichTextEditorModel } from '@syncfusion/ej2-richtexteditor';import { DatePicker, DatePickerModel, DateTimePicker, DateRange, RangeEventArgs } from '@syncfusion/ej2-calendars';import { DateTimePickerModel, DateRangePickerModel, TimePickerModel } from '@syncfusion/ej2-calendars';import { createSpinner, hideSpinner, SpinnerArgs, showSpinner} from '@syncfusion/ej2-popups';import { Tooltip, TooltipEventArgs, TipPointerPosition } from '@syncfusion/ej2-popups';import { NumericTextBox, NumericTextBoxModel, TextBox, TextBoxModel, SliderChangeEventArgs,ValidArgs } from '@syncfusion/ej2-inputs';import { ColorPickerModel, FormValidator, MaskedTextBox, MaskedTextBoxModel, SliderModel } from '@syncfusion/ej2-inputs';import { ChangeEventArgs as InputChangeEventArgs, ColorPickerEventArgs } from '@syncfusion/ej2-inputs';import { AutoCompleteModel, ComboBoxModel, DropDownList, DropDownListModel, MultiSelectModel } from '@syncfusion/ej2-dropdowns';import { MultiSelectChangeEventArgs, ChangeEventArgs as DropDownsChangeEventArgs } from '@syncfusion/ej2-dropdowns';import { Rte } from '../modules/rte';import { Slider } from '../modules/slider';import { ComboBox } from '../modules/combo-box';import { TimePicker } from '../modules/time-picker';import { MultiSelect } from '../modules/multi-select';import { ColorPicker } from '../modules/color-picker';import { AutoComplete } from '../modules/auto-complete';import { DateRangePicker } from '../modules/date-range-picker';import * as events from './events';import * as classes from './classes';import { PopupSettings, modulesList, localeConstant } from './models';import { PopupSettingsModel } from './models-model';import { ActionBeginEventArgs, ActionEventArgs, FormEventArgs, ValidateEventArgs, IButton, BeginEditEventArgs } from './interface';import { ChangeEventArgs, EndEditEventArgs } from './interface';import { parseValue, getCompValue, encode } from './util';
1
+ import { Component, INotifyPropertyChanged, NotifyPropertyChanges, Property, Event, EmitType, select } from '@syncfusion/ej2-base';import { detach, addClass, removeClass, EventHandler, setStyleAttribute, Complex, ModuleDeclaration } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, closest, extend, L10n, compile, Browser, Touch, TapEventArgs } from '@syncfusion/ej2-base';import { updateBlazorTemplate, resetBlazorTemplate, SanitizeHtmlHelper, getValue, isBlazor } from '@syncfusion/ej2-base';import { DataManager, UrlAdaptor, Query, WebApiAdaptor, ODataV4Adaptor, ReturnOption, Predicate } from '@syncfusion/ej2-data';import { Button, ButtonModel } from '@syncfusion/ej2-buttons';import { RichTextEditorModel } from '@syncfusion/ej2-richtexteditor';import { DatePicker, DatePickerModel, DateTimePicker, DateRange, RangeEventArgs } from '@syncfusion/ej2-calendars';import { DateTimePickerModel, DateRangePickerModel, TimePickerModel } from '@syncfusion/ej2-calendars';import { createSpinner, hideSpinner, SpinnerArgs, showSpinner} from '@syncfusion/ej2-popups';import { Tooltip, TooltipEventArgs, TipPointerPosition } from '@syncfusion/ej2-popups';import { NumericTextBox, NumericTextBoxModel, TextBox, TextBoxModel, SliderChangeEventArgs, ValidArgs } from '@syncfusion/ej2-inputs';import { ColorPickerModel, FormValidator, MaskedTextBox, MaskedTextBoxModel, SliderModel } from '@syncfusion/ej2-inputs';import { ChangeEventArgs as InputChangeEventArgs, ColorPickerEventArgs } from '@syncfusion/ej2-inputs';import { AutoCompleteModel, ComboBoxModel, DropDownList, DropDownListModel, MultiSelectModel } from '@syncfusion/ej2-dropdowns';import { MultiSelectChangeEventArgs, ChangeEventArgs as DropDownsChangeEventArgs } from '@syncfusion/ej2-dropdowns';import { Rte } from '../modules/rte';import { Slider } from '../modules/slider';import { ComboBox } from '../modules/combo-box';import { TimePicker } from '../modules/time-picker';import { MultiSelect } from '../modules/multi-select';import { ColorPicker } from '../modules/color-picker';import { AutoComplete } from '../modules/auto-complete';import { DateRangePicker } from '../modules/date-range-picker';import * as events from './events';import * as classes from './classes';import { PopupSettings, modulesList, localeConstant } from './models';import { PopupSettingsModel } from './models-model';import { ActionBeginEventArgs, ActionEventArgs, FormEventArgs, ValidateEventArgs, IButton, BeginEditEventArgs } from './interface';import { ChangeEventArgs, EndEditEventArgs } from './interface';import { parseValue, getCompValue, encode } from './util';
2
2
  import {RenderMode,AdaptorType,InputType,EditableType,textOptionType,ActionBlur,BeforeSanitizeHtmlArgs} from "./inplace-editor";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
@@ -244,7 +244,6 @@ export interface InPlaceEditorModel extends ComponentModel{
244
244
  *
245
245
  * @default null
246
246
  */
247
- /* eslint-disable */
248
247
  validationRules?: { [name: string]: { [rule: string]: Object } };
249
248
 
250
249
  /**
@@ -109,7 +109,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
109
109
  this.updateAdaptor();
110
110
  this.appendValueElement();
111
111
  this.updateValue();
112
- // eslint-disable-next-line
113
112
  this.textOption === 'Never' ?
114
113
  this.renderValue(this.checkValue(parseValue(this.type, this.value, this.model)))
115
114
  : this.renderInitialValue();
@@ -124,7 +123,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
124
123
  var allClassName = val.split(' ');
125
124
  for (var i = 0; i < allClassName.length; i++) {
126
125
  if (allClassName[i].trim() !== '') {
127
- // eslint-disable-next-line
128
126
  action === 'add' ? addClass([this.element], [allClassName[i]]) : removeClass([this.element], [allClassName[i]]);
129
127
  }
130
128
  }
@@ -166,14 +164,11 @@ var InPlaceEditor = /** @class */ (function (_super) {
166
164
  var query = isNOU(model.query) ? new Query() : model.query;
167
165
  if (model.dataSource instanceof DataManager) {
168
166
  model.dataSource.executeQuery(this.getInitQuery(model, query)).then(function (e) {
169
- // eslint-disable-next-line
170
167
  _this.updateInitValue(mText, mVal, e.result);
171
168
  });
172
169
  }
173
170
  else {
174
- this.updateInitValue(mText, mVal, new DataManager(model.dataSource).executeLocal(
175
- // eslint-disable-next-line
176
- this.getInitQuery(model, query)));
171
+ this.updateInitValue(mText, mVal, new DataManager(model.dataSource).executeLocal(this.getInitQuery(model, query)));
177
172
  }
178
173
  };
179
174
  InPlaceEditor.prototype.getInitQuery = function (model, query) {
@@ -193,7 +188,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
193
188
  }
194
189
  return query.where(predicate);
195
190
  };
196
- // eslint-disable-next-line
197
191
  InPlaceEditor.prototype.updateInitValue = function (mText, mVal, result) {
198
192
  if (result.length <= 0) {
199
193
  return;
@@ -213,7 +207,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
213
207
  this.valueWrap.classList.remove(classes.LOAD);
214
208
  };
215
209
  InPlaceEditor.prototype.renderValue = function (val) {
216
- // eslint-disable-next-line
217
210
  this.enableHtmlSanitizer && this.type !== 'RTE' && this.type !== 'MultiSelect' ? this.valueEle.innerText = val :
218
211
  (this.valueEle.innerHTML = this.enableHtmlParse ? val : encode(val));
219
212
  if (this.type === 'Color') {
@@ -241,7 +234,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
241
234
  if (this.beginEditArgs.cancel) {
242
235
  return;
243
236
  }
244
- // eslint-disable-next-line
245
237
  var tipOptions = undefined;
246
238
  var target = select('.' + classes.VALUE_WRAPPER, this.element);
247
239
  if (this.editableOn !== 'EditIconClick') {
@@ -286,7 +278,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
286
278
  }
287
279
  addClass([this.valueWrap], [classes.OPEN]);
288
280
  this.setProperties({ enableEditMode: true }, true);
289
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
290
281
  if (this.isReact) {
291
282
  this.renderReactTemplates();
292
283
  }
@@ -442,7 +433,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
442
433
  break;
443
434
  case 'Numeric':
444
435
  if (this.model.value) {
445
- // eslint-disable-next-line no-useless-escape
446
436
  var expRegex = new RegExp('[eE][\-+]?([0-9]+)');
447
437
  if (expRegex.test(this.model.value)) {
448
438
  this.model.value = this.model.value;
@@ -512,7 +502,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
512
502
  InPlaceEditor.prototype.getEditElement = function () {
513
503
  return select('.' + classes.ELEMENTS, this.formEle);
514
504
  };
515
- // eslint-disable-next-line
516
505
  InPlaceEditor.prototype.getLocale = function (prop, val) {
517
506
  return new L10n('inplace-editor', prop, this.locale).getConstant(val);
518
507
  };
@@ -520,7 +509,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
520
509
  return (!this.isEmpty(val)) ? val : this.emptyText;
521
510
  };
522
511
  InPlaceEditor.prototype.extendModelValue = function (val) {
523
- // eslint-disable-next-line
524
512
  var model = this.model;
525
513
  extend(model, { value: val });
526
514
  this.setProperties({ model: model }, true);
@@ -599,18 +587,15 @@ var InPlaceEditor = /** @class */ (function (_super) {
599
587
  }
600
588
  };
601
589
  InPlaceEditor.prototype.setRtl = function (value) {
602
- // eslint-disable-next-line
603
590
  value ? addClass([this.element], [classes.RTL]) : removeClass([this.element], [classes.RTL]);
604
591
  };
605
592
  InPlaceEditor.prototype.setFocus = function () {
606
593
  if (this.isTemplate) {
607
594
  return;
608
595
  }
609
- // eslint-disable-next-line
610
596
  this.isExtModule ? this.notify(events.setFocus, {}) : this.componentObj.element.focus();
611
597
  };
612
598
  InPlaceEditor.prototype.removeEditor = function (isBlazorDestroy) {
613
- // eslint-disable-next-line
614
599
  var blazorContain = Object.keys(window);
615
600
  if (isBlazor() && !this.isStringTemplate) {
616
601
  resetBlazorTemplate(this.element.id + 'template', 'Template');
@@ -647,7 +632,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
647
632
  this.valueWrap.parentElement.setAttribute('title', this.getLocale(localeConstant[this.editableOn], titleConstant));
648
633
  }
649
634
  }
650
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
651
635
  if (this.isReact) {
652
636
  this.clearTemplate();
653
637
  }
@@ -718,7 +702,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
718
702
  _this.dataManager.executeQuery(_this.getQuery(actionBeginArgs.data), _this.successHandler.bind(_this), _this.failureHandler.bind(_this));
719
703
  }
720
704
  else {
721
- // eslint-disable-next-line
722
705
  var crud = _this.dataManager.insert(actionBeginArgs.data);
723
706
  crud.then(function (e) { return _this.successHandler(e); }).catch(function (e) { return _this.failureHandler(e); });
724
707
  }
@@ -739,12 +722,10 @@ var InPlaceEditor = /** @class */ (function (_super) {
739
722
  };
740
723
  InPlaceEditor.prototype.templateCompile = function (trgEle, tempStr) {
741
724
  var tempEle;
742
- // eslint-disable-next-line
743
725
  var blazorContain = Object.keys(window);
744
726
  if (typeof tempStr === 'string') {
745
727
  tempStr = tempStr.trim();
746
728
  }
747
- // eslint-disable-next-line
748
729
  var compiler = compile(tempStr);
749
730
  if (!isNOU(compiler)) {
750
731
  var isString = (isBlazor() &&
@@ -774,7 +755,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
774
755
  helper: null
775
756
  };
776
757
  extend(item_1, item_1, beforeEvent);
777
- // eslint-disable-next-line
778
758
  this.trigger('beforeSanitizeHtml', item_1, function (args) {
779
759
  if (item_1.cancel && !isNOU(item_1.helper)) {
780
760
  value = item_1.helper(value);
@@ -810,14 +790,12 @@ var InPlaceEditor = /** @class */ (function (_super) {
810
790
  }
811
791
  };
812
792
  InPlaceEditor.prototype.disable = function (value) {
813
- // eslint-disable-next-line
814
793
  value ? addClass([this.element], [classes.DISABLE]) : removeClass([this.element], [classes.DISABLE]);
815
794
  };
816
795
  InPlaceEditor.prototype.enableEditor = function (val, isInit) {
817
796
  if (isInit && !val) {
818
797
  return;
819
798
  }
820
- // eslint-disable-next-line
821
799
  (val) ? this.renderEditor() : this.cancelHandler('cancel');
822
800
  };
823
801
  InPlaceEditor.prototype.checkValidation = function (fromSubmit, isValidate) {
@@ -901,11 +879,9 @@ var InPlaceEditor = /** @class */ (function (_super) {
901
879
  return;
902
880
  }
903
881
  var inputEle = select('.e-input-group', this.formEle);
904
- // eslint-disable-next-line
905
882
  var errorClass = function (element, val, action) {
906
883
  [].slice.call(element).forEach(function (ele) {
907
884
  if (ele) {
908
- // eslint-disable-next-line
909
885
  action === 'add' ? addClass([ele], [val]) : removeClass([ele], [val]);
910
886
  }
911
887
  });
@@ -1104,17 +1080,14 @@ var InPlaceEditor = /** @class */ (function (_super) {
1104
1080
  this.tipObj.refresh(tipTarget);
1105
1081
  }
1106
1082
  };
1107
- // eslint-disable-next-line
1108
1083
  InPlaceEditor.prototype.successHandler = function (e) {
1109
1084
  this.initRender = false;
1110
1085
  var eventArgs = { data: e, value: this.getSendValue() };
1111
1086
  this.triggerSuccess(eventArgs);
1112
1087
  };
1113
- // eslint-disable-next-line
1114
1088
  InPlaceEditor.prototype.failureHandler = function (e) {
1115
1089
  var _this = this;
1116
1090
  var eventArgs = { data: e, value: this.getSendValue() };
1117
- // eslint-disable-next-line
1118
1091
  this.trigger('actionFailure', eventArgs, function (args) {
1119
1092
  _this.removeSpinner('submit');
1120
1093
  if (_this.mode === 'Popup') {
@@ -1215,7 +1188,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
1215
1188
  this.element.focus();
1216
1189
  this.editEle = select('.' + classes.INPUT, this.formEle);
1217
1190
  var errEle = null;
1218
- // eslint-disable-next-line
1219
1191
  errEle = select('.' + classes.ERROR, this.editEle);
1220
1192
  if (!this.isTemplate) {
1221
1193
  this.setValue();
@@ -1249,7 +1221,6 @@ var InPlaceEditor = /** @class */ (function (_super) {
1249
1221
  if (!(isBlazor() && this.isServerRendered)) {
1250
1222
  _super.prototype.destroy.call(this);
1251
1223
  }
1252
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1253
1224
  if (this.isReact) {
1254
1225
  this.clearTemplate();
1255
1226
  }
@@ -1307,17 +1278,14 @@ var InPlaceEditor = /** @class */ (function (_super) {
1307
1278
  var prop = _a[_i];
1308
1279
  switch (prop) {
1309
1280
  case 'showButtons':
1310
- // eslint-disable-next-line
1311
1281
  (newProp.showButtons) ? this.appendButtons(this.formEle) : this.destroyButtons();
1312
1282
  break;
1313
1283
  case 'value':
1314
1284
  this.updateValue();
1315
- // eslint-disable-next-line
1316
1285
  this.textOption === 'Never' ? this.renderValue(this.checkValue(parseValue(this.type, this.value, this.model)))
1317
1286
  : this.renderInitialValue();
1318
1287
  break;
1319
1288
  case 'emptyText':
1320
- // eslint-disable-next-line
1321
1289
  this.textOption === 'Never' ? this.renderValue(this.checkValue(parseValue(this.type, this.value, this.model)))
1322
1290
  : this.renderInitialValue();
1323
1291
  break;
@@ -6,6 +6,7 @@ import { AutoComplete, ComboBox, MultiSelect, FieldSettingsModel } from '@syncfu
6
6
  import { RenderMode } from './inplace-editor';
7
7
  /**
8
8
  * Defines component types that can be used in the In-place Editor.
9
+ *
9
10
  * @hidden
10
11
  */
11
12
  export declare type Component = AutoComplete | ColorPicker | ComboBox | DateRangePicker | MultiSelect | RichTextEditor | Slider | TimePicker;
@@ -7,12 +7,14 @@ export interface PopupSettingsModel {
7
7
 
8
8
  /**
9
9
  * Specifies title for the editor popup.
10
+ *
10
11
  * @default ''
11
12
  */
12
13
  title?: string;
13
14
 
14
15
  /**
15
16
  * Specifies model for editor popup customization like position, animation,etc.
17
+ *
16
18
  * @default null
17
19
  */
18
20
  model?: TooltipModel;
@@ -6,11 +6,13 @@ import { TooltipModel } from '@syncfusion/ej2-popups';
6
6
  export declare class PopupSettings extends ChildProperty<PopupSettings> {
7
7
  /**
8
8
  * Specifies title for the editor popup.
9
+ *
9
10
  * @default ''
10
11
  */
11
12
  title: string;
12
13
  /**
13
14
  * Specifies model for editor popup customization like position, animation,etc.
15
+ *
14
16
  * @default null
15
17
  */
16
18
  model: TooltipModel;
@@ -39,7 +39,6 @@ export { PopupSettings };
39
39
  * @hidden
40
40
  */
41
41
  export var modulesList = {
42
- /* eslint-disable */
43
42
  'AutoComplete': 'auto-complete',
44
43
  'Color': 'color-picker',
45
44
  'ComboBox': 'combo-box',
@@ -55,7 +54,6 @@ export var modulesList = {
55
54
  */
56
55
  // eslint-disable-next-line
57
56
  export var localeConstant = {
58
- /* eslint-disable */
59
57
  'Click': { 'editAreaClick': 'Click to edit' },
60
58
  'DblClick': { 'editAreaDoubleClick': 'Double click to edit' },
61
59
  'EditIconClick': { 'editAreaClick': 'Click to edit' }
@@ -18,6 +18,7 @@ export declare class ComboBox implements IComponent {
18
18
  showPopup(): void;
19
19
  /**
20
20
  * Destroys the module.
21
+ *
21
22
  * @function destroy
22
23
  * @returns {void}
23
24
  * @hidden
@@ -26,6 +27,7 @@ export declare class ComboBox implements IComponent {
26
27
  updateValue(e: NotifyParams): void;
27
28
  /**
28
29
  * For internal use only - Get the module name.
30
+ *
29
31
  * @returns {string} - returns the string
30
32
  */
31
33
  private getModuleName;
@@ -27,6 +27,7 @@ var ComboBox = /** @class */ (function () {
27
27
  };
28
28
  /**
29
29
  * Destroys the module.
30
+ *
30
31
  * @function destroy
31
32
  * @returns {void}
32
33
  * @hidden
@@ -42,6 +43,7 @@ var ComboBox = /** @class */ (function () {
42
43
  };
43
44
  /**
44
45
  * For internal use only - Get the module name.
46
+ *
45
47
  * @returns {string} - returns the string
46
48
  */
47
49
  ComboBox.prototype.getModuleName = function () {
@@ -13,6 +13,7 @@ export declare class DateRangePicker implements IComponent {
13
13
  focus(): void;
14
14
  /**
15
15
  * For internal use only - Get the module name.
16
+ *
16
17
  * @returns {string} - returns the string
17
18
  */
18
19
  private getModuleName;
@@ -19,6 +19,7 @@ var DateRangePicker = /** @class */ (function () {
19
19
  };
20
20
  /**
21
21
  * For internal use only - Get the module name.
22
+ *
22
23
  * @returns {string} - returns the string
23
24
  */
24
25
  DateRangePicker.prototype.getModuleName = function () {
@@ -1,6 +1,5 @@
1
1
  /*! Bootstrap dark theme definitions and variables */
2
2
  /*! Value element styles */
3
- $inplace-skin: 'bootstrap-dark' !default;
4
3
  $editor-big-overlay-icon-size: 16px !default;
5
4
  $editor-nrml-overlay-icon-size: 14px !default;
6
5
  $editor-big-value-text-font-size: 15px !default;
@@ -1,6 +1,5 @@
1
1
  /*! Bootstrap theme definitions and variables */
2
2
  /*! Value element styles */
3
- $inplace-skin: 'bootstrap' !default;
4
3
  $black-color: rgba(0, 0, 0, .25) !default;
5
4
  $editor-big-overlay-icon-size: 16px !default;
6
5
  $editor-nrml-overlay-icon-size: 14px !default;
@@ -1,6 +1,5 @@
1
1
  /*! Bootstrap4 theme definitions and variables */
2
2
  /*! Value element styles */
3
- $inplace-skin: 'bootstrap4' !default;
4
3
  $black-color: rgba($black, .25) !default;
5
4
  $editor-big-overlay-icon-size: 16px !default;
6
5
  $editor-nrml-overlay-icon-size: 14px !default;
@@ -1,5 +1,3 @@
1
- $inplace-skin: 'bootstrap5' !default;
2
-
3
1
  //Layout Variable Start
4
2
  $editor-big-value-text-font-size: $text-base !default;
5
3
  $editor-nrml-value-text-font-size: $text-sm !default;
@@ -1,6 +1,5 @@
1
1
  /*! Fabric dark theme definitions and variables */
2
2
  /*! Value element styles */
3
- $inplace-skin: 'fabric-dark' !default;
4
3
  $editor-big-overlay-icon-size: 16px !default;
5
4
  $editor-nrml-overlay-icon-size: 14px !default;
6
5
  $editor-big-value-text-font-size: 15px !default;
@@ -1,6 +1,5 @@
1
1
  /*! Fabric theme definitions and variables */
2
2
  /*! Value element styles */
3
- $inplace-skin: 'fabric' !default;
4
3
  $black-color: rgba(0, 0, 0, .25) !default;
5
4
  $editor-big-overlay-icon-size: 16px !default;
6
5
  $editor-nrml-overlay-icon-size: 14px !default;
@@ -1,5 +1,3 @@
1
- $inplace-skin: 'FluentUI' !default;
2
-
3
1
  //Layout Variable Start
4
2
  $editor-big-value-text-font-size: $text-base !default;
5
3
  $editor-nrml-value-text-font-size: $text-sm !default;
@@ -1,5 +1,3 @@
1
- $inplace-skin: 'bootstrap5' !default;
2
-
3
1
  //Layout Variable Start
4
2
  $editor-big-value-text-font-size: $text-base !default;
5
3
  $editor-nrml-value-text-font-size: $text-sm !default;
@@ -1,6 +1,5 @@
1
1
  /*! High contrast theme definitions and variables */
2
2
  /*! Value element styles */
3
- $inplace-skin: 'highcontrast' !default;
4
3
  $editor-big-value-text-font-size: 15px !default;
5
4
  $editor-nrml-value-text-font-size: 14px !default;
6
5
  $editor-big-value-container-padding: 8px 12px !default;
@@ -1,6 +1,5 @@
1
1
  /*! High contrast light theme definitions and variables */
2
2
  /*! Value element styles */
3
- $inplace-skin: 'highcontrast-light' !default;
4
3
  $editor-big-value-text-font-size: 15px !default;
5
4
  $editor-nrml-value-text-font-size: 14px !default;
6
5
  $editor-big-value-container-padding: 8px 12px !default;
@@ -137,7 +137,7 @@
137
137
  font-size: $editor-nrml-value-text-font-size;
138
138
  margin: $editor-nrml-value-margin;
139
139
 
140
- @if $inplace-skin == 'bootstrap4' {
140
+ @if $skin-name == 'bootstrap4' {
141
141
  line-height: 24px;
142
142
  }
143
143
  }
@@ -205,7 +205,7 @@
205
205
  font-size: $editor-nrml-value-text-font-size;
206
206
  margin: $editor-nrml-value-margin;
207
207
 
208
- @if $inplace-skin == 'bootstrap4' {
208
+ @if $skin-name == 'bootstrap4' {
209
209
  line-height: 24px;
210
210
  }
211
211
  }
@@ -330,7 +330,7 @@
330
330
 
331
331
  .e-input-group + .e-editable-loading {
332
332
 
333
- @if $inplace-skin == 'material' {
333
+ @if $skin-name == 'material' {
334
334
  .e-spinner-inner {
335
335
  top: 45%;
336
336
  }
@@ -344,7 +344,7 @@
344
344
 
345
345
  .e-btn-icon.e-icons {
346
346
 
347
- @if $inplace-skin == 'bootstrap4' {
347
+ @if $skin-name == 'bootstrap4' {
348
348
  font-size: 16px;
349
349
  }
350
350
  }
@@ -357,7 +357,7 @@
357
357
 
358
358
  .e-input-group + .e-editable-loading {
359
359
 
360
- @if $inplace-skin == 'material' {
360
+ @if $skin-name == 'material' {
361
361
  .e-spinner-inner {
362
362
  top: 35%;
363
363
  }
@@ -373,7 +373,7 @@
373
373
 
374
374
  .e-input-group + .e-editable-loading {
375
375
 
376
- @if $inplace-skin == 'material' {
376
+ @if $skin-name == 'material' {
377
377
  .e-spinner-inner {
378
378
  top: 35%;
379
379
  }
@@ -485,7 +485,7 @@
485
485
  &.e-tooltip-wrap {
486
486
 
487
487
  .e-tip-content {
488
- @if $inplace-skin == 'tailwind' or $inplace-skin == 'bootstrap5' $inplace-skin == 'FluentUI' {
488
+ @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' $skin-name == 'FluentUI' {
489
489
  padding: 0;
490
490
  }
491
491
 
@@ -628,7 +628,7 @@
628
628
  min-height: 70px;
629
629
  }
630
630
 
631
- @if $inplace-skin == 'tailwind' or $inplace-skin == 'bootstrap5' {
631
+ @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' {
632
632
  .e-control .e-inplaceeditor,
633
633
  .e-tooltip-wrap.e-popup.e-inplaceeditor-tip.e-popup-open,
634
634
  .e-inplaceeditor .e-input-group.e-control-wrapper.e-editable-elements {
@@ -636,7 +636,7 @@
636
636
  }
637
637
  }
638
638
 
639
- @if $inplace-skin == 'tailwind' or $inplace-skin == 'bootstrap5' {
639
+ @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' {
640
640
  .e-control.e-inplaceeditor .e-editable-value-wrapper {
641
641
  min-height: 30px;
642
642
  }
@@ -1,7 +1,6 @@
1
1
  /*! Material dark theme definitions and variables */
2
2
 
3
3
  /*! Value element styles */
4
- $inplace-skin: 'material-dark' !default;
5
4
  $editor-big-value-text-font-size: 14px !default;
6
5
  $editor-nrml-value-text-font-size: 13px !default;
7
6
  $editor-big-value-container-padding: 8px !default;
@@ -1,7 +1,6 @@
1
1
  /*! Material theme definitions and variables */
2
2
 
3
3
  /*! Value element styles */
4
- $inplace-skin: 'material' !default;
5
4
  $editor-big-value-text-font-size: 14px !default;
6
5
  $editor-nrml-value-text-font-size: 13px !default;
7
6
  $editor-big-value-container-padding: 8px !default;
@@ -1,5 +1,3 @@
1
- $inplace-skin: 'tailwind' !default;
2
-
3
1
  //Layout Variable Start
4
2
  $editor-big-value-text-font-size: $text-base !default;
5
3
  $editor-nrml-value-text-font-size: $text-sm !default;