fast-element-plus 1.0.5 → 1.0.6

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.
Files changed (36) hide show
  1. package/dist/index.full.js +10 -6
  2. package/dist/index.full.js.map +1 -1
  3. package/dist/index.full.min.js +1 -1
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +1 -1
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +10 -6
  8. package/dist/index.full.mjs.map +1 -1
  9. package/dist/styles/index.css +1 -0
  10. package/dist/styles/index.css.map +1 -1
  11. package/es/components/table/src/table.mjs +1 -1
  12. package/es/components/table/src/table.mjs.map +1 -1
  13. package/es/components/table/src/table.type.d.ts +4 -0
  14. package/es/components/table/src/table.type.mjs.map +1 -1
  15. package/es/components/table/src/tableColumn.d.ts +5 -0
  16. package/es/components/table/src/tableColumn.mjs +1 -1
  17. package/es/components/table/src/tableColumn.mjs.map +1 -1
  18. package/es/components/table/src/tablePagination.mjs +1 -1
  19. package/es/components/table/src/tablePagination.mjs.map +1 -1
  20. package/es/version.d.ts +1 -1
  21. package/es/version.mjs +1 -1
  22. package/es/version.mjs.map +1 -1
  23. package/lib/components/table/src/table.js +1 -1
  24. package/lib/components/table/src/table.js.map +1 -1
  25. package/lib/components/table/src/table.type.d.ts +4 -0
  26. package/lib/components/table/src/table.type.js.map +1 -1
  27. package/lib/components/table/src/tableColumn.d.ts +5 -0
  28. package/lib/components/table/src/tableColumn.js +1 -1
  29. package/lib/components/table/src/tableColumn.js.map +1 -1
  30. package/lib/components/table/src/tablePagination.js +1 -1
  31. package/lib/components/table/src/tablePagination.js.map +1 -1
  32. package/lib/version.d.ts +1 -1
  33. package/lib/version.js +1 -1
  34. package/lib/version.js.map +1 -1
  35. package/package.json +1 -1
  36. package/styles/components/table.scss +1 -0
@@ -18970,6 +18970,8 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
18970
18970
  },
18971
18971
  /** @description 点击Emits事件回调 */
18972
18972
  clickEmit: String,
18973
+ /** @description 图片列是否显示为原图,默认 false 显示缩略图 */
18974
+ originalImage: Boolean,
18973
18975
  /** @description 显示时间格式化字符串 */
18974
18976
  dateFix: Boolean,
18975
18977
  /** @description 显示在页面中的日期格式 */
@@ -19001,7 +19003,7 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
19001
19003
  row,
19002
19004
  column,
19003
19005
  $index
19004
- }) => isString(emitName) && isObject$1(row) && isObject$1(column) && isNumber($index)
19006
+ }) => (isNil(emitName) || isString(emitName)) && isObject$1(row) && isObject$1(column) && isNumber($index)
19005
19007
  },
19006
19008
  slots: utils.makeSlots(),
19007
19009
  setup(props, {
@@ -19307,7 +19309,8 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
19307
19309
  "lazy": true,
19308
19310
  "src": row[props.prop],
19309
19311
  "fit": "cover",
19310
- "original": true
19312
+ "original": props.originalImage,
19313
+ "thumb": true
19311
19314
  }, null) : vue.createVNode(ElementPlus2.ElImage, {
19312
19315
  "class": "fa-image",
19313
19316
  "lazy": true,
@@ -22538,7 +22541,7 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
22538
22541
  title: "欢迎",
22539
22542
  message: "当前页码已经超过100条/页,可能会造成页面卡顿。",
22540
22543
  type: "warning",
22541
- duration: 1e3
22544
+ duration: 2e3
22542
22545
  });
22543
22546
  }
22544
22547
  emit("sizeChange", pageSize);
@@ -23314,7 +23317,7 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
23314
23317
  row,
23315
23318
  column,
23316
23319
  $index
23317
- }) => isString(emitName) && isObject$1(row) && isObject$1(column) && isNumber($index)
23320
+ }) => (isNil(emitName) || isString(emitName)) && isObject$1(row) && isObject$1(column) && isNumber($index)
23318
23321
  };
23319
23322
  const Table = /* @__PURE__ */ vue.defineComponent({
23320
23323
  name: "FaTable",
@@ -23582,7 +23585,8 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
23582
23585
  }
23583
23586
  });
23584
23587
  emit("headerDragend", newWidth, oldWidth, column, event);
23585
- await utils.clickUtil.debounceAsync(columnSettingRef.value.change, 500);
23588
+ if (!props.columnsChange) return;
23589
+ await utils.clickUtil.debounceAsync(() => props.columnsChange(state.orgColumns), 500);
23586
23590
  };
23587
23591
  const handleImagePreview = (url) => {
23588
23592
  state.previewList = [url];
@@ -28305,7 +28309,7 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
28305
28309
  }
28306
28310
  app.use(ElementPlus2);
28307
28311
  };
28308
- const version$1 = "1.0.5";
28312
+ const version$1 = "1.0.6";
28309
28313
  const INSTALLED_KEY = Symbol("INSTALLED_KEY");
28310
28314
  const makeInstaller = () => {
28311
28315
  const install2 = (app) => {