bromcom-ui 2.11.1-rc.9-3 → 2.11.1-rc.9-5

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 (184) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/{p-ede82918.js → p-0745c696.js} +1 -1
  4. package/dist/bromcom-ui/{p-dc607ae4.entry.js → p-0e3e8cc2.entry.js} +1 -1
  5. package/dist/bromcom-ui/p-0fa6d3a8.entry.js +5 -0
  6. package/dist/bromcom-ui/{p-14ed8029.entry.js → p-160fba10.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-3361f6c9.entry.js → p-201b04e8.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-627c7769.entry.js → p-29263575.entry.js} +1 -1
  9. package/dist/bromcom-ui/p-2b42d77e.entry.js +5 -0
  10. package/dist/bromcom-ui/{p-e497cf5d.entry.js → p-2d9b633e.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-5bf1657b.entry.js → p-2e9c0070.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-ebeb9689.entry.js → p-33f3c5c5.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-abd2f9ff.entry.js → p-4342cdf8.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-bca0ff0a.entry.js → p-4b44c0ea.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-a018f340.entry.js → p-51ba5764.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-35c215f2.entry.js → p-57678987.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-fba1682e.entry.js → p-59327403.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-c10b07cc.entry.js → p-5bd4ba44.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-9589f69c.entry.js → p-5d670fd7.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-adcb30bc.entry.js → p-5dcc28c3.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-5f345ad2.entry.js +5 -0
  22. package/dist/bromcom-ui/{p-70253803.entry.js → p-62d2c650.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-61753299.js → p-6bea284a.js} +1 -1
  24. package/dist/bromcom-ui/{p-178fa936.entry.js → p-6ddd9d7e.entry.js} +1 -1
  25. package/dist/bromcom-ui/p-788d1fb1.entry.js +5 -0
  26. package/dist/bromcom-ui/{p-0eacfbb2.entry.js → p-856dac72.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-8b31581f.js → p-8bb0fe5d.js} +1 -1
  28. package/dist/bromcom-ui/{p-3cdfd8eb.entry.js → p-8e972c24.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-a4b675ef.entry.js → p-93c016f1.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-930f3618.js → p-9586997f.js} +1 -1
  31. package/dist/bromcom-ui/{p-6f37a4d7.entry.js → p-9b2e26f6.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-9b8fcf49.entry.js +16 -0
  33. package/dist/bromcom-ui/{p-db15dca3.entry.js → p-a1d44a10.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-e93d6619.js → p-a2864264.js} +1 -1
  35. package/dist/bromcom-ui/p-aeb4be41.js +5 -0
  36. package/dist/bromcom-ui/{p-7fd22a35.entry.js → p-b0dc804a.entry.js} +1 -1
  37. package/dist/bromcom-ui/{p-5a391fcd.js → p-b51e5b06.js} +1 -1
  38. package/dist/bromcom-ui/p-c75b2352.entry.js +5 -0
  39. package/dist/bromcom-ui/p-c77541f4.js +10 -0
  40. package/dist/bromcom-ui/{p-5a22b74b.entry.js → p-cb56a1d9.entry.js} +1 -1
  41. package/dist/bromcom-ui/p-d1298c40.js +5 -0
  42. package/dist/bromcom-ui/{p-90223f9f.entry.js → p-d3b38aff.entry.js} +1 -1
  43. package/dist/bromcom-ui/{p-f9b59bcc.entry.js → p-d6cee6ba.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-e10780ed.entry.js → p-dce99e4d.entry.js} +1 -1
  45. package/dist/cjs/{bcm-accordion_46.cjs.entry.js → bcm-accordion_47.cjs.entry.js} +8764 -8633
  46. package/dist/cjs/bcm-alert.cjs.entry.js +3 -3
  47. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +6 -6
  48. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +6 -6
  49. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +3 -3
  50. package/dist/cjs/bcm-caption.cjs.entry.js +6 -6
  51. package/dist/cjs/bcm-card.cjs.entry.js +4 -4
  52. package/dist/cjs/bcm-checkbox-lite_8.cjs.entry.js +3 -3
  53. package/dist/cjs/bcm-chip-group.cjs.entry.js +6 -6
  54. package/dist/cjs/bcm-collapse.cjs.entry.js +3 -3
  55. package/dist/cjs/bcm-date-picker.cjs.entry.js +3 -3
  56. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +3 -3
  57. package/dist/cjs/bcm-default.cjs.entry.js +3 -3
  58. package/dist/cjs/bcm-form-2.cjs.entry.js +5 -4
  59. package/dist/cjs/bcm-input-2.cjs.entry.js +153 -0
  60. package/dist/cjs/bcm-input-custom.cjs.entry.js +3 -3
  61. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +6 -6
  62. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
  63. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
  64. package/dist/cjs/bcm-modal-2.cjs.entry.js +6 -6
  65. package/dist/cjs/bcm-number-input.cjs.entry.js +260 -72
  66. package/dist/cjs/bcm-overlay_2.cjs.entry.js +1 -1
  67. package/dist/cjs/bcm-popover.cjs.entry.js +6 -6
  68. package/dist/cjs/bcm-range.cjs.entry.js +3 -3
  69. package/dist/cjs/bcm-react-number.cjs.entry.js +1230 -0
  70. package/dist/cjs/bcm-select.cjs.entry.js +1 -1
  71. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
  72. package/dist/cjs/bcm-table.cjs.entry.js +6 -6
  73. package/dist/cjs/bcm-tag.cjs.entry.js +4 -4
  74. package/dist/cjs/bcm-time-picker.cjs.entry.js +3 -3
  75. package/dist/cjs/bcm-toast.cjs.entry.js +3 -3
  76. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  77. package/dist/cjs/{color-helper-c3a819ea.js → color-helper-dc98a2ca.js} +1 -1
  78. package/dist/cjs/{colors-078851ec.js → colors-250d0982.js} +13 -7
  79. package/dist/cjs/{generate-f73a098d.js → generate-e4106db0.js} +2 -2
  80. package/dist/cjs/{global-baf04c81.js → global-c0174398.js} +1 -1
  81. package/dist/cjs/index-e05a7c6f.js +545 -0
  82. package/dist/cjs/input.style-b5676e6a.js +122 -0
  83. package/dist/cjs/loader.cjs.js +3 -3
  84. package/dist/cjs/{number-helper-0543a62e.js → number-helper-0846aefe.js} +1 -1
  85. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +4 -4
  86. package/dist/cjs/old-bcm-popover.cjs.entry.js +3 -3
  87. package/dist/cjs/{package-e717a31f.js → package-822a0e3f.js} +1 -1
  88. package/dist/cjs/{validators-77768582.js → validators-0fadce56.js} +1 -1
  89. package/dist/collection/collection-manifest.json +2 -0
  90. package/dist/collection/components/atoms/link/link.css +9 -3
  91. package/dist/collection/components/molecules/input/input.style.js +117 -0
  92. package/dist/collection/components/molecules/input/input2.js +918 -0
  93. package/dist/collection/components/molecules/number-input/number-input.js +777 -96
  94. package/dist/collection/components/molecules/number-input/react-input.js +96 -0
  95. package/dist/collection/components/molecules/radio/radio.js +1 -1
  96. package/dist/collection/components/organism/form/form.js +2 -2
  97. package/dist/collection/components/organism/form-2/bcm-form-components.js +2 -1
  98. package/dist/collection/components/organism/list/list.css +0 -1
  99. package/dist/collection/components/other_deprecated/select/select.css +1 -1
  100. package/dist/collection/components/third-parts/rc-picker/date.js +1 -1
  101. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +40 -5
  102. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +11 -2
  103. package/dist/components/{raf.js → Overflow.js} +692 -69
  104. package/dist/components/bcm-date.js +1 -1
  105. package/dist/components/bcm-form-2.js +2 -1
  106. package/dist/components/bcm-input-2.d.ts +11 -0
  107. package/dist/components/bcm-input-2.js +225 -0
  108. package/dist/components/bcm-number-input.js +295 -79
  109. package/dist/components/bcm-react-number.d.ts +11 -0
  110. package/dist/components/bcm-react-number.js +10 -0
  111. package/dist/components/bcm-select.js +1 -1
  112. package/dist/components/colors2.js +13 -7
  113. package/dist/components/form.js +2 -2
  114. package/dist/components/generate.js +1 -1
  115. package/dist/components/index.d.ts +2 -0
  116. package/dist/components/index.js +2 -0
  117. package/dist/components/input.style.js +120 -0
  118. package/dist/components/link.js +1 -1
  119. package/dist/components/list.js +1 -1
  120. package/dist/components/radio.js +1 -1
  121. package/dist/components/rc-overflow.js +1 -593
  122. package/dist/components/rc-picker.js +8620 -8025
  123. package/dist/components/react-input.js +1242 -0
  124. package/dist/esm/{bcm-accordion_46.entry.js → bcm-accordion_47.entry.js} +8656 -8526
  125. package/dist/esm/bcm-alert.entry.js +3 -3
  126. package/dist/esm/bcm-attendance-actions-comment.entry.js +6 -6
  127. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +6 -6
  128. package/dist/esm/bcm-breadcrumb.entry.js +3 -3
  129. package/dist/esm/bcm-caption.entry.js +6 -6
  130. package/dist/esm/bcm-card.entry.js +4 -4
  131. package/dist/esm/bcm-checkbox-lite_8.entry.js +3 -3
  132. package/dist/esm/bcm-chip-group.entry.js +6 -6
  133. package/dist/esm/bcm-collapse.entry.js +3 -3
  134. package/dist/esm/bcm-date-picker.entry.js +3 -3
  135. package/dist/esm/bcm-datetime-picker.entry.js +3 -3
  136. package/dist/esm/bcm-default.entry.js +3 -3
  137. package/dist/esm/bcm-form-2.entry.js +5 -4
  138. package/dist/esm/bcm-input-2.entry.js +149 -0
  139. package/dist/esm/bcm-input-custom.entry.js +3 -3
  140. package/dist/esm/bcm-input-dropdown.entry.js +6 -6
  141. package/dist/esm/bcm-modal-2-footer.entry.js +6 -6
  142. package/dist/esm/bcm-modal-2-header.entry.js +6 -6
  143. package/dist/esm/bcm-modal-2.entry.js +6 -6
  144. package/dist/esm/bcm-number-input.entry.js +259 -71
  145. package/dist/esm/bcm-overlay_2.entry.js +1 -1
  146. package/dist/esm/bcm-popover.entry.js +6 -6
  147. package/dist/esm/bcm-range.entry.js +3 -3
  148. package/dist/esm/bcm-react-number.entry.js +1226 -0
  149. package/dist/esm/bcm-select.entry.js +1 -1
  150. package/dist/esm/bcm-skeleton.entry.js +6 -6
  151. package/dist/esm/bcm-table.entry.js +6 -6
  152. package/dist/esm/bcm-tag.entry.js +4 -4
  153. package/dist/esm/bcm-time-picker.entry.js +3 -3
  154. package/dist/esm/bcm-toast.entry.js +3 -3
  155. package/dist/esm/bromcom-ui.js +3 -3
  156. package/dist/esm/{color-helper-3b528349.js → color-helper-74614f24.js} +1 -1
  157. package/dist/esm/{colors-c530a5b8.js → colors-dd598eea.js} +13 -7
  158. package/dist/esm/{generate-c2c0b02e.js → generate-dbe68f53.js} +2 -2
  159. package/dist/esm/{global-2473677b.js → global-0bea93f1.js} +1 -1
  160. package/dist/esm/index-036974d7.js +541 -0
  161. package/dist/esm/input.style-e855c0f3.js +120 -0
  162. package/dist/esm/loader.js +3 -3
  163. package/dist/esm/{number-helper-75447fa6.js → number-helper-4a35e676.js} +1 -1
  164. package/dist/esm/old-bcm-popover-box.entry.js +4 -4
  165. package/dist/esm/old-bcm-popover.entry.js +3 -3
  166. package/dist/esm/{package-28dc6847.js → package-c9093920.js} +1 -1
  167. package/dist/esm/{validators-5a383988.js → validators-0d9bab98.js} +1 -1
  168. package/dist/types/components/molecules/input/input.style.d.ts +576 -0
  169. package/dist/types/components/molecules/input/input2.d.ts +64 -0
  170. package/dist/types/components/molecules/number-input/number-input.d.ts +66 -17
  171. package/dist/types/components/molecules/number-input/react-input.d.ts +16 -0
  172. package/dist/types/components.d.ts +203 -19
  173. package/package.json +4 -3
  174. package/dist/bromcom-ui/p-350dbff0.entry.js +0 -5
  175. package/dist/bromcom-ui/p-3a43bf45.js +0 -5
  176. package/dist/bromcom-ui/p-64f21481.entry.js +0 -20
  177. package/dist/bromcom-ui/p-bb46d881.entry.js +0 -5
  178. package/dist/bromcom-ui/p-c7030364.entry.js +0 -5
  179. package/dist/bromcom-ui/p-de0b0192.entry.js +0 -5
  180. package/dist/cjs/bcm-link.cjs.entry.js +0 -51
  181. package/dist/collection/components/molecules/number-input/number-input.css +0 -137
  182. package/dist/collection/components/molecules/number-input/number-input.style.js +0 -45
  183. package/dist/esm/bcm-link.entry.js +0 -47
  184. package/dist/types/components/molecules/number-input/number-input.style.d.ts +0 -200
@@ -0,0 +1,918 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
6
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
8
+ r = Reflect.decorate(decorators, target, key, desc);
9
+ else
10
+ for (var i = decorators.length - 1; i >= 0; i--)
11
+ if (d = decorators[i])
12
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
13
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
14
+ };
15
+ import { Host, h } from "@stencil/core";
16
+ import cs from "classnames";
17
+ import { IsLoad } from "../../../decorators/is-load-decorator";
18
+ import { Generate } from "../../../helper/generate";
19
+ import Bcm from "../../../models/bcm";
20
+ import { CaptionTemplate } from "../../../templates/caption-template";
21
+ import { inputStyle } from "./input.style";
22
+ export class BcmInput2 {
23
+ constructor() {
24
+ this._id = Generate.UID();
25
+ this._internal_id = Generate.UID();
26
+ this.value = "";
27
+ this.size = Bcm.Size.medium;
28
+ this.label = undefined;
29
+ this.pattern = undefined;
30
+ this.tooltip = undefined;
31
+ this.placeholder = undefined;
32
+ this.disabled = false;
33
+ this.readonly = false;
34
+ this.clearable = false;
35
+ this.autocomplete = false;
36
+ this.name = undefined;
37
+ this.type = Bcm.InputType.text;
38
+ this.hidden = false;
39
+ this.required = false;
40
+ this.fullWidth = false;
41
+ this.noDefaultIcon = undefined;
42
+ this.disableWatchValue = false;
43
+ this.passwordToggle = false;
44
+ this.maxLength = null;
45
+ this.minLength = null;
46
+ this.unitPrefix = null;
47
+ this.unit = undefined;
48
+ this.decimal = true;
49
+ this.min = undefined;
50
+ this.max = undefined;
51
+ this.step = undefined;
52
+ this.caption = undefined;
53
+ this.noCaption = false;
54
+ this.captionType = Bcm.Status.default;
55
+ this.captionError = undefined;
56
+ this.customErrorMessage = undefined;
57
+ this._prefix = undefined;
58
+ this._suffix = undefined;
59
+ this.captionCache = undefined;
60
+ this.captionTypeCache = undefined;
61
+ this.inValid = false;
62
+ this.valueCache = "";
63
+ this.focused = false;
64
+ this.isPasswordVisible = false;
65
+ }
66
+ async onBcmFocus() {
67
+ this.inputElement.focus();
68
+ }
69
+ async onBcmBlur() {
70
+ this.inputElement.blur();
71
+ }
72
+ async onBcmSelect() {
73
+ this.inputElement.select();
74
+ }
75
+ handleClear(e) {
76
+ this.inputElement.value = "";
77
+ this.value = "";
78
+ this.inputElement.focus();
79
+ this.clear.emit(e);
80
+ this.change.emit(this.value);
81
+ e.stopPropagation();
82
+ }
83
+ handleInput(_e) {
84
+ this.value = this.inputElement.value;
85
+ this.input.emit(this.value);
86
+ this.change.emit(this.value);
87
+ }
88
+ handleChange(_e) {
89
+ this.value = this.inputElement.value;
90
+ this.change.emit(this.value);
91
+ }
92
+ handleFocus(e) {
93
+ this.focused = true;
94
+ this.focus.emit(e);
95
+ }
96
+ handleBlur(e) {
97
+ this.focused = false;
98
+ this.blur.emit(e);
99
+ }
100
+ handleKeyUp(e) {
101
+ if (e.key === "Enter") {
102
+ this.blur.emit(e);
103
+ }
104
+ }
105
+ render() {
106
+ const { value, size, label, type, captionType, caption, captionError, placeholder, fullWidth, disabled, readonly, clearable,
107
+ // passwordToggle,
108
+ // isPasswordVisible,
109
+ // noDefaultIcon,
110
+ unit, inValid, focused,
111
+ // unitPrefix,
112
+ noCaption, required, hidden, _id, autocomplete, _prefix, _suffix, } = this;
113
+ const isActiveClearable = (value === null || value === void 0 ? void 0 : value.length) > 0 && clearable;
114
+ const { host, inputContainer, input, slotClass, clearButton, controls, controlsBtn, controlsBtnDown, controlsBtnUp, controlsDivider } = inputStyle({
115
+ size,
116
+ fullWidth,
117
+ // şüpheli kısımlar
118
+ focused: focused,
119
+ clearable: isActiveClearable,
120
+ disabled,
121
+ readonly,
122
+ invalid: inValid,
123
+ unit: (unit === null || unit === void 0 ? void 0 : unit.length) > 0,
124
+ // 'empty': value?.length < 1,
125
+ error: captionType === "error",
126
+ hidden,
127
+ });
128
+ return (h(Host, { class: host(), onClick: () => this.onBcmFocus() }, label && h("bcm-label", { tooltip: this.tooltip, type: captionType, value: label, required: required, htmlFor: _id }), h("div", { class: inputContainer() }, h("div", { class: slotClass() }, h("slot", { name: "prefix" }, _prefix && _prefix.length > 0 && h("span", { innerHTML: _prefix }))), h("input", { class: input(), id: _id, type: type, value: value, pattern: this.pattern, placeholder: placeholder, disabled: disabled, readonly: readonly, ref: el => (this.inputElement = el), onInput: event => this.handleInput(event), onChange: event => this.handleChange(event), onFocus: event => this.handleFocus(event), onBlur: event => this.handleBlur(event), onKeyUp: event => this.handleKeyUp(event), autoComplete: autocomplete ? "on" : "off", required: required }), h("div", { class: slotClass() }, isActiveClearable && (h("button", { type: "button", class: clearButton(), onClick: event => this.handleClear(event) }, h("i", { class: "far fa-times" }))), h("slot", { name: "suffix" }, _suffix && _suffix.length > 0 && h("span", { innerHTML: _suffix })), type === "number" && (h("div", { class: controls() }, h("button", { type: "button", onClick: () => this.onBcmFocus(), class: cs(controlsBtn(), controlsBtnUp()) }, h("i", { class: "fas fa-caret-up" })), h("div", { class: controlsDivider() }), h("button", { type: "button", onClick: () => this.onBcmFocus(), class: cs(controlsBtn(), controlsBtnDown()) }, h("i", { class: "fas fa-caret-down" })))))), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: this.customErrorMessage })));
129
+ }
130
+ static get is() { return "bcm-input-2"; }
131
+ static get originalStyleUrls() {
132
+ return {
133
+ "$": ["input.scss"]
134
+ };
135
+ }
136
+ static get styleUrls() {
137
+ return {
138
+ "$": ["input.css"]
139
+ };
140
+ }
141
+ static get properties() {
142
+ return {
143
+ "_id": {
144
+ "type": "string",
145
+ "mutable": false,
146
+ "complexType": {
147
+ "original": "string",
148
+ "resolved": "string",
149
+ "references": {}
150
+ },
151
+ "required": false,
152
+ "optional": false,
153
+ "docs": {
154
+ "tags": [],
155
+ "text": "Props *"
156
+ },
157
+ "attribute": "id",
158
+ "reflect": true,
159
+ "defaultValue": "Generate.UID()"
160
+ },
161
+ "_internal_id": {
162
+ "type": "string",
163
+ "mutable": false,
164
+ "complexType": {
165
+ "original": "string",
166
+ "resolved": "string",
167
+ "references": {}
168
+ },
169
+ "required": false,
170
+ "optional": false,
171
+ "docs": {
172
+ "tags": [],
173
+ "text": ""
174
+ },
175
+ "attribute": "_internal_id",
176
+ "reflect": false,
177
+ "defaultValue": "Generate.UID()"
178
+ },
179
+ "value": {
180
+ "type": "any",
181
+ "mutable": false,
182
+ "complexType": {
183
+ "original": "any",
184
+ "resolved": "any",
185
+ "references": {}
186
+ },
187
+ "required": false,
188
+ "optional": false,
189
+ "docs": {
190
+ "tags": [],
191
+ "text": ""
192
+ },
193
+ "attribute": "value",
194
+ "reflect": false,
195
+ "defaultValue": "\"\""
196
+ },
197
+ "size": {
198
+ "type": "string",
199
+ "mutable": false,
200
+ "complexType": {
201
+ "original": "SizeTypes",
202
+ "resolved": "\"large\" | \"medium\" | \"small\"",
203
+ "references": {
204
+ "SizeTypes": {
205
+ "location": "import",
206
+ "path": "../../../models/bcm-types"
207
+ }
208
+ }
209
+ },
210
+ "required": false,
211
+ "optional": false,
212
+ "docs": {
213
+ "tags": [],
214
+ "text": ""
215
+ },
216
+ "attribute": "size",
217
+ "reflect": false,
218
+ "defaultValue": "Bcm.Size.medium"
219
+ },
220
+ "label": {
221
+ "type": "string",
222
+ "mutable": false,
223
+ "complexType": {
224
+ "original": "string",
225
+ "resolved": "string",
226
+ "references": {}
227
+ },
228
+ "required": false,
229
+ "optional": false,
230
+ "docs": {
231
+ "tags": [],
232
+ "text": ""
233
+ },
234
+ "attribute": "label",
235
+ "reflect": false
236
+ },
237
+ "pattern": {
238
+ "type": "string",
239
+ "mutable": false,
240
+ "complexType": {
241
+ "original": "string",
242
+ "resolved": "string",
243
+ "references": {}
244
+ },
245
+ "required": false,
246
+ "optional": false,
247
+ "docs": {
248
+ "tags": [],
249
+ "text": ""
250
+ },
251
+ "attribute": "pattern",
252
+ "reflect": false
253
+ },
254
+ "tooltip": {
255
+ "type": "string",
256
+ "mutable": false,
257
+ "complexType": {
258
+ "original": "string",
259
+ "resolved": "string",
260
+ "references": {}
261
+ },
262
+ "required": false,
263
+ "optional": false,
264
+ "docs": {
265
+ "tags": [],
266
+ "text": ""
267
+ },
268
+ "attribute": "tooltip",
269
+ "reflect": false
270
+ },
271
+ "placeholder": {
272
+ "type": "string",
273
+ "mutable": false,
274
+ "complexType": {
275
+ "original": "string",
276
+ "resolved": "string",
277
+ "references": {}
278
+ },
279
+ "required": false,
280
+ "optional": false,
281
+ "docs": {
282
+ "tags": [],
283
+ "text": ""
284
+ },
285
+ "attribute": "placeholder",
286
+ "reflect": false
287
+ },
288
+ "disabled": {
289
+ "type": "boolean",
290
+ "mutable": false,
291
+ "complexType": {
292
+ "original": "boolean",
293
+ "resolved": "boolean",
294
+ "references": {}
295
+ },
296
+ "required": false,
297
+ "optional": false,
298
+ "docs": {
299
+ "tags": [],
300
+ "text": ""
301
+ },
302
+ "attribute": "disabled",
303
+ "reflect": false,
304
+ "defaultValue": "false"
305
+ },
306
+ "readonly": {
307
+ "type": "boolean",
308
+ "mutable": false,
309
+ "complexType": {
310
+ "original": "boolean",
311
+ "resolved": "boolean",
312
+ "references": {}
313
+ },
314
+ "required": false,
315
+ "optional": false,
316
+ "docs": {
317
+ "tags": [],
318
+ "text": ""
319
+ },
320
+ "attribute": "readonly",
321
+ "reflect": false,
322
+ "defaultValue": "false"
323
+ },
324
+ "clearable": {
325
+ "type": "boolean",
326
+ "mutable": false,
327
+ "complexType": {
328
+ "original": "boolean",
329
+ "resolved": "boolean",
330
+ "references": {}
331
+ },
332
+ "required": false,
333
+ "optional": false,
334
+ "docs": {
335
+ "tags": [],
336
+ "text": ""
337
+ },
338
+ "attribute": "clearable",
339
+ "reflect": false,
340
+ "defaultValue": "false"
341
+ },
342
+ "autocomplete": {
343
+ "type": "boolean",
344
+ "mutable": false,
345
+ "complexType": {
346
+ "original": "boolean",
347
+ "resolved": "boolean",
348
+ "references": {}
349
+ },
350
+ "required": false,
351
+ "optional": false,
352
+ "docs": {
353
+ "tags": [],
354
+ "text": ""
355
+ },
356
+ "attribute": "autocomplete",
357
+ "reflect": false,
358
+ "defaultValue": "false"
359
+ },
360
+ "name": {
361
+ "type": "string",
362
+ "mutable": false,
363
+ "complexType": {
364
+ "original": "string",
365
+ "resolved": "string",
366
+ "references": {}
367
+ },
368
+ "required": false,
369
+ "optional": false,
370
+ "docs": {
371
+ "tags": [],
372
+ "text": ""
373
+ },
374
+ "attribute": "name",
375
+ "reflect": false
376
+ },
377
+ "type": {
378
+ "type": "string",
379
+ "mutable": false,
380
+ "complexType": {
381
+ "original": "InputTypes",
382
+ "resolved": "\"color\" | \"email\" | \"hidden\" | \"number\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"url\"",
383
+ "references": {
384
+ "InputTypes": {
385
+ "location": "import",
386
+ "path": "../../../models/bcm-types"
387
+ }
388
+ }
389
+ },
390
+ "required": false,
391
+ "optional": false,
392
+ "docs": {
393
+ "tags": [],
394
+ "text": ""
395
+ },
396
+ "attribute": "type",
397
+ "reflect": false,
398
+ "defaultValue": "Bcm.InputType.text"
399
+ },
400
+ "hidden": {
401
+ "type": "boolean",
402
+ "mutable": false,
403
+ "complexType": {
404
+ "original": "boolean",
405
+ "resolved": "boolean",
406
+ "references": {}
407
+ },
408
+ "required": false,
409
+ "optional": false,
410
+ "docs": {
411
+ "tags": [],
412
+ "text": ""
413
+ },
414
+ "attribute": "hidden",
415
+ "reflect": false,
416
+ "defaultValue": "false"
417
+ },
418
+ "required": {
419
+ "type": "boolean",
420
+ "mutable": false,
421
+ "complexType": {
422
+ "original": "boolean",
423
+ "resolved": "boolean",
424
+ "references": {}
425
+ },
426
+ "required": false,
427
+ "optional": false,
428
+ "docs": {
429
+ "tags": [],
430
+ "text": ""
431
+ },
432
+ "attribute": "required",
433
+ "reflect": false,
434
+ "defaultValue": "false"
435
+ },
436
+ "fullWidth": {
437
+ "type": "boolean",
438
+ "mutable": false,
439
+ "complexType": {
440
+ "original": "boolean",
441
+ "resolved": "boolean",
442
+ "references": {}
443
+ },
444
+ "required": false,
445
+ "optional": false,
446
+ "docs": {
447
+ "tags": [],
448
+ "text": ""
449
+ },
450
+ "attribute": "full-width",
451
+ "reflect": false,
452
+ "defaultValue": "false"
453
+ },
454
+ "noDefaultIcon": {
455
+ "type": "boolean",
456
+ "mutable": false,
457
+ "complexType": {
458
+ "original": "boolean",
459
+ "resolved": "boolean",
460
+ "references": {}
461
+ },
462
+ "required": false,
463
+ "optional": false,
464
+ "docs": {
465
+ "tags": [],
466
+ "text": ""
467
+ },
468
+ "attribute": "no-default-icon",
469
+ "reflect": false
470
+ },
471
+ "disableWatchValue": {
472
+ "type": "boolean",
473
+ "mutable": false,
474
+ "complexType": {
475
+ "original": "boolean",
476
+ "resolved": "boolean",
477
+ "references": {}
478
+ },
479
+ "required": false,
480
+ "optional": false,
481
+ "docs": {
482
+ "tags": [],
483
+ "text": ""
484
+ },
485
+ "attribute": "disable-watch-value",
486
+ "reflect": false,
487
+ "defaultValue": "false"
488
+ },
489
+ "passwordToggle": {
490
+ "type": "boolean",
491
+ "mutable": false,
492
+ "complexType": {
493
+ "original": "boolean",
494
+ "resolved": "boolean",
495
+ "references": {}
496
+ },
497
+ "required": false,
498
+ "optional": false,
499
+ "docs": {
500
+ "tags": [],
501
+ "text": ""
502
+ },
503
+ "attribute": "password-toggle",
504
+ "reflect": false,
505
+ "defaultValue": "false"
506
+ },
507
+ "maxLength": {
508
+ "type": "number",
509
+ "mutable": false,
510
+ "complexType": {
511
+ "original": "number",
512
+ "resolved": "number",
513
+ "references": {}
514
+ },
515
+ "required": false,
516
+ "optional": false,
517
+ "docs": {
518
+ "tags": [],
519
+ "text": ""
520
+ },
521
+ "attribute": "max-length",
522
+ "reflect": false,
523
+ "defaultValue": "null"
524
+ },
525
+ "minLength": {
526
+ "type": "number",
527
+ "mutable": false,
528
+ "complexType": {
529
+ "original": "number",
530
+ "resolved": "number",
531
+ "references": {}
532
+ },
533
+ "required": false,
534
+ "optional": false,
535
+ "docs": {
536
+ "tags": [],
537
+ "text": ""
538
+ },
539
+ "attribute": "min-length",
540
+ "reflect": false,
541
+ "defaultValue": "null"
542
+ },
543
+ "unitPrefix": {
544
+ "type": "string",
545
+ "mutable": false,
546
+ "complexType": {
547
+ "original": "string",
548
+ "resolved": "string",
549
+ "references": {}
550
+ },
551
+ "required": false,
552
+ "optional": false,
553
+ "docs": {
554
+ "tags": [],
555
+ "text": ""
556
+ },
557
+ "attribute": "unit-prefix",
558
+ "reflect": false,
559
+ "defaultValue": "null"
560
+ },
561
+ "unit": {
562
+ "type": "string",
563
+ "mutable": false,
564
+ "complexType": {
565
+ "original": "string",
566
+ "resolved": "string",
567
+ "references": {}
568
+ },
569
+ "required": false,
570
+ "optional": false,
571
+ "docs": {
572
+ "tags": [],
573
+ "text": ""
574
+ },
575
+ "attribute": "unit",
576
+ "reflect": false
577
+ },
578
+ "decimal": {
579
+ "type": "boolean",
580
+ "mutable": false,
581
+ "complexType": {
582
+ "original": "boolean",
583
+ "resolved": "boolean",
584
+ "references": {}
585
+ },
586
+ "required": false,
587
+ "optional": false,
588
+ "docs": {
589
+ "tags": [],
590
+ "text": ""
591
+ },
592
+ "attribute": "decimal",
593
+ "reflect": false,
594
+ "defaultValue": "true"
595
+ },
596
+ "min": {
597
+ "type": "number",
598
+ "mutable": false,
599
+ "complexType": {
600
+ "original": "number",
601
+ "resolved": "number",
602
+ "references": {}
603
+ },
604
+ "required": false,
605
+ "optional": false,
606
+ "docs": {
607
+ "tags": [],
608
+ "text": ""
609
+ },
610
+ "attribute": "min",
611
+ "reflect": false
612
+ },
613
+ "max": {
614
+ "type": "number",
615
+ "mutable": false,
616
+ "complexType": {
617
+ "original": "number",
618
+ "resolved": "number",
619
+ "references": {}
620
+ },
621
+ "required": false,
622
+ "optional": false,
623
+ "docs": {
624
+ "tags": [],
625
+ "text": ""
626
+ },
627
+ "attribute": "max",
628
+ "reflect": false
629
+ },
630
+ "step": {
631
+ "type": "any",
632
+ "mutable": false,
633
+ "complexType": {
634
+ "original": "any",
635
+ "resolved": "any",
636
+ "references": {}
637
+ },
638
+ "required": false,
639
+ "optional": false,
640
+ "docs": {
641
+ "tags": [],
642
+ "text": ""
643
+ },
644
+ "attribute": "step",
645
+ "reflect": false
646
+ },
647
+ "caption": {
648
+ "type": "string",
649
+ "mutable": false,
650
+ "complexType": {
651
+ "original": "string",
652
+ "resolved": "string",
653
+ "references": {}
654
+ },
655
+ "required": false,
656
+ "optional": false,
657
+ "docs": {
658
+ "tags": [],
659
+ "text": ""
660
+ },
661
+ "attribute": "caption",
662
+ "reflect": false
663
+ },
664
+ "noCaption": {
665
+ "type": "boolean",
666
+ "mutable": false,
667
+ "complexType": {
668
+ "original": "boolean",
669
+ "resolved": "boolean",
670
+ "references": {}
671
+ },
672
+ "required": false,
673
+ "optional": false,
674
+ "docs": {
675
+ "tags": [],
676
+ "text": ""
677
+ },
678
+ "attribute": "no-caption",
679
+ "reflect": false,
680
+ "defaultValue": "false"
681
+ },
682
+ "captionType": {
683
+ "type": "string",
684
+ "mutable": false,
685
+ "complexType": {
686
+ "original": "StatusTypes",
687
+ "resolved": "\"default\" | \"error\" | \"info\" | \"success\" | \"warning\"",
688
+ "references": {
689
+ "StatusTypes": {
690
+ "location": "import",
691
+ "path": "../../../models/bcm-types"
692
+ }
693
+ }
694
+ },
695
+ "required": false,
696
+ "optional": false,
697
+ "docs": {
698
+ "tags": [],
699
+ "text": ""
700
+ },
701
+ "attribute": "caption-type",
702
+ "reflect": false,
703
+ "defaultValue": "Bcm.Status.default"
704
+ },
705
+ "captionError": {
706
+ "type": "string",
707
+ "mutable": false,
708
+ "complexType": {
709
+ "original": "string",
710
+ "resolved": "string",
711
+ "references": {}
712
+ },
713
+ "required": false,
714
+ "optional": false,
715
+ "docs": {
716
+ "tags": [],
717
+ "text": ""
718
+ },
719
+ "attribute": "caption-error",
720
+ "reflect": false
721
+ },
722
+ "customErrorMessage": {
723
+ "type": "string",
724
+ "mutable": false,
725
+ "complexType": {
726
+ "original": "string",
727
+ "resolved": "string",
728
+ "references": {}
729
+ },
730
+ "required": false,
731
+ "optional": false,
732
+ "docs": {
733
+ "tags": [],
734
+ "text": ""
735
+ },
736
+ "attribute": "custom-error-message",
737
+ "reflect": false
738
+ },
739
+ "_prefix": {
740
+ "type": "string",
741
+ "mutable": false,
742
+ "complexType": {
743
+ "original": "string",
744
+ "resolved": "string",
745
+ "references": {}
746
+ },
747
+ "required": false,
748
+ "optional": false,
749
+ "docs": {
750
+ "tags": [],
751
+ "text": ""
752
+ },
753
+ "attribute": "prefix",
754
+ "reflect": false
755
+ },
756
+ "_suffix": {
757
+ "type": "string",
758
+ "mutable": false,
759
+ "complexType": {
760
+ "original": "string",
761
+ "resolved": "string",
762
+ "references": {}
763
+ },
764
+ "required": false,
765
+ "optional": false,
766
+ "docs": {
767
+ "tags": [],
768
+ "text": ""
769
+ },
770
+ "attribute": "suffix",
771
+ "reflect": false
772
+ }
773
+ };
774
+ }
775
+ static get states() {
776
+ return {
777
+ "captionCache": {},
778
+ "captionTypeCache": {},
779
+ "inValid": {},
780
+ "valueCache": {},
781
+ "focused": {},
782
+ "isPasswordVisible": {}
783
+ };
784
+ }
785
+ static get events() {
786
+ return [{
787
+ "method": "focus",
788
+ "name": "bcm-focus",
789
+ "bubbles": true,
790
+ "cancelable": true,
791
+ "composed": true,
792
+ "docs": {
793
+ "tags": [],
794
+ "text": "Events *"
795
+ },
796
+ "complexType": {
797
+ "original": "any",
798
+ "resolved": "any",
799
+ "references": {}
800
+ }
801
+ }, {
802
+ "method": "blur",
803
+ "name": "bcm-blur",
804
+ "bubbles": true,
805
+ "cancelable": true,
806
+ "composed": true,
807
+ "docs": {
808
+ "tags": [],
809
+ "text": ""
810
+ },
811
+ "complexType": {
812
+ "original": "any",
813
+ "resolved": "any",
814
+ "references": {}
815
+ }
816
+ }, {
817
+ "method": "clear",
818
+ "name": "bcm-clear",
819
+ "bubbles": true,
820
+ "cancelable": true,
821
+ "composed": true,
822
+ "docs": {
823
+ "tags": [],
824
+ "text": ""
825
+ },
826
+ "complexType": {
827
+ "original": "any",
828
+ "resolved": "any",
829
+ "references": {}
830
+ }
831
+ }, {
832
+ "method": "change",
833
+ "name": "bcm-change",
834
+ "bubbles": true,
835
+ "cancelable": true,
836
+ "composed": true,
837
+ "docs": {
838
+ "tags": [],
839
+ "text": ""
840
+ },
841
+ "complexType": {
842
+ "original": "any",
843
+ "resolved": "any",
844
+ "references": {}
845
+ }
846
+ }, {
847
+ "method": "input",
848
+ "name": "bcm-input",
849
+ "bubbles": true,
850
+ "cancelable": true,
851
+ "composed": true,
852
+ "docs": {
853
+ "tags": [],
854
+ "text": ""
855
+ },
856
+ "complexType": {
857
+ "original": "any",
858
+ "resolved": "any",
859
+ "references": {}
860
+ }
861
+ }];
862
+ }
863
+ static get methods() {
864
+ return {
865
+ "onBcmFocus": {
866
+ "complexType": {
867
+ "signature": "() => Promise<void>",
868
+ "parameters": [],
869
+ "references": {
870
+ "Promise": {
871
+ "location": "global"
872
+ }
873
+ },
874
+ "return": "Promise<void>"
875
+ },
876
+ "docs": {
877
+ "text": "",
878
+ "tags": []
879
+ }
880
+ },
881
+ "onBcmBlur": {
882
+ "complexType": {
883
+ "signature": "() => Promise<void>",
884
+ "parameters": [],
885
+ "references": {
886
+ "Promise": {
887
+ "location": "global"
888
+ }
889
+ },
890
+ "return": "Promise<void>"
891
+ },
892
+ "docs": {
893
+ "text": "",
894
+ "tags": []
895
+ }
896
+ },
897
+ "onBcmSelect": {
898
+ "complexType": {
899
+ "signature": "() => Promise<void>",
900
+ "parameters": [],
901
+ "references": {
902
+ "Promise": {
903
+ "location": "global"
904
+ }
905
+ },
906
+ "return": "Promise<void>"
907
+ },
908
+ "docs": {
909
+ "text": "",
910
+ "tags": []
911
+ }
912
+ }
913
+ };
914
+ }
915
+ }
916
+ __decorate([
917
+ IsLoad()
918
+ ], BcmInput2.prototype, "inputElement", void 0);