@gct-paas/core-web 0.1.6-dev.6 → 0.1.6-dev.8
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/ColorPicker-DFKXqgaG.js +1 -0
- package/dist/_plugin-vue_export-helper-CGzGcWFX.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/loader.esm.min.js +1 -1
- package/dist/{monaco-editor-BTqXEIZI.js → monaco-editor-CQJ9TMzD.js} +1 -1
- package/dist/{template-1ZQd8Z1w.js → template-CXn8oAg5.js} +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +2 -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 +1 -2
- package/es/components/paas-bpmn-log/components/{approval-node.vue_vue_type_style_index_0_scoped_a88d7ef9_lang.css → approval-node.vue_vue_type_style_index_0_scoped_a8065b24_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 +1 -2
- package/es/components/paas-bpmn-log/{paas-bpmn-log.vue_vue_type_style_index_0_scoped_c85122b0_lang.css → paas-bpmn-log.vue_vue_type_style_index_0_scoped_eb574523_lang.css} +9 -9
- package/es/components/select-user-modal/deptUser.vue.d.ts +9 -0
- package/es/components/select-user-modal/deptUser.vue.mjs +7 -0
- package/es/components/select-user-modal/deptUser.vue_vue_type_script_setup_true_name_deptUser_lang.mjs +296 -0
- package/es/components/select-user-modal/deptUser.vue_vue_type_style_index_0_scoped_02dff7bf_lang.css +40 -0
- package/es/components/select-user-modal/index.d.ts +2 -0
- package/es/components/select-user-modal/index.mjs +1 -0
- package/es/components/select-user-modal/range-role.vue.d.ts +9 -0
- package/es/components/select-user-modal/range-role.vue.mjs +7 -0
- package/es/components/select-user-modal/range-role.vue_vue_type_script_setup_true_name_role_lang.mjs +137 -0
- package/es/components/select-user-modal/range-role.vue_vue_type_style_index_0_scoped_1241bcdf_lang.css +34 -0
- package/es/components/select-user-modal/select-user-modal.vue.d.ts +12 -0
- package/es/components/select-user-modal/select-user-modal.vue.mjs +7 -0
- package/es/components/select-user-modal/select-user-modal.vue_vue_type_script_setup_true_name_select-user-modal_lang.mjs +123 -0
- package/es/components/select-user-modal/select-user-modal.vue_vue_type_style_index_0_scoped_2c0f184c_lang.css +14 -0
- package/es/components/select-user-modal/userGroup.vue.d.ts +9 -0
- package/es/components/select-user-modal/userGroup.vue.mjs +7 -0
- package/es/components/select-user-modal/userGroup.vue_vue_type_script_setup_true_name_userGroup_lang.mjs +149 -0
- package/es/components/select-user-modal/userGroup.vue_vue_type_style_index_0_scoped_47d1cbaa_lang.css +19 -0
- package/es/create-app-vue.d.ts +2 -2
- package/es/create-app-vue.mjs +3 -3
- package/es/index.d.ts +1 -0
- package/es/index.mjs +5 -1
- package/es/modules/data-rules-container/index.d.ts +3 -0
- package/es/modules/data-rules-container/index.mjs +2 -0
- package/es/modules/data-rules-container/src/components/header-action.vue.d.ts +10 -0
- package/es/modules/data-rules-container/src/components/header-action.vue.mjs +7 -0
- package/es/modules/data-rules-container/src/components/header-action.vue_vue_type_script_setup_true_name_header-action_lang.mjs +36 -0
- package/es/modules/data-rules-container/src/components/header-action.vue_vue_type_style_index_0_scoped_4e281013_lang.css +32 -0
- package/es/modules/data-rules-container/src/components/ndo-select-cmp.vue.d.ts +8 -0
- package/es/modules/data-rules-container/src/components/ndo-select-cmp.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/ndo-select-cmp.vue_vue_type_script_setup_true_lang.mjs +266 -0
- package/es/modules/data-rules-container/src/components/perm-action-node.vue.d.ts +22 -0
- package/es/modules/data-rules-container/src/components/perm-action-node.vue.mjs +7 -0
- package/es/modules/data-rules-container/src/components/perm-action-node.vue_vue_type_script_setup_true_name_perm-action-node_lang.mjs +384 -0
- package/es/modules/data-rules-container/src/components/perm-action-node.vue_vue_type_style_index_0_scoped_417c660f_lang.css +73 -0
- package/es/modules/data-rules-container/src/components/perm-root-node.vue.d.ts +3 -0
- package/es/modules/data-rules-container/src/components/perm-root-node.vue.mjs +7 -0
- package/es/modules/data-rules-container/src/components/perm-root-node.vue_vue_type_script_setup_true_name_perm-root-node_lang.mjs +61 -0
- package/es/modules/data-rules-container/src/components/perm-root-node.vue_vue_type_style_index_0_scoped_ca5c9d20_lang.css +74 -0
- package/es/modules/data-rules-container/src/components/rdo-select-cmp.vue.d.ts +11 -0
- package/es/modules/data-rules-container/src/components/rdo-select-cmp.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/rdo-select-cmp.vue_vue_type_script_setup_true_lang.mjs +93 -0
- package/es/modules/data-rules-container/src/components/request-select-cmp.vue.d.ts +9 -0
- package/es/modules/data-rules-container/src/components/request-select-cmp.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/request-select-cmp.vue_vue_type_script_setup_true_name_request-select-cmp_lang.mjs +117 -0
- package/es/modules/data-rules-container/src/components/request-tree-select-cmp.vue.d.ts +3 -0
- package/es/modules/data-rules-container/src/components/request-tree-select-cmp.vue.mjs +6 -0
- package/es/modules/data-rules-container/src/components/request-tree-select-cmp.vue_vue_type_script_name_gct-select_setup_true_lang.mjs +100 -0
- package/es/modules/data-rules-container/src/components/request-tree-select-cmp.vue_vue_type_style_index_0_lang.css +21 -0
- package/es/modules/data-rules-container/src/components/select-modal-cmp.vue.d.ts +32 -0
- package/es/modules/data-rules-container/src/components/select-modal-cmp.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/select-modal-cmp.vue_vue_type_script_setup_true_name_select-modal-cmp_lang.mjs +268 -0
- package/es/modules/data-rules-container/src/components/select-more.vue.d.ts +8 -0
- package/es/modules/data-rules-container/src/components/select-more.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/select-more.vue_vue_type_script_setup_true_lang.mjs +26 -0
- package/es/modules/data-rules-container/src/components/select-userdep-cmp.vue.d.ts +12 -0
- package/es/modules/data-rules-container/src/components/select-userdep-cmp.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/select-userdep-cmp.vue_vue_type_script_setup_true_name_select-userdep-cmp_lang.mjs +103 -0
- package/es/modules/data-rules-container/src/components/tree-action-node.vue.d.ts +25 -0
- package/es/modules/data-rules-container/src/components/tree-action-node.vue.mjs +7 -0
- package/es/modules/data-rules-container/src/components/tree-action-node.vue_vue_type_script_setup_true_name_tree-action-node_lang.mjs +544 -0
- package/es/modules/data-rules-container/src/components/tree-action-node.vue_vue_type_style_index_0_scoped_46368089_lang.css +67 -0
- package/es/modules/data-rules-container/src/components/tree-root-node.vue.d.ts +3 -0
- package/es/modules/data-rules-container/src/components/tree-root-node.vue.mjs +7 -0
- package/es/modules/data-rules-container/src/components/tree-root-node.vue_vue_type_script_setup_true_name_tree-root-node_lang.mjs +105 -0
- package/es/modules/data-rules-container/src/components/tree-root-node.vue_vue_type_style_index_0_scoped_37e323fb_lang.css +29 -0
- package/es/modules/data-rules-container/src/components/tree-select-cmp.vue.d.ts +3 -0
- package/es/modules/data-rules-container/src/components/tree-select-cmp.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/tree-select-cmp.vue_vue_type_script_name_gct-select_setup_true_lang.mjs +89 -0
- package/es/modules/data-rules-container/src/constant/config.d.ts +146 -0
- package/es/modules/data-rules-container/src/constant/config.mjs +548 -0
- package/es/modules/data-rules-container/src/constant/interface.d.ts +85 -0
- package/es/modules/data-rules-container/src/constant/interface.mjs +36 -0
- package/es/modules/data-rules-container/src/data-rules-container.vue.d.ts +45 -0
- package/es/modules/data-rules-container/src/data-rules-container.vue.mjs +6 -0
- package/es/modules/data-rules-container/src/data-rules-container.vue_vue_type_script_setup_true_name_data-rules-container_lang.mjs +234 -0
- package/es/modules/data-rules-container/src/data-rules-container.vue_vue_type_style_index_0_lang.css +149 -0
- package/es/modules/data-rules-container/src/field-role-container.vue.d.ts +14 -0
- package/es/modules/data-rules-container/src/field-role-container.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/field-role-container.vue_vue_type_script_setup_true_name_field-role-container_lang.mjs +73 -0
- package/es/modules/data-rules-container/src/hooks/useDataRulesTree.d.ts +30 -0
- package/es/modules/data-rules-container/src/hooks/useDataRulesTree.mjs +317 -0
- package/es/modules/data-rules-container/src/hooks/useEmitter.d.ts +10 -0
- package/es/modules/data-rules-container/src/hooks/useRdoHooks.d.ts +37 -0
- package/es/modules/data-rules-container/src/hooks/useRdoHooks.mjs +144 -0
- package/es/modules/data-rules-container/src/hooks/useRole.d.ts +8 -0
- package/es/modules/data-rules-container/src/typing.d.ts +40 -0
- package/package.json +9 -9
- package/dist/ColorPicker-DGQQb8I7.js +0 -1
- package/dist/_plugin-vue_export-helper-C9hXqKoS.js +0 -1
- package/es/components/paas-bpmn-log/hooks/useObserver.mjs +0 -46
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
import FieldCascader_default from "../../../../components/field-cascader/src/FieldCascader.vue.mjs";
|
|
2
|
+
import "../../../../components/index.mjs";
|
|
3
|
+
import { useDataRulesTree } from "../hooks/useDataRulesTree.mjs";
|
|
4
|
+
import select_userdep_cmp_default from "./select-userdep-cmp.vue.mjs";
|
|
5
|
+
import request_select_cmp_default from "./request-select-cmp.vue.mjs";
|
|
6
|
+
import request_tree_select_cmp_default from "./request-tree-select-cmp.vue.mjs";
|
|
7
|
+
import ndo_select_cmp_default from "./ndo-select-cmp.vue.mjs";
|
|
8
|
+
import rdo_select_cmp_default from "./rdo-select-cmp.vue.mjs";
|
|
9
|
+
import tree_select_cmp_default from "./tree-select-cmp.vue.mjs";
|
|
10
|
+
import { ComponentTypeEnum, ValueTypeEnum, getCmpConfig } from "../constant/config.mjs";
|
|
11
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, openBlock, ref, renderList, resolveComponent, resolveDynamicComponent, toDisplayString, unref, watch, withCtx } from "vue";
|
|
12
|
+
import { isEmpty } from "lodash-es";
|
|
13
|
+
import { FIELD_TYPE, SEARCH_SERVICE, t } from "@gct-paas/core";
|
|
14
|
+
import { DatePicker, Input, Select } from "ant-design-vue";
|
|
15
|
+
import dayjs from "dayjs";
|
|
16
|
+
//#region src/modules/data-rules-container/src/components/perm-action-node.vue?vue&type=script&setup=true&name=perm-action-node&lang.ts
|
|
17
|
+
var _hoisted_1 = { class: "perm-action-node" };
|
|
18
|
+
var _hoisted_2 = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "mx-4px"
|
|
21
|
+
};
|
|
22
|
+
var _hoisted_3 = {
|
|
23
|
+
key: 1,
|
|
24
|
+
style: {
|
|
25
|
+
"flex": "1",
|
|
26
|
+
"min-width": "0",
|
|
27
|
+
"background-color": "#f5f6f7"
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
var _hoisted_4 = { class: "perm-action-node__flex-value" };
|
|
31
|
+
var _hoisted_5 = { class: "perm-action-node__actions" };
|
|
32
|
+
var perm_action_node_vue_vue_type_script_setup_true_name_perm_action_node_lang_default = /* @__PURE__ */ defineComponent({
|
|
33
|
+
__name: "perm-action-node",
|
|
34
|
+
props: {
|
|
35
|
+
data: {},
|
|
36
|
+
fieldList: {},
|
|
37
|
+
selectFiledKeys: {},
|
|
38
|
+
filterType: {},
|
|
39
|
+
readonly: { type: Boolean },
|
|
40
|
+
isPageDesigner: { type: Boolean },
|
|
41
|
+
isAllowClear: { type: Boolean },
|
|
42
|
+
excludeValueType: {},
|
|
43
|
+
excludeOperatorType: {},
|
|
44
|
+
apiConfig: {},
|
|
45
|
+
modelName: {},
|
|
46
|
+
cascadeField: { type: Boolean },
|
|
47
|
+
hasPermScopeError: { type: Boolean }
|
|
48
|
+
},
|
|
49
|
+
setup(__props) {
|
|
50
|
+
const filterFieldKeys = [
|
|
51
|
+
FIELD_TYPE.TEXT,
|
|
52
|
+
FIELD_TYPE.LONG_TEXT,
|
|
53
|
+
FIELD_TYPE.INTEGER,
|
|
54
|
+
FIELD_TYPE.LONG,
|
|
55
|
+
FIELD_TYPE.DOUBLE,
|
|
56
|
+
FIELD_TYPE.DECIMAL,
|
|
57
|
+
FIELD_TYPE.BOOLEAN,
|
|
58
|
+
FIELD_TYPE.DATE,
|
|
59
|
+
FIELD_TYPE.DATE_TIME,
|
|
60
|
+
FIELD_TYPE.TIME,
|
|
61
|
+
FIELD_TYPE.ENUM,
|
|
62
|
+
FIELD_TYPE.ENUM_MULTI,
|
|
63
|
+
FIELD_TYPE.REF,
|
|
64
|
+
FIELD_TYPE.REF_MULTI
|
|
65
|
+
];
|
|
66
|
+
function filterFieldByFunction(field) {
|
|
67
|
+
return filterFieldKeys.includes(field.type) && (field.createType === "USER_DEFINED" || field.createType === "BUILTIN");
|
|
68
|
+
}
|
|
69
|
+
const cmps = {
|
|
70
|
+
[ComponentTypeEnum.INPUT]: Input,
|
|
71
|
+
[ComponentTypeEnum.SELECT]: Select,
|
|
72
|
+
[ComponentTypeEnum.DATEPICKER]: DatePicker,
|
|
73
|
+
[ComponentTypeEnum.CUSTOM]: select_userdep_cmp_default,
|
|
74
|
+
[ComponentTypeEnum.REQUEST_SELECT]: request_select_cmp_default,
|
|
75
|
+
[ComponentTypeEnum.REQUEST_TREE_SELECT]: request_tree_select_cmp_default,
|
|
76
|
+
[ComponentTypeEnum.NDO_SELECT]: ndo_select_cmp_default,
|
|
77
|
+
[ComponentTypeEnum.RDO_SELECT]: rdo_select_cmp_default,
|
|
78
|
+
[ComponentTypeEnum.TREE_SELECT]: tree_select_cmp_default
|
|
79
|
+
};
|
|
80
|
+
const dateFormat = {
|
|
81
|
+
[FIELD_TYPE.DATE]: "YYYY-MM-DD",
|
|
82
|
+
[FIELD_TYPE.DATE_TIME]: "YYYY-MM-DD HH:mm:ss",
|
|
83
|
+
[FIELD_TYPE.TIME]: "HH:mm:ss"
|
|
84
|
+
};
|
|
85
|
+
const props = __props;
|
|
86
|
+
const { deleteRow, updateNodeItem } = useDataRulesTree(props.readonly);
|
|
87
|
+
const configs = ref([]);
|
|
88
|
+
const varOptions = ref([]);
|
|
89
|
+
const fieldOptions = ref([]);
|
|
90
|
+
const isFilterConfig = computed(() => props.filterType === "filterConfig");
|
|
91
|
+
const isPermScope = computed(() => props.filterType === "permissionScope");
|
|
92
|
+
const treeId = computed(() => props.data.key);
|
|
93
|
+
const fieldType = computed(() => props.data.leftValue?.type);
|
|
94
|
+
const isDate = computed(() => [
|
|
95
|
+
FIELD_TYPE.DATE,
|
|
96
|
+
FIELD_TYPE.DATE_TIME,
|
|
97
|
+
FIELD_TYPE.TIME
|
|
98
|
+
].includes(fieldType.value));
|
|
99
|
+
const fields = computed(() => {
|
|
100
|
+
if (isPermScope.value) return props.fieldList?.map((i) => ({
|
|
101
|
+
key: i.key,
|
|
102
|
+
value: i.id,
|
|
103
|
+
label: i.name,
|
|
104
|
+
filedInfo: {
|
|
105
|
+
id: i.id,
|
|
106
|
+
key: i.key,
|
|
107
|
+
name: i.name,
|
|
108
|
+
type: i.type
|
|
109
|
+
}
|
|
110
|
+
}));
|
|
111
|
+
return props.fieldList?.filter((field) => ![
|
|
112
|
+
FIELD_TYPE.IMAGE,
|
|
113
|
+
FIELD_TYPE.ATTACHMENT,
|
|
114
|
+
FIELD_TYPE.MASTERSLAVE
|
|
115
|
+
].includes(field.type)).map((item) => {
|
|
116
|
+
return {
|
|
117
|
+
label: isFilterConfig.value ? `${item.modelName}.${item.name}` : item.name,
|
|
118
|
+
value: item.id,
|
|
119
|
+
disabled: false,
|
|
120
|
+
filedInfo: {
|
|
121
|
+
id: item.id,
|
|
122
|
+
key: item.key,
|
|
123
|
+
name: item.name,
|
|
124
|
+
type: item.type,
|
|
125
|
+
bindInfo: item.bindInfo,
|
|
126
|
+
modelKey: item.modelKey,
|
|
127
|
+
refModelType: item.refModelType,
|
|
128
|
+
nodeKey: void 0
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
const fieldOpts = computed(() => {
|
|
134
|
+
return fields.value?.filter((i) => i.filedInfo?.type === props.data?.leftValue?.type && i.filedInfo?.key !== props.data?.leftValue?.key);
|
|
135
|
+
});
|
|
136
|
+
const permOperatorOpts = computed(() => {
|
|
137
|
+
return [{
|
|
138
|
+
label: t(`sys.appDesigner.conditionVisible`),
|
|
139
|
+
value: fieldType.value === "RDO" ? "defVersionIn" : SEARCH_SERVICE.IN
|
|
140
|
+
}, {
|
|
141
|
+
label: t(`sys.appDesigner.conditionInvisible`),
|
|
142
|
+
value: fieldType.value === "RDO" ? "defVersionNotIn" : SEARCH_SERVICE.NOTIN
|
|
143
|
+
}];
|
|
144
|
+
});
|
|
145
|
+
const value = computed(() => {
|
|
146
|
+
return props.data?.rightValue?.map((item) => {
|
|
147
|
+
if (isDate.value) {
|
|
148
|
+
if (item.result && item.valueType === ValueTypeEnum.FIXED) return dayjs(item.result).format(dateFormat[fieldType.value] || "YYYY-MM-DD");
|
|
149
|
+
}
|
|
150
|
+
return item.result;
|
|
151
|
+
}) || [];
|
|
152
|
+
});
|
|
153
|
+
if (isPermScope.value) props.data.operatorValue = fieldType.value === "RDO" ? "defVersionIn" : SEARCH_SERVICE.IN;
|
|
154
|
+
function handlePageNo(index) {
|
|
155
|
+
const config = configs.value[index];
|
|
156
|
+
if (config[config?.typeKeys?.[index]]?.attrs?.apiParams?.pageNo) configs.value[index][configs.value[index].typeKeys[index]].attrs.apiParams.pageNo = configs.value[index][configs.value[index].typeKeys[index]].attrs.apiParams.pageNo + 1;
|
|
157
|
+
}
|
|
158
|
+
const getConfig = async (opts) => {
|
|
159
|
+
configs.value = getCmpConfig({
|
|
160
|
+
fieldType: fieldType.value,
|
|
161
|
+
operatorType: opts?.operatorType || props.data?.operatorValue,
|
|
162
|
+
modelKey: props.data.leftValue?.modelKey,
|
|
163
|
+
fieldKey: props.data.leftValue?.key,
|
|
164
|
+
bindInfo: props.data.leftValue?.bindInfo,
|
|
165
|
+
refModelType: props.data.leftValue?.refModelType,
|
|
166
|
+
valueType: opts?.valueType || void 0,
|
|
167
|
+
fieldOptions: (props.isPageDesigner ? fieldOpts.value : fieldOptions.value) ?? [],
|
|
168
|
+
mainModelKey: void 0,
|
|
169
|
+
isPageDesigner: props.isPageDesigner,
|
|
170
|
+
isOnlineFormDesigner: false,
|
|
171
|
+
varOptions: varOptions.value
|
|
172
|
+
});
|
|
173
|
+
configs.value.forEach((config, index) => {
|
|
174
|
+
const options = config[config?.typeKeys?.[index]]?.attrs?.options || [];
|
|
175
|
+
options.length && options.forEach((item) => {
|
|
176
|
+
item.label = t(item.label);
|
|
177
|
+
});
|
|
178
|
+
config.valueTypeOptions = config.valueTypeOptions?.filter((e) => !props.excludeValueType?.includes(e.value));
|
|
179
|
+
});
|
|
180
|
+
};
|
|
181
|
+
watch([
|
|
182
|
+
fieldType.value,
|
|
183
|
+
() => props.data.leftValue,
|
|
184
|
+
() => props.data.operatorValue
|
|
185
|
+
], async () => {
|
|
186
|
+
if (fieldType.value && props.data.leftValue && props.data.operatorValue) {
|
|
187
|
+
const params = {};
|
|
188
|
+
if (isDate.value && props.data?.operatorValue === SEARCH_SERVICE.RANGE && Array.isArray(props.data.rightValue) && props.data.rightValue.length !== 0) {
|
|
189
|
+
const rightValueItem = props.data.rightValue[0];
|
|
190
|
+
if (rightValueItem.valueType === ValueTypeEnum.FIXED) Object.assign(params, { valueType: rightValueItem.valueType });
|
|
191
|
+
}
|
|
192
|
+
if (props.isPageDesigner && props.data.rightValue?.[0]["valueType"] == "FIELD" && !fieldOpts.value?.length) setTimeout(() => getConfig(params), 200);
|
|
193
|
+
else getConfig(params);
|
|
194
|
+
}
|
|
195
|
+
}, {
|
|
196
|
+
deep: true,
|
|
197
|
+
immediate: true
|
|
198
|
+
});
|
|
199
|
+
const FieldClick = (value, row) => {
|
|
200
|
+
if (!value) {
|
|
201
|
+
handleLeftChange(value, {});
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
const { key, bindInfo, id, modelKey, name, refModelType, type } = row;
|
|
205
|
+
handleLeftChange(id, { filedInfo: {
|
|
206
|
+
field_search_key: value,
|
|
207
|
+
key,
|
|
208
|
+
bindInfo,
|
|
209
|
+
id,
|
|
210
|
+
modelKey,
|
|
211
|
+
name,
|
|
212
|
+
refModelType,
|
|
213
|
+
type
|
|
214
|
+
} });
|
|
215
|
+
};
|
|
216
|
+
const filterOption = (input, option) => {
|
|
217
|
+
if (option.name) return option.name.includes(input?.trim());
|
|
218
|
+
return option.label?.includes(input?.trim());
|
|
219
|
+
};
|
|
220
|
+
const leftValue = computed(() => {
|
|
221
|
+
if (!(fields.value?.map((i) => i.value))?.includes(props.data.leftValue?.id)) return props.data.leftValue?.name;
|
|
222
|
+
return props.data.leftValue?.id;
|
|
223
|
+
});
|
|
224
|
+
const handleLeftChange = async (value, option) => {
|
|
225
|
+
if (value) {
|
|
226
|
+
updateNodeItem(treeId.value, "leftValue", option.filedInfo);
|
|
227
|
+
configs.value = [];
|
|
228
|
+
if (isPermScope.value) {
|
|
229
|
+
const permOpt = permOperatorOpts.value?.[0];
|
|
230
|
+
await nextTick();
|
|
231
|
+
handleOperatorChange(permOpt.value, permOpt);
|
|
232
|
+
}
|
|
233
|
+
} else {
|
|
234
|
+
updateNodeItem(treeId.value, "leftValue", void 0);
|
|
235
|
+
configs.value = [];
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
const handleOperatorChange = (value, _option) => {
|
|
239
|
+
if (isPermScope.value && !props.data?.leftValue?.key) return;
|
|
240
|
+
getConfig({
|
|
241
|
+
operatorType: value,
|
|
242
|
+
valueType: void 0
|
|
243
|
+
});
|
|
244
|
+
const defaultValues = configs.value.map((item) => item.default);
|
|
245
|
+
updateNodeItem(treeId.value, "operatorValue", value, {
|
|
246
|
+
key: "valueType",
|
|
247
|
+
defaultValues
|
|
248
|
+
});
|
|
249
|
+
};
|
|
250
|
+
const handleInputChange = (event, index) => {
|
|
251
|
+
const valueType = props.data?.rightValue?.[index].valueType;
|
|
252
|
+
let value;
|
|
253
|
+
if (isDate.value) if (valueType === ValueTypeEnum.FIXED && !isEmpty(event)) value = dayjs(event).format(dateFormat[fieldType.value]);
|
|
254
|
+
else value = event;
|
|
255
|
+
else value = event?.target ? event.target?.value : event;
|
|
256
|
+
updateNodeItem(treeId.value, "rightValue", value, {
|
|
257
|
+
index,
|
|
258
|
+
key: "result"
|
|
259
|
+
});
|
|
260
|
+
};
|
|
261
|
+
const handleDeleteRow = () => {
|
|
262
|
+
deleteRow(treeId.value);
|
|
263
|
+
};
|
|
264
|
+
return (_ctx, _cache) => {
|
|
265
|
+
const _component_a_select = resolveComponent("a-select");
|
|
266
|
+
const _component_a_form_item_rest = resolveComponent("a-form-item-rest");
|
|
267
|
+
const _component_a_input = resolveComponent("a-input");
|
|
268
|
+
const _component_a_button = resolveComponent("a-button");
|
|
269
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
270
|
+
createVNode(_component_a_form_item_rest, null, {
|
|
271
|
+
default: withCtx(() => [__props.modelName && __props.cascadeField ? (openBlock(), createBlock(unref(FieldCascader_default), {
|
|
272
|
+
key: 0,
|
|
273
|
+
value: __props.data?.leftValue?.field_search_key || __props.data?.leftValue?.key,
|
|
274
|
+
"filter-field-by-function": filterFieldByFunction,
|
|
275
|
+
"field-meta-list": __props.fieldList,
|
|
276
|
+
"model-name": __props.modelName,
|
|
277
|
+
style: {
|
|
278
|
+
"flex": "1",
|
|
279
|
+
"min-width": "0",
|
|
280
|
+
"margin-right": "12px"
|
|
281
|
+
},
|
|
282
|
+
onFieldClick: FieldClick
|
|
283
|
+
}, null, 8, [
|
|
284
|
+
"value",
|
|
285
|
+
"field-meta-list",
|
|
286
|
+
"model-name"
|
|
287
|
+
])) : (openBlock(), createBlock(_component_a_select, {
|
|
288
|
+
key: 1,
|
|
289
|
+
value: leftValue.value,
|
|
290
|
+
options: fields.value,
|
|
291
|
+
disabled: __props.readonly,
|
|
292
|
+
"allow-clear": __props.isAllowClear,
|
|
293
|
+
"filter-option": filterOption,
|
|
294
|
+
placeholder: unref(t)("sys.chooseText"),
|
|
295
|
+
"show-search": "",
|
|
296
|
+
style: {
|
|
297
|
+
"width": "212px",
|
|
298
|
+
"margin-right": "12px"
|
|
299
|
+
},
|
|
300
|
+
class: normalizeClass(["tree-action-select", __props.hasPermScopeError && !leftValue.value ? "is-perm-scope-error" : ""]),
|
|
301
|
+
onChange: handleLeftChange
|
|
302
|
+
}, null, 8, [
|
|
303
|
+
"value",
|
|
304
|
+
"options",
|
|
305
|
+
"disabled",
|
|
306
|
+
"allow-clear",
|
|
307
|
+
"placeholder",
|
|
308
|
+
"class"
|
|
309
|
+
]))]),
|
|
310
|
+
_: 1
|
|
311
|
+
}),
|
|
312
|
+
createVNode(_component_a_form_item_rest, null, {
|
|
313
|
+
default: withCtx(() => [createVNode(_component_a_select, {
|
|
314
|
+
class: normalizeClass(__props.readonly ? "tree-action-select" : ""),
|
|
315
|
+
disabled: __props.readonly || false,
|
|
316
|
+
placeholder: unref(t)("sys.chooseText"),
|
|
317
|
+
options: permOperatorOpts.value,
|
|
318
|
+
value: __props.data?.operatorValue,
|
|
319
|
+
style: {
|
|
320
|
+
"width": "120px",
|
|
321
|
+
"margin-right": "12px"
|
|
322
|
+
},
|
|
323
|
+
onChange: handleOperatorChange
|
|
324
|
+
}, null, 8, [
|
|
325
|
+
"class",
|
|
326
|
+
"disabled",
|
|
327
|
+
"placeholder",
|
|
328
|
+
"options",
|
|
329
|
+
"value"
|
|
330
|
+
])]),
|
|
331
|
+
_: 1
|
|
332
|
+
}),
|
|
333
|
+
Array.isArray(configs.value) && configs.value.length === 0 ? (openBlock(), createBlock(_component_a_form_item_rest, { key: 0 }, {
|
|
334
|
+
default: withCtx(() => [createVNode(_component_a_input, {
|
|
335
|
+
disabled: true,
|
|
336
|
+
placeholder: unref(t)("sys.chooseText"),
|
|
337
|
+
style: {
|
|
338
|
+
"flex": "1",
|
|
339
|
+
"min-width": "0"
|
|
340
|
+
}
|
|
341
|
+
}, null, 8, ["placeholder"])]),
|
|
342
|
+
_: 1
|
|
343
|
+
})) : createCommentVNode("", true),
|
|
344
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(configs.value, (config, index) => {
|
|
345
|
+
return openBlock(), createElementBlock(Fragment, { key: index }, [configs.value.length > 1 && index === configs.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(t)("sys.webRender.to")), 1)) : createCommentVNode("", true), config.isHide ? (openBlock(), createElementBlock("div", _hoisted_3)) : (openBlock(), createBlock(_component_a_form_item_rest, { key: 2 }, {
|
|
346
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_4, [(openBlock(), createBlock(resolveDynamicComponent(cmps[config[__props.data?.rightValue?.[index].valueType]?.cmp]), mergeProps({
|
|
347
|
+
disabled: __props.readonly,
|
|
348
|
+
style: { "width": "100%" },
|
|
349
|
+
placeholder: unref(t)("sys.pleaseSelectSth"),
|
|
350
|
+
value: value.value[index],
|
|
351
|
+
bordered: ""
|
|
352
|
+
}, { ref_for: true }, config[__props.data?.rightValue?.[index].valueType]?.attrs, {
|
|
353
|
+
"filter-type": __props.filterType,
|
|
354
|
+
class: [__props.readonly ? "tree-action-select left-border" : "", __props.hasPermScopeError && leftValue.value && (!value.value[index] || !value.value[index]?.length) ? "is-perm-scope-error" : ""],
|
|
355
|
+
onChange: (event) => handleInputChange(event, index),
|
|
356
|
+
"onUpdate:pageNo": ($event) => handlePageNo(index)
|
|
357
|
+
}), null, 16, [
|
|
358
|
+
"disabled",
|
|
359
|
+
"placeholder",
|
|
360
|
+
"value",
|
|
361
|
+
"filter-type",
|
|
362
|
+
"class",
|
|
363
|
+
"onChange",
|
|
364
|
+
"onUpdate:pageNo"
|
|
365
|
+
]))])]),
|
|
366
|
+
_: 2
|
|
367
|
+
}, 1024))], 64);
|
|
368
|
+
}), 128)),
|
|
369
|
+
createElementVNode("div", _hoisted_5, [!__props.readonly && (__props.selectFiledKeys && __props.selectFiledKeys.length > 1 || __props.data.dataLen > 1) ? (openBlock(), createBlock(_component_a_button, {
|
|
370
|
+
key: 0,
|
|
371
|
+
type: "link",
|
|
372
|
+
size: "small",
|
|
373
|
+
class: "ml-12px perm-action-delete",
|
|
374
|
+
onClick: handleDeleteRow
|
|
375
|
+
}, {
|
|
376
|
+
icon: withCtx(() => [..._cache[0] || (_cache[0] = [createElementVNode("i", { class: "gct-iconfont icon-icon_shanchu" }, null, -1)])]),
|
|
377
|
+
_: 1
|
|
378
|
+
})) : createCommentVNode("", true)])
|
|
379
|
+
]);
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
});
|
|
383
|
+
//#endregion
|
|
384
|
+
export { perm_action_node_vue_vue_type_script_setup_true_name_perm_action_node_lang_default as default };
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
.perm-action-node[data-v-417c660f] {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
width: 100%;
|
|
5
|
+
min-width: 0;
|
|
6
|
+
}
|
|
7
|
+
.perm-action-node__actions[data-v-417c660f] {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-shrink: 0;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
12
|
+
.perm-action-node__flex-value[data-v-417c660f] {
|
|
13
|
+
flex: 1 1 0%;
|
|
14
|
+
min-width: 0;
|
|
15
|
+
}
|
|
16
|
+
.perm-action-node__flex-value[data-v-417c660f] .ant-select,
|
|
17
|
+
.perm-action-node__flex-value[data-v-417c660f] .ant-tree-select {
|
|
18
|
+
max-width: 100%;
|
|
19
|
+
}
|
|
20
|
+
.perm-action-node[data-v-417c660f] .ant-select.tree-action-select.ant-select-disabled .ant-select-selector {
|
|
21
|
+
border-color: #fff !important;
|
|
22
|
+
background: #fff;
|
|
23
|
+
color: rgba(0, 0, 0, 0.85);
|
|
24
|
+
cursor: default;
|
|
25
|
+
}
|
|
26
|
+
.perm-action-node[data-v-417c660f] .ant-select.tree-action-select.ant-select-disabled.is-unit .ant-select-selector {
|
|
27
|
+
color: #3168ec;
|
|
28
|
+
}
|
|
29
|
+
.perm-action-node[data-v-417c660f] .ant-select.tree-action-select.ant-select-disabled.left-border {
|
|
30
|
+
border-left: 1px solid #e8ebf0 !important;
|
|
31
|
+
}
|
|
32
|
+
.perm-action-node[data-v-417c660f] .ant-select.tree-action-select.ant-select-disabled .ant-select-arrow {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
.perm-action-node[data-v-417c660f] .ant-input.ant-input-disabled.tree-action-select {
|
|
36
|
+
border-left: 1px solid #e8ebf0 !important;
|
|
37
|
+
border-color: #fff !important;
|
|
38
|
+
background: #fff;
|
|
39
|
+
color: rgba(0, 0, 0, 0.85);
|
|
40
|
+
cursor: default;
|
|
41
|
+
}
|
|
42
|
+
.perm-action-node[data-v-417c660f] .ant-picker.tree-action-select.ant-picker-disabled {
|
|
43
|
+
border-left: 1px solid #e8ebf0 !important;
|
|
44
|
+
border-color: #fff !important;
|
|
45
|
+
background: #fff;
|
|
46
|
+
cursor: default;
|
|
47
|
+
}
|
|
48
|
+
.perm-action-node[data-v-417c660f] .ant-picker.tree-action-select.ant-picker-disabled .ant-picker-input > input {
|
|
49
|
+
border-color: #fff !important;
|
|
50
|
+
background: #fff;
|
|
51
|
+
color: rgba(0, 0, 0, 0.85);
|
|
52
|
+
}
|
|
53
|
+
.perm-action-node .perm-action-delete[data-v-417c660f] {
|
|
54
|
+
width: 32px;
|
|
55
|
+
height: 32px;
|
|
56
|
+
padding: 6px;
|
|
57
|
+
border-radius: 4px;
|
|
58
|
+
color: #8b8b8b;
|
|
59
|
+
}
|
|
60
|
+
.perm-action-node .perm-action-delete[data-v-417c660f]:hover {
|
|
61
|
+
color: #000000;
|
|
62
|
+
background: #e8eaee;
|
|
63
|
+
}
|
|
64
|
+
.perm-action-node .ant-btn-icon-only.ant-btn-sm[data-v-417c660f] > * {
|
|
65
|
+
font-size: 18px;
|
|
66
|
+
}
|
|
67
|
+
.perm-action-node[data-v-417c660f] .is-perm-scope-error.ant-select .ant-select-selector {
|
|
68
|
+
border-color: #f54547;
|
|
69
|
+
}
|
|
70
|
+
[data-v-417c660f] .anticon {
|
|
71
|
+
color: #797a7d;
|
|
72
|
+
font-size: 16px;
|
|
73
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { TreeProps } from '../typing';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<TreeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TreeProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
+
import perm_root_node_vue_vue_type_script_setup_true_name_perm_root_node_lang_default from "./perm-root-node.vue_vue_type_script_setup_true_name_perm-root-node_lang.mjs";
|
|
3
|
+
import './perm-root-node.vue_vue_type_style_index_0_scoped_ca5c9d20_lang.css';/* empty css */
|
|
4
|
+
//#region src/modules/data-rules-container/src/components/perm-root-node.vue
|
|
5
|
+
var perm_root_node_default = /* @__PURE__ */ _plugin_vue_export_helper_default(perm_root_node_vue_vue_type_script_setup_true_name_perm_root_node_lang_default, [["__scopeId", "data-v-ca5c9d20"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { perm_root_node_default as default };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Ch_Perm_Operator, OperatorTypeEnum } from "../constant/interface.mjs";
|
|
2
|
+
import { useDataRulesTree } from "../hooks/useDataRulesTree.mjs";
|
|
3
|
+
import { Fragment, computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, renderList, resolveComponent, toDisplayString, withCtx } from "vue";
|
|
4
|
+
import { t } from "@gct-paas/core";
|
|
5
|
+
//#region src/modules/data-rules-container/src/components/perm-root-node.vue?vue&type=script&setup=true&name=perm-root-node&lang.ts
|
|
6
|
+
var _hoisted_1 = { class: "perm-root-node" };
|
|
7
|
+
var perm_root_node_vue_vue_type_script_setup_true_name_perm_root_node_lang_default = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "perm-root-node",
|
|
9
|
+
props: {
|
|
10
|
+
data: {},
|
|
11
|
+
level: {},
|
|
12
|
+
id: {},
|
|
13
|
+
operatorType: {},
|
|
14
|
+
readonly: { type: Boolean }
|
|
15
|
+
},
|
|
16
|
+
setup(__props) {
|
|
17
|
+
const OperatorOptions = [{
|
|
18
|
+
label: t(Ch_Perm_Operator[OperatorTypeEnum.AND]),
|
|
19
|
+
value: OperatorTypeEnum.AND
|
|
20
|
+
}, {
|
|
21
|
+
label: t(Ch_Perm_Operator[OperatorTypeEnum.OR]),
|
|
22
|
+
value: OperatorTypeEnum.OR
|
|
23
|
+
}];
|
|
24
|
+
const props = __props;
|
|
25
|
+
const { updateNodeItem } = useDataRulesTree(props.readonly);
|
|
26
|
+
const operatorType = computed({
|
|
27
|
+
get() {
|
|
28
|
+
return props.operatorType;
|
|
29
|
+
},
|
|
30
|
+
set(value) {
|
|
31
|
+
updateNodeItem(props.id, "operatorType", value);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
return (_ctx, _cache) => {
|
|
35
|
+
const _component_a_radio_button = resolveComponent("a-radio-button");
|
|
36
|
+
const _component_a_radio_group = resolveComponent("a-radio-group");
|
|
37
|
+
const _component_a_form_item_rest = resolveComponent("a-form-item-rest");
|
|
38
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", null, [createVNode(_component_a_form_item_rest, null, {
|
|
39
|
+
default: withCtx(() => [createVNode(_component_a_radio_group, {
|
|
40
|
+
value: operatorType.value,
|
|
41
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => operatorType.value = $event),
|
|
42
|
+
disabled: __props.readonly
|
|
43
|
+
}, {
|
|
44
|
+
default: withCtx(() => [(openBlock(), createElementBlock(Fragment, null, renderList(OperatorOptions, (operator) => {
|
|
45
|
+
return createVNode(_component_a_radio_button, {
|
|
46
|
+
key: operator.value,
|
|
47
|
+
value: operator.value
|
|
48
|
+
}, {
|
|
49
|
+
default: withCtx(() => [createTextVNode(toDisplayString(operator.label), 1)]),
|
|
50
|
+
_: 2
|
|
51
|
+
}, 1032, ["value"]);
|
|
52
|
+
}), 64))]),
|
|
53
|
+
_: 1
|
|
54
|
+
}, 8, ["value", "disabled"])]),
|
|
55
|
+
_: 1
|
|
56
|
+
})])]);
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
//#endregion
|
|
61
|
+
export { perm_root_node_vue_vue_type_script_setup_true_name_perm_root_node_lang_default as default };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
.perm-root-node[data-v-ca5c9d20] {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-between;
|
|
4
|
+
}
|
|
5
|
+
.perm-root-node .ant-btn[data-v-ca5c9d20] {
|
|
6
|
+
line-height: 22px;
|
|
7
|
+
}
|
|
8
|
+
.perm-root-node .ant-btn .iconfont[data-v-ca5c9d20] {
|
|
9
|
+
font-size: 14px;
|
|
10
|
+
}
|
|
11
|
+
.ant-radio-button-wrapper-checked[data-v-ca5c9d20] {
|
|
12
|
+
background-color: rgba(from var(--ant-primary-color) r g b / 8%);
|
|
13
|
+
}
|
|
14
|
+
[data-v-ca5c9d20] .ant-select.perm-root-node-select.ant-select-disabled .ant-select-selector {
|
|
15
|
+
border-color: #fff !important;
|
|
16
|
+
background: #e6eeff;
|
|
17
|
+
color: #3168ec;
|
|
18
|
+
cursor: default;
|
|
19
|
+
}
|
|
20
|
+
[data-v-ca5c9d20] .ant-select.perm-root-node-select.ant-select-disabled .ant-select-selector .ant-select-selection-item {
|
|
21
|
+
padding-right: 0;
|
|
22
|
+
}
|
|
23
|
+
.perm-root-node-add-row[data-v-ca5c9d20] {
|
|
24
|
+
color: var(--ant-primary-color);
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
[data-v-ca5c9d20] .ant-select-selector {
|
|
28
|
+
border: none !important;
|
|
29
|
+
background-color: var(--ant-primary-1) !important;
|
|
30
|
+
color: var(--ant-primary-color) !important;
|
|
31
|
+
}
|
|
32
|
+
[data-v-ca5c9d20] .ant-select-arrow {
|
|
33
|
+
color: var(--ant-primary-color) !important;
|
|
34
|
+
}
|
|
35
|
+
[data-v-ca5c9d20] .ant-radio-group {
|
|
36
|
+
border-radius: 6px;
|
|
37
|
+
border: 1px solid #e8ebf0;
|
|
38
|
+
background-color: #e8ebf0;
|
|
39
|
+
}
|
|
40
|
+
[data-v-ca5c9d20] .ant-radio-group .ant-radio-button-wrapper {
|
|
41
|
+
border-color: #e8ebf0;
|
|
42
|
+
color: #5a5f6b;
|
|
43
|
+
padding: 0 24px;
|
|
44
|
+
font-weight: 400;
|
|
45
|
+
background-color: transparent;
|
|
46
|
+
}
|
|
47
|
+
[data-v-ca5c9d20] .ant-radio-group .ant-radio-button-wrapper:first-child {
|
|
48
|
+
border-radius: 4px;
|
|
49
|
+
}
|
|
50
|
+
[data-v-ca5c9d20] .ant-radio-group .ant-radio-button-wrapper:last-child {
|
|
51
|
+
border-radius: 4px;
|
|
52
|
+
}
|
|
53
|
+
[data-v-ca5c9d20] .ant-radio-group .ant-radio-button-wrapper:hover {
|
|
54
|
+
color: #5a5f6b;
|
|
55
|
+
background-color: #f5f6f8;
|
|
56
|
+
}
|
|
57
|
+
[data-v-ca5c9d20] .ant-radio-group .ant-radio-button-wrapper.ant-radio-button-wrapper-checked {
|
|
58
|
+
color: #1a1d23;
|
|
59
|
+
background-color: #fff;
|
|
60
|
+
font-weight: 500;
|
|
61
|
+
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
|
|
62
|
+
}
|
|
63
|
+
[data-v-ca5c9d20] .ant-radio-group .ant-radio-button-wrapper-checked.ant-radio-button-wrapper:first-child {
|
|
64
|
+
border-right-color: #e8ebf0;
|
|
65
|
+
}
|
|
66
|
+
[data-v-ca5c9d20] .ant-radio-group .ant-radio-button-wrapper:not(:first-child):before {
|
|
67
|
+
width: 2px;
|
|
68
|
+
background-color: #e8ebf0;
|
|
69
|
+
}
|
|
70
|
+
[data-v-ca5c9d20] .ant-radio-group .ant-radio-button-wrapper-checked:not(
|
|
71
|
+
.ant-radio-button-wrapper-disabled
|
|
72
|
+
):focus-within {
|
|
73
|
+
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
|
|
74
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ApiParams } from '../typing';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value?: string[];
|
|
4
|
+
apiParams: ApiParams;
|
|
5
|
+
/** 是否选中父级实际选中默认子版本 */
|
|
6
|
+
parentToDefault?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
parentToDefault: boolean;
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import rdo_select_cmp_vue_vue_type_script_setup_true_lang_default from "./rdo-select-cmp.vue_vue_type_script_setup_true_lang.mjs";
|
|
2
|
+
//#region src/modules/data-rules-container/src/components/rdo-select-cmp.vue
|
|
3
|
+
var rdo_select_cmp_default = rdo_select_cmp_vue_vue_type_script_setup_true_lang_default;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { rdo_select_cmp_default as default };
|