@gct-paas/core-web 0.1.5-dev.4 → 0.1.5-dev.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 (77) hide show
  1. package/dist/_plugin-vue_export-helper-4vvM2fiX.js +1 -0
  2. package/dist/icon-next-picker-CShmDJI0.js +1 -0
  3. package/dist/index.min.css +1 -1
  4. package/dist/loader.esm.min.js +1 -1
  5. package/dist/monaco-editor-B8f_I6sY.js +1 -0
  6. package/dist/overlayscrollbars-vue-B2LfyB-V.js +1 -0
  7. package/es/components/UserPick/src/user-pick.vue_vue_type_script_setup_true_lang.mjs +2 -2
  8. package/es/components/base-button/base-button.vue.mjs +1 -1
  9. package/es/components/field-upload/src/components/base-upload.vue.mjs +2 -2
  10. package/es/components/field-upload/src/components/base-upload.vue_vue_type_script_name_baseUpload_setup_true_lang.mjs +4 -3
  11. package/es/components/field-upload/src/components/{base-upload.vue_vue_type_style_index_0_scoped_f53b6ac6_lang.css → base-upload.vue_vue_type_style_index_0_scoped_65872e0a_lang.css} +18 -18
  12. package/es/components/field-upload/src/components/file-list.vue.mjs +2 -2
  13. package/es/components/field-upload/src/components/file-list.vue_vue_type_script_setup_true_name_fileList_lang.mjs +2 -2
  14. package/es/components/field-upload/src/components/{file-list.vue_vue_type_style_index_0_scoped_3918aad0_lang.css → file-list.vue_vue_type_style_index_0_scoped_543b5221_lang.css} +25 -25
  15. package/es/components/field-upload/src/components/upload-design.vue.mjs +2 -2
  16. package/es/components/field-upload/src/components/upload-design.vue_vue_type_script_name_UploadDesign_setup_true_lang.mjs +4 -3
  17. package/es/components/field-upload/src/components/{upload-design.vue_vue_type_style_index_0_scoped_1e5189c1_lang.css → upload-design.vue_vue_type_style_index_0_scoped_5fd18cf8_lang.css} +10 -10
  18. package/es/components/icon-next-picker/icon-next-picker.vue.mjs +6 -0
  19. package/es/components/{icon-next/src/IconNextPicker.vue_vue_type_script_setup_true_name_IconNextPicker_lang.mjs → icon-next-picker/icon-next-picker.vue_vue_type_script_setup_true_name_IconNextPicker_lang.mjs} +7 -11
  20. package/es/components/image-upload/index.mjs +1 -1
  21. package/es/components/index.d.ts +1 -5
  22. package/es/components/index.mjs +2 -11
  23. package/es/create-app-vue.mjs +5 -3
  24. package/es/index.mjs +35 -39
  25. package/es/modules/color-picker/src/ColorPicker.vue.mjs +1 -1
  26. package/es/modules/formula-editor/formula-editor.mjs +1 -2
  27. package/es/setup-app.d.ts +2 -1
  28. package/es/setup-app.mjs +1 -3
  29. package/package.json +7 -5
  30. package/dist/monaco-editor-BSzX1Bsh.js +0 -1
  31. package/dist/useMonacoEditor-BCTpu3UR.js +0 -1
  32. package/es/components/assets-svg-icon/assets-svg-icon.css +0 -188
  33. package/es/components/assets-svg-icon/assets-svg-icon.d.ts +0 -134
  34. package/es/components/assets-svg-icon/assets-svg-icon.mjs +0 -167
  35. package/es/components/assets-svg-icon/request.d.ts +0 -2
  36. package/es/components/assets-svg-icon/request.mjs +0 -68
  37. package/es/components/assets-svg-icon/utils.d.ts +0 -9
  38. package/es/components/assets-svg-icon/utils.mjs +0 -23
  39. package/es/components/assets-svg-icon/validate.d.ts +0 -4
  40. package/es/components/assets-svg-icon/validate.mjs +0 -29
  41. package/es/components/icon-next/data/icons.data.d.ts +0 -5
  42. package/es/components/icon-next/hooks/useIconAsset.d.ts +0 -16
  43. package/es/components/icon-next/hooks/useIconAsset.mjs +0 -36
  44. package/es/components/icon-next/hooks/useIconPark.d.ts +0 -16
  45. package/es/components/icon-next/hooks/useIconPark.mjs +0 -52
  46. package/es/components/icon-next/hooks/useIconPlatform.d.ts +0 -8
  47. package/es/components/icon-next/hooks/useIconPlatform.mjs +0 -43
  48. package/es/components/icon-next/index.d.ts +0 -3
  49. package/es/components/icon-next/index.mjs +0 -3
  50. package/es/components/icon-next/src/IconNext.vue.d.ts +0 -40
  51. package/es/components/icon-next/src/IconNext.vue.mjs +0 -7
  52. package/es/components/icon-next/src/IconNext.vue_vue_type_script_setup_true_name_IconNext_lang.mjs +0 -113
  53. package/es/components/icon-next/src/IconNext.vue_vue_type_style_index_0_scoped_360a87c9_lang.css +0 -18
  54. package/es/components/icon-next/src/IconNextPicker.vue.mjs +0 -6
  55. package/es/components/icon-next/types/index.d.ts +0 -17
  56. package/es/components/icon-next/types/index.mjs +0 -11
  57. package/es/components/svg-icon/svg-icon.vue.d.ts +0 -40
  58. package/es/components/svg-icon/svg-icon.vue.mjs +0 -6
  59. package/es/components/svg-icon/svg-icon.vue_vue_type_script_setup_true_name_SvgIcon_lang.mjs +0 -52
  60. package/es/components/svg-icon/svg-icon.vue_vue_type_style_index_0_lang.css +0 -73
  61. package/es/components/wujie-container/wujie-container.css +0 -74
  62. package/es/components/wujie-container/wujie-container.d.ts +0 -11
  63. package/es/components/wujie-container/wujie-container.mjs +0 -61
  64. /package/dist/{cropper-DyP6CFER.js → cropper-DPh9NaIi.js} +0 -0
  65. /package/dist/{de_DE-DIDpd1gQ.js → de_DE-BY1He8Sf.js} +0 -0
  66. /package/dist/{en_US-BaP-b1tP.js → en_US-CuX-vrWy.js} +0 -0
  67. /package/dist/{es_ES-NOVlNQnw.js → es_ES-BqHRjpc9.js} +0 -0
  68. /package/dist/{fr_FR-Bk_x0L7S.js → fr_FR-C4TFcMTv.js} +0 -0
  69. /package/dist/{ja_JP-CeseBQS9.js → ja_JP-CgXnA74i.js} +0 -0
  70. /package/dist/{pt_PT-DFlFmzXZ.js → pt_PT-C0ALlHDr.js} +0 -0
  71. /package/dist/{ru_RU-C5XPaRfl.js → ru_RU-D39vUeFW.js} +0 -0
  72. /package/dist/{tr_TR-CODhj5X1.js → tr_TR-Cm3P61iH.js} +0 -0
  73. /package/dist/{vi_VN-BjwID8XV.js → vi_VN-BZ_iPKuE.js} +0 -0
  74. /package/dist/{zh_CN-BKmwBYsr.js → zh_CN-DY_wA21D.js} +0 -0
  75. /package/dist/{zh_TW-BSGEo2Qx.js → zh_TW-A1Y7MG2g.js} +0 -0
  76. /package/es/components/{icon-next/src/IconNextPicker.vue.d.ts → icon-next-picker/icon-next-picker.vue.d.ts} +0 -0
  77. /package/es/components/{icon-next/src/IconNextPicker.vue_vue_type_style_index_0_lang.css → icon-next-picker/icon-next-picker.vue_vue_type_style_index_0_lang.css} +0 -0
