@kp-ui/lowcode 1.0.29 → 1.0.30

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.
@@ -1,13 +1,13 @@
1
1
  if (typeof window !== "undefined") {
2
2
  let loadSvg = function() {
3
3
  var body = document.body;
4
- var svgDom = document.getElementById("__svg__icons__dom__1745576657427__");
4
+ var svgDom = document.getElementById("__svg__icons__dom__1745718985715__");
5
5
  if (!svgDom) {
6
6
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
7
7
  svgDom.style.position = "absolute";
8
8
  svgDom.style.width = "0";
9
9
  svgDom.style.height = "0";
10
- svgDom.id = "__svg__icons__dom__1745576657427__";
10
+ svgDom.id = "__svg__icons__dom__1745718985715__";
11
11
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
12
12
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
13
13
  }
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
1
  {
2
- "name": "@kp-ui/lowcode",
3
- "version": "1.0.29",
4
- "publishConfig": {
5
- "access": "public"
6
- },
7
- "main": "index.js",
8
- "module": "index.js",
9
- "types": "main.d.ts",
10
- "dependencies": {
11
- "@element-plus/icons-vue": "^0.2.4",
12
- "animate.css": "^4.1.1",
13
- "ant-design-vue": "3.2.20",
14
- "axios": "^1.3.5",
15
- "bpmn-js": "13.2.0",
16
- "clipboard": "^2.0.8",
17
- "core-js": "^3.6.5",
18
- "dayjs": "^1.11.10",
19
- "file-saver": "^2.0.5",
20
- "json-bigint": "^1.0.0",
21
- "lodash-es": "^4.17.21",
22
- "mitt": "^3.0.0",
23
- "query-string": "^9.1.1",
24
- "sortablejs": "1.14.0",
25
- "vue": "3.3.11",
26
- "vue3-quill": "^0.2.6"
27
- }
2
+ "name": "@kp-ui/lowcode",
3
+ "version": "1.0.30",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "main": "index.js",
8
+ "module": "index.js",
9
+ "types": "main.d.ts",
10
+ "dependencies": {
11
+ "@element-plus/icons-vue": "^0.2.4",
12
+ "animate.css": "^4.1.1",
13
+ "ant-design-vue": "3.2.20",
14
+ "axios": "^1.3.5",
15
+ "bpmn-js": "13.2.0",
16
+ "clipboard": "^2.0.8",
17
+ "core-js": "^3.6.5",
18
+ "dayjs": "^1.11.10",
19
+ "file-saver": "^2.0.5",
20
+ "json-bigint": "^1.0.0",
21
+ "lodash-es": "^4.17.21",
22
+ "mitt": "^3.0.0",
23
+ "query-string": "^9.1.1",
24
+ "sortablejs": "1.14.0",
25
+ "vue": "3.3.11",
26
+ "vue3-quill": "^0.2.6"
27
+ }
28
28
  }
@@ -23,8 +23,7 @@ function useCustomRender() {
23
23
  }
24
24
  }
25
25
  if (!component) {
26
- console.error(`Component ${componentName} not found in cache`);
27
- throw new Error(`Component ${componentName} not found`);
26
+ return h("span", "没有找到对应组件");
28
27
  }
29
28
  return component;
30
29
  };
@@ -5,9 +5,7 @@ import { vfDialog } from "./vf-dialog.js";
5
5
  import { vfCollapse } from "./vf-collapse.js";
6
6
  import { vfBox } from "./vf-box.js";
7
7
  import { tab } from "./tab.js";
8
- import "clipboard";
9
- import "lodash-es";
10
- import "../widgetsConfig.js";
8
+ import { tabPane } from "./tab-pane.js";
11
9
  import { gridSubForm, subForm } from "./grid-sub-form.js";
12
10
  export {
13
11
  dataTable,
@@ -16,6 +14,7 @@ export {
16
14
  gridSubForm,
17
15
  subForm,
18
16
  tab,
17
+ tabPane,
19
18
  vfBox,
20
19
  vfCollapse,
21
20
  vfDialog
@@ -0,0 +1,22 @@
1
+ import { getUuidKey } from "../../../../utils/util.js";
2
+ const tabPane = () => {
3
+ return {
4
+ key: getUuidKey(),
5
+ type: "tab-pane",
6
+ category: "container",
7
+ icon: "tab-pane",
8
+ internal: true,
9
+ widgetList: [],
10
+ options: {
11
+ name: "",
12
+ label: "",
13
+ hidden: false,
14
+ active: false,
15
+ disabled: false,
16
+ customClass: []
17
+ }
18
+ };
19
+ };
20
+ export {
21
+ tabPane
22
+ };