@syncfusion/ej2-inplace-editor 19.4.38 → 19.4.48

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 (71) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/ej2-inplace-editor.umd.min.js +2 -2
  4. package/dist/ej2-inplace-editor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-inplace-editor.es2015.js +1 -1
  6. package/dist/es6/ej2-inplace-editor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-inplace-editor.es5.js +1 -1
  8. package/dist/es6/ej2-inplace-editor.es5.js.map +1 -1
  9. package/dist/global/ej2-inplace-editor.min.js +2 -2
  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 +16 -16
  13. package/src/inplace-editor/base/inplace-editor.js +1 -1
  14. package/styles/bootstrap-dark.css +0 -5
  15. package/styles/bootstrap.css +0 -5
  16. package/styles/bootstrap4.css +0 -5
  17. package/styles/bootstrap5-dark.css +5 -5
  18. package/styles/bootstrap5.css +5 -5
  19. package/styles/fabric-dark.css +0 -5
  20. package/styles/fabric.css +0 -5
  21. package/styles/highcontrast-light.css +0 -5
  22. package/styles/highcontrast.css +0 -5
  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 -1
  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/_highcontrast-definition.scss +0 -1
  30. package/styles/inplace-editor/_highcontrast-light-definition.scss +0 -1
  31. package/styles/inplace-editor/_layout.scss +4 -3
  32. package/styles/inplace-editor/_material-dark-definition.scss +0 -1
  33. package/styles/inplace-editor/_material-definition.scss +0 -1
  34. package/styles/inplace-editor/_tailwind-definition.scss +0 -1
  35. package/styles/inplace-editor/_theme.scss +1 -4
  36. package/styles/inplace-editor/bootstrap-dark.css +0 -5
  37. package/styles/inplace-editor/bootstrap.css +0 -5
  38. package/styles/inplace-editor/bootstrap4.css +0 -5
  39. package/styles/inplace-editor/bootstrap5-dark.css +5 -5
  40. package/styles/inplace-editor/bootstrap5.css +5 -5
  41. package/styles/inplace-editor/fabric-dark.css +0 -5
  42. package/styles/inplace-editor/fabric.css +0 -5
  43. package/styles/inplace-editor/highcontrast-light.css +0 -5
  44. package/styles/inplace-editor/highcontrast.css +0 -5
  45. package/styles/inplace-editor/material-dark.css +0 -5
  46. package/styles/inplace-editor/material.css +0 -5
  47. package/styles/inplace-editor/tailwind-dark.css +4 -5
  48. package/styles/inplace-editor/tailwind.css +4 -5
  49. package/styles/material-dark.css +0 -5
  50. package/styles/material.css +0 -5
  51. package/styles/tailwind-dark.css +4 -5
  52. package/styles/tailwind.css +4 -5
  53. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -41
  54. package/.github/PULL_REQUEST_TEMPLATE/Feature.md +0 -27
  55. package/dist/ts/inplace-editor/base/classes.ts +0 -63
  56. package/dist/ts/inplace-editor/base/events.ts +0 -18
  57. package/dist/ts/inplace-editor/base/inplace-editor.ts +0 -1750
  58. package/dist/ts/inplace-editor/base/interface.ts +0 -129
  59. package/dist/ts/inplace-editor/base/models.ts +0 -49
  60. package/dist/ts/inplace-editor/base/util.ts +0 -106
  61. package/dist/ts/inplace-editor/modules/auto-complete.ts +0 -65
  62. package/dist/ts/inplace-editor/modules/base-module.ts +0 -74
  63. package/dist/ts/inplace-editor/modules/color-picker.ts +0 -55
  64. package/dist/ts/inplace-editor/modules/combo-box.ts +0 -63
  65. package/dist/ts/inplace-editor/modules/date-range-picker.ts +0 -55
  66. package/dist/ts/inplace-editor/modules/multi-select.ts +0 -88
  67. package/dist/ts/inplace-editor/modules/rte.ts +0 -72
  68. package/dist/ts/inplace-editor/modules/slider.ts +0 -59
  69. package/dist/ts/inplace-editor/modules/time-picker.ts +0 -54
  70. package/styles/inplace-editor/_fluent-definition.scss +0 -69
  71. package/styles/inplace-editor/icons/_fluent.scss +0 -19
