@fmdeui/fmui 1.0.114 → 1.0.115

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/es/component.mjs +3 -1
  2. package/es/components/fm-datepicker/index.d.ts +33 -0
  3. package/es/components/fm-datepicker/index.vue.d.ts +34 -0
  4. package/es/components/index.d.ts +1 -0
  5. package/es/index.mjs +1 -1
  6. package/es/packages/components/fm-autocomplete/index2.vue.mjs +46 -41
  7. package/es/packages/components/fm-datepicker/index.mjs +6 -0
  8. package/es/packages/components/fm-datepicker/index.vue.mjs +5 -0
  9. package/es/packages/components/fm-datepicker/index2.vue.mjs +56 -0
  10. package/es/packages/components/index.mjs +1 -0
  11. package/es/packages/utils/formatTime.mjs +12 -1
  12. package/es/packages/utils/index.mjs +1 -1
  13. package/es/utils/formatTime.d.ts +10 -0
  14. package/index.js +161 -89
  15. package/index.min.js +7 -7
  16. package/index.min.mjs +7 -7
  17. package/index.mjs +160 -90
  18. package/lib/component.js +3 -1
  19. package/lib/components/fm-datepicker/index.d.ts +33 -0
  20. package/lib/components/fm-datepicker/index.vue.d.ts +34 -0
  21. package/lib/components/index.d.ts +1 -0
  22. package/lib/index.js +2 -0
  23. package/lib/packages/components/fm-autocomplete/index2.vue.js +45 -40
  24. package/lib/packages/components/fm-datepicker/index.js +8 -0
  25. package/lib/packages/components/fm-datepicker/index.vue.js +9 -0
  26. package/lib/packages/components/fm-datepicker/index2.vue.js +60 -0
  27. package/lib/packages/components/index.js +6 -4
  28. package/lib/packages/utils/formatTime.js +13 -0
  29. package/lib/packages/utils/index.js +2 -0
  30. package/lib/utils/formatTime.d.ts +10 -0
  31. package/locale/en.js +1 -1
  32. package/locale/en.min.js +1 -1
  33. package/locale/en.min.mjs +1 -1
  34. package/locale/en.mjs +1 -1
  35. package/locale/zh-cn.js +1 -1
  36. package/locale/zh-cn.min.js +1 -1
  37. package/locale/zh-cn.min.mjs +1 -1
  38. package/locale/zh-cn.mjs +1 -1
  39. package/package.json +1 -1
  40. /package/es/{index.css → make-installer.css} +0 -0
  41. /package/lib/{version.css → component.css} +0 -0
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.114 */
1
+ /*! fmdeui-fmui v1.0.115 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
@@ -757,6 +757,17 @@
757
757
  else if (hour < 22) return getMessage("eveningGreeting");
758
758
  else return getMessage("nightGreeting");
759
759
  }
760
+ function getBdate(num = 1) {
761
+ const firstDay = /* @__PURE__ */ new Date();
762
+ firstDay.setDate(num);
763
+ return formatDate(firstDay, "YYYY-mm-dd");
764
+ }
765
+ function getEdate(num = 0) {
766
+ const lastDay = /* @__PURE__ */ new Date();
767
+ lastDay.setMonth(lastDay.getMonth() + 1, 0);
768
+ if (num > 0) lastDay.setDate(num);
769
+ return formatDate(lastDay, "YYYY-mm-dd");
770
+ }
760
771
 
761
772
  const TRIGGER_INPUT = "change";
762
773
  const TRIGGER_BLUR = "blur";
@@ -20297,7 +20308,7 @@
20297
20308
  app.use(VxeUITable);
20298
20309
  };
20299
20310
 
20300
- var _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
20311
+ var _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
20301
20312
  ...{
20302
20313
  name: "FButton"
20303
20314
  },
@@ -20367,7 +20378,7 @@
20367
20378
  }
20368
20379
  });
20369
20380
 
