@kyfe/fms-vue2-components 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/dist/assets/css/fms-ks-clamp-text.css +1 -0
  2. package/dist/assets/css/fms-ks-components.css +1 -0
  3. package/dist/assets/css/fms-ks-popover.css +1 -0
  4. package/dist/assets/css/fms-ks-search-tips-new.css +1 -0
  5. package/dist/assets/css/fms-ks-search-tips.css +1 -0
  6. package/dist/assets/css/fms-ks-select-box.css +1 -0
  7. package/dist/assets/css/fms-ks-select.css +1 -0
  8. package/dist/date-picker-bottom.17e75dc0.js +45 -0
  9. package/dist/date-picker-dropdown.1d8e9f00.js +34 -0
  10. package/dist/date-picker-right.b939e886.js +23 -0
  11. package/dist/date-picker-top.c38046f7.js +23 -0
  12. package/dist/date-range-select.647edaf6.js +69 -0
  13. package/dist/date-select.96eb3a9d.js +60 -0
  14. package/dist/date-week-month.169b98bc.js +57 -0
  15. package/dist/datetime-popup/index.js +411 -0
  16. package/dist/filter.c93f4ddb.js +45 -0
  17. package/dist/fms-copy-box/index.js +1 -1
  18. package/dist/fms-ks-block-title/index.js +38 -0
  19. package/dist/fms-ks-block-title/style.css +1 -0
  20. package/dist/fms-ks-clamp-text/index.js +9 -0
  21. package/dist/fms-ks-clamp-text.24eb5e8d.js +53 -0
  22. package/dist/fms-ks-components/index.js +9 -0
  23. package/dist/fms-ks-components.a5d9329b.js +4392 -0
  24. package/dist/fms-ks-decrypt/index.js +2 -2
  25. package/dist/fms-ks-decrypt.2f88e659.js +312 -0
  26. package/dist/fms-ks-file-upload/index.js +32 -31
  27. package/dist/fms-ks-file-upload/style.css +1 -1
  28. package/dist/fms-ks-form-grid/index.js +101 -0
  29. package/dist/fms-ks-form-grid/style.css +1 -0
  30. package/dist/fms-ks-more-lines/index.js +31 -0
  31. package/dist/fms-ks-more-lines/style.css +1 -0
  32. package/dist/fms-ks-page-popup/index.js +68 -0
  33. package/dist/fms-ks-page-popup/style.css +1 -0
  34. package/dist/fms-ks-picker/index.js +9 -0
  35. package/dist/fms-ks-picker.766b55f9.js +61 -0
  36. package/dist/fms-ks-popover/index.js +9 -0
  37. package/dist/fms-ks-popover.55ab4b82.js +95 -0
  38. package/dist/fms-ks-search-tips/index.js +9 -0
  39. package/dist/fms-ks-search-tips-new/index.js +9 -0
  40. package/dist/fms-ks-search-tips-new.7d08f710.js +125 -0
  41. package/dist/fms-ks-search-tips.d36859c3.js +142 -0
  42. package/dist/fms-ks-select/index.js +9 -0
  43. package/dist/fms-ks-select-box/index.js +9 -0
  44. package/dist/fms-ks-select-box.a00f0f08.js +43 -0
  45. package/dist/fms-ks-select.59416fd8.js +157 -0
  46. package/dist/fms-ks-warn-drawer/index.js +37 -0
  47. package/dist/fms-ks-warn-drawer/style.css +1 -0
  48. package/dist/fms-scroll-list/index.js +3 -1
  49. package/dist/index.js +30 -30
  50. package/dist/mixin.f4bc60f0.js +59 -0
  51. package/dist/month-range-select.374653da.js +97 -0
  52. package/dist/month-select.30ae7335.js +71 -0
  53. package/dist/oa-datetime-picker-new/style.css +1 -0
  54. package/dist/quarter-select.b6256880.js +73 -0
  55. package/dist/utils.159fba19.js +64 -0
  56. package/dist/week-select.27efca5c.js +70 -0
  57. package/package.json +31 -31
  58. package/src/assets/images/attachment/icon_default.svg +23 -0
  59. package/src/assets/images/attachment/icon_default_new.png +0 -0
  60. package/src/assets/images/attachment/icon_excel.svg +20 -0
  61. package/src/assets/images/attachment/icon_excel_new.png +0 -0
  62. package/src/assets/images/attachment/icon_file.png +0 -0
  63. package/src/assets/images/attachment/icon_pdf_new.png +0 -0
  64. package/src/assets/images/attachment/icon_ppt.svg +20 -0
  65. package/src/assets/images/attachment/icon_ppt_new.png +0 -0
  66. package/src/assets/images/attachment/icon_preview_file.png +0 -0
  67. package/src/assets/images/attachment/icon_txt.png +0 -0
  68. package/src/assets/images/attachment/icon_word.svg +19 -0
  69. package/src/assets/images/attachment/icon_word_new.png +0 -0
  70. package/src/assets/images/attachment/icon_xmind.png +0 -0
  71. package/src/assets/images/icon-arrow.png +0 -0
  72. package/src/assets/images/icon-forewarning.svg +1 -0
  73. package/src/components/date-picker/index.vue +205 -0
  74. package/src/components/datetime-picker-general/index.vue +161 -0
  75. package/src/components/datetime-popup/date-picker.js +217 -0
  76. package/src/components/datetime-popup/index.js +37 -0
  77. package/src/components/datetime-popup/index.vue +111 -0
  78. package/src/components/datetime-popup/mixin.js +125 -0
  79. package/src/components/datetime-popup/time-picker.js +102 -0
  80. package/src/components/datetime-popup/utils.js +124 -0
  81. package/src/components/datetime-popup//347/244/272/344/276/213/345/233/276.png +0 -0
  82. package/src/components/decrypt/README.md +0 -0
  83. package/src/components/decrypt/index.vue +73 -0
  84. package/src/components/fms-ks-block-title/fms-ks-block-title.vue +75 -0
  85. package/src/components/fms-ks-block-title/index.js +7 -0
  86. package/src/components/fms-ks-block-title//346/240/207/351/242/230.md +0 -0
  87. package/src/components/fms-ks-clamp-text/fms-ks-clamp-text.vue +66 -0
  88. package/src/components/fms-ks-clamp-text/images/icon-clamp.png +0 -0
  89. package/src/components/fms-ks-clamp-text/index.js +7 -0
  90. package/src/components/fms-ks-clamp-text//346/226/207/346/234/254/346/224/266/350/265/267/345/261/225/345/274/200.md +0 -0
  91. package/src/components/fms-ks-components/fms-ks-components.vue +699 -0
  92. package/src/components/fms-ks-components/index.js +7 -0
  93. package/src/components/fms-ks-components/money-directive.js +73 -0
  94. package/src/components/fms-ks-components//350/241/250/345/215/225/351/205/215/347/275/256/347/273/204/344/273/266/350/257/264/346/230/216.md +10 -0
  95. package/src/components/fms-ks-file-upload/fms-ks-file-upload.vue +8 -1
  96. package/src/components/fms-ks-form-grid/fields-conversion.js +107 -0
  97. package/src/components/fms-ks-form-grid/fms-ks-form-grid.vue +127 -0
  98. package/src/components/fms-ks-form-grid/index.js +7 -0
  99. package/src/components/fms-ks-more-lines/fms-ks-more-lines.vue +108 -0
  100. package/src/components/fms-ks-more-lines/index.js +7 -0
  101. package/src/components/fms-ks-more-lines//346/233/264/345/244/232.md +0 -0
  102. package/src/components/fms-ks-page-popup/fms-ks-page-popup.vue +153 -0
  103. package/src/components/fms-ks-page-popup/index.js +7 -0
  104. package/src/components/fms-ks-page-popup//345/274/271/345/207/272/345/261/202.md +0 -0
  105. package/src/components/fms-ks-picker/fms-ks-picker.vue +67 -0
  106. package/src/components/fms-ks-picker/index.js +7 -0
  107. package/src/components/fms-ks-picker//351/200/211/346/213/251/345/274/271/345/207/272/345/261/202.md +0 -0
  108. package/src/components/fms-ks-popover/click-outside.js +68 -0
  109. package/src/components/fms-ks-popover/fms-ks-popover.vue +89 -0
  110. package/src/components/fms-ks-popover/index.js +7 -0
  111. package/src/components/fms-ks-popover//345/274/271/345/207/272/345/261/202.md +0 -0
  112. package/src/components/fms-ks-search-tips/fms-ks-search-tips.vue +296 -0
  113. package/src/components/fms-ks-search-tips/index.js +7 -0
  114. package/src/components/fms-ks-search-tips//350/277/234/347/250/213/346/220/234/347/264/242.md +118 -0
  115. package/src/components/fms-ks-search-tips-new/fms-ks-search-tips-new.vue +242 -0
  116. package/src/components/fms-ks-search-tips-new/index.js +7 -0
  117. package/src/components/fms-ks-search-tips-new/style.less +137 -0
  118. package/src/components/fms-ks-search-tips-new//350/277/234/347/250/213/346/220/234/347/264/242-/346/226/260.md +118 -0
  119. package/src/components/fms-ks-select/fms-ks-select.vue +421 -0
  120. package/src/components/fms-ks-select/index.js +7 -0
  121. package/src/components/fms-ks-select//351/200/211/346/213/251/346/241/206.md +0 -0
  122. package/src/components/fms-ks-select-box/fms-ks-select-box.vue +84 -0
  123. package/src/components/fms-ks-select-box/index.js +7 -0
  124. package/src/components/fms-ks-select-box//344/270/215/351/234/200/350/246/201popup/347/232/204select.md +0 -0
  125. package/src/components/fms-ks-warn-drawer/fms-ks-warn-drawer.vue +111 -0
  126. package/src/components/fms-ks-warn-drawer/index.js +7 -0
  127. package/src/components/fms-ks-warn-drawer//351/242/204/350/255/246/346/217/220/347/244/272.md +0 -0
  128. package/src/components/ks-decrypt/README.md +140 -0
  129. package/src/components/ks-decrypt/index.vue +155 -0
  130. package/src/components/ks-popover/index.vue +483 -0
  131. package/src/components/ks-popover/mixin.js +28 -0
  132. package/src/components/ks-popover/utils.js +60 -0
  133. package/src/components/oa-datetime-picker/index.vue +169 -0
  134. package/src/components/oa-datetime-picker-new/components/date-picker/README.md +21 -0
  135. package/src/components/oa-datetime-picker-new/components/date-picker/date-picker-bottom.vue +121 -0
  136. package/src/components/oa-datetime-picker-new/components/date-picker/date-picker-dropdown.vue +78 -0
  137. package/src/components/oa-datetime-picker-new/components/date-picker/date-picker-right.vue +86 -0
  138. package/src/components/oa-datetime-picker-new/components/date-picker/date-picker-top.vue +82 -0
  139. package/src/components/oa-datetime-picker-new/components/date-picker/date-picker.js +12 -0
  140. package/src/components/oa-datetime-picker-new/components/date-picker/date-range-select.vue +106 -0
  141. package/src/components/oa-datetime-picker-new/components/date-picker/date-select.vue +66 -0
  142. package/src/components/oa-datetime-picker-new/components/date-picker/date-week-month.vue +131 -0
  143. package/src/components/oa-datetime-picker-new/components/date-picker/index.js +39 -0
  144. package/src/components/oa-datetime-picker-new/components/date-picker/mixin.js +85 -0
  145. package/src/components/oa-datetime-picker-new/components/date-picker/month-range-select.vue +127 -0
  146. package/src/components/oa-datetime-picker-new/components/date-picker/month-select.vue +87 -0
  147. package/src/components/oa-datetime-picker-new/components/date-picker/quarter-select.vue +95 -0
  148. package/src/components/oa-datetime-picker-new/components/date-picker/style.less +117 -0
  149. package/src/components/oa-datetime-picker-new/components/date-picker/utils.js +109 -0
  150. package/src/components/oa-datetime-picker-new/components/date-picker/week-select.vue +100 -0
  151. package/src/components/oa-datetime-picker-new/index.vue +212 -0
  152. package/src/index.js +8 -2
  153. package/vite.config.js +12 -1
  154. package/dist/fms-ks-decrypt.bcc12f44.js +0 -335
