@bbn/bbn 1.0.63 → 1.0.64
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/bundle.js +1 -1
- package/dist/fn/type/isCp.js +1 -1
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -1369,7 +1369,7 @@
|
|
|
1369
1369
|
if ('cp' in bbn && 'isComponent' in bbn['cp'] && (typeof bbn['cp'].isComponent === 'function')) {
|
|
1370
1370
|
for (let a of args) {
|
|
1371
1371
|
let res = bbn.cp.isComponent(a);
|
|
1372
|
-
if (!res || (0, isDom_1.isDom)(res) || !res.$el) {
|
|
1372
|
+
if (!res || (0, isDom_1.isDom)(res) || !res.$el?.bbnCid) {
|
|
1373
1373
|
return false;
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
package/dist/fn/type/isCp.js
CHANGED
|
@@ -6,7 +6,7 @@ const isCp = function (...args) {
|
|
|
6
6
|
if ('cp' in bbn && 'isComponent' in bbn['cp'] && (typeof bbn['cp'].isComponent === 'function')) {
|
|
7
7
|
for (let a of args) {
|
|
8
8
|
let res = bbn.cp.isComponent(a);
|
|
9
|
-
if (!res || isDom(res) || !res.$el) {
|
|
9
|
+
if (!res || isDom(res) || !res.$el?.bbnCid) {
|
|
10
10
|
return false;
|
|
11
11
|
}
|
|
12
12
|
}
|