- ${this.open ? (_a = this.rows) === null || _a === void 0 ? void 0 : _a.map((row) => p `
${row}
`) : ""}
+ ${this.open?null===(t=this.rows)||void 0===t?void 0:t.map((t=>U`
${t}
`)):""}
- `;
- }
- static get styles() {
- return r$2 `
+ `}static get styles(){return n`
#head {
display: flex;
align-items: center;
@@ -407,24 +75,4 @@ class FoldEntityRow extends s {
#measure > *:last-child {
margin-bottom: 0;
}
- `;
- }
-}
-__decorate([
- e$1()
-], FoldEntityRow.prototype, "open", void 0);
-__decorate([
- e$1()
-], FoldEntityRow.prototype, "head", void 0);
-__decorate([
- e$1()
-], FoldEntityRow.prototype, "rows", void 0);
-__decorate([
- e$1()
-], FoldEntityRow.prototype, "entitiesWarning", void 0);
-if (!customElements.get("fold-entity-row")) {
- customElements.define("fold-entity-row", FoldEntityRow);
- console.info(`%cFOLD-ENTITY-ROW ${pjson.version} IS INSTALLED`, "color: green; font-weight: bold", "");
-}
-
-export { findParentCard };
+ `}}t([G()],nt.prototype,"open",void 0),t([G()],nt.prototype,"head",void 0),t([G()],nt.prototype,"rows",void 0),t([G()],nt.prototype,"entitiesWarning",void 0),customElements.get("fold-entity-row")||(customElements.define("fold-entity-row",nt),console.info(`%cFOLD-ENTITY-ROW ${Q} IS INSTALLED`,"color: green; font-weight: bold",""));
diff --git a/src/helpers.ts b/src/helpers.ts
new file mode 100644
index 0000000..db97d66
--- /dev/null
+++ b/src/helpers.ts
@@ -0,0 +1,36 @@
+import { noChange } from "lit";
+import { Directive, directive } from "lit/directive.js";
+
+export async function findParentCard(
+ node: any,
+ step = 0
+): Promise