@fmdeui/fmui 1.0.114 → 1.0.116

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 (46) 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 +2 -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/gloabdata.mjs +29 -0
  13. package/es/packages/utils/index.mjs +2 -1
  14. package/es/utils/formatTime.d.ts +10 -0
  15. package/es/utils/gloabdata.d.ts +24 -0
  16. package/es/utils/index.d.ts +1 -0
  17. package/index.js +192 -89
  18. package/index.min.js +7 -7
  19. package/index.min.mjs +7 -7
  20. package/index.mjs +188 -90
  21. package/lib/component.js +3 -1
  22. package/lib/components/fm-datepicker/index.d.ts +33 -0
  23. package/lib/components/fm-datepicker/index.vue.d.ts +34 -0
  24. package/lib/components/index.d.ts +1 -0
  25. package/lib/index.js +6 -0
  26. package/lib/packages/components/fm-autocomplete/index2.vue.js +45 -40
  27. package/lib/packages/components/fm-datepicker/index.js +8 -0
  28. package/lib/packages/components/fm-datepicker/index.vue.js +9 -0
  29. package/lib/packages/components/fm-datepicker/index2.vue.js +60 -0
  30. package/lib/packages/components/index.js +6 -4
  31. package/lib/packages/utils/formatTime.js +13 -0
  32. package/lib/packages/utils/gloabdata.js +33 -0
  33. package/lib/packages/utils/index.js +6 -0
  34. package/lib/utils/formatTime.d.ts +10 -0
  35. package/lib/utils/gloabdata.d.ts +24 -0
  36. package/lib/utils/index.d.ts +1 -0
  37. package/locale/en.js +1 -1
  38. package/locale/en.min.js +1 -1
  39. package/locale/en.min.mjs +1 -1
  40. package/locale/en.mjs +1 -1
  41. package/locale/zh-cn.js +1 -1
  42. package/locale/zh-cn.min.js +1 -1
  43. package/locale/zh-cn.min.mjs +1 -1
  44. package/locale/zh-cn.mjs +1 -1
  45. package/package.json +1 -1
  46. /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.116 */
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";
@@ -2562,6 +2573,34 @@
2562
2573
  });
2563
2574
  };
2564
2575
 
2576
+ const AppItem = {
2577
+ AccountInit: 100,
2578
+ AccountJust: 101,
2579
+ BookFare: 120,
2580
+ BookOtherIn: 121,
2581
+ BookOtherOut: 122,
2582
+ CarTeam: 125
2583
+ };
2584
+ function getAppItemData(num = 125) {
2585
+ const reldata = [
2586
+ { id: 100, name: "\u8D26\u6237\u521D\u59CB\u5316" },
2587
+ { id: 101, name: "\u8D26\u6237\u8C03\u8D26" },
2588
+ { id: 120, name: "\u8BA2\u5355\u6536\u6B3E" },
2589
+ { id: 121, name: "\u5176\u4ED6\u6536\u5165" },
2590
+ { id: 122, name: "\u5176\u4ED6\u652F\u51FA" },
2591
+ { id: 125, name: "\u4ED8\u8F66\u8D39" }
2592
+ ];
2593
+ return reldata.filter((x) => x.id <= num);
2594
+ }
2595
+ function getAppItemText(id, num = 125) {
2596
+ let data = getAppItemData(num);
2597
+ let item = data.find((x) => x.id == id);
2598
+ if (item) {
2599
+ return item.name;
2600
+ }
2601
+ return "";
2602
+ }
2603
+
2565
2604
  function useChangeColor() {
2566
2605
  const hexToRgb = (str) => {
2567
2606
  let hexs = "";
@@ -20297,7 +20336,7 @@
20297
20336
  app.use(VxeUITable);
20298
20337
  };
20299
20338
 
20300
- var _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
20339
+ var _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
20301
20340
  ...{
20302
20341
  name: "FButton"
20303
20342
  },
@@ -20367,7 +20406,7 @@
20367
20406
  }
20368
20407
  });
20369
20408
 
20370
- const FButton = _sfc_main$M;
20409
+ const FButton = _sfc_main$N;
20371
20410
 
20372
20411
  const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
20373
20412
  const translate = (path, option, locale) => lodashEs.get(locale, path, path).replace(
@@ -21083,7 +21122,7 @@
21083
21122
 
21084
21123
  const _hoisted_1$w = { key: 0 };
21085
21124
  const _hoisted_2$k = { key: 0 };
21086
- var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
21125
+ var _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
21087
21126
  ...{
21088
21127
  name: "FInput"
21089
21128
  },
@@ -21336,13 +21375,13 @@
21336
21375
  }
