@ctzy-web-client/plugin-component-vue 1.0.56 → 1.0.57

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.
@@ -374,7 +374,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
374
374
  fixed: item.fixed,
375
375
  align: item.align
376
376
  }, { ref_for: true }, item.componentProps, {
377
- sortable: item.sortable == "custom"
377
+ sortable: item.sortable == "custom" ? "custom" : false
378
378
  }), {
379
379
  header: withCtx(() => [
380
380
  renderSlot(_ctx.$slots, `table-header-col-${item.attrName}`, {}, () => [
@@ -171,7 +171,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
171
171
  return (_ctx, _cache) => {
172
172
  const _component_RefreshRight = resolveComponent("RefreshRight");
173
173
  const _component_Close = resolveComponent("Close");
174
- const _component_Rank = resolveComponent("Rank");
175
174
  return openBlock(), createBlock(unref(ElTooltip), mergeProps({
176
175
  visible: value.value,
177
176
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => value.value = $event)
@@ -270,12 +269,22 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
270
269
  class: normalizeClass(unref(ns).e("field-item"))
271
270
  }, [
272
271
  createElementVNode("span", _hoisted_1, [
273
- createVNode(unref(ElIcon), { style: { "margin-right": "5px" } }, {
274
- default: withCtx(() => [
275
- createVNode(_component_Rank)
276
- ]),
277
- _: 1
278
- }),
272
+ _cache[3] || (_cache[3] = createElementVNode("svg", {
273
+ t: "1782437689736",
274
+ class: "icon",
275
+ viewBox: "0 0 1616 1024",
276
+ version: "1.1",
277
+ xmlns: "http://www.w3.org/2000/svg",
278
+ "p-id": "8064",
279
+ width: "20",
280
+ height: "20"
281
+ }, [
282
+ createElementVNode("path", {
283
+ d: "M384 768C348.653776 768 320 796.653776 320 832 320 867.346224 348.653776 896 384 896 419.346224 896 448 867.346224 448 832 448 796.653776 419.346224 768 384 768ZM384 448C348.653776 448 320 476.653776 320 512 320 547.346224 348.653776 576 384 576 419.346224 576 448 547.346224 448 512 448 476.653776 419.346224 448 384 448ZM384 128C348.653776 128 320 156.653779 320 192 320 227.346221 348.653776 256 384 256 419.346224 256 448 227.346221 448 192 448 156.653779 419.346224 128 384 128ZM640 768C604.653776 768 576 796.653776 576 832 576 867.346224 604.653776 896 640 896 675.346221 896 704 867.346224 704 832 704 796.653776 675.346221 768 640 768ZM640 448C604.653776 448 576 476.653776 576 512 576 547.346224 604.653776 576 640 576 675.346221 576 704 547.346224 704 512 704 476.653776 675.346221 448 640 448ZM640 128C604.653776 128 576 156.653779 576 192 576 227.346221 604.653776 256 640 256 675.346221 256 704 227.346221 704 192 704 156.653779 675.346221 128 640 128Z",
284
+ fill: "#2c2c2c",
285
+ "p-id": "8065"
286
+ })
287
+ ], -1)),
279
288
  createTextVNode(" " + toDisplayString(item.title), 1)
280
289
  ]),
281
290
  createVNode(unref(ElSwitch), {
@@ -378,7 +378,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
378
378
  fixed: item.fixed,
379
379
  align: item.align
380
380
  }, { ref_for: true }, item.componentProps, {
381
- sortable: item.sortable == "custom"
381
+ sortable: item.sortable == "custom" ? "custom" : false
382
382
  }), {
383
383
  header: vue.withCtx(() => [
384
384
  vue.renderSlot(_ctx.$slots, `table-header-col-${item.attrName}`, {}, () => [
@@ -175,7 +175,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
175
175
  return (_ctx, _cache) => {
176
176
  const _component_RefreshRight = vue.resolveComponent("RefreshRight");
177
177
  const _component_Close = vue.resolveComponent("Close");
178
- const _component_Rank = vue.resolveComponent("Rank");
179
178
  return vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElTooltip), vue.mergeProps({
180
179
  visible: value.value,
181
180
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => value.value = $event)
@@ -274,12 +273,22 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
274
273
  class: vue.normalizeClass(vue.unref(ns).e("field-item"))
275
274
  }, [
276
275
  vue.createElementVNode("span", _hoisted_1, [
277
- vue.createVNode(vue.unref(ElementPlus.ElIcon), { style: { "margin-right": "5px" } }, {
278
- default: vue.withCtx(() => [
279
- vue.createVNode(_component_Rank)
280
- ]),
281
- _: 1
282
- }),
276
+ _cache[3] || (_cache[3] = vue.createElementVNode("svg", {
277
+ t: "1782437689736",
278
+ class: "icon",
279
+ viewBox: "0 0 1616 1024",
280
+ version: "1.1",
281
+ xmlns: "http://www.w3.org/2000/svg",
282
+ "p-id": "8064",
283
+ width: "20",
284
+ height: "20"
285
+ }, [
286
+ vue.createElementVNode("path", {
287
+ d: "M384 768C348.653776 768 320 796.653776 320 832 320 867.346224 348.653776 896 384 896 419.346224 896 448 867.346224 448 832 448 796.653776 419.346224 768 384 768ZM384 448C348.653776 448 320 476.653776 320 512 320 547.346224 348.653776 576 384 576 419.346224 576 448 547.346224 448 512 448 476.653776 419.346224 448 384 448ZM384 128C348.653776 128 320 156.653779 320 192 320 227.346221 348.653776 256 384 256 419.346224 256 448 227.346221 448 192 448 156.653779 419.346224 128 384 128ZM640 768C604.653776 768 576 796.653776 576 832 576 867.346224 604.653776 896 640 896 675.346221 896 704 867.346224 704 832 704 796.653776 675.346221 768 640 768ZM640 448C604.653776 448 576 476.653776 576 512 576 547.346224 604.653776 576 640 576 675.346221 576 704 547.346224 704 512 704 476.653776 675.346221 448 640 448ZM640 128C604.653776 128 576 156.653779 576 192 576 227.346221 604.653776 256 640 256 675.346221 256 704 227.346221 704 192 704 156.653779 675.346221 128 640 128Z",
288
+ fill: "#2c2c2c",
289
+ "p-id": "8065"
290
+ })
291
+ ], -1)),
283
292
  vue.createTextVNode(" " + vue.toDisplayString(item.title), 1)
284
293
  ]),
285
294
  vue.createVNode(vue.unref(ElementPlus.ElSwitch), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctzy-web-client/plugin-component-vue",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.mjs",
6
6
  "exports": {
@@ -47,7 +47,7 @@
47
47
  :fixed="item.fixed"
48
48
  :align="item.align"
49
49
  v-bind="item.componentProps"
50
- :sortable="item.sortable=='custom'"
50
+ :sortable="item.sortable=='custom' ?'custom':false"
51
51
  >
52
52
  <template #header>
53
53
  <slot :name="`table-header-col-${item.attrName}`">
@@ -67,7 +67,7 @@
67
67
  <div :class="ns.be('section', 'content')">
68
68
  <div :class="ns.e('field-item')">
69
69
  <span style="display: flex;align-items: center">
70
- <el-icon style="margin-right: 5px"><Rank /></el-icon>
70
+ <svg t="1782437689736" class="icon" viewBox="0 0 1616 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8064" width="20" height="20"><path d="M384 768C348.653776 768 320 796.653776 320 832 320 867.346224 348.653776 896 384 896 419.346224 896 448 867.346224 448 832 448 796.653776 419.346224 768 384 768ZM384 448C348.653776 448 320 476.653776 320 512 320 547.346224 348.653776 576 384 576 419.346224 576 448 547.346224 448 512 448 476.653776 419.346224 448 384 448ZM384 128C348.653776 128 320 156.653779 320 192 320 227.346221 348.653776 256 384 256 419.346224 256 448 227.346221 448 192 448 156.653779 419.346224 128 384 128ZM640 768C604.653776 768 576 796.653776 576 832 576 867.346224 604.653776 896 640 896 675.346221 896 704 867.346224 704 832 704 796.653776 675.346221 768 640 768ZM640 448C604.653776 448 576 476.653776 576 512 576 547.346224 604.653776 576 640 576 675.346221 576 704 547.346224 704 512 704 476.653776 675.346221 448 640 448ZM640 128C604.653776 128 576 156.653779 576 192 576 227.346221 604.653776 256 640 256 675.346221 256 704 227.346221 704 192 704 156.653779 675.346221 128 640 128Z" fill="#2c2c2c" p-id="8065"></path></svg>
71
71
  {{ item.title }}
72
72
  </span>
73
73
  <ElSwitch
File without changes
File without changes