xrk-components 2.0.0-beta.32 → 2.0.0-beta.34

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.
package/lib/index.css CHANGED
@@ -19709,6 +19709,12 @@
19709
19709
  .base-input[data-v-36a4c1cb] .xrk-input__wrapper:has(input[disabled]) {
19710
19710
  pointer-events: none;
19711
19711
  }
19712
+ [data-v-13bddb91] .xrk-empty__description {
19713
+ --xrk-empty-description-margin-top: 4px;
19714
+ }
19715
+ [data-v-13bddb91] .xrk-empty__description p {
19716
+ color: var(--xrk-text-color-disabled);
19717
+ }
19712
19718
  @charset "UTF-8";
19713
19719
  .base-input-number.no-controls[data-v-0a3ed835] {
19714
19720
  width: 100%;
package/lib/index.esm.js CHANGED
@@ -71087,8 +71087,8 @@ var script$E = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$C
71087
71087
 
71088
71088
  script$E.__file = "packages/base/button/button.vue";
71089
71089
 
71090
- var _hoisted_1$g = /*#__PURE__*/ createTextVNode("更多");
71091
- var _hoisted_2$9 = { class: "btn-group" };
71090
+ var _hoisted_1$h = /*#__PURE__*/ createTextVNode("更多");
71091
+ var _hoisted_2$a = { class: "btn-group" };
71092
71092
  var _hoisted_3$7 = ["onClick"];
71093
71093
  var __default__$B = {
71094
71094
  name: 'base-button-more'
@@ -71186,13 +71186,13 @@ var script$D = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$B
71186
71186
  type: "primary2"
71187
71187
  }, {
71188
71188
  default: withCtx(function () { return [
71189
- _hoisted_1$g
71189
+ _hoisted_1$h
71190
71190
  ]; }),
71191
71191
  _: 1 /* STABLE */
71192
71192
  })
71193
71193
  ]; }),