20370
- const FButton = _sfc_main$M;
20381
+ const FButton = _sfc_main$N;
20371
20382
 
20372
20383
  const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
20373
20384
  const translate = (path, option, locale) => lodashEs.get(locale, path, path).replace(
@@ -21083,7 +21094,7 @@
21083
21094
 
21084
21095
  const _hoisted_1$w = { key: 0 };
21085
21096
  const _hoisted_2$k = { key: 0 };
21086
- var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
21097
+ var _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
21087
21098
  ...{
21088
21099
  name: "FInput"
21089
21100
  },
@@ -21336,13 +21347,13 @@
21336
21347
  }
21337
21348
  });
21338
21349
 
21339
- const FInput = _sfc_main$L;
21350
+ const FInput = _sfc_main$M;
21340
21351
 
21341
21352
  const _hoisted_1$v = {
21342
21353
  key: 0,
21343
21354
  class: "back_to_top"
21344
21355
  };
21345
- var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
21356
+ var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
21346
21357
  ...{
21347
21358
  name: "FLayoutPage"
21348
21359
  },
@@ -21432,9 +21443,9 @@
21432
21443
  }
21433
21444
  });
21434
21445
 
21435
- const FLayoutPage = _sfc_main$K;
21446
+ const FLayoutPage = _sfc_main$L;
21436
21447
 
21437
- var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
21448
+ var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
21438
21449
  ...{
21439
21450
  name: "FLayoutPageItem"
21440
21451
  },
@@ -21462,7 +21473,7 @@
21462
21473
  }
21463
21474
  });
21464
21475
 
21465
- const FLayoutPageItem = _sfc_main$J;
21476
+ const FLayoutPageItem = _sfc_main$K;
21466
21477
 
21467
21478
  function debounce(func, delay = 500, immediate, resultCallback) {
21468
21479
  let timer = null;
@@ -21506,7 +21517,7 @@
21506
21517
  }
21507
21518
 
21508
21519
  const _hoisted_1$u = ["id"];
21509
- var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
21520
+ var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
21510
21521
  ...{
21511
21522
  name: "FChart"
21512
21523
  },
@@ -21605,13 +21616,13 @@
21605
21616
  }
21606
21617
  });
21607
21618
 
21608
- const FChart = _sfc_main$I;
21619
+ const FChart = _sfc_main$J;
21609
21620
 
21610
21621
  const _hoisted_1$t = {
21611
21622
  key: 1,
21612
21623
  class: "f_select__pagination"
21613
21624
  };
21614
- var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21625
+ var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
21615
21626
  ...{
21616
21627
  name: "FSelect"
21617
21628
  },
@@ -21862,9 +21873,9 @@
21862
21873
  }
21863
21874
  });
21864
21875
 
21865
- const FSelect = _sfc_main$H;
21876
+ const FSelect = _sfc_main$I;
21866
21877
 
21867
- var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21878
+ var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21868
21879
  ...{
21869
21880
  name: "RenderComp"
21870
21881
  },
@@ -21889,7 +21900,7 @@
21889
21900
  const _hoisted_3$c = { class: "check-box" };
21890
21901
  const _hoisted_4$8 = { class: "more_dropdown_icon" };
21891
21902
  const _hoisted_5$7 = { class: "out_box" };
21892
- var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
21903
+ var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21893
21904
  ...{
21894
21905
  name: "MoreChoose"
21895
21906
  },
@@ -22204,7 +22215,7 @@
22204
22215
  };
22205
22216
  }
22206
22217
 
22207
- var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
22218
+ var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
22208
22219
  ...{
22209
22220
  name: "FQueryCondition"
22210
22221
  },
