giime 0.5.1 → 0.5.3
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 +24 -24
- package/es/components/src/base/checkbox/Checkbox.vue.d.ts +3 -3
- package/es/components/src/base/checkbox/index.d.ts +9 -9
- package/es/components/src/base/checkboxButton/CheckboxButton.vue.d.ts +3 -3
- package/es/components/src/base/checkboxButton/index.d.ts +9 -9
- package/es/components/src/base/radio/Radio.vue.d.ts +1 -1
- package/es/components/src/base/radio/index.d.ts +3 -3
- package/es/components/src/base/radioButton/RadioButton.vue.d.ts +1 -1
- package/es/components/src/base/radioButton/index.d.ts +3 -3
- package/es/components/src/base/tabPane/TabPane.vue.d.ts +3 -3
- package/es/components/src/base/tabPane/index.d.ts +9 -9
- package/es/components/src/base/tabs/Tabs.vue.d.ts +2 -2
- package/es/components/src/base/tabs/index.d.ts +6 -6
- package/es/components/src/base/tabs/tabs.d.ts +1 -1
- package/es/components/src/business/loginDialog/LoginDialog.vue.d.ts +9 -0
- package/es/components/src/business/loginDialog/LoginDialog.vue2.mjs +1 -1
- package/es/components/src/business/loginDialog/LoginDialog.vue2.mjs.map +1 -1
- package/es/components/src/business/loginDialog/loginDialog.d.ts +7 -0
- package/es/components/src/business/loginDialog/loginDialog.mjs +7 -0
- package/es/components/src/business/loginDialog/loginDialog.mjs.map +1 -1
- package/es/components/src/composite/operateButton/OperateButton.vue.d.ts +1 -1
- package/es/components/src/composite/operateButton/index.d.ts +1 -1
- package/es/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue.d.ts +1 -1
- package/es/components/src/composite/searchForm/searchFormItems/select/index.d.ts +1 -1
- package/es/components/src/composite/tablePro/TablePro.vue.d.ts +1 -1
- package/es/components/src/composite/tablePro/index.d.ts +3 -3
- package/es/constants/key.d.ts +2 -2
- package/es/constants/key.mjs.map +1 -1
- package/es/giime/index.mjs +1 -0
- package/es/giime/index.mjs.map +1 -1
- 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 +24 -24
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.mjs +1 -0
- package/es/utils/index.mjs.map +1 -1
- package/es/utils/src/tree.d.ts +12 -0
- package/es/utils/src/tree.mjs +19 -0
- package/es/utils/src/tree.mjs.map +1 -0
- package/lib/components/src/base/checkbox/Checkbox.vue.d.ts +3 -3
- package/lib/components/src/base/checkbox/index.d.ts +9 -9
- package/lib/components/src/base/checkboxButton/CheckboxButton.vue.d.ts +3 -3
- package/lib/components/src/base/checkboxButton/index.d.ts +9 -9
- package/lib/components/src/base/radio/Radio.vue.d.ts +1 -1
- package/lib/components/src/base/radio/index.d.ts +3 -3
- package/lib/components/src/base/radioButton/RadioButton.vue.d.ts +1 -1
- package/lib/components/src/base/radioButton/index.d.ts +3 -3
- package/lib/components/src/base/tabPane/TabPane.vue.d.ts +3 -3
- package/lib/components/src/base/tabPane/index.d.ts +9 -9
- package/lib/components/src/base/tabs/Tabs.vue.d.ts +2 -2
- package/lib/components/src/base/tabs/index.d.ts +6 -6
- package/lib/components/src/base/tabs/tabs.d.ts +1 -1
- package/lib/components/src/business/loginDialog/LoginDialog.vue.d.ts +9 -0
- package/lib/components/src/business/loginDialog/LoginDialog.vue2.js +1 -1
- package/lib/components/src/business/loginDialog/LoginDialog.vue2.js.map +1 -1
- package/lib/components/src/business/loginDialog/loginDialog.d.ts +7 -0
- package/lib/components/src/business/loginDialog/loginDialog.js +7 -0
- package/lib/components/src/business/loginDialog/loginDialog.js.map +1 -1
- package/lib/components/src/composite/operateButton/OperateButton.vue.d.ts +1 -1
- package/lib/components/src/composite/operateButton/index.d.ts +1 -1
- package/lib/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue.d.ts +1 -1
- package/lib/components/src/composite/searchForm/searchFormItems/select/index.d.ts +1 -1
- package/lib/components/src/composite/tablePro/TablePro.vue.d.ts +1 -1
- package/lib/components/src/composite/tablePro/index.d.ts +3 -3
- package/lib/constants/key.d.ts +2 -2
- package/lib/constants/key.js.map +1 -1
- package/lib/giime/index.js +6 -4
- package/lib/giime/index.js.map +1 -1
- 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 +24 -24
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +2 -0
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/src/tree.d.ts +12 -0
- package/lib/utils/src/tree.js +21 -0
- package/lib/utils/src/tree.js.map +1 -0
- package/package.json +1 -1
package/lib/index.css
CHANGED
|
@@ -782,22 +782,6 @@ video {
|
|
|
782
782
|
margin: 0;
|
|
783
783
|
}
|
|
784
784
|
|
|
785
|
-
.gm-upload-material .el-overlay-dialog {
|
|
786
|
-
display: flex;
|
|
787
|
-
align-items: center;
|
|
788
|
-
justify-content: center;
|
|
789
|
-
}
|
|
790
|
-
.gm-upload-material .el-dialog {
|
|
791
|
-
margin: 0;
|
|
792
|
-
}
|
|
793
|
-
.gm-upload-material .el-dialog__body {
|
|
794
|
-
max-height: calc(100vh - 100px);
|
|
795
|
-
overflow-y: auto;
|
|
796
|
-
}
|
|
797
|
-
.gm-upload-material .el-dialog__body video,
|
|
798
|
-
.gm-upload-material .el-dialog__body img {
|
|
799
|
-
max-height: calc(100vh - 150px);
|
|
800
|
-
}
|
|
801
785
|
[data-v-7c80c3b6] .el-upload-dragger {
|
|
802
786
|
padding: 10px;
|
|
803
787
|
border: none;
|
|
@@ -845,16 +829,21 @@ video {
|
|
|
845
829
|
stroke-dashoffset: -120px;
|
|
846
830
|
}
|
|
847
831
|
}
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
margin-bottom: 4px;
|
|
851
|
-
}
|
|
852
|
-
.gm-flex-center[data-v-2a79bac9] {
|
|
832
|
+
.gm-upload-material .el-overlay-dialog {
|
|
833
|
+
display: flex;
|
|
853
834
|
align-items: center;
|
|
835
|
+
justify-content: center;
|
|
854
836
|
}
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
837
|
+
.gm-upload-material .el-dialog {
|
|
838
|
+
margin: 0;
|
|
839
|
+
}
|
|
840
|
+
.gm-upload-material .el-dialog__body {
|
|
841
|
+
max-height: calc(100vh - 100px);
|
|
842
|
+
overflow-y: auto;
|
|
843
|
+
}
|
|
844
|
+
.gm-upload-material .el-dialog__body video,
|
|
845
|
+
.gm-upload-material .el-dialog__body img {
|
|
846
|
+
max-height: calc(100vh - 150px);
|
|
858
847
|
}
|
|
859
848
|
.gm-number-interval-single[data-v-47a13fd0] {
|
|
860
849
|
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
@@ -874,6 +863,17 @@ video {
|
|
|
874
863
|
.gm-number-interval-single[data-v-47a13fd0]:hover .gm-number-interval-close[data-v-47a13fd0] {
|
|
875
864
|
display: flex;
|
|
876
865
|
}
|
|
866
|
+
.gm-flex-center[data-v-2a79bac9] {
|
|
867
|
+
align-items: center;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
.gm-flex-justify-between[data-v-2a79bac9] {
|
|
871
|
+
justify-content: space-between;
|
|
872
|
+
}
|
|
873
|
+
[data-v-7b6755e2] .gmSearchForm .el-form-item {
|
|
874
|
+
margin-right: 0;
|
|
875
|
+
margin-bottom: 4px;
|
|
876
|
+
}
|
|
877
877
|
[data-v-668dc408] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
878
878
|
border-right: none;
|
|
879
879
|
}
|
package/lib/utils/index.d.ts
CHANGED
package/lib/utils/index.js
CHANGED
|
@@ -10,6 +10,7 @@ require('./src/date/index.js');
|
|
|
10
10
|
var file = require('./src/file.js');
|
|
11
11
|
var general = require('./src/general.js');
|
|
12
12
|
require('./src/crypto/index.js');
|
|
13
|
+
var tree = require('./src/tree.js');
|
|
13
14
|
var install = require('./src/vue/install.js');
|
|
14
15
|
var resolver = require('./src/vue/resolver.js');
|
|
15
16
|
var event = require('./src/elementPlus/event.js');
|
|
@@ -61,6 +62,7 @@ exports.compareVersions = general.compareVersions;
|
|
|
61
62
|
exports.isVersionGreaterOrEqual = general.isVersionGreaterOrEqual;
|
|
62
63
|
exports.omitOnEvents = general.omitOnEvents;
|
|
63
64
|
exports.remove = general.remove;
|
|
65
|
+
exports.findChildrenItem = tree.findChildrenItem;
|
|
64
66
|
exports.withInstall = install.withInstall;
|
|
65
67
|
exports.withInstallDirective = install.withInstallDirective;
|
|
66
68
|
exports.withInstallFunction = install.withInstallFunction;
|
package/lib/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface FindChildrenItem extends Record<string, any> {
|
|
2
|
+
label?: any;
|
|
3
|
+
value?: any;
|
|
4
|
+
children?: FindChildrenItem[];
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* 获取子节点
|
|
8
|
+
*/
|
|
9
|
+
export declare function findChildrenItem(options: FindChildrenItem[], targetValue: any, option?: {
|
|
10
|
+
value?: string;
|
|
11
|
+
children?: string;
|
|
12
|
+
}): FindChildrenItem | undefined;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function findChildrenItem(options, targetValue, option) {
|
|
4
|
+
const valueField = option?.value || "value";
|
|
5
|
+
const childrenField = option?.children || "children";
|
|
6
|
+
for (const option2 of options) {
|
|
7
|
+
if (option2[valueField] === targetValue) {
|
|
8
|
+
return option2;
|
|
9
|
+
}
|
|
10
|
+
if (option2[childrenField]) {
|
|
11
|
+
const found = findChildrenItem(option2[childrenField], targetValue);
|
|
12
|
+
if (found) {
|
|
13
|
+
return found;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return void 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
exports.findChildrenItem = findChildrenItem;
|
|
21
|
+
//# sourceMappingURL=tree.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree.js","sources":["../../../../../packages/utils/src/tree.ts"],"sourcesContent":["export interface FindChildrenItem extends Record<string, any> {\n label?: any;\n value?: any;\n children?: FindChildrenItem[];\n}\n/**\n * 获取子节点\n */\nexport function findChildrenItem(\n options: FindChildrenItem[],\n targetValue: any,\n option?: { value?: string; children?: string },\n): FindChildrenItem | undefined {\n const valueField = option?.value || 'value';\n const childrenField = option?.children || 'children';\n\n for (const option of options) {\n if (option[valueField] === targetValue) {\n return option;\n }\n if (option[childrenField]) {\n const found = findChildrenItem(option[childrenField], targetValue);\n\n if (found) {\n return found;\n }\n }\n }\n\n return undefined;\n}\n"],"names":["option"],"mappings":";;AAQgB,SAAA,gBAAA,CACd,OACA,EAAA,WAAA,EACA,MAC8B,EAAA;AAC9B,EAAM,MAAA,UAAA,GAAa,QAAQ,KAAS,IAAA,OAAA,CAAA;AACpC,EAAM,MAAA,aAAA,GAAgB,QAAQ,QAAY,IAAA,UAAA,CAAA;AAE1C,EAAA,KAAA,MAAWA,WAAU,OAAS,EAAA;AAC5B,IAAIA,IAAAA,OAAAA,CAAO,UAAU,CAAA,KAAM,WAAa,EAAA;AACtC,MAAOA,OAAAA,OAAAA,CAAAA;AAAA,KACT;AACA,IAAIA,IAAAA,OAAAA,CAAO,aAAa,CAAG,EAAA;AACzB,MAAA,MAAM,KAAQ,GAAA,gBAAA,CAAiBA,OAAO,CAAA,aAAa,GAAG,WAAW,CAAA,CAAA;AAEjE,MAAA,IAAI,KAAO,EAAA;AACT,QAAO,OAAA,KAAA,CAAA;AAAA,OACT;AAAA,KACF;AAAA,GACF;AAEA,EAAO,OAAA,KAAA,CAAA,CAAA;AACT;;;;"}
|