21337
21376
  });
21338
21377
 
21339
- const FInput = _sfc_main$L;
21378
+ const FInput = _sfc_main$M;
21340
21379
 
21341
21380
  const _hoisted_1$v = {
21342
21381
  key: 0,
21343
21382
  class: "back_to_top"
21344
21383
  };
21345
- var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
21384
+ var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
21346
21385
  ...{
21347
21386
  name: "FLayoutPage"
21348
21387
  },
@@ -21432,9 +21471,9 @@
21432
21471
  }
21433
21472
  });
21434
21473
 
21435
- const FLayoutPage = _sfc_main$K;
21474
+ const FLayoutPage = _sfc_main$L;
21436
21475
 
21437
- var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
21476
+ var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
21438
21477
  ...{
21439
21478
  name: "FLayoutPageItem"
21440
21479
  },
@@ -21462,7 +21501,7 @@
21462
21501
  }
21463
21502
  });
21464
21503
 
21465
- const FLayoutPageItem = _sfc_main$J;
21504
+ const FLayoutPageItem = _sfc_main$K;
21466
21505
 
21467
21506
  function debounce(func, delay = 500, immediate, resultCallback) {
21468
21507
  let timer = null;
@@ -21506,7 +21545,7 @@
21506
21545
  }
21507
21546
 
21508
21547
  const _hoisted_1$u = ["id"];
21509
- var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
21548
+ var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
21510
21549
  ...{
21511
21550
  name: "FChart"
21512
21551
  },
@@ -21605,13 +21644,13 @@
21605
21644
  }
21606
21645
  });
21607
21646
 
21608
- const FChart = _sfc_main$I;
21647
+ const FChart = _sfc_main$J;
21609
21648
 
21610
21649
  const _hoisted_1$t = {
21611
21650
  key: 1,
21612
21651
  class: "f_select__pagination"
21613
21652
  };
21614
- var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21653
+ var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
21615
21654
  ...{
21616
21655
  name: "FSelect"
21617
21656
  },
@@ -21862,9 +21901,9 @@
21862
21901
  }
21863
21902
  });
21864
21903
 
21865
- const FSelect = _sfc_main$H;
21904
+ const FSelect = _sfc_main$I;
21866
21905
 
21867
- var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21906
+ var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21868
21907
  ...{
21869
21908
  name: "RenderComp"
21870
21909
  },
@@ -21889,7 +21928,7 @@
21889
21928
  const _hoisted_3$c = { class: "check-box" };
21890
21929
  const _hoisted_4$8 = { class: "more_dropdown_icon" };
21891
21930
  const _hoisted_5$7 = { class: "out_box" };
21892
- var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
21931
+ var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21893
21932
  ...{
21894
21933
  name: "MoreChoose"
21895
21934
  },
@@ -22204,7 +22243,7 @@
22204
22243
  };
22205
22244
  }
22206
22245
 
22207
- var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
22246
+ var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
22208
22247
  ...{
22209
22248
  name: "FQueryCondition"
22210
22249
  },
