cnhis-design-vue 3.1.42-beta.0 → 3.1.42-release.0
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/annotation-edit/src/AnnotationEdit.js +1 -1
- package/es/components/annotation-edit/style/index.css +1 -1
- package/es/components/big-table/index.d.ts +3 -4
- package/es/components/big-table/src/BigTable.vue.d.ts +3 -4
- package/es/components/big-table/src/BigTable.vue2.js +1 -1
- package/es/components/big-table/style/index.css +1 -1
- package/es/components/button-print/index.d.ts +6 -7
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +6 -7
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -4
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/fabric-chart/index.d.ts +2 -2
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
- package/es/components/field-set/index.d.ts +2 -2
- package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
- package/es/components/form-config/index.d.ts +37 -46
- package/es/components/form-config/src/FormConfig.vue.d.ts +37 -46
- package/es/components/form-config/src/FormConfig.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +16 -16
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -19
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -9
- package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +6 -33
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +16 -16
- package/es/components/form-render/src/FormRender.vue.d.ts +16 -16
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +16 -16
- package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
- package/es/components/form-render/src/components/renderer/complex.d.ts +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.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +2 -4
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +0 -3
- package/es/components/iho-table/src/IhoTable.vue.d.ts +0 -3
- package/es/components/iho-table/src/IhoTable.vue.js +1 -1
- package/es/components/iho-table/src/constants/index.d.ts +4 -4
- package/es/components/iho-table/src/constants/index.js +1 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +7 -20
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -18
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.d.ts +2 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +0 -1
- package/es/components/iho-table/src/utils/index.d.ts +0 -1
- 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 +2 -8
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +156 -3799
- package/es/components/info-header/src/InfoHeader.vue.d.ts +156 -3800
- package/es/components/info-header/src/InfoHeader.vue.js +1 -1
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +2 -2
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +139 -2669
- package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +0 -745
- package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
- package/es/components/info-header/src/types/index.d.ts +3 -17
- package/es/components/info-header/style/index.css +1 -1
- package/es/components/keyboard/index.d.ts +2 -4
- package/es/components/keyboard/src/Keyboard.vue.d.ts +2 -4
- package/es/components/keyboard/src/Keyboard.vue.js +1 -1
- package/es/components/keyboard/style/index.css +1 -1
- package/es/components/recommend-search/index.d.ts +2 -2
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/sign-com.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +116 -69
- package/es/components/search-cascader/index.d.ts +2 -2
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +2 -2
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
- package/es/components/select-label/index.d.ts +169 -70
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +53 -1
- package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +116 -70
- package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
- package/es/components/select-label/src/components/label-classify.vue.js +1 -1
- package/es/components/select-label/style/index.css +1 -1
- package/es/components/select-person/index.d.ts +1 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +17 -17
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +17 -17
- package/es/components/steps-wheel/index.d.ts +0 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +0 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
- package/es/components/steps-wheel/style/index.css +1 -1
- package/es/components/table-filter/index.d.ts +2385 -0
- package/es/components/table-filter/index.js +1 -1
- package/es/components/{base-search/src/index.vue.d.ts → table-filter/src/base-search-com/BaseSearch.vue.d.ts} +91 -26
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -0
- package/es/components/{classification/src/index.vue.d.ts → table-filter/src/classification/Classification-com.vue.d.ts} +291 -57
- package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +0 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +42 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/enums.d.ts +8 -0
- package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +1 -2
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/{classification → table-filter}/src/components/search-filter/index.vue.d.ts +93 -10
- package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -0
- package/es/components/{classification → table-filter}/src/components/set-classification/index.vue.d.ts +130 -5
- package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -0
- package/es/components/{classification → table-filter}/src/components/table-modal/index.vue.d.ts +42 -0
- package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -0
- package/es/components/table-filter/src/const/index.d.ts +5 -0
- package/es/components/table-filter/src/const/index.js +1 -0
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +1 -4
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useMixins.d.ts +54 -1
- package/es/components/table-filter/src/hooks/useMixins.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/hooks/useTableSearchCon.d.ts +8 -0
- package/es/components/table-filter/src/hooks/useTableSearchCon.js +1 -0
- package/es/components/table-filter/src/hooks/useWordBookutils.d.ts +12 -0
- package/es/components/table-filter/src/hooks/useWordBookutils.js +1 -0
- package/es/components/{quick-search/src/index.vue.d.ts → table-filter/src/quick-search/QuickSearch.vue.d.ts} +120 -31
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -0
- package/es/components/table-filter/src/tool/generateDefOptions.js +1 -1
- package/es/components/table-filter/src/tool/time-domain.d.ts +39 -0
- package/es/components/table-filter/src/tool/time-domain.js +1 -0
- package/es/components/table-filter/src/tool/transformData.d.ts +37 -1
- package/es/components/table-filter/src/tool/transformData.js +1 -1
- package/es/components/table-filter/src/tool/utils.d.ts +4 -0
- package/es/components/table-filter/src/tool/utils.js +1 -0
- package/es/components/table-filter/src/types/enums.d.ts +0 -1
- package/es/components/table-filter/src/types/enums.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +169 -13
- package/es/components/table-filter/style/index.css +1 -0
- package/es/shared/utils/index.d.ts +0 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +2 -2
- package/es/components/base-search/index.d.ts +0 -293
- package/es/components/base-search/index.js +0 -1
- package/es/components/base-search/src/index.vue.js +0 -1
- package/es/components/base-search/style/iconfont.ttf +0 -0
- package/es/components/base-search/style/index.css +0 -1
- package/es/components/button-print/src/api.d.ts +0 -3
- package/es/components/button-print/src/api.js +0 -1
- package/es/components/classification/index.d.ts +0 -995
- package/es/components/classification/index.js +0 -1
- package/es/components/classification/src/components/search-filter/index.vue.js +0 -1
- package/es/components/classification/src/components/set-classification/index.vue.js +0 -1
- package/es/components/classification/src/components/table-modal/index.vue.js +0 -1
- package/es/components/classification/src/const/index.d.ts +0 -2
- package/es/components/classification/src/const/index.js +0 -1
- package/es/components/classification/src/index.vue.js +0 -1
- package/es/components/classification/style/iconfont.ttf +0 -0
- package/es/components/classification/style/index.css +0 -1
- package/es/components/config-provider/index.d.ts +0 -14
- package/es/components/config-provider/index.js +0 -1
- package/es/components/config-provider/src/ConfigProvider.d.ts +0 -14
- package/es/components/config-provider/src/ConfigProvider.js +0 -1
- package/es/components/config-provider/src/interface.d.ts +0 -19
- package/es/components/config-provider/src/interface.js +0 -1
- package/es/components/config-provider/src/utils/index.d.ts +0 -2
- package/es/components/config-provider/src/utils/index.js +0 -1
- package/es/components/date-picker/index.d.ts +0 -20
- package/es/components/date-picker/index.js +0 -1
- package/es/components/date-picker/src/DatePicker.vue.d.ts +0 -20
- package/es/components/date-picker/src/DatePicker.vue.js +0 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +0 -1842
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +0 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +0 -1972
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +0 -1
- package/es/components/info-header/src/constants/index.d.ts +0 -4
- package/es/components/info-header/src/constants/index.js +0 -1
- package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +0 -4
- package/es/components/info-header/src/hooks/useThemeOverrides.js +0 -1
- package/es/components/keyboard/src/constants/index.d.ts +0 -2
- package/es/components/keyboard/src/constants/index.js +0 -1
- package/es/components/quick-search/index.d.ts +0 -713
- package/es/components/quick-search/index.js +0 -1
- package/es/components/quick-search/src/index.vue.js +0 -1
- package/es/components/quick-search/style/index.css +0 -1
- package/es/components/select-label/style/iconfont.ttf +0 -0
- package/es/components/steps-wheel/src/constants/index.d.ts +0 -2
- package/es/components/steps-wheel/src/constants/index.js +0 -1
- package/es/components/time-picker/index.d.ts +0 -18
- package/es/components/time-picker/index.js +0 -1
- package/es/components/time-picker/src/TimePicker.vue.d.ts +0 -18
- package/es/components/time-picker/src/TimePicker.vue.js +0 -1
- package/es/shared/mixins/index.d.ts +0 -1
- package/es/shared/mixins/index.js +0 -1
- package/es/shared/mixins/useTheme.d.ts +0 -3
- package/es/shared/mixins/useTheme.js +0 -1
- /package/es/components/{classification → table-filter}/src/directive/flexibleResize.d.ts +0 -0
- /package/es/components/{classification → table-filter}/src/directive/flexibleResize.js +0 -0
- /package/es/components/{base-search → table-filter}/src/directive/resize.d.ts +0 -0
- /package/es/components/{base-search → table-filter}/src/directive/resize.js +0 -0
- /package/es/components/table-filter/src/tool/{baseOptions.d.ts → options.d.ts} +0 -0
- /package/es/components/table-filter/src/tool/{baseOptions.js → options.js} +0 -0
- /package/es/components/{base-search → table-filter}/src/tool/resizeSensor.d.ts +0 -0
- /package/es/components/{base-search → table-filter}/src/tool/resizeSensor.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as l,openBlock as a,createElementBlock as t,unref as u,createBlock as
|
|
1
|
+
import{defineComponent as e,computed as l,openBlock as a,createElementBlock as t,unref as u,createBlock as r,isRef as o,createCommentVNode as p,Fragment as n,createVNode as v}from"vue";import{NInputNumber as i,NInput as m,NSelect as s,NDatePicker as f}from"naive-ui";import{WidgetTypeEnums as d,WidgetValEnums as y,WidgetOptionEnums as g}from"../../types/enums.js";import{generateDefOptionsInApi as T}from"../../tool/generateDefOptions.js";import c from"../../../../../_virtual/plugin-vue_export-helper.js";const C={class:"value-cfg_wrapper"};var U=c(e({__name:"ValueCfg",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},presetVal:{type:String,default:null}},emits:["update:modelValue","update:presetVal"],setup(e,{emit:c}){const U=e,E=l({set(e){c("update:modelValue",e)},get:()=>U.modelValue}),V=l({set(e){c("update:presetVal",e)},get:()=>U.presetVal}),_=l((()=>{var e;return null==(e=U.paramCfg)?void 0:e.type})),M=l((()=>{var e;return null==(e=U.paramCfg)?void 0:e.optionSetting})),x=l((()=>{var e;return null==(e=U.paramCfg)?void 0:e.mappingConfig})),S=l((()=>{const e=T(_.value,x.value).slice(0);return _.value!==d.DATE&&_.value!==d.DATE_TIME||e.unshift({label:"自定义输入",value:y.CUSTOM}),e}));return(e,l)=>(a(),t("div",C,[u(_)===u(d).INPUT_NUMBER?(a(),r(u(i),{key:0,class:"form-item",value:u(E),"onUpdate:value":l[0]||(l[0]=e=>o(E)?E.value=e:null)},null,8,["value"])):p("v-if",!0),u(_)===u(d).INPUT?(a(),r(u(m),{key:1,value:u(E),"onUpdate:value":l[1]||(l[1]=e=>o(E)?E.value=e:null),maxlength:"255",clearable:""},null,8,["value"])):p("v-if",!0),u(_)===u(d).SELECT?(a(),r(u(s),{key:2,style:{width:"120px"},class:"form-item",value:u(E),"onUpdate:value":l[2]||(l[2]=e=>o(E)?E.value=e:null),filterable:"",options:u(S),multiple:u(M)===u(g).MULTIPLE,maxTagCount:1},null,8,["value","options","multiple"])):p("v-if",!0),u(_)===u(d).DATE||u(_)===u(d).DATE_TIME?(a(),t(n,{key:3},[v(u(s),{style:{width:"120px"},class:"form-item",value:u(V),"onUpdate:value":l[3]||(l[3]=e=>o(V)?V.value=e:null),options:u(S)},null,8,["value","options"]),u(V)===u(y).CUSTOM?(a(),r(u(f),{key:0,class:"form-item",type:u(_).toLowerCase(),format:"yyyy-MM-dd HH:mm:ss","formatted-value":u(E),"onUpdate:formatted-value":l[4]||(l[4]=e=>o(E)?E.value=e:null)},null,8,["type","formatted-value"])):p("v-if",!0)],64)):p("v-if",!0)]))}}),[["__file","ValueCfg.vue"]]);export{U as default};
|
|
@@ -118,6 +118,48 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
118
|
AddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
119
119
|
AddCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
120
120
|
CloseOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
121
|
+
SvgIcon: import("vue").DefineComponent<{
|
|
122
|
+
iconClass: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
required: true;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
title: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
required: false;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
className: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
required: false;
|
|
135
|
+
};
|
|
136
|
+
}, {
|
|
137
|
+
props: {
|
|
138
|
+
iconClass: string;
|
|
139
|
+
title: string;
|
|
140
|
+
className?: string | undefined;
|
|
141
|
+
};
|
|
142
|
+
iconName: import("vue").ComputedRef<string>;
|
|
143
|
+
svgClass: import("vue").ComputedRef<string>;
|
|
144
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
145
|
+
iconClass: {
|
|
146
|
+
type: StringConstructor;
|
|
147
|
+
required: true;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
title: {
|
|
151
|
+
type: StringConstructor;
|
|
152
|
+
required: false;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
className: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
required: false;
|
|
158
|
+
};
|
|
159
|
+
}>>, {
|
|
160
|
+
title: string;
|
|
161
|
+
iconClass: string;
|
|
162
|
+
}>;
|
|
121
163
|
ValueCfg: import("vue").DefineComponent<{
|
|
122
164
|
paramCfg: {
|
|
123
165
|
type: ObjectConstructor;
|
|
@@ -169,7 +211,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
169
211
|
SELECT: string;
|
|
170
212
|
DATE: string;
|
|
171
213
|
DATE_TIME: string;
|
|
172
|
-
CHECKBOX_GROUP: string;
|
|
173
214
|
};
|
|
174
215
|
WidgetValEnums: {
|
|
175
216
|
CUSTOM: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as a,reactive as
|
|
1
|
+
import{defineComponent as e,useAttrs as a,reactive as i,ref as t,toRef as l,openBlock as o,createElementBlock as n,createVNode as s,unref as d,withCtx as r,createElementVNode as c,createCommentVNode as p,Fragment as u,renderList as m,normalizeClass as y,toDisplayString as v,createBlock as f,withDirectives as g,createTextVNode as C,vShow as h}from"vue";import{useMessage as k,NSpin as b,NInput as A,NIcon as L,NButton as _,NSelect as w,NTooltip as x}from"naive-ui";import{CloseOutline as U,AddOutline as N,AddCircleSharp as I}from"@vicons/ionicons5";import V from"../../../../../shared/components/SvgIcon/SvgIcon.vue.js";import D from"./ValueCfg.vue.js";import{DataTypeEnums as S,ConditionEnums as j}from"../../types/enums.js";import{useDisplayCategory as B}from"./hooks/useDisplayCategory.js";import{useFilterConditions as F}from"./hooks/useFilterConditions.js";import{conditionOptions as O}from"./helpers/options.js";import z from"../../../../../_virtual/plugin-vue_export-helper.js";const P={class:"searchConditionByApi_wrapper"},E={class:"class-filter-content"},R={key:0,class:"item-name"},q=c("span",{class:"label"},"筛选分类名称:",-1),J={key:1,class:"quickSearch-content"},K=c("span",{class:"label"},"父类名称:",-1),M=["onDblclick","onClick"],Q={key:0,class:"s-content"},G={key:2,class:"item-name"},H=c("span",{class:"label"}," 过滤条件: ",-1),T=c("span",null,"添加",-1),W={class:"select-item-list"},X={class:"index-span"};var Y=z(e({__name:"index",props:{actionList_prop:{type:Object,default:()=>({})},conditionList:{type:Array,default:()=>[]},tableId:{type:String,default:""},searchFieldList:{type:Array,default:()=>[]},showItemName:{type:Boolean,default:!0},hideAddBtn:{type:Boolean,default:!1}},emits:["saveAdd","cancelSaveAdd"],setup(e,{expose:z,emit:Y}){const Z=e,$=k(),ee=a(),ae=i({className:"",displayCategory:"",filterConditions:[]}),ie=t(!1),{State:te,isEnableAddDisplayCategory:le,editDisplayCategory:oe,handleDisplayCategorySelect:ne,handleDisplayCategoryRemove:se,handleDisplayCategoryAdd:de,handlerBlur:re,initDisplayCategories:ce}=B(l(ae,"displayCategory"),{conditionList:Z.conditionList},$),{State:pe,paramOptions:ue,addFilterCondition:me,delFilterCondition:ye,updateKey:ve,updateCondition:fe,getParamCfg:ge,initFilterConditions:Ce,getRawFilterConditions:he}=F(l(ae,"filterConditions"),Z.searchFieldList,S.API);function ke(){ae.className="",ae.displayCategory="",ae.filterConditions=[]}async function be(){var e;try{if(ke(),ie.value=!0,ce(ee.displayCategoryList,Z.actionList_prop.displayCategory||"custom"),Z.actionList_prop){ae.className=Z.actionList_prop.name,await Ce(Z.tableId,null!=(e=Z.actionList_prop.conObj)?e:[]);ae.filterConditions.length<1&&ue.value&&ue.value.length>0&&me()}}finally{ie.value=!1}}return be(),z({handleInitConditions:be,saveAdd:function(){new Promise((e=>{ae.className||!Z.showItemName?0!==ae.filterConditions.length?ae.filterConditions.some((({key:e,condition:a,value:i,presetVal:t})=>!e||!a||a===j.EQUAL&&!i&&!t))?$.warning("请补充完整条件内容"):e(!0):$.warning("请至少添加一个条件"):$.warning("请输入分类名称")})).then((()=>{let e;var a;"edit"===Z.actionList_prop.from&&(a=Z.actionList_prop.displayCategory,e=null==Z?void 0:Z.conditionList.find((e=>e.displayCategory===a)));const i={displayCategory:ae.displayCategory,name:ae.className||"",conObj:he()},t={id:e?e.sid:"",tableId:Z.tableId,setting:JSON.stringify(i)};Y("saveAdd",t,!1)}))},cancelSaveAdd:function(){ke(),Y("cancelSaveAdd")},addAction:me,checkActionList:function(){return ae.filterConditions.every((e=>!e.field_key))}}),(a,i)=>(o(),n("div",P,[s(d(b),{show:ie.value},{default:r((()=>[c("div",E,[e.showItemName?(o(),n("div",R,[q,s(d(A),{value:ae.className,"onUpdate:value":i[0]||(i[0]=e=>ae.className=e),placeholder:"请输入分类名称",style:{width:"250px"},maxlength:"10"},null,8,["value"])])):p("v-if",!0),e.showItemName?(o(),n("div",J,[K,(o(!0),n(u,null,m(d(te).displayCategories,((e,a)=>(o(),n("div",{class:y(["edit-tag",{"edit-tag-select":e.value===ae.displayCategory&&e.disabled}]),key:a,onDblclick:a=>d(oe)(a,e),onClick:a=>function(e){ne(e)}(e)},[e.disabled?(o(),n("div",Q,[c("span",null,v(e.value),1)])):(o(),f(d(A),{key:1,style:{width:"100px"},disabled:e.disabled,onBlur:()=>e.disabled=!0,value:e.value,"onUpdate:value":a=>e.value=a,maxlength:10},null,8,["disabled","onBlur","value","onUpdate:value"])),s(d(L),{component:d(U),class:"anticon-close",size:"20",onClick:i=>d(se)(a,e)},null,8,["component","onClick"])],42,M)))),128)),d(le)?(o(),n(u,{key:0},[g(s(d(_),{class:"ant-btn",icon:"plus",dashed:"",onClick:d(de)},{default:r((()=>[s(d(L),{component:d(N),size:"20"},null,8,["component"]),C(" "+v("添加父类"))])),_:1},8,["onClick"]),[[h,!d(te).showAdd]]),g(s(d(A),{class:"edit-tag",value:d(te).addDisplayCategory,"onUpdate:value":i[1]||(i[1]=e=>d(te).addDisplayCategory=e),valueModifiers:{trim:!0},style:{width:"100px"},onBlur:d(re),maxLength:10},null,8,["value","onBlur"]),[[h,d(te).showAdd]])],64)):p("v-if",!0)])):p("v-if",!0),e.hideAddBtn?p("v-if",!0):(o(),n("div",G,[H,c("span",{class:"addAction",onClick:i[2]||(i[2]=(...e)=>d(me)&&d(me)(...e)),style:{cursor:"pointer"}},[s(d(L),{component:d(I),class:"blue",size:"18"},null,8,["component"]),T])])),c("ul",W,[(o(!0),n(u,null,m(ae.filterConditions,((e,a)=>(o(),n("li",{key:a},[c("span",X,v(a+1)+" ",1),p(" 选择 field_key "),s(d(w),{class:"form-item",placeholder:"请选择",value:e.key,filterable:"",options:d(ue),"onUpdate:value":e=>d(ve)(a,e)},null,8,["value","options","onUpdate:value"]),p(" 选择 关系 "),e.key?(o(),f(d(w),{key:0,class:"form-item",placeholder:"请选择",value:e.condition,filterable:"",options:d(O),"onUpdate:value":e=>d(fe)(a,e)},null,8,["value","options","onUpdate:value"])):p("v-if",!0),p(" 自定义 "),e.key&&e.condition&&e.condition!==d(j).NULL?(o(),f(D,{key:1,modelValue:e.value,"onUpdate:modelValue":a=>e.value=a,presetVal:e.presetVal,"onUpdate:presetVal":a=>e.presetVal=a,"param-cfg":d(ge)(e.key)},null,8,["modelValue","onUpdate:modelValue","presetVal","onUpdate:presetVal","param-cfg"])):p("v-if",!0),s(d(x),{title:"删除",trigger:"hover"},{trigger:r((()=>[s(d(V),{onClick:e=>d(ye)(a),"class-name":"svg-icon-btn is-danger form-action","icon-class":"xitongtubiaoliebiaocaozuoanniushanchushixin"},null,8,["onClick"])])),default:r((()=>[C(" 删除 ")])),_:2},1024)])))),128))])])])),_:1},8,["show"])]))}}),[["__file","index.vue"]]);export{Y as default};
|
package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
98
98
|
}>> & {
|
|
99
99
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
100
100
|
}, {
|
|
101
|
-
multiple: boolean;
|
|
102
101
|
value: string | number | unknown[];
|
|
102
|
+
multiple: boolean;
|
|
103
103
|
}>;
|
|
104
104
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const T={CUSTOM:"CUSTOM",NOW:"NOW",TODAY:"TODAY",TODAY_START:"TODAY_START",TODAY_END:"TODAY_END",TOMORROW:"TOMORROW",TOMORROW_START:"TOMORROW_START",TOMORROW_END:"TOMORROW_END",YESTERDAY:"YESTERDAY",YESTERDAY_START:"YESTERDAY_START",YESTERDAY_END:"YESTERDAY_END",WEEK_START:"THIS_WEEK_START",WEEK_END:"THIS_WEEK_END",MONTH_START:"THIS_MONTH_START",MONTH_END:"THIS_MONTH_END"};export{T as
|
|
1
|
+
const T={INPUT_NUMBER:"NUMBER",INPUT:"TEXT",SELECT:"SELECT",DATE:"DATE",DATE_TIME:"DATETIME",CHECKBOX_GROUP:"CHECKBOX_GROUP"},E={CUSTOM:"CUSTOM",NOW:"NOW",TODAY:"TODAY",TODAY_START:"TODAY_START",TODAY_END:"TODAY_END",TOMORROW:"TOMORROW",TOMORROW_START:"TOMORROW_START",TOMORROW_END:"TOMORROW_END",YESTERDAY:"YESTERDAY",YESTERDAY_START:"YESTERDAY_START",YESTERDAY_END:"YESTERDAY_END",WEEK_START:"THIS_WEEK_START",WEEK_END:"THIS_WEEK_END",MONTH_START:"THIS_MONTH_START",MONTH_END:"THIS_MONTH_END"};export{E as DatePresetValEnums,T as WidgetTypeEnums};
|
|
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
[key: string]: any;
|
|
19
19
|
}> | null;
|
|
20
20
|
handleUpdate(val: any, widgetType: any, defValueUnit: any): void;
|
|
21
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
21
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
22
|
cfg: {
|
|
23
23
|
type: ObjectConstructor;
|
|
24
24
|
required: true;
|
|
@@ -28,6 +28,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
};
|
|
29
29
|
}>> & {
|
|
30
30
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
onOutFilterChange?: ((...args: any[]) => any) | undefined;
|
|
32
31
|
}, {}>;
|
|
33
32
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,h as t}from"vue";import{WidgetTypeEnums as i}from"
|
|
1
|
+
import{defineComponent as e,h as t}from"vue";import{WidgetTypeEnums as i}from"./enums.js";import{WidgetCfgMaps as r,formatItemData as a}from"./widgetCfgMaps.js";import l from"moment";import s from"../../../../../_virtual/plugin-vue_export-helper.js";const n=[i.DATE,i.DATE_TIME,i.CHECKBOX_GROUP];var o=s(e({props:{cfg:{type:Object,required:!0},modelValue:{type:[Array,String,Number]}},emits:["update:modelValue"],computed:{valueCp(){const{widgetType:e}=this.cfg;return[i.DATE,i.DATE_TIME].includes(e)?this.cfg.value?l(this.cfg.value).valueOf():null:this.cfg.value}},data:()=>({initialProps:{}}),methods:{search(){this.$emit("outFilterChange")},getEleWidth(e){const{widgetType:t}=e;if(!n.includes(t))return`${e.advanceColWidth||200}px`},initComponentProps(e){const{widgetType:t,alias:i,title:a,placeholder:l,widgetCfg:s}=e,{props:n,handlerProps:o}=r.get(t);let p={...n};o&&(p=o(p,{...s,title:i||a})),l&&(p.placeholder=l),this.initialProps=p,p.value&&(this.valueCp=p.value)},generateWidget(e){const{widgetType:i}=e,{defValueUnit:a}=e.widgetCfg||{};if(!r.has(i))return null;const{value:l}=e,{component:s,style:n,eventsBySearch:o=[]}=r.get(i),p={...this.initialProps,value:l},u=o.reduce(((e,t)=>{const{name:i,handler:r}=t;let a=this.search;return r&&(a=e=>{r(e,this.search,p)}),{...e,[`on${i}`]:a}}),{});return t(s,{...n,...p,style:{width:this.getEleWidth(e)},value:this.valueCp,"onUpdate:value":e=>this.handleUpdate(e,i,a),...u})},handleUpdate(e,t,i){const r=a(e,t);this.$emit("update:modelValue",r)}},created(){this.initComponentProps(this.cfg)},render(){return this.generateWidget(this.cfg)}}),[["__file","index.vue"]]);export{o as default};
|
|
@@ -178,8 +178,8 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
|
178
178
|
}>> & {
|
|
179
179
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
180
180
|
}, {
|
|
181
|
-
multiple: boolean;
|
|
182
181
|
value: string | number | unknown[];
|
|
182
|
+
multiple: boolean;
|
|
183
183
|
}>;
|
|
184
184
|
props: {
|
|
185
185
|
clearable?: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{WidgetTypeEnums as e
|
|
1
|
+
import{WidgetTypeEnums as e,DatePresetValEnums as l}from"./enums.js";import{NInputNumber as t,NInput as a,NDatePicker as o}from"naive-ui";import r from"./components/CheckboxGroup.vue.js";import p from"./components/Select.vue.js";import n from"moment";import{presetValToTimestamp as s}from"./helpers/presetValToTimestamp.js";const m=e=>null==e?null:e,u=new Map([[e.INPUT_NUMBER,{component:t,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,l){"Enter"===e.key&&(console.log("点击keyup>>>>>",l),l())}}],handlerProps:(e,{title:l}={})=>({...e,placeholder:`输入${l}`}),setDefaultValue:m}],[e.INPUT,{component:a,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,l){"Enter"===e.key&&l()}}],handlerProps:(e,{title:l}={})=>({...e,placeholder:`搜索${l}`}),setDefaultValue:m}],[e.SELECT,{component:p,props:{clearable:!0,options:[],filterable:!0,multiple:!1},eventsBySearch:[{name:"change",handler(e,l,t){const{multiple:a}=t;a&&l()}}],handlerProps(e,{valueList:l,multiple:t,title:a}={}){const o={...e,placeholder:`请选择${a}`};return Array.isArray(l)&&(o.options=l.map((({value:e,label:l})=>({value:e,label:l})))),t&&(o.multiple=!0),o},setDefaultValue:m}],[e.DATE,{component:o,props:{type:"date",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps:(e,{title:l}={})=>({...e,placeholder:`请选择${l}`}),setDefaultValue:(e,t)=>t&&t!==l.CUSTOM?s(t,"YYYY-MM-DD HH:mm:ss"):e}],[e.DATE_TIME,{component:o,props:{type:"datetime",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps:(e,{title:l}={})=>({...e,placeholder:`请选择${l}`}),setDefaultValue:(e,t)=>t&&t!==l.CUSTOM?s(t,"YYYY-MM-DD HH:mm:ss"):e}],[e.CHECKBOX_GROUP,{component:r,props:{},style:{"line-height":"32px"},handlerProps(e,{valueList:l,multiple:t}={}){const a={...e,multiple:t};return Array.isArray(l)&&(a.options=l.map((({value:e,label:l})=>({value:e,label:l})))),a},setDefaultValue:m}]]),i=(l,t)=>!l||t!==e.DATE&&t!==e.DATE_TIME?l:n(l).format("YYYY-MM-DD HH:mm:ss");export{u as WidgetCfgMaps,i as formatItemData};
|
package/es/components/{classification → table-filter}/src/components/search-filter/index.vue.d.ts
RENAMED
|
@@ -68,7 +68,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
NButton: any;
|
|
69
69
|
SearchConditionByApi: import("vue").DefineComponent<{
|
|
70
70
|
actionList_prop: {
|
|
71
|
-
type: import("vue").PropType<import("
|
|
71
|
+
type: import("vue").PropType<import("../../types").IClassifyListType>;
|
|
72
72
|
default: () => {};
|
|
73
73
|
};
|
|
74
74
|
conditionList: {
|
|
@@ -95,7 +95,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
95
|
$message: import("naive-ui").MessageApi;
|
|
96
96
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
97
97
|
actionList_prop: {
|
|
98
|
-
type: import("vue").PropType<import("
|
|
98
|
+
type: import("vue").PropType<import("../../types").IClassifyListType>;
|
|
99
99
|
default: () => {};
|
|
100
100
|
};
|
|
101
101
|
conditionList: {
|
|
@@ -147,9 +147,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
147
147
|
showAdd: boolean;
|
|
148
148
|
};
|
|
149
149
|
isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
|
|
150
|
-
editDisplayCategory: (e: any, item: import("
|
|
151
|
-
handleDisplayCategorySelect: (item: import("
|
|
152
|
-
handleDisplayCategoryRemove: (index: number, item: import("
|
|
150
|
+
editDisplayCategory: (e: any, item: import("../../types").ICategoryItemType) => void;
|
|
151
|
+
handleDisplayCategorySelect: (item: import("../../types").ICategoryItemType) => void;
|
|
152
|
+
handleDisplayCategoryRemove: (index: number, item: import("../../types").ICategoryItemType) => void;
|
|
153
153
|
handleDisplayCategoryAdd: (e: any) => void;
|
|
154
154
|
handlerBlur: () => void;
|
|
155
155
|
initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
|
|
@@ -160,7 +160,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
160
160
|
updateKey: (index: number, val: any) => void;
|
|
161
161
|
updateCondition: (index: number, val: any) => void;
|
|
162
162
|
getParamCfg: (key: string) => any;
|
|
163
|
-
initFilterConditions: (tableId: string, rawConditions: import("
|
|
163
|
+
initFilterConditions: (tableId: string, rawConditions: import("../../types").ISearchConfigType) => Promise<void>;
|
|
164
164
|
getRawFilterConditions: () => {
|
|
165
165
|
field_key: any;
|
|
166
166
|
con: any;
|
|
@@ -168,7 +168,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
168
168
|
unit: any;
|
|
169
169
|
}[];
|
|
170
170
|
findConditionByDisplayCategory: (displayCategory: string) => unknown;
|
|
171
|
-
handleDisplayCategorySelectProxy: (item: import("
|
|
171
|
+
handleDisplayCategorySelectProxy: (item: import("../../types").ICategoryItemType) => void;
|
|
172
172
|
clearFormData: () => void;
|
|
173
173
|
handleInitConditions: () => Promise<void>;
|
|
174
174
|
validate: () => Promise<unknown>;
|
|
@@ -184,6 +184,48 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
184
184
|
AddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
185
185
|
AddCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
186
186
|
CloseOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
187
|
+
SvgIcon: import("vue").DefineComponent<{
|
|
188
|
+
iconClass: {
|
|
189
|
+
type: StringConstructor;
|
|
190
|
+
required: true;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
title: {
|
|
194
|
+
type: StringConstructor;
|
|
195
|
+
required: false;
|
|
196
|
+
default: string;
|
|
197
|
+
};
|
|
198
|
+
className: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
required: false;
|
|
201
|
+
};
|
|
202
|
+
}, {
|
|
203
|
+
props: {
|
|
204
|
+
iconClass: string;
|
|
205
|
+
title: string;
|
|
206
|
+
className?: string | undefined;
|
|
207
|
+
};
|
|
208
|
+
iconName: import("vue").ComputedRef<string>;
|
|
209
|
+
svgClass: import("vue").ComputedRef<string>;
|
|
210
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
211
|
+
iconClass: {
|
|
212
|
+
type: StringConstructor;
|
|
213
|
+
required: true;
|
|
214
|
+
default: string;
|
|
215
|
+
};
|
|
216
|
+
title: {
|
|
217
|
+
type: StringConstructor;
|
|
218
|
+
required: false;
|
|
219
|
+
default: string;
|
|
220
|
+
};
|
|
221
|
+
className: {
|
|
222
|
+
type: StringConstructor;
|
|
223
|
+
required: false;
|
|
224
|
+
};
|
|
225
|
+
}>>, {
|
|
226
|
+
title: string;
|
|
227
|
+
iconClass: string;
|
|
228
|
+
}>;
|
|
187
229
|
ValueCfg: import("vue").DefineComponent<{
|
|
188
230
|
paramCfg: {
|
|
189
231
|
type: ObjectConstructor;
|
|
@@ -235,7 +277,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
235
277
|
SELECT: string;
|
|
236
278
|
DATE: string;
|
|
237
279
|
DATE_TIME: string;
|
|
238
|
-
CHECKBOX_GROUP: string;
|
|
239
280
|
};
|
|
240
281
|
WidgetValEnums: {
|
|
241
282
|
CUSTOM: string;
|
|
@@ -306,7 +347,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
306
347
|
}[];
|
|
307
348
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancelSaveAdd" | "saveAdd")[], "cancelSaveAdd" | "saveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
308
349
|
actionList_prop: {
|
|
309
|
-
type: import("vue").PropType<import("
|
|
350
|
+
type: import("vue").PropType<import("../../types").IClassifyListType>;
|
|
310
351
|
default: () => {};
|
|
311
352
|
};
|
|
312
353
|
conditionList: {
|
|
@@ -336,10 +377,52 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
336
377
|
searchFieldList: unknown[];
|
|
337
378
|
tableId: string;
|
|
338
379
|
conditionList: unknown[];
|
|
339
|
-
actionList_prop: import("
|
|
380
|
+
actionList_prop: import("../../types").IClassifyListType;
|
|
340
381
|
showItemName: boolean;
|
|
341
382
|
hideAddBtn: boolean;
|
|
342
383
|
}>;
|
|
384
|
+
SvgIcon: import("vue").DefineComponent<{
|
|
385
|
+
iconClass: {
|
|
386
|
+
type: StringConstructor;
|
|
387
|
+
required: true;
|
|
388
|
+
default: string;
|
|
389
|
+
};
|
|
390
|
+
title: {
|
|
391
|
+
type: StringConstructor;
|
|
392
|
+
required: false;
|
|
393
|
+
default: string;
|
|
394
|
+
};
|
|
395
|
+
className: {
|
|
396
|
+
type: StringConstructor;
|
|
397
|
+
required: false;
|
|
398
|
+
};
|
|
399
|
+
}, {
|
|
400
|
+
props: {
|
|
401
|
+
iconClass: string;
|
|
402
|
+
title: string;
|
|
403
|
+
className?: string | undefined;
|
|
404
|
+
};
|
|
405
|
+
iconName: import("vue").ComputedRef<string>;
|
|
406
|
+
svgClass: import("vue").ComputedRef<string>;
|
|
407
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
408
|
+
iconClass: {
|
|
409
|
+
type: StringConstructor;
|
|
410
|
+
required: true;
|
|
411
|
+
default: string;
|
|
412
|
+
};
|
|
413
|
+
title: {
|
|
414
|
+
type: StringConstructor;
|
|
415
|
+
required: false;
|
|
416
|
+
default: string;
|
|
417
|
+
};
|
|
418
|
+
className: {
|
|
419
|
+
type: StringConstructor;
|
|
420
|
+
required: false;
|
|
421
|
+
};
|
|
422
|
+
}>>, {
|
|
423
|
+
title: string;
|
|
424
|
+
iconClass: string;
|
|
425
|
+
}>;
|
|
343
426
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "cancelSaveAdd"[], "cancelSaveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
344
427
|
visible: {
|
|
345
428
|
type: BooleanConstructor;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as a,onBeforeUnmount as i,watch as t,openBlock as l,createBlock as o,unref as n,normalizeClass as u,withCtx as d,createVNode as s,normalizeStyle as c,createElementVNode as r,createTextVNode as v,mergeProps as h}from"vue";import{NModal as p,NCard as f,NButton as m}from"naive-ui";import x from"../classify-filter/index.vue.js";import g from"../../../../../shared/components/SvgIcon/SvgIcon.vue.js";import b from"../../../../../_virtual/plugin-vue_export-helper.js";const y={class:"svg-wrap"},_={class:"flex_right"};var w=b(e({__name:"index",props:{visible:{type:Boolean,default:!1},modalTitle:{type:String,default:"设置分类"},conditionList:{type:Array,default:()=>[]},searchFieldList:{type:Array,default:()=>[]},filterApiConfig:{type:Object,default:()=>({})}},emits:["cancelSaveAdd"],setup(e,{expose:b,emit:w}){const k=e,A=a(k.visible),C=a(!1),S=a("860px");let L=a({maxHeight:"496px",height:"496px",overflowY:"auto"}),H=a(null),j=null;function F(){T(),j=setTimeout((()=>{H&&H.value.handleInitConditions()}),30)}function T(){j&&clearTimeout(j)}function z(){H&&H.value.saveAdd()}function I(){A.value=!1,w("cancelSaveAdd"),S.value="860px",L.value={height:"496px",maxHeight:"496px",overflowY:"auto"},C.value=!1,H&&H.value.cancelSaveAdd()}function $(){C.value=!C.value;let e=document.body.clientHeight;"860px"===S.value?(S.value="100%",L.value.maxHeight=`${e}px`,L.value.height=`${e}px`):(S.value="860px",L.value.maxHeight="496px",L.value.height="")}return i((()=>{T()})),t((()=>k.visible),(e=>{A.value=e,e&&F()})),b({cancelSaveAdd:I}),(e,a)=>(l(),o(n(p),{class:u(["classification-modal-block standard-modal standard-modal-white",{"modal-screen":C.value}]),show:A.value,"onUpdate:show":a[0]||(a[0]=e=>A.value=e),maskClosable:!1,width:S.value,bodyStyle:n(L),closable:!1,centered:"",onPositiveClick:z,onNegativeClick:I},{default:d((()=>[s(n(f),{style:c({width:S.value,...n(L)}),title:k.modalTitle,bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":d((()=>[r("div",y,[s(n(g),{onClick:$,"icon-class":C.value?"xitongtubiaodaohangtubiaozuixiaohua":"xitongtubiaodaohangtubiaozuidahua"},null,8,["icon-class"]),s(n(g),{"icon-class":"xitongtubiaodaohangtubiaoguanbi",onClick:I})])])),footer:d((()=>[r("div",_,[s(n(m),{onClick:I},{default:d((()=>[v("取消")])),_:1}),s(n(m),{type:"info",onClick:z},{default:d((()=>[v("保存")])),_:1})])])),default:d((()=>[s(x,h(e.$attrs,{ref_key:"conditionApiRef",ref:H,searchFieldList:k.searchFieldList,conditionList:k.conditionList}),null,16,["searchFieldList","conditionList"])])),_:1},8,["style","title"])])),_:1},8,["class","show","width","bodyStyle"]))}}),[["__file","index.vue"]]);export{w as default};
|
|
@@ -37,11 +37,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
default: boolean;
|
|
38
38
|
};
|
|
39
39
|
}>> & {
|
|
40
|
+
onSetClassifyModal?: ((...args: any[]) => any) | undefined;
|
|
40
41
|
onCondiTionListInit?: ((...args: any[]) => any) | undefined;
|
|
41
42
|
onSaveGetTableCondiTionList?: ((...args: any[]) => any) | undefined;
|
|
42
|
-
onSetClassifyModal?: ((...args: any[]) => any) | undefined;
|
|
43
43
|
}>>;
|
|
44
|
-
emit: (event: "
|
|
44
|
+
emit: (event: "setClassifyModal" | "CondiTionListInit" | "saveGetTableCondiTionList", ...args: any[]) => void;
|
|
45
45
|
$message: import("naive-ui").MessageApi;
|
|
46
46
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
47
47
|
conditionList: import("vue").Ref<unknown[]>;
|
|
@@ -194,6 +194,48 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
194
194
|
DocumentOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
195
195
|
Brush: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
196
196
|
ReorderTwo: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
197
|
+
SvgIcon: import("vue").DefineComponent<{
|
|
198
|
+
iconClass: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
required: true;
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
203
|
+
title: {
|
|
204
|
+
type: StringConstructor;
|
|
205
|
+
required: false;
|
|
206
|
+
default: string;
|
|
207
|
+
};
|
|
208
|
+
className: {
|
|
209
|
+
type: StringConstructor;
|
|
210
|
+
required: false;
|
|
211
|
+
};
|
|
212
|
+
}, {
|
|
213
|
+
props: {
|
|
214
|
+
iconClass: string;
|
|
215
|
+
title: string;
|
|
216
|
+
className?: string | undefined;
|
|
217
|
+
};
|
|
218
|
+
iconName: import("vue").ComputedRef<string>;
|
|
219
|
+
svgClass: import("vue").ComputedRef<string>;
|
|
220
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
221
|
+
iconClass: {
|
|
222
|
+
type: StringConstructor;
|
|
223
|
+
required: true;
|
|
224
|
+
default: string;
|
|
225
|
+
};
|
|
226
|
+
title: {
|
|
227
|
+
type: StringConstructor;
|
|
228
|
+
required: false;
|
|
229
|
+
default: string;
|
|
230
|
+
};
|
|
231
|
+
className: {
|
|
232
|
+
type: StringConstructor;
|
|
233
|
+
required: false;
|
|
234
|
+
};
|
|
235
|
+
}>>, {
|
|
236
|
+
title: string;
|
|
237
|
+
iconClass: string;
|
|
238
|
+
}>;
|
|
197
239
|
Draggable: import("vue").DefineComponent<{
|
|
198
240
|
list: {
|
|
199
241
|
type: ArrayConstructor;
|
|
@@ -501,6 +543,48 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
501
543
|
AddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
502
544
|
AddCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
503
545
|
CloseOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
546
|
+
SvgIcon: import("vue").DefineComponent<{
|
|
547
|
+
iconClass: {
|
|
548
|
+
type: StringConstructor;
|
|
549
|
+
required: true;
|
|
550
|
+
default: string;
|
|
551
|
+
};
|
|
552
|
+
title: {
|
|
553
|
+
type: StringConstructor;
|
|
554
|
+
required: false;
|
|
555
|
+
default: string;
|
|
556
|
+
};
|
|
557
|
+
className: {
|
|
558
|
+
type: StringConstructor;
|
|
559
|
+
required: false;
|
|
560
|
+
};
|
|
561
|
+
}, {
|
|
562
|
+
props: {
|
|
563
|
+
iconClass: string;
|
|
564
|
+
title: string;
|
|
565
|
+
className?: string | undefined;
|
|
566
|
+
};
|
|
567
|
+
iconName: import("vue").ComputedRef<string>;
|
|
568
|
+
svgClass: import("vue").ComputedRef<string>;
|
|
569
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
570
|
+
iconClass: {
|
|
571
|
+
type: StringConstructor;
|
|
572
|
+
required: true;
|
|
573
|
+
default: string;
|
|
574
|
+
};
|
|
575
|
+
title: {
|
|
576
|
+
type: StringConstructor;
|
|
577
|
+
required: false;
|
|
578
|
+
default: string;
|
|
579
|
+
};
|
|
580
|
+
className: {
|
|
581
|
+
type: StringConstructor;
|
|
582
|
+
required: false;
|
|
583
|
+
};
|
|
584
|
+
}>>, {
|
|
585
|
+
title: string;
|
|
586
|
+
iconClass: string;
|
|
587
|
+
}>;
|
|
504
588
|
ValueCfg: import("vue").DefineComponent<{
|
|
505
589
|
paramCfg: {
|
|
506
590
|
type: ObjectConstructor;
|
|
@@ -552,7 +636,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
552
636
|
SELECT: string;
|
|
553
637
|
DATE: string;
|
|
554
638
|
DATE_TIME: string;
|
|
555
|
-
CHECKBOX_GROUP: string;
|
|
556
639
|
};
|
|
557
640
|
WidgetValEnums: {
|
|
558
641
|
CUSTOM: string;
|
|
@@ -657,6 +740,48 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
657
740
|
showItemName: boolean;
|
|
658
741
|
hideAddBtn: boolean;
|
|
659
742
|
}>;
|
|
743
|
+
SvgIcon: import("vue").DefineComponent<{
|
|
744
|
+
iconClass: {
|
|
745
|
+
type: StringConstructor;
|
|
746
|
+
required: true;
|
|
747
|
+
default: string;
|
|
748
|
+
};
|
|
749
|
+
title: {
|
|
750
|
+
type: StringConstructor;
|
|
751
|
+
required: false;
|
|
752
|
+
default: string;
|
|
753
|
+
};
|
|
754
|
+
className: {
|
|
755
|
+
type: StringConstructor;
|
|
756
|
+
required: false;
|
|
757
|
+
};
|
|
758
|
+
}, {
|
|
759
|
+
props: {
|
|
760
|
+
iconClass: string;
|
|
761
|
+
title: string;
|
|
762
|
+
className?: string | undefined;
|
|
763
|
+
};
|
|
764
|
+
iconName: import("vue").ComputedRef<string>;
|
|
765
|
+
svgClass: import("vue").ComputedRef<string>;
|
|
766
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
767
|
+
iconClass: {
|
|
768
|
+
type: StringConstructor;
|
|
769
|
+
required: true;
|
|
770
|
+
default: string;
|
|
771
|
+
};
|
|
772
|
+
title: {
|
|
773
|
+
type: StringConstructor;
|
|
774
|
+
required: false;
|
|
775
|
+
default: string;
|
|
776
|
+
};
|
|
777
|
+
className: {
|
|
778
|
+
type: StringConstructor;
|
|
779
|
+
required: false;
|
|
780
|
+
};
|
|
781
|
+
}>>, {
|
|
782
|
+
title: string;
|
|
783
|
+
iconClass: string;
|
|
784
|
+
}>;
|
|
660
785
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "cancelSaveAdd"[], "cancelSaveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
661
786
|
visible: {
|
|
662
787
|
type: BooleanConstructor;
|
|
@@ -687,7 +812,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
687
812
|
filterApiConfig: Record<string, any>;
|
|
688
813
|
conditionList: unknown[];
|
|
689
814
|
}>;
|
|
690
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
815
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("setClassifyModal" | "CondiTionListInit" | "saveGetTableCondiTionList")[], "setClassifyModal" | "CondiTionListInit" | "saveGetTableCondiTionList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
691
816
|
searchFieldList: {
|
|
692
817
|
type: ArrayConstructor;
|
|
693
818
|
default: () => never[];
|
|
@@ -706,9 +831,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
706
831
|
default: boolean;
|
|
707
832
|
};
|
|
708
833
|
}>> & {
|
|
834
|
+
onSetClassifyModal?: ((...args: any[]) => any) | undefined;
|
|
709
835
|
onCondiTionListInit?: ((...args: any[]) => any) | undefined;
|
|
710
836
|
onSaveGetTableCondiTionList?: ((...args: any[]) => any) | undefined;
|
|
711
|
-
onSetClassifyModal?: ((...args: any[]) => any) | undefined;
|
|
712
837
|
}, {
|
|
713
838
|
searchFieldList: unknown[];
|
|
714
839
|
filterApiConfig: Record<string, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as i,useAttrs as t,computed as n,watch as o,openBlock as a,createElementBlock as l,createVNode as s,mergeProps as r,unref as c,withCtx as d,createTextVNode as f,renderSlot as u}from"vue";import{useMessage as p,NButton as v}from"naive-ui";import C from"../table-modal/index.vue.js";import g from"../search-filter/index.vue.js";import y from"../../hooks/useMixins.js";import h from"../../../../../_virtual/plugin-vue_export-helper.js";const m={class:"search"};var b=h(e({__name:"index",props:{searchFieldList:{type:Array,default:()=>[]},conditionList:{type:Array,default:()=>[]},settingId:String,filterApiConfig:{type:Object,default:()=>({})},classifyModal:{type:Boolean,default:!1}},emits:["CondiTionListInit","saveGetTableCondiTionList","setClassifyModal"],setup(e,{emit:h}){const b=e,A=p(),{handleGetConfigApi:L}=y();let I=i(b.conditionList),T=i(),S=i(!1),_=i({}),F=i([]),j=i(!1);const O=i(null),x=t();async function k(e){try{let i=Object.assign(e,{id:b.settingId,tableId:x.tableId});await L(i,"requestSaveTableCondiTionSetting",{},b.filterApiConfig)&&(h("CondiTionListInit"),E(!1))}catch(e){console.log(e)}}function w(){E(!1),I.value.forEach((e=>{e.checked=!1}))}function G(){S.value=!0}function M(e,i){S.value=!0,_.value=Object.assign(e,{from:"edit"})}function q(e,i){S.value=!0,_.value=Object.assign(e,{from:"copy"})}async function H(e){try{if(Object.assign(e,{tableId:x.tableId,conditionList:JSON.stringify(I.value)}),j.value=!0,!await L(e,"requestSaveTableCondiTion",{},b.filterApiConfig))return;O&&O.value.cancelSaveAdd(),h("saveGetTableCondiTionList"),S.value=!1}catch(e){console.log(e)}finally{j.value=!1}}function R(){S.value=!1,_.value={}}function $(e,i){I.value=e,T.value=i}async function D(e,i){if(e)try{let i={id:e.sid};if(!await L(i,"requestDeleteTableCondiTion",{},b.filterApiConfig))return;A.success("删除成功"),h("saveGetTableCondiTionList",{type:"delete",item:e})}catch(e){console.log(e)}else A.info("请选择行")}function E(e){h("setClassifyModal",e)}async function K(){try{let e={id:b.settingId,tableId:x.tableId,type:"SEARCH_CATEGORY"};await L(e,"requestResetDefaultSetting",{},b.filterApiConfig)&&(h("CondiTionListInit"),E(!1))}catch(e){console.log(e)}}let N=n((()=>b.classifyModal));return o((()=>x.searchKey),(()=>{x.selectKeys=[x.searchKey||"all"]})),o((()=>b.searchFieldList),(e=>{e&&e.length>0&&(F.value=e.filter((e=>"operatorColumn"!==e.columnName)))}),{immediate:!0,deep:!0}),o((()=>S),(e=>{e||(_.value={})})),(i,t)=>(a(),l("div",m,[s(C,r({dataSource:c(I),visibleIn:c(N)},i.$attrs,{onHandleOk:k,onClose:w,onChangeData:$,onResetPopconfirm:K,edit:M,copy:q,delItem:D,type:"search",filterApiConfig:e.filterApiConfig}),{add:d((()=>[s(c(v),{type:"info",onClick:G},{default:d((()=>[f("新增")])),_:1})])),_:1},16,["dataSource","visibleIn","filterApiConfig"]),u(i.$slots,"searchCondition",{attrs:{...i.$attrs,visible:c(S),loading:c(j),conditionList:c(I),actionList_prop:c(_),searchFieldList:e.searchFieldList,isInSearch:!0,isCnHis:!0,showCompareField:!0,filterApiConfig:e.filterApiConfig,saveAdd:H,cancelSaveAdd:R},ref_key:"searchFilter",ref:O},(()=>[s(g,r({ref_key:"searchFilter",ref:O},i.$attrs,{visible:c(S),loading:c(j),conditionList:c(I),actionList_prop:c(_),searchFieldList:c(F),isInSearch:!0,isCnHis:!0,showCompareField:!0,filterApiConfig:e.filterApiConfig,onSaveAdd:H,onCancelSaveAdd:R}),null,16,["visible","loading","conditionList","actionList_prop","searchFieldList","filterApiConfig"])]))]))}}),[["__file","index.vue"]]);export{b as default};
|
package/es/components/{classification → table-filter}/src/components/table-modal/index.vue.d.ts
RENAMED
|
@@ -126,6 +126,48 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
126
126
|
DocumentOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
127
127
|
Brush: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
128
128
|
ReorderTwo: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
129
|
+
SvgIcon: import("vue").DefineComponent<{
|
|
130
|
+
iconClass: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
required: true;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
title: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
required: false;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
className: {
|
|
141
|
+
type: StringConstructor;
|
|
142
|
+
required: false;
|
|
143
|
+
};
|
|
144
|
+
}, {
|
|
145
|
+
props: {
|
|
146
|
+
iconClass: string;
|
|
147
|
+
title: string;
|
|
148
|
+
className?: string | undefined;
|
|
149
|
+
};
|
|
150
|
+
iconName: import("vue").ComputedRef<string>;
|
|
151
|
+
svgClass: import("vue").ComputedRef<string>;
|
|
152
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
153
|
+
iconClass: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
required: true;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
title: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
required: false;
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
className: {
|
|
164
|
+
type: StringConstructor;
|
|
165
|
+
required: false;
|
|
166
|
+
};
|
|
167
|
+
}>>, {
|
|
168
|
+
title: string;
|
|
169
|
+
iconClass: string;
|
|
170
|
+
}>;
|
|
129
171
|
Draggable: import("vue").DefineComponent<{
|
|
130
172
|
list: {
|
|
131
173
|
type: ArrayConstructor;
|