@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.
@@ -6,12 +6,6 @@
6
6
  height: 40px;
7
7
  line-height: 40px;
8
8
  }
9
- .line[data-v-733feb96] {
10
- height: 1px;
11
- background-color: #bdbdbd;
12
- margin-top: 10px;
13
- margin-bottom: 10px;
14
- }
15
9
  .avatar[data-v-0b647a60] {
16
10
  border: 1px dashed #d9d9d9;
17
11
  }
package/dist/index.cjs.js CHANGED
@@ -41519,6 +41519,15 @@ vue.watch(
41519
41519
  }
41520
41520
  );
41521
41521
 
41522
+ const style = {
41523
+ line: {
41524
+ height: '1px',
41525
+ 'background-color': '#bdbdbd',
41526
+ 'margin-top': '10px',
41527
+ 'margin-bottom': '10px'
41528
+ }
41529
+ };
41530
+
41522
41531
  return (_ctx, _cache) => {
41523
41532
  const _component_el_checkbox = vue.resolveComponent("el-checkbox");
41524
41533
  const _component_el_checkbox_group = vue.resolveComponent("el-checkbox-group");
@@ -41547,7 +41556,9 @@ return (_ctx, _cache) => {
41547
41556
  ]))]),
41548
41557
  _: 1 /* STABLE */
41549
41558
  }, 8 /* PROPS */, ["modelValue", "indeterminate", "onChange"]),
41550
- _cache[5] || (_cache[5] = vue.createElementVNode("div", { class: "line" }, null, -1 /* CACHED */)),
41559
+ vue.createElementVNode("div", {
41560
+ style: vue.normalizeStyle(style.line)
41561
+ }, null, 4 /* STYLE */),
41551
41562
  vue.createVNode(_component_el_checkbox_group, {
41552
41563
  modelValue: vue.unref(itemsChecked),
41553
41564
  "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (vue.isRef(itemsChecked) ? (itemsChecked).value = $event : itemsChecked = $event)),
@@ -41569,7 +41580,9 @@ return (_ctx, _cache) => {
41569
41580
  ]),
41570
41581
  _: 1 /* STABLE */
41571
41582
  }, 8 /* PROPS */, ["modelValue", "onChange"]),
41572
- _cache[6] || (_cache[6] = vue.createElementVNode("div", { class: "line" }, null, -1 /* CACHED */)),
41583
+ vue.createElementVNode("div", {
41584
+ style: vue.normalizeStyle(style.line)
41585
+ }, null, 4 /* STYLE */),
41573
41586
  vue.createElementVNode("div", _hoisted_1$d, [
41574
41587
  vue.createVNode(_component_el_button, {
41575
41588
  type: "success",
@@ -41591,7 +41604,6 @@ return (_ctx, _cache) => {
41591
41604
 
41592
41605
  };
41593
41606
 
41594
- script$e.__scopeId = "data-v-733feb96";
41595
41607
  script$e.__file = "src/table/PickCol.vue";
41596
41608
 
41597
41609
  const _hoisted_1$c = { style: {"padding":"10px"} };
@@ -41883,12 +41895,6 @@ return (_ctx, _cache) => {
41883
41895
  "sort-method": (row2, row1)=>{
41884
41896
  if(col.hdlSortMethod){
41885
41897
  return col.hdlSortMethod({inherit: {row2, row1}})
41886
- }else {
41887
- if(row2.name > row1.name){
41888
- return 1 // 升序
41889
- } else {
41890
- return -1 // 降序
41891
- }
41892
41898
  }
41893
41899
  },
41894
41900
  width: col.width ? col.width : ''
@@ -42061,22 +42067,22 @@ return (_ctx, _cache) => {
42061
42067
  ]),
42062
42068
  _: 1 /* STABLE */
42063
42069
  }, 8 /* PROPS */, ["data", "onCellMouseEnter", "onRowClick", "onSelectionChange", "onSortChange"])), [
42064
- [_directive_loading, vue.unref(tableProps_box).query.loading.visible],
42070
+ [_directive_loading, vue.unref(tableProps_box).table.loading.visible],
42065
42071
  [
42066
42072
  _directive_loading,
42067
- vue.unref(tableProps_box).query.loading.visible ? vue.unref(tableProps_box).query.loading.text : '',
42073
+ vue.unref(tableProps_box).table.loading.visible ? vue.unref(tableProps_box).table.loading.text : '',
42068
42074
  void 0,
42069
42075
  { text: true }
42070
42076
  ],
42071
42077
  [
42072
42078
  _directive_loading,
42073
- vue.unref(tableProps_box).query.loading.visible ? vue.unref(tableProps_box).query.loading.spinner : '',
42079
+ vue.unref(tableProps_box).table.loading.visible ? vue.unref(tableProps_box).table.loading.spinner : '',
42074
42080
  void 0,
42075
42081
  { spinner: true }
42076
42082
  ],
42077
42083
  [
42078
42084
  _directive_loading,
42079
- vue.unref(tableProps_box).query.loading.visible ? vue.unref(tableProps_box).query.loading.background : '',
42085
+ vue.unref(tableProps_box).table.loading.visible ? vue.unref(tableProps_box).table.loading.background : '',
42080
42086
  void 0,
42081
42087
  { background: true }
42082
42088
  ]
@@ -42128,6 +42134,12 @@ var ly0default$1 = {
42128
42134
  },
42129
42135
  topButtonGroups: [],
42130
42136
  table: {
42137
+ loading: {
42138
+ visible: false,
42139
+ text: "加载中...",
42140
+ spinner: 'el-icon-loading',
42141
+ background: 'rgba(0, 0, 0, 0.8)'
42142
+ },
42131
42143
  colShow: {
42132
42144
  // 列元素类型
42133
42145
  image: {
@@ -42176,13 +42188,7 @@ var ly0default$1 = {
42176
42188
  order: ""
42177
42189
  },
42178
42190
  pageSize: 10,
42179
- currentPage: 1,
42180
- loading: {
42181
- visible: false,
42182
- text: "加载中...",
42183
- spinner: 'el-icon-loading',
42184
- background: 'rgba(0, 0, 0, 0.8)'
42185
- }
42191
+ currentPage: 1
42186
42192
  }
42187
42193
  }};
42188
42194