@syncfusion/ej2-inplace-editor 20.2.45 → 20.3.47

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 (61) hide show
  1. package/dist/ej2-inplace-editor.min.js +10 -0
  2. package/dist/ej2-inplace-editor.umd.min.js +2 -2
  3. package/dist/ej2-inplace-editor.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-inplace-editor.es2015.js +6 -10
  5. package/dist/es6/ej2-inplace-editor.es2015.js.map +1 -1
  6. package/dist/es6/ej2-inplace-editor.es5.js +5 -8
  7. package/dist/es6/ej2-inplace-editor.es5.js.map +1 -1
  8. package/dist/global/ej2-inplace-editor.min.js +2 -2
  9. package/dist/global/ej2-inplace-editor.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +17 -17
  12. package/src/inplace-editor/base/inplace-editor-model.d.ts +7 -7
  13. package/src/inplace-editor/base/inplace-editor.js +3 -2
  14. package/src/inplace-editor/base/interface.d.ts +0 -1
  15. package/src/inplace-editor/base/models-model.d.ts +0 -2
  16. package/src/inplace-editor/base/models.d.ts +1 -3
  17. package/src/inplace-editor/base/util.d.ts +0 -1
  18. package/src/inplace-editor/base/util.js +2 -3
  19. package/src/inplace-editor/modules/combo-box.d.ts +0 -2
  20. package/src/inplace-editor/modules/combo-box.js +0 -2
  21. package/src/inplace-editor/modules/date-range-picker.d.ts +0 -1
  22. package/src/inplace-editor/modules/date-range-picker.js +0 -1
  23. package/styles/bootstrap-dark.css +3 -0
  24. package/styles/bootstrap.css +3 -1
  25. package/styles/bootstrap4.css +3 -1
  26. package/styles/bootstrap5-dark.css +17 -1
  27. package/styles/bootstrap5.css +17 -1
  28. package/styles/fabric-dark.css +3 -0
  29. package/styles/fabric.css +3 -1
  30. package/styles/fluent-dark.css +4 -1
  31. package/styles/fluent.css +4 -1
  32. package/styles/highcontrast-light.css +6 -0
  33. package/styles/highcontrast.css +6 -1
  34. package/styles/inplace-editor/_all.scss +1 -1
  35. package/styles/inplace-editor/_bootstrap5-definition.scss +3 -0
  36. package/styles/inplace-editor/_fluent-definition.scss +3 -0
  37. package/styles/inplace-editor/_fusionnew-definition.scss +3 -0
  38. package/styles/inplace-editor/_layout.scss +12 -13
  39. package/styles/inplace-editor/_material-definition.scss +1 -1
  40. package/styles/inplace-editor/_material3-definition.scss +3 -0
  41. package/styles/inplace-editor/_tailwind-definition.scss +3 -0
  42. package/styles/inplace-editor/_theme.scss +3 -3
  43. package/styles/inplace-editor/bootstrap-dark.css +3 -0
  44. package/styles/inplace-editor/bootstrap.css +3 -1
  45. package/styles/inplace-editor/bootstrap4.css +3 -1
  46. package/styles/inplace-editor/bootstrap5-dark.css +17 -1
  47. package/styles/inplace-editor/bootstrap5.css +17 -1
  48. package/styles/inplace-editor/fabric-dark.css +3 -0
  49. package/styles/inplace-editor/fabric.css +3 -1
  50. package/styles/inplace-editor/fluent-dark.css +4 -1
  51. package/styles/inplace-editor/fluent.css +4 -1
  52. package/styles/inplace-editor/highcontrast-light.css +6 -0
  53. package/styles/inplace-editor/highcontrast.css +6 -1
  54. package/styles/inplace-editor/material-dark.css +3 -0
  55. package/styles/inplace-editor/material.css +3 -1
  56. package/styles/inplace-editor/tailwind-dark.css +4 -1
  57. package/styles/inplace-editor/tailwind.css +4 -1
  58. package/styles/material-dark.css +3 -0
  59. package/styles/material.css +3 -1
  60. package/styles/tailwind-dark.css +4 -1
  61. package/styles/tailwind.css +4 -1
@@ -68,7 +68,6 @@ function parseValue(type, val, model) {
68
68
  return result;
69
69
  }
70
70
  /**
71
- *
72
71
  * @param {string} type - specifies the string value
73
72
  * @param {valueType} val - specifies the value type
74
73
  * @returns {valueType} - returns the value type
@@ -99,9 +98,9 @@ function getCompValue(type, val) {
99
98
  function encode(value) {
100
99
  var data = [];
101
100
  for (var i = value.length - 1; i >= 0; i--) {
102
- data.unshift(["&#", value[i].charCodeAt(0), ";"].join(""));
101
+ data.unshift(['&#', value[i].charCodeAt(0), ';'].join(''));
103
102
  }
104
- return data.join("");
103
+ return data.join('');
105
104
  }
106
105
 
107
106
  /**
@@ -289,10 +288,11 @@ var InPlaceEditor = /** @__PURE__ @class */ (function (_super) {
289
288
  * @param {string} element - Specifies the element for which In-place editor applies.
290
289
  */
291
290
  function InPlaceEditor(options, element) {
292
- return _super.call(this, options, element) || this;
291
+ var _this = _super.call(this, options, element) || this;
292
+ _this.needsID = true;
293
+ return _this;
293
294
  }
294
295
  InPlaceEditor.prototype.initializeValue = function () {
295
- this.needsID = true;
296
296
  this.initRender = true;
297
297
  this.isTemplate = false;
298
298
  this.isVue = false;
@@ -1873,7 +1873,6 @@ var ComboBox$1 = /** @__PURE__ @class */ (function () {
1873
1873
  };
1874
1874
  /**
1875
1875
  * Destroys the module.
1876
- *
1877
1876
  * @function destroy
1878
1877
  * @returns {void}
1879
1878
  * @hidden
@@ -1889,7 +1888,6 @@ var ComboBox$1 = /** @__PURE__ @class */ (function () {
1889
1888
  };
1890
1889
  /**
1891
1890
  * For internal use only - Get the module name.
1892
- *
1893
1891
  * @returns {string} - returns the string
1894
1892
  */
1895
1893
  ComboBox$$1.prototype.getModuleName = function () {
@@ -1917,7 +1915,6 @@ var DateRangePicker$1 = /** @__PURE__ @class */ (function () {
1917
1915
  };
1918
1916
  /**
1919
1917
  * For internal use only - Get the module name.
1920
- *
1921
1918
  * @returns {string} - returns the string
1922
1919
  */
1923
1920
  DateRangePicker$$1.prototype.getModuleName = function () {