@ganwei-web/gw-base-components-plus 1.0.3 → 1.0.5

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.
@@ -14,7 +14,7 @@ function useExpose(proxyElement) {
14
14
  });
15
15
  return expose;
16
16
  }
17
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
17
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18
18
  ...{
19
19
  inheritAttrs: false
20
20
  },
@@ -54,8 +54,8 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
54
54
  };
55
55
  }
56
56
  });
57
- const index_vue_vue_type_style_index_0_lang$k = "";
58
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
57
+ const index_vue_vue_type_style_index_0_lang$l = "";
58
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
59
59
  __name: "index",
60
60
  setup(__props, { expose: __expose }) {
61
61
  const proxyElement = vue.ref();
@@ -79,8 +79,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
79
79
  };
80
80
  }
81
81
  });
82
- const index_vue_vue_type_style_index_0_lang$j = "";
83
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
82
+ const index_vue_vue_type_style_index_0_lang$k = "";
83
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
84
84
  __name: "index",
85
85
  setup(__props, { expose: __expose }) {
86
86
  const proxyElement = vue.ref();
@@ -104,11 +104,11 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
104
104
  };
105
105
  }
106
106
  });
107
- const index_vue_vue_type_style_index_0_lang$i = "";
108
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
107
+ const index_vue_vue_type_style_index_0_lang$j = "";
108
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
109
109
  __name: "index",
110
110
  setup(__props, { expose: __expose }) {
111
- const proxyElement = ref();
111
+ const proxyElement = vue.ref();
112
112
  const expose = useExpose(proxyElement);
113
113
  __expose(expose);
114
114
  return (_ctx, _cache) => {
@@ -128,8 +128,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
128
128
  };
129
129
  }
130
130
  });
131
- const index_vue_vue_type_style_index_0_lang$h = "";
132
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
131
+ const index_vue_vue_type_style_index_0_lang$i = "";
132
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
133
133
  __name: "index",
134
134
  props: {
135
135
  defaultTime: {},
@@ -178,8 +178,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
178
178
  };
179
179
  }
180
180
  });
181
- const index_vue_vue_type_style_index_0_lang$g = "";
182
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
181
+ const index_vue_vue_type_style_index_0_lang$h = "";
182
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
183
183
  __name: "index",
184
184
  setup(__props, { expose: __expose }) {
185
185
  const proxyElement = vue.ref();
@@ -202,7 +202,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
202
202
  };
203
203
  }
204
204
  });
205
- const index_vue_vue_type_style_index_0_lang$f = "";
205
+ const index_vue_vue_type_style_index_0_lang$g = "";
206
206
  const UI_AUTOMATION_TOKEN = `data-testid`;
207
207
  function useDataTestId() {
208
208
  const attrs = vue.useAttrs();
@@ -210,7 +210,7 @@ function useDataTestId() {
210
210
  console.warn(`${UI_AUTOMATION_TOKEN} is required to UI Automation`);
211
211
  }
212
212
  }
213
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
213
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
214
214
  __name: "index",
215
215
  setup(__props, { expose: __expose }) {
216
216
  const proxyElement = vue.ref();
@@ -235,8 +235,8 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
235
235
  };
236
236
  }
237
237
  });
238
- const index_vue_vue_type_style_index_0_lang$e = "";
239
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
238
+ const index_vue_vue_type_style_index_0_lang$f = "";
239
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
240
240
  __name: "index",
241
241
  setup(__props, { expose: __expose }) {
242
242
  const proxyElement = vue.ref();
@@ -261,8 +261,8 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
261
261
  };
262
262
  }
263
263
  });
264
- const index_vue_vue_type_style_index_0_lang$d = "";
265
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
264
+ const index_vue_vue_type_style_index_0_lang$e = "";
265
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
266
266
  __name: "index",
267
267
  setup(__props, { expose: __expose }) {
268
268
  const proxyElement = vue.ref();
@@ -286,9 +286,9 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
286
286
  };
287
287
  }
288
288
  });
