fast-element-plus 1.0.14 → 1.0.16

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 (37) hide show
  1. package/dist/index.full.js +79 -72
  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 +79 -72
  8. package/dist/index.full.mjs.map +1 -1
  9. package/es/components/button/src/button.mjs.map +1 -1
  10. package/es/components/carNumber/src/carNumber.mjs +1 -1
  11. package/es/components/carNumber/src/carNumber.mjs.map +1 -1
  12. package/es/components/image/src/image.mjs +1 -1
  13. package/es/components/image/src/image.mjs.map +1 -1
  14. package/es/components/inputDialogPage/src/inputDialogPage.d.ts +2 -2
  15. package/es/components/inputDialogPage/src/inputDialogPage.mjs +1 -1
  16. package/es/components/inputDialogPage/src/inputDialogPage.mjs.map +1 -1
  17. package/es/components/layoutGrid/src/layoutGridItem.mjs.map +1 -1
  18. package/es/components/table/src/table.mjs +1 -1
  19. package/es/components/table/src/table.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/button/src/button.js.map +1 -1
  24. package/lib/components/carNumber/src/carNumber.js +1 -1
  25. package/lib/components/carNumber/src/carNumber.js.map +1 -1
  26. package/lib/components/image/src/image.js +1 -1
  27. package/lib/components/image/src/image.js.map +1 -1
  28. package/lib/components/inputDialogPage/src/inputDialogPage.d.ts +2 -2
  29. package/lib/components/inputDialogPage/src/inputDialogPage.js +1 -1
  30. package/lib/components/inputDialogPage/src/inputDialogPage.js.map +1 -1
  31. package/lib/components/layoutGrid/src/layoutGridItem.js.map +1 -1
  32. package/lib/components/table/src/table.js +1 -1
  33. package/lib/components/table/src/table.js.map +1 -1
  34. package/lib/version.d.ts +1 -1
  35. package/lib/version.js +1 -1
  36. package/lib/version.js.map +1 -1
  37. package/package.json +2 -2
@@ -6361,6 +6361,7 @@
6361
6361
  * @description 点击事件
6362
6362
  * @param done 需要手动隐藏Loading
6363
6363
  */
6364
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
6364
6365
  click: (event, done = () => {
6365
6366
  }) => event instanceof MouseEvent && isFunction(done)
6366
6367
  };
@@ -6580,75 +6581,6 @@
6580
6581
  */
6581
6582
  English: /^[a-z]+$/i
6582
6583
  };
6583
- const CarNumberArea = [
6584
- "京",
6585
- "津",
6586
- "冀",
6587
- "晋",
6588
- "蒙",
6589
- "辽",
6590
- "吉",
6591
- "黑",
6592
- "沪",
6593
- "苏",
6594
- "浙",
6595
- "皖",
6596
- "闽",
6597
- "赣",
6598
- "鲁",
6599
- "豫",
6600
- "鄂",
6601
- "湘",
6602
- "粤",
6603
- "桂",
6604
- "琼",
6605
- "渝",
6606
- "川",
6607
- "贵",
6608
- "云",
6609
- "藏",
6610
- "陕",
6611
- "甘",
6612
- "青",
6613
- "宁",
6614
- "新",
6615
- "军",
6616
- "使",
6617
- "领"
6618
- ];
6619
- const CarNumberLetter = [
6620
- "Q",
6621
- "W",
6622
- "E",
6623
- "R",
6624
- "T",
6625
- "Y",
6626
- "U",
6627
- "O",
6628
- "P",
6629
- "挂",
6630
- "A",
6631
- "S",
6632
- "D",
6633
- "F",
6634
- "G",
6635
- "H",
6636
- "J",
6637
- "K",
6638
- "L",
6639
- "学",
6640
- "Z",
6641
- "X",
6642
- "C",
6643
- "V",
6644
- "B",
6645
- "N",
6646
- "M",
6647
- "警",
6648
- "港",
6649
- "澳"
6650
- ];
6651
- const CarNumberDigit = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"];
6652
6584
  function computedEager(fn, options) {
6653
6585
  var _options$flush;
6654
6586
  const result2 = vue.shallowRef();
@@ -14945,6 +14877,75 @@
14945
14877
  height
14946
14878
  };
