@opentiny/tiny-engine-toolbar-breadcrumb 2.0.0-alpha.4 → 2.0.0-alpha.6

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 CHANGED
@@ -28,9 +28,9 @@ const M = (o, t) => {
28
28
  BLOCKID: "engine.plugins.blockmanage"
29
29
  }, { layoutState: t } = X(), { plugins: n } = t || {}, e = E({
30
30
  showDeployBlock: !1
31
- }), { CONSTANTS: a, getBreadcrumbData: b } = w(), s = b(), d = () => {
31
+ }), { CONSTANTS: a, getBreadcrumbData: b } = w(), s = b(), u = () => {
32
32
  e.showDeployBlock = !0;
33
- }, u = S(() => {
33
+ }, d = S(() => {
34
34
  const p = b().value[2] || [];
35
35
  let r = "1.0.0", f = 0;
36
36
  return p.forEach((l) => {
@@ -40,9 +40,9 @@ const M = (o, t) => {
40
40
  });
41
41
  return {
42
42
  breadcrumbData: s,
43
- publishBlock: d,
43
+ publishBlock: u,
44
44
  state: e,
45
- nextVersion: u,
45
+ nextVersion: d,
46
46
  CONSTANTS: a,
47
47
  open: () => {
48
48
  n && (n.render = s.value[0] === a.PAGETEXT ? o.PAGEID : o.BLOCKID);
@@ -51,7 +51,7 @@ const M = (o, t) => {
51
51
  }
52
52
  }, j = { class: "top-panel-breadcrumb" };
53
53
  function F(o, t, n, e, a, b) {
54
- const s = c("tiny-breadcrumb-item"), d = c("tiny-breadcrumb"), u = c("tiny-button"), y = c("block-deploy-dialog"), p = c("toolbar-base");
54
+ const s = c("tiny-breadcrumb-item"), u = c("tiny-breadcrumb"), d = c("tiny-button"), y = c("block-deploy-dialog"), p = c("toolbar-base");
55
55
  return i(), B(p, { options: n.options }, {
56
56
  default: m(() => [
57
57
  D("div", j, [
@@ -61,7 +61,7 @@ function F(o, t, n, e, a, b) {
61
61
  { "top-panel-breadcrumb-title-block": e.breadcrumbData[0] === e.CONSTANTS.BLOCKTEXT }
62
62
  ])
63
63
  }, [
64
- k(d, {
64
+ k(u, {
65
65
  separator: ":",
66
66
  onSelect: e.open
67
67
  }, {
@@ -76,7 +76,7 @@ function F(o, t, n, e, a, b) {
76
76
  _: 1
77
77
  }, 8, ["onSelect"])
78
78
  ], 2),
79
- e.breadcrumbData[0] === e.CONSTANTS.BLOCKTEXT ? (i(), B(u, {
79
+ e.breadcrumbData[0] === e.CONSTANTS.BLOCKTEXT ? (i(), B(d, {
80
80
  key: 0,
81
81
  class: "publish",
82
82
  onClick: t[0] || (t[0] = (r) => e.publishBlock()),
@@ -98,7 +98,7 @@ function F(o, t, n, e, a, b) {
98
98
  _: 1
99
99
  }, 8, ["options"]);
100
100
  }
101
- const H = /* @__PURE__ */ M(U, [["render", F], ["__scopeId", "data-v-ef2dd37f"]]), q = {
101
+ const H = /* @__PURE__ */ M(U, [["render", F], ["__scopeId", "data-v-44246d59"]]), q = {
102
102
  id: "engine.toolbars.breadcrumb",
103
103
  type: "toolbars",
104
104
  title: "breadcrumb",
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .top-panel-breadcrumb[data-v-ef2dd37f]{padding-left:12px;box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center;width:auto;height:100%;margin-right:3px;cursor:pointer}.top-panel-breadcrumb-title[data-v-ef2dd37f]{height:28px;padding:0 8px;background-color:var(--ti-lowcode-toolbar-button-bg);display:flex;border-radius:4px}.top-panel-breadcrumb-title[data-v-ef2dd37f] .reference-wrapper{line-height:22px}.top-panel-breadcrumb .tiny-breadcrumb[data-v-ef2dd37f]{line-height:var(--base-top-panel-breadcrumb-line-height);padding-right:4px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:12px;cursor:inherit}.top-panel-breadcrumb .tiny-breadcrumb__item[data-v-ef2dd37f]{cursor:inherit;-webkit-user-select:none;user-select:none}.top-panel-breadcrumb .tiny-breadcrumb__item[data-v-ef2dd37f] .tiny-breadcrumb__inner{color:var(--ti-lowcode-media-popover-title-color);text-decoration:none;cursor:pointer}.top-panel-breadcrumb .tiny-breadcrumb__item[data-v-ef2dd37f] .tiny-breadcrumb__separator{padding:0;margin:0 4px 0 0}.top-panel-breadcrumb .tiny-breadcrumb__item[data-v-ef2dd37f]:last-child .tiny-breadcrumb__inner{font-weight:400;color:var(--ti-lowcode-media-popover-title-color)}.top-panel-breadcrumb-title-block[data-v-ef2dd37f]{background-color:var(--ti-lowcode-toolbar-breadcrumb-bg)}.top-panel-breadcrumb-title-block .tiny-breadcrumb__item[data-v-ef2dd37f] .tiny-breadcrumb__inner{color:var(--ti-lowcode-toolbar-breadcrumb-left-color)}.top-panel-breadcrumb-title-block .tiny-breadcrumb__item[data-v-ef2dd37f]:last-child .tiny-breadcrumb__inner{color:var(--ti-lowcode-toolbar-breadcrumb-left-color)}.top-panel-breadcrumb-title-block[data-v-ef2dd37f]:hover{background-color:var(--ti-lowcode-toolbar-breadcrumb-bg-hover)}.top-panel-breadcrumb .publish[data-v-ef2dd37f]{margin-left:8px;height:28px;line-height:28px}
1
+ .top-panel-breadcrumb[data-v-44246d59]{padding-left:12px;box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center;width:auto;height:100%;margin-right:3px;cursor:pointer}.top-panel-breadcrumb-title[data-v-44246d59]{height:28px;padding:0 8px;background-color:var(--ti-lowcode-toolbar-button-bg);display:flex;border-radius:4px}.top-panel-breadcrumb-title[data-v-44246d59] .reference-wrapper{line-height:22px}.top-panel-breadcrumb .tiny-breadcrumb[data-v-44246d59]{line-height:var(--base-top-panel-breadcrumb-line-height);padding-right:4px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:12px;cursor:inherit}.top-panel-breadcrumb .tiny-breadcrumb__item[data-v-44246d59]{cursor:inherit;-webkit-user-select:none;user-select:none}.top-panel-breadcrumb .tiny-breadcrumb__item[data-v-44246d59] .tiny-breadcrumb__inner{color:var(--ti-lowcode-media-popover-title-color);text-decoration:none;cursor:pointer}.top-panel-breadcrumb .tiny-breadcrumb__item[data-v-44246d59] .tiny-breadcrumb__separator{padding:0;margin:0 4px 0 0}.top-panel-breadcrumb .tiny-breadcrumb__item[data-v-44246d59]:last-child .tiny-breadcrumb__inner{font-weight:400;color:var(--ti-lowcode-media-popover-title-color)}.top-panel-breadcrumb-title-block[data-v-44246d59]{background-color:var(--ti-lowcode-toolbar-breadcrumb-bg)}.top-panel-breadcrumb-title-block .tiny-breadcrumb__item[data-v-44246d59] .tiny-breadcrumb__inner{color:var(--ti-lowcode-toolbar-breadcrumb-left-color)}.top-panel-breadcrumb-title-block .tiny-breadcrumb__item[data-v-44246d59]:last-child .tiny-breadcrumb__inner{color:var(--ti-lowcode-toolbar-breadcrumb-left-color)}.top-panel-breadcrumb-title-block[data-v-44246d59]:hover{background-color:var(--ti-lowcode-toolbar-breadcrumb-bg-hover)}.top-panel-breadcrumb .publish[data-v-44246d59]{margin:0 8px;height:24px;line-height:24px;min-width:40px;font-size:12px}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentiny/tiny-engine-toolbar-breadcrumb",
3
- "version": "2.0.0-alpha.4",
3
+ "version": "2.0.0-alpha.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -25,13 +25,13 @@
25
25
  "license": "MIT",
26
26
  "homepage": "https://opentiny.design/tiny-engine",
27
27
  "dependencies": {
28
- "@opentiny/tiny-engine-common": "2.0.0-alpha.4",
29
- "@opentiny/tiny-engine-http": "2.0.0-alpha.4",
30
- "@opentiny/tiny-engine-meta-register": "2.0.0-alpha.4",
31
- "@opentiny/tiny-engine-utils": "2.0.0-alpha.4"
28
+ "@opentiny/tiny-engine-common": "2.0.0-alpha.6",
29
+ "@opentiny/tiny-engine-http": "2.0.0-alpha.6",
30
+ "@opentiny/tiny-engine-meta-register": "2.0.0-alpha.6",
31
+ "@opentiny/tiny-engine-utils": "2.0.0-alpha.6"
32
32
  },
33
33
  "devDependencies": {
34
- "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.0.0-alpha.4",
34
+ "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.0.0-alpha.6",
35
35
  "@vitejs/plugin-vue": "^5.1.2",
36
36
  "@vitejs/plugin-vue-jsx": "^4.0.1",
37
37
  "vite": "^5.4.2"
@@ -40,5 +40,5 @@
40
40
  "@opentiny/vue": "^3.14.0",
41
41
  "vue": "^3.4.15"
42
42
  },
43
- "gitHead": "14f9f41f9fa6a1b4962d0fcd3083798d842e8ff9"
43
+ "gitHead": "d283c5ad8392a581b64d51a4464cca68c24105e4"
44
44
  }