zzz-pc-view 0.0.63 → 0.0.65

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zzz-pc-view",
3
- "version": "0.0.63",
3
+ "version": "0.0.65",
4
4
  "main": "src/index.umd.js",
5
5
  "module": "src/index.es.js",
6
6
  "types": "src/index.d.ts",
package/src/index.es.js CHANGED
@@ -2726,6 +2726,10 @@ const useSkeletonRow = (skeletonHeight, gap) => {
2726
2726
  });
2727
2727
  return {
2728
2728
  setSkeletonContainer,
2729
+ /**
2730
+ * 获取计算得到的行数
2731
+ * @returns {number} - 行数
2732
+ */
2729
2733
  get rows() {
2730
2734
  return rowsRef.value;
2731
2735
  }
@@ -11335,6 +11339,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
11335
11339
  __name: "DialogEditorView",
11336
11340
  props: {
11337
11341
  formHeight: {},
11342
+ showSaveAndContinueBtn: { type: Boolean },
11338
11343
  saveBtnOption: {},
11339
11344
  viewHandler: {}
11340
11345
  },
@@ -11360,8 +11365,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
11360
11365
  createVNode(_sfc_main$f, {
11361
11366
  "view-handler": _ctx.viewHandler,
11362
11367
  "save-btn-option": _ctx.saveBtnOption,
11368
+ "show-save-and-continue-btn": _ctx.showSaveAndContinueBtn,
11363
11369
  class: "align-right"
11364
- }, null, 8, ["view-handler", "save-btn-option"])
11370
+ }, null, 8, ["view-handler", "save-btn-option", "show-save-and-continue-btn"])
11365
11371
  ]),
11366
11372
  default: withCtx(() => [
11367
11373
  withDirectives((openBlock(), createElementBlock("div", {
@@ -11402,6 +11408,7 @@ const _hoisted_1$5 = {
11402
11408
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
11403
11409
  __name: "DrawerEditorView",
11404
11410
  props: {
11411
+ showSaveAndContinueBtn: { type: Boolean },
11405
11412
  saveBtnOption: {},
11406
11413
  viewHandler: {}
11407
11414
  },
@@ -11423,9 +11430,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
11423
11430
  createVNode(_sfc_main$f, {
11424
11431
  "view-handler": _ctx.viewHandler,
11425
11432
  "save-btn-option": _ctx.saveBtnOption,
11433
+ "show-save-and-continue-btn": _ctx.showSaveAndContinueBtn,
11426
11434
  size: "large",
11427
11435
  class: "align-left"
11428
- }, null, 8, ["view-handler", "save-btn-option"])
11436
+ }, null, 8, ["view-handler", "save-btn-option", "show-save-and-continue-btn"])
11429
11437
  ]),
11430
11438
  default: withCtx(() => [
11431
11439
  _ctx.viewHandler.editorData ? withDirectives((openBlock(), createBlock(_sfc_main$b, {
@@ -11634,7 +11642,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
11634
11642
  ], 10, _hoisted_1$4)) : (openBlock(), createBlock(_component_el_sub_menu, {
11635
11643
  key: 1,
11636
11644
  index: nav.id,
11637
- class: "flex center"
11645
+ class: normalizeClass(_ctx.onlyShowRoot ? "" : "flex center")
11638
11646
  }, {
11639
11647
  title: withCtx(() => [
11640
11648
  nav.icon ? (openBlock(), createBlock(resolveDynamicComponent(nav.icon), {
@@ -11649,7 +11657,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
11649
11657
  }, null, 8, ["navs"])
11650
11658
  ]),
11651
11659
  _: 2
11652
- }, 1032, ["index"]))
11660
+ }, 1032, ["index", "class"]))
11653
11661
  ], 64)) : nav instanceof unref(ZWebUtils).ZNavLink ? (openBlock(), createBlock(_component_el_menu_item, {
11654
11662
  key: 1,
11655
11663
  index: nav.outLink