@kyndryl-design-system/shidoka-applications 2.90.0 → 2.90.2
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/components/global/workspaceSwitcher/workspaceSwitcher.d.ts +8 -0
- package/components/global/workspaceSwitcher/workspaceSwitcher.d.ts.map +1 -1
- package/components/global/workspaceSwitcher/workspaceSwitcher.js +13 -6
- package/components/global/workspaceSwitcher/workspaceSwitcher.js.map +1 -1
- package/components/reusable/table/index.js +1 -1
- package/components/reusable/table/table-header.d.ts +1 -1
- package/components/reusable/table/table-header.d.ts.map +1 -1
- package/components/reusable/table/table-header.js +1 -1
- package/components/reusable/table/table.skeleton.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/{table.skeleton-DOQ1oxaz.js → table.skeleton-7e-w5dSv.js} +6 -6
- package/table.skeleton-7e-w5dSv.js.map +1 -0
- package/table.skeleton-DOQ1oxaz.js.map +0 -1
|
@@ -10,6 +10,7 @@ import './workspaceSwitcherMenuItem';
|
|
|
10
10
|
* @slot right - Non-list content for the right panel (e.g. search).
|
|
11
11
|
* @slot right-list - List items for the right panel (rendered inside role="list").
|
|
12
12
|
* @cssprop [--kyn-workspace-switcher-max-height=none] - Maximum height of the switcher panel.
|
|
13
|
+
* @cssprop [--kyn-workspace-switcher-left-panel-width=275px] - Width of the left panel in desktop two-panel layout.
|
|
13
14
|
*/
|
|
14
15
|
export declare class WorkspaceSwitcher extends LitElement {
|
|
15
16
|
static styles: import("lit").CSSResult;
|
|
@@ -27,10 +28,17 @@ export declare class WorkspaceSwitcher extends LitElement {
|
|
|
27
28
|
accessor hideCurrentTitle: boolean;
|
|
28
29
|
/** Hides the heading above the lower left-hand side list. Example: suppress for accounts-only customers. */
|
|
29
30
|
accessor hideWorkspacesTitle: boolean;
|
|
31
|
+
/** Hides the divider beneath the `left` slot content. */
|
|
32
|
+
accessor hideLeftDivider: boolean;
|
|
30
33
|
/** Merged text strings.
|
|
31
34
|
* @internal
|
|
32
35
|
*/
|
|
33
36
|
private _textStrings;
|
|
37
|
+
/**
|
|
38
|
+
* The nearest flyout host, if any.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
private _flyoutHost;
|
|
34
42
|
/**
|
|
35
43
|
* @internal
|
|
36
44
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaceSwitcher.d.ts","sourceRoot":"","sources":["../../../../src/components/global/workspaceSwitcher/workspaceSwitcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAMlD,OAAO,6BAA6B,CAAC;AAQrC
|
|
1
|
+
{"version":3,"file":"workspaceSwitcher.d.ts","sourceRoot":"","sources":["../../../../src/components/global/workspaceSwitcher/workspaceSwitcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAMlD,OAAO,6BAA6B,CAAC;AAQrC;;;;;;;;;;;GAWG;AACH,qBACa,iBAAkB,SAAQ,UAAU;IAC/C,OAAgB,MAAM,0BAAoC;IAE1D,iCAAiC;IAEjC,QAAQ,CAAC,WAAW;;;;MAAuB;IAE3C;;OAEG;IAEH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAU;IAE1C,qDAAqD;IAErD,QAAQ,CAAC,gBAAgB,UAAS;IAElC,4GAA4G;IAE5G,QAAQ,CAAC,mBAAmB,UAAS;IAErC,yDAAyD;IAEzD,QAAQ,CAAC,eAAe,UAAS;IAEjC;;OAEG;IACH,OAAO,CAAC,YAAY,CAAuB;IAE3C;;;OAGG;IACH,OAAO,CAAC,WAAW,CAA4B;IAE/C;;OAEG;IACH,OAAO,CAAC,mBAAmB,CAKzB;IAEO,iBAAiB;IASjB,oBAAoB;IASpB,UAAU,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAMlD,MAAM;IAmCf,OAAO,CAAC,gBAAgB;CAGzB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,wBAAwB,EAAE,iBAAiB,CAAC;KAC7C;CACF"}
|
|
@@ -35,6 +35,7 @@ import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPr
|
|
|
35
35
|
|
|
36
36
|
:host {
|
|
37
37
|
display: block;
|
|
38
|
+
--kyn-workspace-switcher-left-panel-width: 275px;
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
.workspace-switcher {
|
|
@@ -53,7 +54,7 @@ import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPr
|
|
|
53
54
|
flex-direction: column;
|
|
54
55
|
align-items: flex-start;
|
|
55
56
|
gap: 2px;
|
|
56
|
-
width: 275px;
|
|
57
|
+
width: var(--kyn-workspace-switcher-left-panel-width, 275px);
|
|
57
58
|
flex-shrink: 0;
|
|
58
59
|
padding: 12px;
|
|
59
60
|
background: var(--kd-color-background-opacity-1);
|
|
@@ -71,8 +72,8 @@ import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPr
|
|
|
71
72
|
top: 0;
|
|
72
73
|
bottom: 0;
|
|
73
74
|
right: 0;
|
|
74
|
-
left: 275px;
|
|
75
|
-
padding: 12px
|
|
75
|
+
left: var(--kyn-workspace-switcher-left-panel-width, 275px);
|
|
76
|
+
padding: 12px;
|
|
76
77
|
box-sizing: border-box;
|
|
77
78
|
overflow-y: auto;
|
|
78
79
|
}
|
|
@@ -96,7 +97,7 @@ import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPr
|
|
|
96
97
|
font-weight: 500;
|
|
97
98
|
text-transform: uppercase;
|
|
98
99
|
color: var(--kd-color-text-level-primary);
|
|
99
|
-
padding:
|
|
100
|
+
padding: 0 8px 4px;
|
|
100
101
|
width: 100%;
|
|
101
102
|
box-sizing: border-box;
|
|
102
103
|
}
|
|
@@ -142,6 +143,12 @@ import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPr
|
|
|
142
143
|
box-sizing: border-box;
|
|
143
144
|
}
|
|
144
145
|
|
|
146
|
+
:host([hide-left-divider]) ::slotted([slot=left]) {
|
|
147
|
+
padding-bottom: 0;
|
|
148
|
+
margin-bottom: 0;
|
|
149
|
+
border-bottom: none;
|
|
150
|
+
}
|
|
151
|
+
|
|
145
152
|
/* Ensure slotted content fills available space */
|
|
146
153
|
::slotted([slot=left-list]),
|
|
147
154
|
::slotted([slot=right]),
|
|
@@ -189,7 +196,7 @@ import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPr
|
|
|
189
196
|
.workspace-switcher {
|
|
190
197
|
margin-top: 4px;
|
|
191
198
|
}
|
|
192
|
-
}`;const
|
|
199
|
+
}`;const w={currentTitle:"CURRENT",workspacesTitle:"WORKSPACES",backToWorkspaces:"Workspaces"};let m=(()=>{var a,m,k,f,g;let u,v,b,x,_,y,S,T=[c("kyn-workspace-switcher")],W=[],z=o,C=[],j=[],L=[],B=[],D=[],M=[],R=[],$=[],E=[],H=[];return v=class extends z{constructor(){super(...arguments),a.set(this,i(this,C,w)),m.set(this,(i(this,j),i(this,L,"root"))),k.set(this,(i(this,B),i(this,D,!1))),f.set(this,(i(this,M),i(this,R,!1))),g.set(this,(i(this,$),i(this,E,!1))),this._textStrings=(i(this,H),w),this._flyoutHost=null,this._handleFlyoutToggle=t=>{const e=t.detail;(null==e?void 0:e.open)||(this.view="root")}}get textStrings(){return s(this,a,"f")}set textStrings(t){r(this,a,t,"f")}get view(){return s(this,m,"f")}set view(t){r(this,m,t,"f")}get hideCurrentTitle(){return s(this,k,"f")}set hideCurrentTitle(t){r(this,k,t,"f")}get hideWorkspacesTitle(){return s(this,f,"f")}set hideWorkspacesTitle(t){r(this,f,t,"f")}get hideLeftDivider(){return s(this,g,"f")}set hideLeftDivider(t){r(this,g,t,"f")}connectedCallback(){var t;super.connectedCallback(),this._flyoutHost=this.closest("kyn-header-flyout"),null===(t=this._flyoutHost)||void 0===t||t.addEventListener("on-flyout-toggle",this._handleFlyoutToggle)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._flyoutHost)||void 0===t||t.removeEventListener("on-flyout-toggle",this._handleFlyoutToggle),this._flyoutHost=null}willUpdate(t){t.has("textStrings")&&(this._textStrings=h(w,this.textStrings))}render(){return n`
|
|
193
200
|
<div class="workspace-switcher">
|
|
194
201
|
<div class="workspace-switcher__left">
|
|
195
202
|
${this.hideCurrentTitle?null:n`<span class="workspace-switcher__title"
|
|
@@ -216,5 +223,5 @@ import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPr
|
|
|
216
223
|
</div>
|
|
217
224
|
</div>
|
|
218
225
|
</div>
|
|
219
|
-
`}_handleBackClick(){this.view="root"}},a=new WeakMap,
|
|
226
|
+
`}_handleBackClick(){this.view="root"}},a=new WeakMap,m=new WeakMap,k=new WeakMap,f=new WeakMap,g=new WeakMap,t(v,"WorkspaceSwitcher"),(()=>{var t;const i="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(t=z[Symbol.metadata])&&void 0!==t?t:null):void 0;b=[d({type:Object})],x=[d({type:String,reflect:!0})],_=[d({type:Boolean,reflect:!0})],y=[d({type:Boolean,reflect:!0})],S=[d({type:Boolean,reflect:!0,attribute:"hide-left-divider"})],e(v,null,b,{kind:"accessor",name:"textStrings",static:!1,private:!1,access:{has:t=>"textStrings"in t,get:t=>t.textStrings,set:(t,e)=>{t.textStrings=e}},metadata:i},C,j),e(v,null,x,{kind:"accessor",name:"view",static:!1,private:!1,access:{has:t=>"view"in t,get:t=>t.view,set:(t,e)=>{t.view=e}},metadata:i},L,B),e(v,null,_,{kind:"accessor",name:"hideCurrentTitle",static:!1,private:!1,access:{has:t=>"hideCurrentTitle"in t,get:t=>t.hideCurrentTitle,set:(t,e)=>{t.hideCurrentTitle=e}},metadata:i},D,M),e(v,null,y,{kind:"accessor",name:"hideWorkspacesTitle",static:!1,private:!1,access:{has:t=>"hideWorkspacesTitle"in t,get:t=>t.hideWorkspacesTitle,set:(t,e)=>{t.hideWorkspacesTitle=e}},metadata:i},R,$),e(v,null,S,{kind:"accessor",name:"hideLeftDivider",static:!1,private:!1,access:{has:t=>"hideLeftDivider"in t,get:t=>t.hideLeftDivider,set:(t,e)=>{t.hideLeftDivider=e}},metadata:i},E,H),e(null,u={value:v},T,{kind:"class",name:v.name,metadata:i},null,W),v=u.value,i&&Object.defineProperty(v,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:i})})(),v.styles=l(p),i(v,W),v})();export{m as WorkspaceSwitcher};
|
|
220
227
|
//# sourceMappingURL=workspaceSwitcher.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaceSwitcher.js","sources":["../../../../src/components/global/workspaceSwitcher/workspaceSwitcher.ts"],"sourcesContent":["import { LitElement, html, unsafeCSS } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { deepmerge } from 'deepmerge-ts';\n\nimport WorkspaceSwitcherScss from './workspaceSwitcher.scss?inline';\n\nimport './workspaceSwitcherMenuItem';\n\nconst _defaultTextStrings = {\n currentTitle: 'CURRENT',\n workspacesTitle: 'WORKSPACES',\n backToWorkspaces: 'Workspaces',\n};\n\n/**\n * Workspace Switcher shell component providing two-panel layout with mobile drill-down.\n * Component fits to 100% of the width and height of its container and surfaces two panels for content composition via slots.\n * Consumers compose content via named slots using sub-components\n * like `kyn-workspace-switcher-menu-item`.\n * @slot left - Non-list content for the left panel (e.g. workspace info header).\n * @slot left-list - List items for the left panel (rendered inside role=\"list\").\n * @slot right - Non-list content for the right panel (e.g. search).\n * @slot right-list - List items for the right panel (rendered inside role=\"list\").\n * @cssprop [--kyn-workspace-switcher-max-height=none] - Maximum height of the switcher panel.\n */\n@customElement('kyn-workspace-switcher')\nexport class WorkspaceSwitcher extends LitElement {\n static override styles = unsafeCSS(WorkspaceSwitcherScss);\n\n /** Text string customization. */\n @property({ type: Object })\n accessor textStrings = _defaultTextStrings;\n\n /** Mobile drill-down view state. 'root' shows left panel, 'detail' shows right panel.\n * @internal\n */\n @property({ type: String, reflect: true })\n accessor view: 'root' | 'detail' = 'root';\n\n /** Hides the heading above the account meta info. */\n @property({ type: Boolean, reflect: true })\n accessor hideCurrentTitle = false;\n\n /** Hides the heading above the lower left-hand side list. Example: suppress for accounts-only customers. */\n @property({ type: Boolean, reflect: true })\n accessor hideWorkspacesTitle = false;\n\n /** Merged text strings.\n * @internal\n */\n private _textStrings = _defaultTextStrings;\n\n /**\n * @internal\n */\n private _handleFlyoutToggle = (e: Event) => {\n const detail = (e as CustomEvent).detail;\n if (!detail?.open) {\n this.view = 'root';\n }\n };\n\n override connectedCallback() {\n super.connectedCallback();\n
|
|
1
|
+
{"version":3,"file":"workspaceSwitcher.js","sources":["../../../../src/components/global/workspaceSwitcher/workspaceSwitcher.ts"],"sourcesContent":["import { LitElement, html, unsafeCSS } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { deepmerge } from 'deepmerge-ts';\n\nimport WorkspaceSwitcherScss from './workspaceSwitcher.scss?inline';\n\nimport './workspaceSwitcherMenuItem';\n\nconst _defaultTextStrings = {\n currentTitle: 'CURRENT',\n workspacesTitle: 'WORKSPACES',\n backToWorkspaces: 'Workspaces',\n};\n\n/**\n * Workspace Switcher shell component providing two-panel layout with mobile drill-down.\n * Component fits to 100% of the width and height of its container and surfaces two panels for content composition via slots.\n * Consumers compose content via named slots using sub-components\n * like `kyn-workspace-switcher-menu-item`.\n * @slot left - Non-list content for the left panel (e.g. workspace info header).\n * @slot left-list - List items for the left panel (rendered inside role=\"list\").\n * @slot right - Non-list content for the right panel (e.g. search).\n * @slot right-list - List items for the right panel (rendered inside role=\"list\").\n * @cssprop [--kyn-workspace-switcher-max-height=none] - Maximum height of the switcher panel.\n * @cssprop [--kyn-workspace-switcher-left-panel-width=275px] - Width of the left panel in desktop two-panel layout.\n */\n@customElement('kyn-workspace-switcher')\nexport class WorkspaceSwitcher extends LitElement {\n static override styles = unsafeCSS(WorkspaceSwitcherScss);\n\n /** Text string customization. */\n @property({ type: Object })\n accessor textStrings = _defaultTextStrings;\n\n /** Mobile drill-down view state. 'root' shows left panel, 'detail' shows right panel.\n * @internal\n */\n @property({ type: String, reflect: true })\n accessor view: 'root' | 'detail' = 'root';\n\n /** Hides the heading above the account meta info. */\n @property({ type: Boolean, reflect: true })\n accessor hideCurrentTitle = false;\n\n /** Hides the heading above the lower left-hand side list. Example: suppress for accounts-only customers. */\n @property({ type: Boolean, reflect: true })\n accessor hideWorkspacesTitle = false;\n\n /** Hides the divider beneath the `left` slot content. */\n @property({ type: Boolean, reflect: true, attribute: 'hide-left-divider' })\n accessor hideLeftDivider = false;\n\n /** Merged text strings.\n * @internal\n */\n private _textStrings = _defaultTextStrings;\n\n /**\n * The nearest flyout host, if any.\n * @internal\n */\n private _flyoutHost: HTMLElement | null = null;\n\n /**\n * @internal\n */\n private _handleFlyoutToggle = (e: Event) => {\n const detail = (e as CustomEvent).detail;\n if (!detail?.open) {\n this.view = 'root';\n }\n };\n\n override connectedCallback() {\n super.connectedCallback();\n this._flyoutHost = this.closest('kyn-header-flyout');\n this._flyoutHost?.addEventListener(\n 'on-flyout-toggle',\n this._handleFlyoutToggle as EventListener\n );\n }\n\n override disconnectedCallback() {\n super.disconnectedCallback();\n this._flyoutHost?.removeEventListener(\n 'on-flyout-toggle',\n this._handleFlyoutToggle as EventListener\n );\n this._flyoutHost = null;\n }\n\n override willUpdate(changedProperties: Map<string, unknown>) {\n if (changedProperties.has('textStrings')) {\n this._textStrings = deepmerge(_defaultTextStrings, this.textStrings);\n }\n }\n\n override render() {\n return html`\n <div class=\"workspace-switcher\">\n <div class=\"workspace-switcher__left\">\n ${!this.hideCurrentTitle\n ? html`<span class=\"workspace-switcher__title\"\n >${this._textStrings.currentTitle}</span\n >`\n : null}\n <slot name=\"left\"></slot>\n ${!this.hideWorkspacesTitle\n ? html`<span class=\"workspace-switcher__title\"\n >${this._textStrings.workspacesTitle}</span\n >`\n : null}\n <div class=\"workspace-switcher__list\" role=\"list\">\n <slot name=\"left-list\"></slot>\n </div>\n </div>\n <div class=\"workspace-switcher__right\">\n <kyn-workspace-switcher-menu-item\n class=\"workspace-switcher__back\"\n variant=\"back\"\n name=${this._textStrings.backToWorkspaces}\n @on-click=${this._handleBackClick}\n ></kyn-workspace-switcher-menu-item>\n <slot name=\"right\"></slot>\n <div class=\"workspace-switcher__list\" role=\"list\">\n <slot name=\"right-list\"></slot>\n </div>\n </div>\n </div>\n `;\n }\n\n private _handleBackClick() {\n this.view = 'root';\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'kyn-workspace-switcher': WorkspaceSwitcher;\n }\n}\n"],"names":["_defaultTextStrings","currentTitle","workspacesTitle","backToWorkspaces","WorkspaceSwitcher","customElement","LitElement","_classThis","_classSuper","_WorkspaceSwitcher_textStrings_accessor_storage","set","this","__runInitializers","_textStrings_initializers","_WorkspaceSwitcher_view_accessor_storage","_textStrings_extraInitializers","_view_initializers","_WorkspaceSwitcher_hideCurrentTitle_accessor_storage","_view_extraInitializers","_hideCurrentTitle_initializers","_WorkspaceSwitcher_hideWorkspacesTitle_accessor_storage","_hideCurrentTitle_extraInitializers","_hideWorkspacesTitle_initializers","_WorkspaceSwitcher_hideLeftDivider_accessor_storage","_hideWorkspacesTitle_extraInitializers","_hideLeftDivider_initializers","_textStrings","_hideLeftDivider_extraInitializers","_flyoutHost","_handleFlyoutToggle","e","detail","open","view","textStrings","__classPrivateFieldGet","value","__classPrivateFieldSet","hideCurrentTitle","hideWorkspacesTitle","hideLeftDivider","connectedCallback","super","closest","_a","addEventListener","disconnectedCallback","removeEventListener","willUpdate","changedProperties","has","deepmerge","render","html","_handleBackClick","_textStrings_decorators","property","type","Object","String","reflect","Boolean","_hideLeftDivider_decorators","attribute","__esDecorate","kind","name","static","private","access","obj","get","metadata","_metadata","_view_decorators","_hideCurrentTitle_decorators","_hideWorkspacesTitle_decorators","_classDescriptor","_classDecorators","_classExtraInitializers","styles","unsafeCSS","WorkspaceSwitcherScss"],"mappings":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oC,SAAAC,GAAAhD,EAAAE,GAvB1BqC,EAAA,KAAAa,EAAA,CAAAzC,MAAA7B,GAAAuE,EAAA,CAAAb,KAAA,QAAAC,KAAA3D,EAAA2D,KAAAM,SAAAC,GAAA,KAAAM,iHACkBxE,EAAAyE,OAASC,EAAUC,GADxBtE,EAAAL,EAAAwE,MAAiB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{T as Table}from"../../../table-C4fpukCi.js";export{TableCell}from"./table-cell.js";export{TableRow}from"./table-row.js";export{TableBody}from"./table-body.js";export{TableHead}from"./table-head.js";export{T as TableHeader,a as TableSkeleton}from"../../../table.skeleton-
|
|
1
|
+
export{T as Table}from"../../../table-C4fpukCi.js";export{TableCell}from"./table-cell.js";export{TableRow}from"./table-row.js";export{TableBody}from"./table-body.js";export{TableHead}from"./table-head.js";export{T as TableHeader,a as TableSkeleton}from"../../../table.skeleton-7e-w5dSv.js";export{TableFoot}from"./table-foot.js";export{TableFooter}from"./table-footer.js";export{TableLegend}from"./table-legend.js";export{TableLegendItem}from"./table-legend-item.js";export{TableToolbar}from"./table-toolbar.js";export{TableContainer}from"./table-container.js";export{TableHeaderRow}from"./table-header-row.js";export{TableExpandedRow}from"./table-expanded-row.js";export{TableHeaderGroup}from"./table-header-group.js";import"tslib";import"lit";import"lit/decorators.js";import"@lit/context";import"./table-context.js";import"./defs.js";import"lit-html/directives/unsafe-svg.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-BGhMLbpH.js";import"../checkbox/checkbox.js";import"lit-html/directives/class-map.js";import"lit/directives/if-defined.js";import"deepmerge-ts";import"../loaders/skeleton.js";import"lit/directives/class-map.js";import"../pagination/pagination.skeleton.js";import"../../../pagination-0XbKxe9y.js";import"../../global/header/header.js";import"lit-html/directives/unsafe-html.js";import"../../../common/helpers/helpers.js";import"../../../vendor/@kyndryl-design-system/shidoka-foundation-7uii0Jz8.js";import"../../global/header/headerNav.js";import"query-selector-shadow-dom";import"../../global/header/headerLink.js";import"lit/directives/style-map.js";import"../textInput/textInput.js";import"../button/button.js";import"../button/defs.js";import"../../../common/mixins/form-input.js";import"../../global/header/headerCategories.js";import"../../global/header/headerCategory.js";import"../../global/header/headerDivider.js";import"../../global/header/headerFlyouts.js";import"../../global/header/headerFlyout.js";import"../../global/header/headerUserProfile.js";import"../link/link.js";import"../link/defs.js";import"../../global/header/headerPanelLink.js";import"../../global/header/headerNotificationPanel.js";import"../../global/localNav/localNav.js";import"../../global/localNav/localNavLink.js";import"../../global/localNav/localNavDivider.js";import"../../global/footer/footer.js";import"../../global/uiShell/uiShell.js";import"../../global/workspaceSwitcher/workspaceSwitcher.js";import"../../global/workspaceSwitcher/workspaceSwitcherMenuItem.js";import"lit/directives/unsafe-svg.js";import"../iconSelector/iconSelector.js";import"../iconSelector/iconSelectorGroup.js";import"../radioButton/radioButton.js";import"../radioButton/radioButtonGroup.js";import"../checkbox/checkboxGroup.js";import"../checkbox/checkboxSubgroup.js";import"../textArea/textArea.js";import"../avatar/avatar.js";import"../toggleButton/toggleButton.js";import"../dropdown/dropdown.js";import"../dropdown/dropdownOption.js";import"../dropdown/enhancedDropdownOption.js";import"../tag/tag.js";import"../../../tag-ehM901IX.js";import"../tag/tagGroup.js";import"../tag/tag.skeleton.js";import"../dropdown/dropdownCategory.js";import"../datePicker/datepicker.js";import"../../../common/helpers/flatpickr/flatpickr.js";import"flatpickr";import"flatpickr/dist/esm/plugins/rangePlugin.js";import"flatpickr/dist/esm/l10n/default.js";import"../../../common/helpers/flatpickr/langs.js";import"../../../common/helpers/flatpickr/overlay.js";import"../../../common/helpers/flatpickr/utils.js";import"../../../shidoka-flatpickr-theme-CTco2ary.js";import"../daterangepicker/daterangepicker.js";import"../timepicker/timepicker.js";import"../progressBar/progressBar.js";import"../loaders/loader.js";import"lottie-web";import"../loaders/inline.js";import"../../../inline-CxNcYPfA.js";import"../tooltip/tooltip.js";import"../blockCodeView/blockCodeView.js";import"prismjs";import"prismjs/plugins/autoloader/prism-autoloader";import"prismjs/plugins/line-numbers/prism-line-numbers";import"../inlineCodeView/inlineCodeView.js";import"../breadcrumbs/breadcrumbs.js";import"../globalFilter/globalFilter.js";import"../pagination/Pagination.js";import"../pagination/pagination-items-range.js";import"../pagination/pagination-page-size-dropdown.js";import"../pagination/pagination-navigation-buttons.js";import"../overflowMenu/overflowMenu.js";import"lit/directives/unsafe-html.js";import"../overflowMenu/overflowMenuItem.js";import"../tabs/tabs.js";import"../tabs/tab.js";import"../tabs/tabPanel.js";import"../modal/modal.js";import"../sideDrawer/sideDrawer.js";import"../pagetitle/pageTitle.js";import"../pagetitle/pageTitleOption.js";import"../notification/notification.js";import"../card/card.js";import"../inlineConfirm/inlineConfirm.js";import"../card/vitalCard.skeleton.js";import"../../../cardSample-BCIwY1rJ.js";import"../card/informationalCard.skeleton.js";import"../badge/badge.js";import"../notification/notificationContainer.js";import"../widget/widget.js";import"../widget/widgetDragHandle.js";import"../widget/widgetGridstack.js";import"../../../common/helpers/gridstack.js";import"gridstack";import"../search/search.js";import"../numberInput/numberInput.js";import"../sliderInput/sliderInput.js";import"../popover/popover.js";import"@floating-ui/dom";import"../../../common/helpers/popoverHelper.js";import"../stepper/stepper.js";import"../stepper/stepperItem.js";import"../stepper/stepperItemChild.js";import"../accordion/accordion.js";import"../accordion/accordionItem.js";import"../splitButton/splitButton.js";import"../splitButton/defs.js";import"../splitButton/splitButtonOption.js";import"../floatingContainer/floatingContainer.js";import"../../ai/sourcesFeedback/aiSourcesFeedback.js";import"../colorInput/colorInput.js";import"../metaData/metaData.js";import"../divider/divider.js";import"../statusButton/statusButton.js";import"../queryBuilder/queryBuilder.js";import"../queryBuilder/defs/types.js";import"../queryBuilder/defs/helpers.js";import"../queryBuilder/queryBuilderGroup.js";import"lit/directives/repeat.js";import"../queryBuilder/queryBuilderRule.js";import"../queryBuilder/defs/operators.js";import"../buttonGroup/buttonGroup.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -216,7 +216,7 @@ export declare class TableHeader extends LitElement {
|
|
|
216
216
|
* Called by ResizeObserver when the host cell resizes (on viewport change).
|
|
217
217
|
* Measures ALL group label heights in the same header row and applies
|
|
218
218
|
* the maximum height to all groups, ensuring uniform row height.
|
|
219
|
-
*
|
|
219
|
+
* Uses immediate measurement with fallback to rAF to ensure accurate sizing.
|
|
220
220
|
* @ignore
|
|
221
221
|
*/
|
|
222
222
|
private _updateGroupLabelDimensions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-header.d.ts","sourceRoot":"","sources":["../../../../src/components/reusable/table/table-header.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAmB,cAAc,EAAE,MAAM,KAAK,CAAC;AAWlE,OAAO,EAAgB,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAKjE,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAG1D;;;;;;;;;;GAUG;AACH,qBACa,WAAY,SAAQ,UAAU;IACzC,OAAgB,MAAM,0BAAqB;IAE3C;;OAEG;IACH,SACkB,IAAI,SAAkB;IAExC,0DAA0D;IAE1D,QAAQ,CAAC,KAAK,UAAS;IAEvB;;;;;;OAMG;IAGH,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAO/B;IAEF;;;OAGG;IACH,mBAAmB,GAAI,WAAW,gBAAgB,UAIhD;IAEF;;;OAGG;IAEH,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAyB;IAEzD;;;;OAIG;IAEH,QAAQ,CAAC,QAAQ,UAAS;IAE1B,gEAAgE;IAEhE,QAAQ,CAAC,aAAa,EAAE,cAAc,CAA0B;IAEhE;;;OAGG;IAEH,QAAQ,CAAC,WAAW,SAAM;IAE1B;;;;OAIG;IAEH,QAAQ,CAAC,OAAO,SAAM;IAEtB;;;;;;OAMG;IAEH,QAAQ,CAAC,aAAa,UAAS;IAE/B;;;OAGG;IAEH,QAAQ,CAAC,KAAK,SAAM;IAEpB;;;OAGG;IAEH,QAAQ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AGG;IACH,OAAO,CAAC,qBAAqB,CAI3B;IAEF;;;OAGG;IACH,OAAO,CAAC,eAAe,CAIrB;IAEF;;;OAGG;IACH,OAAO,CAAC,sBAAsB,CAqB5B;IAEF;;;OAGG;IACH,OAAO,CAAC,6BAA6B,CAYnC;IAEO,MAAM;CAyFhB;AAGD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,QAAQ,EAAE,WAAW,CAAC;KACvB;CACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"tslib";import"lit-html/directives/unsafe-svg.js";import"lit";import"lit/decorators.js";import"lit-html/directives/class-map.js";import"lit/directives/if-defined.js";import"@lit/context";import"./table-context.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-BGhMLbpH.js";export{T as TableHeader}from"../../../table.skeleton-
|
|
1
|
+
import"tslib";import"lit-html/directives/unsafe-svg.js";import"lit";import"lit/decorators.js";import"lit-html/directives/class-map.js";import"lit/directives/if-defined.js";import"@lit/context";import"./table-context.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-BGhMLbpH.js";export{T as TableHeader}from"../../../table.skeleton-7e-w5dSv.js";import"./defs.js";import"../../global/header/header.js";import"../../global/header/headerNav.js";import"../../global/header/headerLink.js";import"../../global/header/headerCategories.js";import"../../global/header/headerCategory.js";import"../../global/header/headerDivider.js";import"../../global/header/headerFlyouts.js";import"../../global/header/headerFlyout.js";import"../../global/header/headerUserProfile.js";import"../../global/header/headerPanelLink.js";import"../../global/header/headerNotificationPanel.js";import"../../global/localNav/localNav.js";import"../../global/localNav/localNavLink.js";import"../../global/localNav/localNavDivider.js";import"../../global/footer/footer.js";import"../../global/uiShell/uiShell.js";import"../../global/workspaceSwitcher/workspaceSwitcher.js";import"../../global/workspaceSwitcher/workspaceSwitcherMenuItem.js";import"../radioButton/radioButton.js";import"../radioButton/radioButtonGroup.js";import"../checkbox/checkbox.js";import"../checkbox/checkboxGroup.js";import"../checkbox/checkboxSubgroup.js";import"../textInput/textInput.js";import"../textArea/textArea.js";import"../avatar/avatar.js";import"../toggleButton/toggleButton.js";import"../dropdown/dropdown.js";import"../dropdown/dropdownOption.js";import"../dropdown/dropdownCategory.js";import"../dropdown/enhancedDropdownOption.js";import"../datePicker/datepicker.js";import"../daterangepicker/daterangepicker.js";import"../timepicker/timepicker.js";import"../progressBar/progressBar.js";import"../blockCodeView/blockCodeView.js";import"../inlineCodeView/inlineCodeView.js";import"../breadcrumbs/breadcrumbs.js";import"../../../table-C4fpukCi.js";import"./table-cell.js";import"./table-row.js";import"./table-body.js";import"./table-head.js";import"./table-foot.js";import"./table-footer.js";import"./table-legend.js";import"./table-legend-item.js";import"./table-toolbar.js";import"./table-container.js";import"./table-header-row.js";import"./table-expanded-row.js";import"./table-header-group.js";import"../pagination/Pagination.js";import"../pagination/pagination-items-range.js";import"../pagination/pagination-page-size-dropdown.js";import"../pagination/pagination-navigation-buttons.js";import"../pagination/pagination.skeleton.js";import"../overflowMenu/overflowMenu.js";import"../overflowMenu/overflowMenuItem.js";import"../tabs/tabs.js";import"../tabs/tab.js";import"../tabs/tabPanel.js";import"../modal/modal.js";import"../tooltip/tooltip.js";import"../tag/tag.js";import"../tag/tagGroup.js";import"../tag/tag.skeleton.js";import"../globalFilter/globalFilter.js";import"../sideDrawer/sideDrawer.js";import"../pagetitle/pageTitle.js";import"../pagetitle/pageTitleOption.js";import"../notification/notification.js";import"../notification/notificationContainer.js";import"../widget/widget.js";import"../widget/widgetDragHandle.js";import"../widget/widgetGridstack.js";import"../search/search.js";import"../loaders/loader.js";import"../loaders/inline.js";import"../loaders/skeleton.js";import"../numberInput/numberInput.js";import"../sliderInput/sliderInput.js";import"../popover/popover.js";import"../../../common/helpers/helpers.js";import"../../../common/helpers/gridstack.js";import"../stepper/stepper.js";import"../stepper/stepperItem.js";import"../stepper/stepperItemChild.js";import"../button/button.js";import"../link/link.js";import"../accordion/accordion.js";import"../accordion/accordionItem.js";import"../card/card.js";import"../card/vitalCard.skeleton.js";import"../card/informationalCard.skeleton.js";import"../splitButton/splitButton.js";import"../splitButton/splitButtonOption.js";import"../floatingContainer/floatingContainer.js";import"../../ai/sourcesFeedback/aiSourcesFeedback.js";import"../inlineConfirm/inlineConfirm.js";import"../colorInput/colorInput.js";import"../metaData/metaData.js";import"../divider/divider.js";import"../statusButton/statusButton.js";import"../queryBuilder/queryBuilder.js";import"../queryBuilder/queryBuilderGroup.js";import"../queryBuilder/queryBuilderRule.js";import"lit/directives/class-map.js";import"lit-html/directives/unsafe-html.js";import"../../../vendor/@kyndryl-design-system/shidoka-foundation-7uii0Jz8.js";import"query-selector-shadow-dom";import"lit/directives/style-map.js";import"deepmerge-ts";import"../button/defs.js";import"../../../common/mixins/form-input.js";import"../link/defs.js";import"lit/directives/unsafe-svg.js";import"../iconSelector/iconSelector.js";import"../iconSelector/iconSelectorGroup.js";import"../../../tag-ehM901IX.js";import"../../../common/helpers/flatpickr/flatpickr.js";import"flatpickr";import"flatpickr/dist/esm/plugins/rangePlugin.js";import"flatpickr/dist/esm/l10n/default.js";import"../../../common/helpers/flatpickr/langs.js";import"../../../common/helpers/flatpickr/overlay.js";import"../../../common/helpers/flatpickr/utils.js";import"../../../shidoka-flatpickr-theme-CTco2ary.js";import"lottie-web";import"../../../inline-CxNcYPfA.js";import"prismjs";import"prismjs/plugins/autoloader/prism-autoloader";import"prismjs/plugins/line-numbers/prism-line-numbers";import"../../../pagination-0XbKxe9y.js";import"lit/directives/unsafe-html.js";import"../badge/badge.js";import"../../../cardSample-BCIwY1rJ.js";import"gridstack";import"@floating-ui/dom";import"../../../common/helpers/popoverHelper.js";import"../splitButton/defs.js";import"../queryBuilder/defs/types.js";import"../queryBuilder/defs/helpers.js";import"lit/directives/repeat.js";import"../buttonGroup/buttonGroup.js";import"../queryBuilder/defs/operators.js";
|
|
2
2
|
//# sourceMappingURL=table-header.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"tslib";import"lit";import"lit/decorators.js";import"../loaders/skeleton.js";import"../pagination/pagination.skeleton.js";import"../../../table-C4fpukCi.js";import"./table-cell.js";import"./table-row.js";import"./table-body.js";import"./table-head.js";export{a as TableSkeleton}from"../../../table.skeleton-
|
|
1
|
+
import"tslib";import"lit";import"lit/decorators.js";import"../loaders/skeleton.js";import"../pagination/pagination.skeleton.js";import"../../../table-C4fpukCi.js";import"./table-cell.js";import"./table-row.js";import"./table-body.js";import"./table-head.js";export{a as TableSkeleton}from"../../../table.skeleton-7e-w5dSv.js";import"./table-foot.js";import"./table-footer.js";import"./table-legend.js";import"./table-legend-item.js";import"./table-toolbar.js";import"./table-container.js";import"./table-header-row.js";import"./table-expanded-row.js";import"./table-header-group.js";import"lit/directives/class-map.js";import"../../../pagination-0XbKxe9y.js";import"@lit/context";import"./table-context.js";import"./defs.js";import"lit-html/directives/unsafe-svg.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-BGhMLbpH.js";import"../checkbox/checkbox.js";import"lit-html/directives/class-map.js";import"lit/directives/if-defined.js";import"deepmerge-ts";import"../../global/header/header.js";import"lit-html/directives/unsafe-html.js";import"../../../common/helpers/helpers.js";import"../../../vendor/@kyndryl-design-system/shidoka-foundation-7uii0Jz8.js";import"../../global/header/headerNav.js";import"query-selector-shadow-dom";import"../../global/header/headerLink.js";import"lit/directives/style-map.js";import"../textInput/textInput.js";import"../button/button.js";import"../button/defs.js";import"../../../common/mixins/form-input.js";import"../../global/header/headerCategories.js";import"../../global/header/headerCategory.js";import"../../global/header/headerDivider.js";import"../../global/header/headerFlyouts.js";import"../../global/header/headerFlyout.js";import"../../global/header/headerUserProfile.js";import"../link/link.js";import"../link/defs.js";import"../../global/header/headerPanelLink.js";import"../../global/header/headerNotificationPanel.js";import"../../global/localNav/localNav.js";import"../../global/localNav/localNavLink.js";import"../../global/localNav/localNavDivider.js";import"../../global/footer/footer.js";import"../../global/uiShell/uiShell.js";import"../../global/workspaceSwitcher/workspaceSwitcher.js";import"../../global/workspaceSwitcher/workspaceSwitcherMenuItem.js";import"lit/directives/unsafe-svg.js";import"../iconSelector/iconSelector.js";import"../iconSelector/iconSelectorGroup.js";import"../radioButton/radioButton.js";import"../radioButton/radioButtonGroup.js";import"../checkbox/checkboxGroup.js";import"../checkbox/checkboxSubgroup.js";import"../textArea/textArea.js";import"../avatar/avatar.js";import"../toggleButton/toggleButton.js";import"../dropdown/dropdown.js";import"../dropdown/dropdownOption.js";import"../dropdown/enhancedDropdownOption.js";import"../tag/tag.js";import"../../../tag-ehM901IX.js";import"../tag/tagGroup.js";import"../tag/tag.skeleton.js";import"../dropdown/dropdownCategory.js";import"../datePicker/datepicker.js";import"../../../common/helpers/flatpickr/flatpickr.js";import"flatpickr";import"flatpickr/dist/esm/plugins/rangePlugin.js";import"flatpickr/dist/esm/l10n/default.js";import"../../../common/helpers/flatpickr/langs.js";import"../../../common/helpers/flatpickr/overlay.js";import"../../../common/helpers/flatpickr/utils.js";import"../../../shidoka-flatpickr-theme-CTco2ary.js";import"../daterangepicker/daterangepicker.js";import"../timepicker/timepicker.js";import"../progressBar/progressBar.js";import"../loaders/loader.js";import"lottie-web";import"../loaders/inline.js";import"../../../inline-CxNcYPfA.js";import"../tooltip/tooltip.js";import"../blockCodeView/blockCodeView.js";import"prismjs";import"prismjs/plugins/autoloader/prism-autoloader";import"prismjs/plugins/line-numbers/prism-line-numbers";import"../inlineCodeView/inlineCodeView.js";import"../breadcrumbs/breadcrumbs.js";import"../globalFilter/globalFilter.js";import"../pagination/Pagination.js";import"../pagination/pagination-items-range.js";import"../pagination/pagination-page-size-dropdown.js";import"../pagination/pagination-navigation-buttons.js";import"../overflowMenu/overflowMenu.js";import"lit/directives/unsafe-html.js";import"../overflowMenu/overflowMenuItem.js";import"../tabs/tabs.js";import"../tabs/tab.js";import"../tabs/tabPanel.js";import"../modal/modal.js";import"../sideDrawer/sideDrawer.js";import"../pagetitle/pageTitle.js";import"../pagetitle/pageTitleOption.js";import"../notification/notification.js";import"../card/card.js";import"../inlineConfirm/inlineConfirm.js";import"../card/vitalCard.skeleton.js";import"../../../cardSample-BCIwY1rJ.js";import"../card/informationalCard.skeleton.js";import"../badge/badge.js";import"../notification/notificationContainer.js";import"../widget/widget.js";import"../widget/widgetDragHandle.js";import"../widget/widgetGridstack.js";import"../../../common/helpers/gridstack.js";import"gridstack";import"../search/search.js";import"../numberInput/numberInput.js";import"../sliderInput/sliderInput.js";import"../popover/popover.js";import"@floating-ui/dom";import"../../../common/helpers/popoverHelper.js";import"../stepper/stepper.js";import"../stepper/stepperItem.js";import"../stepper/stepperItemChild.js";import"../accordion/accordion.js";import"../accordion/accordionItem.js";import"../splitButton/splitButton.js";import"../splitButton/defs.js";import"../splitButton/splitButtonOption.js";import"../floatingContainer/floatingContainer.js";import"../../ai/sourcesFeedback/aiSourcesFeedback.js";import"../colorInput/colorInput.js";import"../metaData/metaData.js";import"../divider/divider.js";import"../statusButton/statusButton.js";import"../queryBuilder/queryBuilder.js";import"../queryBuilder/defs/types.js";import"../queryBuilder/defs/helpers.js";import"../queryBuilder/queryBuilderGroup.js";import"lit/directives/repeat.js";import"../queryBuilder/queryBuilderRule.js";import"../queryBuilder/defs/operators.js";import"../buttonGroup/buttonGroup.js";
|
|
2
2
|
//# sourceMappingURL=table.skeleton.js.map
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{Header}from"./components/global/header/header.js";export{HeaderNav}from"./components/global/header/headerNav.js";export{HeaderLink}from"./components/global/header/headerLink.js";export{HeaderCategories}from"./components/global/header/headerCategories.js";export{HeaderCategory}from"./components/global/header/headerCategory.js";export{HeaderDivider}from"./components/global/header/headerDivider.js";export{HeaderFlyouts}from"./components/global/header/headerFlyouts.js";export{HeaderFlyout}from"./components/global/header/headerFlyout.js";export{HeaderUserProfile}from"./components/global/header/headerUserProfile.js";export{HeaderPanelLink}from"./components/global/header/headerPanelLink.js";export{HeaderNotificationPanel}from"./components/global/header/headerNotificationPanel.js";export{LocalNav}from"./components/global/localNav/localNav.js";export{LocalNavLink}from"./components/global/localNav/localNavLink.js";export{LocalNavDivider}from"./components/global/localNav/localNavDivider.js";export{Footer}from"./components/global/footer/footer.js";export{UiShell}from"./components/global/uiShell/uiShell.js";export{WorkspaceSwitcher}from"./components/global/workspaceSwitcher/workspaceSwitcher.js";export{WorkspaceSwitcherMenuItem}from"./components/global/workspaceSwitcher/workspaceSwitcherMenuItem.js";export{RadioButton}from"./components/reusable/radioButton/radioButton.js";export{RadioButtonGroup}from"./components/reusable/radioButton/radioButtonGroup.js";export{Checkbox}from"./components/reusable/checkbox/checkbox.js";export{CheckboxGroup}from"./components/reusable/checkbox/checkboxGroup.js";export{CheckboxSubgroup}from"./components/reusable/checkbox/checkboxSubgroup.js";export{TextInput}from"./components/reusable/textInput/textInput.js";export{TextArea}from"./components/reusable/textArea/textArea.js";export{Avatar}from"./components/reusable/avatar/avatar.js";export{ToggleButton}from"./components/reusable/toggleButton/toggleButton.js";export{Dropdown}from"./components/reusable/dropdown/dropdown.js";export{DropdownOption}from"./components/reusable/dropdown/dropdownOption.js";export{DropdownCategory}from"./components/reusable/dropdown/dropdownCategory.js";import"./components/reusable/dropdown/enhancedDropdownOption.js";export{DatePicker}from"./components/reusable/datePicker/datepicker.js";export{DateRangePicker}from"./components/reusable/daterangepicker/daterangepicker.js";export{TimePicker}from"./components/reusable/timepicker/timepicker.js";export{ProgressBar}from"./components/reusable/progressBar/progressBar.js";export{BlockCodeView}from"./components/reusable/blockCodeView/blockCodeView.js";export{InlineCodeView}from"./components/reusable/inlineCodeView/inlineCodeView.js";export{Breadcrumbs}from"./components/reusable/breadcrumbs/breadcrumbs.js";export{T as Table}from"./table-C4fpukCi.js";export{TableCell}from"./components/reusable/table/table-cell.js";export{TableRow}from"./components/reusable/table/table-row.js";export{TableBody}from"./components/reusable/table/table-body.js";export{TableHead}from"./components/reusable/table/table-head.js";export{T as TableHeader}from"./table.skeleton-
|
|
1
|
+
export{Header}from"./components/global/header/header.js";export{HeaderNav}from"./components/global/header/headerNav.js";export{HeaderLink}from"./components/global/header/headerLink.js";export{HeaderCategories}from"./components/global/header/headerCategories.js";export{HeaderCategory}from"./components/global/header/headerCategory.js";export{HeaderDivider}from"./components/global/header/headerDivider.js";export{HeaderFlyouts}from"./components/global/header/headerFlyouts.js";export{HeaderFlyout}from"./components/global/header/headerFlyout.js";export{HeaderUserProfile}from"./components/global/header/headerUserProfile.js";export{HeaderPanelLink}from"./components/global/header/headerPanelLink.js";export{HeaderNotificationPanel}from"./components/global/header/headerNotificationPanel.js";export{LocalNav}from"./components/global/localNav/localNav.js";export{LocalNavLink}from"./components/global/localNav/localNavLink.js";export{LocalNavDivider}from"./components/global/localNav/localNavDivider.js";export{Footer}from"./components/global/footer/footer.js";export{UiShell}from"./components/global/uiShell/uiShell.js";export{WorkspaceSwitcher}from"./components/global/workspaceSwitcher/workspaceSwitcher.js";export{WorkspaceSwitcherMenuItem}from"./components/global/workspaceSwitcher/workspaceSwitcherMenuItem.js";export{RadioButton}from"./components/reusable/radioButton/radioButton.js";export{RadioButtonGroup}from"./components/reusable/radioButton/radioButtonGroup.js";export{Checkbox}from"./components/reusable/checkbox/checkbox.js";export{CheckboxGroup}from"./components/reusable/checkbox/checkboxGroup.js";export{CheckboxSubgroup}from"./components/reusable/checkbox/checkboxSubgroup.js";export{TextInput}from"./components/reusable/textInput/textInput.js";export{TextArea}from"./components/reusable/textArea/textArea.js";export{Avatar}from"./components/reusable/avatar/avatar.js";export{ToggleButton}from"./components/reusable/toggleButton/toggleButton.js";export{Dropdown}from"./components/reusable/dropdown/dropdown.js";export{DropdownOption}from"./components/reusable/dropdown/dropdownOption.js";export{DropdownCategory}from"./components/reusable/dropdown/dropdownCategory.js";import"./components/reusable/dropdown/enhancedDropdownOption.js";export{DatePicker}from"./components/reusable/datePicker/datepicker.js";export{DateRangePicker}from"./components/reusable/daterangepicker/daterangepicker.js";export{TimePicker}from"./components/reusable/timepicker/timepicker.js";export{ProgressBar}from"./components/reusable/progressBar/progressBar.js";export{BlockCodeView}from"./components/reusable/blockCodeView/blockCodeView.js";export{InlineCodeView}from"./components/reusable/inlineCodeView/inlineCodeView.js";export{Breadcrumbs}from"./components/reusable/breadcrumbs/breadcrumbs.js";export{T as Table}from"./table-C4fpukCi.js";export{TableCell}from"./components/reusable/table/table-cell.js";export{TableRow}from"./components/reusable/table/table-row.js";export{TableBody}from"./components/reusable/table/table-body.js";export{TableHead}from"./components/reusable/table/table-head.js";export{T as TableHeader}from"./table.skeleton-7e-w5dSv.js";export{TableFoot}from"./components/reusable/table/table-foot.js";export{TableFooter}from"./components/reusable/table/table-footer.js";export{TableLegend}from"./components/reusable/table/table-legend.js";export{TableLegendItem}from"./components/reusable/table/table-legend-item.js";export{TableToolbar}from"./components/reusable/table/table-toolbar.js";export{TableContainer}from"./components/reusable/table/table-container.js";export{TableHeaderRow}from"./components/reusable/table/table-header-row.js";export{TableExpandedRow}from"./components/reusable/table/table-expanded-row.js";import"./components/reusable/table/table-header-group.js";export{Pagination}from"./components/reusable/pagination/Pagination.js";import"./components/reusable/pagination/pagination-items-range.js";import"./components/reusable/pagination/pagination-page-size-dropdown.js";import"./components/reusable/pagination/pagination-navigation-buttons.js";import"./components/reusable/pagination/pagination.skeleton.js";export{OverflowMenu}from"./components/reusable/overflowMenu/overflowMenu.js";export{OverflowMenuItem}from"./components/reusable/overflowMenu/overflowMenuItem.js";export{Tabs}from"./components/reusable/tabs/tabs.js";export{Tab}from"./components/reusable/tabs/tab.js";export{TabPanel}from"./components/reusable/tabs/tabPanel.js";export{Modal}from"./components/reusable/modal/modal.js";export{Tooltip}from"./components/reusable/tooltip/tooltip.js";export{Tag}from"./components/reusable/tag/tag.js";export{TagGroup}from"./components/reusable/tag/tagGroup.js";import"./components/reusable/tag/tag.skeleton.js";export{GlobalFilter}from"./components/reusable/globalFilter/globalFilter.js";export{SideDrawer}from"./components/reusable/sideDrawer/sideDrawer.js";export{PageTitle}from"./components/reusable/pagetitle/pageTitle.js";export{PageTitleOption}from"./components/reusable/pagetitle/pageTitleOption.js";export{Notification}from"./components/reusable/notification/notification.js";export{NotificationContainer}from"./components/reusable/notification/notificationContainer.js";export{Widget}from"./components/reusable/widget/widget.js";export{WidgetDragHandle}from"./components/reusable/widget/widgetDragHandle.js";export{WidgetGridstack}from"./components/reusable/widget/widgetGridstack.js";export{Search}from"./components/reusable/search/search.js";export{Loader}from"./components/reusable/loaders/loader.js";export{LoaderInline}from"./components/reusable/loaders/inline.js";export{Skeleton}from"./components/reusable/loaders/skeleton.js";export{NumberInput}from"./components/reusable/numberInput/numberInput.js";export{SliderInput}from"./components/reusable/sliderInput/sliderInput.js";export{Popover}from"./components/reusable/popover/popover.js";export{createOptionsArray,debounce,stringToReactHtml}from"./common/helpers/helpers.js";export{Config,WidgetConstraints,WidgetSizes}from"./common/helpers/gridstack.js";export{SwiperConfig}from"./common/helpers/swiper.js";export{Stepper}from"./components/reusable/stepper/stepper.js";export{StepperItem}from"./components/reusable/stepper/stepperItem.js";export{StepperItemChild}from"./components/reusable/stepper/stepperItemChild.js";export{Button}from"./components/reusable/button/button.js";export{Link}from"./components/reusable/link/link.js";export{Accordion}from"./components/reusable/accordion/accordion.js";export{AccordionItem}from"./components/reusable/accordion/accordionItem.js";export{Card}from"./components/reusable/card/card.js";import"./components/reusable/card/vitalCard.skeleton.js";import"./components/reusable/card/informationalCard.skeleton.js";export{SplitButton}from"./components/reusable/splitButton/splitButton.js";export{SplitButtonOption}from"./components/reusable/splitButton/splitButtonOption.js";export{FloatingContainer}from"./components/reusable/floatingContainer/floatingContainer.js";export{AISourcesFeedback}from"./components/ai/sourcesFeedback/aiSourcesFeedback.js";export{InlineConfirm}from"./components/reusable/inlineConfirm/inlineConfirm.js";export{ColorInput}from"./components/reusable/colorInput/colorInput.js";export{MetaData}from"./components/reusable/metaData/metaData.js";export{Divider}from"./components/reusable/divider/divider.js";export{StatusButton}from"./components/reusable/statusButton/statusButton.js";export{QueryBuilder}from"./components/reusable/queryBuilder/queryBuilder.js";export{QueryBuilderGroup}from"./components/reusable/queryBuilder/queryBuilderGroup.js";export{QueryBuilderRule}from"./components/reusable/queryBuilder/queryBuilderRule.js";import"tslib";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"lit-html/directives/unsafe-html.js";import"./vendor/@kyndryl-design-system/shidoka-foundation-7uii0Jz8.js";import"lit-html/directives/unsafe-svg.js";import"query-selector-shadow-dom";import"./vendor/@kyndryl-design-system/shidoka-icons-BGhMLbpH.js";import"lit/directives/style-map.js";import"lit/directives/if-defined.js";import"deepmerge-ts";import"lit/directives/unsafe-svg.js";import"./components/reusable/iconSelector/iconSelector.js";import"lit-html/directives/class-map.js";import"./components/reusable/iconSelector/iconSelectorGroup.js";import"./common/mixins/form-input.js";import"./common/helpers/flatpickr/flatpickr.js";import"flatpickr";import"flatpickr/dist/esm/plugins/rangePlugin.js";import"flatpickr/dist/esm/l10n/default.js";import"./common/helpers/flatpickr/langs.js";import"./common/helpers/flatpickr/overlay.js";import"./common/helpers/flatpickr/utils.js";import"./shidoka-flatpickr-theme-CTco2ary.js";import"prismjs";import"prismjs/plugins/autoloader/prism-autoloader";import"prismjs/plugins/line-numbers/prism-line-numbers";import"@lit/context";import"./components/reusable/table/table-context.js";import"./components/reusable/table/defs.js";import"./pagination-0XbKxe9y.js";import"lit/directives/unsafe-html.js";import"./tag-ehM901IX.js";import"./components/reusable/badge/badge.js";import"gridstack";import"lottie-web";import"./inline-CxNcYPfA.js";import"@floating-ui/dom";import"./common/helpers/popoverHelper.js";import"./components/reusable/button/defs.js";import"./components/reusable/link/defs.js";import"./cardSample-BCIwY1rJ.js";import"./components/reusable/splitButton/defs.js";import"./components/reusable/queryBuilder/defs/types.js";import"./components/reusable/queryBuilder/defs/helpers.js";import"lit/directives/repeat.js";import"./components/reusable/buttonGroup/buttonGroup.js";import"./components/reusable/queryBuilder/defs/operators.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -303,7 +303,7 @@ import{__setFunctionName as e,__esDecorate as t,__runInitializers as s,__classPr
|
|
|
303
303
|
position: absolute;
|
|
304
304
|
top: 0;
|
|
305
305
|
left: 0;
|
|
306
|
-
width: var(--kyn-group-label-width,
|
|
306
|
+
width: var(--kyn-group-label-width, auto);
|
|
307
307
|
min-width: 100%;
|
|
308
308
|
z-index: 1;
|
|
309
309
|
border-right: 1px solid var(--kd-color-border-level-tertiary);
|
|
@@ -367,7 +367,7 @@ import{__setFunctionName as e,__esDecorate as t,__runInitializers as s,__classPr
|
|
|
367
367
|
|
|
368
368
|
:host([stacked-child-first][data-header-not-expandable][data-last-group][data-checkbox-selection]) .group-label-bar {
|
|
369
369
|
border-top-left-radius: 0;
|
|
370
|
-
}`;let _=(()=>{var r,u,_,j,W,S,C,T,R,L,A,M,D,$,G,F,H,B,E,P,I,O,q,X,N,K,V;let U,Y,J,Q,Z,ee,te,se,ie,ae,re,oe,ne,le,he,de,ce,pe,ue,me,be,ge,ke,ve,fe,ye,we,xe,ze,_e=[h("kyn-th")],je=[],We=o,Se=[],Ce=[],Te=[],Re=[],Le=[],Ae=[],Me=[],De=[],$e=[],Ge=[],Fe=[],He=[],Be=[],Ee=[],Pe=[],Ie=[],Oe=[],qe=[],Xe=[],Ne=[],Ke=[],Ve=[],Ue=[],Ye=[],Je=[],Qe=[],Ze=[],et=[],tt=[],st=[],it=[],at=[],rt=[],ot=[],nt=[],lt=[],ht=[],dt=[],ct=[],pt=[],ut=[],mt=[],bt=[],gt=[],kt=[],vt=[],ft=[],yt=[],wt=[],xt=[],zt=[],_t=[],jt=[],Wt=[];return Y=class extends We{constructor(){super(...arguments),r.set(this,s(this,Se,"columnheader")),u.set(this,(s(this,Ce),s(this,Te,!1))),_.set(this,(s(this,Re),s(this,Le,new k(this,v,(e=>{e&&this.handleContextChange(e)}),!0)))),this.handleContextChange=(s(this,Ae),({dense:e})=>{"boolean"==typeof e&&(this.dense=e)}),j.set(this,s(this,Me,y.LEFT)),W.set(this,(s(this,De),s(this,$e,!1))),S.set(this,(s(this,Ge),s(this,Fe,w.DEFAULT))),C.set(this,(s(this,He),s(this,Be,""))),T.set(this,(s(this,Ee),s(this,Pe,""))),R.set(this,(s(this,Ie),s(this,Oe,!1))),L.set(this,(s(this,qe),s(this,Xe,""))),A.set(this,(s(this,Ne),s(this,Ke,""))),M.set(this,(s(this,Ve),s(this,Ue,""))),D.set(this,(s(this,Ye),s(this,Je,!1))),$.set(this,(s(this,Qe),s(this,Ze,"Column resize"))),G.set(this,(s(this,et),s(this,tt,"0px"))),F.set(this,(s(this,st),s(this,it,""))),H.set(this,(s(this,at),s(this,rt,void 0))),B.set(this,(s(this,ot),s(this,nt,!1))),E.set(this,(s(this,lt),s(this,ht,0))),P.set(this,(s(this,dt),s(this,ct,0))),I.set(this,(s(this,pt),s(this,ut,0))),O.set(this,(s(this,mt),s(this,bt,new Map))),q.set(this,(s(this,gt),s(this,kt,0))),X.set(this,(s(this,vt),s(this,ft,""))),N.set(this,(s(this,yt),s(this,wt,""))),K.set(this,(s(this,xt),s(this,zt,!1))),V.set(this,(s(this,_t),s(this,jt,!1))),this._handleWindowResize=(s(this,Wt),()=>{this.closest("kyn-header-tr")&&this.hasAttribute("stacked-child")&&(this._updateGroupLabelDimensions(),this._isGroupFirst&&this._groupLabel&&this._checkGroupLabelTruncation())}),this._handleResizeStart=e=>{if(!this.resizable)return;e.preventDefault(),e.stopPropagation(),this._isResizing=!0,this._resizeStartX=e.clientX,this._resizeStartWidth=this.getBoundingClientRect().width,this.setAttribute("data-resizing","true");const t=this.closest("kyn-table");t&&(this._handleResizeHandleHeight(t),this._lockAllColumnsExactly(),this.offsetWidth),document.addEventListener("mousemove",this._handleResizeMove),document.addEventListener("mouseup",this._handleResizeEnd)},this._handleResizeMove=e=>{if(!this._isResizing)return;e.preventDefault();const t=this.closest("kyn-table");if(t){const s=t.getBoundingClientRect(),i=this._getColumnIndex(),a=t.querySelector("kyn-header-tr"),r=i===(a?Array.from(a.querySelectorAll("kyn-th")):[]).length-1;if(e.clientX<s.left||e.clientX>s.right&&!r||e.clientY<s.top||e.clientY>s.bottom)return void this._handleResizeEnd(e)}const s=e.clientX-this._resizeStartX;let i=this._resizeStartWidth+s;const a=this.minWidth?this._parseConstraintValue(this.minWidth):this._parseConstraintValue(this.resizeMinWidth),r=this.maxWidth?this._parseConstraintValue(this.maxWidth):this._parseConstraintValue(this.resizeMaxWidth)||1/0;i=Math.max(a,Math.min(i,r)),t&&this._handleResizeHandleHeight(t),this._applyWidthToAllCells(i),this._updateTableWidthFromSnapshot(i),this.hasAttribute("stacked-child")&&this._updateGroupLabelDimensions(),this._resizedColumnWidth=i},this._debounceResize=x((()=>{this.dispatchEvent(new CustomEvent("on-column-resize",{bubbles:!0,composed:!0,detail:{columnIndex:this._getColumnIndex(),newWidth:`${this._resizedColumnWidth.toFixed(2)}px`}}))})),this._handleResizeHandleHover=()=>{const e=this.closest("kyn-table");e&&this.resizable&&this._handleResizeHandleHeight(e)},this._handleResizeHandleLeave=()=>{this._isResizing||this.style.removeProperty("--kyn-resize-handle-height")},this._handleResizeEnd=e=>{if(!this._isResizing)return;e.preventDefault(),this._isResizing=!1,this._tableHeightDuringResize=0,this._debounceResize(e),document.removeEventListener("mousemove",this._handleResizeMove),document.removeEventListener("mouseup",this._handleResizeEnd),this.removeAttribute("data-resizing");const t=this.getBoundingClientRect();if(e.clientX>=t.left&&e.clientX<=t.right&&e.clientY>=t.top&&e.clientY<=t.bottom){const e=this.closest("kyn-table");e&&this._handleResizeHandleHeight(e)}else this.style.removeProperty("--kyn-resize-handle-height")},this._applyWidthToAllCells=e=>{const t=`${e}px`;this.style.width=t,this.style.minWidth=t,this.style.maxWidth=t},this._parseConstraintValue=e=>{if("number"==typeof e)return e;return parseFloat(e)},this._getColumnIndex=()=>{const e=this.closest("kyn-header-tr");return e?Array.from(e.querySelectorAll("kyn-th")).indexOf(this):-1},this._lockAllColumnsExactly=()=>{const e=this.closest("kyn-table");if(!e)return;const t=e.querySelector("kyn-header-tr");if(!t)return;Array.from(t.querySelectorAll("kyn-th")).forEach(((e,t)=>{const s=e.getBoundingClientRect().width;this._columnWidthsSnapshot.set(t,s),e.style.width=`${s}px`,e.style.minWidth=`${s}px`,e.style.maxWidth=`${s}px`}))},this._updateTableWidthFromSnapshot=e=>{const t=this.closest("kyn-table");if(!t)return;const s=this._getColumnIndex();t.updateTableWidthFromResize(this._columnWidthsSnapshot,s,e)}}get role(){return i(this,r,"f")}set role(e){a(this,r,e,"f")}get dense(){return i(this,u,"f")}set dense(e){a(this,u,e,"f")}get _contextConsumer(){return i(this,_,"f")}set _contextConsumer(e){a(this,_,e,"f")}get align(){return i(this,j,"f")}set align(e){a(this,j,e,"f")}get sortable(){return i(this,W,"f")}set sortable(e){a(this,W,e,"f")}get sortDirection(){return i(this,S,"f")}set sortDirection(e){a(this,S,e,"f")}get headerLabel(){return i(this,C,"f")}set headerLabel(e){a(this,C,e,"f")}get sortKey(){return i(this,T,"f")}set sortKey(e){a(this,T,e,"f")}get visiblyHidden(){return i(this,R,"f")}set visiblyHidden(e){a(this,R,e,"f")}get width(){return i(this,L,"f")}set width(e){a(this,L,e,"f")}get maxWidth(){return i(this,A,"f")}set maxWidth(e){a(this,A,e,"f")}get minWidth(){return i(this,M,"f")}set minWidth(e){a(this,M,e,"f")}get resizable(){return i(this,D,"f")}set resizable(e){a(this,D,e,"f")}get assistiveResizeText(){return i(this,$,"f")}set assistiveResizeText(e){a(this,$,e,"f")}get resizeMinWidth(){return i(this,G,"f")}set resizeMinWidth(e){a(this,G,e,"f")}get resizeMaxWidth(){return i(this,F,"f")}set resizeMaxWidth(e){a(this,F,e,"f")}get listItems(){return i(this,H,"f")}set listItems(e){a(this,H,e,"f")}get _isResizing(){return i(this,B,"f")}set _isResizing(e){a(this,B,e,"f")}get _tableHeightDuringResize(){return i(this,E,"f")}set _tableHeightDuringResize(e){a(this,E,e,"f")}get _resizeStartX(){return i(this,P,"f")}set _resizeStartX(e){a(this,P,e,"f")}get _resizeStartWidth(){return i(this,I,"f")}set _resizeStartWidth(e){a(this,I,e,"f")}get _columnWidthsSnapshot(){return i(this,O,"f")}set _columnWidthsSnapshot(e){a(this,O,e,"f")}get _resizedColumnWidth(){return i(this,q,"f")}set _resizedColumnWidth(e){a(this,q,e,"f")}resetSort(){this.sortDirection=w.DEFAULT}get assistiveText(){return i(this,X,"f")}set assistiveText(e){a(this,X,e,"f")}toggleSortDirection(){if(this.sortKey){switch(this.sortDirection){case w.DEFAULT:case w.DESC:{this.sortDirection=w.ASC;const e=`Column header ${this.sortKey} sorted in ascending order`;this.assistiveText=""===this.assistiveText||this.assistiveText===e?`${e}.`:e;break}case w.ASC:{this.sortDirection=w.DESC;const e=`Column header ${this.sortKey} sorted in descending order`;this.assistiveText=""===this.assistiveText||this.assistiveText===e?`${e}.`:e;break}}this.dispatchEvent(new CustomEvent("on-sort-changed",{bubbles:!0,composed:!0,detail:{sortDirection:this.sortDirection,sortKey:this.sortKey}}))}else console.error("sortKey is missing for a sortable column.")}updated(e){this.getTextContent(),super.updated(e),this.maxWidth&&e.has("maxWidth")&&this.style.setProperty("--kyn-th-max-width",this.maxWidth),this.width&&e.has("width")&&this.style.setProperty("--kyn-th-width",this.width),this.minWidth&&e.has("minWidth")&&this.style.setProperty("--kyn-th-min-width",this.minWidth),this._isGroupFirst&&this._groupLabel&&(console.log("Checking truncation for",this._groupLabel),requestAnimationFrame((()=>this._checkGroupLabelTruncation())))}getTextContent(){var e;const t=this.listItems.filter((e=>{var t;return(null==e?void 0:e.nodeType)!==Node.TEXT_NODE||""!==(null===(t=null==e?void 0:e.textContent)||void 0===t?void 0:t.trim())}));this.headerLabel=(null===(e=t[0])||void 0===e?void 0:e.textContent)||""}get _groupLabel(){return i(this,N,"f")}set _groupLabel(e){a(this,N,e,"f")}get _isGroupFirst(){return i(this,K,"f")}set _isGroupFirst(e){a(this,K,e,"f")}get _isGroupLabelTruncated(){return i(this,V,"f")}set _isGroupLabelTruncated(e){a(this,V,e,"f")}connectedCallback(){if(super.connectedCallback(),this.closest("kyn-th-group")){this.setAttribute("stacked-child","");const e=this.closest("kyn-header-tr");e&&!e.hasAttribute("expandable")&&this.setAttribute("data-header-not-expandable",""),e&&e.hasAttribute("checkboxSelection")&&this.setAttribute("data-checkbox-selection","")}const e=this.closest("kyn-header-tr");e&&this._updateHeaderRowAttributes(e),this._syncGroupAttributes(),this._groupAttrObserver=new MutationObserver((()=>{this._syncGroupAttributes()})),this._groupAttrObserver.observe(this,{attributes:!0,attributeFilter:["data-group-label","stacked-child-first","stacked-child-last","stacked-child"]})}_syncGroupAttributes(){this._groupLabel=this.getAttribute("data-group-label")||"",this._isGroupFirst=this.hasAttribute("stacked-child-first"),this._isGroupFirst&&this._groupLabel&&requestAnimationFrame((()=>this._measureGroupHeight())),this.hasAttribute("stacked-child")&&this._groupLabel&&this._setupGroupResizeObserver();const e=this.closest("kyn-header-tr");e&&this._updateHeaderRowAttributes(e)}_checkGroupLabelTruncation(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".group-label-bar");if(!t)return void(this._isGroupLabelTruncated=!1);const s=t.scrollWidth>t.clientWidth;this._isGroupLabelTruncated=s}_updateHeaderRowAttributes(e){const t=Array.from(e.querySelectorAll("kyn-th"));t[0]===this&&this.hasAttribute("stacked-child")?this.setAttribute("data-first-in-row",""):this.removeAttribute("data-first-in-row");const s=t.filter((e=>e.hasAttribute("stacked-child-first")));if(s.length>0){if(this===s[s.length-1]){this.setAttribute("data-last-group","");this._hasFollowingNonGroupedTh(t)?this.setAttribute("data-has-following-th",""):this.removeAttribute("data-has-following-th")}else this.removeAttribute("data-last-group"),this.removeAttribute("data-has-following-th")}else this.removeAttribute("data-last-group"),this.removeAttribute("data-has-following-th")}_hasFollowingNonGroupedTh(e){const t=e.indexOf(this);if(-1===t)return!1;for(let s=t+1;s<e.length;s++)if(!e[s].hasAttribute("stacked-child"))return!0;return!1}_setupGroupResizeObserver(){this._groupLabelResizeObserver||(this._groupLabelResizeObserver=new ResizeObserver((()=>{this._updateGroupLabelDimensions()})),this._groupLabelResizeObserver.observe(this),window.addEventListener("resize",this._handleWindowResize))}disconnectedCallback(){var e,t;super.disconnectedCallback(),null===(e=this._groupAttrObserver)||void 0===e||e.disconnect(),null===(t=this._groupLabelResizeObserver)||void 0===t||t.disconnect(),window.removeEventListener("resize",this._handleWindowResize)}_measureGroupHeight(){var e;const t=this.closest("kyn-th-group");if(!t)return;const s=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".group-label-bar");if(s){const e=s.getBoundingClientRect().height;t.style.setProperty("--kyn-group-label-height",`${e}px`)}}_updateGroupLabelDimensions(){const e=this.closest("kyn-header-tr");if(!e)return;const t=Array.from(e.querySelectorAll("kyn-th-group"));0!==t.length&&requestAnimationFrame((()=>{t.forEach((e=>{const t=Array.from(e.querySelectorAll(":scope > kyn-th"));let s=0;t.forEach((e=>{s+=e.getBoundingClientRect().width})),s>0&&e.style.setProperty("--kyn-group-label-width",`${s}px`)}))}))}_handleResizeHandleHeight(e){const t=e.getBoundingClientRect();this._tableHeightDuringResize=t.height;let s=t.height;if(this.hasAttribute("stacked-child")){if(!this.hasAttribute("stacked-child-last")){const e=getComputedStyle(this).getPropertyValue("--kyn-group-label-height"),i=parseFloat(e)||42;s=Math.max(t.height-i,t.height)}}this.style.setProperty("--kyn-resize-handle-height",`${s}px`)}render(){const e={"sort-icon":!0,"sort-icon--sorting":this.sortDirection!==w.DEFAULT,"sort-icon--sorting-asc":this.sortDirection===w.ASC,"sort-icon--sorting-desc":this.sortDirection===w.DESC},t={"slot-wrapper":!0,"sr-only":this.visiblyHidden},s=this.sortable?"button":void 0,i=this.sortable&&this.headerLabel?`Sort by ${this.headerLabel}`:void 0,a=this.sortable?0:void 0,r=this.sortable?e=>{"Enter"!==e.key&&" "!==e.key||this.toggleSortDirection()}:void 0,o=this.hasAttribute("stacked-child");return l`
|
|
370
|
+
}`;let _=(()=>{var r,u,_,j,W,S,T,C,A,R,L,M,D,G,$,F,B,H,E,P,I,O,q,X,N,K,V;let U,Y,J,Q,Z,ee,te,se,ie,ae,re,oe,ne,le,he,de,ce,pe,ue,me,be,ge,ke,ve,fe,ye,we,xe,ze,_e=[h("kyn-th")],je=[],We=o,Se=[],Te=[],Ce=[],Ae=[],Re=[],Le=[],Me=[],De=[],Ge=[],$e=[],Fe=[],Be=[],He=[],Ee=[],Pe=[],Ie=[],Oe=[],qe=[],Xe=[],Ne=[],Ke=[],Ve=[],Ue=[],Ye=[],Je=[],Qe=[],Ze=[],et=[],tt=[],st=[],it=[],at=[],rt=[],ot=[],nt=[],lt=[],ht=[],dt=[],ct=[],pt=[],ut=[],mt=[],bt=[],gt=[],kt=[],vt=[],ft=[],yt=[],wt=[],xt=[],zt=[],_t=[],jt=[],Wt=[];return Y=class extends We{constructor(){super(...arguments),r.set(this,s(this,Se,"columnheader")),u.set(this,(s(this,Te),s(this,Ce,!1))),_.set(this,(s(this,Ae),s(this,Re,new k(this,v,(e=>{e&&this.handleContextChange(e)}),!0)))),this.handleContextChange=(s(this,Le),({dense:e})=>{"boolean"==typeof e&&(this.dense=e)}),j.set(this,s(this,Me,y.LEFT)),W.set(this,(s(this,De),s(this,Ge,!1))),S.set(this,(s(this,$e),s(this,Fe,w.DEFAULT))),T.set(this,(s(this,Be),s(this,He,""))),C.set(this,(s(this,Ee),s(this,Pe,""))),A.set(this,(s(this,Ie),s(this,Oe,!1))),R.set(this,(s(this,qe),s(this,Xe,""))),L.set(this,(s(this,Ne),s(this,Ke,""))),M.set(this,(s(this,Ve),s(this,Ue,""))),D.set(this,(s(this,Ye),s(this,Je,!1))),G.set(this,(s(this,Qe),s(this,Ze,"Column resize"))),$.set(this,(s(this,et),s(this,tt,"0px"))),F.set(this,(s(this,st),s(this,it,""))),B.set(this,(s(this,at),s(this,rt,void 0))),H.set(this,(s(this,ot),s(this,nt,!1))),E.set(this,(s(this,lt),s(this,ht,0))),P.set(this,(s(this,dt),s(this,ct,0))),I.set(this,(s(this,pt),s(this,ut,0))),O.set(this,(s(this,mt),s(this,bt,new Map))),q.set(this,(s(this,gt),s(this,kt,0))),X.set(this,(s(this,vt),s(this,ft,""))),N.set(this,(s(this,yt),s(this,wt,""))),K.set(this,(s(this,xt),s(this,zt,!1))),V.set(this,(s(this,_t),s(this,jt,!1))),this._handleWindowResize=(s(this,Wt),()=>{this.closest("kyn-header-tr")&&this.hasAttribute("stacked-child")&&(this._updateGroupLabelDimensions(),this._isGroupFirst&&this._groupLabel&&this._checkGroupLabelTruncation())}),this._handleResizeStart=e=>{if(!this.resizable)return;e.preventDefault(),e.stopPropagation(),this._isResizing=!0,this._resizeStartX=e.clientX,this._resizeStartWidth=this.getBoundingClientRect().width,this.setAttribute("data-resizing","true");const t=this.closest("kyn-table");t&&(this._handleResizeHandleHeight(t),this._lockAllColumnsExactly(),this.offsetWidth),document.addEventListener("mousemove",this._handleResizeMove),document.addEventListener("mouseup",this._handleResizeEnd)},this._handleResizeMove=e=>{if(!this._isResizing)return;e.preventDefault();const t=this.closest("kyn-table");if(t){const s=t.getBoundingClientRect(),i=this._getColumnIndex(),a=t.querySelector("kyn-header-tr"),r=i===(a?Array.from(a.querySelectorAll("kyn-th")):[]).length-1;if(e.clientX<s.left||e.clientX>s.right&&!r||e.clientY<s.top||e.clientY>s.bottom)return void this._handleResizeEnd(e)}const s=e.clientX-this._resizeStartX;let i=this._resizeStartWidth+s;const a=this.minWidth?this._parseConstraintValue(this.minWidth):this._parseConstraintValue(this.resizeMinWidth),r=this.maxWidth?this._parseConstraintValue(this.maxWidth):this._parseConstraintValue(this.resizeMaxWidth)||1/0;i=Math.max(a,Math.min(i,r)),t&&this._handleResizeHandleHeight(t),this._applyWidthToAllCells(i),this._updateTableWidthFromSnapshot(i),this.hasAttribute("stacked-child")&&this._updateGroupLabelDimensions(),this._resizedColumnWidth=i},this._debounceResize=x((()=>{this.dispatchEvent(new CustomEvent("on-column-resize",{bubbles:!0,composed:!0,detail:{columnIndex:this._getColumnIndex(),newWidth:`${this._resizedColumnWidth.toFixed(2)}px`}}))})),this._handleResizeHandleHover=()=>{const e=this.closest("kyn-table");e&&this.resizable&&this._handleResizeHandleHeight(e)},this._handleResizeHandleLeave=()=>{this._isResizing||this.style.removeProperty("--kyn-resize-handle-height")},this._handleResizeEnd=e=>{if(!this._isResizing)return;e.preventDefault(),this._isResizing=!1,this._tableHeightDuringResize=0,this._debounceResize(e),document.removeEventListener("mousemove",this._handleResizeMove),document.removeEventListener("mouseup",this._handleResizeEnd),this.removeAttribute("data-resizing");const t=this.getBoundingClientRect();if(e.clientX>=t.left&&e.clientX<=t.right&&e.clientY>=t.top&&e.clientY<=t.bottom){const e=this.closest("kyn-table");e&&this._handleResizeHandleHeight(e)}else this.style.removeProperty("--kyn-resize-handle-height")},this._applyWidthToAllCells=e=>{const t=`${e}px`;this.style.width=t,this.style.minWidth=t,this.style.maxWidth=t},this._parseConstraintValue=e=>{if("number"==typeof e)return e;return parseFloat(e)},this._getColumnIndex=()=>{const e=this.closest("kyn-header-tr");return e?Array.from(e.querySelectorAll("kyn-th")).indexOf(this):-1},this._lockAllColumnsExactly=()=>{const e=this.closest("kyn-table");if(!e)return;const t=e.querySelector("kyn-header-tr");if(!t)return;Array.from(t.querySelectorAll("kyn-th")).forEach(((e,t)=>{const s=e.getBoundingClientRect().width;this._columnWidthsSnapshot.set(t,s),e.style.width=`${s}px`,e.style.minWidth=`${s}px`,e.style.maxWidth=`${s}px`}))},this._updateTableWidthFromSnapshot=e=>{const t=this.closest("kyn-table");if(!t)return;const s=this._getColumnIndex();t.updateTableWidthFromResize(this._columnWidthsSnapshot,s,e)}}get role(){return i(this,r,"f")}set role(e){a(this,r,e,"f")}get dense(){return i(this,u,"f")}set dense(e){a(this,u,e,"f")}get _contextConsumer(){return i(this,_,"f")}set _contextConsumer(e){a(this,_,e,"f")}get align(){return i(this,j,"f")}set align(e){a(this,j,e,"f")}get sortable(){return i(this,W,"f")}set sortable(e){a(this,W,e,"f")}get sortDirection(){return i(this,S,"f")}set sortDirection(e){a(this,S,e,"f")}get headerLabel(){return i(this,T,"f")}set headerLabel(e){a(this,T,e,"f")}get sortKey(){return i(this,C,"f")}set sortKey(e){a(this,C,e,"f")}get visiblyHidden(){return i(this,A,"f")}set visiblyHidden(e){a(this,A,e,"f")}get width(){return i(this,R,"f")}set width(e){a(this,R,e,"f")}get maxWidth(){return i(this,L,"f")}set maxWidth(e){a(this,L,e,"f")}get minWidth(){return i(this,M,"f")}set minWidth(e){a(this,M,e,"f")}get resizable(){return i(this,D,"f")}set resizable(e){a(this,D,e,"f")}get assistiveResizeText(){return i(this,G,"f")}set assistiveResizeText(e){a(this,G,e,"f")}get resizeMinWidth(){return i(this,$,"f")}set resizeMinWidth(e){a(this,$,e,"f")}get resizeMaxWidth(){return i(this,F,"f")}set resizeMaxWidth(e){a(this,F,e,"f")}get listItems(){return i(this,B,"f")}set listItems(e){a(this,B,e,"f")}get _isResizing(){return i(this,H,"f")}set _isResizing(e){a(this,H,e,"f")}get _tableHeightDuringResize(){return i(this,E,"f")}set _tableHeightDuringResize(e){a(this,E,e,"f")}get _resizeStartX(){return i(this,P,"f")}set _resizeStartX(e){a(this,P,e,"f")}get _resizeStartWidth(){return i(this,I,"f")}set _resizeStartWidth(e){a(this,I,e,"f")}get _columnWidthsSnapshot(){return i(this,O,"f")}set _columnWidthsSnapshot(e){a(this,O,e,"f")}get _resizedColumnWidth(){return i(this,q,"f")}set _resizedColumnWidth(e){a(this,q,e,"f")}resetSort(){this.sortDirection=w.DEFAULT}get assistiveText(){return i(this,X,"f")}set assistiveText(e){a(this,X,e,"f")}toggleSortDirection(){if(this.sortKey){switch(this.sortDirection){case w.DEFAULT:case w.DESC:{this.sortDirection=w.ASC;const e=`Column header ${this.sortKey} sorted in ascending order`;this.assistiveText=""===this.assistiveText||this.assistiveText===e?`${e}.`:e;break}case w.ASC:{this.sortDirection=w.DESC;const e=`Column header ${this.sortKey} sorted in descending order`;this.assistiveText=""===this.assistiveText||this.assistiveText===e?`${e}.`:e;break}}this.dispatchEvent(new CustomEvent("on-sort-changed",{bubbles:!0,composed:!0,detail:{sortDirection:this.sortDirection,sortKey:this.sortKey}}))}else console.error("sortKey is missing for a sortable column.")}updated(e){this.getTextContent(),super.updated(e),this.maxWidth&&e.has("maxWidth")&&this.style.setProperty("--kyn-th-max-width",this.maxWidth),this.width&&e.has("width")&&this.style.setProperty("--kyn-th-width",this.width),this.minWidth&&e.has("minWidth")&&this.style.setProperty("--kyn-th-min-width",this.minWidth),this._isGroupFirst&&this._groupLabel&&requestAnimationFrame((()=>this._checkGroupLabelTruncation()))}getTextContent(){var e;const t=this.listItems.filter((e=>{var t;return(null==e?void 0:e.nodeType)!==Node.TEXT_NODE||""!==(null===(t=null==e?void 0:e.textContent)||void 0===t?void 0:t.trim())}));this.headerLabel=(null===(e=t[0])||void 0===e?void 0:e.textContent)||""}get _groupLabel(){return i(this,N,"f")}set _groupLabel(e){a(this,N,e,"f")}get _isGroupFirst(){return i(this,K,"f")}set _isGroupFirst(e){a(this,K,e,"f")}get _isGroupLabelTruncated(){return i(this,V,"f")}set _isGroupLabelTruncated(e){a(this,V,e,"f")}connectedCallback(){if(super.connectedCallback(),this.closest("kyn-th-group")){this.setAttribute("stacked-child","");const e=this.closest("kyn-header-tr");e&&!e.hasAttribute("expandable")&&this.setAttribute("data-header-not-expandable",""),e&&e.hasAttribute("checkboxSelection")&&this.setAttribute("data-checkbox-selection","")}const e=this.closest("kyn-header-tr");e&&this._updateHeaderRowAttributes(e),this._syncGroupAttributes(),this._groupAttrObserver=new MutationObserver((()=>{this._syncGroupAttributes()})),this._groupAttrObserver.observe(this,{attributes:!0,attributeFilter:["data-group-label","stacked-child-first","stacked-child-last","stacked-child"]})}_syncGroupAttributes(){this._groupLabel=this.getAttribute("data-group-label")||"",this._isGroupFirst=this.hasAttribute("stacked-child-first"),this._isGroupFirst&&this._groupLabel&&requestAnimationFrame((()=>this._measureGroupHeight())),this.hasAttribute("stacked-child")&&this._groupLabel&&this._setupGroupResizeObserver();const e=this.closest("kyn-header-tr");e&&this._updateHeaderRowAttributes(e)}_checkGroupLabelTruncation(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".group-label-bar");if(!t)return void(this._isGroupLabelTruncated=!1);const s=t.scrollWidth>t.clientWidth;this._isGroupLabelTruncated=s}_updateHeaderRowAttributes(e){const t=Array.from(e.querySelectorAll("kyn-th"));t[0]===this&&this.hasAttribute("stacked-child")?this.setAttribute("data-first-in-row",""):this.removeAttribute("data-first-in-row");const s=t.filter((e=>e.hasAttribute("stacked-child-first")));if(s.length>0){if(this===s[s.length-1]){this.setAttribute("data-last-group","");this._hasFollowingNonGroupedTh(t)?this.setAttribute("data-has-following-th",""):this.removeAttribute("data-has-following-th")}else this.removeAttribute("data-last-group"),this.removeAttribute("data-has-following-th")}else this.removeAttribute("data-last-group"),this.removeAttribute("data-has-following-th")}_hasFollowingNonGroupedTh(e){const t=e.indexOf(this);if(-1===t)return!1;for(let s=t+1;s<e.length;s++)if(!e[s].hasAttribute("stacked-child"))return!0;return!1}_setupGroupResizeObserver(){this._groupLabelResizeObserver||(this._groupLabelResizeObserver=new ResizeObserver((()=>{this._updateGroupLabelDimensions()})),this._groupLabelResizeObserver.observe(this),window.addEventListener("resize",this._handleWindowResize))}disconnectedCallback(){var e,t;super.disconnectedCallback(),null===(e=this._groupAttrObserver)||void 0===e||e.disconnect(),null===(t=this._groupLabelResizeObserver)||void 0===t||t.disconnect(),window.removeEventListener("resize",this._handleWindowResize)}_measureGroupHeight(){var e;const t=this.closest("kyn-th-group");if(!t)return;const s=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".group-label-bar");if(s){const e=s.getBoundingClientRect().height;t.style.setProperty("--kyn-group-label-height",`${e}px`),requestAnimationFrame((()=>this._checkGroupLabelTruncation()))}}_updateGroupLabelDimensions(){var e;const t=this.closest("kyn-header-tr");if(!t)return;const s=Array.from(t.querySelectorAll("kyn-th-group"));if(0===s.length)return;const i=()=>{s.forEach((e=>{const t=Array.from(e.querySelectorAll(":scope > kyn-th"));let s=0;t.forEach((e=>{s+=e.getBoundingClientRect().width})),s>0&&(e.style.setProperty("--kyn-group-label-width",`${s}px`),t.forEach((e=>{var t,s;e.hasAttribute("stacked-child-first")&&(null===(s=(t=e)._checkGroupLabelTruncation)||void 0===s||s.call(t))})))}))},a=Array.from((null===(e=s[0])||void 0===e?void 0:e.querySelectorAll(":scope > kyn-th"))||[])[0];a&&a.getBoundingClientRect().width>0?i():requestAnimationFrame((()=>{requestAnimationFrame(i)}))}_handleResizeHandleHeight(e){const t=e.getBoundingClientRect();this._tableHeightDuringResize=t.height;let s=t.height;if(this.hasAttribute("stacked-child")){if(!this.hasAttribute("stacked-child-last")){const e=getComputedStyle(this).getPropertyValue("--kyn-group-label-height"),i=parseFloat(e)||42;s=Math.max(t.height-i,t.height)}}this.style.setProperty("--kyn-resize-handle-height",`${s}px`)}render(){const e={"sort-icon":!0,"sort-icon--sorting":this.sortDirection!==w.DEFAULT,"sort-icon--sorting-asc":this.sortDirection===w.ASC,"sort-icon--sorting-desc":this.sortDirection===w.DESC},t={"slot-wrapper":!0,"sr-only":this.visiblyHidden},s=this.sortable?"button":void 0,i=this.sortable&&this.headerLabel?`Sort by ${this.headerLabel}`:void 0,a=this.sortable?0:void 0,r=this.sortable?e=>{"Enter"!==e.key&&" "!==e.key||this.toggleSortDirection()}:void 0,o=this.hasAttribute("stacked-child");return l`
|
|
371
371
|
${o?l`<div
|
|
372
372
|
class="group-label-bar"
|
|
373
373
|
title=${this._isGroupLabelTruncated?this._groupLabel:""}
|
|
@@ -409,7 +409,7 @@ import{__setFunctionName as e,__esDecorate as t,__runInitializers as s,__classPr
|
|
|
409
409
|
aria-orientation="vertical"
|
|
410
410
|
></div>`:null}
|
|
411
411
|
<slot name="column-filter"> </slot>
|
|
412
|
-
`}},r=new WeakMap,u=new WeakMap,_=new WeakMap,j=new WeakMap,W=new WeakMap,S=new WeakMap,
|
|
412
|
+
`}},r=new WeakMap,u=new WeakMap,_=new WeakMap,j=new WeakMap,W=new WeakMap,S=new WeakMap,T=new WeakMap,C=new WeakMap,A=new WeakMap,R=new WeakMap,L=new WeakMap,M=new WeakMap,D=new WeakMap,G=new WeakMap,$=new WeakMap,F=new WeakMap,B=new WeakMap,H=new WeakMap,E=new WeakMap,P=new WeakMap,I=new WeakMap,O=new WeakMap,q=new WeakMap,X=new WeakMap,N=new WeakMap,K=new WeakMap,V=new WeakMap,e(Y,"TableHeader"),(()=>{var e;const s="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=We[Symbol.metadata])&&void 0!==e?e:null):void 0;J=[d({type:String,reflect:!0})],Q=[d({type:Boolean,reflect:!0})],Z=[c()],ee=[d({type:String,reflect:!0})],te=[d({type:Boolean,reflect:!0})],se=[d({type:String,reflect:!0})],ie=[d({type:String})],ae=[d({type:String})],re=[d({type:Boolean})],oe=[d({type:String,reflect:!0})],ne=[d({type:String,reflect:!0})],le=[d({type:String,reflect:!0})],he=[d({type:Boolean,reflect:!0})],de=[d({type:String})],ce=[d({type:String})],pe=[d({type:String})],ue=[p({flatten:!0})],me=[c()],be=[c()],ge=[c()],ke=[c()],ve=[c()],fe=[c()],ye=[c()],we=[c()],xe=[c()],ze=[c()],t(Y,null,J,{kind:"accessor",name:"role",static:!1,private:!1,access:{has:e=>"role"in e,get:e=>e.role,set:(e,t)=>{e.role=t}},metadata:s},Se,Te),t(Y,null,Q,{kind:"accessor",name:"dense",static:!1,private:!1,access:{has:e=>"dense"in e,get:e=>e.dense,set:(e,t)=>{e.dense=t}},metadata:s},Ce,Ae),t(Y,null,Z,{kind:"accessor",name:"_contextConsumer",static:!1,private:!1,access:{has:e=>"_contextConsumer"in e,get:e=>e._contextConsumer,set:(e,t)=>{e._contextConsumer=t}},metadata:s},Re,Le),t(Y,null,ee,{kind:"accessor",name:"align",static:!1,private:!1,access:{has:e=>"align"in e,get:e=>e.align,set:(e,t)=>{e.align=t}},metadata:s},Me,De),t(Y,null,te,{kind:"accessor",name:"sortable",static:!1,private:!1,access:{has:e=>"sortable"in e,get:e=>e.sortable,set:(e,t)=>{e.sortable=t}},metadata:s},Ge,$e),t(Y,null,se,{kind:"accessor",name:"sortDirection",static:!1,private:!1,access:{has:e=>"sortDirection"in e,get:e=>e.sortDirection,set:(e,t)=>{e.sortDirection=t}},metadata:s},Fe,Be),t(Y,null,ie,{kind:"accessor",name:"headerLabel",static:!1,private:!1,access:{has:e=>"headerLabel"in e,get:e=>e.headerLabel,set:(e,t)=>{e.headerLabel=t}},metadata:s},He,Ee),t(Y,null,ae,{kind:"accessor",name:"sortKey",static:!1,private:!1,access:{has:e=>"sortKey"in e,get:e=>e.sortKey,set:(e,t)=>{e.sortKey=t}},metadata:s},Pe,Ie),t(Y,null,re,{kind:"accessor",name:"visiblyHidden",static:!1,private:!1,access:{has:e=>"visiblyHidden"in e,get:e=>e.visiblyHidden,set:(e,t)=>{e.visiblyHidden=t}},metadata:s},Oe,qe),t(Y,null,oe,{kind:"accessor",name:"width",static:!1,private:!1,access:{has:e=>"width"in e,get:e=>e.width,set:(e,t)=>{e.width=t}},metadata:s},Xe,Ne),t(Y,null,ne,{kind:"accessor",name:"maxWidth",static:!1,private:!1,access:{has:e=>"maxWidth"in e,get:e=>e.maxWidth,set:(e,t)=>{e.maxWidth=t}},metadata:s},Ke,Ve),t(Y,null,le,{kind:"accessor",name:"minWidth",static:!1,private:!1,access:{has:e=>"minWidth"in e,get:e=>e.minWidth,set:(e,t)=>{e.minWidth=t}},metadata:s},Ue,Ye),t(Y,null,he,{kind:"accessor",name:"resizable",static:!1,private:!1,access:{has:e=>"resizable"in e,get:e=>e.resizable,set:(e,t)=>{e.resizable=t}},metadata:s},Je,Qe),t(Y,null,de,{kind:"accessor",name:"assistiveResizeText",static:!1,private:!1,access:{has:e=>"assistiveResizeText"in e,get:e=>e.assistiveResizeText,set:(e,t)=>{e.assistiveResizeText=t}},metadata:s},Ze,et),t(Y,null,ce,{kind:"accessor",name:"resizeMinWidth",static:!1,private:!1,access:{has:e=>"resizeMinWidth"in e,get:e=>e.resizeMinWidth,set:(e,t)=>{e.resizeMinWidth=t}},metadata:s},tt,st),t(Y,null,pe,{kind:"accessor",name:"resizeMaxWidth",static:!1,private:!1,access:{has:e=>"resizeMaxWidth"in e,get:e=>e.resizeMaxWidth,set:(e,t)=>{e.resizeMaxWidth=t}},metadata:s},it,at),t(Y,null,ue,{kind:"accessor",name:"listItems",static:!1,private:!1,access:{has:e=>"listItems"in e,get:e=>e.listItems,set:(e,t)=>{e.listItems=t}},metadata:s},rt,ot),t(Y,null,me,{kind:"accessor",name:"_isResizing",static:!1,private:!1,access:{has:e=>"_isResizing"in e,get:e=>e._isResizing,set:(e,t)=>{e._isResizing=t}},metadata:s},nt,lt),t(Y,null,be,{kind:"accessor",name:"_tableHeightDuringResize",static:!1,private:!1,access:{has:e=>"_tableHeightDuringResize"in e,get:e=>e._tableHeightDuringResize,set:(e,t)=>{e._tableHeightDuringResize=t}},metadata:s},ht,dt),t(Y,null,ge,{kind:"accessor",name:"_resizeStartX",static:!1,private:!1,access:{has:e=>"_resizeStartX"in e,get:e=>e._resizeStartX,set:(e,t)=>{e._resizeStartX=t}},metadata:s},ct,pt),t(Y,null,ke,{kind:"accessor",name:"_resizeStartWidth",static:!1,private:!1,access:{has:e=>"_resizeStartWidth"in e,get:e=>e._resizeStartWidth,set:(e,t)=>{e._resizeStartWidth=t}},metadata:s},ut,mt),t(Y,null,ve,{kind:"accessor",name:"_columnWidthsSnapshot",static:!1,private:!1,access:{has:e=>"_columnWidthsSnapshot"in e,get:e=>e._columnWidthsSnapshot,set:(e,t)=>{e._columnWidthsSnapshot=t}},metadata:s},bt,gt),t(Y,null,fe,{kind:"accessor",name:"_resizedColumnWidth",static:!1,private:!1,access:{has:e=>"_resizedColumnWidth"in e,get:e=>e._resizedColumnWidth,set:(e,t)=>{e._resizedColumnWidth=t}},metadata:s},kt,vt),t(Y,null,ye,{kind:"accessor",name:"assistiveText",static:!1,private:!1,access:{has:e=>"assistiveText"in e,get:e=>e.assistiveText,set:(e,t)=>{e.assistiveText=t}},metadata:s},ft,yt),t(Y,null,we,{kind:"accessor",name:"_groupLabel",static:!1,private:!1,access:{has:e=>"_groupLabel"in e,get:e=>e._groupLabel,set:(e,t)=>{e._groupLabel=t}},metadata:s},wt,xt),t(Y,null,xe,{kind:"accessor",name:"_isGroupFirst",static:!1,private:!1,access:{has:e=>"_isGroupFirst"in e,get:e=>e._isGroupFirst,set:(e,t)=>{e._isGroupFirst=t}},metadata:s},zt,_t),t(Y,null,ze,{kind:"accessor",name:"_isGroupLabelTruncated",static:!1,private:!1,access:{has:e=>"_isGroupLabelTruncated"in e,get:e=>e._isGroupLabelTruncated,set:(e,t)=>{e._isGroupLabelTruncated=t}},metadata:s},jt,Wt),t(null,U={value:Y},_e,{kind:"class",name:Y.name,metadata:s},null,je),Y=U.value,s&&Object.defineProperty(Y,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s})})(),Y.styles=n(z),s(Y,je),Y})();(()=>{let i,a,n=[h("sample-filter-skeleton-component")],d=[],c=o;a=class extends c{render(){return l`
|
|
413
413
|
<kyn-global-filter>
|
|
414
414
|
<div class="left-wrapper">
|
|
415
415
|
<kyn-skeleton width="122px" class="left-content"></kyn-skeleton>
|
|
@@ -433,7 +433,7 @@ import{__setFunctionName as e,__esDecorate as t,__runInitializers as s,__classPr
|
|
|
433
433
|
margin-bottom: 0;
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
|
-
`,s(a,d)})();let j=(()=>{var r,c,p,m,b,g,k,v,f;let y,w,x,z,_,j,W,S,C,
|
|
436
|
+
`,s(a,d)})();let j=(()=>{var r,c,p,m,b,g,k,v,f;let y,w,x,z,_,j,W,S,T,C,A,R=[h("kyn-table-skeleton")],L=[],M=o,D=[],G=[],$=[],F=[],B=[],H=[],E=[],P=[],I=[],O=[],q=[],X=[],N=[],K=[],V=[],U=[],Y=[],J=[];return w=class extends M{get rows(){return i(this,r,"f")}set rows(e){a(this,r,e,"f")}get showPagination(){return i(this,c,"f")}set showPagination(e){a(this,c,e,"f")}get dense(){return i(this,p,"f")}set dense(e){a(this,p,e,"f")}get striped(){return i(this,m,"f")}set striped(e){a(this,m,e,"f")}get hideTableTitles(){return i(this,b,"f")}set hideTableTitles(e){a(this,b,e,"f")}get fixedLayout(){return i(this,g,"f")}set fixedLayout(e){a(this,g,e,"f")}get tableTitle(){return i(this,k,"f")}set tableTitle(e){a(this,k,e,"f")}get tableSubtitle(){return i(this,v,"f")}set tableSubtitle(e){a(this,v,e,"f")}get showGlobalFilter(){return i(this,f,"f")}set showGlobalFilter(e){a(this,f,e,"f")}render(){return l`
|
|
437
437
|
<div>
|
|
438
438
|
${this.hideTableTitles?null:l`
|
|
439
439
|
${this.tableTitle||this.tableSubtitle?l`<kyn-table-toolbar
|
|
@@ -489,5 +489,5 @@ import{__setFunctionName as e,__esDecorate as t,__runInitializers as s,__classPr
|
|
|
489
489
|
</div>
|
|
490
490
|
`}renderSkeletonCell(e){return l`
|
|
491
491
|
<kyn-skeleton width=${"thead"===e?"192px":"114px"} height="16px" shade=${"thead"===e?"dark":""}></kyn-skeleton>
|
|
492
|
-
`}constructor(){super(...arguments),r.set(this,s(this,D,5)),c.set(this,(s(this
|
|
493
|
-
//# sourceMappingURL=table.skeleton-
|
|
492
|
+
`}constructor(){super(...arguments),r.set(this,s(this,D,5)),c.set(this,(s(this,G),s(this,$,!1))),p.set(this,(s(this,F),s(this,B,!1))),m.set(this,(s(this,H),s(this,E,!1))),b.set(this,(s(this,P),s(this,I,!1))),g.set(this,(s(this,O),s(this,q,!1))),k.set(this,(s(this,X),s(this,N,""))),v.set(this,(s(this,K),s(this,V,""))),f.set(this,(s(this,U),s(this,Y,!1))),s(this,J)}},r=new WeakMap,c=new WeakMap,p=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,k=new WeakMap,v=new WeakMap,f=new WeakMap,e(w,"TableSkeleton"),(()=>{var e;const s="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=M[Symbol.metadata])&&void 0!==e?e:null):void 0;x=[d({type:Number})],z=[d({type:Boolean})],_=[d({type:Boolean})],j=[d({type:Boolean})],W=[d({type:Boolean})],S=[d({type:Boolean})],T=[d({type:String})],C=[d({type:String})],A=[d({type:Boolean})],t(w,null,x,{kind:"accessor",name:"rows",static:!1,private:!1,access:{has:e=>"rows"in e,get:e=>e.rows,set:(e,t)=>{e.rows=t}},metadata:s},D,G),t(w,null,z,{kind:"accessor",name:"showPagination",static:!1,private:!1,access:{has:e=>"showPagination"in e,get:e=>e.showPagination,set:(e,t)=>{e.showPagination=t}},metadata:s},$,F),t(w,null,_,{kind:"accessor",name:"dense",static:!1,private:!1,access:{has:e=>"dense"in e,get:e=>e.dense,set:(e,t)=>{e.dense=t}},metadata:s},B,H),t(w,null,j,{kind:"accessor",name:"striped",static:!1,private:!1,access:{has:e=>"striped"in e,get:e=>e.striped,set:(e,t)=>{e.striped=t}},metadata:s},E,P),t(w,null,W,{kind:"accessor",name:"hideTableTitles",static:!1,private:!1,access:{has:e=>"hideTableTitles"in e,get:e=>e.hideTableTitles,set:(e,t)=>{e.hideTableTitles=t}},metadata:s},I,O),t(w,null,S,{kind:"accessor",name:"fixedLayout",static:!1,private:!1,access:{has:e=>"fixedLayout"in e,get:e=>e.fixedLayout,set:(e,t)=>{e.fixedLayout=t}},metadata:s},q,X),t(w,null,T,{kind:"accessor",name:"tableTitle",static:!1,private:!1,access:{has:e=>"tableTitle"in e,get:e=>e.tableTitle,set:(e,t)=>{e.tableTitle=t}},metadata:s},N,K),t(w,null,C,{kind:"accessor",name:"tableSubtitle",static:!1,private:!1,access:{has:e=>"tableSubtitle"in e,get:e=>e.tableSubtitle,set:(e,t)=>{e.tableSubtitle=t}},metadata:s},V,U),t(w,null,A,{kind:"accessor",name:"showGlobalFilter",static:!1,private:!1,access:{has:e=>"showGlobalFilter"in e,get:e=>e.showGlobalFilter,set:(e,t)=>{e.showGlobalFilter=t}},metadata:s},Y,J),t(null,y={value:w},R,{kind:"class",name:w.name,metadata:s},null,L),w=y.value,s&&Object.defineProperty(w,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s})})(),w.styles=n(u),s(w,L),w})();export{_ as T,j as a};
|
|
493
|
+
//# sourceMappingURL=table.skeleton-7e-w5dSv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.skeleton-7e-w5dSv.js","sources":["../src/components/reusable/table/table-header.ts","../src/components/reusable/globalFilter/globalFilter.skeleton.sample.ts","../src/components/reusable/table/table.skeleton.ts"],"sourcesContent":["import { unsafeSVG } from 'lit-html/directives/unsafe-svg.js';\nimport { LitElement, html, unsafeCSS, PropertyValues } from 'lit';\nimport {\n customElement,\n property,\n queryAssignedNodes,\n state,\n} from 'lit/decorators.js';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\n\nimport { ContextConsumer } from '@lit/context';\nimport { tableContext, TableContextType } from './table-context';\n\nimport arrowUpIcon from '@kyndryl-design-system/shidoka-icons/svg/monochrome/16/arrow-up.svg';\nimport styles from './table-header.scss?inline';\n\nimport { SORT_DIRECTION, TABLE_CELL_ALIGN } from './defs';\nimport { debounce } from '../../..';\n\n/**\n * `kyn-th` Web Component.\n *\n * Represents a custom table header cell (`<th>`) for Shidoka's design system tables.\n * Provides sorting functionality when enabled and allows alignment customization.\n *\n * @fires on-sort-changed - Dispatched when the sort direction is changed. `detail: {sortDirection: string, sortKey: string } `\n * @fires on-column-resize - Dispatched when the column is resized. `detail: { columnIndex: number, newWidth: string }`\n * @slot unnamed - The content slot for adding header text or content.\n * @slot column-filter - slot for column filter.\n */\n@customElement('kyn-th')\nexport class TableHeader extends LitElement {\n static override styles = unsafeCSS(styles);\n\n /** aria role.\n * @internal\n */\n @property({ type: String, reflect: true })\n override accessor role = 'columnheader';\n\n /** Determines if the cell should have a denser layout. */\n @property({ type: Boolean, reflect: true })\n accessor dense = false;\n\n /**\n * Context consumer for the table context.\n * Updates the cell's dense properties when the context changes.\n * @private\n * @ignore\n * @type {ContextConsumer<TableContextType, TableHeader>}\n */\n @state()\n // @ts-expect-error - This is a context consumer\n private accessor _contextConsumer = new ContextConsumer(\n this,\n tableContext,\n (context) => {\n if (context) this.handleContextChange(context);\n },\n true\n );\n\n /**\n * Updates the cell's dense properties when the context changes.\n * @param {TableContextType} context - The updated context.\n */\n handleContextChange = ({ dense }: TableContextType) => {\n if (typeof dense == 'boolean') {\n this.dense = dense;\n }\n };\n\n /**\n * Specifies the alignment of the content within the table header.\n * Options: 'left', 'center', 'right'\n */\n @property({ type: String, reflect: true })\n accessor align: TABLE_CELL_ALIGN = TABLE_CELL_ALIGN.LEFT;\n\n /**\n * Specifies if the column is sortable.\n * If set to true, an arrow icon will be displayed unpon hover,\n * allowing the user to toggle sort directions.\n */\n @property({ type: Boolean, reflect: true })\n accessor sortable = false;\n\n /** Specifies the direction of sorting applied to the column. */\n @property({ type: String, reflect: true })\n accessor sortDirection: SORT_DIRECTION = SORT_DIRECTION.DEFAULT;\n\n /**\n * The textual content associated with this component.\n * Represents the primary content or label that will be displayed.\n */\n @property({ type: String })\n accessor headerLabel = '';\n\n /**\n * The unique identifier representing this column header.\n * Used to distinguish between different sortable columns and\n * to ensure that only one column is sorted at a time.\n */\n @property({ type: String })\n accessor sortKey = '';\n\n /**\n * Determines whether the content should be hidden from visual view but remain accessible\n * to screen readers for accessibility purposes. When set to `true`, the content\n * will not be visibly shown, but its content can still be read by screen readers.\n * This is especially useful for providing additional context or information to\n * assistive technologies without cluttering the visual UI.\n */\n @property({ type: Boolean })\n accessor visiblyHidden = false;\n\n /**\n * Sets a fixed width for the cell.\n * Accepts standard CSS width values (e.g., '150px', '50%').\n */\n @property({ type: String, reflect: true })\n accessor width = '';\n\n /**\n * Sets a maximum width for the cell.\n * Accepts standard CSS width values (e.g., '150px', '50%').\n */\n @property({ type: String, reflect: true })\n accessor maxWidth = '';\n\n /**\n * Sets a minimum width for the cell;\n * Accepts standard CSS width values (e.g., '150px', '50%').\n * @type {string}\n */\n @property({ type: String, reflect: true })\n accessor minWidth = '';\n\n /**\n * Enables resizing for this column.\n * When true, a resize handle appears on the right edge of the column.\n */\n @property({ type: Boolean, reflect: true })\n accessor resizable = false;\n\n /** Assistive resize handle text for screen readers. */\n @property({ type: String })\n accessor assistiveResizeText = 'Column resize';\n\n /**\n * Sets a resize minimum width for the cell(supports 'px'.e.g., '150px');\n */\n @property({ type: String })\n accessor resizeMinWidth = '0px';\n\n /**\n * Sets a resize maximum width for the cell (supports 'px'e.g., '150px');\n */\n @property({ type: String })\n accessor resizeMaxWidth = '';\n\n /**\n * @ignore\n */\n @queryAssignedNodes({ flatten: true })\n accessor listItems!: Array<Node>;\n\n /**\n * Indicates whether the column is currently being resized. Used to manage state during the resize operation.\n * @internal\n */\n @state()\n private accessor _isResizing = false;\n\n /**\n * Table height for extending resize handle during drag\n * @ignore\n */\n @state()\n private accessor _tableHeightDuringResize = 0;\n\n /**\n * The initial X-coordinate of the mouse when the resize operation starts. Used to calculate the change in width during resizing.\n * @ignore\n */\n @state()\n private accessor _resizeStartX = 0;\n\n /**\n * The initial width of the column when the resize operation starts. Used as a reference point to calculate the new width during resizing.\n * @ignore\n */\n @state()\n private accessor _resizeStartWidth = 0;\n\n /**\n * For keeping track of the initial widths of all columns before resizing starts.\n * @ignore\n */\n @state()\n private accessor _columnWidthsSnapshot: Map<number, number> = new Map();\n\n /**\n * Stores the current resized column width during drag\n * @ignore\n */\n @state()\n private accessor _resizedColumnWidth = 0;\n\n /**\n * Resets the sorting direction of the component to its default state.\n * Useful for initializing or clearing any applied sorting on the element.\n */\n resetSort() {\n this.sortDirection = SORT_DIRECTION.DEFAULT;\n }\n\n /**\n * Assistive text for screen readers.\n * @ignore\n */\n @state()\n accessor assistiveText = '';\n\n /**\n * Toggles the sort direction between ascending, descending, and default states.\n * It also dispatches an event to notify parent components of the sorting change.\n */\n private toggleSortDirection() {\n if (!this.sortKey) {\n console.error('sortKey is missing for a sortable column.');\n return;\n }\n\n switch (this.sortDirection) {\n case SORT_DIRECTION.DEFAULT:\n case SORT_DIRECTION.DESC: {\n this.sortDirection = SORT_DIRECTION.ASC;\n const assistiveText1 = `Column header ${this.sortKey} sorted in ascending order`;\n this.assistiveText =\n this.assistiveText === '' || this.assistiveText === assistiveText1\n ? `${assistiveText1}.`\n : assistiveText1;\n break;\n }\n case SORT_DIRECTION.ASC: {\n this.sortDirection = SORT_DIRECTION.DESC;\n const assistiveText2 = `Column header ${this.sortKey} sorted in descending order`;\n this.assistiveText =\n this.assistiveText === '' || this.assistiveText === assistiveText2\n ? `${assistiveText2}.`\n : assistiveText2;\n break;\n }\n }\n\n // Dispatch event to notify parent components of the sorting change\n this.dispatchEvent(\n new CustomEvent('on-sort-changed', {\n bubbles: true,\n composed: true,\n detail: { sortDirection: this.sortDirection, sortKey: this.sortKey },\n })\n );\n }\n\n override updated(changedProperties: PropertyValues) {\n this.getTextContent();\n\n super.updated(changedProperties);\n if (this.maxWidth && changedProperties.has('maxWidth')) {\n this.style.setProperty('--kyn-th-max-width', this.maxWidth);\n }\n\n if (this.width && changedProperties.has('width')) {\n this.style.setProperty('--kyn-th-width', this.width);\n }\n\n if (this.minWidth && changedProperties.has('minWidth')) {\n this.style.setProperty('--kyn-th-min-width', this.minWidth);\n }\n\n // Check if group label is truncated after render\n if (this._isGroupFirst && this._groupLabel) {\n requestAnimationFrame(() => this._checkGroupLabelTruncation());\n }\n }\n\n getTextContent() {\n const nonWhitespaceNodes = this.listItems.filter((node) => {\n return (\n node?.nodeType !== Node.TEXT_NODE || node?.textContent?.trim() !== ''\n );\n });\n\n this.headerLabel = nonWhitespaceNodes[0]?.textContent || '';\n }\n\n /**\n * The group label text when this header is inside a kyn-th-group.\n * Set by the parent kyn-th-group component.\n * @ignore\n */\n @state()\n private accessor _groupLabel = '';\n\n /**\n * Whether this is the first child in a stacked header group.\n * @ignore\n */\n @state()\n private accessor _isGroupFirst = false;\n\n /**\n * Whether the group label text is truncated.\n * Used to determine if a title attribute should be shown.\n * @ignore\n */\n @state()\n private accessor _isGroupLabelTruncated = false;\n\n override connectedCallback() {\n super.connectedCallback();\n // Detect if this header is inside a stacked header group\n if (this.closest('kyn-th-group')) {\n this.setAttribute('stacked-child', '');\n\n // Only set data-header-not-expandable on stacked children\n const headerRow = this.closest('kyn-header-tr') as any;\n if (headerRow && !headerRow.hasAttribute('expandable')) {\n this.setAttribute('data-header-not-expandable', '');\n }\n\n // Check if header row has checkboxSelection\n if (headerRow && headerRow.hasAttribute('checkboxSelection')) {\n this.setAttribute('data-checkbox-selection', '');\n }\n }\n\n // Check if this is the first kyn-th in the entire header row\n const headerRow = this.closest('kyn-header-tr') as any;\n if (headerRow) {\n this._updateHeaderRowAttributes(headerRow);\n }\n\n // Read any group attributes already set by kyn-th-group\n this._syncGroupAttributes();\n\n // Watch for attribute changes set by kyn-th-group\n this._groupAttrObserver = new MutationObserver(() => {\n this._syncGroupAttributes();\n });\n this._groupAttrObserver.observe(this, {\n attributes: true,\n attributeFilter: [\n 'data-group-label',\n 'stacked-child-first',\n 'stacked-child-last',\n 'stacked-child',\n ],\n });\n }\n\n /**\n * Syncs internal state from group attributes and triggers measurement.\n * @ignore\n */\n private _syncGroupAttributes() {\n this._groupLabel = this.getAttribute('data-group-label') || '';\n this._isGroupFirst = this.hasAttribute('stacked-child-first');\n\n if (this._isGroupFirst && this._groupLabel) {\n // Measure the group label height\n requestAnimationFrame(() => this._measureGroupHeight());\n }\n\n // For ALL stacked children (not just first), set up observer to update group dimensions on resize\n if (this.hasAttribute('stacked-child') && this._groupLabel) {\n this._setupGroupResizeObserver();\n }\n\n // Update header row attributes whenever group attributes change\n const headerRow = this.closest('kyn-header-tr');\n if (headerRow) {\n this._updateHeaderRowAttributes(headerRow);\n }\n }\n\n /**\n * Checks if the group label text is truncated.\n * @ignore\n */\n private _checkGroupLabelTruncation() {\n const groupLabelBar = this.shadowRoot?.querySelector('.group-label-bar');\n if (!groupLabelBar) {\n this._isGroupLabelTruncated = false;\n return;\n }\n\n const isTruncated = groupLabelBar.scrollWidth > groupLabelBar.clientWidth;\n this._isGroupLabelTruncated = isTruncated;\n }\n\n /**\n * Updates header row attributes like data-first-in-row, and data-last-group.\n * Should be called whenever the DOM structure changes.\n * @ignore\n */\n private _updateHeaderRowAttributes(headerRow: Element) {\n const allHeaders = Array.from(\n headerRow.querySelectorAll('kyn-th')\n ) as Element[];\n\n // Only set data-first-in-row on stacked children\n if (allHeaders[0] === this && this.hasAttribute('stacked-child')) {\n this.setAttribute('data-first-in-row', '');\n } else {\n this.removeAttribute('data-first-in-row');\n }\n\n // Mark the first child of the last stacked group\n const stackedFirstChildren = allHeaders.filter((h) =>\n h.hasAttribute('stacked-child-first')\n );\n if (stackedFirstChildren.length > 0) {\n const lastGroupFirst =\n stackedFirstChildren[stackedFirstChildren.length - 1];\n if (this === lastGroupFirst) {\n this.setAttribute('data-last-group', '');\n\n // Check if there's a kyn-th after stacked group\n const hasFollowingNonGroupedTh =\n this._hasFollowingNonGroupedTh(allHeaders);\n if (hasFollowingNonGroupedTh) {\n this.setAttribute('data-has-following-th', '');\n } else {\n this.removeAttribute('data-has-following-th');\n }\n } else {\n this.removeAttribute('data-last-group');\n this.removeAttribute('data-has-following-th');\n }\n } else {\n this.removeAttribute('data-last-group');\n this.removeAttribute('data-has-following-th');\n }\n }\n\n /**\n * Checks if there's a non-stacked kyn-th following the current element.\n * @ignore\n */\n private _hasFollowingNonGroupedTh(allHeaders: Element[]): boolean {\n const currentIndex = allHeaders.indexOf(this);\n if (currentIndex === -1) return false;\n\n // Look for any kyn-th after current index that is NOT a stacked-child\n for (let i = currentIndex + 1; i < allHeaders.length; i++) {\n if (!allHeaders[i].hasAttribute('stacked-child')) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Sets up a ResizeObserver for all stacked children to trigger group dimension updates.\n * @ignore\n */\n private _setupGroupResizeObserver() {\n if (this._groupLabelResizeObserver) {\n return;\n }\n\n this._groupLabelResizeObserver = new ResizeObserver(() => {\n this._updateGroupLabelDimensions();\n });\n this._groupLabelResizeObserver.observe(this);\n\n // listen for window resize to catch viewport changes\n window.addEventListener('resize', this._handleWindowResize);\n }\n\n override disconnectedCallback() {\n super.disconnectedCallback();\n this._groupAttrObserver?.disconnect();\n this._groupLabelResizeObserver?.disconnect();\n window.removeEventListener('resize', this._handleWindowResize);\n }\n\n /**\n * Handle window resize to update group label dimensions.\n * @ignore\n */\n private _handleWindowResize = () => {\n const headerRow = this.closest('kyn-header-tr');\n if (headerRow && this.hasAttribute('stacked-child')) {\n this._updateGroupLabelDimensions();\n // Check truncation when window resizes\n if (this._isGroupFirst && this._groupLabel) {\n this._checkGroupLabelTruncation();\n }\n }\n };\n\n /**\n * MutationObserver for group attribute changes.\n * @ignore\n */\n private _groupAttrObserver?: MutationObserver;\n\n /**\n * ResizeObserver for the group label bar to react to text wrapping.\n * @ignore\n */\n private _groupLabelResizeObserver?: ResizeObserver;\n\n /**\n * Measure the label bar height for consistent spacing across all siblings\n * @ignore\n */\n private _measureGroupHeight() {\n const group = this.closest('kyn-th-group');\n if (!group) return;\n\n // Measure the label bar height for consistent spacing across all siblings\n const labelBar = this.shadowRoot?.querySelector(\n '.group-label-bar'\n ) as HTMLElement;\n if (labelBar) {\n const labelHeight = labelBar.getBoundingClientRect().height;\n // Set on parent group so all children inherit it\n group.style.setProperty('--kyn-group-label-height', `${labelHeight}px`);\n // Check if label is truncated after measurement\n requestAnimationFrame(() => this._checkGroupLabelTruncation());\n }\n }\n\n /**\n * Called by ResizeObserver when the host cell resizes (on viewport change).\n * Measures ALL group label heights in the same header row and applies\n * the maximum height to all groups, ensuring uniform row height.\n * Uses immediate measurement with fallback to rAF to ensure accurate sizing.\n * @ignore\n */\n private _updateGroupLabelDimensions() {\n const headerRow = this.closest('kyn-header-tr');\n if (!headerRow) return;\n\n // Find all groups in this header row\n const allGroups = Array.from(\n headerRow.querySelectorAll('kyn-th-group')\n ) as HTMLElement[];\n\n if (allGroups.length === 0) return;\n\n // Function to measure and set widths\n const measureAndSetWidths = () => {\n allGroups.forEach((grp) => {\n const siblings = Array.from(\n grp.querySelectorAll(':scope > kyn-th')\n ) as HTMLElement[];\n let totalWidth = 0;\n siblings.forEach((el) => {\n totalWidth += el.getBoundingClientRect().width;\n });\n if (totalWidth > 0) {\n grp.style.setProperty('--kyn-group-label-width', `${totalWidth}px`);\n // Check truncation for first child after width is set\n siblings.forEach((sibling) => {\n if (sibling.hasAttribute('stacked-child-first')) {\n (sibling as any)._checkGroupLabelTruncation?.();\n }\n });\n }\n });\n };\n\n // Try immediate measurement first\n // If widths are 0 (not yet laid out), defer to requestAnimationFrame\n const testSibling = Array.from(\n allGroups[0]?.querySelectorAll(':scope > kyn-th') || []\n )[0] as HTMLElement | undefined;\n\n if (testSibling && testSibling.getBoundingClientRect().width > 0) {\n // Layout is ready, measure immediately\n measureAndSetWidths();\n } else {\n // Layout not ready yet, defer measurement\n requestAnimationFrame(() => {\n requestAnimationFrame(measureAndSetWidths);\n });\n }\n }\n\n /** Handle Resize Start\n * @ignore\n */\n private _handleResizeStart = (e: MouseEvent) => {\n if (!this.resizable) return;\n\n e.preventDefault();\n e.stopPropagation();\n\n this._isResizing = true;\n this._resizeStartX = e.clientX;\n this._resizeStartWidth = this.getBoundingClientRect().width;\n\n // Mark as resizing (hides sort icon, locks handle position)\n this.setAttribute('data-resizing', 'true');\n\n const table = this.closest('kyn-table') as any;\n if (table) {\n // Store table height to extend resize handle\n this._handleResizeHandleHeight(table);\n\n // Lock ALL columns to their exact current widths - this freezes the layout completely\n this._lockAllColumnsExactly();\n\n // Force reflow to apply the lock immediately - prevents jump on first mousemove\n void this.offsetWidth;\n }\n\n // Add event listeners, when resize starts\n document.addEventListener('mousemove', this._handleResizeMove);\n document.addEventListener('mouseup', this._handleResizeEnd);\n };\n\n /** Handle Resize Move\n * @internal\n */\n private _handleResizeMove = (e: MouseEvent) => {\n if (!this._isResizing) return;\n\n e.preventDefault();\n\n // Check if cursor is still within table bounds\n const table = this.closest('kyn-table') as any;\n if (table) {\n const tableRect = table.getBoundingClientRect();\n const resizingColumnIndex = this._getColumnIndex();\n const headerRow = table.querySelector('kyn-header-tr');\n const columns = headerRow\n ? Array.from(headerRow.querySelectorAll('kyn-th'))\n : [];\n const isLastColumn = resizingColumnIndex === columns.length - 1;\n\n // If cursor moved outside table bounds, stop resize\n // Exception: Allow last column to expand right beyond table bounds\n if (\n e.clientX < tableRect.left ||\n (e.clientX > tableRect.right && !isLastColumn) ||\n e.clientY < tableRect.top ||\n e.clientY > tableRect.bottom\n ) {\n // End resize operation\n this._handleResizeEnd(e);\n return;\n }\n }\n\n const deltaX = e.clientX - this._resizeStartX;\n let newWidth = this._resizeStartWidth + deltaX;\n\n // Parse constraint values - minWidth takes precedence over resizeMinWidth\n const minWidthValue = this.minWidth\n ? this._parseConstraintValue(this.minWidth)\n : this._parseConstraintValue(this.resizeMinWidth);\n const maxWidthValue = this.maxWidth\n ? this._parseConstraintValue(this.maxWidth)\n : this._parseConstraintValue(this.resizeMaxWidth) || Infinity;\n\n // Apply constraints\n newWidth = Math.max(minWidthValue, Math.min(newWidth, maxWidthValue));\n\n // Update resize handle height as table height changes during drag\n if (table) {\n this._handleResizeHandleHeight(table);\n }\n\n // Apply width ONLY to the resized column - nothing else changes\n this._applyWidthToAllCells(newWidth);\n\n // Calculate table width = sum of all locked columns + new resized column width\n this._updateTableWidthFromSnapshot(newWidth);\n\n // Update group label dimensions during resize to prevent gaps\n if (this.hasAttribute('stacked-child')) {\n this._updateGroupLabelDimensions();\n }\n\n // Store the current resized column width for use in the debounced resize end handler\n this._resizedColumnWidth = newWidth;\n };\n\n /** @internal */\n private _debounceResize = debounce(() => {\n // Dispatch event with new column width\n this.dispatchEvent(\n new CustomEvent('on-column-resize', {\n bubbles: true,\n composed: true,\n detail: {\n columnIndex: this._getColumnIndex(),\n newWidth: `${this._resizedColumnWidth.toFixed(2)}px`,\n },\n })\n );\n });\n\n private _handleResizeHandleHeight(table: any) {\n const tableRect = table.getBoundingClientRect();\n this._tableHeightDuringResize = tableRect.height;\n\n // For stacked children, only extend handle if not overlapping with group label\n // to prevent flickering during resize - EXCEPT for the last column in the group\n let handleHeight = tableRect.height;\n if (this.hasAttribute('stacked-child')) {\n // Check if this is the last column in the stacked group\n const isLastInGroup = this.hasAttribute('stacked-child-last');\n\n // Allow full height for last column, constrain others to avoid flicker\n if (!isLastInGroup) {\n const groupLabelHeightStr = getComputedStyle(this).getPropertyValue(\n '--kyn-group-label-height'\n );\n const groupLabelHeight = parseFloat(groupLabelHeightStr) || 42;\n // Limit handle height to table height minus group label to avoid flicker\n handleHeight = Math.max(\n tableRect.height - groupLabelHeight,\n tableRect.height\n );\n }\n }\n\n this.style.setProperty('--kyn-resize-handle-height', `${handleHeight}px`);\n }\n\n /**\n * Handle resize handle hover - set height to table height\n * @internal\n */\n private _handleResizeHandleHover = () => {\n const table = this.closest('kyn-table') as any;\n if (table && this.resizable) {\n this._handleResizeHandleHeight(table);\n }\n };\n\n /**\n * Handle resize handle leave - reset height\n * @internal\n */\n private _handleResizeHandleLeave = () => {\n if (!this._isResizing) {\n this.style.removeProperty('--kyn-resize-handle-height');\n }\n };\n\n /** Handle Resize End\n * @internal\n */\n private _handleResizeEnd = (e: MouseEvent) => {\n if (!this._isResizing) return;\n\n e.preventDefault();\n this._isResizing = false;\n this._tableHeightDuringResize = 0;\n\n this._debounceResize(e);\n\n // Remove event listeners, when resize ends\n document.removeEventListener('mousemove', this._handleResizeMove);\n document.removeEventListener('mouseup', this._handleResizeEnd);\n\n // Remove resizing state (shows sort icon again)\n this.removeAttribute('data-resizing');\n\n // If mouse is still over the header, restore the height\n const rect = this.getBoundingClientRect();\n const isStillHovering =\n e.clientX >= rect.left &&\n e.clientX <= rect.right &&\n e.clientY >= rect.top &&\n e.clientY <= rect.bottom;\n\n if (isStillHovering) {\n const table = this.closest('kyn-table') as any;\n if (table) {\n this._handleResizeHandleHeight(table);\n }\n } else {\n this.style.removeProperty('--kyn-resize-handle-height');\n }\n };\n\n /**\n * Apply width to all header column cells based on the resized width.\n * @ignore\n */\n private _applyWidthToAllCells = (width: number) => {\n const widthStr = `${width}px`;\n\n // Apply width to this header cell only - body cells have their own styles\n this.style.width = widthStr;\n this.style.minWidth = widthStr;\n this.style.maxWidth = widthStr;\n };\n\n /**\n * Utility function to parse constraint values (min/max width) from string to number.\n * @ignore\n */\n private _parseConstraintValue = (value: string | number): number => {\n if (typeof value === 'number') return value;\n const numValue = parseFloat(value);\n return numValue;\n };\n\n /**\n * Get the index of the current column when resize.\n * @ignore\n */\n private _getColumnIndex = (): number => {\n const parent = this.closest('kyn-header-tr');\n if (!parent) return -1;\n return Array.from(parent.querySelectorAll('kyn-th')).indexOf(this);\n };\n\n /**\n * Lock every column to its exact current width to prevent any layout shifts during resizing.\n * @ignore\n */\n private _lockAllColumnsExactly = () => {\n const table = this.closest('kyn-table') as any;\n if (!table) return;\n\n const headerRow = table.querySelector('kyn-header-tr');\n if (!headerRow) return;\n\n const columns = Array.from(headerRow.querySelectorAll('kyn-th'));\n\n // Lock EVERY column to exact pixel width to prevent layout shifts\n columns.forEach((col, index) => {\n const width = (col as HTMLElement).getBoundingClientRect().width;\n\n // Store the width for later calculation\n this._columnWidthsSnapshot.set(index, width);\n\n // Apply the lock immediately to prevent any layout shifts\n (col as any).style.width = `${width}px`;\n (col as any).style.minWidth = `${width}px`;\n (col as any).style.maxWidth = `${width}px`;\n });\n };\n\n /**\n *\n * @ignore\n */\n private _updateTableWidthFromSnapshot = (resizedColumnWidth: number) => {\n const table = this.closest('kyn-table') as any;\n if (!table) return;\n\n const resizingColumnIndex = this._getColumnIndex();\n\n // To updated table component width\n table.updateTableWidthFromResize(\n this._columnWidthsSnapshot,\n resizingColumnIndex,\n resizedColumnWidth\n );\n };\n\n override render() {\n const iconClasses = {\n 'sort-icon': true,\n 'sort-icon--sorting': this.sortDirection !== SORT_DIRECTION.DEFAULT,\n 'sort-icon--sorting-asc': this.sortDirection === SORT_DIRECTION.ASC,\n 'sort-icon--sorting-desc': this.sortDirection === SORT_DIRECTION.DESC,\n };\n\n const slotClasses = {\n 'slot-wrapper': true,\n 'sr-only': this.visiblyHidden,\n };\n\n /**\n * Accessibility Enhancements:\n * - role: Sets the appropriate role for interactive headers (e.g., when sortable).\n * - ariaSort: Indicates the sorting direction to assistive technologies.\n * - ariaLabel: Provides a descriptive label to assistive technologies for sortable headers.\n * - tabIndex: Enables keyboard interaction for sortable headers.\n * - onKeyDown: Handles keyboard events for sortable headers to allow sorting via the keyboard.\n */\n const role = this.sortable ? 'button' : undefined;\n // const arialSort = this.sortable ? this.sortDirection : undefined;\n const ariaLabel =\n this.sortable && this.headerLabel\n ? `Sort by ${this.headerLabel}`\n : undefined;\n const tabIndex = this.sortable ? 0 : undefined;\n const onKeyDown = this.sortable\n ? (e: KeyboardEvent) => {\n if (e.key === 'Enter' || e.key === ' ') {\n this.toggleSortDirection();\n }\n }\n : undefined;\n\n // Show group-label-bar for ALL stacked children\n const isStacked = this.hasAttribute('stacked-child');\n\n return html`\n ${isStacked\n ? html`<div\n class=\"group-label-bar\"\n title=${this._isGroupLabelTruncated ? this._groupLabel : ''}\n >\n ${this._groupLabel || html` `}\n </div>`\n : null}\n <div\n class=\"container\"\n role=${ifDefined(role)}\n @click=${this.sortable ? () => this.toggleSortDirection() : undefined}\n aria-label=${ifDefined(ariaLabel)}\n tabindex=${ifDefined(tabIndex)}\n @keydown=${onKeyDown}\n >\n <div class=${classMap(slotClasses)}>\n <slot></slot>\n </div>\n ${this.sortable\n ? html`<span class=${classMap(iconClasses)}\n >${unsafeSVG(arrowUpIcon)}</span\n >`\n : null}\n\n <div\n class=\"assistive-text\"\n role=\"status\"\n aria-live=\"polite\"\n aria-relevant=\"additions text\"\n >\n ${this.assistiveText}\n </div>\n </div>\n ${this.resizable\n ? html`<div\n class=\"resize-handle\"\n @mousedown=${this._handleResizeStart}\n @mouseenter=${this._handleResizeHandleHover}\n @mouseleave=${this._handleResizeHandleLeave}\n role=\"separator\"\n title=${this.assistiveResizeText}\n aria-label=${this.assistiveResizeText}\n aria-orientation=\"vertical\"\n ></div>`\n : null}\n <slot name=\"column-filter\"> </slot>\n `;\n }\n}\n\n// Define the custom element in the global namespace\ndeclare global {\n interface HTMLElementTagNameMap {\n 'kyn-th': TableHeader;\n }\n}\n","import { LitElement, css, html } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport './index';\nimport '../loaders/skeleton';\n\n@customElement('sample-filter-skeleton-component')\nexport class SampleFilterSkeletonComponent extends LitElement {\n static override styles = css`\n .left-content {\n margin-bottom: 8px;\n }\n @media (min-width: 42rem) {\n .left-wrapper {\n display: flex;\n gap: 16px;\n }\n .left-content {\n margin-bottom: 0;\n }\n }\n `;\n override render() {\n return html`\n <kyn-global-filter>\n <div class=\"left-wrapper\">\n <kyn-skeleton width=\"122px\" class=\"left-content\"></kyn-skeleton>\n <kyn-skeleton width=\"122px\"></kyn-skeleton>\n </div>\n <div slot=\"actions\">\n <kyn-skeleton width=\"122px\"></kyn-skeleton>\n </div>\n <div slot=\"tags\"></div>\n </kyn-global-filter>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sample-filter-skeleton-component': SampleFilterSkeletonComponent;\n }\n}\n","import { LitElement, html, unsafeCSS } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\n\nimport '../loaders/skeleton';\nimport '../pagination/pagination.skeleton';\nimport '.';\n\nimport styles from './table.scss?inline';\nimport '../globalFilter/globalFilter.skeleton.sample';\n\n/**\n * `kyn-table-skeleton` Web Component.\n * A skeleton loading state for the table component that mirrors its structure.\n */\n@customElement('kyn-table-skeleton')\nexport class TableSkeleton extends LitElement {\n static override styles = unsafeCSS(styles);\n\n /** Number of skeleton rows to display. */\n @property({ type: Number })\n accessor rows = 5;\n\n /** Shows/hides pagination skeleton. */\n @property({ type: Boolean })\n accessor showPagination = false;\n\n /** Sets dense mode value. */\n @property({ type: Boolean })\n accessor dense = false;\n\n /** Sets striped rows value. */\n @property({ type: Boolean })\n accessor striped = false;\n\n /** Show/hide table header. */\n @property({ type: Boolean })\n accessor hideTableTitles = false;\n\n /** Fixed layout boolean. */\n @property({ type: Boolean })\n accessor fixedLayout = false;\n\n /** Sets title to display in the table toolbar. */\n @property({ type: String })\n accessor tableTitle = '';\n\n /** Sets subtitle to display in the table toolbar. */\n @property({ type: String })\n accessor tableSubtitle = '';\n\n /** Shows/hides golbal filter skeleton. */\n @property({ type: Boolean })\n accessor showGlobalFilter = false;\n\n override render() {\n return html`\n <div>\n ${!this.hideTableTitles\n ? html`\n ${this.tableTitle || this.tableSubtitle\n ? html`<kyn-table-toolbar\n tableTitle=${this.tableTitle}\n tableSubtitle=${this.tableSubtitle}\n ></kyn-table-toolbar>`\n : html`\n <kyn-skeleton\n class=\"skeleton-title\"\n width=\"122px\"\n ></kyn-skeleton>\n <div class=\"skeleton-title-divider\"></div>\n <kyn-skeleton\n class=\"skeleton-subtitle\"\n width=\"61px\"\n ></kyn-skeleton>\n `}\n `\n : null}\n ${this.showGlobalFilter\n ? html` <sample-filter-skeleton-component></sample-filter-skeleton-component>`\n : null}\n <kyn-table-container>\n <kyn-table\n role=\"table\"\n ?dense=${this.dense}\n ?striped=${this.striped}\n ?fixedLayout=${this.fixedLayout}\n >\n <kyn-thead role=\"rowgroup\">\n <kyn-tr role=\"row\" disabled>\n ${Array(5)\n .fill(null)\n .map(\n (_, index) =>\n html`<kyn-th role=\"columnheader\">\n <span class=\"visually-hidden\"\n >Loading column ${index + 1}</span\n >\n ${this.renderSkeletonCell('thead')}\n </kyn-th>`\n )}\n </kyn-tr>\n </kyn-thead>\n\n <kyn-tbody role=\"rowgroup\">\n ${Array(this.rows)\n .fill(null)\n .map(\n (_) => html`\n <kyn-tr role=\"row\" disabled>\n ${Array(5)\n .fill(null)\n .map(\n (_) =>\n html`<kyn-td role=\"cell\">\n ${this.renderSkeletonCell('tbody')}\n </kyn-td>`\n )}\n </kyn-tr>\n `\n )}\n </kyn-tbody>\n </kyn-table>\n </kyn-table-container>\n ${this.showPagination\n ? html`\n <div class=\"pagination-skeleton-wrapper\">\n <kyn-pagination-skeleton></kyn-pagination-skeleton>\n </div>\n `\n : null}\n </div>\n `;\n }\n\n private renderSkeletonCell(type: 'thead' | 'tbody') {\n const width = type === 'thead' ? '192px' : '114px';\n const shade = type === 'thead' ? 'dark' : '';\n return html`\n <kyn-skeleton width=${width} height=\"16px\" shade=${shade}></kyn-skeleton>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'kyn-table-skeleton': TableSkeleton;\n }\n}\n"],"names":["TableHeader","customElement","LitElement","_classThis","_classSuper","_TableHeader_role_accessor_storage","set","this","__runInitializers","_role_initializers","_TableHeader_dense_accessor_storage","_role_extraInitializers","_dense_initializers","_TableHeader__contextConsumer_accessor_storage","_dense_extraInitializers","__contextConsumer_initializers","ContextConsumer","tableContext","context","handleContextChange","dense","_TableHeader_align_accessor_storage","_align_initializers","TABLE_CELL_ALIGN","LEFT","_TableHeader_sortable_accessor_storage","_align_extraInitializers","_sortable_initializers","_TableHeader_sortDirection_accessor_storage","_sortable_extraInitializers","_sortDirection_initializers","SORT_DIRECTION","DEFAULT","_TableHeader_headerLabel_accessor_storage","_sortDirection_extraInitializers","_headerLabel_initializers","_TableHeader_sortKey_accessor_storage","_headerLabel_extraInitializers","_sortKey_initializers","_TableHeader_visiblyHidden_accessor_storage","_sortKey_extraInitializers","_visiblyHidden_initializers","_TableHeader_width_accessor_storage","_visiblyHidden_extraInitializers","_width_initializers","_TableHeader_maxWidth_accessor_storage","_width_extraInitializers","_maxWidth_initializers","_TableHeader_minWidth_accessor_storage","_maxWidth_extraInitializers","_minWidth_initializers","_TableHeader_resizable_accessor_storage","_minWidth_extraInitializers","_resizable_initializers","_TableHeader_assistiveResizeText_accessor_storage","_resizable_extraInitializers","_assistiveResizeText_initializers","_TableHeader_resizeMinWidth_accessor_storage","_assistiveResizeText_extraInitializers","_resizeMinWidth_initializers","_TableHeader_resizeMaxWidth_accessor_storage","_resizeMinWidth_extraInitializers","_resizeMaxWidth_initializers","_TableHeader_listItems_accessor_storage","_resizeMaxWidth_extraInitializers","_listItems_initializers","_TableHeader__isResizing_accessor_storage","_listItems_extraInitializers","__isResizing_initializers","_TableHeader__tableHeightDuringResize_accessor_storage","__isResizing_extraInitializers","__tableHeightDuringResize_initializers","_TableHeader__resizeStartX_accessor_storage","__tableHeightDuringResize_extraInitializers","__resizeStartX_initializers","_TableHeader__resizeStartWidth_accessor_storage","__resizeStartX_extraInitializers","__resizeStartWidth_initializers","_TableHeader__columnWidthsSnapshot_accessor_storage","__resizeStartWidth_extraInitializers","__columnWidthsSnapshot_initializers","Map","_TableHeader__resizedColumnWidth_accessor_storage","__columnWidthsSnapshot_extraInitializers","__resizedColumnWidth_initializers","_TableHeader_assistiveText_accessor_storage","__resizedColumnWidth_extraInitializers","_assistiveText_initializers","_TableHeader__groupLabel_accessor_storage","_assistiveText_extraInitializers","__groupLabel_initializers","_TableHeader__isGroupFirst_accessor_storage","__groupLabel_extraInitializers","__isGroupFirst_initializers","_TableHeader__isGroupLabelTruncated_accessor_storage","__isGroupFirst_extraInitializers","__isGroupLabelTruncated_initializers","_handleWindowResize","__isGroupLabelTruncated_extraInitializers","closest","hasAttribute","_updateGroupLabelDimensions","_isGroupFirst","_groupLabel","_checkGroupLabelTruncation","_handleResizeStart","e","resizable","preventDefault","stopPropagation","_isResizing","_resizeStartX","clientX","_resizeStartWidth","getBoundingClientRect","width","setAttribute","table","_handleResizeHandleHeight","_lockAllColumnsExactly","offsetWidth","document","addEventListener","_handleResizeMove","_handleResizeEnd","tableRect","resizingColumnIndex","_getColumnIndex","headerRow","querySelector","isLastColumn","Array","from","querySelectorAll","length","left","right","clientY","top","bottom","deltaX","newWidth","minWidthValue","minWidth","_parseConstraintValue","resizeMinWidth","maxWidthValue","maxWidth","resizeMaxWidth","Infinity","Math","max","min","_applyWidthToAllCells","_updateTableWidthFromSnapshot","_resizedColumnWidth","_debounceResize","debounce","dispatchEvent","CustomEvent","bubbles","composed","detail","columnIndex","toFixed","_handleResizeHandleHover","_handleResizeHandleLeave","style","removeProperty","_tableHeightDuringResize","removeEventListener","removeAttribute","rect","widthStr","value","parseFloat","parent","indexOf","forEach","col","index","_columnWidthsSnapshot","resizedColumnWidth","updateTableWidthFromResize","role","__classPrivateFieldGet","__classPrivateFieldSet","_contextConsumer","align","sortable","sortDirection","headerLabel","sortKey","visiblyHidden","assistiveResizeText","listItems","resetSort","assistiveText","toggleSortDirection","DESC","ASC","assistiveText1","assistiveText2","console","error","updated","changedProperties","getTextContent","super","has","setProperty","requestAnimationFrame","nonWhitespaceNodes","filter","node","nodeType","Node","TEXT_NODE","_a","textContent","trim","_isGroupLabelTruncated","connectedCallback","_updateHeaderRowAttributes","_syncGroupAttributes","_groupAttrObserver","MutationObserver","observe","attributes","attributeFilter","getAttribute","_measureGroupHeight","_setupGroupResizeObserver","groupLabelBar","shadowRoot","isTruncated","scrollWidth","clientWidth","allHeaders","stackedFirstChildren","h","_hasFollowingNonGroupedTh","currentIndex","i","_groupLabelResizeObserver","ResizeObserver","window","disconnectedCallback","disconnect","_b","group","labelBar","labelHeight","height","allGroups","measureAndSetWidths","grp","siblings","totalWidth","el","sibling","testSibling","handleHeight","groupLabelHeightStr","getComputedStyle","getPropertyValue","groupLabelHeight","render","iconClasses","slotClasses","undefined","ariaLabel","tabIndex","onKeyDown","key","isStacked","html","ifDefined","classMap","unsafeSVG","arrowUpIcon","property","type","String","reflect","Boolean","__contextConsumer_decorators","state","_headerLabel_decorators","_sortKey_decorators","_visiblyHidden_decorators","_assistiveResizeText_decorators","_resizeMinWidth_decorators","_resizeMaxWidth_decorators","_listItems_decorators","queryAssignedNodes","flatten","__isResizing_decorators","__tableHeightDuringResize_decorators","__resizeStartX_decorators","__resizeStartWidth_decorators","__columnWidthsSnapshot_decorators","__resizedColumnWidth_decorators","_assistiveText_decorators","__groupLabel_decorators","__isGroupFirst_decorators","__isGroupLabelTruncated_decorators","__esDecorate","_role_decorators","kind","name","static","private","access","obj","get","metadata","_metadata","_dense_decorators","__contextConsumer_extraInitializers","_align_decorators","_sortable_decorators","_sortDirection_decorators","_width_decorators","_maxWidth_decorators","_minWidth_decorators","_resizable_decorators","_classDescriptor","_classDecorators","_classExtraInitializers","styles","unsafeCSS","css","TableSkeleton","rows","_TableSkeleton_rows_accessor_storage","showPagination","_TableSkeleton_showPagination_accessor_storage","_TableSkeleton_dense_accessor_storage","striped","_TableSkeleton_striped_accessor_storage","hideTableTitles","_TableSkeleton_hideTableTitles_accessor_storage","fixedLayout","_TableSkeleton_fixedLayout_accessor_storage","tableTitle","_TableSkeleton_tableTitle_accessor_storage","tableSubtitle","_TableSkeleton_tableSubtitle_accessor_storage","showGlobalFilter","_TableSkeleton_showGlobalFilter_accessor_storage","fill","map","_","renderSkeletonCell","_rows_initializers","_rows_extraInitializers","_showPagination_initializers","_showPagination_extraInitializers","_striped_initializers","_striped_extraInitializers","_hideTableTitles_initializers","_hideTableTitles_extraInitializers","_fixedLayout_initializers","_fixedLayout_extraInitializers","_tableTitle_initializers","_tableTitle_extraInitializers","_tableSubtitle_initializers","_tableSubtitle_extraInitializers","_showGlobalFilter_initializers","_rows_decorators","Number","_showPagination_decorators","_striped_decorators","_hideTableTitles_decorators","_fixedLayout_decorators","_tableTitle_decorators","_tableSubtitle_decorators","_showGlobalFilter_decorators","_showGlobalFilter_extraInitializers"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
|
|
1
|
-
{"version":3,"file":"table.skeleton-DOQ1oxaz.js","sources":["../src/components/reusable/table/table-header.ts","../src/components/reusable/globalFilter/globalFilter.skeleton.sample.ts","../src/components/reusable/table/table.skeleton.ts"],"sourcesContent":["import { unsafeSVG } from 'lit-html/directives/unsafe-svg.js';\nimport { LitElement, html, unsafeCSS, PropertyValues } from 'lit';\nimport {\n customElement,\n property,\n queryAssignedNodes,\n state,\n} from 'lit/decorators.js';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\n\nimport { ContextConsumer } from '@lit/context';\nimport { tableContext, TableContextType } from './table-context';\n\nimport arrowUpIcon from '@kyndryl-design-system/shidoka-icons/svg/monochrome/16/arrow-up.svg';\nimport styles from './table-header.scss?inline';\n\nimport { SORT_DIRECTION, TABLE_CELL_ALIGN } from './defs';\nimport { debounce } from '../../..';\n\n/**\n * `kyn-th` Web Component.\n *\n * Represents a custom table header cell (`<th>`) for Shidoka's design system tables.\n * Provides sorting functionality when enabled and allows alignment customization.\n *\n * @fires on-sort-changed - Dispatched when the sort direction is changed. `detail: {sortDirection: string, sortKey: string } `\n * @fires on-column-resize - Dispatched when the column is resized. `detail: { columnIndex: number, newWidth: string }`\n * @slot unnamed - The content slot for adding header text or content.\n * @slot column-filter - slot for column filter.\n */\n@customElement('kyn-th')\nexport class TableHeader extends LitElement {\n static override styles = unsafeCSS(styles);\n\n /** aria role.\n * @internal\n */\n @property({ type: String, reflect: true })\n override accessor role = 'columnheader';\n\n /** Determines if the cell should have a denser layout. */\n @property({ type: Boolean, reflect: true })\n accessor dense = false;\n\n /**\n * Context consumer for the table context.\n * Updates the cell's dense properties when the context changes.\n * @private\n * @ignore\n * @type {ContextConsumer<TableContextType, TableHeader>}\n */\n @state()\n // @ts-expect-error - This is a context consumer\n private accessor _contextConsumer = new ContextConsumer(\n this,\n tableContext,\n (context) => {\n if (context) this.handleContextChange(context);\n },\n true\n );\n\n /**\n * Updates the cell's dense properties when the context changes.\n * @param {TableContextType} context - The updated context.\n */\n handleContextChange = ({ dense }: TableContextType) => {\n if (typeof dense == 'boolean') {\n this.dense = dense;\n }\n };\n\n /**\n * Specifies the alignment of the content within the table header.\n * Options: 'left', 'center', 'right'\n */\n @property({ type: String, reflect: true })\n accessor align: TABLE_CELL_ALIGN = TABLE_CELL_ALIGN.LEFT;\n\n /**\n * Specifies if the column is sortable.\n * If set to true, an arrow icon will be displayed unpon hover,\n * allowing the user to toggle sort directions.\n */\n @property({ type: Boolean, reflect: true })\n accessor sortable = false;\n\n /** Specifies the direction of sorting applied to the column. */\n @property({ type: String, reflect: true })\n accessor sortDirection: SORT_DIRECTION = SORT_DIRECTION.DEFAULT;\n\n /**\n * The textual content associated with this component.\n * Represents the primary content or label that will be displayed.\n */\n @property({ type: String })\n accessor headerLabel = '';\n\n /**\n * The unique identifier representing this column header.\n * Used to distinguish between different sortable columns and\n * to ensure that only one column is sorted at a time.\n */\n @property({ type: String })\n accessor sortKey = '';\n\n /**\n * Determines whether the content should be hidden from visual view but remain accessible\n * to screen readers for accessibility purposes. When set to `true`, the content\n * will not be visibly shown, but its content can still be read by screen readers.\n * This is especially useful for providing additional context or information to\n * assistive technologies without cluttering the visual UI.\n */\n @property({ type: Boolean })\n accessor visiblyHidden = false;\n\n /**\n * Sets a fixed width for the cell.\n * Accepts standard CSS width values (e.g., '150px', '50%').\n */\n @property({ type: String, reflect: true })\n accessor width = '';\n\n /**\n * Sets a maximum width for the cell.\n * Accepts standard CSS width values (e.g., '150px', '50%').\n */\n @property({ type: String, reflect: true })\n accessor maxWidth = '';\n\n /**\n * Sets a minimum width for the cell;\n * Accepts standard CSS width values (e.g., '150px', '50%').\n * @type {string}\n */\n @property({ type: String, reflect: true })\n accessor minWidth = '';\n\n /**\n * Enables resizing for this column.\n * When true, a resize handle appears on the right edge of the column.\n */\n @property({ type: Boolean, reflect: true })\n accessor resizable = false;\n\n /** Assistive resize handle text for screen readers. */\n @property({ type: String })\n accessor assistiveResizeText = 'Column resize';\n\n /**\n * Sets a resize minimum width for the cell(supports 'px'.e.g., '150px');\n */\n @property({ type: String })\n accessor resizeMinWidth = '0px';\n\n /**\n * Sets a resize maximum width for the cell (supports 'px'e.g., '150px');\n */\n @property({ type: String })\n accessor resizeMaxWidth = '';\n\n /**\n * @ignore\n */\n @queryAssignedNodes({ flatten: true })\n accessor listItems!: Array<Node>;\n\n /**\n * Indicates whether the column is currently being resized. Used to manage state during the resize operation.\n * @internal\n */\n @state()\n private accessor _isResizing = false;\n\n /**\n * Table height for extending resize handle during drag\n * @ignore\n */\n @state()\n private accessor _tableHeightDuringResize = 0;\n\n /**\n * The initial X-coordinate of the mouse when the resize operation starts. Used to calculate the change in width during resizing.\n * @ignore\n */\n @state()\n private accessor _resizeStartX = 0;\n\n /**\n * The initial width of the column when the resize operation starts. Used as a reference point to calculate the new width during resizing.\n * @ignore\n */\n @state()\n private accessor _resizeStartWidth = 0;\n\n /**\n * For keeping track of the initial widths of all columns before resizing starts.\n * @ignore\n */\n @state()\n private accessor _columnWidthsSnapshot: Map<number, number> = new Map();\n\n /**\n * Stores the current resized column width during drag\n * @ignore\n */\n @state()\n private accessor _resizedColumnWidth = 0;\n\n /**\n * Resets the sorting direction of the component to its default state.\n * Useful for initializing or clearing any applied sorting on the element.\n */\n resetSort() {\n this.sortDirection = SORT_DIRECTION.DEFAULT;\n }\n\n /**\n * Assistive text for screen readers.\n * @ignore\n */\n @state()\n accessor assistiveText = '';\n\n /**\n * Toggles the sort direction between ascending, descending, and default states.\n * It also dispatches an event to notify parent components of the sorting change.\n */\n private toggleSortDirection() {\n if (!this.sortKey) {\n console.error('sortKey is missing for a sortable column.');\n return;\n }\n\n switch (this.sortDirection) {\n case SORT_DIRECTION.DEFAULT:\n case SORT_DIRECTION.DESC: {\n this.sortDirection = SORT_DIRECTION.ASC;\n const assistiveText1 = `Column header ${this.sortKey} sorted in ascending order`;\n this.assistiveText =\n this.assistiveText === '' || this.assistiveText === assistiveText1\n ? `${assistiveText1}.`\n : assistiveText1;\n break;\n }\n case SORT_DIRECTION.ASC: {\n this.sortDirection = SORT_DIRECTION.DESC;\n const assistiveText2 = `Column header ${this.sortKey} sorted in descending order`;\n this.assistiveText =\n this.assistiveText === '' || this.assistiveText === assistiveText2\n ? `${assistiveText2}.`\n : assistiveText2;\n break;\n }\n }\n\n // Dispatch event to notify parent components of the sorting change\n this.dispatchEvent(\n new CustomEvent('on-sort-changed', {\n bubbles: true,\n composed: true,\n detail: { sortDirection: this.sortDirection, sortKey: this.sortKey },\n })\n );\n }\n\n override updated(changedProperties: PropertyValues) {\n this.getTextContent();\n\n super.updated(changedProperties);\n if (this.maxWidth && changedProperties.has('maxWidth')) {\n this.style.setProperty('--kyn-th-max-width', this.maxWidth);\n }\n\n if (this.width && changedProperties.has('width')) {\n this.style.setProperty('--kyn-th-width', this.width);\n }\n\n if (this.minWidth && changedProperties.has('minWidth')) {\n this.style.setProperty('--kyn-th-min-width', this.minWidth);\n }\n\n // Check if group label is truncated after render\n if (this._isGroupFirst && this._groupLabel) {\n console.log('Checking truncation for', this._groupLabel);\n requestAnimationFrame(() => this._checkGroupLabelTruncation());\n }\n }\n\n getTextContent() {\n const nonWhitespaceNodes = this.listItems.filter((node) => {\n return (\n node?.nodeType !== Node.TEXT_NODE || node?.textContent?.trim() !== ''\n );\n });\n\n this.headerLabel = nonWhitespaceNodes[0]?.textContent || '';\n }\n\n /**\n * The group label text when this header is inside a kyn-th-group.\n * Set by the parent kyn-th-group component.\n * @ignore\n */\n @state()\n private accessor _groupLabel = '';\n\n /**\n * Whether this is the first child in a stacked header group.\n * @ignore\n */\n @state()\n private accessor _isGroupFirst = false;\n\n /**\n * Whether the group label text is truncated.\n * Used to determine if a title attribute should be shown.\n * @ignore\n */\n @state()\n private accessor _isGroupLabelTruncated = false;\n\n override connectedCallback() {\n super.connectedCallback();\n // Detect if this header is inside a stacked header group\n if (this.closest('kyn-th-group')) {\n this.setAttribute('stacked-child', '');\n\n // Only set data-header-not-expandable on stacked children\n const headerRow = this.closest('kyn-header-tr') as any;\n if (headerRow && !headerRow.hasAttribute('expandable')) {\n this.setAttribute('data-header-not-expandable', '');\n }\n\n // Check if header row has checkboxSelection\n if (headerRow && headerRow.hasAttribute('checkboxSelection')) {\n this.setAttribute('data-checkbox-selection', '');\n }\n }\n\n // Check if this is the first kyn-th in the entire header row\n const headerRow = this.closest('kyn-header-tr') as any;\n if (headerRow) {\n this._updateHeaderRowAttributes(headerRow);\n }\n\n // Read any group attributes already set by kyn-th-group\n this._syncGroupAttributes();\n\n // Watch for attribute changes set by kyn-th-group\n this._groupAttrObserver = new MutationObserver(() => {\n this._syncGroupAttributes();\n });\n this._groupAttrObserver.observe(this, {\n attributes: true,\n attributeFilter: [\n 'data-group-label',\n 'stacked-child-first',\n 'stacked-child-last',\n 'stacked-child',\n ],\n });\n }\n\n /**\n * Syncs internal state from group attributes and triggers measurement.\n * @ignore\n */\n private _syncGroupAttributes() {\n this._groupLabel = this.getAttribute('data-group-label') || '';\n this._isGroupFirst = this.hasAttribute('stacked-child-first');\n\n if (this._isGroupFirst && this._groupLabel) {\n // Measure the group label height\n requestAnimationFrame(() => this._measureGroupHeight());\n }\n\n // For ALL stacked children (not just first), set up observer to update group dimensions on resize\n if (this.hasAttribute('stacked-child') && this._groupLabel) {\n this._setupGroupResizeObserver();\n }\n\n // Update header row attributes whenever group attributes change\n const headerRow = this.closest('kyn-header-tr');\n if (headerRow) {\n this._updateHeaderRowAttributes(headerRow);\n }\n }\n\n /**\n * Checks if the group label text is truncated.\n * @ignore\n */\n private _checkGroupLabelTruncation() {\n const groupLabelBar = this.shadowRoot?.querySelector('.group-label-bar');\n if (!groupLabelBar) {\n this._isGroupLabelTruncated = false;\n return;\n }\n\n const isTruncated = groupLabelBar.scrollWidth > groupLabelBar.clientWidth;\n this._isGroupLabelTruncated = isTruncated;\n }\n\n /**\n * Updates header row attributes like data-first-in-row, and data-last-group.\n * Should be called whenever the DOM structure changes.\n * @ignore\n */\n private _updateHeaderRowAttributes(headerRow: Element) {\n const allHeaders = Array.from(\n headerRow.querySelectorAll('kyn-th')\n ) as Element[];\n\n // Only set data-first-in-row on stacked children\n if (allHeaders[0] === this && this.hasAttribute('stacked-child')) {\n this.setAttribute('data-first-in-row', '');\n } else {\n this.removeAttribute('data-first-in-row');\n }\n\n // Mark the first child of the last stacked group\n const stackedFirstChildren = allHeaders.filter((h) =>\n h.hasAttribute('stacked-child-first')\n );\n if (stackedFirstChildren.length > 0) {\n const lastGroupFirst =\n stackedFirstChildren[stackedFirstChildren.length - 1];\n if (this === lastGroupFirst) {\n this.setAttribute('data-last-group', '');\n\n // Check if there's a kyn-th after stacked group\n const hasFollowingNonGroupedTh =\n this._hasFollowingNonGroupedTh(allHeaders);\n if (hasFollowingNonGroupedTh) {\n this.setAttribute('data-has-following-th', '');\n } else {\n this.removeAttribute('data-has-following-th');\n }\n } else {\n this.removeAttribute('data-last-group');\n this.removeAttribute('data-has-following-th');\n }\n } else {\n this.removeAttribute('data-last-group');\n this.removeAttribute('data-has-following-th');\n }\n }\n\n /**\n * Checks if there's a non-stacked kyn-th following the current element.\n * @ignore\n */\n private _hasFollowingNonGroupedTh(allHeaders: Element[]): boolean {\n const currentIndex = allHeaders.indexOf(this);\n if (currentIndex === -1) return false;\n\n // Look for any kyn-th after current index that is NOT a stacked-child\n for (let i = currentIndex + 1; i < allHeaders.length; i++) {\n if (!allHeaders[i].hasAttribute('stacked-child')) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Sets up a ResizeObserver for all stacked children to trigger group dimension updates.\n * @ignore\n */\n private _setupGroupResizeObserver() {\n if (this._groupLabelResizeObserver) {\n return;\n }\n\n this._groupLabelResizeObserver = new ResizeObserver(() => {\n this._updateGroupLabelDimensions();\n });\n this._groupLabelResizeObserver.observe(this);\n\n // listen for window resize to catch viewport changes\n window.addEventListener('resize', this._handleWindowResize);\n }\n\n override disconnectedCallback() {\n super.disconnectedCallback();\n this._groupAttrObserver?.disconnect();\n this._groupLabelResizeObserver?.disconnect();\n window.removeEventListener('resize', this._handleWindowResize);\n }\n\n /**\n * Handle window resize to update group label dimensions.\n * @ignore\n */\n private _handleWindowResize = () => {\n const headerRow = this.closest('kyn-header-tr');\n if (headerRow && this.hasAttribute('stacked-child')) {\n this._updateGroupLabelDimensions();\n // Check truncation when window resizes\n if (this._isGroupFirst && this._groupLabel) {\n this._checkGroupLabelTruncation();\n }\n }\n };\n\n /**\n * MutationObserver for group attribute changes.\n * @ignore\n */\n private _groupAttrObserver?: MutationObserver;\n\n /**\n * ResizeObserver for the group label bar to react to text wrapping.\n * @ignore\n */\n private _groupLabelResizeObserver?: ResizeObserver;\n\n /**\n * Measure the label bar height for consistent spacing across all siblings\n * @ignore\n */\n private _measureGroupHeight() {\n const group = this.closest('kyn-th-group');\n if (!group) return;\n\n // Measure the label bar height for consistent spacing across all siblings\n const labelBar = this.shadowRoot?.querySelector(\n '.group-label-bar'\n ) as HTMLElement;\n if (labelBar) {\n const labelHeight = labelBar.getBoundingClientRect().height;\n // Set on parent group so all children inherit it\n group.style.setProperty('--kyn-group-label-height', `${labelHeight}px`);\n }\n }\n\n /**\n * Called by ResizeObserver when the host cell resizes (on viewport change).\n * Measures ALL group label heights in the same header row and applies\n * the maximum height to all groups, ensuring uniform row height.\n * rAF calls to ensure layout fully settles before measuring.\n * @ignore\n */\n private _updateGroupLabelDimensions() {\n const headerRow = this.closest('kyn-header-tr');\n if (!headerRow) return;\n\n // Find all groups in this header row\n const allGroups = Array.from(\n headerRow.querySelectorAll('kyn-th-group')\n ) as HTMLElement[];\n\n if (allGroups.length === 0) return;\n\n //Update widths for all groups\n requestAnimationFrame(() => {\n allGroups.forEach((grp) => {\n const siblings = Array.from(\n grp.querySelectorAll(':scope > kyn-th')\n ) as HTMLElement[];\n let totalWidth = 0;\n siblings.forEach((el) => {\n totalWidth += el.getBoundingClientRect().width;\n });\n if (totalWidth > 0) {\n grp.style.setProperty('--kyn-group-label-width', `${totalWidth}px`);\n }\n });\n });\n }\n\n /** Handle Resize Start\n * @ignore\n */\n private _handleResizeStart = (e: MouseEvent) => {\n if (!this.resizable) return;\n\n e.preventDefault();\n e.stopPropagation();\n\n this._isResizing = true;\n this._resizeStartX = e.clientX;\n this._resizeStartWidth = this.getBoundingClientRect().width;\n\n // Mark as resizing (hides sort icon, locks handle position)\n this.setAttribute('data-resizing', 'true');\n\n const table = this.closest('kyn-table') as any;\n if (table) {\n // Store table height to extend resize handle\n this._handleResizeHandleHeight(table);\n\n // Lock ALL columns to their exact current widths - this freezes the layout completely\n this._lockAllColumnsExactly();\n\n // Force reflow to apply the lock immediately - prevents jump on first mousemove\n void this.offsetWidth;\n }\n\n // Add event listeners, when resize starts\n document.addEventListener('mousemove', this._handleResizeMove);\n document.addEventListener('mouseup', this._handleResizeEnd);\n };\n\n /** Handle Resize Move\n * @internal\n */\n private _handleResizeMove = (e: MouseEvent) => {\n if (!this._isResizing) return;\n\n e.preventDefault();\n\n // Check if cursor is still within table bounds\n const table = this.closest('kyn-table') as any;\n if (table) {\n const tableRect = table.getBoundingClientRect();\n const resizingColumnIndex = this._getColumnIndex();\n const headerRow = table.querySelector('kyn-header-tr');\n const columns = headerRow\n ? Array.from(headerRow.querySelectorAll('kyn-th'))\n : [];\n const isLastColumn = resizingColumnIndex === columns.length - 1;\n\n // If cursor moved outside table bounds, stop resize\n // Exception: Allow last column to expand right beyond table bounds\n if (\n e.clientX < tableRect.left ||\n (e.clientX > tableRect.right && !isLastColumn) ||\n e.clientY < tableRect.top ||\n e.clientY > tableRect.bottom\n ) {\n // End resize operation\n this._handleResizeEnd(e);\n return;\n }\n }\n\n const deltaX = e.clientX - this._resizeStartX;\n let newWidth = this._resizeStartWidth + deltaX;\n\n // Parse constraint values - minWidth takes precedence over resizeMinWidth\n const minWidthValue = this.minWidth\n ? this._parseConstraintValue(this.minWidth)\n : this._parseConstraintValue(this.resizeMinWidth);\n const maxWidthValue = this.maxWidth\n ? this._parseConstraintValue(this.maxWidth)\n : this._parseConstraintValue(this.resizeMaxWidth) || Infinity;\n\n // Apply constraints\n newWidth = Math.max(minWidthValue, Math.min(newWidth, maxWidthValue));\n\n // Update resize handle height as table height changes during drag\n if (table) {\n this._handleResizeHandleHeight(table);\n }\n\n // Apply width ONLY to the resized column - nothing else changes\n this._applyWidthToAllCells(newWidth);\n\n // Calculate table width = sum of all locked columns + new resized column width\n this._updateTableWidthFromSnapshot(newWidth);\n\n // Update group label dimensions during resize to prevent gaps\n if (this.hasAttribute('stacked-child')) {\n this._updateGroupLabelDimensions();\n }\n\n // Store the current resized column width for use in the debounced resize end handler\n this._resizedColumnWidth = newWidth;\n };\n\n /** @internal */\n private _debounceResize = debounce(() => {\n // Dispatch event with new column width\n this.dispatchEvent(\n new CustomEvent('on-column-resize', {\n bubbles: true,\n composed: true,\n detail: {\n columnIndex: this._getColumnIndex(),\n newWidth: `${this._resizedColumnWidth.toFixed(2)}px`,\n },\n })\n );\n });\n\n private _handleResizeHandleHeight(table: any) {\n const tableRect = table.getBoundingClientRect();\n this._tableHeightDuringResize = tableRect.height;\n\n // For stacked children, only extend handle if not overlapping with group label\n // to prevent flickering during resize - EXCEPT for the last column in the group\n let handleHeight = tableRect.height;\n if (this.hasAttribute('stacked-child')) {\n // Check if this is the last column in the stacked group\n const isLastInGroup = this.hasAttribute('stacked-child-last');\n\n // Allow full height for last column, constrain others to avoid flicker\n if (!isLastInGroup) {\n const groupLabelHeightStr = getComputedStyle(this).getPropertyValue(\n '--kyn-group-label-height'\n );\n const groupLabelHeight = parseFloat(groupLabelHeightStr) || 42;\n // Limit handle height to table height minus group label to avoid flicker\n handleHeight = Math.max(\n tableRect.height - groupLabelHeight,\n tableRect.height\n );\n }\n }\n\n this.style.setProperty('--kyn-resize-handle-height', `${handleHeight}px`);\n }\n\n /**\n * Handle resize handle hover - set height to table height\n * @internal\n */\n private _handleResizeHandleHover = () => {\n const table = this.closest('kyn-table') as any;\n if (table && this.resizable) {\n this._handleResizeHandleHeight(table);\n }\n };\n\n /**\n * Handle resize handle leave - reset height\n * @internal\n */\n private _handleResizeHandleLeave = () => {\n if (!this._isResizing) {\n this.style.removeProperty('--kyn-resize-handle-height');\n }\n };\n\n /** Handle Resize End\n * @internal\n */\n private _handleResizeEnd = (e: MouseEvent) => {\n if (!this._isResizing) return;\n\n e.preventDefault();\n this._isResizing = false;\n this._tableHeightDuringResize = 0;\n\n this._debounceResize(e);\n\n // Remove event listeners, when resize ends\n document.removeEventListener('mousemove', this._handleResizeMove);\n document.removeEventListener('mouseup', this._handleResizeEnd);\n\n // Remove resizing state (shows sort icon again)\n this.removeAttribute('data-resizing');\n\n // If mouse is still over the header, restore the height\n const rect = this.getBoundingClientRect();\n const isStillHovering =\n e.clientX >= rect.left &&\n e.clientX <= rect.right &&\n e.clientY >= rect.top &&\n e.clientY <= rect.bottom;\n\n if (isStillHovering) {\n const table = this.closest('kyn-table') as any;\n if (table) {\n this._handleResizeHandleHeight(table);\n }\n } else {\n this.style.removeProperty('--kyn-resize-handle-height');\n }\n };\n\n /**\n * Apply width to all header column cells based on the resized width.\n * @ignore\n */\n private _applyWidthToAllCells = (width: number) => {\n const widthStr = `${width}px`;\n\n // Apply width to this header cell only - body cells have their own styles\n this.style.width = widthStr;\n this.style.minWidth = widthStr;\n this.style.maxWidth = widthStr;\n };\n\n /**\n * Utility function to parse constraint values (min/max width) from string to number.\n * @ignore\n */\n private _parseConstraintValue = (value: string | number): number => {\n if (typeof value === 'number') return value;\n const numValue = parseFloat(value);\n return numValue;\n };\n\n /**\n * Get the index of the current column when resize.\n * @ignore\n */\n private _getColumnIndex = (): number => {\n const parent = this.closest('kyn-header-tr');\n if (!parent) return -1;\n return Array.from(parent.querySelectorAll('kyn-th')).indexOf(this);\n };\n\n /**\n * Lock every column to its exact current width to prevent any layout shifts during resizing.\n * @ignore\n */\n private _lockAllColumnsExactly = () => {\n const table = this.closest('kyn-table') as any;\n if (!table) return;\n\n const headerRow = table.querySelector('kyn-header-tr');\n if (!headerRow) return;\n\n const columns = Array.from(headerRow.querySelectorAll('kyn-th'));\n\n // Lock EVERY column to exact pixel width to prevent layout shifts\n columns.forEach((col, index) => {\n const width = (col as HTMLElement).getBoundingClientRect().width;\n\n // Store the width for later calculation\n this._columnWidthsSnapshot.set(index, width);\n\n // Apply the lock immediately to prevent any layout shifts\n (col as any).style.width = `${width}px`;\n (col as any).style.minWidth = `${width}px`;\n (col as any).style.maxWidth = `${width}px`;\n });\n };\n\n /**\n *\n * @ignore\n */\n private _updateTableWidthFromSnapshot = (resizedColumnWidth: number) => {\n const table = this.closest('kyn-table') as any;\n if (!table) return;\n\n const resizingColumnIndex = this._getColumnIndex();\n\n // To updated table component width\n table.updateTableWidthFromResize(\n this._columnWidthsSnapshot,\n resizingColumnIndex,\n resizedColumnWidth\n );\n };\n\n override render() {\n const iconClasses = {\n 'sort-icon': true,\n 'sort-icon--sorting': this.sortDirection !== SORT_DIRECTION.DEFAULT,\n 'sort-icon--sorting-asc': this.sortDirection === SORT_DIRECTION.ASC,\n 'sort-icon--sorting-desc': this.sortDirection === SORT_DIRECTION.DESC,\n };\n\n const slotClasses = {\n 'slot-wrapper': true,\n 'sr-only': this.visiblyHidden,\n };\n\n /**\n * Accessibility Enhancements:\n * - role: Sets the appropriate role for interactive headers (e.g., when sortable).\n * - ariaSort: Indicates the sorting direction to assistive technologies.\n * - ariaLabel: Provides a descriptive label to assistive technologies for sortable headers.\n * - tabIndex: Enables keyboard interaction for sortable headers.\n * - onKeyDown: Handles keyboard events for sortable headers to allow sorting via the keyboard.\n */\n const role = this.sortable ? 'button' : undefined;\n // const arialSort = this.sortable ? this.sortDirection : undefined;\n const ariaLabel =\n this.sortable && this.headerLabel\n ? `Sort by ${this.headerLabel}`\n : undefined;\n const tabIndex = this.sortable ? 0 : undefined;\n const onKeyDown = this.sortable\n ? (e: KeyboardEvent) => {\n if (e.key === 'Enter' || e.key === ' ') {\n this.toggleSortDirection();\n }\n }\n : undefined;\n\n // Show group-label-bar for ALL stacked children\n const isStacked = this.hasAttribute('stacked-child');\n\n return html`\n ${isStacked\n ? html`<div\n class=\"group-label-bar\"\n title=${this._isGroupLabelTruncated ? this._groupLabel : ''}\n >\n ${this._groupLabel || html` `}\n </div>`\n : null}\n <div\n class=\"container\"\n role=${ifDefined(role)}\n @click=${this.sortable ? () => this.toggleSortDirection() : undefined}\n aria-label=${ifDefined(ariaLabel)}\n tabindex=${ifDefined(tabIndex)}\n @keydown=${onKeyDown}\n >\n <div class=${classMap(slotClasses)}>\n <slot></slot>\n </div>\n ${this.sortable\n ? html`<span class=${classMap(iconClasses)}\n >${unsafeSVG(arrowUpIcon)}</span\n >`\n : null}\n\n <div\n class=\"assistive-text\"\n role=\"status\"\n aria-live=\"polite\"\n aria-relevant=\"additions text\"\n >\n ${this.assistiveText}\n </div>\n </div>\n ${this.resizable\n ? html`<div\n class=\"resize-handle\"\n @mousedown=${this._handleResizeStart}\n @mouseenter=${this._handleResizeHandleHover}\n @mouseleave=${this._handleResizeHandleLeave}\n role=\"separator\"\n title=${this.assistiveResizeText}\n aria-label=${this.assistiveResizeText}\n aria-orientation=\"vertical\"\n ></div>`\n : null}\n <slot name=\"column-filter\"> </slot>\n `;\n }\n}\n\n// Define the custom element in the global namespace\ndeclare global {\n interface HTMLElementTagNameMap {\n 'kyn-th': TableHeader;\n }\n}\n","import { LitElement, css, html } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport './index';\nimport '../loaders/skeleton';\n\n@customElement('sample-filter-skeleton-component')\nexport class SampleFilterSkeletonComponent extends LitElement {\n static override styles = css`\n .left-content {\n margin-bottom: 8px;\n }\n @media (min-width: 42rem) {\n .left-wrapper {\n display: flex;\n gap: 16px;\n }\n .left-content {\n margin-bottom: 0;\n }\n }\n `;\n override render() {\n return html`\n <kyn-global-filter>\n <div class=\"left-wrapper\">\n <kyn-skeleton width=\"122px\" class=\"left-content\"></kyn-skeleton>\n <kyn-skeleton width=\"122px\"></kyn-skeleton>\n </div>\n <div slot=\"actions\">\n <kyn-skeleton width=\"122px\"></kyn-skeleton>\n </div>\n <div slot=\"tags\"></div>\n </kyn-global-filter>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sample-filter-skeleton-component': SampleFilterSkeletonComponent;\n }\n}\n","import { LitElement, html, unsafeCSS } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\n\nimport '../loaders/skeleton';\nimport '../pagination/pagination.skeleton';\nimport '.';\n\nimport styles from './table.scss?inline';\nimport '../globalFilter/globalFilter.skeleton.sample';\n\n/**\n * `kyn-table-skeleton` Web Component.\n * A skeleton loading state for the table component that mirrors its structure.\n */\n@customElement('kyn-table-skeleton')\nexport class TableSkeleton extends LitElement {\n static override styles = unsafeCSS(styles);\n\n /** Number of skeleton rows to display. */\n @property({ type: Number })\n accessor rows = 5;\n\n /** Shows/hides pagination skeleton. */\n @property({ type: Boolean })\n accessor showPagination = false;\n\n /** Sets dense mode value. */\n @property({ type: Boolean })\n accessor dense = false;\n\n /** Sets striped rows value. */\n @property({ type: Boolean })\n accessor striped = false;\n\n /** Show/hide table header. */\n @property({ type: Boolean })\n accessor hideTableTitles = false;\n\n /** Fixed layout boolean. */\n @property({ type: Boolean })\n accessor fixedLayout = false;\n\n /** Sets title to display in the table toolbar. */\n @property({ type: String })\n accessor tableTitle = '';\n\n /** Sets subtitle to display in the table toolbar. */\n @property({ type: String })\n accessor tableSubtitle = '';\n\n /** Shows/hides golbal filter skeleton. */\n @property({ type: Boolean })\n accessor showGlobalFilter = false;\n\n override render() {\n return html`\n <div>\n ${!this.hideTableTitles\n ? html`\n ${this.tableTitle || this.tableSubtitle\n ? html`<kyn-table-toolbar\n tableTitle=${this.tableTitle}\n tableSubtitle=${this.tableSubtitle}\n ></kyn-table-toolbar>`\n : html`\n <kyn-skeleton\n class=\"skeleton-title\"\n width=\"122px\"\n ></kyn-skeleton>\n <div class=\"skeleton-title-divider\"></div>\n <kyn-skeleton\n class=\"skeleton-subtitle\"\n width=\"61px\"\n ></kyn-skeleton>\n `}\n `\n : null}\n ${this.showGlobalFilter\n ? html` <sample-filter-skeleton-component></sample-filter-skeleton-component>`\n : null}\n <kyn-table-container>\n <kyn-table\n role=\"table\"\n ?dense=${this.dense}\n ?striped=${this.striped}\n ?fixedLayout=${this.fixedLayout}\n >\n <kyn-thead role=\"rowgroup\">\n <kyn-tr role=\"row\" disabled>\n ${Array(5)\n .fill(null)\n .map(\n (_, index) =>\n html`<kyn-th role=\"columnheader\">\n <span class=\"visually-hidden\"\n >Loading column ${index + 1}</span\n >\n ${this.renderSkeletonCell('thead')}\n </kyn-th>`\n )}\n </kyn-tr>\n </kyn-thead>\n\n <kyn-tbody role=\"rowgroup\">\n ${Array(this.rows)\n .fill(null)\n .map(\n (_) => html`\n <kyn-tr role=\"row\" disabled>\n ${Array(5)\n .fill(null)\n .map(\n (_) =>\n html`<kyn-td role=\"cell\">\n ${this.renderSkeletonCell('tbody')}\n </kyn-td>`\n )}\n </kyn-tr>\n `\n )}\n </kyn-tbody>\n </kyn-table>\n </kyn-table-container>\n ${this.showPagination\n ? html`\n <div class=\"pagination-skeleton-wrapper\">\n <kyn-pagination-skeleton></kyn-pagination-skeleton>\n </div>\n `\n : null}\n </div>\n `;\n }\n\n private renderSkeletonCell(type: 'thead' | 'tbody') {\n const width = type === 'thead' ? '192px' : '114px';\n const shade = type === 'thead' ? 'dark' : '';\n return html`\n <kyn-skeleton width=${width} height=\"16px\" shade=${shade}></kyn-skeleton>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'kyn-table-skeleton': TableSkeleton;\n }\n}\n"],"names":["TableHeader","customElement","LitElement","_classThis","_classSuper","_TableHeader_role_accessor_storage","set","this","__runInitializers","_role_initializers","_TableHeader_dense_accessor_storage","_role_extraInitializers","_dense_initializers","_TableHeader__contextConsumer_accessor_storage","_dense_extraInitializers","__contextConsumer_initializers","ContextConsumer","tableContext","context","handleContextChange","dense","_TableHeader_align_accessor_storage","_align_initializers","TABLE_CELL_ALIGN","LEFT","_TableHeader_sortable_accessor_storage","_align_extraInitializers","_sortable_initializers","_TableHeader_sortDirection_accessor_storage","_sortable_extraInitializers","_sortDirection_initializers","SORT_DIRECTION","DEFAULT","_TableHeader_headerLabel_accessor_storage","_sortDirection_extraInitializers","_headerLabel_initializers","_TableHeader_sortKey_accessor_storage","_headerLabel_extraInitializers","_sortKey_initializers","_TableHeader_visiblyHidden_accessor_storage","_sortKey_extraInitializers","_visiblyHidden_initializers","_TableHeader_width_accessor_storage","_visiblyHidden_extraInitializers","_width_initializers","_TableHeader_maxWidth_accessor_storage","_width_extraInitializers","_maxWidth_initializers","_TableHeader_minWidth_accessor_storage","_maxWidth_extraInitializers","_minWidth_initializers","_TableHeader_resizable_accessor_storage","_minWidth_extraInitializers","_resizable_initializers","_TableHeader_assistiveResizeText_accessor_storage","_resizable_extraInitializers","_assistiveResizeText_initializers","_TableHeader_resizeMinWidth_accessor_storage","_assistiveResizeText_extraInitializers","_resizeMinWidth_initializers","_TableHeader_resizeMaxWidth_accessor_storage","_resizeMinWidth_extraInitializers","_resizeMaxWidth_initializers","_TableHeader_listItems_accessor_storage","_resizeMaxWidth_extraInitializers","_listItems_initializers","_TableHeader__isResizing_accessor_storage","_listItems_extraInitializers","__isResizing_initializers","_TableHeader__tableHeightDuringResize_accessor_storage","__isResizing_extraInitializers","__tableHeightDuringResize_initializers","_TableHeader__resizeStartX_accessor_storage","__tableHeightDuringResize_extraInitializers","__resizeStartX_initializers","_TableHeader__resizeStartWidth_accessor_storage","__resizeStartX_extraInitializers","__resizeStartWidth_initializers","_TableHeader__columnWidthsSnapshot_accessor_storage","__resizeStartWidth_extraInitializers","__columnWidthsSnapshot_initializers","Map","_TableHeader__resizedColumnWidth_accessor_storage","__columnWidthsSnapshot_extraInitializers","__resizedColumnWidth_initializers","_TableHeader_assistiveText_accessor_storage","__resizedColumnWidth_extraInitializers","_assistiveText_initializers","_TableHeader__groupLabel_accessor_storage","_assistiveText_extraInitializers","__groupLabel_initializers","_TableHeader__isGroupFirst_accessor_storage","__groupLabel_extraInitializers","__isGroupFirst_initializers","_TableHeader__isGroupLabelTruncated_accessor_storage","__isGroupFirst_extraInitializers","__isGroupLabelTruncated_initializers","_handleWindowResize","__isGroupLabelTruncated_extraInitializers","closest","hasAttribute","_updateGroupLabelDimensions","_isGroupFirst","_groupLabel","_checkGroupLabelTruncation","_handleResizeStart","e","resizable","preventDefault","stopPropagation","_isResizing","_resizeStartX","clientX","_resizeStartWidth","getBoundingClientRect","width","setAttribute","table","_handleResizeHandleHeight","_lockAllColumnsExactly","offsetWidth","document","addEventListener","_handleResizeMove","_handleResizeEnd","tableRect","resizingColumnIndex","_getColumnIndex","headerRow","querySelector","isLastColumn","Array","from","querySelectorAll","length","left","right","clientY","top","bottom","deltaX","newWidth","minWidthValue","minWidth","_parseConstraintValue","resizeMinWidth","maxWidthValue","maxWidth","resizeMaxWidth","Infinity","Math","max","min","_applyWidthToAllCells","_updateTableWidthFromSnapshot","_resizedColumnWidth","_debounceResize","debounce","dispatchEvent","CustomEvent","bubbles","composed","detail","columnIndex","toFixed","_handleResizeHandleHover","_handleResizeHandleLeave","style","removeProperty","_tableHeightDuringResize","removeEventListener","removeAttribute","rect","widthStr","value","parseFloat","parent","indexOf","forEach","col","index","_columnWidthsSnapshot","resizedColumnWidth","updateTableWidthFromResize","role","__classPrivateFieldGet","__classPrivateFieldSet","_contextConsumer","align","sortable","sortDirection","headerLabel","sortKey","visiblyHidden","assistiveResizeText","listItems","resetSort","assistiveText","toggleSortDirection","DESC","ASC","assistiveText1","assistiveText2","console","error","updated","changedProperties","getTextContent","super","has","setProperty","log","requestAnimationFrame","nonWhitespaceNodes","filter","node","nodeType","Node","TEXT_NODE","_a","textContent","trim","_isGroupLabelTruncated","connectedCallback","_updateHeaderRowAttributes","_syncGroupAttributes","_groupAttrObserver","MutationObserver","observe","attributes","attributeFilter","getAttribute","_measureGroupHeight","_setupGroupResizeObserver","groupLabelBar","shadowRoot","isTruncated","scrollWidth","clientWidth","allHeaders","stackedFirstChildren","h","_hasFollowingNonGroupedTh","currentIndex","i","_groupLabelResizeObserver","ResizeObserver","window","disconnectedCallback","disconnect","_b","group","labelBar","labelHeight","height","allGroups","grp","siblings","totalWidth","el","handleHeight","groupLabelHeightStr","getComputedStyle","getPropertyValue","groupLabelHeight","render","iconClasses","slotClasses","undefined","ariaLabel","tabIndex","onKeyDown","key","isStacked","html","ifDefined","classMap","unsafeSVG","arrowUpIcon","property","type","String","reflect","Boolean","__contextConsumer_decorators","state","_headerLabel_decorators","_sortKey_decorators","_visiblyHidden_decorators","_assistiveResizeText_decorators","_resizeMinWidth_decorators","_resizeMaxWidth_decorators","_listItems_decorators","queryAssignedNodes","flatten","__isResizing_decorators","__tableHeightDuringResize_decorators","__resizeStartX_decorators","__resizeStartWidth_decorators","__columnWidthsSnapshot_decorators","__resizedColumnWidth_decorators","_assistiveText_decorators","__groupLabel_decorators","__isGroupFirst_decorators","__isGroupLabelTruncated_decorators","__esDecorate","_role_decorators","kind","name","static","private","access","obj","get","metadata","_metadata","_dense_decorators","__contextConsumer_extraInitializers","_align_decorators","_sortable_decorators","_sortDirection_decorators","_width_decorators","_maxWidth_decorators","_minWidth_decorators","_resizable_decorators","_classDescriptor","_classDecorators","_classExtraInitializers","styles","unsafeCSS","css","TableSkeleton","rows","_TableSkeleton_rows_accessor_storage","showPagination","_TableSkeleton_showPagination_accessor_storage","_TableSkeleton_dense_accessor_storage","striped","_TableSkeleton_striped_accessor_storage","hideTableTitles","_TableSkeleton_hideTableTitles_accessor_storage","fixedLayout","_TableSkeleton_fixedLayout_accessor_storage","tableTitle","_TableSkeleton_tableTitle_accessor_storage","tableSubtitle","_TableSkeleton_tableSubtitle_accessor_storage","showGlobalFilter","_TableSkeleton_showGlobalFilter_accessor_storage","fill","map","_","renderSkeletonCell","_rows_initializers","_rows_extraInitializers","_showPagination_initializers","_showPagination_extraInitializers","_striped_initializers","_striped_extraInitializers","_hideTableTitles_initializers","_hideTableTitles_extraInitializers","_fixedLayout_initializers","_fixedLayout_extraInitializers","_tableTitle_initializers","_tableTitle_extraInitializers","_tableSubtitle_initializers","_tableSubtitle_extraInitializers","_showGlobalFilter_initializers","_rows_decorators","Number","_showPagination_decorators","_striped_decorators","_hideTableTitles_decorators","_fixedLayout_decorators","_tableTitle_decorators","_tableSubtitle_decorators","_showGlobalFilter_decorators","_showGlobalFilter_extraInitializers"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCaA,EAAW,0JADvBC,EAAc,oBACkBC,6UAARC,EAAA,cAAQC,qCAObC,EAAAC,IAAAC,KAAAC,EAAAD,KAAAE,GAAO,iBAIhBC,EAAAJ,IAAAC,MAAAC,EAAAD,KAAAI,IAAAH,EAAAD,KAAAK,IAAQ,KAWAC,EAAAP,IAAAC,MAAAC,EAAAD,KAAAO,IAAAN,EAAAD,KAAAQ,GAAmB,IAAIC,EACtCT,KACAU,GACCC,IACKA,GAASX,KAAKY,oBAAoBD,EAAQ,IAEhD,MAOFX,KAAAY,gCAAsB,EAAGC,YACH,kBAATA,IACTb,KAAKa,MAAQA,EACf,GAQOC,EAAAf,IAAAC,KAAAC,EAAAD,KAAAe,GAA0BC,EAAiBC,OAQ3CC,EAAAnB,IAAAC,MAAAC,EAAAD,KAAAmB,IAAAlB,EAAAD,KAAAoB,IAAW,KAIXC,E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