@flux-ui/application 3.2.0-beta.1 → 3.2.0-beta.2

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/dist/index.js CHANGED
@@ -833,7 +833,7 @@ var hue = (hues, fn) => {
833
833
  var fixupHueShorter = (arr) => hue(arr, (d) => Math.abs(d) <= 180 ? d : d - 360 * Math.sign(d));
834
834
  //#endregion
835
835
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/cubehelix/constants.js
836
- var M$1 = [
836
+ var M = [
837
837
  -.14861,
838
838
  1.78277,
839
839
  -.29227,
@@ -845,20 +845,20 @@ var degToRad = Math.PI / 180;
845
845
  var radToDeg = 180 / Math.PI;
846
846
  //#endregion
847
847
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/cubehelix/convertRgbToCubehelix.js
848
- var DE = M$1[3] * M$1[4];
849
- var BE = M$1[1] * M$1[4];
850
- var BCAD = M$1[1] * M$1[2] - M$1[0] * M$1[3];
848
+ var DE = M[3] * M[4];
849
+ var BE = M[1] * M[4];
850
+ var BCAD = M[1] * M[2] - M[0] * M[3];
851
851
  var convertRgbToCubehelix = ({ r, g, b, alpha }) => {
852
852
  if (r === void 0) r = 0;
853
853
  if (g === void 0) g = 0;
854
854
  if (b === void 0) b = 0;
855
855
  let l = (BCAD * b + r * DE - g * BE) / (BCAD + DE - BE);
856
856
  let x = b - l;
857
- let y = (M$1[4] * (g - l) - M$1[2] * x) / M$1[3];
857
+ let y = (M[4] * (g - l) - M[2] * x) / M[3];
858
858
  let res = {
859
859
  mode: "cubehelix",
860
860
  l,
861
- s: l === 0 || l === 1 ? void 0 : Math.sqrt(x * x + y * y) / (M$1[4] * l * (1 - l))
861
+ s: l === 0 || l === 1 ? void 0 : Math.sqrt(x * x + y * y) / (M[4] * l * (1 - l))
862
862
  };
863
863
  if (res.s) res.h = Math.atan2(y, x) * radToDeg - 120;
864
864
  if (alpha !== void 0) res.alpha = alpha;
@@ -873,9 +873,9 @@ var convertCubehelixToRgb = ({ h, s, l, alpha }) => {
873
873
  let amp = s === void 0 ? 0 : s * l * (1 - l);
874
874
  let cosh = Math.cos(h);
875
875
  let sinh = Math.sin(h);
876
- res.r = l + amp * (M$1[0] * cosh + M$1[1] * sinh);
877
- res.g = l + amp * (M$1[2] * cosh + M$1[3] * sinh);
878
- res.b = l + amp * (M$1[4] * cosh + M$1[5] * sinh);
876
+ res.r = l + amp * (M[0] * cosh + M[1] * sinh);
877
+ res.g = l + amp * (M[2] * cosh + M[3] * sinh);
878
+ res.b = l + amp * (M[4] * cosh + M[5] * sinh);
879
879
  if (alpha !== void 0) res.alpha = alpha;
880
880
  return res;
881
881
  };
@@ -3660,7 +3660,7 @@ var HttpAdapter = _HttpAdapter = class HttpAdapter {
3660
3660
  HttpAdapter = _HttpAdapter = __decorate([adapter_default], HttpAdapter);
3661
3661
  RegExp(`[a-z]`), RegExp(`[A-Z]`), RegExp(`[0-9]`), RegExp(`[!"#$%&'()*+,-./:;<=>?@[\\\\\\]^_\`{|}~]`);
3662
3662
  //#endregion
3663
- //#region ../internals/dist/composable-ByAxh3HA.js
3663
+ //#region ../internals/dist/composable-6jMsSnBV.js
3664
3664
  function O(t, n, r, i = { passive: !0 }) {
3665
3665
  watch(t, (a, o, s) => {
3666
3666
  let c = v(t) ?? (a instanceof EventTarget ? a : null);
@@ -3691,7 +3691,7 @@ function A(e, t) {
3691
3691
  } catch {}
3692
3692
  }), r;
3693
3693
  }
3694
- function M(e) {
3694
+ function j(e) {
3695
3695
  let t = ref(0), n = ref(0);
3696
3696
  if (C) return {
3697
3697
  x: t,
@@ -4432,7 +4432,7 @@ var FluxApplicationTop_default = /* @__PURE__ */ defineComponent({
4432
4432
  setup(__props) {
4433
4433
  const slots = useSlots();
4434
4434
  const { layout, showDesktopMenuToggle } = useApplicationInjection_default();
4435
- const { y } = M();
4435
+ const { y } = j();
4436
4436
  return (_ctx, _cache) => {
4437
4437
  return openBlock(), createElementBlock("header", { class: normalizeClass(unref(y) > 1 ? unref(ApplicationTop_module_default).applicationTopScrolled : unref(ApplicationTop_module_default).applicationTop) }, [createElementVNode("div", { class: normalizeClass(unref(ApplicationTop_module_default).applicationTopBar) }, [
4438
4438
  createVNode(FluxApplicationMenuToggle_default, { class: normalizeClass(!unref(showDesktopMenuToggle) && unref(ApplicationTop_module_default).applicationTopMenuToggleHidden) }, null, 8, ["class"]),