@@ -22623,7 +22662,7 @@
22623
22662
  opt.labelRender ? {
22624
22663
  name: "label",
22625
22664
  fn: vue.withCtx(() => [
22626
- vue.createVNode(_sfc_main$G, {
22665
+ vue.createVNode(_sfc_main$H, {
22627
22666
  form: vue.unref(queryState).form,
22628
22667
  render: opt.labelRender
22629
22668
  }, null, 8, ["form", "render"])
@@ -22719,7 +22758,7 @@
22719
22758
  _: 1
22720
22759
  /* STABLE */
22721
22760
  })) : vue.createCommentVNode("v-if", true),
22722
- vue.createVNode(_sfc_main$F, {
22761
+ vue.createVNode(_sfc_main$G, {
22723
22762
  isDropDownSelectMore: __props.isDropDownSelectMore,
22724
22763
  moreCheckList: __props.moreCheckList,
22725
22764
  popoverAttrsBind: popoverAttrsBind.value,
@@ -22745,7 +22784,7 @@
22745
22784
  }
22746
22785
  });
22747
22786
 
22748
- var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
22787
+ var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
22749
22788
  ...{
22750
22789
  name: "RenderCol"
22751
22790
  },
@@ -22911,7 +22950,7 @@
22911
22950
  key: 0,
22912
22951
  class: "f-table-select__page"
22913
22952
  };
22914
- var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
22953
+ var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
22915
22954
  ...{
22916
22955
  name: "FSelectTable"
22917
22956
  },
@@ -23535,7 +23574,7 @@
23535
23574
  [
23536
23575
  __props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
23537
23576
  vue.createVNode(
23538
- _sfc_main$E,
23577
+ _sfc_main$F,
23539
23578
  vue.mergeProps({
23540
23579
  ref_key: "fQueryConditionRef",
23541
23580
  ref: fQueryConditionRef,
@@ -23661,7 +23700,7 @@
23661
23700
  fixed: item.fixed
23662
23701
  }, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
23663
23702
  default: vue.withCtx((scope) => [
23664
- item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$D, {
23703
+ item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
23665
23704
  key: 0,
23666
23705
  column: item,
23667
23706
  row: scope.row,
@@ -23724,11 +23763,11 @@
23724
23763
  }
23725
23764
  });
23726
23765
 
23727
- const FSelectTable = _sfc_main$C;
23766
+ const FSelectTable = _sfc_main$D;
23728
23767
 
23729
- const FQueryCondition = _sfc_main$E;
23768
+ const FQueryCondition = _sfc_main$F;
23730
23769
 
23731
- var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
23770
+ var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
23732
23771
  ...{
23733
23772
  name: "RenderComp"
23734
23773
  },
@@ -23748,7 +23787,7 @@
23748
23787
  }
23749
23788
  });
23750
23789
 
23751
- var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
23790
+ var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
23752
23791
  ...{
23753
23792
  name: "RenderBtn"
23754
23793
  },
@@ -23773,7 +23812,7 @@
23773
23812
  class: "text_show"
23774
23813
  };
23775
23814
  const _hoisted_2$h = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
23776
- var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
23815
+ var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
23777
23816
  ...{
23778
23817
  name: "FForm"
23779
23818
  },
@@ -24144,7 +24183,7 @@
24144
24183
  item.labelSlotName || item.labelRender ? {
24145
24184
  name: "label",
24146
24185
  fn: vue.withCtx(() => [
24147
- item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$B, {
24186
+ item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$C, {
24148
24187
  key: 0,
24149
24188
  render: item.labelRender,
24150
24189
  item
@@ -24176,7 +24215,7 @@
24176
24215
  vue.Fragment,
24177
24216
  null,
24178
24217
  [
24179
- val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
24218
+ val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$B, {
24180
24219
  key: index,
24181
24220
  item: val,
24182
24221
  render: val.render
@@ -24223,10 +24262,10 @@
24223
24262
  }
24224
24263
  });
24225
24264
 
24226
- const FForm = _sfc_main$z;
24265
+ const FForm = _sfc_main$A;
24227
24266
 
24228
24267
  const _hoisted_1$p = ["src"];
24229
- var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
24268
+ var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
24230
24269
  ...{
24231
24270
  name: "svgIcon"
24232
24271
  },
@@ -24324,13 +24363,13 @@
24324
24363
  }
24325
24364
  }
24326
24365
  if (!app._context.components[`SvgIcon`]) {
24327
- app.component("SvgIcon", _sfc_main$y);
24366
+ app.component("SvgIcon", _sfc_main$z);
24328
24367
  }
24329
24368
  }
24330
24369
 
24331
24370
  const emitter = mitt();
24332
24371
 
24333
- var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
24372
+ var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
24334
24373
  ...{
24335
24374
  name: "FLayout"
24336
24375
  },
@@ -24416,7 +24455,7 @@
24416
24455
  }
24417
24456
  });
24418
24457
 
24419
- const FLayout = _sfc_main$x;
24458
+ const FLayout = _sfc_main$y;
24420
24459
 
24421
24460
  function commonFunction() {
24422
24461
  const { copy, isSupported } = core.useClipboard();
@@ -24818,7 +24857,7 @@
24818
24857
  class: "traditionalColors-chines",
24819
24858
  style: { "cursor": "grab", "color": "gray" }
24820
24859
  };
24821
- var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
24860
+ var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
24822
24861
  ...{
24823
24862
  name: "FSettings"
24824
24863
  },
@@ -26581,9 +26620,9 @@
26581
26620
  }
26582
26621
  });
26583
26622
 
26584
- const FSettings = _sfc_main$w;
26623
+ const FSettings = _sfc_main$x;
26585
26624
 
26586
- var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
26625
+ var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
26587
26626
  ...{
26588
26627
  name: "FModifyRecord"
26589
26628
  },
@@ -26846,10 +26885,10 @@
26846
26885
  }
26847
26886
  });
26848
26887
 
26849
- const FModifyRecord = _sfc_main$v;
26888
+ const FModifyRecord = _sfc_main$w;
26850
26889
 
26851
26890
  const _hoisted_1$n = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
26852
- var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
26891
+ var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
26853
26892
  ...{
26854
26893
  name: "FmSelect"
26855
26894
  },
@@ -27050,9 +27089,9 @@
27050
27089
  }
27051
27090
  });
27052
27091
 
27053
- const FmSelect = _sfc_main$u;
27092
+ const FmSelect = _sfc_main$v;
27054
27093
 
27055
- var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
27094
+ var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
27056
27095
  ...{
27057
27096
  name: "Fminputdropdown"
27058
27097
  },
@@ -27250,9 +27289,9 @@
27250
27289
  }
27251
27290
  });
27252
27291
 
27253
- const Fminputdropdown = _sfc_main$t;
27292
+ const Fminputdropdown = _sfc_main$u;
27254
27293
 
27255
- var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
27294
+ var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
27256
27295
  ...{ name: "FmInputNumber" },
27257
27296
  __name: "index",
27258
27297
  props: /* @__PURE__ */ vue.mergeModels({
@@ -27361,14 +27400,14 @@
27361
27400
  }
27362
27401
  });
27363
27402
 
27364
- const FmInputNumber = _sfc_main$s;
27403
+ const FmInputNumber = _sfc_main$t;
27365
27404
 
27366
27405
  const _hoisted_1$m = { style: { "color": "#fff" } };
27367
27406
  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
27407
  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
27408
  const _hoisted_4$5 = { style: { "margin-top": "10px" } };
27370
27409
  const _hoisted_5$5 = { class: "dialog-footer" };
27371
- var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
27410
+ var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
27372
27411
  __name: "userSelectDialog",
27373
27412
  props: {
27374
27413
  visible: {
@@ -27760,7 +27799,7 @@
27760
27799
  const _hoisted_1$l = { style: { "color": "#fff" } };
27761
27800
  const _hoisted_2$e = { style: { "margin-top": "10px" } };
27762
27801
  const _hoisted_3$8 = { class: "dialog-footer" };
27763
- var _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
27802
+ var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
27764
27803
  __name: "supplierSelectDialog",
27765
27804
  props: {
27766
27805
  visible: {
@@ -28123,7 +28162,7 @@
28123
28162
  });
28124
28163
 
28125
28164
  const _hoisted_1$k = { style: { "font-size": "14px", "line-height": "30px" } };
28126
- var _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
28165
+ var _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
28127
28166
  ...{
28128
28167
  name: "FmAutocomplete"
28129
28168
  },
@@ -28272,7 +28311,7 @@
28272
28311
  "trigger-on-focus": false,
28273
28312
  onSelect: handleSelect,
28274
28313
  style: { "margin-top": "-2px" }
28275
- }, {
28314
+ }, vue.createSlots({
28276
28315
  default: vue.withCtx(({ item }) => [
28277
28316
  vue.createElementVNode(
28278
28317
  "div",
@@ -28282,50 +28321,108 @@
28282
28321
  /* TEXT */
28283
28322
  )
28284
28323
  ]),
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"]);
28324
+ _: 2
28325
+ /* DYNAMIC */
28326
+ }, [
28327
+ __props.openType > -1 ? {
28328
+ name: "suffix",
28329
+ fn: vue.withCtx(() => [
28330
+ vue.createVNode(_component_el_icon, {
28331
+ color: "#E6A23C",
28332
+ size: __props.searchsize,
28333
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => visibleopenDialog.value = true, ["stop"]))
28334
+ }, {
28335
+ default: vue.withCtx(() => [
28336
+ vue.createVNode(vue.unref(svg.Search))
28337
+ ]),
28338
+ _: 1
28339
+ /* STABLE */
28340
+ }, 8, ["size"]),
28341
+ __props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$s, {
28342
+ key: 0,
28343
+ visible: visibleopenDialog.value,
28344
+ "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
28345
+ orgService: __props.orgService,
28346
+ orgAction: __props.orgAction,
28347
+ orgparas: __props.params,
28348
+ title: __props.title,
28349
+ userService: __props.userService,
28350
+ userAction: __props.userAction,
28351
+ userParams: __props.params,
28352
+ onChange: handleSelectDialogChange
28353
+ }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
28354
+ __props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$r, {
28355
+ key: 1,
28356
+ visible: visibleopenDialog.value,
28357
+ "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
28358
+ title: __props.title,
28359
+ userService: __props.userService,
28360
+ userAction: __props.userAction,
28361
+ userParams: __props.params,
28362
+ onChange: handleSelectDialogChange
28363
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true)
28364
+ ]),
28365
+ key: "0"
28366
+ } : void 0
28367
+ ]), 1032, ["modelValue", "placeholder"]);
28368
+ };
28369
+ }
28370
+ });
28371
+
28372
+ const FmAutocomplete = _sfc_main$q;
28373
+
28374
+ var _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
28375
+ ...{
28376
+ name: "Fmdatepicker"
28377
+ },
28378
+ __name: "index",
28379
+ props: /* @__PURE__ */ vue.mergeModels({
28380
+ dateType: {
28381
+ type: String,
28382
+ default: "bdate"
28383
+ },
28384
+ adddaynum: {
28385
+ type: Number,
28386
+ default: 0
28387
+ }
28388
+ }, {
28389
+ "modelValue": {},
28390
+ "modelModifiers": {}
28391
+ }),
28392
+ emits: ["update:modelValue"],
28393
+ setup(__props) {
28394
+ const modeValue = vue.useModel(__props, "modelValue");
28395
+ const props = __props;
28396
+ vue.onMounted(() => {
28397
+ vue.nextTick(() => {
28398
+ initdate();
28399
+ });
28400
+ });
28401
+ const initdate = () => {
28402
+ if (props.dateType === "bdate" && (modeValue.value == null || modeValue.value == void 0 || modeValue.value == "")) {
28403
+ modeValue.value = getBdate(props.adddaynum);
28404
+ } else if (props.dateType === "edate" && (modeValue.value == null || modeValue.value == void 0 || modeValue.value == "")) {
28405
+ modeValue.value = getEdate(props.adddaynum);
28406
+ } else if (props.dateType === "curday" && (modeValue.value == null || modeValue.value == void 0 || modeValue.value == "")) {
28407
+ modeValue.value = formatDate(/* @__PURE__ */ new Date(), "YYYY-mm-dd");
28408
+ }
28409
+ };
28410
+ initdate();
28411
+ return (_ctx, _cache) => {
28412
+ const _component_el_date_picker = vue.resolveComponent("el-date-picker");
28413
+ return vue.openBlock(), vue.createBlock(_component_el_date_picker, {
28414
+ class: "fmdatepicker",
28415
+ modelValue: modeValue.value,
28416
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValue.value = $event),
28417
+ type: "date",
28418
+ format: "YYYY-MM-DD",
28419
+ "value-format": "YYYY-MM-DD"
28420
+ }, null, 8, ["modelValue"]);
28324
28421
  };
28325
28422
  }
28326
28423
  });
28327
28424
 
28328
- const FmAutocomplete = _sfc_main$p;
28425
+ const Fmdatepicker = _sfc_main$p;
28329
28426
 
28330
28427
  const makeInstaller = (components = []) => {
28331
28428
  const install = (app) => {
@@ -28857,7 +28954,8 @@
28857
28954
  FmCascader,
28858
28955
  FmInputNumber,
28859
28956
  FmAutocomplete,
28860
- FmSelect
28957
+ FmSelect,
28958
+ Fmdatepicker
28861
28959
  ];
28862
28960
 
28863
28961
  var installer = makeInstaller([...plugins]);
@@ -32728,6 +32826,7 @@
32728
32826
  });
32729
32827
 
32730
32828
  exports.AccountTypeEnum = AccountTypeEnum;
32829
+ exports.AppItem = AppItem;
32731
32830
  exports.AppSysTypeData = AppSysTypeData;
32732
32831
  exports.AppSysTypeEnum = AppSysTypeEnum;
32733
32832
  exports.CurrencyData = CurrencyData;
@@ -32775,7 +32874,11 @@
32775
32874
  exports.formatDate = formatDate;
32776
32875
  exports.formatPast = formatPast;
32777
32876
  exports.gcj02ToBd09 = gcj02ToBd09;
32877
+ exports.getAppItemData = getAppItemData;
32878
+ exports.getAppItemText = getAppItemText;
32879
+ exports.getBdate = getBdate;
32778
32880
  exports.getCountryCode = getCountryCode;
32881
+ exports.getEdate = getEdate;
32779
32882
  exports.getFileName = getFileName;
32780
32883
  exports.getFileUrl = getFileUrl;
32781
32884
  exports.getFormItemLabel = getFormItemLabel;