@fmdeui/fmui 1.0.122 → 1.0.123

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,11 +1,11 @@
1
- /*! fmdeui-fmui v1.0.122 */
1
+ /*! fmdeui-fmui v1.0.123 */
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';
5
5
  import VxeUI from 'vxe-pc-ui';
6
6
  import ExcelJS from 'exceljs';
7
7
  import * as svg from '@element-plus/icons-vue';
8
- import { CaretTop, ArrowDown, ArrowUp, RefreshLeft, Search, MoreFilled, Avatar, Loading, Lock, CircleCloseFilled } from '@element-plus/icons-vue';
8
+ import { CaretTop, ArrowDown, ArrowUp, RefreshLeft, Search, Calendar, DArrowLeft, DArrowRight, MoreFilled, Avatar, Loading, Lock, CircleCloseFilled } from '@element-plus/icons-vue';
9
9
  import { isRef, unref, watch, nextTick, computed, reactive, defineComponent, ref, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createVNode, renderSlot, inject, withDirectives, resolveDirective, provide, useAttrs, useSlots, createSlots, renderList, normalizeProps, guardReactiveProps, createElementBlock, toDisplayString, createElementVNode, onMounted, onActivated, normalizeClass, createCommentVNode, getCurrentInstance, onBeforeUnmount, vShow, markRaw, resolveDynamicComponent, Fragment, createTextVNode, withModifiers, toHandlers, onUpdated, normalizeStyle, defineAsyncComponent, onBeforeMount, onUnmounted, useModel, mergeModels, withKeys, onBeforeUpdate, Transition, KeepAlive, TransitionGroup } from 'vue';
10
10
  import { ElLoading, ElMessage, ElNotification, localeContextKey, dayjs, ElMessageBox } from 'element-plus';
11
11
  import { get, merge, debounce as debounce$1 } from 'lodash-es';
@@ -20334,7 +20334,7 @@ const setupVXETable = (app) => {
20334
20334
  app.use(VxeUITable);
20335
20335
  };
20336
20336
 
