@devtron-labs/devtron-fe-common-lib 1.16.0 → 1.17.0-pre-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 (149) hide show
  1. package/dist/{@code-editor-CEmGYRXP.js → @code-editor-IalENjkh.js} +9490 -9066
  2. package/dist/{@common-rjsf-qWtqbYmP.js → @common-rjsf-ChkYseh5.js} +6 -6
  3. package/dist/{@framer-motion-DAmKhMSi.js → @framer-motion-j6RIjEIR.js} +20 -20
  4. package/dist/{@moment-C_WeV3Af.js → @moment-CGWt8tF2.js} +12 -1
  5. package/dist/{@react-dates-D5kydtW-.js → @react-dates-BVyHiOGU.js} +2065 -2140
  6. package/dist/{@react-select-Cmser7OI.js → @react-select-BQNFZu0Y.js} +6 -6
  7. package/dist/{@react-virtualized-sticky-tree-DMnFy9PE.js → @react-virtualized-sticky-tree-CuElh0mS.js} +1 -1
  8. package/dist/{@vendor-STJ9h0oI.js → @vendor-DbxoIktR.js} +29809 -29542
  9. package/dist/Common/Checkbox/Checkbox.d.ts +1 -1
  10. package/dist/Common/Constants.d.ts +2 -0
  11. package/dist/Common/GenericDescription/GenericDescription.d.ts +1 -1
  12. package/dist/Common/GenericDescription/types.d.ts +4 -1
  13. package/dist/Common/GenericDescription/utils.d.ts +1 -0
  14. package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
  15. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +21 -0
  16. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  17. package/dist/Common/Hooks/useStateFilters/types.d.ts +2 -2
  18. package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +1 -1
  19. package/dist/Common/Hooks/useUrlFilters/index.d.ts +1 -0
  20. package/dist/Common/Hooks/useUrlFilters/types.d.ts +2 -1
  21. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
  22. package/dist/Common/Modals/VisibleModal.d.ts +1 -0
  23. package/dist/Common/Modals/VisibleModal2.d.ts +1 -0
  24. package/dist/Common/Pagination/constants.d.ts +4 -0
  25. package/dist/Common/Pagination/index.d.ts +1 -0
  26. package/dist/Common/Tooltip/types.d.ts +1 -1
  27. package/dist/Common/Types.d.ts +2 -2
  28. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +1 -0
  29. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +8 -0
  30. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -1
  31. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +35 -2
  32. package/dist/Pages/ResourceBrowser/constants.d.ts +13 -0
  33. package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
  34. package/dist/Pages/ResourceBrowser/types.d.ts +17 -0
  35. package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +1 -3
  36. package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +1 -2
  37. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
  38. package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
  39. package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +5 -9
  40. package/dist/Shared/Components/AppStatusModal/service.d.ts +1 -1
  41. package/dist/Shared/Components/AppStatusModal/types.d.ts +2 -1
  42. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  43. package/dist/Shared/Components/Backdrop/index.d.ts +1 -0
  44. package/dist/Shared/Components/Backdrop/types.d.ts +28 -2
  45. package/dist/Shared/Components/Backdrop/utils.d.ts +1 -0
  46. package/dist/Shared/Components/Badge/Badge.d.ts +3 -0
  47. package/dist/Shared/Components/Badge/index.d.ts +2 -0
  48. package/dist/Shared/Components/Badge/types.d.ts +18 -0
  49. package/dist/Shared/Components/Badge/utils.d.ts +7 -0
  50. package/dist/Shared/Components/BulkOperations/types.d.ts +1 -1
  51. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
  52. package/dist/Shared/Components/BulkSelection/types.d.ts +4 -9
  53. package/dist/Shared/Components/Button/Button.component.d.ts +376 -2
  54. package/dist/Shared/Components/Button/types.d.ts +6 -3
  55. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +1 -1
  56. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
  57. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -1
  58. package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
  59. package/dist/Shared/Components/CICDHistory/types.d.ts +2 -1
  60. package/dist/Shared/Components/CodeEditor/CodeEditor.constants.d.ts +1 -1
  61. package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +2 -1
  62. package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +7 -2
  63. package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
  64. package/dist/Shared/Components/GenericInfoCard/types.d.ts +1 -1
  65. package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +9 -0
  66. package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +6 -0
  67. package/dist/Shared/Components/GenericModal/constants.d.ts +2 -0
  68. package/dist/Shared/Components/GenericModal/index.d.ts +2 -0
  69. package/dist/Shared/Components/GenericModal/types.d.ts +37 -0
  70. package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
  71. package/dist/Shared/Components/GettingStartedCard/types.d.ts +0 -3
  72. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +1 -1
  73. package/dist/Shared/Components/Header/HelpButton.d.ts +1 -1
  74. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  75. package/dist/Shared/Components/Header/types.d.ts +1 -3
  76. package/dist/Shared/Components/Icon/Icon.d.ts +18 -1
  77. package/dist/Shared/Components/InfoBlock/constants.d.ts +2 -1
  78. package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +1 -1
  79. package/dist/Shared/Components/Popover/types.d.ts +3 -2
  80. package/dist/Shared/Components/Popover/utils.d.ts +1 -1
  81. package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +7 -7
  82. package/dist/Shared/Components/Security/SecurityModal/types.d.ts +1 -1
  83. package/dist/Shared/Components/Security/SeverityChip.d.ts +6 -0
  84. package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +1 -1
  85. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  86. package/dist/Shared/Components/SelectPicker/type.d.ts +2 -2
  87. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
  88. package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +1 -1
  89. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  90. package/dist/Shared/Components/Table/TableContent.d.ts +3 -0
  91. package/dist/Shared/Components/Table/constants.d.ts +1 -0
  92. package/dist/Shared/Components/Table/index.d.ts +1 -1
  93. package/dist/Shared/Components/Table/types.d.ts +48 -21
  94. package/dist/Shared/Components/Table/useTableWithKeyboardShortcuts.d.ts +6 -1
  95. package/dist/Shared/Components/Table/utils.d.ts +5 -0
  96. package/dist/Shared/Components/TargetPlatforms/types.d.ts +1 -1
  97. package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +1 -1
  98. package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
  99. package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +75 -41
  100. package/dist/Shared/Components/WorkflowOptionsModal/index.d.ts +1 -0
  101. package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +10 -12
  102. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +13 -2
  103. package/dist/Shared/Components/index.d.ts +3 -0
  104. package/dist/Shared/Helpers.d.ts +3 -2
  105. package/dist/Shared/Hooks/useStickyEvent/constants.d.ts +3 -2
  106. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -2
  107. package/dist/Shared/Providers/MainContextProvider/index.d.ts +3 -0
  108. package/dist/Shared/Providers/{types.d.ts → MainContextProvider/types.d.ts} +4 -4
  109. package/dist/Shared/Providers/index.d.ts +0 -2
  110. package/dist/Shared/Services/types.d.ts +1 -0
  111. package/dist/Shared/constants.d.ts +1 -0
  112. package/dist/Shared/types.d.ts +15 -2
  113. package/dist/assets/@code-editor.css +1 -1
  114. package/dist/assets/@common-rjsf.css +1 -1
  115. package/dist/assets/ic-bug.8a8dc1fc.svg +3 -0
  116. package/dist/assets/ic-check-all.fdea6b38.svg +5 -0
  117. package/dist/assets/ic-check-square.e355731d.svg +4 -0
  118. package/dist/assets/ic-clean-brush.c21cbe1e.svg +3 -0
  119. package/dist/assets/ic-container.92a4c33a.svg +3 -0
  120. package/dist/assets/ic-deploy-color.73a8df48.svg +14 -0
  121. package/dist/assets/ic-deploy-sync.6b1cf1b1.svg +16 -0
  122. package/dist/assets/ic-download.468a0cb7.svg +3 -0
  123. package/dist/assets/ic-file-code.0926d194.svg +3 -0
  124. package/dist/assets/ic-gavel.a3b064b5.svg +3 -0
  125. package/dist/assets/ic-git-branch.d6b3d950.svg +3 -0
  126. package/dist/assets/ic-info-filled-color.47953fcf.svg +8 -0
  127. package/dist/assets/ic-linked-build-color.d1df5ce1.svg +7 -0
  128. package/dist/assets/ic-logs.d310db72.svg +3 -0
  129. package/dist/assets/{ic-minus.416da21b.svg → ic-minus.aac464f7.svg} +1 -1
  130. package/dist/assets/ic-pause-circle.f9405070.svg +3 -0
  131. package/dist/assets/ic-speedometer.3ecaae3b.svg +3 -0
  132. package/dist/assets/ic-two-cubes.056d1333.svg +3 -0
  133. package/dist/assets/ic-webhook.ffd8ded6.svg +21 -0
  134. package/dist/assets/workflow-options-modal-header.0444485e.svg +38 -0
  135. package/dist/index.d.ts +6 -1
  136. package/dist/index.js +854 -838
  137. package/package.json +7 -7
  138. package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +0 -3
  139. package/dist/assets/change-source.abc9d12f.png +0 -0
  140. package/dist/assets/ic-check-all.0376437d.svg +0 -21
  141. package/dist/assets/ic-check-square.2a3d3fb9.svg +0 -20
  142. package/dist/assets/ic-ci-webhook.a2ab6db6.svg +0 -42
  143. package/dist/assets/ic-source-build.7d776b10.svg +0 -22
  144. package/dist/assets/ic-source-job.a40f06cf.svg +0 -26
  145. package/dist/assets/ic-source-linked-build.f24ecbed.svg +0 -24
  146. package/dist/assets/ic-source-webhook.ee64a29a.svg +0 -22
  147. package/dist/assets/select-image-source.fb911f42.png +0 -0
  148. /package/dist/Shared/Providers/{MainContextProvider.d.ts → MainContextProvider/MainContextProvider.d.ts} +0 -0
  149. /package/dist/assets/{ic-container.4e1e6455.svg → ic-container-registry.4e1e6455.svg} +0 -0
