@gobolt/genesis 0.0.8 → 0.0.9

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 (170) hide show
  1. package/README.md +10 -0
  2. package/dist/{AntdIcon-c395a1c4.js → AntdIcon-BoLh1dP8.js} +66 -68
  3. package/dist/CheckOutlined-CeTKr6II.js +13 -0
  4. package/dist/{CloseCircleFilled-ddc51e7e.js → CloseCircleFilled-DXCxlIQL.js} +8 -11
  5. package/dist/{CloseOutlined-14b8bba1.js → CloseOutlined-ClXDNn82.js} +9 -12
  6. package/dist/{Compact-c39ed20d.js → Compact-CGY560JF.js} +63 -65
  7. package/dist/ContextIsolator-D5x2Ih51.js +20 -0
  8. package/dist/{ExclamationCircleFilled-23ef9812.js → ExclamationCircleFilled-C0Kj5KQV.js} +16 -22
  9. package/dist/KeyCode-DM2sFh3-.js +517 -0
  10. package/dist/LoadingOutlined-8EnJdZ7I.js +13 -0
  11. package/dist/{Overflow-a570fa69.js → Overflow-PBZD-PFm.js} +63 -64
  12. package/dist/{DownOutlined-64a4732a.js → PurePanel-BqPLRtc2.js} +67 -70
  13. package/dist/{SearchOutlined-a9014e08.js → SearchOutlined-BP3Z2K6j.js} +8 -11
  14. package/dist/{TextArea-20825221.js → TextArea-DKwCct3i.js} +583 -588
  15. package/dist/Typography-aGoDUl4R.js +710 -0
  16. package/dist/bundle.css +1204 -0
  17. package/dist/{button-fa1c119c.js → button-CDQgO1OK.js} +274 -278
  18. package/dist/{collapse-345bc884.js → collapse-Dtpt-6W_.js} +2 -2
  19. package/dist/compact-item-DH13cl8A.js +61 -0
  20. package/dist/components/Badge/Badge.d.ts +2 -2
  21. package/dist/components/Badge/Badge.js +63 -62
  22. package/dist/components/Badge/__tests__/Badge.test.js +11 -65
  23. package/dist/components/Badge/index.js +2 -21
  24. package/dist/components/Badge/styles.js +7 -8
  25. package/dist/components/Breadcrumb/Breadcrumb.js +8 -24
  26. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +21 -7
  27. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +13 -60
  28. package/dist/components/Breadcrumb/index.js +2 -25
  29. package/dist/components/Breadcrumb/styles.d.ts +10 -6
  30. package/dist/components/Breadcrumb/styles.js +787 -808
  31. package/dist/components/Button/Button.d.ts +6 -4
  32. package/dist/components/Button/Button.js +20 -40
  33. package/dist/components/Button/__tests__/Button.test.js +9 -54
  34. package/dist/components/Button/index.js +2 -20
  35. package/dist/components/Button/styles.d.ts +9 -5
  36. package/dist/components/Button/styles.js +19 -30
  37. package/dist/components/Checkbox/Checkbox.js +8 -38
  38. package/dist/components/Checkbox/__tests__/Checkbox.test.js +16 -62
  39. package/dist/components/Checkbox/index.js +2 -47
  40. package/dist/components/Checkbox/styles.d.ts +8 -1
  41. package/dist/components/Checkbox/styles.js +181 -188
  42. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.d.ts +2 -4
  43. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +19 -51
  44. package/dist/components/ErrorBoundaryFallback/index.d.ts +1 -0
  45. package/dist/components/ErrorBoundaryFallback/index.js +2 -49
  46. package/dist/components/ErrorBoundaryFallback/styles.d.ts +1 -3
  47. package/dist/components/ErrorBoundaryFallback/styles.js +34 -37
  48. package/dist/components/Form/Form.d.ts +18 -5
  49. package/dist/components/Form/Form.js +4 -45
  50. package/dist/components/Form/__stories__/FormStory.js +44 -81
  51. package/dist/components/Form/__tests__/form.test.d.ts +1 -0
  52. package/dist/components/Form/__tests__/form.test.js +18 -0
  53. package/dist/components/Form/index.js +2 -46
  54. package/dist/components/Form/styles.d.ts +3 -0
  55. package/dist/components/Form/styles.js +5 -0
  56. package/dist/components/Input/Input.js +6 -29
  57. package/dist/components/Input/__tests__/Input.test.js +21 -66
  58. package/dist/components/Input/index.js +2 -29
  59. package/dist/components/Input/styles.d.ts +5 -2
  60. package/dist/components/Input/styles.js +319 -332
  61. package/dist/components/Message/Message.d.ts +4 -4
  62. package/dist/components/Message/Message.js +53 -80
  63. package/dist/components/Message/__tests__/Message.test.js +24 -70
  64. package/dist/components/Message/index.js +2 -48
  65. package/dist/components/Message/styles.d.ts +4 -1
  66. package/dist/components/Message/styles.js +24 -18
  67. package/dist/components/Notification/Notification.d.ts +11 -10
  68. package/dist/components/Notification/Notification.js +306 -372
  69. package/dist/components/Notification/NotificationRightChevron.d.ts +2 -0
  70. package/dist/components/Notification/NotificationRightChevron.js +23 -0
  71. package/dist/components/Notification/__tests__/Notification.test.js +8 -69
  72. package/dist/components/Notification/index.js +2 -59
  73. package/dist/components/Notification/styles.d.ts +13 -3
  74. package/dist/components/Notification/styles.js +36 -20
  75. package/dist/components/Radio/Radio.js +20 -106
  76. package/dist/components/Radio/RadioGroup.js +18 -71
  77. package/dist/components/Radio/__stories__/RadioGroup.stories.d.ts +1 -1
  78. package/dist/components/Radio/__tests__/RadioGroup.test.js +15 -70
  79. package/dist/components/Radio/index.d.ts +1 -1
  80. package/dist/components/Radio/index.js +2 -56
  81. package/dist/components/Select/DropdownChevron.d.ts +2 -0
  82. package/dist/components/Select/DropdownChevron.js +23 -0
  83. package/dist/components/Select/Select.d.ts +9 -4
  84. package/dist/components/Select/Select.js +29 -41
  85. package/dist/components/Select/__tests__/Select.test.js +10752 -93
  86. package/dist/components/Select/index.js +2 -28
  87. package/dist/components/Select/styles.d.ts +20 -6
  88. package/dist/components/Select/styles.js +1381 -1370
  89. package/dist/components/Toast/Toast.d.ts +4 -4
  90. package/dist/components/Toast/Toast.js +8 -37
  91. package/dist/components/Toast/__stories__/Toast.stories.d.ts +1 -0
  92. package/dist/components/Toast/__tests__/Toast.test.js +10 -55
  93. package/dist/components/Toast/index.js +2 -46
  94. package/dist/components/Toast/styles.d.ts +6 -1
  95. package/dist/components/Toast/styles.js +36 -21
  96. package/dist/components/Typography/Typography.d.ts +7 -4
  97. package/dist/components/Typography/Typography.js +2 -42
  98. package/dist/components/Typography/__stories__/Typography.stories.d.ts +1 -0
  99. package/dist/components/Typography/__tests__/Typography.test.js +19 -56
  100. package/dist/components/Typography/index.js +2 -46
  101. package/dist/components/Typography/styles.d.ts +18 -4
  102. package/dist/components/Typography/styles.js +36 -43
  103. package/dist/components/index.d.ts +13 -5
  104. package/dist/components/index.js +24 -70
  105. package/dist/{context-3b8a39af.js → context-BMW3aJEf.js} +538 -548
  106. package/dist/genesis/GenesisThemeBreakdown.js +38 -55
  107. package/dist/genesis/GenesisThemeDemo.js +3 -53
  108. package/dist/genesis/styles.d.ts +6 -2
  109. package/dist/genesis/styles.js +496 -521
  110. package/dist/{index-e2b72ca8.js → index-1CBpubM3.js} +97 -102
  111. package/dist/index-BZAhCB_K.js +97 -0
  112. package/dist/{index-501fc13d.js → index-C0SmxWLS.js} +367 -392
  113. package/dist/index-C8haFnXI.js +1112 -0
  114. package/dist/index-CfDY25LP.js +873 -0
  115. package/dist/index-DPW8XdWj.js +952 -0
  116. package/dist/{index-8c8d2d0c.js → index-bKlRxQp4.js} +114 -114
  117. package/dist/index-oK7z6jnz.js +22795 -0
  118. package/dist/index.d.ts +1 -0
  119. package/dist/index.js +31 -77
  120. package/dist/{isVisible-729780f5.js → isVisible-A-IfeFoT.js} +67 -94
  121. package/dist/{magic-string.es-b7491176.js → magic-string.es-D2FWSwU3.js} +56 -103
  122. package/dist/{pickAttrs-00ba4687.js → pickAttrs-B0YTfcV1.js} +1 -1
  123. package/dist/providers/GenesisProvider.d.ts +0 -5
  124. package/dist/providers/GenesisProvider.js +9 -59
  125. package/dist/providers/ThemeProvider.d.ts +1 -2
  126. package/dist/providers/ThemeProvider.js +11 -13
  127. package/dist/providers/ToastProvider.d.ts +11 -4
  128. package/dist/providers/ToastProvider.js +10 -39
  129. package/dist/providers/index.d.ts +2 -3
  130. package/dist/providers/index.js +4 -51
  131. package/dist/providers/useGenesis.d.ts +7 -0
  132. package/dist/providers/useGenesis.js +6 -0
  133. package/dist/setup-BvfREoHl.js +33891 -0
  134. package/dist/{styled-components.browser.esm-02f500bc.js → styled-components.browser.esm-CZ1XM4o4.js} +72 -134
  135. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +15 -45
  136. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +15 -45
  137. package/dist/styles/design-tokens/{typography → typography-tokens}/TypographyTokens.stories.d.ts +1 -0
  138. package/dist/styles/design-tokens/variables.d.ts +10 -10
  139. package/dist/styles/design-tokens/variables.js +1 -1
  140. package/dist/styles/global-styles.d.ts +1 -0
  141. package/dist/styles/global-styles.js +14 -31
  142. package/dist/styles/theme/genesis-theme.js +257 -212
  143. package/dist/styles/theme/genesis-theme.types.d.ts +46 -0
  144. package/dist/styles/theme/index.js +4 -5
  145. package/dist/styles-CT_fyXBd.js +1808 -0
  146. package/dist/test/setup.js +3 -46
  147. package/dist/useLocale-DT-z_vQ6.js +16 -0
  148. package/dist/useVariants-DvhXfgJY.js +30 -0
  149. package/dist/utils/isAllEnglishString.js +1 -2
  150. package/dist/{presets-83ccb923.js → warning-C63HNL9U.js} +358 -356
  151. package/package.json +35 -35
  152. package/dist/CheckOutlined-52d9ac25.js +0 -29
  153. package/dist/ContextIsolator-b09b2c52.js +0 -20
  154. package/dist/EllipsisOutlined-60122660.js +0 -1115
  155. package/dist/InfoCircleFilled-c5f90c20.js +0 -16
  156. package/dist/RightOutlined-83515eb4.js +0 -16
  157. package/dist/compact-item-b8f85aa6.js +0 -75
  158. package/dist/index-0a886e53.js +0 -100
  159. package/dist/index-0b9ee239.js +0 -955
  160. package/dist/index-1a33c134.js +0 -1389
  161. package/dist/index-4003d75b.js +0 -3748
  162. package/dist/index-89035ea5.js +0 -3242
  163. package/dist/providers/ToastWrapper.d.ts +0 -7
  164. package/dist/providers/ToastWrapper.js +0 -56
  165. package/dist/setup-aaca7b6f.js +0 -21158
  166. package/dist/styles/theme/global-styles.d.ts +0 -1
  167. package/dist/styles/theme/global-styles.js +0 -36
  168. package/dist/useVariants-a0d64298.js +0 -30
  169. /package/dist/{presetColors-ccf8cb4c.js → presetColors-Cl8UP3Nw.js} +0 -0
  170. /package/dist/{reactNode-f4391605.js → reactNode-sKPeiqPL.js} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './components';
