@gct-paas/core-web 0.1.6-dev.23 → 0.1.6-dev.25
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/dist/{JsBarcode-BcYwPLaJ.js → JsBarcode-RmziLqPn.js} +2 -2
- package/dist/{chunk-i4sMqdmB.js → chunk-BV1b7Gcg.js} +1 -1
- package/dist/components-BS1B8OGh.js +2 -0
- package/dist/{cropper-B1N4v_Lo.js → cropper-YtgylQpM.js} +2 -2
- package/dist/{de_DE-X3v4qWyO.js → de_DE-B7VghOWp.js} +2 -2
- package/dist/{defineProperty-D-SofZ5z.js → defineProperty-BoHwIjK9.js} +1 -1
- package/dist/{diagram-config-item-chRjBrq6.js → diagram-config-item-Delw8qP1.js} +2 -2
- package/dist/{diagram-config-item-reverse-aDl4YTmR.js → diagram-config-item-reverse-BknT5-61.js} +2 -2
- package/dist/{diagram-config-item-virtual-DodV9A3N.js → diagram-config-item-virtual-NbwruTtF.js} +2 -2
- package/dist/{en_US-cYv54T-A.js → en_US-CTia-4oe.js} +2 -2
- package/dist/{es_ES-BWrehacQ.js → es_ES-BRhAvB-X.js} +2 -2
- package/dist/{fr_FR-Ymdgzl3C.js → fr_FR-dksEfN4c.js} +2 -2
- package/dist/{hooks-nPOmaLM5.js → hooks-B2qoSQu2.js} +2 -2
- package/dist/{icon-next-picker-X8JzJRiF.js → icon-next-picker-BOAWtvQN.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/{ja_JP-B7rNAGHX.js → ja_JP-CRxTtjjH.js} +2 -2
- package/dist/loader.esm.min.js +2 -2
- package/dist/{monaco-editor-DOaxVn23.js → monaco-editor-AHJDDUGF.js} +2 -2
- package/dist/{objectSpread2-c0qISuen.js → objectSpread2-DhfQflfg.js} +1 -1
- package/dist/{overlayscrollbars-vue-BpwoQB2w.js → overlayscrollbars-vue-9qLymEKl.js} +1 -1
- package/dist/{pt_PT-CAKZwnOZ.js → pt_PT-BvN4P8ca.js} +2 -2
- package/dist/{relationship-diagram-config-4qlfoX5u.js → relationship-diagram-config-B-mpm0HT.js} +2 -2
- package/dist/{rich-editor-DqTftmhT.js → rich-editor-dsA1-WIy.js} +2 -2
- package/dist/{ru_RU-o0qzOP4R.js → ru_RU-BSXEG73J.js} +2 -2
- package/dist/{template-B9C2bxQk.js → template-UW8tPQsj.js} +2 -2
- package/dist/{tr_TR-DbXghLCn.js → tr_TR-DECvjWe_.js} +2 -2
- package/dist/{useMonacoEditor-5gmpz_zn.js → useMonacoEditor-DsbpzDxc.js} +2 -2
- package/dist/{utils-DY7iv5U9.js → utils-C7b14k36.js} +2 -2
- package/dist/{vi_VN-BemwJ2l1.js → vi_VN-C3PnQkUI.js} +2 -2
- package/dist/{zh_CN-8TBRB49T.js → zh_CN-BYB6ENS9.js} +2 -2
- package/dist/{zh_TW-BbvJMCfB.js → zh_TW-UQnQ2lJz.js} +2 -2
- package/es/components/I18nSelect/src/i18n-select-btn.vue.mjs +2 -2
- package/es/components/I18nSelect/src/i18n-select-btn.vue_vue_type_script_setup_true_name_i18n-select-btn_lang.mjs +4 -4
- package/es/components/I18nSelect/src/{i18n-select-btn.vue_vue_type_style_index_0_scoped_ab917ea8_lang.css → i18n-select-btn.vue_vue_type_style_index_0_scoped_efd9b5f6_lang.css} +14 -14
- package/es/components/index.d.ts +0 -1
- package/es/components/index.mjs +0 -1
- package/es/components/label-design/panels/widget/panel-widget.vue_vue_type_style_index_0_lang.css +5 -5
- package/es/components/modal-name-editor/modal-name-editor.d.ts +9 -0
- package/es/components/modal-name-editor/modal-name-editor.mjs +5 -0
- package/es/components/paas-bpmn-log/components/approval-node.vue.mjs +2 -2
- package/es/components/paas-bpmn-log/components/approval-node.vue_vue_type_script_setup_true_lang.mjs +2 -3
- package/es/components/paas-bpmn-log/components/{approval-node.vue_vue_type_style_index_0_scoped_1ee4a0bd_lang.css → approval-node.vue_vue_type_style_index_0_scoped_b28cab6b_lang.css} +9 -9
- package/es/components/paas-bpmn-log/paas-bpmn-log.vue.mjs +2 -2
- package/es/components/paas-bpmn-log/paas-bpmn-log.vue_vue_type_script_setup_true_lang.mjs +2 -3
- package/es/components/paas-bpmn-log/{paas-bpmn-log.vue_vue_type_style_index_0_scoped_3882c856_lang.css → paas-bpmn-log.vue_vue_type_style_index_0_scoped_359cf19e_lang.css} +9 -9
- package/es/components/serial-number/components/data-field-cascader.vue.d.ts +15 -0
- package/es/components/serial-number/components/data-field-cascader.vue.mjs +8 -0
- package/es/components/serial-number/components/data-field-cascader.vue_vue_type_script_setup_true_lang.mjs +496 -0
- package/es/components/serial-number/components/data-field-cascader.vue_vue_type_style_index_0_scoped_9a2af5c6_lang.css +134 -0
- package/es/components/serial-number/components/data-field-cascader.vue_vue_type_style_index_1_lang.css +18 -0
- package/es/components/serial-number/serial-number-item.vue.d.ts +28 -1
- package/es/components/serial-number/serial-number-item.vue.mjs +2 -2
- package/es/components/serial-number/serial-number-item.vue_vue_type_script_setup_true_lang.mjs +6 -4
- package/es/components/serial-number/{serial-number-item.vue_vue_type_style_index_0_scoped_f992d0b8_lang.css → serial-number-item.vue_vue_type_style_index_0_scoped_8083036b_lang.css} +16 -16
- package/es/index.mjs +1 -1
- package/es/locale/auto-register.d.ts +2 -0
- package/es/locale/auto-register.mjs +43 -0
- package/es/locale/sys/app.d.ts +4 -0
- package/es/locale/sys/app.mjs +6 -0
- package/es/locale/sys/appDesigner.d.ts +1 -1
- package/es/locale/sys/appDesigner.mjs +32 -0
- package/es/locale/sys/cardDesign.d.ts +9 -0
- package/es/locale/sys/cardDesign.mjs +11 -0
- package/es/locale/sys/component.d.ts +4 -0
- package/es/locale/sys/component.mjs +32 -0
- package/es/locale/sys/edhr.mjs +9 -0
- package/es/locale/sys/expression.mjs +6 -0
- package/es/locale/sys/i18n.d.ts +1 -1
- package/es/locale/sys/i18n.mjs +10 -0
- package/es/locale/sys/integration.mjs +6 -0
- package/es/locale/sys/ipaas.mjs +6 -0
- package/es/locale/sys/model.mjs +26 -0
- package/es/locale/sys/onlineForm.d.ts +1 -1
- package/es/locale/sys/onlineForm.mjs +9 -0
- package/es/locale/sys/org.d.ts +1 -1
- package/es/locale/sys/org.mjs +14 -0
- package/es/locale/sys/pageDesigner.d.ts +14 -11
- package/es/locale/sys/pageDesigner.mjs +58 -0
- package/es/locale/sys/printDesigner.d.ts +3 -0
- package/es/locale/sys/printDesigner.mjs +16 -0
- package/es/locale/sys/process.mjs +6 -0
- package/es/locale/sys/webRender.d.ts +1 -1
- package/es/locale/sys/webRender.mjs +33 -0
- package/es/locale/sys.d.ts +24 -12
- package/es/locale/sys.mjs +63 -0
- package/es/modules/data-rules-container/index.d.ts +1 -0
- package/es/modules/data-rules-container/index.mjs +1 -0
- package/es/modules/data-rules-container/src/components/ndo-select-cmp.vue_vue_type_script_setup_true_lang.mjs +2 -1
- package/es/{components/data-rules-modal → modules/data-rules-container/src}/data-rules-modal.mjs +6 -4
- package/es/modules/gct-form/components/flex-container/flex-container.d.ts +2 -6
- package/es/modules/gct-form/components/flex-container/flex-container.mjs +19 -24
- package/es/modules/gct-form/components/flex-item/flex-item.mjs +1 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.mjs +2 -2
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.css +3 -3
- package/es/modules/gct-table/editor/gct-table-date/gct-table-date.mjs +1 -1
- package/es/modules/gct-table/editor/gct-table-text/gct-table-text.mjs +1 -1
- package/es/setup-app.mjs +2 -1
- package/package.json +9 -9
- package/dist/components-C5-etN3H.js +0 -2
- package/es/assets/svg/image-error.svg.mjs +0 -4
- /package/es/{components/data-rules-modal → modules/data-rules-container/src}/data-rules-modal.d.ts +0 -0
- /package/es/modules/gct-table/editor/{gct-table-text/gct-table-text.css → gct-table-date/gct-table-date.css} +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { __exportAll } from "../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
//#region src/locale/sys/webRender.ts
|
|
3
|
+
var webRender_exports = /* @__PURE__ */ __exportAll({ default: () => webRender_default });
|
|
4
|
+
var webRender_default = {
|
|
5
|
+
to: "至",
|
|
6
|
+
saveTip: "请将所有规则条件填写完整",
|
|
7
|
+
date: "日期",
|
|
8
|
+
time: "时间",
|
|
9
|
+
dateTime: "日期时间",
|
|
10
|
+
user: "人员",
|
|
11
|
+
curDay: "当天",
|
|
12
|
+
curWeek: "本周",
|
|
13
|
+
curMonth: "本月",
|
|
14
|
+
curYear: "本年",
|
|
15
|
+
curUser: "登录用户",
|
|
16
|
+
fixed: "固定",
|
|
17
|
+
fixedAbbr: "固",
|
|
18
|
+
system: "系统",
|
|
19
|
+
systemAbbr: "系",
|
|
20
|
+
field: "字段",
|
|
21
|
+
fieldAbbr: "字",
|
|
22
|
+
var: "变量",
|
|
23
|
+
varAbbr: "变",
|
|
24
|
+
booleanTrue: "布尔真",
|
|
25
|
+
booleanFalse: "布尔假",
|
|
26
|
+
and: "与",
|
|
27
|
+
or: "或",
|
|
28
|
+
allCondition: "满足所有条件",
|
|
29
|
+
anyCondition: "满足任意条件",
|
|
30
|
+
dragError: "拖拽失败,目录层级超出限制"
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { webRender_exports };
|
package/es/locale/sys.d.ts
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
printDeviceNotFound: string;
|
|
3
|
+
labelNotFound: string;
|
|
2
4
|
tooltipExitFull: string;
|
|
3
5
|
tooltipEntryFull: string;
|
|
4
6
|
copySuccess: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
saveText: string;
|
|
8
|
+
nextStep: string;
|
|
9
|
+
cancel: string;
|
|
10
|
+
ok: string;
|
|
11
|
+
user: string;
|
|
8
12
|
role: string;
|
|
9
13
|
userGroup: string;
|
|
14
|
+
selected: string;
|
|
15
|
+
searchText: string;
|
|
16
|
+
okText: string;
|
|
10
17
|
preview: string;
|
|
11
|
-
newCategory: string;
|
|
12
|
-
delText: string;
|
|
13
18
|
category: string;
|
|
14
19
|
name: string;
|
|
20
|
+
newCategory: string;
|
|
21
|
+
delText: string;
|
|
15
22
|
default: string;
|
|
16
23
|
description: string;
|
|
17
24
|
labelTmplPath: string;
|
|
@@ -20,23 +27,28 @@ declare const _default: {
|
|
|
20
27
|
macAddress: string;
|
|
21
28
|
creator: string;
|
|
22
29
|
createTime: string;
|
|
23
|
-
keywords: string;
|
|
24
|
-
keywordsPlaceholder: string;
|
|
25
|
-
queryText: string;
|
|
26
|
-
new: string;
|
|
27
30
|
edit: string;
|
|
31
|
+
new: string;
|
|
28
32
|
i18n: string;
|
|
29
33
|
inputText: string;
|
|
34
|
+
keywords: string;
|
|
35
|
+
keywordsPlaceholder: string;
|
|
36
|
+
queryText: string;
|
|
37
|
+
inputVar: string;
|
|
38
|
+
simulatedPreview: string;
|
|
39
|
+
printTest: string;
|
|
40
|
+
ok2: string;
|
|
41
|
+
saveSuccess: string;
|
|
30
42
|
collapse: string;
|
|
31
43
|
unfold: string;
|
|
32
|
-
cancel: string;
|
|
33
44
|
delSuccess: string;
|
|
45
|
+
cancelText: string;
|
|
34
46
|
add: string;
|
|
35
|
-
reUpload: string;
|
|
36
|
-
sureToRecover: string;
|
|
37
47
|
loadingText: string;
|
|
48
|
+
reUpload: string;
|
|
38
49
|
updatePerson: string;
|
|
39
50
|
updateTime: string;
|
|
51
|
+
sureToRecover: string;
|
|
40
52
|
noMoreData: string;
|
|
41
53
|
chooseText: string;
|
|
42
54
|
pleaseSelectSth: string;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
//#region src/locale/sys.ts
|
|
3
|
+
var sys_exports = /* @__PURE__ */ __exportAll({ default: () => sys_default });
|
|
4
|
+
var sys_default = {
|
|
5
|
+
printDeviceNotFound: "未找到默认打印设备",
|
|
6
|
+
labelNotFound: "未找到标签",
|
|
7
|
+
tooltipExitFull: "退出全屏",
|
|
8
|
+
tooltipEntryFull: "全屏",
|
|
9
|
+
copySuccess: "拷贝成功",
|
|
10
|
+
saveText: "保存",
|
|
11
|
+
nextStep: "下一步",
|
|
12
|
+
cancel: "取消",
|
|
13
|
+
ok: "确定",
|
|
14
|
+
user: "用户",
|
|
15
|
+
role: "角色",
|
|
16
|
+
userGroup: "用户组",
|
|
17
|
+
selected: "已选择",
|
|
18
|
+
searchText: "搜索",
|
|
19
|
+
okText: "确认",
|
|
20
|
+
preview: "预览",
|
|
21
|
+
category: "分类",
|
|
22
|
+
name: "名称",
|
|
23
|
+
newCategory: "新建分类",
|
|
24
|
+
delText: "删除",
|
|
25
|
+
default: "默认",
|
|
26
|
+
description: "描述",
|
|
27
|
+
labelTmplPath: "标签模板路径",
|
|
28
|
+
shared: "共享",
|
|
29
|
+
local: "本地",
|
|
30
|
+
macAddress: "MAC地址",
|
|
31
|
+
creator: "创建人",
|
|
32
|
+
createTime: "创建时间",
|
|
33
|
+
edit: "编辑",
|
|
34
|
+
new: "新建",
|
|
35
|
+
i18n: "国际化",
|
|
36
|
+
inputText: "请输入",
|
|
37
|
+
keywords: "关键字",
|
|
38
|
+
keywordsPlaceholder: "请输入关键字",
|
|
39
|
+
queryText: "查询",
|
|
40
|
+
inputVar: "输入变量",
|
|
41
|
+
simulatedPreview: "实时模拟预览",
|
|
42
|
+
printTest: "打印测试",
|
|
43
|
+
ok2: "确认",
|
|
44
|
+
saveSuccess: "保存成功",
|
|
45
|
+
collapse: "收起",
|
|
46
|
+
unfold: "展开",
|
|
47
|
+
delSuccess: "删除成功",
|
|
48
|
+
cancelText: "取消",
|
|
49
|
+
add: "添加",
|
|
50
|
+
loadingText: "加载中...",
|
|
51
|
+
reUpload: "重新上传",
|
|
52
|
+
updatePerson: "更新人",
|
|
53
|
+
updateTime: "更新时间",
|
|
54
|
+
sureToRecover: "你确定要回滚吗?",
|
|
55
|
+
noMoreData: "没有更多数据了",
|
|
56
|
+
chooseText: "请选择",
|
|
57
|
+
pleaseSelectSth: "请选择{sth}",
|
|
58
|
+
upload: "上传",
|
|
59
|
+
width: "宽度",
|
|
60
|
+
height: "高度"
|
|
61
|
+
};
|
|
62
|
+
//#endregion
|
|
63
|
+
export { sys_exports };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as DataRulesContainer } from './src/data-rules-container.vue';
|
|
2
2
|
import { default as FieldRoleContainer } from './src/field-role-container.vue';
|
|
3
3
|
export { FieldRoleContainer, DataRulesContainer };
|
|
4
|
+
export { DataRulesModal } from './src/data-rules-modal';
|
|
4
5
|
export * from './src/constant/config';
|
|
5
6
|
export * from './src/constant/interface';
|
|
@@ -153,9 +153,10 @@ var ndo_select_cmp_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
153
153
|
pageNo: state.pageNo,
|
|
154
154
|
pageSize: 20
|
|
155
155
|
}, { addDisplayLabel: isPermScope.value ? 1 : void 0 });
|
|
156
|
+
if (isPermScope.value && !displayField.value) await getModelInfo();
|
|
156
157
|
if (res?.data) {
|
|
157
158
|
const newOptions = (res?.data ?? []).map((item) => ({
|
|
158
|
-
label: item.name_ || item.__LABEL__,
|
|
159
|
+
label: item.name_ || item.__LABEL__ || item[displayField.value],
|
|
159
160
|
value: item.id_,
|
|
160
161
|
type: "data"
|
|
161
162
|
}));
|
package/es/{components/data-rules-modal → modules/data-rules-container/src}/data-rules-modal.mjs
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import data_rules_container_default from "./data-rules-container.vue.mjs";
|
|
2
|
+
import { createVNode, defineComponent, provide, ref } from "vue";
|
|
2
3
|
import { FIELD_TYPE, useNamespace } from "@gct-paas/core";
|
|
3
|
-
//#region src/
|
|
4
|
+
//#region src/modules/data-rules-container/src/data-rules-modal.tsx
|
|
4
5
|
/**
|
|
5
6
|
* 字段条件规则配置模态框
|
|
6
7
|
*/
|
|
@@ -83,10 +84,11 @@ var DataRulesModal = /* @__PURE__ */ defineComponent({
|
|
|
83
84
|
}
|
|
84
85
|
onInit();
|
|
85
86
|
return () => {
|
|
86
|
-
return createVNode("div", { "class": ns.b() }, [createVNode(
|
|
87
|
-
"ref":
|
|
87
|
+
return createVNode("div", { "class": ns.b() }, [createVNode(data_rules_container_default, {
|
|
88
|
+
"ref": dataRulesRef,
|
|
88
89
|
"fieldList": list.value,
|
|
89
90
|
"detail": props.detail,
|
|
91
|
+
"searchType": {},
|
|
90
92
|
"isDesign": true,
|
|
91
93
|
"isPageDesigner": true,
|
|
92
94
|
"excludeValueType": props.excludeValueType,
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IFlexContainer
|
|
2
|
+
import { IFlexContainer } from '../../interface';
|
|
3
3
|
/**
|
|
4
4
|
* flex 布局容器
|
|
5
5
|
*/
|
|
6
6
|
export declare const FlexContainer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
7
|
layout: PropType<IFlexContainer>;
|
|
8
|
-
}>, {
|
|
9
|
-
ns: import('@gct-paas/core').Namespace;
|
|
10
|
-
getStyle: () => IData;
|
|
11
|
-
getItemStyle: (model: IFormGroup) => IData;
|
|
12
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
9
|
layout: PropType<IFlexContainer>;
|
|
14
10
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { FlexItem } from "../flex-item/flex-item.mjs";
|
|
2
2
|
import './flex-container.css';/* empty css */
|
|
3
|
-
import { createVNode, defineComponent
|
|
3
|
+
import { Fragment, createVNode, defineComponent } from "vue";
|
|
4
4
|
import { useNamespace } from "@gct-paas/core";
|
|
5
5
|
//#region src/modules/gct-form/components/flex-container/flex-container.tsx
|
|
6
6
|
/**
|
|
7
7
|
* flex 布局容器
|
|
8
8
|
*/
|
|
9
|
-
function _isSlot(s) {
|
|
10
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
11
|
-
}
|
|
12
9
|
var FlexContainer = /* @__PURE__ */ defineComponent({
|
|
13
10
|
name: "FlexContainer",
|
|
14
11
|
props: { layout: Object },
|
|
15
|
-
setup(props) {
|
|
12
|
+
setup(props, { slots }) {
|
|
16
13
|
const ns = useNamespace("flex-container");
|
|
17
14
|
const getStyle = () => {
|
|
18
15
|
const style = {};
|
|
@@ -35,26 +32,24 @@ var FlexContainer = /* @__PURE__ */ defineComponent({
|
|
|
35
32
|
}
|
|
36
33
|
return style;
|
|
37
34
|
};
|
|
38
|
-
return {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
return () => {
|
|
36
|
+
let items = slots.default?.() || [];
|
|
37
|
+
if (items.length === 1) {
|
|
38
|
+
const item = items[0];
|
|
39
|
+
if (item.type == Fragment) items = item.children || [];
|
|
40
|
+
}
|
|
41
|
+
return createVNode("div", {
|
|
42
|
+
"class": ns.b(),
|
|
43
|
+
"style": getStyle()
|
|
44
|
+
}, [items.map((item) => {
|
|
45
|
+
if (!item) return null;
|
|
46
|
+
const model = item.props.model.flexItem;
|
|
47
|
+
return createVNode(FlexItem, {
|
|
48
|
+
"layout": model,
|
|
49
|
+
"style": getItemStyle(item.props.model)
|
|
50
|
+
}, { default: () => item });
|
|
51
|
+
})]);
|
|
42
52
|
};
|
|
43
|
-
},
|
|
44
|
-
render() {
|
|
45
|
-
let items = this.$slots.default?.() || [];
|
|
46
|
-
if (items.length > 0) items = items[0].children || [];
|
|
47
|
-
return createVNode("div", {
|
|
48
|
-
"class": this.ns.b(),
|
|
49
|
-
"style": this.getStyle()
|
|
50
|
-
}, [items.map((item) => {
|
|
51
|
-
if (!item) return null;
|
|
52
|
-
const model = item.props.model.flexItem;
|
|
53
|
-
return createVNode(FlexItem, {
|
|
54
|
-
"layout": model,
|
|
55
|
-
"style": this.getItemStyle(item.props.model)
|
|
56
|
-
}, _isSlot(item) ? item : { default: () => [item] });
|
|
57
|
-
})]);
|
|
58
53
|
}
|
|
59
54
|
});
|
|
60
55
|
//#endregion
|
|
@@ -28,8 +28,8 @@ var GctFormGroup = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
const ns = useNamespace("form-group");
|
|
29
29
|
const keys = ref([0]);
|
|
30
30
|
function renderContainer() {
|
|
31
|
-
if (props.model.layout === "flex") return createVNode(resolveComponent("flex-container"), { "layout": props.model.flex }, {
|
|
32
|
-
if (props.model.layout === "grid") return createVNode(resolveComponent("grid-container"), { "layout": props.model.grid }, {
|
|
31
|
+
if (props.model.layout === "flex") return createVNode(resolveComponent("flex-container"), { "layout": props.model.flex }, { ...slots });
|
|
32
|
+
if (props.model.layout === "grid") return createVNode(resolveComponent("grid-container"), { "layout": props.model.grid }, { ...slots });
|
|
33
33
|
console.error("不支持的layout类型" + props.model.layout);
|
|
34
34
|
}
|
|
35
35
|
const style = {};
|
|
@@ -83,12 +83,12 @@
|
|
|
83
83
|
.gct-form-tab > .ant-tabs-nav > .ant-tabs-nav-wrap {
|
|
84
84
|
border-bottom: 1px solid #E0E3EA;
|
|
85
85
|
}
|
|
86
|
-
.gct-form-tab > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab {
|
|
87
|
-
margin-left: var(--gct-form-tab-tab-spacing);
|
|
88
|
-
}
|
|
89
86
|
.gct-form-tab > .ant-tabs-nav .ant-tabs-tab {
|
|
90
87
|
padding: 7px 0;
|
|
91
88
|
}
|
|
89
|
+
.gct-form-tab > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab {
|
|
90
|
+
margin-left: var(--gct-form-tab-tab-spacing);
|
|
91
|
+
}
|
|
92
92
|
.gct-form-tab.ant-tabs .ant-tabs-tabpane {
|
|
93
93
|
overflow: hidden auto;
|
|
94
94
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useGctFormValue } from "../../../gct-form/hooks/use-gct-form-value/use-gct-form-value.mjs";
|
|
2
2
|
import "../../../gct-form/index.mjs";
|
|
3
|
-
import '
|
|
3
|
+
import './gct-table-date.css';/* empty css */
|
|
4
4
|
import { createVNode, defineComponent, mergeProps, resolveComponent } from "vue";
|
|
5
5
|
import { useNamespace } from "@gct-paas/core";
|
|
6
6
|
//#region src/modules/gct-table/editor/gct-table-date/gct-table-date.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useGctFormValueByText } from "../../../gct-form/hooks/use-gct-form-value/use-gct-form-value.mjs";
|
|
2
2
|
import "../../../gct-form/index.mjs";
|
|
3
|
-
import '
|
|
3
|
+
import '../gct-table-date/gct-table-date.css';/* empty css */
|
|
4
4
|
import { createVNode, defineComponent, mergeProps, resolveComponent } from "vue";
|
|
5
5
|
import { useNamespace } from "@gct-paas/core";
|
|
6
6
|
//#region src/modules/gct-table/editor/gct-table-text/gct-table-text.tsx
|
package/es/setup-app.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/core-web",
|
|
3
|
-
"version": "0.1.6-dev.
|
|
3
|
+
"version": "0.1.6-dev.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "paas 平台网页端核心包",
|
|
6
6
|
"loader": "dist/loader.esm.min.js",
|
|
@@ -65,20 +65,20 @@
|
|
|
65
65
|
"vxe-table": "npm:@gct-paas/vxe-table@4.6.19",
|
|
66
66
|
"wujie": "^1.0.29",
|
|
67
67
|
"wujie-vue3": "^1.0.29",
|
|
68
|
-
"@gct-paas/core": "0.1.6-dev.
|
|
69
|
-
"@gct-paas/
|
|
70
|
-
"@gct-paas/
|
|
71
|
-
"@gct-paas/
|
|
68
|
+
"@gct-paas/core": "0.1.6-dev.25",
|
|
69
|
+
"@gct-paas/core-components": "0.1.6-dev.25",
|
|
70
|
+
"@gct-paas/scss": "0.1.6-dev.25",
|
|
71
|
+
"@gct-paas/v-ben": "0.1.6-dev.25"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"@gct-paas/api": "^0.1.6-dev.14",
|
|
75
75
|
"@types/sortablejs": "^1.15.1",
|
|
76
76
|
"vant": ">=4",
|
|
77
77
|
"vue": ">=3",
|
|
78
|
-
"@gct-paas/scss": "0.1.6-dev.
|
|
79
|
-
"@gct-paas/
|
|
80
|
-
"@gct-paas/
|
|
81
|
-
"@gct-paas/core": "0.1.6-dev.
|
|
78
|
+
"@gct-paas/scss": "0.1.6-dev.25",
|
|
79
|
+
"@gct-paas/v-ben": "0.1.6-dev.25",
|
|
80
|
+
"@gct-paas/core": "0.1.6-dev.25",
|
|
81
|
+
"@gct-paas/core-components": "0.1.6-dev.25"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@types/bwip-js": "^3.2.3",
|