@@ -1,6 +1,6 @@
1
1
  import './../fms-copy-box/style.css';
2
- import { F as o } from "../fms-ks-decrypt.bcc12f44.js";
3
- import { F as e } from "../fms-ks-decrypt.bcc12f44.js";
2
+ import { F as o } from "../fms-ks-decrypt.2f88e659.js";
3
+ import { F as e } from "../fms-ks-decrypt.2f88e659.js";
4
4
  o.install = function(t) {
5
5
  t.component(o.name, o);
6
6
  };
@@ -0,0 +1,312 @@
1
+ import { n as c } from "./plugin-vue2_normalizer.ed7092a9.js";
2
+ import { p as o } from "./filter.c93f4ddb.js";
3
+ import './assets/css/fms-ks-decrypt.css';const d = {
4
+ name: "call",
5
+ props: {
6
+ value: {
7
+ type: Boolean,
8
+ required: !0,
9
+ default: () => !1
10
+ },
11
+ maxlength: {
12
+ type: [Number, String],
13
+ default: 11
14
+ },
15
+ clearable: {
16
+ type: Boolean,
17
+ default: !0
18
+ },
19
+ model: {
20
+ type: Object,
21
+ default: () => ({})
22
+ },
23
+ modelKey: {
24
+ type: String,
25
+ default: ""
26
+ },
27
+ decrypt: {
28
+ type: Object,
29
+ default: () => {
30
+ }
31
+ },
32
+ phone: {
33
+ type: [String, Number],
34
+ default: () => ""
35
+ }
36
+ },
37
+ data() {
38
+ return {
39
+ cellphone: ""
40
+ };
41
+ },
42
+ watch: {
43
+ value(e) {
44
+ e && this.phone && (this.cellphone = this.phone);
45
+ }
46
+ },
47
+ methods: {
48
+ getModelValue(e, t) {
49
+ if (!t)
50
+ return "";
51
+ if (t.indexOf(".") > 0) {
52
+ let l = t.split("."), u = l.length - 1;
53
+ return l.reduce((n, s, g) => {
54
+ let a = s.indexOf("[");
55
+ return g === u ? a > 0 ? (n[s.substr(0, a)] || [])[+s.substring(a + 1, s.length - 1)] : n[s] : a > 0 ? (n[s.substr(0, a)] || [])[+s.substring(a + 1, s.length - 1)] || {} : n[s] || {};
56
+ }, e);
57
+ }
58
+ let i = t.indexOf("[");
59
+ return i > 0 ? (e[t.substr(0, i)] || [])[+t.substring(i + 1, t.length - 1)] : e[t];
60
+ },
61
+ async callPhone() {
62
+ if (/^1[0-9]{10}$/.test(this.cellphone)) {
63
+ const t = await this.decryptPhone(this.model);
64
+ return t ? (location.href = "tel:" + t, this.$emit("success", this.cellphone, t)) : vant.Toast("\u672A\u627E\u5230\u5BF9\u5E94\u624B\u673A\u53F7\uFF01");
65
+ }
66
+ return vant.Toast("\u8BF7\u8F93\u5165\u6B63\u786E\u624B\u673A\u53F7\uFF01");
67
+ },
68
+ async decryptPhone(e) {
69
+ const t = this.getModelValue(e, `${this.modelKey}Virtual`);
70
+ if (t)
71
+ return await this.decryptVirtual(e, t);
72
+ {
73
+ const i = this.getModelValue(e, `${this.modelKey}Mask`);
74
+ if (i)
75
+ return await this.decryptMask(i);
76
+ {
77
+ const l = this.getModelValue(e, `${this.modelKey}MaskSec`);
78
+ if (console.log(l, this.modelKey, "maskSec"), !l)
79
+ return this.getModelValue(e, this.modelKey);
80
+ }
81
+ }
82
+ },
83
+ async decryptVirtual(e, t) {
84
+ try {
85
+ return await this.$http("basevirtual.virtualPhone.getVirtualNumber", 55041, {
86
+ ...this.decrypt,
87
+ fieldContent: t,
88
+ calloutPhone: this.cellphone,
89
+ callinPhone: this.getModelValue(e, this.modelKey)
90
+ });
91
+ } catch {
92
+ return "";
93
+ }
94
+ },
95
+ async decryptMask(e) {
96
+ try {
97
+ return await this.$http("syslog.sensitiveFieldViewLog.save", 10135, {
98
+ ...this.decrypt,
99
+ fieldContent: e
100
+ });
101
+ } catch {
102
+ return "";
103
+ }
104
+ },
105
+ onClose() {
106
+ this.$emit("input", !1);
107
+ },
108
+ onClosed() {
109
+ Object.assign(this.$data, this.$options.data());
110
+ }
111
+ }
112
+ };
113
+ var I = function() {
114
+ var t = this, i = t._self._c;
115
+ return i("van-popup", t._g(t._b({ staticClass: "kts-call", attrs: { value: t.value, round: "", "get-container": "body", position: "bottom", "safe-area-inset-bottom": !0 }, on: { closed: t.onClosed } }, "van-popup", t.$attrs, !1), t.$listeners), [i("div", { staticClass: "call-content" }, [i("div", { staticClass: "call-title" }, [t._t("title", function() {
116
+ return [t._v("\u8BF7\u8F93\u5165\u60A8\u7684\u53F7\u7801")];
117
+ })], 2), i("div", { staticClass: "call-tips" }, [t._t("tips", function() {
118
+ return [t._v("\u63D0\u793A\uFF1A\u672C\u6B21\u901A\u8BDD\u8BB0\u5F55\u5C06\u4F1A\u88AB\u76D1\u63A7")];
119
+ })], 2), i("div", { staticClass: "call-input" }, [i("van-field", { attrs: { maxlength: t.maxlength, type: "tel", clearable: t.clearable, label: "" }, model: { value: t.cellphone, callback: function(l) {
120
+ t.cellphone = l;
121
+ }, expression: "cellphone" } })], 1), i("div", { staticClass: "call-btns" }, [i("van-button", { attrs: { plain: "", type: "default" }, on: { click: t.onClose } }, [t._v("\u53D6\u6D88")]), i("van-button", { attrs: { type: "primary" }, on: { click: t.callPhone } }, [t._v("\u547C\u53EB")])], 1)])]);
122
+ }, M = [], m = /* @__PURE__ */ c(
123
+ d,
124
+ I,
125
+ M,
126
+ !1,
127
+ null,
128
+ null,
129
+ null,
130
+ null
131
+ );
132
+ const C = m.exports, h = {
133
+ name: "custom-call",
134
+ components: {
135
+ call: C
136
+ },
137
+ watch: {
138
+ $attrs() {
139
+ this.getMobile();
140
+ }
141
+ },
142
+ data() {
143
+ return {
144
+ phone: ""
145
+ };
146
+ },
147
+ methods: {
148
+ getMobile() {
149
+ let { user: e = {} } = window.ksui;
150
+ this.phone = localStorage.getItem("mobile") || e.companyMobile || e.privateMobile;
151
+ },
152
+ onSuccess(e) {
153
+ localStorage.setItem("mobile", e);
154
+ }
155
+ }
156
+ };
157
+ var A = function() {
158
+ var t = this, i = t._self._c;
159
+ return i("call", t._g(t._b({ on: { success: t.onSuccess } }, "call", {
160
+ ...t.$attrs,
161
+ phone: t.$attrs.phone ? t.$attrs.phone : t.phone
162
+ }, !1), t.$listeners), [t._t("default")], 2);
163
+ }, p = [], D = /* @__PURE__ */ c(
164
+ h,
165
+ A,
166
+ p,
167
+ !1,
168
+ null,
169
+ null,
170
+ null,
171
+ null
172
+ );
173
+ const N = D.exports, r = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjE3cHgiIGhlaWdodD0iMTdweCIgdmlld0JveD0iMCAwIDE3IDE3IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDx0aXRsZT4tbW9ja3BsdXMtPC90aXRsZT4NCiAgICA8ZGVmcz4NCiAgICAgICAgPGxpbmVhckdyYWRpZW50IHgxPSI1NC4yMjg1MTU2JSIgeTE9Ii01LjgxNTQyOTY5JSIgeDI9IjU0LjIyODUxNTYlIiB5Mj0iMTAwJSIgaWQ9ImxpbmVhckdyYWRpZW50LTEiPg0KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzlEOThGRiIgb2Zmc2V0PSIwJSI+PC9zdG9wPg0KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzZFNjZGQiIgb2Zmc2V0PSIxMDAlIj48L3N0b3A+DQogICAgICAgIDwvbGluZWFyR3JhZGllbnQ+DQogICAgPC9kZWZzPg0KICAgIDxnIGlkPSIyMjA2Mjdf5LiL5Y2V566h55CGLeOAkOivpuaDheOAkeacgOaWsCIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIGlkPSLorqLljZXor6bmg4Ut5pyq5oql5Y2VIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAzLjAwMDAwMCwgLTIzMi4wMDAwMDApIj4NCiAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtMTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwLjAwMDAwMCwgMjE4LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgIDxnIGlkPSJpY19kZXRhaWxzX3dheWJpbGxfcGhvbmUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE5My4wMDAwMDAsIDE0LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0i5b2i54q257uT5ZCIIiBmaWxsPSIjNzk3MkZFIiBvcGFjaXR5PSIwLjEwMDAwMDAwMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjE3IiBoZWlnaHQ9IjE3IiByeD0iOC41Ij48L3JlY3Q+DQogICAgICAgICAgICAgICAgICAgIDxnIGlkPSItbW9ja3BsdXMtIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0LjAwMDAwMCwgNC4wMDAwMDApIiBmaWxsPSJ1cmwoI2xpbmVhckdyYWRpZW50LTEpIiBmaWxsLXJ1bGU9Im5vbnplcm8iPg0KICAgICAgICAgICAgICAgICAgICAgICAgPGcgaWQ9Imljb24tdGVsZXBob25lIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjU2MjUwMCwgMC41NjI1MDApIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMi45NTA5NjI1MSw0LjkyODM2ODUyIEMzLjI5MTAyOTcxLDUuMjY1ODEwMzkgMy43NzYyODMyMSw1LjYwMjc3MTU4IDMuNzc2MjgzMjEsNS42MDI3NzE1OCBDMy43NzYyODMyMSw1LjYwMjc3MTU4IDQuNDA3Njk3MzksNi4wODQ0MTkzOCA0Ljg0NDcxNzg2LDUuNzk1MDQ2MTUgQzUuODE1NzEyMDQsNS4yMTcyNjEwNiA1LjgxNTcxMjA0LDQuOTc2OTE3ODUgNi4zMDE0NTI3NCw1LjI2NTgxMDM5IEM4LjAwMDMyNzE3LDYuMTgwNTU2NjYgNy45MDMzNzM5MSw2LjgwNjQxMDM5IDcuODU0NjUzNjgsNi45OTkxNjU2NCBDNy43MDg5ODAxOSw3LjU3Njk1MDczIDYuNTkyNzk5NzIsOC4xMDY2NjcxNyA1LjM3ODY5MTU4LDcuNzY5NzA1OTggQzQuMTE2MzUwNDEsNy40MzI3NDQ4IDIuOTAyNzI5NDgsNi44MDY0MTAzOSAxLjk3OTk2ODMyLDUuODkxNjY0MTIgQzEuMDU3Njk0MzYsNC45NzY5MTc4NSAwLjM3ODA0NzE1LDMuNzcyNzk4MzYgMC4wODY3MDAxNzM3LDIuNTIwNjEwMjIgQy0wLjIwNDY0NjgwMywxLjMxNjk3MTQxIDAuMjgwNjA2NjksMC4yMDk0Njk4ODQgMC45MTIwMjA4NzMsMC4wMTYyMzM5NDEzIEMxLjA1NzY5NDM2LC0wLjAzMTgzNDcwMTMgMS42ODg2MjEzNCwtMC4wNzk5MDMzNDM4IDIuNjU5NjE1NTMsMS41NTc3OTUzMSBDMi45NTA5NjI1MSwyLjAzODk2MjQyIDIuNzA4MzM1NzYsMi4wMzg5NjI0MiAyLjEyNTY0MTgxLDMuMDAyMjU4MDIgQzEuODM0Mjk0ODMsMy40MzU4MzcxNyAyLjMyMDAzNTUzLDQuMDYxNjkwOSAyLjMyMDAzNTUzLDQuMDYxNjkwOSBDMi4zMjAwMzU1Myw0LjA2MTY5MDkgMi42MTEzODI1LDQuNTkxNDA3MzQgMi45NTA5NjI1MSw0LjkyODM2ODUyIEwyLjk1MDk2MjUxLDQuOTI4MzY4NTIgWiIgaWQ9Iui3r+W+hCI+PC9wYXRoPg0KICAgICAgICAgICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgPC9nPg0KICAgICAgICA8L2c+DQogICAgPC9nPg0KPC9zdmc+";
174
+ const y = {
175
+ name: "FmsKsDecrypt",
176
+ components: {
177
+ CustomCall: N
178
+ },
179
+ props: {
180
+ value: [String, Number],
181
+ formData: Object,
182
+ fieldName: String,
183
+ fieldNameStr: String,
184
+ maskSecDefault: {
185
+ type: String,
186
+ default: "\u273D\u273D\u273D"
187
+ },
188
+ isField: {
189
+ type: Boolean,
190
+ default: !1
191
+ },
192
+ idKey: {
193
+ type: String,
194
+ default: "id"
195
+ },
196
+ menuCode: {
197
+ type: Object,
198
+ default: () => {
199
+ var e, t, i, l;
200
+ return {
201
+ moduleCode: (t = (e = window.ksui) == null ? void 0 : e.menu) == null ? void 0 : t.id,
202
+ moduleName: (l = (i = window.ksui) == null ? void 0 : i.menu) == null ? void 0 : l.title
203
+ };
204
+ }
205
+ },
206
+ isMoney: {
207
+ type: Boolean,
208
+ default: !1
209
+ }
210
+ },
211
+ data() {
212
+ return {
213
+ callShow: !1,
214
+ callDecrypt: {},
215
+ menuCode() {
216
+ }
217
+ };
218
+ },
219
+ computed: {
220
+ maskFiled() {
221
+ let e = null, t = null, i = null;
222
+ if (this.formData) {
223
+ let l = this.formData;
224
+ l[this.fieldName + "Mask"] && (e = l[this.fieldName + "Mask"]), !l[this.fieldName] && l.hasOwnProperty(this.fieldName + "MaskSec") && (t = "maskSec"), l.hasOwnProperty(this.fieldName + "Virtual") && (i = l[this.fieldName + "Virtual"]), l = l[this.fieldName];
225
+ }
226
+ return { mask: e, maskSec: t, virtual: i };
227
+ }
228
+ },
229
+ methods: {
230
+ numberSplitInt(e) {
231
+ const { isMoney: t } = this;
232
+ return t ? o(e) : e;
233
+ },
234
+ showCall() {
235
+ this.callDecrypt = {
236
+ dataId: this.formData[this.idKey] || this.createUuid(),
237
+ moduleCode: this.menuCode.moduleCode || "kts-h5",
238
+ fieldName: this.fieldName,
239
+ fieldNameStr: this.fieldNameStr
240
+ }, this.callShow = !0;
241
+ },
242
+ isEmpty(e) {
243
+ return e === "" || e === null || e === void 0;
244
+ },
245
+ createUuid() {
246
+ return Math.random().toString(36).substr(3);
247
+ },
248
+ decryptBtn() {
249
+ !this.maskFiled.mask || vant.Dialog.confirm({
250
+ title: "\u6E29\u99A8\u63D0\u793A",
251
+ message: "\u5982\u975E\u5FC5\u8981\u8BF7\u52FF\u67E5\u770B\uFF0C\u6B64\u64CD\u4F5C\u4F1A\u8054\u52A8\u98CE\u63A7\u7CFB\u7EDF\u76D1\u63A7\uFF01"
252
+ }).then(() => {
253
+ this.decrypt();
254
+ }).catch(() => {
255
+ });
256
+ },
257
+ async decrypt() {
258
+ try {
259
+ let e = {
260
+ dataId: this.formData[this.idKey] || this.createUuid(),
261
+ moduleCode: this.menuCode.moduleCode,
262
+ fieldName: this.fieldName,
263
+ fieldContent: this.formData[this.fieldName + "Mask"],
264
+ fieldNameStr: this.fieldNameStr,
265
+ buttonName: this.menuCode.moduleName
266
+ }, t = await this.$http("syslog.sensitiveFieldViewLog.save", "10135", e);
267
+ this.value = this.isMoney ? o(t) : t, this.$emit("input", t), this.$set(this.formData, this.fieldName, t), this.$set(this.formData, this.fieldName + "Mask", void 0), this.idKey !== "" && this.$emit("decryptData", t, this.fieldName, this.formData[this.idKey]);
268
+ } catch (e) {
269
+ console.log(e);
270
+ }
271
+ },
272
+ handleBlur() {
273
+ this.$emit("blur");
274
+ },
275
+ handleInput(e) {
276
+ this.$emit("input", e);
277
+ },
278
+ handleFocus(e) {
279
+ this.$emit("focus", e);
280
+ },
281
+ handleClear() {
282
+ this.$emit("clear");
283
+ },
284
+ clickLeftIcon() {
285
+ this.$emit("click-left-icon");
286
+ },
287
+ clickRightIcon() {
288
+ this.$emit("click-left-icon");
289
+ }
290
+ }
291
+ };
292
+ var f = function() {
293
+ var t = this, i = t._self._c;
294
+ return i("div", { staticClass: "kts-decrypt" }, [t.isField ? i("van-field", t._b({ on: { blur: t.handleBlur, input: t.handleInput, clear: t.handleClear, focus: t.handleFocus, "click-left-icon": t.clickLeftIcon, "click-right-icon": t.clickRightIcon }, model: { value: t.value, callback: function(l) {
295
+ t.value = l;
296
+ }, expression: "value" } }, "van-field", t.$attrs, !1), [t.maskFiled.mask ? i("div", { staticClass: "kts-mobile-decrypt ks-mobile-decrypt", attrs: { slot: "input" }, on: { click: t.decryptBtn }, slot: "input" }, [t._v(" " + t._s(t.value) + " ")]) : t.maskFiled.maskSec ? i("div", { staticClass: "kts-mobile-decrypt", attrs: { slot: "input" }, slot: "input" }, [t._v(" " + t._s(t.maskSecDefault) + " ")]) : t.maskFiled.virtual ? i("div", { staticClass: "kts-mobile-decrypt", attrs: { slot: "input" }, slot: "input" }, [t._v(" " + t._s(t.value) + " "), i("img", { staticClass: "phone-img", attrs: { src: r }, on: { click: t.showCall } })]) : t._e()]) : [t.maskFiled.virtual ? i("div", { staticClass: "kts-mobile-decrypt", attrs: { slot: "input" }, slot: "input" }, [t._v(" " + t._s(t.value) + " "), i("img", { staticClass: "phone-img", attrs: { src: r }, on: { click: t.showCall } })]) : i("span", { class: t.maskFiled.mask ? "ks-mobile-decrypt" : "", on: { click: t.decryptBtn } }, [t._v(t._s(t.maskFiled.maskSec ? t.maskSecDefault : t.numberSplitInt(t.value)))])], i("CustomCall", { attrs: { decrypt: t.callDecrypt, model: t.formData, modelKey: t.fieldName }, model: { value: t.callShow, callback: function(l) {
297
+ t.callShow = l;
298
+ }, expression: "callShow" } })], 2);
299
+ }, j = [], w = /* @__PURE__ */ c(
300
+ y,
301
+ f,
302
+ j,
303
+ !1,
304
+ null,
305
+ "cc54245b",
306
+ null,
307
+ null
308
+ );
309
+ const v = w.exports;
310
+ export {
311
+ v as F
312
+ };
@@ -34,7 +34,8 @@ const l = window.vant && window.vant.Toast, u = {
34
34
  canDelete: {
35
35
  type: Boolean,
36
36
  default: !0
37
- }
37
+ },
38
+ onPreviewBefore: Function
38
39
  },
