@flux-ui/application 3.0.0-next.68 → 3.0.0-next.70

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
@@ -2,7 +2,7 @@ import { Fragment, TransitionGroup, computed, createBlock, createCommentVNode, c
2
2
  import { FluxFadeTransition, FluxFlyout, FluxIcon, FluxMenu, FluxMenuItem, FluxPane, FluxRouteTransition, FluxSecondaryButton, FluxSpacer, FluxTabBar, useBreakpoints } from "@flux-ui/components";
3
3
  import { DateTime } from "luxon";
4
4
  import { RouterView, matchedRouteKey, useRoute, viewDepthKey } from "vue-router";
5
- //#region ../../node_modules/.bun/@basmilius+utils@3.33.0/node_modules/@basmilius/utils/dist/index.mjs
5
+ //#region ../../node_modules/.bun/@basmilius+utils@3.35.0+f2ed1ec6a4c7f7fd/node_modules/@basmilius/utils/dist/index.mjs
6
6
  function x(e) {
7
7
  let t = {};
8
8
  do {
@@ -2282,14 +2282,11 @@ var convertOklabToRgb = (c) => convertLrgbToRgb(convertOklabToLrgb(c));
2282
2282
  function toe(x) {
2283
2283
  const k_1 = .206;
2284
2284
  const k_2 = .03;
2285
- const k_3 = (1 + k_1) / (1 + k_2);
2285
+ const k_3 = 1.206 / 1.03;
2286
2286
  return .5 * (k_3 * x - k_1 + Math.sqrt((k_3 * x - k_1) * (k_3 * x - k_1) + 4 * k_2 * k_3 * x));
2287
2287
  }
2288
2288
  function toe_inv(x) {
2289
- const k_1 = .206;
2290
- const k_2 = .03;
2291
- const k_3 = (1 + k_1) / (1 + k_2);
2292
- return (x * x + k_1 * x) / (k_3 * (x + k_2));
2289
+ return (x * x + .206 * x) / (1.206 / 1.03 * (x + .03));
2293
2290
  }
2294
2291
  function compute_max_saturation(a, b) {
2295
2292
  let k0, k1, k2, k3, k4, wl, wm, ws;
@@ -3103,7 +3100,7 @@ useMode(definition$2);
3103
3100
  useMode(definition$1);
3104
3101
  useMode(definition);
3105
3102
  //#endregion
3106
- //#region ../../node_modules/.bun/@basmilius+http-client@3.33.0+ceec7979b6f4ef20/node_modules/@basmilius/http-client/dist/index.mjs
3103
+ //#region ../../node_modules/.bun/@basmilius+http-client@3.35.0+f97c77f67c914c00/node_modules/@basmilius/http-client/dist/index.mjs
3107
3104
  function adapter_default(Parent) {
3108
3105
  return class extends Parent {
3109
3106
  constructor(...args) {
@@ -4141,6 +4138,7 @@ var FluxApplicationMenuContext_default = /* @__PURE__ */ defineComponent({
4141
4138
  const matchedRoute = inject(matchedRouteKey, null);
4142
4139
  const canSlide = computed(() => {
4143
4140
  if (!injection) return false;
4141
+ if (props.type && props.to) return false;
4144
4142
  return injection.viewIndex.value > 0;
4145
4143
  });
4146
4144
  const autoEntryTo = computed(() => {
@@ -4170,7 +4168,7 @@ var FluxApplicationMenuContext_default = /* @__PURE__ */ defineComponent({
4170
4168
  target: __props.target,
4171
4169
  to: canSlide.value ? void 0 : __props.to,
4172
4170
  type: canSlide.value ? "button" : __props.type,
4173
- onClick: onBack
4171
+ onClick: _cache[0] || (_cache[0] = ($event) => onBack())
4174
4172
  }, null, 8, [
4175
4173
  "tabindex",
4176
4174
  "href",