20337
- var _sfc_main$O = /* @__PURE__ */ defineComponent({
20337
+ var _sfc_main$P = /* @__PURE__ */ defineComponent({
20338
20338
  ...{
20339
20339
  name: "FButton"
20340
20340
  },
@@ -20404,7 +20404,7 @@ var _sfc_main$O = /* @__PURE__ */ defineComponent({
20404
20404
  }
20405
20405
  });
20406
20406
 
20407
- const FButton = _sfc_main$O;
20407
+ const FButton = _sfc_main$P;
20408
20408
 
20409
20409
  const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
20410
20410
  const translate = (path, option, locale) => get(locale, path, path).replace(
@@ -21117,9 +21117,9 @@ function getShowColumnWidth(flag, field, defaultValue = "", isJson = false) {
21117
21117
  return isJson ? width != "" ? { width } : "" : width;
21118
21118
  }
21119
21119
 
21120
- const _hoisted_1$x = { key: 0 };
21121
- const _hoisted_2$l = { key: 0 };
21122
- var _sfc_main$N = /* @__PURE__ */ defineComponent({
21120
+ const _hoisted_1$y = { key: 0 };
21121
+ const _hoisted_2$m = { key: 0 };
21122
+ var _sfc_main$O = /* @__PURE__ */ defineComponent({
21123
21123
  ...{
21124
21124
  name: "FInput"
21125
21125
  },
@@ -21326,7 +21326,7 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
21326
21326
  fn: withCtx(() => [
21327
21327
  __props.inputType === "amount" ? (openBlock(), createElementBlock(
21328
21328
  "span",
21329
- _hoisted_1$x,
21329
+ _hoisted_1$y,
21330
21330
  toDisplayString(appendTitleText.value),
21331
21331
  1
21332
21332
  /* TEXT */
@@ -21359,7 +21359,7 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
21359
21359
  fn: withCtx(() => [
21360
21360
  __props.inputType === "amount" ? (openBlock(), createElementBlock(
21361
21361
  "span",
21362
- _hoisted_2$l,
21362
+ _hoisted_2$m,
21363
21363
  toDisplayString(appendTitleText.value),
21364
21364
  1
21365
21365
  /* TEXT */
@@ -21372,13 +21372,13 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
21372
21372
  }
21373
21373
  });
21374
21374
 
21375
- const FInput = _sfc_main$N;
21375
+ const FInput = _sfc_main$O;
21376
21376
 
21377
- const _hoisted_1$w = {
21377
+ const _hoisted_1$x = {
21378
21378
  key: 0,
21379
21379
  class: "back_to_top"
21380
21380
  };
21381
- var _sfc_main$M = /* @__PURE__ */ defineComponent({
21381
+ var _sfc_main$N = /* @__PURE__ */ defineComponent({
21382
21382
  ...{
21383
21383
  name: "FLayoutPage"
21384
21384
  },
@@ -21440,7 +21440,7 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
21440
21440
  },
21441
21441
  [
21442
21442
  renderSlot(_ctx.$slots, "default"),
21443
- __props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
21443
+ __props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$x, [
21444
21444
  isShowGoTopButton.value ? (openBlock(), createElementBlock("div", {
21445
21445
  key: 0,
21446
21446
  onClick: backToTop
@@ -21468,9 +21468,9 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
21468
21468
  }
21469
21469
  });
21470
21470
 
21471
- const FLayoutPage = _sfc_main$M;
21471
+ const FLayoutPage = _sfc_main$N;
21472
21472
 
21473
- var _sfc_main$L = /* @__PURE__ */ defineComponent({
21473
+ var _sfc_main$M = /* @__PURE__ */ defineComponent({
21474
21474
  ...{
21475
21475
  name: "FLayoutPageItem"
21476
21476
  },
@@ -21498,7 +21498,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
21498
21498
  }
21499
21499
  });
21500
21500
 
21501
- const FLayoutPageItem = _sfc_main$L;
21501
+ const FLayoutPageItem = _sfc_main$M;
21502
21502
 
21503
21503
  function debounce(func, delay = 500, immediate, resultCallback) {
21504
21504
  let timer = null;
@@ -21541,8 +21541,8 @@ function toLine(name) {
21541
21541
  return name.replace(/([A-Z])/g, "_$1").toLowerCase();
21542
21542
  }
21543
21543
 
21544
- const _hoisted_1$v = ["id"];
21545
- var _sfc_main$K = /* @__PURE__ */ defineComponent({
21544
+ const _hoisted_1$w = ["id"];
21545
+ var _sfc_main$L = /* @__PURE__ */ defineComponent({
21546
21546
  ...{
21547
21547
  name: "FChart"
21548
21548
  },
@@ -21626,7 +21626,7 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
21626
21626
  id: __props.id,
21627
21627
  ref_key: "echartRef",
21628
21628
  ref: echartRef
21629
- }, null, 8, _hoisted_1$v), [
21629
+ }, null, 8, _hoisted_1$w), [
21630
21630
  [vShow, !formatEmpty.value]
21631
21631
  ]),
21632
21632
  formatEmpty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
@@ -21641,13 +21641,13 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
21641
21641
  }
21642
21642
  });
21643
21643
 
21644
- const FChart = _sfc_main$K;
21644
+ const FChart = _sfc_main$L;
21645
21645
 
21646
- const _hoisted_1$u = {
21646
+ const _hoisted_1$v = {
21647
21647
  key: 1,
21648
21648
  class: "f_select__pagination"
21649
21649
  };
21650
- var _sfc_main$J = /* @__PURE__ */ defineComponent({
21650
+ var _sfc_main$K = /* @__PURE__ */ defineComponent({
21651
21651
  ...{
21652
21652
  name: "FSelect"
21653
21653
  },
@@ -21860,7 +21860,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
21860
21860
  128
21861
21861
  /* KEYED_FRAGMENT */
21862
21862
  )),
21863
- __props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
21863
+ __props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
21864
21864
  createVNode(_component_el_pagination, mergeProps({
21865
21865
  "current-page": __props.paginationOption.currentPage,
21866
21866
  "onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
@@ -21898,9 +21898,9 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
21898
21898
  }
21899
21899
  });
21900
21900
 
21901
- const FSelect = _sfc_main$J;
21901
+ const FSelect = _sfc_main$K;
21902
21902
 
21903
- var _sfc_main$I = /* @__PURE__ */ defineComponent({
21903
+ var _sfc_main$J = /* @__PURE__ */ defineComponent({
21904
21904
  ...{
21905
21905
  name: "RenderComp"
21906
21906
  },
@@ -21920,12 +21920,12 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
21920
21920
  }
21921
21921
  });
21922
21922
 
21923
- const _hoisted_1$t = { class: "inside_box" };
21924
- const _hoisted_2$k = { class: "inside_box_title" };
21923
+ const _hoisted_1$u = { class: "inside_box" };
21924
+ const _hoisted_2$l = { class: "inside_box_title" };
21925
21925
  const _hoisted_3$d = { class: "check-box" };
21926
21926
  const _hoisted_4$9 = { class: "more_dropdown_icon" };
21927
21927
  const _hoisted_5$8 = { class: "out_box" };
21928
- var _sfc_main$H = /* @__PURE__ */ defineComponent({
21928
+ var _sfc_main$I = /* @__PURE__ */ defineComponent({
21929
21929
  ...{
21930
21930
  name: "MoreChoose"
21931
21931
  },
@@ -22063,8 +22063,8 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
22063
22063
  ])
22064
22064
  ]),
22065
22065
  default: withCtx(() => [
22066
- createElementVNode("div", _hoisted_1$t, [
22067
- createElementVNode("div", _hoisted_2$k, [
22066
+ createElementVNode("div", _hoisted_1$u, [
22067
+ createElementVNode("div", _hoisted_2$l, [
22068
22068
  createElementVNode(
22069
22069
  "div",
22070
22070
  null,
@@ -22240,7 +22240,7 @@ function useComputed() {
22240
22240
  };
22241
22241
  }
22242
22242
 
22243
- var _sfc_main$G = /* @__PURE__ */ defineComponent({
22243
+ var _sfc_main$H = /* @__PURE__ */ defineComponent({
22244
22244
  ...{
22245
22245
  name: "FQueryCondition"
22246
22246
  },
@@ -22659,7 +22659,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
22659
22659
  opt.labelRender ? {
22660
22660
  name: "label",
22661
22661
  fn: withCtx(() => [
22662
- createVNode(_sfc_main$I, {
22662
+ createVNode(_sfc_main$J, {
22663
22663
  form: unref(queryState).form,
22664
22664
  render: opt.labelRender
22665
22665
  }, null, 8, ["form", "render"])
@@ -22755,7 +22755,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
22755
22755
  _: 1
22756
22756
  /* STABLE */
22757
22757
  })) : createCommentVNode("v-if", true),
22758
- createVNode(_sfc_main$H, {
22758
+ createVNode(_sfc_main$I, {
22759
22759
  isDropDownSelectMore: __props.isDropDownSelectMore,
22760
22760
  moreCheckList: __props.moreCheckList,
22761
22761
  popoverAttrsBind: popoverAttrsBind.value,
@@ -22781,7 +22781,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
22781
22781
  }
22782
22782
  });
22783
22783
 
22784
- var _sfc_main$F = /* @__PURE__ */ defineComponent({
22784
+ var _sfc_main$G = /* @__PURE__ */ defineComponent({
22785
22785
  ...{
22786
22786
  name: "RenderCol"
22787
22787
  },
@@ -22937,17 +22937,17 @@ function useVirtualized() {
22937
22937
  };
22938
22938
  }
22939
22939
 
22940
- const _hoisted_1$s = {
22940
+ const _hoisted_1$t = {
22941
22941
  key: 0,
22942
22942
  class: "table_query_condition"
22943
22943
  };
22944
- const _hoisted_2$j = ["element-loading-text"];
22944
+ const _hoisted_2$k = ["element-loading-text"];
22945
22945
  const _hoisted_3$c = { key: 2 };
22946
22946
  const _hoisted_4$8 = {
22947
22947
  key: 0,
22948
22948
  class: "f-table-select__page"
22949
22949
  };
22950
- var _sfc_main$E = /* @__PURE__ */ defineComponent({
22950
+ var _sfc_main$F = /* @__PURE__ */ defineComponent({
22951
22951
  ...{
22952
22952
  name: "FSelectTable"
22953
22953
  },
@@ -23569,9 +23569,9 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
23569
23569
  style: normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
23570
23570
  },
23571
23571
  [
23572
- __props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
23572
+ __props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$t, [
23573
23573
  createVNode(
23574
- _sfc_main$G,
23574
+ _sfc_main$H,
23575
23575
  mergeProps({
23576
23576
  ref_key: "fQueryConditionRef",
23577
23577
  ref: fQueryConditionRef,
@@ -23697,7 +23697,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
23697
23697
  fixed: item.fixed
23698
23698
  }, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
23699
23699
  default: withCtx((scope) => [
23700
- item.render ? (openBlock(), createBlock(_sfc_main$F, {
23700
+ item.render ? (openBlock(), createBlock(_sfc_main$G, {
23701
23701
  key: 0,
23702
23702
  column: item,
23703
23703
  row: scope.row,
@@ -23742,7 +23742,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
23742
23742
  total: __props.table.total
23743
23743
  }, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
23744
23744
  ])) : createCommentVNode("v-if", true)
23745
- ], 8, _hoisted_2$j)), [
23745
+ ], 8, _hoisted_2$k)), [
23746
23746
  [_directive_loading, __props.tableLoading]
23747
23747
  ]),
23748
23748
  renderSlot(_ctx.$slots, "footer")
@@ -23760,11 +23760,11 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
23760
23760
  }
23761
23761
  });
23762
23762
 
23763
- const FSelectTable = _sfc_main$E;
23763
+ const FSelectTable = _sfc_main$F;
23764
23764
 
23765
- const FQueryCondition = _sfc_main$G;
23765
+ const FQueryCondition = _sfc_main$H;
23766
23766
 
23767
- var _sfc_main$D = /* @__PURE__ */ defineComponent({
23767
+ var _sfc_main$E = /* @__PURE__ */ defineComponent({
23768
23768
  ...{
23769
23769
  name: "RenderComp"
23770
23770
  },
@@ -23784,7 +23784,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
23784
23784
  }
23785
23785
  });
23786
23786
 
23787
- var _sfc_main$C = /* @__PURE__ */ defineComponent({
23787
+ var _sfc_main$D = /* @__PURE__ */ defineComponent({
23788
23788
  ...{
23789
23789
  name: "RenderBtn"
23790
23790
  },
@@ -23804,12 +23804,12 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
23804
23804
  }
23805
23805
  });
23806
23806
 
23807
- const _hoisted_1$r = {
23807
+ const _hoisted_1$s = {
23808
23808
  key: 1,
23809
23809
  class: "text_show"
23810
23810
  };
23811
- const _hoisted_2$i = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
23812
- var _sfc_main$B = /* @__PURE__ */ defineComponent({
23811
+ const _hoisted_2$j = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
23812
+ var _sfc_main$C = /* @__PURE__ */ defineComponent({
23813
23813
  ...{
23814
23814
  name: "FForm"
23815
23815
  },
@@ -24060,7 +24060,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
24060
24060
  }) : createCommentVNode("v-if", true),
24061
24061
  item.textShow ? (openBlock(), createElementBlock(
24062
24062
  "span",
24063
- _hoisted_1$r,
24063
+ _hoisted_1$s,
24064
24064
  toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
24065
24065
  1
24066
24066
  /* TEXT */
@@ -24180,7 +24180,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
24180
24180
  item.labelSlotName || item.labelRender ? {
24181
24181
  name: "label",
24182
24182
  fn: withCtx(() => [
24183
- item.labelRender ? (openBlock(), createBlock(_sfc_main$D, {
24183
+ item.labelRender ? (openBlock(), createBlock(_sfc_main$E, {
24184
24184
  key: 0,
24185
24185
  render: item.labelRender,
24186
24186
  item
@@ -24202,7 +24202,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
24202
24202
  /* UNKEYED_FRAGMENT */
24203
24203
  )),
24204
24204
  createCommentVNode(" \u6309\u94AE "),
24205
- createElementVNode("div", _hoisted_2$i, [
24205
+ createElementVNode("div", _hoisted_2$j, [
24206
24206
  __props.formOpts.btnSlotName ? renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : createCommentVNode("v-if", true),
24207
24207
  !__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (openBlock(true), createElementBlock(
24208
24208
  Fragment,
@@ -24212,7 +24212,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
24212
24212
  Fragment,
24213
24213
  null,
24214
24214
  [
24215
- val.render ? (openBlock(), createBlock(_sfc_main$C, {
24215
+ val.render ? (openBlock(), createBlock(_sfc_main$D, {
24216
24216
  key: index,
24217
24217
  item: val,
24218
24218
  render: val.render
@@ -24259,10 +24259,10 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
24259
24259
  }
24260
24260
  });
24261
24261
 
24262
- const FForm = _sfc_main$B;
24262
+ const FForm = _sfc_main$C;
24263
24263
 
24264
- const _hoisted_1$q = ["src"];
24265
- var _sfc_main$A = /* @__PURE__ */ defineComponent({
24264
+ const _hoisted_1$r = ["src"];
24265
+ var _sfc_main$B = /* @__PURE__ */ defineComponent({
24266
24266
  ...{
24267
24267
  name: "svgIcon"
24268
24268
  },
@@ -24333,7 +24333,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
24333
24333
  createElementVNode("img", {
24334
24334
  src: getIconName.value,
24335
24335
  style: normalizeStyle(setIconSvgInsStyle.value)
24336
- }, null, 12, _hoisted_1$q)
24336
+ }, null, 12, _hoisted_1$r)
24337
24337
  ],
24338
24338
  4
24339
24339
  /* STYLE */
@@ -24360,13 +24360,13 @@ function elSvg(app) {
24360
24360
  }
24361
24361
  }
24362
24362
  if (!app._context.components[`SvgIcon`]) {
24363
- app.component("SvgIcon", _sfc_main$A);
24363
+ app.component("SvgIcon", _sfc_main$B);
24364
24364
  }
24365
24365
  }
24366
24366
 
24367
24367
  const emitter = mitt();
24368
24368
 
24369
- var _sfc_main$z = /* @__PURE__ */ defineComponent({
24369
+ var _sfc_main$A = /* @__PURE__ */ defineComponent({
24370
24370
  ...{
24371
24371
  name: "FLayout"
24372
24372
  },
@@ -24452,7 +24452,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
24452
24452
  }
24453
24453
  });
24454
24454
 
24455
- const FLayout = _sfc_main$z;
24455
+ const FLayout = _sfc_main$A;
24456
24456
 
24457
24457
  function commonFunction() {
24458
24458
  const { copy, isSupported } = useClipboard();
@@ -24729,8 +24729,8 @@ const other = {
24729
24729
  // },
24730
24730
  };
24731
24731
 
24732
- const _hoisted_1$p = { class: "layout-breadcrumb-seting" };
24733
- const _hoisted_2$h = { class: "layout-breadcrumb-seting-bar-flex" };
24732
+ const _hoisted_1$q = { class: "layout-breadcrumb-seting" };
24733
+ const _hoisted_2$i = { class: "layout-breadcrumb-seting-bar-flex" };
24734
24734
  const _hoisted_3$b = { class: "layout-breadcrumb-seting-bar-flex-label" };
24735
24735
  const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
24736
24736
  const _hoisted_5$7 = { style: { "margin": "10px 0" } };
@@ -24854,7 +24854,7 @@ const _hoisted_119 = {
24854
24854
  class: "traditionalColors-chines",
24855
24855
  style: { "cursor": "grab", "color": "gray" }
24856
24856
  };
24857
- var _sfc_main$y = /* @__PURE__ */ defineComponent({
24857
+ var _sfc_main$z = /* @__PURE__ */ defineComponent({
24858
24858
  ...{
24859
24859
  name: "FSettings"
24860
24860
  },
@@ -25118,7 +25118,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
25118
25118
  const _component_el_col = resolveComponent("el-col");
25119
25119
  const _component_el_row = resolveComponent("el-row");
25120
25120
  const _component_el_dialog = resolveComponent("el-dialog");
25121
- return openBlock(), createElementBlock("div", _hoisted_1$p, [
25121
+ return openBlock(), createElementBlock("div", _hoisted_1$q, [
25122
25122
  createVNode(_component_el_drawer, {
25123
25123
  title: _ctx.$t("message.layout.configTitle"),
25124
25124
  modelValue: getThemeConfig.value.isDrawer,
@@ -25143,7 +25143,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
25143
25143
  _: 1
25144
25144
  /* STABLE */
25145
25145
  }),
25146
- createElementVNode("div", _hoisted_2$h, [
25146
+ createElementVNode("div", _hoisted_2$i, [
25147
25147
  createElementVNode(
25148
25148
  "div",
25149
25149
  _hoisted_3$b,
@@ -26617,9 +26617,9 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
26617
26617
  }
26618
26618
  });
26619
26619
 
26620
- const FSettings = _sfc_main$y;
26620
+ const FSettings = _sfc_main$z;
26621
26621
 
26622
- var _sfc_main$x = /* @__PURE__ */ defineComponent({
26622
+ var _sfc_main$y = /* @__PURE__ */ defineComponent({
26623
26623
  ...{
26624
26624
  name: "FModifyRecord"
26625
26625
  },
@@ -26882,10 +26882,10 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
26882
26882
  }
26883
26883
  });
26884
26884
 
26885
- const FModifyRecord = _sfc_main$x;
26885
+ const FModifyRecord = _sfc_main$y;
26886
26886
 
26887
- const _hoisted_1$o = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
26888
- var _sfc_main$w = /* @__PURE__ */ defineComponent({
26887
+ const _hoisted_1$p = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
26888
+ var _sfc_main$x = /* @__PURE__ */ defineComponent({
26889
26889
  ...{
26890
26890
  name: "FmSelect"
26891
26891
  },
@@ -27044,7 +27044,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
27044
27044
  onClear: handelClear
27045
27045
  }, {
27046
27046
  header: withCtx(() => [
27047
- createElementVNode("div", _hoisted_1$o, [
27047
+ createElementVNode("div", _hoisted_1$p, [
27048
27048
  createVNode(_component_el_icon, {
27049
27049
  color: "#13c2c2",
27050
27050
  size: __props.freshSize,
@@ -27086,9 +27086,9 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
27086
27086
  }
27087
27087
  });
27088
27088
 
27089
- const FmSelect = _sfc_main$w;
27089
+ const FmSelect = _sfc_main$x;
27090
27090
 
27091
- var _sfc_main$v = /* @__PURE__ */ defineComponent({
27091
+ var _sfc_main$w = /* @__PURE__ */ defineComponent({
27092
27092
  ...{
27093
27093
  name: "Fminputdropdown"
27094
27094
  },
@@ -27286,9 +27286,9 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
27286
27286
  }
27287
27287
  });
27288
27288
 
27289
- const Fminputdropdown = _sfc_main$v;
27289
+ const Fminputdropdown = _sfc_main$w;
27290
27290
 
27291
- var _sfc_main$u = /* @__PURE__ */ defineComponent({
27291
+ var _sfc_main$v = /* @__PURE__ */ defineComponent({
27292
27292
  ...{ name: "FmInputNumber" },
27293
27293
  __name: "index",
27294
27294
  props: /* @__PURE__ */ mergeModels({
@@ -27397,14 +27397,14 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
27397
27397
  }
27398
27398
  });
27399
27399
 
27400
- const FmInputNumber = _sfc_main$u;
27400
+ const FmInputNumber = _sfc_main$v;
27401
27401
 
27402
- const _hoisted_1$n = { style: { "color": "#fff" } };
27403
- const _hoisted_2$g = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27402
+ const _hoisted_1$o = { style: { "color": "#fff" } };
27403
+ const _hoisted_2$h = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27404
27404
  const _hoisted_3$a = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27405
27405
  const _hoisted_4$6 = { style: { "margin-top": "10px" } };
27406
27406
  const _hoisted_5$6 = { class: "dialog-footer" };
27407
- var _sfc_main$t = /* @__PURE__ */ defineComponent({
27407
+ var _sfc_main$u = /* @__PURE__ */ defineComponent({
27408
27408
  __name: "userSelectDialog",
27409
27409
  props: {
27410
27410
  visible: {
@@ -27541,7 +27541,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
27541
27541
  "close-on-click-modal": false
27542
27542
  }, {
27543
27543
  header: withCtx(() => [
27544
- createElementVNode("div", _hoisted_1$n, [
27544
+ createElementVNode("div", _hoisted_1$o, [
27545
27545
  createVNode(_component_el_icon, {
27546
27546
  size: "16",
27547
27547
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -27587,7 +27587,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
27587
27587
  default: withCtx(() => [
27588
27588
  createElementVNode(
27589
27589
  "p",
27590
- _hoisted_2$g,
27590
+ _hoisted_2$h,
27591
27591
  toDisplayString(_ctx.$t("\u673A\u6784")),
27592
27592
  1
27593
27593
  /* TEXT */
@@ -27793,10 +27793,10 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
27793
27793
  }
27794
27794
  });
27795
27795
 
27796
- const _hoisted_1$m = { style: { "color": "#fff" } };
27797
- const _hoisted_2$f = { style: { "margin-top": "10px" } };
27796
+ const _hoisted_1$n = { style: { "color": "#fff" } };
27797
+ const _hoisted_2$g = { style: { "margin-top": "10px" } };
27798
27798
  const _hoisted_3$9 = { class: "dialog-footer" };
27799
- var _sfc_main$s = /* @__PURE__ */ defineComponent({
27799
+ var _sfc_main$t = /* @__PURE__ */ defineComponent({
27800
27800
  __name: "supplierSelectDialog",
27801
27801
  props: {
27802
27802
  visible: {
@@ -27908,7 +27908,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
27908
27908
  "close-on-click-modal": false
27909
27909
  }, {
27910
27910
  header: withCtx(() => [
27911
- createElementVNode("div", _hoisted_1$m, [
27911
+ createElementVNode("div", _hoisted_1$n, [
27912
27912
  createVNode(_component_el_icon, {
27913
27913
  size: "16",
27914
27914
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -27952,7 +27952,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
27952
27952
  default: withCtx(() => [
27953
27953
  createVNode(_component_el_col, { span: 24 }, {
27954
27954
  default: withCtx(() => [
27955
- createElementVNode("div", _hoisted_2$f, [
27955
+ createElementVNode("div", _hoisted_2$g, [
27956
27956
  createVNode(_component_el_form, {
27957
27957
  model: state.queryParams,
27958
27958
  ref: "queryRef",
@@ -28158,12 +28158,12 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
28158
28158
  }
28159
28159
  });
28160
28160
 
28161
- const _hoisted_1$l = { style: { "color": "#fff" } };
28162
- const _hoisted_2$e = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
28161
+ const _hoisted_1$m = { style: { "color": "#fff" } };
28162
+ const _hoisted_2$f = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
28163
28163
  const _hoisted_3$8 = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
28164
28164
  const _hoisted_4$5 = { style: { "margin-top": "10px" } };
28165
28165
  const _hoisted_5$5 = { class: "dialog-footer" };
28166
- var _sfc_main$r = /* @__PURE__ */ defineComponent({
28166
+ var _sfc_main$s = /* @__PURE__ */ defineComponent({
28167
28167
  __name: "subjectSelectDialog",
28168
28168
  props: {
28169
28169
  visible: {
@@ -28267,7 +28267,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
28267
28267
  "close-on-click-modal": false
28268
28268
  }, {
28269
28269
  header: withCtx(() => [
28270
- createElementVNode("div", _hoisted_1$l, [
28270
+ createElementVNode("div", _hoisted_1$m, [
28271
28271
  createVNode(_component_el_icon, {
28272
28272
  size: "16",
28273
28273
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -28313,7 +28313,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
28313
28313
  default: withCtx(() => [
28314
28314
  createElementVNode(
28315
28315
  "p",
28316
- _hoisted_2$e,
28316
+ _hoisted_2$f,
28317
28317
  toDisplayString(_ctx.$t("\u5927\u7C7B")),
28318
28318
  1
28319
28319
  /* TEXT */
@@ -28482,8 +28482,8 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
28482
28482
  }
28483
28483
  });
28484
28484
 
28485
- const _hoisted_1$k = { style: { "font-size": "14px", "line-height": "30px" } };
28486
- var _sfc_main$q = /* @__PURE__ */ defineComponent({
28485
+ const _hoisted_1$l = { style: { "font-size": "14px", "line-height": "30px" } };
28486
+ var _sfc_main$r = /* @__PURE__ */ defineComponent({
28487
28487
  ...{
28488
28488
  name: "FmAutocomplete"
28489
28489
  },
@@ -28651,7 +28651,7 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
28651
28651
  default: withCtx(({ item }) => [
28652
28652
  createElementVNode(
28653
28653
  "div",
28654
- _hoisted_1$k,
28654
+ _hoisted_1$l,
28655
28655
  toDisplayString(item[__props.vName]) + " " + toDisplayString(__props.vLabel != "" ? "(" + item[__props.vLabel] + ")" : ""),
28656
28656
  1
28657
28657
  /* TEXT */
@@ -28674,7 +28674,7 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
28674
28674
  _: 1
28675
28675
  /* STABLE */
28676
28676
  }, 8, ["size"]),
28677
- __props.openType == 0 ? (openBlock(), createBlock(_sfc_main$t, {
28677
+ __props.openType == 0 ? (openBlock(), createBlock(_sfc_main$u, {
28678
28678
  key: 0,
28679
28679
  visible: visibleopenDialog.value,
28680
28680
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
@@ -28687,7 +28687,7 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
28687
28687
  userParams: __props.params,
28688
28688
  onChange: handleSelectDialogChange
28689
28689
  }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
28690
- __props.openType == 2 ? (openBlock(), createBlock(_sfc_main$s, {
28690
+ __props.openType == 2 ? (openBlock(), createBlock(_sfc_main$t, {
28691
28691
  key: 1,
28692
28692
  visible: visibleopenDialog.value,
28693
28693
  "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
@@ -28698,7 +28698,7 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
28698
28698
  onChange: handleSelectDialogChange
28699
28699
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
28700
28700
  createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
28701
- __props.openType == 4 ? (openBlock(), createBlock(_sfc_main$r, {
28701
+ __props.openType == 4 ? (openBlock(), createBlock(_sfc_main$s, {
28702
28702
  key: 2,
28703
28703
  visible: visibleopenDialog.value,
28704
28704
  "onUpdate:visible": _cache[3] || (_cache[3] = ($event) => visibleopenDialog.value = $event),
@@ -28716,9 +28716,9 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
28716
28716
  }
28717
28717
  });
28718
28718
 
28719
- const FmAutocomplete = _sfc_main$q;
28719
+ const FmAutocomplete = _sfc_main$r;
28720
28720
 
28721
- var _sfc_main$p = /* @__PURE__ */ defineComponent({
28721
+ var _sfc_main$q = /* @__PURE__ */ defineComponent({
28722
28722
  ...{
28723
28723
  name: "Fmdatepicker"
28724
28724
  },
@@ -28769,7 +28769,208 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
28769
28769
  }
28770
28770
  });
28771
28771
 
28772
- const Fmdatepicker = _sfc_main$p;
28772
+ const Fmdatepicker = _sfc_main$q;
28773
+
28774
+ const _hoisted_1$k = { style: { "display": "flex", "justify-content": "space-between", "align-items": "center" } };
28775
+ const _hoisted_2$e = { style: { "font-size": "16px" } };
28776
+ const _sfc_main$p = /* @__PURE__ */ Object.assign({
28777
+ name: "FmPeriod"
28778
+ }, {
28779
+ __name: "index",
28780
+ props: /* @__PURE__ */ mergeModels({
28781
+ placeholder: {
28782
+ type: String,
28783
+ default: "\u8BF7\u9009\u62E9\u4F1A\u8BA1\u671F\u95F4"
28784
+ },
28785
+ inputWidth: {
28786
+ type: String,
28787
+ default: "200px"
28788
+ },
28789
+ dropWidth: {
28790
+ type: String,
28791
+ default: "200px"
28792
+ }
28793
+ }, {
28794
+ "modelValue": {},
28795
+ "modelModifiers": {}
28796
+ }),
28797
+ emits: ["update:modelValue"],
28798
+ setup(__props) {
28799
+ const dropdownRef = ref(null);
28800
+ const currentYear = ref((/* @__PURE__ */ new Date()).getFullYear());
28801
+ const selectedPeriod = useModel(__props, "modelValue");
28802
+ const handleVisibleChange = (visible) => {
28803
+ if (visible) {
28804
+ const val = selectedPeriod.value;
28805
+ if (val && typeof val === "string" && val.length >= 4) {
28806
+ currentYear.value = parseInt(val.substring(0, 4), 10);
28807
+ } else {
28808
+ currentYear.value = (/* @__PURE__ */ new Date()).getFullYear();
28809
+ }
28810
+ }
28811
+ };
28812
+ const selectMonth = (item) => {
28813
+ const monthStr = String(item).padStart(2, "0");
28814
+ selectedPeriod.value = `${currentYear.value}${monthStr}`;
28815
+ if (dropdownRef.value) {
28816
+ dropdownRef.value.handleClose();
28817
+ }
28818
+ };
28819
+ const isSelectedMonth = (item) => {
28820
+ if (!selectedPeriod.value) return false;
28821
+ const monthStr = String(item).padStart(2, "0");
28822
+ return selectedPeriod.value === `${currentYear.value}${monthStr}`;
28823
+ };
28824
+ const changeYear = (offset) => {
28825
+ currentYear.value += offset;
28826
+ };
28827
+ return (_ctx, _cache) => {
28828
+ const _component_el_icon = resolveComponent("el-icon");
28829
+ const _component_el_input = resolveComponent("el-input");
28830
+ const _component_el_button = resolveComponent("el-button");
28831
+ const _component_el_col = resolveComponent("el-col");
28832
+ const _component_el_row = resolveComponent("el-row");
28833
+ const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
28834
+ const _component_el_dropdown = resolveComponent("el-dropdown");
28835
+ return openBlock(), createBlock(
28836
+ _component_el_dropdown,
28837
+ {
28838
+ ref_key: "dropdownRef",
28839
+ ref: dropdownRef,
28840
+ trigger: "click",
28841
+ "hide-on-click": true,
28842
+ onVisibleChange: handleVisibleChange
28843
+ },
28844
+ {
28845
+ dropdown: withCtx(() => [
28846
+ createVNode(_component_el_dropdown_menu, null, {
28847
+ default: withCtx(() => [
28848
+ createElementVNode(
28849
+ "div",
28850
+ {
28851
+ style: normalizeStyle({ width: __props.dropWidth, padding: "10px" })
28852
+ },
28853
+ [
28854
+ createCommentVNode(" \u5E74\u4EFD\u63A7\u5236\u533A "),
28855
+ createVNode(_component_el_row, { style: { "margin-top": "8px" } }, {
28856
+ default: withCtx(() => [
28857
+ createVNode(_component_el_col, {
28858
+ span: 24,
28859
+ class: "mb20"
28860
+ }, {
28861
+ default: withCtx(() => [
28862
+ createElementVNode("div", _hoisted_1$k, [
28863
+ createVNode(_component_el_button, {
28864
+ size: "large",
28865
+ link: "",
28866
+ icon: unref(DArrowLeft),
28867
+ onClick: _cache[1] || (_cache[1] = ($event) => changeYear(-1))
28868
+ }, null, 8, ["icon"]),
28869
+ createElementVNode(
28870
+ "b",
28871
+ _hoisted_2$e,
28872
+ toDisplayString(currentYear.value) + toDisplayString(_ctx.$t("\u5E74") || "\u5E74"),
28873
+ 1
28874
+ /* TEXT */
28875
+ ),
28876
+ createVNode(_component_el_button, {
28877
+ size: "large",
28878
+ link: "",
28879
+ icon: unref(DArrowRight),
28880
+ onClick: _cache[2] || (_cache[2] = ($event) => changeYear(1))
28881
+ }, null, 8, ["icon"])
28882
+ ])
28883
+ ]),
28884
+ _: 1
28885
+ /* STABLE */
28886
+ }),
28887
+ createCommentVNode(" \u6708\u4EFD\u9009\u62E9\u533A "),
28888
+ (openBlock(), createElementBlock(
28889
+ Fragment,
28890
+ null,
28891
+ renderList(12, (item) => {
28892
+ return createVNode(
28893
+ _component_el_col,
28894
+ {
28895
+ key: item,
28896
+ span: 6,
28897
+ class: "mb10",
28898
+ style: { "text-align": "center" }
28899
+ },
28900
+ {
28901
+ default: withCtx(() => [
28902
+ createVNode(_component_el_button, {
28903
+ circle: "",
28904
+ type: isSelectedMonth(item) ? "primary" : "",
28905
+ onClick: ($event) => selectMonth(item)
28906
+ }, {
28907
+ default: withCtx(() => [
28908
+ createCommentVNode(" \u4F7F\u7528 padStart \u4F18\u96C5\u5730\u8865\u96F6\uFF0C\u4F8B\u5982 7 -> '07' "),
28909
+ createTextVNode(
28910
+ " " + toDisplayString(String(item).padStart(2, "0")),
28911
+ 1
28912
+ /* TEXT */
28913
+ )
28914
+ ]),
28915
+ _: 2
28916
+ /* DYNAMIC */
28917
+ }, 1032, ["type", "onClick"])
28918
+ ]),
28919
+ _: 2
28920
+ /* DYNAMIC */
28921
+ },
28922
+ 1024
28923
+ /* DYNAMIC_SLOTS */
28924
+ );
28925
+ }),
28926
+ 64
28927
+ /* STABLE_FRAGMENT */
28928
+ ))
28929
+ ]),
28930
+ _: 1
28931
+ /* STABLE */
28932
+ })
28933
+ ],
28934
+ 4
28935
+ /* STYLE */
28936
+ )
28937
+ ]),
28938
+ _: 1
28939
+ /* STABLE */
28940
+ })
28941
+ ]),
28942
+ default: withCtx(() => [
28943
+ createVNode(_component_el_input, {
28944
+ modelValue: selectedPeriod.value,
28945
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedPeriod.value = $event),
28946
+ placeholder: "\u8BF7\u9009\u62E9\u4F1A\u8BA1\u671F\u95F4",
28947
+ readonly: "",
28948
+ style: normalizeStyle({ width: __props.inputWidth, cursor: "pointer" })
28949
+ }, {
28950
+ suffix: withCtx(() => [
28951
+ createVNode(_component_el_icon, null, {
28952
+ default: withCtx(() => [
28953
+ createVNode(unref(Calendar))
28954
+ ]),
28955
+ _: 1
28956
+ /* STABLE */
28957
+ })
28958
+ ]),
28959
+ _: 1
28960
+ /* STABLE */
28961
+ }, 8, ["modelValue", "style"])
28962
+ ]),
28963
+ _: 1
28964
+ /* STABLE */
28965
+ },
28966
+ 512
28967
+ /* NEED_PATCH */
28968
+ );
28969
+ };
28970
+ }
28971
+ });
28972
+
28973
+ const FmPeriod = _sfc_main$p;
28773
28974
 
28774
28975
  const makeInstaller = (components = []) => {
28775
28976
  const install = (app) => {
@@ -29305,7 +29506,8 @@ const plugins = [
29305
29506
  FmInputNumber,
29306
29507
  FmAutocomplete,
29307
29508
  FmSelect,
29308
- Fmdatepicker
29509
+ Fmdatepicker,
29510
+ FmPeriod
29309
29511
  ];
29310
29512
 
29311
29513
  var installer = makeInstaller([...plugins]);