yuang-framework-ui-pc 1.1.10 → 1.1.11

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, shallowRef, computed, watch, onMounted, nextTick, resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, mergeProps as mergeProps$1, createSlots, renderSlot, createCommentVNode, createElementBlock, createVNode, renderList, normalizeStyle } from "vue";
1
+ import { defineComponent, ref, shallowRef, computed, watch, onMounted, nextTick, resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, mergeProps as mergeProps$1, createSlots, renderSlot, createCommentVNode, renderList, createElementBlock, Fragment, normalizeStyle } from "vue";
2
2
  import { pick, getValue } from "../utils/core";
3
3
  import { useGlobalProps } from "../ele-config-provider/receiver";
4
4
  import EleLoading from "../ele-loading/index";
@@ -503,8 +503,6 @@ const _export_sfc = (sfc, props) => {
503
503
  }
504
504
  return target;
505
505
  };
506
- const _hoisted_1 = { key: 1 };
507
- const _hoisted_2 = { key: 2 };
508
506
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
509
507
  resolveComponent("TableTools");
510
508
  const _component_EleToolbar = resolveComponent("EleToolbar");
@@ -523,18 +521,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
523
521
  void 0
524
522
  ]), 1040)) : createCommentVNode("", true),
525
523
  renderSlot(_ctx.$slots, "default"),
526
- _ctx.virtual ? (openBlock(), createElementBlock("div", _hoisted_1, [
527
- createVNode(_component_EleVirtualTable, mergeProps$1(_ctx.tableProps, { ref: "tableViewRef" }), createSlots({ _: 2 }, [
528
- renderList(Object.keys(_ctx.$slots).filter((k) => !_ctx.tableSlotExcludes.includes(k)), (name) => {
529
- return {
530
- name,
531
- fn: withCtx((slotProps) => [
532
- renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps || {})))
533
- ])
534
- };
535
- })
536
- ]), 1040)
537
- ])) : (openBlock(), createElementBlock("div", _hoisted_2, [
524
+ _ctx.virtual ? (openBlock(), createBlock(_component_EleVirtualTable, mergeProps$1({ key: 1 }, _ctx.tableProps, { ref: "tableViewRef" }), createSlots({ _: 2 }, [
525
+ renderList(Object.keys(_ctx.$slots).filter((k) => !_ctx.tableSlotExcludes.includes(k)), (name) => {
526
+ return {
527
+ name,
528
+ fn: withCtx((slotProps) => [
529
+ renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps || {})))
530
+ ])
531
+ };
532
+ })
533
+ ]), 1040)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
538
534
  _ctx.isShowTable ? (openBlock(), createBlock(_component_EleDataTable, mergeProps$1({ key: 0 }, _ctx.tableProps, { ref: "tableViewRef" }), createSlots({ _: 2 }, [
539
535
  renderList(Object.keys(_ctx.$slots).filter((k) => !_ctx.tableSlotExcludes.includes(k)), (name) => {
540
536
  return {
@@ -545,7 +541,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
545
541
  };
546
542
  })
547
543
  ]), 1040)) : createCommentVNode("", true)
548
- ])),
544
+ ], 64)),
549
545
  _ctx.paginationProps || _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
550
546
  key: 3,
551
547
  class: "ele-pro-table-footer",
@@ -504,8 +504,6 @@ const _export_sfc = (sfc, props2) => {
504
504
  }
505
505
  return target;
506
506
  };
507
- const _hoisted_1 = { key: 1 };
508
- const _hoisted_2 = { key: 2 };
509
507
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
510
508
  vue.resolveComponent("TableTools");
511
509
  const _component_EleToolbar = vue.resolveComponent("EleToolbar");
@@ -524,18 +522,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
524
522
  void 0
525
523
  ]), 1040)) : vue.createCommentVNode("", true),
526
524
  vue.renderSlot(_ctx.$slots, "default"),
527
- _ctx.virtual ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
528
- vue.createVNode(_component_EleVirtualTable, vue.mergeProps(_ctx.tableProps, { ref: "tableViewRef" }), vue.createSlots({ _: 2 }, [
529
- vue.renderList(Object.keys(_ctx.$slots).filter((k) => !_ctx.tableSlotExcludes.includes(k)), (name) => {
530
- return {
531
- name,
532
- fn: vue.withCtx((slotProps) => [
533
- vue.renderSlot(_ctx.$slots, name, vue.normalizeProps(vue.guardReactiveProps(slotProps || {})))
534
- ])
535
- };
536
- })
537
- ]), 1040)
538
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
525
+ _ctx.virtual ? (vue.openBlock(), vue.createBlock(_component_EleVirtualTable, vue.mergeProps({ key: 1 }, _ctx.tableProps, { ref: "tableViewRef" }), vue.createSlots({ _: 2 }, [
526
+ vue.renderList(Object.keys(_ctx.$slots).filter((k) => !_ctx.tableSlotExcludes.includes(k)), (name) => {
527
+ return {
528
+ name,
529
+ fn: vue.withCtx((slotProps) => [
530
+ vue.renderSlot(_ctx.$slots, name, vue.normalizeProps(vue.guardReactiveProps(slotProps || {})))
531
+ ])
532
+ };
533
+ })
534
+ ]), 1040)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
539
535
  _ctx.isShowTable ? (vue.openBlock(), vue.createBlock(_component_EleDataTable, vue.mergeProps({ key: 0 }, _ctx.tableProps, { ref: "tableViewRef" }), vue.createSlots({ _: 2 }, [
540
536
  vue.renderList(Object.keys(_ctx.$slots).filter((k) => !_ctx.tableSlotExcludes.includes(k)), (name) => {
541
537
  return {
@@ -546,7 +542,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
546
542
  };
547
543
  })
548
544
  ]), 1040)) : vue.createCommentVNode("", true)
549
- ])),
545
+ ], 64)),
550
546
  _ctx.paginationProps || _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", {
551
547
  key: 3,
552
548
  class: "ele-pro-table-footer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuang-framework-ui-pc",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --host --config vite.global.ts --mode dev",