@@ -22623,7 +22634,7 @@
22623
22634
  opt.labelRender ? {
22624
22635
  name: "label",
22625
22636
  fn: vue.withCtx(() => [
22626
- vue.createVNode(_sfc_main$G, {
22637
+ vue.createVNode(_sfc_main$H, {
22627
22638
  form: vue.unref(queryState).form,
22628
22639
  render: opt.labelRender
22629
22640
  }, null, 8, ["form", "render"])
@@ -22719,7 +22730,7 @@
22719
22730
  _: 1
22720
22731
  /* STABLE */
22721
22732
  })) : vue.createCommentVNode("v-if", true),
22722
- vue.createVNode(_sfc_main$F, {
22733
+ vue.createVNode(_sfc_main$G, {
22723
22734
  isDropDownSelectMore: __props.isDropDownSelectMore,
22724
22735
  moreCheckList: __props.moreCheckList,
22725
22736
  popoverAttrsBind: popoverAttrsBind.value,
@@ -22745,7 +22756,7 @@
22745
22756
  }
22746
22757
  });
22747
22758
 
22748
- var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
22759
+ var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
22749
22760
  ...{
22750
22761
  name: "RenderCol"
22751
22762
  },
@@ -22911,7 +22922,7 @@
22911
22922
  key: 0,
22912
22923
  class: "f-table-select__page"
22913
22924
  };
22914
- var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
22925
+ var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
22915
22926
  ...{
22916
22927
  name: "FSelectTable"
22917
22928
  },
@@ -23535,7 +23546,7 @@
23535
23546
  [
23536
23547
  __props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
23537
23548
  vue.createVNode(
23538
- _sfc_main$E,
23549
+ _sfc_main$F,
23539
23550
  vue.mergeProps({
23540
23551
  ref_key: "fQueryConditionRef",
23541
23552
  ref: fQueryConditionRef,
@@ -23661,7 +23672,7 @@
23661
23672
  fixed: item.fixed
23662
23673
  }, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
23663
23674
  default: vue.withCtx((scope) => [
23664
- item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$D, {
23675
+ item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
23665
23676
  key: 0,
23666
23677
  column: item,
23667
23678
  row: scope.row,
@@ -23724,11 +23735,11 @@
23724
23735
  }
23725
23736
  });
23726
23737
 
23727
- const FSelectTable = _sfc_main$C;
23738
+ const FSelectTable = _sfc_main$D;
23728
23739
 
23729
- const FQueryCondition = _sfc_main$E;
23740
+ const FQueryCondition = _sfc_main$F;
23730
23741
 
23731
- var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
23742
+ var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
23732
23743
  ...{
23733
23744
  name: "RenderComp"
23734
23745
  },
@@ -23748,7 +23759,7 @@
23748
23759
  }
23749
23760
  });
23750
23761
 
23751
- var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
23762
+ var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
23752
23763
  ...{
23753
23764
  name: "RenderBtn"
23754
23765
  },
@@ -23773,7 +23784,7 @@
23773
23784
  class: "text_show"
23774
23785
  };
23775
23786
  const _hoisted_2$h = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
23776
- var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
23787
+ var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
23777
23788
  ...{
23778
23789
  name: "FForm"
23779
23790
  },
@@ -24144,7 +24155,7 @@
24144
24155
  item.labelSlotName || item.labelRender ? {
24145
24156
  name: "label",
24146
24157
  fn: vue.withCtx(() => [
24147
- item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$B, {
24158
+ item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$C, {
24148
24159
  key: 0,
24149
24160
  render: item.labelRender,
24150
24161
  item
@@ -24176,7 +24187,7 @@
24176
24187
  vue.Fragment,
24177
24188
  null,
24178
24189
  [
24179
- val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
24190
+ val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$B, {
24180
24191
  key: index,
24181
24192
  item: val,
24182
24193
  render: val.render
@@ -24223,10 +24234,10 @@
24223
24234
  }
24224
24235
  });
24225
24236
 
24226
- const FForm = _sfc_main$z;
24237
+ const FForm = _sfc_main$A;
24227
24238
 
24228
24239
  const _hoisted_1$p = ["src"];
24229
- var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
24240
+ var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
24230
24241
  ...{
24231
24242
  name: "svgIcon"
24232
24243
  },
@@ -24324,13 +24335,13 @@
24324
24335
  }
24325
24336
  }
24326
24337
  if (!app._context.components[`SvgIcon`]) {
24327
- app.component("SvgIcon", _sfc_main$y);
24338
+ app.component("SvgIcon", _sfc_main$z);
24328
24339
  }
24329
24340
  }
24330
24341
 
24331
24342
  const emitter = mitt();
24332
24343
 
24333
- var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
24344
+ var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
24334
24345
  ...{
24335
24346
  name: "FLayout"
24336
24347
  },
@@ -24416,7 +24427,7 @@
24416
24427
  }
24417
24428
  });