289
- const index_vue_vue_type_style_index_0_lang$c = "";
290
- /*! Element Plus Icons Vue v2.3.1 */
291
- var picture_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ vue.defineComponent({
289
+ const index_vue_vue_type_style_index_0_lang$d = "";
290
+ /*! Element Plus Icons Vue v2.3.2 */
291
+ var _sfc_main197 = /* @__PURE__ */ vue.defineComponent({
292
292
  name: "Picture",
293
293
  __name: "picture",
294
294
  setup(__props) {
@@ -302,14 +302,13 @@ var picture_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ vue.de
302
302
  }),
303
303
  vue.createElementVNode("path", {
304
304
  fill: "currentColor",
305
- d: "M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"
305
+ d: "M384 288q64 0 64 64t-64 64-64-64 64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"
306
306
  })
307
307
  ]));
308
308
  }
309
- });
310
- var picture_default = picture_vue_vue_type_script_setup_true_lang_default;
309
+ }), picture_default = _sfc_main197;
311
310
  const _hoisted_1 = { class: "error-slot" };
312
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
311
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
313
312
  __name: "index",
314
313
  props: {
315
314
  src: { default: "" },
@@ -380,8 +379,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
380
379
  };
381
380
  }
382
381
  });
383
- const index_vue_vue_type_style_index_0_lang$b = "";
384
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
382
+ const index_vue_vue_type_style_index_0_lang$c = "";
383
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
385
384
  __name: "ElInput",
386
385
  props: {
387
386
  "modelValue": {
@@ -453,7 +452,7 @@ const vLoading = {
453
452
  (_b = (_a = elementPlus.vLoading).unmounted) == null ? void 0 : _b.call(_a, el, binding, vnode, prevVnode);
454
453
  }
455
454
  };
456
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
455
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
457
456
  __name: "index",
458
457
  setup(__props, { expose: __expose }) {
459
458
  const proxyElement = vue.ref();
@@ -478,7 +477,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
478
477
  };
479
478
  }
480
479
  });
481
- const index_vue_vue_type_style_index_0_lang$a = "";
480
+ const index_vue_vue_type_style_index_0_lang$b = "";
482
481
  const index$1 = "";
483
482
  const index = "";
484
483
  const install = elementPlus.ElNotification.install;
@@ -513,7 +512,7 @@ ElNotification.install = (app) => {
513
512
  install == null ? void 0 : install(app);
514
513
  app.config.globalProperties.$notify = ElNotification;
515
514
  };
516
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
515
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
517
516
  __name: "index",
518
517
  setup(__props, { expose: __expose }) {
519
518
  const attrs = vue.useAttrs();
@@ -542,8 +541,8 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
542
541
  };
543
542
  }
544
543
  });
545
- const index_vue_vue_type_style_index_0_lang$9 = "";
546
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
544
+ const index_vue_vue_type_style_index_0_lang$a = "";
545
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
547
546
  __name: "index",
548
547
  setup(__props, { expose: __expose }) {
549
548
  const proxyElement = vue.ref();
@@ -566,8 +565,8 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
566
565
  };
567
566
  }
568
567
  });
569
- const index_vue_vue_type_style_index_0_lang$8 = "";
570
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
568
+ const index_vue_vue_type_style_index_0_lang$9 = "";
569
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
571
570
  __name: "index",
572
571
  setup(__props, { expose: __expose }) {
573
572
  const proxyElement = vue.ref();
@@ -591,8 +590,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
591
590
  };
592
591
  }
593
592
  });
594
- const index_vue_vue_type_style_index_0_lang$7 = "";
595
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
593
+ const index_vue_vue_type_style_index_0_lang$8 = "";
594
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
596
595
  __name: "index",
597
596
  props: {
598
597
  round: {
@@ -624,8 +623,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
624
623
  };
625
624
  }
626
625
  });
627
- const index_vue_vue_type_style_index_0_lang$6 = "";
628
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
626
+ const index_vue_vue_type_style_index_0_lang$7 = "";
627
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
629
628
  __name: "index",
630
629
  setup(__props, { expose: __expose }) {
631
630
  const proxyElement = vue.ref();
@@ -650,8 +649,8 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
650
649
  };
651
650
  }
652
651
  });
653
- const index_vue_vue_type_style_index_0_lang$5 = "";
654
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
652
+ const index_vue_vue_type_style_index_0_lang$6 = "";
653
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
655
654
  __name: "index",
656
655
  setup(__props, { expose: __expose }) {
657
656
  const proxyElement = vue.ref();
@@ -676,8 +675,8 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
676
675
  };
677
676
  }
678
677
  });
679
- const index_vue_vue_type_style_index_0_lang$4 = "";
680
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
678
+ const index_vue_vue_type_style_index_0_lang$5 = "";
679
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
681
680
  __name: "index",
682
681
  props: {
683
682
  formatter: {
@@ -738,7 +737,7 @@ function useResizeTable() {
738
737
  }
739
738
  return height;
740
739
  }
741
- const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
740
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
742
741
  __name: "index",
743
742
  props: {
744
743
  height: {
@@ -770,8 +769,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
770
769
  };
771
770
  }
772
771
  });
773
- const index_vue_vue_type_style_index_0_lang$3 = "";
774
- const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
772
+ const index_vue_vue_type_style_index_0_lang$4 = "";
773
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
775
774
  __name: "index",
776
775
  setup(__props, { expose: __expose }) {
777
776
  const proxyElement = vue.ref();
@@ -795,7 +794,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
795
794
  };
796
795
  }
797
796
  });
798
- const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
797
+ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
799
798
  __name: "index",
800
799
  setup(__props, { expose: __expose }) {
801
800
  const proxyElement = vue.ref();
@@ -809,8 +808,8 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
809
808
  };
810
809
  }
811
810
  });
812
- const index_vue_vue_type_style_index_0_lang$2 = "";
813
- const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
811
+ const index_vue_vue_type_style_index_0_lang$3 = "";
812
+ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
814
813
  __name: "index",
815
814
  setup(__props, { expose: __expose }) {
816
815
  const tree = vue.ref();
@@ -833,8 +832,8 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
833
832
  };
834
833
  }
835
834
  });
836
- const index_vue_vue_type_style_index_0_lang$1 = "";
837
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
835
+ const index_vue_vue_type_style_index_0_lang$2 = "";
836
+ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
838
837
  __name: "index",
839
838
  setup(__props, { expose: __expose }) {
840
839
  const proxyElement = vue.ref();
@@ -858,32 +857,120 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
858
857
  };
859
858
  }
860
859
  });
860
+ const index_vue_vue_type_style_index_0_lang$1 = "";
861
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
862
+ __name: "index",
863
+ props: {
864
+ effect: {
865
+ type: String,
866
+ default: "dark"
867
+ },
868
+ trigger: {
869
+ type: String,
870
+ default: "hover"
871
+ },
872
+ placement: {
873
+ type: String,
874
+ default: "bottom"
875
+ },
876
+ width: {
877
+ type: [String, Number],
878
+ default: "auto"
879
+ },
880
+ offset: {
881
+ type: Number,
882
+ default: 12
883
+ },
884
+ transition: {
885
+ type: String,
886
+ default: "el-fade-in-linear"
887
+ },
888
+ showArrow: {
889
+ type: Boolean,
890
+ default: true
891
+ },
892
+ persistent: {
893
+ type: Boolean,
894
+ default: false
895
+ },
896
+ popperClass: {
897
+ type: String,
898
+ default: ""
899
+ },
900
+ showAfter: {
901
+ type: Number,
902
+ default: 200
903
+ },
904
+ hideAfter: {
905
+ type: Number,
906
+ default: 200
907
+ },
908
+ disabled: {
909
+ type: Boolean,
910
+ default: false
911
+ }
912
+ },
913
+ setup(__props, { expose: __expose }) {
914
+ const proxyElement = vue.ref();
915
+ const expose = useExpose(proxyElement);
916
+ __expose(expose);
917
+ return (_ctx, _cache) => {
918
+ return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElPopover), vue.mergeProps({
919
+ ref_key: "proxyElement",
920
+ ref: proxyElement
921
+ }, _ctx.$attrs, {
922
+ effect: __props.effect,
923
+ trigger: __props.trigger,
924
+ placement: __props.placement,
925
+ width: __props.width,
926
+ offset: __props.offset,
927
+ transition: __props.transition,
928
+ "show-arrow": __props.showArrow,
929
+ persistent: __props.persistent,
930
+ "popper-class": __props.popperClass,
931
+ "show-after": __props.showAfter,
932
+ "hide-after": __props.hideAfter,
933
+ disabled: __props.disabled
934
+ }), vue.createSlots({ _: 2 }, [
935
+ vue.renderList(_ctx.$slots, (value, key) => {
936
+ return {
937
+ name: key,
938
+ fn: vue.withCtx((slotProps) => [
939
+ vue.renderSlot(_ctx.$slots, key, vue.mergeProps(slotProps, { key }))
940
+ ])
941
+ };
942
+ })
943
+ ]), 1040, ["effect", "trigger", "placement", "width", "offset", "transition", "show-arrow", "persistent", "popper-class", "show-after", "hide-after", "disabled"]);
944
+ };
945
+ }
946
+ });
861
947
  const index_vue_vue_type_style_index_0_lang = "";
862
948
  const Adapter = {
863
- ElInput: _sfc_main$d,
864
- ElDropdown: _sfc_main$g,
865
- ElMenu: _sfc_main$c,
866
- ElRadioGroup: _sfc_main$8,
867
- ElTable: _sfc_main$4,
868
- ElTableColumn: _sfc_main$5,
869
- ElSelect: _sfc_main$7,
870
- ElPagination: _sfc_main$b,
871
- ElButton: _sfc_main$n,
872
- ElForm: _sfc_main$f,
873
- ElCascader: _sfc_main$m,
874
- ElRadio: _sfc_main$9,
875
- ElCheckbox: _sfc_main$l,
876
- ElDatePicker: _sfc_main$j,
877
- ElTimePicker: _sfc_main$3,
878
- ElDialog: _sfc_main$i,
879
- ElSwitch: _sfc_main$6,
880
- ElDrawer: _sfc_main$h,
881
- ElPopover: _sfc_main$a,
882
- ElTransfer: _sfc_main$2,
883
- ElCollapse: _sfc_main$k,
884
- ElImage: _sfc_main$e,
885
- ElUpload: _sfc_main,
886
- ElTree: _sfc_main$1
949
+ ElInput: _sfc_main$e,
950
+ ElDropdown: _sfc_main$h,
951
+ ElMenu: _sfc_main$d,
952
+ ElRadioGroup: _sfc_main$9,
953
+ ElTable: _sfc_main$5,
954
+ ElTableColumn: _sfc_main$6,
955
+ ElSelect: _sfc_main$8,
956
+ ElPagination: _sfc_main$c,
957
+ ElButton: _sfc_main$o,
958
+ ElForm: _sfc_main$g,
959
+ ElCascader: _sfc_main$n,
960
+ ElRadio: _sfc_main$a,
961
+ ElCheckbox: _sfc_main$m,
962
+ ElDatePicker: _sfc_main$k,
963
+ ElTimePicker: _sfc_main$4,
964
+ ElDialog: _sfc_main$j,
965
+ ElSwitch: _sfc_main$7,
966
+ ElDrawer: _sfc_main$i,
967
+ ElPopover: _sfc_main$b,
968
+ ElTransfer: _sfc_main$3,
969
+ ElCollapse: _sfc_main$l,
970
+ ElImage: _sfc_main$f,
971
+ ElUpload: _sfc_main$1,
972
+ ElTree: _sfc_main$2,
973
+ ElPoper: _sfc_main
887
974
  };
888
975
  function adapterInstall(app) {
889
976
  for (const [key, component] of Object.entries(Adapter)) {