@@ -1,13 +1,13 @@
1
- import { j as n, as as b, au as k, at as W } from "./@vendor-STJ9h0oI.js";
1
+ import { j as n, at as b, av as k, au as W } from "./@vendor-DbxoIktR.js";
2
2
  import V, { forwardRef as J, useMemo as P } from "react";
3
3
  import K, { getDefaultRegistry as q } from "@rjsf/core";
4
- import { T as F, j as N, c as v, b as S, S as Y, i as z, a as w, d as A, e as G } from "./@code-editor-CEmGYRXP.js";
4
+ import { T as F, j as N, c as v, b as S, S as Y, i as z, a as w, d as A, e as G } from "./@code-editor-IalENjkh.js";
5
5
  import Q, { components as D } from "react-select";
6
6
  import { ReactComponent as X } from "./assets/ic-chevron-down.fc70d7a7.svg";
7
7
  import { getUiOptions as $, getTemplate as B, getSubmitButtonOptions as Z, ADDITIONAL_PROPERTY_FLAG as L, errorId as ee, englishStringTranslator as te, TranslatableString as ne, titleId as re, canExpand as ae, deepEquals as se } from "@rjsf/utils";
8
8
  import { ReactComponent as oe } from "./assets/ic-add.cfaa779b.svg";
9
- import { ReactComponent as ie } from "./assets/ic-cross.01e03666.svg";
10
- import { ReactComponent as le } from "./assets/ic-warning.ecf7ff97.svg";
9
+ import { ReactComponent as ie } from "./assets/ic-warning.ecf7ff97.svg";
10
+ import { ReactComponent as le } from "./assets/ic-cross.01e03666.svg";
11
11
  import './assets/@common-rjsf.css';const C = {
12
12
  SELECT: "Please select an option",
13
13
  INPUT: "Please enter an input",
@@ -153,7 +153,7 @@ import './assets/@common-rjsf.css';const C = {
153
153
  ]
154
154
  }