24418
24429
 
24419
- const FLayout = _sfc_main$x;
24430
+ const FLayout = _sfc_main$y;
24420
24431
 
24421
24432
  function commonFunction() {
24422
24433
  const { copy, isSupported } = core.useClipboard();
@@ -24818,7 +24829,7 @@
24818
24829
  class: "traditionalColors-chines",
24819
24830
  style: { "cursor": "grab", "color": "gray" }
24820
24831
  };
24821
- var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
24832
+ var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
24822
24833
  ...{
24823
24834
  name: "FSettings"
24824
24835
  },
@@ -26581,9 +26592,9 @@
26581
26592
  }
26582
26593
  });
26583
26594
 
26584
- const FSettings = _sfc_main$w;
26595
+ const FSettings = _sfc_main$x;
26585
26596
 
26586
- var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
26597
+ var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
26587
26598
  ...{
26588
26599
  name: "FModifyRecord"
26589
26600
  },
@@ -26846,10 +26857,10 @@
26846
26857
  }
26847
26858
  });
26848
26859
 
26849
- const FModifyRecord = _sfc_main$v;
26860
+ const FModifyRecord = _sfc_main$w;
26850
26861
 
26851
26862
  const _hoisted_1$n = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
26852
- var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
26863
+ var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
26853
26864
  ...{
26854
26865
  name: "FmSelect"
26855
26866
  },
@@ -27050,9 +27061,9 @@
27050
27061
  }
27051
27062
  });
27052
27063
 
27053
- const FmSelect = _sfc_main$u;
27064
+ const FmSelect = _sfc_main$v;
27054
27065
 
27055
- var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
27066
+ var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
27056
27067
  ...{
27057
27068
  name: "Fminputdropdown"
27058
27069
  },
@@ -27250,9 +27261,9 @@
27250
27261
  }
27251
27262
  });
27252
27263
 
27253
- const Fminputdropdown = _sfc_main$t;
27264
+ const Fminputdropdown = _sfc_main$u;
27254
27265
 
27255
- var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
27266
+ var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
27256
27267
  ...{ name: "FmInputNumber" },
27257
27268
  __name: "index",
27258
27269
  props: /* @__PURE__ */ vue.mergeModels({
@@ -27361,14 +27372,14 @@
27361
27372
  }
27362
27373
  });
27363
27374
 
27364
- const FmInputNumber = _sfc_main$s;
27375
+ const FmInputNumber = _sfc_main$t;
27365
27376
 
27366
27377
  const _hoisted_1$m = { style: { "color": "#fff" } };
27367
27378
  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" } };
27368
27379
  const _hoisted_3$9 = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27369
27380
  const _hoisted_4$5 = { style: { "margin-top": "10px" } };
27370
27381
  const _hoisted_5$5 = { class: "dialog-footer" };
27371
- var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
27382
+ var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
27372
27383
  __name: "userSelectDialog",
