@syncfusion/ej2-inputs 31.1.17 → 31.1.21

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 (107) hide show
  1. package/dist/ej2-inputs.min.js +2 -2
  2. package/dist/ej2-inputs.umd.min.js +2 -2
  3. package/dist/ej2-inputs.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-inputs.es2015.js +11 -3
  5. package/dist/es6/ej2-inputs.es2015.js.map +1 -1
  6. package/dist/es6/ej2-inputs.es5.js +11 -3
  7. package/dist/es6/ej2-inputs.es5.js.map +1 -1
  8. package/dist/global/ej2-inputs.min.js +2 -2
  9. package/dist/global/ej2-inputs.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +11 -61
  12. package/src/color-picker/color-picker.js +4 -3
  13. package/src/textbox/textbox.js +7 -0
  14. package/styles/bootstrap4-lite.css +2 -2
  15. package/styles/bootstrap4.css +2 -2
  16. package/styles/bootstrap5-dark-lite.css +2 -2
  17. package/styles/bootstrap5-dark.css +2 -2
  18. package/styles/bootstrap5-lite.css +2 -2
  19. package/styles/bootstrap5.css +2 -2
  20. package/styles/input/_bootstrap4-definition.scss +1 -1
  21. package/styles/input/_bootstrap5-definition.scss +1 -1
  22. package/styles/input/bootstrap4.css +2 -2
  23. package/styles/input/bootstrap5-dark.css +2 -2
  24. package/styles/input/bootstrap5.css +2 -2
  25. package/dist/ts/color-picker/color-picker-model.d.ts +0 -186
  26. package/dist/ts/color-picker/color-picker.d.ts +0 -398
  27. package/dist/ts/color-picker/color-picker.ts +0 -2209
  28. package/dist/ts/color-picker/index.d.ts +0 -5
  29. package/dist/ts/color-picker/index.ts +0 -5
  30. package/dist/ts/common/index.d.ts +0 -4
  31. package/dist/ts/common/index.ts +0 -4
  32. package/dist/ts/common/signature-base.d.ts +0 -340
  33. package/dist/ts/common/signature-base.ts +0 -1170
  34. package/dist/ts/form-validator/form-validator-model.d.ts +0 -121
  35. package/dist/ts/form-validator/form-validator.d.ts +0 -312
  36. package/dist/ts/form-validator/form-validator.ts +0 -1068
  37. package/dist/ts/form-validator/index.d.ts +0 -5
  38. package/dist/ts/form-validator/index.ts +0 -5
  39. package/dist/ts/index.d.ts +0 -18
  40. package/dist/ts/index.ts +0 -18
  41. package/dist/ts/input/index.d.ts +0 -4
  42. package/dist/ts/input/index.ts +0 -4
  43. package/dist/ts/input/input.d.ts +0 -345
  44. package/dist/ts/input/input.ts +0 -1277
  45. package/dist/ts/maskedtextbox/base/index.d.ts +0 -4
  46. package/dist/ts/maskedtextbox/base/index.ts +0 -4
  47. package/dist/ts/maskedtextbox/base/mask-base.d.ts +0 -134
  48. package/dist/ts/maskedtextbox/base/mask-base.ts +0 -1207
  49. package/dist/ts/maskedtextbox/index.d.ts +0 -5
  50. package/dist/ts/maskedtextbox/index.ts +0 -5
  51. package/dist/ts/maskedtextbox/maskedtextbox/index.d.ts +0 -5
  52. package/dist/ts/maskedtextbox/maskedtextbox/index.ts +0 -5
  53. package/dist/ts/maskedtextbox/maskedtextbox/maskedtextbox-model.d.ts +0 -167
  54. package/dist/ts/maskedtextbox/maskedtextbox/maskedtextbox.d.ts +0 -307
  55. package/dist/ts/maskedtextbox/maskedtextbox/maskedtextbox.ts +0 -709
  56. package/dist/ts/numerictextbox/index.d.ts +0 -5
  57. package/dist/ts/numerictextbox/index.ts +0 -5
  58. package/dist/ts/numerictextbox/numerictextbox-model.d.ts +0 -228
  59. package/dist/ts/numerictextbox/numerictextbox.d.ts +0 -431
  60. package/dist/ts/numerictextbox/numerictextbox.ts +0 -1672
  61. package/dist/ts/otp-input/index.d.ts +0 -5
  62. package/dist/ts/otp-input/index.ts +0 -5
  63. package/dist/ts/otp-input/otp-input-model.d.ts +0 -165
  64. package/dist/ts/otp-input/otp-input.d.ts +0 -365
  65. package/dist/ts/otp-input/otp-input.ts +0 -924
  66. package/dist/ts/rating/index.d.ts +0 -5
  67. package/dist/ts/rating/index.ts +0 -5
  68. package/dist/ts/rating/rating-model.d.ts +0 -239
  69. package/dist/ts/rating/rating.d.ts +0 -416
  70. package/dist/ts/rating/rating.ts +0 -1101
  71. package/dist/ts/signature/index.d.ts +0 -5
  72. package/dist/ts/signature/index.ts +0 -5
  73. package/dist/ts/signature/signature-model.d.ts +0 -131
  74. package/dist/ts/signature/signature.d.ts +0 -167
  75. package/dist/ts/signature/signature.ts +0 -266
  76. package/dist/ts/slider/index.d.ts +0 -5
  77. package/dist/ts/slider/index.ts +0 -5
  78. package/dist/ts/slider/slider-model.d.ts +0 -401
  79. package/dist/ts/slider/slider.d.ts +0 -721
  80. package/dist/ts/slider/slider.ts +0 -3497
  81. package/dist/ts/smart-textarea/caret-helper.d.ts +0 -17
  82. package/dist/ts/smart-textarea/caret-helper.ts +0 -95
  83. package/dist/ts/smart-textarea/index.d.ts +0 -5
  84. package/dist/ts/smart-textarea/index.ts +0 -5
  85. package/dist/ts/smart-textarea/smart-textarea-model.d.ts +0 -44
  86. package/dist/ts/smart-textarea/smart-textarea.d.ts +0 -80
  87. package/dist/ts/smart-textarea/smart-textarea.ts +0 -518
  88. package/dist/ts/speech-to-text/index.d.ts +0 -5
  89. package/dist/ts/speech-to-text/index.ts +0 -5
  90. package/dist/ts/speech-to-text/speech-to-text-model.d.ts +0 -270
  91. package/dist/ts/speech-to-text/speech-to-text.d.ts +0 -487
  92. package/dist/ts/speech-to-text/speech-to-text.ts +0 -1008
  93. package/dist/ts/textarea/index.d.ts +0 -5
  94. package/dist/ts/textarea/index.ts +0 -5
  95. package/dist/ts/textarea/textarea-model.d.ts +0 -161
  96. package/dist/ts/textarea/textarea.d.ts +0 -237
  97. package/dist/ts/textarea/textarea.ts +0 -812
  98. package/dist/ts/textbox/index.d.ts +0 -5
  99. package/dist/ts/textbox/index.ts +0 -5
  100. package/dist/ts/textbox/textbox-model.d.ts +0 -155
  101. package/dist/ts/textbox/textbox.d.ts +0 -288
  102. package/dist/ts/textbox/textbox.ts +0 -872
  103. package/dist/ts/uploader/index.d.ts +0 -5
  104. package/dist/ts/uploader/index.ts +0 -5
  105. package/dist/ts/uploader/uploader-model.d.ts +0 -555
  106. package/dist/ts/uploader/uploader.d.ts +0 -1216
  107. package/dist/ts/uploader/uploader.ts +0 -4391
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 31.1.17
3
+ * version : 31.1.21
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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,64 +1,19 @@
1
1
  {
2
- "_from": "@syncfusion/ej2-inputs@*",
3
- "_id": "@syncfusion/ej2-inputs@18.79.0",
4
- "_inBundle": false,
5
- "_integrity": "sha512-oqb85+M3SKXnSSqEDcFSKmajfgB0YVpTpgNGTznMJlMI3YVIuBF/C4xpVtBVg0Gg7JQGz51MdoZU9uGc6/ilWg==",
6
- "_location": "/@syncfusion/ej2-inputs",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "@syncfusion/ej2-inputs@*",
12
- "name": "@syncfusion/ej2-inputs",
13
- "escapedName": "@syncfusion%2fej2-inputs",
14
- "scope": "@syncfusion",
15
- "rawSpec": "*",
16
- "saveSpec": null,
17
- "fetchSpec": "*"
18
- },
19
- "_requiredBy": [
20
- "/",
21
- "/@syncfusion/ej2",
22
- "/@syncfusion/ej2-angular-inputs",
23
- "/@syncfusion/ej2-calendars",
24
- "/@syncfusion/ej2-diagrams",
25
- "/@syncfusion/ej2-documenteditor",
26
- "/@syncfusion/ej2-dropdowns",
27
- "/@syncfusion/ej2-filemanager",
28
- "/@syncfusion/ej2-gantt",
29
- "/@syncfusion/ej2-grid-chart",
30
- "/@syncfusion/ej2-grids",
31
- "/@syncfusion/ej2-image-editor",
32
- "/@syncfusion/ej2-inplace-editor",
33
- "/@syncfusion/ej2-interactive-chat",
34
- "/@syncfusion/ej2-kanban",
35
- "/@syncfusion/ej2-navigations",
36
- "/@syncfusion/ej2-pdfviewer",
37
- "/@syncfusion/ej2-pivotview",
38
- "/@syncfusion/ej2-querybuilder",
39
- "/@syncfusion/ej2-react-inputs",
40
- "/@syncfusion/ej2-richtexteditor",
41
- "/@syncfusion/ej2-schedule",
42
- "/@syncfusion/ej2-vue-inputs"
43
- ],
44
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-development/@syncfusion/ej2-inputs/-/ej2-inputs-18.79.0.tgz",
45
- "_shasum": "d082a01205b38b9a0272a0f7a38ea9d2be4bbaa1",
46
- "_spec": "@syncfusion/ej2-inputs@*",
47
- "_where": "D:\\SF3992\\WFH\\Nexus\\release",
48
- "author": {
49
- "name": "Syncfusion Inc."
50
- },
51
- "bundleDependencies": false,
2
+ "name": "@syncfusion/ej2-inputs",
3
+ "version": "31.1.21",
4
+ "description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users.",
5
+ "author": "Syncfusion Inc.",
6
+ "license": "SEE LICENSE IN license",
7
+ "main": "./dist/ej2-inputs.umd.min.js",
8
+ "module": "./index.js",
9
+ "es2015": "./dist/es6/ej2-inputs.es5.js",
52
10
  "dependencies": {
53
- "@syncfusion/ej2-base": "~31.1.17",
54
- "@syncfusion/ej2-buttons": "~31.1.17",
55
- "@syncfusion/ej2-popups": "~31.1.17",
11
+ "@syncfusion/ej2-base": "~31.1.20",
12
+ "@syncfusion/ej2-buttons": "~31.1.21",
13
+ "@syncfusion/ej2-popups": "~31.1.20",
56
14
  "@syncfusion/ej2-splitbuttons": "~31.1.17"
57
15
  },
