@yoooloo42/joker 1.0.141 → 1.0.143

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.esm.js CHANGED
@@ -41515,6 +41515,15 @@ watch(
41515
41515
  }
41516
41516
  );
41517
41517
 
41518
+ const style = {
41519
+ line: {
41520
+ height: '1px',
41521
+ 'background-color': '#bdbdbd',
41522
+ 'margin-top': '10px',
41523
+ 'margin-bottom': '10px'
41524
+ }
41525
+ };
41526
+
41518
41527
  return (_ctx, _cache) => {
41519
41528
  const _component_el_checkbox = resolveComponent("el-checkbox");
41520
41529
  const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
@@ -41543,7 +41552,9 @@ return (_ctx, _cache) => {
41543
41552
  ]))]),
41544
41553
  _: 1 /* STABLE */
41545
41554
  }, 8 /* PROPS */, ["modelValue", "indeterminate", "onChange"]),
41546
- _cache[5] || (_cache[5] = createElementVNode("div", { class: "line" }, null, -1 /* CACHED */)),
41555
+ createElementVNode("div", {
41556
+ style: normalizeStyle(style.line)
41557
+ }, null, 4 /* STYLE */),
41547
41558
  createVNode(_component_el_checkbox_group, {
41548
41559
  modelValue: unref(itemsChecked),
41549
41560
  "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (isRef(itemsChecked) ? (itemsChecked).value = $event : itemsChecked = $event)),
@@ -41565,7 +41576,9 @@ return (_ctx, _cache) => {
41565
41576
  ]),
41566
41577
  _: 1 /* STABLE */
41567
41578
  }, 8 /* PROPS */, ["modelValue", "onChange"]),
41568
- _cache[6] || (_cache[6] = createElementVNode("div", { class: "line" }, null, -1 /* CACHED */)),
41579
+ createElementVNode("div", {
41580
+ style: normalizeStyle(style.line)
41581
+ }, null, 4 /* STYLE */),
41569
41582
  createElementVNode("div", _hoisted_1$d, [
41570
41583
  createVNode(_component_el_button, {
41571
41584
  type: "success",
@@ -41587,7 +41600,6 @@ return (_ctx, _cache) => {
41587
41600
 
41588
41601
  };
41589
41602
 
41590
- script$e.__scopeId = "data-v-733feb96";
41591
41603
  script$e.__file = "src/table/PickCol.vue";
41592
41604
 
41593
41605
  const _hoisted_1$c = { style: {"padding":"10px"} };
@@ -41879,12 +41891,6 @@ return (_ctx, _cache) => {
41879
41891
  "sort-method": (row2, row1)=>{
41880
41892
  if(col.hdlSortMethod){
41881
41893
  return col.hdlSortMethod({inherit: {row2, row1}})
41882
- }else {
41883
- if(row2.name > row1.name){
41884
- return 1 // 升序
41885
- } else {
41886
- return -1 // 降序
41887
- }
41888
41894
  }
41889
41895
  },
41890
41896
  width: col.width ? col.width : ''
@@ -42057,22 +42063,22 @@ return (_ctx, _cache) => {
42057
42063
  ]),
42058
42064
  _: 1 /* STABLE */
42059
42065
  }, 8 /* PROPS */, ["data", "onCellMouseEnter", "onRowClick", "onSelectionChange", "onSortChange"])), [
42060
- [_directive_loading, unref(tableProps_box).query.loading.visible],
42066
+ [_directive_loading, unref(tableProps_box).table.loading.visible],
42061
42067
  [
42062
42068
  _directive_loading,
42063
- unref(tableProps_box).query.loading.visible ? unref(tableProps_box).query.loading.text : '',
42069
+ unref(tableProps_box).table.loading.visible ? unref(tableProps_box).table.loading.text : '',
42064
42070
  void 0,
42065
42071
  { text: true }
42066
42072
  ],
42067
42073
  [
42068
42074
  _directive_loading,
42069
- unref(tableProps_box).query.loading.visible ? unref(tableProps_box).query.loading.spinner : '',
42075
+ unref(tableProps_box).table.loading.visible ? unref(tableProps_box).table.loading.spinner : '',
42070
42076
  void 0,
42071
42077
  { spinner: true }
42072
42078
  ],
42073
42079
  [
42074
42080
  _directive_loading,
42075
- unref(tableProps_box).query.loading.visible ? unref(tableProps_box).query.loading.background : '',
42081
+ unref(tableProps_box).table.loading.visible ? unref(tableProps_box).table.loading.background : '',
42076
42082
  void 0,
42077
42083
  { background: true }
42078
42084
  ]
@@ -42124,6 +42130,12 @@ var ly0default$1 = {
42124
42130
  },
42125
42131
  topButtonGroups: [],
42126
42132
  table: {
42133
+ loading: {
42134
+ visible: false,
42135
+ text: "加载中...",
42136
+ spinner: 'el-icon-loading',
42137
+ background: 'rgba(0, 0, 0, 0.8)'
42138
+ },
42127
42139
  colShow: {
42128
42140
  // 列元素类型
42129
42141
  image: {
@@ -42172,13 +42184,7 @@ var ly0default$1 = {
42172
42184
  order: ""
42173
42185
  },
42174
42186
  pageSize: 10,
42175
- currentPage: 1,
42176
- loading: {
42177
- visible: false,
42178
- text: "加载中...",
42179
- spinner: 'el-icon-loading',
42180
- background: 'rgba(0, 0, 0, 0.8)'
42181
- }
42187
+ currentPage: 1
42182
42188
  }
42183
42189
  }};
42184
42190