39
40
  data() {
40
41
  return {
@@ -45,8 +46,8 @@ const l = window.vant && window.vant.Toast, u = {
45
46
  watch: {
46
47
  bizId: {
47
48
  immediate: !0,
48
- handler(a) {
49
- a && this.autoGetFile && this.getImageList();
49
+ handler(i) {
50
+ i && this.autoGetFile && this.getImageList();
50
51
  }
51
52
  }
52
53
  },
@@ -55,15 +56,15 @@ const l = window.vant && window.vant.Toast, u = {
55
56
  },
56
57
  methods: {
57
58
  onPreview() {
58
- this.disabled || (this.show = !0);
59
+ this.onPreviewBefore && typeof this.onPreviewBefore == "function" && this.onPreviewBefore() || this.disabled || (this.show = !0);
59
60
  },
60
61
  onCancel() {
61
62
  this.show = !1;
62
63
  },
63
- async onSelect(a) {
64
+ async onSelect(i) {
64
65
  let e = null;
65
66
  try {
66
- if (this.$emit("beforeSelect", a), a.name === "\u4ECE\u76F8\u518C\u9009\u62E9") {
67
+ if (this.$emit("beforeSelect", i), i.name === "\u4ECE\u76F8\u518C\u9009\u62E9") {
67
68
  const t = Number(this.maxLength - this.value.length);
68
69
  e = await window.ks.callFunc({
69
70
  method: "pickAssets",
@@ -75,44 +76,44 @@ const l = window.vant && window.vant.Toast, u = {
75
76
  }
76
77
  });
77
78
  } else
78
- a.name === "\u62CD\u7167" && (e = await window.ks.takeByCamera());
79
+ i.name === "\u62CD\u7167" && (e = await window.ks.takeByCamera());
79
80
  this.onCancel(), this.maxLength && e.length > this.maxLength ? l("\u9009\u62E9\u6587\u4EF6\u592A\u591A") : this.upload(e);
80
81
  } catch (t) {
81
82
  console.info("onSelect--error", t), t && t.msg && l(t.msg), this.onCancel();
82
83
  }
83
84
  },
84
85
  async getImageList() {
85
- const a = await this.$http("file.getByBizCodeAndBizId", "10124", {
86
+ const i = await this.$http("file.getByBizCodeAndBizId", "10124", {
86
87
  bizCode: this.bizCode,
87
88
  bizId: this.bizId
88
89
  });
89
- this.$emit("input", a);
90
+ this.$emit("input", i);
90
91
  },
91
- onDelete(a) {
92
- let e = JSON.parse(JSON.stringify(this.value)), t = e[a];
93
- e.splice(a, 1), this.$emit("input", e), this.$http("file.deleteByBizAndId", 10124, t).then((i) => {
94
- this.$emit("deleteSuccess", i, t);
95
- }).catch((i) => {
96
- console.log(i);
92
+ onDelete(i) {
93
+ let e = JSON.parse(JSON.stringify(this.value)), t = e[i];
94
+ e.splice(i, 1), this.$emit("input", e), this.$http("file.deleteByBizAndId", 10124, t).then((a) => {
95
+ this.$emit("deleteSuccess", a, t);
96
+ }).catch((a) => {
97
+ console.log(a);
97
98
  });
98
99
  },
99
- async upload(a) {
100
+ async upload(i) {
100
101
  let e = await window.ks.uploadAssets({
101
- filePaths: a.map((t) => t.filePath),
102
- fileNames: a.map((t) => t.fileName),
102
+ filePaths: i.map((t) => t.filePath),
103
+ fileNames: i.map((t) => t.fileName),
103
104
  bizCode: this.bizCode,
104
105
  bizId: this.bizId
105
106
  });
106
107
  this.$emit("input", e.reverse()), this.$emit("uploadSuccess"), this.onCancel();
107
108
  },
108
- previewAssets(a, e) {
109
+ previewAssets(i, e) {
109
110
  this.$emit("beforePreviewAssets", {
110
- index: a,
111
+ index: i,
111
112
  list: e
112
113
  });
113
- let t = e.map((i) => i.url);
114
+ let t = e.map((a) => a.url);
114
115
  window.ks.previewAssets({
115
- index: a,
116
+ index: i,
116
117
  filePaths: t
117
118
  });
118
119
  }
@@ -120,28 +121,28 @@ const l = window.vant && window.vant.Toast, u = {
120
121
  };
121
122
  var d = function() {
122
123
  var e = this, t = e._self._c;
123
- return t("div", { staticClass: "ks-file-upload" }, [t("div", { staticClass: "upload-title" }, [e._v(" " + e._s(e.titleName) + "(" + e._s(e.value.length) + "/" + e._s(e.maxLength) + ") "), e.required ? t("span", { staticClass: "required-tip" }, [e._v("*")]) : e._e()]), t("div", { staticClass: "van-uploader" }, [t("div", { staticClass: "van-uploader__wrapper" }, [e._l(e.value, function(i, s) {
124
- return t("div", { key: s, staticClass: "van-uploader__preview" }, [t("div", { staticClass: "van-image van-uploader__preview-image", staticStyle: { overflow: "hidden", "border-radius": "4px", border: "1px solid #f2f0f4" } }, [t("img", { staticClass: "van-image__img", staticStyle: { "object-fit": "cover" }, attrs: { src: i.url }, on: { click: function(o) {
124
+ return t("div", { staticClass: "ks-file-upload" }, [t("div", { staticClass: "upload-title" }, [e._v(" " + e._s(e.titleName) + "(" + e._s(e.value.length) + "/" + e._s(e.maxLength) + ") "), e.required ? t("span", { staticClass: "required-tip" }, [e._v("*")]) : e._e()]), t("div", { staticClass: "van-uploader" }, [t("div", { staticClass: "van-uploader__wrapper" }, [e._l(e.value, function(a, s) {
125
+ return t("div", { key: s, staticClass: "van-uploader__preview" }, [t("div", { staticClass: "van-image van-uploader__preview-image", staticStyle: { overflow: "hidden", "border-radius": "4px", border: "1px solid #f2f0f4" } }, [t("img", { staticClass: "van-image__img", staticStyle: { "object-fit": "cover" }, attrs: { src: a.url }, on: { click: function(o) {
125
126
  return e.previewAssets(s, e.value);
126
127
  } } })]), !e.disabled && e.canDelete ? t("img", { staticClass: "van-uploader__preview-delete", attrs: { src: c }, on: { click: function(o) {
127
128
  return e.onDelete(s);
128
129
  } } }) : e._e()]);
129
- }), e.maxLength && e.value.length < e.maxLength || !e.maxLength ? t("div", { staticClass: "van-uploader__upload", on: { click: e.onPreview } }, [t("i", { staticClass: "van-icon van-icon-plus van-uploader__upload-icon" })]) : e._e()], 2), t("ks-action-sheet", { attrs: { actions: e.actions, "get-container": "body", "cancel-text": "\u53D6\u6D88" }, on: { select: e.onSelect, cancel: e.onCancel }, model: { value: e.show, callback: function(i) {
130
- e.show = i;
130
+ }), e.maxLength && e.value.length < e.maxLength || !e.maxLength ? t("div", { staticClass: "van-uploader__upload", on: { click: e.onPreview } }, [t("i", { staticClass: "van-icon van-icon-plus van-uploader__upload-icon" })]) : e._e()], 2), t("ks-action-sheet", { attrs: { actions: e.actions, "get-container": "body", "cancel-text": "\u53D6\u6D88" }, on: { select: e.onSelect, cancel: e.onCancel }, model: { value: e.show, callback: function(a) {
131
+ e.show = a;
131
132
  }, expression: "show" } })], 1)]);
132
- }, p = [], h = /* @__PURE__ */ r(
133
+ }, v = [], h = /* @__PURE__ */ r(
133
134
  u,
134
135
  d,
135
- p,
136
+ v,
136
137
  !1,
137
138
  null,
138
- "4729a3d3",
139
+ "4c76f579",
139
140
  null,
140
141
  null
141
142
  );
142
143
  const n = h.exports;
143
- n.install = function(a) {
144
- a.component(n.name, n);
144
+ n.install = function(i) {
145
+ i.component(n.name, n);
145
146
  };
146
147
  export {
147
148
  n as default
@@ -1 +1 @@
1
- .ks-file-upload[data-v-4729a3d3]{padding:12px 16px 16px}.ks-file-upload .upload-title[data-v-4729a3d3]{font-size:14px;text-align:left;color:#858793}.ks-file-upload .upload-title .required-tip[data-v-4729a3d3]{margin-top:2px;color:#f99257}.ks-file-upload .van-uploader[data-v-4729a3d3]{padding:0}.ks-file-upload .van-uploader .van-uploader__wrapper[data-v-4729a3d3]{margin-top:12px}.ks-file-upload .van-uploader .van-uploader__upload[data-v-4729a3d3]{margin:0}.ks-file-upload .van-uploader .van-uploader__preview[data-v-4729a3d3]{margin:0 12px 8px 0}.ks-file-upload .van-uploader .van-uploader__preview-image[data-v-4729a3d3]{width:52px;height:52px}.ks-file-upload .van-uploader__upload[data-v-4729a3d3]{border:.5px dashed #c6c6d0;background-color:#fff;cursor:pointer;border-radius:4px;width:52px;height:52px}.ks-file-upload .van-uploader__preview-delete[data-v-4729a3d3]{width:18px;height:18px;font-size:18px;top:-8px;right:-8px;bottom:unset;border-radius:100%;background-color:#fff;color:#969799}
1
+ .ks-file-upload[data-v-4c76f579]{padding:12px 16px 16px}.ks-file-upload .upload-title[data-v-4c76f579]{font-size:14px;text-align:left;color:#858793}.ks-file-upload .upload-title .required-tip[data-v-4c76f579]{margin-top:2px;color:#f99257}.ks-file-upload .van-uploader[data-v-4c76f579]{padding:0}.ks-file-upload .van-uploader .van-uploader__wrapper[data-v-4c76f579]{margin-top:12px}.ks-file-upload .van-uploader .van-uploader__upload[data-v-4c76f579]{margin:0}.ks-file-upload .van-uploader .van-uploader__preview[data-v-4c76f579]{margin:0 12px 8px 0}.ks-file-upload .van-uploader .van-uploader__preview-image[data-v-4c76f579]{width:52px;height:52px}.ks-file-upload .van-uploader__upload[data-v-4c76f579]{border:.5px dashed #c6c6d0;background-color:#fff;cursor:pointer;border-radius:4px;width:52px;height:52px}.ks-file-upload .van-uploader__preview-delete[data-v-4c76f579]{width:18px;height:18px;font-size:18px;top:-8px;right:-8px;bottom:unset;border-radius:100%;background-color:#fff;color:#969799}
@@ -0,0 +1,101 @@
1
+ import './../fms-copy-box/style.css';
2
+ import { get as n } from "lodash";
3
+ import { F as f } from "../fms-ks-components.a5d9329b.js";
4
+ import { n as a } from "../plugin-vue2_normalizer.ed7092a9.js";
5
+ import './style.css';class c {
6
+ constructor(t) {
7
+ return this.cols = t, this.cols.reduce((e, r) => {
8
+ let o = {
9
+ ...r,
10
+ component: this.getComponent(r),
11
+ componentProps: this.getComponentProps(r),
12
+ headerTips: n(r, "headerTips") || n(r, "tipsContent"),
13
+ required: this.getRequired(r)
14
+ };
15
+ return e.push(o), e;
16
+ }, []);
17
+ }
18
+ getComponent(t) {
19
+ let e = n(t, "component");
20
+ return ["kye-search-tips", "fms-search-tips"].includes(e) && (e = "search-tips-new"), ["kye-select", "el-select"].includes(e) && (e = "select"), ["kye-input", "el-input", "kye-textarea", "kye-number"].includes(e) && (e = "van-field"), ["kye-date-picker", "el-date-picker"].includes(e) && (e = n(t, "componentProps.type") === "datetime" ? "date" : "date-new"), e;
21
+ }
22
+ getComponentProps(t) {
23
+ let e = n(t, "componentProps") || {}, r = n(e, "maxLength") || n(e, "maxlength"), o = n(t, "options"), i = null;
24
+ typeof o == "function" && (i = o().map((d) => ({
25
+ text: d.label,
26
+ code: d.value
27
+ })));
28
+ let u = n(e, "showSwitch"), l = !1;
29
+ (e.hasOwnProperty("showWordLimit") || e.hasOwnProperty("show-word-limit")) && (l = e.showWordLimit || e["show-word-limit"]);
30
+ let m = {
31
+ ...e,
32
+ maxlength: r,
33
+ showSelectAll: u,
34
+ type: this.getPropsType(t),
35
+ showWordLimit: l
36
+ };
37
+ return i && (m.columns = i), m;
38
+ }
39
+ getRequired(t) {
40
+ let e = n(t, "required");
41
+ if (typeof e == "boolean")
42
+ return e;
43
+ if (typeof e == "function")
44
+ return e();
45
+ let r = n(t, "rules");
46
+ return n(r, "[0].required") || n(r, "required");
47
+ }
48
+ getPropsType(t) {
49
+ let e = this.getComponent(t), r = n(t, "componentProps") || {}, o = n(t, "componentProps.type");
50
+ return e === "select" && (o = r.hasOwnProperty("multiple") || o === "multiple" ? "multiple" : "single"), t.component === "kye-number" && (o = +n(r, "precision") == 0 ? "digit" : "number"), o;
51
+ }
52
+ }
53
+ const h = {
54
+ name: "FmsKsFormGrid",
55
+ components: {
56
+ FmsComponent: f,
57
+ RenderComponent: {
58
+ functional: !0,
59
+ props: { render: { type: Function, required: !0 } },
60
+ render(s, t) {
61
+ return t.props.render(s, t);
62
+ }
63
+ }
64
+ },
65
+ props: {
66
+ formFields: Array,
67
+ formModel: Object,
68
+ grid: Object,
69
+ model: Object
70
+ },
71
+ computed: {
72
+ fields() {
73
+ let s = n(this.grid, "cols") || [], t = new c(this.formFields || s);
74
+ return t.map((e) => (typeof e.show == "function" && (e.show = e.show(this.formModel)), e.hasOwnProperty("show") || (e.show = !0), e)), t.filter((e) => e.show);
75
+ }
76
+ }
77
+ };
78
+ var y = function() {
79
+ var t = this, e = t._self._c;
80
+ return e("div", { staticClass: "flow-fms-form-grid" }, [t._l(t.fields, function(r, o) {
81
+ return [r.slot ? [t._t(r.slot, null, { props: r })] : r.render ? [e("RenderComponent", { key: r.key, attrs: { render: r.render, model: t.formModel || t.model, col: r, index: t.index } })] : e("fms-component", { key: r.key, attrs: { col: r, model: t.formModel || t.model, index: o } }, [t._l(Object.keys(t.$slots), function(i) {
82
+ return e("template", { slot: i }, [t._t(i)], 2);
83
+ })], 2)];
84
+ })], 2);
85
+ }, _ = [], w = /* @__PURE__ */ a(
86
+ h,
87
+ y,
88
+ _,
89
+ !1,
90
+ null,
91
+ "fd838a31",
92
+ null,
93
+ null
94
+ );
95
+ const p = w.exports;
96
+ p.install = function(s) {
97
+ s.component(p.name, p);
98
+ };
99
+ export {
100
+ p as default
101
+ };
@@ -0,0 +1 @@
1
+ .flow-fms-form-grid[data-v-fd838a31] .fms-field-textarea{display:block;border-radius:0 0 4px 4px}.flow-fms-form-grid[data-v-fd838a31] .fms-field-textarea:after{border:none!important}.flow-fms-form-grid[data-v-fd838a31] .fms-field-textarea .van-field__value{border-radius:4px;background-color:#f7f8fa;margin-top:8px}.flow-fms-form-grid[data-v-fd838a31] .fms-field-textarea .van-field__value .van-field__body .van-field__control{padding:12px}.flow-fms-form-grid[data-v-fd838a31] .fms-field-textarea .van-field__value .van-field__body .van-field__right-icon{position:absolute;bottom:0;right:16px;height:32px;display:flex;align-items:center;padding:0}.flow-fms-form-grid[data-v-fd838a31] .fms-field-textarea .van-field__value .van-field__word-limit{margin-right:10px;color:#858793;padding-bottom:8px}.flow-fms-form-grid[data-v-fd838a31] .van-cell--required:before{content:none}.flow-fms-form-grid[data-v-fd838a31] .van-cell--required .van-cell__title:after{position:absolute;margin-top:2px;margin-left:4px;color:#f99257;font-size:16px;content:"*"}
@@ -0,0 +1,31 @@
1
+ import './../fms-copy-box/style.css';
2
+ import { n as a } from "../plugin-vue2_normalizer.ed7092a9.js";
3
+ import './style.css';const r = {
4
+ name: "FmsKsMoreLines",
5
+ props: {
6
+ text: {
7
+ type: String,
8
+ default: ""
9
+ }
10
+ }
11
+ };
12
+ var o = function() {
13
+ var e = this, s = e._self._c;
14
+ return s("div", { staticClass: "fms-more-lines-warp" }, [s("div", { staticClass: "fms-more-lines" }, [s("input", { staticClass: "fms-more-lines_exp", attrs: { id: "exp", type: "checkbox" } }), s("div", { staticClass: "fms-more-lines_text" }, [s("label", { staticClass: "fms-more-lines_btn", attrs: { for: "exp" } }), s("span", { domProps: { innerHTML: e._s(e.text) } })])])]);
15
+ }, i = [], l = /* @__PURE__ */ a(
16
+ r,
17
+ o,
18
+ i,
19
+ !1,
20
+ null,
21
+ "4a132135",
22
+ null,
23
+ null
24
+ );
25
+ const t = l.exports;
26
+ t.install = function(n) {
27
+ n.component(t.name, t);
28
+ };
29
+ export {
30
+ t as default
31
+ };
@@ -0,0 +1 @@
1
+ .fms-more-lines-warp[data-v-4a132135]{max-height:220px;overflow-y:auto}.fms-more-lines[data-v-4a132135]{display:flex;font-family:PingFang SC;font-weight:500;color:#03050d;font-size:12px;font-weight:400;line-height:18px}.fms-more-lines_text[data-v-4a132135]{overflow:hidden;text-overflow:ellipsis;text-align:justify;position:relative;line-height:1.5;max-height:36px;transition:.3s max-height;word-break:break-all}.fms-more-lines_text[data-v-4a132135]:before{content:"";height:calc(100% - 18px);float:right}.fms-more-lines_text[data-v-4a132135]:after{content:"";width:999vw;height:999vw;position:absolute;box-shadow:inset calc(100px - 999vw) calc(18px - 999vw) 0 0 #fff;margin-left:-100px}.fms-more-lines_btn[data-v-4a132135]{position:relative;float:right;clear:both;font-family:PingFang SC;font-weight:400;font-size:12px;line-height:18px;font-variation-settings:"opsz" auto;color:#7972fe;padding-left:18px;cursor:pointer}.fms-more-lines_btn[data-v-4a132135]:after{content:"\5c55\5f00"}.fms-more-lines_btn[data-v-4a132135]:before{content:"...";position:absolute;left:12px;color:#333;transform:translate(-100%)}.fms-more-lines_exp[data-v-4a132135]{display:none}.fms-more-lines_exp:checked+.fms-more-lines_text[data-v-4a132135]{max-height:none}.fms-more-lines_exp:checked+.fms-more-lines_text[data-v-4a132135]:after{visibility:hidden}.fms-more-lines_exp:checked+.fms-more-lines_text[data-v-4a132135]:before{height:calc(100% - 17px)}.fms-more-lines_exp:checked+.fms-more-lines_text .fms-more-lines_btn[data-v-4a132135]{padding-left:0}.fms-more-lines_exp:checked+.fms-more-lines_text .fms-more-lines_btn[data-v-4a132135]:before{visibility:hidden}.fms-more-lines_exp:checked+.fms-more-lines_text .fms-more-lines_btn[data-v-4a132135]:after{content:"\6536\8d77"}