155
155
  ) });
156
- }, fe = ({ icon: e, iconType: t, registry: a, uiSchema: r, ...s }) => /* @__PURE__ */ n.jsx("button", { ...s, type: "button", className: "dc__outline-none-imp p-0 dc__transparent flex cursor", title: "Remove", children: /* @__PURE__ */ n.jsx(ie, { className: "icon-dim-16 fcn-6" }) }), he = ({ uiSchema: e }) => {
156
+ }, fe = ({ icon: e, iconType: t, registry: a, uiSchema: r, ...s }) => /* @__PURE__ */ n.jsx("button", { ...s, type: "button", className: "dc__outline-none-imp p-0 dc__transparent flex cursor", title: "Remove", children: /* @__PURE__ */ n.jsx(le, { className: "icon-dim-16 fcn-6" }) }), he = ({ uiSchema: e }) => {
157
157
  const { submitText: t, norender: a, props: r = {} } = Z(e);
158
158
  return a ? null : /* @__PURE__ */ n.jsx("div", { className: "flexbox flex-justify-end", children: /* @__PURE__ */ n.jsx("button", { type: "submit", ...r, className: `cta ${r.className || ""}`, children: t }) });
159
159
  }, O = ({
@@ -217,7 +217,7 @@ import './assets/@common-rjsf.css';const C = {
217
217
  return e.length > 0 && /* @__PURE__ */ n.jsx("span", { className: "display-grid rjsf-form-template__field--error dc__gap-12", id: a, children: e.filter((r) => !!r).map((r, s) => /* @__PURE__ */ n.jsxs(V.Fragment, { children: [
218
218
  /* @__PURE__ */ n.jsx("span", {}),
219
219
  /* @__PURE__ */ n.jsxs("span", { className: "form__error", children: [
220
- /* @__PURE__ */ n.jsx(le, { className: "form__icon form__icon--error" }),
220
+ /* @__PURE__ */ n.jsx(ie, { className: "form__icon form__icon--error" }),
221
221
  r
222
222
  ] })
223
223
  ] }, s)) });
@@ -1,4 +1,4 @@
1
- import { ax as lt, ay as m, az as R, aA as Zr, aB as Le, aC as T, aD as at, aE as Gt, aF as oe, aG as $e, aH as Q, aI as $r, aJ as oi, aK as qr, aL as si, aM as ui, aN as li, aO as fi, aP as ci, aQ as Jr, aR as vi, aS as di, aT as pi, aU as hi, aV as mi, aW as gi, aX as yi, aY as Pt, aZ as X, a_ as he, a$ as Qr, b0 as bi, b1 as tn, b2 as z, b3 as Z, b4 as Pi, b5 as me, b6 as Ot, b7 as Vi, b8 as Ti, b9 as en, ba as Ft, bb as O, bc as ge, bd as Si, be as se, bf as xi, bg as Ci } from "./@vendor-STJ9h0oI.js";
1
+ import { ay as m, az as lt, aA as R, aB as Zr, aC as Le, aD as oe, aE as T, aF as $e, aG as at, aH as Gt, aI as Q, aJ as $r, aK as oi, aL as si, aM as ui, aN as li, aO as fi, aP as ci, aQ as vi, aR as di, aS as qr, aT as pi, aU as hi, aV as mi, aW as gi, aX as yi, aY as Jr, aZ as Pt, a_ as he, a$ as X, b0 as bi, b1 as Qr, b2 as z, b3 as tn, b4 as me, b5 as Z, b6 as Pi, b7 as Ot, b8 as Vi, b9 as Ti, ba as en, bb as Ft, bc as O, bd as ge, be as Si, bf as se, bg as xi, bh as Ci } from "./@vendor-DbxoIktR.js";
2
2
  import * as Y from "react";
3
3
  import Re, { createContext as St, useContext as F, useLayoutEffect as Ai, useEffect as N, useState as Me, useRef as $, useCallback as ye, useMemo as Vt, forwardRef as wi, createElement as Ei, cloneElement as Li, Children as Ri, isValidElement as Mi } from "react";
4
4
  var qe = "production", De = typeof process > "u" || process.env === void 0 ? qe : process.env.NODE_ENV || qe, tt = function(t) {
@@ -1030,20 +1030,20 @@ function Fn(t, e) {
1030
1030
  var Qt = function(t) {
1031
1031
  return t * 1e3;
1032
1032
  }, or = {
1033
- linear: qr,
1034
- easeIn: si,
1035
- easeInOut: ui,
1036
- easeOut: li,
1037
- circIn: fi,
1038
- circInOut: ci,
1039
- circOut: Jr,
1040
- backIn: vi,
1041
- backInOut: di,
1042
- backOut: pi,
1043
- anticipate: hi,
1044
- bounceIn: mi,
1045
- bounceInOut: gi,
1046
- bounceOut: yi
1033
+ linear: Jr,
1034
+ easeIn: yi,
1035
+ easeInOut: gi,
1036
+ easeOut: mi,
1037
+ circIn: hi,
1038
+ circInOut: pi,
1039
+ circOut: qr,
1040
+ backIn: di,
1041
+ backInOut: vi,
1042
+ backOut: ci,
1043
+ anticipate: fi,
1044
+ bounceIn: li,
1045
+ bounceInOut: ui,
1046
+ bounceOut: si
1047
1047
  }, sr = function(t) {
1048
1048
  if (Array.isArray(t)) {
1049
1049
  lt(t.length === 4, "Cubic bezier arrays must contain four numerical values.");
@@ -1132,7 +1132,7 @@ function Qa(t) {
1132
1132
  var fr = !1;
1133
1133
  function to(t) {
1134
1134
  var e = t.ease, r = t.times, n = t.yoyo, i = t.flip, s = t.loop, o = Q(t, ["ease", "times", "yoyo", "flip", "loop"]), a = m({}, o);
1135
- return r && (a.offset = r), o.duration && (a.duration = Qt(o.duration)), o.repeatDelay && (a.repeatDelay = Qt(o.repeatDelay)), e && (a.ease = Za(e) ? e.map(sr) : sr(e)), o.type === "tween" && (a.type = "keyframes"), (n || s || i) && (Qr(!fr, "yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."), fr = !0, n ? a.repeatType = "reverse" : s ? a.repeatType = "loop" : i && (a.repeatType = "mirror"), a.repeat = s || n || i || o.repeat), o.type !== "spring" && (a.type = "keyframes"), a;
1135
+ return r && (a.offset = r), o.duration && (a.duration = Qt(o.duration)), o.repeatDelay && (a.repeatDelay = Qt(o.repeatDelay)), e && (a.ease = Za(e) ? e.map(sr) : sr(e)), o.type === "tween" && (a.type = "keyframes"), (n || s || i) && (tn(!fr, "yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."), fr = !0, n ? a.repeatType = "reverse" : s ? a.repeatType = "loop" : i && (a.repeatType = "mirror"), a.repeat = s || n || i || o.repeat), o.type !== "spring" && (a.type = "keyframes"), a;
1136
1136
  }
1137
1137
  function eo(t, e) {
1138
1138
  var r, n, i = Ge(t, e) || {};
@@ -1149,7 +1149,7 @@ function io(t, e, r, n, i) {
1149
1149
  var s, o = Ge(n, t), a = (s = o.from) !== null && s !== void 0 ? s : e.get(), u = ur(t, r);
1150
1150
  a === "none" && u && typeof r == "string" ? a = Ke(t, r) : cr(a) && typeof r == "string" ? a = vr(r) : !Array.isArray(r) && cr(r) && typeof a == "string" && (r = vr(a));
1151
1151
  var l = ur(t, a);
1152
- Qr(l === u, "You are trying to animate ".concat(t, ' from "').concat(a, '" to "').concat(r, '". ').concat(a, " is not an animatable value - to enable this animation set ").concat(a, " to a value animatable to ").concat(r, " via the `style` property."));
1152
+ tn(l === u, "You are trying to animate ".concat(t, ' from "').concat(a, '" to "').concat(r, '". ').concat(a, " is not an animatable value - to enable this animation set ").concat(a, " to a value animatable to ").concat(r, " via the `style` property."));
1153
1153
  function f() {
1154
1154
  var c = {
1155
1155
  from: a,
@@ -1160,7 +1160,7 @@ function io(t, e, r, n, i) {
1160
1160
  return e.set(d);
1161
1161
  }
1162
1162
  };
1163
- return o.type === "inertia" || o.type === "decay" ? bi(m(m({}, c), o)) : tn(m(m({}, no(o, c, t)), { onUpdate: function(d) {
1163
+ return o.type === "inertia" || o.type === "decay" ? bi(m(m({}, c), o)) : Qr(m(m({}, no(o, c, t)), { onUpdate: function(d) {
1164
1164
  var p;
1165
1165
  c.onUpdate(d), (p = o.onUpdate) === null || p === void 0 || p.call(o, d);
1166
1166
  }, onComplete: function() {
@@ -2747,7 +2747,7 @@ function Fr(t, e) {
2747
2747
  var r;
2748
2748
  return (r = t[e]) !== null && r !== void 0 ? r : t.borderRadius;
2749
2749
  }
2750
- var Ss = Qn(0, 0.5, Jr), xs = Qn(0.5, 0.95, qr);
2750
+ var Ss = Qn(0, 0.5, qr), xs = Qn(0.5, 0.95, Jr);
2751
2751
  function Qn(t, e, r) {
2752
2752
  return function(n) {
2753
2753
  return n < t ? 0 : n > e ? 1 : r(ge(t, e, n));
@@ -3538,7 +3538,7 @@ function fu(t, e) {
3538
3538
  var r = F(_t).isStatic, n = $(null), i = ii(q(t) ? t.get() : t);
3539
3539
  return Vt(function() {
3540
3540
  return i.attach(function(s, o) {
3541
- return r ? o(s) : (n.current && n.current.stop(), n.current = tn(m(m({ from: i.get(), to: s, velocity: i.getVelocity() }, e), { onUpdate: o })), i.get());
3541
+ return r ? o(s) : (n.current && n.current.stop(), n.current = Qr(m(m({ from: i.get(), to: s, velocity: i.getVelocity() }, e), { onUpdate: o })), i.get());
3542
3542
  });
3543
3543
  }, [JSON.stringify(e)]), eu(t, function(s) {
3544
3544
  return i.set(parseFloat(s));
@@ -3,7 +3,7 @@ function Yi(e) {
3
3
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
4
  }
5
5
  function Ss(e) {
6
- if (e.__esModule) return e;
6
+ if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
7
7
  var t = e.default;
8
8
  if (typeof t == "function") {
9
9
  var s = function r() {
@@ -517,8 +517,13 @@ function Et(e, t, s) {
517
517
  return void (a ? r.setUTCHours(s) : r.setHours(s));
518
518
  case "Date":
519
519
  return void (a ? r.setUTCDate(s) : r.setDate(s));
520
+ // case 'Day': // Not real
521
+ // return void (isUTC ? d.setUTCDay(value) : d.setDay(value));
522
+ // case 'Month': // Not used because we need to pass two variables
523
+ // return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value));
520
524
  case "FullYear":
521
525
  break;
526
+ // See below ...
522
527
  default:
523
528
  return;
524
529
  }
@@ -1627,18 +1632,23 @@ function Za(e, t, s) {
1627
1632
  case "second":
1628
1633
  n = (this - r) / 1e3;
1629
1634
  break;
1635
+ // 1000
1630
1636
  case "minute":
1631
1637
  n = (this - r) / 6e4;
1632
1638
  break;
1639
+ // 1000 * 60
1633
1640
  case "hour":
1634
1641
  n = (this - r) / 36e5;
1635
1642
  break;
1643
+ // 1000 * 60 * 60
1636
1644
  case "day":
1637
1645
  n = (this - r - a) / 864e5;
1638
1646
  break;
1647
+ // 1000 * 60 * 60 * 24, negate dst
1639
1648
  case "week":
1640
1649
  n = (this - r - a) / 6048e5;
1641
1650
  break;
1651
+ // 1000 * 60 * 60 * 24 * 7, negate dst
1642
1652
  default:
1643
1653
  n = this - r;
1644
1654
  }
@@ -2426,6 +2436,7 @@ function Xn(e) {
2426
2436
  return t * 1440 + r / 6e4;
2427
2437
  case "second":
2428
2438
  return t * 86400 + r / 1e3;
2439
+ // Math.floor prevents floating point math errors here
2429
2440
  case "millisecond":
2430
2441
  return Math.floor(t * 864e5) + r;
2431
2442
  default: