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
@@ -5,16 +5,16 @@ import scriptFormContent from './LabelFormContent.vue.js';
|
|
5
5
|
import { handleLabelColor } from '../../../shared/utils/vexutils.js';
|
6
6
|
import vexutilsExpand from '../../../shared/utils/vexutilsExpand.js';
|
7
7
|
|
8
|
-
var _a, _b;
|
8
|
+
var _a, _b, _c, _d, _e, _f;
|
9
9
|
const _hoisted_1 = {
|
10
10
|
class: "c-select-label"
|
11
11
|
};
|
12
|
-
const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.522")) || "\u5E38\u7528", -1);
|
12
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.522")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.522")) || "\u5E38\u7528", -1);
|
13
13
|
const _hoisted_3 = {
|
14
14
|
key: 2,
|
15
15
|
class: "outexplicit"
|
16
16
|
};
|
17
|
-
const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", null, ((
|
17
|
+
const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", null, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.518")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.518")) || "\u9009\u62E9\u6807\u7B7E", -1);
|
18
18
|
const _hoisted_5 = {
|
19
19
|
class: "svg-wrap"
|
20
20
|
};
|
@@ -256,7 +256,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
256
256
|
state.multipleChoiceConfig = multipleChoiceConfig;
|
257
257
|
}
|
258
258
|
keys.forEach((key) => {
|
259
|
-
var _a2, _b2,
|
259
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g;
|
260
260
|
if (key === "typeList")
|
261
261
|
return;
|
262
262
|
if (key === "emptyTypes") {
|
@@ -291,12 +291,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
291
291
|
} else {
|
292
292
|
state.editLabelItem.labelObj[key].isNoAdd = true;
|
293
293
|
state.editLabelItem.labelObj[key].multipleChoice = (_b2 = choiceTypes[key]) == null ? void 0 : _b2.multipleChoice;
|
294
|
-
state.editLabelItem.labelObj[key].allowCreateByPersonal = (
|
295
|
-
state.editLabelItem.labelObj[key].parentColor = (
|
294
|
+
state.editLabelItem.labelObj[key].allowCreateByPersonal = (_c2 = choiceTypes[key]) == null ? void 0 : _c2.allowCreateByPersonal;
|
295
|
+
state.editLabelItem.labelObj[key].parentColor = (_d2 = choiceTypes[key]) == null ? void 0 : _d2.parentColor;
|
296
296
|
}
|
297
297
|
} else {
|
298
|
-
state.editLabelItem.labelObj[key].multipleChoice = (
|
299
|
-
state.editLabelItem.labelObj[key].allowCreateByPersonal = (
|
298
|
+
state.editLabelItem.labelObj[key].multipleChoice = (_e2 = choiceTypes[key]) == null ? void 0 : _e2.multipleChoice;
|
299
|
+
state.editLabelItem.labelObj[key].allowCreateByPersonal = (_f2 = choiceTypes[key]) == null ? void 0 : _f2.allowCreateByPersonal;
|
300
300
|
state.editLabelItem.labelObj[key].parentColor = (_g = choiceTypes[key]) == null ? void 0 : _g.parentColor;
|
301
301
|
}
|
302
302
|
});
|
@@ -357,13 +357,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
357
357
|
deep: true
|
358
358
|
});
|
359
359
|
return (_ctx, _cache) => {
|
360
|
-
var _a2, _b2;
|
360
|
+
var _a2, _b2, _c2, _d2, _e2, _f2;
|
361
361
|
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1, [!__props.explicit ? (openBlock(), createBlock(unref(NSpace), {
|
362
362
|
key: 0,
|
363
363
|
align: "center"
|
364
364
|
}, {
|
365
365
|
default: withCtx(() => {
|
366
|
-
var _a3;
|
366
|
+
var _a3, _b3, _c3;
|
367
367
|
return [(openBlock(true), createElementBlock(Fragment, null, renderList(state.labelSelectedList, (v) => {
|
368
368
|
return openBlock(), createBlock(unref(NTag), {
|
369
369
|
bordered: false,
|
@@ -391,7 +391,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
391
391
|
}, [createVNode(unref(NIcon), {
|
392
392
|
class: "add-icon",
|
393
393
|
component: unref(AddCircleOutline)
|
394
|
-
}, null, 8, ["component"]), createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.279")) || "\u65B0\u589E")], 2)), [[vShow, unref(item_is_edit)]]) : createCommentVNode("v-if", true)];
|
394
|
+
}, null, 8, ["component"]), createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.279")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.279")) || "\u65B0\u589E")], 2)), [[vShow, unref(item_is_edit)]]) : createCommentVNode("v-if", true)];
|
395
395
|
}),
|
396
396
|
_: 1
|
397
397
|
})) : createCommentVNode("v-if", true), __props.sourceType == "form" && state.commonLabelList.length && unref(item_is_edit) && !__props.explicit ? (openBlock(), createBlock(unref(NSpace), {
|
@@ -443,8 +443,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
443
443
|
"mask-closable": false,
|
444
444
|
"close-on-esc": false,
|
445
445
|
"show-icon": false,
|
446
|
-
"negative-text": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88",
|
447
|
-
"positive-text": ((
|
446
|
+
"negative-text": ((_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",
|
447
|
+
"positive-text": ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.27")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.27")) || "\u786E\u5B9A",
|
448
448
|
style: normalizeStyle({
|
449
449
|
width: state.modalWidth
|
450
450
|
})
|
@@ -2,7 +2,7 @@ import { createElementVNode, defineComponent, ref, watch, openBlock, createEleme
|
|
2
2
|
import { NTag, NTooltip, NIcon, NButton, NInput } from 'naive-ui';
|
3
3
|
import { Close, Add } from '@vicons/ionicons5';
|
4
4
|
|
5
|
-
var _a, _b;
|
5
|
+
var _a, _b, _c, _d, _e, _f;
|
6
6
|
const _hoisted_1 = {
|
7
7
|
class: "edit-content"
|
8
8
|
};
|
@@ -12,10 +12,10 @@ const _hoisted_2 = {
|
|
12
12
|
};
|
13
13
|
const _hoisted_3 = /* @__PURE__ */ createElementVNode("p", {
|
14
14
|
class: "label-disable-title"
|
15
|
-
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
|
15
|
+
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
|
16
16
|
const _hoisted_4 = /* @__PURE__ */ createElementVNode("p", {
|
17
17
|
class: "label-disable-desc"
|
18
|
-
}, ((
|
18
|
+
}, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.517")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E", -1);
|
19
19
|
const _hoisted_5 = [_hoisted_3, _hoisted_4];
|
20
20
|
const _hoisted_6 = {
|
21
21
|
class: "label-content"
|
@@ -121,10 +121,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
121
121
|
onClick: _cache[0] || (_cache[0] = ($event) => __props.handleAddLabel($event, __props.classifyItem))
|
122
122
|
}, {
|
123
123
|
default: withCtx(() => {
|
124
|
-
var _a3;
|
124
|
+
var _a3, _b2, _c2;
|
125
125
|
return [__props.classifyItem.addVal ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(__props.classifyItem.addVal), 1)) : (openBlock(), createElementBlock("span", _hoisted_8, [createVNode(unref(NIcon), {
|
126
126
|
component: unref(Add)
|
127
|
-
}, null, 8, ["component"]), createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.297")) || "\u6807\u7B7E")]))];
|
127
|
+
}, null, 8, ["component"]), createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.297")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.297")) || "\u6807\u7B7E")]))];
|
128
128
|
}),
|
129
129
|
_: 1
|
130
130
|
}, 512)), [[vShow, !__props.classifyItem.showAdd]]) : createCommentVNode("v-if", true), createCommentVNode(" \u662F\u5426\u5141\u8BB8\u65B0\u589E\u4E2A\u4EBA\u6807\u7B7E allowCreateByPersonal "), __props.isEdit && !__props.classifyItem.isNoAdd && __props.sourceType != "guage" ? withDirectives((openBlock(), createBlock(unref(NInput), {
|
@@ -2,17 +2,17 @@ import { createElementVNode, defineComponent, ref, watch, openBlock, createEleme
|
|
2
2
|
import { NAnchor, NAnchorLink } from 'naive-ui';
|
3
3
|
import IhoLabelClassify from './iho-label-classify.vue.js';
|
4
4
|
|
5
|
-
var _a, _b;
|
5
|
+
var _a, _b, _c, _d, _e, _f;
|
6
6
|
const _hoisted_1 = {
|
7
7
|
key: 0,
|
8
8
|
class: "label-disable-wrap"
|
9
9
|
};
|
10
10
|
const _hoisted_2 = /* @__PURE__ */ createElementVNode("p", {
|
11
11
|
class: "label-disable-title"
|
12
|
-
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
|
12
|
+
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
|
13
13
|
const _hoisted_3 = /* @__PURE__ */ createElementVNode("p", {
|
14
14
|
class: "label-disable-desc"
|
15
|
-
}, ((
|
15
|
+
}, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.517")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E", -1);
|
16
16
|
const _hoisted_4 = [_hoisted_2, _hoisted_3];
|
17
17
|
const _hoisted_5 = {
|
18
18
|
style: {
|
@@ -4,7 +4,7 @@ import { CloseOutline, AddCircleOutline } from '@vicons/ionicons5';
|
|
4
4
|
import { cloneDeep } from 'lodash-es';
|
5
5
|
import IhoLabelFormContent from './IhoLabelFormContent.vue.js';
|
6
6
|
|
7
|
-
var _a;
|
7
|
+
var _a, _b, _c;
|
8
8
|
const _hoisted_1 = {
|
9
9
|
class: "c-select-label"
|
10
10
|
};
|
@@ -17,7 +17,7 @@ const _hoisted_4 = {
|
|
17
17
|
key: 1,
|
18
18
|
class: "outexplicit"
|
19
19
|
};
|
20
|
-
const _hoisted_5 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.518")) || "\u9009\u62E9\u6807\u7B7E", -1);
|
20
|
+
const _hoisted_5 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.518")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.518")) || "\u9009\u62E9\u6807\u7B7E", -1);
|
21
21
|
const _hoisted_6 = {
|
22
22
|
class: "svg-wrap"
|
23
23
|
};
|
@@ -114,7 +114,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
114
114
|
deep: true
|
115
115
|
});
|
116
116
|
return (_ctx, _cache) => {
|
117
|
-
var _a2,
|
117
|
+
var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i;
|
118
118
|
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1, [!__props.explicit ? (openBlock(), createElementBlock("div", _hoisted_2, [(openBlock(true), createElementBlock(Fragment, null, renderList(outSelectedList.value, (v) => {
|
119
119
|
return openBlock(), createElementBlock(Fragment, {
|
120
120
|
key: `${v.classifyId}-${v.labelCode}`
|
@@ -165,7 +165,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
165
165
|
}, [createVNode(unref(NIcon), {
|
166
166
|
class: "add-icon",
|
167
167
|
component: unref(AddCircleOutline)
|
168
|
-
}, null, 8, ["component"]), createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || "\u65B0\u589E")])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), __props.explicit ? (openBlock(), createElementBlock("div", _hoisted_4, [createVNode(IhoLabelFormContent, {
|
168
|
+
}, null, 8, ["component"]), 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")])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), __props.explicit ? (openBlock(), createElementBlock("div", _hoisted_4, [createVNode(IhoLabelFormContent, {
|
169
169
|
ref_key: "labelFormContentRef",
|
170
170
|
ref: labelFormContentRef,
|
171
171
|
categoryList: __props.categoryList,
|
@@ -186,8 +186,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
186
186
|
"mask-closable": false,
|
187
187
|
"close-on-esc": false,
|
188
188
|
"show-icon": false,
|
189
|
-
"negative-text": ((
|
190
|
-
"positive-text": ((
|
189
|
+
"negative-text": ((_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",
|
190
|
+
"positive-text": ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.27")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.27")) || "\u786E\u5B9A",
|
191
191
|
style: normalizeStyle({
|
192
192
|
width: state.modalWidth
|
193
193
|
})
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { createElementVNode, defineComponent, ref, openBlock, createElementBlock, unref, Fragment, renderList, createBlock, normalizeStyle, withCtx, createVNode, toDisplayString, createCommentVNode } from 'vue';
|
2
2
|
import { NTag, NTooltip } from 'naive-ui';
|
3
3
|
|
4
|
-
var _a, _b;
|
4
|
+
var _a, _b, _c, _d, _e, _f;
|
5
5
|
const _hoisted_1 = {
|
6
6
|
class: "edit-content"
|
7
7
|
};
|
@@ -11,10 +11,10 @@ const _hoisted_2 = {
|
|
11
11
|
};
|
12
12
|
const _hoisted_3 = /* @__PURE__ */ createElementVNode("p", {
|
13
13
|
class: "label-disable-title"
|
14
|
-
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
|
14
|
+
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
|
15
15
|
const _hoisted_4 = /* @__PURE__ */ createElementVNode("p", {
|
16
16
|
class: "label-disable-desc"
|
17
|
-
}, ((
|
17
|
+
}, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.517")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E", -1);
|
18
18
|
const _hoisted_5 = [_hoisted_3, _hoisted_4];
|
19
19
|
const _hoisted_6 = {
|
20
20
|
key: 1,
|
@@ -8,7 +8,7 @@ import SearchMultiple from './components/SearchMultiple.vue.js';
|
|
8
8
|
import SearchOrgAndStaff from './components/SearchOrgAndStaff.vue.js';
|
9
9
|
import { InjectionSelectPersonEmits } from './constants/index.js';
|
10
10
|
|
11
|
-
var _a, _b;
|
11
|
+
var _a, _b, _c, _d, _e, _f;
|
12
12
|
const _hoisted_1 = {
|
13
13
|
class: "search-box"
|
14
14
|
};
|
@@ -36,11 +36,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
36
36
|
},
|
37
37
|
searchPlaceholder: {
|
38
38
|
type: String,
|
39
|
-
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.508")) || "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22"
|
39
|
+
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.508")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.508")) || "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22"
|
40
40
|
},
|
41
41
|
searchButtonText: {
|
42
42
|
type: String,
|
43
|
-
default: ((
|
43
|
+
default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.36")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.36")) || "\u641C\u7D22"
|
44
44
|
},
|
45
45
|
wordbook: {
|
46
46
|
type: Object,
|
@@ -111,27 +111,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
111
111
|
setup(__props, {
|
112
112
|
expose
|
113
113
|
}) {
|
114
|
-
var _a2, _b2,
|
114
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
|
115
115
|
const props = __props;
|
116
116
|
const searchFilterBase = {
|
117
117
|
isOpen: false,
|
118
118
|
multiple: false,
|
119
|
-
customTitles: [((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.510")) || "\u8054\u7CFB\u4EBA", ((
|
119
|
+
customTitles: [((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.510")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.510")) || "\u8054\u7CFB\u4EBA", ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.511")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.511")) || "\u90E8\u95E8"],
|
120
120
|
itemHeight: 250
|
121
121
|
};
|
122
122
|
const labelList = [{
|
123
123
|
key: "main",
|
124
|
-
label: ((
|
124
|
+
label: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.512")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.512")) || "\u9009\u4EBA\u5458"
|
125
125
|
}, {
|
126
126
|
key: "dept",
|
127
|
-
label: ((
|
127
|
+
label: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.513")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.513")) || "\u9009\u79D1\u5BA4"
|
128
128
|
}, {
|
129
129
|
key: "role",
|
130
|
-
label: ((
|
130
|
+
label: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.514")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.514")) || "\u9009\u89D2\u8272"
|
131
131
|
}];
|
132
132
|
const labelListName = {
|
133
|
-
dept: ((
|
134
|
-
role: ((
|
133
|
+
dept: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.202")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.202")) || "\u79D1\u5BA4",
|
134
|
+
role: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.515")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.515")) || "\u89D2\u8272"
|
135
135
|
};
|
136
136
|
const emit = inject(InjectionSelectPersonEmits);
|
137
137
|
const keyword = ref("");
|
@@ -732,7 +732,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
732
732
|
}
|
733
733
|
}, {
|
734
734
|
default: withCtx(() => {
|
735
|
-
var _a3;
|
735
|
+
var _a3, _b3, _c3;
|
736
736
|
return [createElementVNode("div", _hoisted_1, [createCommentVNode(" \u641C\u7D22\u5DE6\u4FA7\u8FC7\u6EE4\u7B5B\u9009\u63D2\u69FD "), renderSlot(_ctx.$slots, "filter"), createVNode(unref(NInputGroup), null, {
|
737
737
|
default: withCtx(() => [createCommentVNode(" clearable "), createVNode(unref(NInput), {
|
738
738
|
class: "search-input",
|
@@ -774,8 +774,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
774
774
|
"onUpdate:checked": [_cache[1] || (_cache[1] = ($event) => checkedAll.value = $event), checkedAllChange]
|
775
775
|
}, {
|
776
776
|
default: withCtx(() => {
|
777
|
-
var _a4;
|
778
|
-
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.37")) || "\u5168\u9009")];
|
777
|
+
var _a4, _b4, _c4;
|
778
|
+
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.37")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.37")) || "\u5168\u9009")];
|
779
779
|
}),
|
780
780
|
_: 1
|
781
781
|
}, 8, ["checked"])), [[vShow, __props.forceShowSelectAll || allCheckedTreeKeys.value.length < 1e3]]) : createCommentVNode("v-if", true), createCommentVNode(" \u652F\u6301\u9009\u4EBA "), __props.searchInner && __props.multiple && isSearch.value && unref(checkStrategyResult) === "parent" ? (openBlock(), createBlock(SearchMultiple, {
|
@@ -794,7 +794,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
794
794
|
onNotifyClear: notifySearchClear
|
795
795
|
}, null, 8, ["treeData", "checkedKeys", "searchFilter", "isMultiple"])], 2112)) : (openBlock(), createElementBlock("div", _hoisted_3, [treeData.value.length === 0 ? (openBlock(), createBlock(unref(NEmpty), {
|
796
796
|
key: 0,
|
797
|
-
description: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
797
|
+
description: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.445")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
798
798
|
})) : (openBlock(), createBlock(unref(NTree), mergeProps({
|
799
799
|
key: 1,
|
800
800
|
"virtual-scroll": "",
|
@@ -833,12 +833,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
833
833
|
}
|
834
834
|
}, {
|
835
835
|
default: withCtx(() => {
|
836
|
-
var _a3;
|
836
|
+
var _a3, _b3, _c3;
|
837
837
|
return [__props.showCount ? (openBlock(), createElementBlock("span", _hoisted_4, "\u5DF2\u9009\u62E9\uFF1A" + toDisplayString(unref(caculateTagData).length), 1)) : createCommentVNode("v-if", true), __props.showClear ? (openBlock(), createElementBlock("span", {
|
838
838
|
key: 1,
|
839
839
|
class: "c-select-person__clear-btn",
|
840
840
|
onClick: clearAll
|
841
|
-
}, ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.509")) || "\u6E05\u7A7A")) : createCommentVNode("v-if", true)];
|
841
|
+
}, ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.509")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.509")) || "\u6E05\u7A7A")) : createCommentVNode("v-if", true)];
|
842
842
|
}),
|
843
843
|
_: 1
|
844
844
|
}), createElementVNode("div", {
|
@@ -6,7 +6,7 @@ import { cloneDeep } from 'lodash-es';
|
|
6
6
|
import { SearchTypeConfig } from './types/enums.js';
|
7
7
|
import { InjectionSelectPersonEmits } from './constants/index.js';
|
8
8
|
|
9
|
-
var _a, _b;
|
9
|
+
var _a, _b, _c, _d, _e, _f;
|
10
10
|
const _hoisted_1 = {
|
11
11
|
class: "select-type-tags"
|
12
12
|
};
|
@@ -35,11 +35,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
35
35
|
},
|
36
36
|
searchPlaceholder: {
|
37
37
|
type: String,
|
38
|
-
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.508")) || "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22"
|
38
|
+
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.508")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.508")) || "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22"
|
39
39
|
},
|
40
40
|
searchButtonText: {
|
41
41
|
type: String,
|
42
|
-
default: ((
|
42
|
+
default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.36")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.36")) || "\u641C\u7D22"
|
43
43
|
},
|
44
44
|
wordbook: {
|
45
45
|
type: Object,
|
@@ -235,7 +235,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
235
235
|
return treeObjs;
|
236
236
|
}
|
237
237
|
function transformData(key, trees, parentNode, cb) {
|
238
|
-
var _a2, _b2,
|
238
|
+
var _a2, _b2, _c2, _d2, _e2;
|
239
239
|
for (let index = 0, len = trees.length; index < len; index++) {
|
240
240
|
const tree = trees[index];
|
241
241
|
const curProps = props.switchTypeProps.find((itemProps) => itemProps.tabKey == key);
|
@@ -254,14 +254,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
254
254
|
if (!tree.key) {
|
255
255
|
tree.key = tree[curProps.wordbookChild.user_id_obj] || tree[curProps.wordbook.parent_id_obj] || Date.now();
|
256
256
|
}
|
257
|
-
const childrenKey = ((
|
258
|
-
if ((
|
257
|
+
const childrenKey = ((_c2 = curProps == null ? void 0 : curProps.wordbook) == null ? void 0 : _c2.children) || "children";
|
258
|
+
if ((_d2 = tree[childrenKey]) == null ? void 0 : _d2.length) {
|
259
259
|
const items = calculateRootItems(tree[childrenKey], []);
|
260
260
|
tree.innerItemsNum = items.length;
|
261
261
|
tree.innerLeafs = items;
|
262
262
|
tree.children = transformData(key, tree[childrenKey], tree, cb);
|
263
263
|
setDisabled(tree);
|
264
|
-
} else if (((
|
264
|
+
} else if (((_e2 = tree[childrenKey]) == null ? void 0 : _e2.length) === 0) {
|
265
265
|
Reflect.deleteProperty(tree, "children");
|
266
266
|
}
|
267
267
|
setAllCheckedKeys(tree, cb);
|
@@ -405,7 +405,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
405
405
|
}
|
406
406
|
}, {
|
407
407
|
default: withCtx(() => {
|
408
|
-
var _a2;
|
408
|
+
var _a2, _b2, _c2;
|
409
409
|
return [createVNode(unref(NInputGroup), {
|
410
410
|
style: {
|
411
411
|
"margin-bottom": "12px"
|
@@ -451,13 +451,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
451
451
|
"onUpdate:checked": [_cache[1] || (_cache[1] = ($event) => checkedAll.value = $event), checkedAllChange]
|
452
452
|
}, {
|
453
453
|
default: withCtx(() => {
|
454
|
-
var _a3;
|
455
|
-
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.37")) || "\u5168\u9009")];
|
454
|
+
var _a3, _b3, _c3;
|
455
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.37")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.37")) || "\u5168\u9009")];
|
456
456
|
}),
|
457
457
|
_: 1
|
458
458
|
}, 8, ["checked"])), [[vShow, __props.forceShowSelectAll || allCheckedTreeKeys.value.length < 1e3]]) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_2, [treeData.value.length === 0 ? (openBlock(), createBlock(unref(NEmpty), {
|
459
459
|
key: 0,
|
460
|
-
description: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
460
|
+
description: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.445")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
461
461
|
})) : (openBlock(), createBlock(unref(NTree), mergeProps({
|
462
462
|
key: 1,
|
463
463
|
"virtual-scroll": "",
|
@@ -496,12 +496,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
496
496
|
}
|
497
497
|
}, {
|
498
498
|
default: withCtx(() => {
|
499
|
-
var _a2;
|
499
|
+
var _a2, _b2, _c2;
|
500
500
|
return [__props.showCount ? (openBlock(), createElementBlock("span", _hoisted_3, "\u5DF2\u9009\u62E9\uFF1A" + toDisplayString(checkedTagsMiddle.value.length), 1)) : createCommentVNode("v-if", true), __props.showClear ? (openBlock(), createElementBlock("span", {
|
501
501
|
key: 1,
|
502
502
|
class: "c-select-person__clear-btn",
|
503
503
|
onClick: clearAll
|
504
|
-
}, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.509")) || "\u6E05\u7A7A")) : createCommentVNode("v-if", true)];
|
504
|
+
}, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.509")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.509")) || "\u6E05\u7A7A")) : createCommentVNode("v-if", true)];
|
505
505
|
}),
|
506
506
|
_: 1
|
507
507
|
}), createElementVNode("div", _hoisted_4, [(openBlock(true), createElementBlock(Fragment, null, renderList(checkedTagsMiddle.value, (tag) => {
|
@@ -222,7 +222,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
222
222
|
immediate: true
|
223
223
|
});
|
224
224
|
return (_ctx, _cache) => {
|
225
|
-
var _a2, _b, _c;
|
225
|
+
var _a2, _b, _c, _d, _e;
|
226
226
|
return openBlock(), createElementBlock("div", _hoisted_1, [__props.treeData.length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
227
227
|
key: 0
|
228
228
|
}, [unref(staffDataRef).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2, [createElementVNode("h4", _hoisted_3, toDisplayString((_a2 = __props.searchFilter) == null ? void 0 : _a2.customTitles[0]), 1), createElementVNode("section", {
|
@@ -260,7 +260,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
260
260
|
}, [createElementVNode("span", _hoisted_11, toDisplayString(tree.data.title) + "(" + toDisplayString(tree.data.innerItemsNum) + "\u4EBA)", 1), createElementVNode("span", _hoisted_12, toDisplayString(tree.data.tempTitle), 1)], 10, _hoisted_10)]);
|
261
261
|
}), 128))], 4)], 36)])) : createCommentVNode("v-if", true)], 64)) : (openBlock(), createBlock(unref(NEmpty), {
|
262
262
|
key: 1,
|
263
|
-
description: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
263
|
+
description: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.445")) || ((_e = (_d = window.top) == null ? void 0 : _d.getLanguageByCode) == null ? void 0 : _e.call(_d, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
264
264
|
}))]);
|
265
265
|
};
|
266
266
|
}
|
@@ -3,7 +3,7 @@ import { InjectionSelectPersonEmits } from './constants/index.js';
|
|
3
3
|
import SelectPersonType from './SelectPersonType.vue.js';
|
4
4
|
import SelectPerson from './SelectPerson.vue.js';
|
5
5
|
|
6
|
-
var _a, _b;
|
6
|
+
var _a, _b, _c, _d, _e, _f;
|
7
7
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
8
8
|
__name: "index",
|
9
9
|
props: {
|
@@ -17,11 +17,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
17
|
},
|
18
18
|
searchPlaceholder: {
|
19
19
|
type: String,
|
20
|
-
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.508")) || "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22"
|
20
|
+
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.508")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.508")) || "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22"
|
21
21
|
},
|
22
22
|
searchButtonText: {
|
23
23
|
type: String,
|
24
|
-
default: ((
|
24
|
+
default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.36")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.36")) || "\u641C\u7D22"
|
25
25
|
},
|
26
26
|
wordbook: {
|
27
27
|
type: Object,
|
@@ -868,7 +868,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
868
868
|
feedbackType: "default" | "tooltip";
|
869
869
|
fixMemoLeak: boolean;
|
870
870
|
lazyRender: boolean;
|
871
|
-
dialogFn:
|
871
|
+
dialogFn: any;
|
872
872
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
873
873
|
[key: symbol]: any;
|
874
874
|
[key: `x-${string}`]: any;
|
@@ -871,7 +871,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
871
871
|
feedbackType: "default" | "tooltip";
|
872
872
|
fixMemoLeak: boolean;
|
873
873
|
lazyRender: boolean;
|
874
|
-
dialogFn:
|
874
|
+
dialogFn: any;
|
875
875
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
876
876
|
[key: symbol]: any;
|
877
877
|
[key: `x-${string}`]: any;
|
@@ -225,7 +225,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
225
225
|
refreshNode
|
226
226
|
});
|
227
227
|
return (_ctx, _cache) => {
|
228
|
-
var _a, _b;
|
228
|
+
var _a, _b, _c, _d, _e, _f;
|
229
229
|
return withDirectives((openBlock(), createElementBlock("div", {
|
230
230
|
class: "left-tree-wrap",
|
231
231
|
ref: "left",
|
@@ -234,13 +234,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
234
234
|
})
|
235
235
|
}, [createElementVNode("div", _hoisted_1, [createVNode(unref(NInput), {
|
236
236
|
clearable: "",
|
237
|
-
placeholder: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.523")) || "\u641C\u7D22\u5173\u952E\u5B57",
|
237
|
+
placeholder: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.523")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.523")) || "\u641C\u7D22\u5173\u952E\u5B57",
|
238
238
|
value: searchValue.value,
|
239
239
|
"onUpdate:value": [_cache[0] || (_cache[0] = ($event) => searchValue.value = $event), unref(onSearch)]
|
240
240
|
}, null, 8, ["value", "onUpdate:value"]), createCommentVNode(" \u6309\u94AE\u63D2\u69FD "), renderSlot(_ctx.$slots, "buttons")]), createCommentVNode(" \u6807\u7B7Etab\u63D2\u69FD "), renderSlot(_ctx.$slots, "tabs"), createElementVNode("div", _hoisted_2, [treeData.value.length > 0 ? (openBlock(), createBlock(unref(NTree), normalizeProps(mergeProps({
|
241
241
|
key: 0
|
242
242
|
}, unref(treeProperty))), null, 16)) : (openBlock(), createElementBlock("div", _hoisted_3, [createVNode(unref(NEmpty), {
|
243
|
-
description: ((
|
243
|
+
description: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.445")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
244
244
|
})]))]), createElementVNode("div", _hoisted_4, [createCommentVNode(" \u5BFC\u51FA\u6570\u636E\u63D2\u69FD "), renderSlot(_ctx.$slots, "output")])], 4)), [[unref(vFlexibleResize), {
|
245
245
|
mode: "VR",
|
246
246
|
onMove: changeWidth,
|