cnhis-design-vue 3.1.42-release.4 → 3.1.42-release.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/big-table/src/BigTable.vue2.js +1 -1
- package/es/components/big-table/src/components/edit-form/edit-select-table.d.ts +1 -1
- package/es/components/big-table/src/components/edit-form/edit-select.js +1 -1
- package/es/components/big-table/src/hooks/useEvent.js +1 -1
- package/es/components/big-table/src/hooks/useFormat.js +1 -1
- package/es/components/big-table/src/hooks/useNestTable.js +1 -1
- package/es/components/big-table/src/hooks/useTableParse.js +1 -1
- package/es/components/big-table/src/utils.d.ts +11 -1
- package/es/components/big-table/src/utils.js +1 -1
- package/es/components/button-print/index.d.ts +28 -3
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +28 -4
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/form-config/index.d.ts +36 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +36 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +13 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -0
- package/es/components/form-render/index.d.ts +13 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +13 -0
- package/es/components/form-render/src/FormRender.vue.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +13 -0
- package/es/components/form-render/src/components/renderer/date.d.ts +4 -0
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +3 -0
- package/es/components/form-render/src/types/index.d.ts +1 -1
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +17 -3
- package/es/components/iho-table/src/IhoTable.vue.d.ts +17 -3
- package/es/components/iho-table/src/IhoTable.vue.js +1 -1
- package/es/components/iho-table/src/constants/index.d.ts +3 -2
- package/es/components/iho-table/src/constants/index.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +19 -19
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +60 -237
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +1 -4
- package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +4 -16
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +1 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/highLightSetPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +25 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rowDragPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +17 -2
- package/es/components/iho-table/src/types/pluginType.d.ts +11 -29
- package/es/components/iho-table/src/utils/index.d.ts +4 -3
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/info-header/index.d.ts +27 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +27 -0
- package/es/components/info-header/src/InfoHeader.vue.js +1 -1
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +13 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +14 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
- package/es/components/info-header/style/index.css +1 -1
- package/es/components/scale-view/index.d.ts +9 -130
- package/es/components/scale-view/index.js +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +8 -130
- package/es/components/scale-view/src/ScaleView.vue.js +1 -1
- package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +1 -43
- package/es/components/scale-view/src/components/AnswerParse.vue.js +1 -1
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +0 -42
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-address.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-datetime.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-map.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-sign.js +1 -1
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +4 -4
- package/es/components/scale-view/src/components/formitem/standard-modal.js +1 -1
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-init.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.d.ts +5 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-validate.js +1 -1
- package/es/components/scale-view/src/hooks/use-evaluate.js +1 -1
- package/es/components/scale-view/src/hooks/use-event.js +1 -1
- package/es/components/scale-view/src/types/index.d.ts +7 -0
- package/es/components/scale-view/src/types/index.js +1 -0
- package/es/components/scale-view/style/index.css +1 -1
- package/es/components/scale-view/style/scale-view-iconfont.ttf +0 -0
- package/es/components/search-cascader/index.d.ts +12 -1
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +12 -1
- package/es/components/search-cascader/src/SearchCascader.vue.js +1 -1
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +8 -1
- package/es/components/search-cascader/src/components/SearchMenu.js +1 -1
- package/es/components/search-cascader/src/constants/index.d.ts +1 -0
- package/es/components/search-cascader/src/constants/index.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
- package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
- package/es/components/select-person/index.d.ts +15 -7
- package/es/components/select-person/src/SelectPerson.vue.d.ts +9 -5
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +15 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +15 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +1 -1
- package/es/env.d.ts +1 -0
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.js +1 -1
- package/es/shared/utils/anime.d.ts +1 -1
- package/es/shared/utils/anime.js +1 -1
- package/es/shared/utils/index.d.ts +3 -14
- package/es/shared/utils/index.js +1 -1
- package/es/shared/utils/vexutils.d.ts +2 -2
- package/es/shared/utils/vexutils.js +1 -1
- package/es/shared/utils/vexutilsExpand.d.ts +254 -0
- package/es/shared/utils/vexutilsExpand.js +1 -0
- package/package.json +2 -2
|
@@ -2581,6 +2581,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2581
2581
|
linebarAutoHidden: {
|
|
2582
2582
|
type: BooleanConstructor;
|
|
2583
2583
|
};
|
|
2584
|
+
bordered: {
|
|
2585
|
+
type: BooleanConstructor;
|
|
2586
|
+
default: boolean;
|
|
2587
|
+
};
|
|
2584
2588
|
}, {
|
|
2585
2589
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2586
2590
|
fieldList: {
|
|
@@ -2709,6 +2713,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2709
2713
|
linebarAutoHidden: {
|
|
2710
2714
|
type: BooleanConstructor;
|
|
2711
2715
|
};
|
|
2716
|
+
bordered: {
|
|
2717
|
+
type: BooleanConstructor;
|
|
2718
|
+
default: boolean;
|
|
2719
|
+
};
|
|
2712
2720
|
}>> & {
|
|
2713
2721
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2714
2722
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -3152,6 +3160,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3152
3160
|
linebarAutoHidden: {
|
|
3153
3161
|
type: BooleanConstructor;
|
|
3154
3162
|
};
|
|
3163
|
+
bordered: {
|
|
3164
|
+
type: BooleanConstructor;
|
|
3165
|
+
default: boolean;
|
|
3166
|
+
};
|
|
3155
3167
|
}>> & {
|
|
3156
3168
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
3157
3169
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -3167,6 +3179,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3167
3179
|
consumer: boolean;
|
|
3168
3180
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
3169
3181
|
linebarAutoHidden: boolean;
|
|
3182
|
+
bordered: boolean;
|
|
3170
3183
|
}>;
|
|
3171
3184
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
3172
3185
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -3272,6 +3285,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3272
3285
|
color: string;
|
|
3273
3286
|
textColor: string;
|
|
3274
3287
|
};
|
|
3288
|
+
createSlotRenderer: (value: unknown) => any;
|
|
3275
3289
|
show: import("vue").Ref<boolean>;
|
|
3276
3290
|
fieldList: import("vue").ComputedRef<import("../../../../es/components/form-render").FieldItem[]>;
|
|
3277
3291
|
formRenderRef: import("vue").Ref<FormRenderExpose | undefined>;
|
|
@@ -3416,6 +3430,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3416
3430
|
linebarAutoHidden: {
|
|
3417
3431
|
type: BooleanConstructor;
|
|
3418
3432
|
};
|
|
3433
|
+
bordered: {
|
|
3434
|
+
type: BooleanConstructor;
|
|
3435
|
+
default: boolean;
|
|
3436
|
+
};
|
|
3419
3437
|
}, {
|
|
3420
3438
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
3421
3439
|
fieldList: {
|
|
@@ -3544,6 +3562,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3544
3562
|
linebarAutoHidden: {
|
|
3545
3563
|
type: BooleanConstructor;
|
|
3546
3564
|
};
|
|
3565
|
+
bordered: {
|
|
3566
|
+
type: BooleanConstructor;
|
|
3567
|
+
default: boolean;
|
|
3568
|
+
};
|
|
3547
3569
|
}>> & {
|
|
3548
3570
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
3549
3571
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -3987,6 +4009,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3987
4009
|
linebarAutoHidden: {
|
|
3988
4010
|
type: BooleanConstructor;
|
|
3989
4011
|
};
|
|
4012
|
+
bordered: {
|
|
4013
|
+
type: BooleanConstructor;
|
|
4014
|
+
default: boolean;
|
|
4015
|
+
};
|
|
3990
4016
|
}>> & {
|
|
3991
4017
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
3992
4018
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -4002,6 +4028,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4002
4028
|
consumer: boolean;
|
|
4003
4029
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
4004
4030
|
linebarAutoHidden: boolean;
|
|
4031
|
+
bordered: boolean;
|
|
4005
4032
|
}>;
|
|
4006
4033
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
4007
4034
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,provide as t,ref as n,computed as o,openBlock as i,createElementBlock as a,normalizeClass as r,normalizeStyle as s,unref as p,createElementVNode as
|
|
1
|
+
import{defineComponent as e,provide as t,ref as n,computed as o,openBlock as i,createElementBlock as a,normalizeClass as r,normalizeStyle as s,unref as p,createElementVNode as f,createCommentVNode as c,renderSlot as l,createVNode as d,withCtx as u,mergeProps as m,Fragment as h,renderList as v,createBlock as g,resolveDynamicComponent as y,h as _,nextTick as b}from"vue";import{isString as I}from"lodash-es";import $ from"./components/infoDescription/index.vue.js";import x from"./components/patientInfo/index.vue.js";import{InjectionInfoHeaderEmit as S,InjectionInfoHeaderFormRef as j}from"./constants/index.js";import z from"../../../_virtual/plugin-vue_export-helper.js";const w={class:"c-info-header__operation"},k={key:0,class:"c-info-header__divider"},C={class:"c-info-header__setting"},H=["onClick"];var P=z(e({__name:"InfoHeader",props:{compact:{type:Boolean,required:!0},patientInfo:{type:Object,default:()=>({})},patientEditable:{type:Boolean},separator:{type:String,default:":"},infoList:{type:Array,default:()=>[]},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},minColumnWidth:{type:[String,Number],default:180},rowHeight:{type:[String,Number],default:38},settingIcons:{type:Array,default:()=>["patientInfo","fieldSet","compact"]},formProps:{type:Object}},emits:["openPatientInfo","fieldSet","update:compact","formChange"],setup(e,{expose:z,emit:P}){const A=e;t(S,P);const B=n();function D(){var e;return null==(e=B.value)?void 0:e.updateColumn()}const E=o((()=>({"--row-height":A.rowHeight,"--row-num":A.compact?1:2,"--padding-tb":A.compact?9:4}))),F={patientInfo:{event:function(){P("openPatientInfo")},render:()=>[_("i",{class:"info-header--iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaobianji"})]},fieldSet:{event:function(){P("fieldSet")},render:()=>[_("i",{class:"info-header--iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaoshezhi"})]},compact:{event:async function(){P("update:compact",!A.compact),await b(),await D()},render:()=>[_("i",{class:"info-header--iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia"})]}},N=o((()=>A.settingIcons.map((e=>(I(e)?F[e]:e)||{})))),O=n();return t(j,O),z({update:D,$formRender:O}),(t,n)=>(i(),a("div",{class:r(["c-info-header",{"is-compact":e.compact}]),style:s(p(E))},[f("section",w,[c(" 操作区插槽 "),l(t.$slots,"operation")]),t.$slots.operation?(i(),a("div",k)):c("v-if",!0),c(" 患者信息区插槽,需要自己实现整个患者信息区时使用 "),l(t.$slots,"patientModule",{},(()=>[d(p(x),{"patient-info":e.patientInfo,"patient-editable":e.patientEditable},{avatarInfo:u((()=>[c(" 头像区补充内容插槽 (会插入头像下方) "),l(t.$slots,"avatarInfo")])),avatar:u((()=>[c(" 头像插槽 "),l(t.$slots,"avatar")])),tags:u((()=>[c(" 标签插槽 "),l(t.$slots,"tags")])),_:3},8,["patient-info","patient-editable"])])),d(p($),m({ref_key:"infoDescriptionRef",ref:B,"root-slot":t.$slots},t.$props),{info:u((()=>[c(" 信息描述区插槽 "),l(t.$slots,"info")])),_:3},16,["root-slot"]),f("section",C,[c(" 设置区插槽 "),l(t.$slots,"setting",{},(()=>[(i(!0),a(h,null,v(p(N),(e=>(i(),a("div",{key:e,class:"c-info-header__settingIcon",onClick:e.event},[(i(),g(y(e.render)))],8,H)))),128))]))])],6))}}),[["__file","InfoHeader.vue"]]);export{P as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as t,ref as n,computed as e,openBlock as i,createElementBlock as o,normalizeStyle as r,unref as l,createElementVNode as u,createVNode as a,normalizeClass as c}from"vue";import s from"./InfoEllipsis.vue.js";import d from"../../../../../_virtual/plugin-vue_export-helper.js";const f={class:"c-info-header__hidden--content"};var p=d(t({__name:"HiddenContent",props:{content:{type:String,default:""},tip:String,width:{type:Number},contentStyle:{type:Object,default:()=>({})}},setup(t){const d=t,p=n(!0);function h(){p.value=!p.value}const v=e((()=>{const t=d.width+"px";return{maxWidth:t,width:t}})),_=e((()=>{if(!d.width)return{};const t=d.width-40+"px";return Object.assign({},d.contentStyle,{maxWidth:t})})),g=e((()=>{let{content:t}=d;if(!p.value)return t;if(null==t)return"-";t+="";const n=t.length;if(!n||1===n)return t;const e=Math.floor(n/2),i=Math.floor((n-e)/2);return`${t.substring(0,i)}${"*".repeat(e)}${null==t?void 0:t.substring(i+e)}`}));return(n,e)=>(i(),o("div",{class:"c-info-header__hidden",style:r(l(v))},[u("div",f,[a(s,{"content-style":l(_),content:l(g),tip:t.tip},null,8,["content-style","content","tip"])]),u("i",{onClick:h,class:c(["c-info-header__hidden--icon","iconfont","info-header--icon-"+(p.value?"guanbi-yanjing":"faxian-yanjing")])},null,2)],4))}}),[["__file","HiddenContent.vue"]]);export{p as default};
|
|
1
|
+
import{defineComponent as t,ref as n,computed as e,openBlock as i,createElementBlock as o,normalizeStyle as r,unref as l,createElementVNode as u,createVNode as a,normalizeClass as c}from"vue";import s from"./InfoEllipsis.vue.js";import d from"../../../../../_virtual/plugin-vue_export-helper.js";const f={class:"c-info-header__hidden--content"};var p=d(t({__name:"HiddenContent",props:{content:{type:String,default:""},tip:String,width:{type:Number},contentStyle:{type:Object,default:()=>({})}},setup(t){const d=t,p=n(!0);function h(){p.value=!p.value}const v=e((()=>{const t=d.width+"px";return{maxWidth:t,width:t}})),_=e((()=>{if(!d.width)return{};const t=d.width-40+"px";return Object.assign({},d.contentStyle,{maxWidth:t})})),g=e((()=>{let{content:t}=d;if(!p.value)return t;if(null==t)return"-";t+="";const n=t.length;if(!n||1===n)return t;const e=Math.floor(n/2),i=Math.floor((n-e)/2);return`${t.substring(0,i)}${"*".repeat(e)}${null==t?void 0:t.substring(i+e)}`}));return(n,e)=>(i(),o("div",{class:"c-info-header__hidden",style:r(l(v))},[u("div",f,[a(s,{"content-style":l(_),content:l(g),tip:t.tip},null,8,["content-style","content","tip"])]),u("i",{onClick:h,class:c(["c-info-header__hidden--icon","info-header--iconfont","info-header--icon-"+(p.value?"guanbi-yanjing":"faxian-yanjing")])},null,2)],4))}}),[["__file","HiddenContent.vue"]]);export{p as default};
|
|
@@ -2169,6 +2169,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2169
2169
|
linebarAutoHidden: {
|
|
2170
2170
|
type: BooleanConstructor;
|
|
2171
2171
|
};
|
|
2172
|
+
bordered: {
|
|
2173
|
+
type: BooleanConstructor;
|
|
2174
|
+
default: boolean;
|
|
2175
|
+
};
|
|
2172
2176
|
}, {
|
|
2173
2177
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2174
2178
|
fieldList: {
|
|
@@ -2297,6 +2301,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2297
2301
|
linebarAutoHidden: {
|
|
2298
2302
|
type: BooleanConstructor;
|
|
2299
2303
|
};
|
|
2304
|
+
bordered: {
|
|
2305
|
+
type: BooleanConstructor;
|
|
2306
|
+
default: boolean;
|
|
2307
|
+
};
|
|
2300
2308
|
}>> & {
|
|
2301
2309
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2302
2310
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -2740,6 +2748,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2740
2748
|
linebarAutoHidden: {
|
|
2741
2749
|
type: BooleanConstructor;
|
|
2742
2750
|
};
|
|
2751
|
+
bordered: {
|
|
2752
|
+
type: BooleanConstructor;
|
|
2753
|
+
default: boolean;
|
|
2754
|
+
};
|
|
2743
2755
|
}>> & {
|
|
2744
2756
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2745
2757
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -2755,6 +2767,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2755
2767
|
consumer: boolean;
|
|
2756
2768
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../../../es/components/form-render").FieldItem) => boolean | void);
|
|
2757
2769
|
linebarAutoHidden: boolean;
|
|
2770
|
+
bordered: boolean;
|
|
2758
2771
|
}>;
|
|
2759
2772
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
2760
2773
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -36,6 +36,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
color: string;
|
|
37
37
|
textColor: string;
|
|
38
38
|
};
|
|
39
|
+
createSlotRenderer: (value: unknown) => any;
|
|
39
40
|
show: import("vue").Ref<boolean>;
|
|
40
41
|
fieldList: import("vue").ComputedRef<FieldItem[]>;
|
|
41
42
|
formRenderRef: import("vue").Ref<FormRenderExpose | undefined>;
|
|
@@ -180,6 +181,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
180
181
|
linebarAutoHidden: {
|
|
181
182
|
type: BooleanConstructor;
|
|
182
183
|
};
|
|
184
|
+
bordered: {
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
183
188
|
}, {
|
|
184
189
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
185
190
|
fieldList: {
|
|
@@ -308,6 +313,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
308
313
|
linebarAutoHidden: {
|
|
309
314
|
type: BooleanConstructor;
|
|
310
315
|
};
|
|
316
|
+
bordered: {
|
|
317
|
+
type: BooleanConstructor;
|
|
318
|
+
default: boolean;
|
|
319
|
+
};
|
|
311
320
|
}>> & {
|
|
312
321
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
313
322
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -751,6 +760,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
751
760
|
linebarAutoHidden: {
|
|
752
761
|
type: BooleanConstructor;
|
|
753
762
|
};
|
|
763
|
+
bordered: {
|
|
764
|
+
type: BooleanConstructor;
|
|
765
|
+
default: boolean;
|
|
766
|
+
};
|
|
754
767
|
}>> & {
|
|
755
768
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
756
769
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -766,6 +779,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
766
779
|
consumer: boolean;
|
|
767
780
|
enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
|
|
768
781
|
linebarAutoHidden: boolean;
|
|
782
|
+
bordered: boolean;
|
|
769
783
|
}>;
|
|
770
784
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
771
785
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as t,ref as a,watch as n,nextTick as i,openBlock as l,createElementBlock as o,renderSlot as r,createVNode as s,unref as p,withCtx as f,mergeProps as
|
|
1
|
+
import{defineComponent as e,computed as t,ref as a,watch as n,nextTick as i,openBlock as l,createElementBlock as o,renderSlot as r,createVNode as s,unref as p,withCtx as f,mergeProps as u,createElementVNode as d,normalizeClass as c,createBlock as v,resolveDynamicComponent as _,createCommentVNode as m,createTextVNode as g,Fragment as x,renderList as y,toDisplayString as I,h}from"vue";import{isArray as w,isString as b,isNumber as k,isFunction as P,isObject as E,pick as U}from"lodash-es";import{NPopover as C,NImage as L,NDivider as H,NSpace as j,NButton as z,NTag as T,NEllipsis as F}from"naive-ui";import N from"../../../../form-render/index.js";import R from"../../../../../_virtual/plugin-vue_export-helper.js";const $={class:"c-info-header__patient"},B={class:"c-info-header__patientHeader"},S={key:0,class:"c-info-header__patientHeader--name"},V={key:1,class:"c-info-header__patientHeader--sex"},D={key:2,class:"c-info-header__patientHeader--age"};var M=R(e({__name:"index",props:{patientInfo:{default:()=>({})},patientEditable:{type:Boolean}},setup(e){const R=e,M=t((()=>R.patientInfo&&w(R.patientInfo.tagList)?R.patientInfo.tagList.filter((e=>e.render||b(e.content)&&e.content)):[])),O={warning:"#fcc200",info:"rgba(45, 122, 255, 0.1)"},W={warning:"#fff",info:"#2563F4"};function q({type:e="warning"}){return{color:O[e],textColor:W[e]}}function A(e){return()=>b(e)||k(e)?e:P(e)?e():E(e)?h(e):null}const G=a(!1),J=t((()=>R.patientEditable?[{val_key:"name",is_null:"0",is_empty:"0",alias:"姓名",html_type:"INPUT",...R.patientInfo.nameProps},{val_key:"sex",alias:"性别",html_type:"SELECT",is_null:"0",option:[{text:"未知",value:"未知"},{text:"男",value:"男"},{text:"女",value:"女"}],...R.patientInfo.sexProps},{val_key:"age",alias:"年龄",html_type:"INPUT_NUMBER",is_null:"0",is_empty:"0",decoratorProps:{style:{flex:2}},...R.patientInfo.ageProps,suffixConfig:{alias:"年龄单位",is_null:"0",val_key:"ageUnit",html_type:"SELECT",decoratorProps:{style:{flex:1}},option:[{value:"天",text:"天"},{value:"月",text:"月"},{value:"岁",text:"岁"},{value:"小时",text:"小时"},{value:"分",text:"分"},{value:"周",text:"周"}],...R.patientInfo.ageUnitProps}}]:[])),K=a();async function Q(){K.value&&(await K.value.validate(),Object.assign(R.patientInfo,U(K.value.getFormValues(),["name","sex","age","ageUnit"])),G.value=!1)}return n(G,(async e=>{await i(),e&&K.value&&K.value.setFormValues(R.patientInfo||{})})),(t,a)=>(l(),o("section",$,[r(t.$slots,"avatar",{},(()=>[s(p(C),null,{trigger:f((()=>[s(p(L),u({style:{"border-radius":"50%"},width:40,height:40,"preview-disabled":"",src:e.patientInfo.avatar},e.patientInfo.avatarProps),null,16,["src"])])),default:f((()=>[s(p(L),u({width:200,"preview-disabled":"",src:e.patientInfo.avatarPreview||e.patientInfo.avatar},e.patientInfo.avatarPreviewProps),null,16,["src"])])),_:1})])),d("section",null,[d("header",B,[s(p(C),{disabled:!e.patientEditable,trigger:"manual",placement:"bottom",show:G.value},{trigger:f((()=>{var t;return[d("section",{class:c(["c-info-header__patientHeaderWrapper",{"in-edit":G.value}]),onDblclick:a[0]||(a[0]=t=>e.patientEditable&&(G.value=!0))},[e.patientInfo.name?(l(),o("div",S,[(l(),v(_(A(e.patientInfo.name))))])):m("v-if",!0),e.patientInfo.sex?(l(),o("div",V,[g(" / "),(l(),v(_(A(e.patientInfo.sex))))])):m("v-if",!0),null!=e.patientInfo.age?(l(),o("div",D,[g(" / "),(l(),v(_(A(e.patientInfo.age)))),(l(),v(_(A(null!=(t=e.patientInfo.ageUnit)?t:"岁"))))])):m("v-if",!0)],34)]})),default:f((()=>[s(p(N),{column:"6",size:"small","label-placement":"left",style:{width:"200px",margin:"4px 0 -8px 0"},"field-list":p(J),ref_key:"formRenderRef",ref:K},null,8,["field-list"]),s(p(H),{style:{margin:"8px -14px",width:"calc(100% + 28px)"}}),s(p(j),{justify:"end"},{default:f((()=>[s(p(z),{size:"small",onClick:a[1]||(a[1]=e=>G.value=!1)},{default:f((()=>[g("取消")])),_:1}),s(p(z),{size:"small",type:"info",onClick:Q},{default:f((()=>[g("确认")])),_:1})])),_:1})])),_:1},8,["disabled","show"]),r(t.$slots,"tags",{tagList:p(M)},(()=>[(l(!0),o(x,null,y(e.patientInfo.tagList||[],(e=>(l(),v(p(T),u({key:e.content,size:"medium",bordered:!1,color:q(e)},e),{default:f((()=>[e.render?(l(),v(_(e.render),{key:0})):(l(),v(p(F),{key:1,style:{"max-width":"96px"}},{default:f((()=>[g(I(e.content),1)])),_:2},1024))])),_:2},1040,["color"])))),128))]))]),r(t.$slots,"avatarInfo")])]))}}),[["__file","index.vue"]]);export{M as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.c-info-header{align-items:center;background:#fff;box-shadow:0 2px 4px 0 hsla(0,0%,69%,.46);display:flex;gap:18px;height:calc((var(--row-height)*var(--row-num) + var(--padding-tb)*2)*1px);justify-content:space-between;padding:calc(var(--padding-tb)*1px) 16px;transition:height .2s linear}@font-face{font-family:info-header-iconfont;src:url(info-header-font.ttf) format("truetype")}.c-info-header .iconfont{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:info-header-iconfont!important;font-size:16px;font-style:normal}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia:before{content:"\c1003"}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantoushang:before{content:"\c1004"}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaoshezhi:before{content:"\c1005"}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaobianji:before{content:"\c1006"}.c-info-header .info-header--icon-guanbi-yanjing:before{content:"\c1001"}.c-info-header .info-header--icon-faxian-yanjing:before{content:"\c1002"}.c-info-header__divider{align-self:stretch;background:#d5d5d566;width:1px}.c-info-header__patient{align-items:center;display:flex;flex-wrap:nowrap;gap:12px;margin-right:34px}.c-info-header__patientHeader,.c-info-header__patientHeaderWrapper{align-items:center;display:flex;gap:6px}.c-info-header__patientHeaderWrapper{border-bottom:1px solid transparent}.c-info-header__patientHeaderWrapper.in-edit{border-bottom:1px solid rgba(0,0,0,.6)}.c-info-header__patientHeader--name{font-size:20px;font-weight:700;margin-right:6px}.c-info-header__patientHeader .n-tag{border-radius:2px;height:20px}.c-info-header__patientHeader .n-tag .n-tag__content{font-size:12px}.c-info-header__info{display:flex;flex:1;flex-wrap:wrap;font-size:14px;justify-content:flex-start;width:100%}.c-info-header__infoWrapper{box-sizing:border-box;height:calc((var(--row-height)*var(--row-num))*1px);max-height:calc((var(--row-height)*var(--row-num))*1px);transition:height .2s linear}.c-info-header__info td{text-align:left}.c-info-header__info .n-descriptions-table-content{height:calc(var(--row-height)*1px);max-width:calc(var(--column-width)*1px);overflow-y:hidden;padding:0!important;vertical-align:middle!important}.c-info-header__info .n-descriptions-table-content__label{color:rgba(0,0,0,.6);display:inline-block}.c-info-header__setting{align-self:flex-start;display:flex;gap:8px}.c-info-header__settingIcon{align-items:center;cursor:pointer;display:inline-flex}.c-info-header__setting .iconfont{color:#000;display:inline-block;font-size:20px;transition:all .2s ease-in-out}.c-info-header.is-compact [compact-hidden]{
|
|
1
|
+
.c-info-header{align-items:center;background:#fff;box-shadow:0 2px 4px 0 hsla(0,0%,69%,.46);display:flex;gap:18px;height:calc((var(--row-height)*var(--row-num) + var(--padding-tb)*2)*1px);justify-content:space-between;padding:calc(var(--padding-tb)*1px) 16px;transition:height .2s linear,padding .2s linear}@font-face{font-family:info-header-iconfont;src:url(info-header-font.ttf) format("truetype")}.c-info-header .info-header--iconfont{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:info-header-iconfont!important;font-size:16px;font-style:normal}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia:before{content:"\c1003"}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantoushang:before{content:"\c1004"}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaoshezhi:before{content:"\c1005"}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaobianji:before{content:"\c1006"}.c-info-header .info-header--icon-guanbi-yanjing:before{content:"\c1001"}.c-info-header .info-header--icon-faxian-yanjing:before{content:"\c1002"}.c-info-header__divider{align-self:stretch;background:#d5d5d566;width:1px}.c-info-header__patient{align-items:center;display:flex;flex-wrap:nowrap;gap:12px;margin-right:34px}.c-info-header__patientHeader,.c-info-header__patientHeaderWrapper{align-items:center;display:flex;gap:6px}.c-info-header__patientHeaderWrapper{border-bottom:1px solid transparent}.c-info-header__patientHeaderWrapper.in-edit{border-bottom:1px solid rgba(0,0,0,.6)}.c-info-header__patientHeader--name{font-size:20px;font-weight:700;margin-right:6px}.c-info-header__patientHeader .n-tag{border-radius:2px;height:20px}.c-info-header__patientHeader .n-tag .n-tag__content{font-size:12px}.c-info-header__info{display:flex;flex:1;flex-wrap:wrap;font-size:14px;justify-content:flex-start;width:100%}.c-info-header__infoWrapper{box-sizing:border-box;height:calc((var(--row-height)*var(--row-num))*1px);max-height:calc((var(--row-height)*var(--row-num))*1px);transition:height .2s linear,max-height .2s linear}.c-info-header__info td{text-align:left}.c-info-header__info .n-descriptions-table-content{height:calc(var(--row-height)*1px);max-width:calc(var(--column-width)*1px);overflow-y:hidden;padding:0!important;vertical-align:middle!important}.c-info-header__info .n-descriptions-table-content__label{color:rgba(0,0,0,.6);display:inline-block}.c-info-header__setting{align-self:flex-start;display:flex;gap:8px}.c-info-header__settingIcon{align-items:center;cursor:pointer;display:inline-flex}.c-info-header__setting .info-header--iconfont{color:#000;display:inline-block;font-size:20px;transition:all .2s linear}.c-info-header [compact-hidden]{max-height:160px;transition:max-height .2s ease-in-out,opacity .2s linear}.c-info-header.is-compact [compact-hidden]{max-height:0!important;opacity:0!important}.c-info-header.is-compact .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia{transform:rotate(0deg)}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia{transform:rotate(180deg)}.c-info-header__hidden{align-items:center;display:inline-flex;font-size:14px;gap:8px;vertical-align:middle}.c-info-header__hidden--icon{color:inherit!important;cursor:pointer;font-size:14px;text-decoration:none!important}.c-info-header__formRender .n-form-item-blank>.n-input .n-input-wrapper{border-bottom:1px solid var(--n-text-color)}.c-info-header__formRender .n-base-selection,.c-info-header__formRender .n-base-selection-label,.c-info-header__formRender .n-date-picker,.c-info-header__formRender .n-input,.c-info-header__formRender .n-input-wrapper{max-height:18px;min-height:18px;vertical-align:top}.c-info-header__formRender .n-base-selection input,.c-info-header__formRender .n-base-selection-label input,.c-info-header__formRender .n-date-picker input,.c-info-header__formRender .n-input input,.c-info-header__formRender .n-input-wrapper input{max-height:18px;min-height:18px}.c-info-header__formRender .n-select{line-height:1}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../../../es/shared/types';
|
|
2
|
+
export * from './src/types';
|
|
2
3
|
declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
4
|
guageData: {
|
|
4
5
|
type: ObjectConstructor;
|
|
@@ -275,7 +276,11 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
275
276
|
skipCover: import("vue").ComputedRef<any>;
|
|
276
277
|
scaleEdit: import("vue").ComputedRef<boolean>;
|
|
277
278
|
initForm: (data: any) => void;
|
|
278
|
-
submitMethod: () =>
|
|
279
|
+
submitMethod: () => {
|
|
280
|
+
params: any;
|
|
281
|
+
hasCallbackItem: any;
|
|
282
|
+
isCallback: boolean;
|
|
283
|
+
};
|
|
279
284
|
nextLogicEvent: (choiceValue: any, formItem: any, formArray?: any[], isInit?: boolean | undefined) => void;
|
|
280
285
|
handleDynamicDataRelation: (list: any[], formItem: any, formArray: any[]) => void;
|
|
281
286
|
handleQuery: () => void;
|
|
@@ -291,9 +296,9 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
291
296
|
labelStr: string;
|
|
292
297
|
labels: any[];
|
|
293
298
|
};
|
|
294
|
-
|
|
299
|
+
onSubmitData: () => void;
|
|
295
300
|
confirmSubmit: (message: any) => void;
|
|
296
|
-
onSubmitForm: () =>
|
|
301
|
+
onSubmitForm: () => Promise<unknown>;
|
|
297
302
|
cancel: () => void;
|
|
298
303
|
getScaleData: () => any;
|
|
299
304
|
isCollection: (e: string) => boolean;
|
|
@@ -345,48 +350,6 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
345
350
|
noDataImg: string;
|
|
346
351
|
showImg: boolean;
|
|
347
352
|
}>;
|
|
348
|
-
SvgIcon: import("vue").DefineComponent<{
|
|
349
|
-
iconClass: {
|
|
350
|
-
type: StringConstructor;
|
|
351
|
-
required: true;
|
|
352
|
-
default: string;
|
|
353
|
-
};
|
|
354
|
-
title: {
|
|
355
|
-
type: StringConstructor;
|
|
356
|
-
required: false;
|
|
357
|
-
default: string;
|
|
358
|
-
};
|
|
359
|
-
className: {
|
|
360
|
-
type: StringConstructor;
|
|
361
|
-
required: false;
|
|
362
|
-
};
|
|
363
|
-
}, {
|
|
364
|
-
props: {
|
|
365
|
-
iconClass: string;
|
|
366
|
-
title: string;
|
|
367
|
-
className?: string | undefined;
|
|
368
|
-
};
|
|
369
|
-
iconName: import("vue").ComputedRef<string>;
|
|
370
|
-
svgClass: import("vue").ComputedRef<string>;
|
|
371
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
372
|
-
iconClass: {
|
|
373
|
-
type: StringConstructor;
|
|
374
|
-
required: true;
|
|
375
|
-
default: string;
|
|
376
|
-
};
|
|
377
|
-
title: {
|
|
378
|
-
type: StringConstructor;
|
|
379
|
-
required: false;
|
|
380
|
-
default: string;
|
|
381
|
-
};
|
|
382
|
-
className: {
|
|
383
|
-
type: StringConstructor;
|
|
384
|
-
required: false;
|
|
385
|
-
};
|
|
386
|
-
}>>, {
|
|
387
|
-
title: string;
|
|
388
|
-
iconClass: string;
|
|
389
|
-
}>;
|
|
390
353
|
EvaluateCountdown: import("vue").DefineComponent<{
|
|
391
354
|
formArray: {
|
|
392
355
|
type: ArrayConstructor;
|
|
@@ -464,48 +427,6 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
464
427
|
setAnswered: number;
|
|
465
428
|
totalLen: number;
|
|
466
429
|
};
|
|
467
|
-
SvgIcon: import("vue").DefineComponent<{
|
|
468
|
-
iconClass: {
|
|
469
|
-
type: StringConstructor;
|
|
470
|
-
required: true;
|
|
471
|
-
default: string;
|
|
472
|
-
};
|
|
473
|
-
title: {
|
|
474
|
-
type: StringConstructor;
|
|
475
|
-
required: false;
|
|
476
|
-
default: string;
|
|
477
|
-
};
|
|
478
|
-
className: {
|
|
479
|
-
type: StringConstructor;
|
|
480
|
-
required: false;
|
|
481
|
-
};
|
|
482
|
-
}, {
|
|
483
|
-
props: {
|
|
484
|
-
iconClass: string;
|
|
485
|
-
title: string;
|
|
486
|
-
className?: string | undefined;
|
|
487
|
-
};
|
|
488
|
-
iconName: import("vue").ComputedRef<string>;
|
|
489
|
-
svgClass: import("vue").ComputedRef<string>;
|
|
490
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
491
|
-
iconClass: {
|
|
492
|
-
type: StringConstructor;
|
|
493
|
-
required: true;
|
|
494
|
-
default: string;
|
|
495
|
-
};
|
|
496
|
-
title: {
|
|
497
|
-
type: StringConstructor;
|
|
498
|
-
required: false;
|
|
499
|
-
default: string;
|
|
500
|
-
};
|
|
501
|
-
className: {
|
|
502
|
-
type: StringConstructor;
|
|
503
|
-
required: false;
|
|
504
|
-
};
|
|
505
|
-
}>>, {
|
|
506
|
-
title: string;
|
|
507
|
-
iconClass: string;
|
|
508
|
-
}>;
|
|
509
430
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "closeEvaluateCountdown"[], "closeEvaluateCountdown", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
510
431
|
formArray: {
|
|
511
432
|
type: ArrayConstructor;
|
|
@@ -663,53 +584,11 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
663
584
|
}>> & {}>>;
|
|
664
585
|
questionScore: import("vue").ComputedRef<any>;
|
|
665
586
|
answerSuccess: import("vue").ComputedRef<boolean>;
|
|
666
|
-
answerIcon: import("vue").ComputedRef<"
|
|
587
|
+
answerIcon: import("vue").ComputedRef<"icon-scale-view-dui" | "icon-scale-view-cuo">;
|
|
667
588
|
answerResText: import("vue").ComputedRef<"部分正确" | "回答正确" | "回答错误">;
|
|
668
589
|
scoreText: import("vue").ComputedRef<"部分" | "本题">;
|
|
669
590
|
correctAnswer: import("vue").ComputedRef<any>;
|
|
670
591
|
answerKeyText: import("vue").ComputedRef<any>;
|
|
671
|
-
SvgIcon: import("vue").DefineComponent<{
|
|
672
|
-
iconClass: {
|
|
673
|
-
type: StringConstructor;
|
|
674
|
-
required: true;
|
|
675
|
-
default: string;
|
|
676
|
-
};
|
|
677
|
-
title: {
|
|
678
|
-
type: StringConstructor;
|
|
679
|
-
required: false;
|
|
680
|
-
default: string;
|
|
681
|
-
};
|
|
682
|
-
className: {
|
|
683
|
-
type: StringConstructor;
|
|
684
|
-
required: false;
|
|
685
|
-
};
|
|
686
|
-
}, {
|
|
687
|
-
props: {
|
|
688
|
-
iconClass: string;
|
|
689
|
-
title: string;
|
|
690
|
-
className?: string | undefined;
|
|
691
|
-
};
|
|
692
|
-
iconName: import("vue").ComputedRef<string>;
|
|
693
|
-
svgClass: import("vue").ComputedRef<string>;
|
|
694
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
695
|
-
iconClass: {
|
|
696
|
-
type: StringConstructor;
|
|
697
|
-
required: true;
|
|
698
|
-
default: string;
|
|
699
|
-
};
|
|
700
|
-
title: {
|
|
701
|
-
type: StringConstructor;
|
|
702
|
-
required: false;
|
|
703
|
-
default: string;
|
|
704
|
-
};
|
|
705
|
-
className: {
|
|
706
|
-
type: StringConstructor;
|
|
707
|
-
required: false;
|
|
708
|
-
};
|
|
709
|
-
}>>, {
|
|
710
|
-
title: string;
|
|
711
|
-
iconClass: string;
|
|
712
|
-
}>;
|
|
713
592
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
714
593
|
item: {
|
|
715
594
|
type: ObjectConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{COMPONENT_NAMESPACE as o}from"../../shared/global/variable.js";import{safeComponentRegister as
|
|
1
|
+
import{COMPONENT_NAMESPACE as o}from"../../shared/global/variable.js";import{safeComponentRegister as r}from"../../shared/utils/index.js";import{loadViewer as t}from"../../shared/utils/loadViewer.js";import i from"./src/ScaleView.vue.js";import e from"./src/components/formitem/r-radio.js";import m from"./src/components/formitem/r-checkbox.js";import s from"./src/components/formitem/r-select.js";import n from"./src/components/formitem/r-datetime.js";const c=i,l=e,a=m,f=s,p=n;c.install=function(i){t(i),r(i,c,o+"ScaleView")},l.install=function(i){t(i),r(i,l,o+"Radio")},a.install=function(i){t(i),r(i,a,o+"Checkbox")},f.install=function(t){r(t,f,o+"Select")},p.install=function(t){r(t,p,o+"Datetime")};export{a as CCheckbox,p as CDatetime,l as CRadio,c as CScaleView,f as CSelect};
|
|
@@ -274,7 +274,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
274
274
|
skipCover: import("vue").ComputedRef<any>;
|
|
275
275
|
scaleEdit: import("vue").ComputedRef<boolean>;
|
|
276
276
|
initForm: (data: any) => void;
|
|
277
|
-
submitMethod: () =>
|
|
277
|
+
submitMethod: () => {
|
|
278
|
+
params: any;
|
|
279
|
+
hasCallbackItem: any;
|
|
280
|
+
isCallback: boolean;
|
|
281
|
+
};
|
|
278
282
|
nextLogicEvent: (choiceValue: any, formItem: any, formArray?: any[], isInit?: boolean | undefined) => void;
|
|
279
283
|
handleDynamicDataRelation: (list: any[], formItem: any, formArray: any[]) => void;
|
|
280
284
|
handleQuery: () => void;
|
|
@@ -290,9 +294,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
290
294
|
labelStr: string;
|
|
291
295
|
labels: any[];
|
|
292
296
|
};
|
|
293
|
-
|
|
297
|
+
onSubmitData: () => void;
|
|
294
298
|
confirmSubmit: (message: any) => void;
|
|
295
|
-
onSubmitForm: () =>
|
|
299
|
+
onSubmitForm: () => Promise<unknown>;
|
|
296
300
|
cancel: () => void;
|
|
297
301
|
getScaleData: () => any;
|
|
298
302
|
isCollection: (e: string) => boolean;
|
|
@@ -344,48 +348,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
344
348
|
noDataImg: string;
|
|
345
349
|
showImg: boolean;
|
|
346
350
|
}>;
|
|
347
|
-
SvgIcon: import("vue").DefineComponent<{
|
|
348
|
-
iconClass: {
|
|
349
|
-
type: StringConstructor;
|
|
350
|
-
required: true;
|
|
351
|
-
default: string;
|
|
352
|
-
};
|
|
353
|
-
title: {
|
|
354
|
-
type: StringConstructor;
|
|
355
|
-
required: false;
|
|
356
|
-
default: string;
|
|
357
|
-
};
|
|
358
|
-
className: {
|
|
359
|
-
type: StringConstructor;
|
|
360
|
-
required: false;
|
|
361
|
-
};
|
|
362
|
-
}, {
|
|
363
|
-
props: {
|
|
364
|
-
iconClass: string;
|
|
365
|
-
title: string;
|
|
366
|
-
className?: string | undefined;
|
|
367
|
-
};
|
|
368
|
-
iconName: import("vue").ComputedRef<string>;
|
|
369
|
-
svgClass: import("vue").ComputedRef<string>;
|
|
370
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
371
|
-
iconClass: {
|
|
372
|
-
type: StringConstructor;
|
|
373
|
-
required: true;
|
|
374
|
-
default: string;
|
|
375
|
-
};
|
|
376
|
-
title: {
|
|
377
|
-
type: StringConstructor;
|
|
378
|
-
required: false;
|
|
379
|
-
default: string;
|
|
380
|
-
};
|
|
381
|
-
className: {
|
|
382
|
-
type: StringConstructor;
|
|
383
|
-
required: false;
|
|
384
|
-
};
|
|
385
|
-
}>>, {
|
|
386
|
-
title: string;
|
|
387
|
-
iconClass: string;
|
|
388
|
-
}>;
|
|
389
351
|
EvaluateCountdown: import("vue").DefineComponent<{
|
|
390
352
|
formArray: {
|
|
391
353
|
type: ArrayConstructor;
|
|
@@ -463,48 +425,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
463
425
|
setAnswered: number;
|
|
464
426
|
totalLen: number;
|
|
465
427
|
};
|
|
466
|
-
SvgIcon: import("vue").DefineComponent<{
|
|
467
|
-
iconClass: {
|
|
468
|
-
type: StringConstructor;
|
|
469
|
-
required: true;
|
|
470
|
-
default: string;
|
|
471
|
-
};
|
|
472
|
-
title: {
|
|
473
|
-
type: StringConstructor;
|
|
474
|
-
required: false;
|
|
475
|
-
default: string;
|
|
476
|
-
};
|
|
477
|
-
className: {
|
|
478
|
-
type: StringConstructor;
|
|
479
|
-
required: false;
|
|
480
|
-
};
|
|
481
|
-
}, {
|
|
482
|
-
props: {
|
|
483
|
-
iconClass: string;
|
|
484
|
-
title: string;
|
|
485
|
-
className?: string | undefined;
|
|
486
|
-
};
|
|
487
|
-
iconName: import("vue").ComputedRef<string>;
|
|
488
|
-
svgClass: import("vue").ComputedRef<string>;
|
|
489
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
490
|
-
iconClass: {
|
|
491
|
-
type: StringConstructor;
|
|
492
|
-
required: true;
|
|
493
|
-
default: string;
|
|
494
|
-
};
|
|
495
|
-
title: {
|
|
496
|
-
type: StringConstructor;
|
|
497
|
-
required: false;
|
|
498
|
-
default: string;
|
|
499
|
-
};
|
|
500
|
-
className: {
|
|
501
|
-
type: StringConstructor;
|
|
502
|
-
required: false;
|
|
503
|
-
};
|
|
504
|
-
}>>, {
|
|
505
|
-
title: string;
|
|
506
|
-
iconClass: string;
|
|
507
|
-
}>;
|
|
508
428
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "closeEvaluateCountdown"[], "closeEvaluateCountdown", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
509
429
|
formArray: {
|
|
510
430
|
type: ArrayConstructor;
|
|
@@ -662,53 +582,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
662
582
|
}>> & {}>>;
|
|
663
583
|
questionScore: import("vue").ComputedRef<any>;
|
|
664
584
|
answerSuccess: import("vue").ComputedRef<boolean>;
|
|
665
|
-
answerIcon: import("vue").ComputedRef<"
|
|
585
|
+
answerIcon: import("vue").ComputedRef<"icon-scale-view-dui" | "icon-scale-view-cuo">;
|
|
666
586
|
answerResText: import("vue").ComputedRef<"部分正确" | "回答正确" | "回答错误">;
|
|
667
587
|
scoreText: import("vue").ComputedRef<"部分" | "本题">;
|
|
668
588
|
correctAnswer: import("vue").ComputedRef<any>;
|
|
669
589
|
answerKeyText: import("vue").ComputedRef<any>;
|
|
670
|
-
SvgIcon: import("vue").DefineComponent<{
|
|
671
|
-
iconClass: {
|
|
672
|
-
type: StringConstructor;
|
|
673
|
-
required: true;
|
|
674
|
-
default: string;
|
|
675
|
-
};
|
|
676
|
-
title: {
|
|
677
|
-
type: StringConstructor;
|
|
678
|
-
required: false;
|
|
679
|
-
default: string;
|
|
680
|
-
};
|
|
681
|
-
className: {
|
|
682
|
-
type: StringConstructor;
|
|
683
|
-
required: false;
|
|
684
|
-
};
|
|
685
|
-
}, {
|
|
686
|
-
props: {
|
|
687
|
-
iconClass: string;
|
|
688
|
-
title: string;
|
|
689
|
-
className?: string | undefined;
|
|
690
|
-
};
|
|
691
|
-
iconName: import("vue").ComputedRef<string>;
|
|
692
|
-
svgClass: import("vue").ComputedRef<string>;
|
|
693
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
694
|
-
iconClass: {
|
|
695
|
-
type: StringConstructor;
|
|
696
|
-
required: true;
|
|
697
|
-
default: string;
|
|
698
|
-
};
|
|
699
|
-
title: {
|
|
700
|
-
type: StringConstructor;
|
|
701
|
-
required: false;
|
|
702
|
-
default: string;
|
|
703
|
-
};
|
|
704
|
-
className: {
|
|
705
|
-
type: StringConstructor;
|
|
706
|
-
required: false;
|
|
707
|
-
};
|
|
708
|
-
}>>, {
|
|
709
|
-
title: string;
|
|
710
|
-
iconClass: string;
|
|
711
|
-
}>;
|
|
712
590
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
713
591
|
item: {
|
|
714
592
|
type: ObjectConstructor;
|