cnhis-design-vue 3.2.15-beta.17 → 3.2.15-beta.20
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/card-reader-sdk/src/cardReaderSDK.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -2
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/form-config/index.d.ts +1021 -1
- package/es/components/form-config/src/FormConfig.vue.d.ts +1021 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +0 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1019 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -1
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
- package/es/components/iho-chat/index.d.ts +232 -57
- package/es/components/iho-chat/src/Index.vue.d.ts +232 -57
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +33 -8
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +33 -8
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +33 -8
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +99 -24
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +33 -8
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +33 -8
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +33 -8
- package/es/components/iho-chat/style/iconfont.ttf +0 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +4 -0
- package/package.json +2 -2
@@ -1162,7 +1162,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
1162
1162
|
onOptionModalConfirm: () => void;
|
1163
1163
|
useFormConfigLocale: typeof useFormConfigLocale;
|
1164
1164
|
NModal: any;
|
1165
|
-
NSpace: any;
|
1166
1165
|
NInput: any;
|
1167
1166
|
CFormRender: import("../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{}, {
|
1168
1167
|
formRenderRef: import("vue").Ref<FormRenderExpose | undefined>;
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,computed as t,ref as
|
1
|
+
import{defineComponent as e,computed as t,ref as i,inject as l,watch as o,toRaw as a,openBlock as n,createElementBlock as r,Fragment as u,createVNode as s,unref as d,mergeProps as v,withCtx as p,createElementVNode as f,toDisplayString as m,renderList as c,h as g}from"vue";import{cloneDeep as x,isEmpty as y,isArray as h}from"lodash-es";import{InjectionActiveFieldItem as b,EditAbleField as A}from"../constants/index.js";import"../../../../shared/components/VueDraggable/src/vuedraggable.js";import{findFieldItemByKey as j}from"../utils/index.js";import"@vicons/ionicons5";import{NModal as k,NInput as F,NButton as L}from"naive-ui";import"../../../../shared/utils/index.js";import{useConfigurationField as O}from"../hooks/useConfigurationField.js";import{useFormConfigLocale as _}from"../hooks/useLocale.js";import"../../../index.js";import w from"../../../form-render/index.js";const C={style:{"padding-top":"8px"}},R={style:{width:"100%","text-align":"left"}};var T=e({__name:"FormConfigEdit",props:{uuid:{type:String,required:!0},bindFormRenderRef:{type:Object},formProps:{type:Object}},setup(e,{expose:T}){const U=e;t((()=>`#${U.uuid} .form-config__config`));const E=i(),P=l(b),B=i([]),N=i({}),{generateFieldListByFormConfigItem:D}=O();function I({fieldKey:e,value:t}){P.value&&(P.value[e]=t)}o(P,(async(e,t)=>{var i,l;if(!e)return B.value=[];N.value={editable:!0,show:!0,...x(a(e))};const o=null==(i=U.bindFormRenderRef)?void 0:i.getFieldList();B.value=D(e,j(o,e.key)),null==(l=E.value)||l.reload()}),{immediate:!0});const V={"*"({field:e}){if(e.val_key!==A.DEFAULT_VALUE)return;const t=e.option;var i,l;e.option=(i=e.option,h(i)?i.map((e=>{var t;const i=null==(t=P.value.optionAliasList)?void 0:t.find((t=>t.value===e.value));return i?{...e,text:i.text}:e})):i),e.decoratorProps={labelRender:(l=t,e=>{const t=g("span",{},e);return y(l)?t:g("div",{style:{display:"flex",alignItems:"center",gap:"8px"}},[t,g(L,{text:!0,type:"primary",onClick(){var e;q.value=!0,z.value=x(l),y(null==(e=P.value)?void 0:e.optionAliasList)||z.value.forEach((e=>{const t=P.value.optionAliasList.find((t=>t.value===e.value));t&&(e.alias=t.text)}))}},{default:()=>_("configArea.modifyOptionTitle")})])})}}},q=i(!1),z=i([]);function K(){q.value=!1,z.value=[]}function S(){var e;q.value=!1,P.value.optionAliasList=z.value.reduce(((e,t)=>(t.alias&&e.push({value:t.value,text:t.alias}),e)),[]),z.value=[],N.value={editable:!0,show:!0,...x(a(P.value))},null==(e=E.value)||e.reload()}return T({validate(){var e;return null==(e=E.value)?void 0:e.validate()}}),(t,i)=>(n(),r(u,null,[s(d(w),v({size:"small"},e.formProps,{column:12,ref_key:"formRenderRef",ref:E,onFormChange:I,"field-visitor":V,"field-list":B.value,"initial-data":N.value}),null,16,["field-list","initial-data"]),s(d(k),{show:q.value,"onUpdate:show":i[0]||(i[0]=e=>q.value=e),preset:"dialog",to:"body","close-on-esc":!1,"mask-closable":!1,title:d(_)("configArea.modifyOptionTitle"),"positive-text":d(_)("configArea.positiveBtn"),"negative-text":d(_)("configArea.negativeBtn"),onNegativeClick:K,onPositiveClick:S},{default:p((()=>[f("section",C,[f("table",R,[f("thead",null,[f("tr",null,[f("th",null,m(d(_)("configArea.modifyOptionName")),1),f("th",null,m(d(_)("configArea.modifyOptionOriginText")),1),f("th",null,m(d(_)("configArea.modifyOptionNewText")),1)])]),f("tbody",null,[(n(!0),r(u,null,c(z.value,(e=>(n(),r("tr",{key:e.value},[f("td",null,m(e.value),1),f("td",null,m(e.text),1),f("td",null,[s(d(F),{value:e.alias,"onUpdate:value":t=>e.alias=t},null,8,["value","onUpdate:value"])])])))),128))])])])])),_:1},8,["show","to","title","positive-text","negative-text"])],64))}});export{T as default};
|