igniteui-grid-lite 0.3.1 → 0.4.0-beta.0

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.
Files changed (59) hide show
  1. package/README.md +2 -0
  2. package/components/cell.js +3 -1
  3. package/components/cell.js.map +1 -1
  4. package/components/column.d.ts +2 -2
  5. package/components/column.js.map +1 -1
  6. package/components/filter-row.js.map +1 -1
  7. package/components/grid.d.ts +7 -0
  8. package/components/grid.js +3 -0
  9. package/components/grid.js.map +1 -1
  10. package/components/row.js +2 -1
  11. package/components/row.js.map +1 -1
  12. package/components/virtualizer.d.ts +1 -0
  13. package/components/virtualizer.js +4 -0
  14. package/components/virtualizer.js.map +1 -1
  15. package/controllers/filter.js.map +1 -1
  16. package/controllers/navigation.d.ts +7 -4
  17. package/controllers/navigation.js +18 -1
  18. package/controllers/navigation.js.map +1 -1
  19. package/custom-elements.json +146 -10
  20. package/docs/assets/hierarchy.js +1 -1
  21. package/docs/assets/navigation.js +1 -1
  22. package/docs/assets/search.js +1 -1
  23. package/docs/classes/IgcGridLite.html +12 -7
  24. package/docs/classes/IgcGridLiteColumn.html +2 -2
  25. package/docs/hierarchy.html +1 -1
  26. package/docs/index.html +2 -2
  27. package/docs/interfaces/BaseFilterExpression.html +3 -3
  28. package/docs/interfaces/IgcFilteredEvent.html +3 -3
  29. package/docs/interfaces/IgcFilteringEvent.html +3 -3
  30. package/docs/interfaces/IgcGridLiteEventMap.html +3 -3
  31. package/docs/interfaces/IgcHeaderContext.html +2 -2
  32. package/docs/modules.html +1 -1
  33. package/docs/types/BaseSortComparer.html +2 -2
  34. package/docs/types/Keys.html +1 -1
  35. package/docs/types/PropertyType.html +1 -1
  36. package/index.d.ts +1 -1
  37. package/index.js.map +1 -1
  38. package/internal/theming.js +1 -1
  39. package/internal/theming.js.map +1 -1
  40. package/internal/types.d.ts +10 -6
  41. package/internal/types.js.map +1 -1
  42. package/internal/utils.d.ts +10 -1
  43. package/internal/utils.js +11 -0
  44. package/internal/utils.js.map +1 -1
  45. package/internal/virt-flow-layout.d.ts +4 -0
  46. package/internal/virt-flow-layout.js +15 -0
  47. package/internal/virt-flow-layout.js.map +1 -0
  48. package/operations/base.d.ts +3 -3
  49. package/operations/base.js +2 -1
  50. package/operations/base.js.map +1 -1
  51. package/operations/filter/state.d.ts +3 -3
  52. package/operations/filter/types.d.ts +3 -3
  53. package/operations/filter/types.js.map +1 -1
  54. package/operations/sort/types.d.ts +2 -2
  55. package/operations/sort/types.js.map +1 -1
  56. package/package.json +1 -1
  57. package/styles/body-cell/body-cell.css.js +1 -1
  58. package/styles/body-cell/body-cell.css.js.map +1 -1
  59. package/docs/types/BasePropertyType.html +0 -2
@@ -1,6 +1,6 @@
1
- import type { Keys } from '../internal/types.js';
1
+ import type { Keys, PropertyType } from '../internal/types.js';
2
2
  export default abstract class DataOperation<T, K extends Keys<T> = Keys<T>> {
3
- protected resolveValue(record: T, key: K): T[K];
4
- protected resolveCase<U = T[K]>(value: U, caseSensitive?: boolean): U;
3
+ protected resolveValue(record: T, key: K): PropertyType<T>;
4
+ protected resolveCase<U = PropertyType<T, K>>(value: U, caseSensitive?: boolean): U;
5
5
  abstract apply(...args: unknown[]): T[];
6
6
  }
