@hortiview/default-components 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +22 -0
  2. package/dist/HealthCheckFailed-BfzG8Esl.js +46 -0
  3. package/dist/Iconify-DQUxnnUE.js +81 -0
  4. package/dist/{LoadingSpinner-BxqY1o89.js → LoadingSpinner-BCdWKiWZ.js} +8 -7
  5. package/dist/assets/GenericTable.css +1 -0
  6. package/dist/{component-DsB0poTj-B4NF-JCy.js → component-DsB0poTj-CmUZ4Kqw.js} +113 -73
  7. package/dist/components/DefaultFormNumber/DefaultFormNumber.js +527 -3443
  8. package/dist/components/DefaultLoadingSpinner/DefaultLoadingSpinner.js +5 -5
  9. package/dist/components/GenericTable/GenericTable.d.ts +12 -0
  10. package/dist/components/GenericTable/GenericTable.js +29900 -0
  11. package/dist/components/HealthChecks/DataBaseHealthCheck.js +4 -4
  12. package/dist/components/HealthChecks/DefaultHealthCheck.js +6 -6
  13. package/dist/components/HealthChecks/HealthCheck.test.js +5960 -7065
  14. package/dist/components/HealthChecks/IotServiceHealthCheck.js +4 -4
  15. package/dist/components/HealthChecks/PlatformHealthCheck.js +4 -4
  16. package/dist/components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js +6 -6
  17. package/dist/components/InternationalizationWrapper/InternationalizationWrapper.js +24 -6
  18. package/dist/context-f4Bcf4Hs.js +19 -0
  19. package/dist/{i18n-DIprVS_u.js → i18n-BhmFdUcK.js} +208 -250
  20. package/dist/i18n.js +3 -2
  21. package/dist/i18nInstance-l1IFPZ5d.js +48 -0
  22. package/dist/index.es-25EARqhH-By1Ap282.js +2944 -0
  23. package/dist/{HealthCheckFailed-j1XFU5px.js → index.es-6TJ1S8Jr-BFJPMGBn.js} +224 -257
  24. package/dist/index.es-D-CKRzIB-C6Z-ohcV.js +959 -0
  25. package/dist/locales/en-US.js +10 -8
  26. package/dist/locales/en-US.json.d.ts +15 -10
  27. package/dist/locales/es-MX.js +8 -6
  28. package/dist/locales/es-MX.json.d.ts +5 -2
  29. package/dist/locales/tr-TR.js +9 -7
  30. package/dist/locales/tr-TR.json.d.ts +5 -2
  31. package/dist/main.d.ts +1 -0
  32. package/dist/main.js +14 -12
  33. package/dist/{useTranslation-Bh0VR1ML.js → useTranslation-B6E1rHIA.js} +1259 -1106
  34. package/package.json +12 -12
  35. package/dist/InternationalizationWrapper-BtWuzVFG.js +0 -41
  36. package/dist/index.es-D-CKRzIB-Cv9zF1oG.js +0 -1029
  37. /package/dist/assets/{index.css → Iconify.css} +0 -0
  38. /package/dist/assets/{i18n.css → i18nInstance.css} +0 -0
@@ -1,10 +1,42 @@
1
- import { h as T, f as b, p as v, a as E } from "./useTranslation-Bh0VR1ML.js";
2
- function I(r, i) {
3
- var t = r.matches || r.webkitMatchesSelector || r.msMatchesSelector;
4
- return t.call(r, i);
1
+ import { h as T, f as E, p as v, a as S } from "./useTranslation-B6E1rHIA.js";
2
+ /**
3
+ * @license
4
+ * Copyright 2018 Google Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in
14
+ * all copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ * THE SOFTWARE.
23
+ */
24
+ function I(n, i) {
25
+ if (n.closest)
26
+ return n.closest(i);
27
+ for (var t = n; t; ) {
28
+ if (h(t, i))
29
+ return t;
30
+ t = t.parentElement;
31
+ }
32
+ return null;
5
33
  }
6
- function V(r) {
7
- var i = r;
34
+ function h(n, i) {
35
+ var t = n.matches || n.webkitMatchesSelector || n.msMatchesSelector;
36
+ return t.call(n, i);
37
+ }
38
+ function R(n) {
39
+ var i = n;
8
40
  if (i.offsetParent !== null)
9
41
  return i.scrollWidth;
10
42
  var t = i.cloneNode(!0);
@@ -12,28 +44,34 @@ function V(r) {
12
44
  var e = t.scrollWidth;
13
45
  return document.documentElement.removeChild(t), e;
14
46
  }
47
+ const P = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
48
+ __proto__: null,
49
+ closest: I,
50
+ estimateScrollWidth: R,
51
+ matches: h
52
+ }, Symbol.toStringTag, { value: "Module" }));
15
53
  var l;
