@web-utils/component 2.15.0 → 2.20.0

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/chat/index.mjs CHANGED
@@ -74,7 +74,7 @@ var u = function() {
74
74
  innerHTML: t._s(t.handleDetail(i.text.text))
75
75
  }
76
76
  }), i.text.list ? t._e() : e("ul", {
77
- staticClass: " web__main-list"
77
+ staticClass: "web__main-list"
78
78
  }, t._l(i.text.list, function(s, n) {
79
79
  return e("li", {
80
80
  key: n,
@@ -1,6 +1,6 @@
1
1
  import "overlayscrollbars/overlayscrollbars.css";
2
2
  import { OverlayScrollbars as r } from "overlayscrollbars";
3
- import c from "lodash-es";
3
+ import { defaults as c } from "lodash-es";
4
4
  import { n as a } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
5
5
  var h = function() {
6
6
  var t = this, e = t.$createElement, o = t._self._c || e;
@@ -94,22 +94,22 @@ const u = {
94
94
  }
95
95
  }
96
96
  }, n = {};
97
- var v = /* @__PURE__ */ a(
97
+ var d = /* @__PURE__ */ a(
98
98
  u,
99
99
  h,
100
100
  p,
101
101
  !1,
102
- d,
102
+ v,
103
103
  null,
104
104
  null,
105
105
  null
106
106
  );
107
- function d(t) {
107
+ function v(t) {
108
108
  for (let e in n)
109
109
  this[e] = n[e];
110
110
  }
111
111
  const g = /* @__PURE__ */ function() {
112
- return v.exports;
112
+ return d.exports;
113
113
  }();
114
114
  export {
115
115
  g as default
package/fy-curd/index.mjs CHANGED
@@ -660,7 +660,7 @@ var de = function() {
660
660
  size: e.crud.isMediumSize,
661
661
  label: e.handleDetail(r, e.column)
662
662
  }) : [["img", "upload"].includes(e.column.type) ? n("span", {
663
- staticClass: "avue-crud__img "
663
+ staticClass: "avue-crud__img"
664
664
  }, [e._l(e.getImgList(r, e.column), function(s, l) {
665
665
  return [e.isMediaType(s, e.column.fileType) ? n(e.isMediaType(s, e.column.fileType), {
666
666
  key: l,
@@ -5784,44 +5784,44 @@ const Ya = {
5784
5784
  let { props: d } = this.data;
5785
5785
  d || (d = { label: "label", value: "value" });
5786
5786
  const { value: f } = d, te = `(res, cb) => {
5787
- let { page, value, data } = res
5788
- if (!page) page = { currentPage: 1, pageSize: 10 }
5789
- const { currentPage, pageSize } = page
5790
- let params = { ...data, ${i || "current"}: currentPage, ${s || "page"}: pageSize }
5787
+ let { page, value, data } = res
5788
+ if (!page) page = { currentPage: 1, pageSize: 10 }
5789
+ const { currentPage, pageSize } = page
5790
+ let params = { ...data, ${i || "current"}: currentPage, ${s || "page"}: pageSize }
5791
5791
 
5792
- if (value) params['${f}'] = value
5792
+ if (value) params['${f}'] = value
5793
5793
 
5794
- if ('${t || "get"}' == 'get') params = { params: { ...params } }
5794
+ if ('${t || "get"}' == 'get') params = { params: { ...params } }
5795
5795
 
5796
- this.$axios['${t}']('${l}', params).then(res => {
5797
- const response = this.getAsVal(res, '${n || "data.data"}')
5798
- if (!response) this.$message.error('未查询到数据或者返回层级配置错误')
5796
+ this.$axios['${t}']('${l}', params).then(res => {
5797
+ const response = this.getAsVal(res, '${n || "data.data"}')
5798
+ if (!response) this.$message.error('未查询到数据或者返回层级配置错误')
5799
5799
 
5800
- let result = {}
5801
- if (${a}) {
5802
- const total = this.getAsVal(response, '${o || "total"}')
5803
- if (total || total == 0) {
5804
- result.total = total
5805
- } else {
5806
- this.$message.error('总条数配置错误')
5807
- return
5808
- }
5809
- const records = this.getAsVal(response, '${r || "records"}')
5810
- if (records) {
5811
- result.data = records
5812
- } else {
5813
- this.$message.error('列表配置错误')
5814
- return
5815
- }
5816
- } else result = { total: response.length, data: response }
5800
+ let result = {}
5801
+ if (${a}) {
5802
+ const total = this.getAsVal(response, '${o || "total"}')
5803
+ if (total || total == 0) {
5804
+ result.total = total
5805
+ } else {
5806
+ this.$message.error('总条数配置错误')
5807
+ return
5808
+ }
5809
+ const records = this.getAsVal(response, '${r || "records"}')
5810
+ if (records) {
5811
+ result.data = records
5812
+ } else {
5813
+ this.$message.error('列表配置错误')
5814
+ return
5815
+ }
5816
+ } else result = { total: response.length, data: response }
5817
5817
 
5818
- if (value) {
5819
- const records = result.data
5820
- if (records && records.length > 0) cb(records[0])
5821
- else this.$message.error('根据${f}: ' + value + ' 查询不到结果')
5822
- } else cb(result)
5823
- })
5824
- }`;
5818
+ if (value) {
5819
+ const records = result.data
5820
+ if (records && records.length > 0) cb(records[0])
5821
+ else this.$message.error('根据${f}: ' + value + ' 查询不到结果')
5822
+ } else cb(result)
5823
+ })
5824
+ }`;
5825
5825
  this.onLoad = te;
5826
5826
  }
5827
5827
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-utils/component",
3
3
  "description": "Web Components",
4
- "version": "2.15.0",
4
+ "version": "2.20.0",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -20,6 +20,37 @@
20
20
  "*.sass"
21
21
  ],
22
22
  "dependencies": {
23
- "lodash-es": "^4.17.21"
23
+ "@tinymce/tinymce-vue": "3.2.8",
24
+ "@wangeditor/editor": "^5.1.23",
25
+ "@wangeditor/editor-for-vue": "^1.0.2",
26
+ "@web-utils/core": "^2.2.1",
27
+ "@web-utils/integrations": "^2.2.1",
28
+ "@web-utils/vue": "^2.2.1",
29
+ "bpmn-js": "^14.1.1",
30
+ "bpmn-js-token-simulation": "^0.31.1",
31
+ "codemirror": "^5.65.15",
32
+ "core-js": "^3.33.0",
33
+ "countup.js": "^2.8.0",
34
+ "dayjs": "^1.11.10",
35
+ "diagram-js": "12.5.0",
36
+ "echarts": "^5.4.3",
37
+ "highlight.js": "^11.9.0",
38
+ "lodash-es": "^4.17.21",
39
+ "min-dash": "^4.1.1",
40
+ "min-dom": "^4.1.0",
41
+ "monaco-editor": "^0.44.0",
42
+ "overlayscrollbars": "^2.4.1",
43
+ "photoswipe": "^5.4.2",
44
+ "qrcode": "^1.5.3",
45
+ "quill": "^1.3.7",
46
+ "resize-detector": "^0.3.0",
47
+ "simple-uploader.js": "^0.6.0",
48
+ "tiny-svg": "^3.0.1",
49
+ "tinymce": "4.9.11",
50
+ "video.js": "^8.6.0",
51
+ "viewerjs": "^1.11.6",
52
+ "vue-cropper": "^0.6.4",
53
+ "vuedraggable": "^2.24.3",
54
+ "x2js": "^3.4.4"
24
55
  }
25
56
  }