58
- "deprecated": false,
59
- "description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users.",
60
16
  "devDependencies": {},
61
- "es2015": "./dist/es6/ej2-inputs.es5.js",
62
17
  "keywords": [
63
18
  "ej2",
64
19
  "syncfusion",
@@ -112,16 +67,11 @@
112
67
  "floating-label",
113
68
  "chunk-upload"
114
69
  ],
115
- "license": "SEE LICENSE IN license",
116
- "main": "./dist/ej2-inputs.umd.min.js",
117
- "module": "./index.js",
118
- "name": "@syncfusion/ej2-inputs",
119
70
  "repository": {
120
71
  "type": "git",
121
72
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/inputs"
122
73
  },
123
74
  "typings": "index.d.ts",
124
- "version": "31.1.17",
125
75
  "sideEffects": false,
126
76
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
127
77
  }
@@ -96,7 +96,8 @@ var ColorPicker = /** @class */ (function (_super) {
96
96
  if (this.formElement) {
97
97
  EventHandler.add(this.formElement, 'reset', this.formResetHandler, this);
98
98
  }
99
- var localeText = { Apply: 'Apply', Cancel: 'Cancel', ModeSwitcher: 'Switch Mode', RecentColors: 'Recent colors' };
99
+ var localeText = { Apply: 'Apply', Cancel: 'Cancel', ModeSwitcher: 'Switch Mode', RecentColors: 'Recent colors',
100
+ CurrentColor: 'Current', PreviousColor: 'Previous' };
100
101
  this.l10n = new L10n('colorpicker', localeText, this.locale);
101
102
  if (ele.getAttribute('ejs-for') && !ele.getAttribute('name')) {
102
103
  ele.setAttribute('name', ele.id);
@@ -555,11 +556,11 @@ var ColorPicker = /** @class */ (function (_super) {
555
556
  ColorPicker.prototype.createPreview = function (parentEle) {
556
557
  var previewContainer = this.createElement('div', { className: PREVIEW });
557
558
  parentEle.appendChild(previewContainer);
558
- var preview = this.createElement('span', { className: 'e-preview ' + CURRENT });
559
+ var preview = this.createElement('span', { className: 'e-preview ' + CURRENT, attrs: { title: this.l10n.getConstant('CurrentColor') } });
559
560
  previewContainer.appendChild(preview);
560
561
  var colorValue = this.convertToRgbString(this.rgb);
561
562
  preview.style.backgroundColor = colorValue;
562
- preview = this.createElement('span', { className: 'e-preview ' + PREVIOUS });
563
+ preview = this.createElement('span', { className: 'e-preview ' + PREVIOUS, attrs: { title: this.l10n.getConstant('PreviousColor') } });
563
564
  previewContainer.appendChild(preview);
564
565
  preview.style.backgroundColor = colorValue;
565
566
  };
@@ -571,6 +571,13 @@ var TextBox = /** @class */ (function (_super) {
571
571
  */
572
572
  TextBox.prototype.addIcon = function (position, icons) {
573
573
  Input.addIcon(position, icons, this.textboxWrapper.container, this.respectiveElement, this.createElement);
574
+ var container = this.textboxWrapper.container;
575
+ var iconSpan = container.querySelector('span.e-icons');
576
+ var label = container.querySelector('label');
577
+ if (iconSpan && label) {
578
+ var labelWidth = (this.element.parentElement.offsetWidth) - (iconSpan.offsetWidth);
579
+ label.style.width = labelWidth + "px";
580
+ }
574
581
  };
575
582
  /**
576
583
  * Gets the properties to be maintained in the persisted state.
@@ -2098,7 +2098,7 @@ textarea.e-input,
2098
2098
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2099
2099
  background: rgb(90.2703862661, 97.7929184549, 104.4796137339);
2100
2100
  border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
2101
- color: #fff;
2101
+ color: #f8f9fa;
2102
2102
  }
2103
2103
 
2104
2104
  .e-input.e-success,
@@ -2305,7 +2305,7 @@ textarea.e-input::selection,
2305
2305
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2306
2306
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2307
2307
  color: #495057;
2308
- color: #fff;
2308
+ color: #f8f9fa;
2309
2309
  }
2310
2310
 
2311
2311
  .e-input-group input.e-input,
@@ -2098,7 +2098,7 @@ textarea.e-input,
2098
2098
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2099
2099
  background: rgb(90.2703862661, 97.7929184549, 104.4796137339);
2100
2100
  border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
2101
- color: #fff;
2101
+ color: #f8f9fa;
2102
2102
  }
2103
2103
 
2104
2104
  .e-input.e-success,
@@ -2305,7 +2305,7 @@ textarea.e-input::selection,
2305
2305
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2306
2306
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2307
2307
  color: #495057;
2308
- color: #fff;
2308
+ color: #f8f9fa;
2309
2309
  }
2310
2310
 
2311
2311
  .e-input-group input.e-input,
@@ -2141,7 +2141,7 @@ textarea.e-input,
2141
2141
  .e-input-group:not(.e-disabled) .e-input-group-icon:hover,
2142
2142
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2143
2143
  background: rgb(91.8, 99.45, 106.25);
2144
- color: #dee2e6;
2144
+ color: #fff;
2145
2145
  }
2146
2146
 
2147
2147
  .e-input.e-success,
@@ -2345,7 +2345,7 @@ textarea.e-input::selection,
2345
2345
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2346
2346
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2347
2347
  color: #adb5bd;
2348
- color: #dee2e6;
2348
+ color: #fff;
2349
2349
  }
2350
2350
 
2351
2351
  .e-input-group input.e-input,
@@ -2141,7 +2141,7 @@ textarea.e-input,
2141
2141
  .e-input-group:not(.e-disabled) .e-input-group-icon:hover,
2142
2142
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2143
2143
  background: rgb(91.8, 99.45, 106.25);
2144
- color: #dee2e6;
2144
+ color: #fff;
2145
2145
  }
2146
2146
 
2147
2147
  .e-input.e-success,
@@ -2345,7 +2345,7 @@ textarea.e-input::selection,
2345
2345
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2346
2346
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2347
2347
  color: #adb5bd;
2348
- color: #dee2e6;
2348
+ color: #fff;
2349
2349
  }
2350
2350
 
2351
2351
  .e-input-group input.e-input,
@@ -2141,7 +2141,7 @@ textarea.e-input,
2141
2141
  .e-input-group:not(.e-disabled) .e-input-group-icon:hover,
2142
2142
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2143
2143
  background: rgb(91.8, 99.45, 106.25);
2144
- color: #343a40;
2144
+ color: #fff;
2145
2145
  }
2146
2146
 
2147
2147
  .e-input.e-success,
@@ -2345,7 +2345,7 @@ textarea.e-input::selection,
2345
2345
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2346
2346
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2347
2347
  color: #6c757d;
2348
- color: #343a40;
2348
+ color: #fff;
2349
2349
  }
2350
2350
 
2351
2351
  .e-input-group input.e-input,
@@ -2141,7 +2141,7 @@ textarea.e-input,
2141
2141
  .e-input-group:not(.e-disabled) .e-input-group-icon:hover,
2142
2142
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2143
2143
  background: rgb(91.8, 99.45, 106.25);
2144
- color: #343a40;
2144
+ color: #fff;
2145
2145
  }
2146
2146
 
2147
2147
  .e-input.e-success,
@@ -2345,7 +2345,7 @@ textarea.e-input::selection,
2345
2345
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2346
2346
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2347
2347
  color: #6c757d;
2348
- color: #343a40;
2348
+ color: #fff;
2349
2349
  }
2350
2350
 
2351
2351
  .e-input-group input.e-input,
@@ -181,7 +181,7 @@ $textarea-small-height: auto !default;
181
181
  $textarea-bigger-small-height: auto !default;
182
182
  $textarea-full-height: 100% !default;
183
183
  $input-group-disabled-color: $gray-600 !default;
184
- $input-group-hovered-color: $white !default;
184
+ $input-group-hovered-color: $gray-100 !default;
185
185
  $input-icon-font-size: 14px !default;
186
186
  $input-bigger-icon-font-size: 16px !default;
187
187
  $input-small-icon-font-size: 12px !default;
@@ -236,7 +236,7 @@ $float-label-font-color: $content-text-color-alt1 !default;
236
236
  $float-label-disbale-font-color: $content-text-color-alt3 !default;
237
237
  $input-placeholder-color: $placeholder-text-color !default;
238
238
  $input-group-disabled-color: $icon-color-disabled !default;
239
- $input-group-hovered-color: $icon-color-hover !default;
239
+ $input-group-hovered-color: $secondary-text-color-hover !default;
240
240
  $input-readonly-bg-color: $content-bg-color !default;
241
241
  $input-readonly-color: $content-text-color-alt1 !default;
242
242
  $input-icon-shadow: inset 0 3px 5px rgba(0, 0, 0, .125) !default;
@@ -2088,7 +2088,7 @@ textarea.e-input,
2088
2088
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2089
2089
  background: rgb(90.2703862661, 97.7929184549, 104.4796137339);
2090
2090
  border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
2091
- color: #fff;
2091
+ color: #f8f9fa;
2092
2092
  }
2093
2093
 
2094
2094
  .e-input.e-success,
@@ -2295,7 +2295,7 @@ textarea.e-input::selection,
2295
2295
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2296
2296
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2297
2297
  color: #495057;
2298
- color: #fff;
2298
+ color: #f8f9fa;
2299
2299
  }
2300
2300
 
2301
2301
  .e-input-group input.e-input,
@@ -2131,7 +2131,7 @@ textarea.e-input,
2131
2131
  .e-input-group:not(.e-disabled) .e-input-group-icon:hover,
2132
2132
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2133
2133
  background: rgb(91.8, 99.45, 106.25);
2134
- color: #dee2e6;
2134
+ color: #fff;
2135
2135
  }
2136
2136
 
2137
2137
  .e-input.e-success,
@@ -2335,7 +2335,7 @@ textarea.e-input::selection,
2335
2335
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2336
2336
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2337
2337
  color: #adb5bd;
2338
- color: #dee2e6;
2338
+ color: #fff;
2339
2339
  }
2340
2340
 
2341
2341
  .e-input-group input.e-input,
@@ -2131,7 +2131,7 @@ textarea.e-input,
2131
2131
  .e-input-group:not(.e-disabled) .e-input-group-icon:hover,
2132
2132
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2133
2133
  background: rgb(91.8, 99.45, 106.25);
2134
- color: #343a40;
2134
+ color: #fff;
2135
2135
  }
2136
2136
 
2137
2137
  .e-input.e-success,
@@ -2335,7 +2335,7 @@ textarea.e-input::selection,
2335
2335
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2336
2336
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2337
2337
  color: #6c757d;
2338
- color: #343a40;
2338
+ color: #fff;
2339
2339
  }
2340
2340
 
2341
2341
  .e-input-group input.e-input,
@@ -1,186 +0,0 @@
1
- import { BaseEventArgs, Component, EmitType, Event, INotifyPropertyChanged, NotifyPropertyChanges, Property } from '@syncfusion/ej2-base';import { Browser, closest, detach, EventHandler, getInstance, select, selectAll, formatUnit } from '@syncfusion/ej2-base';import { addClass, attributes, classList, isNullOrUndefined, L10n } from '@syncfusion/ej2-base';import { remove, removeClass, rippleEffect } from '@syncfusion/ej2-base';import { SplitButton, BeforeOpenCloseMenuEventArgs, getModel } from '@syncfusion/ej2-splitbuttons';import { Deferred } from '@syncfusion/ej2-splitbuttons';import { Tooltip, TooltipEventArgs, getZindexPartial, Popup, isCollide } from '@syncfusion/ej2-popups';import { Input } from './../input/index';import { NumericTextBox, NumericTextBoxModel, ChangeEventArgs } from './../numerictextbox/index';import { Slider, SliderChangeEventArgs } from './../slider/slider';
2
- import {ColorPickerMode,ColorPickerEventArgs,PaletteTileEventArgs,BeforeOpenCloseEventArgs,OpenEventArgs,ModeSwitchEventArgs} from "./color-picker";
3
- import {ComponentModel} from '@syncfusion/ej2-base';
4
-
5
- /**
6
- * Interface for a class ColorPicker
7
- */
8
- export interface ColorPickerModel extends ComponentModel{
9
-
10
- /**
11
- * It is used to set the color value for ColorPicker. It should be specified as Hex code.
12
- *
13
- * @default '#008000ff'
14
- */
15
- value?: string;
16
-
17
- /**
18
- * This property sets the CSS classes to root element of the ColorPicker
19
- * which helps to customize the UI styles.
20
- *
21
- * @default ''
22
- */
23
- cssClass?: string;
24
-
25
- /**
26
- * It is used to enable / disable ColorPicker component. If it is disabled the ColorPicker popup won’t open.
27
- *
28
- * @default false
29
- */
30
- disabled?: boolean;
31
-
32
- /**
33
- * It is used to render the ColorPicker with the specified mode.
34
- *
35
- * @default 'Picker'
36
- */
37
- mode?: ColorPickerMode;
38
-
39
- /**
40
- * It is used to show / hide the mode switcher button of ColorPicker component.
41
- *
42
- * @default true
43
- */
44
- modeSwitcher?: boolean;
45
-
46
- /**
47
- * It is used to load custom colors to palette.
48
- *
49
- * @default null
50
- */
51
- presetColors?: { [key: string]: string[] };
52
-
53
- /**
54
- * It is used to show / hide the control buttons (apply / cancel) of ColorPicker component.
55
- *
56
- * @default true
57
- */
58
- showButtons?: boolean;
59
-
60
- /**
61
- * It is used to render the ColorPicker palette with specified columns.
62
- *
63
- * @default 10
64
- */
65
- columns?: number;
66
-
67
- /**
68
- * It is used to render the ColorPicker component as inline.
69
- *
70
- * @default false
71
- */
72
- inline?: boolean;
73
-
74
- /**
75
- * It is used to enable / disable the no color option of ColorPicker component.
76
- *
77
- * @default false
78
- */
79
- noColor?: boolean;
80
-
81
- /**
82
- * To enable or disable persisting component's state between page reloads and it is extended from component class.
83
- *
84
- * @default false
85
- */
86
- enablePersistence?: boolean;
87
-
88
- /**
89
- * It is used to enable / disable the opacity option of ColorPicker component.
90
- *
91
- * @default true
92
- */
93
- enableOpacity?: boolean;
94
-
95
- /**
96
- * Specifies the popup element creation on open.
97
- *
98
- * @default false
99
- */
100
- createPopupOnClick?: boolean;
101
-
102
- /**
103
- * Specifies to show the recent color options in the color picker in the palate mode.
104
- * It accepts boolean value to configure recent colors. The default value is false.
105
- * If this property value is false, then the recent color user interface is not rendered in color picker component.
106
-      * This recent color option is rendered only in the palette mode.
107
- *
108
- * @default false
109
- */
110
- showRecentColors?: boolean;
111
-
112
- /**
113
- * Triggers while selecting the color in picker / palette, when showButtons property is enabled.
114
- *
115
- * @event select
116
- * @blazorProperty 'Selected'
117
- */
118
- select?: EmitType<ColorPickerEventArgs>;
119
-
120
- /**
121
- * Triggers while changing the colors. It will be triggered based on the showButtons property.
122
- * If the property is false, the event will be triggered while selecting the colors.
123
- * If the property is true, the event will be triggered while apply the selected color.
124
- *
125
- * @event change
126
- * @blazorProperty 'ValueChange'
127
- */
128
- change?: EmitType<ColorPickerEventArgs>;
129
-
130
- /**
131
-      * Trigger while rendering each palette tile.
132
- *
133
-      * @event beforeTileRender
134
- * @blazorProperty 'OnTileRender'
135
-      */
136
- beforeTileRender?: EmitType<PaletteTileEventArgs>;
137
-
138
- /**
139
-      * Triggers before opening the ColorPicker popup.
140
- *
141
-      * @event beforeOpen
142
- * @blazorProperty 'OnOpen'
143
-      */
144
- beforeOpen?: EmitType<BeforeOpenCloseEventArgs>;
145
-
146
- /**
147
-      * Triggers while opening the ColorPicker popup.
148
- *
149
-      * @event open
150
- * @blazorProperty 'Opened'
151
-      */
152
- open?: EmitType<OpenEventArgs>;
153
-
154
- /**
155
-      * Triggers before closing the ColorPicker popup.
156
- *
157
-      * @event beforeClose
158
- * @blazorProperty 'OnClose'
159
-      */
160
- beforeClose?: EmitType<BeforeOpenCloseEventArgs>;
161
-
162
- /**
163
-      * Triggers before Switching between ColorPicker mode.
164
- *
165
-      * @event beforeModeSwitch
166
- * @blazorProperty 'OnModeSwitch'
167
-      */
168
- beforeModeSwitch?: EmitType<ModeSwitchEventArgs>;
169
-
170
- /**
171
-      * Triggers after Switching between ColorPicker mode.
172
- *
173
-      * @event onModeSwitch
174
- * @blazorProperty 'ModeSwitched'
175
-      */
176
- onModeSwitch?: EmitType<ModeSwitchEventArgs>;
177
-
178
- /**
179
- * Triggers once the component rendering is completed.
180
- *
181
- * @event created
182
- * @blazorProperty 'Created'
183
- */
184
- created?: EmitType<Event>;
185
-
186
- }