16
- function S(r, i) {
54
+ function D(n, i) {
17
55
  i === void 0 && (i = !1);
18
- var t = r.CSS, e = l;
56
+ var t = n.CSS, e = l;
19
57
  if (typeof l == "boolean" && !i)
20
58
  return l;
21
59
  var a = t && typeof t.supports == "function";
22
60
  if (!a)
23
61
  return !1;
24
- var n = t.supports("--css-vars", "yes"), o = t.supports("(--css-vars: yes)") && t.supports("color", "#00000000");
25
- return e = n || o, i || (l = e), e;
62
+ var r = t.supports("--css-vars", "yes"), o = t.supports("(--css-vars: yes)") && t.supports("color", "#00000000");
63
+ return e = r || o, i || (l = e), e;
26
64
  }
27
- function R(r, i, t) {
28
- if (!r)
65
+ function H(n, i, t) {
66
+ if (!n)
29
67
  return { x: 0, y: 0 };
30
- var e = i.x, a = i.y, n = e + t.left, o = a + t.top, s, u;
31
- if (r.type === "touchstart") {
32
- var c = r;
33
- s = c.changedTouches[0].pageX - n, u = c.changedTouches[0].pageY - o;
68
+ var e = i.x, a = i.y, r = e + t.left, o = a + t.top, s, u;
69
+ if (n.type === "touchstart") {
70
+ var c = n;
71
+ s = c.changedTouches[0].pageX - r, u = c.changedTouches[0].pageY - o;
34
72
  } else {
35
- var d = r;
36
- s = d.pageX - n, u = d.pageY - o;
73
+ var d = n;
74
+ s = d.pageX - r, u = d.pageY - o;
37
75
  }
38
76
  return { x: s, y: u };
39
77
  }
@@ -59,11 +97,11 @@ function R(r, i, t) {
59
97
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
60
98
  * THE SOFTWARE.
61
99
  */
62
- function p(r) {
63
- return r === void 0 && (r = window), D(r) ? { passive: !0 } : !1;
100
+ function p(n) {
101
+ return n === void 0 && (n = window), w(n) ? { passive: !0 } : !1;
64
102
  }
65
- function D(r) {
66
- r === void 0 && (r = window);
103
+ function w(n) {
104
+ n === void 0 && (n = window);
67
105
  var i = !1;
68
106
  try {
69
107
  var t = {
@@ -74,7 +112,7 @@ function D(r) {
74
112
  }
75
113
  }, e = function() {
76
114
  };
77
- r.document.addEventListener("test", e, t), r.document.removeEventListener("test", e, t);
115
+ n.document.addEventListener("test", e, t), n.document.removeEventListener("test", e, t);
78
116
  } catch {
79
117
  i = !1;
80
118
  }
@@ -102,7 +140,7 @@ function D(r) {
102
140
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
103
141
  * THE SOFTWARE.
104
142
  */
105
- var H = {
143
+ var O = {
106
144
  // Ripple is a special case where the "root" component is really a "mixin" of sorts,
107
145
  // given that it's an 'upgrade' to an existing component. That being said it is the root
108
146
  // CSS class that all other CSS classes derive from.
@@ -111,14 +149,14 @@ var H = {
111
149
  FG_DEACTIVATION: "mdc-ripple-upgraded--foreground-deactivation",
112
150
  ROOT: "mdc-ripple-upgraded",
113
151
  UNBOUNDED: "mdc-ripple-upgraded--unbounded"
114
- }, w = {
152
+ }, F = {
115
153
  VAR_FG_SCALE: "--mdc-ripple-fg-scale",
116
154
  VAR_FG_SIZE: "--mdc-ripple-fg-size",
117
155
  VAR_FG_TRANSLATE_END: "--mdc-ripple-fg-translate-end",
118
156
  VAR_FG_TRANSLATE_START: "--mdc-ripple-fg-translate-start",
119
157
  VAR_LEFT: "--mdc-ripple-left",
120
158
  VAR_TOP: "--mdc-ripple-top"
121
- }, A = {
159
+ }, y = {
122
160
  DEACTIVATION_TIMEOUT_MS: 225,
123
161
  FG_DEACTIVATION_MS: 150,
124
162
  INITIAL_ORIGIN_SCALE: 0.6,
@@ -148,7 +186,7 @@ var H = {
148
186
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
149
187
  * THE SOFTWARE.
150
188
  */
151
- var y = [
189
+ var b = [
152
190
  "touchstart",
153
191
  "pointerdown",
154
192
  "mousedown",
@@ -158,12 +196,12 @@ var y = [
158
196
  "pointerup",
159
197
  "mouseup",
160
198
  "contextmenu"
161
- ], f = [], O = (
199
+ ], f = [], V = (
162
200
  /** @class */
163
- function(r) {
164
- T(i, r);
201
+ function(n) {
202
+ T(i, n);
165
203
  function i(t) {
166
- var e = r.call(this, v(v({}, i.defaultAdapter), t)) || this;
204
+ var e = n.call(this, v(v({}, i.defaultAdapter), t)) || this;
167
205
  return e.activationAnimationHasEnded_ = !1, e.activationTimer_ = 0, e.fgDeactivationRemovalTimer_ = 0, e.fgScale_ = "0", e.frame_ = { width: 0, height: 0 }, e.initialSize_ = 0, e.layoutFrame_ = 0, e.maxRadius_ = 0, e.unboundedCoords_ = { left: 0, top: 0 }, e.activationState_ = e.defaultActivationState_(), e.activationTimerCallback_ = function() {
168
206
  e.activationAnimationHasEnded_ = !0, e.runDeactivationUXLogicIfReady_();
169
207
  }, e.activateHandler_ = function(a) {
@@ -180,19 +218,19 @@ var y = [
180
218
  }
181
219
  return Object.defineProperty(i, "cssClasses", {
182
220
  get: function() {
183
- return H;
221
+ return O;
184
222
  },
185
223
  enumerable: !1,
186
224
  configurable: !0
187
225
  }), Object.defineProperty(i, "strings", {
188
226
  get: function() {
189
- return w;
227
+ return F;
190
228
  },
191
229
  enumerable: !1,
192
230
  configurable: !0
193
231
  }), Object.defineProperty(i, "numbers", {
194
232
  get: function() {
195
- return A;
233
+ return y;
196
234
  },
197
235
  enumerable: !1,
198
236
  configurable: !0
@@ -245,18 +283,18 @@ var y = [
245
283
  }), i.prototype.init = function() {
246
284
  var t = this, e = this.supportsPressRipple_();
247
285
  if (this.registerRootHandlers_(e), e) {
248
- var a = i.cssClasses, n = a.ROOT, o = a.UNBOUNDED;
286
+ var a = i.cssClasses, r = a.ROOT, o = a.UNBOUNDED;
249
287
  requestAnimationFrame(function() {
250
- t.adapter.addClass(n), t.adapter.isUnbounded() && (t.adapter.addClass(o), t.layoutInternal_());
288
+ t.adapter.addClass(r), t.adapter.isUnbounded() && (t.adapter.addClass(o), t.layoutInternal_());
251
289
  });
252
290
  }
253
291
  }, i.prototype.destroy = function() {
254
292
  var t = this;
255
293
  if (this.supportsPressRipple_()) {
256
294
  this.activationTimer_ && (clearTimeout(this.activationTimer_), this.activationTimer_ = 0, this.adapter.removeClass(i.cssClasses.FG_ACTIVATION)), this.fgDeactivationRemovalTimer_ && (clearTimeout(this.fgDeactivationRemovalTimer_), this.fgDeactivationRemovalTimer_ = 0, this.adapter.removeClass(i.cssClasses.FG_DEACTIVATION));
257
- var e = i.cssClasses, a = e.ROOT, n = e.UNBOUNDED;
295
+ var e = i.cssClasses, a = e.ROOT, r = e.UNBOUNDED;
258
296
  requestAnimationFrame(function() {
259
- t.adapter.removeClass(a), t.adapter.removeClass(n), t.removeCssVars_();
297
+ t.adapter.removeClass(a), t.adapter.removeClass(r), t.removeCssVars_();
260
298
  });
261
299
  }
262
300
  this.deregisterRootHandlers_(), this.deregisterDeactivationHandlers_();
@@ -295,7 +333,7 @@ var y = [
295
333
  };
296
334
  }, i.prototype.registerRootHandlers_ = function(t) {
297
335
  var e = this;
298
- t && (y.forEach(function(a) {
336
+ t && (b.forEach(function(a) {
299
337
  e.adapter.registerInteractionHandler(a, e.activateHandler_);
300
338
  }), this.adapter.isUnbounded() && this.adapter.registerResizeHandler(this.resizeHandler_)), this.adapter.registerInteractionHandler("focus", this.focusHandler_), this.adapter.registerInteractionHandler("blur", this.blurHandler_);
301
339
  }, i.prototype.registerDeactivationHandlers_ = function(t) {
@@ -305,7 +343,7 @@ var y = [
305
343
  });
306
344
  }, i.prototype.deregisterRootHandlers_ = function() {
307
345
  var t = this;
308
- y.forEach(function(e) {
346
+ b.forEach(function(e) {
309
347
  t.adapter.deregisterInteractionHandler(e, t.activateHandler_);
310
348
  }), this.adapter.deregisterInteractionHandler("focus", this.focusHandler_), this.adapter.deregisterInteractionHandler("blur", this.blurHandler_), this.adapter.isUnbounded() && this.adapter.deregisterResizeHandler(this.resizeHandler_);
311
349
  }, i.prototype.deregisterDeactivationHandlers_ = function() {
@@ -315,15 +353,15 @@ var y = [
315
353
  });
316
354
  }, i.prototype.removeCssVars_ = function() {
317
355
  var t = this, e = i.strings, a = Object.keys(e);
318
- a.forEach(function(n) {
319
- n.indexOf("VAR_") === 0 && t.adapter.updateCssVariable(e[n], null);
356
+ a.forEach(function(r) {
357
+ r.indexOf("VAR_") === 0 && t.adapter.updateCssVariable(e[r], null);
320
358
  });
321
359
  }, i.prototype.activate_ = function(t) {
322
360
  var e = this;
323
361
  if (!this.adapter.isSurfaceDisabled()) {
324
362
  var a = this.activationState_;
325
363
  if (!a.isActivated) {
326
- var n = this.previousActivationEvent_, o = n && t !== void 0 && n.type !== t.type;
364
+ var r = this.previousActivationEvent_, o = r && t !== void 0 && r.type !== t.type;
327
365
  if (!o) {
328
366
  a.isActivated = !0, a.isProgrammatic = t === void 0, a.activationEvent = t, a.wasActivatedByPointer = a.isProgrammatic ? !1 : t !== void 0 && (t.type === "mousedown" || t.type === "touchstart" || t.type === "pointerdown");
329
367
  var s = t !== void 0 && f.length > 0 && f.some(function(u) {
@@ -342,35 +380,35 @@ var y = [
342
380
  }, i.prototype.checkElementMadeActive_ = function(t) {
343
381
  return t !== void 0 && t.type === "keydown" ? this.adapter.isSurfaceActive() : !0;
344
382
  }, i.prototype.animateActivation_ = function() {
345
- var t = this, e = i.strings, a = e.VAR_FG_TRANSLATE_START, n = e.VAR_FG_TRANSLATE_END, o = i.cssClasses, s = o.FG_DEACTIVATION, u = o.FG_ACTIVATION, c = i.numbers.DEACTIVATION_TIMEOUT_MS;
383
+ var t = this, e = i.strings, a = e.VAR_FG_TRANSLATE_START, r = e.VAR_FG_TRANSLATE_END, o = i.cssClasses, s = o.FG_DEACTIVATION, u = o.FG_ACTIVATION, c = i.numbers.DEACTIVATION_TIMEOUT_MS;
346
384
  this.layoutInternal_();
347
- var d = "", h = "";
385
+ var d = "", _ = "";
348
386
  if (!this.adapter.isUnbounded()) {
349
- var _ = this.getFgTranslationCoordinates_(), m = _.startPoint, g = _.endPoint;
350
- d = m.x + "px, " + m.y + "px", h = g.x + "px, " + g.y + "px";
387
+ var m = this.getFgTranslationCoordinates_(), g = m.startPoint, A = m.endPoint;
388
+ d = g.x + "px, " + g.y + "px", _ = A.x + "px, " + A.y + "px";
351
389
  }
352
- this.adapter.updateCssVariable(a, d), this.adapter.updateCssVariable(n, h), clearTimeout(this.activationTimer_), clearTimeout(this.fgDeactivationRemovalTimer_), this.rmBoundedActivationClasses_(), this.adapter.removeClass(s), this.adapter.computeBoundingRect(), this.adapter.addClass(u), this.activationTimer_ = setTimeout(function() {
390
+ this.adapter.updateCssVariable(a, d), this.adapter.updateCssVariable(r, _), clearTimeout(this.activationTimer_), clearTimeout(this.fgDeactivationRemovalTimer_), this.rmBoundedActivationClasses_(), this.adapter.removeClass(s), this.adapter.computeBoundingRect(), this.adapter.addClass(u), this.activationTimer_ = setTimeout(function() {
353
391
  return t.activationTimerCallback_();
354
392
  }, c);
355
393
  }, i.prototype.getFgTranslationCoordinates_ = function() {
356
- var t = this.activationState_, e = t.activationEvent, a = t.wasActivatedByPointer, n;
357
- a ? n = R(e, this.adapter.getWindowPageOffset(), this.adapter.computeBoundingRect()) : n = {
394
+ var t = this.activationState_, e = t.activationEvent, a = t.wasActivatedByPointer, r;
395
+ a ? r = H(e, this.adapter.getWindowPageOffset(), this.adapter.computeBoundingRect()) : r = {
358
396
  x: this.frame_.width / 2,
359
397
  y: this.frame_.height / 2
360
- }, n = {
361
- x: n.x - this.initialSize_ / 2,
362
- y: n.y - this.initialSize_ / 2
398
+ }, r = {
399
+ x: r.x - this.initialSize_ / 2,
400
+ y: r.y - this.initialSize_ / 2
363
401
  };
364
402
  var o = {
365
403
  x: this.frame_.width / 2 - this.initialSize_ / 2,
366
404
  y: this.frame_.height / 2 - this.initialSize_ / 2
367
405
  };
368
- return { startPoint: n, endPoint: o };
406
+ return { startPoint: r, endPoint: o };
369
407
  }, i.prototype.runDeactivationUXLogicIfReady_ = function() {
370
- var t = this, e = i.cssClasses.FG_DEACTIVATION, a = this.activationState_, n = a.hasDeactivationUXRun, o = a.isActivated, s = n || !o;
408
+ var t = this, e = i.cssClasses.FG_DEACTIVATION, a = this.activationState_, r = a.hasDeactivationUXRun, o = a.isActivated, s = r || !o;
371
409
  s && this.activationAnimationHasEnded_ && (this.rmBoundedActivationClasses_(), this.adapter.addClass(e), this.fgDeactivationRemovalTimer_ = setTimeout(function() {
372
410
  t.adapter.removeClass(e);
373
- }, A.FG_DEACTIVATION_MS));
411
+ }, y.FG_DEACTIVATION_MS));
374
412
  }, i.prototype.rmBoundedActivationClasses_ = function() {
375
413
  var t = i.cssClasses.FG_ACTIVATION;
376
414
  this.adapter.removeClass(t), this.activationAnimationHasEnded_ = !1, this.adapter.computeBoundingRect();
@@ -400,16 +438,16 @@ var y = [
400
438
  return o + i.numbers.PADDING;
401
439
  };
402
440
  this.maxRadius_ = this.adapter.isUnbounded() ? e : a();
403
- var n = Math.floor(e * i.numbers.INITIAL_ORIGIN_SCALE);
404
- this.adapter.isUnbounded() && n % 2 !== 0 ? this.initialSize_ = n - 1 : this.initialSize_ = n, this.fgScale_ = "" + this.maxRadius_ / this.initialSize_, this.updateLayoutCssVars_();
441
+ var r = Math.floor(e * i.numbers.INITIAL_ORIGIN_SCALE);
442
+ this.adapter.isUnbounded() && r % 2 !== 0 ? this.initialSize_ = r - 1 : this.initialSize_ = r, this.fgScale_ = "" + this.maxRadius_ / this.initialSize_, this.updateLayoutCssVars_();
405
443
  }, i.prototype.updateLayoutCssVars_ = function() {
406
- var t = i.strings, e = t.VAR_FG_SIZE, a = t.VAR_LEFT, n = t.VAR_TOP, o = t.VAR_FG_SCALE;
444
+ var t = i.strings, e = t.VAR_FG_SIZE, a = t.VAR_LEFT, r = t.VAR_TOP, o = t.VAR_FG_SCALE;
407
445
  this.adapter.updateCssVariable(e, this.initialSize_ + "px"), this.adapter.updateCssVariable(o, this.fgScale_), this.adapter.isUnbounded() && (this.unboundedCoords_ = {
408
446
  left: Math.round(this.frame_.width / 2 - this.initialSize_ / 2),
409
447
  top: Math.round(this.frame_.height / 2 - this.initialSize_ / 2)
410
- }, this.adapter.updateCssVariable(a, this.unboundedCoords_.left + "px"), this.adapter.updateCssVariable(n, this.unboundedCoords_.top + "px"));
448
+ }, this.adapter.updateCssVariable(a, this.unboundedCoords_.left + "px"), this.adapter.updateCssVariable(r, this.unboundedCoords_.top + "px"));
411
449
  }, i;
412
- }(E)
450
+ }(S)
413
451
  );
414
452
  /**
415
453
  * @license
@@ -433,12 +471,12 @@ var y = [
433
471
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
434
472
  * THE SOFTWARE.
435
473
  */
436
- var U = (
474
+ var N = (
437
475
  /** @class */
438
- function(r) {
439
- T(i, r);
476
+ function(n) {
477
+ T(i, n);
440
478
  function i() {
441
- var t = r !== null && r.apply(this, arguments) || this;
479
+ var t = n !== null && n.apply(this, arguments) || this;
442
480
  return t.disabled = !1, t;
443
481
  }
444
482
  return i.attachTo = function(t, e) {
@@ -451,7 +489,7 @@ var U = (
451
489
  return t.root.classList.add(e);
452
490
  },
453
491
  browserSupportsCssVars: function() {
454
- return S(window);
492
+ return D(window);
455
493
  },
456
494
  computeBoundingRect: function() {
457
495
  return t.root.getBoundingClientRect();
@@ -472,7 +510,7 @@ var U = (
472
510
  return { x: window.pageXOffset, y: window.pageYOffset };
473
511
  },
474
512
  isSurfaceActive: function() {
475
- return I(t.root, ":active");
513
+ return h(t.root, ":active");
476
514
  },
477
515
  isSurfaceDisabled: function() {
478
516
  return !!t.disabled;
@@ -512,19 +550,21 @@ var U = (
512
550
  }, i.prototype.layout = function() {
513
551
  this.foundation.layout();
514
552
  }, i.prototype.getDefaultFoundation = function() {
515
- return new O(i.createAdapter(this));
553
+ return new V(i.createAdapter(this));
516
554
  }, i.prototype.initialSyncWithDOM = function() {
517
555
  var t = this.root;
518
556
  this.unbounded = "mdcRippleIsUnbounded" in t.dataset;
519
557
  }, i.prototype.setUnbounded_ = function() {
520
558
  this.foundation.setUnbounded(!!this.unbounded_);
521
559
  }, i;
522
- }(b)
560
+ }(E)
523
561
  );
524
562
  export {
525
- V as D,
526
- O,
527
- U,
528
- I as _,
563
+ R as D,
564
+ P as M,
565
+ V as O,
566
+ N as U,
567
+ h as _,
568
+ I as b,
529
569
  p
530
570
  };