giime 0.6.22 → 0.6.23
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/index.css +58 -57
- package/es/components/src/base/dialog/dialog.d.ts +2 -0
- package/es/components/src/base/dialog/dialog.mjs.map +1 -1
- package/es/components/src/base/timeSelect/TimeSelect.vue2.mjs.map +1 -1
- package/es/components/src/base/timeSelect/timeSelect.mjs +1 -1
- package/es/components/src/base/timeSelect/timeSelect.mjs.map +1 -1
- package/es/components/src/base/tourStep/TourStep.vue.d.ts +9 -9
- package/es/components/src/base/tourStep/TourStep.vue2.mjs +1 -1
- package/es/components/src/base/tourStep/TourStep.vue2.mjs.map +1 -1
- package/es/components/src/base/tourStep/tourStep.d.ts +4 -4
- package/es/components/src/base/tourStep/tourStep.mjs +1 -1
- package/es/components/src/base/tourStep/tourStep.mjs.map +1 -1
- package/es/components/src/composite/importDialog/ImportDialog.vue.d.ts +17 -0
- package/es/components/src/composite/importDialog/ImportDialog.vue2.mjs +5 -8
- package/es/components/src/composite/importDialog/ImportDialog.vue2.mjs.map +1 -1
- package/es/components/src/composite/importDialog/importDialog.d.ts +11 -0
- package/es/components/src/composite/importDialog/importDialog.mjs +10 -0
- package/es/components/src/composite/importDialog/importDialog.mjs.map +1 -1
- package/es/components/src/composite/importDialog/index.d.ts +35 -0
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/index.css +58 -57
- package/lib/components/src/base/dialog/dialog.d.ts +2 -0
- package/lib/components/src/base/dialog/dialog.js.map +1 -1
- package/lib/components/src/base/timeSelect/TimeSelect.vue2.js.map +1 -1
- package/lib/components/src/base/timeSelect/timeSelect.js +2 -2
- package/lib/components/src/base/timeSelect/timeSelect.js.map +1 -1
- package/lib/components/src/base/tourStep/TourStep.vue.d.ts +9 -9
- package/lib/components/src/base/tourStep/TourStep.vue2.js +2 -2
- package/lib/components/src/base/tourStep/TourStep.vue2.js.map +1 -1
- package/lib/components/src/base/tourStep/tourStep.d.ts +4 -4
- package/lib/components/src/base/tourStep/tourStep.js +3 -3
- package/lib/components/src/base/tourStep/tourStep.js.map +1 -1
- package/lib/components/src/composite/importDialog/ImportDialog.vue.d.ts +17 -0
- package/lib/components/src/composite/importDialog/ImportDialog.vue2.js +4 -7
- package/lib/components/src/composite/importDialog/ImportDialog.vue2.js.map +1 -1
- package/lib/components/src/composite/importDialog/importDialog.d.ts +11 -0
- package/lib/components/src/composite/importDialog/importDialog.js +10 -0
- package/lib/components/src/composite/importDialog/importDialog.js.map +1 -1
- package/lib/components/src/composite/importDialog/index.d.ts +35 -0
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/index.css +58 -57
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -804,11 +804,6 @@ video {
|
|
|
804
804
|
.gm-group:hover .group-hover\:gm-block {
|
|
805
805
|
display: block;
|
|
806
806
|
}
|
|
807
|
-
|
|
808
|
-
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
809
|
-
margin: 0;
|
|
810
|
-
}
|
|
811
|
-
|
|
812
807
|
.gm-flex-center[data-v-c17deec9] {
|
|
813
808
|
align-items: center;
|
|
814
809
|
}
|
|
@@ -816,23 +811,42 @@ video {
|
|
|
816
811
|
.gm-flex-justify-between[data-v-c17deec9] {
|
|
817
812
|
justify-content: space-between;
|
|
818
813
|
}
|
|
819
|
-
.gm-
|
|
820
|
-
|
|
821
|
-
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
822
|
-
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
814
|
+
.gm-upload-preview-dialog[data-v-921404ff] [data-v-921404ff] .el-dialog__body {
|
|
815
|
+
padding: 0;
|
|
823
816
|
}
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
817
|
+
|
|
818
|
+
.gm-upload-file-picture-card[data-v-921404ff] [data-v-921404ff] .el-upload-list__item, .gm-upload-file-picture-card[data-v-921404ff] [data-v-921404ff] .el-upload--picture-card {
|
|
819
|
+
width: auto;
|
|
820
|
+
height: auto;
|
|
821
|
+
}
|
|
822
|
+
.gm-upload-file {
|
|
823
|
+
line-height: normal;
|
|
824
|
+
}
|
|
825
|
+
.gm-upload-file .el-checkbox {
|
|
826
|
+
position: absolute;
|
|
827
|
+
left: 10px;
|
|
828
|
+
top: 0;
|
|
829
|
+
z-index: 9;
|
|
830
|
+
}
|
|
831
|
+
.gm-upload-file .el-upload-list__item-file-name {
|
|
832
|
+
line-height: normal;
|
|
833
|
+
}
|
|
834
|
+
.gm-upload-file .el-upload-dragger {
|
|
835
|
+
padding: 0;
|
|
836
|
+
border: none;
|
|
837
|
+
width: 100%;
|
|
838
|
+
height: 100%;
|
|
839
|
+
display: flex;
|
|
840
|
+
}
|
|
841
|
+
.gm-upload-file .el-upload--picture-card {
|
|
842
|
+
border: none;
|
|
827
843
|
}
|
|
828
844
|
|
|
829
|
-
.gm-
|
|
845
|
+
.gm-upload-file-disabled .el-upload--picture-card {
|
|
830
846
|
display: none;
|
|
831
|
-
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
832
847
|
}
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
display: flex;
|
|
848
|
+
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
849
|
+
display: none;
|
|
836
850
|
}
|
|
837
851
|
.circular[data-v-d7b04fae] {
|
|
838
852
|
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
@@ -865,6 +879,15 @@ video {
|
|
|
865
879
|
stroke-dashoffset: -120px;
|
|
866
880
|
}
|
|
867
881
|
}
|
|
882
|
+
|
|
883
|
+
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
884
|
+
margin: 0;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
[data-v-488ca110] .gmSearchForm .el-form-item {
|
|
888
|
+
margin-right: 0;
|
|
889
|
+
margin-bottom: 4px;
|
|
890
|
+
}
|
|
868
891
|
[data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
869
892
|
border-right: none;
|
|
870
893
|
}
|
|
@@ -888,52 +911,30 @@ video {
|
|
|
888
911
|
[data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
|
|
889
912
|
height: 0;
|
|
890
913
|
}
|
|
891
|
-
.gm-upload-preview-dialog[data-v-921404ff] [data-v-921404ff] .el-dialog__body {
|
|
892
|
-
padding: 0;
|
|
893
|
-
}
|
|
894
914
|
|
|
895
|
-
.
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
}
|
|
899
|
-
[data-v-488ca110] .gmSearchForm .el-form-item {
|
|
900
|
-
margin-right: 0;
|
|
901
|
-
margin-bottom: 4px;
|
|
902
|
-
}
|
|
903
|
-
.gm-upload-file {
|
|
904
|
-
line-height: normal;
|
|
905
|
-
}
|
|
906
|
-
.gm-upload-file .el-checkbox {
|
|
907
|
-
position: absolute;
|
|
908
|
-
left: 10px;
|
|
909
|
-
top: 0;
|
|
910
|
-
z-index: 9;
|
|
911
|
-
}
|
|
912
|
-
.gm-upload-file .el-upload-list__item-file-name {
|
|
913
|
-
line-height: normal;
|
|
914
|
-
}
|
|
915
|
-
.gm-upload-file .el-upload-dragger {
|
|
916
|
-
padding: 0;
|
|
917
|
-
border: none;
|
|
918
|
-
width: 100%;
|
|
919
|
-
height: 100%;
|
|
920
|
-
display: flex;
|
|
915
|
+
.pagination-container[data-v-47d35e7b] {
|
|
916
|
+
background: #fff;
|
|
917
|
+
padding-top: 12px;
|
|
921
918
|
}
|
|
922
|
-
.
|
|
923
|
-
|
|
919
|
+
.pagination-container.hidden[data-v-47d35e7b] {
|
|
920
|
+
display: none;
|
|
924
921
|
}
|
|
925
922
|
|
|
926
|
-
.gm-
|
|
927
|
-
|
|
923
|
+
.gm-number-interval-single[data-v-4e6f4d6f] {
|
|
924
|
+
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
925
|
+
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
926
|
+
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
928
927
|
}
|
|
929
|
-
.gm-
|
|
930
|
-
|
|
928
|
+
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
929
|
+
box-shadow: none;
|
|
930
|
+
background: none;
|
|
931
931
|
}
|
|
932
932
|
|
|
933
|
-
.
|
|
934
|
-
background: #fff;
|
|
935
|
-
padding-top: 12px;
|
|
936
|
-
}
|
|
937
|
-
.pagination-container.hidden[data-v-47d35e7b] {
|
|
933
|
+
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
938
934
|
display: none;
|
|
935
|
+
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
939
936
|
}
|
|
937
|
+
|
|
938
|
+
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
939
|
+
display: flex;
|
|
940
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
1
2
|
export declare const dialogProps: {
|
|
2
3
|
appendToBody: BooleanConstructor;
|
|
3
4
|
appendTo: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown, "body", boolean>;
|
|
@@ -60,3 +61,4 @@ export declare const dialogEmits: {
|
|
|
60
61
|
openAutoFocus: () => boolean;
|
|
61
62
|
closeAutoFocus: () => boolean;
|
|
62
63
|
};
|
|
64
|
+
export type DialogProps = ExtractPropTypes<typeof dialogProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.mjs","sources":["../../../../../../../packages/components/src/base/dialog/dialog.ts"],"sourcesContent":["import { dialogEmits as elDialogEmits, dialogProps as elDialogProps } from 'element-plus';\n// import type { ExtractPropTypes } from 'vue';\n\nexport const dialogProps = {\n ...elDialogProps,\n};\n\nexport const dialogEmits = {\n ...elDialogEmits,\n // 自定义事件\n // submit: (value: any) => !!value,\n};\n"],"names":["elDialogProps","elDialogEmits"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"dialog.mjs","sources":["../../../../../../../packages/components/src/base/dialog/dialog.ts"],"sourcesContent":["import { dialogEmits as elDialogEmits, dialogProps as elDialogProps } from 'element-plus';\nimport type { ExtractPropTypes } from 'vue';\n// import type { ExtractPropTypes } from 'vue';\n\nexport const dialogProps = {\n ...elDialogProps,\n};\n\nexport const dialogEmits = {\n ...elDialogEmits,\n // 自定义事件\n // submit: (value: any) => !!value,\n};\nexport type DialogProps = ExtractPropTypes<typeof dialogProps>;\n"],"names":["elDialogProps","elDialogEmits"],"mappings":";;AAIO,MAAM,WAAc,GAAA;AAAA,EACzB,GAAGA,aAAA;AACL,EAAA;AAEO,MAAM,WAAc,GAAA;AAAA,EACzB,GAAGC,aAAA;AAAA;AAAA;AAGL;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeSelect.vue2.mjs","sources":["../../../../../../../packages/components/src/base/timeSelect/TimeSelect.vue"],"sourcesContent":["<template>\n <el-time-select ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.default\" #default=\"slotValue\">\n <slot v-bind=\"slotValue\" />\n </template>\n </el-time-select>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmEvent, getGmExports } from '@giime/utils';\nimport { ElTimeSelect } from 'element-plus';\nimport { elTimeSelectEmits, timeSelectEmits, timeSelectProps } from './timeSelect';\nimport type { TimeSelectInstance } from 'element-plus/es/components/time-select/
|
|
1
|
+
{"version":3,"file":"TimeSelect.vue2.mjs","sources":["../../../../../../../packages/components/src/base/timeSelect/TimeSelect.vue"],"sourcesContent":["<template>\n <el-time-select ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.default\" #default=\"slotValue\">\n <slot v-bind=\"slotValue\" />\n </template>\n </el-time-select>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmEvent, getGmExports } from '@giime/utils';\nimport { ElTimeSelect } from 'element-plus';\nimport { elTimeSelectEmits, timeSelectEmits, timeSelectProps } from './timeSelect';\nimport type { TimeSelectInstance } from 'element-plus/es/components/time-select/index';\ndefineOptions({\n name: 'GmTimeSelect',\n});\nconst slots = useSlots();\nconst props = defineProps(timeSelectProps);\nconst emit = defineEmits(timeSelectEmits);\n// 重发el的事件\nconst elEvents = getGmEvent(elTimeSelectEmits, emit);\nconst elRef = ref<TimeSelectInstance>();\nconst exposeEvents = ['focus', 'blur'] as const;\nconst { exposeFns } = getGmExports(elRef, exposeEvents);\ndefineExpose({\n ...exposeFns,\n});\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgBA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;AAEb,IAAM,MAAA,QAAA,GAAW,UAAW,CAAA,iBAAA,EAAmB,IAAI,CAAA,CAAA;AACnD,IAAA,MAAM,QAAQ,GAAwB,EAAA,CAAA;AACtC,IAAM,MAAA,YAAA,GAAe,CAAC,OAAA,EAAS,MAAM,CAAA,CAAA;AACrC,IAAA,MAAM,EAAE,SAAA,EAAc,GAAA,YAAA,CAAa,OAAO,YAAY,CAAA,CAAA;AACtD,IAAa,QAAA,CAAA;AAAA,MACX,GAAG,SAAA;AAAA,KACJ,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeSelect.mjs","sources":["../../../../../../../packages/components/src/base/timeSelect/timeSelect.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { timeSelectProps as elTimeSelectProps } from 'element-plus/es/components/time-select/
|
|
1
|
+
{"version":3,"file":"timeSelect.mjs","sources":["../../../../../../../packages/components/src/base/timeSelect/timeSelect.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { timeSelectProps as elTimeSelectProps } from 'element-plus/es/components/time-select/index';\nexport const timeSelectProps = {\n ...elTimeSelectProps,\n};\n\nexport const elTimeSelectEmits = {\n 'update:modelValue': (val: any) => {},\n change: (val: any) => {},\n blur: (event: FocusEvent) => {},\n focus: (event: FocusEvent) => {},\n};\n\nexport const timeSelectEmits = {\n ...elTimeSelectEmits,\n // 自定义事件\n // submit: (value: any) => !!value,\n};\n"],"names":["elTimeSelectProps"],"mappings":";;AAEO,MAAM,eAAkB,GAAA;AAAA,EAC7B,GAAGA,iBAAA;AACL,EAAA;AAEO,MAAM,iBAAoB,GAAA;AAAA,EAC/B,mBAAA,EAAqB,CAAC,GAAa,KAAA;AAAA,GAAC;AAAA,EACpC,MAAA,EAAQ,CAAC,GAAa,KAAA;AAAA,GAAC;AAAA,EACvB,IAAA,EAAM,CAAC,KAAsB,KAAA;AAAA,GAAC;AAAA,EAC9B,KAAA,EAAO,CAAC,KAAsB,KAAA;AAAA,GAAC;AACjC,EAAA;AAEO,MAAM,eAAkB,GAAA;AAAA,EAC7B,GAAG,iBAAA;AAAA;AAAA;AAGL;;;;"}
|
|
@@ -19,10 +19,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
19
19
|
mask: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
20
20
|
style?: import("vue").CSSProperties | undefined;
|
|
21
21
|
color?: string | undefined;
|
|
22
|
-
}) | (() => import("element-plus").TourMask) | ((new (...args: any[]) => boolean | {
|
|
22
|
+
}) | (() => import("element-plus/es/components/tour").TourMask) | ((new (...args: any[]) => boolean | {
|
|
23
23
|
style?: import("vue").CSSProperties | undefined;
|
|
24
24
|
color?: string | undefined;
|
|
25
|
-
}) | (() => import("element-plus").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
25
|
+
}) | (() => import("element-plus/es/components/tour").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
26
26
|
contentStyle: {
|
|
27
27
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
28
28
|
readonly required: false;
|
|
@@ -30,13 +30,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
30
30
|
__epPropKey: true;
|
|
31
31
|
};
|
|
32
32
|
prevButtonProps: {
|
|
33
|
-
readonly type: import("vue").PropType<import("element-plus").TourBtnProps>;
|
|
33
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/tour").TourBtnProps>;
|
|
34
34
|
readonly required: false;
|
|
35
35
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
36
|
__epPropKey: true;
|
|
37
37
|
};
|
|
38
38
|
nextButtonProps: {
|
|
39
|
-
readonly type: import("vue").PropType<import("element-plus").TourBtnProps>;
|
|
39
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/tour").TourBtnProps>;
|
|
40
40
|
readonly required: false;
|
|
41
41
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
42
|
__epPropKey: true;
|
|
@@ -71,10 +71,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
71
71
|
mask: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
72
72
|
style?: import("vue").CSSProperties | undefined;
|
|
73
73
|
color?: string | undefined;
|
|
74
|
-
}) | (() => import("element-plus").TourMask) | ((new (...args: any[]) => boolean | {
|
|
74
|
+
}) | (() => import("element-plus/es/components/tour").TourMask) | ((new (...args: any[]) => boolean | {
|
|
75
75
|
style?: import("vue").CSSProperties | undefined;
|
|
76
76
|
color?: string | undefined;
|
|
77
|
-
}) | (() => import("element-plus").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
77
|
+
}) | (() => import("element-plus/es/components/tour").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
78
78
|
contentStyle: {
|
|
79
79
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
80
80
|
readonly required: false;
|
|
@@ -82,13 +82,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
82
82
|
__epPropKey: true;
|
|
83
83
|
};
|
|
84
84
|
prevButtonProps: {
|
|
85
|
-
readonly type: import("vue").PropType<import("element-plus").TourBtnProps>;
|
|
85
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/tour").TourBtnProps>;
|
|
86
86
|
readonly required: false;
|
|
87
87
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
88
88
|
__epPropKey: true;
|
|
89
89
|
};
|
|
90
90
|
nextButtonProps: {
|
|
91
|
-
readonly type: import("vue").PropType<import("element-plus").TourBtnProps>;
|
|
91
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/tour").TourBtnProps>;
|
|
92
92
|
readonly required: false;
|
|
93
93
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
94
|
__epPropKey: true;
|
|
@@ -103,7 +103,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
103
103
|
}>> & {
|
|
104
104
|
onClose?: (() => any) | undefined;
|
|
105
105
|
}, {
|
|
106
|
-
mask: import("element-plus").TourMask;
|
|
106
|
+
mask: import("element-plus/es/components/tour").TourMask;
|
|
107
107
|
showClose: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
108
108
|
placement: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@floating-ui/dom").Placement) | ((new (...args: any[]) => "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@floating-ui/dom").Placement))[], "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>;
|
|
109
109
|
scrollIntoViewOptions: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useSlots, resolveComponent, openBlock, createBlock, mergeProps, toHandlers, unref, createSlots, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import '../../../../utils/index.mjs';
|
|
3
|
-
import { tourStepEmits as tourStepEmits$1 } from 'element-plus/es/components/tour/
|
|
3
|
+
import { tourStepEmits as tourStepEmits$1 } from 'element-plus/es/components/tour/index';
|
|
4
4
|
import { tourStepProps, tourStepEmits } from './tourStep.mjs';
|
|
5
5
|
import { getGmEvent } from '../../../../utils/src/elementPlus/event.mjs';
|
|
6
6
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TourStep.vue2.mjs","sources":["../../../../../../../packages/components/src/base/tourStep/TourStep.vue"],"sourcesContent":["<template>\n <el-tour-step ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.default\" #default>\n <slot />\n </template>\n <template v-if=\"slots.header\" #header>\n <slot name=\"header\" />\n </template>\n </el-tour-step>\n</template>\n<script lang=\"ts\" setup>\nimport { useSlots } from 'vue';\nimport { getGmEvent } from '@giime/utils';\nimport { tourStepEmits as elTourStepEmits } from 'element-plus/es/components/tour/
|
|
1
|
+
{"version":3,"file":"TourStep.vue2.mjs","sources":["../../../../../../../packages/components/src/base/tourStep/TourStep.vue"],"sourcesContent":["<template>\n <el-tour-step ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.default\" #default>\n <slot />\n </template>\n <template v-if=\"slots.header\" #header>\n <slot name=\"header\" />\n </template>\n </el-tour-step>\n</template>\n<script lang=\"ts\" setup>\nimport { useSlots } from 'vue';\nimport { getGmEvent } from '@giime/utils';\nimport { tourStepEmits as elTourStepEmits } from 'element-plus/es/components/tour/index';\nimport { tourStepEmits, tourStepProps } from './tourStep';\n\ndefineOptions({\n name: 'GmTourStep',\n});\nconst slots = useSlots();\nconst props = defineProps(tourStepProps);\nconst emit = defineEmits(tourStepEmits);\n// 重发el的事件\nconst elEvents = getGmEvent(elTourStepEmits, emit);\n</script>\n"],"names":["elTourStepEmits"],"mappings":";;;;;;;;;;;;;;AAmBA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;AAEb,IAAM,MAAA,QAAA,GAAW,UAAW,CAAAA,eAAA,EAAiB,IAAI,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -20,10 +20,10 @@ export declare const tourStepProps: {
|
|
|
20
20
|
mask: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
21
21
|
style?: import("vue").CSSProperties | undefined;
|
|
22
22
|
color?: string | undefined;
|
|
23
|
-
}) | (() => import("element-plus").TourMask) | ((new (...args: any[]) => boolean | {
|
|
23
|
+
}) | (() => import("element-plus/es/components/tour").TourMask) | ((new (...args: any[]) => boolean | {
|
|
24
24
|
style?: import("vue").CSSProperties | undefined;
|
|
25
25
|
color?: string | undefined;
|
|
26
|
-
}) | (() => import("element-plus").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
26
|
+
}) | (() => import("element-plus/es/components/tour").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
27
27
|
contentStyle: {
|
|
28
28
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
29
29
|
readonly required: false;
|
|
@@ -31,13 +31,13 @@ export declare const tourStepProps: {
|
|
|
31
31
|
__epPropKey: true;
|
|
32
32
|
};
|
|
33
33
|
prevButtonProps: {
|
|
34
|
-
readonly type: import("vue").PropType<import("element-plus").TourBtnProps>;
|
|
34
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/tour").TourBtnProps>;
|
|
35
35
|
readonly required: false;
|
|
36
36
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
37
|
__epPropKey: true;
|
|
38
38
|
};
|
|
39
39
|
nextButtonProps: {
|
|
40
|
-
readonly type: import("vue").PropType<import("element-plus").TourBtnProps>;
|
|
40
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/tour").TourBtnProps>;
|
|
41
41
|
readonly required: false;
|
|
42
42
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
43
43
|
__epPropKey: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { tourStepProps as tourStepProps$1, tourStepEmits as tourStepEmits$1 } from 'element-plus/es/components/tour/
|
|
1
|
+
import { tourStepProps as tourStepProps$1, tourStepEmits as tourStepEmits$1 } from 'element-plus/es/components/tour/index';
|
|
2
2
|
|
|
3
3
|
const tourStepProps = {
|
|
4
4
|
...tourStepProps$1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tourStep.mjs","sources":["../../../../../../../packages/components/src/base/tourStep/tourStep.ts"],"sourcesContent":["// import { tourStepEmits as elTourStepEmits, } from 'element-plus';\nimport { tourStepEmits as elTourStepEmits, tourStepProps as elTourStepProps } from 'element-plus/es/components/tour/
|
|
1
|
+
{"version":3,"file":"tourStep.mjs","sources":["../../../../../../../packages/components/src/base/tourStep/tourStep.ts"],"sourcesContent":["// import { tourStepEmits as elTourStepEmits, } from 'element-plus';\nimport { tourStepEmits as elTourStepEmits, tourStepProps as elTourStepProps } from 'element-plus/es/components/tour/index';\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport type { Placement, Strategy, VirtualElement } from '@floating-ui/dom';\nexport const tourStepProps = {\n ...elTourStepProps,\n};\n\nexport const tourStepEmits = {\n ...elTourStepEmits,\n // 自定义事件\n};\n"],"names":["elTourStepProps","elTourStepEmits"],"mappings":";;AAIO,MAAM,aAAgB,GAAA;AAAA,EAC3B,GAAGA,eAAA;AACL,EAAA;AAEO,MAAM,aAAgB,GAAA;AAAA,EAC3B,GAAGC,eAAA;AAAA;AAEL;;;;"}
|
|
@@ -66,6 +66,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
66
66
|
errorReselect: {
|
|
67
67
|
type: BooleanConstructor;
|
|
68
68
|
};
|
|
69
|
+
dialogProps: {
|
|
70
|
+
type: import("vue").PropType<Partial<import("../../base").DialogProps>>;
|
|
71
|
+
default: () => {
|
|
72
|
+
title: string;
|
|
73
|
+
width: string;
|
|
74
|
+
appendToBody: boolean;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
69
77
|
}, {
|
|
70
78
|
submit: () => void;
|
|
71
79
|
abort: (file: UploadFile) => void;
|
|
@@ -142,6 +150,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
142
150
|
errorReselect: {
|
|
143
151
|
type: BooleanConstructor;
|
|
144
152
|
};
|
|
153
|
+
dialogProps: {
|
|
154
|
+
type: import("vue").PropType<Partial<import("../../base").DialogProps>>;
|
|
155
|
+
default: () => {
|
|
156
|
+
title: string;
|
|
157
|
+
width: string;
|
|
158
|
+
appendToBody: boolean;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
145
161
|
}>> & {
|
|
146
162
|
"onUpdate:fileList"?: ((fileList: UploadUserFile[]) => any) | undefined;
|
|
147
163
|
onDownloadTemplate?: (() => any) | undefined;
|
|
@@ -155,6 +171,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
155
171
|
accept: string;
|
|
156
172
|
httpRequest: import("element-plus").UploadRequestHandler;
|
|
157
173
|
errorReselect: boolean;
|
|
174
|
+
dialogProps: Partial<import("../../base").DialogProps>;
|
|
158
175
|
}, {}>, {
|
|
159
176
|
default?(_: {}): any;
|
|
160
177
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createElementVNode, createTextVNode, defineComponent, mergeModels, useModel, ref, resolveComponent, openBlock, createElementBlock, Fragment, createCommentVNode, createVNode, withCtx, unref, withModifiers, renderSlot } from 'vue';
|
|
1
|
+
import { createElementVNode, createTextVNode, defineComponent, mergeModels, useModel, ref, resolveComponent, openBlock, createElementBlock, Fragment, createCommentVNode, createVNode, mergeProps, withCtx, unref, withModifiers, renderSlot } from 'vue';
|
|
2
2
|
import { genFileId } from 'element-plus';
|
|
3
3
|
import { getGmExports } from '../../../../utils/src/elementPlus/exports.mjs';
|
|
4
4
|
import { GmMessage } from '../../plugins/message/index.mjs';
|
|
@@ -109,13 +109,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
109
109
|
null,
|
|
110
110
|
[
|
|
111
111
|
createCommentVNode(" \u5BFC\u5165\u5BF9\u8BDD\u6846 "),
|
|
112
|
-
createVNode(_component_gm_dialog, {
|
|
112
|
+
createVNode(_component_gm_dialog, mergeProps(_ctx.dialogProps, {
|
|
113
113
|
modelValue: dialogVisible.value,
|
|
114
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event)
|
|
115
|
-
|
|
116
|
-
width: "480px",
|
|
117
|
-
"append-to-body": ""
|
|
118
|
-
}, {
|
|
114
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event)
|
|
115
|
+
}), {
|
|
119
116
|
footer: withCtx(() => [
|
|
120
117
|
createElementVNode("div", _hoisted_6, [
|
|
121
118
|
createVNode(_component_gm_button, {
|
|
@@ -190,7 +187,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
190
187
|
]),
|
|
191
188
|
_: 3
|
|
192
189
|
/* FORWARDED */
|
|
193
|
-
},
|
|
190
|
+
}, 16, ["modelValue"])
|
|
194
191
|
],
|
|
195
192
|
2112
|
|
196
193
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImportDialog.vue2.mjs","sources":["../../../../../../../packages/components/src/composite/importDialog/ImportDialog.vue"],"sourcesContent":["<template>\n <!-- 导入对话框 -->\n <gm-dialog v-
|
|
1
|
+
{"version":3,"file":"ImportDialog.vue2.mjs","sources":["../../../../../../../packages/components/src/composite/importDialog/ImportDialog.vue"],"sourcesContent":["<template>\n <!-- 导入对话框 -->\n <gm-dialog v-bind=\"dialogProps\" v-model=\"dialogVisible\">\n <div class=\" \">\n <div class=\"gm-mb-2 gm-bg-[#f5f5f5] gm-p-4\">\n <p class=\"gm-mb-3 gm-text-[13px]\">下载导入模板,根据模板提示完善内容</p>\n <gm-button :icon=\"Download\" @click.stop=\"emit('downloadTemplate')\"> 下载模板 </gm-button>\n </div>\n <slot />\n <gm-upload\n ref=\"uploadRef\"\n v-model:file-list=\"fileList\"\n action=\"\"\n :limit=\"1\"\n drag\n :accept=\"accept\"\n :http-request=\"httpRequest\"\n :on-exceed=\"handleExceed\"\n :on-success=\"handleSuccess\"\n :on-error=\"handleError\"\n :on-remove=\"onRemove\"\n :before-upload=\"beforeUpload\"\n :auto-upload=\"false\"\n class=\"gmUploadEl gm-mb-5\"\n >\n <el-icon class=\"el-icon--upload\"><upload-filled /></el-icon>\n <div class=\"el-upload__text\">将文件拖到此处,或 <em>点击上传</em></div>\n <div class=\"gm-text-[#999]\">限制1个文件,新文件将覆盖旧文件</div>\n </gm-upload>\n </div>\n\n <template #footer>\n <div class=\"dialog-footer\">\n <gm-button type=\"primary\" :loading=\"uploadLoading\" @click=\"submitUpload\">导 入</gm-button>\n <gm-button @click=\"closeDialog\">取 消</gm-button>\n </div>\n </template>\n </gm-dialog>\n</template>\n<script lang=\"ts\" setup>\nimport { ref } from 'vue';\nimport { genFileId } from 'element-plus';\nimport { getGmExports } from '@giime/utils/src/elementPlus/exports';\nimport { GmMessage } from '@giime/components/src/plugins/message';\nimport { Download, UploadFilled } from '@element-plus/icons-vue';\nimport { importDialogEmits, importDialogProps } from './importDialog';\nimport type { UploadInstance } from '../../base/upload';\nimport type { UploadFile, UploadFiles, UploadProps, UploadRawFile, UploadRequestOptions, UploadUserFile } from 'element-plus';\n\ndefineOptions({\n name: 'GmImportDialog',\n});\nconst props = defineProps(importDialogProps);\nconst emit = defineEmits(importDialogEmits);\n\nconst fileList = defineModel<UploadUserFile[]>('fileList', { default: () => [] });\nconst uploadRef = ref<UploadInstance>();\n\nconst handleExceed: UploadProps['onExceed'] = (files, uploadFiles) => {\n uploadRef.value!.clearFiles();\n const file = files[0] as UploadRawFile;\n file.uid = genFileId();\n uploadRef.value!.handleStart(file);\n props.onExceed?.(files, uploadFiles);\n};\n\nconst submitUpload = () => {\n if (fileList.value.length === 0) {\n return GmMessage.error('请选择文件');\n }\n uploadRef.value!.submit();\n emit('importClick');\n};\n/**\n * 编辑表单\n */\n// const dialogVisible = defineModel<boolean>('dialogVisible', { required: true });\nconst dialogVisible = ref(false);\n\n/** 新增按钮操作 */\nconst openDialog = () => {\n dialogVisible.value = true;\n};\n/** 取消按钮 */\nfunction closeDialog() {\n dialogVisible.value = false;\n reset();\n}\n/** 表单重置 */\nfunction reset() {\n fileList.value = [];\n uploadRef.value?.clearFiles();\n}\n\nconst uploadLoading = ref(false);\nconst httpRequest = (options: UploadRequestOptions) => {\n uploadLoading.value = true;\n return props.httpRequest(options);\n};\n// 上传成功\nfunction handleSuccess(response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) {\n uploadLoading.value = false;\n return props.onSuccess(response, uploadFile, uploadFiles);\n}\n// 上传失败\nconst handleError = (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => {\n const file = uploadFile.raw;\n if (props.errorReselect && file) {\n file.uid = genFileId();\n uploadRef.value?.handleStart(file);\n }\n uploadLoading.value = false;\n return props.onError(error, uploadFile, uploadFiles);\n};\n\nconst exposeNames = ['abort', 'submit', 'clearFiles', 'handleStart', 'handleRemove'] as const;\nconst { exposeFns } = getGmExports(uploadRef, exposeNames);\ndefineExpose({\n openDialog,\n closeDialog,\n reset,\n ...exposeFns,\n});\n</script>\n<!-- <style scoped lang=\"scss\">\n:deep(.gmUploadEl .el-upload-dragger) {\n // background-color: #f5f5f5;\n // border: none;\n}\n</style> -->\n"],"names":["_useModel"],"mappings":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import { type DialogProps } from '../../base/dialog/dialog';
|
|
1
3
|
export declare const importDialogProps: {
|
|
2
4
|
onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
3
5
|
(): (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
@@ -61,6 +63,15 @@ export declare const importDialogProps: {
|
|
|
61
63
|
errorReselect: {
|
|
62
64
|
type: BooleanConstructor;
|
|
63
65
|
};
|
|
66
|
+
/**dialog的属性 */
|
|
67
|
+
dialogProps: {
|
|
68
|
+
type: PropType<Partial<DialogProps>>;
|
|
69
|
+
default: () => {
|
|
70
|
+
title: string;
|
|
71
|
+
width: string;
|
|
72
|
+
appendToBody: boolean;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
64
75
|
};
|
|
65
76
|
export declare const importDialogEmits: {
|
|
66
77
|
/**
|
|
@@ -14,6 +14,16 @@ const importDialogProps = {
|
|
|
14
14
|
/**上传失败后的文件 是否重新选择,默认会被清除掉 */
|
|
15
15
|
errorReselect: {
|
|
16
16
|
type: Boolean
|
|
17
|
+
},
|
|
18
|
+
/**dialog的属性 */
|
|
19
|
+
dialogProps: {
|
|
20
|
+
type: Object,
|
|
21
|
+
// 配置选项
|
|
22
|
+
default: () => ({
|
|
23
|
+
title: "\u5BFC\u5165",
|
|
24
|
+
width: "480px",
|
|
25
|
+
appendToBody: true
|
|
26
|
+
})
|
|
17
27
|
}
|
|
18
28
|
};
|
|
19
29
|
const importDialogEmits = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"importDialog.mjs","sources":["../../../../../../../packages/components/src/composite/importDialog/importDialog.ts"],"sourcesContent":["// import { } from '../../base/dialog/dialog';\nimport { uploadProps } from '../../base/upload/upload';\nexport const importDialogProps = {\n onSuccess: uploadProps['onSuccess'],\n onError: uploadProps['onError'],\n httpRequest: uploadProps['httpRequest'],\n beforeUpload: uploadProps['beforeUpload'],\n onRemove: uploadProps['onRemove'],\n onExceed: uploadProps['onExceed'],\n accept: {\n type: String,\n default: '.xls, .xlsx, .csv, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv',\n },\n /**上传失败后的文件 是否重新选择,默认会被清除掉 */\n errorReselect: {\n type: Boolean,\n },\n};\n\nexport const importDialogEmits = {\n /**\n * 下载模板按钮点击事件\n */\n downloadTemplate: async () => {},\n /**\n * 点击导入按钮\n */\n importClick: async () => {},\n};\n"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"importDialog.mjs","sources":["../../../../../../../packages/components/src/composite/importDialog/importDialog.ts"],"sourcesContent":["// import { } from '../../base/dialog/dialog';\nimport type { PropType } from 'vue';\nimport { type DialogProps } from '../../base/dialog/dialog';\nimport { uploadProps } from '../../base/upload/upload';\nexport const importDialogProps = {\n onSuccess: uploadProps['onSuccess'],\n onError: uploadProps['onError'],\n httpRequest: uploadProps['httpRequest'],\n beforeUpload: uploadProps['beforeUpload'],\n onRemove: uploadProps['onRemove'],\n onExceed: uploadProps['onExceed'],\n accept: {\n type: String,\n default: '.xls, .xlsx, .csv, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv',\n },\n /**上传失败后的文件 是否重新选择,默认会被清除掉 */\n errorReselect: {\n type: Boolean,\n },\n /**dialog的属性 */\n dialogProps: {\n type: Object as PropType<Partial<DialogProps>>, // 配置选项\n default: () => ({\n title: '导入',\n width: '480px',\n appendToBody: true,\n }),\n },\n};\n\nexport const importDialogEmits = {\n /**\n * 下载模板按钮点击事件\n */\n downloadTemplate: async () => {},\n /**\n * 点击导入按钮\n */\n importClick: async () => {},\n};\n"],"names":[],"mappings":";;AAIO,MAAM,iBAAoB,GAAA;AAAA,EAC/B,SAAA,EAAW,YAAY,WAAW,CAAA;AAAA,EAClC,OAAA,EAAS,YAAY,SAAS,CAAA;AAAA,EAC9B,WAAA,EAAa,YAAY,aAAa,CAAA;AAAA,EACtC,YAAA,EAAc,YAAY,cAAc,CAAA;AAAA,EACxC,QAAA,EAAU,YAAY,UAAU,CAAA;AAAA,EAChC,QAAA,EAAU,YAAY,UAAU,CAAA;AAAA,EAChC,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,0HAAA;AAAA,GACX;AAAA;AAAA,EAEA,aAAe,EAAA;AAAA,IACb,IAAM,EAAA,OAAA;AAAA,GACR;AAAA;AAAA,EAEA,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,MAAA;AAAA;AAAA,IACN,SAAS,OAAO;AAAA,MACd,KAAO,EAAA,cAAA;AAAA,MACP,KAAO,EAAA,OAAA;AAAA,MACP,YAAc,EAAA,IAAA;AAAA,KAChB,CAAA;AAAA,GACF;AACF,EAAA;AAEO,MAAM,iBAAoB,GAAA;AAAA;AAAA;AAAA;AAAA,EAI/B,kBAAkB,YAAY;AAAA,GAAC;AAAA;AAAA;AAAA;AAAA,EAI/B,aAAa,YAAY;AAAA,GAAC;AAC5B;;;;"}
|
|
@@ -63,6 +63,14 @@ export declare const GmImportDialog: import("../../../../utils").SFCWithInstall<
|
|
|
63
63
|
errorReselect: {
|
|
64
64
|
type: BooleanConstructor;
|
|
65
65
|
};
|
|
66
|
+
dialogProps: {
|
|
67
|
+
type: import("vue").PropType<Partial<import("../../base/index.js").DialogProps>>;
|
|
68
|
+
default: () => {
|
|
69
|
+
title: string;
|
|
70
|
+
width: string;
|
|
71
|
+
appendToBody: boolean;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
66
74
|
}>> & {
|
|
67
75
|
"onUpdate:fileList"?: ((fileList: import("element-plus").UploadUserFile[]) => any) | undefined;
|
|
68
76
|
onDownloadTemplate?: (() => any) | undefined;
|
|
@@ -143,6 +151,14 @@ export declare const GmImportDialog: import("../../../../utils").SFCWithInstall<
|
|
|
143
151
|
errorReselect: {
|
|
144
152
|
type: BooleanConstructor;
|
|
145
153
|
};
|
|
154
|
+
dialogProps: {
|
|
155
|
+
type: import("vue").PropType<Partial<import("../../base/index.js").DialogProps>>;
|
|
156
|
+
default: () => {
|
|
157
|
+
title: string;
|
|
158
|
+
width: string;
|
|
159
|
+
appendToBody: boolean;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
146
162
|
}>> & {
|
|
147
163
|
"onUpdate:fileList"?: ((fileList: import("element-plus").UploadUserFile[]) => any) | undefined;
|
|
148
164
|
onDownloadTemplate?: (() => any) | undefined;
|
|
@@ -156,6 +172,7 @@ export declare const GmImportDialog: import("../../../../utils").SFCWithInstall<
|
|
|
156
172
|
accept: string;
|
|
157
173
|
httpRequest: import("element-plus").UploadRequestHandler;
|
|
158
174
|
errorReselect: boolean;
|
|
175
|
+
dialogProps: Partial<import("../../base/index.js").DialogProps>;
|
|
159
176
|
}, true, {}, {}, {
|
|
160
177
|
P: {};
|
|
161
178
|
B: {};
|
|
@@ -226,6 +243,14 @@ export declare const GmImportDialog: import("../../../../utils").SFCWithInstall<
|
|
|
226
243
|
errorReselect: {
|
|
227
244
|
type: BooleanConstructor;
|
|
228
245
|
};
|
|
246
|
+
dialogProps: {
|
|
247
|
+
type: import("vue").PropType<Partial<import("../../base/index.js").DialogProps>>;
|
|
248
|
+
default: () => {
|
|
249
|
+
title: string;
|
|
250
|
+
width: string;
|
|
251
|
+
appendToBody: boolean;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
229
254
|
}>> & {
|
|
230
255
|
"onUpdate:fileList"?: ((fileList: import("element-plus").UploadUserFile[]) => any) | undefined;
|
|
231
256
|
onDownloadTemplate?: (() => any) | undefined;
|
|
@@ -248,6 +273,7 @@ export declare const GmImportDialog: import("../../../../utils").SFCWithInstall<
|
|
|
248
273
|
accept: string;
|
|
249
274
|
httpRequest: import("element-plus").UploadRequestHandler;
|
|
250
275
|
errorReselect: boolean;
|
|
276
|
+
dialogProps: Partial<import("../../base/index.js").DialogProps>;
|
|
251
277
|
}>;
|
|
252
278
|
__isFragment?: undefined;
|
|
253
279
|
__isTeleport?: undefined;
|
|
@@ -315,6 +341,14 @@ export declare const GmImportDialog: import("../../../../utils").SFCWithInstall<
|
|
|
315
341
|
errorReselect: {
|
|
316
342
|
type: BooleanConstructor;
|
|
317
343
|
};
|
|
344
|
+
dialogProps: {
|
|
345
|
+
type: import("vue").PropType<Partial<import("../../base/index.js").DialogProps>>;
|
|
346
|
+
default: () => {
|
|
347
|
+
title: string;
|
|
348
|
+
width: string;
|
|
349
|
+
appendToBody: boolean;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
318
352
|
}>> & {
|
|
319
353
|
"onUpdate:fileList"?: ((fileList: import("element-plus").UploadUserFile[]) => any) | undefined;
|
|
320
354
|
onDownloadTemplate?: (() => any) | undefined;
|
|
@@ -341,6 +375,7 @@ export declare const GmImportDialog: import("../../../../utils").SFCWithInstall<
|
|
|
341
375
|
accept: string;
|
|
342
376
|
httpRequest: import("element-plus").UploadRequestHandler;
|
|
343
377
|
errorReselect: boolean;
|
|
378
|
+
dialogProps: Partial<import("../../base/index.js").DialogProps>;
|
|
344
379
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
345
380
|
$slots: {
|
|
346
381
|
default?(_: {}): any;
|
package/es/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.6.
|
|
1
|
+
export declare const version = "0.6.23";
|
package/es/giime/version.mjs
CHANGED
package/es/giime/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.6.
|
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.6.23';\n"],"names":[],"mappings":"AAAO,MAAM,OAAU,GAAA;;;;"}
|