@vonage/vivid 3.0.0-next.83 → 3.0.0-next.84
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/accordion/index.js +2 -9
- package/accordion-item/index.js +8 -22
- package/action-group/index.js +2 -8
- package/avatar/index.js +4 -14
- package/badge/index.js +3 -13
- package/banner/index.js +3 -26
- package/breadcrumb/index.js +1 -1
- package/breadcrumb-item/index.js +5 -9
- package/calendar/index.js +12 -49
- package/calendar-event/index.js +4 -7
- package/card/index.js +9 -28
- package/checkbox/index.js +3 -11
- package/dialog/index.js +7 -59
- package/fab/index.js +2 -8
- package/focus/index.js +2 -2
- package/header/index.js +2 -7
- package/icon/index.js +2 -5
- package/index.js +1 -1
- package/layout/index.js +1 -9
- package/lib/badge/badge.d.ts +1 -3
- package/lib/components.d.ts +1 -0
- package/lib/listbox-option/index.d.ts +4 -0
- package/lib/listbox-option/listbox-option.d.ts +7 -0
- package/lib/listbox-option/listbox-option.template.d.ts +4 -0
- package/listbox-option/index.js +248 -0
- package/menu/index.js +1 -7
- package/nav/index.js +1 -1
- package/nav-disclosure/index.js +4 -11
- package/nav-item/index.js +2 -2
- package/note/index.js +4 -12
- package/number-field/index.js +24 -21
- package/package.json +12 -9
- package/popup/index.js +0 -1
- package/progress/index.js +5 -13
- package/progress-ring/index.js +4 -8
- package/radio/index.js +3 -5
- package/radio-group/index.js +3 -4
- package/shared/affix.js +1 -6
- package/shared/apply-mixins.js +5 -4
- package/shared/calendar-event.js +0 -7
- package/shared/enums.js +0 -17
- package/shared/es.object.assign.js +4 -4
- package/shared/export.js +79 -57
- package/shared/focus2.js +1 -1
- package/shared/form-associated.js +1 -1
- package/shared/form-elements.js +5 -27
- package/shared/icon.js +8 -18
- package/shared/index.js +38 -25
- package/shared/index2.js +2 -13
- package/shared/index3.js +1 -5
- package/shared/index4.js +2 -4
- package/shared/index5.js +6 -581
- package/shared/index6.js +6 -10
- package/shared/iterators.js +3 -3
- package/shared/object-keys.js +2 -2
- package/shared/patterns/form-elements/form-elements.d.ts +1 -1
- package/shared/radio.js +0 -1
- package/shared/ref.js +1 -1
- package/shared/slotted.js +1 -1
- package/shared/text-anchor.js +0 -2
- package/shared/text-anchor.template.js +1 -3
- package/shared/web.dom-collections.iterator.js +6 -8
- package/side-drawer/index.js +3 -16
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +29 -23
- package/styles/tokens/theme-light.css +29 -23
- package/text-area/index.js +3 -9
- package/text-field/index.js +4 -14
- package/tooltip/index.js +2 -10
- package/shared/regexp-flags.js +0 -21
package/shared/index5.js
CHANGED
|
@@ -1,534 +1,14 @@
|
|
|
1
1
|
import './index3.js';
|
|
2
2
|
import './index2.js';
|
|
3
|
-
import { F as FoundationElement, c as __classPrivateFieldGet,
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import { F as FoundationElement, c as __classPrivateFieldGet, j as __classPrivateFieldSet, _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from './index.js';
|
|
4
|
+
import './icon.js';
|
|
5
|
+
import './web.dom-collections.iterator.js';
|
|
6
6
|
import './es.object.assign.js';
|
|
7
|
-
import { e as fails$5, g as global$3, x as functionCall, f as functionUncurryThis, R as shared$1, z as internalState, _ as _export, w as wellKnownSymbol$2, v as defineBuiltIn$1, L as createNonEnumerableProperty$1, y as isObject$1, c as classofRaw, C as requireObjectCoercible$2, S as toIntegerOrInfinity$1, T as toPropertyKey$1, o as objectDefineProperty, K as createPropertyDescriptor$1, B as lengthOfArrayLike$1, U as toAbsoluteIndex$1, j as anObject$2, i as isCallable$1, k as isNullOrUndefined$1, V as toLength$1, A as getMethod$1 } from './export.js';
|
|
8
|
-
import { t as toString$3 } from './to-string.js';
|
|
9
|
-
import { r as regexpFlags$1 } from './regexp-flags.js';
|
|
10
7
|
import { f as keyEscape } from './key-codes.js';
|
|
11
8
|
import { w as when } from './when.js';
|
|
12
9
|
import { r as ref } from './ref.js';
|
|
13
10
|
import { c as classNames } from './class-names.js';
|
|
14
11
|
|
|
15
|
-
var fails$4 = fails$5;
|
|
16
|
-
var global$2 = global$3;
|
|
17
|
-
|
|
18
|
-
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
19
|
-
var $RegExp$2 = global$2.RegExp;
|
|
20
|
-
|
|
21
|
-
var UNSUPPORTED_Y$2 = fails$4(function () {
|
|
22
|
-
var re = $RegExp$2('a', 'y');
|
|
23
|
-
re.lastIndex = 2;
|
|
24
|
-
return re.exec('abcd') != null;
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
// UC Browser bug
|
|
28
|
-
// https://github.com/zloirock/core-js/issues/1008
|
|
29
|
-
var MISSED_STICKY = UNSUPPORTED_Y$2 || fails$4(function () {
|
|
30
|
-
return !$RegExp$2('a', 'y').sticky;
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$4(function () {
|
|
34
|
-
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
35
|
-
var re = $RegExp$2('^r', 'gy');
|
|
36
|
-
re.lastIndex = 2;
|
|
37
|
-
return re.exec('str') != null;
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
var regexpStickyHelpers = {
|
|
41
|
-
BROKEN_CARET: BROKEN_CARET,
|
|
42
|
-
MISSED_STICKY: MISSED_STICKY,
|
|
43
|
-
UNSUPPORTED_Y: UNSUPPORTED_Y$2
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
var fails$3 = fails$5;
|
|
47
|
-
var global$1 = global$3;
|
|
48
|
-
|
|
49
|
-
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
50
|
-
var $RegExp$1 = global$1.RegExp;
|
|
51
|
-
|
|
52
|
-
var regexpUnsupportedDotAll = fails$3(function () {
|
|
53
|
-
var re = $RegExp$1('.', 's');
|
|
54
|
-
return !(re.dotAll && re.exec('\n') && re.flags === 's');
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
var fails$2 = fails$5;
|
|
58
|
-
var global = global$3;
|
|
59
|
-
|
|
60
|
-
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
61
|
-
var $RegExp = global.RegExp;
|
|
62
|
-
|
|
63
|
-
var regexpUnsupportedNcg = fails$2(function () {
|
|
64
|
-
var re = $RegExp('(?<a>b)', 'g');
|
|
65
|
-
return re.exec('b').groups.a !== 'b' ||
|
|
66
|
-
'b'.replace(re, '$<a>c') !== 'bc';
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
70
|
-
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
71
|
-
var call$2 = functionCall;
|
|
72
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
73
|
-
var toString$2 = toString$3;
|
|
74
|
-
var regexpFlags = regexpFlags$1;
|
|
75
|
-
var stickyHelpers$1 = regexpStickyHelpers;
|
|
76
|
-
var shared = shared$1.exports;
|
|
77
|
-
var create = objectCreate;
|
|
78
|
-
var getInternalState = internalState.get;
|
|
79
|
-
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
80
|
-
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
81
|
-
|
|
82
|
-
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
83
|
-
var nativeExec = RegExp.prototype.exec;
|
|
84
|
-
var patchedExec = nativeExec;
|
|
85
|
-
var charAt$2 = uncurryThis$3(''.charAt);
|
|
86
|
-
var indexOf = uncurryThis$3(''.indexOf);
|
|
87
|
-
var replace = uncurryThis$3(''.replace);
|
|
88
|
-
var stringSlice$2 = uncurryThis$3(''.slice);
|
|
89
|
-
|
|
90
|
-
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
91
|
-
var re1 = /a/;
|
|
92
|
-
var re2 = /b*/g;
|
|
93
|
-
call$2(nativeExec, re1, 'a');
|
|
94
|
-
call$2(nativeExec, re2, 'a');
|
|
95
|
-
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
96
|
-
})();
|
|
97
|
-
|
|
98
|
-
var UNSUPPORTED_Y$1 = stickyHelpers$1.BROKEN_CARET;
|
|
99
|
-
|
|
100
|
-
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
|
101
|
-
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
|
102
|
-
|
|
103
|
-
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$1 || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
|
|
104
|
-
|
|
105
|
-
if (PATCH) {
|
|
106
|
-
patchedExec = function exec(string) {
|
|
107
|
-
var re = this;
|
|
108
|
-
var state = getInternalState(re);
|
|
109
|
-
var str = toString$2(string);
|
|
110
|
-
var raw = state.raw;
|
|
111
|
-
var result, reCopy, lastIndex, match, i, object, group;
|
|
112
|
-
|
|
113
|
-
if (raw) {
|
|
114
|
-
raw.lastIndex = re.lastIndex;
|
|
115
|
-
result = call$2(patchedExec, raw, str);
|
|
116
|
-
re.lastIndex = raw.lastIndex;
|
|
117
|
-
return result;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
var groups = state.groups;
|
|
121
|
-
var sticky = UNSUPPORTED_Y$1 && re.sticky;
|
|
122
|
-
var flags = call$2(regexpFlags, re);
|
|
123
|
-
var source = re.source;
|
|
124
|
-
var charsAdded = 0;
|
|
125
|
-
var strCopy = str;
|
|
126
|
-
|
|
127
|
-
if (sticky) {
|
|
128
|
-
flags = replace(flags, 'y', '');
|
|
129
|
-
if (indexOf(flags, 'g') === -1) {
|
|
130
|
-
flags += 'g';
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
strCopy = stringSlice$2(str, re.lastIndex);
|
|
134
|
-
// Support anchored sticky behavior.
|
|
135
|
-
if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$2(str, re.lastIndex - 1) !== '\n')) {
|
|
136
|
-
source = '(?: ' + source + ')';
|
|
137
|
-
strCopy = ' ' + strCopy;
|
|
138
|
-
charsAdded++;
|
|
139
|
-
}
|
|
140
|
-
// ^(? + rx + ) is needed, in combination with some str slicing, to
|
|
141
|
-
// simulate the 'y' flag.
|
|
142
|
-
reCopy = new RegExp('^(?:' + source + ')', flags);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
if (NPCG_INCLUDED) {
|
|
146
|
-
reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
|
|
147
|
-
}
|
|
148
|
-
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
149
|
-
|
|
150
|
-
match = call$2(nativeExec, sticky ? reCopy : re, strCopy);
|
|
151
|
-
|
|
152
|
-
if (sticky) {
|
|
153
|
-
if (match) {
|
|
154
|
-
match.input = stringSlice$2(match.input, charsAdded);
|
|
155
|
-
match[0] = stringSlice$2(match[0], charsAdded);
|
|
156
|
-
match.index = re.lastIndex;
|
|
157
|
-
re.lastIndex += match[0].length;
|
|
158
|
-
} else re.lastIndex = 0;
|
|
159
|
-
} else if (UPDATES_LAST_INDEX_WRONG && match) {
|
|
160
|
-
re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
|
|
161
|
-
}
|
|
162
|
-
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
163
|
-
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
164
|
-
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
165
|
-
call$2(nativeReplace, match[0], reCopy, function () {
|
|
166
|
-
for (i = 1; i < arguments.length - 2; i++) {
|
|
167
|
-
if (arguments[i] === undefined) match[i] = undefined;
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
if (match && groups) {
|
|
173
|
-
match.groups = object = create(null);
|
|
174
|
-
for (i = 0; i < groups.length; i++) {
|
|
175
|
-
group = groups[i];
|
|
176
|
-
object[group[0]] = match[group[1]];
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
return match;
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
var regexpExec$3 = patchedExec;
|
|
185
|
-
|
|
186
|
-
var $ = _export;
|
|
187
|
-
var exec$1 = regexpExec$3;
|
|
188
|
-
|
|
189
|
-
// `RegExp.prototype.exec` method
|
|
190
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
191
|
-
$({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
|
|
192
|
-
exec: exec$1
|
|
193
|
-
});
|
|
194
|
-
|
|
195
|
-
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
196
|
-
|
|
197
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
198
|
-
var defineBuiltIn = defineBuiltIn$1;
|
|
199
|
-
var regexpExec$2 = regexpExec$3;
|
|
200
|
-
var fails$1 = fails$5;
|
|
201
|
-
var wellKnownSymbol$1 = wellKnownSymbol$2;
|
|
202
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$1;
|
|
203
|
-
|
|
204
|
-
var SPECIES = wellKnownSymbol$1('species');
|
|
205
|
-
var RegExpPrototype = RegExp.prototype;
|
|
206
|
-
|
|
207
|
-
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
208
|
-
var SYMBOL = wellKnownSymbol$1(KEY);
|
|
209
|
-
|
|
210
|
-
var DELEGATES_TO_SYMBOL = !fails$1(function () {
|
|
211
|
-
// String methods call symbol-named RegEp methods
|
|
212
|
-
var O = {};
|
|
213
|
-
O[SYMBOL] = function () { return 7; };
|
|
214
|
-
return ''[KEY](O) != 7;
|
|
215
|
-
});
|
|
216
|
-
|
|
217
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$1(function () {
|
|
218
|
-
// Symbol-named RegExp methods call .exec
|
|
219
|
-
var execCalled = false;
|
|
220
|
-
var re = /a/;
|
|
221
|
-
|
|
222
|
-
if (KEY === 'split') {
|
|
223
|
-
// We can't use real regex here since it causes deoptimization
|
|
224
|
-
// and serious performance degradation in V8
|
|
225
|
-
// https://github.com/zloirock/core-js/issues/306
|
|
226
|
-
re = {};
|
|
227
|
-
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
|
228
|
-
// a new one. We need to return the patched regex when creating the new one.
|
|
229
|
-
re.constructor = {};
|
|
230
|
-
re.constructor[SPECIES] = function () { return re; };
|
|
231
|
-
re.flags = '';
|
|
232
|
-
re[SYMBOL] = /./[SYMBOL];
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
re.exec = function () { execCalled = true; return null; };
|
|
236
|
-
|
|
237
|
-
re[SYMBOL]('');
|
|
238
|
-
return !execCalled;
|
|
239
|
-
});
|
|
240
|
-
|
|
241
|
-
if (
|
|
242
|
-
!DELEGATES_TO_SYMBOL ||
|
|
243
|
-
!DELEGATES_TO_EXEC ||
|
|
244
|
-
FORCED
|
|
245
|
-
) {
|
|
246
|
-
var uncurriedNativeRegExpMethod = uncurryThis$2(/./[SYMBOL]);
|
|
247
|
-
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
248
|
-
var uncurriedNativeMethod = uncurryThis$2(nativeMethod);
|
|
249
|
-
var $exec = regexp.exec;
|
|
250
|
-
if ($exec === regexpExec$2 || $exec === RegExpPrototype.exec) {
|
|
251
|
-
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
252
|
-
// The native String method already delegates to @@method (this
|
|
253
|
-
// polyfilled function), leasing to infinite recursion.
|
|
254
|
-
// We avoid it by directly calling the native @@method method.
|
|
255
|
-
return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
|
|
256
|
-
}
|
|
257
|
-
return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
|
|
258
|
-
}
|
|
259
|
-
return { done: false };
|
|
260
|
-
});
|
|
261
|
-
|
|
262
|
-
defineBuiltIn(String.prototype, KEY, methods[0]);
|
|
263
|
-
defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
|
|
267
|
-
};
|
|
268
|
-
|
|
269
|
-
var isObject = isObject$1;
|
|
270
|
-
var classof$1 = classofRaw;
|
|
271
|
-
var wellKnownSymbol = wellKnownSymbol$2;
|
|
272
|
-
|
|
273
|
-
var MATCH = wellKnownSymbol('match');
|
|
274
|
-
|
|
275
|
-
// `IsRegExp` abstract operation
|
|
276
|
-
// https://tc39.es/ecma262/#sec-isregexp
|
|
277
|
-
var isRegexp = function (it) {
|
|
278
|
-
var isRegExp;
|
|
279
|
-
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof$1(it) == 'RegExp');
|
|
280
|
-
};
|
|
281
|
-
|
|
282
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
283
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$1;
|
|
284
|
-
var toString$1 = toString$3;
|
|
285
|
-
var requireObjectCoercible$1 = requireObjectCoercible$2;
|
|
286
|
-
|
|
287
|
-
var charAt$1 = uncurryThis$1(''.charAt);
|
|
288
|
-
var charCodeAt = uncurryThis$1(''.charCodeAt);
|
|
289
|
-
var stringSlice$1 = uncurryThis$1(''.slice);
|
|
290
|
-
|
|
291
|
-
var createMethod = function (CONVERT_TO_STRING) {
|
|
292
|
-
return function ($this, pos) {
|
|
293
|
-
var S = toString$1(requireObjectCoercible$1($this));
|
|
294
|
-
var position = toIntegerOrInfinity(pos);
|
|
295
|
-
var size = S.length;
|
|
296
|
-
var first, second;
|
|
297
|
-
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
|
|
298
|
-
first = charCodeAt(S, position);
|
|
299
|
-
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|
|
300
|
-
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
|
|
301
|
-
? CONVERT_TO_STRING
|
|
302
|
-
? charAt$1(S, position)
|
|
303
|
-
: first
|
|
304
|
-
: CONVERT_TO_STRING
|
|
305
|
-
? stringSlice$1(S, position, position + 2)
|
|
306
|
-
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
|
|
307
|
-
};
|
|
308
|
-
};
|
|
309
|
-
|
|
310
|
-
var stringMultibyte = {
|
|
311
|
-
// `String.prototype.codePointAt` method
|
|
312
|
-
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
313
|
-
codeAt: createMethod(false),
|
|
314
|
-
// `String.prototype.at` method
|
|
315
|
-
// https://github.com/mathiasbynens/String.prototype.at
|
|
316
|
-
charAt: createMethod(true)
|
|
317
|
-
};
|
|
318
|
-
|
|
319
|
-
var charAt = stringMultibyte.charAt;
|
|
320
|
-
|
|
321
|
-
// `AdvanceStringIndex` abstract operation
|
|
322
|
-
// https://tc39.es/ecma262/#sec-advancestringindex
|
|
323
|
-
var advanceStringIndex$1 = function (S, index, unicode) {
|
|
324
|
-
return index + (unicode ? charAt(S, index).length : 1);
|
|
325
|
-
};
|
|
326
|
-
|
|
327
|
-
var toPropertyKey = toPropertyKey$1;
|
|
328
|
-
var definePropertyModule = objectDefineProperty;
|
|
329
|
-
var createPropertyDescriptor = createPropertyDescriptor$1;
|
|
330
|
-
|
|
331
|
-
var createProperty$1 = function (object, key, value) {
|
|
332
|
-
var propertyKey = toPropertyKey(key);
|
|
333
|
-
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
334
|
-
else object[propertyKey] = value;
|
|
335
|
-
};
|
|
336
|
-
|
|
337
|
-
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
338
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
339
|
-
var createProperty = createProperty$1;
|
|
340
|
-
|
|
341
|
-
var $Array = Array;
|
|
342
|
-
var max$2 = Math.max;
|
|
343
|
-
|
|
344
|
-
var arraySliceSimple = function (O, start, end) {
|
|
345
|
-
var length = lengthOfArrayLike(O);
|
|
346
|
-
var k = toAbsoluteIndex(start, length);
|
|
347
|
-
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
348
|
-
var result = $Array(max$2(fin - k, 0));
|
|
349
|
-
for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);
|
|
350
|
-
result.length = n;
|
|
351
|
-
return result;
|
|
352
|
-
};
|
|
353
|
-
|
|
354
|
-
var call$1 = functionCall;
|
|
355
|
-
var anObject$1 = anObject$2;
|
|
356
|
-
var isCallable = isCallable$1;
|
|
357
|
-
var classof = classofRaw;
|
|
358
|
-
var regexpExec$1 = regexpExec$3;
|
|
359
|
-
|
|
360
|
-
var $TypeError = TypeError;
|
|
361
|
-
|
|
362
|
-
// `RegExpExec` abstract operation
|
|
363
|
-
// https://tc39.es/ecma262/#sec-regexpexec
|
|
364
|
-
var regexpExecAbstract = function (R, S) {
|
|
365
|
-
var exec = R.exec;
|
|
366
|
-
if (isCallable(exec)) {
|
|
367
|
-
var result = call$1(exec, R, S);
|
|
368
|
-
if (result !== null) anObject$1(result);
|
|
369
|
-
return result;
|
|
370
|
-
}
|
|
371
|
-
if (classof(R) === 'RegExp') return call$1(regexpExec$1, R, S);
|
|
372
|
-
throw $TypeError('RegExp#exec called on incompatible receiver');
|
|
373
|
-
};
|
|
374
|
-
|
|
375
|
-
var apply = functionApply;
|
|
376
|
-
var call = functionCall;
|
|
377
|
-
var uncurryThis = functionUncurryThis;
|
|
378
|
-
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
379
|
-
var anObject = anObject$2;
|
|
380
|
-
var isNullOrUndefined = isNullOrUndefined$1;
|
|
381
|
-
var isRegExp = isRegexp;
|
|
382
|
-
var requireObjectCoercible = requireObjectCoercible$2;
|
|
383
|
-
var speciesConstructor = speciesConstructor$1;
|
|
384
|
-
var advanceStringIndex = advanceStringIndex$1;
|
|
385
|
-
var toLength = toLength$1;
|
|
386
|
-
var toString = toString$3;
|
|
387
|
-
var getMethod = getMethod$1;
|
|
388
|
-
var arraySlice = arraySliceSimple;
|
|
389
|
-
var callRegExpExec = regexpExecAbstract;
|
|
390
|
-
var regexpExec = regexpExec$3;
|
|
391
|
-
var stickyHelpers = regexpStickyHelpers;
|
|
392
|
-
var fails = fails$5;
|
|
393
|
-
|
|
394
|
-
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
|
|
395
|
-
var MAX_UINT32 = 0xFFFFFFFF;
|
|
396
|
-
var min$2 = Math.min;
|
|
397
|
-
var $push = [].push;
|
|
398
|
-
var exec = uncurryThis(/./.exec);
|
|
399
|
-
var push = uncurryThis($push);
|
|
400
|
-
var stringSlice = uncurryThis(''.slice);
|
|
401
|
-
|
|
402
|
-
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
|
|
403
|
-
// Weex JS has frozen built-in prototypes, so use try / catch wrapper
|
|
404
|
-
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
|
|
405
|
-
// eslint-disable-next-line regexp/no-empty-group -- required for testing
|
|
406
|
-
var re = /(?:)/;
|
|
407
|
-
var originalExec = re.exec;
|
|
408
|
-
re.exec = function () { return originalExec.apply(this, arguments); };
|
|
409
|
-
var result = 'ab'.split(re);
|
|
410
|
-
return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
|
|
411
|
-
});
|
|
412
|
-
|
|
413
|
-
// @@split logic
|
|
414
|
-
fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
|
|
415
|
-
var internalSplit;
|
|
416
|
-
if (
|
|
417
|
-
'abbc'.split(/(b)*/)[1] == 'c' ||
|
|
418
|
-
// eslint-disable-next-line regexp/no-empty-group -- required for testing
|
|
419
|
-
'test'.split(/(?:)/, -1).length != 4 ||
|
|
420
|
-
'ab'.split(/(?:ab)*/).length != 2 ||
|
|
421
|
-
'.'.split(/(.?)(.?)/).length != 4 ||
|
|
422
|
-
// eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
|
|
423
|
-
'.'.split(/()()/).length > 1 ||
|
|
424
|
-
''.split(/.?/).length
|
|
425
|
-
) {
|
|
426
|
-
// based on es5-shim implementation, need to rework it
|
|
427
|
-
internalSplit = function (separator, limit) {
|
|
428
|
-
var string = toString(requireObjectCoercible(this));
|
|
429
|
-
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
|
430
|
-
if (lim === 0) return [];
|
|
431
|
-
if (separator === undefined) return [string];
|
|
432
|
-
// If `separator` is not a regex, use native split
|
|
433
|
-
if (!isRegExp(separator)) {
|
|
434
|
-
return call(nativeSplit, string, separator, lim);
|
|
435
|
-
}
|
|
436
|
-
var output = [];
|
|
437
|
-
var flags = (separator.ignoreCase ? 'i' : '') +
|
|
438
|
-
(separator.multiline ? 'm' : '') +
|
|
439
|
-
(separator.unicode ? 'u' : '') +
|
|
440
|
-
(separator.sticky ? 'y' : '');
|
|
441
|
-
var lastLastIndex = 0;
|
|
442
|
-
// Make `global` and avoid `lastIndex` issues by working with a copy
|
|
443
|
-
var separatorCopy = new RegExp(separator.source, flags + 'g');
|
|
444
|
-
var match, lastIndex, lastLength;
|
|
445
|
-
while (match = call(regexpExec, separatorCopy, string)) {
|
|
446
|
-
lastIndex = separatorCopy.lastIndex;
|
|
447
|
-
if (lastIndex > lastLastIndex) {
|
|
448
|
-
push(output, stringSlice(string, lastLastIndex, match.index));
|
|
449
|
-
if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1));
|
|
450
|
-
lastLength = match[0].length;
|
|
451
|
-
lastLastIndex = lastIndex;
|
|
452
|
-
if (output.length >= lim) break;
|
|
453
|
-
}
|
|
454
|
-
if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
|
|
455
|
-
}
|
|
456
|
-
if (lastLastIndex === string.length) {
|
|
457
|
-
if (lastLength || !exec(separatorCopy, '')) push(output, '');
|
|
458
|
-
} else push(output, stringSlice(string, lastLastIndex));
|
|
459
|
-
return output.length > lim ? arraySlice(output, 0, lim) : output;
|
|
460
|
-
};
|
|
461
|
-
// Chakra, V8
|
|
462
|
-
} else if ('0'.split(undefined, 0).length) {
|
|
463
|
-
internalSplit = function (separator, limit) {
|
|
464
|
-
return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);
|
|
465
|
-
};
|
|
466
|
-
} else internalSplit = nativeSplit;
|
|
467
|
-
|
|
468
|
-
return [
|
|
469
|
-
// `String.prototype.split` method
|
|
470
|
-
// https://tc39.es/ecma262/#sec-string.prototype.split
|
|
471
|
-
function split(separator, limit) {
|
|
472
|
-
var O = requireObjectCoercible(this);
|
|
473
|
-
var splitter = isNullOrUndefined(separator) ? undefined : getMethod(separator, SPLIT);
|
|
474
|
-
return splitter
|
|
475
|
-
? call(splitter, separator, O, limit)
|
|
476
|
-
: call(internalSplit, toString(O), separator, limit);
|
|
477
|
-
},
|
|
478
|
-
// `RegExp.prototype[@@split]` method
|
|
479
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype-@@split
|
|
480
|
-
//
|
|
481
|
-
// NOTE: This cannot be properly polyfilled in engines that don't support
|
|
482
|
-
// the 'y' flag.
|
|
483
|
-
function (string, limit) {
|
|
484
|
-
var rx = anObject(this);
|
|
485
|
-
var S = toString(string);
|
|
486
|
-
var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
|
|
487
|
-
|
|
488
|
-
if (res.done) return res.value;
|
|
489
|
-
|
|
490
|
-
var C = speciesConstructor(rx, RegExp);
|
|
491
|
-
|
|
492
|
-
var unicodeMatching = rx.unicode;
|
|
493
|
-
var flags = (rx.ignoreCase ? 'i' : '') +
|
|
494
|
-
(rx.multiline ? 'm' : '') +
|
|
495
|
-
(rx.unicode ? 'u' : '') +
|
|
496
|
-
(UNSUPPORTED_Y ? 'g' : 'y');
|
|
497
|
-
|
|
498
|
-
// ^(? + rx + ) is needed, in combination with some S slicing, to
|
|
499
|
-
// simulate the 'y' flag.
|
|
500
|
-
var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);
|
|
501
|
-
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
|
502
|
-
if (lim === 0) return [];
|
|
503
|
-
if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
|
|
504
|
-
var p = 0;
|
|
505
|
-
var q = 0;
|
|
506
|
-
var A = [];
|
|
507
|
-
while (q < S.length) {
|
|
508
|
-
splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;
|
|
509
|
-
var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);
|
|
510
|
-
var e;
|
|
511
|
-
if (
|
|
512
|
-
z === null ||
|
|
513
|
-
(e = min$2(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p
|
|
514
|
-
) {
|
|
515
|
-
q = advanceStringIndex(S, q, unicodeMatching);
|
|
516
|
-
} else {
|
|
517
|
-
push(A, stringSlice(S, p, q));
|
|
518
|
-
if (A.length === lim) return A;
|
|
519
|
-
for (var i = 1; i <= z.length - 1; i++) {
|
|
520
|
-
push(A, z[i]);
|
|
521
|
-
if (A.length === lim) return A;
|
|
522
|
-
}
|
|
523
|
-
q = p = e;
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
push(A, stringSlice(S, p));
|
|
527
|
-
return A;
|
|
528
|
-
}
|
|
529
|
-
];
|
|
530
|
-
}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
|
|
531
|
-
|
|
532
12
|
function getSide(placement) {
|
|
533
13
|
return placement.split('-')[0];
|
|
534
14
|
}
|
|
@@ -625,21 +105,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
625
105
|
} = config;
|
|
626
106
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
627
107
|
|
|
628
|
-
{
|
|
629
|
-
if (platform == null) {
|
|
630
|
-
console.error(['Floating UI: `platform` property was not passed to config. If you', 'want to use Floating UI on the web, install @floating-ui/dom', 'instead of the /core package. Otherwise, you can create your own', '`platform`: https://floating-ui.com/docs/platform'].join(' '));
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
if (middleware.filter(_ref => {
|
|
634
|
-
let {
|
|
635
|
-
name
|
|
636
|
-
} = _ref;
|
|
637
|
-
return name === 'autoPlacement' || name === 'flip';
|
|
638
|
-
}).length > 1) {
|
|
639
|
-
throw new Error(['Floating UI: duplicate `flip` and/or `autoPlacement`', 'middleware detected. This will lead to an infinite loop. Ensure only', 'one of either has been passed to the `middleware` array.'].join(' '));
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
|
|
643
108
|
let rects = await platform.getElementRects({
|
|
644
109
|
reference,
|
|
645
110
|
floating,
|
|
@@ -685,12 +150,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
685
150
|
}
|
|
686
151
|
};
|
|
687
152
|
|
|
688
|
-
{
|
|
689
|
-
if (resetCount > 50) {
|
|
690
|
-
console.warn(['Floating UI: The middleware lifecycle appears to be running in an', 'infinite loop. This is usually caused by a `reset` continually', 'being returned without a break condition.'].join(' '));
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
|
|
694
153
|
if (reset && resetCount <= 50) {
|
|
695
154
|
resetCount++;
|
|
696
155
|
|
|
@@ -841,9 +300,6 @@ const arrow = options => ({
|
|
|
841
300
|
} = middlewareArguments;
|
|
842
301
|
|
|
843
302
|
if (element == null) {
|
|
844
|
-
{
|
|
845
|
-
console.warn('Floating UI: No `element` was passed to the `arrow` middleware.');
|
|
846
|
-
}
|
|
847
303
|
|
|
848
304
|
return {};
|
|
849
305
|
}
|
|
@@ -1909,79 +1365,60 @@ var _Popup_instances, _Popup_arrowPosition_get, _Popup_padding_get, _Popup_dista
|
|
|
1909
1365
|
class Popup extends FoundationElement {
|
|
1910
1366
|
constructor() {
|
|
1911
1367
|
super();
|
|
1912
|
-
|
|
1913
1368
|
_Popup_instances.add(this);
|
|
1914
|
-
|
|
1915
1369
|
_Popup_cleanup.set(this, void 0);
|
|
1916
|
-
|
|
1917
1370
|
_Popup_anchorEl.set(this, void 0);
|
|
1918
|
-
|
|
1919
1371
|
this.open = false;
|
|
1920
1372
|
this.dismissible = false;
|
|
1921
1373
|
this.arrow = false;
|
|
1922
1374
|
this.alternate = false;
|
|
1923
|
-
|
|
1924
1375
|
_Popup_handleKeydown.set(this, event => {
|
|
1925
1376
|
if (event.key === keyEscape) {
|
|
1926
1377
|
this.open = false;
|
|
1927
1378
|
}
|
|
1928
1379
|
});
|
|
1929
1380
|
}
|
|
1930
|
-
|
|
1931
1381
|
openChanged(_, newValue) {
|
|
1932
1382
|
newValue ? this.$emit('open') : this.$emit('close');
|
|
1933
1383
|
}
|
|
1934
|
-
|
|
1935
1384
|
disconnectedCallback() {
|
|
1936
1385
|
var _a, _b;
|
|
1937
|
-
|
|
1938
1386
|
super.disconnectedCallback();
|
|
1939
1387
|
(_a = __classPrivateFieldGet(this, _Popup_anchorEl, "f")) === null || _a === void 0 ? void 0 : _a.removeEventListener('keydown', __classPrivateFieldGet(this, _Popup_handleKeydown, "f"));
|
|
1940
1388
|
(_b = __classPrivateFieldGet(this, _Popup_cleanup, "f")) === null || _b === void 0 ? void 0 : _b.call(this);
|
|
1941
1389
|
}
|
|
1942
|
-
|
|
1943
1390
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
1944
1391
|
var _a, _b, _c;
|
|
1945
|
-
|
|
1946
1392
|
super.attributeChangedCallback(name, oldValue, newValue);
|
|
1947
|
-
|
|
1948
1393
|
switch (name) {
|
|
1949
1394
|
case 'anchor':
|
|
1950
1395
|
{
|
|
1951
1396
|
(_a = __classPrivateFieldGet(this, _Popup_anchorEl, "f")) === null || _a === void 0 ? void 0 : _a.removeEventListener('keydown', __classPrivateFieldGet(this, _Popup_handleKeydown, "f"));
|
|
1952
|
-
|
|
1953
1397
|
__classPrivateFieldSet(this, _Popup_anchorEl, __classPrivateFieldGet(this, _Popup_instances, "m", _Popup_getAnchorById).call(this), "f");
|
|
1954
|
-
|
|
1955
1398
|
(_b = __classPrivateFieldGet(this, _Popup_anchorEl, "f")) === null || _b === void 0 ? void 0 : _b.addEventListener('keydown', __classPrivateFieldGet(this, _Popup_handleKeydown, "f"));
|
|
1956
1399
|
break;
|
|
1957
1400
|
}
|
|
1958
1401
|
}
|
|
1959
|
-
|
|
1960
1402
|
if (__classPrivateFieldGet(this, _Popup_anchorEl, "f") && this.popupEl) {
|
|
1961
1403
|
__classPrivateFieldSet(this, _Popup_cleanup, autoUpdate(__classPrivateFieldGet(this, _Popup_anchorEl, "f"), this.popupEl, () => this.updatePosition()), "f");
|
|
1962
1404
|
} else {
|
|
1963
1405
|
(_c = __classPrivateFieldGet(this, _Popup_cleanup, "f")) === null || _c === void 0 ? void 0 : _c.call(this);
|
|
1964
1406
|
}
|
|
1965
1407
|
}
|
|
1966
|
-
|
|
1967
1408
|
async updatePosition() {
|
|
1968
1409
|
if (!this.open || !__classPrivateFieldGet(this, _Popup_anchorEl, "f")) {
|
|
1969
1410
|
return;
|
|
1970
1411
|
}
|
|
1971
|
-
|
|
1972
1412
|
const positionData = await computePosition(__classPrivateFieldGet(this, _Popup_anchorEl, "f"), this.popupEl, {
|
|
1973
1413
|
placement: this.placement,
|
|
1974
1414
|
strategy: __classPrivateFieldGet(this, _Popup_instances, "a", _Popup_strategy_get),
|
|
1975
1415
|
middleware: __classPrivateFieldGet(this, _Popup_instances, "a", _Popup_middleware_get)
|
|
1976
1416
|
});
|
|
1977
|
-
|
|
1978
1417
|
__classPrivateFieldGet(this, _Popup_instances, "m", _Popup_assignPopupPosition).call(this, positionData);
|
|
1979
|
-
|
|
1980
1418
|
if (this.arrow) {
|
|
1981
1419
|
__classPrivateFieldGet(this, _Popup_instances, "m", _Popup_assignArrowPosition).call(this, positionData);
|
|
1982
1420
|
}
|
|
1983
1421
|
}
|
|
1984
|
-
|
|
1985
1422
|
}
|
|
1986
1423
|
_Popup_cleanup = new WeakMap(), _Popup_anchorEl = new WeakMap(), _Popup_handleKeydown = new WeakMap(), _Popup_instances = new WeakSet(), _Popup_arrowPosition_get = function _Popup_arrowPosition_get() {
|
|
1987
1424
|
return {
|
|
@@ -1998,14 +1435,12 @@ _Popup_cleanup = new WeakMap(), _Popup_anchorEl = new WeakMap(), _Popup_handleKe
|
|
|
1998
1435
|
return 'fixed';
|
|
1999
1436
|
}, _Popup_middleware_get = function _Popup_middleware_get() {
|
|
2000
1437
|
const middleware = [flip(), hide(), inline()];
|
|
2001
|
-
|
|
2002
1438
|
if (this.arrow) {
|
|
2003
1439
|
middleware.push(arrow({
|
|
2004
1440
|
element: this.arrowEl,
|
|
2005
1441
|
padding: __classPrivateFieldGet(this, _Popup_instances, "a", _Popup_padding_get)
|
|
2006
1442
|
}), offset(__classPrivateFieldGet(this, _Popup_instances, "a", _Popup_distance_get)));
|
|
2007
1443
|
}
|
|
2008
|
-
|
|
2009
1444
|
return middleware;
|
|
2010
1445
|
}, _Popup_assignPopupPosition = function _Popup_assignPopupPosition(data) {
|
|
2011
1446
|
const {
|
|
@@ -2025,9 +1460,7 @@ _Popup_cleanup = new WeakMap(), _Popup_anchorEl = new WeakMap(), _Popup_handleKe
|
|
|
2025
1460
|
x: arrowX,
|
|
2026
1461
|
y: arrowY
|
|
2027
1462
|
} = data.middlewareData.arrow;
|
|
2028
|
-
|
|
2029
1463
|
const side = __classPrivateFieldGet(this, _Popup_instances, "a", _Popup_arrowPosition_get)[data.placement.split('-')[0]];
|
|
2030
|
-
|
|
2031
1464
|
Object.assign(this.arrowEl.style, {
|
|
2032
1465
|
left: `${arrowX}px`,
|
|
2033
1466
|
top: `${arrowY}px`,
|
|
@@ -2038,42 +1471,34 @@ _Popup_cleanup = new WeakMap(), _Popup_anchorEl = new WeakMap(), _Popup_handleKe
|
|
|
2038
1471
|
}, _Popup_getAnchorById = function _Popup_getAnchorById() {
|
|
2039
1472
|
return document.getElementById(this.anchor);
|
|
2040
1473
|
};
|
|
2041
|
-
|
|
2042
1474
|
__decorate([attr({
|
|
2043
1475
|
mode: 'boolean'
|
|
2044
1476
|
}), __metadata("design:type", Object)], Popup.prototype, "open", void 0);
|
|
2045
|
-
|
|
2046
1477
|
__decorate([attr({
|
|
2047
1478
|
mode: 'boolean'
|
|
2048
1479
|
}), __metadata("design:type", Object)], Popup.prototype, "dismissible", void 0);
|
|
2049
|
-
|
|
2050
1480
|
__decorate([attr({
|
|
2051
1481
|
mode: 'boolean'
|
|
2052
1482
|
}), __metadata("design:type", Object)], Popup.prototype, "arrow", void 0);
|
|
2053
|
-
|
|
2054
1483
|
__decorate([attr({
|
|
2055
1484
|
mode: 'boolean'
|
|
2056
1485
|
}), __metadata("design:type", Object)], Popup.prototype, "alternate", void 0);
|
|
2057
|
-
|
|
2058
1486
|
__decorate([attr({
|
|
2059
1487
|
mode: 'fromView'
|
|
2060
1488
|
}), __metadata("design:type", String)], Popup.prototype, "placement", void 0);
|
|
2061
|
-
|
|
2062
1489
|
__decorate([attr, __metadata("design:type", String)], Popup.prototype, "anchor", void 0);
|
|
2063
1490
|
|
|
2064
1491
|
var css_248z = ".control {\n background: var(--vvd-color-surface-4dp);\n border-radius: inherit;\n contain: layout;\n inline-size: fit-content;\n}\n.control:not(.open) {\n display: none;\n}\n\n.popup-wrapper {\n position: fixed;\n border-radius: 6px;\n}\n\n.popup-content {\n display: grid;\n color: var(--vvd-color-canvas-text); /* neutral-100 */\n}\n.dismissible .popup-content {\n align-content: start;\n grid-template-columns: 1fr auto;\n}\n\n.arrow {\n position: absolute;\n z-index: -1;\n width: 8px;\n height: 8px;\n background: var(--vvd-color-surface-4dp);\n transform: rotate(45deg);\n}\n\n.dismissible-button {\n align-self: flex-start;\n margin-block-start: 4px;\n margin-inline-end: 4px;\n}";
|
|
2065
1492
|
|
|
2066
1493
|
let _ = t => t,
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
1494
|
+
_t,
|
|
1495
|
+
_t2,
|
|
1496
|
+
_t3;
|
|
2071
1497
|
const getClasses = ({
|
|
2072
1498
|
open,
|
|
2073
1499
|
dismissible,
|
|
2074
1500
|
alternate
|
|
2075
1501
|
}) => classNames('control', ['open', Boolean(open)], ['dismissible', Boolean(dismissible)], ['alternate', Boolean(alternate)]);
|
|
2076
|
-
|
|
2077
1502
|
const popupTemplate = () => html(_t || (_t = _`
|
|
2078
1503
|
<vwc-elevation>
|
|
2079
1504
|
<!--the popup-wrapper is needed for alternating the inside of the popup nd not its shadow-->
|