@limetech/lime-elements 34.1.0-next.8 → 34.1.1-next.2
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.
- package/dist/cjs/{_arrayIncludesWith-d69e30af.js → _arrayIncludesWith-36a6fafb.js} +7 -6
- package/dist/cjs/{_assignValue-493aac17.js → _assignValue-c9fc3712.js} +2 -2
- package/dist/cjs/{_defineProperty-c081d04c.js → _defineProperty-8351e789.js} +4 -3
- package/dist/cjs/{checkbox.template-d4423721.js → checkbox.template-312308d8.js} +9 -1
- package/dist/cjs/eq-9a943b00.js +75 -0
- package/dist/cjs/{isArrayLike-2bebb99c.js → isArrayLike-ac53bdac.js} +1 -30
- package/dist/cjs/{isEqual-1ce0c121.js → isEqual-e3b9c27c.js} +21 -19
- package/dist/cjs/{eq-3b43a5ca.js → isObject-e28b7997.js} +0 -71
- package/dist/cjs/isObjectLike-3e3f0cba.js +31 -0
- package/dist/cjs/{isSymbol-4666002c.js → isSymbol-d22b2798.js} +3 -3
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/limel-chip-set.cjs.entry.js +50 -28
- package/dist/cjs/limel-code-editor.cjs.entry.js +1 -1
- package/dist/cjs/limel-color-picker-palette_2.cjs.entry.js +188 -0
- package/dist/cjs/limel-color-picker.cjs.entry.js +51 -0
- package/dist/cjs/limel-file.cjs.entry.js +1 -1
- package/dist/cjs/{limel-flatpickr-adapter_2.cjs.entry.js → limel-flatpickr-adapter.cjs.entry.js} +8 -801
- package/dist/cjs/limel-form.cjs.entry.js +62 -27
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-input-field.cjs.entry.js +713 -0
- package/dist/cjs/{limel-list_2.cjs.entry.js → limel-list_3.cjs.entry.js} +1948 -2
- package/dist/cjs/limel-menu-list.cjs.entry.js +1 -1
- package/dist/cjs/limel-menu.cjs.entry.js +5 -4
- package/dist/cjs/limel-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-slider.cjs.entry.js +69 -13
- package/dist/cjs/limel-tab-bar.cjs.entry.js +7 -5
- package/dist/cjs/limel-table.cjs.entry.js +9 -7
- package/dist/cjs/{limel-tooltip.cjs.entry.js → limel-tooltip_2.cjs.entry.js} +16 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{pickBy-64252559.js → pickBy-88b0430a.js} +10 -10
- package/dist/cjs/toNumber-062ea29c.js +99 -0
- package/dist/cjs/{zipObject-2f430e94.js → zipObject-4050a45f.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/checkbox/checkbox.css +96 -0
- package/dist/collection/components/checkbox/checkbox.js +19 -1
- package/dist/collection/components/checkbox/checkbox.template.js +9 -1
- package/dist/collection/components/chip-set/chip-set.css +22 -0
- package/dist/collection/components/chip-set/chip-set.js +75 -35
- package/dist/collection/components/code-editor/code-editor.css +7 -0
- package/dist/collection/components/color-picker/color-picker-palette.css +1239 -0
- package/dist/collection/components/color-picker/color-picker-palette.js +135 -0
- package/dist/collection/components/color-picker/color-picker.css +108 -0
- package/dist/collection/components/color-picker/color-picker.js +189 -0
- package/dist/collection/components/color-picker/swatches.js +29 -0
- package/dist/collection/components/file/file.js +1 -1
- package/dist/collection/components/form/adapters/widget-adapter.js +4 -1
- package/dist/collection/components/form/fields/schema-field.js +3 -1
- package/dist/collection/components/form/form.js +50 -0
- package/dist/collection/components/form/templates/array-field-collapsible-item.js +8 -8
- package/dist/collection/components/form/templates/common.js +1 -1
- package/dist/collection/components/form/widgets/select.js +3 -4
- package/dist/collection/components/grid/grid.css +1 -1
- package/dist/collection/components/input-field/input-field.css +13 -0
- package/dist/collection/components/list/list-renderer.js +17 -0
- package/dist/collection/components/list/list.css +421 -2
- package/dist/collection/components/list/list.js +1 -0
- package/dist/collection/components/menu-list/menu-list.css +1408 -60
- package/dist/collection/components/picker/picker.js +18 -1
- package/dist/collection/components/slider/slider.js +69 -13
- package/dist/esm/{_arrayIncludesWith-3f5ce249.js → _arrayIncludesWith-b5d3fd9e.js} +5 -4
- package/dist/esm/{_assignValue-94fb6adc.js → _assignValue-08fe10bc.js} +2 -2
- package/dist/esm/{_defineProperty-cbf98a2a.js → _defineProperty-8c869077.js} +2 -1
- package/dist/esm/{checkbox.template-dbdd27c8.js → checkbox.template-4be69ce6.js} +9 -1
- package/dist/esm/eq-c1c7f528.js +72 -0
- package/dist/esm/{isArrayLike-14db8f02.js → isArrayLike-dd37ba9a.js} +2 -30
- package/dist/esm/{isEqual-4d982635.js → isEqual-4f22635f.js} +5 -3
- package/dist/esm/{eq-f40dd1d6.js → isObject-c74e273c.js} +1 -70
- package/dist/esm/isObjectLike-38996507.js +29 -0
- package/dist/esm/{isSymbol-84252d8e.js → isSymbol-5bf20921.js} +2 -2
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-checkbox.entry.js +3 -3
- package/dist/esm/limel-chip-set.entry.js +50 -28
- package/dist/esm/limel-code-editor.entry.js +1 -1
- package/dist/esm/limel-color-picker-palette_2.entry.js +183 -0
- package/dist/esm/limel-color-picker.entry.js +47 -0
- package/dist/esm/limel-file.entry.js +1 -1
- package/dist/esm/{limel-flatpickr-adapter_2.entry.js → limel-flatpickr-adapter.entry.js} +8 -800
- package/dist/esm/limel-form.entry.js +58 -23
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-input-field.entry.js +709 -0
- package/dist/esm/{limel-list_2.entry.js → limel-list_3.entry.js} +1948 -3
- package/dist/esm/limel-menu-list.entry.js +1 -1
- package/dist/esm/limel-menu.entry.js +5 -4
- package/dist/esm/limel-picker.entry.js +1 -1
- package/dist/esm/limel-slider.entry.js +69 -13
- package/dist/esm/limel-tab-bar.entry.js +7 -5
- package/dist/esm/limel-table.entry.js +9 -7
- package/dist/esm/{limel-tooltip.entry.js → limel-tooltip_2.entry.js} +16 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{pickBy-c485c1b5.js → pickBy-8a849e46.js} +5 -5
- package/dist/esm/toNumber-a6ed64f0.js +97 -0
- package/dist/esm/{zipObject-53fcafb3.js → zipObject-22e88ce9.js} +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-090bc949.js +1 -0
- package/dist/lime-elements/p-0c121e2f.js +1 -0
- package/dist/lime-elements/{p-c6b97214.entry.js → p-0ce9165f.entry.js} +1 -1
- package/dist/lime-elements/p-13f0e4f4.entry.js +1 -0
- package/dist/lime-elements/p-1876a96a.entry.js +1 -0
- package/dist/lime-elements/{p-425a0596.js → p-1a64b531.js} +1 -1
- package/dist/lime-elements/p-365098fe.js +1 -0
- package/dist/lime-elements/p-379955f4.js +1 -0
- package/dist/lime-elements/p-426d11b4.js +1 -0
- package/dist/lime-elements/p-440084ea.js +1 -0
- package/dist/lime-elements/p-468e940e.entry.js +16 -0
- package/dist/lime-elements/p-46af5a60.entry.js +82 -0
- package/dist/lime-elements/p-4bc5d3fc.entry.js +1 -0
- package/dist/lime-elements/p-511d71e0.entry.js +1 -0
- package/dist/lime-elements/p-5170a62c.entry.js +1 -0
- package/dist/lime-elements/p-5a9ecd77.entry.js +73 -0
- package/dist/lime-elements/p-6003f817.entry.js +1 -0
- package/dist/lime-elements/p-7f43b0c4.js +1 -0
- package/dist/lime-elements/p-858c6b82.js +1 -0
- package/dist/lime-elements/p-8a2c1038.entry.js +16 -0
- package/dist/lime-elements/{p-a1153d2a.entry.js → p-8ad5e143.entry.js} +1 -1
- package/dist/lime-elements/{p-b386bfeb.entry.js → p-a2cf74c1.entry.js} +1 -1
- package/dist/lime-elements/p-a77cbb08.entry.js +1 -0
- package/dist/lime-elements/p-c93050d6.js +1 -0
- package/dist/lime-elements/p-d48ad9f7.entry.js +126 -0
- package/dist/lime-elements/p-d529bb7d.js +1 -0
- package/dist/lime-elements/{p-fc691234.entry.js → p-d93a3b07.entry.js} +2 -2
- package/dist/lime-elements/p-eda23c05.js +1 -0
- package/dist/lime-elements/{p-ff0217b3.entry.js → p-f2c706b8.entry.js} +1 -1
- package/dist/lime-elements/p-f83213b8.js +1 -0
- package/dist/lime-elements/{p-23d59a30.entry.js → p-fbe6100e.entry.js} +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +5 -0
- package/dist/types/components/checkbox/checkbox.template.d.ts +1 -0
- package/dist/types/components/chip-set/chip-set.d.ts +12 -0
- package/dist/types/components/color-picker/color-picker-palette.d.ts +32 -0
- package/dist/types/components/color-picker/color-picker.d.ts +54 -0
- package/dist/types/components/color-picker/swatches.d.ts +4 -0
- package/dist/types/components/form/form.d.ts +7 -1
- package/dist/types/components/list/list-item.types.d.ts +14 -0
- package/dist/types/components/list/list-renderer.d.ts +2 -0
- package/dist/types/components/list/list.d.ts +1 -0
- package/dist/types/components/picker/picker.d.ts +4 -0
- package/dist/types/components/slider/slider.d.ts +8 -0
- package/dist/types/components.d.ts +147 -1
- package/package.json +1 -1
- package/dist/cjs/limel-popover.cjs.entry.js +0 -116
- package/dist/cjs/limel-portal.cjs.entry.js +0 -1935
- package/dist/cjs/limel-tooltip-content.cjs.entry.js +0 -22
- package/dist/esm/limel-popover.entry.js +0 -112
- package/dist/esm/limel-portal.entry.js +0 -1931
- package/dist/esm/limel-tooltip-content.entry.js +0 -18
- package/dist/lime-elements/p-1cf833c8.entry.js +0 -16
- package/dist/lime-elements/p-227d2c5a.entry.js +0 -1
- package/dist/lime-elements/p-3ce2d46a.js +0 -1
- package/dist/lime-elements/p-77afe6dd.entry.js +0 -1
- package/dist/lime-elements/p-7c4d91f5.js +0 -1
- package/dist/lime-elements/p-845e645a.entry.js +0 -1
- package/dist/lime-elements/p-89b5a983.js +0 -1
- package/dist/lime-elements/p-8bbe3720.js +0 -1
- package/dist/lime-elements/p-8d8bd2ab.entry.js +0 -73
- package/dist/lime-elements/p-8e4ff107.js +0 -1
- package/dist/lime-elements/p-acfbf7ac.js +0 -1
- package/dist/lime-elements/p-b5d6abc3.entry.js +0 -126
- package/dist/lime-elements/p-bbc1bb01.entry.js +0 -1
- package/dist/lime-elements/p-c0765c9b.js +0 -1
- package/dist/lime-elements/p-df55ee67.entry.js +0 -82
- package/dist/lime-elements/p-e28a4246.entry.js +0 -1
- package/dist/lime-elements/p-ee7355e7.js +0 -1
- package/dist/lime-elements/p-f4495f59.entry.js +0 -1
- package/dist/lime-elements/p-facf936d.entry.js +0 -1
- package/dist/lime-elements/p-fbe32287.entry.js +0 -16
- package/dist/lime-elements/p-fc610f15.js +0 -1
package/dist/cjs/{limel-flatpickr-adapter_2.cjs.entry.js → limel-flatpickr-adapter.cjs.entry.js}
RENAMED
|
@@ -8,110 +8,12 @@ const _commonjsHelpers = require('./_commonjsHelpers-0c557e26.js');
|
|
|
8
8
|
const dateFormatter = require('./dateFormatter-26eac73a.js');
|
|
9
9
|
const moment = require('./moment-d287c0ed.js');
|
|
10
10
|
const device = require('./device-c5841113.js');
|
|
11
|
-
const eq = require('./eq-
|
|
12
|
-
const isArrayLike$1 = require('./isArrayLike-
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const component = require('./component-ed21410d.js');
|
|
18
|
-
require('./component-f532119f.js');
|
|
19
|
-
require('./component-2faaa141.js');
|
|
20
|
-
require('./ponyfill-98ca4766.js');
|
|
21
|
-
require('./component-10dbdd60.js');
|
|
22
|
-
|
|
23
|
-
/** Used to match a single whitespace character. */
|
|
24
|
-
var reWhitespace = /\s/;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
|
|
28
|
-
* character of `string`.
|
|
29
|
-
*
|
|
30
|
-
* @private
|
|
31
|
-
* @param {string} string The string to inspect.
|
|
32
|
-
* @returns {number} Returns the index of the last non-whitespace character.
|
|
33
|
-
*/
|
|
34
|
-
function trimmedEndIndex(string) {
|
|
35
|
-
var index = string.length;
|
|
36
|
-
|
|
37
|
-
while (index-- && reWhitespace.test(string.charAt(index))) {}
|
|
38
|
-
return index;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/** Used to match leading whitespace. */
|
|
42
|
-
var reTrimStart = /^\s+/;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* The base implementation of `_.trim`.
|
|
46
|
-
*
|
|
47
|
-
* @private
|
|
48
|
-
* @param {string} string The string to trim.
|
|
49
|
-
* @returns {string} Returns the trimmed string.
|
|
50
|
-
*/
|
|
51
|
-
function baseTrim(string) {
|
|
52
|
-
return string
|
|
53
|
-
? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
|
|
54
|
-
: string;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/** Used as references for various `Number` constants. */
|
|
58
|
-
var NAN = 0 / 0;
|
|
59
|
-
|
|
60
|
-
/** Used to detect bad signed hexadecimal string values. */
|
|
61
|
-
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
62
|
-
|
|
63
|
-
/** Used to detect binary string values. */
|
|
64
|
-
var reIsBinary = /^0b[01]+$/i;
|
|
65
|
-
|
|
66
|
-
/** Used to detect octal string values. */
|
|
67
|
-
var reIsOctal = /^0o[0-7]+$/i;
|
|
68
|
-
|
|
69
|
-
/** Built-in method references without a dependency on `root`. */
|
|
70
|
-
var freeParseInt = parseInt;
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Converts `value` to a number.
|
|
74
|
-
*
|
|
75
|
-
* @static
|
|
76
|
-
* @memberOf _
|
|
77
|
-
* @since 4.0.0
|
|
78
|
-
* @category Lang
|
|
79
|
-
* @param {*} value The value to process.
|
|
80
|
-
* @returns {number} Returns the number.
|
|
81
|
-
* @example
|
|
82
|
-
*
|
|
83
|
-
* _.toNumber(3.2);
|
|
84
|
-
* // => 3.2
|
|
85
|
-
*
|
|
86
|
-
* _.toNumber(Number.MIN_VALUE);
|
|
87
|
-
* // => 5e-324
|
|
88
|
-
*
|
|
89
|
-
* _.toNumber(Infinity);
|
|
90
|
-
* // => Infinity
|
|
91
|
-
*
|
|
92
|
-
* _.toNumber('3.2');
|
|
93
|
-
* // => 3.2
|
|
94
|
-
*/
|
|
95
|
-
function toNumber(value) {
|
|
96
|
-
if (typeof value == 'number') {
|
|
97
|
-
return value;
|
|
98
|
-
}
|
|
99
|
-
if (isSymbol.isSymbol(value)) {
|
|
100
|
-
return NAN;
|
|
101
|
-
}
|
|
102
|
-
if (eq.isObject(value)) {
|
|
103
|
-
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
104
|
-
value = eq.isObject(other) ? (other + '') : other;
|
|
105
|
-
}
|
|
106
|
-
if (typeof value != 'string') {
|
|
107
|
-
return value === 0 ? value : +value;
|
|
108
|
-
}
|
|
109
|
-
value = baseTrim(value);
|
|
110
|
-
var isBinary = reIsBinary.test(value);
|
|
111
|
-
return (isBinary || reIsOctal.test(value))
|
|
112
|
-
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
113
|
-
: (reIsBadHex.test(value) ? NAN : +value);
|
|
114
|
-
}
|
|
11
|
+
const eq = require('./eq-9a943b00.js');
|
|
12
|
+
const isArrayLike$1 = require('./isArrayLike-ac53bdac.js');
|
|
13
|
+
const isObject$1 = require('./isObject-e28b7997.js');
|
|
14
|
+
const toNumber = require('./toNumber-062ea29c.js');
|
|
15
|
+
require('./isSymbol-d22b2798.js');
|
|
16
|
+
require('./isObjectLike-3e3f0cba.js');
|
|
115
17
|
|
|
116
18
|
/** Used as references for various `Number` constants. */
|
|
117
19
|
var INFINITY = 1 / 0,
|
|
@@ -144,7 +46,7 @@ function toFinite(value) {
|
|
|
144
46
|
if (!value) {
|
|
145
47
|
return value === 0 ? value : 0;
|
|
146
48
|
}
|
|
147
|
-
value = toNumber(value);
|
|
49
|
+
value = toNumber.toNumber(value);
|
|
148
50
|
if (value === INFINITY || value === -INFINITY) {
|
|
149
51
|
var sign = (value < 0 ? -1 : 1);
|
|
150
52
|
return sign * MAX_INTEGER;
|
|
@@ -163,7 +65,7 @@ function toFinite(value) {
|
|
|
163
65
|
* else `false`.
|
|
164
66
|
*/
|
|
165
67
|
function isIterateeCall(value, index, object) {
|
|
166
|
-
if (!
|
|
68
|
+
if (!isObject$1.isObject(object)) {
|
|
167
69
|
return false;
|
|
168
70
|
}
|
|
169
71
|
var type = typeof index;
|
|
@@ -176,212 +78,6 @@ function isIterateeCall(value, index, object) {
|
|
|
176
78
|
return false;
|
|
177
79
|
}
|
|
178
80
|
|
|
179
|
-
/**
|
|
180
|
-
* Gets the timestamp of the number of milliseconds that have elapsed since
|
|
181
|
-
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
|
182
|
-
*
|
|
183
|
-
* @static
|
|
184
|
-
* @memberOf _
|
|
185
|
-
* @since 2.4.0
|
|
186
|
-
* @category Date
|
|
187
|
-
* @returns {number} Returns the timestamp.
|
|
188
|
-
* @example
|
|
189
|
-
*
|
|
190
|
-
* _.defer(function(stamp) {
|
|
191
|
-
* console.log(_.now() - stamp);
|
|
192
|
-
* }, _.now());
|
|
193
|
-
* // => Logs the number of milliseconds it took for the deferred invocation.
|
|
194
|
-
*/
|
|
195
|
-
var now = function() {
|
|
196
|
-
return eq.root.Date.now();
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
/** Error message constants. */
|
|
200
|
-
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
201
|
-
|
|
202
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
203
|
-
var nativeMax$1 = Math.max,
|
|
204
|
-
nativeMin = Math.min;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Creates a debounced function that delays invoking `func` until after `wait`
|
|
208
|
-
* milliseconds have elapsed since the last time the debounced function was
|
|
209
|
-
* invoked. The debounced function comes with a `cancel` method to cancel
|
|
210
|
-
* delayed `func` invocations and a `flush` method to immediately invoke them.
|
|
211
|
-
* Provide `options` to indicate whether `func` should be invoked on the
|
|
212
|
-
* leading and/or trailing edge of the `wait` timeout. The `func` is invoked
|
|
213
|
-
* with the last arguments provided to the debounced function. Subsequent
|
|
214
|
-
* calls to the debounced function return the result of the last `func`
|
|
215
|
-
* invocation.
|
|
216
|
-
*
|
|
217
|
-
* **Note:** If `leading` and `trailing` options are `true`, `func` is
|
|
218
|
-
* invoked on the trailing edge of the timeout only if the debounced function
|
|
219
|
-
* is invoked more than once during the `wait` timeout.
|
|
220
|
-
*
|
|
221
|
-
* If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
|
|
222
|
-
* until to the next tick, similar to `setTimeout` with a timeout of `0`.
|
|
223
|
-
*
|
|
224
|
-
* See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
|
|
225
|
-
* for details over the differences between `_.debounce` and `_.throttle`.
|
|
226
|
-
*
|
|
227
|
-
* @static
|
|
228
|
-
* @memberOf _
|
|
229
|
-
* @since 0.1.0
|
|
230
|
-
* @category Function
|
|
231
|
-
* @param {Function} func The function to debounce.
|
|
232
|
-
* @param {number} [wait=0] The number of milliseconds to delay.
|
|
233
|
-
* @param {Object} [options={}] The options object.
|
|
234
|
-
* @param {boolean} [options.leading=false]
|
|
235
|
-
* Specify invoking on the leading edge of the timeout.
|
|
236
|
-
* @param {number} [options.maxWait]
|
|
237
|
-
* The maximum time `func` is allowed to be delayed before it's invoked.
|
|
238
|
-
* @param {boolean} [options.trailing=true]
|
|
239
|
-
* Specify invoking on the trailing edge of the timeout.
|
|
240
|
-
* @returns {Function} Returns the new debounced function.
|
|
241
|
-
* @example
|
|
242
|
-
*
|
|
243
|
-
* // Avoid costly calculations while the window size is in flux.
|
|
244
|
-
* jQuery(window).on('resize', _.debounce(calculateLayout, 150));
|
|
245
|
-
*
|
|
246
|
-
* // Invoke `sendMail` when clicked, debouncing subsequent calls.
|
|
247
|
-
* jQuery(element).on('click', _.debounce(sendMail, 300, {
|
|
248
|
-
* 'leading': true,
|
|
249
|
-
* 'trailing': false
|
|
250
|
-
* }));
|
|
251
|
-
*
|
|
252
|
-
* // Ensure `batchLog` is invoked once after 1 second of debounced calls.
|
|
253
|
-
* var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
|
|
254
|
-
* var source = new EventSource('/stream');
|
|
255
|
-
* jQuery(source).on('message', debounced);
|
|
256
|
-
*
|
|
257
|
-
* // Cancel the trailing debounced invocation.
|
|
258
|
-
* jQuery(window).on('popstate', debounced.cancel);
|
|
259
|
-
*/
|
|
260
|
-
function debounce$1(func, wait, options) {
|
|
261
|
-
var lastArgs,
|
|
262
|
-
lastThis,
|
|
263
|
-
maxWait,
|
|
264
|
-
result,
|
|
265
|
-
timerId,
|
|
266
|
-
lastCallTime,
|
|
267
|
-
lastInvokeTime = 0,
|
|
268
|
-
leading = false,
|
|
269
|
-
maxing = false,
|
|
270
|
-
trailing = true;
|
|
271
|
-
|
|
272
|
-
if (typeof func != 'function') {
|
|
273
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
|
274
|
-
}
|
|
275
|
-
wait = toNumber(wait) || 0;
|
|
276
|
-
if (eq.isObject(options)) {
|
|
277
|
-
leading = !!options.leading;
|
|
278
|
-
maxing = 'maxWait' in options;
|
|
279
|
-
maxWait = maxing ? nativeMax$1(toNumber(options.maxWait) || 0, wait) : maxWait;
|
|
280
|
-
trailing = 'trailing' in options ? !!options.trailing : trailing;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
function invokeFunc(time) {
|
|
284
|
-
var args = lastArgs,
|
|
285
|
-
thisArg = lastThis;
|
|
286
|
-
|
|
287
|
-
lastArgs = lastThis = undefined;
|
|
288
|
-
lastInvokeTime = time;
|
|
289
|
-
result = func.apply(thisArg, args);
|
|
290
|
-
return result;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
function leadingEdge(time) {
|
|
294
|
-
// Reset any `maxWait` timer.
|
|
295
|
-
lastInvokeTime = time;
|
|
296
|
-
// Start the timer for the trailing edge.
|
|
297
|
-
timerId = setTimeout(timerExpired, wait);
|
|
298
|
-
// Invoke the leading edge.
|
|
299
|
-
return leading ? invokeFunc(time) : result;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
function remainingWait(time) {
|
|
303
|
-
var timeSinceLastCall = time - lastCallTime,
|
|
304
|
-
timeSinceLastInvoke = time - lastInvokeTime,
|
|
305
|
-
timeWaiting = wait - timeSinceLastCall;
|
|
306
|
-
|
|
307
|
-
return maxing
|
|
308
|
-
? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
|
|
309
|
-
: timeWaiting;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
function shouldInvoke(time) {
|
|
313
|
-
var timeSinceLastCall = time - lastCallTime,
|
|
314
|
-
timeSinceLastInvoke = time - lastInvokeTime;
|
|
315
|
-
|
|
316
|
-
// Either this is the first call, activity has stopped and we're at the
|
|
317
|
-
// trailing edge, the system time has gone backwards and we're treating
|
|
318
|
-
// it as the trailing edge, or we've hit the `maxWait` limit.
|
|
319
|
-
return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
|
|
320
|
-
(timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
function timerExpired() {
|
|
324
|
-
var time = now();
|
|
325
|
-
if (shouldInvoke(time)) {
|
|
326
|
-
return trailingEdge(time);
|
|
327
|
-
}
|
|
328
|
-
// Restart the timer.
|
|
329
|
-
timerId = setTimeout(timerExpired, remainingWait(time));
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
function trailingEdge(time) {
|
|
333
|
-
timerId = undefined;
|
|
334
|
-
|
|
335
|
-
// Only invoke if we have `lastArgs` which means `func` has been
|
|
336
|
-
// debounced at least once.
|
|
337
|
-
if (trailing && lastArgs) {
|
|
338
|
-
return invokeFunc(time);
|
|
339
|
-
}
|
|
340
|
-
lastArgs = lastThis = undefined;
|
|
341
|
-
return result;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
function cancel() {
|
|
345
|
-
if (timerId !== undefined) {
|
|
346
|
-
clearTimeout(timerId);
|
|
347
|
-
}
|
|
348
|
-
lastInvokeTime = 0;
|
|
349
|
-
lastArgs = lastCallTime = lastThis = timerId = undefined;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
function flush() {
|
|
353
|
-
return timerId === undefined ? result : trailingEdge(now());
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
function debounced() {
|
|
357
|
-
var time = now(),
|
|
358
|
-
isInvoking = shouldInvoke(time);
|
|
359
|
-
|
|
360
|
-
lastArgs = arguments;
|
|
361
|
-
lastThis = this;
|
|
362
|
-
lastCallTime = time;
|
|
363
|
-
|
|
364
|
-
if (isInvoking) {
|
|
365
|
-
if (timerId === undefined) {
|
|
366
|
-
return leadingEdge(lastCallTime);
|
|
367
|
-
}
|
|
368
|
-
if (maxing) {
|
|
369
|
-
// Handle invocations in a tight loop.
|
|
370
|
-
clearTimeout(timerId);
|
|
371
|
-
timerId = setTimeout(timerExpired, wait);
|
|
372
|
-
return invokeFunc(lastCallTime);
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
if (timerId === undefined) {
|
|
376
|
-
timerId = setTimeout(timerExpired, wait);
|
|
377
|
-
}
|
|
378
|
-
return result;
|
|
379
|
-
}
|
|
380
|
-
debounced.cancel = cancel;
|
|
381
|
-
debounced.flush = flush;
|
|
382
|
-
return debounced;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
81
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
386
82
|
var nativeCeil = Math.ceil,
|
|
387
83
|
nativeMax = Math.max;
|
|
@@ -7543,493 +7239,4 @@ let DatePickerCalendar = class {
|
|
|
7543
7239
|
};
|
|
7544
7240
|
DatePickerCalendar.style = flatpickrAdapterCss;
|
|
7545
7241
|
|
|
7546
|
-
const inputFieldCss = ":host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n var(--lime-text-primary-on-background-color)\n )}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle1-font-size, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:\"*\"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}:host{position:relative;display:block}:host([hidden]){display:none}:host([type=textarea]){height:var(--textarea-height, 100%)}:host([type=textarea]) .mdc-text-field.mdc-text-field--textarea{height:var(--textarea-height, 100%)}:host([type=textarea]) .mdc-text-field.mdc-text-field--textarea .mdc-text-field__input{margin-top:0.5rem;margin-bottom:0}:host([type=textarea]) .mdc-text-field.mdc-text-field--textarea.has-helper-line{--heightOfHelperText:0.9375rem;height:calc( var(--textarea-height, 100%) - var(--heightOfHelperText) )}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-text-field--filled{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-text-field--filled .mdc-text-field__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-text-field--filled .mdc-text-field__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-text-field--filled.mdc-ripple-upgraded--unbounded .mdc-text-field__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-activation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-deactivation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-text-field__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity, transform, color}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:rgba(0, 0, 0, 0.87)}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.54)}}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.54)}}.mdc-text-field .mdc-text-field__input{caret-color:#26a69a;caret-color:var(--mdc-theme-primary, #26a69a)}.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing,.mdc-text-field:not(.mdc-text-field--disabled) a.lime-trailing-icon-for-link{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle1-font-size, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}.mdc-text-field__affix{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle1-font-size, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports (-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-text-field--filled:hover .mdc-text-field__ripple::before,.mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:\"\";vertical-align:0}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:whitesmoke}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42)}.mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-color:#26a69a;border-bottom-color:var(--mdc-theme-primary, #26a69a)}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports (-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:0.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.38)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#26a69a;border-color:var(--mdc-theme-primary, #26a69a)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports (top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports (top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports (top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports (top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports (top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports (top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports (top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports (top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports (top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports (top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-text-field__ripple::before,.mdc-text-field--outlined .mdc-text-field__ripple::after{content:none}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:transparent}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0;transition:none}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px;line-height:1.5rem}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:0.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:\"\";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:0.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(38, 166, 154, 0.87)}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid .mdc-text-field__input{caret-color:#b00020;caret-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing,.mdc-text-field--invalid:not(.mdc-text-field--disabled) a.lime-trailing-icon-for-link{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}.mdc-text-field--disabled .mdc-text-field__input{color:rgba(0, 0, 0, 0.38)}@media all{.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.38)}}@media all{.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.38)}}.mdc-text-field--disabled .mdc-floating-label{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__icon--trailing,.mdc-text-field--disabled a.lime-trailing-icon-for-link{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06)}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.06)}@media screen and (-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}}@media screen and (-ms-high-contrast: active){.mdc-text-field--disabled .mdc-floating-label{color:GrayText}}@media screen and (-ms-high-contrast: active){.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}}@media screen and (-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}}@media screen and (-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--leading{color:GrayText}}@media screen and (-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--trailing,.mdc-text-field--disabled a.lime-trailing-icon-for-link{color:GrayText}}@media screen and (-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:GrayText}}@media screen and (-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}}@media screen and (-ms-high-contrast: active){.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:GrayText}}@media screen and (-ms-high-contrast: active){.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled{background-color:#fafafa}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,[dir=rtl] .mdc-text-field--ltr-text a.lime-trailing-icon-for-link,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] a.lime-trailing-icon-for-link{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-text-field-helper-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.6875rem;font-size:var(--mdc-typography-caption-font-size, 0.6875rem);line-height:0.875rem;line-height:var(--mdc-typography-caption-line-height, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin:0;opacity:0;will-change:opacity;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-text-field-helper-text::before{display:inline-block;width:0;height:16px;content:\"\";vertical-align:0}.mdc-text-field-helper-text--persistent{transition:none;opacity:1;will-change:initial}.mdc-text-field-character-counter{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.6875rem;font-size:var(--mdc-typography-caption-font-size, 0.6875rem);line-height:0.875rem;line-height:var(--mdc-typography-caption-line-height, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin-left:auto;margin-right:0;padding-left:16px;padding-right:0;white-space:nowrap}.mdc-text-field-character-counter::before{display:inline-block;width:0;height:16px;content:\"\";vertical-align:0}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field__icon{align-self:center;cursor:pointer}.mdc-text-field__icon:not([tabindex]),.mdc-text-field__icon[tabindex=\"-1\"]{cursor:default;pointer-events:none}.mdc-text-field__icon svg{display:block}.mdc-text-field__icon--leading{margin-left:16px;margin-right:8px}[dir=rtl] .mdc-text-field__icon--leading,.mdc-text-field__icon--leading[dir=rtl]{margin-left:8px;margin-right:16px}.mdc-text-field__icon--trailing,a.lime-trailing-icon-for-link{padding:12px;margin-left:0px;margin-right:0px}[dir=rtl] .mdc-text-field__icon--trailing,[dir=rtl] a.lime-trailing-icon-for-link,.mdc-text-field__icon--trailing[dir=rtl],a[dir=rtl].lime-trailing-icon-for-link{margin-left:0px;margin-right:0px}.mdc-text-field__icon{align-self:center;cursor:pointer}.mdc-text-field__icon:not([tabindex]),.mdc-text-field__icon[tabindex=\"-1\"]{cursor:default;pointer-events:none}.mdc-text-field__icon svg{display:block}.mdc-text-field__icon--leading{margin-left:16px;margin-right:8px}[dir=rtl] .mdc-text-field__icon--leading,.mdc-text-field__icon--leading[dir=rtl]{margin-left:8px;margin-right:16px}.mdc-text-field__icon--trailing,a.lime-trailing-icon-for-link{padding:12px;margin-left:0px;margin-right:0px}[dir=rtl] .mdc-text-field__icon--trailing,[dir=rtl] a.lime-trailing-icon-for-link,.mdc-text-field__icon--trailing[dir=rtl],a[dir=rtl].lime-trailing-icon-for-link{margin-left:0px;margin-right:0px}.mdc-text-field.mdc-text-field--outlined{transition:background-color 0.2s ease;border-radius:0.25rem}.mdc-text-field.mdc-text-field--outlined .mdc-notched-outline__leading,.mdc-text-field.mdc-text-field--outlined .mdc-notched-outline__notch,.mdc-text-field.mdc-text-field--outlined .mdc-notched-outline__trailing{transition:border-color 0.2s ease}.mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--disabled){background-color:rgba(var(--contrast-200), 0.5)}.mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--disabled):hover{background-color:rgba(var(--contrast-200), 1)}.mdc-text-field.mdc-text-field--outlined.mdc-text-field--focused{background-color:rgba(var(--contrast-100), 0.8)}.mdc-text-field.mdc-text-field--outlined.mdc-text-field--disabled{background-color:transparent}.mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--invalid):not(.force-invalid) .mdc-notched-outline__leading,.mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--invalid):not(.force-invalid) .mdc-notched-outline__notch,.mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--invalid):not(.force-invalid) .mdc-notched-outline__trailing{border-color:rgba(var(--contrast-700), 0.65)}.mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--invalid):not(.force-invalid):not(.mdc-text-field--focused):not(.mdc-text-field--invalid):not(.force-invalid):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--invalid):not(.force-invalid):not(.mdc-text-field--focused):not(.mdc-text-field--invalid):not(.force-invalid):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--invalid):not(.force-invalid):not(.mdc-text-field--focused):not(.mdc-text-field--invalid):not(.force-invalid):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(var(--contrast-700), 1)}.mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--invalid):not(.force-invalid).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--invalid):not(.force-invalid).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--invalid):not(.force-invalid).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-primary)}.mdc-text-field .mdc-notched-outline__leading,.mdc-text-field .mdc-notched-outline__notch,.mdc-text-field .mdc-notched-outline__trailing,.mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:1px}.mdc-text-field.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field__icon{flex-shrink:0}.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly .mdc-text-field__input{background-color:transparent;color:rgba(var(--contrast-1400), 1)}.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly .lime-looks-like-input-value{color:rgba(var(--contrast-1400), 1);opacity:1}.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly .mdc-floating-label{color:rgba(var(--contrast-1200), 1)}.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly .mdc-notched-outline__leading,.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly .mdc-notched-outline__notch,.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly .mdc-notched-outline__trailing{border-color:transparent}.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--lime-error-text-color)}.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly.mdc-text-field--invalid .mdc-text-field__icon--trailing,.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly.mdc-text-field--invalid a.lime-trailing-icon-for-link{color:var(--lime-error-text-color)}.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly.mdc-text-field--with-trailing-icon input.mdc-text-field__input{pointer-events:none}.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly.mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing,.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly.mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link{width:calc(100% - 1rem);position:absolute;left:0;display:flex;justify-content:flex-end;align-items:center;pointer-events:auto;color:rgba(var(--contrast-1200), 1);border-radius:0.25rem}.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly.mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing limel-icon,.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly.mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link limel-icon{width:1.5rem;margin-right:0.5rem}.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly.mdc-text-field--with-trailing-icon:hover .mdc-text-field__icon--trailing:hover,.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly.mdc-text-field--with-trailing-icon:hover a.lime-trailing-icon-for-link:hover{box-shadow:var(--button-shadow-hovered)}.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly.mdc-text-field--with-trailing-icon:hover .mdc-text-field__icon--trailing:active,.mdc-text-field.mdc-text-field--disabled.lime-text-field--readonly.mdc-text-field--with-trailing-icon:hover a.lime-trailing-icon-for-link:active{box-shadow:var(--button-shadow-pressed)}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:0.875rem}.mdc-text-field--disabled{background-color:transparent}.mdc-text-field__icon{width:1.5rem;height:1.5rem}.mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing,.mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link{transition:background-color 0.2s ease, box-shadow 0.3s ease;border-radius:50%;padding:0.5rem}.mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:focus,.mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:focus{outline:none}.mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:focus-visible,.mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:focus-visible{box-shadow:0 0 0 0.125rem var(--mdc-theme-primary) !important}.mdc-text-field--with-trailing-icon:hover .mdc-text-field__icon--trailing,.mdc-text-field--with-trailing-icon:hover a.lime-trailing-icon-for-link{box-shadow:var(--button-shadow-normal);background-color:rgba(var(--contrast-100), 0.4)}.mdc-text-field--with-trailing-icon:hover .mdc-text-field__icon--trailing:hover,.mdc-text-field--with-trailing-icon:hover a.lime-trailing-icon-for-link:hover{background-color:rgb(var(--contrast-100));box-shadow:var(--button-shadow-hovered)}.mdc-text-field--with-trailing-icon:hover .mdc-text-field__icon--trailing:active,.mdc-text-field--with-trailing-icon:hover a.lime-trailing-icon-for-link:active{box-shadow:var(--button-shadow-pressed)}.mdc-text-field--with-trailing-icon.mdc-text-field--disabled:hover .mdc-text-field__icon--trailing,.mdc-text-field--with-trailing-icon.mdc-text-field--disabled:hover a.lime-trailing-icon-for-link,.mdc-text-field--with-trailing-icon.mdc-text-field--invalid:hover .mdc-text-field__icon--trailing,.mdc-text-field--with-trailing-icon.mdc-text-field--invalid:hover a.lime-trailing-icon-for-link{box-shadow:none;background-color:transparent}.mdc-text-field--with-trailing-icon.mdc-text-field--disabled:hover .mdc-text-field__icon--trailing:hover,.mdc-text-field--with-trailing-icon.mdc-text-field--disabled:hover a.lime-trailing-icon-for-link:hover,.mdc-text-field--with-trailing-icon.mdc-text-field--invalid:hover .mdc-text-field__icon--trailing:hover,.mdc-text-field--with-trailing-icon.mdc-text-field--invalid:hover a.lime-trailing-icon-for-link:hover{background-color:transparent;box-shadow:none}.mdc-text-field--with-trailing-icon.mdc-text-field--disabled:hover .mdc-text-field__icon--trailing:active,.mdc-text-field--with-trailing-icon.mdc-text-field--disabled:hover a.lime-trailing-icon-for-link:active,.mdc-text-field--with-trailing-icon.mdc-text-field--invalid:hover .mdc-text-field__icon--trailing:active,.mdc-text-field--with-trailing-icon.mdc-text-field--invalid:hover a.lime-trailing-icon-for-link:active{box-shadow:none}.mdc-text-field--with-trailing-icon.mdc-text-field--invalid i.mdc-text-field__icon.mdc-text-field__icon--trailing limel-icon{color:var(--lime-error-text-color)}.mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing,.mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link{margin-right:0.5rem}.mdc-text-field{width:100%}.lime-empty-value-for-readonly{width:calc(100% - 1.25rem);z-index:1}.lime-looks-like-input-value{font-family:Roboto, sans-serif;line-height:1.75rem;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:0.875rem;font-weight:400;letter-spacing:0.009375em}.mdc-text-field--disabled .lime-looks-like-input-value{cursor:not-allowed;pointer-events:none;opacity:0.4}.lime-formatted-input{width:calc(100% - 1.25rem);z-index:1;position:absolute;top:0.9rem;pointer-events:none;opacity:0}:not(.mdc-text-field--focused):not(.mdc-text-field--invalid) .lime-formatted-input{opacity:1}.lime-formatted-input+.mdc-text-field__input{z-index:2}:not(.mdc-text-field--focused):not(.mdc-text-field--invalid) .mdc-text-field__input[type=number]{color:transparent;-webkit-text-fill-color:transparent}.autocomplete-list-container{position:relative}.autocomplete-list{background-color:white;position:absolute;top:0;left:0;right:0;max-height:12.5rem;overflow-y:auto}.mdc-deprecated-list-item{cursor:pointer}input.mdc-text-field__input::-webkit-search-cancel-button{transition:background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;height:1.25rem;width:1.25rem;border-radius:50%;background-color:#babac0;background-repeat:no-repeat;background-position:center;background-size:0.75rem;background-image:url(\"data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><defs/><path fill='rgb(255,255,255)' d='M7.219 5.781L5.78 7.22 14.563 16 5.78 24.781 7.22 26.22 16 17.437l8.781 8.782 1.438-1.438L17.437 16l8.782-8.781L24.78 5.78 16 14.563z'/></svg>\");-webkit-appearance:none;position:absolute;right:0.5rem;top:0;bottom:0;margin:auto}input.mdc-text-field__input::-webkit-search-cancel-button:hover{box-shadow:var(--button-shadow-hovered)}input.mdc-text-field__input::-webkit-search-cancel-button:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}input.mdc-text-field__input::-webkit-search-cancel-button:hover{background-color:#757580}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(var(--contrast-1200), 1)}.mdc-text-field-character-counter{transition:opacity 0.2s ease;opacity:0}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-character-counter{opacity:1}.mdc-text-field-character-counter:before{height:0.75rem}.mdc-text-field-helper-text:before{height:0.75rem}:host([type=url]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing limel-icon,:host([type=url]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link limel-icon,:host([type=urlAsText]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing limel-icon,:host([type=urlAsText]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link limel-icon{color:rgb(var(--color-blue-default))}:host([type=url]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover,:host([type=url]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover,:host([type=urlAsText]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover,:host([type=urlAsText]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover{background-color:rgb(var(--color-blue-default))}:host([type=url]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover limel-icon,:host([type=url]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover limel-icon,:host([type=urlAsText]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover limel-icon,:host([type=urlAsText]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover limel-icon{color:rgb(var(--color-white))}:host([type=tel]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing limel-icon,:host([type=tel]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link limel-icon{color:rgb(var(--color-green-default))}:host([type=tel]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover,:host([type=tel]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover{background-color:rgb(var(--color-green-default))}:host([type=tel]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover limel-icon,:host([type=tel]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover limel-icon{color:rgb(var(--color-white))}:host([type=url]) .mdc-text-field.lime-text-field--readonly:hover .lime-looks-like-input-value,:host([type=url]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input,:host([type=urlAsText]) .mdc-text-field.lime-text-field--readonly:hover .lime-looks-like-input-value,:host([type=urlAsText]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input,:host([type=tel]) .mdc-text-field.lime-text-field--readonly:hover .lime-looks-like-input-value,:host([type=tel]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input{color:rgb(var(--color-white))}:host([type=url]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input,:host([type=urlAsText]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input,:host([type=tel]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input{z-index:1}";
|
|
7547
|
-
|
|
7548
|
-
const helperTextId = 'tf-helper-text';
|
|
7549
|
-
let InputField = class {
|
|
7550
|
-
constructor(hostRef) {
|
|
7551
|
-
index.registerInstance(this, hostRef);
|
|
7552
|
-
this.change = index.createEvent(this, "change", 7);
|
|
7553
|
-
this.action = index.createEvent(this, "action", 7);
|
|
7554
|
-
/**
|
|
7555
|
-
* Set to `true` to disable the field.
|
|
7556
|
-
* Use `disabled` to indicate that the field can normally be interacted
|
|
7557
|
-
* with, but is currently disabled. This tells the user that if certain
|
|
7558
|
-
* requirements are met, the field may become enabled again.
|
|
7559
|
-
*/
|
|
7560
|
-
this.disabled = false;
|
|
7561
|
-
/**
|
|
7562
|
-
* Set to `true` to make the field read-only.
|
|
7563
|
-
* Use `readonly` when the field is only there to present the data it holds,
|
|
7564
|
-
* and will not become possible for the current user to edit.
|
|
7565
|
-
*/
|
|
7566
|
-
this.readonly = false;
|
|
7567
|
-
/**
|
|
7568
|
-
* Set to `true` to indicate that the current value of the input field is
|
|
7569
|
-
* invalid.
|
|
7570
|
-
*/
|
|
7571
|
-
this.invalid = false;
|
|
7572
|
-
/**
|
|
7573
|
-
* Set to `true` to indicate that the field is required.
|
|
7574
|
-
*/
|
|
7575
|
-
this.required = false;
|
|
7576
|
-
/**
|
|
7577
|
-
* Type of input.
|
|
7578
|
-
*
|
|
7579
|
-
* Note** regarding type `url`: `limel-input` uses the native validation
|
|
7580
|
-
* built into the browser for many types of input fields. The native
|
|
7581
|
-
* validation for `url` is very strict, and does not allow relative urls,
|
|
7582
|
-
* nor any other formats that are not a "fully qualified" url. To allow
|
|
7583
|
-
* such urls, use the type `urlAsText` instead. `urlAsText` works exactly
|
|
7584
|
-
* like `text` in all regards, except that it enables use of the `showLink`
|
|
7585
|
-
* property.
|
|
7586
|
-
*/
|
|
7587
|
-
this.type = 'text';
|
|
7588
|
-
/**
|
|
7589
|
-
* Set to `true` to format the current value of the input field only
|
|
7590
|
-
* if the field is of type number.
|
|
7591
|
-
* The number format is determined by the current language of the browser.
|
|
7592
|
-
*/
|
|
7593
|
-
this.formatNumber = true;
|
|
7594
|
-
/**
|
|
7595
|
-
* Incremental values that are valid if the field type is `number`.
|
|
7596
|
-
*/
|
|
7597
|
-
this.step = 'any';
|
|
7598
|
-
/**
|
|
7599
|
-
* list of suggestions `value` can autocomplete to.
|
|
7600
|
-
*/
|
|
7601
|
-
this.completions = [];
|
|
7602
|
-
/**
|
|
7603
|
-
* For inputs of type `email`, `tel`, `url`, and `urlAsText`, set this to
|
|
7604
|
-
* `true` to show a trailing icon with a `mailto:`,`tel:`, or normal link,
|
|
7605
|
-
* respectively. The default icon can be overridden using the `trailingIcon`
|
|
7606
|
-
* property.
|
|
7607
|
-
*/
|
|
7608
|
-
this.showLink = false;
|
|
7609
|
-
this.isFocused = false;
|
|
7610
|
-
this.isModified = false;
|
|
7611
|
-
this.showCompletions = false;
|
|
7612
|
-
this.completionsList = [];
|
|
7613
|
-
this.initialize = () => {
|
|
7614
|
-
const element = this.limelInputField.shadowRoot.querySelector('.mdc-text-field');
|
|
7615
|
-
if (!element) {
|
|
7616
|
-
return;
|
|
7617
|
-
}
|
|
7618
|
-
this.mdcTextField = new component.MDCTextField(element);
|
|
7619
|
-
this.completionsList = [...this.completions].map((item) => {
|
|
7620
|
-
return { text: item };
|
|
7621
|
-
});
|
|
7622
|
-
window.addEventListener('resize', this.layout, { passive: true });
|
|
7623
|
-
this.limelInputField.addEventListener('focus', this.setFocus);
|
|
7624
|
-
};
|
|
7625
|
-
this.setFocus = () => {
|
|
7626
|
-
this.mdcTextField.focus();
|
|
7627
|
-
};
|
|
7628
|
-
this.getContainerClassList = () => {
|
|
7629
|
-
const classList = {
|
|
7630
|
-
'mdc-text-field': true,
|
|
7631
|
-
'mdc-text-field--outlined': true,
|
|
7632
|
-
'mdc-text-field--invalid': this.isInvalid(),
|
|
7633
|
-
'mdc-text-field--disabled': this.disabled || this.readonly,
|
|
7634
|
-
'lime-text-field--readonly': this.readonly,
|
|
7635
|
-
'mdc-text-field--required': this.required,
|
|
7636
|
-
'mdc-text-field--with-trailing-icon': !!this.getTrailingIcon(),
|
|
7637
|
-
};
|
|
7638
|
-
if (this.type === 'textarea') {
|
|
7639
|
-
classList['mdc-text-field--textarea'] = true;
|
|
7640
|
-
classList['has-helper-line'] =
|
|
7641
|
-
!!this.helperText || !!this.maxlength;
|
|
7642
|
-
}
|
|
7643
|
-
else {
|
|
7644
|
-
classList['mdc-text-field--with-leading-icon'] = !!this.leadingIcon;
|
|
7645
|
-
}
|
|
7646
|
-
return classList;
|
|
7647
|
-
};
|
|
7648
|
-
this.renderInput = (properties) => {
|
|
7649
|
-
if (this.type === 'textarea') {
|
|
7650
|
-
return;
|
|
7651
|
-
}
|
|
7652
|
-
const type = this.type === 'urlAsText' ? 'text' : this.type;
|
|
7653
|
-
return (index.h("input", Object.assign({}, properties, { type: type, pattern: this.pattern, onWheel: this.handleWheel, onKeyDown: this.onKeyDown, value: this.value })));
|
|
7654
|
-
};
|
|
7655
|
-
this.renderTextarea = (properties) => {
|
|
7656
|
-
if (this.type !== 'textarea') {
|
|
7657
|
-
return;
|
|
7658
|
-
}
|
|
7659
|
-
return (index.h("span", { class: "mdc-text-field__resizer" }, index.h("textarea", Object.assign({}, properties), this.value)));
|
|
7660
|
-
};
|
|
7661
|
-
this.layout = () => {
|
|
7662
|
-
var _a;
|
|
7663
|
-
(_a = this.mdcTextField) === null || _a === void 0 ? void 0 : _a.layout();
|
|
7664
|
-
};
|
|
7665
|
-
this.getAdditionalProps = () => {
|
|
7666
|
-
const props = {};
|
|
7667
|
-
if (this.type === 'number') {
|
|
7668
|
-
props.step = this.step;
|
|
7669
|
-
}
|
|
7670
|
-
if (this.type === 'number' && Number.isInteger(this.min)) {
|
|
7671
|
-
props.min = this.min;
|
|
7672
|
-
}
|
|
7673
|
-
if (this.type === 'number' && Number.isInteger(this.max)) {
|
|
7674
|
-
props.max = this.max;
|
|
7675
|
-
}
|
|
7676
|
-
if (this.minlength) {
|
|
7677
|
-
props.minlength = this.minlength;
|
|
7678
|
-
}
|
|
7679
|
-
if (this.maxlength) {
|
|
7680
|
-
props.maxlength = this.maxlength;
|
|
7681
|
-
}
|
|
7682
|
-
return props;
|
|
7683
|
-
};
|
|
7684
|
-
this.onFocus = () => {
|
|
7685
|
-
this.isFocused = true;
|
|
7686
|
-
this.showCompletions = true;
|
|
7687
|
-
};
|
|
7688
|
-
this.onBlur = () => {
|
|
7689
|
-
this.isFocused = false;
|
|
7690
|
-
this.isModified = true;
|
|
7691
|
-
};
|
|
7692
|
-
this.renderHelperLine = () => {
|
|
7693
|
-
if (!this.maxlength && !this.hasHelperText()) {
|
|
7694
|
-
return;
|
|
7695
|
-
}
|
|
7696
|
-
return (index.h("div", { tabIndex: -1, class: "mdc-text-field-helper-line" }, this.renderHelperText(), this.renderCharacterCounter()));
|
|
7697
|
-
};
|
|
7698
|
-
this.renderEmptyValueForReadonly = () => {
|
|
7699
|
-
if (this.readonly && !this.value) {
|
|
7700
|
-
return (index.h("span", { class: "lime-empty-value-for-readonly lime-looks-like-input-value" }, "\u2013"));
|
|
7701
|
-
}
|
|
7702
|
-
};
|
|
7703
|
-
this.renderHelperText = () => {
|
|
7704
|
-
if (!this.hasHelperText()) {
|
|
7705
|
-
return;
|
|
7706
|
-
}
|
|
7707
|
-
const classList = {
|
|
7708
|
-
'mdc-text-field-helper-text': true,
|
|
7709
|
-
'mdc-text-field-helper-text--validation-msg': this.isInvalid(),
|
|
7710
|
-
};
|
|
7711
|
-
return (index.h("p", { class: classList, id: helperTextId }, this.helperText));
|
|
7712
|
-
};
|
|
7713
|
-
this.hasHelperText = () => {
|
|
7714
|
-
return this.helperText !== null && this.helperText !== undefined;
|
|
7715
|
-
};
|
|
7716
|
-
this.renderCharacterCounter = () => {
|
|
7717
|
-
if (!this.maxlength || this.type === 'number') {
|
|
7718
|
-
return;
|
|
7719
|
-
}
|
|
7720
|
-
const text = this.value || '';
|
|
7721
|
-
const label = `${text.length} / ${this.maxlength}`;
|
|
7722
|
-
return index.h("div", { class: "mdc-text-field-character-counter" }, label);
|
|
7723
|
-
};
|
|
7724
|
-
this.isInvalid = () => {
|
|
7725
|
-
if (this.readonly) {
|
|
7726
|
-
// A readonly field can never be invalid.
|
|
7727
|
-
return false;
|
|
7728
|
-
}
|
|
7729
|
-
if (this.invalid) {
|
|
7730
|
-
// `this.invalid` is set by the consumer. If the consumer explicitly
|
|
7731
|
-
// told us to consider the field invalid, we consider it invalid
|
|
7732
|
-
// regardless of what our internal validation thinks, and regardless
|
|
7733
|
-
// of whether the field has been modified.
|
|
7734
|
-
return true;
|
|
7735
|
-
}
|
|
7736
|
-
if (!this.isModified) {
|
|
7737
|
-
return false;
|
|
7738
|
-
}
|
|
7739
|
-
const element = this.getInputElement();
|
|
7740
|
-
return !(element && element.checkValidity());
|
|
7741
|
-
};
|
|
7742
|
-
this.getInputElement = () => {
|
|
7743
|
-
let elementName = 'input';
|
|
7744
|
-
if (this.type === 'textarea') {
|
|
7745
|
-
elementName = 'textarea';
|
|
7746
|
-
}
|
|
7747
|
-
return this.limelInputField.shadowRoot.querySelector(elementName);
|
|
7748
|
-
};
|
|
7749
|
-
this.renderLeadingIcon = () => {
|
|
7750
|
-
if (this.type === 'textarea') {
|
|
7751
|
-
return;
|
|
7752
|
-
}
|
|
7753
|
-
if (this.leadingIcon) {
|
|
7754
|
-
return (index.h("i", { class: "material-icons mdc-text-field__icon mdc-text-field__icon--leading" }, index.h("limel-icon", { name: this.leadingIcon })));
|
|
7755
|
-
}
|
|
7756
|
-
};
|
|
7757
|
-
this.renderTrailingLinkOrButton = () => {
|
|
7758
|
-
if (this.type === 'textarea') {
|
|
7759
|
-
return;
|
|
7760
|
-
}
|
|
7761
|
-
const html = [];
|
|
7762
|
-
const trailingIcon = this.getTrailingIcon();
|
|
7763
|
-
if (!this.isInvalid() && this.hasLink()) {
|
|
7764
|
-
html.push(this.renderLinkIcon(this.getLink(), trailingIcon));
|
|
7765
|
-
}
|
|
7766
|
-
else if (trailingIcon) {
|
|
7767
|
-
html.push(this.renderTrailingIcon(trailingIcon));
|
|
7768
|
-
}
|
|
7769
|
-
return html;
|
|
7770
|
-
};
|
|
7771
|
-
this.hasLink = () => {
|
|
7772
|
-
return (this.showLink &&
|
|
7773
|
-
['email', 'tel', 'url', 'urlAsText'].includes(this.type));
|
|
7774
|
-
};
|
|
7775
|
-
this.getLink = () => {
|
|
7776
|
-
const props = { href: '' };
|
|
7777
|
-
switch (this.type) {
|
|
7778
|
-
case 'email':
|
|
7779
|
-
props.href = `mailto:${this.value}`;
|
|
7780
|
-
break;
|
|
7781
|
-
case 'tel':
|
|
7782
|
-
props.href = `tel:${this.value}`;
|
|
7783
|
-
break;
|
|
7784
|
-
default:
|
|
7785
|
-
props.href = linkHelper.getHref(this.value);
|
|
7786
|
-
props.target = linkHelper.getTarget(this.value);
|
|
7787
|
-
}
|
|
7788
|
-
return props;
|
|
7789
|
-
};
|
|
7790
|
-
this.renderLinkIcon = (linkProps, icon) => {
|
|
7791
|
-
// If the trailing icon uses the class `mdc-text-field__icon--trailing`,
|
|
7792
|
-
// MDC attaches a click handler to it, which apparently runs
|
|
7793
|
-
// `preventDefault()` on the event. For links, we don't want that,
|
|
7794
|
-
// so instead of `mdc-text-field__icon--trailing`, we use our own class
|
|
7795
|
-
// `lime-trailing-icon-for-link`, which uses all the same styling. /Ads
|
|
7796
|
-
return (index.h("a", Object.assign({}, linkProps, { class: "material-icons mdc-text-field__icon lime-trailing-icon-for-link", tabindex: this.disabled ? '-1' : '0', role: "button" }), index.h("limel-icon", { name: icon })));
|
|
7797
|
-
};
|
|
7798
|
-
this.renderTrailingIcon = (icon) => {
|
|
7799
|
-
const props = {
|
|
7800
|
-
tabIndex: this.isInvalid() ? '-1' : '0',
|
|
7801
|
-
};
|
|
7802
|
-
if (!this.isInvalid()) {
|
|
7803
|
-
props.onKeyPress = this.handleIconKeyPress;
|
|
7804
|
-
props.onClick = this.handleIconClick;
|
|
7805
|
-
props.role = 'button';
|
|
7806
|
-
}
|
|
7807
|
-
return (index.h("i", Object.assign({ class: "material-icons mdc-text-field__icon mdc-text-field__icon--trailing" }, props), index.h("limel-icon", { name: icon })));
|
|
7808
|
-
};
|
|
7809
|
-
this.getTrailingIcon = () => {
|
|
7810
|
-
if (this.isInvalid()) {
|
|
7811
|
-
return 'high_importance';
|
|
7812
|
-
}
|
|
7813
|
-
if (this.trailingIcon) {
|
|
7814
|
-
return this.trailingIcon;
|
|
7815
|
-
}
|
|
7816
|
-
if (this.showLink && this.type === 'email') {
|
|
7817
|
-
return 'filled_message';
|
|
7818
|
-
}
|
|
7819
|
-
if (this.showLink && this.type === 'tel') {
|
|
7820
|
-
return 'phone';
|
|
7821
|
-
}
|
|
7822
|
-
if (this.showLink &&
|
|
7823
|
-
(this.type === 'url' || this.type === 'urlAsText')) {
|
|
7824
|
-
return 'external_link';
|
|
7825
|
-
}
|
|
7826
|
-
};
|
|
7827
|
-
this.renderFormattedNumber = () => {
|
|
7828
|
-
if (this.type !== 'number') {
|
|
7829
|
-
return;
|
|
7830
|
-
}
|
|
7831
|
-
let renderValue = this.value;
|
|
7832
|
-
if (this.formatNumber && this.value) {
|
|
7833
|
-
renderValue = new Intl.NumberFormat(navigator.language).format(Number(this.value));
|
|
7834
|
-
}
|
|
7835
|
-
return (index.h("span", { class: "lime-formatted-input lime-looks-like-input-value" }, renderValue));
|
|
7836
|
-
};
|
|
7837
|
-
/**
|
|
7838
|
-
* Key handler for the input field
|
|
7839
|
-
* Will change focus to the first/last item in the dropdown list to enable selection with the keyboard
|
|
7840
|
-
*
|
|
7841
|
-
* @param {KeyboardEvent} event event
|
|
7842
|
-
* @returns {void}
|
|
7843
|
-
*/
|
|
7844
|
-
this.onKeyDown = (event) => {
|
|
7845
|
-
this.showCompletions = true;
|
|
7846
|
-
const isForwardTab = (event.key === keycodes.TAB || event.keyCode === keycodes.TAB_KEY_CODE) &&
|
|
7847
|
-
!event.altKey &&
|
|
7848
|
-
!event.metaKey &&
|
|
7849
|
-
!event.shiftKey;
|
|
7850
|
-
const isUp = event.key === keycodes.ARROW_UP || event.keyCode === keycodes.ARROW_UP_KEY_CODE;
|
|
7851
|
-
const isDown = event.key === keycodes.ARROW_DOWN || event.keyCode === keycodes.ARROW_DOWN_KEY_CODE;
|
|
7852
|
-
if (event.keyCode === keycodes.TAB_KEY_CODE && event.shiftKey) {
|
|
7853
|
-
this.showCompletions = false;
|
|
7854
|
-
}
|
|
7855
|
-
if (!isForwardTab && !isUp && !isDown) {
|
|
7856
|
-
return;
|
|
7857
|
-
}
|
|
7858
|
-
const list = document.querySelector(` #${this.portalId} limel-list`);
|
|
7859
|
-
if (!list) {
|
|
7860
|
-
return;
|
|
7861
|
-
}
|
|
7862
|
-
event.preventDefault();
|
|
7863
|
-
if (isForwardTab || isDown) {
|
|
7864
|
-
const listElement = list.shadowRoot.querySelector('.mdc-deprecated-list-item:first-child');
|
|
7865
|
-
listElement.focus();
|
|
7866
|
-
return;
|
|
7867
|
-
}
|
|
7868
|
-
if (isUp) {
|
|
7869
|
-
const listElement = list.shadowRoot.querySelector('.mdc-deprecated-list-item:last-child');
|
|
7870
|
-
listElement.focus();
|
|
7871
|
-
}
|
|
7872
|
-
};
|
|
7873
|
-
this.handleCompletionChange = (event) => {
|
|
7874
|
-
event.stopPropagation();
|
|
7875
|
-
if (!event.detail) {
|
|
7876
|
-
return;
|
|
7877
|
-
}
|
|
7878
|
-
this.showCompletions = false;
|
|
7879
|
-
/*
|
|
7880
|
-
This change event doesn't need to be debounced in itself, but we want
|
|
7881
|
-
to make absolutely sure that an earlier change event that *has* been
|
|
7882
|
-
debounced doesn't emit after this one. Therefore, we run this through
|
|
7883
|
-
the same debounced emitter function. /Ads
|
|
7884
|
-
*/
|
|
7885
|
-
this.changeEmitter(event.detail.text);
|
|
7886
|
-
};
|
|
7887
|
-
this.renderAutocompleteList = () => {
|
|
7888
|
-
if (this.type === 'textarea' || !this.completions.length) {
|
|
7889
|
-
return;
|
|
7890
|
-
}
|
|
7891
|
-
return this.renderDropdown();
|
|
7892
|
-
};
|
|
7893
|
-
this.renderPortal = (content = null) => {
|
|
7894
|
-
const dropdownZIndex = getComputedStyle(this.limelInputField).getPropertyValue('--dropdown-z-index');
|
|
7895
|
-
return (index.h("limel-portal", { visible: this.showCompletions, containerId: this.portalId, inheritParentWidth: true, containerStyle: { 'z-index': dropdownZIndex } }, index.h("limel-menu-surface", { open: this.showCompletions, allowClicksElement: this.limelInputField, style: {
|
|
7896
|
-
'--menu-surface-width': '100%',
|
|
7897
|
-
'max-height': 'inherit',
|
|
7898
|
-
display: 'flex',
|
|
7899
|
-
}, onDismiss: this.handleCloseMenu }, content)));
|
|
7900
|
-
};
|
|
7901
|
-
this.renderDropdown = () => {
|
|
7902
|
-
const content = this.renderListResult();
|
|
7903
|
-
return this.renderPortal(content);
|
|
7904
|
-
};
|
|
7905
|
-
this.renderListResult = () => {
|
|
7906
|
-
const filteredCompletions = this.filterCompletions(this.value);
|
|
7907
|
-
if (!filteredCompletions || filteredCompletions.length === 0) {
|
|
7908
|
-
return null;
|
|
7909
|
-
}
|
|
7910
|
-
return (index.h("limel-list", { onChange: this.handleCompletionChange, onKeyDown: this.handleKeyDownInDropdown, type: "selectable", items: filteredCompletions }));
|
|
7911
|
-
};
|
|
7912
|
-
this.handleKeyDownInDropdown = (event) => {
|
|
7913
|
-
const keyFound = [keycodes.TAB, keycodes.ESCAPE, keycodes.ENTER].includes(event.key);
|
|
7914
|
-
const keyCodeFound = [
|
|
7915
|
-
keycodes.TAB_KEY_CODE,
|
|
7916
|
-
keycodes.ESCAPE_KEY_CODE,
|
|
7917
|
-
keycodes.ENTER_KEY_CODE,
|
|
7918
|
-
].includes(event.keyCode);
|
|
7919
|
-
if (keyFound || keyCodeFound) {
|
|
7920
|
-
this.setFocus();
|
|
7921
|
-
}
|
|
7922
|
-
};
|
|
7923
|
-
this.handleCloseMenu = () => {
|
|
7924
|
-
this.showCompletions = false;
|
|
7925
|
-
};
|
|
7926
|
-
this.filterCompletions = (filter) => {
|
|
7927
|
-
if (!filter) {
|
|
7928
|
-
return this.completionsList;
|
|
7929
|
-
}
|
|
7930
|
-
return this.completionsList.filter((completion) => completion.text.toLowerCase().indexOf(filter.toLowerCase()) > -1);
|
|
7931
|
-
};
|
|
7932
|
-
this.handleChange = (event) => {
|
|
7933
|
-
event.stopPropagation();
|
|
7934
|
-
let value = event.target.value;
|
|
7935
|
-
if (this.type === 'number') {
|
|
7936
|
-
if (!value && event.data) {
|
|
7937
|
-
event.stopPropagation();
|
|
7938
|
-
return;
|
|
7939
|
-
}
|
|
7940
|
-
if (value) {
|
|
7941
|
-
value = Number(value);
|
|
7942
|
-
}
|
|
7943
|
-
}
|
|
7944
|
-
this.changeEmitter(value);
|
|
7945
|
-
};
|
|
7946
|
-
this.changeEmitter = (value) => {
|
|
7947
|
-
this.change.emit(value);
|
|
7948
|
-
};
|
|
7949
|
-
this.handleIconClick = () => {
|
|
7950
|
-
if (!this.isInvalid()) {
|
|
7951
|
-
this.action.emit();
|
|
7952
|
-
}
|
|
7953
|
-
};
|
|
7954
|
-
this.handleIconKeyPress = (event) => {
|
|
7955
|
-
const isEnter = event.key === keycodes.ENTER || event.keyCode === keycodes.ENTER_KEY_CODE;
|
|
7956
|
-
const isSpace = event.key === keycodes.SPACE || event.keyCode === keycodes.SPACE_KEY_CODE;
|
|
7957
|
-
if ((isSpace || isEnter) && !this.isInvalid()) {
|
|
7958
|
-
this.action.emit();
|
|
7959
|
-
}
|
|
7960
|
-
};
|
|
7961
|
-
this.handleWheel = () => {
|
|
7962
|
-
// This empty event handler is here to circumvent a bug.
|
|
7963
|
-
// In some browsers (Chrome for example), hovering the input with
|
|
7964
|
-
// the input focused, and scrolling, will both change the value
|
|
7965
|
-
// AND scroll the page. We would prefer to never change the value
|
|
7966
|
-
// on scroll, instead always scrolling the page, but since we
|
|
7967
|
-
// haven't found a way to do that, this is the next best thing, as
|
|
7968
|
-
// it prevents the page from being scrolled, but only in the
|
|
7969
|
-
// circumstances when the value is changed by the scrolling.
|
|
7970
|
-
// Please test THOROUGHLY if you remove this event handler 😄
|
|
7971
|
-
};
|
|
7972
|
-
const debounceTimeout = 300;
|
|
7973
|
-
this.changeEmitter = debounce$1(this.changeEmitter, debounceTimeout);
|
|
7974
|
-
this.portalId = randomString.createRandomString();
|
|
7975
|
-
}
|
|
7976
|
-
connectedCallback() {
|
|
7977
|
-
this.initialize();
|
|
7978
|
-
}
|
|
7979
|
-
componentDidLoad() {
|
|
7980
|
-
this.initialize();
|
|
7981
|
-
}
|
|
7982
|
-
disconnectedCallback() {
|
|
7983
|
-
if (this.mdcTextField) {
|
|
7984
|
-
this.mdcTextField.destroy();
|
|
7985
|
-
}
|
|
7986
|
-
window.removeEventListener('resize', this.layout);
|
|
7987
|
-
this.limelInputField.removeEventListener('focus', this.setFocus);
|
|
7988
|
-
}
|
|
7989
|
-
componentDidUpdate() {
|
|
7990
|
-
if (this.invalid) {
|
|
7991
|
-
this.mdcTextField.valid = false;
|
|
7992
|
-
}
|
|
7993
|
-
}
|
|
7994
|
-
render() {
|
|
7995
|
-
const labelId = 'tf-input-label';
|
|
7996
|
-
const properties = this.getAdditionalProps();
|
|
7997
|
-
properties['aria-labelledby'] = labelId;
|
|
7998
|
-
properties.class = 'mdc-text-field__input';
|
|
7999
|
-
properties.onInput = this.handleChange;
|
|
8000
|
-
properties.onFocus = this.onFocus;
|
|
8001
|
-
properties.onBlur = this.onBlur;
|
|
8002
|
-
properties.required = this.required;
|
|
8003
|
-
properties.readonly = this.readonly;
|
|
8004
|
-
properties.disabled = this.disabled || this.readonly;
|
|
8005
|
-
if (this.hasHelperText()) {
|
|
8006
|
-
properties['aria-controls'] = helperTextId;
|
|
8007
|
-
properties['aria-describedby'] = helperTextId;
|
|
8008
|
-
}
|
|
8009
|
-
const labelClassList = {
|
|
8010
|
-
'mdc-floating-label': true,
|
|
8011
|
-
'mdc-floating-label--float-above': !!this.value || this.isFocused || this.readonly,
|
|
8012
|
-
};
|
|
8013
|
-
return [
|
|
8014
|
-
index.h("label", { class: this.getContainerClassList() }, index.h("span", { class: "mdc-notched-outline", tabindex: "-1" }, index.h("span", { class: "mdc-notched-outline__leading" }), index.h("span", { class: "mdc-notched-outline__notch" }, index.h("span", { class: labelClassList, id: labelId }, this.label)), index.h("span", { class: "mdc-notched-outline__trailing" })), this.renderLeadingIcon(), this.renderEmptyValueForReadonly(), this.renderInput(properties), this.renderTextarea(properties), this.renderFormattedNumber(), this.renderTrailingLinkOrButton()),
|
|
8015
|
-
this.renderHelperLine(),
|
|
8016
|
-
this.renderAutocompleteList(),
|
|
8017
|
-
];
|
|
8018
|
-
}
|
|
8019
|
-
valueWatcher(newValue) {
|
|
8020
|
-
if (!this.mdcTextField) {
|
|
8021
|
-
return;
|
|
8022
|
-
}
|
|
8023
|
-
if (newValue !== this.mdcTextField.value) {
|
|
8024
|
-
this.mdcTextField.value = newValue || '';
|
|
8025
|
-
}
|
|
8026
|
-
}
|
|
8027
|
-
get limelInputField() { return index.getElement(this); }
|
|
8028
|
-
static get watchers() { return {
|
|
8029
|
-
"value": ["valueWatcher"]
|
|
8030
|
-
}; }
|
|
8031
|
-
};
|
|
8032
|
-
InputField.style = inputFieldCss;
|
|
8033
|
-
|
|
8034
7242
|
exports.limel_flatpickr_adapter = DatePickerCalendar;
|
|
8035
|
-
exports.limel_input_field = InputField;
|