x-prop-tree 0.7.36 → 0.7.38

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +7 -5
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { a as cloneDeep_default, i as isEqual_default, n as setCollapse, r as ti
2
2
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, inject, isRef, mergeModels, mergeProps, normalizeStyle, onBeforeUnmount, onMounted, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, resolveDirective, toDisplayString, unref, useId, useModel, useTemplateRef, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
3
3
  import { useI18n } from "vue-i18n";
4
4
  import { eventBus, globalObjects, injectDark, injectLocale, openNumberDlg, openPromptDlg, useColor, useSystem, useViewStack } from "x-essential-lib";
5
- import { elements, getPropertyDefault, getTag, makeSlotId, parsePercentStr, parsePixelStr, pkgs } from "x-runtime-lib";
5
+ import { getElement, getPropertyDefault, getTag, makeSlotId, parsePercentStr, parsePixelStr, pkgs } from "x-runtime-lib";
6
6
  import { globalState } from "x-state-lib";
7
7
  import { useDisplay } from "vuetify";
8
8
  import { XBlockly } from "x-block-lib";
@@ -393,7 +393,7 @@ function useAdaptSlotList(e, m, g) {
393
393
  });
394
394
  let _ = 0;
395
395
  for (let e of m.items) {
396
- let g = elements[e];
396
+ let g = getElement(e);
397
397
  if (g && !g.internal && g.slots) for (let e of g.slots) {
398
398
  let v = makeSlotId("elementSlot", g.key, e.key), b = `${y.global.t(g.name)} / ${y.global.t(e.name)}`;
399
399
  C.push({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-prop-tree",
3
3
  "private": false,
4
- "version": "0.7.36",
4
+ "version": "0.7.38",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -25,12 +25,14 @@
25
25
  "lodash-es": "^4.17.22",
26
26
  "vue": "^3.5.27",
27
27
  "vue-i18n": "^11.2.8",
28
- "vuetify": "^3.11.7",
29
- "x-block-lib": "^0.9.17",
28
+ "vuetify": "^3.11.7"
29
+ },
30
+ "peerDependencies": {
31
+ "x-block-lib": "^0.9.19",
30
32
  "x-essential-lib": "^0.9.24",
31
33
  "x-group-list": "^0.4.9",
32
- "x-runtime-lib": "^0.8.188",
33
- "x-state-lib": "^0.3.37"
34
+ "x-runtime-lib": "^0.8.191",
35
+ "x-state-lib": "^0.3.38"
34
36
  },
35
37
  "devDependencies": {
36
38
  "@eslint/js": "^9.39.2",