cnhis-design-vue 3.3.3-beta.19 → 3.3.3-beta.22
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/README.md +87 -87
- package/es/components/base-search/index.d.ts +3 -0
- package/es/components/base-search/src/index.vue.d.ts +3 -0
- package/es/components/callback/src/components/render/popupMaps.d.ts +13 -0
- package/es/components/classification/index.d.ts +56 -6
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +56 -6
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +56 -6
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +56 -6
- package/es/components/field-editor/index.d.ts +13 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +13 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
- package/es/components/field-set/src/FieldFilter.vue.d.ts +4 -4
- package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
- package/es/components/field-set/src/components/table-row.vue.d.ts +4 -4
- package/es/components/form-config/index.d.ts +39 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +39 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +13 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +13 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +13 -0
- package/es/components/form-render/index.d.ts +13 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +13 -0
- package/es/components/form-render/src/FormRender.vue2.js +4 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +13 -0
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +12 -3
- package/es/components/form-render/src/hooks/useBusinessBinding.js +7 -7
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/utils/business.d.ts +3 -1
- package/es/components/form-render/src/utils/business.js +7 -1
- package/es/components/iho-chat/index.d.ts +18 -1
- package/es/components/iho-chat/src/Index.vue.d.ts +18 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +2 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +14 -9
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +3 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +16 -0
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +112 -53
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/hooks/index.d.ts +1 -0
- package/es/components/iho-chat/src/hooks/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useDraggable.d.ts +25 -0
- package/es/components/iho-chat/src/hooks/useDraggable.js +151 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +26 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +26 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +13 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +13 -0
- package/es/components/quick-search/index.d.ts +2 -0
- package/es/components/quick-search/src/index.vue.d.ts +2 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +2 -1
- package/es/components/shortcut-setter/index.d.ts +13 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +54 -6
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +26 -10
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +17 -2
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +37 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +18 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +44 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +36 -4
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +2 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +55 -6
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +6 -3
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +25 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +12 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +2 -2
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -0
- package/es/components/table-filter/src/hooks/useAdvanced.js +20 -3
- package/es/components/table-filter/src/hooks/useRenderWidget.js +4 -0
- package/es/components/table-filter/src/tool/date.d.ts +3 -0
- package/es/components/table-filter/src/tool/date.js +139 -0
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
- package/es/components/table-filter/src/tool/transformData.js +11 -8
- package/es/components/table-filter/src/types/enums.d.ts +1 -0
- package/es/components/table-filter/src/types/enums.js +2 -1
- package/es/components/table-filter/src/types/index.d.ts +12 -0
- package/es/env.d.ts +25 -25
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
@@ -1,87 +1,87 @@
|
|
1
|
-
# 安装
|
2
|
-
|
3
|
-
```shell
|
4
|
-
npm i cnhis-design-vue@[版本号]
|
5
|
-
# or
|
6
|
-
yarn add cnhis-design-vue@[版本号] #推荐
|
7
|
-
```
|
8
|
-
|
9
|
-
## 1.全局引入
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
// main.ts
|
13
|
-
import { createApp } from 'vue';
|
14
|
-
import App from './App.vue';
|
15
|
-
import 'cnhis-design-vue/es/packages/index.css';
|
16
|
-
import cui from 'cnhis-design-vue';
|
17
|
-
|
18
|
-
const app = createApp(App);
|
19
|
-
app.use(cui).mount('#app');
|
20
|
-
```
|
21
|
-
|
22
|
-
## 2. 按需引入
|
23
|
-
|
24
|
-
组件现在支持了自动按需引入, 但是样式文件需要额外的处理
|
25
|
-
|
26
|
-
### 2.1 样式处理方式1 (按需引入样式)
|
27
|
-
|
28
|
-
```shell
|
29
|
-
# 安装自动导入样式的插件
|
30
|
-
npm i -d vite-plugin-style-import
|
31
|
-
```
|
32
|
-
|
33
|
-
```typescript
|
34
|
-
// vite.config.ts
|
35
|
-
import { defineConfig } from 'vite';
|
36
|
-
import { createStyleImportPlugin } from 'vite-plugin-style-import';
|
37
|
-
|
38
|
-
export default defineConfig({
|
39
|
-
plugins: [
|
40
|
-
// ...otherPlugins
|
41
|
-
createStyleImportPlugin({
|
42
|
-
libs: [
|
43
|
-
{
|
44
|
-
libraryName: 'cnhis-design-vue',
|
45
|
-
esModule: true,
|
46
|
-
ensureStyleFile: true,
|
47
|
-
resolveStyle: name => {
|
48
|
-
return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
]
|
52
|
-
})
|
53
|
-
]
|
54
|
-
});
|
55
|
-
```
|
56
|
-
|
57
|
-
### 2.2 样式处理方式2 (全局引入样式)
|
58
|
-
|
59
|
-
```typescript
|
60
|
-
// main.ts
|
61
|
-
import 'cnhis-design-vue/es/components/index.css';
|
62
|
-
```
|
63
|
-
|
64
|
-
## 3.FAQ
|
65
|
-
|
66
|
-
### 3.1 项目打包后样式丢失
|
67
|
-
|
68
|
-
处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
|
69
|
-
|
70
|
-
```typescript
|
71
|
-
// vite.config.ts
|
72
|
-
import { defineConfig } from 'vite';
|
73
|
-
|
74
|
-
export default defineConfig({
|
75
|
-
build: {
|
76
|
-
rollupOptions: {
|
77
|
-
// ..otherOptions
|
78
|
-
output: {
|
79
|
-
dir: './dist',
|
80
|
-
manualChunks: {
|
81
|
-
'cnhis-vendor': ['cnhis-design-vue']
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
85
|
-
}
|
86
|
-
});
|
87
|
-
```
|
1
|
+
# 安装
|
2
|
+
|
3
|
+
```shell
|
4
|
+
npm i cnhis-design-vue@[版本号]
|
5
|
+
# or
|
6
|
+
yarn add cnhis-design-vue@[版本号] #推荐
|
7
|
+
```
|
8
|
+
|
9
|
+
## 1.全局引入
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
// main.ts
|
13
|
+
import { createApp } from 'vue';
|
14
|
+
import App from './App.vue';
|
15
|
+
import 'cnhis-design-vue/es/packages/index.css';
|
16
|
+
import cui from 'cnhis-design-vue';
|
17
|
+
|
18
|
+
const app = createApp(App);
|
19
|
+
app.use(cui).mount('#app');
|
20
|
+
```
|
21
|
+
|
22
|
+
## 2. 按需引入
|
23
|
+
|
24
|
+
组件现在支持了自动按需引入, 但是样式文件需要额外的处理
|
25
|
+
|
26
|
+
### 2.1 样式处理方式1 (按需引入样式)
|
27
|
+
|
28
|
+
```shell
|
29
|
+
# 安装自动导入样式的插件
|
30
|
+
npm i -d vite-plugin-style-import
|
31
|
+
```
|
32
|
+
|
33
|
+
```typescript
|
34
|
+
// vite.config.ts
|
35
|
+
import { defineConfig } from 'vite';
|
36
|
+
import { createStyleImportPlugin } from 'vite-plugin-style-import';
|
37
|
+
|
38
|
+
export default defineConfig({
|
39
|
+
plugins: [
|
40
|
+
// ...otherPlugins
|
41
|
+
createStyleImportPlugin({
|
42
|
+
libs: [
|
43
|
+
{
|
44
|
+
libraryName: 'cnhis-design-vue',
|
45
|
+
esModule: true,
|
46
|
+
ensureStyleFile: true,
|
47
|
+
resolveStyle: name => {
|
48
|
+
return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
]
|
52
|
+
})
|
53
|
+
]
|
54
|
+
});
|
55
|
+
```
|
56
|
+
|
57
|
+
### 2.2 样式处理方式2 (全局引入样式)
|
58
|
+
|
59
|
+
```typescript
|
60
|
+
// main.ts
|
61
|
+
import 'cnhis-design-vue/es/components/index.css';
|
62
|
+
```
|
63
|
+
|
64
|
+
## 3.FAQ
|
65
|
+
|
66
|
+
### 3.1 项目打包后样式丢失
|
67
|
+
|
68
|
+
处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
|
69
|
+
|
70
|
+
```typescript
|
71
|
+
// vite.config.ts
|
72
|
+
import { defineConfig } from 'vite';
|
73
|
+
|
74
|
+
export default defineConfig({
|
75
|
+
build: {
|
76
|
+
rollupOptions: {
|
77
|
+
// ..otherOptions
|
78
|
+
output: {
|
79
|
+
dir: './dist',
|
80
|
+
manualChunks: {
|
81
|
+
'cnhis-vendor': ['cnhis-design-vue']
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
});
|
87
|
+
```
|
@@ -53,6 +53,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
53
53
|
defaultValue: any;
|
54
54
|
defValueUnit: any;
|
55
55
|
optionSetting: string | undefined;
|
56
|
+
dateShortcuts: any[] | undefined;
|
56
57
|
multiple: boolean;
|
57
58
|
manualMapping: boolean | null | undefined;
|
58
59
|
showWholeOption: boolean | undefined;
|
@@ -76,6 +77,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
76
77
|
accurateSearch: any;
|
77
78
|
extendKey: string;
|
78
79
|
extendType: string;
|
80
|
+
dateShortcuts: any[];
|
79
81
|
}[];
|
80
82
|
transformParams: (paramsList: any[]) => any;
|
81
83
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -120,6 +122,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
120
122
|
unit: "custom" | null;
|
121
123
|
widgetType?: string | undefined;
|
122
124
|
dynamicBaseList?: any[] | undefined;
|
125
|
+
dateShortcuts?: any[] | undefined;
|
123
126
|
isAccurateSearch?: boolean | undefined;
|
124
127
|
accurateSearchKey?: string | undefined;
|
125
128
|
}[]>;
|
@@ -54,6 +54,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
54
54
|
defaultValue: any;
|
55
55
|
defValueUnit: any;
|
56
56
|
optionSetting: string | undefined;
|
57
|
+
dateShortcuts: any[] | undefined;
|
57
58
|
multiple: boolean;
|
58
59
|
manualMapping: boolean | null | undefined;
|
59
60
|
showWholeOption: boolean | undefined;
|
@@ -77,6 +78,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
77
78
|
accurateSearch: any;
|
78
79
|
extendKey: string;
|
79
80
|
extendType: string;
|
81
|
+
dateShortcuts: any[];
|
80
82
|
}[];
|
81
83
|
transformParams: (paramsList: any[]) => any;
|
82
84
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -121,6 +123,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
121
123
|
unit: "custom" | null;
|
122
124
|
widgetType?: string | undefined;
|
123
125
|
dynamicBaseList?: any[] | undefined;
|
126
|
+
dateShortcuts?: any[] | undefined;
|
124
127
|
isAccurateSearch?: boolean | undefined;
|
125
128
|
accurateSearchKey?: string | undefined;
|
126
129
|
}[]>;
|
@@ -35,6 +35,10 @@ export declare const CallbackMaps: Map<string, {
|
|
35
35
|
businessFormatter: {
|
36
36
|
type: import("vue").PropType<import("../../../../../components/form-render").FormBusinessFormatter>;
|
37
37
|
};
|
38
|
+
nominalAge: {
|
39
|
+
type: BooleanConstructor;
|
40
|
+
default: boolean;
|
41
|
+
};
|
38
42
|
schema: {
|
39
43
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
40
44
|
[key: symbol]: any;
|
@@ -239,6 +243,10 @@ export declare const CallbackMaps: Map<string, {
|
|
239
243
|
businessFormatter: {
|
240
244
|
type: import("vue").PropType<import("../../../../../components/form-render").FormBusinessFormatter>;
|
241
245
|
};
|
246
|
+
nominalAge: {
|
247
|
+
type: BooleanConstructor;
|
248
|
+
default: boolean;
|
249
|
+
};
|
242
250
|
schema: {
|
243
251
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
244
252
|
[key: symbol]: any;
|
@@ -804,6 +812,10 @@ export declare const CallbackMaps: Map<string, {
|
|
804
812
|
businessFormatter: {
|
805
813
|
type: import("vue").PropType<import("../../../../../components/form-render").FormBusinessFormatter>;
|
806
814
|
};
|
815
|
+
nominalAge: {
|
816
|
+
type: BooleanConstructor;
|
817
|
+
default: boolean;
|
818
|
+
};
|
807
819
|
schema: {
|
808
820
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
809
821
|
[key: symbol]: any;
|
@@ -1010,6 +1022,7 @@ export declare const CallbackMaps: Map<string, {
|
|
1010
1022
|
feedbackType: "default" | "tooltip";
|
1011
1023
|
fixMemoLeak: boolean;
|
1012
1024
|
lazyRender: boolean;
|
1025
|
+
nominalAge: boolean;
|
1013
1026
|
operationalFormInit: boolean;
|
1014
1027
|
incrementalRender: boolean;
|
1015
1028
|
}>;
|
@@ -668,6 +668,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
668
668
|
value: string;
|
669
669
|
isAccurateSearch?: boolean | undefined;
|
670
670
|
accurateSearchKey?: string | undefined;
|
671
|
+
customDate?: string | undefined;
|
671
672
|
}[];
|
672
673
|
};
|
673
674
|
loading: import("vue").Ref<boolean>;
|
@@ -733,6 +734,10 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
733
734
|
isAccurate: {
|
734
735
|
type: BooleanConstructor;
|
735
736
|
};
|
737
|
+
customDate: {
|
738
|
+
type: StringConstructor;
|
739
|
+
default: null;
|
740
|
+
};
|
736
741
|
}, {
|
737
742
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
738
743
|
paramCfg: {
|
@@ -750,15 +755,21 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
750
755
|
isAccurate: {
|
751
756
|
type: BooleanConstructor;
|
752
757
|
};
|
758
|
+
customDate: {
|
759
|
+
type: StringConstructor;
|
760
|
+
default: null;
|
761
|
+
};
|
753
762
|
}>> & {
|
754
763
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
755
764
|
"onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
|
756
765
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
766
|
+
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
757
767
|
}>>;
|
758
|
-
emit: (event: "update:modelValue" | "update:isAccurate" | "update:presetVal", ...args: any[]) => void;
|
768
|
+
emit: (event: "update:modelValue" | "update:isAccurate" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
|
759
769
|
valueCp: import("vue").WritableComputedRef<any>;
|
760
770
|
presetValCp: import("vue").WritableComputedRef<string>;
|
761
771
|
isAccurateCp: import("vue").WritableComputedRef<boolean>;
|
772
|
+
customDateCp: import("vue").WritableComputedRef<string>;
|
762
773
|
widgetType: import("vue").ComputedRef<any>;
|
763
774
|
Date: import("vue").DefineComponent<{
|
764
775
|
componentCfg: {
|
@@ -776,6 +787,10 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
776
787
|
type: StringConstructor;
|
777
788
|
default: null;
|
778
789
|
};
|
790
|
+
customDate: {
|
791
|
+
type: StringConstructor;
|
792
|
+
default: null;
|
793
|
+
};
|
779
794
|
}, {
|
780
795
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
781
796
|
componentCfg: {
|
@@ -793,11 +808,16 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
793
808
|
type: StringConstructor;
|
794
809
|
default: null;
|
795
810
|
};
|
811
|
+
customDate: {
|
812
|
+
type: StringConstructor;
|
813
|
+
default: null;
|
814
|
+
};
|
796
815
|
}>> & {
|
797
816
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
798
817
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
818
|
+
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
799
819
|
}>>;
|
800
|
-
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
820
|
+
emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
|
801
821
|
valueCp: import("vue").WritableComputedRef<any>;
|
802
822
|
presetValCp: import("vue").WritableComputedRef<string>;
|
803
823
|
dateType: any;
|
@@ -975,7 +995,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
975
995
|
NEXT_YEAR: string;
|
976
996
|
LAST_YEAR: string;
|
977
997
|
};
|
978
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
998
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal" | "update:customDate")[], "update:modelValue" | "update:presetVal" | "update:customDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
979
999
|
componentCfg: {
|
980
1000
|
type: ObjectConstructor;
|
981
1001
|
};
|
@@ -991,13 +1011,19 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
991
1011
|
type: StringConstructor;
|
992
1012
|
default: null;
|
993
1013
|
};
|
1014
|
+
customDate: {
|
1015
|
+
type: StringConstructor;
|
1016
|
+
default: null;
|
1017
|
+
};
|
994
1018
|
}>> & {
|
995
1019
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
996
1020
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1021
|
+
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
997
1022
|
}, {
|
998
1023
|
modelValue: string | number | unknown[];
|
999
1024
|
paramCfg: Record<string, any>;
|
1000
1025
|
presetVal: string;
|
1026
|
+
customDate: string;
|
1001
1027
|
}>;
|
1002
1028
|
InputFilter: import("vue").DefineComponent<{
|
1003
1029
|
paramCfg: {
|
@@ -1127,6 +1153,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1127
1153
|
SELECT_TIME: string;
|
1128
1154
|
PAST_TIME: string;
|
1129
1155
|
FUTURE_TIME: string;
|
1156
|
+
CUSTOM_TIME: string;
|
1130
1157
|
};
|
1131
1158
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1132
1159
|
paramCfg: {
|
@@ -1461,6 +1488,10 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1461
1488
|
type: StringConstructor;
|
1462
1489
|
default: null;
|
1463
1490
|
};
|
1491
|
+
customDate: {
|
1492
|
+
type: StringConstructor;
|
1493
|
+
default: null;
|
1494
|
+
};
|
1464
1495
|
}, {
|
1465
1496
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1466
1497
|
paramCfg: {
|
@@ -1475,11 +1506,16 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1475
1506
|
type: StringConstructor;
|
1476
1507
|
default: null;
|
1477
1508
|
};
|
1509
|
+
customDate: {
|
1510
|
+
type: StringConstructor;
|
1511
|
+
default: null;
|
1512
|
+
};
|
1478
1513
|
}>> & {
|
1479
1514
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
1480
1515
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1516
|
+
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
1481
1517
|
}>>;
|
1482
|
-
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
1518
|
+
emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
|
1483
1519
|
startDate: import("vue").Ref<any>;
|
1484
1520
|
endDate: import("vue").Ref<any>;
|
1485
1521
|
valueFormat: import("vue").ComputedRef<string>;
|
@@ -1500,6 +1536,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1500
1536
|
value: string;
|
1501
1537
|
}[]>;
|
1502
1538
|
presetValCp: import("vue").WritableComputedRef<string>;
|
1539
|
+
customDateCp: import("vue").WritableComputedRef<string>;
|
1503
1540
|
handleChange: (val: any, type: "start" | "end") => void;
|
1504
1541
|
isStartDateDisabled: (ts: number) => boolean;
|
1505
1542
|
timeStartDisabled: (ts: number) => {
|
@@ -1675,7 +1712,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1675
1712
|
NEXT_YEAR: string;
|
1676
1713
|
LAST_YEAR: string;
|
1677
1714
|
};
|
1678
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1715
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal" | "update:customDate")[], "update:modelValue" | "update:presetVal" | "update:customDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1679
1716
|
paramCfg: {
|
1680
1717
|
type: ObjectConstructor;
|
1681
1718
|
default: null;
|
@@ -1688,13 +1725,19 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1688
1725
|
type: StringConstructor;
|
1689
1726
|
default: null;
|
1690
1727
|
};
|
1728
|
+
customDate: {
|
1729
|
+
type: StringConstructor;
|
1730
|
+
default: null;
|
1731
|
+
};
|
1691
1732
|
}>> & {
|
1692
1733
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
1693
1734
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1735
|
+
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
1694
1736
|
}, {
|
1695
1737
|
modelValue: string | number | unknown[];
|
1696
1738
|
paramCfg: Record<string, any>;
|
1697
1739
|
presetVal: string;
|
1740
|
+
customDate: string;
|
1698
1741
|
}>;
|
1699
1742
|
SelectLabel: import("vue").DefineComponent<{
|
1700
1743
|
paramCfg: {
|
@@ -1821,7 +1864,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1821
1864
|
SELECTTREE: string;
|
1822
1865
|
SELECTTREEDYNAMIC: string;
|
1823
1866
|
};
|
1824
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:isAccurate" | "update:presetVal")[], "update:modelValue" | "update:isAccurate" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1867
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:isAccurate" | "update:presetVal" | "update:customDate")[], "update:modelValue" | "update:isAccurate" | "update:presetVal" | "update:customDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1825
1868
|
paramCfg: {
|
1826
1869
|
type: ObjectConstructor;
|
1827
1870
|
default: null;
|
@@ -1837,15 +1880,21 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1837
1880
|
isAccurate: {
|
1838
1881
|
type: BooleanConstructor;
|
1839
1882
|
};
|
1883
|
+
customDate: {
|
1884
|
+
type: StringConstructor;
|
1885
|
+
default: null;
|
1886
|
+
};
|
1840
1887
|
}>> & {
|
1841
1888
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
1842
1889
|
"onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
|
1843
1890
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1891
|
+
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
1844
1892
|
}, {
|
1845
1893
|
modelValue: string | number | unknown[];
|
1846
1894
|
paramCfg: Record<string, any>;
|
1847
1895
|
presetVal: string;
|
1848
1896
|
isAccurate: boolean;
|
1897
|
+
customDate: string;
|
1849
1898
|
}>;
|
1850
1899
|
ConditionEnums: {
|
1851
1900
|
NULL: string;
|
@@ -2325,6 +2374,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
2325
2374
|
SELECT_TIME: string;
|
2326
2375
|
PAST_TIME: string;
|
2327
2376
|
FUTURE_TIME: string;
|
2377
|
+
CUSTOM_TIME: string;
|
2328
2378
|
};
|
2329
2379
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
2330
2380
|
paramCfg: {
|