@opentiny/tiny-engine-settings-panel 2.2.0 → 2.3.0
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 +10 -10
- package/dist/style.css +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { getMergeMeta as v } from "@opentiny/tiny-engine-meta-register";
|
|
3
|
-
import {
|
|
4
|
-
import { resolveComponent as
|
|
3
|
+
import { TabItem as g, Tabs as y } from "@opentiny/vue";
|
|
4
|
+
import { resolveComponent as c, createElementBlock as r, openBlock as i, createVNode as f, withCtx as d, Fragment as V, renderList as b, createBlock as m, withDirectives as h, resolveDynamicComponent as T, createElementVNode as k, vShow as x } from "vue";
|
|
5
5
|
const M = (o, a) => {
|
|
6
6
|
const e = o.__vccOpts || o;
|
|
7
7
|
for (const [t, n] of a)
|
|
@@ -9,8 +9,8 @@ const M = (o, a) => {
|
|
|
9
9
|
return e;
|
|
10
10
|
}, w = {
|
|
11
11
|
components: {
|
|
12
|
-
TinyTabs:
|
|
13
|
-
TinyTabItem:
|
|
12
|
+
TinyTabs: y,
|
|
13
|
+
TinyTabItem: g
|
|
14
14
|
},
|
|
15
15
|
props: {
|
|
16
16
|
modelValue: String,
|
|
@@ -28,22 +28,22 @@ const M = (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 u =
|
|
31
|
+
const u = c("tiny-tab-item"), p = c("tiny-tabs");
|
|
32
32
|
return i(), r("div", B, [
|
|
33
33
|
f(p, {
|
|
34
34
|
"model-value": e.modelValue,
|
|
35
35
|
"onUpdate:modelValue": t.updateModelValue,
|
|
36
36
|
"tab-style": "button-card"
|
|
37
37
|
}, {
|
|
38
|
-
default:
|
|
38
|
+
default: d(() => [
|
|
39
39
|
(i(!0), r(V, null, b(t.settings, (s, _) => (i(), m(u, {
|
|
40
40
|
key: _,
|
|
41
41
|
title: s.title,
|
|
42
42
|
name: s.name
|
|
43
43
|
}, {
|
|
44
|
-
default:
|
|
45
|
-
(i(), m(
|
|
46
|
-
|
|
44
|
+
default: d(() => [
|
|
45
|
+
(i(), m(T(s.component))),
|
|
46
|
+
h(k("div", C, null, 512), [
|
|
47
47
|
[x, e.activated]
|
|
48
48
|
])
|
|
49
49
|
]),
|
|
@@ -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__ */ M(w, [["render", D], ["__scopeId", "data-v-
|
|
57
|
+
const I = /* @__PURE__ */ M(w, [["render", D], ["__scopeId", "data-v-c05e7aad"]]), S = {
|
|
58
58
|
id: "engine.settings"
|
|
59
59
|
}, L = {
|
|
60
60
|
...S,
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
#tiny-right-panel[data-v-
|
|
1
|
+
#tiny-right-panel[data-v-c05e7aad]{width:var(--base-right-panel-width);height:100%;transition:.3s linear;position:relative;border-left:1px solid var(--te-settings-panel-border-color);padding-top:20px;background-color:var(--te-settings-panel-common-bg-color)}#tiny-right-panel .tiny-tabs[data-v-c05e7aad]{height:100%}#tiny-right-panel[data-v-c05e7aad] .tiny-tabs{display:flex;flex-direction:column}#tiny-right-panel[data-v-c05e7aad] .tiny-tabs .tiny-tabs__nav-scroll{text-align:center}#tiny-right-panel[data-v-c05e7aad] .tiny-tabs .tiny-tabs__nav-scroll .tiny-tabs__nav{display:inline-flex;justify-content:center;float:none}#tiny-right-panel[data-v-c05e7aad] .tiny-tabs .tiny-tabs__header{padding-bottom:12px}#tiny-right-panel[data-v-c05e7aad] .tiny-tabs .tiny-tabs__content{flex:1;overflow-y:scroll;padding:0;margin:0}#tiny-right-panel[data-v-c05e7aad] .tiny-tabs .tiny-tabs__item{color:var(--te-settings-panel-common-text-color-secondary)}#tiny-right-panel[data-v-c05e7aad] .tiny-tabs .tiny-tabs__item:hover,#tiny-right-panel[data-v-c05e7aad] .tiny-tabs .tiny-tabs__item.is-active{color:var(--te-settings-panel-common-text-color-primary)}#tiny-right-panel[data-v-c05e7aad] .tiny-collapse-item__content{padding:8px 16px}.active[data-v-c05e7aad]{width:100%;height:100%;position:absolute;top:0;animation:glow-c05e7aad .8s ease-out infinite alternate;transition:opacity 1s linear}@keyframes glow-c05e7aad{0%{box-shadow:inset 0 0 4px var(--te-settings-panel-bg-color-active)}to{box-shadow:inset 0 0 14px var(--te-settings-panel-bg-color-active)}}:root{--te-settings-panel-border-color: var(--te-common-border-divider);--te-settings-panel-common-bg-color: var(--te-common-bg-default);--te-settings-panel-common-text-color-primary: var(--te-common-text-primary);--te-settings-panel-common-text-color-secondary: var(--te-common-text-secondary);--te-settings-panel-bg-color-active: var(--te-common-bg-primary-checked)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/tiny-engine-settings-panel",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"homepage": "https://opentiny.design/tiny-engine",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@opentiny/tiny-engine-meta-register": "2.
|
|
28
|
+
"@opentiny/tiny-engine-meta-register": "2.3.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.
|
|
31
|
+
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.3.0",
|
|
32
32
|
"@vitejs/plugin-vue": "^5.1.2",
|
|
33
33
|
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
|
34
34
|
"vite": "^5.4.2"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@opentiny/vue": "^3.
|
|
37
|
+
"@opentiny/vue": "^3.20.0",
|
|
38
38
|
"vue": "^3.4.15"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "330c4d2b319d5b5ba6ad64c270c21a7931a2e400"
|
|
41
41
|
}
|