@opentiny/tiny-engine-settings-panel 2.0.0-alpha.2 → 2.0.0-alpha.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.
Files changed (2) hide show
  1. package/dist/index.js +17 -17
  2. package/package.json +8 -7
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import "./style.css";
2
2
  import { getMergeMeta as v } from "@opentiny/tiny-engine-meta-register";
3
- import { Tabs as f, TabItem as y } from "@opentiny/vue";
4
- import { resolveComponent as c, openBlock as s, createElementBlock as d, createVNode as g, withCtx as r, Fragment as V, renderList as b, createBlock as m, resolveDynamicComponent as h, withDirectives as x, createElementVNode as M, vShow as T } from "vue";
5
- const k = (o, a) => {
3
+ import { Tabs as f, TabItem as g } from "@opentiny/vue";
4
+ import { resolveComponent as c, openBlock as i, createElementBlock as r, createVNode as y, withCtx as d, Fragment as V, renderList as b, createBlock as m, resolveDynamicComponent as h, withDirectives as T, createElementVNode as k, vShow as x } from "vue";
5
+ const M = (o, a) => {
6
6
  const e = o.__vccOpts || o;
7
7
  for (const [t, n] of a)
8
8
  e[t] = n;
@@ -10,7 +10,7 @@ const k = (o, a) => {
10
10
  }, w = {
11
11
  components: {
12
12
  TinyTabs: f,
13
- TinyTabItem: y
13
+ TinyTabItem: g
14
14
  },
15
15
  props: {
16
16
  modelValue: String,
@@ -28,23 +28,23 @@ const k = (o, a) => {
28
28
  }
29
29
  }, B = { id: "tiny-right-panel" }, C = { class: "active" };
30
30
  function D(o, a, e, t, n, l) {
31
- const _ = c("tiny-tab-item"), u = c("tiny-tabs");
32
- return s(), d("div", B, [
33
- g(u, {
31
+ const u = c("tiny-tab-item"), p = c("tiny-tabs");
32
+ return i(), r("div", B, [
33
+ y(p, {
34
34
  "model-value": e.modelValue,
35
35
  "onUpdate:modelValue": t.updateModelValue,
36
36
  "tab-style": "button-card"
37
37
  }, {
38
- default: r(() => [
39
- (s(!0), d(V, null, b(t.settings, (i, p) => (s(), m(_, {
40
- key: p,
41
- title: i.title,
42
- name: i.name
38
+ default: d(() => [
39
+ (i(!0), r(V, null, b(t.settings, (s, _) => (i(), m(u, {
40
+ key: _,
41
+ title: s.title,
42
+ name: s.name
43
43
  }, {
44
- default: r(() => [
45
- (s(), m(h(i.component))),
46
- x(M("div", C, null, 512), [
47
- [T, e.activated]
44
+ default: d(() => [
45
+ (i(), m(h(s.component))),
46
+ T(k("div", C, null, 512), [
47
+ [x, e.activated]
48
48
  ])
49
49
  ]),
50
50
  _: 2
@@ -54,7 +54,7 @@ function D(o, a, e, t, n, l) {
54
54
  }, 8, ["model-value", "onUpdate:modelValue"])
55
55
  ]);
56
56
  }
57
- const I = /* @__PURE__ */ k(w, [["render", D], ["__scopeId", "data-v-9fce4fe1"]]), S = {
57
+ const I = /* @__PURE__ */ M(w, [["render", D], ["__scopeId", "data-v-9fce4fe1"]]), S = {
58
58
  id: "engine.settings"
59
59
  }, L = {
60
60
  ...S,
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@opentiny/tiny-engine-settings-panel",
3
- "version": "2.0.0-alpha.2",
3
+ "version": "2.0.0-alpha.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "scripts": {
8
8
  "build": "vite build"
9
9
  },
10
+ "type": "module",
10
11
  "main": "dist/index.js",
11
12
  "module": "dist/index.js",
12
13
  "files": [
@@ -24,17 +25,17 @@
24
25
  "license": "MIT",
25
26
  "homepage": "https://opentiny.design/tiny-engine",
26
27
  "dependencies": {
27
- "@opentiny/tiny-engine-meta-register": "2.0.0-alpha.2"
28
+ "@opentiny/tiny-engine-meta-register": "2.0.0-alpha.4"
28
29
  },
29
30
  "devDependencies": {
30
- "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.0.0-alpha.2",
31
- "@vitejs/plugin-vue": "^4.2.3",
32
- "@vitejs/plugin-vue-jsx": "^3.1.0",
33
- "vite": "^4.3.7"
31
+ "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.0.0-alpha.4",
32
+ "@vitejs/plugin-vue": "^5.1.2",
33
+ "@vitejs/plugin-vue-jsx": "^4.0.1",
34
+ "vite": "^5.4.2"
34
35
  },
35
36
  "peerDependencies": {
36
37
  "@opentiny/vue": "^3.14.0",
37
38
  "vue": "^3.4.15"
38
39
  },
39
- "gitHead": "695ecd00f21aa39965a9ddb02590ae274f92cd8e"
40
+ "gitHead": "14f9f41f9fa6a1b4962d0fcd3083798d842e8ff9"
40
41
  }