27373
27384
  props: {
27374
27385
  visible: {
@@ -27760,7 +27771,7 @@
27760
27771
  const _hoisted_1$l = { style: { "color": "#fff" } };
27761
27772
  const _hoisted_2$e = { style: { "margin-top": "10px" } };
27762
27773
  const _hoisted_3$8 = { class: "dialog-footer" };
27763
- var _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
27774
+ var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
27764
27775
  __name: "supplierSelectDialog",
27765
27776
  props: {
27766
27777
  visible: {
@@ -28123,7 +28134,7 @@
28123
28134
  });
28124
28135
 
28125
28136
  const _hoisted_1$k = { style: { "font-size": "14px", "line-height": "30px" } };
28126
- var _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
28137
+ var _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
28127
28138
  ...{
28128
28139
  name: "FmAutocomplete"
28129
28140
  },
@@ -28272,7 +28283,7 @@
28272
28283
  "trigger-on-focus": false,
28273
28284
  onSelect: handleSelect,
28274
28285
  style: { "margin-top": "-2px" }
28275
- }, {
28286
+ }, vue.createSlots({
28276
28287
  default: vue.withCtx(({ item }) => [
28277
28288
  vue.createElementVNode(
28278
28289
  "div",
@@ -28282,50 +28293,108 @@
28282
28293
  /* TEXT */
28283
28294
  )
28284
28295
  ]),
28285
- suffix: vue.withCtx(() => [
28286
- vue.createVNode(_component_el_icon, {
28287
- color: "#E6A23C",
28288
- size: __props.searchsize,
28289
- onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => visibleopenDialog.value = true, ["stop"]))
28290
- }, {
28291
- default: vue.withCtx(() => [
28292
- vue.createVNode(vue.unref(svg.Search))
28293
- ]),
28294
- _: 1
28295
- /* STABLE */
28296
- }, 8, ["size"]),
28297
- __props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$r, {
28298
- key: 0,
28299
- visible: visibleopenDialog.value,
28300
- "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
28301
- orgService: __props.orgService,
28302
- orgAction: __props.orgAction,
28303
- orgparas: __props.params,
28304
- title: __props.title,
28305
- userService: __props.userService,
28306
- userAction: __props.userAction,
28307
- userParams: __props.params,
28308
- onChange: handleSelectDialogChange
28309
- }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
28310
- __props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$q, {
28311
- key: 1,
28312
- visible: visibleopenDialog.value,
28313
- "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
28314
- title: __props.title,
28315
- userService: __props.userService,
28316
- userAction: __props.userAction,
28317
- userParams: __props.params,
28318
- onChange: handleSelectDialogChange
28319
- }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true)
28320
- ]),
28321
- _: 1
28322
- /* STABLE */
28323
- }, 8, ["modelValue", "placeholder"]);
28296
+ _: 2
28297
+ /* DYNAMIC */
28298
+ }, [
28299
+ __props.openType > -1 ? {
28300
+ name: "suffix",
28301
+ fn: vue.withCtx(() => [
28302
+ vue.createVNode(_component_el_icon, {
28303
+ color: "#E6A23C",
28304
+ size: __props.searchsize,
28305
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => visibleopenDialog.value = true, ["stop"]))
28306
+ }, {
28307
+ default: vue.withCtx(() => [
28308
+ vue.createVNode(vue.unref(svg.Search))
28309
+ ]),
28310
+ _: 1
28311
+ /* STABLE */
28312
+ }, 8, ["size"]),
28313
+ __props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$s, {
28314
+ key: 0,
28315
+ visible: visibleopenDialog.value,
28316
+ "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
28317
+ orgService: __props.orgService,
28318
+ orgAction: __props.orgAction,
28319
+ orgparas: __props.params,
28320
+ title: __props.title,
28321
+ userService: __props.userService,
28322
+ userAction: __props.userAction,
28323
+ userParams: __props.params,
28324
+ onChange: handleSelectDialogChange
28325
+ }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
28326
+ __props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$r, {
28327
+ key: 1,
28328
+ visible: visibleopenDialog.value,
28329
+ "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
28330
+ title: __props.title,
28331
+ userService: __props.userService,
28332
+ userAction: __props.userAction,
28333
+ userParams: __props.params,
28334
+ onChange: handleSelectDialogChange
28335
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true)
28336
+ ]),
28337
+ key: "0"
28338
+ } : void 0
28339
+ ]), 1032, ["modelValue", "placeholder"]);
28340
+ };
28341
+ }
28342
+ });
28343
+
28344
+ const FmAutocomplete = _sfc_main$q;
28345
+
28346
+ var _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
28347
+ ...{
28348
+ name: "Fmdatepicker"
28349
+ },
28350
+ __name: "index",
28351
+ props: /* @__PURE__ */ vue.mergeModels({
28352
+ dateType: {
28353
+ type: String,
28354
+ default: "bdate"
28355
+ },
28356
+ adddaynum: {
28357
+ type: Number,
28358
+ default: 0
28359
+ }
28360
+ }, {
28361
+ "modelValue": {},
28362
+ "modelModifiers": {}
28363
+ }),
28364
+ emits: ["update:modelValue"],
28365
+ setup(__props) {
28366
+ const modeValue = vue.useModel(__props, "modelValue");
28367
+ const props = __props;
28368
+ vue.onMounted(() => {
28369
+ vue.nextTick(() => {
28370
+ initdate();
28371
+ });
28372
+ });
28373
+ const initdate = () => {
28374
+ if (props.dateType === "bdate" && (modeValue.value == null || modeValue.value == void 0 || modeValue.value == "")) {
28375
+ modeValue.value = getBdate(props.adddaynum);
28376
+ } else if (props.dateType === "edate" && (modeValue.value == null || modeValue.value == void 0 || modeValue.value == "")) {
28377
+ modeValue.value = getEdate(props.adddaynum);
28378
+ } else if (props.dateType === "curday" && (modeValue.value == null || modeValue.value == void 0 || modeValue.value == "")) {
28379
+ modeValue.value = formatDate(/* @__PURE__ */ new Date(), "YYYY-mm-dd");
28380
+ }
28381
+ };
28382
+ initdate();
28383
+ return (_ctx, _cache) => {
28384
+ const _component_el_date_picker = vue.resolveComponent("el-date-picker");
28385
+ return vue.openBlock(), vue.createBlock(_component_el_date_picker, {
28386
+ class: "fmdatepicker",
28387
+ modelValue: modeValue.value,
28388
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValue.value = $event),
28389
+ type: "date",
28390
+ format: "YYYY-MM-DD",
28391
+ "value-format": "YYYY-MM-DD"
28392
+ }, null, 8, ["modelValue"]);
28324
28393
  };
28325
28394
  }
28326
28395
  });
28327
28396
 
28328
- const FmAutocomplete = _sfc_main$p;
28397
+ const Fmdatepicker = _sfc_main$p;
28329
28398
 
28330
28399
  const makeInstaller = (components = []) => {
28331
28400
  const install = (app) => {
@@ -28857,7 +28926,8 @@
28857
28926
  FmCascader,
28858
28927
  FmInputNumber,
28859
28928
  FmAutocomplete,
28860
- FmSelect
28929
+ FmSelect,
28930
+ Fmdatepicker
28861
28931
  ];
28862
28932
 
28863
28933
  var installer = makeInstaller([...plugins]);
@@ -32775,7 +32845,9 @@
32775
32845
  exports.formatDate = formatDate;
32776
32846
  exports.formatPast = formatPast;
32777
32847
  exports.gcj02ToBd09 = gcj02ToBd09;
32848
+ exports.getBdate = getBdate;
32778
32849
  exports.getCountryCode = getCountryCode;
32850
+ exports.getEdate = getEdate;
32779
32851
  exports.getFileName = getFileName;
32780
32852
  exports.getFileUrl = getFileUrl;
32781
32853
  exports.getFormItemLabel = getFormItemLabel;