@ansible/ansible-ui-framework 2.4.2617 → 2.4.2618

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 (3) hide show
  1. package/index.js +53 -65
  2. package/index.umd.cjs +53 -53
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -8463,9 +8463,9 @@ function xl(e) {
8463
8463
  var T0 = {};
8464
8464
  /**
8465
8465
  * @license React
8466
- * use-sync-external-store-shim.production.min.js
8466
+ * use-sync-external-store-shim.production.js
8467
8467
  *
8468
- * Copyright (c) Facebook, Inc. and its affiliates.
8468
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8469
8469
  *
8470
8470
  * This source code is licensed under the MIT license found in the
8471
8471
  * LICENSE file in the root directory of this source tree.
@@ -8481,13 +8481,19 @@ function w$() {
8481
8481
  var n = typeof Object.is == "function" ? Object.is : t, r = e.useState, i = e.useEffect, a = e.useLayoutEffect, o = e.useDebugValue;
8482
8482
  function s(d, f) {
8483
8483
  var h = f(), g = r({ inst: { value: h, getSnapshot: f } }), p = g[0].inst, y = g[1];
8484
- return a(function() {
8485
- p.value = h, p.getSnapshot = f, l(p) && y({ inst: p });
8486
- }, [d, h, f]), i(function() {
8487
- return l(p) && y({ inst: p }), d(function() {
8488
- l(p) && y({ inst: p });
8489
- });
8490
- }, [d]), o(h), h;
8484
+ return a(
8485
+ function() {
8486
+ p.value = h, p.getSnapshot = f, l(p) && y({ inst: p });
8487
+ },
8488
+ [d, h, f]
8489
+ ), i(
8490
+ function() {
8491
+ return l(p) && y({ inst: p }), d(function() {
8492
+ l(p) && y({ inst: p });
8493
+ });
8494
+ },
8495
+ [d]
8496
+ ), o(h), h;
8491
8497
  }
8492
8498
  function l(d) {
8493
8499
  var f = d.getSnapshot;
@@ -8510,7 +8516,7 @@ var k0 = {};
8510
8516
  * @license React
8511
8517
  * use-sync-external-store-shim.development.js
8512
8518
  *
8513
- * Copyright (c) Facebook, Inc. and its affiliates.
8519
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8514
8520
  *
8515
8521
  * This source code is licensed under the MIT license found in the
8516
8522
  * LICENSE file in the root directory of this source tree.
@@ -8518,72 +8524,54 @@ var k0 = {};
8518
8524
  var g1;
8519
8525
  function O$() {
8520
8526
  return g1 || (g1 = 1, process.env.NODE_ENV !== "production" && function() {
8521
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
8522
- var e = T, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
8523
- function n(_) {
8524
- {
8525
- for (var C = arguments.length, x = new Array(C > 1 ? C - 1 : 0), S = 1; S < C; S++)
8526
- x[S - 1] = arguments[S];
8527
- r("error", _, x);
8528
- }
8529
- }
8530
- function r(_, C, x) {
8531
- {
8532
- var S = t.ReactDebugCurrentFrame, w = S.getStackAddendum();
8533
- w !== "" && (C += "%s", x = x.concat([w]));
8534
- var E = x.map(function(A) {
8535
- return String(A);
8536
- });
8537
- E.unshift("Warning: " + C), Function.prototype.apply.call(console[_], console, E);
8538
- }
8539
- }
8540
- function i(_, C) {
8541
- return _ === C && (_ !== 0 || 1 / _ === 1 / C) || _ !== _ && C !== C;
8527
+ function e(h, g) {
8528
+ return h === g && (h !== 0 || 1 / h === 1 / g) || h !== h && g !== g;
8542
8529
  }
8543
- var a = typeof Object.is == "function" ? Object.is : i, o = e.useState, s = e.useEffect, l = e.useLayoutEffect, c = e.useDebugValue, u = !1, d = !1;
8544
- function f(_, C, x) {
8545
- u || e.startTransition !== void 0 && (u = !0, n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
8546
- var S = C();
8530
+ function t(h, g) {
8531
+ u || i.startTransition === void 0 || (u = !0, console.error(
8532
+ "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
8533
+ ));
8534
+ var p = g();
8547
8535
  if (!d) {
8548
- var w = C();
8549
- a(S, w) || (n("The result of getSnapshot should be cached to avoid an infinite loop"), d = !0);
8536
+ var y = g();
8537
+ a(p, y) || (console.error(
8538
+ "The result of getSnapshot should be cached to avoid an infinite loop"
8539
+ ), d = !0);
8550
8540
  }
8551
- var E = o({
8552
- inst: {
8553
- value: S,
8554
- getSnapshot: C
8555
- }
8556
- }), A = E[0].inst, j = E[1];
8557
- return l(function() {
8558
- A.value = S, A.getSnapshot = C, h(A) && j({
8559
- inst: A
8560
- });
8561
- }, [_, S, C]), s(function() {
8562
- h(A) && j({
8563
- inst: A
8564
- });
8565
- var k = function() {
8566
- h(A) && j({
8567
- inst: A
8541
+ y = o({
8542
+ inst: { value: p, getSnapshot: g }
8543
+ });
8544
+ var v = y[0].inst, b = y[1];
8545
+ return l(
8546
+ function() {
8547
+ v.value = p, v.getSnapshot = g, n(v) && b({ inst: v });
8548
+ },
8549
+ [h, p, g]
8550
+ ), s(
8551
+ function() {
8552
+ return n(v) && b({ inst: v }), h(function() {
8553
+ n(v) && b({ inst: v });
8568
8554
  });
8569
- };
8570
- return _(k);
8571
- }, [_]), c(S), S;
8555
+ },
8556
+ [h]
8557
+ ), c(p), p;
8572
8558
  }
8573
- function h(_) {
8574
- var C = _.getSnapshot, x = _.value;
8559
+ function n(h) {
8560
+ var g = h.getSnapshot;
8561
+ h = h.value;
8575
8562
  try {
8576
- var S = C();
8577
- return !a(x, S);
8563
+ var p = g();
8564
+ return !a(h, p);
8578
8565
  } catch {
8579
8566
  return !0;
8580
8567
  }
8581
8568
  }
8582
- function g(_, C, x) {
8583
- return C();
8569
+ function r(h, g) {
8570
+ return g();
8584
8571
  }
8585
- var p = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", y = !p, v = y ? g : f, b = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : v;
8586
- k0.useSyncExternalStore = b, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
8572
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
8573
+ var i = T, a = typeof Object.is == "function" ? Object.is : e, o = i.useState, s = i.useEffect, l = i.useLayoutEffect, c = i.useDebugValue, u = !1, d = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? r : t;
8574
+ k0.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
8587
8575
  }()), k0;
8588
8576
  }
8589
8577
  process.env.NODE_ENV === "production" ? w$() : O$();