2
2
  export * from './providers';
3
3
  export { default as GENESIS } from './constants';
4
+ export { GlobalStyles } from './styles/global-styles';
package/dist/index.js CHANGED
@@ -1,79 +1,33 @@
1
- import { default as oo } from "./components/Button/Button.js";
2
- import { default as to } from "./components/Checkbox/Checkbox.js";
3
- import { default as mo } from "./components/ErrorBoundaryFallback/ErrorBoundaryFallback.js";
4
- import { F as eo, a as ao, T as so, u as fo } from "./index-89035ea5.js";
5
- import { default as xo } from "./components/Input/Input.js";
6
- import { default as no } from "./components/Select/Select.js";
7
- import { default as Bo } from "./components/Badge/Badge.js";
8
- import { GenesisProvider as co, useGenesis as ho } from "./providers/GenesisProvider.js";
9
- import { useBreakpoint as yo, useGenesisTheme as Eo } from "./providers/ThemeProvider.js";
10
- import { default as So } from "./constants/index.js";
11
- import "react/jsx-runtime";
12
- import "./components/Button/styles.js";
13
- import "./styled-components.browser.esm-02f500bc.js";
14
- import "react";
15
- import "./button-fa1c119c.js";
16
- import "./presets-83ccb923.js";
17
- import "./isVisible-729780f5.js";
18
- import "./index-4003d75b.js";
19
- import "react-dom";
20
- import "./index-e2b72ca8.js";
21
- import "./reactNode-f4391605.js";
22
- import "./Compact-c39ed20d.js";
23
- import "./presetColors-ccf8cb4c.js";
24
- import "./compact-item-b8f85aa6.js";
25
- import "./AntdIcon-c395a1c4.js";
26
- import "./components/Checkbox/styles.js";
27
- import "./context-3b8a39af.js";
28
- import "./components/ErrorBoundaryFallback/styles.js";
29
- import "./ExclamationCircleFilled-23ef9812.js";
30
- import "./CloseCircleFilled-ddc51e7e.js";
31
- import "./components/Input/styles.js";
32
- import "./TextArea-20825221.js";
33
- import "./index-8c8d2d0c.js";
34
- import "./useVariants-a0d64298.js";
35
- import "./ContextIsolator-b09b2c52.js";
36
- import "./pickAttrs-00ba4687.js";
37
- import "./SearchOutlined-a9014e08.js";
38
- import "./components/Select/styles.js";
39
- import "./index-1a33c134.js";
40
- import "./Overflow-a570fa69.js";
41
- import "./DownOutlined-64a4732a.js";
42
- import "./CheckOutlined-52d9ac25.js";
43
- import "./CloseOutlined-14b8bba1.js";
44
- import "./components/Badge/styles.js";
45
- import "./components/Toast/styles.js";
46
- import "./index-0a886e53.js";
47
- import "./components/Typography/styles.js";
48
- import "./index-501fc13d.js";
49
- import "./index-0b9ee239.js";
50
- import "./InfoCircleFilled-c5f90c20.js";
51
- import "./collapse-345bc884.js";
52
- import "./components/Badge/icons/Appointment.js";
53
- import "./components/Badge/icons/ASN.js";
54
- import "./components/Badge/icons/Inventory.js";
55
- import "./components/Badge/icons/Parcel.js";
56
- import "./components/Badge/icons/Product.js";
57
- import "./components/Badge/icons/Route.js";
58
- import "./components/Badge/icons/Shipment.js";
59
- import "./components/Badge/icons/ShoppingCart.js";
60
- import "./components/Badge/icons/System.js";
61
- import "./styles/theme/genesis-theme.js";
62
- import "./styles/design-tokens/variables.js";
1
+ import { default as r } from "./components/Badge/Badge.js";
2
+ import { default as t } from "./components/Breadcrumb/Breadcrumb.js";
3
+ import { default as s } from "./components/Button/Button.js";
4
+ import { default as u } from "./components/Checkbox/Checkbox.js";
5
+ import { default as d } from "./components/ErrorBoundaryFallback/ErrorBoundaryFallback.js";
6
+ import { F as x, T as i, a as n, u as c } from "./Typography-aGoDUl4R.js";
7
+ import { default as b } from "./components/Input/Input.js";
8
+ import { default as B } from "./components/Message/Message.js";
9
+ import { default as g } from "./components/Notification/Notification.js";
10
+ import { default as F } from "./components/Radio/RadioGroup.js";
11
+ import { default as h } from "./components/Select/Select.js";
12
+ import { GenesisProvider as I } from "./providers/GenesisProvider.js";
13
+ import { default as v } from "./constants/index.js";
14
+ import { GlobalStyles as M } from "./styles/global-styles.js";
63
15
  export {
64
- Bo as Badge,
65
- oo as Button,
66
- to as Checkbox,
67
- mo as ErrorBoundaryFallback,
68
- eo as Form,
69
- So as GENESIS,
70
- co as GenesisProvider,
71
- xo as Input,
72
- no as Select,
73
- ao as Toast,
74
- so as Typography,
75
- yo as useBreakpoint,
76
- ho as useGenesis,
77
- Eo as useGenesisTheme,
78
- fo as useToast
16
+ r as Badge,
17
+ t as Breadcrumb,
18
+ s as Button,
19
+ u as Checkbox,
20
+ d as ErrorBoundaryFallback,
21
+ x as Form,
22
+ v as GENESIS,
23
+ I as GenesisProvider,
24
+ M as GlobalStyles,
25
+ b as Input,
26
+ B as Message,
27
+ g as Notification,
28
+ F as RadioGroup,
29
+ h as Select,
30
+ i as Toast,
31
+ n as Typography,
32
+ c as useGenesis
79
33
  };
@@ -1,31 +1,25 @@
1
- import { i as Z, u as W, b as q, c as z } from "./index-4003d75b.js";
1
+ import { i as Z, u as W, b as q, c as z } from "./index-oK7z6jnz.js";
2
2
  import $ from "react";
3
- import { f as D, d as H } from "./presets-83ccb923.js";
3
+ import { f as D, d as H } from "./warning-C63HNL9U.js";
4
4
  function J(i) {
5
5
  var c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, f = [];
6
6
  return $.Children.forEach(i, function(u) {
7
7
  u == null && !c.keepEmpty || (Array.isArray(u) ? f = f.concat(J(u)) : Z(u) && u.props ? f = f.concat(J(u.props.children, c)) : f.push(u));
8
8
  }), f;
9
9
  }
10
- function ot(i, c) {
11
- var f = Object.assign({}, i);
12
- return Array.isArray(c) && c.forEach(function(u) {
13
- delete f[u];
14
- }), f;
15
- }
16
10
  function B(i) {
17
11
  return i !== void 0;
18
12
  }
19
- function at(i, c) {
20
- var f = c || {}, u = f.defaultValue, h = f.value, m = f.onChange, p = f.postState, x = W(function() {
21
- return B(h) ? h : B(u) ? typeof u == "function" ? u() : u : typeof i == "function" ? i() : i;
22
- }), d = D(x, 2), l = d[0], G = d[1], E = h !== void 0 ? h : l, A = p ? p(E) : E, C = q(m), T = W([E]), L = D(T, 2), g = L[0], P = L[1];
13
+ function ot(i, c) {
14
+ var f = c || {}, u = f.defaultValue, l = f.value, m = f.onChange, p = f.postState, x = W(function() {
15
+ return B(l) ? l : B(u) ? typeof u == "function" ? u() : u : typeof i == "function" ? i() : i;
16
+ }), d = D(x, 2), h = d[0], G = d[1], E = l !== void 0 ? l : h, A = p ? p(E) : E, C = q(m), T = W([E]), L = D(T, 2), g = L[0], P = L[1];
23
17
  z(function() {
24
18
  var w = g[0];
25
- l !== w && C(l, w);
19
+ h !== w && C(h, w);
26
20
  }, [g]), z(function() {
27
- B(h) || G(h);
28
- }, [h]);
21
+ B(l) || G(l);
22
+ }, [l]);
29
23
  var j = q(function(w, k) {
30
24
  G(w, k), P([E], k);
31
25
  });
