cnhis-design-vue 3.1.49-release.1 → 3.1.49
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/classification/src/index.vue2.js +1 -1
- package/es/components/expand-field/index.d.ts +1622 -0
- package/es/components/expand-field/index.js +1 -0
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue.d.ts +54 -0
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue.js +1 -0
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +1 -0
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +841 -0
- package/es/components/expand-field/src/components/FormItemPerson.vue.js +1 -0
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +1 -0
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +777 -0
- package/es/components/expand-field/src/components/PersonModal.vue.js +1 -0
- package/es/components/expand-field/src/components/PersonModal.vue2.js +1 -0
- package/es/components/expand-field/src/components/form.vue.d.ts +1494 -0
- package/es/components/expand-field/src/components/form.vue.js +1 -0
- package/es/components/expand-field/src/components/form.vue2.js +1 -0
- package/es/components/expand-field/src/constants/index.d.ts +3 -0
- package/es/components/expand-field/src/constants/index.js +1 -0
- package/es/components/expand-field/src/hooks/useAsyncData.d.ts +6 -0
- package/es/components/expand-field/src/hooks/useAsyncData.js +1 -0
- package/es/components/expand-field/src/index.vue.d.ts +1624 -0
- package/es/components/expand-field/src/index.vue.js +1 -0
- package/es/components/expand-field/src/index.vue2.js +1 -0
- package/es/components/expand-field/src/types/index.d.ts +1 -0
- package/es/components/expand-field/src/types/index.js +1 -0
- package/es/components/expand-field/src/utils/constant.d.ts +17 -0
- package/es/components/expand-field/src/utils/constant.js +1 -0
- package/es/components/expand-field/src/utils/index.d.ts +6 -0
- package/es/components/expand-field/src/utils/index.js +1 -0
- package/es/components/expand-field/src/utils/tool.d.ts +2 -0
- package/es/components/expand-field/src/utils/tool.js +1 -0
- package/es/components/expand-field/style/expand-field-iconfont.ttf +0 -0
- package/es/components/expand-field/style/index.css +1 -0
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +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/useOther.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/useBottom.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +1 -1
- package/es/components/field-set/index.d.ts +177 -16
- package/es/components/field-set/src/FieldSet.vue.d.ts +161 -17
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +116 -15
- package/es/components/field-set/src/components/Row.vue2.js +1 -1
- package/es/components/field-set/src/types/index.d.ts +1 -1
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +593 -5
- package/es/components/form-config/src/FormConfig.vue.d.ts +593 -5
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +17 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +296 -4
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
- package/es/components/form-render/index.d.ts +17 -1
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +17 -1
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +17 -1
- package/es/components/form-render/src/components/renderer/complex.js +1 -1
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.d.ts +7 -2
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/inputNumber.js +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +16 -0
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +3 -1
- package/es/components/form-render/src/components/renderer/simpleComponent.js +1 -1
- package/es/components/form-render/src/components/renderer/switch.js +1 -1
- package/es/components/form-render/src/components/renderer/textarea.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +2 -1
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useAnchor.js +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
- package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +4 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +4 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -0
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
- package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +9 -5
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.d.ts +2 -0
- package/es/components/form-render/src/utils/index.js +1 -1
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +6 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +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.d.ts +21 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +2 -1
- 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/types/index.d.ts +1 -0
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +42 -3
- package/es/components/info-header/src/InfoHeader.vue.d.ts +42 -3
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +4 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +4 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +21 -2
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +17 -1
- package/es/components/keyboard/index.d.ts +3 -3
- package/es/components/keyboard/src/Keyboard.vue.d.ts +3 -3
- package/es/components/keyboard/src/Keyboard.vue2.js +1 -1
- package/es/components/multi-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +21 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +21 -1
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +40 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -0
- package/es/shared/components/InputNumberSlash/index.d.ts +2 -0
- package/es/shared/components/InputNumberSlash/index.js +1 -0
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/anime.d.ts +2 -1
- package/es/shared/utils/anime.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
.c-select-person{padding:0 12px}.c-select-person__scroll{height:308px;overflow-y:auto}.c-select-person__clear-btn{color:#5585f5;cursor:pointer}.c-select-person__tag-item{align-items:center;background:rgba(85,133,245,.08);border:1px solid rgba(85,133,245,.5);border-radius:4px;box-sizing:border-box;color:#5585f5;display:inline-flex;font-size:14px;height:24px;line-height:24px;list-style:none;margin:0 8px 4px 0;padding:0 6px;transition:all .3s cubic-bezier(.215,.61,.355,1);white-space:nowrap}.c-select-person__tag-item .tag-close{color:#5585f5;cursor:pointer;display:inline-block;font-size:14px;font-weight:700;margin-left:3px;transition:all .3s}.c-select-person__tag-item .tag-close:hover{color:rgba(85,133,245,.6)}.c-select-person__tag-item .tag-close:active{color:#fff}.c-select-person .n-tree-node-content{flex:1;overflow:hidden}.c-select-person .search-input .search-clear{cursor:pointer}.c-select-person .user_item{align-items:center;display:flex;font-size:14px}.c-select-person .user_item .user_item_expand{flex:1;font-size:12px;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-select-person .search_title{border-bottom:1px solid #eee;font-size:16px;margin-top:8px;padding-bottom:5px}.c-select-person .select-person__multiple-search{display:flex;flex-direction:column}.c-select-person .select-person__multiple-search .n-checkbox{height:30px;overflow:hidden}.c-select-person .select-person__multiple-search .n-checkbox .n-checkbox__label{overflow:hidden}.c-select-person .select-person__multiple-search .search_item{align-items:flex-start;box-sizing:content-box;cursor:pointer;display:flex;flex-direction:column;height:40px;margin:2px;padding:3px}.c-select-person .select-person__multiple-search .search_item .title{align-items:center;display:flex;font-size:14px;overflow:hidden;width:100%}.c-select-person .select-person__multiple-search .search_item .desc{color:#7d88b5;font-size:12px;margin-top:5px}.c-select-person .select-person__multiple-search .search_item:hover{background:#f1f1f1}.c-select-person .select-person__multiple-search .search_disabled{color:#c2c2c2;cursor:not-allowed}.c-select-person .select-person__multiple-search .search_disabled .desc{color:#c2c2c2}.c-select-person .n-empty{margin-top:30px}
|
|
1
|
+
.c-select-person{padding:0 12px}.c-select-person__scroll{height:308px;overflow-y:auto}.c-select-person__clear-btn{color:#5585f5;cursor:pointer}.c-select-person__tag-item{align-items:center;background:rgba(85,133,245,.08);border:1px solid rgba(85,133,245,.5);border-radius:4px;box-sizing:border-box;color:#5585f5;display:inline-flex;font-size:14px;height:24px;line-height:24px;list-style:none;margin:0 8px 4px 0;padding:0 6px;transition:all .3s cubic-bezier(.215,.61,.355,1);white-space:nowrap}.c-select-person__tag-item .tag-close{color:#5585f5;cursor:pointer;display:inline-block;font-size:14px;font-weight:700;margin-left:3px;transition:all .3s}.c-select-person__tag-item .tag-close:hover{color:rgba(85,133,245,.6)}.c-select-person__tag-item .tag-close:active{color:#fff}.c-select-person .n-tree-node-content{flex:1;overflow:hidden}.c-select-person .search-input .search-clear{cursor:pointer}.c-select-person .user_item{align-items:center;display:flex;font-size:14px;margin:0}.c-select-person .user_item .user_item_expand{flex:1;font-size:12px;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-select-person .search_title{border-bottom:1px solid #eee;font-size:16px;margin-top:8px;padding-bottom:5px}.c-select-person .select-person__multiple-search{display:flex;flex-direction:column}.c-select-person .select-person__multiple-search .n-checkbox{height:30px;overflow:hidden}.c-select-person .select-person__multiple-search .n-checkbox .n-checkbox__label{overflow:hidden}.c-select-person .select-person__multiple-search .search_item{align-items:flex-start;box-sizing:content-box;cursor:pointer;display:flex;flex-direction:column;height:40px;margin:2px;padding:3px}.c-select-person .select-person__multiple-search .search_item .title{align-items:center;display:flex;font-size:14px;overflow:hidden;width:100%}.c-select-person .select-person__multiple-search .search_item .desc{color:#7d88b5;font-size:12px;margin-top:5px}.c-select-person .select-person__multiple-search .search_item:hover{background:#f1f1f1}.c-select-person .select-person__multiple-search .search_disabled{color:#c2c2c2;cursor:not-allowed}.c-select-person .select-person__multiple-search .search_disabled .desc{color:#c2c2c2}.c-select-person .n-empty{margin-top:30px}
|
|
@@ -134,6 +134,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
134
134
|
method?: import("..").FormRequestType | undefined;
|
|
135
135
|
nameKey?: string | undefined;
|
|
136
136
|
valueKey?: string | undefined;
|
|
137
|
+
showKey?: string | undefined;
|
|
137
138
|
params?: import("../../../es/shared/types").AnyObject | undefined;
|
|
138
139
|
dependKey?: string | Record<string, string> | (string | {
|
|
139
140
|
paramName: string;
|
|
@@ -171,6 +172,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
171
172
|
prefix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
172
173
|
suffix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
173
174
|
allowSlash?: boolean | undefined;
|
|
175
|
+
allowModify?: "0" | "1" | undefined;
|
|
176
|
+
show_key?: string | undefined;
|
|
177
|
+
bordered?: string | boolean | undefined;
|
|
174
178
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
175
179
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
176
180
|
lazyRequest?: boolean | undefined;
|
|
@@ -1892,6 +1896,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1892
1896
|
type: (BooleanConstructor | StringConstructor)[];
|
|
1893
1897
|
default: boolean;
|
|
1894
1898
|
};
|
|
1899
|
+
outBordered: {
|
|
1900
|
+
type: BooleanConstructor;
|
|
1901
|
+
default: boolean;
|
|
1902
|
+
};
|
|
1895
1903
|
uniqueCacheData: {
|
|
1896
1904
|
type: BooleanConstructor;
|
|
1897
1905
|
default: boolean;
|
|
@@ -2032,6 +2040,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2032
2040
|
type: (BooleanConstructor | StringConstructor)[];
|
|
2033
2041
|
default: boolean;
|
|
2034
2042
|
};
|
|
2043
|
+
outBordered: {
|
|
2044
|
+
type: BooleanConstructor;
|
|
2045
|
+
default: boolean;
|
|
2046
|
+
};
|
|
2035
2047
|
uniqueCacheData: {
|
|
2036
2048
|
type: BooleanConstructor;
|
|
2037
2049
|
default: boolean;
|
|
@@ -2085,7 +2097,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2085
2097
|
operationalFormHandler: (field: string) => void;
|
|
2086
2098
|
triggerAllOperationalFormHandler: () => void;
|
|
2087
2099
|
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
2088
|
-
schemaAdaptor: (fieldList: import("..").FieldItem[]
|
|
2100
|
+
schemaAdaptor: (fieldList: import("..").FieldItem[], options?: {
|
|
2101
|
+
column: number;
|
|
2102
|
+
outBordered?: boolean | undefined;
|
|
2103
|
+
}) => Record<string, import("@formily/json-schema").Stringify<{
|
|
2089
2104
|
[key: symbol]: any;
|
|
2090
2105
|
[key: `x-${string}`]: any;
|
|
2091
2106
|
[key: `x-${number}`]: any;
|
|
@@ -2501,6 +2516,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2501
2516
|
type: (BooleanConstructor | StringConstructor)[];
|
|
2502
2517
|
default: boolean;
|
|
2503
2518
|
};
|
|
2519
|
+
outBordered: {
|
|
2520
|
+
type: BooleanConstructor;
|
|
2521
|
+
default: boolean;
|
|
2522
|
+
};
|
|
2504
2523
|
uniqueCacheData: {
|
|
2505
2524
|
type: BooleanConstructor;
|
|
2506
2525
|
default: boolean;
|
|
@@ -2522,6 +2541,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2522
2541
|
linebarAutoHidden: boolean;
|
|
2523
2542
|
bordered: string | boolean;
|
|
2524
2543
|
uniqueCacheData: boolean;
|
|
2544
|
+
outBordered: boolean;
|
|
2525
2545
|
}>;
|
|
2526
2546
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
2527
2547
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "update")[], "error" | "update", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -136,6 +136,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
136
136
|
method?: import("../../../../es/components/form-render").FormRequestType | undefined;
|
|
137
137
|
nameKey?: string | undefined;
|
|
138
138
|
valueKey?: string | undefined;
|
|
139
|
+
showKey?: string | undefined;
|
|
139
140
|
params?: import("../../../../es/shared/types").AnyObject | undefined;
|
|
140
141
|
dependKey?: string | Record<string, string> | (string | {
|
|
141
142
|
paramName: string;
|
|
@@ -173,6 +174,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
173
174
|
prefix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
174
175
|
suffix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
175
176
|
allowSlash?: boolean | undefined;
|
|
177
|
+
allowModify?: "0" | "1" | undefined;
|
|
178
|
+
show_key?: string | undefined;
|
|
179
|
+
bordered?: string | boolean | undefined;
|
|
176
180
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
177
181
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
178
182
|
lazyRequest?: boolean | undefined;
|
|
@@ -1894,6 +1898,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1894
1898
|
type: (BooleanConstructor | StringConstructor)[];
|
|
1895
1899
|
default: boolean;
|
|
1896
1900
|
};
|
|
1901
|
+
outBordered: {
|
|
1902
|
+
type: BooleanConstructor;
|
|
1903
|
+
default: boolean;
|
|
1904
|
+
};
|
|
1897
1905
|
uniqueCacheData: {
|
|
1898
1906
|
type: BooleanConstructor;
|
|
1899
1907
|
default: boolean;
|
|
@@ -2034,6 +2042,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2034
2042
|
type: (BooleanConstructor | StringConstructor)[];
|
|
2035
2043
|
default: boolean;
|
|
2036
2044
|
};
|
|
2045
|
+
outBordered: {
|
|
2046
|
+
type: BooleanConstructor;
|
|
2047
|
+
default: boolean;
|
|
2048
|
+
};
|
|
2037
2049
|
uniqueCacheData: {
|
|
2038
2050
|
type: BooleanConstructor;
|
|
2039
2051
|
default: boolean;
|
|
@@ -2087,7 +2099,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2087
2099
|
operationalFormHandler: (field: string) => void;
|
|
2088
2100
|
triggerAllOperationalFormHandler: () => void;
|
|
2089
2101
|
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
2090
|
-
schemaAdaptor: (fieldList: FieldItem[]
|
|
2102
|
+
schemaAdaptor: (fieldList: FieldItem[], options?: {
|
|
2103
|
+
column: number;
|
|
2104
|
+
outBordered?: boolean | undefined;
|
|
2105
|
+
}) => Record<string, import("@formily/json-schema").Stringify<{
|
|
2091
2106
|
[key: symbol]: any;
|
|
2092
2107
|
[key: `x-${string}`]: any;
|
|
2093
2108
|
[key: `x-${number}`]: any;
|
|
@@ -2503,6 +2518,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2503
2518
|
type: (BooleanConstructor | StringConstructor)[];
|
|
2504
2519
|
default: boolean;
|
|
2505
2520
|
};
|
|
2521
|
+
outBordered: {
|
|
2522
|
+
type: BooleanConstructor;
|
|
2523
|
+
default: boolean;
|
|
2524
|
+
};
|
|
2506
2525
|
uniqueCacheData: {
|
|
2507
2526
|
type: BooleanConstructor;
|
|
2508
2527
|
default: boolean;
|
|
@@ -2524,6 +2543,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2524
2543
|
linebarAutoHidden: boolean;
|
|
2525
2544
|
bordered: string | boolean;
|
|
2526
2545
|
uniqueCacheData: boolean;
|
|
2546
|
+
outBordered: boolean;
|
|
2527
2547
|
}>;
|
|
2528
2548
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
2529
2549
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "update")[], "error" | "update", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{WidgetOptionEnums as e,WidgetTypeEnums as i,WidgetValEnums as t}from"../types/enums.js";import{isString as n}from"lodash-es";import{formatDateRangeInfo as l,presetValToTimestamp as o}from"../components/render-widget/helpers/presetValToTimestamp.js";import{DatePresetValEnums as a}from"../components/render-widget/enums.js";const u={[e.RADIO]:"0",[e.MULTIPLE]:"1",[e.ALL]:"0",[e.SELECT_TIME]:"1",[e.PAST_TIME]:"2",[e.FUTURE_TIME]:"3"};function r(){return{transformData:function(t,n){return t.map((t=>{var l,o,a;const{optionInfo:r={list:[],manualMapping:!0,dynamicOptionInfo:{},showWholeOption:!1},type:E,defaultValue:s,optionType:p,filterExplicit:T,rangeFilter:d}=t,c={},m={title:(f=t).title,alias:f.customTitle,isShowSearch:f.isShowSearch?1:0,filterExplicit:f.filterExplicit?1:0,explicitRequired:f.explicitRequired?1:0,advanceOptionSetting:f.optionType?u[f.optionType]:"",placeholder:f.remark,advanceColWidth:f.width};var f;let g,v,y=E;T?(g=E===i.SELECT&&p===e.MULTIPLE?null==s?void 0:s.valueList:null==(l=null==s?void 0:s.valueList)?void 0:l[0],v=null==s?void 0:s.unit,E===i.LABEL&&(y="SELECTLABEL",g=null==s?void 0:s.valueList),E===i.DATE&&(y="DATE_OUT"),E===i.DATE_TIME&&(y="DATETIME_OUT")):E===i.SELECT&&(null==r?void 0:r.list)&&(null==r?void 0:r.list.length)<10&&(y="CHECKBOX_GROUP"),d&&(E===i.INPUT_NUMBER&&(y="INPUTNUMBER_RANGE"),E===i.DATE&&(y=T?"DATE_RANGE_OUT":"DATE_RANGE_INNER"),E===i.DATE_TIME&&(y=T?"DATETIME_RANGE_OUT":"DATETIME_RANGE_INNER")),E===i.SELECT&&!1===(null==r?void 0:r.manualMapping)&&(y=i.SELECTDYNAMIC);const L={isRender:!0,widgetType:y,originType:E,valueList:null==(o=null==r?void 0:r.list)?void 0:o.map((({name:e,value:i})=>({value:i,label:e}))),defaultValue:g,defValueUnit:v,optionSetting:p,multiple:p===e.MULTIPLE||y===i.SELECTLABEL,manualMapping:null==r?void 0:r.manualMapping,showWholeOption:null==r?void 0:r.showWholeOption,dynamicOptionInfo:null==r?void 0:r.dynamicOptionInfo,classifyStr:null==s?void 0:s.classifyStr,linkageFieldKeys:null!=(a=null==s?void 0:s.linkageFieldKeys)?a:[]};return{...m,fieldType:t.dataType,columnName:t.name,settingObj:c,setting:JSON.stringify(c),widgetCfg:L,rangeFilter:d,unit:null!=v?v:"",_extendData:null!=n?n:{}}}))},getCacheDef:function(e,t){const{widgetType:n,widgetCfg:l}=e;return[i.SELECT,i.CHECKBOX_GROUP,i.SELECTDYNAMIC].includes(n)&&l.multiple?t:t[0]},transformClassifyChild:function(e,t){const n={};return e&&e.length>0&&e.forEach((e=>{const u=e.field_key;n[u]="";const r=t.find((e=>e.name===u));if(r){const t=Array.isArray(e.value)&&r.type===i.SELECT?e.value:e.value.toString();if(n[u]=t,e.unit&&e.unit!==a.CUSTOM){let t="";r.type===i.DATE&&(t=r.rangeFilter?l(e.unit,"YYYY-MM-DD",r.optionType):o(e.unit,"YYYY-MM-DD")),r.type===i.DATE_TIME&&(t=r.rangeFilter?l(e.unit,"YYYY-MM-DD HH:mm:ss",r.optionType):o(e.unit,"YYYY-MM-DD HH:mm:ss")),n[u]=t}}})),n},transformParams:function(e){const l={},o=[i.SELECT,i.SELECTDYNAMIC];return e&&e.length>0&&e.forEach((e=>{const i=e.field_key,a=o.includes(e.widgetType)||e.value&&e.value.length>1?e.value.map((e=>n(e)&&e.includes("&")?e.split("&")[1]:e)):e.value.toString();Array.isArray(a)&&a.length>0&&a.includes(t.WHOLE)||(l[i]=a)})),l}}}export{r as default};
|
|
1
|
+
import{WidgetOptionEnums as e,WidgetTypeEnums as i,WidgetValEnums as t}from"../types/enums.js";import{isString as n}from"lodash-es";import{formatDateRangeInfo as l,presetValToTimestamp as o}from"../components/render-widget/helpers/presetValToTimestamp.js";import{DatePresetValEnums as a}from"../components/render-widget/enums.js";const u={[e.RADIO]:"0",[e.MULTIPLE]:"1",[e.ALL]:"0",[e.SELECT_TIME]:"1",[e.PAST_TIME]:"2",[e.FUTURE_TIME]:"3"};function r(){return{transformData:function(t,n){return t.map((t=>{var l,o,a;const{optionInfo:r={list:[],manualMapping:!0,dynamicOptionInfo:{},showWholeOption:!1},type:E,defaultValue:s,optionType:p,filterExplicit:T,rangeFilter:d}=t,c={},m={title:(f=t).title,alias:f.customTitle,isShowSearch:f.isShowSearch?1:0,filterExplicit:f.filterExplicit?1:0,explicitRequired:f.explicitRequired?1:0,advanceOptionSetting:f.optionType?u[f.optionType]:"",placeholder:f.remark,advanceColWidth:f.width};var f;let g,v,y=E;T?(g=E===i.SELECT&&p===e.MULTIPLE?null==s?void 0:s.valueList:null==(l=null==s?void 0:s.valueList)?void 0:l[0],v=null==s?void 0:s.unit,E===i.LABEL&&(y="SELECTLABEL",g=null==s?void 0:s.valueList),E===i.DATE&&(y="DATE_OUT"),E===i.DATE_TIME&&(y="DATETIME_OUT")):E===i.SELECT&&(null==r?void 0:r.list)&&(null==r?void 0:r.list.length)<10&&(y="CHECKBOX_GROUP"),d&&(E===i.INPUT_NUMBER&&(y="INPUTNUMBER_RANGE"),E===i.DATE&&(y=T?"DATE_RANGE_OUT":"DATE_RANGE_INNER"),E===i.DATE_TIME&&(y=T?"DATETIME_RANGE_OUT":"DATETIME_RANGE_INNER")),E===i.SELECT&&!1===(null==r?void 0:r.manualMapping)&&(y=i.SELECTDYNAMIC);const L={isRender:!0,widgetType:y,originType:E,valueList:null==(o=null==r?void 0:r.list)?void 0:o.map((({name:e,value:i})=>({value:i,label:e}))),defaultValue:g,defValueUnit:v,optionSetting:p,multiple:p===e.MULTIPLE||y===i.SELECTLABEL,manualMapping:null==r?void 0:r.manualMapping,showWholeOption:null==r?void 0:r.showWholeOption,dynamicOptionInfo:null==r?void 0:r.dynamicOptionInfo,classifyStr:null==s?void 0:s.classifyStr,linkageFieldKeys:null!=(a=null==s?void 0:s.linkageFieldKeys)?a:[]};return{...m,fieldType:t.dataType,columnName:t.name,settingObj:c,setting:JSON.stringify(c),widgetCfg:L,rangeFilter:d,unit:null!=v?v:"",_extendData:null!=n?n:{}}}))},getCacheDef:function(e,t){const{widgetType:n,widgetCfg:l}=e;return[i.SELECT,i.CHECKBOX_GROUP,i.SELECTDYNAMIC].includes(n)&&l.multiple?t:t[0]},transformClassifyChild:function(e,t){const n={};return e&&e.length>0&&e.forEach((e=>{const u=e.field_key;n[u]="";const r=t.find((e=>e.name===u));if(r){const t=Array.isArray(e.value)&&r.type===i.SELECT?e.value:e.value.toString();if(n[u]=t,e.unit&&e.unit!==a.CUSTOM){let t="";r.type===i.DATE&&(t=r.rangeFilter?l(e.unit,"YYYY-MM-DD",r.optionType):o(e.unit,"YYYY-MM-DD")),r.type===i.DATE_TIME&&(t=r.rangeFilter?l(e.unit,"YYYY-MM-DD HH:mm:ss",r.optionType):o(e.unit,"YYYY-MM-DD HH:mm:ss")),n[u]=t}}})),n},transformParams:function(e){const l={},o=[i.SELECT,i.SELECTDYNAMIC,i.CHECKBOX_GROUP];return e&&e.length>0&&e.forEach((e=>{const i=e.field_key,a=o.includes(e.widgetType)||e.value&&e.value.length>1?e.value.map((e=>n(e)&&e.includes("&")?e.split("&")[1]:e)):e.value.toString();Array.isArray(a)&&a.length>0&&a.includes(t.WHOLE)||(l[i]=a)})),l}}}export{r as default};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Func } from '../../../../es/shared/types';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
value: {
|
|
5
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
6
|
+
};
|
|
7
|
+
onChange: {
|
|
8
|
+
type: PropType<Func<any[], any>>;
|
|
9
|
+
default: () => {};
|
|
10
|
+
};
|
|
11
|
+
prefix: {
|
|
12
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
13
|
+
};
|
|
14
|
+
suffix: {
|
|
15
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
16
|
+
};
|
|
17
|
+
precision: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
};
|
|
20
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
value: {
|
|
22
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
23
|
+
};
|
|
24
|
+
onChange: {
|
|
25
|
+
type: PropType<Func<any[], any>>;
|
|
26
|
+
default: () => {};
|
|
27
|
+
};
|
|
28
|
+
prefix: {
|
|
29
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
30
|
+
};
|
|
31
|
+
suffix: {
|
|
32
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
33
|
+
};
|
|
34
|
+
precision: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
};
|
|
37
|
+
}>>, {
|
|
38
|
+
onChange: Func<any[], any>;
|
|
39
|
+
}>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as t,computed as n,watch as u,createVNode as l}from"vue";import{isNumber as a,isString as i}from"lodash-es";import{NInput as r}from"naive-ui";import"../../../components/form-render/index.js";import{createInputSlot as o}from"../../../components/form-render/src/utils/index.js";var s=e({props:{value:{type:[Number,String]},onChange:{type:Function,default:()=>({})},prefix:{type:[String,Function,Object]},suffix:{type:[String,Function,Object]},precision:{type:Number}},setup(e){const s=o(e),v=t(),p=n({get:()=>v.value,set(e){if(a(e))return v.value=e+"";i(e)&&(v.value=e.endsWith("/")?"/":e)}});function c(e=-1){const t=a(+e)&&e>=0?+e:null;return new RegExp(`^-?(0|[1-9][0-9]*)?${0===t?"":`(\\.[0-9]${a(t)?`{0,${t}}`:"*"})?`}$`)}u((()=>e.value),(e=>p.value=e),{immediate:!0});const f=c(),m=n((()=>c(e.precision)));function d(e){return!(null!=e&&""!==e&&"/"!==e&&i(e)&&!e.endsWith("/"))||m.value.test(e)&&"-."!==e&&!e.startsWith(".")}function g(){if(i(p.value)&&"-"!==p.value)if("/"===p.value)e.onChange(p.value);else if(f.test(p.value)){const t=p.value.endsWith(".")?p.value.slice(0,-1):p.value;e.onChange(p.value=t)}else p.value=e.value;else p.value=e.value}return()=>l(r,{value:p.value,"onUpdate:value":e=>p.value=e,"allow-input":d,onBlur:g},s)}});export{s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import r from"./InputNumberSlash.js";export{default}from"./InputNumberSlash.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{computed as e,unref as t}from"vue";import{useEventListener as n}from"@vueuse/core";import{isValid as l}from"date-fns";function i(e,t=""){e.value=t,e.dispatchEvent(new InputEvent("input"))}function o(e,t,n,l){const o=e.value;if(!o)return;const u=e.selectionEnd||0,s=o.length;let r=0,
|
|
1
|
+
import{computed as e,unref as t}from"vue";import{useEventListener as n}from"@vueuse/core";import{isValid as l}from"date-fns";function i(e,t=""){e.value=t,e.dispatchEvent(new InputEvent("input"))}function o(e,t,n,l){const o=e.value;if(!o)return;const u=e.selectionEnd||0,s=o.length;let r=0,a=0,c=0,d="",f=0;for(;r<s;){const e=o[r++];if(/\d/.test(e)&&(d+=e),r===u){c=d.length;const e=o.slice(r).match(/^\d+/);f=e?e[0].length:0}}const v=Array.isArray(t)?function(e){var t,n;let l=!1,i=e.parentNode||null;for(;i;){if(null==(n=null==(t=i.classList)?void 0:t.contains)?void 0:n.call(t,"n-time-picker")){l=!0;break}i=i.parentNode||null}return l}(e)?t[1]:t[0]:t;let g="",m=0,p=0;for(r=0;r<v.length&&(l||!(a>=d.length));){const e=v[r++];if(/[yMdHms]/.test(e)?g+=d[a++]||"0":g+=e,n&&a===c){c=-1,m=g.length,p=m;let e=v.slice(r).match(/^[yMdHms]+/);e?(f=Math.min(f,e[0].length),f&&(g+=d.slice(a,a+f),a+=f),r+=e[0].length):(e=v.slice(r).match(/^([^yMdHms]+)([yMdHms]*)/),e&&(m+=e[1].length,p=m+e[2].length))}}const h=g!==o;return h&&i(e,g),n&&(m=m||g.length+1,p=p||g.length+1,e.setSelectionRange(m,p)),h}function u(u,s,r,a){const c=e((()=>{var e;return null==(e=u.value)?void 0:e.$el})),d=e((()=>{const e={};return["date","time","hour","minute","second"].forEach((t=>function(e,t){const n=`is-${t}-disabled`;r[n]&&(e[n.replace(/-(\w)/g,((e,t)=>t.toUpperCase()))]=r[n])}(e,t))),e}));function f(e){o(e,t(s),!1,!0);const n=null==e?void 0:e.value,u=Reflect.get(r,"type")||"";n&&!u.includes("range")&&l(new Date(n))&&!function(e){const{isTimeDisabled:t,isDateDisabled:n,isHourDisabled:l,isMinuteDisabled:i,isSecondDisabled:o}=d.value;if(null==n?void 0:n(e.getTime()))return;const u=(null==t?void 0:t(e.getTime()).isHourDisabled)||l,s=(null==t?void 0:t(e.getTime()).isMinuteDisabled)||i,r=(null==t?void 0:t(e.getTime()).isSecondDisabled)||o;if(null==u?void 0:u(e.getHours()))return;if(null==s?void 0:s(e.getMinutes()))return;if(null==r?void 0:r(e.getSeconds()))return;return!0}(new Date(n))&&i(e)}return n(c,"input",(function(e){const n=e.target;if(!n.value||!Reflect.get(n,"_f_"))return;Reflect.set(n,"_f_",0),o(n,t(s),!0)&&(e.preventDefault(),e.stopPropagation())}),!0),n(c,"keydown",(function(e){const{key:t}=e,n=e.target;if(/\d/.test(t)&&n)Reflect.set(n,"_f_",1);else if("Enter"===t)f(n);else if("Backspace"===t&&!a){const e=null==n?void 0:n.value;1===(null==e?void 0:e.length)&&(i(n),n.blur(),n.focus())}}),!0),n(c,"mouseup",(function(e){const t=e.target;["INPUT"].includes(t.tagName)&&0===e.button&&function(e){const{selectionStart:t=0,selectionEnd:n=0,value:l}=e;if(t!==n)return;const i=/(\d+)/g;let o,u,s;for(;null!==(o=i.exec(l));)if(t&&o.index<=t&&t<=i.lastIndex){u=o.index,s=i.lastIndex;break}void 0!==u&&void 0!==s&&e.setSelectionRange(u,s)}(t)}),!0),n(c,"paste",(function(e){var t,n;const l=(null==(t=e.clipboardData)?void 0:t.getData("text"))||"",o=null==(n=l.match(/\d+/g))?void 0:n.join(",");if(!o)return;e.preventDefault(),e.stopPropagation();const u=e.target;i(u,o),f(u)}),!0),{handleConfirm:f,focus:()=>{var e,t;return null==(t=null==(e=u.value)?void 0:e.focus)?void 0:t.call(e)},blur:()=>{var e,t;return null==(t=null==(e=u.value)?void 0:e.blur)?void 0:t.call(e)}}}export{u as useDateTime};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e="@cnhis-design-vue/shared",
|
|
1
|
+
var e="@cnhis-design-vue/shared",i="3.1.49",s="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},d={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},o={name:e,version:"3.1.49",private:!0,main:"index.ts",peerDependencies:n,dependencies:d};export{o as default,d as dependencies,s as main,e as name,n as peerDependencies,i as version};
|
|
@@ -31,5 +31,6 @@ declare const animeType: {
|
|
|
31
31
|
easeOutBounce: typeof bounceOut;
|
|
32
32
|
easeInOutBounce: (x: number) => number;
|
|
33
33
|
};
|
|
34
|
-
export declare const doAnimation: (startValue: number, endValue: number, during: number | undefined, callback: (v: number) => void, type?: keyof typeof animeType, onAnimationEnd?: (
|
|
34
|
+
export declare const doAnimation: (startValue: number, endValue: number, during: number | undefined, callback: (v: number) => void, type?: keyof typeof animeType, onAnimationEnd?: () => void) => () => boolean;
|
|
35
|
+
export declare function doAnimationPromise(startValue: number, endValue: number, during: number | undefined, callback: (v: number) => void, type?: keyof typeof animeType): Promise<void>;
|
|
35
36
|
export {};
|
package/es/shared/utils/anime.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const n=Math.pow,
|
|
1
|
+
const n=Math.pow,e=Math.sqrt,t=Math.sin,u=Math.cos,r=Math.PI,c=1.70158,i=1.525*c,a=2*r/3,o=2*r/4.5;function s(n){const e=7.5625,t=2.75;return n<1/t?e*n*n:n<2/t?e*(n-=1.5/t)*n+.75:n<2.5/t?e*(n-=2.25/t)*n+.9375:e*(n-=2.625/t)*n+.984375}const f={easeInQuad:function(n){return n*n},easeOutQuad:function(n){return 1-(1-n)*(1-n)},easeInOutQuad:function(e){return e<.5?2*e*e:1-n(-2*e+2,2)/2},easeInCubic:function(n){return n*n*n},easeOutCubic:function(e){return 1-n(1-e,3)},easeInOutCubic:function(e){return e<.5?4*e*e*e:1-n(-2*e+2,3)/2},easeInQuart:function(n){return n*n*n*n},easeOutQuart:function(e){return 1-n(1-e,4)},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-n(-2*e+2,4)/2},easeInQuint:function(n){return n*n*n*n*n},easeOutQuint:function(e){return 1-n(1-e,5)},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1-n(-2*e+2,5)/2},easeInSine:function(n){return 1-u(n*r/2)},easeOutSine:function(n){return t(n*r/2)},easeInOutSine:function(n){return-(u(r*n)-1)/2},easeInExpo:function(e){return 0===e?0:n(2,10*e-10)},easeOutExpo:function(e){return 1===e?1:1-n(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:e<.5?n(2,20*e-10)/2:(2-n(2,-20*e+10))/2},easeInCirc:function(t){return 1-e(1-n(t,2))},easeOutCirc:function(t){return e(1-n(t-1,2))},easeInOutCirc:function(t){return t<.5?(1-e(1-n(2*t,2)))/2:(e(1-n(-2*t+2,2))+1)/2},easeInElastic:function(e){return 0===e?0:1===e?1:-n(2,10*e-10)*t((10*e-10.75)*a)},easeOutElastic:function(e){return 0===e?0:1===e?1:n(2,-10*e)*t((10*e-.75)*a)+1},easeInOutElastic:function(e){return 0===e?0:1===e?1:e<.5?-n(2,20*e-10)*t((20*e-11.125)*o)/2:n(2,-20*e+10)*t((20*e-11.125)*o)/2+1},easeInBack:function(n){return 2.70158*n*n*n-c*n*n},easeOutBack:function(e){return 1+2.70158*n(e-1,3)+c*n(e-1,2)},easeInOutBack:function(e){return e<.5?n(2*e,2)*(7.189819*e-i)/2:(n(2*e-2,2)*((i+1)*(2*e-2)+i)+2)/2},easeInBounce:function(n){return 1-s(1-n)},easeOutBounce:s,easeInOutBounce:function(n){return n<.5?(1-s(1-2*n))/2:(1+s(2*n-1))/2}},I=(n,e,t=1e3,u,r="easeInBack",c)=>{const i=e-n,a=1e3/60,o=t/a,s=window.requestAnimationFrame||function(n){setTimeout(n,a)},I=1/o;let O=0,Q=!1;return function t(){if(Q)return;const a=n+i*f[r](O);u(a),O+=I,O<1?s(t):(s((()=>u(e))),null==c||c())}(),()=>Q=!0};function O(n,e,t=1e3,u,r="easeInBack"){return new Promise((c=>I(n,e,t,u,r,c)))}export{I as doAnimation,O as doAnimationPromise};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.49
|
|
3
|
+
"version": "3.1.49",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"iOS 7",
|
|
64
64
|
"last 3 iOS versions"
|
|
65
65
|
],
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "4914cc2df45aceffe203ef06517c81dd775ea37e"
|
|
67
67
|
}
|