cnhis-design-vue 3.3.3-release.0 → 3.3.3-release.7
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/README.md +87 -87
- package/es/components/audio-sdk/index.d.ts +13 -11
- package/es/components/audio-sdk/src/Index.vue.d.ts +13 -11
- package/es/components/audio-sdk/src/Index.vue2.js +43 -11
- package/es/components/audio-sdk/src/audioSDK.js +1 -1
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +1 -1
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +1 -1
- package/es/components/audio-sdk/src/components/recording.vue2.js +17 -3
- package/es/components/base-search/index.d.ts +3 -0
- package/es/components/base-search/src/index.vue.d.ts +3 -0
- package/es/components/big-table/src/components/NoData.vue2.js +8 -1
- package/es/components/big-table/src/hooks/useTableParse.js +8 -1
- package/es/components/button-print/index.d.ts +2 -1
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +2 -1
- package/es/components/button-print/src/ButtonPrint.vue2.js +6 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +1 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +11 -5
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +4 -1
- package/es/components/button-print/src/utils/print.d.ts +2 -2
- package/es/components/button-print/src/utils/print.js +29 -20
- package/es/components/callback/src/components/render/popupMaps.d.ts +13 -0
- package/es/components/card-reader-sdk-cn/src/henan/index.js +8 -1
- package/es/components/classification/index.d.ts +56 -6
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +56 -6
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +56 -6
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +56 -6
- package/es/components/expand-field/index.d.ts +792 -1
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/form.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/form.vue2.js +8 -1
- package/es/components/expand-field/src/index.vue.d.ts +792 -1
- package/es/components/field-editor/index.d.ts +13 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +13 -0
- package/es/components/field-editor/src/FieldEditor.vue2.js +2 -1
- package/es/components/field-editor/src/fields.d.ts +1 -0
- package/es/components/field-editor/src/fields.js +6 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +32 -1
- package/es/components/field-set/src/FieldSet.vue2.js +112 -65
- package/es/components/field-set/src/Index.vue2.js +8 -3
- package/es/components/field-set/src/TableStyle.vue2.js +2 -2
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/field-set/src/constants/index.d.ts +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +39 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +39 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +13 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +13 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +13 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +8 -1
- package/es/components/form-render/index.d.ts +13 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +13 -0
- package/es/components/form-render/src/FormRender.vue2.js +4 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +13 -0
- package/es/components/form-render/src/components/renderer/formItem.js +8 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +12 -3
- package/es/components/form-render/src/hooks/useBusinessBinding.js +7 -7
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +8 -1
- package/es/components/form-render/src/utils/business.d.ts +3 -1
- package/es/components/form-render/src/utils/business.js +7 -1
- package/es/components/iho-chat/index.d.ts +18 -1
- package/es/components/iho-chat/src/Index.vue.d.ts +18 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +2 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +22 -10
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +3 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +16 -0
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +112 -53
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/hooks/index.d.ts +1 -0
- package/es/components/iho-chat/src/hooks/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useDraggable.d.ts +25 -0
- package/es/components/iho-chat/src/hooks/useDraggable.js +151 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +26 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +26 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +13 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +13 -0
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +16 -2
- package/es/components/quick-search/index.d.ts +2 -0
- package/es/components/quick-search/src/index.vue.d.ts +2 -0
- package/es/components/scale-view/index.d.ts +67 -17
- package/es/components/scale-view/src/ScaleView.vue.d.ts +70 -19
- package/es/components/scale-view/src/ScaleView.vue2.js +84 -10
- package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +5 -0
- package/es/components/scale-view/src/components/AnswerParse.vue2.js +74 -8
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +10 -7
- package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +28 -4
- package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +10 -7
- package/es/components/scale-view/src/components/EvaluatePage.vue2.js +29 -8
- package/es/components/scale-view/src/components/NoData.vue2.js +9 -3
- package/es/components/scale-view/src/components/ScaleScore.d.ts +1 -1
- package/es/components/scale-view/src/components/ScaleScore.js +47 -4
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +20 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +2 -0
- package/es/components/scale-view/src/components/formitem/r-sign.js +32 -4
- package/es/components/scale-view/src/components/formitem/r-upload.js +65 -7
- package/es/components/scale-view/src/components/formitem/sign-com.js +8 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.js +20 -5
- package/es/components/scale-view/src/hooks/scaleview-init.js +24 -3
- package/es/components/scale-view/src/hooks/scaleview-methods.js +40 -5
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +8 -0
- package/es/components/scale-view/src/hooks/scaleview-props.js +8 -0
- package/es/components/scale-view/src/hooks/scaleview-submit.d.ts +2 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.js +64 -8
- package/es/components/scale-view/src/hooks/scaleview-validate.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-validate.js +157 -24
- package/es/components/scale-view/src/hooks/use-evaluate.js +16 -2
- package/es/components/scale-view/src/hooks/use-noData.js +33 -5
- package/es/components/scale-view/src/utils/judge-types.d.ts +2 -1
- package/es/components/scale-view/src/utils/judge-types.js +10 -10
- package/es/components/scale-view/src/utils/watch-form-change.d.ts +13 -0
- package/es/components/scale-view/src/utils/watch-form-change.js +71 -0
- package/es/components/scale-view/style/index.css +1 -1
- package/es/components/select-person/index.d.ts +792 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +434 -341
- package/es/components/select-person/src/SelectPerson.vue2.js +521 -675
- package/es/components/select-person/src/SelectPersonRole.vue.d.ts +630 -0
- package/es/components/select-person/src/SelectPersonRole.vue.js +6 -0
- package/es/components/select-person/src/SelectPersonRole.vue2.js +942 -0
- package/es/components/select-person/src/components/GroupItem.vue.d.ts +19 -0
- package/es/components/select-person/src/components/GroupItem.vue.js +6 -0
- package/es/components/select-person/src/components/GroupItem.vue2.js +37 -0
- package/es/components/select-person/src/components/SearchGroupList.vue.d.ts +214 -0
- package/es/components/select-person/src/components/SearchGroupList.vue.js +6 -0
- package/es/components/select-person/src/components/SearchGroupList.vue2.js +145 -0
- package/es/components/select-person/src/components/SearchMultiple.vue2.js +1 -1
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +21 -12
- package/es/components/select-person/src/components/TagItem.vue.d.ts +43 -0
- package/es/components/select-person/src/components/TagItem.vue.js +6 -0
- package/es/components/select-person/src/components/TagItem.vue2.js +40 -0
- package/es/components/select-person/src/index.vue.d.ts +793 -1
- package/es/components/select-person/src/index.vue2.js +21 -4
- package/es/components/select-person/src/types/index.d.ts +35 -0
- package/es/components/select-person/src/types/index.js +1 -0
- package/es/components/select-person/src/utils/index.d.ts +3 -0
- package/es/components/select-person/src/utils/index.js +29 -8
- package/es/components/select-person/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +13 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +54 -6
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +26 -10
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +17 -2
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +37 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +18 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +44 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +36 -4
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +2 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +55 -6
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +6 -3
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +25 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +12 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +2 -2
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -0
- package/es/components/table-filter/src/hooks/useAdvanced.js +20 -3
- package/es/components/table-filter/src/hooks/useRenderWidget.js +4 -0
- package/es/components/table-filter/src/tool/date.d.ts +3 -0
- package/es/components/table-filter/src/tool/date.js +139 -0
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
- package/es/components/table-filter/src/tool/transformData.js +11 -8
- package/es/components/table-filter/src/types/enums.d.ts +1 -0
- package/es/components/table-filter/src/types/enums.js +2 -1
- package/es/components/table-filter/src/types/index.d.ts +12 -0
- package/es/components/vod-chunk-upload/index.d.ts +3 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +1 -29
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +109 -11
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +15 -1
- package/es/components/vod-chunk-upload/src/hooks/upload-data.js +72 -9
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +3 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +75 -9
- package/es/env.d.ts +25 -25
- package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
import { createElementVNode, defineComponent, ref, computed, reactive, toRef, watch, openBlock, createElementBlock, createBlock, unref, withKeys, withModifiers, createCommentVNode, Fragment, renderList, normalizeStyle, withCtx, createTextVNode, toDisplayString, createVNode, normalizeClass, mergeProps, renderSlot } from 'vue';
|
2
|
-
import { NInput, NCheckbox, NTooltip, NIcon, NPopconfirm, NButton } from 'naive-ui';
|
2
|
+
import { NInput, NCheckbox, NTooltip, NIcon, NSelect, NPopconfirm, NButton } from 'naive-ui';
|
3
3
|
import draggableComponent from '../../../shared/components/VueDraggable/src/vuedraggable.js';
|
4
4
|
import Row from './components/table-row.vue.js';
|
5
5
|
import { isArray, cloneDeep, isString, omit } from 'lodash-es';
|
@@ -24,6 +24,16 @@ const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, function() {
|
|
24
24
|
const _hoisted_4 = ["tabindex"];
|
25
25
|
const _hoisted_5 = {
|
26
26
|
key: 1,
|
27
|
+
class: "main-wrapper__other-config"
|
28
|
+
};
|
29
|
+
const _hoisted_6 = {
|
30
|
+
class: "item"
|
31
|
+
};
|
32
|
+
const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", {
|
33
|
+
class: "label"
|
34
|
+
}, "\u8868\u5934\u7EC4\u5408\u6392\u5E8F", -1);
|
35
|
+
const _hoisted_8 = {
|
36
|
+
key: 2,
|
27
37
|
class: "main-wrapper__table-footer"
|
28
38
|
};
|
29
39
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -100,6 +110,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
100
110
|
},
|
101
111
|
titleAlias: {
|
102
112
|
type: String
|
113
|
+
},
|
114
|
+
tableConfig: {
|
115
|
+
type: Object
|
103
116
|
}
|
104
117
|
},
|
105
118
|
emits: [
|
@@ -111,6 +124,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
111
124
|
expose,
|
112
125
|
emit
|
113
126
|
}) {
|
127
|
+
var _a;
|
114
128
|
const props = __props;
|
115
129
|
const fieldsMapping = {
|
116
130
|
sid: "id",
|
@@ -120,16 +134,24 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
120
134
|
isFixed: "fixedWay",
|
121
135
|
colWidth: "columnWidth"
|
122
136
|
};
|
137
|
+
const TABLESORT_OPTION = [{
|
138
|
+
label: "\u72EC\u7ACB\u6392\u5E8F",
|
139
|
+
value: "SINGLE"
|
140
|
+
}, {
|
141
|
+
label: "\u7EC4\u5408\u6392\u5E8F",
|
142
|
+
value: "MULTIPLE"
|
143
|
+
}];
|
123
144
|
const resetKey = ref(Date.now());
|
124
145
|
const keyword = ref("");
|
125
146
|
const tableBodyRef = ref();
|
126
147
|
const tableRef = ref();
|
127
148
|
const newFields = ref([]);
|
149
|
+
const compositeSort = ref(((_a = props.tableConfig) == null ? void 0 : _a.sortType) || "SINGLE");
|
128
150
|
const defaultColumns = [{
|
129
151
|
title: function() {
|
130
|
-
var
|
152
|
+
var _a2, _b, _c;
|
131
153
|
try {
|
132
|
-
return ((
|
154
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.247")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.247")) || "\u6240\u6709\u5B57\u6BB5";
|
133
155
|
} catch (e) {
|
134
156
|
return "\u6240\u6709\u5B57\u6BB5";
|
135
157
|
}
|
@@ -138,9 +160,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
138
160
|
field: "title"
|
139
161
|
}, {
|
140
162
|
title: function() {
|
141
|
-
var
|
163
|
+
var _a2, _b, _c;
|
142
164
|
try {
|
143
|
-
return ((
|
165
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.240")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.240")) || "\u663E\u793A";
|
144
166
|
} catch (e) {
|
145
167
|
return "\u663E\u793A";
|
146
168
|
}
|
@@ -152,9 +174,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
152
174
|
fieldShowMaxValue: props.fieldShowMaxValue
|
153
175
|
}, {
|
154
176
|
title: function() {
|
155
|
-
var
|
177
|
+
var _a2, _b, _c;
|
156
178
|
try {
|
157
|
-
return ((
|
179
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.284")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.284")) || "\u7F16\u8F91";
|
158
180
|
} catch (e) {
|
159
181
|
return "\u7F16\u8F91";
|
160
182
|
}
|
@@ -165,9 +187,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
165
187
|
field: "editable"
|
166
188
|
}, {
|
167
189
|
title: function() {
|
168
|
-
var
|
190
|
+
var _a2, _b, _c;
|
169
191
|
try {
|
170
|
-
return ((
|
192
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.248")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.248")) || "\u5FC5\u586B";
|
171
193
|
} catch (e) {
|
172
194
|
return "\u5FC5\u586B";
|
173
195
|
}
|
@@ -178,9 +200,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
178
200
|
field: "required"
|
179
201
|
}, {
|
180
202
|
title: function() {
|
181
|
-
var
|
203
|
+
var _a2, _b, _c;
|
182
204
|
try {
|
183
|
-
return ((
|
205
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.249")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.249")) || "\u6392\u5E8F";
|
184
206
|
} catch (e) {
|
185
207
|
return "\u6392\u5E8F";
|
186
208
|
}
|
@@ -191,9 +213,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
191
213
|
field: "sort"
|
192
214
|
}, {
|
193
215
|
title: function() {
|
194
|
-
var
|
216
|
+
var _a2, _b, _c;
|
195
217
|
try {
|
196
|
-
return ((
|
218
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.250")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.250")) || "\u52A0\u7C97";
|
197
219
|
} catch (e) {
|
198
220
|
return "\u52A0\u7C97";
|
199
221
|
}
|
@@ -204,9 +226,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
204
226
|
field: "bold"
|
205
227
|
}, {
|
206
228
|
title: function() {
|
207
|
-
var
|
229
|
+
var _a2, _b, _c;
|
208
230
|
try {
|
209
|
-
return ((
|
231
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.251")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.251")) || "\u9ED8\u8BA4\u6392\u5E8F";
|
210
232
|
} catch (e) {
|
211
233
|
return "\u9ED8\u8BA4\u6392\u5E8F";
|
212
234
|
}
|
@@ -215,9 +237,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
215
237
|
field: "sortDirection"
|
216
238
|
}, {
|
217
239
|
title: function() {
|
218
|
-
var
|
240
|
+
var _a2, _b, _c;
|
219
241
|
try {
|
220
|
-
return ((
|
242
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.252")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.252")) || "\u6392\u5E8F\u4F18\u5148\u7EA7";
|
221
243
|
} catch (e) {
|
222
244
|
return "\u6392\u5E8F\u4F18\u5148\u7EA7";
|
223
245
|
}
|
@@ -226,9 +248,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
226
248
|
field: "sortPriority"
|
227
249
|
}, {
|
228
250
|
title: function() {
|
229
|
-
var
|
251
|
+
var _a2, _b, _c;
|
230
252
|
try {
|
231
|
-
return ((
|
253
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.253")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.253")) || "\u56FA\u5B9A";
|
232
254
|
} catch (e) {
|
233
255
|
return "\u56FA\u5B9A";
|
234
256
|
}
|
@@ -237,9 +259,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
237
259
|
field: "fixedWay"
|
238
260
|
}, {
|
239
261
|
title: function() {
|
240
|
-
var
|
262
|
+
var _a2, _b, _c;
|
241
263
|
try {
|
242
|
-
return ((
|
264
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.254")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.254")) || "\u81EA\u5B9A\u4E49\u6807\u9898";
|
243
265
|
} catch (e) {
|
244
266
|
return "\u81EA\u5B9A\u4E49\u6807\u9898";
|
245
267
|
}
|
@@ -248,9 +270,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
248
270
|
field: "alias"
|
249
271
|
}, {
|
250
272
|
title: function() {
|
251
|
-
var
|
273
|
+
var _a2, _b, _c;
|
252
274
|
try {
|
253
|
-
return ((
|
275
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.255")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.255")) || "\u5217\u5BBD";
|
254
276
|
} catch (e) {
|
255
277
|
return "\u5217\u5BBD";
|
256
278
|
}
|
@@ -259,9 +281,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
259
281
|
field: "columnWidth"
|
260
282
|
}, {
|
261
283
|
title: function() {
|
262
|
-
var
|
284
|
+
var _a2, _b, _c;
|
263
285
|
try {
|
264
|
-
return ((
|
286
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.256")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.256")) || "\u8868\u5934\u7B5B\u9009";
|
265
287
|
} catch (e) {
|
266
288
|
return "\u8868\u5934\u7B5B\u9009";
|
267
289
|
}
|
@@ -271,9 +293,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
271
293
|
field: "isShowHeaderFilter"
|
272
294
|
}, {
|
273
295
|
title: function() {
|
274
|
-
var
|
296
|
+
var _a2, _b, _c;
|
275
297
|
try {
|
276
|
-
return ((
|
298
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.36")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.36")) || "\u641C\u7D22";
|
277
299
|
} catch (e) {
|
278
300
|
return "\u641C\u7D22";
|
279
301
|
}
|
@@ -284,9 +306,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
284
306
|
hide: true
|
285
307
|
}, {
|
286
308
|
title: function() {
|
287
|
-
var
|
309
|
+
var _a2, _b, _c;
|
288
310
|
try {
|
289
|
-
return ((
|
311
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.257")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.257")) || "\u6C42\u548C";
|
290
312
|
} catch (e) {
|
291
313
|
return "\u6C42\u548C";
|
292
314
|
}
|
@@ -297,9 +319,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
297
319
|
hide: true
|
298
320
|
}, {
|
299
321
|
title: function() {
|
300
|
-
var
|
322
|
+
var _a2, _b, _c;
|
301
323
|
try {
|
302
|
-
return ((
|
324
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.258")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.258")) || "\u5E73\u5747\u503C";
|
303
325
|
} catch (e) {
|
304
326
|
return "\u5E73\u5747\u503C";
|
305
327
|
}
|
@@ -310,9 +332,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
310
332
|
hide: true
|
311
333
|
}, {
|
312
334
|
title: function() {
|
313
|
-
var
|
335
|
+
var _a2, _b, _c;
|
314
336
|
try {
|
315
|
-
return ((
|
337
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.259")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.259")) || "\u8131\u654F\u914D\u7F6E";
|
316
338
|
} catch (e) {
|
317
339
|
return "\u8131\u654F\u914D\u7F6E";
|
318
340
|
}
|
@@ -323,11 +345,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
323
345
|
}];
|
324
346
|
const columns = ref([]);
|
325
347
|
const itemWidth = computed(() => {
|
326
|
-
var
|
327
|
-
return ((
|
348
|
+
var _a2;
|
349
|
+
return ((_a2 = tableRef.value) == null ? void 0 : _a2.scrollWidth) ? tableRef.value.scrollWidth + "px" : "auto";
|
328
350
|
});
|
329
351
|
const fieldList = computed(() => newFields.value.flat());
|
330
352
|
const hasFieldDescribe = computed(() => fieldList.value.some((item) => item.feildDescribe));
|
353
|
+
const isShowCompositeSort = computed(() => {
|
354
|
+
var _a2;
|
355
|
+
return (_a2 = props.tableConfig) == null ? void 0 : _a2.compositeSort;
|
356
|
+
});
|
331
357
|
const rowProps = reactive({
|
332
358
|
columns,
|
333
359
|
data: fieldList,
|
@@ -355,17 +381,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
355
381
|
emit("close");
|
356
382
|
};
|
357
383
|
function reset() {
|
384
|
+
var _a2;
|
358
385
|
newFields.value = initFields();
|
359
386
|
initColumns();
|
360
387
|
resetKey.value = Date.now();
|
388
|
+
compositeSort.value = ((_a2 = props.tableConfig) == null ? void 0 : _a2.sortType) || "SINGLE";
|
361
389
|
emit("reset");
|
362
390
|
}
|
363
391
|
function getTitle(column) {
|
364
392
|
return column.field === "title" && props.titleAlias ? props.titleAlias : column.title;
|
365
393
|
}
|
366
394
|
function getShowColumn(column) {
|
367
|
-
var
|
368
|
-
if (!((
|
395
|
+
var _a2, _b;
|
396
|
+
if (!((_a2 = props.showColumnNames) == null ? void 0 : _a2.length)) {
|
369
397
|
const isEdit = ["editable", "required"].includes(column.field);
|
370
398
|
if (isEdit && !props.isEdit || column.field === "sortPriority" && !props.showSortPriority || column.field === "isShowHeaderFilter" && !props.showHeadFilter || column.field === "hideExpression" && !((_b = props.hideExpressionConfig) == null ? void 0 : _b.show))
|
371
399
|
return false;
|
@@ -380,7 +408,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
380
408
|
}));
|
381
409
|
Object.keys(fieldsMapping).forEach((key) => {
|
382
410
|
cloneFields.forEach((item) => {
|
383
|
-
var
|
411
|
+
var _a2;
|
384
412
|
if (props.type == "old") {
|
385
413
|
if (Reflect.has(item, key)) {
|
386
414
|
if (key == "isFixed") {
|
@@ -401,7 +429,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
401
429
|
item.bold = false;
|
402
430
|
}
|
403
431
|
item.draggable = isDraggable(item) ? true : false;
|
404
|
-
if (isArray((
|
432
|
+
if (isArray((_a2 = item.relation) == null ? void 0 : _a2.fieldList)) {
|
405
433
|
item.relation.fieldList.forEach((v) => {
|
406
434
|
if (v.isSearch == 1) {
|
407
435
|
v.checked = true;
|
@@ -459,8 +487,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
459
487
|
function handleSearch() {
|
460
488
|
const keywordChanged = searchData.keyword !== keyword.value;
|
461
489
|
let idx = !keyword.value ? 0 : fieldList.value.findIndex((field, i) => {
|
462
|
-
var
|
463
|
-
if ((
|
490
|
+
var _a2;
|
491
|
+
if ((_a2 = field.title) == null ? void 0 : _a2.includes(keyword.value)) {
|
464
492
|
if (!keywordChanged)
|
465
493
|
return i > searchData.idx;
|
466
494
|
return true;
|
@@ -477,8 +505,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
477
505
|
} : {});
|
478
506
|
}
|
479
507
|
function isHighlight(element) {
|
480
|
-
var
|
481
|
-
return !!keyword.value && ((
|
508
|
+
var _a2;
|
509
|
+
return !!keyword.value && ((_a2 = element.title) == null ? void 0 : _a2.includes(keyword.value));
|
482
510
|
}
|
483
511
|
function handleAllCheck(checked, field) {
|
484
512
|
fieldList.value.forEach((fieldItem) => {
|
@@ -495,12 +523,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
495
523
|
column.checkedAll = !noAllCheck;
|
496
524
|
}
|
497
525
|
function initColumns() {
|
498
|
-
var
|
526
|
+
var _a2, _b;
|
499
527
|
columns.value = cloneDeep(defaultColumns);
|
500
|
-
if ((
|
528
|
+
if ((_a2 = props.showColumnNames) == null ? void 0 : _a2.length) {
|
501
529
|
columns.value = defaultColumns.filter((column) => {
|
502
|
-
var
|
503
|
-
return column.field === "title" || ((_b2 = (
|
530
|
+
var _a3, _b2;
|
531
|
+
return column.field === "title" || ((_b2 = (_a3 = props.showColumnNames) == null ? void 0 : _a3.includes) == null ? void 0 : _b2.call(_a3, column.field));
|
504
532
|
});
|
505
533
|
}
|
506
534
|
if ((_b = props.customColumns) == null ? void 0 : _b.length) {
|
@@ -519,9 +547,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
519
547
|
if (props.fieldDescribeMode === "column" && hasFieldDescribe.value) {
|
520
548
|
columns.value.push({
|
521
549
|
title: function() {
|
522
|
-
var
|
550
|
+
var _a3, _b2, _c;
|
523
551
|
try {
|
524
|
-
return ((
|
552
|
+
return ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.260")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.260")) || "\u5B57\u6BB5\u63CF\u8FF0";
|
525
553
|
} catch (e) {
|
526
554
|
return "\u5B57\u6BB5\u63CF\u8FF0";
|
527
555
|
}
|
@@ -533,9 +561,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
533
561
|
if (props.showSeq) {
|
534
562
|
columns.value.splice(1, 0, {
|
535
563
|
title: function() {
|
536
|
-
var
|
564
|
+
var _a3, _b2, _c;
|
537
565
|
try {
|
538
|
-
return ((
|
566
|
+
return ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.249")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.249")) || "\u6392\u5E8F";
|
539
567
|
} catch (e) {
|
540
568
|
return "\u6392\u5E8F";
|
541
569
|
}
|
@@ -560,9 +588,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
560
588
|
return false;
|
561
589
|
return true;
|
562
590
|
}
|
591
|
+
function getTableConfig() {
|
592
|
+
if (props.tableConfig)
|
593
|
+
return {
|
594
|
+
tableConfig: {
|
595
|
+
...props.tableConfig,
|
596
|
+
...isShowCompositeSort.value ? {
|
597
|
+
sortType: compositeSort.value
|
598
|
+
} : {}
|
599
|
+
}
|
600
|
+
};
|
601
|
+
}
|
563
602
|
watch([() => props.fields, () => {
|
564
|
-
var
|
565
|
-
return (
|
603
|
+
var _a2;
|
604
|
+
return (_a2 = props.showColumnNames) == null ? void 0 : _a2.length;
|
566
605
|
}], ([fields, showColumnNames]) => {
|
567
606
|
if (fields.length > 0) {
|
568
607
|
newFields.value = initFields();
|
@@ -573,7 +612,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
573
612
|
deep: true
|
574
613
|
});
|
575
614
|
expose({
|
576
|
-
getTableFields
|
615
|
+
getTableFields,
|
616
|
+
getTableConfig
|
577
617
|
});
|
578
618
|
return (_ctx, _cache) => {
|
579
619
|
return openBlock(), createElementBlock("div", _hoisted_1, [__props.showSearch ? (openBlock(), createBlock(unref(NInput), {
|
@@ -585,9 +625,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
585
625
|
trim: true
|
586
626
|
},
|
587
627
|
placeholder: function() {
|
588
|
-
var
|
628
|
+
var _a2, _b, _c;
|
589
629
|
try {
|
590
|
-
return ((
|
630
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.245")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.245")) || "\u8BF7\u8F93\u5165\u5B57\u6BB5\u6807\u9898";
|
591
631
|
} catch (e) {
|
592
632
|
return "\u8BF7\u8F93\u5165\u5B57\u6BB5\u6807\u9898";
|
593
633
|
}
|
@@ -669,7 +709,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
669
709
|
"is-highlight": isHighlight(element)
|
670
710
|
}), null, 16, ["element", "idx", "is-highlight"]))], 14, _hoisted_4)) : createCommentVNode("v-if", true)]),
|
671
711
|
_: 1
|
672
|
-
}, 8, ["modelValue", "disabled"]))], 512)], 512),
|
712
|
+
}, 8, ["modelValue", "disabled"]))], 512)], 512), unref(isShowCompositeSort) ? (openBlock(), createElementBlock("div", _hoisted_5, [createElementVNode("div", _hoisted_6, [_hoisted_7, createVNode(unref(NSelect), {
|
713
|
+
style: {
|
714
|
+
"width": "200px"
|
715
|
+
},
|
716
|
+
value: compositeSort.value,
|
717
|
+
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => compositeSort.value = $event),
|
718
|
+
options: TABLESORT_OPTION
|
719
|
+
}, null, 8, ["value"])])])) : createCommentVNode("v-if", true), __props.footerFlag ? (openBlock(), createElementBlock("div", _hoisted_8, [createCommentVNode(" \u5E95\u90E8\u6309\u94AE\u63D2\u69FD "), renderSlot(_ctx.$slots, "footer", {}, () => [createVNode(unref(NPopconfirm), {
|
673
720
|
onPositiveClick: reset
|
674
721
|
}, {
|
675
722
|
trigger: withCtx(() => [createVNode(unref(NButton), {
|
@@ -678,9 +725,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
678
725
|
}
|
679
726
|
}, {
|
680
727
|
default: withCtx(() => [createTextVNode(function() {
|
681
|
-
var
|
728
|
+
var _a2, _b, _c;
|
682
729
|
try {
|
683
|
-
return ((
|
730
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.242")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.242")) || "\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E";
|
684
731
|
} catch (e) {
|
685
732
|
return "\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E";
|
686
733
|
}
|
@@ -688,9 +735,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
688
735
|
_: 1
|
689
736
|
})]),
|
690
737
|
default: withCtx(() => [createTextVNode(function() {
|
691
|
-
var
|
738
|
+
var _a2, _b, _c;
|
692
739
|
try {
|
693
|
-
return ((
|
740
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.243")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.243")) || "\u786E\u8BA4\u8981\u6062\u590D\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\u5417\uFF1F";
|
694
741
|
} catch (e) {
|
695
742
|
return "\u786E\u8BA4\u8981\u6062\u590D\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\u5417\uFF1F";
|
696
743
|
}
|
@@ -703,9 +750,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
703
750
|
onClick: onCancle
|
704
751
|
}, {
|
705
752
|
default: withCtx(() => [createTextVNode(function() {
|
706
|
-
var
|
753
|
+
var _a2, _b, _c;
|
707
754
|
try {
|
708
|
-
return ((
|
755
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88";
|
709
756
|
} catch (e) {
|
710
757
|
return "\u53D6\u6D88";
|
711
758
|
}
|
@@ -716,9 +763,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
716
763
|
onClick: handleFieldSave
|
717
764
|
}, {
|
718
765
|
default: withCtx(() => [createTextVNode(function() {
|
719
|
-
var
|
766
|
+
var _a2, _b, _c;
|
720
767
|
try {
|
721
|
-
return ((
|
768
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.244")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.244")) || "\u4FDD\u5B58";
|
722
769
|
} catch (e) {
|
723
770
|
return "\u4FDD\u5B58";
|
724
771
|
}
|
@@ -144,13 +144,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
144
144
|
return list.filter((tabItem) => props.showTabNames.includes(tabItem.name));
|
145
145
|
});
|
146
146
|
function onSave() {
|
147
|
-
var _a, _b, _c, _d, _e;
|
147
|
+
var _a, _b, _c, _d, _e, _f;
|
148
148
|
emit("save", {
|
149
149
|
tableFields: (_a = setRefs["field"]) == null ? void 0 : _a.getTableFields(),
|
150
150
|
tableFieldColors: (_b = setRefs["fieldColor"]) == null ? void 0 : _b.getTableFields(),
|
151
151
|
tableHighlightRows: (_c = setRefs["highlightRow"]) == null ? void 0 : _c.getTableFields(),
|
152
152
|
tableStyle: (_d = setRefs["tableStyle"]) == null ? void 0 : _d.getTableFields(),
|
153
|
-
tableFilters: (_e = setRefs["fieldFilter"]) == null ? void 0 : _e.getTableFields()
|
153
|
+
tableFilters: (_e = setRefs["fieldFilter"]) == null ? void 0 : _e.getTableFields(),
|
154
|
+
...(_f = setRefs["field"]) == null ? void 0 : _f.getTableConfig()
|
154
155
|
});
|
155
156
|
}
|
156
157
|
function setRef(e, id) {
|
@@ -161,7 +162,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
161
162
|
return (_a = setRefs[type || "field"]) == null ? void 0 : _a.getTableFields();
|
162
163
|
}
|
163
164
|
expose({
|
164
|
-
getTableFields
|
165
|
+
getTableFields,
|
166
|
+
getTableConfig() {
|
167
|
+
var _a, _b;
|
168
|
+
return (_b = (_a = setRefs["field"]) == null ? void 0 : _a.getTableConfig()) == null ? void 0 : _b.tableConfig;
|
169
|
+
}
|
165
170
|
});
|
166
171
|
return (_ctx, _cache) => {
|
167
172
|
return unref(dataLength) > 0 ? (openBlock(), createElementBlock("div", {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, ref, reactive, watch, openBlock, createElementBlock, createElementVNode, createVNode, unref, Fragment, renderList, toDisplayString, normalizeClass, withDirectives, vShow, withCtx, createTextVNode } from 'vue';
|
1
|
+
import { defineComponent, ref, reactive, watch, openBlock, createElementBlock, createElementVNode, createVNode, unref, Fragment, renderList, toDisplayString, normalizeClass, withDirectives, vShow, withCtx, createTextVNode, toRaw } from 'vue';
|
2
2
|
import { NSwitch, NIcon, NButton } from 'naive-ui';
|
3
3
|
import { CheckmarkCircle } from '@vicons/ionicons5';
|
4
4
|
import style1 from '../../../shared/assets/img/table_style_1.png.js';
|
@@ -112,7 +112,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
112
112
|
emit("save");
|
113
113
|
}
|
114
114
|
function getTableFields() {
|
115
|
-
return tableStyle;
|
115
|
+
return toRaw(tableStyle);
|
116
116
|
}
|
117
117
|
watch(() => props.tableStyleConfig, (config) => {
|
118
118
|
const {
|
@@ -383,9 +383,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
383
383
|
}>;
|
384
384
|
developMode: boolean;
|
385
385
|
draggable: boolean;
|
386
|
-
isHighlightRow: boolean;
|
387
386
|
idx: number;
|
388
387
|
isHighlight: boolean;
|
388
|
+
isHighlightRow: boolean;
|
389
389
|
isFieldSet: boolean;
|
390
390
|
fieldDescribeMode: "column" | "tooltip";
|
391
391
|
hideExpressionOption: AnyObject[];
|
@@ -45,7 +45,7 @@ export declare const COLOR_MAP: Readonly<{
|
|
45
45
|
'#C163FF': "紫色";
|
46
46
|
'#DB0000': "红色";
|
47
47
|
}>;
|
48
|
-
export declare const InjectionFieldList: InjectionKey<AnyObject[]>;
|
48
|
+
export declare const InjectionFieldList: InjectionKey<AnyObject[] | undefined>;
|
49
49
|
type WordbookOption = {
|
50
50
|
label: string;
|
51
51
|
value: string;
|
@@ -1 +1 @@
|
|
1
|
-
.c-field-set{height:100%;width:100%}.c-field-set__color-picker .n-color-picker-trigger__value{display:none}.c-field-set .n-tabs{height:100%}.c-field-set .n-tabs .n-tab-pane{flex:1;overflow:auto}.c-field-set .main-wrapper{box-sizing:border-box;display:flex;flex-flow:column nowrap;height:100%;width:100%}.c-field-set .main-wrapper__search-wrapper.n-input{margin-bottom:12px;width:50%}.c-field-set .main-wrapper .item{background:#fff}.c-field-set .main-wrapper .item:active{background:#f2f2f2;box-shadow:0 0 10px 0 #d5d5d5}.c-field-set .main-wrapper .item:focus{background-color:#f2f2f2}.c-field-set .main-wrapper .item.disabled{cursor:not-allowed}.c-field-set .main-wrapper .item .row{align-items:center;border-bottom:1px solid #e8e8e8;display:flex;height:var(--row-height);padding:8px 0}.c-field-set .main-wrapper .table-cell{word-wrap:break-word;box-sizing:border-box;color:inherit;display:inline-block;padding:0 5px}.c-field-set .main-wrapper .table-cell>.n-button{margin-right:5px}.c-field-set .main-wrapper .table-cell>.n-button:last-child{margin-right:0}.c-field-set .main-wrapper .table-cell .highlight{background-color:var(--primary-color);color:#fff}.c-field-set .main-wrapper .table-cell .c-field-set__color-picker{display:block}.c-field-set .main-wrapper__table{box-sizing:border-box;display:flex;flex:1;flex-flow:column nowrap;min-height:0;overflow:auto;width:100%}.c-field-set .main-wrapper__table-header{align-items:center;background:#f2f2f4;border:1px solid #f2f2f2;display:flex;flex:0 0 52px;position:sticky;top:0;z-index:1}.c-field-set .main-wrapper__table-header .n-checkbox.n-checkbox--disabled .n-checkbox__label{color:var(--n-text-color)}.c-field-set .main-wrapper__table-header .table-cell{align-items:center;background:#f2f2f4;display:flex;height:100%}.c-field-set .main-wrapper__table-body{flex:1}.c-field-set .main-wrapper__table-footer{border-top:1px solid #d5d5d5;padding:12px 0}.c-field-set .main-wrapper .set-item{padding:10px 0}.c-field-set .main-wrapper .set-item.table-item{border-top:1px solid #e8e8e8;width:50%}.c-field-set .main-wrapper .set-item.table-item h4{font-size:16px;font-weight:400;margin-bottom:12px}.c-field-set .main-wrapper .set-item.table-item .table-style{background:#e5e5e5;border:2px solid #cfcfcf;border-radius:4px;cursor:pointer;margin-bottom:10px;padding:20px 0 0}.c-field-set .main-wrapper .set-item.table-item .table-style .table-bg{background:#fff;border-radius:5px;margin:0 20px 20px;padding:10px}.c-field-set .main-wrapper .set-item.table-item .table-style .table-bg img{width:100%}.c-field-set .main-wrapper .set-item.table-item .table-style__desc{align-items:center;background:#fff;display:flex;padding:10px}.c-field-set .main-wrapper .set-item.table-item .table-style__desc .n-icon{color:var(--c-primary-color);font-size:20px}.c-field-set .main-wrapper .set-item.table-item .table-style__desc .circle{border:1px solid #d5d5d5;border-radius:50%;display:inline-block;height:18px;width:18px}.c-field-set .main-wrapper .set-item.table-item .table-style__desc span{margin-left:5px}.c-field-set .main-wrapper .set-item.table-item .table-style.active{background:#e2ebfa;border:2px solid var(--c-primary-color)}.c-field-set__color-block{display:inline-block;margin-left:20px;position:relative}.c-field-set__color-block:before{background-color:var(--color);border-radius:2px;content:"";height:14px;left:-20px;position:absolute;top:3px;width:14px}.c-field-set__space{width:100%}.c-field-set__space>div:first-child{width:80%}.c-field-set__space .filter-btn{color:var(--c-primary-color);cursor:pointer}.c-field-set__condition .condition-wrapper__item{align-items:center;display:flex;margin-top:10px}.c-field-set__condition .condition-wrapper__item .item-index{margin-right:10px}.c-field-set__condition .condition-wrapper__item>.n-date-picker,.c-field-set__condition .condition-wrapper__item>.n-input,.c-field-set__condition .condition-wrapper__item>.n-input-number,.c-field-set__condition .condition-wrapper__item>.n-select{margin-right:10px;width:20%}.c-field-set__condition .sql-expression-wrapper{margin-top:10px}
|
1
|
+
.c-field-set{height:100%;width:100%}.c-field-set__color-picker .n-color-picker-trigger__value{display:none}.c-field-set .n-tabs{height:100%}.c-field-set .n-tabs .n-tab-pane{flex:1;overflow:auto}.c-field-set .main-wrapper{box-sizing:border-box;display:flex;flex-flow:column nowrap;height:100%;width:100%}.c-field-set .main-wrapper__search-wrapper.n-input{margin-bottom:12px;width:50%}.c-field-set .main-wrapper .item{background:#fff}.c-field-set .main-wrapper .item:active{background:#f2f2f2;box-shadow:0 0 10px 0 #d5d5d5}.c-field-set .main-wrapper .item:focus{background-color:#f2f2f2}.c-field-set .main-wrapper .item.disabled{cursor:not-allowed}.c-field-set .main-wrapper .item .row{align-items:center;border-bottom:1px solid #e8e8e8;display:flex;height:var(--row-height);padding:8px 0}.c-field-set .main-wrapper .table-cell{word-wrap:break-word;box-sizing:border-box;color:inherit;display:inline-block;padding:0 5px}.c-field-set .main-wrapper .table-cell>.n-button{margin-right:5px}.c-field-set .main-wrapper .table-cell>.n-button:last-child{margin-right:0}.c-field-set .main-wrapper .table-cell .highlight{background-color:var(--primary-color);color:#fff}.c-field-set .main-wrapper .table-cell .c-field-set__color-picker{display:block}.c-field-set .main-wrapper__table{box-sizing:border-box;display:flex;flex:1;flex-flow:column nowrap;min-height:0;overflow:auto;width:100%}.c-field-set .main-wrapper__table-header{align-items:center;background:#f2f2f4;border:1px solid #f2f2f2;display:flex;flex:0 0 52px;position:sticky;top:0;z-index:1}.c-field-set .main-wrapper__table-header .n-checkbox.n-checkbox--disabled .n-checkbox__label{color:var(--n-text-color)}.c-field-set .main-wrapper__table-header .table-cell{align-items:center;background:#f2f2f4;display:flex;height:100%}.c-field-set .main-wrapper__table-body{flex:1}.c-field-set .main-wrapper__other-config{padding:10px 0}.c-field-set .main-wrapper__other-config .item{align-items:center;display:flex}.c-field-set .main-wrapper__other-config .item .label{margin-right:10px}.c-field-set .main-wrapper__table-footer{border-top:1px solid #d5d5d5;padding:12px 0}.c-field-set .main-wrapper .set-item{padding:10px 0}.c-field-set .main-wrapper .set-item.table-item{border-top:1px solid #e8e8e8;width:50%}.c-field-set .main-wrapper .set-item.table-item h4{font-size:16px;font-weight:400;margin-bottom:12px}.c-field-set .main-wrapper .set-item.table-item .table-style{background:#e5e5e5;border:2px solid #cfcfcf;border-radius:4px;cursor:pointer;margin-bottom:10px;padding:20px 0 0}.c-field-set .main-wrapper .set-item.table-item .table-style .table-bg{background:#fff;border-radius:5px;margin:0 20px 20px;padding:10px}.c-field-set .main-wrapper .set-item.table-item .table-style .table-bg img{width:100%}.c-field-set .main-wrapper .set-item.table-item .table-style__desc{align-items:center;background:#fff;display:flex;padding:10px}.c-field-set .main-wrapper .set-item.table-item .table-style__desc .n-icon{color:var(--c-primary-color);font-size:20px}.c-field-set .main-wrapper .set-item.table-item .table-style__desc .circle{border:1px solid #d5d5d5;border-radius:50%;display:inline-block;height:18px;width:18px}.c-field-set .main-wrapper .set-item.table-item .table-style__desc span{margin-left:5px}.c-field-set .main-wrapper .set-item.table-item .table-style.active{background:#e2ebfa;border:2px solid var(--c-primary-color)}.c-field-set__color-block{display:inline-block;margin-left:20px;position:relative}.c-field-set__color-block:before{background-color:var(--color);border-radius:2px;content:"";height:14px;left:-20px;position:absolute;top:3px;width:14px}.c-field-set__space{width:100%}.c-field-set__space>div:first-child{width:80%}.c-field-set__space .filter-btn{color:var(--c-primary-color);cursor:pointer}.c-field-set__condition .condition-wrapper__item{align-items:center;display:flex;margin-top:10px}.c-field-set__condition .condition-wrapper__item .item-index{margin-right:10px}.c-field-set__condition .condition-wrapper__item>.n-date-picker,.c-field-set__condition .condition-wrapper__item>.n-input,.c-field-set__condition .condition-wrapper__item>.n-input-number,.c-field-set__condition .condition-wrapper__item>.n-select{margin-right:10px;width:20%}.c-field-set__condition .sql-expression-wrapper{margin-top:10px}
|