@vue-skuilder/common-ui 0.1.3 → 0.1.4

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.
@@ -1,10 +1,11 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { defineComponent, createElementBlock, openBlock, createCommentVNode, Fragment, renderList, normalizeStyle, toDisplayString, resolveComponent, createBlock, withCtx, createVNode, createTextVNode, createElementVNode, mergeProps, ref, computed, watch, onMounted, onBeforeUnmount, normalizeClass, renderSlot, Transition, resolveDynamicComponent, defineAsyncComponent, withKeys, withDirectives, vModelText, getCurrentInstance, h, markRaw, inject, withModifiers } from "vue";
4
+ import { defineComponent, createElementBlock, openBlock, createCommentVNode, Fragment, renderList, normalizeStyle, toDisplayString, resolveComponent, createBlock, withCtx, createVNode, createTextVNode, createElementVNode, mergeProps, ref, computed, watch, onMounted, onBeforeUnmount, normalizeClass, renderSlot, Transition, resolveDynamicComponent, defineAsyncComponent, withKeys, withDirectives, vModelText, getCurrentInstance, h, markRaw, withModifiers } from "vue";
5
5
  import { Status, FieldType, isCourseElo, toCourseElo, displayableDataToViewData, adjustCourseScores, log } from "@vue-skuilder/common";
6
6
  import { docIsDeleted, isReview, newInterval, isQuestionRecord, getStudySource, SessionController, getDataLayer, GuestUsername } from "@vue-skuilder/db";
7
7
  import { defineStore, setActivePinia } from "pinia";
8
+ import { useRouter, useRoute } from "vue-router";
8
9
  //! moment.js
9
10
  //! version : 2.30.1
10
11
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
@@ -15798,40 +15799,6 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
15798
15799
  }, 8, ["content", "model-value"]);
15799
15800
  }
15800
15801
  const UserChip = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1]]);
15801
- /*!
15802
- * vue-router v4.5.0
15803
- * (c) 2024 Eduardo San Martin Morote
15804
- * @license MIT
15805
- */
15806
- var NavigationType;
15807
- (function(NavigationType2) {
15808
- NavigationType2["pop"] = "pop";
15809
- NavigationType2["push"] = "push";
15810
- })(NavigationType || (NavigationType = {}));
15811
- var NavigationDirection;
15812
- (function(NavigationDirection2) {
15813
- NavigationDirection2["back"] = "back";
15814
- NavigationDirection2["forward"] = "forward";
15815
- NavigationDirection2["unknown"] = "";
15816
- })(NavigationDirection || (NavigationDirection = {}));
15817
- Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
15818
- var NavigationFailureType;
15819
- (function(NavigationFailureType2) {
15820
- NavigationFailureType2[NavigationFailureType2["aborted"] = 4] = "aborted";
15821
- NavigationFailureType2[NavigationFailureType2["cancelled"] = 8] = "cancelled";
15822
- NavigationFailureType2[NavigationFailureType2["duplicated"] = 16] = "duplicated";
15823
- })(NavigationFailureType || (NavigationFailureType = {}));
15824
- Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
15825
- Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
15826
- const routerKey = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
15827
- const routeLocationKey = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
15828
- Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
15829
- function useRouter() {
15830
- return inject(routerKey);
15831
- }
15832
- function useRoute(_name) {
15833
- return inject(routeLocationKey);
15834
- }
15835
15802
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
15836
15803
  __name: "UserLogin",
15837
15804
  emits: ["toggle"],