cnhis-design-vue 3.1.57 → 3.2.1-alpha.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/button-print/index.d.ts +1 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/utils/print.d.ts +15 -3
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/calendar/index.d.ts +24 -13
- package/es/components/calendar/src/Calendar.vue.d.ts +24 -13
- package/es/components/calendar/src/Calendar.vue2.js +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +292 -2
- package/es/components/drag-scroll/index.d.ts +2 -0
- package/es/components/drag-scroll/index.js +1 -0
- package/es/components/drag-scroll/src/index.d.ts +4 -0
- package/es/components/drag-scroll/src/index.js +1 -0
- package/es/components/drag-scroll/src/types.d.ts +24 -0
- package/es/components/drag-scroll/src/types.js +1 -0
- package/es/components/fabric-chart/src/constants/index.d.ts +2 -1
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +1 -1
- package/es/components/field-set/index.d.ts +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +3 -2
- package/es/components/field-set/src/FieldSet.vue.d.ts +2 -1
- package/es/components/field-set/src/Index.vue.d.ts +1 -1
- package/es/components/field-set/src/Index.vue2.js +1 -1
- package/es/components/field-set/src/TableStyle.vue.d.ts +71 -0
- package/es/components/field-set/src/TableStyle.vue.js +1 -0
- package/es/components/field-set/src/TableStyle.vue2.js +1 -0
- package/es/components/field-set/src/components/Row.vue.d.ts +2 -1
- package/es/components/field-set/src/components/Row.vue2.js +1 -1
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1 -1
- package/es/components/field-set/src/types/index.d.ts +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +45 -4
- package/es/components/form-config/src/FormConfig.vue.d.ts +45 -4
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +16 -2
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +22 -2
- package/es/components/form-render/index.d.ts +16 -2
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +15 -1
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +16 -2
- package/es/components/form-render/src/FormRenderWrapper.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/index.js +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +2 -0
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/components/renderer/simpleComponent.js +1 -1
- package/es/components/form-render/src/components/renderer/time.d.ts +7 -0
- package/es/components/form-render/src/components/renderer/time.js +1 -0
- package/es/components/form-render/src/hooks/index.d.ts +1 -0
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useAutoHidden.d.ts +1 -1
- package/es/components/form-render/src/hooks/useAutoHidden.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +6 -4
- package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useSelectedSetting.d.ts +5 -0
- package/es/components/form-render/src/hooks/useSelectedSetting.js +1 -0
- package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
- package/es/components/form-render/src/types/index.d.ts +2 -0
- package/es/components/form-render/src/utils/business.d.ts +1 -1
- package/es/components/form-render/src/utils/business.js +1 -1
- package/es/components/form-render/src/utils/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.js +1 -1
- package/es/components/iho-table/index.d.ts +276 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +276 -0
- package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +1 -5
- package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +2 -1
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.js +1 -1
- package/es/components/iho-table/src/plugins/dragScrollPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/headerPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
- 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/separateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +15 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/constants.d.ts +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/constants.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/renderer.d.ts +6 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/renderer.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/types.d.ts +12 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/types.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/utils.d.ts +28 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/utils.js +1 -0
- package/es/components/iho-table/src/types/index.d.ts +10 -1
- package/es/components/iho-table/src/types/pluginType.d.ts +3 -1
- package/es/components/iho-table/src/utils/index.d.ts +5 -7
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +37 -4
- package/es/components/info-header/src/InfoHeader.vue.d.ts +37 -4
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +17 -2
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +16 -2
- package/es/components/search-cascader/index.d.ts +1 -1
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +1 -1
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +17 -2
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +17 -2
- package/es/components/steps-wheel/src/StepsWheel.vue2.js +1 -1
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -1
- package/es/components/table-export-field/style/index.css +1 -1
- package/es/components/table-export-field/style/table-export-field-iconfont.ttf +0 -0
- package/es/shared/assets/img/table_style_1.png.js +1 -0
- package/es/shared/assets/img/table_style_2.png.js +1 -0
- package/es/shared/assets/img/table_style_3.png.js +1 -0
- package/es/shared/assets/img/table_style_4.png.js +1 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
- package/es/shared/hooks/selectHooks/useOptionFiltered.d.ts +3 -1
- package/es/shared/hooks/selectHooks/useOptionFiltered.js +1 -1
- package/es/shared/hooks/selectHooks/useSearchContent.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +15 -6
- package/es/shared/utils/business.d.ts +1 -1
- package/es/shared/utils/index.d.ts +2 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +16 -15
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../../../shared/utils/index.js";import{isField as e}from"@formily/core";import{isEmpty as t}from"lodash-es";import{isMatchNewLowCodeConditionsWithSqlExpression as r}from"../../../../shared/utils/business.js";function i(i){return{applySelectedSetting:function(o){const s=i.getFormState().values;o.forEach((o=>{if(t(o.children))return;const l=o.children.find((e=>r(s,e)));l&&i.setFieldState(o.selectedField,(t=>{e(t)&&t.setValue(l.value)}))}))}}}export{i as useSelectedSetting};
|
|
@@ -128,6 +128,7 @@ export declare type FieldItem = {
|
|
|
128
128
|
whiteList: string[];
|
|
129
129
|
bordered: boolean | string;
|
|
130
130
|
displayMode: 'table' | 'form';
|
|
131
|
+
editor_title: string;
|
|
131
132
|
fieldType: SchemaTypes;
|
|
132
133
|
content: string | FormRenderer | Record<string, FormRenderer>;
|
|
133
134
|
lazyRequest: boolean;
|
|
@@ -95,6 +95,7 @@ export declare type FormRenderExpose = {
|
|
|
95
95
|
* @desc 完全重置表单
|
|
96
96
|
*/
|
|
97
97
|
reload(): Promise<any>;
|
|
98
|
+
applySelectedSetting(settings: LowCodeTypes.selectedSettingConfig[]): void;
|
|
98
99
|
};
|
|
99
100
|
export declare type FormChangeContext = Partial<{
|
|
100
101
|
currentOption: AnyObject;
|
|
@@ -150,6 +151,7 @@ export declare type FormRenderProps = Partial<{
|
|
|
150
151
|
operationalForm: LowCodeTypes.operationalConfig[];
|
|
151
152
|
outBordered: boolean;
|
|
152
153
|
forceClearable: boolean;
|
|
154
|
+
wordSplitFilter: boolean;
|
|
153
155
|
}>;
|
|
154
156
|
export declare type FormBusinessFormatter = (payload: {
|
|
155
157
|
fieldKey: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AgeContext, IdCardParseInfo } from '../../../../components/form-render';
|
|
2
2
|
import { FIELD_AGE_UNIT } from '../../../../components/form-render/src/constants';
|
|
3
3
|
export declare function parseIdCard(idCardNo: string): IdCardParseInfo;
|
|
4
|
-
export declare function transformDateFormat(format?: string): "month" | "date" | "datetime";
|
|
4
|
+
export declare function transformDateFormat(format?: string): "year" | "month" | "date" | "datetime" | "time";
|
|
5
5
|
export declare function isIdCard(idCardNo: string): boolean;
|
|
6
6
|
export declare function isMobile(mobile: string): boolean;
|
|
7
7
|
export declare function parseBirthday(birthday: string): AgeContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{differenceInDays as t,differenceInMonths as e,differenceInYears as n,differenceInHours as a,format as r}from"date-fns";import{isString as s}from"lodash-es";import{FIELD_AGE_UNIT as o,FIELD_SEX_VALUE as u}from"../constants/index.js";function d(t){return((t,e,n)=>{const a={},r=1-t.substr(e,1)%2;a.sex=1===r?u.FEMALE:u.MALE;const s=(2==n?"19":"")+t.substr(6,n),o=t.substr(6+n,2),d=t.substr(8+n,2);a.birthday=s+"-"+o+"-"+d+" 00:00";const c=new Date,i=c.getMonth()+1<parseInt(o,10)||c.getMonth()+1==parseInt(o,10)&&c.getDate()<parseInt(d,10)?1:0;return Object.assign(a,
|
|
1
|
+
import{differenceInDays as t,differenceInMonths as e,differenceInYears as n,differenceInHours as a,format as r}from"date-fns";import{isString as s}from"lodash-es";import{FIELD_AGE_UNIT as o,FIELD_SEX_VALUE as u}from"../constants/index.js";function d(t){return((t,e,n)=>{const a={},r=1-t.substr(e,1)%2;a.sex=1===r?u.FEMALE:u.MALE;const s=(2==n?"19":"")+t.substr(6,n),o=t.substr(6+n,2),d=t.substr(8+n,2);a.birthday=s+"-"+o+"-"+d+" 00:00";const c=new Date,i=c.getMonth()+1<parseInt(o,10)||c.getMonth()+1==parseInt(o,10)&&c.getDate()<parseInt(d,10)?1:0;return Object.assign(a,g(a.birthday)),a.age=a.year=c.getFullYear()-parseInt(s,10)-i,a})(t,15==t.length?14:16,15==t.length?2:4)}function c(t=""){if(!s(t)||!t)return"date";const e=t.includes("y"),n=t.includes("M"),a=t.includes("d"),r=t.includes("H"),o=t.includes("m"),u=t.includes("s");return e||n||a||!(r||o||u)?r||o||u?"datetime":!e||n||a?!e&&n&&a?"month":"date":"year":"time"}const i=/^\d{6}(((19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2]\d|3[0-1])\d{3}(\d|x|X))|(\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2]\d|3[0-1])\d{3}))$/,h=/^[1-9]\d{5}\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2]\d|3[0-1])\d{3}$/;function f(t){return i.test(t)&&function(t){if(!t||18!==t.length)return!1;const e=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2];let n=0;for(let a=0;a<17;a++)n+=+t[a]*e[a];return t.charAt(17).toUpperCase()===["1","0","X","9","8","7","6","5","4","3","2"][n%11]}(t)||h.test(t)}function l(t){return/^1(3\d|4[5-9]|5[0-35-9]|6[2567]|7[0-8]|8\d|9[0-35-9])\d{8}$/.test(t)}function g(r){const s={},o=new Date,u=new Date(r);return s.day=t(o,u),s.month=e(o,u),s.age=s.year=n(o,u),s.hours=a(o,u),s}function m(t,e,n="yyyy-MM-dd HH:mm"){var a;const s=new Date,u={[o.MINUTE]:()=>d(s,"Minutes",t),[o.HOUR]:()=>d(s,"Hours",t),[o.DAY]:()=>d(s,"Date",t),[o.WEEK]:()=>d(s,"Date",7*t),[o.MONTH]:()=>d(s,"Month",t),[o.YEAR]:()=>d(s,"FullYear",t)};return null==(a=u[e])||a.call(u),r(function(t,e){const n=[{[o.DAY]:"Date",[o.WEEK]:"Date",[o.MONTH]:"Date",[o.YEAR]:"Date"},{[o.HOUR]:"Hours"},{[o.MINUTE]:"Minutes"}],a=n.findIndex((t=>Reflect.has(t,e)));~a&&n.slice(a+1).forEach((e=>{Object.values(e).forEach((e=>{t[`set${e}`]("Date"===e?1:0)}))}));return t.setSeconds(0),t}(s,e),n);function d(t,e,n){t[`set${e}`](t[`get${e}`]()-n)}}function M(t){const e=t.hours<24?{ageUnit:o.HOUR,age:Math.max(t.hours,1)}:t.day<30?{ageUnit:o.DAY,age:Math.max(t.day,1)}:t.day<365?{ageUnit:o.MONTH,age:Math.max(t.month,1)}:{ageUnit:o.YEAR,age:Math.max(t.year,1)};return e.age=Math.max(e.age,1),e}const D=/^(\d{4})-?(\d{2})-?(\d{2})?\s?(\d{2})?:?(\d{2})?:?(\d{2})?$/;function y(t){if(!s(t))return;const e=t.match(D);if(!e)return;const[,n,a,r,o,u,d]=e;return new Date(`${n}-${a}-${r||"01"} ${o||"00"}:${u||"00"}:${d||"00"}`)}export{y as businessDateParser,f as isIdCard,l as isMobile,m as parseAge2Birthday,M as parseAgeFromContext,g as parseBirthday,d as parseIdCard,c as transformDateFormat};
|
|
@@ -21,3 +21,4 @@ export declare function isNestedType(type?: string): boolean | "" | undefined;
|
|
|
21
21
|
export declare function isNestedFieldType(field: FieldItem | GeneralField): boolean | "" | undefined;
|
|
22
22
|
export declare function renderDescOption(labelNode: any, option: AnyObject): JSX.Element;
|
|
23
23
|
export declare function getAbsoluteKey(fieldKey: string, field: Pattern): string;
|
|
24
|
+
export declare function editorUnescape(content: string): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{inject as n,provide as t,computed as e,createVNode as r,Fragment as o}from"vue";import{arrayed as i}from"../../../../shared/utils/index.js";import{isGeneralField as u}from"@formily/core";import{Path as f}from"@formily/path";import{HelpCircleSharp as c}from"@vicons/ionicons5";import{isObject as s}from"@vue/shared";import{useMemoize as l}from"@vueuse/core";import{isString as a,isFunction as p,omit as m}from"lodash-es";import{NTooltip as d,NIcon as h}from"naive-ui";import{NESTED_FORM_ITEM_TYPE as x}from"../constants/index.js";import"date-fns";function y(n){console.warn(`[FormRender]: ${n}`)}function g(n,t,e=["children","properties","suffixConfig"],r="val_key",o="default_val"){return function n(t,r){r.forEach((r=>{s(r)&&(null!=c(r)&&null==t[u(r)]&&f.setIn(t,u(r),c(r)),e.forEach((e=>{r[e]&&(t[u(r)]||(t[u(r)]={}),n(t[u(r)],i(r[e])))})))}))}(n,t),n;function u(n){return n[r]}function c(n){return n[o]}}function v(e,r){let o=n(e,null);return o||(o=r(),t(e,o)),o}function E(n){return n&&a(n)?+n:n}function _(n,t,e){if(s(n)&&!p(n)){const e={};return Object.entries(n).forEach((([n,r])=>{p(r)&&(e[n]=()=>r(t))})),e}return{default:()=>p(n)?n(t):e?e(n):[n]}}function K(n,t){return e((()=>{const e={};return n.prefix&&(e.prefix=()=>r(o,null,[_(n.prefix,n,t).default()])),n.suffix&&(e.suffix=()=>r(o,null,[_(n.suffix,n,t).default()])),e}))}function j(n,t){return a(n)&&n?n.replace(/\$\{([^}]*)}/g,(function(n,e){const r=e.split("||");for(const n of r){const e=t[n.trim()];if(e)return e}return""})):""}function k(n){return n.reduce(((n,t)=>(a(t.extendKey)&&t.extendKey&&n.push(t),b(t)&&n.push(...k(t.children||[])),n)),[])}function O(n,t){const e=k(n);if(!e.length)return t;const r={},o=new Map;return Object.entries(t).forEach((([n,i])=>{const u=e.find((t=>t.val_key===n));if(!u)return r[n]=i;const{val_key:f,extendKey:c}=u,s=o.get(c)||{};o.set(c,s),s[f]=t[f]})),[...o.entries()].forEach((([n,t])=>{r[n]=JSON.stringify(t)})),r}function S(n,t){const e=k(n);if(!e.length)return t;const r=l((n=>{try{return s(t[n])?t[n]:JSON.parse(t[n])||{}}catch(n){return{}}})),o=m(t,e.map((n=>n.extendKey)));return e.forEach((({val_key:n,extendKey:t})=>{Reflect.has(o,n)||(o[n]=r(t)[n])})),o}function $(n){return n&&x.includes(n)}function b(n){return $(u(n)?n.componentType:n.html_type)}function w(n,t){return r("section",{style:{display:"flex",alignItems:"center",gap:"4px"}},[n,t.desc?r(d,null,{trigger:()=>r(h,{component:c},null),default:()=>t.desc}):null])}function I(n,t){return f.parse(n.startsWith(".")?n:`.${n}`,t).toString()}export{O as combineExtendKey,K as createInputSlot,_ as createSlot,y as formRenderLog,I as getAbsoluteKey,v as injectOrProvide,b as isNestedFieldType,$ as isNestedType,g as mergeDeepProperties,E as parseNumberFromMaybeString,w as renderDescOption,S as splitExtendKey,j as validateMessageParser};
|
|
1
|
+
import{inject as n,provide as t,computed as e,createVNode as r,Fragment as o}from"vue";import{arrayed as i}from"../../../../shared/utils/index.js";import{isGeneralField as u}from"@formily/core";import{Path as f}from"@formily/path";import{HelpCircleSharp as c}from"@vicons/ionicons5";import{isObject as s}from"@vue/shared";import{useMemoize as l}from"@vueuse/core";import{isString as a,isFunction as p,omit as m}from"lodash-es";import{NTooltip as d,NIcon as h}from"naive-ui";import{NESTED_FORM_ITEM_TYPE as x}from"../constants/index.js";import"date-fns";function y(n){console.warn(`[FormRender]: ${n}`)}function g(n,t,e=["children","properties","suffixConfig"],r="val_key",o="default_val"){return function n(t,r){r.forEach((r=>{s(r)&&(null!=c(r)&&null==t[u(r)]&&f.setIn(t,u(r),c(r)),e.forEach((e=>{r[e]&&(t[u(r)]||(t[u(r)]={}),n(t[u(r)],i(r[e])))})))}))}(n,t),n;function u(n){return n[r]}function c(n){return n[o]}}function v(e,r){let o=n(e,null);return o||(o=r(),t(e,o)),o}function E(n){return n&&a(n)?+n:n}function _(n,t,e){if(s(n)&&!p(n)){const e={};return Object.entries(n).forEach((([n,r])=>{p(r)&&(e[n]=()=>r(t))})),e}return{default:()=>p(n)?n(t):e?e(n):[n]}}function K(n,t){return e((()=>{const e={};return n.prefix&&(e.prefix=()=>r(o,null,[_(n.prefix,n,t).default()])),n.suffix&&(e.suffix=()=>r(o,null,[_(n.suffix,n,t).default()])),e}))}function j(n,t){return a(n)&&n?n.replace(/\$\{([^}]*)}/g,(function(n,e){const r=e.split("||");for(const n of r){const e=t[n.trim()];if(e)return e}return""})):""}function k(n){return n.reduce(((n,t)=>(a(t.extendKey)&&t.extendKey&&n.push(t),b(t)&&n.push(...k(t.children||[])),n)),[])}function O(n,t){const e=k(n);if(!e.length)return t;const r={},o=new Map;return Object.entries(t).forEach((([n,i])=>{const u=e.find((t=>t.val_key===n));if(!u)return r[n]=i;const{val_key:f,extendKey:c}=u,s=o.get(c)||{};o.set(c,s),s[f]=t[f]})),[...o.entries()].forEach((([n,t])=>{r[n]=JSON.stringify(t)})),r}function S(n,t){const e=k(n);if(!e.length)return t;const r=l((n=>{try{return s(t[n])?t[n]:JSON.parse(t[n])||{}}catch(n){return{}}})),o=m(t,e.map((n=>n.extendKey)));return e.forEach((({val_key:n,extendKey:t})=>{Reflect.has(o,n)||(o[n]=r(t)[n])})),o}function $(n){return n&&x.includes(n)}function b(n){return $(u(n)?n.componentType:n.html_type)}function w(n,t){return r("section",{style:{display:"flex",alignItems:"center",gap:"4px"}},[n,t.desc?r(d,null,{trigger:()=>r(h,{component:c},null),default:()=>t.desc}):null])}function I(n,t){return f.parse(n.startsWith(".")?n:`.${n}`,t).toString()}function J(n){return n.replace(/</g,"<").replace(/>/g,">")}export{O as combineExtendKey,K as createInputSlot,_ as createSlot,J as editorUnescape,y as formRenderLog,I as getAbsoluteKey,v as injectOrProvide,b as isNestedFieldType,$ as isNestedType,g as mergeDeepProperties,E as parseNumberFromMaybeString,w as renderDescOption,S as splitExtendKey,j as validateMessageParser};
|
|
@@ -2149,6 +2149,139 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2149
2149
|
isBatchSelect?: import("../../shared/types").MaybeString<0 | 1> | undefined;
|
|
2150
2150
|
isSingleSelect?: import("../../shared/types").MaybeString<0 | 1> | undefined;
|
|
2151
2151
|
dragScroll?: boolean | undefined;
|
|
2152
|
+
dragScrollConfig?: {
|
|
2153
|
+
dragEle?: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | HTMLElement | {
|
|
2154
|
+
[x: string]: any;
|
|
2155
|
+
setup?: ((this: void, props: Readonly<import("@vue/shared").LooseRequired<any>>, ctx: import("vue").SetupContext<any>) => any) | undefined;
|
|
2156
|
+
name?: string | undefined;
|
|
2157
|
+
template?: string | object | undefined;
|
|
2158
|
+
render?: Function | undefined;
|
|
2159
|
+
components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>> | undefined;
|
|
2160
|
+
directives?: Record<string, import("vue").Directive<any, any>> | undefined;
|
|
2161
|
+
inheritAttrs?: boolean | undefined;
|
|
2162
|
+
emits?: any;
|
|
2163
|
+
expose?: string[] | undefined;
|
|
2164
|
+
serverPrefetch?: (() => Promise<any>) | undefined;
|
|
2165
|
+
compilerOptions?: {
|
|
2166
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
2167
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
2168
|
+
comments?: boolean | undefined;
|
|
2169
|
+
delimiters?: [string, string] | undefined;
|
|
2170
|
+
} | undefined;
|
|
2171
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
2172
|
+
__isFragment?: undefined;
|
|
2173
|
+
__isTeleport?: undefined;
|
|
2174
|
+
__isSuspense?: undefined;
|
|
2175
|
+
__defaults?: {} | undefined;
|
|
2176
|
+
compatConfig?: {
|
|
2177
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
2178
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
2179
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
2180
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
2181
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
2182
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
2183
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
2184
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
2185
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
2186
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
2187
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
2188
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
2189
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
2190
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
2191
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
2192
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
2193
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
2194
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
2195
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
2196
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
2197
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
2198
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
2199
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
2200
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
2201
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
2202
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
2203
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
2204
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
2205
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
2206
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
2207
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
2208
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
2209
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
2210
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
2211
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
2212
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
2213
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
2214
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
2215
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
2216
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
2217
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
2218
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
2219
|
+
MODE?: 2 | 3 | ((comp: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | null) => 2 | 3) | undefined;
|
|
2220
|
+
} | undefined;
|
|
2221
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
2222
|
+
computed?: import("vue").ComputedOptions | undefined;
|
|
2223
|
+
methods?: import("vue").MethodOptions | undefined;
|
|
2224
|
+
watch?: {
|
|
2225
|
+
[x: string]: (string | import("vue").WatchCallback<any, any> | ({
|
|
2226
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
2227
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback<any, any> | ({
|
|
2228
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
2229
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
2230
|
+
} | undefined;
|
|
2231
|
+
provide?: import("vue").ComponentProvideOptions | undefined;
|
|
2232
|
+
inject?: (string[] | {
|
|
2233
|
+
[x: string]: string | symbol | {
|
|
2234
|
+
from?: string | symbol | undefined;
|
|
2235
|
+
default?: unknown;
|
|
2236
|
+
};
|
|
2237
|
+
[x: symbol]: string | symbol | {
|
|
2238
|
+
from?: string | symbol | undefined;
|
|
2239
|
+
default?: unknown;
|
|
2240
|
+
};
|
|
2241
|
+
}) | undefined;
|
|
2242
|
+
filters?: Record<string, Function> | undefined;
|
|
2243
|
+
mixins?: any[] | undefined;
|
|
2244
|
+
extends?: any;
|
|
2245
|
+
beforeCreate?: (() => void) | undefined;
|
|
2246
|
+
created?: (() => void) | undefined;
|
|
2247
|
+
beforeMount?: (() => void) | undefined;
|
|
2248
|
+
mounted?: (() => void) | undefined;
|
|
2249
|
+
beforeUpdate?: (() => void) | undefined;
|
|
2250
|
+
updated?: (() => void) | undefined;
|
|
2251
|
+
activated?: (() => void) | undefined;
|
|
2252
|
+
deactivated?: (() => void) | undefined;
|
|
2253
|
+
beforeDestroy?: (() => void) | undefined;
|
|
2254
|
+
beforeUnmount?: (() => void) | undefined;
|
|
2255
|
+
destroyed?: (() => void) | undefined;
|
|
2256
|
+
unmounted?: (() => void) | undefined;
|
|
2257
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
2258
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
2259
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | undefined;
|
|
2260
|
+
delimiters?: [string, string] | undefined;
|
|
2261
|
+
__differentiator?: string | number | symbol | undefined;
|
|
2262
|
+
__isBuiltIn?: boolean | undefined;
|
|
2263
|
+
__file?: string | undefined;
|
|
2264
|
+
__name?: string | undefined;
|
|
2265
|
+
} | undefined;
|
|
2266
|
+
changeCursor?: boolean | undefined;
|
|
2267
|
+
scrollTarget?: any;
|
|
2268
|
+
duration?: number | undefined;
|
|
2269
|
+
type?: "px" | "percent" | undefined;
|
|
2270
|
+
isDraggableEle?: ((event: MouseEvent) => boolean) | undefined;
|
|
2271
|
+
getScrollState?: ((target: import("..").DragScrollTargetType | undefined) => {
|
|
2272
|
+
scrollTop: number;
|
|
2273
|
+
scrollLeft: number;
|
|
2274
|
+
}) | undefined;
|
|
2275
|
+
setScrollState?: ((target: import("..").DragScrollTargetType | undefined, state: {
|
|
2276
|
+
scrollTarget: any;
|
|
2277
|
+
scrollTop: number;
|
|
2278
|
+
scrollLeft: number;
|
|
2279
|
+
offsetX: number;
|
|
2280
|
+
offsetY: number;
|
|
2281
|
+
startScrollX: number;
|
|
2282
|
+
startScrollY: number;
|
|
2283
|
+
}) => void) | undefined;
|
|
2284
|
+
} | undefined;
|
|
2152
2285
|
selectType?: "checkbox" | "radio" | null | undefined;
|
|
2153
2286
|
rowDraggable?: boolean | undefined;
|
|
2154
2287
|
showSeq?: boolean | undefined;
|
|
@@ -2235,10 +2368,14 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2235
2368
|
startDateField: string;
|
|
2236
2369
|
endDateField: string;
|
|
2237
2370
|
}[] | undefined;
|
|
2371
|
+
verticalConfig?: {
|
|
2372
|
+
enable?: boolean | undefined;
|
|
2373
|
+
} | undefined;
|
|
2238
2374
|
}>;
|
|
2239
2375
|
updateConfigRefDebounced: () => void;
|
|
2240
2376
|
updateConfigRef: () => void;
|
|
2241
2377
|
fieldListRef: import("vue").Ref<{
|
|
2378
|
+
[x: string]: any;
|
|
2242
2379
|
property?: string | undefined;
|
|
2243
2380
|
type?: import("vxe-table").VxeColumnPropTypes.Type | undefined;
|
|
2244
2381
|
field?: string | undefined;
|
|
@@ -2536,6 +2673,8 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2536
2673
|
getTitle?: (() => string) | undefined;
|
|
2537
2674
|
getKey?: (() => string) | undefined;
|
|
2538
2675
|
annotation?: boolean | undefined;
|
|
2676
|
+
depth?: number | undefined;
|
|
2677
|
+
parent?: any | undefined;
|
|
2539
2678
|
}[]>;
|
|
2540
2679
|
updateFieldListRefDebounced: () => void;
|
|
2541
2680
|
updateFieldListRef: () => void;
|
|
@@ -4607,6 +4746,139 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4607
4746
|
isBatchSelect?: import("../../shared/types").MaybeString<0 | 1> | undefined;
|
|
4608
4747
|
isSingleSelect?: import("../../shared/types").MaybeString<0 | 1> | undefined;
|
|
4609
4748
|
dragScroll?: boolean | undefined;
|
|
4749
|
+
dragScrollConfig?: {
|
|
4750
|
+
dragEle?: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | HTMLElement | {
|
|
4751
|
+
[x: string]: any;
|
|
4752
|
+
setup?: ((this: void, props: Readonly<import("@vue/shared").LooseRequired<any>>, ctx: import("vue").SetupContext<any>) => any) | undefined;
|
|
4753
|
+
name?: string | undefined;
|
|
4754
|
+
template?: string | object | undefined;
|
|
4755
|
+
render?: Function | undefined;
|
|
4756
|
+
components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>> | undefined;
|
|
4757
|
+
directives?: Record<string, import("vue").Directive<any, any>> | undefined;
|
|
4758
|
+
inheritAttrs?: boolean | undefined;
|
|
4759
|
+
emits?: any;
|
|
4760
|
+
expose?: string[] | undefined;
|
|
4761
|
+
serverPrefetch?: (() => Promise<any>) | undefined;
|
|
4762
|
+
compilerOptions?: {
|
|
4763
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
4764
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
4765
|
+
comments?: boolean | undefined;
|
|
4766
|
+
delimiters?: [string, string] | undefined;
|
|
4767
|
+
} | undefined;
|
|
4768
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
4769
|
+
__isFragment?: undefined;
|
|
4770
|
+
__isTeleport?: undefined;
|
|
4771
|
+
__isSuspense?: undefined;
|
|
4772
|
+
__defaults?: {} | undefined;
|
|
4773
|
+
compatConfig?: {
|
|
4774
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
4775
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
4776
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
4777
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
4778
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
4779
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
4780
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
4781
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
4782
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
4783
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
4784
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
4785
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
4786
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
4787
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
4788
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
4789
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
4790
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
4791
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
4792
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
4793
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
4794
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
4795
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
4796
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
4797
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
4798
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
4799
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
4800
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
4801
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
4802
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
4803
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
4804
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
4805
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
4806
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
4807
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
4808
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
4809
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
4810
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
4811
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
4812
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
4813
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
4814
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
4815
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
4816
|
+
MODE?: 2 | 3 | ((comp: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | null) => 2 | 3) | undefined;
|
|
4817
|
+
} | undefined;
|
|
4818
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
4819
|
+
computed?: import("vue").ComputedOptions | undefined;
|
|
4820
|
+
methods?: import("vue").MethodOptions | undefined;
|
|
4821
|
+
watch?: {
|
|
4822
|
+
[x: string]: (string | import("vue").WatchCallback<any, any> | ({
|
|
4823
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
4824
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback<any, any> | ({
|
|
4825
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
4826
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
4827
|
+
} | undefined;
|
|
4828
|
+
provide?: import("vue").ComponentProvideOptions | undefined;
|
|
4829
|
+
inject?: (string[] | {
|
|
4830
|
+
[x: string]: string | symbol | {
|
|
4831
|
+
from?: string | symbol | undefined;
|
|
4832
|
+
default?: unknown;
|
|
4833
|
+
};
|
|
4834
|
+
[x: symbol]: string | symbol | {
|
|
4835
|
+
from?: string | symbol | undefined;
|
|
4836
|
+
default?: unknown;
|
|
4837
|
+
};
|
|
4838
|
+
}) | undefined;
|
|
4839
|
+
filters?: Record<string, Function> | undefined;
|
|
4840
|
+
mixins?: any[] | undefined;
|
|
4841
|
+
extends?: any;
|
|
4842
|
+
beforeCreate?: (() => void) | undefined;
|
|
4843
|
+
created?: (() => void) | undefined;
|
|
4844
|
+
beforeMount?: (() => void) | undefined;
|
|
4845
|
+
mounted?: (() => void) | undefined;
|
|
4846
|
+
beforeUpdate?: (() => void) | undefined;
|
|
4847
|
+
updated?: (() => void) | undefined;
|
|
4848
|
+
activated?: (() => void) | undefined;
|
|
4849
|
+
deactivated?: (() => void) | undefined;
|
|
4850
|
+
beforeDestroy?: (() => void) | undefined;
|
|
4851
|
+
beforeUnmount?: (() => void) | undefined;
|
|
4852
|
+
destroyed?: (() => void) | undefined;
|
|
4853
|
+
unmounted?: (() => void) | undefined;
|
|
4854
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
4855
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
4856
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | undefined;
|
|
4857
|
+
delimiters?: [string, string] | undefined;
|
|
4858
|
+
__differentiator?: string | number | symbol | undefined;
|
|
4859
|
+
__isBuiltIn?: boolean | undefined;
|
|
4860
|
+
__file?: string | undefined;
|
|
4861
|
+
__name?: string | undefined;
|
|
4862
|
+
} | undefined;
|
|
4863
|
+
changeCursor?: boolean | undefined;
|
|
4864
|
+
scrollTarget?: any;
|
|
4865
|
+
duration?: number | undefined;
|
|
4866
|
+
type?: "px" | "percent" | undefined;
|
|
4867
|
+
isDraggableEle?: ((event: MouseEvent) => boolean) | undefined;
|
|
4868
|
+
getScrollState?: ((target: import("..").DragScrollTargetType | undefined) => {
|
|
4869
|
+
scrollTop: number;
|
|
4870
|
+
scrollLeft: number;
|
|
4871
|
+
}) | undefined;
|
|
4872
|
+
setScrollState?: ((target: import("..").DragScrollTargetType | undefined, state: {
|
|
4873
|
+
scrollTarget: any;
|
|
4874
|
+
scrollTop: number;
|
|
4875
|
+
scrollLeft: number;
|
|
4876
|
+
offsetX: number;
|
|
4877
|
+
offsetY: number;
|
|
4878
|
+
startScrollX: number;
|
|
4879
|
+
startScrollY: number;
|
|
4880
|
+
}) => void) | undefined;
|
|
4881
|
+
} | undefined;
|
|
4610
4882
|
selectType?: "checkbox" | "radio" | null | undefined;
|
|
4611
4883
|
rowDraggable?: boolean | undefined;
|
|
4612
4884
|
showSeq?: boolean | undefined;
|
|
@@ -4693,6 +4965,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4693
4965
|
startDateField: string;
|
|
4694
4966
|
endDateField: string;
|
|
4695
4967
|
}[] | undefined;
|
|
4968
|
+
verticalConfig?: {
|
|
4969
|
+
enable?: boolean | undefined;
|
|
4970
|
+
} | undefined;
|
|
4696
4971
|
}>;
|
|
4697
4972
|
configChanged: boolean;
|
|
4698
4973
|
fieldChanged: boolean;
|
|
@@ -4702,6 +4977,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4702
4977
|
footer: any;
|
|
4703
4978
|
slotPropertiesPicker: (args: import("../../shared/types").AnyObject) => Pick<import("../../shared/types").AnyObject, "row" | "column" | "rowIndex" | "checked" | "$rowIndex" | "disabled" | "columnIndex" | "$columnIndex" | "_columnIndex" | "indeterminate">;
|
|
4704
4979
|
useVersion: typeof import("..").useVersion;
|
|
4980
|
+
NConfigProvider: any;
|
|
4705
4981
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "formChange" | "settingClick" | "formClick" | "keyboard" | "rowDrag" | "cut" | "paste" | "keydown" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "sortChange" | "filterChange" | "filterVisible" | "resizableChange" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "fnrChange" | "fnrFind" | "fnrFindAll" | "fnrReplace" | "fnrReplaceAll" | "cellAreaCopy" | "cellAreaCut" | "cellAreaPaste" | "cellAreaMerge" | "clearCellAreaMerge" | "headerCellAreaSelection" | "cellAreaSelectionStart" | "cellAreaSelectionDrag" | "cellAreaSelectionEnd" | "cellAreaExtensionStart" | "cellAreaExtensionDrag" | "cellAreaExtensionEnd" | "cellAreaArrowsStart" | "cellAreaArrowsEnd" | "activeCellChangeStart" | "activeCellChangeEnd" | "pageChange")[], "toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "formChange" | "settingClick" | "formClick" | "keyboard" | "rowDrag" | "cut" | "paste" | "keydown" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "sortChange" | "filterChange" | "filterVisible" | "resizableChange" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "fnrChange" | "fnrFind" | "fnrFindAll" | "fnrReplace" | "fnrReplaceAll" | "cellAreaCopy" | "cellAreaCut" | "cellAreaPaste" | "cellAreaMerge" | "clearCellAreaMerge" | "headerCellAreaSelection" | "cellAreaSelectionStart" | "cellAreaSelectionDrag" | "cellAreaSelectionEnd" | "cellAreaExtensionStart" | "cellAreaExtensionDrag" | "cellAreaExtensionEnd" | "cellAreaArrowsStart" | "cellAreaArrowsEnd" | "activeCellChangeStart" | "activeCellChangeEnd" | "pageChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4706
4982
|
tableConfig: {
|
|
4707
4983
|
type: import("vue").PropType<import("../../components/iho-table/src/types").IhoTableConfig>;
|