71194
71194
  default: withCtx(function () { return [
71195
- createElementVNode("div", _hoisted_2$9, [
71195
+ createElementVNode("div", _hoisted_2$a, [
71196
71196
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.btns, function (btn, index) {
71197
71197
  return (openBlock(), createElementBlock("div", {
71198
71198
  class: normalizeClass(["btn", { disabled: btn.disabled }]),
@@ -71290,11 +71290,11 @@ var script$C = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$A
71290
71290
 
71291
71291
  script$C.__file = "packages/base/image/image.vue";
71292
71292
 
71293
- var _hoisted_1$f = {
71293
+ var _hoisted_1$g = {
71294
71294
  key: 0,
71295
71295
  style: { "width": "100%", "height": "100%" }
71296
71296
  };
71297
- var _hoisted_2$8 = {
71297
+ var _hoisted_2$9 = {
71298
71298
  key: 0,
71299
71299
  style: { "position": "absolute", "width": "100%", "height": "100%", "left": "0", "top": "0" }
71300
71300
  };
@@ -71481,7 +71481,7 @@ var script$B = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$z
71481
71481
  });
71482
71482
  return function (_ctx, _cache) {
71483
71483
  return (showImageViewer.value)
71484
- ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
71484
+ ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
71485
71485
  (__props.fullScreen)
71486
71486
  ? (openBlock(), createBlock(unref(ElImageViewer), {
71487
71487
  key: 0,
@@ -71503,7 +71503,7 @@ var script$B = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$z
71503
71503
  var _a;
71504
71504
  return [
71505
71505
  ((_a = unref(slots)) === null || _a === void 0 ? void 0 : _a.default)
71506
- ? (openBlock(), createElementBlock("div", _hoisted_2$8, [
71506
+ ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
71507
71507
  renderSlot(_ctx.$slots, "default", {
71508
71508
  slotScope: { activeIndex: activeIndex.value }
71509
71509
  })
@@ -71731,7 +71731,7 @@ var script$y = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$w
71731
71731
  script$y.__scopeId = "data-v-56d41f26";
71732
71732
  script$y.__file = "packages/base/radio/radio.vue";
71733
71733
 
71734
- var _hoisted_1$e = { style: { "display": "inline-block" } };
71734
+ var _hoisted_1$f = { style: { "display": "inline-block" } };
71735
71735
  var __default__$v = {
71736
71736
  name: 'base-radio-group'
71737
71737
  };
@@ -71795,7 +71795,7 @@ var script$x = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$v
71795
71795
  onChange: handleChange
71796
71796
  }, {
71797
71797
  default: withCtx(function () { return [
71798
- withDirectives((openBlock(), createElementBlock("div", _hoisted_1$e, [
71798
+ withDirectives((openBlock(), createElementBlock("div", _hoisted_1$f, [
71799
71799
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, function (item, index) {
71800
71800
  return (openBlock(), createBlock(script$y, normalizeProps(mergeProps({ key: index }, item)), null, 16 /* FULL_PROPS */));
71801
71801
  }), 128 /* KEYED_FRAGMENT */)),
@@ -71945,7 +71945,7 @@ var script$v = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$t
71945
71945
  script$v.__scopeId = "data-v-53a67995";
71946
71946
  script$v.__file = "packages/base/checkbox/checkbox.vue";
71947
71947
 
71948
- var _hoisted_1$d = { style: { "display": "inline-block" } };
71948
+ var _hoisted_1$e = { style: { "display": "inline-block" } };
71949
71949
  var __default__$s = {
71950
71950
  name: 'base-checkbox-group'
71951
71951
  };
@@ -72014,7 +72014,7 @@ var script$u = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$s
72014
72014
  onChange: handleChange
72015
72015
  }, {
72016
72016
  default: withCtx(function () { return [
72017
- withDirectives((openBlock(), createElementBlock("div", _hoisted_1$d, [
72017
+ withDirectives((openBlock(), createElementBlock("div", _hoisted_1$e, [
72018
72018
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, function (item, index) {
72019
72019
  return (openBlock(), createBlock(script$v, normalizeProps(mergeProps({ key: index }, item)), null, 16 /* FULL_PROPS */));
72020
72020
  }), 128 /* KEYED_FRAGMENT */)),
@@ -72583,36 +72583,213 @@ script$r.__file = "packages/base/input/input.vue";
72583
72583
 
72584
72584
  var BaseInput = script$r;
72585
72585
 
72586
+ var _withScopeId$4 = function (n) { return (pushScopeId("data-v-13bddb91"), n = n(), popScopeId(), n); };
72587
+ var _hoisted_1$d = ["src"];
72588
+ var _hoisted_2$8 = /*#__PURE__*/ _withScopeId$4(function () { return createElementVNode("svg", {
72589
+ xmlns: "http://www.w3.org/2000/svg",
72590
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
72591
+ fill: "none",
72592
+ version: "1.1",
72593
+ width: "119.13671875",
72594
+ height: "94.89306640625",
72595
+ viewBox: "0 0 119.13671875 94.89306640625"
72596
+ }, [
72597
+ /*#__PURE__*/ createElementVNode("defs", null, [
72598
+ /*#__PURE__*/ createElementVNode("linearGradient", {
72599
+ x1: "0.5",
72600
+ y1: "0",
72601
+ x2: "0.5",
72602
+ y2: "1",
72603
+ id: "master_svg0_72_071359"
72604
+ }, [
72605
+ /*#__PURE__*/ createElementVNode("stop", {
72606
+ offset: "0%",
72607
+ "stop-color": "#DEDDDD",
72608
+ "stop-opacity": "1"
72609
+ }),
72610
+ /*#__PURE__*/ createElementVNode("stop", {
72611
+ offset: "100%",
72612
+ "stop-color": "#F4F4F4",
72613
+ "stop-opacity": "1"
72614
+ })
72615
+ ]),
72616
+ /*#__PURE__*/ createElementVNode("linearGradient", {
72617
+ x1: "0",
72618
+ y1: "1.1176470518112183",
72619
+ x2: "1.1888794749411877",
72620
+ y2: "-0.05711098339441012",
72621
+ id: "master_svg1_72_072386"
72622
+ }, [
72623
+ /*#__PURE__*/ createElementVNode("stop", {
72624
+ offset: "0%",
72625
+ "stop-color": "#EBEBEB",
72626
+ "stop-opacity": "1"
72627
+ }),
72628
+ /*#__PURE__*/ createElementVNode("stop", {
72629
+ offset: "100%",
72630
+ "stop-color": "#D8D8D8",
72631
+ "stop-opacity": "0"
72632
+ })
72633
+ ])
72634
+ ]),
72635
+ /*#__PURE__*/ createElementVNode("g", null, [
72636
+ /*#__PURE__*/ createElementVNode("g", null, [
72637
+ /*#__PURE__*/ createElementVNode("g", null, [
72638
+ /*#__PURE__*/ createElementVNode("g", null, [
72639
+ /*#__PURE__*/ createElementVNode("ellipse", {
72640
+ cx: "55.99997425079346",
72641
+ cy: "84.89306640625",
72642
+ rx: "51",
72643
+ ry: "9",
72644
+ fill: "#E8E8E8",
72645
+ "fill-opacity": "1"
72646
+ })
72647
+ ]),
72648
+ /*#__PURE__*/ createElementVNode("g", null, [
72649
+ /*#__PURE__*/ createElementVNode("path", {
72650
+ d: "M16.999974250793457,83.89306640625L92.99997425079346,83.89306640625L92.99997425079346,60.58096640625L81.52577425079346,45.89306640625L29.284174250793455,45.89306640625L16.999974250793457,60.58096640625L16.999974250793457,83.89306640625Z",
72651
+ fill: "#DFDFDF",
72652
+ "fill-opacity": "1"
72653
+ })
72654
+ ]),
72655
+ /*#__PURE__*/ createElementVNode("g", null, [
72656
+ /*#__PURE__*/ createElementVNode("g", null, [
72657
+ /*#__PURE__*/ createElementVNode("rect", {
72658
+ x: "23.999974250793457",
72659
+ y: "11.89306640625",
72660
+ width: "61.999996185302734",
72661
+ height: "65",
72662
+ rx: "2",
72663
+ fill: "#F6F6F6",
72664
+ "fill-opacity": "1"
72665
+ })
72666
+ ]),
72667
+ /*#__PURE__*/ createElementVNode("g", null, [
72668
+ /*#__PURE__*/ createElementVNode("rect", {
72669
+ x: "36.99997425079346",
72670
+ y: "23.89306640625",
72671
+ width: "37",
72672
+ height: "16",
72673
+ rx: "2",
72674
+ fill: "#DFDFDF",
72675
+ "fill-opacity": "1"
72676
+ })
72677
+ ]),
72678
+ /*#__PURE__*/ createElementVNode("g", null, [
72679
+ /*#__PURE__*/ createElementVNode("rect", {
72680
+ x: "36.99997425079346",
72681
+ y: "46.89306640625",
72682
+ width: "37",
72683
+ height: "3",
72684
+ rx: "1.5",
72685
+ fill: "#DFDFDF",
72686
+ "fill-opacity": "1"
72687
+ })
72688
+ ]),
72689
+ /*#__PURE__*/ createElementVNode("g", null, [
72690
+ /*#__PURE__*/ createElementVNode("rect", {
72691
+ x: "36.99997425079346",
72692
+ y: "55.89306640625",
72693
+ width: "37",
72694
+ height: "3",
72695
+ rx: "1.5",
72696
+ fill: "#DFDFDF",
72697
+ "fill-opacity": "1"
72698
+ })
72699
+ ])
72700
+ ]),
72701
+ /*#__PURE__*/ createElementVNode("g", null, [
72702
+ /*#__PURE__*/ createElementVNode("path", {
72703
+ d: "M16.999974250793457,88.89306640625L92.99997425079346,88.89306640625L92.99997425079346,60.89306640625L73.36107425079345,60.89306640625L69.05657425079346,68.98785640625L41.21237425079346,68.98785640625L37.71497425079346,60.89306640625L16.999974250793457,60.89306640625L16.999974250793457,88.89306640625Z",
72704
+ fill: "url(#master_svg0_72_071359)",
72705
+ "fill-opacity": "1"
72706
+ })
72707
+ ]),
72708
+ /*#__PURE__*/ createElementVNode("g", null, [
72709
+ /*#__PURE__*/ createElementVNode("path", {
72710
+ d: "M73.66147425079345,61.39306640625L92.99997425079346,61.39306640625L92.99997425079346,60.39306640625L73.06057425079345,60.39306640625L68.75617425079346,68.48785640625L41.540974250793454,68.48785640625L38.04367425079346,60.39306640625L16.999974250793457,60.39306640625L16.999974250793457,61.39306640625L37.38637425079345,61.39306640625L40.88367425079346,69.48785640625L69.35707425079346,69.48785640625L73.66147425079345,61.39306640625Z",
72711
+ "fill-rule": "evenodd",
72712
+ fill: "#FFFFFF",
72713
+ "fill-opacity": "1"
72714
+ })
72715
+ ]),
72716
+ /*#__PURE__*/ createElementVNode("g", { transform: "matrix(0.9784414172172546,-0.20652461051940918,0.20652461051940918,0.9784414172172546,-3.8349139721439656,19.752474900676816)" }, [
72717
+ /*#__PURE__*/ createElementVNode("path", {
72718
+ d: "M93.83019190704346,36.960783046875C93.17994990704345,37.449523046875,92.99269390704346,38.344573046875,93.39246590704346,39.052973046874996L95.49118190704345,42.772073046875L98.36514190704345,41.047673046875C102.97692190704346,38.280573046875,106.50482190704346,34.020773046875,108.36422190704346,28.974163046875L101.75827190704345,28.244670867875C99.81756190704345,31.523723046875,97.25132190704346,34.389393046875,94.20543190704346,36.678743046875L93.83019190704346,36.960783046875Z",
72719
+ fill: "url(#master_svg1_72_072386)",
72720
+ "fill-opacity": "1"
72721
+ })
72722
+ ])
72723
+ ]),
72724
+ /*#__PURE__*/ createElementVNode("g", { transform: "matrix(0.9475014805793762,0.31975147128105164,-0.31975147128105164,0.9475014805793762,19.81132425722126,-32.05932647748591)" }, [
72725
+ /*#__PURE__*/ createElementVNode("path", {
72726
+ d: "M112.03785648681641,44.330225234375Q112.0370864868164,44.316368434375,112.0370864868164,44.302490234375Q112.0370864868164,44.253244534375,112.0466964868164,44.204945134375Q112.05629648681641,44.156645234375,112.07514648681641,44.111148234375Q112.0939864868164,44.065651234375,112.1213464868164,44.024705234375Q112.14870648681641,43.983759234375,112.18353648681641,43.948937234375Q112.2183564868164,43.914115234375,112.25929648681641,43.886755234375Q112.3002464868164,43.859396234375,112.34574648681641,43.840550234375Q112.39123648681641,43.821705234375,112.43953648681641,43.812097234375Q112.4878364868164,43.802490234375,112.5370864868164,43.802490234375Q112.5845864868164,43.802490234375,112.6312264868164,43.811432234375Q112.6778764868164,43.820375234375,112.72199648681641,43.837940234375Q112.7661264868164,43.855505234375,112.8061564868164,43.881064234375Q112.8461864868164,43.906624234375,112.8806964868164,43.939263234375Q112.91519648681641,43.971902234375,112.94293648681641,44.010454234375Q112.9706764868164,44.049006234375,112.99066648681641,44.092092234375Q113.01064648681641,44.135177234375,113.0221664868164,44.181255234375Q113.0336864868164,44.227333134375,113.0363164868164,44.274755134375Q113.54797648681641,53.484560234374996,107.90628748681641,59.639690234374996L107.90566348681641,59.640390234375Q107.83466948681641,59.717790234375,107.7384504868164,59.760190234375Q107.6422314868164,59.802490234375,107.5370864868164,59.802490234375Q107.4878407868164,59.802490234375,107.4395413868164,59.792890234375Q107.39124148681641,59.783290234375,107.3457444868164,59.764390234375Q107.3002474868164,59.745590234375,107.25930148681641,59.718190234375Q107.2183554868164,59.690890234375004,107.1835334868164,59.656090234375Q107.14871148681641,59.621190234375,107.12135148681641,59.580290234375Q107.0939924868164,59.539290234375,107.07514648681641,59.493790234375Q107.05630148681641,59.448290234375,107.04669348681641,59.399990234375Q107.0370864868164,59.351690234375,107.0370864868164,59.302490234375Q107.0370864868164,59.208690234375,107.07109848681641,59.121190234375Q107.10511148681641,59.033790234375,107.1685084868164,58.964590234375Q107.16922248681641,58.963890234375,107.1699344868164,58.963090234375Q112.5258464868164,53.119010234375,112.03790648681641,44.331079634375L112.03785648681641,44.330225234375L112.03785648681641,44.330225234375Z",
72727
+ "fill-rule": "evenodd",
72728
+ fill: "#D8D8D8",
72729
+ "fill-opacity": "1"
72730
+ })
72731
+ ]),
72732
+ /*#__PURE__*/ createElementVNode("g", { transform: "matrix(0.9475014805793762,0.31975147128105164,-0.31975147128105164,0.9475014805793762,19.534051967951655,-32.573677044789974)" }, [
72733
+ /*#__PURE__*/ createElementVNode("path", {
72734
+ d: "M117.96676086181641,43.244874634375Q117.9648208618164,43.222943734375,117.9648208618164,43.200927734375Q117.9648208618164,43.151682034375,117.9744308618164,43.103382634375Q117.98403086181641,43.055082734375,118.00288086181641,43.009585734375Q118.0217208618164,42.964088734375,118.0490808618164,42.923142734375Q118.07644086181641,42.882196734375,118.11127086181641,42.847374734375Q118.1460908618164,42.812552734375,118.18703086181641,42.785192734375Q118.2279808618164,42.757833734375,118.27348086181641,42.738987734375Q118.31897086181641,42.720142734375,118.36727086181641,42.710534734375Q118.4155708618164,42.700927734375,118.4648208618164,42.700927734375Q118.5112908618164,42.700927734375,118.5569608618164,42.709491734375Q118.60264086181641,42.718055734375,118.6459508618164,42.734889734375Q118.68927086181641,42.751724734375,118.7287408618164,42.776253734375Q118.76821086181641,42.800781734375,118.8024808618164,42.832163734375Q118.83675086181641,42.863545734375,118.8646508618164,42.900706734375Q118.8925608618164,42.937867734375,118.9131308618164,42.979534734375Q118.93371086181641,43.021200734375,118.9462608618164,43.065945734375Q118.9588008618164,43.110690434375,118.9628808618164,43.156980834375Q120.4853208618164,60.411427734374996,109.2923438618164,70.07872773437501L109.2916308618164,70.079327734375L117.96676086181641,43.244874634375Z",
72735
+ "fill-rule": "evenodd",
72736
+ fill: "#D8D8D8",
72737
+ "fill-opacity": "1"
72738
+ })
72739
+ ]),
72740
+ /*#__PURE__*/ createElementVNode("g", { transform: "matrix(0.8641539216041565,0.5032275915145874,-0.5032275915145874,0.8641539216041565,2.199509134023799,-6.147851509694988)" }, [
72741
+ /*#__PURE__*/ createElementVNode("path", {
72742
+ d: "M17.83670065704346,1.315995Q17.724190657043458,1.178027,17.724190657043458,1Q17.72418065704346,0.9507543,17.733790657043457,0.9024549Q17.74340065704346,0.854155,17.762240657043456,0.808658Q17.781090657043457,0.763161,17.80845065704346,0.722215Q17.835810657043456,0.681269,17.870630657043456,0.646447Q17.905450657043456,0.611625,17.946400657043455,0.584265Q17.987350657043457,0.556906,18.032840657043458,0.53806Q18.078340657043455,0.519215,18.126640657043456,0.5096069999999999Q18.174940657043457,0.5,18.224190657043458,0.5Q18.336870657043455,0.5,18.438660657043457,0.548338Q18.540460657043457,0.596676,18.611670657043458,0.684006Q21.58097065704346,4.3251100000000005,21.020920657043455,7.33626Q20.85629065704346,8.22143,20.389880657043456,9.0379Q20.64748065704346,9.25349,20.90968065704346,9.5114Q23.218090657043454,11.782,21.006140657043456,15.6068Q18.942610657043456,19.175,12.803982657043457,24.2127Q12.665690657043458,24.3262,12.486790657043457,24.3262Q12.437544957043457,24.3262,12.389245557043457,24.3166Q12.340945657043457,24.307,12.295448657043456,24.2882Q12.249951657043457,24.2693,12.209005657043457,24.242Q12.168059657043457,24.2146,12.133237657043457,24.1798Q12.098415657043457,24.145,12.071055657043457,24.104Q12.043696657043457,24.0631,12.024850657043457,24.0176Q12.006005657043456,23.9721,11.996397657043458,23.9238Q11.986790657043457,23.8755,11.986790657043457,23.8262Q11.986790657043457,23.714,12.034797657043457,23.6125Q12.082803657043456,23.511,12.169598657043457,23.4397Q18.167860657043455,18.5172,20.14047065704346,15.1062Q21.96468065704346,11.9518,20.208430657043458,10.22432Q20.012730657043456,10.03182,19.823440657043456,9.86818Q18.646350657043456,11.3427,16.392960657043457,12.5722Q15.512720657043456,13.0525,14.809010657043457,12.3911Q14.102770657043457,11.7274,14.536530657043457,10.8203Q15.724260657043457,8.33658,17.358980657043457,7.99383Q18.415780657043456,7.77225,19.570640657043455,8.45235Q19.913410657043457,7.82208,20.037780657043456,7.1534Q20.513080657043457,4.59792,17.83670065704346,1.315995ZM19.011390657043457,9.28201Q18.222810657043457,8.83446,17.564190657043458,8.97255Q16.413190657043458,9.21388,15.438680657043458,11.2517Q15.320290657043458,11.4993,15.493850657043456,11.6624Q15.669680657043457,11.8277,15.913990657043456,11.6944Q17.96329065704346,10.57621,19.011390657043457,9.28201Z",
72743
+ "fill-rule": "evenodd",
72744
+ fill: "#D8D8D8",
72745
+ "fill-opacity": "1"
72746
+ })
72747
+ ])
72748
+ ])
72749
+ ])
72750
+ ], -1 /* HOISTED */); });
72586
72751
  var __default__$o = {
72587
72752
  name: 'base-empty'
72588
72753
  };
72589
72754
  var script$q = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$o), { props: {
72590
72755
  image: { type: String, required: false },
72591
- imageSize: { type: Number, required: false },
72592
- description: { type: String, required: false }
72756
+ imageSize: { type: Number, required: false, default: 100 },
72757
+ description: { type: String, required: false, default: '~暂无数据~' }
72593
72758
  }, setup: function (__props) {
72594
72759
  var slots = useSlots();
72595
72760
  return function (_ctx, _cache) {
72596
- var _a, _b;
72597
- return (openBlock(), createBlock(unref(ElEmpty), {
72598
- image: __props.image,
72599
- "image-size": __props.imageSize,
72600
- description: __props.description
72601
- }, createSlots({
72761
+ var _a;
72762
+ return (openBlock(), createBlock(unref(ElEmpty), { description: __props.description }, createSlots({
72763
+ image: withCtx(function () { return [
72764
+ renderSlot(_ctx.$slots, "image", {}, function () {
72765
+ var _a, _b;
72766
+ return [
72767
+ ((_a = unref(slots)) === null || _a === void 0 ? void 0 : _a.image)
72768
+ ? (openBlock(), createBlock(resolveDynamicComponent((_b = unref(slots)) === null || _b === void 0 ? void 0 : _b.image), { key: 0 }))
72769
+ : createCommentVNode("v-if", true),
72770
+ (__props.image)
72771
+ ? (openBlock(), createElementBlock("img", {
72772
+ key: 1,
72773
+ src: __props.image
72774
+ }, null, 8 /* PROPS */, _hoisted_1$d))
72775
+ : (openBlock(), createBlock(unref(BaseIcon), {
72776
+ key: 2,
72777
+ size: __props.imageSize
72778
+ }, {
72779
+ default: withCtx(function () { return [
72780
+ _hoisted_2$8
72781
+ ]; }),
72782
+ _: 1 /* STABLE */
72783
+ }, 8 /* PROPS */, ["size"]))
72784
+ ];
72785
+ })
72786
+ ]; }),
72602
72787
  default: withCtx(function () { return [
72603
72788
  renderSlot(_ctx.$slots, "default")
72604
72789
  ]; }),
72605
72790
  _: 2 /* DYNAMIC */
72606
72791
  }, [
72607
- ((_a = unref(slots)) === null || _a === void 0 ? void 0 : _a.image)
72608
- ? {
72609
- name: "image",
72610
- fn: withCtx(function () { return [
72611
- renderSlot(_ctx.$slots, "image")
72612
- ]; })
72613
- }
72614
- : undefined,
72615
- ((_b = unref(slots)) === null || _b === void 0 ? void 0 : _b.description)
72792
+ ((_a = unref(slots)) === null || _a === void 0 ? void 0 : _a.description)
72616
72793
  ? {
72617
72794
  name: "description",
72618
72795
  fn: withCtx(function () { return [
@@ -72620,10 +72797,11 @@ var script$q = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$o
72620
72797
  ]; })
72621
72798
  }
72622
72799
  : undefined
72623
- ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["image", "image-size", "description"]));
72800
+ ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["description"]));
72624
72801
  };
72625
72802
  } }));
72626
72803
 
72804
+ script$q.__scopeId = "data-v-13bddb91";
72627
72805
  script$q.__file = "packages/base/empty/empty.vue";
72628
72806
 
72629
72807
  var BaseEmpty = script$q;
@@ -74503,6 +74681,34 @@ var useCreateModal = function (component, options, app) {
74503
74681
  return _instance.component.ctx;
74504
74682
  };
74505
74683
 
74684
+ /*
74685
+ * @Description:
74686
+ * @Date: 2023-03-09 18:23:07
74687
+ */
74688
+ /**
74689
+ * 复用 ElMessage
74690
+ * @param options
74691
+ * @returns
74692
+ */
74693
+ var XrkMessage = function (options) {
74694
+ return ElMessage(options);
74695
+ };
74696
+ XrkMessage.success = function (options) {
74697
+ return ElMessage.success(options);
74698
+ };
74699
+ XrkMessage.error = function (options) {
74700
+ return ElMessage.error(options);
74701
+ };
74702
+ XrkMessage.info = function (options) {
74703
+ return ElMessage.info(options);
74704
+ };
74705
+ XrkMessage.warning = function (options) {
74706
+ return ElMessage.warning(options);
74707
+ };
74708
+ XrkMessage.closeAll = function (type) {
74709
+ ElMessage.closeAll(type);
74710
+ };
74711
+
74506
74712
  var _withScopeId$3 = function (n) { return (pushScopeId("data-v-75b461d5"), n = n(), popScopeId(), n); };
74507
74713
  var _hoisted_1$6 = { class: "base-upload" };
74508
74714
  var _hoisted_2$5 = /*#__PURE__*/ _withScopeId$3(function () { return createElementVNode("svg", {
@@ -74543,6 +74749,7 @@ var script$b = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$b
74543
74749
  listType: { type: String, required: false, default: 'text' },
74544
74750
  btnText: { type: String, required: false },
74545
74751
  tipText: { type: String, required: false },
74752
+ useSystemErrMsg: { type: Boolean, required: false },
74546
74753
  httpRequest: { type: Function, required: true },
74547
74754
  beforeSelected: { type: Function, required: false },
74548
74755
  beforeRemove: { type: Function, required: false }
@@ -74595,16 +74802,16 @@ var script$b = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$b
74595
74802
  code: 503,
74596
74803
  msg: "\u4E0D\u652F\u6301\u4E0A\u4F20".concat(fileNameType || '此类', "\u7C7B\u578B\u6587\u4EF6")
74597
74804
  });
74598
- return [2 /*return*/, Promise.reject('file type error')];
74805
+ return [2 /*return*/, Promise.reject("\u4E0D\u652F\u6301\u4E0A\u4F20".concat(fileNameType || '此类', "\u7C7B\u578B\u6587\u4EF6"))];
74599
74806
  }
74600
74807
  }
74601
74808
  if (limit && nowFileLength >= limit) {
74602
74809
  !noEmit && emits('error', { code: 502, msg: "\u6700\u591A\u9009\u62E9".concat(limit, "\u4E2A\u6587\u4EF6") });
74603
- return [2 /*return*/, Promise.reject('count limit exceeded')];
74810
+ return [2 /*return*/, Promise.reject("\u6700\u591A\u9009\u62E9".concat(limit, "\u4E2A\u6587\u4EF6"))];
74604
74811
  }
74605
74812
  if (limitSize && file.size > limitSize * 1024 * 1024) {
74606
74813
  !noEmit && emits('error', { code: 501, msg: "\u5355\u4E2A\u6587\u4EF6\u6700\u5927".concat(limitSize, "M") });
74607
- return [2 /*return*/, Promise.reject('size limit exceeded')];
74814
+ return [2 /*return*/, Promise.reject("\u5355\u4E2A\u6587\u4EF6\u6700\u5927".concat(limitSize, "M"))];
74608
74815
  }
74609
74816
  if (!beforeSelected) return [3 /*break*/, 4];
74610
74817
  _a.label = 1;
@@ -74640,6 +74847,8 @@ var script$b = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$b
74640
74847
  return [3 /*break*/, 4];
74641
74848
  case 3:
74642
74849
  error_2 = _a.sent();
74850
+ if (props.useSystemErrMsg)
74851
+ XrkMessage.error(error_2);
74643
74852
  return [2 /*return*/, Promise.reject(error_2)];
74644
74853
  case 4: return [2 /*return*/];
74645
74854
  }
@@ -74684,6 +74893,8 @@ var script$b = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$b
74684
74893
  return [3 /*break*/, 4];
74685
74894
  case 3:
74686
74895
  error_4 = _a.sent();
74896
+ if (props.useSystemErrMsg)
74897
+ XrkMessage.error(error_4);
74687
74898
  activeFile.status = 'fail';
74688
74899
  console.error(error_4);
74689
74900
  return [3 /*break*/, 4];
@@ -75026,8 +75237,9 @@ var script$a = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$a
75026
75237
  }
75027
75238
  if (column.type === 'input') {
75028
75239
  var inputConfig = column.config;
75029
- if (!(inputConfig === null || inputConfig === void 0 ? void 0 : inputConfig.type) ||
75030
- ['text', 'textarea', 'password'].includes(inputConfig.type)) {
75240
+ if ((!(inputConfig === null || inputConfig === void 0 ? void 0 : inputConfig.type) ||
75241
+ ['text', 'textarea', 'password'].includes(inputConfig.type)) &&
75242
+ inputConfig.inputTextReplace) {
75031
75243
  // 判断是否为
75032
75244
  var _a = arr2Reg((inputConfig === null || inputConfig === void 0 ? void 0 : inputConfig.inputTexts) || defaultInputTexts), errMsg_1 = _a.errMsg, testReg_1 = _a.testReg;
75033
75245
  defaultRules.push({
@@ -75150,8 +75362,10 @@ var script$a = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$a
75150
75362
  ? (_c = (_b = column.config) === null || _b === void 0 ? void 0 : _b.disabled) === null || _c === void 0 ? void 0 : _c.call(_b, __props.model)
75151
75363
  : (_d = column.config) === null || _d === void 0 ? void 0 : _d.disabled,
75152
75364
  modelValue: __props.model[column.prop],
75153
- "onUpdate:modelValue": function ($event) { return ((__props.model[column.prop]) = $event); }
75154
- }), null, 16 /* FULL_PROPS */, ["style", "disabled", "modelValue", "onUpdate:modelValue"]))
75365
+ "onUpdate:modelValue": function ($event) { return ((__props.model[column.prop]) = $event); },
75366
+ fileList: __props.model[column.prop],
75367
+ "onUpdate:fileList": function ($event) { return ((__props.model[column.prop]) = $event); }
75368
+ }), null, 16 /* FULL_PROPS */, ["style", "disabled", "modelValue", "onUpdate:modelValue", "fileList", "onUpdate:fileList"]))
75155
75369
  : createCommentVNode("v-if", true)
75156
75370
  ];
75157
75371
  }),
@@ -75324,6 +75538,7 @@ var script$9 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$9
75324
75538
  var _b;
75325
75539
  var expose = _a.expose, emits = _a.emit;
75326
75540
  var _props = __props;
75541
+ var slots = useSlots();
75327
75542
  var _c = useTableSetup(), selectionIds = _c.selectionIds, selectionRows = _c.selectionRows, getSelectionRows = _c.getSelectionRows, addSelectionRow = _c.addSelectionRow, removeSelectionRow = _c.removeSelectionRow, clearSelectionRows = _c.clearSelectionRows;
75328
75543
  var props = _props;
75329
75544
  var BaseTableRef = ref();
@@ -75396,7 +75611,9 @@ var script$9 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$9
75396
75611
  onSortChange: handleSortChange
75397
75612
  }, {
75398
75613
  empty: withCtx(function () { return [
75399
- renderSlot(_ctx.$slots, "empty")
75614
+ (unref(slots).empty)
75615
+ ? (openBlock(), createBlock(resolveDynamicComponent(unref(slots).empty), { key: 0 }))
75616
+ : (openBlock(), createBlock(unref(BaseEmpty), { key: 1 }))
75400
75617
  ]; }),
75401
75618
  default: withCtx(function () { return [
75402
75619
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, function (column) {
@@ -75416,7 +75633,7 @@ var script$9 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$9
75416
75633
  }), null, 16 /* FULL_PROPS */, ["pageAllData", "treeProps", "selectionIds", "selectionRows", "getSelectionRows", "addSelectionRow", "removeSelectionRow", "clearSelectionRows"]));
75417
75634
  }), 128 /* KEYED_FRAGMENT */))
75418
75635
  ]; }),
75419
- _: 3 /* FORWARDED */
75636
+ _: 1 /* STABLE */
75420
75637
  }, 8 /* PROPS */, ["class", "data", "height", "maxHeight", "stripe", "border", "size", "fit", "rowClassName", "rowStyle", "cellClassName", "cellStyle", "headerRowClassName", "headerRowStyle", "rowKey", "defaultExpandAll", "expandRowKeys", "defaultSort", "emptyText", "spanMethod", "tree-props"]));
75421
75638
  };
75422
75639
  } }));
@@ -77236,34 +77453,6 @@ var useOtherComponents = function (otherComponents) {
77236
77453
  return otherComponents;
77237
77454
  };
77238
77455
 
77239
- /*
77240
- * @Description:
77241
- * @Date: 2023-03-09 18:23:07
77242
- */
77243
- /**
77244
- * 复用 ElMessage
77245
- * @param options
77246
- * @returns
77247
- */
77248
- var XrkMessage = function (options) {
77249
- return ElMessage(options);
77250
- };
77251
- XrkMessage.success = function (options) {
77252
- return ElMessage.success(options);
77253
- };
77254
- XrkMessage.error = function (options) {
77255
- return ElMessage.error(options);
77256
- };
77257
- XrkMessage.info = function (options) {
77258
- return ElMessage.info(options);
77259
- };
77260
- XrkMessage.warning = function (options) {
77261
- return ElMessage.warning(options);
77262
- };
77263
- XrkMessage.closeAll = function (type) {
77264
- ElMessage.closeAll(type);
77265
- };
77266
-
77267
77456
  /*
77268
77457
  * @Description:
77269
77458
  * @Date: 2023-12-07 15:16:14
package/lib/index.umd.js CHANGED
@@ -71090,8 +71090,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
71090
71090
 
71091
71091
  script$E.__file = "packages/base/button/button.vue";
71092
71092
 
71093
- var _hoisted_1$g = /*#__PURE__*/ vue.createTextVNode("更多");
71094
- var _hoisted_2$9 = { class: "btn-group" };
71093
+ var _hoisted_1$h = /*#__PURE__*/ vue.createTextVNode("更多");
71094
+ var _hoisted_2$a = { class: "btn-group" };
71095
71095
  var _hoisted_3$7 = ["onClick"];
71096
71096
  var __default__$B = {
71097
71097
  name: 'base-button-more'
@@ -71189,13 +71189,13 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
71189
71189
  type: "primary2"
71190
71190
  }, {
71191
71191
  default: vue.withCtx(function () { return [
71192
- _hoisted_1$g
71192
+ _hoisted_1$h
71193
71193
  ]; }),
71194
71194
  _: 1 /* STABLE */
71195
71195
  })
71196
71196
  ]; }),
71197
71197
  default: vue.withCtx(function () { return [
71198
- vue.createElementVNode("div", _hoisted_2$9, [
71198
+ vue.createElementVNode("div", _hoisted_2$a, [
71199
71199
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.btns, function (btn, index) {
71200
71200
  return (vue.openBlock(), vue.createElementBlock("div", {
71201
71201
  class: vue.normalizeClass(["btn", { disabled: btn.disabled }]),
@@ -71293,11 +71293,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
71293
71293
 
71294
71294
  script$C.__file = "packages/base/image/image.vue";
71295
71295
 
71296
- var _hoisted_1$f = {
71296
+ var _hoisted_1$g = {
71297
71297
  key: 0,
71298
71298
  style: { "width": "100%", "height": "100%" }
71299
71299
  };
71300
- var _hoisted_2$8 = {
71300
+ var _hoisted_2$9 = {
71301
71301
  key: 0,
71302
71302
  style: { "position": "absolute", "width": "100%", "height": "100%", "left": "0", "top": "0" }
71303
71303
  };
@@ -71484,7 +71484,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
71484
71484
  });
71485
71485
  return function (_ctx, _cache) {
71486
71486
  return (showImageViewer.value)
71487
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [
71487
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
71488
71488
  (__props.fullScreen)
71489
71489
  ? (vue.openBlock(), vue.createBlock(vue.unref(ElImageViewer), {
71490
71490
  key: 0,
@@ -71506,7 +71506,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
71506
71506
  var _a;
71507
71507
  return [
71508
71508
  ((_a = vue.unref(slots)) === null || _a === void 0 ? void 0 : _a.default)
71509
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$8, [
71509
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$9, [
71510
71510
  vue.renderSlot(_ctx.$slots, "default", {
71511
71511
  slotScope: { activeIndex: activeIndex.value }
71512
71512
  })
@@ -71734,7 +71734,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
71734
71734
  script$y.__scopeId = "data-v-56d41f26";
71735
71735
  script$y.__file = "packages/base/radio/radio.vue";
71736
71736
 
71737
- var _hoisted_1$e = { style: { "display": "inline-block" } };
71737
+ var _hoisted_1$f = { style: { "display": "inline-block" } };
71738
71738
  var __default__$v = {
71739
71739
  name: 'base-radio-group'
71740
71740
  };
@@ -71798,7 +71798,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
71798
71798
  onChange: handleChange
71799
71799
  }, {
71800
71800
  default: vue.withCtx(function () { return [
71801
- vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
71801
+ vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [
71802
71802
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, function (item, index) {
71803
71803
  return (vue.openBlock(), vue.createBlock(script$y, vue.normalizeProps(vue.mergeProps({ key: index }, item)), null, 16 /* FULL_PROPS */));
71804
71804
  }), 128 /* KEYED_FRAGMENT */)),
@@ -71948,7 +71948,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
71948
71948
  script$v.__scopeId = "data-v-53a67995";
71949
71949
  script$v.__file = "packages/base/checkbox/checkbox.vue";
71950
71950
 
71951
- var _hoisted_1$d = { style: { "display": "inline-block" } };
71951
+ var _hoisted_1$e = { style: { "display": "inline-block" } };
71952
71952
  var __default__$s = {
71953
71953
  name: 'base-checkbox-group'
71954
71954
  };
@@ -72017,7 +72017,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
72017
72017
  onChange: handleChange
72018
72018
  }, {
72019
72019
  default: vue.withCtx(function () { return [
72020
- vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
72020
+ vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
72021
72021
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, function (item, index) {
72022
72022
  return (vue.openBlock(), vue.createBlock(script$v, vue.normalizeProps(vue.mergeProps({ key: index }, item)), null, 16 /* FULL_PROPS */));
72023
72023
  }), 128 /* KEYED_FRAGMENT */)),
@@ -72586,36 +72586,213 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
72586
72586
 
72587
72587
  var BaseInput = script$r;
72588
72588
 
72589
+ var _withScopeId$4 = function (n) { return (vue.pushScopeId("data-v-13bddb91"), n = n(), vue.popScopeId(), n); };
72590
+ var _hoisted_1$d = ["src"];
72591
+ var _hoisted_2$8 = /*#__PURE__*/ _withScopeId$4(function () { return vue.createElementVNode("svg", {
72592
+ xmlns: "http://www.w3.org/2000/svg",
72593
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
72594
+ fill: "none",
72595
+ version: "1.1",
72596
+ width: "119.13671875",
72597
+ height: "94.89306640625",
72598
+ viewBox: "0 0 119.13671875 94.89306640625"
72599
+ }, [
72600
+ /*#__PURE__*/ vue.createElementVNode("defs", null, [
72601
+ /*#__PURE__*/ vue.createElementVNode("linearGradient", {
72602
+ x1: "0.5",
72603
+ y1: "0",
72604
+ x2: "0.5",
72605
+ y2: "1",
72606
+ id: "master_svg0_72_071359"
72607
+ }, [
72608
+ /*#__PURE__*/ vue.createElementVNode("stop", {
72609
+ offset: "0%",
72610
+ "stop-color": "#DEDDDD",
72611
+ "stop-opacity": "1"
72612
+ }),
72613
+ /*#__PURE__*/ vue.createElementVNode("stop", {
72614
+ offset: "100%",
72615
+ "stop-color": "#F4F4F4",
72616
+ "stop-opacity": "1"
72617
+ })
72618
+ ]),
72619
+ /*#__PURE__*/ vue.createElementVNode("linearGradient", {
72620
+ x1: "0",
72621
+ y1: "1.1176470518112183",
72622
+ x2: "1.1888794749411877",
72623
+ y2: "-0.05711098339441012",
72624
+ id: "master_svg1_72_072386"
72625
+ }, [
72626
+ /*#__PURE__*/ vue.createElementVNode("stop", {
72627
+ offset: "0%",
72628
+ "stop-color": "#EBEBEB",
72629
+ "stop-opacity": "1"
72630
+ }),
72631
+ /*#__PURE__*/ vue.createElementVNode("stop", {
72632
+ offset: "100%",
72633
+ "stop-color": "#D8D8D8",
72634
+ "stop-opacity": "0"
72635
+ })
72636
+ ])
72637
+ ]),
72638
+ /*#__PURE__*/ vue.createElementVNode("g", null, [
72639
+ /*#__PURE__*/ vue.createElementVNode("g", null, [
72640
+ /*#__PURE__*/ vue.createElementVNode("g", null, [
72641
+ /*#__PURE__*/ vue.createElementVNode("g", null, [
72642
+ /*#__PURE__*/ vue.createElementVNode("ellipse", {
72643
+ cx: "55.99997425079346",
72644
+ cy: "84.89306640625",
72645
+ rx: "51",
72646
+ ry: "9",
72647
+ fill: "#E8E8E8",
72648
+ "fill-opacity": "1"
72649
+ })
72650
+ ]),
72651
+ /*#__PURE__*/ vue.createElementVNode("g", null, [
72652
+ /*#__PURE__*/ vue.createElementVNode("path", {
72653
+ d: "M16.999974250793457,83.89306640625L92.99997425079346,83.89306640625L92.99997425079346,60.58096640625L81.52577425079346,45.89306640625L29.284174250793455,45.89306640625L16.999974250793457,60.58096640625L16.999974250793457,83.89306640625Z",
72654
+ fill: "#DFDFDF",
72655
+ "fill-opacity": "1"
72656
+ })
72657
+ ]),
72658
+ /*#__PURE__*/ vue.createElementVNode("g", null, [
72659
+ /*#__PURE__*/ vue.createElementVNode("g", null, [
72660
+ /*#__PURE__*/ vue.createElementVNode("rect", {
72661
+ x: "23.999974250793457",
72662
+ y: "11.89306640625",
72663
+ width: "61.999996185302734",
72664
+ height: "65",
72665
+ rx: "2",
72666
+ fill: "#F6F6F6",
72667
+ "fill-opacity": "1"
72668
+ })
72669
+ ]),
72670
+ /*#__PURE__*/ vue.createElementVNode("g", null, [
72671
+ /*#__PURE__*/ vue.createElementVNode("rect", {
72672
+ x: "36.99997425079346",
72673
+ y: "23.89306640625",
72674
+ width: "37",
72675
+ height: "16",
72676
+ rx: "2",
72677
+ fill: "#DFDFDF",
72678
+ "fill-opacity": "1"
72679
+ })
72680
+ ]),
72681
+ /*#__PURE__*/ vue.createElementVNode("g", null, [
72682
+ /*#__PURE__*/ vue.createElementVNode("rect", {
72683
+ x: "36.99997425079346",
72684
+ y: "46.89306640625",
72685
+ width: "37",
72686
+ height: "3",
72687
+ rx: "1.5",
72688
+ fill: "#DFDFDF",
72689
+ "fill-opacity": "1"
72690
+ })
72691
+ ]),
72692
+ /*#__PURE__*/ vue.createElementVNode("g", null, [
72693
+ /*#__PURE__*/ vue.createElementVNode("rect", {
72694
+ x: "36.99997425079346",
72695
+ y: "55.89306640625",
72696
+ width: "37",
72697
+ height: "3",
72698
+ rx: "1.5",
72699
+ fill: "#DFDFDF",
72700
+ "fill-opacity": "1"
72701
+ })
72702
+ ])
72703
+ ]),
72704
+ /*#__PURE__*/ vue.createElementVNode("g", null, [
72705
+ /*#__PURE__*/ vue.createElementVNode("path", {
72706
+ d: "M16.999974250793457,88.89306640625L92.99997425079346,88.89306640625L92.99997425079346,60.89306640625L73.36107425079345,60.89306640625L69.05657425079346,68.98785640625L41.21237425079346,68.98785640625L37.71497425079346,60.89306640625L16.999974250793457,60.89306640625L16.999974250793457,88.89306640625Z",
72707
+ fill: "url(#master_svg0_72_071359)",
72708
+ "fill-opacity": "1"
72709
+ })
72710
+ ]),
72711
+ /*#__PURE__*/ vue.createElementVNode("g", null, [
72712
+ /*#__PURE__*/ vue.createElementVNode("path", {
72713
+ d: "M73.66147425079345,61.39306640625L92.99997425079346,61.39306640625L92.99997425079346,60.39306640625L73.06057425079345,60.39306640625L68.75617425079346,68.48785640625L41.540974250793454,68.48785640625L38.04367425079346,60.39306640625L16.999974250793457,60.39306640625L16.999974250793457,61.39306640625L37.38637425079345,61.39306640625L40.88367425079346,69.48785640625L69.35707425079346,69.48785640625L73.66147425079345,61.39306640625Z",
72714
+ "fill-rule": "evenodd",
72715
+ fill: "#FFFFFF",
72716
+ "fill-opacity": "1"
72717
+ })
72718
+ ]),
72719
+ /*#__PURE__*/ vue.createElementVNode("g", { transform: "matrix(0.9784414172172546,-0.20652461051940918,0.20652461051940918,0.9784414172172546,-3.8349139721439656,19.752474900676816)" }, [
72720
+ /*#__PURE__*/ vue.createElementVNode("path", {
72721
+ d: "M93.83019190704346,36.960783046875C93.17994990704345,37.449523046875,92.99269390704346,38.344573046875,93.39246590704346,39.052973046874996L95.49118190704345,42.772073046875L98.36514190704345,41.047673046875C102.97692190704346,38.280573046875,106.50482190704346,34.020773046875,108.36422190704346,28.974163046875L101.75827190704345,28.244670867875C99.81756190704345,31.523723046875,97.25132190704346,34.389393046875,94.20543190704346,36.678743046875L93.83019190704346,36.960783046875Z",
72722
+ fill: "url(#master_svg1_72_072386)",
72723
+ "fill-opacity": "1"
72724
+ })
72725
+ ])
72726
+ ]),
72727
+ /*#__PURE__*/ vue.createElementVNode("g", { transform: "matrix(0.9475014805793762,0.31975147128105164,-0.31975147128105164,0.9475014805793762,19.81132425722126,-32.05932647748591)" }, [
72728
+ /*#__PURE__*/ vue.createElementVNode("path", {
72729
+ d: "M112.03785648681641,44.330225234375Q112.0370864868164,44.316368434375,112.0370864868164,44.302490234375Q112.0370864868164,44.253244534375,112.0466964868164,44.204945134375Q112.05629648681641,44.156645234375,112.07514648681641,44.111148234375Q112.0939864868164,44.065651234375,112.1213464868164,44.024705234375Q112.14870648681641,43.983759234375,112.18353648681641,43.948937234375Q112.2183564868164,43.914115234375,112.25929648681641,43.886755234375Q112.3002464868164,43.859396234375,112.34574648681641,43.840550234375Q112.39123648681641,43.821705234375,112.43953648681641,43.812097234375Q112.4878364868164,43.802490234375,112.5370864868164,43.802490234375Q112.5845864868164,43.802490234375,112.6312264868164,43.811432234375Q112.6778764868164,43.820375234375,112.72199648681641,43.837940234375Q112.7661264868164,43.855505234375,112.8061564868164,43.881064234375Q112.8461864868164,43.906624234375,112.8806964868164,43.939263234375Q112.91519648681641,43.971902234375,112.94293648681641,44.010454234375Q112.9706764868164,44.049006234375,112.99066648681641,44.092092234375Q113.01064648681641,44.135177234375,113.0221664868164,44.181255234375Q113.0336864868164,44.227333134375,113.0363164868164,44.274755134375Q113.54797648681641,53.484560234374996,107.90628748681641,59.639690234374996L107.90566348681641,59.640390234375Q107.83466948681641,59.717790234375,107.7384504868164,59.760190234375Q107.6422314868164,59.802490234375,107.5370864868164,59.802490234375Q107.4878407868164,59.802490234375,107.4395413868164,59.792890234375Q107.39124148681641,59.783290234375,107.3457444868164,59.764390234375Q107.3002474868164,59.745590234375,107.25930148681641,59.718190234375Q107.2183554868164,59.690890234375004,107.1835334868164,59.656090234375Q107.14871148681641,59.621190234375,107.12135148681641,59.580290234375Q107.0939924868164,59.539290234375,107.07514648681641,59.493790234375Q107.05630148681641,59.448290234375,107.04669348681641,59.399990234375Q107.0370864868164,59.351690234375,107.0370864868164,59.302490234375Q107.0370864868164,59.208690234375,107.07109848681641,59.121190234375Q107.10511148681641,59.033790234375,107.1685084868164,58.964590234375Q107.16922248681641,58.963890234375,107.1699344868164,58.963090234375Q112.5258464868164,53.119010234375,112.03790648681641,44.331079634375L112.03785648681641,44.330225234375L112.03785648681641,44.330225234375Z",
72730
+ "fill-rule": "evenodd",
72731
+ fill: "#D8D8D8",
72732
+ "fill-opacity": "1"
72733
+ })
72734
+ ]),
72735
+ /*#__PURE__*/ vue.createElementVNode("g", { transform: "matrix(0.9475014805793762,0.31975147128105164,-0.31975147128105164,0.9475014805793762,19.534051967951655,-32.573677044789974)" }, [
72736
+ /*#__PURE__*/ vue.createElementVNode("path", {
72737
+ d: "M117.96676086181641,43.244874634375Q117.9648208618164,43.222943734375,117.9648208618164,43.200927734375Q117.9648208618164,43.151682034375,117.9744308618164,43.103382634375Q117.98403086181641,43.055082734375,118.00288086181641,43.009585734375Q118.0217208618164,42.964088734375,118.0490808618164,42.923142734375Q118.07644086181641,42.882196734375,118.11127086181641,42.847374734375Q118.1460908618164,42.812552734375,118.18703086181641,42.785192734375Q118.2279808618164,42.757833734375,118.27348086181641,42.738987734375Q118.31897086181641,42.720142734375,118.36727086181641,42.710534734375Q118.4155708618164,42.700927734375,118.4648208618164,42.700927734375Q118.5112908618164,42.700927734375,118.5569608618164,42.709491734375Q118.60264086181641,42.718055734375,118.6459508618164,42.734889734375Q118.68927086181641,42.751724734375,118.7287408618164,42.776253734375Q118.76821086181641,42.800781734375,118.8024808618164,42.832163734375Q118.83675086181641,42.863545734375,118.8646508618164,42.900706734375Q118.8925608618164,42.937867734375,118.9131308618164,42.979534734375Q118.93371086181641,43.021200734375,118.9462608618164,43.065945734375Q118.9588008618164,43.110690434375,118.9628808618164,43.156980834375Q120.4853208618164,60.411427734374996,109.2923438618164,70.07872773437501L109.2916308618164,70.079327734375L117.96676086181641,43.244874634375Z",
72738
+ "fill-rule": "evenodd",
72739
+ fill: "#D8D8D8",
72740
+ "fill-opacity": "1"
72741
+ })
72742
+ ]),
72743
+ /*#__PURE__*/ vue.createElementVNode("g", { transform: "matrix(0.8641539216041565,0.5032275915145874,-0.5032275915145874,0.8641539216041565,2.199509134023799,-6.147851509694988)" }, [
72744
+ /*#__PURE__*/ vue.createElementVNode("path", {
72745
+ d: "M17.83670065704346,1.315995Q17.724190657043458,1.178027,17.724190657043458,1Q17.72418065704346,0.9507543,17.733790657043457,0.9024549Q17.74340065704346,0.854155,17.762240657043456,0.808658Q17.781090657043457,0.763161,17.80845065704346,0.722215Q17.835810657043456,0.681269,17.870630657043456,0.646447Q17.905450657043456,0.611625,17.946400657043455,0.584265Q17.987350657043457,0.556906,18.032840657043458,0.53806Q18.078340657043455,0.519215,18.126640657043456,0.5096069999999999Q18.174940657043457,0.5,18.224190657043458,0.5Q18.336870657043455,0.5,18.438660657043457,0.548338Q18.540460657043457,0.596676,18.611670657043458,0.684006Q21.58097065704346,4.3251100000000005,21.020920657043455,7.33626Q20.85629065704346,8.22143,20.389880657043456,9.0379Q20.64748065704346,9.25349,20.90968065704346,9.5114Q23.218090657043454,11.782,21.006140657043456,15.6068Q18.942610657043456,19.175,12.803982657043457,24.2127Q12.665690657043458,24.3262,12.486790657043457,24.3262Q12.437544957043457,24.3262,12.389245557043457,24.3166Q12.340945657043457,24.307,12.295448657043456,24.2882Q12.249951657043457,24.2693,12.209005657043457,24.242Q12.168059657043457,24.2146,12.133237657043457,24.1798Q12.098415657043457,24.145,12.071055657043457,24.104Q12.043696657043457,24.0631,12.024850657043457,24.0176Q12.006005657043456,23.9721,11.996397657043458,23.9238Q11.986790657043457,23.8755,11.986790657043457,23.8262Q11.986790657043457,23.714,12.034797657043457,23.6125Q12.082803657043456,23.511,12.169598657043457,23.4397Q18.167860657043455,18.5172,20.14047065704346,15.1062Q21.96468065704346,11.9518,20.208430657043458,10.22432Q20.012730657043456,10.03182,19.823440657043456,9.86818Q18.646350657043456,11.3427,16.392960657043457,12.5722Q15.512720657043456,13.0525,14.809010657043457,12.3911Q14.102770657043457,11.7274,14.536530657043457,10.8203Q15.724260657043457,8.33658,17.358980657043457,7.99383Q18.415780657043456,7.77225,19.570640657043455,8.45235Q19.913410657043457,7.82208,20.037780657043456,7.1534Q20.513080657043457,4.59792,17.83670065704346,1.315995ZM19.011390657043457,9.28201Q18.222810657043457,8.83446,17.564190657043458,8.97255Q16.413190657043458,9.21388,15.438680657043458,11.2517Q15.320290657043458,11.4993,15.493850657043456,11.6624Q15.669680657043457,11.8277,15.913990657043456,11.6944Q17.96329065704346,10.57621,19.011390657043457,9.28201Z",
72746
+ "fill-rule": "evenodd",
72747
+ fill: "#D8D8D8",
72748
+ "fill-opacity": "1"
72749
+ })
72750
+ ])
72751
+ ])
72752
+ ])
72753
+ ], -1 /* HOISTED */); });
72589
72754
  var __default__$o = {
72590
72755
  name: 'base-empty'
72591
72756
  };
72592
72757
  var script$q = /*#__PURE__*/ vue.defineComponent(__assign(__assign({}, __default__$o), { props: {
72593
72758
  image: { type: String, required: false },
72594
- imageSize: { type: Number, required: false },
72595
- description: { type: String, required: false }
72759
+ imageSize: { type: Number, required: false, default: 100 },
72760
+ description: { type: String, required: false, default: '~暂无数据~' }
72596
72761
  }, setup: function (__props) {
72597
72762
  var slots = vue.useSlots();
72598
72763
  return function (_ctx, _cache) {
72599
- var _a, _b;
72600
- return (vue.openBlock(), vue.createBlock(vue.unref(ElEmpty), {
72601
- image: __props.image,
72602
- "image-size": __props.imageSize,
72603
- description: __props.description
72604
- }, vue.createSlots({
72764
+ var _a;
72765
+ return (vue.openBlock(), vue.createBlock(vue.unref(ElEmpty), { description: __props.description }, vue.createSlots({
72766
+ image: vue.withCtx(function () { return [
72767
+ vue.renderSlot(_ctx.$slots, "image", {}, function () {
72768
+ var _a, _b;
72769
+ return [
72770
+ ((_a = vue.unref(slots)) === null || _a === void 0 ? void 0 : _a.image)
72771
+ ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent((_b = vue.unref(slots)) === null || _b === void 0 ? void 0 : _b.image), { key: 0 }))
72772
+ : vue.createCommentVNode("v-if", true),
72773
+ (__props.image)
72774
+ ? (vue.openBlock(), vue.createElementBlock("img", {
72775
+ key: 1,
72776
+ src: __props.image
72777
+ }, null, 8 /* PROPS */, _hoisted_1$d))
72778
+ : (vue.openBlock(), vue.createBlock(vue.unref(BaseIcon), {
72779
+ key: 2,
72780
+ size: __props.imageSize
72781
+ }, {
72782
+ default: vue.withCtx(function () { return [
72783
+ _hoisted_2$8
72784
+ ]; }),
72785
+ _: 1 /* STABLE */
72786
+ }, 8 /* PROPS */, ["size"]))
72787
+ ];
72788
+ })
72789
+ ]; }),
72605
72790
  default: vue.withCtx(function () { return [
72606
72791
  vue.renderSlot(_ctx.$slots, "default")
72607
72792
  ]; }),
72608
72793
  _: 2 /* DYNAMIC */
72609
72794
  }, [
72610
- ((_a = vue.unref(slots)) === null || _a === void 0 ? void 0 : _a.image)
72611
- ? {
72612
- name: "image",
72613
- fn: vue.withCtx(function () { return [
72614
- vue.renderSlot(_ctx.$slots, "image")
72615
- ]; })
72616
- }
72617
- : undefined,
72618
- ((_b = vue.unref(slots)) === null || _b === void 0 ? void 0 : _b.description)
72795
+ ((_a = vue.unref(slots)) === null || _a === void 0 ? void 0 : _a.description)
72619
72796
  ? {
72620
72797
  name: "description",
72621
72798
  fn: vue.withCtx(function () { return [
@@ -72623,10 +72800,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
72623
72800
  ]; })
72624
72801
  }
72625
72802
  : undefined
72626
- ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["image", "image-size", "description"]));
72803
+ ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["description"]));
72627
72804
  };
72628
72805
  } }));
72629
72806
 
72807
+ script$q.__scopeId = "data-v-13bddb91";
72630
72808
  script$q.__file = "packages/base/empty/empty.vue";
72631
72809
 
72632
72810
  var BaseEmpty = script$q;
@@ -74506,6 +74684,34 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
74506
74684
  return _instance.component.ctx;
74507
74685
  };
74508
74686
 
74687
+ /*
74688
+ * @Description:
74689
+ * @Date: 2023-03-09 18:23:07
74690
+ */
74691
+ /**
74692
+ * 复用 ElMessage
74693
+ * @param options
74694
+ * @returns
74695
+ */
74696
+ var XrkMessage = function (options) {
74697
+ return ElMessage(options);
74698
+ };
74699
+ XrkMessage.success = function (options) {
74700
+ return ElMessage.success(options);
74701
+ };
74702
+ XrkMessage.error = function (options) {
74703
+ return ElMessage.error(options);
74704
+ };
74705
+ XrkMessage.info = function (options) {
74706
+ return ElMessage.info(options);
74707
+ };
74708
+ XrkMessage.warning = function (options) {
74709
+ return ElMessage.warning(options);
74710
+ };
74711
+ XrkMessage.closeAll = function (type) {
74712
+ ElMessage.closeAll(type);
74713
+ };
74714
+
74509
74715
  var _withScopeId$3 = function (n) { return (vue.pushScopeId("data-v-75b461d5"), n = n(), vue.popScopeId(), n); };
74510
74716
  var _hoisted_1$6 = { class: "base-upload" };
74511
74717
  var _hoisted_2$5 = /*#__PURE__*/ _withScopeId$3(function () { return vue.createElementVNode("svg", {
@@ -74546,6 +74752,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
74546
74752
  listType: { type: String, required: false, default: 'text' },
74547
74753
  btnText: { type: String, required: false },
74548
74754
  tipText: { type: String, required: false },
74755
+ useSystemErrMsg: { type: Boolean, required: false },
74549
74756
  httpRequest: { type: Function, required: true },
74550
74757
  beforeSelected: { type: Function, required: false },
74551
74758
  beforeRemove: { type: Function, required: false }
@@ -74598,16 +74805,16 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
74598
74805
  code: 503,
74599
74806
  msg: "\u4E0D\u652F\u6301\u4E0A\u4F20".concat(fileNameType || '此类', "\u7C7B\u578B\u6587\u4EF6")
74600
74807
  });
74601
- return [2 /*return*/, Promise.reject('file type error')];
74808
+ return [2 /*return*/, Promise.reject("\u4E0D\u652F\u6301\u4E0A\u4F20".concat(fileNameType || '此类', "\u7C7B\u578B\u6587\u4EF6"))];
74602
74809
  }
74603
74810
  }
74604
74811
  if (limit && nowFileLength >= limit) {
74605
74812
  !noEmit && emits('error', { code: 502, msg: "\u6700\u591A\u9009\u62E9".concat(limit, "\u4E2A\u6587\u4EF6") });
74606
- return [2 /*return*/, Promise.reject('count limit exceeded')];
74813
+ return [2 /*return*/, Promise.reject("\u6700\u591A\u9009\u62E9".concat(limit, "\u4E2A\u6587\u4EF6"))];
74607
74814
  }
74608
74815
  if (limitSize && file.size > limitSize * 1024 * 1024) {
74609
74816
  !noEmit && emits('error', { code: 501, msg: "\u5355\u4E2A\u6587\u4EF6\u6700\u5927".concat(limitSize, "M") });
74610
- return [2 /*return*/, Promise.reject('size limit exceeded')];
74817
+ return [2 /*return*/, Promise.reject("\u5355\u4E2A\u6587\u4EF6\u6700\u5927".concat(limitSize, "M"))];
74611
74818
  }
74612
74819
  if (!beforeSelected) return [3 /*break*/, 4];
74613
74820
  _a.label = 1;
@@ -74643,6 +74850,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
74643
74850
  return [3 /*break*/, 4];
74644
74851
  case 3:
74645
74852
  error_2 = _a.sent();
74853
+ if (props.useSystemErrMsg)
74854
+ XrkMessage.error(error_2);
74646
74855
  return [2 /*return*/, Promise.reject(error_2)];
74647
74856
  case 4: return [2 /*return*/];
74648
74857
  }
@@ -74687,6 +74896,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
74687
74896
  return [3 /*break*/, 4];
74688
74897
  case 3:
74689
74898
  error_4 = _a.sent();
74899
+ if (props.useSystemErrMsg)
74900
+ XrkMessage.error(error_4);
74690
74901
  activeFile.status = 'fail';
74691
74902
  console.error(error_4);
74692
74903
  return [3 /*break*/, 4];
@@ -75029,8 +75240,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
75029
75240
  }
75030
75241
  if (column.type === 'input') {
75031
75242
  var inputConfig = column.config;
75032
- if (!(inputConfig === null || inputConfig === void 0 ? void 0 : inputConfig.type) ||
75033
- ['text', 'textarea', 'password'].includes(inputConfig.type)) {
75243
+ if ((!(inputConfig === null || inputConfig === void 0 ? void 0 : inputConfig.type) ||
75244
+ ['text', 'textarea', 'password'].includes(inputConfig.type)) &&
75245
+ inputConfig.inputTextReplace) {
75034
75246
  // 判断是否为
75035
75247
  var _a = arr2Reg((inputConfig === null || inputConfig === void 0 ? void 0 : inputConfig.inputTexts) || defaultInputTexts), errMsg_1 = _a.errMsg, testReg_1 = _a.testReg;
75036
75248
  defaultRules.push({
@@ -75153,8 +75365,10 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
75153
75365
  ? (_c = (_b = column.config) === null || _b === void 0 ? void 0 : _b.disabled) === null || _c === void 0 ? void 0 : _c.call(_b, __props.model)
75154
75366
  : (_d = column.config) === null || _d === void 0 ? void 0 : _d.disabled,
75155
75367
  modelValue: __props.model[column.prop],
75156
- "onUpdate:modelValue": function ($event) { return ((__props.model[column.prop]) = $event); }
75157
- }), null, 16 /* FULL_PROPS */, ["style", "disabled", "modelValue", "onUpdate:modelValue"]))
75368
+ "onUpdate:modelValue": function ($event) { return ((__props.model[column.prop]) = $event); },
75369
+ fileList: __props.model[column.prop],
75370
+ "onUpdate:fileList": function ($event) { return ((__props.model[column.prop]) = $event); }
75371
+ }), null, 16 /* FULL_PROPS */, ["style", "disabled", "modelValue", "onUpdate:modelValue", "fileList", "onUpdate:fileList"]))
75158
75372
  : vue.createCommentVNode("v-if", true)
75159
75373
  ];
75160
75374
  }),
@@ -75327,6 +75541,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
75327
75541
  var _b;
75328
75542
  var expose = _a.expose, emits = _a.emit;
75329
75543
  var _props = __props;
75544
+ var slots = vue.useSlots();
75330
75545
  var _c = useTableSetup(), selectionIds = _c.selectionIds, selectionRows = _c.selectionRows, getSelectionRows = _c.getSelectionRows, addSelectionRow = _c.addSelectionRow, removeSelectionRow = _c.removeSelectionRow, clearSelectionRows = _c.clearSelectionRows;
75331
75546
  var props = _props;
75332
75547
  var BaseTableRef = vue.ref();
@@ -75399,7 +75614,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
75399
75614
  onSortChange: handleSortChange
75400
75615
  }, {
75401
75616
  empty: vue.withCtx(function () { return [
75402
- vue.renderSlot(_ctx.$slots, "empty")
75617
+ (vue.unref(slots).empty)
75618
+ ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(slots).empty), { key: 0 }))
75619
+ : (vue.openBlock(), vue.createBlock(vue.unref(BaseEmpty), { key: 1 }))
75403
75620
  ]; }),
75404
75621
  default: vue.withCtx(function () { return [
75405
75622
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.columns, function (column) {
@@ -75419,7 +75636,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
75419
75636
  }), null, 16 /* FULL_PROPS */, ["pageAllData", "treeProps", "selectionIds", "selectionRows", "getSelectionRows", "addSelectionRow", "removeSelectionRow", "clearSelectionRows"]));
75420
75637
  }), 128 /* KEYED_FRAGMENT */))
75421
75638
  ]; }),
75422
- _: 3 /* FORWARDED */
75639
+ _: 1 /* STABLE */
75423
75640
  }, 8 /* PROPS */, ["class", "data", "height", "maxHeight", "stripe", "border", "size", "fit", "rowClassName", "rowStyle", "cellClassName", "cellStyle", "headerRowClassName", "headerRowStyle", "rowKey", "defaultExpandAll", "expandRowKeys", "defaultSort", "emptyText", "spanMethod", "tree-props"]));
75424
75641
  };
75425
75642
  } }));
@@ -77239,34 +77456,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
77239
77456
  return otherComponents;
77240
77457
  };
77241
77458
 
77242
- /*
77243
- * @Description:
77244
- * @Date: 2023-03-09 18:23:07
77245
- */
77246
- /**
77247
- * 复用 ElMessage
77248
- * @param options
77249
- * @returns
77250
- */
77251
- var XrkMessage = function (options) {
77252
- return ElMessage(options);
77253
- };
77254
- XrkMessage.success = function (options) {
77255
- return ElMessage.success(options);
77256
- };
77257
- XrkMessage.error = function (options) {
77258
- return ElMessage.error(options);
77259
- };
77260
- XrkMessage.info = function (options) {
77261
- return ElMessage.info(options);
77262
- };
77263
- XrkMessage.warning = function (options) {
77264
- return ElMessage.warning(options);
77265
- };
77266
- XrkMessage.closeAll = function (type) {
77267
- ElMessage.closeAll(type);
77268
- };
77269
-
77270
77459
  /*
77271
77460
  * @Description:
77272
77461
  * @Date: 2023-12-07 15:16:14
@@ -6,10 +6,12 @@ declare const _default: import("vue").DefineComponent<{
6
6
  imageSize: {
7
7
  type: NumberConstructor;
8
8
  required: false;
9
+ default: number;
9
10
  };
10
11
  description: {
11
12
  type: StringConstructor;
12
13
  required: false;
14
+ default: string;
13
15
  };
14
16
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
15
17
  [key: string]: any;
@@ -21,10 +23,15 @@ declare const _default: import("vue").DefineComponent<{
21
23
  imageSize: {
22
24
  type: NumberConstructor;
23
25
  required: false;
26
+ default: number;
24
27
  };
25
28
  description: {
26
29
  type: StringConstructor;
27
30
  required: false;
31
+ default: string;
28
32
  };
29
- }>>, {}>;
33
+ }>>, {
34
+ imageSize: number;
35
+ description: string;
36
+ }>;
30
37
  export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ name: string;
3
+ components: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
4
+ [key: string]: any;
5
+ }>;
6
+ };
7
+ export default _default;
@@ -47,13 +47,14 @@ export interface BaseUploadProps<T = any> extends BaseUploadListener {
47
47
  */
48
48
  limit?: number;
49
49
  /**
50
- * 单个文件最大数量
50
+ * 单个文件限制,单位MB
51
51
  */
52
52
  limitSize?: number;
53
53
  /**
54
54
  * 列表显示样式,默认text
55
55
  */
56
56
  listType?: 'text' | 'picture-card';
57
+ useSystemErrMsg?: boolean;
57
58
  /**
58
59
  * 文件上传
59
60
  * @param options
@@ -53,6 +53,10 @@ declare const _default: import("vue").DefineComponent<{
53
53
  type: StringConstructor;
54
54
  required: false;
55
55
  };
56
+ useSystemErrMsg: {
57
+ type: BooleanConstructor;
58
+ required: false;
59
+ };
56
60
  httpRequest: {
57
61
  type: FunctionConstructor;
58
62
  required: true;
@@ -122,6 +126,10 @@ declare const _default: import("vue").DefineComponent<{
122
126
  type: StringConstructor;
123
127
  required: false;
124
128
  };
129
+ useSystemErrMsg: {
130
+ type: BooleanConstructor;
131
+ required: false;
132
+ };
125
133
  httpRequest: {
126
134
  type: FunctionConstructor;
127
135
  required: true;
@@ -148,5 +156,6 @@ declare const _default: import("vue").DefineComponent<{
148
156
  limit: number;
149
157
  limitSize: number;
150
158
  listType: string;
159
+ useSystemErrMsg: boolean;
151
160
  }>;
152
161
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xrk-components",
3
- "version": "2.0.0-beta.32",
3
+ "version": "2.0.0-beta.34",
4
4
  "description": "",
5
5
  "main": "lib/index.esm.js",
6
6
  "typings": "lib/packages/index.d.ts",