@@ -35,10 +29,10 @@ function tt() {
35
29
  tt = function() {
36
30
  return c;
37
31
  };
38
- var i, c = {}, f = Object.prototype, u = f.hasOwnProperty, h = Object.defineProperty || function(r, t, e) {
32
+ var i, c = {}, f = Object.prototype, u = f.hasOwnProperty, l = Object.defineProperty || function(r, t, e) {
39
33
  r[t] = e.value;
40
34
  }, m = typeof Symbol == "function" ? Symbol : {}, p = m.iterator || "@@iterator", x = m.asyncIterator || "@@asyncIterator", d = m.toStringTag || "@@toStringTag";
41
- function l(r, t, e) {
35
+ function h(r, t, e) {
42
36
  return Object.defineProperty(r, t, {
43
37
  value: e,
44
38
  enumerable: !0,
@@ -47,15 +41,15 @@ function tt() {
47
41
  }), r[t];
48
42
  }
49
43
  try {
50
- l({}, "");
44
+ h({}, "");
51
45
  } catch {
52
- l = function(e, n, a) {
46
+ h = function(e, n, a) {
53
47
  return e[n] = a;
54
48
  };
55
49
  }
56
50
  function G(r, t, e, n) {
57
51
  var a = t && t.prototype instanceof P ? t : P, o = Object.create(a.prototype), s = new M(n || []);
58
- return h(o, "_invoke", {
52
+ return l(o, "_invoke", {
59
53
  value: Q(r, e, s)
60
54
  }), o;
61
55
  }
@@ -81,7 +75,7 @@ function tt() {
81
75
  function w() {
82
76
  }
83
77
  var k = {};
84
- l(k, p, function() {
78
+ h(k, p, function() {
85
79
  return this;
86
80
  });
87
81
  var N = Object.getPrototypeOf, F = N && N(N(R([])));
@@ -89,7 +83,7 @@ function tt() {
89
83
  var S = w.prototype = P.prototype = Object.create(k);
90
84
  function Y(r) {
91
85
  ["next", "throw", "return"].forEach(function(t) {
92
- l(r, t, function(e) {
86
+ h(r, t, function(e) {
93
87
  return this._invoke(t, e);
94
88
  });
95
89
  });
@@ -112,7 +106,7 @@ function tt() {
112
106
  v(y.arg);
113
107
  }
114
108
  var n;
115
- h(this, "_invoke", {
109
+ l(this, "_invoke", {
116
110
  value: function(o, s) {
117
111
  function v() {
118
112
  return new t(function(y, _) {
@@ -126,11 +120,9 @@ function tt() {
126
120
  function Q(r, t, e) {
127
121
  var n = A;
128
122
  return function(a, o) {
129
- if (n === T)
130
- throw Error("Generator is already running");
123
+ if (n === T) throw Error("Generator is already running");
131
124
  if (n === L) {
132
- if (a === "throw")
133
- throw o;
125
+ if (a === "throw") throw o;
134
126
  return {
135
127
  value: i,
136
128
  done: !0
@@ -141,24 +133,19 @@ function tt() {
141
133
  if (s) {
142
134
  var v = U(s, e);
143
135
  if (v) {
144
- if (v === g)
145
- continue;
136
+ if (v === g) continue;
146
137
  return v;
147
138
  }
148
139
  }
149
- if (e.method === "next")
150
- e.sent = e._sent = e.arg;
140
+ if (e.method === "next") e.sent = e._sent = e.arg;
151
141
  else if (e.method === "throw") {
152
- if (n === A)
153
- throw n = L, e.arg;
142
+ if (n === A) throw n = L, e.arg;
154
143
  e.dispatchException(e.arg);
155
- } else
156
- e.method === "return" && e.abrupt("return", e.arg);
144
+ } else e.method === "return" && e.abrupt("return", e.arg);
157
145
  n = T;
158
146
  var y = E(r, t, e);
159
147
  if (y.type === "normal") {
160
- if (n = e.done ? L : C, y.arg === g)
161
- continue;
148
+ if (n = e.done ? L : C, y.arg === g) continue;
162
149
  return {
163
150
  value: y.arg,
164
151
  done: e.done
@@ -170,11 +157,9 @@ function tt() {
170
157
  }
171
158
  function U(r, t) {
172
159
  var e = t.method, n = r.iterator[e];
173
- if (n === i)
174
- return t.delegate = null, e === "throw" && r.iterator.return && (t.method = "return", t.arg = i, U(r, t), t.method === "throw") || e !== "return" && (t.method = "throw", t.arg = new TypeError("The iterator does not provide a '" + e + "' method")), g;
160
+ if (n === i) return t.delegate = null, e === "throw" && r.iterator.return && (t.method = "return", t.arg = i, U(r, t), t.method === "throw") || e !== "return" && (t.method = "throw", t.arg = new TypeError("The iterator does not provide a '" + e + "' method")), g;
175
161
  var a = E(n, r.iterator, t.arg);
176
- if (a.type === "throw")
177
- return t.method = "throw", t.arg = a.arg, t.delegate = null, g;
162
+ if (a.type === "throw") return t.method = "throw", t.arg = a.arg, t.delegate = null, g;
178
163
  var o = a.arg;
179
164
  return o ? o.done ? (t[r.resultName] = o.value, t.next = r.nextLoc, t.method !== "return" && (t.method = "next", t.arg = i), t.delegate = null, g) : o : (t.method = "throw", t.arg = new TypeError("iterator result is not an object"), t.delegate = null, g);
180
165
  }
@@ -196,15 +181,11 @@ function tt() {
196
181
  function R(r) {
197
182
  if (r || r === "") {
198
183
  var t = r[p];
199
- if (t)
200
- return t.call(r);
201
- if (typeof r.next == "function")
202
- return r;
184
+ if (t) return t.call(r);
185
+ if (typeof r.next == "function") return r;
203
186
  if (!isNaN(r.length)) {
204
187
  var e = -1, n = function a() {
205
- for (; ++e < r.length; )
206
- if (u.call(r, e))
207
- return a.value = r[e], a.done = !1, a;
188
+ for (; ++e < r.length; ) if (u.call(r, e)) return a.value = r[e], a.done = !1, a;
208
189
  return a.value = i, a.done = !0, a;
209
190
  };
210
191
  return n.next = n;
@@ -212,22 +193,22 @@ function tt() {
212
193
  }
213
194
  throw new TypeError(H(r) + " is not iterable");
214
195
  }
215
- return j.prototype = w, h(S, "constructor", {
196
+ return j.prototype = w, l(S, "constructor", {
216
197
  value: w,
217
198
  configurable: !0
218
- }), h(w, "constructor", {
199
+ }), l(w, "constructor", {
219
200
  value: j,
220
201
  configurable: !0
221
- }), j.displayName = l(w, d, "GeneratorFunction"), c.isGeneratorFunction = function(r) {
202
+ }), j.displayName = h(w, d, "GeneratorFunction"), c.isGeneratorFunction = function(r) {
222
203
  var t = typeof r == "function" && r.constructor;
223
204
  return !!t && (t === j || (t.displayName || t.name) === "GeneratorFunction");
224
205
  }, c.mark = function(r) {
225
- return Object.setPrototypeOf ? Object.setPrototypeOf(r, w) : (r.__proto__ = w, l(r, d, "GeneratorFunction")), r.prototype = Object.create(S), r;
206
+ return Object.setPrototypeOf ? Object.setPrototypeOf(r, w) : (r.__proto__ = w, h(r, d, "GeneratorFunction")), r.prototype = Object.create(S), r;
226
207
  }, c.awrap = function(r) {
227
208
  return {
228
209
  __await: r
229
210
  };
230
- }, Y(I.prototype), l(I.prototype, x, function() {
211
+ }, Y(I.prototype), h(I.prototype, x, function() {
231
212
  return this;
232
213
  }), c.AsyncIterator = I, c.async = function(r, t, e, n, a) {
233
214
  a === void 0 && (a = Promise);
@@ -235,62 +216,50 @@ function tt() {
235
216
  return c.isGeneratorFunction(t) ? o : o.next().then(function(s) {
236
217
  return s.done ? s.value : o.next();
237
218
  });
238
- }, Y(S), l(S, d, "Generator"), l(S, p, function() {
219
+ }, Y(S), h(S, d, "Generator"), h(S, p, function() {
239
220
  return this;
240
- }), l(S, "toString", function() {
221
+ }), h(S, "toString", function() {
241
222
  return "[object Generator]";
242
223
  }), c.keys = function(r) {
243
224
  var t = Object(r), e = [];
244
- for (var n in t)
245
- e.push(n);
225
+ for (var n in t) e.push(n);
246
226
  return e.reverse(), function a() {
247
227
  for (; e.length; ) {
248
228
  var o = e.pop();
249
- if (o in t)
250
- return a.value = o, a.done = !1, a;
229
+ if (o in t) return a.value = o, a.done = !1, a;
251
230
  }
252
231
  return a.done = !0, a;
253
232
  };
254
233
  }, c.values = R, M.prototype = {
255
234
  constructor: M,
256
235
  reset: function(t) {
257
- if (this.prev = 0, this.next = 0, this.sent = this._sent = i, this.done = !1, this.delegate = null, this.method = "next", this.arg = i, this.tryEntries.forEach(V), !t)
258
- for (var e in this)
259
- e.charAt(0) === "t" && u.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = i);
236
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = i, this.done = !1, this.delegate = null, this.method = "next", this.arg = i, this.tryEntries.forEach(V), !t) for (var e in this) e.charAt(0) === "t" && u.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = i);
260
237
  },
261
238
  stop: function() {
262
239
  this.done = !0;
263
240
  var t = this.tryEntries[0].completion;
264
- if (t.type === "throw")
265
- throw t.arg;
241
+ if (t.type === "throw") throw t.arg;
266
242
  return this.rval;
267
243
  },
268
244
  dispatchException: function(t) {
269
- if (this.done)
270
- throw t;
245
+ if (this.done) throw t;
271
246
  var e = this;
272
247
  function n(_, b) {
273
248
  return s.type = "throw", s.arg = t, e.next = _, b && (e.method = "next", e.arg = i), !!b;
274
249
  }
275
250
  for (var a = this.tryEntries.length - 1; a >= 0; --a) {
276
251
  var o = this.tryEntries[a], s = o.completion;
277
- if (o.tryLoc === "root")
278
- return n("end");
252
+ if (o.tryLoc === "root") return n("end");
279
253
  if (o.tryLoc <= this.prev) {
280
254
  var v = u.call(o, "catchLoc"), y = u.call(o, "finallyLoc");
281
255
  if (v && y) {
282
- if (this.prev < o.catchLoc)
283
- return n(o.catchLoc, !0);
284
- if (this.prev < o.finallyLoc)
285
- return n(o.finallyLoc);
256
+ if (this.prev < o.catchLoc) return n(o.catchLoc, !0);
257
+ if (this.prev < o.finallyLoc) return n(o.finallyLoc);
286
258
  } else if (v) {
287
- if (this.prev < o.catchLoc)
288
- return n(o.catchLoc, !0);
259
+ if (this.prev < o.catchLoc) return n(o.catchLoc, !0);
289
260
  } else {
290
- if (!y)
291
- throw Error("try statement without catch or finally");
292
- if (this.prev < o.finallyLoc)
293
- return n(o.finallyLoc);
261
+ if (!y) throw Error("try statement without catch or finally");
262
+ if (this.prev < o.finallyLoc) return n(o.finallyLoc);
294
263
  }
295
264
  }
296
265
  }
@@ -308,15 +277,13 @@ function tt() {
308
277
  return s.type = t, s.arg = e, o ? (this.method = "next", this.next = o.finallyLoc, g) : this.complete(s);
309
278
  },
310
279
  complete: function(t, e) {
311
- if (t.type === "throw")
312
- throw t.arg;
280
+ if (t.type === "throw") throw t.arg;
313
281
  return t.type === "break" || t.type === "continue" ? this.next = t.arg : t.type === "return" ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : t.type === "normal" && e && (this.next = e), g;
314
282
  },
315
283
  finish: function(t) {
316
284
  for (var e = this.tryEntries.length - 1; e >= 0; --e) {
317
285
  var n = this.tryEntries[e];
318
- if (n.finallyLoc === t)
319
- return this.complete(n.completion, n.afterLoc), V(n), g;
286
+ if (n.finallyLoc === t) return this.complete(n.completion, n.afterLoc), V(n), g;
320
287
  }
321
288
  },
322
289
  catch: function(t) {
@@ -342,29 +309,35 @@ function tt() {
342
309
  }
343
310
  }, c;
344
311
  }
345
- function K(i, c, f, u, h, m, p) {
312
+ function K(i, c, f, u, l, m, p) {
346
313
  try {
347
314
  var x = i[m](p), d = x.value;
348
- } catch (l) {
349
- return void f(l);
315
+ } catch (h) {
316
+ return void f(h);
350
317
  }
351
- x.done ? c(d) : Promise.resolve(d).then(u, h);
318
+ x.done ? c(d) : Promise.resolve(d).then(u, l);
352
319
  }
353
- function it(i) {
320
+ function at(i) {
354
321
  return function() {
355
322
  var c = this, f = arguments;
356
- return new Promise(function(u, h) {
323
+ return new Promise(function(u, l) {
357
324
  var m = i.apply(c, f);
358
325
  function p(d) {
359
- K(m, u, h, p, x, "next", d);
326
+ K(m, u, l, p, x, "next", d);
360
327
  }
361
328
  function x(d) {
362
- K(m, u, h, p, x, "throw", d);
329
+ K(m, u, l, p, x, "throw", d);
363
330
  }
364
331
  p(void 0);
365
332
  });
366
333
  };
367
334
  }
335
+ function it(i, c) {
336
+ var f = Object.assign({}, i);
337
+ return Array.isArray(c) && c.forEach(function(u) {
338
+ delete f[u];
339
+ }), f;
340
+ }
368
341
  const ut = function(i) {
369
342
  if (!i)
370
343
  return !1;
@@ -377,7 +350,7 @@ const ut = function(i) {
377
350
  return !0;
378
351
  }
379
352
  if (i.getBoundingClientRect) {
380
- var h = i.getBoundingClientRect(), m = h.width, p = h.height;
353
+ var l = i.getBoundingClientRect(), m = l.width, p = l.height;
381
354
  if (m || p)
382
355
  return !0;
383
356
  }
@@ -385,10 +358,10 @@ const ut = function(i) {
385
358
  return !1;
386
359
  };
387
360
  export {
388
- it as _,
361
+ at as _,
389
362
  tt as a,
390
363
  ut as i,
391
- ot as o,
364
+ it as o,
392
365
  J as t,
393
- at as u
366
+ ot as u
394
367
  };