zzz-pc-view 0.0.163 → 0.0.165

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.163",
3
+ "version": "0.0.165",
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
@@ -12335,8 +12335,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
12335
12335
  }
12336
12336
  });
12337
12337
  const _hoisted_1$a = { class: "flex column wrapper data-wrapper" };
12338
- const _hoisted_2$7 = { class: "flex flex-wrap gap-10 data-wrapper-header" };
12339
- const _hoisted_3$5 = { class: "flex gap-10 data-wrapper-footer" };
12338
+ const _hoisted_2$7 = { class: "data-wrapper-header" };
12339
+ const _hoisted_3$5 = { class: "flex flex-wrap gap-10 data-wrapper-header-inner" };
12340
+ const _hoisted_4$5 = { class: "flex gap-10 data-wrapper-footer" };
12340
12341
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
12341
12342
  __name: "DataWrapperView",
12342
12343
  props: {
@@ -12347,7 +12348,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
12347
12348
  const _component_el_scrollbar = resolveComponent("el-scrollbar");
12348
12349
  return openBlock(), createElementBlock("div", _hoisted_1$a, [
12349
12350
  createElementVNode("div", _hoisted_2$7, [
12350
- renderSlot(_ctx.$slots, "header")
12351
+ createElementVNode("div", _hoisted_3$5, [
12352
+ renderSlot(_ctx.$slots, "header")
12353
+ ])
12351
12354
  ]),
12352
12355
  createVNode(_component_el_scrollbar, {
12353
12356
  "view-class": _ctx.bodyViewClass || "wrapper data-wrapper-body",
@@ -12358,7 +12361,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
12358
12361
  ]),
12359
12362
  _: 3
12360
12363
  }, 8, ["view-class"]),
12361
- createElementVNode("div", _hoisted_3$5, [
12364
+ createElementVNode("div", _hoisted_4$5, [
12362
12365
  renderSlot(_ctx.$slots, "footer")
12363
12366
  ]),
12364
12367
  renderSlot(_ctx.$slots, "extra")
@@ -12554,8 +12557,13 @@ const _hoisted_2$6 = {
12554
12557
  key: 0,
12555
12558
  class: "curd-list-aside"
12556
12559
  };
12557
- const _hoisted_3$4 = { class: "flex-1 fit-size curd-list-content" };
12558
- const _hoisted_4$4 = {
12560
+ const _hoisted_3$4 = { class: "flex column flex-1 fit-size" };
12561
+ const _hoisted_4$4 = { class: "flex-1 fit-size curd-list-content" };
12562
+ const _hoisted_5$3 = {
12563
+ key: 0,
12564
+ class: "curd-list-pagination"
12565
+ };
12566
+ const _hoisted_6$2 = {
12559
12567
  key: 1,
12560
12568
  class: "curd-list-aside"
12561
12569
  };
@@ -12568,8 +12576,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
12568
12576
  const props = __props;
12569
12577
  const { pagination } = props.viewHandler;
12570
12578
  return (_ctx, _cache) => {
12571
- const _component_el_card = resolveComponent("el-card");
12572
12579
  const _component_el_pagination = resolveComponent("el-pagination");
12580
+ const _component_el_card = resolveComponent("el-card");
12573
12581
  const _directive_loading = resolveDirective("loading");
12574
12582
  return openBlock(), createBlock(_sfc_main$l, null, {
12575
12583
  header: withCtx(() => [
@@ -12600,7 +12608,24 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
12600
12608
  }, {
12601
12609
  default: withCtx(() => [
12602
12610
  createElementVNode("div", _hoisted_3$4, [
12603
- createVNode(_sfc_main$i, { "view-handler": _ctx.viewHandler }, null, 8, ["view-handler"])
12611
+ createElementVNode("div", _hoisted_4$4, [
12612
+ createVNode(_sfc_main$i, { "view-handler": _ctx.viewHandler }, null, 8, ["view-handler"])
12613
+ ]),
12614
+ unref(pagination) ? (openBlock(), createElementBlock("div", _hoisted_5$3, [
12615
+ createVNode(_component_el_pagination, {
12616
+ "current-page": unref(pagination).currentPage,
12617
+ "onUpdate:currentPage": _cache[0] || (_cache[0] = ($event) => unref(pagination).currentPage = $event),
12618
+ "page-size": unref(pagination).pageSize,
12619
+ "onUpdate:pageSize": _cache[1] || (_cache[1] = ($event) => unref(pagination).pageSize = $event),
12620
+ "page-sizes": [10, 20, 30, 40, 50, 100],
12621
+ total: _ctx.viewHandler.total,
12622
+ disabled: _ctx.viewHandler.listLoadStatus,
12623
+ layout: "total, sizes, prev, pager, next",
12624
+ background: "",
12625
+ onCurrentChange: _ctx.viewHandler.onCurrentPageChange,
12626
+ onSizeChange: _ctx.viewHandler.onPageSizeChange
12627
+ }, null, 8, ["current-page", "page-size", "total", "disabled", "onCurrentChange", "onSizeChange"])
12628
+ ])) : createCommentVNode("", true)
12604
12629
  ])
12605
12630
  ]),
12606
12631
  _: 1
@@ -12608,7 +12633,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
12608
12633
  [_directive_loading, _ctx.viewHandler.listLoadStatus]
12609
12634
  ])
12610
12635
  ]),
12611
- _ctx.viewHandler.displayFilterConfigMap[unref(ZDecorators).FilterKey.PositionEnum.RIGHT] ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
12636
+ _ctx.viewHandler.displayFilterConfigMap[unref(ZDecorators).FilterKey.PositionEnum.RIGHT] ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
12612
12637
  createVNode(_sfc_main$m, {
12613
12638
  "view-handler": _ctx.viewHandler,
12614
12639
  position: unref(ZDecorators).FilterKey.PositionEnum.RIGHT,
@@ -12617,22 +12642,6 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
12617
12642
  ])) : createCommentVNode("", true)
12618
12643
  ])
12619
12644
  ]),
