@arronqzy/abuilder-vue 0.1.16 → 0.1.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arronqzy/abuilder-vue",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "Abuilder Vue 3 可视化编辑器入口包",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -14,8 +14,8 @@
14
14
  "dependencies": {
15
15
  "ant-design-vue": "^4.2.6",
16
16
  "vue": "^3.5.13",
17
- "@arronqzy/i18n": "0.1.12",
18
- "@arronqzy/vue-view": "0.1.18"
17
+ "@arronqzy/i18n": "0.1.14",
18
+ "@arronqzy/vue-view": "0.1.20"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "vue": "^3.4.0"
@@ -25,8 +25,8 @@
25
25
  "eslint": "^8.57.0",
26
26
  "typescript": "^5.5.4",
27
27
  "vue-tsc": "^2.2.0",
28
- "@arronqzy/typescript-config": "1.0.0",
29
- "@arronqzy/eslint-config": "0.0.0"
28
+ "@arronqzy/eslint-config": "0.0.0",
29
+ "@arronqzy/typescript-config": "1.0.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
package/src/App.vue CHANGED
@@ -11,6 +11,7 @@ import {
11
11
  import { provideI18n } from "@arronqzy/i18n/vue";
12
12
  import { isLocale, LOCALE_STORAGE_KEY } from "@arronqzy/i18n";
13
13
  import type { AbuilderVueAppProps } from "./types";
14
+ import { ABUILDER_VUE_PACKAGE_NAME, ABUILDER_VUE_VERSION } from "./version";
14
15
 
15
16
  const props = withDefaults(defineProps<AbuilderVueAppProps>(), {
16
17
  initialZoom: 1,
@@ -75,6 +76,8 @@ const antdLocale = computed(() =>
75
76
  :initial-zoom="props.initialZoom"
76
77
  :name-space="props.nameSpace"
77
78
  :initial-workspace="props.initialWorkspace"
79
+ :package-name="ABUILDER_VUE_PACKAGE_NAME"
80
+ :package-version="ABUILDER_VUE_VERSION"
78
81
  />
79
82
  </ConfigProvider>
80
83
  </template>
package/src/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export { default as App } from "./App.vue";
2
2
  export type { AbuilderVueAppProps, WorkspaceProjectRecord } from "./types";
3
+ export { ABUILDER_VUE_PACKAGE_NAME, ABUILDER_VUE_VERSION } from "./version";
3
4
  export type { Locale } from "@arronqzy/i18n";
4
5
 
5
6
  export {
package/src/version.ts ADDED
@@ -0,0 +1,3 @@
1
+ /** 与 packages/abuilder-vue/package.json 保持同步。 */
2
+ export const ABUILDER_VUE_PACKAGE_NAME = "@arronqzy/abuilder-vue";
3
+ export const ABUILDER_VUE_VERSION = "0.1.18";