@sysvale/show 1.16.0 → 1.18.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.
@@ -11,7 +11,7 @@ var In = Object.create, Gt = Object.defineProperty, kn = Object.getOwnPropertyDe
11
11
  t || !e || !e.__esModule ? Gt(n, "default", { value: e, enumerable: !0 }) : n,
12
12
  e
13
13
  )), ee = wn({
14
- "../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"() {
14
+ "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
15
15
  }
16
16
  }), Nn = Pn({
17
17
  "../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e, t) {
@@ -345,7 +345,7 @@ var Zn = Object.create, Zt = Object.defineProperty, Xn = Object.getOwnPropertyDe
345
345
  t || !e || !e.__esModule ? Zt(n, "default", { value: e, enumerable: !0 }) : n,
346
346
  e
347
347
  )), s = eu({
348
- "../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"() {
348
+ "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
349
349
  }
350
350
  }), uu = Xt({
351
351
  "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e, t) {
@@ -1964,7 +1964,7 @@ var sn = class {
1964
1964
  const r = Array.isArray(t) ? t : t.split(".");
1965
1965
  for (; r.length > 1; ) {
1966
1966
  const a = r.shift();
1967
- e instanceof Map && (e = e.get(a)), e instanceof Set ? e = Array.from(e.values())[a] : e = e[a], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
1967
+ e instanceof Map ? e = e.get(a) : e instanceof Set ? e = Array.from(e.values())[a] : e = e[a], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
1968
1968
  }
1969
1969
  const o = r[0], i = this.refEditor.get(e)[o];
1970
1970
  u ? u(e, o, n) : this.refEditor.isRef(i) ? this.refEditor.set(i, n) : e[o] = n;
@@ -2673,7 +2673,7 @@ function er(e) {
2673
2673
  getComponentRenderCode(t) {
2674
2674
  const n = ve(D.value, t);
2675
2675
  if (n)
2676
- return (n == null ? void 0 : n.type) instanceof Function ? n.type.toString() : n.render.toString();
2676
+ return typeof (n == null ? void 0 : n.type) != "function" ? n.render.toString() : n.type.toString();
2677
2677
  },
2678
2678
  scrollToComponent(t) {
2679
2679
  return Ou({ id: t });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sysvale/show",
3
- "version": "1.16.0",
3
+ "version": "1.18.2",
4
4
  "description": "A set of components used at Sysvale",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,6 +27,7 @@
27
27
  "dependencies": {
28
28
  "@vee-validate/i18n": "^4.15.0",
29
29
  "@vee-validate/rules": "^4.15.0",
30
+ "flush-promises": "^1.0.2",
30
31
  "lodash.camelcase": "^4.3.0",
31
32
  "lodash.get": "^4.4.2",
32
33
  "lodash.isempty": "^4.4.0",
@@ -46,11 +47,13 @@
46
47
  "@rollup/plugin-typescript": "^8.4.0",
47
48
  "@types/vue": "^2.0.0",
48
49
  "@vitejs/plugin-vue": "^3.0.3",
50
+ "@vitest/coverage-c8": "^0.22.1",
49
51
  "@vue/test-utils": "^2.0.2",
50
52
  "babel-loader": "^8.2.5",
51
53
  "concat": "^1.0.3",
52
54
  "eslint": "^8.31.0",
53
55
  "eslint-plugin-vue": "^9.9.0",
56
+ "jest": "^29.7.0",
54
57
  "jsdom": "^20.0.0",
55
58
  "sass": "^1.55.0",
56
59
  "typescript": "^4.6.4",