@@ -1,6 +1,7 @@
1
+ import { resolveFieldValue } from '../internal/utils.js';
1
2
  export default class DataOperation {
2
3
  resolveValue(record, key) {
3
- return record[key];
4
+ return resolveFieldValue(record, key);
4
5
  }
5
6
  resolveCase(value, caseSensitive) {
6
7
  return typeof value === 'string' && !caseSensitive ? value.toLowerCase() : value;
@@ -1 +1 @@
1
- {"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/operations/base.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,OAAgB,aAAa;IAC/B,YAAY,CAAC,MAAS,EAAE,GAAM;QACtC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;IAES,WAAW,CAAW,KAAQ,EAAE,aAAuB;QAC/D,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,aAAa,CAAC,CAAC,CAAE,KAAK,CAAC,WAAW,EAAQ,CAAC,CAAC,CAAC,KAAK,CAAC;IAC1F,CAAC;CAGF","sourcesContent":["import type { Keys } from '../internal/types.js';\n\nexport default abstract class DataOperation<T, K extends Keys<T> = Keys<T>> {\n protected resolveValue(record: T, key: K) {\n return record[key];\n }\n\n protected resolveCase<U = T[K]>(value: U, caseSensitive?: boolean) {\n return typeof value === 'string' && !caseSensitive ? (value.toLowerCase() as U) : value;\n }\n\n public abstract apply(...args: unknown[]): T[];\n}\n"]}
1
+ {"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/operations/base.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,CAAC,OAAO,OAAgB,aAAa;IAC/B,YAAY,CAAC,MAAS,EAAE,GAAM;QACtC,OAAO,iBAAiB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACxC,CAAC;IAES,WAAW,CAAyB,KAAQ,EAAE,aAAuB;QAC7E,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,aAAa,CAAC,CAAC,CAAE,KAAK,CAAC,WAAW,EAAQ,CAAC,CAAC,CAAC,KAAK,CAAC;IAC1F,CAAC;CAGF","sourcesContent":["import type { Keys, PropertyType } from '../internal/types.js';\nimport { resolveFieldValue } from '../internal/utils.js';\n\nexport default abstract class DataOperation<T, K extends Keys<T> = Keys<T>> {\n protected resolveValue(record: T, key: K) {\n return resolveFieldValue(record, key);\n }\n\n protected resolveCase<U = PropertyType<T, K>>(value: U, caseSensitive?: boolean) {\n return typeof value === 'string' && !caseSensitive ? (value.toLowerCase() as U) : value;\n }\n\n public abstract apply(...args: unknown[]): T[];\n}\n"]}
@@ -4,10 +4,10 @@ import type { FilterExpression } from './types.js';
4
4
  export declare class FilterState<T> {
5
5
  protected state: Map<Keys<T>, FilterExpressionTree<T>>;
6
6
  get empty(): boolean;
7
- get keys(): (keyof T)[];
7
+ get keys(): Keys<T>[];
8
8
  get values(): FilterExpressionTree<T>[];
9
- get ands(): FilterExpression<T, keyof T>[];
10
- get ors(): FilterExpression<T, keyof T>[];
9
+ get ands(): FilterExpression<T>[];
10
+ get ors(): FilterExpression<T>[];
11
11
  has(key: Keys<T>): boolean;
12
12
  get(key: Keys<T>): FilterExpressionTree<T> | undefined;
13
13
  delete(key: Keys<T>): boolean;
@@ -1,4 +1,4 @@
1
- import type { Keys } from '../../internal/types.js';
1
+ import type { Keys, PropertyType } from '../../internal/types.js';
2
2
  import type { BooleanOperands } from './operands/boolean.js';
3
3
  import type { NumberOperands } from './operands/number.js';
4
4
  import type { StringOperands } from './operands/string.js';
@@ -29,14 +29,14 @@ export interface BaseFilterExpression<T, K extends Keys<T> = Keys<T>> {
29
29
  /**
30
30
  * The filter function which will be executed against the data records.
31
31
  */
32
- condition: FilterOperation<T[K]> | OperandKeys<T[K]>;
32
+ condition: FilterOperation<PropertyType<T, K>> | OperandKeys<PropertyType<T, K>>;
33
33
  /**
34
34
  * The filtering value used in the filter condition function.
35
35
  *
36
36
  * @remarks
37
37
  * Optional for unary conditions.
38
38
  */
39
- searchTerm?: T[K];
39
+ searchTerm?: PropertyType<T, K>;
40
40
  /**
41
41
  * Dictates how this expression should resolve in the filter operation in relation to
42
42
  * other expressions.
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/operations/filter/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { Keys } from '../../internal/types.js';\nimport type { BooleanOperands } from './operands/boolean.js';\nimport type { NumberOperands } from './operands/number.js';\nimport type { StringOperands } from './operands/string.js';\n\n/**\n * Controls how a data record should resolve in a filter operation:\n * - `'and'` - the record must pass all the conditions.\n * - `'or'` - the record must pass at least one condition.\n */\nexport type FilterCriteria = 'and' | 'or';\n\nexport type FilterOperationLogic<T> = (\n target: T,\n searchTerm: T,\n caseSensitive?: boolean\n) => boolean;\n\nexport interface FilterOperation<T> {\n name: string;\n label?: string;\n unary: boolean;\n logic: FilterOperationLogic<T>;\n}\n\nexport type FilterOperands<DataType, Operands extends string> = {\n [key in Operands]: FilterOperation<DataType>;\n};\n\n/**\n * Represents a filter operation for a given column.\n */\nexport interface BaseFilterExpression<T, K extends Keys<T> = Keys<T>> {\n /**\n * The target column for the filter operation.\n */\n key: K;\n /**\n * The filter function which will be executed against the data records.\n */\n condition: FilterOperation<T[K]> | OperandKeys<T[K]>;\n\n /**\n * The filtering value used in the filter condition function.\n *\n * @remarks\n * Optional for unary conditions.\n */\n searchTerm?: T[K];\n /**\n * Dictates how this expression should resolve in the filter operation in relation to\n * other expressions.\n */\n criteria?: FilterCriteria;\n /**\n * Whether the sort operation should be case sensitive.\n *\n * @remarks\n * If not provided, the value is resolved based on the column filter configuration (if any).\n */\n caseSensitive?: boolean;\n}\n\n/**\n * See {@link BaseFilterExpression} for the full documentation.\n */\nexport type FilterExpression<T, K extends Keys<T> = Keys<T>> = K extends Keys<T>\n ? BaseFilterExpression<T, K>\n : never;\n\nexport type OperandKeys<Type> = Type extends number\n ? keyof typeof NumberOperands\n : Type extends string\n ? keyof typeof StringOperands\n : Type extends boolean\n ? keyof typeof BooleanOperands\n : Type;\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/operations/filter/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { Keys, PropertyType } from '../../internal/types.js';\nimport type { BooleanOperands } from './operands/boolean.js';\nimport type { NumberOperands } from './operands/number.js';\nimport type { StringOperands } from './operands/string.js';\n\n/**\n * Controls how a data record should resolve in a filter operation:\n * - `'and'` - the record must pass all the conditions.\n * - `'or'` - the record must pass at least one condition.\n */\nexport type FilterCriteria = 'and' | 'or';\n\nexport type FilterOperationLogic<T> = (\n target: T,\n searchTerm: T,\n caseSensitive?: boolean\n) => boolean;\n\nexport interface FilterOperation<T> {\n name: string;\n label?: string;\n unary: boolean;\n logic: FilterOperationLogic<T>;\n}\n\nexport type FilterOperands<DataType, Operands extends string> = {\n [key in Operands]: FilterOperation<DataType>;\n};\n\n/**\n * Represents a filter operation for a given column.\n */\nexport interface BaseFilterExpression<T, K extends Keys<T> = Keys<T>> {\n /**\n * The target column for the filter operation.\n */\n key: K;\n /**\n * The filter function which will be executed against the data records.\n */\n condition: FilterOperation<PropertyType<T, K>> | OperandKeys<PropertyType<T, K>>;\n\n /**\n * The filtering value used in the filter condition function.\n *\n * @remarks\n * Optional for unary conditions.\n */\n searchTerm?: PropertyType<T, K>;\n /**\n * Dictates how this expression should resolve in the filter operation in relation to\n * other expressions.\n */\n criteria?: FilterCriteria;\n /**\n * Whether the sort operation should be case sensitive.\n *\n * @remarks\n * If not provided, the value is resolved based on the column filter configuration (if any).\n */\n caseSensitive?: boolean;\n}\n\n/**\n * See {@link BaseFilterExpression} for the full documentation.\n */\nexport type FilterExpression<T, K extends Keys<T> = Keys<T>> = K extends Keys<T>\n ? BaseFilterExpression<T, K>\n : never;\n\nexport type OperandKeys<Type> = Type extends number\n ? keyof typeof NumberOperands\n : Type extends string\n ? keyof typeof StringOperands\n : Type extends boolean\n ? keyof typeof BooleanOperands\n : Type;\n"]}
@@ -1,4 +1,4 @@
1
- import type { Keys } from '../../internal/types.js';
1
+ import type { Keys, PropertyType } from '../../internal/types.js';
2
2
  /**
3
3
  * Sort direction for a given sort expression.
4
4
  *
@@ -9,7 +9,7 @@ export type SortingDirection = 'ascending' | 'descending' | 'none';
9
9
  /**
10
10
  * Custom comparer function for a given column used when sorting is performed.
11
11
  */
12
- export type BaseSortComparer<T, K extends Keys<T> = Keys<T>> = (a: T[K], b: T[K]) => number;
12
+ export type BaseSortComparer<T, K extends Keys<T> = Keys<T>> = (a: PropertyType<T, K>, b: PropertyType<T, K>) => number;
13
13
  /**
14
14
  * See {@link BaseSortComparer} for the full documentation.
15
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/operations/sort/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { Keys } from '../../internal/types.js';\n\n/**\n * Sort direction for a given sort expression.\n *\n * @remarks\n * `none` is used\n */\nexport type SortingDirection = 'ascending' | 'descending' | 'none';\n\n/**\n * Custom comparer function for a given column used when sorting is performed.\n */\nexport type BaseSortComparer<T, K extends Keys<T> = Keys<T>> = (a: T[K], b: T[K]) => number;\n\n/**\n * See {@link BaseSortComparer} for the full documentation.\n */\nexport type SortComparer<T, K extends Keys<T> = Keys<T>> = K extends Keys<T>\n ? BaseSortComparer<T, K>\n : never;\n\n/**\n * Represents a sort operation for a given column.\n */\nexport interface BaseSortingExpression<T, K extends Keys<T> = Keys<T>> {\n /**\n * The target column.\n */\n key: K;\n /**\n * Sort direction for this operation.\n */\n direction: SortingDirection;\n /**\n * Whether the sort operation should be case sensitive.\n *\n * @remarks\n * If not provided, the value is resolved based on the column sort configuration (if any).\n */\n caseSensitive?: boolean;\n /**\n * Custom comparer function for this operation.\n *\n * @remarks\n * If not provided, the value is resolved based on the column sort configuration (if any).\n */\n comparer?: SortComparer<T, K>;\n}\n\n/**\n * See {@link BaseSortingExpression} for the full documentation.\n */\nexport type SortingExpression<T, K extends Keys<T> = Keys<T>> = K extends Keys<T>\n ? BaseSortingExpression<T, K>\n : never;\n\n/** Represents the sort state of the grid. */\nexport type SortState<T> = Map<Keys<T>, SortingExpression<T>>;\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/operations/sort/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { Keys, PropertyType } from '../../internal/types.js';\n\n/**\n * Sort direction for a given sort expression.\n *\n * @remarks\n * `none` is used\n */\nexport type SortingDirection = 'ascending' | 'descending' | 'none';\n\n/**\n * Custom comparer function for a given column used when sorting is performed.\n */\nexport type BaseSortComparer<T, K extends Keys<T> = Keys<T>> = (\n a: PropertyType<T, K>,\n b: PropertyType<T, K>\n) => number;\n\n/**\n * See {@link BaseSortComparer} for the full documentation.\n */\nexport type SortComparer<T, K extends Keys<T> = Keys<T>> = K extends Keys<T>\n ? BaseSortComparer<T, K>\n : never;\n\n/**\n * Represents a sort operation for a given column.\n */\nexport interface BaseSortingExpression<T, K extends Keys<T> = Keys<T>> {\n /**\n * The target column.\n */\n key: K;\n /**\n * Sort direction for this operation.\n */\n direction: SortingDirection;\n /**\n * Whether the sort operation should be case sensitive.\n *\n * @remarks\n * If not provided, the value is resolved based on the column sort configuration (if any).\n */\n caseSensitive?: boolean;\n /**\n * Custom comparer function for this operation.\n *\n * @remarks\n * If not provided, the value is resolved based on the column sort configuration (if any).\n */\n comparer?: SortComparer<T, K>;\n}\n\n/**\n * See {@link BaseSortingExpression} for the full documentation.\n */\nexport type SortingExpression<T, K extends Keys<T> = Keys<T>> = K extends Keys<T>\n ? BaseSortingExpression<T, K>\n : never;\n\n/** Represents the sort state of the grid. */\nexport type SortState<T> = Map<Keys<T>, SortingExpression<T>>;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-grid-lite",
3
- "version": "0.3.1",
3
+ "version": "0.4.0-beta.0",
4
4
  "description": "Web component data grid following open-wc recommendations",
5
5
  "keywords": [
6
6
  "lit",
@@ -1,3 +1,3 @@
1
1
  import { css } from 'lit';
2
- export const styles = css `:host{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: 3;position:relative;box-sizing:border-box;scrollbar-width:var(--ig-scrollbar-size, var(--sb-size));scrollbar-color:var(--ig-scrollbar-thumb-background, var(--sb-thumb-bg-color)) var(--ig-scrollbar-track-background, var(--sb-track-bg-color))}:host ::-webkit-scrollbar{width:var(--ig-scrollbar-size, var(--sb-size));height:var(--ig-scrollbar-size, var(--sb-size));background:var(--ig-scrollbar-track-background, var(--sb-track-bg-color))}:host ::-webkit-scrollbar-thumb{background:var(--ig-scrollbar-thumb-background, var(--sb-thumb-bg-color))}:host *,:host *::before,:host *::after{box-sizing:border-box}:host{position:relative;display:inline-flex;flex:1 0 0;align-items:center;padding:0 max(var(--is-large, 1)*max(1.5rem, -1 * 1.5rem),var(--is-medium, 1)*max(1rem, -1 * 1rem),var(--is-small, 1)*max(0.5rem, -1 * 0.5rem));color:inherit;border-right:.0625rem solid rgba(0,0,0,0);font-size:.8125rem;overflow-wrap:anywhere}:host:last-of-type{border-right:0}:host([active]){outline:none;box-shadow:inset 0 0 0 0.0625rem var(--cell-active-border-color);color:var(--cell-selected-text-color);background:var(--cell-selected-background)}:host(:last-child){border-inline-end:none}igc-input{position:absolute;left:0;height:calc(100% - 0.0625rem*2);width:100%}igc-input::part(container),igc-select::part(container){height:calc(100% - 0.0625rem*2)}igc-input::part(container)::before,igc-select::part(container)::before{box-shadow:none}igc-input::part(container),igc-input::part(input),igc-select::part(container),igc-select::part(input){box-shadow:none;height:100%;background:inherit;border:0;color:inherit;font-size:.8125rem}igc-input::part(helper-text)::after,igc-input::part(container)::after,igc-select::part(helper-text)::after,igc-select::part(container)::after{display:none}`;
2
+ export const styles = css `:host{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: 3;position:relative;box-sizing:border-box;scrollbar-width:var(--ig-scrollbar-size, var(--sb-size));scrollbar-color:var(--ig-scrollbar-thumb-background, var(--sb-thumb-bg-color)) var(--ig-scrollbar-track-background, var(--sb-track-bg-color))}:host ::-webkit-scrollbar{width:var(--ig-scrollbar-size, var(--sb-size));height:var(--ig-scrollbar-size, var(--sb-size));background:var(--ig-scrollbar-track-background, var(--sb-track-bg-color))}:host ::-webkit-scrollbar-thumb{background:var(--ig-scrollbar-thumb-background, var(--sb-thumb-bg-color))}:host *,:host *::before,:host *::after{box-sizing:border-box}:host{position:relative;display:inline-flex;flex:1 0 0;align-items:center;padding:0 max(var(--is-large, 1)*max(1.5rem, -1 * 1.5rem),var(--is-medium, 1)*max(1rem, -1 * 1rem),var(--is-small, 1)*max(0.5rem, -1 * 0.5rem));color:inherit;border-right:.0625rem solid rgba(0,0,0,0);font-size:.8125rem;overflow-wrap:anywhere}:host:last-of-type{border-right:0}:host([active]){outline:none;box-shadow:inset 0 0 0 0.0625rem var(--cell-active-border-color);color:var(--cell-selected-text-color);background:var(--cell-selected-background)}:host(:last-child){border-inline-end:none}[part~=text]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}igc-input{position:absolute;left:0;height:calc(100% - 0.0625rem*2);width:100%}igc-input::part(container),igc-select::part(container){height:calc(100% - 0.0625rem*2)}igc-input::part(container)::before,igc-select::part(container)::before{box-shadow:none}igc-input::part(container),igc-input::part(input),igc-select::part(container),igc-select::part(input){box-shadow:none;height:100%;background:inherit;border:0;color:inherit;font-size:.8125rem}igc-input::part(helper-text)::after,igc-input::part(container)::after,igc-select::part(helper-text)::after,igc-select::part(container)::after{display:none}`;
3
3
  //# sourceMappingURL=body-cell.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"body-cell.css.js","sourceRoot":"","sources":["../../../src/styles/body-cell/body-cell.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,0jEAA0jE,CAAC","sourcesContent":["import { css } from 'lit';\nexport const styles = css`:host{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: 3;position:relative;box-sizing:border-box;scrollbar-width:var(--ig-scrollbar-size, var(--sb-size));scrollbar-color:var(--ig-scrollbar-thumb-background, var(--sb-thumb-bg-color)) var(--ig-scrollbar-track-background, var(--sb-track-bg-color))}:host ::-webkit-scrollbar{width:var(--ig-scrollbar-size, var(--sb-size));height:var(--ig-scrollbar-size, var(--sb-size));background:var(--ig-scrollbar-track-background, var(--sb-track-bg-color))}:host ::-webkit-scrollbar-thumb{background:var(--ig-scrollbar-thumb-background, var(--sb-thumb-bg-color))}:host *,:host *::before,:host *::after{box-sizing:border-box}:host{position:relative;display:inline-flex;flex:1 0 0;align-items:center;padding:0 max(var(--is-large, 1)*max(1.5rem, -1 * 1.5rem),var(--is-medium, 1)*max(1rem, -1 * 1rem),var(--is-small, 1)*max(0.5rem, -1 * 0.5rem));color:inherit;border-right:.0625rem solid rgba(0,0,0,0);font-size:.8125rem;overflow-wrap:anywhere}:host:last-of-type{border-right:0}:host([active]){outline:none;box-shadow:inset 0 0 0 0.0625rem var(--cell-active-border-color);color:var(--cell-selected-text-color);background:var(--cell-selected-background)}:host(:last-child){border-inline-end:none}igc-input{position:absolute;left:0;height:calc(100% - 0.0625rem*2);width:100%}igc-input::part(container),igc-select::part(container){height:calc(100% - 0.0625rem*2)}igc-input::part(container)::before,igc-select::part(container)::before{box-shadow:none}igc-input::part(container),igc-input::part(input),igc-select::part(container),igc-select::part(input){box-shadow:none;height:100%;background:inherit;border:0;color:inherit;font-size:.8125rem}igc-input::part(helper-text)::after,igc-input::part(container)::after,igc-select::part(helper-text)::after,igc-select::part(container)::after{display:none}`;"]}
1
+ {"version":3,"file":"body-cell.css.js","sourceRoot":"","sources":["../../../src/styles/body-cell/body-cell.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,ioEAAioE,CAAC","sourcesContent":["import { css } from 'lit';\nexport const styles = css`:host{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: 3;position:relative;box-sizing:border-box;scrollbar-width:var(--ig-scrollbar-size, var(--sb-size));scrollbar-color:var(--ig-scrollbar-thumb-background, var(--sb-thumb-bg-color)) var(--ig-scrollbar-track-background, var(--sb-track-bg-color))}:host ::-webkit-scrollbar{width:var(--ig-scrollbar-size, var(--sb-size));height:var(--ig-scrollbar-size, var(--sb-size));background:var(--ig-scrollbar-track-background, var(--sb-track-bg-color))}:host ::-webkit-scrollbar-thumb{background:var(--ig-scrollbar-thumb-background, var(--sb-thumb-bg-color))}:host *,:host *::before,:host *::after{box-sizing:border-box}:host{position:relative;display:inline-flex;flex:1 0 0;align-items:center;padding:0 max(var(--is-large, 1)*max(1.5rem, -1 * 1.5rem),var(--is-medium, 1)*max(1rem, -1 * 1rem),var(--is-small, 1)*max(0.5rem, -1 * 0.5rem));color:inherit;border-right:.0625rem solid rgba(0,0,0,0);font-size:.8125rem;overflow-wrap:anywhere}:host:last-of-type{border-right:0}:host([active]){outline:none;box-shadow:inset 0 0 0 0.0625rem var(--cell-active-border-color);color:var(--cell-selected-text-color);background:var(--cell-selected-background)}:host(:last-child){border-inline-end:none}[part~=text]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}igc-input{position:absolute;left:0;height:calc(100% - 0.0625rem*2);width:100%}igc-input::part(container),igc-select::part(container){height:calc(100% - 0.0625rem*2)}igc-input::part(container)::before,igc-select::part(container)::before{box-shadow:none}igc-input::part(container),igc-input::part(input),igc-select::part(container),igc-select::part(input){box-shadow:none;height:100%;background:inherit;border:0;color:inherit;font-size:.8125rem}igc-input::part(helper-text)::after,igc-input::part(container)::after,igc-select::part(helper-text)::after,igc-select::part(container)::after{display:none}`;"]}
@@ -1,2 +0,0 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>BasePropertyType | igniteui-grid-lite-workspace</title><meta name="description" content="Documentation for igniteui-grid-lite-workspace"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">igniteui-grid-lite-workspace</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">BasePropertyType</a></li></ul><h1>Type Alias BasePropertyType&lt;T, K&gt;</h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">BasePropertyType</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="#t">T</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#k">K</a><span class="tsd-signature-symbol">]</span></div><div class="tsd-comment tsd-typography"><p>Helper type for resolving types of type T.</p>
2
- </div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="t"><span class="tsd-kind-type-parameter">T</span></span></li><li><span id="k"><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <a href="Keys.html" class="tsd-signature-type tsd-kind-type-alias">Keys</a><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#t">T</a><span class="tsd-signature-symbol">&gt;</span> = <a href="Keys.html" class="tsd-signature-type tsd-kind-type-alias">Keys</a><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#t">T</a><span class="tsd-signature-symbol">&gt;</span></span></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">igniteui-grid-lite-workspace</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>