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
@@ -6359,6 +6359,7 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
6359
6359
  * @description 点击事件
6360
6360
  * @param done 需要手动隐藏Loading
6361
6361
  */
6362
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
6362
6363
  click: (event, done = () => {
6363
6364
  }) => event instanceof MouseEvent && isFunction(done)
6364
6365
  };
@@ -6578,75 +6579,6 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
6578
6579
  */
6579
6580
  English: /^[a-z]+$/i
6580
6581
  };
6581
- const CarNumberArea = [
6582
- "京",
6583
- "津",
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
- const CarNumberLetter = [
6618
- "Q",
6619
- "W",
6620
- "E",
6621
- "R",
6622
- "T",
6623
- "Y",
6624
- "U",
6625
- "O",
6626
- "P",
6627
- "挂",
6628
- "A",
6629
- "S",
6630
- "D",
6631
- "F",
6632
- "G",
6633
- "H",
6634
- "J",
6635
- "K",
6636
- "L",
6637
- "学",
6638
- "Z",
6639
- "X",
6640
- "C",
6641
- "V",
6642
- "B",
6643
- "N",
6644
- "M",
6645
- "警",
6646
- "港",
6647
- "澳"
6648
- ];
6649
- const CarNumberDigit = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"];
6650
6582
  function computedEager(fn, options) {
6651
6583
  var _options$flush;
6652
6584
  const result2 = vue.shallowRef();
@@ -14943,6 +14875,75 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
14943
14875
  height
14944
14876
  };
14945
14877
  }
14878
+ const CarNumberArea = [
14879
+ "京",
14880
+ "津",
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
+ const CarNumberLetter = [
14915
+ "Q",
14916
+ "W",
14917
+ "E",
14918
+ "R",
14919
+ "T",
14920
+ "Y",
14921
+ "U",
14922
+ "O",
14923
+ "P",
14924
+ "挂",
14925
+ "A",
14926
+ "S",
14927
+ "D",
14928
+ "F",
14929
+ "G",
14930
+ "H",
14931
+ "J",
14932
+ "K",
14933
+ "L",
14934
+ "学",
14935
+ "Z",
14936
+ "X",
14937
+ "C",
14938
+ "V",
14939
+ "B",
14940
+ "N",
14941
+ "M",
14942
+ "警",
14943
+ "港",
14944
+ "澳"
14945
+ ];
14946
+ const CarNumberDigit = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"];
14946
14947
  function _isSlot$6(s) {
14947
14948
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
14948
14949
  }
@@ -16675,11 +16676,13 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
16675
16676
  expose
16676
16677
  }) {
16677
16678
  const state = vue.reactive({
16679
+ /** 图片加载错误 */
16680
+ loadError: false,
16678
16681
  src: vue.computed(() => {
16679
16682
  if (!props.src) return void 0;
16680
16683
  if (props.base64) {
16681
16684
  return `data:image/png;base64,${props.src}`;
16682
- } else if (props.original) {
16685
+ } else if (props.original || state.loadError) {
16683
16686
  return props.src;
16684
16687
  } else if (props.normal) {
16685
16688
  return `${props.src}@!normal`;
@@ -16697,7 +16700,10 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
16697
16700
  utils.useRender(() => vue.createVNode(ElementPlus2.ElImage, vue.mergeProps(bindProps.value, {
16698
16701
  "class": "fa-image",
16699
16702
  "src": state.src,
16700
- "previewSrcList": state.previewList
16703
+ "previewSrcList": state.previewList,
16704
+ "onError": () => {
16705
+ if (!state.loadError) state.loadError = true;
16706
+ }
16701
16707
  }), {
16702
16708
  error: () => slots.error ? slots.error() : vue.createVNode("div", {
16703
16709
  "class": "fa-image__error-image"
@@ -22428,6 +22434,7 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
22428
22434
  "closeOnPressEscape": true,
22429
22435
  "hideOnClickModal": true,
22430
22436
  "teleported": true,
22437
+ "showProgress": true,
22431
22438
  "onClose": () => state.imagePreview = false,
22432
22439
  "urlList": state.previewList
22433
22440
  }, null), props.columnSettingBtn && vue.createVNode(TableColumnsSettingDialog, {
@@ -28492,7 +28499,7 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
28492
28499
  }
28493
28500
  app.use(ElementPlus2);
28494
28501
  };
28495
- const version$1 = "1.0.14";
28502
+ const version$1 = "1.0.16";
28496
28503
  const INSTALLED_KEY = /* @__PURE__ */ Symbol("INSTALLED_KEY");
28497
28504
  const makeInstaller = () => {
28498
28505
  const install2 = (app) => {