cnhis-design-vue 3.3.2-beta.1 → 3.3.2-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/base-search/src/index.vue2.js +6 -6
- package/es/components/big-table/src/BigTable.vue2.js +21 -21
- package/es/components/big-table/src/components/NoData.vue2.js +4 -4
- package/es/components/big-table/src/components/edit-form/edit-date.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-input.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-select.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-time.js +4 -4
- package/es/components/big-table/src/components/input-button.vue2.js +2 -2
- package/es/components/big-table/src/hooks/useNestTable.js +4 -4
- package/es/components/big-table/src/hooks/useTableParse.js +3 -3
- package/es/components/body-select/src/index.vue2.js +4 -4
- package/es/components/button-print/src/ButtonPrint.vue2.js +7 -7
- package/es/components/button-print/src/components/EditFormat.vue2.js +4 -4
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +17 -17
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +34 -34
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +11 -11
- package/es/components/button-print/src/components/Preview.vue2.js +2 -2
- package/es/components/button-print/src/utils/dialog.js +6 -6
- package/es/components/button-print/src/utils/print.js +21 -21
- package/es/components/callback/src/components/render/popupMaps.d.ts +1 -1
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -2
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -4
- package/es/components/card-reader-sdk-cn/src/henan/index.js +5 -5
- package/es/components/classification/src/components/search-filter/index.vue2.js +6 -6
- package/es/components/classification/src/components/set-classification/index.vue2.js +5 -5
- package/es/components/classification/src/components/table-modal/index.vue2.js +45 -45
- package/es/components/classification/src/index.vue2.js +42 -42
- package/es/components/default-page/src/constants/index.js +19 -19
- package/es/components/default-page/src/index.vue2.js +2 -2
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +10 -10
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +4 -4
- package/es/components/expand-field/src/components/PersonModal.vue2.js +6 -6
- package/es/components/expand-field/src/components/form.vue2.js +87 -87
- package/es/components/expand-field/src/index.vue2.js +16 -16
- package/es/components/expand-field/src/utils/constant.js +12 -12
- package/es/components/fabric-chart/src/components/PopupMenu.js +4 -4
- package/es/components/fabric-chart/src/constants/index.js +10 -10
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -3
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -5
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +6 -6
- package/es/components/fabric-chart/src/hooks/useCommon.js +4 -4
- package/es/components/field-editor/index.d.ts +1 -1
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -1
- package/es/components/field-editor/src/fields.js +30 -30
- package/es/components/field-set/src/FieldColor.vue2.js +15 -15
- package/es/components/field-set/src/FieldFilter.vue2.js +8 -8
- package/es/components/field-set/src/FieldSet.vue2.js +37 -37
- package/es/components/field-set/src/Index.vue2.js +6 -6
- package/es/components/field-set/src/TableStyle.vue2.js +9 -9
- package/es/components/field-set/src/components/condition.vue2.js +8 -8
- package/es/components/field-set/src/components/edit-dialog.vue2.js +23 -23
- package/es/components/field-set/src/components/edit-filter.vue2.js +4 -4
- package/es/components/field-set/src/components/table-row.vue2.js +25 -25
- package/es/components/field-set/src/constants/filter.js +42 -42
- package/es/components/field-set/src/constants/index.js +64 -64
- package/es/components/form-config/index.d.ts +9 -9
- package/es/components/form-config/src/FormConfig.vue.d.ts +9 -9
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -4
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +26 -26
- package/es/components/form-config/src/constants/index.js +11 -11
- package/es/components/form-config/src/hooks/useLocale.js +31 -31
- package/es/components/form-render/index.d.ts +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/input.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +2 -2
- package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -2
- package/es/components/form-render/src/components/renderer/switch.js +4 -4
- package/es/components/form-render/src/components/renderer/textarea.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
- package/es/components/form-render/src/types/index.d.ts +2 -2
- package/es/components/form-render/src/utils/schema.js +4 -4
- package/es/components/iho-chat/src/Index.vue2.js +2 -2
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +16 -16
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +24 -24
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +18 -18
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +25 -25
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -7
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -4
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +12 -12
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +9 -9
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +2 -2
- package/es/components/iho-chat/src/components/SiderList.vue2.js +12 -12
- package/es/components/iho-chat/src/components/Video.vue2.js +5 -5
- package/es/components/iho-chat/src/hooks/useVideo.js +2 -2
- package/es/components/iho-chat/src/utils/index.js +14 -14
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -2
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +11 -11
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +4 -4
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +13 -13
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +9 -9
- package/es/components/info-header/index.d.ts +7 -7
- package/es/components/info-header/src/InfoHeader.vue.d.ts +7 -7
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2 -2
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +21 -21
- package/es/components/keyboard/src/Keyboard.vue2.js +7 -7
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +6 -6
- package/es/components/map/src/Map.vue2.js +2 -2
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +4 -4
- package/es/components/quick-search/src/index.vue2.js +21 -21
- package/es/components/recommend-search/src/components/BaseSearch.js +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +3 -3
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +5 -5
- package/es/components/scale-view/src/components/NoData.vue2.js +4 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-input.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-map.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-select.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-sign.js +7 -7
- package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -5
- package/es/components/scale-view/src/hooks/scaleview-init.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-init.js +2 -2
- package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -4
- package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -9
- package/es/components/search-cascader/src/SearchCascader.vue2.js +2 -2
- package/es/components/select-label/src/LabelFormContent.vue2.js +7 -7
- package/es/components/select-label/src/SelectLabel.vue2.js +13 -13
- package/es/components/select-label/src/components/label-classify.vue2.js +5 -5
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +3 -3
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +6 -6
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +3 -3
- package/es/components/select-person/src/SelectPerson.vue2.js +16 -16
- package/es/components/select-person/src/SelectPersonType.vue2.js +13 -13
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -2
- package/es/components/select-person/src/index.vue2.js +3 -3
- package/es/components/shortcut-setter/index.d.ts +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
- package/es/components/slider-tree/src/index.vue2.js +3 -3
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +23 -25
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +19 -19
- package/es/components/table-export-field/src/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -5
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -34
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +19 -19
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -6
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -5
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +17 -17
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +5 -5
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +4 -4
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +2 -2
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -207
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -3
- package/es/components/table-filter/src/tool/baseOptions.js +19 -19
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +8 -8
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +4 -4
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
@@ -16,7 +16,7 @@ import { findFieldItemByKey } from '../utils/index.js';
|
|
16
16
|
import '../../../../shared/components/VueDraggable/src/vuedraggable.js';
|
17
17
|
import { useConfigurationField } from '../hooks/useConfigurationField.js';
|
18
18
|
|
19
|
-
var _a;
|
19
|
+
var _a, _b, _c;
|
20
20
|
const _hoisted_1 = {
|
21
21
|
class: "form-config__connectionOperation"
|
22
22
|
};
|
@@ -47,7 +47,7 @@ const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", {
|
|
47
47
|
style: {
|
48
48
|
"word-break": "keep-all"
|
49
49
|
}
|
50
|
-
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.9")) || "\u5B57\u6BB5", -1);
|
50
|
+
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.9")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.9")) || "\u5B57\u6BB5", -1);
|
51
51
|
const _hoisted_10 = {
|
52
52
|
key: 1
|
53
53
|
};
|
@@ -149,8 +149,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
149
149
|
return result;
|
150
150
|
}
|
151
151
|
function isOppositeConfig(c1, c2) {
|
152
|
-
var _a2,
|
153
|
-
if (((_a2 = c1.conObj) == null ? void 0 : _a2.length) !== ((
|
152
|
+
var _a2, _b2;
|
153
|
+
if (((_a2 = c1.conObj) == null ? void 0 : _a2.length) !== ((_b2 = c2.conObj) == null ? void 0 : _b2.length)) {
|
154
154
|
return false;
|
155
155
|
}
|
156
156
|
if (c1.conObj && c2.conObj && c1.conObj.some((condition) => !c2.conObj.find((condition2) => isOppositeConObj(condition, condition2)))) {
|
@@ -195,10 +195,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
195
195
|
}) => getLabel(field_key)), ...bindFields]).filter((label) => !!label && isString(label));
|
196
196
|
return labels.length ? `( \u76F8\u5173\u5B57\u6BB5: ${labels} )` : "";
|
197
197
|
function getLabel(key) {
|
198
|
-
var _a2,
|
199
|
-
return (
|
198
|
+
var _a2, _b2;
|
199
|
+
return (_b2 = (_a2 = fieldOptions.value.find((option) => {
|
200
200
|
return isString(key) ? key === option.key : isObject(key) ? Reflect.get(key, "field") === option.key : false;
|
201
|
-
})) == null ? void 0 : _a2.name) != null ?
|
201
|
+
})) == null ? void 0 : _a2.name) != null ? _b2 : key;
|
202
202
|
}
|
203
203
|
}
|
204
204
|
function addCondition(config) {
|
@@ -258,12 +258,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
258
258
|
const currentTypeList = reactive([]);
|
259
259
|
const dialog = useDialog();
|
260
260
|
async function onNegativeClick() {
|
261
|
-
var _a2,
|
261
|
+
var _a2, _b2, _c2, _d, _e, _f;
|
262
262
|
dialog.warning({
|
263
263
|
title: "\u63D0\u793A",
|
264
264
|
content: "\u76F4\u63A5\u5173\u95ED\u5F39\u7A97\u4F1A\u4E22\u5931\u5DF2\u7F16\u8F91\u7684\u914D\u7F6E, \u786E\u5B9A\u8981\u5173\u95ED\u5417?",
|
265
|
-
positiveText: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || "\u786E\u5B9A",
|
266
|
-
negativeText: ((
|
265
|
+
positiveText: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.27")) || "\u786E\u5B9A",
|
266
|
+
negativeText: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.28")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.28")) || "\u53D6\u6D88",
|
267
267
|
onPositiveClick: () => {
|
268
268
|
showRef.value = false;
|
269
269
|
valueRef.value = [];
|
@@ -314,14 +314,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
314
314
|
generateFieldListByKeys
|
315
315
|
} = useConfigurationField();
|
316
316
|
const setValueFormFieldList = (field) => {
|
317
|
-
var _a2,
|
318
|
-
const fieldItemList = (
|
317
|
+
var _a2, _b2;
|
318
|
+
const fieldItemList = (_b2 = (_a2 = props.bindFormRenderRef) == null ? void 0 : _a2.getFieldList()) != null ? _b2 : [];
|
319
319
|
return [...generateFieldListByKeys([EditAbleField.DEFAULT_VALUE], setValueFieldOptions.value.find((item) => item.key === field), findFieldItemByKey(fieldItemList, field)).map((item) => {
|
320
|
-
var _a3;
|
320
|
+
var _a3, _b3, _c2;
|
321
321
|
return {
|
322
322
|
...item,
|
323
323
|
val_key: "value",
|
324
|
-
alias: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.22")) || "\u503C",
|
324
|
+
alias: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.22")) || ((_c2 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c2.call(_b3, "10010.1.22")) || "\u503C",
|
325
325
|
decoratorProps: {
|
326
326
|
showFeedback: false
|
327
327
|
}
|
@@ -363,8 +363,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
363
363
|
onClick: onNegativeClick
|
364
364
|
}, {
|
365
365
|
default: withCtx(() => {
|
366
|
-
var _a2;
|
367
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
|
366
|
+
var _a2, _b2, _c2;
|
367
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.28")) || "\u53D6\u6D88")];
|
368
368
|
}),
|
369
369
|
_: 1
|
370
370
|
}), createVNode(unref(NButton), {
|
@@ -373,8 +373,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
373
373
|
type: "primary"
|
374
374
|
}, {
|
375
375
|
default: withCtx(() => {
|
376
|
-
var _a2;
|
377
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || "\u786E\u5B9A")];
|
376
|
+
var _a2, _b2, _c2;
|
377
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.27")) || "\u786E\u5B9A")];
|
378
378
|
}),
|
379
379
|
_: 1
|
380
380
|
})]),
|
@@ -435,8 +435,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
435
435
|
size: "small"
|
436
436
|
}, {
|
437
437
|
default: withCtx(() => {
|
438
|
-
var _a2;
|
439
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.88")) || "\u79FB\u9664")];
|
438
|
+
var _a2, _b2, _c2;
|
439
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.88")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.88")) || "\u79FB\u9664")];
|
440
440
|
}),
|
441
441
|
_: 2
|
442
442
|
}, 1032, ["onClick"])]),
|
@@ -502,30 +502,30 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
502
502
|
size: "small"
|
503
503
|
}, {
|
504
504
|
default: withCtx(() => {
|
505
|
-
var _a2;
|
506
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.88")) || "\u79FB\u9664")];
|
505
|
+
var _a2, _b2, _c2;
|
506
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.88")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.88")) || "\u79FB\u9664")];
|
507
507
|
}),
|
508
508
|
_: 2
|
509
509
|
}, 1032, ["disabled", "onClick"])]);
|
510
510
|
}), 128))]),
|
511
511
|
_: 2
|
512
512
|
}, 1024)]), createElementVNode("section", _hoisted_5, [createElementVNode("div", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(connectionTypeOptions), (type) => {
|
513
|
-
var _a2,
|
513
|
+
var _a2, _b2;
|
514
514
|
return openBlock(), createElementBlock("div", {
|
515
515
|
key: type.value,
|
516
516
|
class: normalizeClass({
|
517
517
|
"is-active": currentTypeList[index] === type.value
|
518
518
|
}),
|
519
519
|
onClick: ($event) => currentTypeList[index] = type.value
|
520
|
-
}, toDisplayString(type.label) + " ( " + toDisplayString((
|
520
|
+
}, toDisplayString(type.label) + " ( " + toDisplayString((_b2 = (_a2 = item[type.value]) == null ? void 0 : _a2.length) != null ? _b2 : 0) + " ) ", 11, _hoisted_6);
|
521
521
|
}), 128))]), createElementVNode("div", null, [currentTypeList[index] === "setValueField" ? (openBlock(), createElementBlock("section", _hoisted_7, [createElementVNode("header", _hoisted_8, [createVNode(unref(NButton), {
|
522
522
|
type: "primary",
|
523
523
|
size: "tiny",
|
524
524
|
onClick: ($event) => addSetValueField(item)
|
525
525
|
}, {
|
526
526
|
default: withCtx(() => {
|
527
|
-
var _a2;
|
528
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || "\u65B0\u589E")];
|
527
|
+
var _a2, _b2, _c2;
|
528
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.279")) || "\u65B0\u589E")];
|
529
529
|
}),
|
530
530
|
_: 2
|
531
531
|
}, 1032, ["onClick"])]), (openBlock(true), createElementBlock(Fragment, null, renderList(item.setValueField || [], (setFieldItem, setFieldIndex) => {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { range } from 'lodash-es';
|
2
2
|
import { useFormConfigLocale } from '../hooks/useLocale.js';
|
3
3
|
|
4
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
4
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D;
|
5
5
|
function getWidgetText(type) {
|
6
6
|
const WidgetTextMap = /* @__PURE__ */ new Map([["LINE_BAR", useFormConfigLocale("layoutArea.linebar")], ["NEWLINE", useFormConfigLocale("layoutArea.linebreak")]]);
|
7
7
|
return WidgetTextMap.get(type) || "";
|
@@ -129,34 +129,34 @@ const conditionOppositeMap = {
|
|
129
129
|
};
|
130
130
|
const conditionTypeOptions = [{
|
131
131
|
value: "EQ",
|
132
|
-
label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.317")) || "\u7B49\u4E8E"
|
132
|
+
label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.317")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.317")) || "\u7B49\u4E8E"
|
133
133
|
}, {
|
134
134
|
value: "NEQ",
|
135
|
-
label: ((
|
135
|
+
label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.318")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.318")) || "\u4E0D\u7B49\u4E8E"
|
136
136
|
}, {
|
137
137
|
value: "CL",
|
138
|
-
label: ((
|
138
|
+
label: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.340")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.340")) || "\u5305\u542B"
|
139
139
|
}, {
|
140
140
|
value: "NC",
|
141
|
-
label: ((
|
141
|
+
label: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.341")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.341")) || "\u4E0D\u5305\u542B"
|
142
142
|
}, {
|
143
143
|
value: "NULL",
|
144
|
-
label: ((
|
144
|
+
label: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.338")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.338")) || "\u4E3A\u7A7A"
|
145
145
|
}, {
|
146
146
|
value: "NOT_NULL",
|
147
|
-
label: ((
|
147
|
+
label: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.339")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.339")) || "\u4E0D\u4E3A\u7A7A"
|
148
148
|
}, {
|
149
149
|
value: "BIG",
|
150
|
-
label: ((
|
150
|
+
label: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.319")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.319")) || "\u5927\u4E8E"
|
151
151
|
}, {
|
152
152
|
value: "BIGEQ",
|
153
|
-
label: ((
|
153
|
+
label: ((_v = window.getLanguageByCode) == null ? void 0 : _v.call(window, "10010.1.321")) || ((_x = (_w = window.top) == null ? void 0 : _w.getLanguageByCode) == null ? void 0 : _x.call(_w, "10010.1.321")) || "\u5927\u4E8E\u7B49\u4E8E"
|
154
154
|
}, {
|
155
155
|
value: "LESS",
|
156
|
-
label: ((
|
156
|
+
label: ((_y = window.getLanguageByCode) == null ? void 0 : _y.call(window, "10010.1.320")) || ((_A = (_z = window.top) == null ? void 0 : _z.getLanguageByCode) == null ? void 0 : _A.call(_z, "10010.1.320")) || "\u5C0F\u4E8E"
|
157
157
|
}, {
|
158
158
|
value: "LESSEQ",
|
159
|
-
label: ((
|
159
|
+
label: ((_B = window.getLanguageByCode) == null ? void 0 : _B.call(window, "10010.1.322")) || ((_D = (_C = window.top) == null ? void 0 : _C.getLanguageByCode) == null ? void 0 : _D.call(_C, "10010.1.322")) || "\u5C0F\u4E8E\u7B49\u4E8E"
|
160
160
|
}];
|
161
161
|
const connectionTypeOppositeMap = {
|
162
162
|
showField: "hideField",
|
@@ -2,50 +2,50 @@ import { deepMerge } from '../../../../shared/utils/index.js';
|
|
2
2
|
import { property } from 'lodash-es';
|
3
3
|
import { reactive } from 'vue';
|
4
4
|
|
5
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D;
|
5
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja;
|
6
6
|
const formConfigLocale = reactive({
|
7
7
|
materialArea: {
|
8
|
-
areaName: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.1")) || "\u7269\u6599\u533A",
|
9
|
-
createMaterialPlaceholder: ((
|
8
|
+
areaName: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.1")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.1")) || "\u7269\u6599\u533A",
|
9
|
+
createMaterialPlaceholder: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.2")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.2")) || "\u8BF7\u9009\u62E9\u989D\u5916\u7269\u6599",
|
10
10
|
toString() {
|
11
11
|
return this.areaName;
|
12
12
|
}
|
13
13
|
},
|
14
14
|
layoutArea: {
|
15
|
-
areaName: ((
|
16
|
-
linebreak: ((
|
17
|
-
linebar: ((
|
18
|
-
createLinebreak: ((
|
19
|
-
createLinebar: ((
|
15
|
+
areaName: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.3")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.3")) || "\u5E03\u5C40\u533A",
|
16
|
+
linebreak: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.4")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.4")) || "\u5206\u884C\u7B26",
|
17
|
+
linebar: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.5")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.5")) || "\u5206\u7EBF\u680F",
|
18
|
+
createLinebreak: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.6")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.6")) || "\u65B0\u5EFA\u5206\u884C\u7B26",
|
19
|
+
createLinebar: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.7")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.7")) || "\u65B0\u5EFA\u5206\u7EBF\u680F",
|
20
20
|
toString() {
|
21
21
|
return this.areaName;
|
22
22
|
}
|
23
23
|
},
|
24
24
|
configArea: {
|
25
|
-
areaName: ((
|
26
|
-
field: ((
|
27
|
-
name: ((
|
28
|
-
alias: ((
|
29
|
-
defaultValue: ((
|
30
|
-
width: ((
|
31
|
-
describeText: ((
|
32
|
-
tips: ((
|
33
|
-
isRequired: ((
|
34
|
-
isEditable: ((
|
35
|
-
isExpand: ((
|
36
|
-
isFoldAble: ((
|
37
|
-
isShow: ((
|
38
|
-
modifyOptionTitle: ((
|
39
|
-
modifyOptionName: ((
|
40
|
-
modifyOptionOriginText: ((
|
41
|
-
modifyOptionNewText: ((
|
42
|
-
rowsHeight: ((
|
43
|
-
rowsTips: ((
|
25
|
+
areaName: ((_v = window.getLanguageByCode) == null ? void 0 : _v.call(window, "10010.1.8")) || ((_x = (_w = window.top) == null ? void 0 : _w.getLanguageByCode) == null ? void 0 : _x.call(_w, "10010.1.8")) || "\u914D\u7F6E\u533A",
|
26
|
+
field: ((_y = window.getLanguageByCode) == null ? void 0 : _y.call(window, "10010.1.9")) || ((_A = (_z = window.top) == null ? void 0 : _z.getLanguageByCode) == null ? void 0 : _A.call(_z, "10010.1.9")) || "\u5B57\u6BB5",
|
27
|
+
name: ((_B = window.getLanguageByCode) == null ? void 0 : _B.call(window, "10010.1.10")) || ((_D = (_C = window.top) == null ? void 0 : _C.getLanguageByCode) == null ? void 0 : _D.call(_C, "10010.1.10")) || "\u540D\u79F0",
|
28
|
+
alias: ((_E = window.getLanguageByCode) == null ? void 0 : _E.call(window, "10010.1.11")) || ((_G = (_F = window.top) == null ? void 0 : _F.getLanguageByCode) == null ? void 0 : _G.call(_F, "10010.1.11")) || "\u522B\u540D",
|
29
|
+
defaultValue: ((_H = window.getLanguageByCode) == null ? void 0 : _H.call(window, "10010.1.12")) || ((_J = (_I = window.top) == null ? void 0 : _I.getLanguageByCode) == null ? void 0 : _J.call(_I, "10010.1.12")) || "\u9ED8\u8BA4\u503C",
|
30
|
+
width: ((_K = window.getLanguageByCode) == null ? void 0 : _K.call(window, "10010.1.13")) || ((_M = (_L = window.top) == null ? void 0 : _L.getLanguageByCode) == null ? void 0 : _M.call(_L, "10010.1.13")) || "\u5BBD\u5EA6",
|
31
|
+
describeText: ((_N = window.getLanguageByCode) == null ? void 0 : _N.call(window, "10010.1.14")) || ((_P = (_O = window.top) == null ? void 0 : _O.getLanguageByCode) == null ? void 0 : _P.call(_O, "10010.1.14")) || "\u8BF4\u660E\u6587\u672C",
|
32
|
+
tips: ((_Q = window.getLanguageByCode) == null ? void 0 : _Q.call(window, "10010.1.15")) || ((_S = (_R = window.top) == null ? void 0 : _R.getLanguageByCode) == null ? void 0 : _S.call(_R, "10010.1.15")) || "\u95EE\u53F7\u63D0\u793A",
|
33
|
+
isRequired: ((_T = window.getLanguageByCode) == null ? void 0 : _T.call(window, "10010.1.16")) || ((_V = (_U = window.top) == null ? void 0 : _U.getLanguageByCode) == null ? void 0 : _V.call(_U, "10010.1.16")) || "\u662F\u5426\u5FC5\u586B",
|
34
|
+
isEditable: ((_W = window.getLanguageByCode) == null ? void 0 : _W.call(window, "10010.1.17")) || ((_Y = (_X = window.top) == null ? void 0 : _X.getLanguageByCode) == null ? void 0 : _Y.call(_X, "10010.1.17")) || "\u662F\u5426\u53EF\u7F16\u8F91",
|
35
|
+
isExpand: ((_Z = window.getLanguageByCode) == null ? void 0 : _Z.call(window, "10010.1.18")) || ((_$ = (__ = window.top) == null ? void 0 : __.getLanguageByCode) == null ? void 0 : _$.call(__, "10010.1.18")) || "\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00",
|
36
|
+
isFoldAble: ((_aa = window.getLanguageByCode) == null ? void 0 : _aa.call(window, "10010.1.19")) || ((_ca = (_ba = window.top) == null ? void 0 : _ba.getLanguageByCode) == null ? void 0 : _ca.call(_ba, "10010.1.19")) || "\u662F\u5426\u53EF\u6298\u53E0",
|
37
|
+
isShow: ((_da = window.getLanguageByCode) == null ? void 0 : _da.call(window, "10010.1.20")) || ((_fa = (_ea = window.top) == null ? void 0 : _ea.getLanguageByCode) == null ? void 0 : _fa.call(_ea, "10010.1.20")) || "\u662F\u5426\u663E\u793A",
|
38
|
+
modifyOptionTitle: ((_ga = window.getLanguageByCode) == null ? void 0 : _ga.call(window, "10010.1.21")) || ((_ia = (_ha = window.top) == null ? void 0 : _ha.getLanguageByCode) == null ? void 0 : _ia.call(_ha, "10010.1.21")) || "\u4FEE\u6539\u9009\u9879\u6587\u672C",
|
39
|
+
modifyOptionName: ((_ja = window.getLanguageByCode) == null ? void 0 : _ja.call(window, "10010.1.22")) || ((_la = (_ka = window.top) == null ? void 0 : _ka.getLanguageByCode) == null ? void 0 : _la.call(_ka, "10010.1.22")) || "\u503C",
|
40
|
+
modifyOptionOriginText: ((_ma = window.getLanguageByCode) == null ? void 0 : _ma.call(window, "10010.1.23")) || ((_oa = (_na = window.top) == null ? void 0 : _na.getLanguageByCode) == null ? void 0 : _oa.call(_na, "10010.1.23")) || "\u539F\u6587\u672C",
|
41
|
+
modifyOptionNewText: ((_pa = window.getLanguageByCode) == null ? void 0 : _pa.call(window, "10010.1.24")) || ((_ra = (_qa = window.top) == null ? void 0 : _qa.getLanguageByCode) == null ? void 0 : _ra.call(_qa, "10010.1.24")) || "\u8C03\u6574\u540E\u6587\u672C",
|
42
|
+
rowsHeight: ((_sa = window.getLanguageByCode) == null ? void 0 : _sa.call(window, "10010.1.25")) || ((_ua = (_ta = window.top) == null ? void 0 : _ta.getLanguageByCode) == null ? void 0 : _ua.call(_ta, "10010.1.25")) || "\u9AD8\u5EA6",
|
43
|
+
rowsTips: ((_va = window.getLanguageByCode) == null ? void 0 : _va.call(window, "10010.1.26")) || ((_xa = (_wa = window.top) == null ? void 0 : _wa.getLanguageByCode) == null ? void 0 : _xa.call(_wa, "10010.1.26")) || "\u9ED8\u8BA4\u4E3A3\u884C\u9AD8\u5EA6\uFF0C\u53EF\u8C03\u6574\u4E3A1-10\u884C\u9AD8\u5EA6",
|
44
44
|
confirm: "\u662F\u5426\u5728\u4FEE\u6539\u503C\u540E\u5F39\u7A97\u63D0\u9192",
|
45
|
-
positiveBtn: ((
|
46
|
-
negativeBtn: ((
|
47
|
-
fullLine: ((
|
48
|
-
halfLine: ((
|
45
|
+
positiveBtn: ((_ya = window.getLanguageByCode) == null ? void 0 : _ya.call(window, "10010.1.27")) || ((_Aa = (_za = window.top) == null ? void 0 : _za.getLanguageByCode) == null ? void 0 : _Aa.call(_za, "10010.1.27")) || "\u786E\u5B9A",
|
46
|
+
negativeBtn: ((_Ba = window.getLanguageByCode) == null ? void 0 : _Ba.call(window, "10010.1.28")) || ((_Da = (_Ca = window.top) == null ? void 0 : _Ca.getLanguageByCode) == null ? void 0 : _Da.call(_Ca, "10010.1.28")) || "\u53D6\u6D88",
|
47
|
+
fullLine: ((_Ea = window.getLanguageByCode) == null ? void 0 : _Ea.call(window, "10010.1.29")) || ((_Ga = (_Fa = window.top) == null ? void 0 : _Fa.getLanguageByCode) == null ? void 0 : _Ga.call(_Fa, "10010.1.29")) || "\u6574\u884C",
|
48
|
+
halfLine: ((_Ha = window.getLanguageByCode) == null ? void 0 : _Ha.call(window, "10010.1.30")) || ((_Ja = (_Ia = window.top) == null ? void 0 : _Ia.getLanguageByCode) == null ? void 0 : _Ja.call(_Ia, "10010.1.30")) || "\u534A\u884C",
|
49
49
|
toString() {
|
50
50
|
return this.areaName;
|
51
51
|
}
|
@@ -591,7 +591,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
591
591
|
feedbackType: "default" | "tooltip";
|
592
592
|
fixMemoLeak: boolean;
|
593
593
|
lazyRender: boolean;
|
594
|
-
dialogFn:
|
594
|
+
dialogFn: any;
|
595
595
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
596
596
|
[key: symbol]: any;
|
597
597
|
[key: `x-${string}`]: any;
|
@@ -586,7 +586,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
586
586
|
feedbackType: "default" | "tooltip";
|
587
587
|
fixMemoLeak: boolean;
|
588
588
|
lazyRender: boolean;
|
589
|
-
dialogFn:
|
589
|
+
dialogFn: any;
|
590
590
|
}>) => Record<string, import("@formily/vue").Stringify<{
|
591
591
|
[key: symbol]: any;
|
592
592
|
[key: `x-${string}`]: any;
|
@@ -589,7 +589,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
589
589
|
feedbackType: "default" | "tooltip";
|
590
590
|
fixMemoLeak: boolean;
|
591
591
|
lazyRender: boolean;
|
592
|
-
dialogFn:
|
592
|
+
dialogFn: any;
|
593
593
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
594
594
|
[key: symbol]: any;
|
595
595
|
[key: `x-${string}`]: any;
|
package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js
CHANGED
@@ -53,8 +53,8 @@ function useCombination(props) {
|
|
53
53
|
"component": AddCircleOutline
|
54
54
|
}, null),
|
55
55
|
default: () => {
|
56
|
-
var _a2;
|
57
|
-
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || "\u65B0\u589E";
|
56
|
+
var _a2, _b, _c;
|
57
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.279")) || "\u65B0\u589E";
|
58
58
|
}
|
59
59
|
})]);
|
60
60
|
}
|
@@ -162,8 +162,8 @@ const script = /* @__PURE__ */ defineComponent({
|
|
162
162
|
"component": AddCircleOutline
|
163
163
|
}, null),
|
164
164
|
default: () => {
|
165
|
-
var _a;
|
166
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.279")) || "\u65B0\u589E";
|
165
|
+
var _a, _b, _c;
|
166
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.279")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.279")) || "\u65B0\u589E";
|
167
167
|
}
|
168
168
|
})]), range(currentGroupNum.value).map((_, idx) => createVNode("section", {
|
169
169
|
"class": "form-render__combinationContentJson"
|
@@ -47,7 +47,7 @@ const tableScript = /* @__PURE__ */ defineComponent({
|
|
47
47
|
setup(props, {
|
48
48
|
emit
|
49
49
|
}) {
|
50
|
-
var _a;
|
50
|
+
var _a, _b, _c;
|
51
51
|
const {
|
52
52
|
field
|
53
53
|
} = useFormField();
|
@@ -101,7 +101,7 @@ const tableScript = /* @__PURE__ */ defineComponent({
|
|
101
101
|
}
|
102
102
|
}
|
103
103
|
const fieldListWithOperation = fieldList.concat({
|
104
|
-
alias: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.241")) || "\u64CD\u4F5C",
|
104
|
+
alias: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.241")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.241")) || "\u64CD\u4F5C",
|
105
105
|
columnName: "operation",
|
106
106
|
width: 60,
|
107
107
|
isFixed: 2,
|
@@ -53,7 +53,7 @@ const script = /* @__PURE__ */ defineComponent({
|
|
53
53
|
return props.eventType === "change" || ((_a = getFieldItem()) == null ? void 0 : _a.confirmBeforeValueChange);
|
54
54
|
});
|
55
55
|
const key = ref(1);
|
56
|
-
watch([valueRef, () => props.updateKey], (n, o) => {
|
56
|
+
watch([valueRef, () => props.updateKey], ([n], [o]) => {
|
57
57
|
if (n === void 0 && o !== void 0 || isChangeMode.value)
|
58
58
|
key.value++;
|
59
59
|
});
|
@@ -159,7 +159,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
159
159
|
feedbackType: "default" | "tooltip";
|
160
160
|
fixMemoLeak: boolean;
|
161
161
|
lazyRender: boolean;
|
162
|
-
dialogFn:
|
162
|
+
dialogFn: any;
|
163
163
|
}>>;
|
164
164
|
isVerticalLinebar: import("vue").ComputedRef<boolean>;
|
165
165
|
wrapperClass: import("vue").ComputedRef<string[] | "">;
|
@@ -158,7 +158,7 @@ export declare const LINEBAR: import("@vue/runtime-core").DefineComponent<{
|
|
158
158
|
feedbackType: "default" | "tooltip";
|
159
159
|
fixMemoLeak: boolean;
|
160
160
|
lazyRender: boolean;
|
161
|
-
dialogFn:
|
161
|
+
dialogFn: any;
|
162
162
|
}>>;
|
163
163
|
isVerticalLinebar: import("vue").ComputedRef<boolean>;
|
164
164
|
wrapperClass: import("vue").ComputedRef<string[] | "">;
|
@@ -156,8 +156,8 @@ function createComponent(name, Wrapper, Item) {
|
|
156
156
|
"indeterminate": indeterminate.value
|
157
157
|
}, {
|
158
158
|
default: () => {
|
159
|
-
var _a;
|
160
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.37")) || "\u5168\u9009";
|
159
|
+
var _a, _b, _c;
|
160
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.37")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.37")) || "\u5168\u9009";
|
161
161
|
}
|
162
162
|
});
|
163
163
|
}
|
@@ -212,9 +212,9 @@ const script = /* @__PURE__ */ defineComponent({
|
|
212
212
|
"renderTag": renderTag
|
213
213
|
}, {
|
214
214
|
empty() {
|
215
|
-
var _a;
|
215
|
+
var _a, _b, _c;
|
216
216
|
return props.useLoading && loading.value ? createVNode(NSpin, null, null) : createVNode(NEmpty, {
|
217
|
-
"description": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.380")) || "\u65E0\u6570\u636E"
|
217
|
+
"description": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.380")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.380")) || "\u65E0\u6570\u636E"
|
218
218
|
}, null);
|
219
219
|
},
|
220
220
|
...slots
|
@@ -76,7 +76,7 @@ const script = /* @__PURE__ */ defineComponent({
|
|
76
76
|
emit("update:value", uncheckedValue.value);
|
77
77
|
}
|
78
78
|
function renderSwitch() {
|
79
|
-
var _a, _b, _c;
|
79
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
80
80
|
return [createVNode(NSwitch, mergeProps({
|
81
81
|
"value": valueRef.value,
|
82
82
|
"onUpdate:value": ($event) => valueRef.value = $event
|
@@ -88,9 +88,9 @@ const script = /* @__PURE__ */ defineComponent({
|
|
88
88
|
"onUpdate:show": ($event) => showModal.value = $event,
|
89
89
|
"display-directive": "show",
|
90
90
|
"preset": "dialog",
|
91
|
-
"title": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.428")) || "\u786E\u8BA4",
|
92
|
-
"positive-text": ((
|
93
|
-
"negative-text": ((
|
91
|
+
"title": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.428")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.428")) || "\u786E\u8BA4",
|
92
|
+
"positive-text": ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.428")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.428")) || "\u786E\u8BA4",
|
93
|
+
"negative-text": ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.28")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.28")) || "\u53D6\u6D88",
|
94
94
|
"content": reminderContent.value,
|
95
95
|
"onPositiveClick": onComfirm
|
96
96
|
}, null) : null];
|
@@ -51,7 +51,7 @@ const script = /* @__PURE__ */ defineComponent({
|
|
51
51
|
return props.eventType === "change" || ((_a = getFieldItem()) == null ? void 0 : _a.confirmBeforeValueChange);
|
52
52
|
});
|
53
53
|
const key = ref(1);
|
54
|
-
watch([valueRef, () => props.updateKey], (n, o) => {
|
54
|
+
watch([valueRef, () => props.updateKey], ([n], [o]) => {
|
55
55
|
if (n === void 0 && o !== void 0 || isChangeMode.value)
|
56
56
|
key.value++;
|
57
57
|
});
|
@@ -107,7 +107,7 @@ export declare function useFieldNormalize(): {
|
|
107
107
|
feedbackType: "default" | "tooltip";
|
108
108
|
fixMemoLeak: boolean;
|
109
109
|
lazyRender: boolean;
|
110
|
-
dialogFn:
|
110
|
+
dialogFn: any;
|
111
111
|
}>], import("../../../../shared/utils/tapable").UnsetAdditionalOptions>;
|
112
112
|
FieldListNormalizeWaterfallHook: SyncWaterfallHook<[FieldItem[], Partial<{
|
113
113
|
fieldList: FieldItem[];
|
@@ -215,6 +215,6 @@ export declare function useFieldNormalize(): {
|
|
215
215
|
feedbackType: "default" | "tooltip";
|
216
216
|
fixMemoLeak: boolean;
|
217
217
|
lazyRender: boolean;
|
218
|
-
dialogFn:
|
218
|
+
dialogFn: any;
|
219
219
|
}>], import("../../../../shared/utils/tapable").UnsetAdditionalOptions>;
|
220
220
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { FormRequestDefine } from '../../../../shared/hooks';
|
2
|
-
import {
|
2
|
+
import { AnyObject, LowCodeTypes, UndefinedAble } from '../../../../shared/types';
|
3
3
|
import { DataField, Field, Form, GeneralField } from '@formily/core';
|
4
4
|
import { ISchema } from '@formily/json-schema/esm/types';
|
5
5
|
import { Component, FunctionalComponent } from 'vue';
|
@@ -175,7 +175,7 @@ export type FormRenderProps = Partial<{
|
|
175
175
|
feedbackType: 'tooltip' | 'default';
|
176
176
|
fixMemoLeak: boolean;
|
177
177
|
lazyRender: boolean;
|
178
|
-
dialogFn:
|
178
|
+
dialogFn: any;
|
179
179
|
}>;
|
180
180
|
export type FormBusinessFormatter = (payload: {
|
181
181
|
fieldKey: string;
|
@@ -100,11 +100,11 @@ function assignUpdateValue(props, field) {
|
|
100
100
|
if (confirm && $dialog && !isEmptyValue(oldValue) && oldValue !== value) {
|
101
101
|
try {
|
102
102
|
await new Promise((resolve, reject) => {
|
103
|
-
var _a, _b, _c;
|
103
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
104
104
|
const params = {
|
105
|
-
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.228")) || "\u8B66\u544A",
|
106
|
-
positiveText: ((
|
107
|
-
negativeText: ((
|
105
|
+
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.228")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.228")) || "\u8B66\u544A",
|
106
|
+
positiveText: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.27")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.27")) || "\u786E\u5B9A",
|
107
|
+
negativeText: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.28")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.28")) || "\u53D6\u6D88",
|
108
108
|
onPositiveClick: resolve,
|
109
109
|
onNegativeClick: reject,
|
110
110
|
content: confirmText != null ? confirmText : DEFAULT_TEXT,
|
@@ -109,14 +109,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
109
109
|
namespace: "iho-chat__popover"
|
110
110
|
}, {
|
111
111
|
default: withCtx(() => {
|
112
|
-
var _a;
|
112
|
+
var _a, _b, _c;
|
113
113
|
return [loading.value ? (openBlock(), createBlock(unref(NSpin), {
|
114
114
|
key: 0,
|
115
115
|
stroke: "#5585f5"
|
116
116
|
})) : (openBlock(), createElementBlock(Fragment, {
|
117
117
|
key: 1
|
118
118
|
}, [__props.showHeader ? (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(ChatSearch), createVNode(ChatAdd, {
|
119
|
-
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.31")) || "\u53D1\u8D77\u7FA4\u804A",
|
119
|
+
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.31")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.31")) || "\u53D1\u8D77\u7FA4\u804A",
|
120
120
|
mode: "create",
|
121
121
|
"default-value": [unref(state).userInfo]
|
122
122
|
}, null, 8, ["default-value"]), createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "toolbar")])])) : createCommentVNode("v-if", true), createVNode(unref(NLayout), {
|