@fmdeui/fmui 1.0.110 → 1.0.111

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/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.110 */
1
+ /*! fmdeui-fmui v1.0.111 */
2
2
  import VxeUITable from 'vxe-table';
3
3
  import VxeUIPluginRenderElement from '@vxe-ui/plugin-render-element';
4
4
  import VxeUIPluginExportXLSX from '@vxe-ui/plugin-export-xlsx';
@@ -20197,7 +20197,7 @@ const setupVXETable = (app) => {
20197
20197
  app.use(VxeUITable);
20198
20198
  };
20199
20199
 
20200
- var _sfc_main$L = /* @__PURE__ */ defineComponent({
20200
+ var _sfc_main$M = /* @__PURE__ */ defineComponent({
20201
20201
  ...{
20202
20202
  name: "FButton"
20203
20203
  },
@@ -20267,7 +20267,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
20267
20267
  }
20268
20268
  });
20269
20269
 
20270
- const FButton = _sfc_main$L;
20270
+ const FButton = _sfc_main$M;
20271
20271
 
20272
20272
  const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
20273
20273
  const translate = (path, option, locale) => get(locale, path, path).replace(
@@ -20940,9 +20940,9 @@ function getShowColumnWidth(flag, field, defaultValue = "", isJson = false) {
20940
20940
  return isJson ? width != "" ? { width } : "" : width;
20941
20941
  }
20942
20942
 
20943
- const _hoisted_1$v = { key: 0 };
20943
+ const _hoisted_1$w = { key: 0 };
20944
20944
  const _hoisted_2$k = { key: 0 };
20945
- var _sfc_main$K = /* @__PURE__ */ defineComponent({
20945
+ var _sfc_main$L = /* @__PURE__ */ defineComponent({
20946
20946
  ...{
20947
20947
  name: "FInput"
20948
20948
  },
@@ -21149,7 +21149,7 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
21149
21149
  fn: withCtx(() => [
21150
21150
  __props.inputType === "amount" ? (openBlock(), createElementBlock(
21151
21151
  "span",
21152
- _hoisted_1$v,
21152
+ _hoisted_1$w,
21153
21153
  toDisplayString(appendTitleText.value),
21154
21154
  1
21155
21155
  /* TEXT */
@@ -21195,13 +21195,13 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
21195
21195
  }
21196
21196
  });
21197
21197
 
21198
- const FInput = _sfc_main$K;
21198
+ const FInput = _sfc_main$L;
21199
21199
 
21200
- const _hoisted_1$u = {
21200
+ const _hoisted_1$v = {
21201
21201
  key: 0,
21202
21202
  class: "back_to_top"
21203
21203
  };
21204
- var _sfc_main$J = /* @__PURE__ */ defineComponent({
21204
+ var _sfc_main$K = /* @__PURE__ */ defineComponent({
21205
21205
  ...{
21206
21206
  name: "FLayoutPage"
21207
21207
  },
@@ -21263,7 +21263,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
21263
21263
  },
21264
21264
  [
21265
21265
  renderSlot(_ctx.$slots, "default"),
21266
- __props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
21266
+ __props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
21267
21267
  isShowGoTopButton.value ? (openBlock(), createElementBlock("div", {
21268
21268
  key: 0,
21269
21269
  onClick: backToTop
@@ -21291,9 +21291,9 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
21291
21291
  }
21292
21292
  });
21293
21293
 
21294
- const FLayoutPage = _sfc_main$J;
21294
+ const FLayoutPage = _sfc_main$K;
21295
21295
 
21296
- var _sfc_main$I = /* @__PURE__ */ defineComponent({
21296
+ var _sfc_main$J = /* @__PURE__ */ defineComponent({
21297
21297
  ...{
21298
21298
  name: "FLayoutPageItem"
21299
21299
  },
@@ -21321,7 +21321,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
21321
21321
  }
21322
21322
  });
21323
21323
 
21324
- const FLayoutPageItem = _sfc_main$I;
21324
+ const FLayoutPageItem = _sfc_main$J;
21325
21325
 
21326
21326
  function debounce(func, delay = 500, immediate, resultCallback) {
21327
21327
  let timer = null;
@@ -21364,8 +21364,8 @@ function toLine(name) {
21364
21364
  return name.replace(/([A-Z])/g, "_$1").toLowerCase();
21365
21365
  }
21366
21366
 
21367
- const _hoisted_1$t = ["id"];
21368
- var _sfc_main$H = /* @__PURE__ */ defineComponent({
21367
+ const _hoisted_1$u = ["id"];
21368
+ var _sfc_main$I = /* @__PURE__ */ defineComponent({
21369
21369
  ...{
21370
21370
  name: "FChart"
21371
21371
  },
@@ -21449,7 +21449,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
21449
21449
  id: __props.id,
21450
21450
  ref_key: "echartRef",
21451
21451
  ref: echartRef
21452
- }, null, 8, _hoisted_1$t), [
21452
+ }, null, 8, _hoisted_1$u), [
21453
21453
  [vShow, !formatEmpty.value]
21454
21454
  ]),
21455
21455
  formatEmpty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
@@ -21464,13 +21464,13 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
21464
21464
  }
21465
21465
  });
21466
21466
 
21467
- const FChart = _sfc_main$H;
21467
+ const FChart = _sfc_main$I;
21468
21468
 
21469
- const _hoisted_1$s = {
21469
+ const _hoisted_1$t = {
21470
21470
  key: 1,
21471
21471
  class: "f_select__pagination"
21472
21472
  };
21473
- var _sfc_main$G = /* @__PURE__ */ defineComponent({
21473
+ var _sfc_main$H = /* @__PURE__ */ defineComponent({
21474
21474
  ...{
21475
21475
  name: "FSelect"
21476
21476
  },
@@ -21683,7 +21683,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
21683
21683
  128
21684
21684
  /* KEYED_FRAGMENT */
21685
21685
  )),
21686
- __props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
21686
+ __props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$t, [
21687
21687
  createVNode(_component_el_pagination, mergeProps({
21688
21688
  "current-page": __props.paginationOption.currentPage,
21689
21689
  "onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
@@ -21721,9 +21721,9 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
21721
21721
  }
21722
21722
  });
21723
21723
 
21724
- const FSelect = _sfc_main$G;
21724
+ const FSelect = _sfc_main$H;
21725
21725
 
21726
- var _sfc_main$F = /* @__PURE__ */ defineComponent({
21726
+ var _sfc_main$G = /* @__PURE__ */ defineComponent({
21727
21727
  ...{
21728
21728
  name: "RenderComp"
21729
21729
  },
@@ -21743,12 +21743,12 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
21743
21743
  }
21744
21744
  });
21745
21745
 
21746
- const _hoisted_1$r = { class: "inside_box" };
21746
+ const _hoisted_1$s = { class: "inside_box" };
21747
21747
  const _hoisted_2$j = { class: "inside_box_title" };
21748
21748
  const _hoisted_3$c = { class: "check-box" };
21749
21749
  const _hoisted_4$8 = { class: "more_dropdown_icon" };
21750
21750
  const _hoisted_5$7 = { class: "out_box" };
21751
- var _sfc_main$E = /* @__PURE__ */ defineComponent({
21751
+ var _sfc_main$F = /* @__PURE__ */ defineComponent({
21752
21752
  ...{
21753
21753
  name: "MoreChoose"
21754
21754
  },
@@ -21886,7 +21886,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
21886
21886
  ])
21887
21887
  ]),
21888
21888
  default: withCtx(() => [
21889
- createElementVNode("div", _hoisted_1$r, [
21889
+ createElementVNode("div", _hoisted_1$s, [
21890
21890
  createElementVNode("div", _hoisted_2$j, [
21891
21891
  createElementVNode(
21892
21892
  "div",
@@ -22063,7 +22063,7 @@ function useComputed() {
22063
22063
  };
22064
22064
  }
22065
22065
 
22066
- var _sfc_main$D = /* @__PURE__ */ defineComponent({
22066
+ var _sfc_main$E = /* @__PURE__ */ defineComponent({
22067
22067
  ...{
22068
22068
  name: "FQueryCondition"
22069
22069
  },
@@ -22482,7 +22482,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
22482
22482
  opt.labelRender ? {
22483
22483
  name: "label",
22484
22484
  fn: withCtx(() => [
22485
- createVNode(_sfc_main$F, {
22485
+ createVNode(_sfc_main$G, {
22486
22486
  form: unref(queryState).form,
22487
22487
  render: opt.labelRender
22488
22488
  }, null, 8, ["form", "render"])
@@ -22578,7 +22578,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
22578
22578
  _: 1
22579
22579
  /* STABLE */
22580
22580
  })) : createCommentVNode("v-if", true),
22581
- createVNode(_sfc_main$E, {
22581
+ createVNode(_sfc_main$F, {
22582
22582
  isDropDownSelectMore: __props.isDropDownSelectMore,
22583
22583
  moreCheckList: __props.moreCheckList,
22584
22584
  popoverAttrsBind: popoverAttrsBind.value,
@@ -22604,7 +22604,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
22604
22604
  }
22605
22605
  });
22606
22606
 
22607
- var _sfc_main$C = /* @__PURE__ */ defineComponent({
22607
+ var _sfc_main$D = /* @__PURE__ */ defineComponent({
22608
22608
  ...{
22609
22609
  name: "RenderCol"
22610
22610
  },
@@ -22760,7 +22760,7 @@ function useVirtualized() {
22760
22760
  };
22761
22761
  }
22762
22762
 
22763
- const _hoisted_1$q = {
22763
+ const _hoisted_1$r = {
22764
22764
  key: 0,
22765
22765
  class: "table_query_condition"
22766
22766
  };
@@ -22770,7 +22770,7 @@ const _hoisted_4$7 = {
22770
22770
  key: 0,
22771
22771
  class: "f-table-select__page"
22772
22772
  };
22773
- var _sfc_main$B = /* @__PURE__ */ defineComponent({
22773
+ var _sfc_main$C = /* @__PURE__ */ defineComponent({
22774
22774
  ...{
22775
22775
  name: "FSelectTable"
22776
22776
  },
@@ -23392,9 +23392,9 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
23392
23392
  style: normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
23393
23393
  },
23394
23394
  [
23395
- __props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$q, [
23395
+ __props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
23396
23396
  createVNode(
23397
- _sfc_main$D,
23397
+ _sfc_main$E,
23398
23398
  mergeProps({
23399
23399
  ref_key: "fQueryConditionRef",
23400
23400
  ref: fQueryConditionRef,
@@ -23520,7 +23520,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
23520
23520
  fixed: item.fixed
23521
23521
  }, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
23522
23522
  default: withCtx((scope) => [
23523
- item.render ? (openBlock(), createBlock(_sfc_main$C, {
23523
+ item.render ? (openBlock(), createBlock(_sfc_main$D, {
23524
23524
  key: 0,
23525
23525
  column: item,
23526
23526
  row: scope.row,
@@ -23583,11 +23583,11 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
23583
23583
  }
23584
23584
  });
23585
23585
 
23586
- const FSelectTable = _sfc_main$B;
23586
+ const FSelectTable = _sfc_main$C;
23587
23587
 
23588
- const FQueryCondition = _sfc_main$D;
23588
+ const FQueryCondition = _sfc_main$E;
23589
23589
 
23590
- var _sfc_main$A = /* @__PURE__ */ defineComponent({
23590
+ var _sfc_main$B = /* @__PURE__ */ defineComponent({
23591
23591
  ...{
23592
23592
  name: "RenderComp"
23593
23593
  },
@@ -23607,7 +23607,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
23607
23607
  }
23608
23608
  });
23609
23609
 
23610
- var _sfc_main$z = /* @__PURE__ */ defineComponent({
23610
+ var _sfc_main$A = /* @__PURE__ */ defineComponent({
23611
23611
  ...{
23612
23612
  name: "RenderBtn"
23613
23613
  },
@@ -23627,12 +23627,12 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
23627
23627
  }
23628
23628
  });
23629
23629
 
23630
- const _hoisted_1$p = {
23630
+ const _hoisted_1$q = {
23631
23631
  key: 1,
23632
23632
  class: "text_show"
23633
23633
  };
23634
23634
  const _hoisted_2$h = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
23635
- var _sfc_main$y = /* @__PURE__ */ defineComponent({
23635
+ var _sfc_main$z = /* @__PURE__ */ defineComponent({
23636
23636
  ...{
23637
23637
  name: "FForm"
23638
23638
  },
@@ -23883,7 +23883,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
23883
23883
  }) : createCommentVNode("v-if", true),
23884
23884
  item.textShow ? (openBlock(), createElementBlock(
23885
23885
  "span",
23886
- _hoisted_1$p,
23886
+ _hoisted_1$q,
23887
23887
  toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
23888
23888
  1
23889
23889
  /* TEXT */
@@ -24003,7 +24003,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
24003
24003
  item.labelSlotName || item.labelRender ? {
24004
24004
  name: "label",
24005
24005
  fn: withCtx(() => [
24006
- item.labelRender ? (openBlock(), createBlock(_sfc_main$A, {
24006
+ item.labelRender ? (openBlock(), createBlock(_sfc_main$B, {
24007
24007
  key: 0,
24008
24008
  render: item.labelRender,
24009
24009
  item
@@ -24035,7 +24035,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
24035
24035
  Fragment,
24036
24036
  null,
24037
24037
  [
24038
- val.render ? (openBlock(), createBlock(_sfc_main$z, {
24038
+ val.render ? (openBlock(), createBlock(_sfc_main$A, {
24039
24039
  key: index,
24040
24040
  item: val,
24041
24041
  render: val.render
@@ -24082,10 +24082,10 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
24082
24082
  }
24083
24083
  });
24084
24084
 
24085
- const FForm = _sfc_main$y;
24085
+ const FForm = _sfc_main$z;
24086
24086
 
24087
- const _hoisted_1$o = ["src"];
24088
- var _sfc_main$x = /* @__PURE__ */ defineComponent({
24087
+ const _hoisted_1$p = ["src"];
24088
+ var _sfc_main$y = /* @__PURE__ */ defineComponent({
24089
24089
  ...{
24090
24090
  name: "svgIcon"
24091
24091
  },
@@ -24156,7 +24156,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
24156
24156
  createElementVNode("img", {
24157
24157
  src: getIconName.value,
24158
24158
  style: normalizeStyle(setIconSvgInsStyle.value)
24159
- }, null, 12, _hoisted_1$o)
24159
+ }, null, 12, _hoisted_1$p)
24160
24160
  ],
24161
24161
  4
24162
24162
  /* STYLE */
@@ -24183,13 +24183,13 @@ function elSvg(app) {
24183
24183
  }
24184
24184
  }
24185
24185
  if (!app._context.components[`SvgIcon`]) {
24186
- app.component("SvgIcon", _sfc_main$x);
24186
+ app.component("SvgIcon", _sfc_main$y);
24187
24187
  }
24188
24188
  }
24189
24189
 
24190
24190
  const emitter = mitt();
24191
24191
 
24192
- var _sfc_main$w = /* @__PURE__ */ defineComponent({
24192
+ var _sfc_main$x = /* @__PURE__ */ defineComponent({
24193
24193
  ...{
24194
24194
  name: "FLayout"
24195
24195
  },
@@ -24275,7 +24275,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
24275
24275
  }
24276
24276
  });
24277
24277
 
24278
- const FLayout = _sfc_main$w;
24278
+ const FLayout = _sfc_main$x;
24279
24279
 
24280
24280
  function commonFunction() {
24281
24281
  const { copy, isSupported } = useClipboard();
@@ -24552,7 +24552,7 @@ const other = {
24552
24552
  // },
24553
24553
  };
24554
24554
 
24555
- const _hoisted_1$n = { class: "layout-breadcrumb-seting" };
24555
+ const _hoisted_1$o = { class: "layout-breadcrumb-seting" };
24556
24556
  const _hoisted_2$g = { class: "layout-breadcrumb-seting-bar-flex" };
24557
24557
  const _hoisted_3$a = { class: "layout-breadcrumb-seting-bar-flex-label" };
24558
24558
  const _hoisted_4$6 = { class: "layout-breadcrumb-seting-bar-flex-value" };
@@ -24677,7 +24677,7 @@ const _hoisted_119 = {
24677
24677
  class: "traditionalColors-chines",
24678
24678
  style: { "cursor": "grab", "color": "gray" }
24679
24679
  };
24680
- var _sfc_main$v = /* @__PURE__ */ defineComponent({
24680
+ var _sfc_main$w = /* @__PURE__ */ defineComponent({
24681
24681
  ...{
24682
24682
  name: "FSettings"
24683
24683
  },
@@ -24941,7 +24941,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
24941
24941
  const _component_el_col = resolveComponent("el-col");
24942
24942
  const _component_el_row = resolveComponent("el-row");
24943
24943
  const _component_el_dialog = resolveComponent("el-dialog");
24944
- return openBlock(), createElementBlock("div", _hoisted_1$n, [
24944
+ return openBlock(), createElementBlock("div", _hoisted_1$o, [
24945
24945
  createVNode(_component_el_drawer, {
24946
24946
  title: _ctx.$t("message.layout.configTitle"),
24947
24947
  modelValue: getThemeConfig.value.isDrawer,
@@ -26440,9 +26440,9 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
26440
26440
  }
26441
26441
  });
26442
26442
 
26443
- const FSettings = _sfc_main$v;
26443
+ const FSettings = _sfc_main$w;
26444
26444
 
26445
- var _sfc_main$u = /* @__PURE__ */ defineComponent({
26445
+ var _sfc_main$v = /* @__PURE__ */ defineComponent({
26446
26446
  ...{
26447
26447
  name: "FModifyRecord"
26448
26448
  },
@@ -26705,7 +26705,180 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
26705
26705
  }
26706
26706
  });
26707
26707
 
26708
- const FModifyRecord = _sfc_main$u;
26708
+ const FModifyRecord = _sfc_main$v;
26709
+
26710
+ const _hoisted_1$n = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
26711
+ var _sfc_main$u = /* @__PURE__ */ defineComponent({
26712
+ ...{
26713
+ name: "FmSelect"
26714
+ },
26715
+ __name: "index",
26716
+ props: /* @__PURE__ */ mergeModels({
26717
+ //数据
26718
+ optionData: {
26719
+ type: Array,
26720
+ default: []
26721
+ },
26722
+ /**
26723
+ * 值的属性值
26724
+ */
26725
+ bvalue: {
26726
+ type: String,
26727
+ default: "id"
26728
+ },
26729
+ /**
26730
+ * 值的属性标签
26731
+ */
26732
+ blabel: {
26733
+ type: String,
26734
+ default: "name"
26735
+ },
26736
+ placeholder: {
26737
+ type: String,
26738
+ default: "\u8BF7\u9009\u62E9"
26739
+ },
26740
+ inputWidth: {
26741
+ type: String,
26742
+ default: "40%"
26743
+ },
26744
+ dropWidth: {
26745
+ type: String,
26746
+ default: "90px"
26747
+ },
26748
+ dropHeight: {
26749
+ type: String,
26750
+ default: "180px"
26751
+ },
26752
+ /**
26753
+ * api service name
26754
+ */
26755
+ apiService: {
26756
+ type: String,
26757
+ default: "baseData"
26758
+ },
26759
+ /**
26760
+ * api service 下的方法
26761
+ */
26762
+ apiAction: {
26763
+ type: String,
26764
+ default: "baseDataList"
26765
+ },
26766
+ /**
26767
+ * 基础编码 自动获取数据
26768
+ */
26769
+ basecode: {
26770
+ type: String,
26771
+ default: ""
26772
+ },
26773
+ /**
26774
+ * 基础编码 多个编码合在一起调用
26775
+ */
26776
+ multibasecode: {
26777
+ type: Array,
26778
+ default: []
26779
+ },
26780
+ freshSize: {
26781
+ type: [Number, String],
26782
+ default: 20
26783
+ },
26784
+ /**
26785
+ * 是否默认加载数据
26786
+ */
26787
+ autoLoadData: {
26788
+ type: Boolean,
26789
+ default: true
26790
+ }
26791
+ }, {
26792
+ "id": { default: 0, required: false },
26793
+ "idModifiers": {},
26794
+ "name": { default: "", required: false },
26795
+ "nameModifiers": {}
26796
+ }),
26797
+ emits: /* @__PURE__ */ mergeModels(["change"], ["update:id", "update:name"]),
26798
+ setup(__props, { emit: __emit }) {
26799
+ const modeValueId = useModel(__props, "id");
26800
+ const modeValueName = useModel(__props, "name");
26801
+ const props = __props;
26802
+ const state = reactive({
26803
+ optionData: props.optionData
26804
+ });
26805
+ const emit = __emit;
26806
+ const handelChange = (val) => {
26807
+ const fitem = state.optionData.find((item) => item[props.blabel] === val);
26808
+ modeValueId.value = fitem != null ? fitem[props.bvalue] : 0;
26809
+ modeValueName.value = fitem != null ? fitem[props.blabel] : "";
26810
+ emit("change", val);
26811
+ };
26812
+ const handelClear = () => {
26813
+ modeValueId.value = 0;
26814
+ modeValueName.value = "";
26815
+ emit("change", "");
26816
+ };
26817
+ onMounted(async () => {
26818
+ if (props.optionData.length > 0) {
26819
+ state.optionData = props.optionData;
26820
+ }
26821
+ if (props.autoLoadData && props.basecode && props.basecode != "") {
26822
+ const useBaseApi = usefminputdropdownstore();
26823
+ state.optionData = await useBaseApi.getOptionsData(props.apiService, props.apiAction, props.basecode, false, props.multibasecode);
26824
+ }
26825
+ });
26826
+ const handRestdata = async () => {
26827
+ if (props.basecode && props.basecode != "") {
26828
+ const useBaseApi = usefminputdropdownstore();
26829
+ state.optionData = await useBaseApi.getOptionsData(props.apiService, props.apiAction, props.basecode, true, []);
26830
+ }
26831
+ };
26832
+ return (_ctx, _cache) => {
26833
+ const _component_el_icon = resolveComponent("el-icon");
26834
+ const _component_el_option = resolveComponent("el-option");
26835
+ const _component_el_select = resolveComponent("el-select");
26836
+ return openBlock(), createBlock(_component_el_select, {
26837
+ modelValue: modeValueName.value,
26838
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValueName.value = $event),
26839
+ placeholder: props.placeholder,
26840
+ style: normalizeStyle({ width: __props.inputWidth }),
26841
+ onChange: handelChange,
26842
+ onClear: handelClear
26843
+ }, {
26844
+ header: withCtx(() => [
26845
+ createElementVNode("div", _hoisted_1$n, [
26846
+ createVNode(_component_el_icon, {
26847
+ color: "#13c2c2",
26848
+ size: __props.freshSize,
26849
+ onClick: handRestdata
26850
+ }, {
26851
+ default: withCtx(() => [
26852
+ createVNode(unref(RefreshLeft))
26853
+ ]),
26854
+ _: 1
26855
+ /* STABLE */
26856
+ }, 8, ["size"])
26857
+ ])
26858
+ ]),
26859
+ default: withCtx(() => [
26860
+ (openBlock(true), createElementBlock(
26861
+ Fragment,
26862
+ null,
26863
+ renderList(state.optionData, (item, index) => {
26864
+ return openBlock(), createBlock(_component_el_option, {
26865
+ key: index,
26866
+ label: item[__props.blabel],
26867
+ value: item[__props.blabel]
26868
+ }, null, 8, ["label", "value"]);
26869
+ }),
26870
+ 128
26871
+ /* KEYED_FRAGMENT */
26872
+ ))
26873
+ ]),
26874
+ _: 1
26875
+ /* STABLE */
26876
+ }, 8, ["modelValue", "placeholder", "style"]);
26877
+ };
26878
+ }
26879
+ });
26880
+
26881
+ const FmSelect = _sfc_main$u;
26709
26882
 
26710
26883
  var _sfc_main$t = /* @__PURE__ */ defineComponent({
26711
26884
  ...{
@@ -28510,7 +28683,8 @@ const plugins = [
28510
28683
  FmTree,
28511
28684
  FmCascader,
28512
28685
  FmInputNumber,
28513
- FmAutocomplete
28686
+ FmAutocomplete,
28687
+ FmSelect
28514
28688
  ];
28515
28689
 
28516
28690
  var installer = makeInstaller([...plugins]);
package/lib/component.js CHANGED
@@ -19,6 +19,7 @@ var index$d = require('./packages/components/fmtree/index.js');
19
19
  var index$e = require('./packages/components/fmcascader/index.js');
20
20
  var index$f = require('./packages/components/fm-inputnumber/index.js');
21
21
  var index$g = require('./packages/components/fm-autocomplete/index.js');
22
+ var index$h = require('./packages/components/fm-select/index.js');
22
23
 
23
24
  const plugins = [
24
25
  index.FButton,
@@ -37,7 +38,8 @@ const plugins = [
37
38
  index$d.FmTree,
38
39
  index$e.FmCascader,
39
40
  index$f.FmInputNumber,
40
- index$g.FmAutocomplete
41
+ index$g.FmAutocomplete,
42
+ index$h.FmSelect
41
43
  ];
42
44
 
43
45
  exports.default = plugins;