12620
- footer: withCtx(() => [
12621
- unref(pagination) ? (openBlock(), createBlock(_component_el_pagination, {
12622
- key: 0,
12623
- "current-page": unref(pagination).currentPage,
12624
- "onUpdate:currentPage": _cache[0] || (_cache[0] = ($event) => unref(pagination).currentPage = $event),
12625
- "page-size": unref(pagination).pageSize,
12626
- "onUpdate:pageSize": _cache[1] || (_cache[1] = ($event) => unref(pagination).pageSize = $event),
12627
- "page-sizes": [10, 20, 30, 40, 50, 100],
12628
- total: _ctx.viewHandler.total,
12629
- disabled: _ctx.viewHandler.listLoadStatus,
12630
- layout: "total, sizes, prev, pager, next",
12631
- background: "",
12632
- onCurrentChange: _ctx.viewHandler.onCurrentPageChange,
12633
- onSizeChange: _ctx.viewHandler.onPageSizeChange
12634
- }, null, 8, ["current-page", "page-size", "total", "disabled", "onCurrentChange", "onSizeChange"])) : createCommentVNode("", true)
12635
- ]),
12636
12645
  extra: withCtx(() => [
12637
12646
  renderSlot(_ctx.$slots, "editor"),
12638
12647
  renderSlot(_ctx.$slots, "extra")
@@ -13412,7 +13421,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
13412
13421
  const _hoisted_1$3 = { class: "flex valign-center gap-5 layout-profile" };
13413
13422
  const _hoisted_2$3 = {
13414
13423
  key: 1,
13415
- class: "layout-profile-nickname"
13424
+ class: "nowrap layout-profile-nickname"
13416
13425
  };
13417
13426
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
13418
13427
  __name: "LayoutProfileView",