14947
14879
  }
14880
+ const CarNumberArea = [
14881
+ "京",
14882
+ "津",
14883
+ "冀",
14884
+ "晋",
14885
+ "蒙",
14886
+ "辽",
14887
+ "吉",
14888
+ "黑",
14889
+ "沪",
14890
+ "苏",
14891
+ "浙",
14892
+ "皖",
14893
+ "闽",
14894
+ "赣",
14895
+ "鲁",
14896
+ "豫",
14897
+ "鄂",
14898
+ "湘",
14899
+ "粤",
14900
+ "桂",
14901
+ "琼",
14902
+ "渝",
14903
+ "川",
14904
+ "贵",
14905
+ "云",
14906
+ "藏",
14907
+ "陕",
14908
+ "甘",
14909
+ "青",
14910
+ "宁",
14911
+ "新",
14912
+ "军",
14913
+ "使",
14914
+ "领"
14915
+ ];
14916
+ const CarNumberLetter = [
14917
+ "Q",
14918
+ "W",
14919
+ "E",
14920
+ "R",
14921
+ "T",
14922
+ "Y",
14923
+ "U",
14924
+ "O",
14925
+ "P",
14926
+ "挂",
14927
+ "A",
14928
+ "S",
14929
+ "D",
14930
+ "F",
14931
+ "G",
14932
+ "H",
14933
+ "J",
14934
+ "K",
14935
+ "L",
14936
+ "学",
14937
+ "Z",
14938
+ "X",
14939
+ "C",
14940
+ "V",
14941
+ "B",
14942
+ "N",
14943
+ "M",
14944
+ "警",
14945
+ "港",
14946
+ "澳"
14947
+ ];
14948
+ const CarNumberDigit = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"];
14948
14949
  function _isSlot$6(s) {
14949
14950
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
14950
14951
  }
@@ -16677,11 +16678,13 @@
16677
16678
  expose
16678
16679
  }) {
16679
16680
  const state = vue.reactive({
16681
+ /** 图片加载错误 */
16682
+ loadError: false,
16680
16683
  src: vue.computed(() => {
16681
16684
  if (!props.src) return void 0;
16682
16685
  if (props.base64) {
16683
16686
  return `data:image/png;base64,${props.src}`;
16684
- } else if (props.original) {
16687
+ } else if (props.original || state.loadError) {
16685
16688
  return props.src;
16686
16689
  } else if (props.normal) {
16687
16690
  return `${props.src}@!normal`;
@@ -16699,7 +16702,10 @@
16699
16702
  utils.useRender(() => vue.createVNode(ElementPlus.ElImage, vue.mergeProps(bindProps.value, {
16700
16703
  "class": "fa-image",
16701
16704
  "src": state.src,
16702
- "previewSrcList": state.previewList
16705
+ "previewSrcList": state.previewList,
16706
+ "onError": () => {
16707
+ if (!state.loadError) state.loadError = true;
16708
+ }
16703
16709
  }), {
16704
16710
  error: () => slots.error ? slots.error() : vue.createVNode("div", {
16705
16711
  "class": "fa-image__error-image"
@@ -22430,6 +22436,7 @@
22430
22436
  "closeOnPressEscape": true,
22431
22437
  "hideOnClickModal": true,
22432
22438
  "teleported": true,
22439
+ "showProgress": true,
22433
22440
  "onClose": () => state.imagePreview = false,
22434
22441
  "urlList": state.previewList
22435
22442
  }, null), props.columnSettingBtn && vue.createVNode(TableColumnsSettingDialog, {
@@ -28494,7 +28501,7 @@
28494
28501
  }
28495
28502
  app.use(ElementPlus);
28496
28503
  };
28497
- const version$1 = "1.0.14";
28504
+ const version$1 = "1.0.16";
28498
28505
  const INSTALLED_KEY = /* @__PURE__ */ Symbol("INSTALLED_KEY");
28499
28506
  const makeInstaller = () => {
28500
28507
  const install2 = (app) => {