@@ -1,113 +0,0 @@
1
- import svg_icon_default from "../../svg-icon/svg-icon.vue.mjs";
2
- import { IconNamespaceEnum } from "../types/index.mjs";
3
- import { computed, createBlock, createElementBlock, defineComponent, normalizeClass, normalizeStyle, openBlock, unref } from "vue";
4
- import { VITE_MINIO_PATH } from "@gct-paas/core";
5
- import { IconPark } from "@icon-park/vue-next/es/all";
6
- //#region src/components/icon-next/src/IconNext.vue?vue&type=script&setup=true&name=IconNext&lang.ts
7
- var IconNext_vue_vue_type_script_setup_true_name_IconNext_lang_default = /* @__PURE__ */ defineComponent({
8
- __name: "IconNext",
9
- props: {
10
- value: {
11
- type: [String, Object],
12
- required: true
13
- },
14
- color: {
15
- type: String,
16
- default: "#FFFFFF"
17
- },
18
- background: {
19
- type: String,
20
- default: "transparent"
21
- },
22
- size: {
23
- type: Number,
24
- default: 24
25
- }
26
- },
27
- setup(__props) {
28
- function fileUrlParser(url) {
29
- if (!url) return url;
30
- return `${VITE_MINIO_PATH}${url.startsWith("/") ? "" : "/"}${url}`;
31
- }
32
- const props = __props;
33
- /**
34
- * 图标命名空间
35
- */
36
- const namespace = computed(() => {
37
- const value = props.value;
38
- if (!value) return void 0;
39
- if (value.includes(":")) return value.split(":")[0];
40
- else if (value.startsWith("preset-")) return IconNamespaceEnum.Preset;
41
- });
42
- /**
43
- * 图标实际名称
44
- */
45
- const iconName = computed(() => {
46
- const value = props.value;
47
- if (!value) return void 0;
48
- if (value.includes(":")) return value.split(":")[1];
49
- return props.value;
50
- });
51
- const iconBgImage = computed(() => {
52
- return `url('${fileUrlParser(iconName.value)}')`;
53
- });
54
- return (_ctx, _cache) => {
55
- return namespace.value === unref(IconNamespaceEnum).IconPark ? (openBlock(), createBlock(unref(IconPark), {
56
- key: `${iconName.value}-${__props.size}`,
57
- type: iconName.value,
58
- style: normalizeStyle({
59
- "--color": __props.color,
60
- "--bg-color": __props.background
61
- }),
62
- class: "icon-next",
63
- size: __props.size
64
- }, null, 8, [
65
- "type",
66
- "style",
67
- "size"
68
- ])) : namespace.value === unref(IconNamespaceEnum).Preset || namespace.value === unref(IconNamespaceEnum).Platform ? (openBlock(), createBlock(svg_icon_default, {
69
- key: 1,
70
- name: iconName.value,
71
- style: normalizeStyle({
72
- "--color": __props.color,
73
- "--bg-color": __props.background
74
- }),
75
- class: "icon-next",
76
- size: __props.size
77
- }, null, 8, [
78
- "name",
79
- "style",
80
- "size"
81
- ])) : namespace.value === unref(IconNamespaceEnum).Asset ? (openBlock(), createElementBlock("i", {
82
- key: 2,
83
- class: "icon-next",
84
- style: normalizeStyle({
85
- "--size": __props.size + "px",
86
- "--bg-image": iconBgImage.value
87
- })
88
- }, null, 4)) : namespace.value === unref(IconNamespaceEnum).GctIconFont ? (openBlock(), createElementBlock("i", {
89
- key: 3,
90
- class: normalizeClass([`gct-iconfont ${iconName.value}`, "icon-next"]),
91
- style: normalizeStyle({
92
- fontSize: __props.size + "px",
93
- lineHeight: 1,
94
- "--color": __props.color,
95
- "--bg-color": __props.background,
96
- "--size": __props.size + "px"
97
- })
98
- }, null, 6)) : (openBlock(), createElementBlock("i", {
99
- key: 4,
100
- class: normalizeClass([`iconfont ${iconName.value}`, "icon-next"]),
101
- style: normalizeStyle({
102
- fontSize: __props.size + "px",
103
- lineHeight: 1,
104
- "--color": __props.color,
105
- "--bg-color": __props.background,
106
- "--size": __props.size + "px"
107
- })
108
- }, null, 6));
109
- };
110
- }
111
- });
112
- //#endregion
113
- export { IconNext_vue_vue_type_script_setup_true_name_IconNext_lang_default as default };
@@ -1,18 +0,0 @@
1
- .icon-next[data-v-360a87c9] {
2
- display: inline-flex;
3
- align-items: center;
4
- color: var(--color);
5
- background-color: var(--bg-color);
6
- transition: all 0.3s;
7
- }
8
- .icon-next > svg[data-v-360a87c9] {
9
- transform: translateY(1px);
10
- }
11
- i.icon-next[data-v-360a87c9] {
12
- height: var(--size);
13
- width: var(--size);
14
- background-image: var(--bg-image);
15
- background-size: contain;
16
- background-position: center;
17
- background-repeat: no-repeat;
18
- }
@@ -1,6 +0,0 @@
1
- import IconNextPicker_vue_vue_type_script_setup_true_name_IconNextPicker_lang_default from "./IconNextPicker.vue_vue_type_script_setup_true_name_IconNextPicker_lang.mjs";
2
- import './IconNextPicker.vue_vue_type_style_index_0_lang.css';/* empty css */
3
- //#region src/components/icon-next/src/IconNextPicker.vue
4
- var IconNextPicker_default = IconNextPicker_vue_vue_type_script_setup_true_name_IconNextPicker_lang_default;
5
- //#endregion
6
- export { IconNextPicker_default as default };
@@ -1,17 +0,0 @@
1
- export interface ICategory {
2
- id: string;
3
- name: string;
4
- icons?: {
5
- id: string;
6
- name: string;
7
- _filter_: string[];
8
- }[];
9
- children?: ICategory[];
10
- }
11
- export declare enum IconNamespaceEnum {
12
- Preset = "icon-preset",
13
- IconPark = "icon-park",
14
- Asset = "icon-assert",
15
- Platform = "icon-platform",
16
- GctIconFont = "gct-iconfont"
17
- }
@@ -1,11 +0,0 @@
1
- //#region src/components/icon-next/types/index.ts
2
- var IconNamespaceEnum = /* @__PURE__ */ function(IconNamespaceEnum) {
3
- IconNamespaceEnum["Preset"] = "icon-preset";
4
- IconNamespaceEnum["IconPark"] = "icon-park";
5
- IconNamespaceEnum["Asset"] = "icon-assert";
6
- IconNamespaceEnum["Platform"] = "icon-platform";
7
- IconNamespaceEnum["GctIconFont"] = "gct-iconfont";
8
- return IconNamespaceEnum;
9
- }({});
10
- //#endregion
11
- export { IconNamespaceEnum };
@@ -1,40 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- prefix: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- name: {
7
- type: StringConstructor;
8
- required: true;
9
- };
10
- size: {
11
- type: (NumberConstructor | StringConstructor)[];
12
- default: number;
13
- };
14
- spin: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
19
- prefix: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- name: {
24
- type: StringConstructor;
25
- required: true;
26
- };
27
- size: {
28
- type: (NumberConstructor | StringConstructor)[];
29
- default: number;
30
- };
31
- spin: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- }>> & Readonly<{}>, {
36
- prefix: string;
37
- size: string | number;
38
- spin: boolean;
39
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
40
- export default _default;
@@ -1,6 +0,0 @@
1
- import svg_icon_vue_vue_type_script_setup_true_name_SvgIcon_lang_default from "./svg-icon.vue_vue_type_script_setup_true_name_SvgIcon_lang.mjs";
2
- import './svg-icon.vue_vue_type_style_index_0_lang.css';/* empty css */
3
- //#region src/components/svg-icon/svg-icon.vue
4
- var svg_icon_default = svg_icon_vue_vue_type_script_setup_true_name_SvgIcon_lang_default;
5
- //#endregion
6
- export { svg_icon_default as default };
@@ -1,52 +0,0 @@
1
- import { computed, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, unref } from "vue";
2
- import { useNamespace } from "@gct-paas/core";
3
- //#region src/components/svg-icon/svg-icon.vue?vue&type=script&setup=true&name=SvgIcon&lang.ts
4
- var _hoisted_1 = ["xlink:href"];
5
- var svg_icon_vue_vue_type_script_setup_true_name_SvgIcon_lang_default = /* @__PURE__ */ defineComponent({
6
- __name: "svg-icon",
7
- props: {
8
- prefix: {
9
- type: String,
10
- default: "icon"
11
- },
12
- name: {
13
- type: String,
14
- required: true
15
- },
16
- size: {
17
- type: [Number, String],
18
- default: 16
19
- },
20
- spin: {
21
- type: Boolean,
22
- default: false
23
- }
24
- },
25
- setup(__props) {
26
- const ns = useNamespace("svg-icon");
27
- const props = __props;
28
- const symbolId = computed(() => `#${props.prefix}-${props.name}`);
29
- const getStyle = computed(() => {
30
- const { size } = props;
31
- let s = `${size}`;
32
- s = `${s.replace("px", "")}px`;
33
- return {
34
- width: s,
35
- height: s
36
- };
37
- });
38
- return (_ctx, _cache) => {
39
- return openBlock(), createElementBlock("svg", {
40
- class: normalizeClass([
41
- _ctx.$attrs.class,
42
- unref(ns).b(),
43
- __props.spin && unref(ns).m("spin")
44
- ]),
45
- style: normalizeStyle(getStyle.value),
46
- "aria-hidden": "true"
47
- }, [createElementVNode("use", { "xlink:href": symbolId.value }, null, 8, _hoisted_1)], 6);
48
- };
49
- }
50
- });
51
- //#endregion
52
- export { svg_icon_vue_vue_type_script_setup_true_name_SvgIcon_lang_default as default };
@@ -1,73 +0,0 @@
1
- @charset "UTF-8";
2
- /* stylelint-disable scss/no-global-function-names */
3
- /* bem('block', 'element', 'modifier') => 'ibiz-block__element--modifier' */
4
- /**
5
- * 定义 Block 块
6
- * @param {String} $block - Block 块名称
7
- * @example
8
- * @include b('button') {
9
- * padding: 10px;
10
- * }
11
- */
12
- /**
13
- * 定义 Element 元素
14
- * @param {String|List} $element - Element 元素名称,支持单个或多个
15
- * @example
16
- * @include b('button') {
17
- * @include e('text') {
18
- * color: #000;
19
- * }
20
- * }
21
- * // 或传入多个元素
22
- * @include b('button') {
23
- * @include e(('text', 'icon')) {
24
- * margin: 5px;
25
- * }
26
- * }
27
- */
28
- /**
29
- * 定义 Modifier 修饰符
30
- * @param {String|List} $modifier - Modifier 修饰符名称,支持单个或多个
31
- * @example
32
- * @include b('button') {
33
- * @include m('primary') {
34
- * background: blue;
35
- * }
36
- * }
37
- * // 或传入多个修饰符
38
- * @include b('button') {
39
- * @include m(('primary', 'large')) {
40
- * background: blue;
41
- * font-size: 16px;
42
- * }
43
- * }
44
- */
45
- /**
46
- * 定义状态选择器
47
- * @param {String} $state - 状态名称
48
- * @example
49
- * @include b('button') {
50
- * @include when('disabled') {
51
- * opacity: 0.5;
52
- * }
53
- * }
54
- */
55
- /**
56
- * 深色主题样式
57
- * @param {String} $block - Block 块名称
58
- * @example
59
- * @include dark('button') {
60
- * background: #333;
61
- * color: #fff;
62
- * }
63
- */
64
- /* stylelint-disable scss/no-global-function-names */
65
- .gct-svg-icon {
66
- display: inline-block;
67
- overflow: hidden;
68
- fill: currentcolor;
69
- vertical-align: -0.15em;
70
- }
71
- .gct-svg-icon--spin {
72
- animation: loadingCircle 1s infinite linear;
73
- }
@@ -1,74 +0,0 @@
1
- @charset "UTF-8";
2
- /* stylelint-disable scss/no-global-function-names */
3
- /* bem('block', 'element', 'modifier') => 'ibiz-block__element--modifier' */
4
- /**
5
- * 定义 Block 块
6
- * @param {String} $block - Block 块名称
7
- * @example
8
- * @include b('button') {
9
- * padding: 10px;
10
- * }
11
- */
12
- /**
13
- * 定义 Element 元素
14
- * @param {String|List} $element - Element 元素名称,支持单个或多个
15
- * @example
16
- * @include b('button') {
17
- * @include e('text') {
18
- * color: #000;
19
- * }
20
- * }
21
- * // 或传入多个元素
22
- * @include b('button') {
23
- * @include e(('text', 'icon')) {
24
- * margin: 5px;
25
- * }
26
- * }
27
- */
28
- /**
29
- * 定义 Modifier 修饰符
30
- * @param {String|List} $modifier - Modifier 修饰符名称,支持单个或多个
31
- * @example
32
- * @include b('button') {
33
- * @include m('primary') {
34
- * background: blue;
35
- * }
36
- * }
37
- * // 或传入多个修饰符
38
- * @include b('button') {
39
- * @include m(('primary', 'large')) {
40
- * background: blue;
41
- * font-size: 16px;
42
- * }
43
- * }
44
- */
45
- /**
46
- * 定义状态选择器
47
- * @param {String} $state - 状态名称
48
- * @example
49
- * @include b('button') {
50
- * @include when('disabled') {
51
- * opacity: 0.5;
52
- * }
53
- * }
54
- */
55
- /**
56
- * 深色主题样式
57
- * @param {String} $block - Block 块名称
58
- * @example
59
- * @include dark('button') {
60
- * background: #333;
61
- * color: #fff;
62
- * }
63
- */
64
- /* stylelint-disable scss/no-global-function-names */
65
- .gct-wujie-container {
66
- height: 100%;
67
- width: 100%;
68
- }
69
- .gct-wujie-container .__vue-devtools-container__ {
70
- display: none;
71
- }
72
- .gct-wujie-container iframe {
73
- border: 0;
74
- }
@@ -1,11 +0,0 @@
1
- export declare const WuJieContainer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- wuJieName: {
3
- type: StringConstructor;
4
- required: true;
5
- };
6
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
- wuJieName: {
8
- type: StringConstructor;
9
- required: true;
10
- };
11
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,61 +0,0 @@
1
- import './wujie-container.css';/* empty css */
2
- import { computed, createVNode, defineComponent, mergeProps, onUnmounted, resolveComponent, useAttrs } from "vue";
3
- import { getToken, useNamespace, useUserStore } from "@gct-paas/core";
4
- import WujieVue3 from "wujie-vue3";
5
- //#region src/components/wujie-container/wujie-container.tsx
6
- var { destroyApp } = WujieVue3;
7
- var WuJieContainer = /* @__PURE__ */ defineComponent({
8
- name: "WuJieContainer",
9
- props: { wuJieName: {
10
- type: String,
11
- required: true
12
- } },
13
- setup(props) {
14
- const ns = useNamespace("wujie-container");
15
- const attr = useAttrs();
16
- function beforeLoad(win) {
17
- Object.defineProperty(win, "pSystem", { get: () => {
18
- return window.System;
19
- } });
20
- Object.defineProperty(win, "_gct", { get: () => {
21
- return window._gct;
22
- } });
23
- Object.defineProperty(win, "_api", { get: () => {
24
- return window._api;
25
- } });
26
- }
27
- function beforeMount(win) {
28
- console.debug("beforeMount System", win.System);
29
- console.debug("beforeMount _gct", win._gct);
30
- console.debug("beforeMount _api", win._api);
31
- }
32
- function loadError(win) {
33
- console.debug("loadError", win.System);
34
- }
35
- const { userInfo } = useUserStore();
36
- const token = getToken();
37
- const _props = computed(() => {
38
- return {
39
- appInfo: _gct.store.appInfo,
40
- userInfo,
41
- token,
42
- ...attr.props ?? {}
43
- };
44
- });
45
- onUnmounted(() => {
46
- if (attr.alive === true) return;
47
- destroyApp(props.wuJieName);
48
- });
49
- return () => {
50
- return createVNode(resolveComponent("wujieVue"), mergeProps({
51
- "class": ns.b(),
52
- "name": props.wuJieName,
53
- "beforeLoad": beforeLoad,
54
- "beforeMount": beforeMount,
55
- "loadError": loadError
56
- }, attr, { "props": _props.value }), null);
57
- };
58
- }
59
- });
60
- //#endregion
61
- export { WuJieContainer };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes