From 1f44ccae5f62804e72a8108062aa771e20cd9354 Mon Sep 17 00:00:00 2001 From: vikas-cldcvr Date: Wed, 13 Dec 2023 16:34:45 +0530 Subject: [PATCH] FLOW-1029 story updated --- stories/flow-table/f-table-schema.stories.ts | 21 +------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/stories/flow-table/f-table-schema.stories.ts b/stories/flow-table/f-table-schema.stories.ts index 87d62c960..ef0605a0c 100644 --- a/stories/flow-table/f-table-schema.stories.ts +++ b/stories/flow-table/f-table-schema.stories.ts @@ -1,9 +1,7 @@ import { html } from "lit-html"; -import { unsafeSVG } from "lit-html/directives/unsafe-svg.js"; import getFakeUsers, { popoverRef } from "../utils/mock-users-data"; import { createRef, ref } from "lit/directives/ref.js"; import downloadFile from "./donwload-file"; -import { FTableSchema } from "@cldcvr/flow-table/src/components/f-table-schema/f-table-schema"; export default { title: "@cldcvr/flow-table/f-table-schema", @@ -457,17 +455,6 @@ export const HeaderInput = { render: () => { const data = getFakeUsers(10, 5); const fieldRef = createRef(); - const tableRef = createRef(); - - const handleToggle = (_event: PointerEvent) => { - data.rows.forEach(row => { - row.selected = !row.selected; - }); - if (tableRef.value) { - tableRef.value.data = { ...data }; - } - }; - const handleEvent = (event: CustomEvent) => { if (fieldRef.value) { fieldRef.value.textContent = JSON.stringify(event.detail, undefined, 2); @@ -478,13 +465,7 @@ export const HeaderInput = { 'header-input' event emitted whenever checkbox is checked/unchecked in header - - +