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

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
@@ -3103,7 +3103,7 @@ useMode(definition$2);
3103
3103
  useMode(definition$1);
3104
3104
  useMode(definition);
3105
3105
  //#endregion
3106
- //#region ../../node_modules/.bun/@basmilius+http-client@3.33.0+ceec7979b6f4ef20/node_modules/@basmilius/http-client/dist/index.mjs
3106
+ //#region ../../node_modules/.bun/@basmilius+http-client@3.33.0+644299353f754fd6/node_modules/@basmilius/http-client/dist/index.mjs
3107
3107
  function adapter_default(Parent) {
3108
3108
  return class extends Parent {
3109
3109
  constructor(...args) {
@@ -4141,6 +4141,7 @@ var FluxApplicationMenuContext_default = /* @__PURE__ */ defineComponent({
4141
4141
  const matchedRoute = inject(matchedRouteKey, null);
4142
4142
  const canSlide = computed(() => {
4143
4143
  if (!injection) return false;
4144
+ if (props.type && props.to) return false;
4144
4145
  return injection.viewIndex.value > 0;
4145
4146
  });
4146
4147
  const autoEntryTo = computed(() => {
@@ -4170,7 +4171,7 @@ var FluxApplicationMenuContext_default = /* @__PURE__ */ defineComponent({
4170
4171
  target: __props.target,
4171
4172
  to: canSlide.value ? void 0 : __props.to,
4172
4173
  type: canSlide.value ? "button" : __props.type,
4173
- onClick: onBack
4174
+ onClick: _cache[0] || (_cache[0] = ($event) => onBack())
4174
4175
  }, null, 8, [
4175
4176
  "tabindex",
4176
4177
  "href",