ia-table 0.15.2 → 0.15.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/chat.d.ts CHANGED
@@ -100,6 +100,7 @@ declare const ACTION_TYPES: {
100
100
  readonly SET_COMMENT_CONTEXT_REF: "SET_COMMENT_CONTEXT_REF";
101
101
  readonly SET_CHAT_ENABLED: "SET_CHAT_ENABLED";
102
102
  readonly SET_COMMENT_ENABLED: "SET_COMMENT_ENABLED";
103
+ readonly SET_NO_HEADER_SELECTION_CHECKBOX: "SET_NO_HEADER_SELECTION_CHECKBOX";
103
104
  };
104
105
 
105
106
  export declare const CommentWrapper: React.FC<SmartGridCommentWrapperProps>;
@@ -901,6 +902,7 @@ declare interface SmartGridCallbackRefCurrent {
901
902
  onSortChange?: ((sortModel: SmartGridSortModel) => void) | null;
902
903
  onFilterChange?: ((filterModel: SmartGridFilterModel) => void) | null;
903
904
  onSearch?: ((searchTerm: SmartGridSearchFunctionParams) => void) | null;
905
+ onContentDensityChange?: ((contentDensity: SmartGridRowHeightType) => void) | null;
904
906
  }
905
907
 
906
908
  declare type SmartGridCellRenderer = {
@@ -2816,8 +2818,11 @@ declare type SmartGridRowGroupStatePagination = {
2816
2818
  error?: boolean;
2817
2819
  };
2818
2820
 
2821
+ declare type SmartGridRowHeightType = "default" | "compact" | "comfortable";
2822
+
2819
2823
  declare type SmartGridRowInfo = {
2820
2824
  isFirst: boolean;
2825
+ isLast: boolean;
2821
2826
  span: number;
2822
2827
  rowIds?: (string | number)[];
2823
2828
  };
package/dist/chat.js CHANGED
@@ -4,7 +4,7 @@ import * as _ from "react";
4
4
  import le, { useRef as Ne, useCallback as De, useEffect as ue, createContext as Ro, createElement as ie, memo as vr, useState as R, createRef as vi, useContext as kn, Fragment as _c, useMemo as An, Suspense as i6, useLayoutEffect as $c, Component as a6, useDebugValue as vh, forwardRef as Ll, version as Tu, useImperativeHandle as ed } from "react";
5
5
  import { B as Pe, T as Lh, R as hs, C as fo, c as r6, Q as an, P as xh, M as o6, I as co, b as s6 } from "./RadioGroup-D3RQET6P.js";
6
6
  import kh, { createPortal as Sh, flushSync as l6 } from "react-dom";
7
- import { S as f6, I as c6, J as d6, K as u6, L as Nu, N as Au, M as ja, P as Bo, H as h6, a as Th, A as xs, u as p6 } from "./chat.type-DlHf-J-u.js";
7
+ import { S as f6, I as c6, J as d6, K as u6, L as Nu, N as Au, M as ja, P as Bo, H as h6, a as Th, A as xs, u as p6 } from "./chat.type-CZyhjgHt.js";
8
8
  import ks from "moment";
9
9
  const m6 = ({
10
10
  open: t,
@@ -49928,7 +49928,7 @@ function Xc(t, e = Mh) {
49928
49928
  const i = Kx(t) % n.length;
49929
49929
  return n[i];
49930
49930
  }
49931
- const qx = `.ia-table-comment-panel-wrapper{visibility:hidden}.ia-table-comment-panel-main-container{visibility:hidden;opacity:0;background-color:#fff;box-shadow:0 0 4px #0000001f;transition:all .2s ease-in-out}.ia-table-comment-panel-main-container .ia-table-comment-panel-header{display:none;justify-content:space-between;align-items:center;padding:12px 16px;background-color:#eceefd;border-top-left-radius:8px;border-top-right-radius:8px}.ia-table-comment-panel-main-container .ia-table-comment-panel-header h2{font-family:Manrope,sans-serif;font-size:16px;color:#0d152c;font-weight:800;line-height:24px;margin:0}.ia-table-comment-panel-main-container .ia-table-comment-panel-header .ia-table-close_icon{background:url("data:image/svg+xml,%3csvg%20width='10'%20height='11'%20viewBox='0%200%2010%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.66667%201.7735L8.72667%200.833496L5%204.56016L1.27333%200.833496L0.333332%201.7735L4.06%205.50016L0.333332%209.22683L1.27333%2010.1668L5%206.44016L8.72667%2010.1668L9.66667%209.22683L5.94%205.50016L9.66667%201.7735Z'%20fill='%23758490'/%3e%3c/svg%3e") no-repeat;background-size:12px;background-position:center;width:12px;height:12px;cursor:pointer}.ia-table-comment-panel-main-container .ia-table-comment-panel-header .ia-table-close_icon:hover{background:#eceefd url("data:image/svg+xml,%3csvg%20width='10'%20height='11'%20viewBox='0%200%2010%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.66667%201.7735L8.72667%200.833496L5%204.56016L1.27333%200.833496L0.333332%201.7735L4.06%205.50016L0.333332%209.22683L1.27333%2010.1668L5%206.44016L8.72667%2010.1668L9.66667%209.22683L5.94%205.50016L9.66667%201.7735Z'%20fill='%23758490'/%3e%3c/svg%3e") no-repeat;color:#3649c6;background-size:12px;background-position:center}.ia-table-comment-panel-main-container .ia-table-comment-panel-body{display:none;align-items:center;padding-top:8px}.ia-table-comment-panel-main-container .ia-table-emptystate{min-height:auto;border:none;border-radius:8px;width:auto;padding:0;margin:0}.ia-table-comment-panel-main-container .ia-table-emptystate .ia-table-center_svg_with_icon{min-height:0px}.ia-table-comment-panel-main-container .ia-table-emptystate .ia-table-center_svg{height:70px;width:225px}.ia-table-comment-panel-main-container .ia-table-emptystate .ia-table-center_svg svg{width:89px;height:70px}.ia-table-comment-panel-main-container .ia-table-emptystate .ia-table-heading{font-size:14px;line-height:21px;margin-bottom:0}.ia-table-comment-panel-main-container .ia-table-emptystate .ia-table-paragraph{width:inherit;font-size:10px;line-height:14px;font-weight:500;margin-top:0;color:#7a8294;width:285px}.ia-table-show-comment-panel{visibility:visible}.ia-table-display-comment-panel{width:355px;gap:8px;visibility:visible;opacity:1;z-index:999;padding:0;min-height:400px;border-radius:8px;margin:0 12px 12px}.ia-table-display-comment-panel .ia-table-comment-panel-header{border-bottom:none;display:flex}.ia-table-display-comment-panel .ia-table-comment-panel-header .ia-table-close_icon{padding:0}.ia-table-display-comment-panel .ia-table-comment-panel-body{display:flex}.comment-panel-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid #d9dde7}.comment-panel-header h2{font-weight:600;font-size:16px;color:#0d152c;margin:0}.comment-panel-header .close_icon{cursor:pointer}.ia-table-comment-panel-search-panel{padding:0 12px}.ia-table-comment-panel-search-panel .ia-table-left-input-icon{padding-top:2px}.ia-table-comment-panel-search-panel .ia-styles.ia-btn.ia-btn-small{padding:14px!important}.ia-table-comment-panel-content{padding:8px 12px;gap:0;line-height:20px;overflow:auto}.ia-table-comment-panel-item{padding:16px;background-color:transparent;cursor:pointer;position:relative}.ia-table-comment-panel-item:not(:last-child){margin-bottom:16px}.ia-table-comment-panel-item:not(:last-child):after{content:"";position:absolute;left:16px;right:16px;height:1px;background:#d9dde7;bottom:-8px}.ia-table-comment-panel-item.active{background-color:#eceefd;border-radius:16px}.ia-table-comment-panel-item-header{margin-bottom:12px}.ia-table-comment-panel-item-header .ia-table-comment-panel-author-info span:first-child{font-weight:600;font-size:14px;color:#31416e;line-height:21px}.ia-table-comment-panel-item-header .ia-table-comment-panel-author-info span:last-child{font-weight:500;font-size:12px;color:#60697d;line-height:16px}.ia-table-comment-panel-item-header .ia-table-comment-panel-item-header-right .ia-table-comment-panel-action-icon{padding:8px;height:32px;width:32px}.ia-table-comment-panel-item-header .ia-table-comment-panel-item-header-right .ia-table-comment-panel-action-button{padding:8px;background-color:transparent}.ia-table-comment-panel-item-content{font-weight:500;font-size:14px;color:#1f2b4d;line-height:20px;display:-webkit-box;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;max-height:60px}.ia-table-comment-panel-item-footer{font-weight:500;font-size:14px;line-height:20px;color:#4259ee;cursor:pointer}.ia-table-comment-mode .ia-table-body-cell{cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cg%20filter='url(%23filter0_d_2758_79991)'%3e%3cpath%20d='M4%204H12C16.4183%204%2020%207.58172%2020%2012C20%2016.4183%2016.4183%2020%2012%2020C7.58172%2020%204%2016.4183%204%2012V4Z'%20fill='%234259EE'/%3e%3cpath%20d='M12%205C15.866%205%2019%208.13401%2019%2012C19%2015.866%2015.866%2019%2012%2019C8.13401%2019%205%2015.866%205%2012V5H12Z'%20stroke='%234259EE'%20stroke-width='2'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_2758_79991'%20x='0'%20y='0'%20width='24'%20height='24'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur%20stdDeviation='2'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.12%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_2758_79991'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_2758_79991'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e") 4 4,pointer}`, Xx = [
49931
+ const qx = `.ia-table-comment-panel-wrapper{visibility:hidden}.ia-table-comment-panel-main-container{visibility:hidden;opacity:0;background-color:#fff;box-shadow:0 0 4px #0000001f;transition:all .2s ease-in-out}.ia-table-comment-panel-main-container .ia-table-comment-panel-header{display:none;justify-content:space-between;align-items:center;padding:12px 16px;background-color:#eceefd;border-top-left-radius:8px;border-top-right-radius:8px}.ia-table-comment-panel-main-container .ia-table-comment-panel-header h2{font-family:Manrope,sans-serif;font-size:16px;color:#0d152c;font-weight:800;line-height:24px;margin:0}.ia-table-comment-panel-main-container .ia-table-comment-panel-header .ia-table-close_icon{background:url("data:image/svg+xml,%3csvg%20width='10'%20height='11'%20viewBox='0%200%2010%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.66667%201.7735L8.72667%200.833496L5%204.56016L1.27333%200.833496L0.333332%201.7735L4.06%205.50016L0.333332%209.22683L1.27333%2010.1668L5%206.44016L8.72667%2010.1668L9.66667%209.22683L5.94%205.50016L9.66667%201.7735Z'%20fill='%23758490'/%3e%3c/svg%3e") no-repeat;background-size:12px;background-position:center;width:12px;height:12px;cursor:pointer}.ia-table-comment-panel-main-container .ia-table-comment-panel-header .ia-table-close_icon:hover{background:#eceefd url("data:image/svg+xml,%3csvg%20width='10'%20height='11'%20viewBox='0%200%2010%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.66667%201.7735L8.72667%200.833496L5%204.56016L1.27333%200.833496L0.333332%201.7735L4.06%205.50016L0.333332%209.22683L1.27333%2010.1668L5%206.44016L8.72667%2010.1668L9.66667%209.22683L5.94%205.50016L9.66667%201.7735Z'%20fill='%23758490'/%3e%3c/svg%3e") no-repeat;color:#3649c6;background-size:12px;background-position:center}.ia-table-comment-panel-main-container .ia-table-comment-panel-body{display:none;align-items:center;padding-top:8px}.ia-table-comment-panel-main-container .ia-table-emptystate{min-height:auto;border:none;border-radius:8px;width:auto;padding:0;margin:0}.ia-table-comment-panel-main-container .ia-table-emptystate .ia-table-center_svg_with_icon{min-height:0px}.ia-table-comment-panel-main-container .ia-table-emptystate .ia-table-center_svg{height:70px;width:225px}.ia-table-comment-panel-main-container .ia-table-emptystate .ia-table-center_svg svg{width:89px;height:70px}.ia-table-comment-panel-main-container .ia-table-emptystate .ia-table-heading{font-size:14px;line-height:21px;margin-bottom:0}.ia-table-comment-panel-main-container .ia-table-emptystate .ia-table-paragraph{width:inherit;font-size:10px;line-height:14px;font-weight:500;margin-top:0;color:#7a8294;width:285px}.ia-table-show-comment-panel{visibility:visible}.ia-table-display-comment-panel{width:355px;gap:8px;visibility:visible;opacity:1;z-index:999;padding:0;min-height:400px;border-radius:8px;margin:0 12px 12px}.ia-table-display-comment-panel .ia-table-comment-panel-header{border-bottom:none;display:flex}.ia-table-display-comment-panel .ia-table-comment-panel-header .ia-table-close_icon{padding:0}.ia-table-display-comment-panel .ia-table-comment-panel-body{display:flex}.comment-panel-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid #d9dde7}.comment-panel-header h2{font-weight:600;font-size:16px;color:#0d152c;margin:0}.comment-panel-header .close_icon{cursor:pointer}.ia-table-comment-panel-search-panel{padding:0 12px}.ia-table-comment-panel-search-panel .ia-table-left-input-icon{padding-top:2px}.ia-table-comment-panel-search-panel .ia-styles.ia-btn.ia-btn-small{padding:14px!important}.ia-table-comment-panel-content{padding:8px 12px;gap:0;line-height:20px;overflow:auto}.ia-table-comment-panel-item{padding:16px;background-color:transparent;cursor:pointer;position:relative}.ia-table-comment-panel-item:not(:last-child){margin-bottom:16px}.ia-table-comment-panel-item:not(:last-child):after{content:"";position:absolute;left:16px;right:16px;height:1px;background:#d9dde7;bottom:-8px}.ia-table-comment-panel-item.active{background-color:#eceefd;border-radius:16px}.ia-table-comment-panel-item-header{margin-bottom:12px}.ia-table-comment-panel-item-header .ia-table-comment-panel-author-info span:first-child{font-weight:600;font-size:14px;color:#31416e;line-height:21px}.ia-table-comment-panel-item-header .ia-table-comment-panel-author-info span:last-child{font-weight:500;font-size:12px;color:#60697d;line-height:16px}.ia-table-comment-panel-item-header .ia-table-comment-panel-item-header-right .ia-table-comment-panel-action-icon{padding:8px;height:32px;width:32px}.ia-table-comment-panel-item-header .ia-table-comment-panel-item-header-right .ia-table-comment-panel-action-button{padding:8px;background-color:transparent}.ia-table-comment-panel-item-content{font-weight:500;font-size:14px;color:#1f2b4d;line-height:20px;display:-webkit-box;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;max-height:60px}.ia-table-comment-panel-item-content p{margin:0}.ia-table-comment-panel-item-footer{font-weight:500;font-size:14px;line-height:20px;color:#4259ee;cursor:pointer}.ia-table-comment-mode .ia-table-body-cell{cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cg%20filter='url(%23filter0_d_2758_79991)'%3e%3cpath%20d='M4%204H12C16.4183%204%2020%207.58172%2020%2012C20%2016.4183%2016.4183%2020%2012%2020C7.58172%2020%204%2016.4183%204%2012V4Z'%20fill='%234259EE'/%3e%3cpath%20d='M12%205C15.866%205%2019%208.13401%2019%2012C19%2015.866%2015.866%2019%2012%2019C8.13401%2019%205%2015.866%205%2012V5H12Z'%20stroke='%234259EE'%20stroke-width='2'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_2758_79991'%20x='0'%20y='0'%20width='24'%20height='24'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur%20stdDeviation='2'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.12%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_2758_79991'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_2758_79991'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e") 4 4,pointer}`, Xx = [
49932
49932
  {
49933
49933
  label: "Sort by date",
49934
49934
  value: "opt1",