@weitutech/by-components-v3 1.1.12 → 1.1.14

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.
@@ -40,6 +40,7 @@ export interface ToolBarItemProps {
40
40
  width?: string;
41
41
  children?: string;
42
42
  innerHTML?: string;
43
+ onlyShowPlaceholder?: boolean;
43
44
  [key: string]: any;
44
45
  }
45
46
  export interface LoadedOptions {
@@ -0,0 +1,2 @@
1
+ declare const router: import("vue-router").Router;
2
+ export default router;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -1,7 +1,7 @@
1
- import { type IFormItems } from '../packages/form';
1
+ import { type IFormItems } from '../../../packages/form';
2
2
  export declare const searchFormItems: import("vue").Ref<{
3
3
  id?: number | string;
4
- type: import("../packages/form").TFormItemType;
4
+ type: import("../../../packages/form").TFormItemType;
5
5
  field?: string;
6
6
  startTimeField?: string;
7
7
  endTimeField?: string;
@@ -49,7 +49,7 @@ export declare const searchFormItems: import("vue").Ref<{
49
49
  readonly size?: "" | "small" | "default" | "large";
50
50
  }[], IFormItems[] | {
51
51
  id?: number | string;
52
- type: import("../packages/form").TFormItemType;
52
+ type: import("../../../packages/form").TFormItemType;
53
53
  field?: string;
54
54
  startTimeField?: string;
55
55
  endTimeField?: string;
@@ -126,7 +126,7 @@ export declare const formConfig: import("vue").Ref<{
126
126
  };
127
127
  formItems: {
128
128
  id?: number | string;
129
- type: import("../packages/form").TFormItemType;
129
+ type: import("../../../packages/form").TFormItemType;
130
130
  field?: string;
131
131
  startTimeField?: string;
132
132
  endTimeField?: string;
@@ -203,7 +203,7 @@ export declare const formConfig: import("vue").Ref<{
203
203
  };
204
204
  formItems: {
205
205
  id?: number | string;
206
- type: import("../packages/form").TFormItemType;
206
+ type: import("../../../packages/form").TFormItemType;
207
207
  field?: string;
208
208
  startTimeField?: string;
209
209
  endTimeField?: string;
@@ -280,7 +280,7 @@ export declare const formConfig: import("vue").Ref<{
280
280
  };
281
281
  formItems: {
282
282
  id?: number | string;
283
- type: import("../packages/form").TFormItemType;
283
+ type: import("../../../packages/form").TFormItemType;
284
284
  field?: string;
285
285
  startTimeField?: string;
286
286
  endTimeField?: string;
@@ -722,7 +722,7 @@ export declare const gridOptions: import("vue").Ref<{
722
722
  }>;
723
723
  export declare const dialogFormItems: import("vue").Ref<{
724
724
  id?: number | string;
725
- type: import("../packages/form").TFormItemType;
725
+ type: import("../../../packages/form").TFormItemType;
726
726
  field?: string;
727
727
  startTimeField?: string;
728
728
  endTimeField?: string;
@@ -770,7 +770,7 @@ export declare const dialogFormItems: import("vue").Ref<{
770
770
  readonly size?: "" | "small" | "default" | "large";
771
771
  }[], IFormItems[] | {
772
772
  id?: number | string;
773
- type: import("../packages/form").TFormItemType;
773
+ type: import("../../../packages/form").TFormItemType;
774
774
  field?: string;
775
775
  startTimeField?: string;
776
776
  endTimeField?: string;
@@ -1,4 +1,4 @@
1
- import { ToolBarItemType, type ToolBarItem } from '../packages/tool-bar/ToolBarType';
1
+ import { ToolBarItemType, type ToolBarItem } from '../../../packages/tool-bar/ToolBarType';
2
2
  export declare const toolBarItems: import("vue").Ref<{
3
3
  type?: ToolBarItemType;
4
4
  name?: string;
@@ -15,7 +15,7 @@ export declare const toolBarItems: import("vue").Ref<{
15
15
  label: string;
16
16
  value: any;
17
17
  }[];
18
- loadOptions?: () => Promise<import("../packages/tool-bar/ToolBarType").ToolBarItemOption[]>;
18
+ loadOptions?: () => Promise<import("../../../packages/tool-bar/ToolBarType").ToolBarItemOption[]>;
19
19
  icon?: string;
20
20
  fontSize?: string;
21
21
  color?: string;
@@ -23,6 +23,7 @@ export declare const toolBarItems: import("vue").Ref<{
23
23
  width?: string;
24
24
  children?: string;
25
25
  innerHTML?: string;
26
+ onlyShowPlaceholder?: boolean;
26
27
  };
27
28
  radios?: {
28
29
  label: string;
@@ -48,7 +49,7 @@ export declare const toolBarItems: import("vue").Ref<{
48
49
  label: string;
49
50
  value: any;
50
51
  }[];
51
- loadOptions?: () => Promise<import("../packages/tool-bar/ToolBarType").ToolBarItemOption[]>;
52
+ loadOptions?: () => Promise<import("../../../packages/tool-bar/ToolBarType").ToolBarItemOption[]>;
52
53
  icon?: string;
53
54
  fontSize?: string;
54
55
  color?: string;
@@ -56,6 +57,7 @@ export declare const toolBarItems: import("vue").Ref<{
56
57
  width?: string;
57
58
  children?: string;
58
59
  innerHTML?: string;
60
+ onlyShowPlaceholder?: boolean;
59
61
  };
60
62
  radios?: {
61
63
  label: string;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@weitutech/by-components-v3",
4
- "version": "1.1.12",
4
+ "version": "1.1.14",
5
5
  "private": false,
6
6
  "main": "/src/main.ts",
7
7
  "module": "./dist/by-components-v3.js",
@@ -33,6 +33,7 @@
33
33
  "path": "^0.12.7",
34
34
  "vue": "^3.5.13",
35
35
  "vue-draggable-plus": "^0.6.0",
36
+ "vue-router": "^4.5.1",
36
37
  "vxe-pc-ui": "^4.3.75",
37
38
  "vxe-table": "^4.10.5"
38
39
  },
@@ -49,14 +50,14 @@
49
50
  "eslint-plugin-vue": "^9.30.0",
50
51
  "npm-run-all2": "^7.0.2",
51
52
  "prettier": "^3.3.3",
53
+ "rimraf": "^5.0.5",
52
54
  "sass-embedded": "^1.83.4",
53
55
  "terser": "^5.37.0",
54
56
  "typescript": "~5.6.3",
55
57
  "typescript-vue-plugin": "^1.8.27",
56
58
  "vite": "^6.0.5",
57
59
  "vite-plugin-vue-devtools": "^7.6.8",
58
- "vue-tsc": "^2.1.10",
59
60
  "vitepress": "^1.0.0-rc.44",
60
- "rimraf": "^5.0.5"
61
+ "vue-tsc": "^2.1.10"
61
62
  }
62
63
  }
package/src/main.ts CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  import { createApp } from 'vue'
4
4
  import App from './App.vue'
5
+ import router from './router/index'
5
6
 
6
7
  import ByComponentsV3 from '../packages/index'
7
8
  // import ByComponentsV3, { components } from '../dist/by-component-v3.es'
@@ -33,4 +34,5 @@ app
33
34
  .use(ByComponentsV3)
34
35
  .use(VxeUI)
35
36
  .use(VxeUITable)
37
+ .use(router)
36
38
  app.mount('#app')