@zy-frontend/business 1.1.6 → 1.1.8
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/dist/components/AdvancedSearch/Index.vue.d.ts +52 -0
- package/dist/components/AdvancedSearch/components/Actions.vue.d.ts +47 -0
- package/dist/components/AdvancedSearch/components/Autocomplete.vue.d.ts +52 -0
- package/dist/components/AdvancedSearch/components/Condition.vue.d.ts +35 -0
- package/dist/components/AdvancedSearch/components/ConditionGroup.vue.d.ts +65 -0
- package/dist/components/AdvancedSearch/components/FieldPicker.vue.d.ts +6 -0
- package/dist/components/AdvancedSearch/components/FieldTreePicker.vue.d.ts +14 -0
- package/dist/components/AdvancedSearch/components/HistoryList.vue.d.ts +8 -0
- package/dist/components/AdvancedSearch/components/LogicalOperatorSelect.vue.d.ts +12 -0
- package/dist/components/AdvancedSearch/components/OperatorSelect.vue.d.ts +18 -0
- package/dist/components/AdvancedSearch/components/StatWaySelect.vue.d.ts +8 -0
- package/dist/components/AdvancedSearch/const.d.ts +1 -0
- package/dist/components/AdvancedSearch/index.d.ts +5 -0
- package/dist/components/AdvancedSearch/interface.d.ts +48 -0
- package/dist/components/AdvancedSearch/utils.d.ts +34 -0
- package/dist/components/AnchorTabs/AnchorTabItem.vue.d.ts +22 -0
- package/dist/components/AnchorTabs/AnchorTabs.vue.d.ts +51 -0
- package/dist/components/AnchorTabs/index.d.ts +4 -0
- package/dist/components/AnchorTabs/interface.d.ts +12 -0
- package/dist/components/AnchorTabs/utils.d.ts +6 -0
- package/dist/components/ChartList/Chart.vue.d.ts +128 -0
- package/dist/components/ChartList/ChartList.vue.d.ts +143 -0
- package/dist/components/ChartList/ChartViewDialog.vue.d.ts +25 -0
- package/dist/components/ChartList/TableViewDialog.vue.d.ts +4 -0
- package/dist/components/ChartList/index.d.ts +7 -0
- package/dist/components/ChartList/interface.d.ts +22 -0
- package/dist/components/ColumnCustomizableTable/ColumnCustomizeDrawer.vue.d.ts +29 -0
- package/dist/components/ColumnCustomizableTable/ColumnCustomizeExportDrawer.vue.d.ts +25 -0
- package/dist/components/ColumnCustomizableTable/Index.vue.d.ts +132 -0
- package/dist/components/ColumnCustomizableTable/InputPopConfirm.vue.d.ts +66 -0
- package/dist/components/ColumnCustomizableTable/TemplateTagList.vue.d.ts +14 -0
- package/dist/components/ColumnCustomizableTable/hooks.d.ts +26 -0
- package/dist/components/ColumnCustomizableTable/index.d.ts +9 -0
- package/dist/components/ColumnCustomizableTable/interface.d.ts +37 -0
- package/dist/components/ColumnCustomizableTable/utils.d.ts +16 -0
- package/dist/components/GlobalProvider/global-provider.d.ts +47 -0
- package/dist/components/GlobalProvider/index.d.ts +43 -0
- package/dist/components/IconButton/IconButton.vue.d.ts +43 -0
- package/dist/components/IconButton/index.d.ts +4 -0
- package/dist/components/Layout/Container.vue.d.ts +29 -0
- package/dist/components/Layout/Layout.vue.d.ts +24 -0
- package/dist/components/Layout/LayoutItem.vue.d.ts +24 -0
- package/dist/components/Layout/index.d.ts +7 -0
- package/dist/components/Layout/interface.d.ts +6 -0
- package/dist/components/OverflowTooltip/OverflowTooltip.vue.d.ts +33 -0
- package/dist/components/OverflowTooltip/index.d.ts +4 -0
- package/dist/components/ScoreDialog/AsaScore.vue.d.ts +35 -0
- package/dist/components/ScoreDialog/CommonScore.vue.d.ts +38 -0
- package/dist/components/ScoreDialog/IssAisScore.vue.d.ts +29 -0
- package/dist/components/ScoreDialog/QuestionnaireScore.vue.d.ts +38 -0
- package/dist/components/ScoreDialog/index.d.ts +5 -0
- package/dist/components/ScoreDialog/index.vue.d.ts +25 -0
- package/dist/components/ScoreDialog/interface.d.ts +35 -0
- package/dist/components/ScoreDialog/useScoreData.d.ts +10 -0
- package/dist/components/ScoreDialog/utils.d.ts +1 -0
- package/dist/components/ScoreTable/gcsScore.vue.d.ts +25 -0
- package/dist/components/ScoreTable/index.d.ts +6 -0
- package/dist/components/ScoreTable/index.vue.d.ts +13 -0
- package/dist/components/ScoreTable/interface.d.ts +83 -0
- package/dist/components/ScoreTable/issAisScore.vue.d.ts +30 -0
- package/dist/components/ScoreTable/rtsScore.vue.d.ts +19 -0
- package/dist/components/ScoreTable/useScoreData.d.ts +11 -0
- package/dist/components/SearchForm/Index.vue.d.ts +111 -0
- package/dist/components/SearchForm/MoreDrawer.vue.d.ts +38 -0
- package/dist/components/SearchForm/components/Checkbox.vue.d.ts +36 -0
- package/dist/components/SearchForm/components/CustomSearchFormDialog.vue.d.ts +19 -0
- package/dist/components/SearchForm/components/DateTimePicker.vue.d.ts +82 -0
- package/dist/components/SearchForm/components/FieldPicker.vue.d.ts +34 -0
- package/dist/components/SearchForm/components/Input.vue.d.ts +80 -0
- package/dist/components/SearchForm/components/OperatorSelect.vue.d.ts +18 -0
- package/dist/components/SearchForm/components/Radio.vue.d.ts +53 -0
- package/dist/components/SearchForm/components/Select/Index.vue.d.ts +118 -0
- package/dist/components/SearchForm/components/Select/Select.vue.d.ts +53 -0
- package/dist/components/SearchForm/components/Select/TiledOptions.vue.d.ts +43 -0
- package/dist/components/SearchForm/components/Select/index.d.ts +3 -0
- package/dist/components/SearchForm/components/SingleCondition.vue.d.ts +76 -0
- package/dist/components/SearchForm/components/TimeFieldPicker.vue.d.ts +71 -0
- package/dist/components/SearchForm/components/TimeTypeSelect.vue.d.ts +24 -0
- package/dist/components/SearchForm/const.d.ts +3 -0
- package/dist/components/SearchForm/hooks.d.ts +10 -0
- package/dist/components/SearchForm/index.d.ts +9 -0
- package/dist/components/SearchForm/interface.d.ts +52 -0
- package/dist/components/SearchForm/utils.d.ts +1 -0
- package/dist/components/SortableFieldPicker/FieldTreeSelect.vue.d.ts +72 -0
- package/dist/components/SortableFieldPicker/Index.vue.d.ts +16 -0
- package/dist/components/SortableFieldPicker/index.d.ts +6 -0
- package/dist/components/SortableFieldPicker/interface.d.ts +19 -0
- package/dist/components/Splitter/Index.vue.d.ts +64 -0
- package/dist/components/Splitter/Panel.vue.d.ts +63 -0
- package/dist/components/Splitter/index.d.ts +6 -0
- package/dist/components/Splitter/interface.d.ts +96 -0
- package/dist/components/Splitter/registry.d.ts +10 -0
- package/dist/components/Table/Column.vue.d.ts +22 -0
- package/dist/components/Table/ColumnAction.vue.d.ts +19 -0
- package/dist/components/Table/ColumnRenderer.d.ts +24 -0
- package/dist/components/Table/Index.vue.d.ts +33 -0
- package/dist/components/Table/SimpleTable.vue.d.ts +54 -0
- package/dist/components/Table/index.d.ts +13 -0
- package/dist/components/Table/interface.d.ts +107 -0
- package/dist/components/Table/utils.d.ts +6 -0
- package/dist/components/index.d.ts +14 -0
- package/dist/const.d.ts +32 -0
- package/dist/hooks/use-async-queue.d.ts +6 -0
- package/dist/hooks/use-element-size.d.ts +14 -0
- package/dist/hooks/use-global-config.d.ts +39 -0
- package/dist/hooks/use-global-storage.d.ts +32 -0
- package/dist/hooks/use-resize.d.ts +38 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +1427 -1423
- package/dist/interface.d.ts +61 -0
- package/dist/main.d.ts +1 -0
- package/dist/service/diagram.d.ts +14 -0
- package/dist/service/download.d.ts +10 -0
- package/dist/service/index.d.ts +53 -0
- package/dist/service/score.d.ts +9 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/utils/index.d.ts +13 -0
- package/dist/utils/lazy-load.d.ts +6 -0
- package/package.json +3 -2
- package/dist/index.es.d.ts +0 -2119
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ZYAdvancedSearchProps } from './interface';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
"extra-action"?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ZYAdvancedSearchProps>, {
|
|
7
|
+
splitterProps: () => {
|
|
8
|
+
size: string[];
|
|
9
|
+
};
|
|
10
|
+
}>>, {
|
|
11
|
+
getQueryString: () => string;
|
|
12
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
search: (...args: any[]) => void;
|
|
14
|
+
reset: (...args: any[]) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ZYAdvancedSearchProps>, {
|
|
16
|
+
splitterProps: () => {
|
|
17
|
+
size: string[];
|
|
18
|
+
};
|
|
19
|
+
}>>> & Readonly<{
|
|
20
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
splitterProps: {
|
|
24
|
+
size?: [string | number, string | number];
|
|
25
|
+
min?: [string | number, string | number];
|
|
26
|
+
max?: [string | number, string | number];
|
|
27
|
+
};
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
type __VLS_WithDefaults<P, D> = {
|
|
41
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
42
|
+
default: D[K];
|
|
43
|
+
}> : P[K];
|
|
44
|
+
};
|
|
45
|
+
type __VLS_Prettify<T> = {
|
|
46
|
+
[K in keyof T]: T[K];
|
|
47
|
+
} & {};
|
|
48
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
ellipsis?: boolean;
|
|
3
|
+
canAddGroup?: boolean;
|
|
4
|
+
canDelete?: boolean;
|
|
5
|
+
}>, {
|
|
6
|
+
ellipsis: boolean;
|
|
7
|
+
canAddGroup: boolean;
|
|
8
|
+
canDelete: boolean;
|
|
9
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
add: (...args: any[]) => void;
|
|
11
|
+
"add-group": (...args: any[]) => void;
|
|
12
|
+
delete: (...args: any[]) => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
+
ellipsis?: boolean;
|
|
15
|
+
canAddGroup?: boolean;
|
|
16
|
+
canDelete?: boolean;
|
|
17
|
+
}>, {
|
|
18
|
+
ellipsis: boolean;
|
|
19
|
+
canAddGroup: boolean;
|
|
20
|
+
canDelete: boolean;
|
|
21
|
+
}>>> & Readonly<{
|
|
22
|
+
onAdd?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
"onAdd-group"?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
ellipsis: boolean;
|
|
27
|
+
canAddGroup: boolean;
|
|
28
|
+
canDelete: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
type __VLS_WithDefaults<P, D> = {
|
|
41
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
42
|
+
default: D[K];
|
|
43
|
+
}> : P[K];
|
|
44
|
+
};
|
|
45
|
+
type __VLS_Prettify<T> = {
|
|
46
|
+
[K in keyof T]: T[K];
|
|
47
|
+
} & {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ZYAutocompleteProps } from '../interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
required: true;
|
|
6
|
+
type: import('vue').PropType<string>;
|
|
7
|
+
};
|
|
8
|
+
fieldName: {
|
|
9
|
+
type: import('vue').PropType<string>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
autocomplete: {
|
|
13
|
+
type: import('vue').PropType<ZYAutocompleteProps>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
clearable: {
|
|
17
|
+
type: import('vue').PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
domainName: {
|
|
21
|
+
type: import('vue').PropType<string>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
change: (...args: any[]) => void;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
modelValue: {
|
|
28
|
+
required: true;
|
|
29
|
+
type: import('vue').PropType<string>;
|
|
30
|
+
};
|
|
31
|
+
fieldName: {
|
|
32
|
+
type: import('vue').PropType<string>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
autocomplete: {
|
|
36
|
+
type: import('vue').PropType<ZYAutocompleteProps>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
clearable: {
|
|
40
|
+
type: import('vue').PropType<boolean>;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
domainName: {
|
|
44
|
+
type: import('vue').PropType<string>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
}>> & Readonly<{
|
|
48
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
}>, {
|
|
50
|
+
clearable: boolean;
|
|
51
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
52
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ZYAdvancedSearchConditionProps } from '../interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ZYAdvancedSearchConditionProps>, {
|
|
4
|
+
active: boolean;
|
|
5
|
+
}>>, {
|
|
6
|
+
setField: (field: Record<string, any>) => void;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
active: (...args: any[]) => void;
|
|
9
|
+
"logical-operator-change": (...args: any[]) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ZYAdvancedSearchConditionProps>, {
|
|
11
|
+
active: boolean;
|
|
12
|
+
}>>> & Readonly<{
|
|
13
|
+
onActive?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
"onLogical-operator-change"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
active: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Prettify<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ZYConditionGroup } from '../../../interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
required: true;
|
|
6
|
+
type: import('vue').PropType<ZYConditionGroup>;
|
|
7
|
+
};
|
|
8
|
+
index: {
|
|
9
|
+
type: import('vue').PropType<number>;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
isRoot: {
|
|
13
|
+
type: import('vue').PropType<boolean>;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
maxNest: {
|
|
17
|
+
type: import('vue').PropType<number>;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
activeCondition: {
|
|
21
|
+
type: import('vue').PropType<ZYConditionGroup | null>;
|
|
22
|
+
};
|
|
23
|
+
hideRootLogicalOperator: {
|
|
24
|
+
type: import('vue').PropType<boolean>;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
}>, {
|
|
28
|
+
setConditionField: (field: Record<string, any>) => void;
|
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
active: (...args: any[]) => void;
|
|
31
|
+
"logical-operator-change": (...args: any[]) => void;
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
modelValue: {
|
|
34
|
+
required: true;
|
|
35
|
+
type: import('vue').PropType<ZYConditionGroup>;
|
|
36
|
+
};
|
|
37
|
+
index: {
|
|
38
|
+
type: import('vue').PropType<number>;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
isRoot: {
|
|
42
|
+
type: import('vue').PropType<boolean>;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
maxNest: {
|
|
46
|
+
type: import('vue').PropType<number>;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
activeCondition: {
|
|
50
|
+
type: import('vue').PropType<ZYConditionGroup | null>;
|
|
51
|
+
};
|
|
52
|
+
hideRootLogicalOperator: {
|
|
53
|
+
type: import('vue').PropType<boolean>;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
}>> & Readonly<{
|
|
57
|
+
onActive?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
"onLogical-operator-change"?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
index: number;
|
|
61
|
+
isRoot: boolean;
|
|
62
|
+
maxNest: number;
|
|
63
|
+
hideRootLogicalOperator: boolean;
|
|
64
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
65
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
select: (...args: any[]) => void;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ZYFieldModel } from '../interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: import('vue').PropType<ZYFieldModel>;
|
|
5
|
+
}>, {
|
|
6
|
+
setCurrentField: (field?: ZYFieldModel) => void;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
select: (...args: any[]) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
+
modelValue: import('vue').PropType<ZYFieldModel>;
|
|
11
|
+
}>> & Readonly<{
|
|
12
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
refresh: (...args: any) => Promise<void> | undefined;
|
|
3
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
"row-click": (...args: any[]) => void;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
6
|
+
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ZYLogicalOperator } from '../../../interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: import('vue').PropType<ZYLogicalOperator>;
|
|
5
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
change: (...args: any[]) => void;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8
|
+
modelValue: import('vue').PropType<ZYLogicalOperator>;
|
|
9
|
+
}>> & Readonly<{
|
|
10
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ZYDataType } from '../../../interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: import('vue').PropType<string>;
|
|
5
|
+
dataType: {
|
|
6
|
+
type: import('vue').PropType<ZYDataType>;
|
|
7
|
+
default: ZYDataType;
|
|
8
|
+
};
|
|
9
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
+
modelValue: import('vue').PropType<string>;
|
|
11
|
+
dataType: {
|
|
12
|
+
type: import('vue').PropType<ZYDataType>;
|
|
13
|
+
default: ZYDataType;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{}>, {
|
|
16
|
+
dataType: ZYDataType;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ZYStatWay } from '../../../interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: import('vue').PropType<ZYStatWay>;
|
|
5
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
6
|
+
modelValue: import('vue').PropType<ZYStatWay>;
|
|
7
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const INTRODUCTION = "\u9AD8\u7EA7\u68C0\u7D22\u6761\u4EF6\u8BF4\u660E\uFF1A\n 1. \u9AD8\u7EA7\u68C0\u7D22\u6761\u4EF6\u7531\u3010\u5165\u7EC4\u6761\u4EF6\u3011\u548C\u3010\u6392\u9664\u6761\u4EF6\u3011\u7EC4\u5408\u800C\u6210\uFF0C\u4E8C\u8005\u90FD\u652F\u6301\u6761\u4EF6\u6811\u7ED3\u6784\uFF1B\n 2. \u6761\u4EF6\u6811\u7531\u4E0D\u540C\u7684\u3010\u6761\u4EF6\u3011\u4EE5\u53CA\u3010\u6761\u4EF6\u7EC4\u3011\u6784\u6210\uFF1B\n 3.\u3010\u6761\u4EF6\u7EC4\u3011\u7531\u3010\u5B50\u6761\u4EF6\u7EC4\u3011\u548C\u3010\u6761\u4EF6\u3011\u6784\u6210\uFF1B\u6761\u4EF6\u6811\u652F\u6301\u6700\u591A3\u4E2A\u5C42\u7EA7\uFF1B\n 4. \u540C\u4E00\u5C42\u7EA7\u4E0B\u7684\u6761\u4EF6\uFF08\u7EC4\uFF09\u4E4B\u95F4\u7684\u903B\u8F91\u5173\u7CFB\u53EA\u80FD\u4E3A\u4E00\u79CD\uFF0C\u8981\u4E48\u662F\u3010AND\uFF08\u4E0E\uFF09\u3011\uFF0C\u8981\u4E48\u662F\u3010OR\uFF08\u6216\uFF09\u3011\uFF1B\n\n\u68C0\u7D22\u5B57\u6BB5\u4E0E\u68C0\u7D22\u6761\u4EF6\u5173\u7CFB\u8BF4\u660E\uFF1A\n 1. \u6240\u6709\u5B57\u6BB5\u90FD\u652F\u6301\u9009\u62E9\u3010\u975E\u7A7A\u3011\uFF1A\u8868\u793A\u9009\u5B9A\u7684\u5B57\u6BB5\u6709\u503C\uFF0C\u5E38\u7528\u4E8E\u5B58\u5728\u6027\u5224\u65AD\uFF1B\n 2. \u6570\u503C\u7C7B\u578B\u5B57\u6BB5\uFF1A\u68C0\u7D22\u9009\u9879\u652F\u6301\u3010\u7B49\u4E8E\u3011\u3010\u5927\u4E8E\u3011\u3010\u5927\u4E8E\u7B49\u4E8E\u3011\u3010\u5C0F\u4E8E\u3011\u3010\u5C0F\u4E8E\u7B49\u4E8E\u3011\u3010\u533A\u95F4\u3011\uFF0C\u7528\u4E8E\u57FA\u672C\u7684\u6570\u503C\u5927\u5C0F\u6BD4\u8F83\uFF1B\n 3. \u65E5\u671F/\u65F6\u95F4\u7C7B\u578B\u5B57\u6BB5\uFF1A\u652F\u6301\u3010\u7B49\u4E8E\u3011\u3010\u665A\u4E8E\u3011\u3010\u4E0D\u665A\u4E8E\u3011\u3010\u65E9\u4E8E\u3011\u3010\u4E0D\u65E9\u4E8E\u3011\u3010\u533A\u95F4\u3011\uFF0C\u65F6\u95F4\u9009\u62E9\u652F\u6301\u7CBE\u786E\u5230\u5929\uFF1B\n \uFF081\uFF09\u3010\u7B49\u4E8E\u3011\u67D0\u4E00\u5929\u8868\u793A\u65F6\u95F4\u4ECB\u4E8E\u5F53\u5929\u76840\u65F60\u52060\u79D2\u523023\u65F659\u520659\u79D2\u4E4B\u95F4\uFF1B\n \uFF082\uFF09\u3010\u665A\u4E8E\u3011\u67D0\u4E00\u5929\u8868\u793A\u65F6\u95F4\u5728\u5F53\u592923\u65F659\u520659\u79D2\u4E4B\u540E\uFF1B\n \uFF083\uFF09\u3010\u4E0D\u665A\u4E8E\u3011\u67D0\u4E00\u5929\u8868\u793A\u65F6\u95F4\u5728\u5F53\u592923\u65F659\u520659\u79D2\u4E4B\u524D\uFF1B\n \uFF084\uFF09\u3010\u65E9\u4E8E\u3011\u67D0\u4E00\u5929\u8868\u793A\u65F6\u95F4\u5728\u5F53\u59290\u65F60\u52060\u79D2\u4E4B\u524D\uFF1B\n \uFF085\uFF09\u3010\u4E0D\u65E9\u4E8E\u3011\u67D0\u4E00\u5929\u8868\u793A\u65F6\u95F4\u5728\u5F53\u59290\u65F60\u52060\u79D2\u4E4B\u540E\uFF1B\n \uFF086\uFF09\u3010\u533A\u95F4\u3011\u8868\u793A\u65F6\u95F4\u4ECB\u4E8E\u5F00\u59CB\u65E5\u671F\u76840\u65F60\u52060\u79D2\u5230\u7ED3\u675F\u65E5\u671F\u768423\u65F659\u520659\u79D2\u4E4B\u95F4\uFF1B\n 4.\u6587\u672C\u7C7B\u578B\u5B57\u6BB5\uFF1A\u652F\u6301\u3010\u7CBE\u786E\u3011\u3001\u3010\u6A21\u7CCA\u3011\u3001\u3010\u901A\u914D\u7B26\u3011\u3001\u3010\u4E0D\u7B49\u4E8E\u3011\uFF1B\n \uFF081\uFF09 \u6587\u672C\u5339\u914D\u652F\u6301\u533A\u5206\u5927\u5C0F\u5199\u7684\u67E5\u8BE2\uFF0C\u9ED8\u8BA4\u662F\u5927\u5C0F\u5199\u654F\u611F\u3002\u5982\u6A21\u7CCA\u68C0\u7D22\u3010mri\u3011\u65F6\uFF0C\u3010MRI\u3011\u5339\u914D\u4E0D\u4E0A\uFF1B\u82E5\u52FE\u9009\u5FFD\u7565\u5927\u5C0F\u5199\uFF0C\u5219 \u3010MRI\u3011\u4E5F\u53EF\u5339\u914D\u4E0A\uFF1B\n \uFF082\uFF09 \u68C0\u7D22\u8BCD:\u652F\u6301\u7528\u9017\u53F7\u3001\u7A7A\u683C\u3001\u2019\u6216\u2019\u3001\u2019OR\u2019\u6765\u5206\u9694\uFF0C\u8868\u793A\u591A\u4E2A\u68C0\u7D22\u8BCD\u4E4B\u95F4\u5B58\u5728\u6216\u8005\u5173\u7CFB\uFF0C\u6BD4\u5982\u9AD8\u7EA7\u68C0\u7D22\u4E3A\u3010[\u5165\u9662\u79D1\u5BA4][\u6A21\u7CCA][\u9AA8\u6298\uFF0C\u6551\u6CBB\u4E2D\u5FC3]\u3011\u65F6\uFF0C\u8868\u793A\u67E5\u8BE2\u5165\u9662\u79D1\u5BA4\u5305\u542B\u9AA8\u6298\u6216\u8005\u6551\u6CBB\u4E2D\u5FC3\u7684\u6570\u636E;\n \uFF083\uFF09\u3010\u7CBE\u786E\u3011\uFF1A\u8868\u793A\u5B57\u6BB5\u503C\u4E0E\u68C0\u7D22\u503C\u5B8C\u5168\u76F8\u540C\uFF1B\n \uFF084\uFF09\u3010\u4E0D\u7B49\u4E8E\u3011 \uFF1A\u4E0D\u3010\u7CBE\u786E\u3011\uFF1B\n \uFF085\uFF09\u3010\u6A21\u7CCA\u3011\uFF1A\u8868\u793A\u68C0\u7D22\u503C(S)\u662F\u76EE\u6807\u5B57\u6BB5\u503C(*S*)\u7684\u4E00\u90E8\u5206\uFF0C\u6BD4\u5982\u6A21\u7CCA\u68C0\u7D22\u3010\u9AD8\u8840\u3011\uFF0C\u5219\u3010\u9AD8\u8840\u538B\u3011\uFF0C\u3010\u9AD8\u8840\u538B\u75C5\u3011\u7B26\u5408\uFF0C\u3010\u9AD8\u8102\u8840\u3011\u4E0D\u7B26\u5408\uFF1B\n \uFF086\uFF09\u3010\u901A\u914D\u7B26\u3011\uFF1A\u7528\u3010*\u3011\u8868\u793A0\u6216\u591A\u4E2A\u5B57\u7B26\uFF0C\u6765\u8FDB\u884C\u5B57\u7B26\u5339\u914D\uFF1B\u5728\u901A\u914D\u7B26\u5173\u7CFB\u4E0B\uFF0C\u82E5\u4EC5\u8F93\u5165\u3010*\u3011\u67E5\u8BE2\uFF0C\u8FD9\u79CD\u60C5\u51B5\u4E0B\u7684\u67E5\u8BE2\u6761\u4EF6\u4F1A\u88AB\u5FFD\u7565\uFF0C\u8868\u793A\u67E5\u8BE2\u6240\u6709\uFF1B\n a. \u3010*\u3011\u5728\u68C0\u7D22\u8BCD\u524D\u9762\u65F6\uFF0C\u8868\u793A\u5339\u914D\u4EE5\u68C0\u7D22\u8BCD\u7ED3\u5C3E\u7684\u5B57\u6BB5\u503C\uFF1B\u6BD4\u5982\u68C0\u7D22\u3010*\u672F\u540E\u3011\uFF0C\u5219\u3010\u80C3\u764C\u672F\u540E\u3011\u3001\u3010\u9611\u5C3E\u672F\u540E\u3011\u7B49\u5747\u5339\u914D\uFF1B\n b. \u3010*\u3011\u5728\u68C0\u7D22\u8BCD\u540E\u9762\u65F6\uFF0C\u8868\u793A\u5339\u914D\u4EE5\u68C0\u7D22\u8BCD\u5F00\u5934\u7684\u5B57\u6BB5\u503C\uFF1B\u6BD4\u5982\u68C0\u7D22\u3010\u672F\u540E*\u3011\uFF0C\u5219\u3010\u672F\u540E\u75BC\u75DB\u3011\u5339\u914D\uFF1B\n c. \u3010*\u3011\u5728\u68C0\u7D22\u8BCD\u4E2D\u95F4\u65F6\uFF1A\u8868\u793A\u5339\u914D\u4EFB\u4F55\u5305\u542B\u68C0\u7D22\u8BCD\u524D\u540E\u90E8\u5206\u7684\u5185\u5BB9\uFF0C\u800C\u4E0D\u8003\u8651\u4E2D\u95F4\u53EF\u80FD\u5B58\u5728\u7684\u5B57\u7B26\u3002\u6BD4\u5982\u68C0\u7D22\u3010\u9AD8*\u8840\u3011\uFF0C\u5219\u3010\u9AD8\u8840\u3011\u3001\u3010\u9AD8\u8102\u8840\u3011\u3001\u3010\u9AD8\u5C3F\u9178\u8840\u3011\u7B49\u5747\u5339\u914D\uFF1B\n d. \u3010\u6A21\u7CCA\u3011\u67E5\u8BE2\u662F\u68C0\u7D22\u8BCD\u4E2D\u95F4\u4E0D\u5305\u542B\u3010*\u3011\uFF0C\u5934\u5C3E\u5305\u542B\u3010*\u3011\u7684\u7279\u6B8A\u3010\u901A\u914D\u7B26\u3011\u67E5\u8BE2\u65B9\u5F0F\uFF1B\n";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Plus } from '@element-plus/icons-vue';
|
|
2
|
+
import { ZYCondition, ZYConditionGroup, ZYOption } from '../../interface';
|
|
3
|
+
|
|
4
|
+
export type ZYAction = 'add' | 'add-group' | 'delete';
|
|
5
|
+
export declare const ZY_ACTION_MAP: Record<ZYAction, {
|
|
6
|
+
text: string;
|
|
7
|
+
icon: typeof Plus;
|
|
8
|
+
}>;
|
|
9
|
+
export interface ZYAdvancedSearchModel {
|
|
10
|
+
include: ZYConditionGroup;
|
|
11
|
+
exclude: ZYConditionGroup;
|
|
12
|
+
}
|
|
13
|
+
export interface ZYAdvancedSearchProps {
|
|
14
|
+
projectId?: string | number;
|
|
15
|
+
eventId?: string | number;
|
|
16
|
+
dataStructureCode?: string;
|
|
17
|
+
splitterProps?: {
|
|
18
|
+
size?: [string | number, string | number];
|
|
19
|
+
min?: [string | number, string | number];
|
|
20
|
+
max?: [string | number, string | number];
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export interface ZYAdvancedSearchConditionProps {
|
|
24
|
+
condition: ZYCondition;
|
|
25
|
+
index: number;
|
|
26
|
+
active?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface ZYAdvancedSearchConditionGroupProps {
|
|
29
|
+
index?: number;
|
|
30
|
+
isRoot?: boolean;
|
|
31
|
+
maxNest?: number;
|
|
32
|
+
activeCondition?: ZYConditionGroup | null;
|
|
33
|
+
hideRootLogicalOperator?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface ZYAutocompleteProps {
|
|
36
|
+
loadType: 2 | 3;
|
|
37
|
+
options?: ZYOption<string | number>[];
|
|
38
|
+
}
|
|
39
|
+
export interface ZYFieldModel {
|
|
40
|
+
domainType: string | number;
|
|
41
|
+
domainName: string;
|
|
42
|
+
fieldName: string;
|
|
43
|
+
dataType: string;
|
|
44
|
+
domainLabel: string;
|
|
45
|
+
fieldLabel: string;
|
|
46
|
+
fieldDomainName: string;
|
|
47
|
+
autocomplete?: ZYAutocompleteProps;
|
|
48
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ZYCondition, ZYConditionGroup, ZYDataType, ZYOperatorType, ZYLogicalOperator } from '../../interface';
|
|
2
|
+
import { ZYAdvancedSearchModel } from './interface';
|
|
3
|
+
|
|
4
|
+
export declare const getRandomId: () => string;
|
|
5
|
+
export declare const getOperatorText: (operator: ZYOperatorType, dataType: ZYDataType) => string;
|
|
6
|
+
export declare const getDefaultCondition: (logicalOperator?: ZYLogicalOperator) => ZYCondition;
|
|
7
|
+
export declare const getDefaultConditionGroup: (logicalOperator?: ZYLogicalOperator) => ZYConditionGroup;
|
|
8
|
+
export interface SearchQuery {
|
|
9
|
+
domainType: string | number;
|
|
10
|
+
domainName: string;
|
|
11
|
+
fieldName: string;
|
|
12
|
+
dataType: ZYDataType;
|
|
13
|
+
operator: ZYOperatorType;
|
|
14
|
+
value: string | string[] | number | number[] | boolean | boolean[];
|
|
15
|
+
statWay: string;
|
|
16
|
+
selfRel?: ZYLogicalOperator;
|
|
17
|
+
termRel?: ZYLogicalOperator;
|
|
18
|
+
caseInsensitive?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface SearchQueryGroup {
|
|
21
|
+
termRel: ZYLogicalOperator;
|
|
22
|
+
queries: (SearchQuery | SearchQueryGroup)[];
|
|
23
|
+
excludes?: (SearchQuery | SearchQueryGroup)[];
|
|
24
|
+
}
|
|
25
|
+
declare class SearchQueryFormatter {
|
|
26
|
+
private toTraverse;
|
|
27
|
+
to(condition: ZYConditionGroup): SearchQueryGroup;
|
|
28
|
+
private fromTraverse;
|
|
29
|
+
from(searchQuery: SearchQueryGroup): Promise<ZYAdvancedSearchModel>;
|
|
30
|
+
private toStringTraverse;
|
|
31
|
+
toString(condition: ZYConditionGroup): string;
|
|
32
|
+
}
|
|
33
|
+
export declare const searchQueryFormatter: SearchQueryFormatter;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ZYAnchorTabItemProps } from './interface';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ZYAnchorTabItemProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ZYAnchorTabItemProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ZYAnchorTabValue } from './interface';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
tab?(_: {
|
|
5
|
+
tabName: ZYAnchorTabValue;
|
|
6
|
+
}): any;
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
10
|
+
modelValue: {
|
|
11
|
+
required: true;
|
|
12
|
+
type: import('vue').PropType<ZYAnchorTabValue>;
|
|
13
|
+
};
|
|
14
|
+
scrolling: import('vue').PropType<boolean>;
|
|
15
|
+
tabs: {
|
|
16
|
+
type: import('vue').PropType<import('./interface').ZYAnchorTab[]>;
|
|
17
|
+
required: true;
|
|
18
|
+
default: () => never[];
|
|
19
|
+
};
|
|
20
|
+
scrollDuration: {
|
|
21
|
+
type: import('vue').PropType<number>;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
}>, {
|
|
25
|
+
scrollTo: (...args: any) => void;
|
|
26
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
modelValue: {
|
|
28
|
+
required: true;
|
|
29
|
+
type: import('vue').PropType<ZYAnchorTabValue>;
|
|
30
|
+
};
|
|
31
|
+
scrolling: import('vue').PropType<boolean>;
|
|
32
|
+
tabs: {
|
|
33
|
+
type: import('vue').PropType<import('./interface').ZYAnchorTab[]>;
|
|
34
|
+
required: true;
|
|
35
|
+
default: () => never[];
|
|
36
|
+
};
|
|
37
|
+
scrollDuration: {
|
|
38
|
+
type: import('vue').PropType<number>;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{}>, {
|
|
42
|
+
tabs: import('./interface').ZYAnchorTab[];
|
|
43
|
+
scrollDuration: number;
|
|
44
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type ZYAnchorTabValue = string | number;
|
|
2
|
+
export interface ZYAnchorTab {
|
|
3
|
+
label: string;
|
|
4
|
+
name: ZYAnchorTabValue;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface ZYAnchorTabProps {
|
|
8
|
+
tabs: ZYAnchorTab[];
|
|
9
|
+
scrollDuration?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface ZYAnchorTabItemProps extends ZYAnchorTab {
|
|
12
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare function isInView(element: HTMLElement): boolean;
|
|
2
|
+
export declare function useObserveIntersection(callback: (entry: IntersectionObserverEntry, observer: IntersectionObserver) => void, options?: IntersectionObserverInit): {
|
|
3
|
+
observer: IntersectionObserver;
|
|
4
|
+
observe: (elements: HTMLElement[]) => void;
|
|
5
|
+
unobserve: (elements: HTMLElement[]) => void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { ZYChartToolType, ZYChartConfig } from './interface';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
header?(_: {
|
|
5
|
+
title: string | undefined;
|
|
6
|
+
subTitle: string;
|
|
7
|
+
statCode: any;
|
|
8
|
+
option: Record<string, any> | undefined;
|
|
9
|
+
}): any;
|
|
10
|
+
footer?(_: {
|
|
11
|
+
option: Record<string, any> | undefined;
|
|
12
|
+
}): any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
title?: string;
|
|
16
|
+
charts?: ZYChartConfig[];
|
|
17
|
+
options?: Record<string, any>;
|
|
18
|
+
height?: string;
|
|
19
|
+
requestParams: Record<string, any>;
|
|
20
|
+
toolbar?: ZYChartToolType[];
|
|
21
|
+
hideToolbar?: boolean;
|
|
22
|
+
hoverShowToolbar?: boolean;
|
|
23
|
+
showEmpty?: boolean;
|
|
24
|
+
downloadOptions?: {
|
|
25
|
+
backgroundColor?: string;
|
|
26
|
+
excludeComponents?: string[];
|
|
27
|
+
extraTitle?: string;
|
|
28
|
+
};
|
|
29
|
+
clickable?: boolean;
|
|
30
|
+
chartClickable?: boolean;
|
|
31
|
+
activated?: boolean;
|
|
32
|
+
theme?: "light" | "dark" | {
|
|
33
|
+
name: string;
|
|
34
|
+
options: Record<string, any>;
|
|
35
|
+
};
|
|
36
|
+
showChartHeader?: boolean;
|
|
37
|
+
}>, {
|
|
38
|
+
requestParams: () => {};
|
|
39
|
+
toolbar: () => ZYChartToolType[];
|
|
40
|
+
downloadOptions: () => {
|
|
41
|
+
backgroundColor: string;
|
|
42
|
+
excludeComponents: string[];
|
|
43
|
+
};
|
|
44
|
+
theme: string;
|
|
45
|
+
showChartHeader: boolean;
|
|
46
|
+
hideToolbar: boolean;
|
|
47
|
+
}>>, {
|
|
48
|
+
refresh: (extraParams?: Record<string, any>) => Promise<void>;
|
|
49
|
+
getConfig: () => {};
|
|
50
|
+
dispose: () => void;
|
|
51
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
52
|
+
click: (...args: any[]) => void;
|
|
53
|
+
"chart-click": (...args: any[]) => void;
|
|
54
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
55
|
+
title?: string;
|
|
56
|
+
charts?: ZYChartConfig[];
|
|
57
|
+
options?: Record<string, any>;
|
|
58
|
+
height?: string;
|
|
59
|
+
requestParams: Record<string, any>;
|
|
60
|
+
toolbar?: ZYChartToolType[];
|
|
61
|
+
hideToolbar?: boolean;
|
|
62
|
+
hoverShowToolbar?: boolean;
|
|
63
|
+
showEmpty?: boolean;
|
|
64
|
+
downloadOptions?: {
|
|
65
|
+
backgroundColor?: string;
|
|
66
|
+
excludeComponents?: string[];
|
|
67
|
+
extraTitle?: string;
|
|
68
|
+
};
|
|
69
|
+
clickable?: boolean;
|
|
70
|
+
chartClickable?: boolean;
|
|
71
|
+
activated?: boolean;
|
|
72
|
+
theme?: "light" | "dark" | {
|
|
73
|
+
name: string;
|
|
74
|
+
options: Record<string, any>;
|
|
75
|
+
};
|
|
76
|
+
showChartHeader?: boolean;
|
|
77
|
+
}>, {
|
|
78
|
+
requestParams: () => {};
|
|
79
|
+
toolbar: () => ZYChartToolType[];
|
|
80
|
+
downloadOptions: () => {
|
|
81
|
+
backgroundColor: string;
|
|
82
|
+
excludeComponents: string[];
|
|
83
|
+
};
|
|
84
|
+
theme: string;
|
|
85
|
+
showChartHeader: boolean;
|
|
86
|
+
hideToolbar: boolean;
|
|
87
|
+
}>>> & Readonly<{
|
|
88
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
"onChart-click"?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
}>, {
|
|
91
|
+
downloadOptions: {
|
|
92
|
+
backgroundColor?: string;
|
|
93
|
+
excludeComponents?: string[];
|
|
94
|
+
extraTitle?: string;
|
|
95
|
+
};
|
|
96
|
+
requestParams: Record<string, any>;
|
|
97
|
+
toolbar: ZYChartToolType[];
|
|
98
|
+
showChartHeader: boolean;
|
|
99
|
+
theme: "light" | "dark" | {
|
|
100
|
+
name: string;
|
|
101
|
+
options: Record<string, any>;
|
|
102
|
+
};
|
|
103
|
+
hideToolbar: boolean;
|
|
104
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
105
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
106
|
+
export default _default;
|
|
107
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
108
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
109
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
110
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
111
|
+
} : {
|
|
112
|
+
type: import('vue').PropType<T[K]>;
|
|
113
|
+
required: true;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
type __VLS_WithDefaults<P, D> = {
|
|
117
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
118
|
+
default: D[K];
|
|
119
|
+
}> : P[K];
|
|
120
|
+
};
|
|
121
|
+
type __VLS_Prettify<T> = {
|
|
122
|
+
[K in keyof T]: T[K];
|
|
123
|
+
} & {};
|
|
124
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
125
|
+
new (): {
|
|
126
|
+
$slots: S;
|
|
127
|
+
};
|
|
128
|
+
};
|