@@ -1,72 +0,0 @@
1
- import { RichTextEditor, RichTextEditorModel, HtmlEditor } from '@syncfusion/ej2-richtexteditor';
2
- import { MarkdownEditor, Toolbar, Link, Image, QuickToolbar, Table, FileManager } from '@syncfusion/ej2-richtexteditor';
3
- import { Base } from './base-module';
4
- import { InPlaceEditor } from '../base/inplace-editor';
5
- import { NotifyParams, IComponent } from '../base/interface';
6
-
7
- /**
8
- * The `RTE` module is used configure the properties of RTE type editor.
9
- */
10
- export class Rte implements IComponent {
11
- private base: Base;
12
- protected parent: InPlaceEditor;
13
- public compObj: RichTextEditor = undefined;
14
-
15
- public constructor(parent?: InPlaceEditor) {
16
- RichTextEditor.Inject(HtmlEditor, MarkdownEditor, Toolbar, Link, Image, QuickToolbar, Table, FileManager);
17
- this.parent = parent;
18
- this.parent.rteModule = this;
19
- this.base = new Base(this.parent, this);
20
- }
21
-
22
- public render(e: NotifyParams): void {
23
- this.compObj = new RichTextEditor(this.parent.model as RichTextEditorModel);
24
- this.compObj.appendTo(e.target);
25
- }
26
-
27
- public focus(): void {
28
- this.compObj.focusIn();
29
- }
30
-
31
- public updateValue(e: NotifyParams): void {
32
- if (this.compObj && e.type === 'RTE') {
33
- this.parent.setProperties({ value: this.getRteValue() }, true);
34
- this.parent.extendModelValue(this.compObj.value);
35
- }
36
- }
37
-
38
- private getRteValue(): string {
39
- let rteVal: string;
40
- if (this.compObj.editorMode === 'Markdown') {
41
- rteVal = (this.compObj.contentModule.getEditPanel() as HTMLTextAreaElement).value;
42
- return (rteVal === '') ? '' : rteVal;
43
- } else {
44
- rteVal = this.compObj.contentModule.getEditPanel().innerHTML;
45
- return (rteVal === '<p><br></p>' || rteVal === '&lt;p&gt;&lt;br&gt;&lt;/p&gt;' || rteVal === '') ? '' : rteVal;
46
- }
47
- }
48
-
49
- public refresh(): void {
50
- this.compObj.refresh();
51
- }
52
-
53
- /**
54
- * Destroys the rte module.
55
- *
56
- * @function destroy
57
- * @returns {void}
58
- * @hidden
59
- */
60
- public destroy(): void {
61
- this.base.destroy();
62
- }
63
-
64
- /**
65
- * For internal use only - Get the module name.
66
- *
67
- * @returns {string} - returns the string
68
- */
69
- private getModuleName(): string {
70
- return 'rte';
71
- }
72
- }
@@ -1,59 +0,0 @@
1
- import { Slider as EJ2Slider, SliderModel } from '@syncfusion/ej2-inputs';
2
- import { Base } from './base-module';
3
- import { InPlaceEditor } from '../base/inplace-editor';
4
- import { NotifyParams, IComponent } from '../base/interface';
5
-
6
- /**
7
- * The `Slider` module is used configure the properties of Slider type editor.
8
- */
9
- export class Slider implements IComponent {
10
- private base: Base;
11
- protected parent: InPlaceEditor;
12
- public compObj: EJ2Slider = undefined;
13
-
14
- public constructor(parent?: InPlaceEditor) {
15
- this.parent = parent;
16
- this.parent.sliderModule = this;
17
- this.base = new Base(this.parent, this);
18
- }
19
-
20
- public render(e: NotifyParams): void {
21
- this.compObj = new EJ2Slider(this.parent.model as SliderModel);
22
- this.compObj.appendTo(e.target as HTMLInputElement);
23
- }
24
-
25
- public focus(): void {
26
- this.compObj.element.focus();
27
- }
28
-
29
- public updateValue(e: NotifyParams): void {
30
- if (this.compObj && e.type === 'Slider') {
31
- this.parent.setProperties({ value: this.compObj.value }, true);
32
- this.parent.extendModelValue(this.compObj.value);
33
- }
34
- }
35
-
36
- public refresh(): void {
37
- this.compObj.refresh();
38
- }
39
-
40
- /**
41
- * Destroys the slider module.
42
- *
43
- * @function destroy
44
- * @returns {void}
45
- * @hidden
46
- */
47
- public destroy(): void {
48
- this.base.destroy();
49
- }
50
-
51
- /**
52
- * For internal use only - Get the module name.
53
- *
54
- * @returns {string} - returns the string
55
- */
56
- private getModuleName(): string {
57
- return 'slider';
58
- }
59
- }
@@ -1,54 +0,0 @@
1
- import { TimePicker as EJ2TimePicker, TimePickerModel } from '@syncfusion/ej2-calendars';
2
- import { Base } from './base-module';
3
- import { InPlaceEditor } from '../base/inplace-editor';
4
- import { NotifyParams, IComponent } from '../base/interface';
5
-
6
- /**
7
- * The `TimePicker` module is used configure the properties of Time picker type editor.
8
- */
9
- export class TimePicker implements IComponent {
10
- private base: Base;
11
- protected parent: InPlaceEditor;
12
- public compObj: EJ2TimePicker = undefined;
13
-
14
- public constructor(parent?: InPlaceEditor) {
15
- this.parent = parent;
16
- this.parent.timeModule = this;
17
- this.base = new Base(this.parent, this);
18
- }
19
-
20
- public render(e: NotifyParams): void {
21
- this.compObj = new EJ2TimePicker(this.parent.model as TimePickerModel);
22
- this.compObj.appendTo(e.target as HTMLInputElement);
23
- }
24
-
25
- public focus(): void {
26
- this.compObj.focusIn();
27
- }
28
-
29
- public updateValue(e: NotifyParams): void {
30
- if (this.compObj && e.type === 'Time') {
31
- this.parent.setProperties({ value: this.compObj.value }, true);
32
- this.parent.extendModelValue(this.compObj.value);
33
- }
34
- }
35
- /**
36
- * For internal use only - Get the module name.
37
- *
38
- * @returns {string} - returns the string
39
- */
40
- private getModuleName(): string {
41
- return 'time-picker';
42
- }
43
-
44
- /**
45
- * Destroys the module.
46
- *
47
- * @function destroy
48
- * @returns {void}
49
- * @hidden
50
- */
51
- public destroy(): void {
52
- this.base.destroy();
53
- }
54
- }
@@ -1,69 +0,0 @@
1
- $inplace-skin: 'FluentUI' !default;
2
- //Layout Variable Start
3
- $editor-big-value-text-font-size: $text-base !default;
4
- $editor-nrml-value-text-font-size: $text-sm !default;
5
- $editor-big-value-container-padding: 7px 12px 9px 12px !default;
6
- $editor-nrml-value-container-padding: 4px 8px 6px 8px !default;
7
- $editor-big-value-container-spin-padding: 12px !default;
8
- $editor-nrml-value-container-spin-padding: 10px !default;
9
- $editor-big-value-margin: 0 32px 0 0 !default;
10
- $editor-nrml-value-margin: 0 30px 0 0 !default;
11
- $editor-rtl-big-value-margin: 0 0 0 32px !default;
12
- $editor-rtl-nrml-value-margin: 0 0 0 30px !default;
13
- $editor-big-overlay-icon-size: $text-base !default;
14
- $editor-nrml-overlay-icon-size: $text-sm !default;
15
- $editor-big-overlay-icon-container-size: 20px !default;
16
- $editor-nrml-overlay-icon-container-size: 20px !default;
17
- $editor-big-overlay-icon-left-right: 12px !default;
18
- $editor-nrml-overlay-icon-left-right: 8px !default;
19
- $editor-tip-content-bdr-radius: $model-radius !default;
20
- $editor-popup-tip-content-bdr-radius: 0 !default;
21
- $editor-popup-tip-wrapper-bdr-radius: 0 !default;
22
- $editor-tip-title-font-weight: $font-weight-medium !default;
23
- $editor-big-tip-title-font-size: $text-lg !default;
24
- $editor-nrml-tip-title-font-size: $text-base !default;
25
- $editor-big-tip-title-padding: 8px 16px 0 16px !default;
26
- $editor-nrml-tip-title-padding: 6px 12px 0 12px !default;
27
- $editor-rtl-big-tip-title-padding: 8px 16px 0 16px !default;
28
- $editor-rtl-nrml-tip-title-padding: 6px 12px 0 12px !default;
29
- $editor-big-tip-title-container-size: 28px !default;
30
- $editor-nrml-tip-title-container-size: 24px !default;
31
- $editor-big-tip-wrapper-padding: 25px 16px 16px 16px !default;
32
- $editor-nrml-tip-wrapper-padding: 18px 12px 12px 12px !default;
33
- $editor-big-wrapper-title-with-padding: 25px 16px 16px 16px !default;
34
- $editor-nrml-wrapper-title-with-padding: 18px 12px 12px 12px !default;
35
- $editor-component-bottom-margin: 4px !default;
36
- $editor-buttons-top-margin: 4px !default;
37
- $editor-btn-save-icon-size: 16px !default;
38
- $editor-btn-cancel-icon-size: 16px !default;
39
- $editor-big-btn-save-margin: 0 6px 0 0 !default;
40
- $editor-nrml-btn-save-margin: 0 4px 0 0 !default;
41
- $editor-big-btn-cancel-margin: 0 0 0 6px !default;
42
- $editor-nrml-btn-cancel-margin: 0 0 0 4px !default;
43
- $editor-rtl-big-btn-save-margin: 0 0 0 6px !default;
44
- $editor-rtl-nrml-btn-save-margin: 0 0 0 4px !default;
45
- $editor-rtl-big-btn-cancel-margin: 0 6px 0 0 !default;
46
- $editor-rtl-nrml-btn-cancel-margin: 0 4px 0 0 !default;
47
- //Layout Variable End
48
-
49
- //Theme Variable Start
50
- $editor-value-hover-bg: $content-bg-color-alt2 !default;
51
- $editor-value-text-color: $content-text-color !default;
52
- $editor-overlay-icon-color: $icon-color !default;
53
- $editor-value-text-border: 1px dashed $content-text-color !default;
54
- $editor-background-color: $transparent !default;
55
- $wrapper-background-color: $flyout-bg-color !default;
56
- $editor-tip-border: none !default;
57
- $editor-tip-bg: $content-bg-color !default;
58
- $editor-tip-arrow-icon-color: $content-bg-color !default;
59
- $editor-tip-title-arrow-icon-color: $content-bg-color !default;
60
- $editor-tip-arrow-bdr-color: $content-bg-color-alt1 !default;
61
- $editor-tip-title-arrow-bdr-color: $border !default;
62
- $editor-tip-box-shadow: $shadow-md !default;
63
- $editor-tip-title-bg: $content-bg-color !default;
64
- $editor-tio-title-border-bottom: 0 !default;
65
- $editor-tip-title-color: $content-text-color !default;
66
- $editable-overlay-icon-height: inherit !default;
67
- $editable-overlay-icon: 0 !default;
68
- $editor-btn-icon-color: $icon-color !default;
69
- //Theme Variable End
@@ -1,19 +0,0 @@
1
- @include export-module('inplaceeditor-fluent-icons') {
2
-
3
- /*! inplaceeditor icons */
4
- .e-inplaceeditor,
5
- .e-inplaceeditor-tip {
6
-
7
- .e-save-icon::before {
8
- content: '\e7b9';
9
- }
10
-
11
- .e-cancel-icon::before {
12
- content: '\e74f';
13
- }
14
-
15
- .e-editable-overlay-icon::before {
16
- content: '\e822';
17
- }
18
- }
19
- }