@aipanel/ui 1.2.4 → 1.2.6
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.
|
@@ -13,13 +13,8 @@ const IGNORE_ATTRIBUTE = "data-v-inspector-ignore";
|
|
|
13
13
|
const KEY_PROPS_DATA = "__v_inspector";
|
|
14
14
|
const KEY_DATA = "data-v-inspector";
|
|
15
15
|
function getDirectText(element) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const child = element.childNodes[i];
|
|
19
|
-
if (child.nodeType === Node.TEXT_NODE) {
|
|
20
|
-
text += child.textContent || "";
|
|
21
|
-
}
|
|
22
|
-
}
|
|
16
|
+
const el = element;
|
|
17
|
+
const text = el.innerText || element.textContent || "";
|
|
23
18
|
return text.trim();
|
|
24
19
|
}
|
|
25
20
|
const DYNAMIC_ID_PATTERN = /^(?:el-|:r[0-9]+:|radix-|uid-|ts-|uuid-|id-[a-f0-9]{4,}|.*[0-9]{4,}.*|.*-[a-f0-9]{6,}$)/i;
|
package/es/index.d.ts
CHANGED
package/es/index.mjs
CHANGED
|
@@ -45,13 +45,8 @@ const IGNORE_ATTRIBUTE = "data-v-inspector-ignore";
|
|
|
45
45
|
const KEY_PROPS_DATA = "__v_inspector";
|
|
46
46
|
const KEY_DATA = "data-v-inspector";
|
|
47
47
|
function getDirectText(element) {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
const child = element.childNodes[i];
|
|
51
|
-
if (child.nodeType === Node.TEXT_NODE) {
|
|
52
|
-
text += child.textContent || "";
|
|
53
|
-
}
|
|
54
|
-
}
|
|
48
|
+
const el = element;
|
|
49
|
+
const text = el.innerText || element.textContent || "";
|
|
55
50
|
return text.trim();
|
|
56
51
|
}
|
|
57
52
|
const DYNAMIC_ID_PATTERN = /^(?:el-|:r[0-9]+:|radix-|uid-|ts-|uuid-|id-[a-f0-9]{4,}|.*[0-9]{4,}.*|.*-[a-f0-9]{6,}$)/i;
|
package/lib/index.cjs
CHANGED
|
@@ -26,7 +26,7 @@ module.exports = __toCommonJS(lib_exports);
|
|
|
26
26
|
var import_AI_panel_widget = require("./AI-panel-widget/index.cjs");
|
|
27
27
|
__reExport(lib_exports, require("./AI-panel-widget/index.cjs"), module.exports);
|
|
28
28
|
__reExport(lib_exports, require("./setup.cjs"), module.exports);
|
|
29
|
-
const version = "1.2.
|
|
29
|
+
const version = "1.2.6";
|
|
30
30
|
function install(app, options) {
|
|
31
31
|
const components = [
|
|
32
32
|
import_AI_panel_widget.AIPanelWidget
|
package/lib/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aipanel/ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "Reusable AIPanel widget components built with Pagoda CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.cjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"css-selector-generator": "^3.9.2",
|
|
34
|
-
"@aipanel/core": "1.2.
|
|
34
|
+
"@aipanel/core": "1.2.6"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "pagoda-cli build",
|