Skip to content

Commit c0d04f7

Browse files
committed
chore: add oruga at first since it can have multiple ui
1 parent f62ac29 commit c0d04f7

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

detectors/uis.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
{
2+
"oruga": {
3+
"metas": {
4+
"slug": "oruga",
5+
"name": "Oruga",
6+
"imgPath": "/ui/oruga.svg",
7+
"url": "https://oruga.io"
8+
},
9+
"detectors": {
10+
"js": [
11+
"[...document.querySelectorAll('*')].map((el) => Boolean(el.__vue__ && el.__vue__.$oruga)).filter(Boolean).length",
12+
"[...document.querySelectorAll('*')].filter((el) => ['o-autocomplete', 'o-button', 'o-checkbox ', 'o-collapse', 'o-dropdown', 'o-field', 'o-icon', 'o-input', 'o-loading', 'o-modal', 'o-pagination', 'o-radio', 'o-select', 'o-sidebar', 'o-skeleton', 'o-slider', 'o-steps', 'o-switch', 'o-table', 'o-tabs', 'o-tooltip', 'o-upload', 'o-carousel', 'o-dialog', 'o-clockpicker', 'o-datepicker', 'o-datimepicker', 'o-numberinput', 'o-timepicker', 'o-taginput', 'o-image', 'o-notification', 'o-navbar', 'o-menu', 'o-tag'].includes(el.__vue__?.$options._componentTag)).length"
13+
]
14+
}
15+
},
216
"element-ui": {
317
"metas": {
418
"slug": "element-ui",
@@ -89,19 +103,5 @@
89103
"detectors": {
90104
"js": "[...document.querySelectorAll('*')].map((el) => Boolean(el.__vue__ && el.__vue__.$chakra)).filter(Boolean).length"
91105
}
92-
},
93-
"oruga": {
94-
"metas": {
95-
"slug": "oruga",
96-
"name": "Oruga",
97-
"imgPath": "/ui/oruga.svg",
98-
"url": "https://oruga.io"
99-
},
100-
"detectors": {
101-
"js": [
102-
"[...document.querySelectorAll('*')].map((el) => Boolean(el.__vue__ && el.__vue__.$oruga)).filter(Boolean).length",
103-
"[...document.querySelectorAll('*')].filter((el) => ['o-autocomplete', 'o-button', 'o-checkbox ', 'o-collapse', 'o-dropdown', 'o-field', 'o-icon', 'o-input', 'o-loading', 'o-modal', 'o-pagination', 'o-radio', 'o-select', 'o-sidebar', 'o-skeleton', 'o-slider', 'o-steps', 'o-switch', 'o-table', 'o-tabs', 'o-tooltip', 'o-upload', 'o-carousel', 'o-dialog', 'o-clockpicker', 'o-datepicker', 'o-datimepicker', 'o-numberinput', 'o-timepicker', 'o-taginput', 'o-image', 'o-notification', 'o-navbar', 'o-menu', 'o-tag'].includes(el.__vue__?.$options._componentTag)).length"
104-
]
105-
}
106106
}
107107
}

0 commit comments

Comments
 (0)