vue-devui 1.6.20 → 1.6.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/breadcrumb/index.es.js +6 -2
- package/breadcrumb/index.umd.js +2 -2
- package/category-search/index.es.js +6 -2
- package/category-search/index.umd.js +17 -17
- package/code-review/index.es.js +186 -9
- package/code-review/index.umd.js +27 -27
- package/code-review/style.css +1 -1
- package/data-grid/index.es.js +6 -2
- package/data-grid/index.umd.js +11 -11
- package/dropdown/index.es.js +6 -2
- package/dropdown/index.umd.js +2 -2
- package/editor-md/index.es.js +11 -11
- package/editor-md/index.umd.js +40 -44
- package/global.d.ts +0 -1
- package/package.json +1 -1
- package/pagination/index.es.js +6 -2
- package/pagination/index.umd.js +12 -12
- package/style.css +1 -1
- package/table/index.es.js +6 -2
- package/table/index.umd.js +11 -11
- package/tree/index.es.js +2 -2
- package/tree/index.umd.js +1 -1
- package/types/code-review/src/code-review-types.d.ts +4 -0
- package/types/code-review/src/composables/use-code-review-comment.d.ts +3 -0
- package/types/editor-md/src/icons-config.d.ts +1 -1
- package/vue-devui.es.js +199 -22
- package/vue-devui.umd.js +85 -89
package/global.d.ts
CHANGED
|
@@ -21,7 +21,6 @@ DCheckbox: typeof import('./types/vue-devui')['Checkbox']
|
|
|
21
21
|
DCheckboxGroup: typeof import('./types/vue-devui')['CheckboxGroup']
|
|
22
22
|
DCheckboxButton: typeof import('./types/vue-devui')['CheckboxButton']
|
|
23
23
|
DCodeEditor: typeof import('./types/vue-devui')['CodeEditor']
|
|
24
|
-
DCodeReview: typeof import('./types/vue-devui')['CodeReview']
|
|
25
24
|
DCollapse: typeof import('./types/vue-devui')['Collapse']
|
|
26
25
|
DCollapseItem: typeof import('./types/vue-devui')['CollapseItem']
|
|
27
26
|
DCountdown: typeof import('./types/vue-devui')['Countdown']
|
package/package.json
CHANGED
package/pagination/index.es.js
CHANGED
|
@@ -5536,11 +5536,15 @@ const formProps = {
|
|
|
5536
5536
|
const FORM_TOKEN = "dForm";
|
|
5537
5537
|
const STYLE_TOKEN = "dFormStyle";
|
|
5538
5538
|
const inBrowser = typeof window !== "undefined";
|
|
5539
|
+
function judgeFireIsElement(element) {
|
|
5540
|
+
const str = Object.prototype.toString.call(element);
|
|
5541
|
+
return str.includes("object") && str.includes("HTML") && str.includes("Element");
|
|
5542
|
+
}
|
|
5539
5543
|
function getElement(element) {
|
|
5540
|
-
if (element instanceof Element) {
|
|
5544
|
+
if (element instanceof Element || judgeFireIsElement(element)) {
|
|
5541
5545
|
return element;
|
|
5542
5546
|
}
|
|
5543
|
-
if (element && typeof element === "object" && element.$el instanceof Element) {
|
|
5547
|
+
if (element && typeof element === "object" && (element.$el instanceof Element || judgeFireIsElement(element.$el))) {
|
|
5544
5548
|
return element.$el;
|
|
5545
5549
|
}
|
|
5546
5550
|
return null;
|